how can i splitt touching objects?

4 次查看(过去 30 天)
i have some labeled objects,some of them are connecting to each other with some pixels,how can i split these areas,other than wateshed segmentation,is there any way i can splitt them according to their connectivity,cause in touching areas,number of connected pixels decrease

采纳的回答

Image Analyst
Image Analyst 2014-11-7
I don't know what the second part of your question means. What does "according to their connectivity mean"? Let's say you had a dumbbell shape What are the two shapes you'd like if it was split according to 4-connectivity, and what would the pair of shapes look like if you did it according to 8-connectivity?
If you have a single image, you must have a decrease in the number of pixels because the interface line/curve will be removed.
What's wrong with watershed?
You forgot to attach the image, which would help illustrate your question better. Usually when people ask for image processing advice they attach an image, or they are asked to.
  3 个评论
sara
sara 2014-11-11
thank you so much,i used the second link and change the mask to (D,6) , and it worked,much better than erosion,thank you so much,.

请先登录,再进行评论。

更多回答(0 个)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by