Package loci.plugins.util
Class BFVirtualStack
java.lang.Object
ij.ImageStack
ij.VirtualStack
loci.plugins.util.BFVirtualStack
Subclass of VirtualStack that uses Bio-Formats to read planes on demand.
- Author:
- Melissa Linkert melissa at glencoesoftware.com
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected loci.formats.cache.Cacheprotected Stringprotected ImageProcessorReaderFields inherited from class ij.ImageStack
cTable -
Constructor Summary
ConstructorsConstructorDescriptionBFVirtualStack(String path, loci.formats.IFormatReader r, boolean colorize, boolean merge, boolean record) -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteSlice(int n) loci.formats.cache.CachegetCache()intprotected static intList<loci.plugins.util.RecordedImageProcessor.MethodEntry>getPath()getProcessor(int n) intgetSize()intgetWidth()protected static intvoidsetPlaneIndexes(int[] planeIndexes) Methods inherited from class ij.VirtualStack
addSlice, addSlice, addSlice, addSlice, deleteLastSlice, getBitDepth, getDirectory, getFileName, getImageArray, getPixels, getProperties, getSliceLabel, isVirtual, reduce, 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
-
Field Details
-
reader
-
id
-
cache
protected loci.formats.cache.Cache cache
-
-
Constructor Details
-
BFVirtualStack
public BFVirtualStack(String path, loci.formats.IFormatReader r, boolean colorize, boolean merge, boolean record) throws loci.formats.FormatException, IOException, loci.formats.cache.CacheException - Throws:
loci.formats.FormatExceptionIOExceptionloci.formats.cache.CacheException
-
-
Method Details
-
getWidth
protected static int getWidth(loci.formats.IFormatReader r, String path, int series) throws loci.formats.FormatException, IOException - Throws:
loci.formats.FormatExceptionIOException
-
getHeight
protected static int getHeight(loci.formats.IFormatReader r, String path, int series) throws loci.formats.FormatException, IOException - Throws:
loci.formats.FormatExceptionIOException
-
getPath
-
getReader
-
getCache
public loci.formats.cache.Cache getCache() -
getRecordedProcessor
-
getMethodStack
-
setPlaneIndexes
public void setPlaneIndexes(int[] planeIndexes) -
getProcessor
- Overrides:
getProcessorin classVirtualStack
-
getWidth
public int getWidth()- Overrides:
getWidthin classImageStack
-
getHeight
public int getHeight()- Overrides:
getHeightin classImageStack
-
getSize
public int getSize()- Overrides:
getSizein classVirtualStack
-
deleteSlice
public void deleteSlice(int n) - Overrides:
deleteSlicein classVirtualStack
-