필터 지우기
필터 지우기

Edges of narrow objects in image

조회 수: 1 (최근 30일)
parinaz nazeri
parinaz nazeri 2020년 1월 24일
답변: parinaz nazeri 2020년 1월 27일
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
Turlough Hughes
Turlough Hughes 2020년 1월 24일
편집: Turlough Hughes 2020년 1월 24일
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.

댓글을 달려면 로그인하십시오.

채택된 답변

parinaz nazeri
parinaz nazeri 2020년 1월 27일
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.

추가 답변 (1개)

Shubh Sahu
Shubh Sahu 2020년 1월 27일
Here are the few links which might help you:
and try with different methods like Canny, Prewitt, etc. whichever may help your image.

Community Treasure Hunt

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

Start Hunting!

Translated by