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.

Réponses (1)

Image Analyst
Image Analyst le 7 Sep 2016

0 votes

Have you looked at impixelinfo()?

2 commentaires

Navdeep Singh
Navdeep Singh le 4 Nov 2016
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];

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by