How to use mouse wheel to zoom in/out while running "impixel" function simultaneously?
3 views (last 30 days)
I am trying to select pixels in a large image. To get accurate selection, I need to zoom in and out in different locations.
I start with:
fig = figure(123);
[pixx, pixy, P] = impixel;
The function call desactivates the zoom. I need to click on the zoom buttons in the figure action dialogue to reactivate it then click on it again to continue my impixel selection. Sometimes, the clicks are recorded as "NaN" in impixel which causes issues. Also, when the zoom is activated, clicking on the image zooms in it and a selection is made in impixel.
Is there a way to desactiate zoom by clicking and having mouse wheel zoom always on?