ImageCanvas zoomIn / zoomOut
Posted by
nicola76b@libero.it on
URL: http://imagej.273.s1.nabble.com/ImageCanvas-zoomIn-zoomOut-tp3700516.html
Hi all,
i have some troubles using zoom in IJ. I write a fragment of code but I can't understand parameters in ImageCanvas -> zoomIn and zoomOut methods. I try to modify them (parameters) but nothing change.
ImagePlus _imp = new ImagePlus(_path);
_imp.show();
ImageCanvas _ic = _imp.getCanvas();
_ic.zoomIn(50,100);
Initially I think they was starting coord for magnify, but ALL image will be zoomed and not only the remaining part (width-50, height-100).
Could someone explain me how it works?
Thanks a lot,
-nicola
------------------------------------------------------
Passa a Infostrada. ADSL e Telefono senza limiti e senza canone Telecom
http://click.libero.it/infostrada26gen07