Contour Single blob with multiple object [closed]
Hi to everyone.
I'm developing an object shape identification application and struck up with separating close objects using contour, Since close objects are identified as single contour. Is there way to separate the objects?
Things I have tried: 1. I have tried Image segmentation with distance transform and Watershed algorithm - It works for few images only 2. I have tried to separate the objects manual using the distance between two points as mentioned in http://answers.opencv.org/question/71... - I struck up with choosing the points that will separate the object.
I have attached a sample contour for the reference.
Please suggest any comments to separate the objects.
Is this your original image? If not, maybe try separate objects before getting contour. Also, it will be helpful to see the original image.
Hi yancey, This is not the original image. How to separate the object before contour?. Please suggest.
@balasubramaniyan94 how did you generate this image from your original image?
Initially we will apply GaussianBlur to the original image and then we will apply binary thresholding and finally use findcontour function find the contour points.
@balasubramaniyan94, when you do binary thresholding, is it possible to separate these objects there?
@yancey We are unable to separate the object during thresholding. Please suggest methods, if any.
show the original image and we may give you some help