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

13 vues (au cours des 30 derniers jours)
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 commentaire
shikha mangal
shikha mangal le 17 Jan 2016
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.

Connectez-vous pour commenter.

Réponse acceptée

Walter Roberson
Walter Roberson le 15 Jan 2016
  3 commentaires
jiyo
jiyo le 15 Sep 2016
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 le 15 Sep 2016
Use regionprops() and ask for the 'PixelIdxList' . Or better yet, use one of the boundary tracing functions.

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by