Resizing an ImageStack

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Resizing an ImageStack

Mahsa Naseri
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
Reply | Threaded
Open this post in threaded view
|

Re: Resizing an ImageStack

ctrueden
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