public class PlotVirtualStack extends VirtualStack
| Constructor and Description |
|---|
PlotVirtualStack(int width,
int height) |
| Modifier and Type | Method and Description |
|---|---|
void |
addPlot(Plot plot)
Adds a plot to the end of the stack.
|
void |
deleteSlice(int n)
Deletes the specified slice, were 1<=n<=nslices.
|
int |
getBitDepth()
Returns either 24 (RGB) or 8 (grayscale).
|
Object |
getPixels(int n)
Returns the pixel array for the specified slice, were 1<=n<=nslices.
|
ImageProcessor |
getProcessor(int n)
Returns an ImageProcessor for the specified slice,
were 1<=n<=nslices.
|
int |
getSize()
Returns the number of slices in this stack.
|
String |
getSliceLabel(int n)
Returns the label of the Nth image.
|
void |
setBitDepth(int bitDepth)
Sets the bit depth (8, 16, 24 or 32).
|
void |
setPixels(Object pixels,
int n)
Assigns a pixel array to the specified slice,
were 1<=n<=nslices.
|
addSlice, addSlice, addSlice, addSlice, deleteLastSlice, getDirectory, getFileName, getImageArray, getProperties, isVirtual, saveChanges, setSliceLabel, sortDicom, trimaddSlice, addUnsignedShortSlice, convertToFloat, create, crop, drawSphere, duplicate, getColorModel, getHeight, getRoi, getShortSliceLabel, getSliceLabels, getVoxel, getVoxels, getVoxels, getWidth, isHSB, isLab, isRGB, setColorModel, setProcessor, setRoi, setVoxel, setVoxels, setVoxels, size, toString, updatepublic void addPlot(Plot plot)
public Object getPixels(int n)
getPixels in class VirtualStackpublic ImageProcessor getProcessor(int n)
getProcessor in class VirtualStackpublic int getSize()
getSize in class VirtualStackpublic int getBitDepth()
getBitDepth in class VirtualStackpublic void setBitDepth(int bitDepth)
VirtualStacksetBitDepth in class VirtualStackpublic String getSliceLabel(int n)
VirtualStackgetSliceLabel in class VirtualStackpublic void setPixels(Object pixels, int n)
VirtualStacksetPixels in class VirtualStackpublic void deleteSlice(int n)
deleteSlice in class VirtualStackCopyright © 1997–2018 NIH. All rights reserved.