How to apply impixel on imtool

1 次查看(过去 30 天)
Navdeep
Navdeep 2016-9-7
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.

回答(1 个)

Image Analyst
Image Analyst 2016-9-7
Have you looked at impixelinfo()?
  2 个评论
Navdeep Singh
Navdeep Singh 2016-11-4
Yes, but it didn't work for me.
Image Analyst
Image Analyst 2016-11-4
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];

请先登录,再进行评论。

Community Treasure Hunt

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

Start Hunting!

Translated by