Package loci.plugins.util
Class BFVirtualStack
java.lang.Object
ij.ImageStack
ij.VirtualStack
loci.plugins.util.BFVirtualStack
public class BFVirtualStack
extends ij.VirtualStack
Subclass of VirtualStack that uses Bio-Formats to read planes on demand.
- Author:
- Melissa Linkert melissa at glencoesoftware.com
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Cacheprivate float[]private booleanprivate RecordedImageProcessorprivate intprotected Stringprivate int[]private booleanprivate List<List<RecordedImageProcessor.MethodEntry>> private int[]protected ImageProcessorReaderprivate booleanprivate intFields inherited from class ij.ImageStack
cTable -
Constructor Summary
ConstructorsConstructorDescriptionBFVirtualStack(String path, IFormatReader r, boolean colorize, boolean merge, boolean record) -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteSlice(int n) getCache()intprotected static intgetHeight(IFormatReader r, String path, int series) getPath()ij.process.ImageProcessorgetProcessor(int n) intgetSize()intgetWidth()protected static intgetWidth(IFormatReader r, String path, int series) voidsetPlaneIndexes(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
-
methodStacks
-
currentSlice
private int currentSlice -
currentProcessor
-
colorize
private boolean colorize -
merge
private boolean merge -
record
private boolean record -
series
private int series -
len
private int[] len -
planeIndexes
private int[] planeIndexes -
calibrationTable
private float[] calibrationTable
-
-
Constructor Details
-
BFVirtualStack
public BFVirtualStack(String path, IFormatReader r, boolean colorize, boolean merge, boolean record) throws FormatException, IOException, CacheException - Throws:
FormatExceptionIOExceptionCacheException
-
-
Method Details
-
getWidth
protected static int getWidth(IFormatReader r, String path, int series) throws FormatException, IOException - Throws:
FormatExceptionIOException
-
getHeight
protected static int getHeight(IFormatReader r, String path, int series) throws FormatException, IOException - Throws:
FormatExceptionIOException
-
getPath
-
getReader
-
getCache
-
getRecordedProcessor
-
getMethodStack
-
setPlaneIndexes
public void setPlaneIndexes(int[] planeIndexes) -
getProcessor
public ij.process.ImageProcessor getProcessor(int n) - Overrides:
getProcessorin classij.VirtualStack
-
getWidth
public int getWidth()- Overrides:
getWidthin classij.ImageStack
-
getHeight
public int getHeight()- Overrides:
getHeightin classij.ImageStack
-
getSize
public int getSize()- Overrides:
getSizein classij.VirtualStack
-
deleteSlice
public void deleteSlice(int n) - Overrides:
deleteSlicein classij.VirtualStack
-