Package ij.plugin
Class ListVirtualStack
- java.lang.Object
-
- ij.ImageStack
-
- ij.VirtualStack
-
- ij.plugin.ListVirtualStack
-
- All Implemented Interfaces:
PlugIn
public class ListVirtualStack extends VirtualStack implements PlugIn
This plugin opens images specified by list of file paths as a virtual stack. It implements the File/Import/Stack From List command.
-
-
Constructor Summary
Constructors Constructor Description ListVirtualStack()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeleteSlice(int n)Deletes the specified image, were 1<=n<=nslices.intgetHeight()ImageProcessorgetProcessor(int n)Returns an ImageProcessor for the specified slice, were 1<=n<=nslices.intgetSize()Returns the number of images in this stack.StringgetSliceLabel(int n)Returns the name of the specified image.intgetWidth()voidrun(String arg)This method is called when the plugin is loaded.-
Methods inherited from class ij.VirtualStack
addSlice, addSlice, addSlice, addSlice, deleteLastSlice, getBitDepth, getDirectory, getFileName, getImageArray, getPixels, getProperties, isVirtual, saveChanges, setBitDepth, setPixels, setSliceLabel, sortDicom, trim
-
Methods inherited from class ij.ImageStack
addSlice, addUnsignedShortSlice, convertToFloat, create, crop, drawSphere, duplicate, getColorModel, getRoi, getShortSliceLabel, getSliceLabels, getVoxel, getVoxels, getVoxels, isHSB, isLab, isRGB, setColorModel, setProcessor, setRoi, setVoxel, setVoxels, setVoxels, size, toString, update
-
-
-
-
Method Detail
-
run
public void run(String arg)
Description copied from interface:PlugInThis method is called when the plugin is loaded. 'arg', which may be blank, is the argument specified for this plugin in IJ_Props.txt.
-
deleteSlice
public void deleteSlice(int n)
Deletes the specified image, were 1<=n<=nslices.- Overrides:
deleteSlicein classVirtualStack
-
getProcessor
public ImageProcessor getProcessor(int n)
Returns an ImageProcessor for the specified slice, were 1<=n<=nslices. Returns null if the stack is empty.- Overrides:
getProcessorin classVirtualStack
-
getSize
public int getSize()
Returns the number of images in this stack.- Overrides:
getSizein classVirtualStack
-
getSliceLabel
public String getSliceLabel(int n)
Returns the name of the specified image.- Overrides:
getSliceLabelin classVirtualStack
-
getWidth
public int getWidth()
- Overrides:
getWidthin classImageStack
-
getHeight
public int getHeight()
- Overrides:
getHeightin classImageStack
-
-