how to detect several shapeless object in an image
Hi guys! how could i detect the object as shown in 1st image? or would it be easier by using 2nd image? It is ok to ignore the small dots/noise, but i wan to detect at least the larger shape. It would be helpful if any keywords is provided for me to learn :)
1st
2nd
First image is easyer than second keywords : threshold findContour or ConnectedComponents have a look at example here
thanks! i will try it now^^
You may wish to run the morphological close operation to remove holes and connect nearly connected pieces.
close operation on second image?
Morphological operation are used to fill hole or create hole (you can make gradient too and ....). Do you need this and your image? What are your shapes?