public class ImageProcessorReader extends ReaderWrapper
ImageProcessor objects.
For a higher-level reader that returns ImagePlus objects,
see ImagePlusReader instead.readerCAN_GROUP, CANNOT_GROUP, MUST_GROUP| Constructor and Description |
|---|
ImageProcessorReader()
Constructs an ImageProcessorReader around a new image reader.
|
ImageProcessorReader(IFormatReader r)
Constructs an ImageProcessorReader with the given reader.
|
| Modifier and Type | Method and Description |
|---|---|
private byte[][] |
convertTo8Bit(short[][] shortTable) |
private ij.process.LUT |
createColorModel() |
java.lang.Class<?> |
getNativeDataType()
Returns the native data type of image planes for this reader, as returned
by
IFormatReader.openPlane(int, int, int, int, int) or IFormatWriter.savePlane(int, java.lang.Object). |
static ImageProcessorReader |
makeImageProcessorReader(IFormatReader r)
Converts the given reader into a ImageProcessorReader, wrapping if needed.
|
java.lang.Object |
openPlane(int no,
int x,
int y,
int w,
int h)
Obtains the specified image plane (or sub-image thereof) in the reader's
native data structure.
|
ij.process.ImageProcessor[] |
openProcessors(int no)
Creates an ImageJ image processor object
for the image plane at the given position.
|
ij.process.ImageProcessor[] |
openProcessors(int no,
int x,
int y,
int w,
int h)
Returns an array of ImageProcessors that represent the given slice.
|
ij.process.ImageProcessor[] |
openThumbProcessors(int no) |
close, close, coreIndexToSeries, duplicate, fileGroupOption, get16BitLookupTable, get8BitLookupTable, getAdvancedSeriesUsedFiles, getAdvancedUsedFiles, getBitsPerPixel, getCoreIndex, getCoreMetadataList, getCurrentFile, getDatasetStructureDescription, getDimensionOrder, getDomains, getEffectiveSizeC, getFormat, getGlobalMetadata, getImageCount, getIndex, getIndex, getMetadataOptions, getMetadataStore, getMetadataStoreRoot, getMetadataValue, getModuloC, getModuloT, getModuloZ, getOptimalTileHeight, getOptimalTileWidth, getPixelType, getPossibleDomains, getReader, getRequiredDirectories, getResolution, getResolutionCount, getRGBChannelCount, getSeries, getSeriesCount, getSeriesMetadata, getSeriesMetadataValue, getSeriesUsedFiles, getSeriesUsedFiles, getSizeC, getSizeT, getSizeX, getSizeY, getSizeZ, getSuffixes, getSupportedMetadataLevels, getThumbSizeX, getThumbSizeY, getUnderlyingReaders, getUsedFiles, getUsedFiles, getZCTCoords, getZCTModuloCoords, hasCompanionFiles, hasFlattenedResolutions, isFalseColor, isGroupFiles, isIndexed, isInterleaved, isInterleaved, isLittleEndian, isMetadataComplete, isMetadataFiltered, isNormalized, isOrderCertain, isOriginalMetadataPopulated, isRGB, isSingleFile, isThisType, isThisType, isThisType, isThisType, isThumbnailSeries, openBytes, openBytes, openBytes, openBytes, openThumbBytes, reopenFile, seriesToCoreIndex, setCoreIndex, setFlattenedResolutions, setGroupFiles, setId, setMetadataFiltered, setMetadataOptions, setMetadataStore, setNormalized, setOriginalMetadataPopulated, setResolution, setSeries, unwrap, unwrap, unwrappublic ImageProcessorReader()
public ImageProcessorReader(IFormatReader r)
public static ImageProcessorReader makeImageProcessorReader(IFormatReader r)
public ij.process.ImageProcessor[] openProcessors(int no)
throws FormatException,
java.io.IOException
no - Position of image plane.FormatExceptionjava.io.IOExceptionpublic ij.process.ImageProcessor[] openThumbProcessors(int no)
throws FormatException,
java.io.IOException
FormatExceptionjava.io.IOExceptionpublic ij.process.ImageProcessor[] openProcessors(int no,
int x,
int y,
int w,
int h)
throws FormatException,
java.io.IOException
no - Position of image plane.FormatExceptionjava.io.IOExceptionpublic java.lang.Class<?> getNativeDataType()
IFormatHandlerIFormatReader.openPlane(int, int, int, int, int) or IFormatWriter.savePlane(int, java.lang.Object).
For most readers this type will be a byte array; however, some readers
call external APIs that work with other types such as
BufferedImage.getNativeDataType in interface IFormatHandlergetNativeDataType in class ReaderWrapperpublic java.lang.Object openPlane(int no,
int x,
int y,
int w,
int h)
throws FormatException,
java.io.IOException
IFormatReaderBufferedImage. The openPlane method exists to
maintain generality and efficiency while avoiding pollution of the API
with AWT-specific logic.openPlane in interface IFormatReaderopenPlane in class ReaderWrapperFormatExceptionjava.io.IOExceptionFormatReader,
BufferedImageReaderprivate ij.process.LUT createColorModel()
throws FormatException,
java.io.IOException
FormatExceptionjava.io.IOExceptionprivate byte[][] convertTo8Bit(short[][] shortTable)
Copyright © 2019 Open Microscopy Environment