Edges of narrow objects in image

Hi everyone,
I have the following image and when I look at the boundaries, soem part of two boundaries are o ntop of each other. How can I make sure the boundaries of a narrow object (containing maybe one pixel) is coorectly detected?
thank you,
Parinaz
Capture2.PNG untitled.jpg

1 comentario

Turlough Hughes
Turlough Hughes el 24 de En. de 2020
Editada: Turlough Hughes el 24 de En. de 2020
Can you attach the original image using the paperclip button for attachments, and provide code you used to generate the binary image to the right.

Iniciar sesión para comentar.

 Respuesta aceptada

parinaz nazeri
parinaz nazeri el 27 de En. de 2020

0 votos

I resized the image 3 times and use bwboundaries to find its boundaries, then for the boundaries of the real image, I found the closest integer to points of the resized boundaries divided by 3.

Más respuestas (1)

Shubh Sahu
Shubh Sahu el 27 de En. de 2020

0 votos

Here are the few links which might help you:
and try with different methods like Canny, Prewitt, etc. whichever may help your image.

Categorías

Más información sobre Images en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 24 de En. de 2020

Respondida:

el 27 de En. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by