How to apply impixel on imtool

I want to select a pixel using impixel by checking its cordinates and intensity value. One tool that comes to mind is imtool which can solve the purpose but the problem is impixel does not work with imtool as it works with imshow. Please guide what is the problem? or if you can propose better methods, its welcome. Thanks.

Answers (1)

Image Analyst
Image Analyst on 7 Sep 2016
Have you looked at impixelinfo()?

2 Comments

Yes, but it didn't work for me.
Why not? It works for me. Did you look all over the figure for the status line? You can set the position if you want:
hp = impixelinfo();
hp.Position = [20, 100, 1, 300];

Sign in to comment.

Asked:

on 7 Sep 2016

Commented:

on 4 Nov 2016

Community Treasure Hunt

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

Start Hunting!