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(ij.process.ImageProcessor ip) |
void |
addSlice(String path)
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, were 1<=n<=nslices.
|
Object[] |
getImageArray()
Returns null.
|
Object |
getPixels(int n)
Returns the pixel array for the specified slice, were 1<=n<=nslices.
|
ij.process.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, 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, update
public SPIMVirtualStack(int w, int h)
public void setRange(int orgW, int orgH, int xOffs, int yOffs)
public void addSlice(String path)
public void addSlice(ij.process.ImageProcessor ip)
public void addSlice(String sliceLabel, Object pixels)
addSlice
in class ij.ImageStack
public void addSlice(String sliceLabel, ij.process.ImageProcessor ip)
addSlice
in class ij.ImageStack
public void addSlice(String sliceLabel, ij.process.ImageProcessor ip, int n)
addSlice
in class ij.ImageStack
public void deleteSlice(int n)
deleteSlice
in class ij.ImageStack
public void deleteLastSlice()
deleteLastSlice
in class ij.ImageStack
public Object getPixels(int n)
getPixels
in class ij.ImageStack
public void setPixels(Object pixels, int n)
setPixels
in class ij.ImageStack
public ij.process.ImageProcessor getProcessor(int n)
getProcessor
in class ij.ImageStack
public int saveChanges(int n)
public int getSize()
getSize
in class ij.ImageStack
public String getSliceLabel(int n)
getSliceLabel
in class ij.ImageStack
public Object[] getImageArray()
getImageArray
in class ij.ImageStack
public void setSliceLabel(String label, int n)
setSliceLabel
in class ij.ImageStack
public boolean isVirtual()
isVirtual
in class ij.ImageStack
public void trim()
trim
in class ij.ImageStack
Copyright © 2015–2021 Fiji. All rights reserved.