1 | initial version |
grey no so light. try CV_THRESH_OTSU
2 | No.2 Revision |
grey gray no so light. try CV_THRESH_OTSU
3 | No.3 Revision |
gray Gray no so light. try CV_THRESH_OTSUCV_THRESH_OTSU or cv::threshold(imgH, imgH, 150, 255, CV_THRESH_TRUNC);
4 | No.4 Revision |
Gray is no so light. try CV_THRESH_OTSU or cv::threshold(imgH, imgH, 150, 255, CV_THRESH_TRUNC);
5 | No.5 Revision |
Gray is no not so light. bright. try CV_THRESH_OTSU or cv::threshold(imgH, imgH, 150, 255, CV_THRESH_TRUNC);
6 | No.6 Revision |
Gray is not so bright. try CV_THRESH_OTSU bright, as you suggested at comment.
Try CV_THRESH_OTSU
or cv::threshold(imgH, imgH, 150, 255,
CV_THRESH_TRUNC);CV_THRESH_TRUNC), it's enough for that kind of images.