How can I trace the outline of an image with the mouse and return the coordiantes of the resulting shape?
3 views (last 30 days)
Show older comments
MathWorks Support Team
on 27 Jun 2009
Edited: MathWorks Support Team
on 19 Feb 2021
I would like to be able to trace the outline of features in a image with the mouse and return the X Y coordinates of the resulting shape.
Accepted Answer
MathWorks Support Team
on 19 Feb 2021
Edited: MathWorks Support Team
on 19 Feb 2021
There is no single built in MATLAB function that will track the movement of the mouse on an open figure, draw the resulting curve and return its X Y coordinates. There are user submitted functions that will do this in MATLAB Central such as the MOUSETRACK function in the link below:
Note that MathWorks does not guarantee or warrant the use or content of these submissions. Any questions, issues, or complaints should be directed to the contributing author.
0 Comments
More Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!