I am facing an exciting task, and I am stuck. So I have images that contain high and low-intensity objects that have to be separated from the background. I provided an example image below so you can have some idea.
Most of the segmentation methods I have seen in OpenCV start with a thresholding step like Otsu's Thresholding. However, this is not applicable in my case because it would filter out all the low-intensity objects. Is there any obvious way to tackle this kind of problem?
We can assume that an object never touches the image boundary, and it will always have high contrast with the background and have colours close to black and white.
Pixels in an object have very similar colour but they are not identical.