Thanks, Michael. I've not yet had a chance to try it.
On Thu, Dec 5, 2013 at 12:39 PM, Michael Schmid <
[hidden email]>wrote:
> Hi Robert,
>
> assuming zoomImagePlus is an ImagePlus, get its ImageCanvas
> (ImagePlus.getCanvas) and use setMagnification of the ImageCanvas.
>
> In ImageCanvas.paint(Graphics g) you will find how the magnification is
> used for displaying.
>
> Michael
> ________________________________________________________________
>
> On Dec 5, 2013, at 20:21, Robert Lockwood wrote:
>
> > I have been able to create an ROI, extract the Cropped ImageProcessor.
> and
> > display the new cropped image. I'm using Java 7 and Eclipse Kepler.
> >
> > The relevant update code is below where an instance zoomImagePlus has
> been
> > created elsewhere and displayed using show().
> >
> > new ImageProcessor cursorImage =
> imp.getProcessor().crop();
> > zoomImagePlus.setProcessor("Zoom",cursorImage);
> >
> > I'd like have the image magnified by a factor of 4 but don't see how to
> do
> > it. It appears that the AWT Canvas has a setMagnification method but I
> > don't see how to access it.
> >
> > How may I do this?
> >
> > Thanks
>
> --
> ImageJ mailing list:
http://imagej.nih.gov/ij/list.html>
--
When I was 12 I thought I would live forever.
So far, so good.
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html