How can i get coordinate set of edges detected by canny edge detector?Give me the appropriate working code for it please.

조회 수: 7 (최근 30일)
i m working on matlab for moving object detection from real time video/images.i am simulating frog visual mechanism to detect moving object.i have to firstly smooth the image then to detect edges of object of interest and get coordinate set of edges and then to calculate entropy of pixels to determine which is moving object and which is not.
  댓글 수: 1
shikha mangal
shikha mangal 2016년 1월 17일
hii,thanks Mr.Walter Roberson for your response but i cant found the solution of my problem..i have to get coordinates of the edges detected from the image by applying edge detector.kindly help me with this..i will be highly greatful.

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

채택된 답변

Walter Roberson
Walter Roberson 2016년 1월 15일
  댓글 수: 3
jiyo
jiyo 2016년 9월 15일
Dear Mr.Robertson, I would like an ordered pair of coordinates based on the shape of edge. Is it possible to get such ordered pair? Ordered in the sense, the pixel coordinates follow the shape of the object which is represented by the edge.
Walter Roberson
Walter Roberson 2016년 9월 15일
Use regionprops() and ask for the 'PixelIdxList' . Or better yet, use one of the boundary tracing functions.

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

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by