1 | initial version |
you have to read the fine print in the docs, too !
Currently, the Otsu's and Triangle methods are implemented only for 8-bit images.
then, even if you change the method flag, you cannot use your img
Mat for the output, since the return type is uchar, and the type of a Mat_<float>
cannot be changed.
2 | No.2 Revision |
you have to read the fine print in the docs, too !
Currently, the Otsu's and Triangle methods are implemented only for 8-bit images.
then, even if you change the method flag, you cannot use your img
Mat for the output, since the return type is uchar, and the type of a Mat_<float>
cannot be changed.