Hi, It appears that Otsu threshold type in cv::threshold is taking the whole image into account when calculating a threshold value to use. Is there any easy way to get it to only calculate the threshold for the masked (non-black) areas of an image?
Thanks