public class I5DVirtualStack
extends ij.ImageStack
| Constructor and Description |
|---|
I5DVirtualStack(int width,
int height,
ColorModel cm,
String path)
Creates a new, empty virtual stack.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addSlice(String name)
Adds an image to the end of the stack.
|
void |
addSlice(String sliceLabel,
ij.process.ImageProcessor ip)
Does nothing..
|
void |
addSlice(String sliceLabel,
ij.process.ImageProcessor ip,
int n)
Does noting.
|
void |
addSlice(String sliceLabel,
Object pixels)
Does nothing.
|
void |
deleteLastSlice()
Deletes the last slice in the stack.
|
void |
deleteSlice(int n)
Deletes the specified slice, where
1<=n<=nslices. |
Object[] |
getImageArray()
Returns null.
|
String |
getPath()
Returns the directory of the stack.
|
Object |
getPixels(int n)
Returns the pixel array for the specified slice, where
1<=n<=nslices. |
ij.process.ImageProcessor |
getProcessor(int n)
Returns an ImageProcessor for the specified slice, where
1<=n<=nslices. |
int |
getSize()
Returns the number of slices in this stack.
|
String |
getSliceLabel(int n)
Returns the file name of the Nth image.
|
boolean |
isVirtual()
Always return true.
|
void |
setPixels(Object pixels,
int n)
Assigns a pixel array to the specified slice, where
1<=n<=nslices. |
void |
setSliceLabel(String label,
int n)
Does nothing.
|
void |
trim()
Does nothing.
|
addSlice, addUnsignedShortSlice, convertToFloat, create, create, crop, drawSphere, duplicate, getBitDepth, getColorModel, getHeight, getRoi, getShortSliceLabel, getSliceLabels, getVoxel, getVoxels, getVoxels, getWidth, isHSB, isHSB32, isLab, isRGB, setBitDepth, setColorModel, setProcessor, setRoi, setVoxel, setVoxels, setVoxels, size, toString, updatepublic I5DVirtualStack(int width,
int height,
ColorModel cm,
String path)
public void addSlice(String name)
public void addSlice(String sliceLabel, Object pixels)
addSlice in class ij.ImageStackpublic void addSlice(String sliceLabel, ij.process.ImageProcessor ip)
addSlice in class ij.ImageStackpublic void addSlice(String sliceLabel, ij.process.ImageProcessor ip, int n)
addSlice in class ij.ImageStackpublic void deleteSlice(int n)
1<=n<=nslices.deleteSlice in class ij.ImageStackpublic void deleteLastSlice()
deleteLastSlice in class ij.ImageStackpublic Object getPixels(int n)
1<=n<=nslices.getPixels in class ij.ImageStackpublic void setPixels(Object pixels, int n)
1<=n<=nslices.setPixels in class ij.ImageStackpublic ij.process.ImageProcessor getProcessor(int n)
1<=n<=nslices. Returns null if the stack is empty.getProcessor in class ij.ImageStackpublic String getPath()
public int getSize()
getSize in class ij.ImageStackpublic String getSliceLabel(int n)
getSliceLabel in class ij.ImageStackpublic Object[] getImageArray()
getImageArray in class ij.ImageStackpublic void setSliceLabel(String label, int n)
setSliceLabel in class ij.ImageStackpublic boolean isVirtual()
isVirtual in class ij.ImageStackpublic void trim()
trim in class ij.ImageStackCopyright © 2015–2021 Fiji. All rights reserved.