Clear Filters
Clear Filters

How to return an coordinate of a selected point in an image ?

2 views (last 30 days)
Dear friends, I how can i retuen the coordinate of if an selected point in from an image ?
for example, i read an image, then after displaying it, i ll click somewhere on that image. Now that coordinate shud be saved in an variable and display it on the command window. Thanks...

Accepted Answer

Walter Roberson
Walter Roberson on 20 Aug 2011
See ginput()

More Answers (0)

Community Treasure Hunt

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

Start Hunting!