how can i splitt touching objects?

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

 Respuesta aceptada

Image Analyst
Image Analyst el 7 de Nov. de 2014

0 votos

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 comentarios

sara
sara el 10 de Nov. de 2014
hi,thank you so much for your answer,i used erosion with disk one,and the result was nice,break the image into 2 objects,about watershed,when i use it,it breaks my image into many regions,i mean if there was something like thresholding,that we change the factor untill we reach the good result,it was nice if there was a code,which split images into regions bye changing pixel connectivity,in watershed,my image has 2 parts wich are connected by few pixels,when i use watershed,it breaks the image into many regions,even the one which are connected to each other with too many pixels,.i couldnt find anything like factor in watershed to change it and find the result,. in erosion,i used disk 1,it becomes a little thin and imge breaks into 2 regions,if i want to measure the distance between top corners,wouldnt it effect the distance?i mean both of them erode in the same way,so the distance remains the same?thank you
sara
sara el 11 de Nov. de 2014
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,.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Etiquetas

Preguntada:

el 6 de Nov. de 2014

Comentada:

el 11 de Nov. de 2014

Community Treasure Hunt

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

Start Hunting!

Translated by