how to do edge detection of image for comparison?

조회 수: 3 (최근 30일)
amala
amala 2018년 2월 3일
댓글: Image Analyst 2018년 3월 9일
i am trying to compare different images of same object. i want to do edge detection but i didn't get the edge detected perfectly. how it can be done?
  댓글 수: 2
KALYAN ACHARJYA
KALYAN ACHARJYA 2018년 2월 3일
편집: KALYAN ACHARJYA 2018년 2월 3일
There are various types of Edge Detection Techniques, It depends on your application image. Follow Link here Please share your input image, so that user can help you easily. Please clarify..In comparison with which image?
amala
amala 2018년 2월 3일
i am doing canny edge detection. but when different are used to compare the threshold value changes for each image. how can i set the algorithm for canny to detect edges at different thresholds???

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

답변 (1개)

Image Analyst
Image Analyst 2018년 2월 3일
There may be no "perfect" edge. And there are lots of possible/alternative edge images that could be generated. The edge image you get that can work for you is the one that you should use.
  댓글 수: 4
amala
amala 2018년 3월 9일
i need a single line diagram by doing edge detection.
Image Analyst
Image Analyst 2018년 3월 9일
You can use edge() to get single pixel wide edges.
binaryImage = edge(grayImage);
You can use
binaryImage = bwmorph(binaryImage, 'skel', inf);
to skeletonize any binary image (if it's not already down to one pixel wide of course).

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

Community Treasure Hunt

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

Start Hunting!

Translated by