public class ImageProcessorBuffer
extends java.lang.Object
Constructor and Description |
---|
ImageProcessorBuffer()
creates a new ImageProcessorBuffer object.
|
Modifier and Type | Method and Description |
---|---|
void |
add(Grid2D image,
int index)
adds the Image at index i; Previous entry will be overwritten.
|
Grid2D |
get(int index)
Returns the ImageProcessor at index index.
|
void |
remove(int index)
Removes the image at the given index.
|
int |
size()
returns the number of stored ImageProcessors
|
Grid2D[] |
toArray()
Returns a sorted array of the buffered ImageProcessors
|
ij.ImagePlus |
toImagePlus(java.lang.String title)
Returns a sorted ImagePlus of the buffered ImageProcessors
|
public ImageProcessorBuffer()
public void add(Grid2D image, int index)
image
- index
- public Grid2D get(int index)
index
- the indexpublic void remove(int index)
index
- the index.public Grid2D[] toArray()
public ij.ImagePlus toImagePlus(java.lang.String title)
public int size()