java.lang.Object
ij.ImageStack
ij.VirtualStack
ij.plugin.ListVirtualStack
- All Implemented Interfaces:
PlugIn
This plugin opens images specified by list of file paths as a virtual stack.
It implements the File/Import/Stack From List command.
-
Field Summary
Fields inherited from class ij.ImageStack
cTable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteSlice(int n) Deletes the specified image, where 1<=n<=nslices.intgetProcessor(int n) Returns an ImageProcessor for the specified slice, where 1<=n<=nslices.intgetSize()Returns the number of images in this stack.getSliceLabel(int n) Returns the name of the specified image.intgetWidth()voidreduce(int factor) Reduces the number of slices in this stack by a factor.voidThis 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, setIndexes, setPixels, setSliceLabel, size, sortDicom, translate, trimMethods inherited from class ij.ImageStack
addSlice, addUnsignedShortSlice, convertToFloat, create, create, crop, drawSphere, duplicate, getColorModel, getRoi, getShortSliceLabel, getShortSliceLabel, getSliceLabels, getVoxel, getVoxels, getVoxels, isHSB, isHSB32, isLab, isRGB, setColorModel, setOptions, setProcessor, setRoi, setVoxel, setVoxels, setVoxels, toString, update
-
Constructor Details
-
ListVirtualStack
public ListVirtualStack()
-
-
Method Details
-
run
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, where 1<=n<=nslices.- Overrides:
deleteSlicein classVirtualStack
-
getProcessor
Returns an ImageProcessor for the specified slice, where 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
Returns the name of the specified image.- Overrides:
getSliceLabelin classVirtualStack
-
getWidth
public int getWidth()- Overrides:
getWidthin classImageStack
-
getHeight
public int getHeight()- Overrides:
getHeightin classImageStack
-
reduce
public void reduce(int factor) Description copied from class:VirtualStackReduces the number of slices in this stack by a factor.- Overrides:
reducein classVirtualStack
-