Detect almost uniform color object

Hello
I’m not a native English speaker.
Please understand even if I am not good at expressing my words.

I think it is possible through the following process.

  1. Change the image to HSV or HSL.
  2. Next, determine the appropriate saturation range and make a corresponding mask image.
  3. Reduce hole noise through morphology operation and blurring of the mask image.
  4. AND operation of the mask image and the original image to obtain a desired result.

Looking at the example picture above, I think it would be possible to use a method of detecting high saturation.

I hope it helps you a little bit.

Best Regard

2 Likes