public class SPIMVirtualStack extends SPIMStack
| Constructor and Description |
|---|
SPIMVirtualStack(int w,
int h)
Creates a new, empty virtual stack.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addSlice(ImageProcessor ip) |
void |
addSlice(String path)
Adds an image to the end of the stack.
|
void |
addSlice(String sliceLabel,
ImageProcessor ip)
Does nothing..
|
void |
addSlice(String sliceLabel,
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, were 1<=n<=nslices.
|
Object[] |
getImageArray()
Returns null.
|
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.
|
boolean |
isVirtual()
Always return true.
|
int |
saveChanges(int n)
Currently not implemented
|
void |
setPixels(Object pixels,
int n)
Assigns a pixel array to the specified slice,
were 1<=n<=nslices.
|
void |
setRange(int orgW,
int orgH,
int xOffs,
int yOffs) |
void |
setSliceLabel(String label,
int n)
Does nothing.
|
void |
trim()
Does nothing.
|
addUnsignedShortSlice, convertToFloat, create, crop, drawSphere, duplicate, getBitDepth, getColorModel, getHeight, getRoi, getShortSliceLabel, getSliceLabels, getVoxel, getVoxels, getVoxels, getWidth, isHSB, isLab, isRGB, setColorModel, setProcessor, setRoi, setVoxel, setVoxels, setVoxels, size, toString, updatepublic SPIMVirtualStack(int w,
int h)
public void setRange(int orgW,
int orgH,
int xOffs,
int yOffs)
public void addSlice(String path)
public void addSlice(ImageProcessor ip)
public void addSlice(String sliceLabel, Object pixels)
addSlice in class ImageStackpublic void addSlice(String sliceLabel, ImageProcessor ip)
addSlice in class ImageStackpublic void addSlice(String sliceLabel, ImageProcessor ip, int n)
addSlice in class ImageStackpublic void deleteSlice(int n)
deleteSlice in class ImageStackpublic void deleteLastSlice()
deleteLastSlice in class ImageStackpublic Object getPixels(int n)
getPixels in class ImageStackpublic void setPixels(Object pixels, int n)
setPixels in class ImageStackpublic ImageProcessor getProcessor(int n)
getProcessor in class ImageStackpublic int saveChanges(int n)
public int getSize()
getSize in class ImageStackpublic String getSliceLabel(int n)
getSliceLabel in class ImageStackpublic Object[] getImageArray()
getImageArray in class ImageStackpublic void setSliceLabel(String label, int n)
setSliceLabel in class ImageStackpublic boolean isVirtual()
isVirtual in class ImageStackpublic void trim()
trim in class ImageStackCopyright © 2011–2017 Fiji. All rights reserved.