iimage not showing in ginput()

I have an image stored in im variable and want to get coordinates of a particular point in the image. For this when I type '>>[x,y]=ginput(1)' i dont get any of image on the next windows appears. Is their any method to get rid of it?
Here imshow(im) is working.ginput.png

Answers (1)

madhan ravi
madhan ravi on 15 May 2019
imshow()

3 Comments

Thank you for answer but I want to take a coordinate of a particular point from the given image. By using imshow() I will only able to see image.
use ginput() after the imshow() call
thank you very much, it has resolved my problem.

Sign in to comment.

Categories

Find more on Display Image in Help Center and File Exchange

Tags

Asked:

on 15 May 2019

Commented:

on 15 May 2019

Community Treasure Hunt

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

Start Hunting!