Login  Register

Re: concept ImagePlus ImageProcessor ImageStack

Posted by Michael Schmid on Mar 16, 2010; 10:12am
URL: http://imagej.273.s1.nabble.com/Z-Projections-tp3688948p3688953.html

Hi Guanghua,

to put it simple:

ImageProcessor contains the data of a 2D image and provides some  
basic methods to manipulate it.

An ImageStack is a list of ImageProcessors of same type and size.
   new ImageStack(w,h,z) does not create any ImageProcessors - and it  
can't: It cannot be determined whether it should be filled with Byte,  
Short, Float or ColorProcessors.
In case of doubt, my usual approach is looking at the source code on  
the ImageJ web site.

ImagePlus can contain a 2D image, stack, composite image and also  
includes metadata (spatial calibration, possibly directory/file where  
it was read from, sometimes other data read from the file...)

Michael
________________________________________________________________

On 16 Mar 2010, at 10:07, Guanghua Du wrote:

> Dear list,
> can anybody explain me the basic concept of the following terms  
> used in the image processing:
> what is exactly an Imageplus and an Imageprocessor,what's the  
> difference?
> what is the difference between an Imageplus holding 3D images and  
> an Imagestack?
>
> is an ImageProcessor just a class which contains array of pixels(of  
> different datatype (Byte,Float....) and the methods packed? but  
> Imageplus is a container at a top level which implements the  
> communication with the OP or draws the imageprocessors to the monitor?
>
>
> Sorry for this quite basic questions, but I realy need to  
> udnerstand these concept clear.
>
> PS, If I declare an ImageStack object (using "new Imagestack
> (w,h,z), do i need initialize each slice using (Imagestack.addslice
> ("",imageprocessor)?
>
> best regards..
>
> GDu