How to apply impixel on imtool

2 views (last 30 days)
Navdeep
Navdeep on 7 Sep 2016
Commented: Image Analyst on 4 Nov 2016
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
Navdeep Singh
Navdeep Singh on 4 Nov 2016
Yes, but it didn't work for me.
Image Analyst
Image Analyst on 4 Nov 2016
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.

Community Treasure Hunt

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

Start Hunting!