Login  Register

Re: Resizing an ImageStack

Posted by ctrueden on Oct 31, 2013; 6:21pm
URL: http://imagej.273.s1.nabble.com/Resizing-an-ImageStack-tp5005395p5005409.html

Hi Mahsa,

> Is there a way of resizing the whole stack at once , other than
> retreiving every ImageProcessor from the Stack and resize them one by
> one?

The Image > Adjust > Size command resizes the entire stack.

Java source at:
https://github.com/fiji/ImageJA/blob/master/src/main/java/ij/plugin/Resizer.java

If writing a macro or plugin, you can use e.g.:
IJ.run(imp, "Size...", "width=100 height=121 depth=27 constrain average
interpolation=Bilinear");

Regards,
Curtis


On Wed, Oct 30, 2013 at 11:49 AM, Mahsa Naseri <[hidden email]>wrote:

> Hi guys,
>
> I have an big image Stack of 80 images. The user has lots of interaction
> with the image. So there are lots of resizing involved.
>
> My Question is:
> Is there a way of resizing the whole stack at once , other than retreiving
> every ImageProcessor from the Stack and resize them one by one?
>
> Thanks
>
> Mahsa
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html