MATLAB: How to return an coordinate of a selected point in an image

image processing

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…

Best Answer

See ginput()