Pixel selection on image in GUI

I am trying to extract data from a pixel in an image that is plotted on an axis. I have tried both ginput and gpa, both of which do not work. I believe the problem is caused by the image being plotted with imagesc (it's a colormap, essentially) and that the image essentially covers the axis, so that it never received the input from the mouse click. I have not figured out a solution for this, does anyone have any suggestions or a confirmed solution? Thanks.

 采纳的回答

Scott Feltman
Scott Feltman 2020-6-2
编辑:Scott Feltman 2020-6-2

0 个投票

I found another post which answered my exact question. If you are having this issue, please consult this post.
Thank you to the person who answered it.

更多回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Image Processing Toolbox 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by