OpenCV4Android - 阈值错误

时间:2014-10-12 19:27:49

标签: android opencv threshold

我在这里将图像转换为CIELAB。它工作正常。但是,当我使用Otsu方法进行阈值处理时。

//convert to Greyscale
Imgproc.cvtColor(ImageMat, ImageMat, Imgproc.COLOR_RGB2Lab);
//threshold
Imgproc.threshold(ImageMat,ImageMat, 1, 128,Imgproc.THRESH_OTSU);

0 个答案:

没有答案