java.lang.Object
ij.ImageStack
ij.VirtualStack
ij.plugin.FileInfoVirtualStack
- All Implemented Interfaces:
PlugIn
This plugin opens a multi-page TIFF file, or a set of raw images, as a
virtual stack. It implements the File/Import/TIFF Virtual Stack command.
-
Field Summary
Fields inherited from class ij.ImageStack
cTable -
Constructor Summary
ConstructorsConstructorDescriptionFileInfoVirtualStack(FileInfo[] fi) FileInfoVirtualStack(FileInfo fi, boolean show) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds an image to this stack.voiddeleteSlice(int n) Deletes the specified image, where 1<=n<=nImages.Returns the path to the directory containing the images.getFileName(int n) Returns the file name of the specified slice, where 1<=n<=nslices.intgetProcessor(int n) Returns an ImageProcessor for the specified image, where 1<=n<=nImages.intgetSize()getSliceLabel(int n) Returns the label of the Nth image.intgetWidth()static ImagePlusopenVirtual(String path) Opens the specified tiff file as a virtual stack.voidThis method is called when the plugin is loaded.intsize()Returns the number of slices in this stack.Methods inherited from class ij.VirtualStack
addSlice, addSlice, addSlice, addSlice, deleteLastSlice, getBitDepth, getImageArray, getPixels, getProperties, isVirtual, reduce, saveChanges, setBitDepth, setIndexes, setPixels, setSliceLabel, 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
-
FileInfoVirtualStack
public FileInfoVirtualStack() -
FileInfoVirtualStack
-
FileInfoVirtualStack
-
FileInfoVirtualStack
-
-
Method Details
-
openVirtual
Opens the specified tiff file as a virtual stack. -
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<=nImages.- Overrides:
deleteSlicein classVirtualStack
-
getProcessor
Returns an ImageProcessor for the specified image, where 1<=n<=nImages. Returns null if the stack is empty.- Overrides:
getProcessorin classVirtualStack
-
size
public int size()Returns the number of slices in this stack.- Overrides:
sizein classVirtualStack
-
getSize
public int getSize()- Overrides:
getSizein classVirtualStack
-
getSliceLabel
Returns the label of the Nth image.- Overrides:
getSliceLabelin classVirtualStack
-
getWidth
public int getWidth()- Overrides:
getWidthin classImageStack
-
getHeight
public int getHeight()- Overrides:
getHeightin classImageStack
-
addImage
Adds an image to this stack. -
getDirectory
Description copied from class:VirtualStackReturns the path to the directory containing the images.- Overrides:
getDirectoryin classVirtualStack
-
getFileName
Description copied from class:VirtualStackReturns the file name of the specified slice, where 1<=n<=nslices.- Overrides:
getFileNamein classVirtualStack
-