Hi all, I have thousands of images with different bimodal histogram as in the picture and trying to do adapative thresholding, just like OTSU but this is not in Grayscale. This is for HSL colourspace, and I'm taking the L value only after separating the channels. I had successfully find the two significant peaks from the histogram as in the picture.
The problem right now, I'm not sure how to get the value for threshold between the bimodal histogram. By taking the average from the two peaks, does not serve the purpose as some of the histogram are not the same size with each other
If anyone has idea to share, I'm glad .