public class OMEROWrapper extends MinMaxCalculator
| Modifier and Type | Field and Description |
|---|---|
Boolean |
minMaxSet |
chanMax, chanMin, minMaxDone, minMaxStore, planeMax, planeMinreaderCAN_GROUP, CANNOT_GROUP, MUST_GROUP| Constructor and Description |
|---|
OMEROWrapper(ImportConfig config)
Wrapper for bio-formats
|
OMEROWrapper(ImportConfig config,
long elapsedTime,
File cacheDirectory) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
ImportConfig |
getConfig() |
ImageReader |
getImageReader()
Return the base image reader
|
MetadataOptions |
getMetadataOptions() |
Set<MetadataLevel> |
getSupportedMetadataLevels() |
boolean |
isLeicaReader() |
boolean |
isMinMaxSet() |
boolean |
isSPWReader() |
PixelData |
openPlane2D(String id,
int planeNumber,
byte[] buf)
Obtains an object which represents a given sub-image of a plane within
the file.
|
PixelData |
openPlane2D(String id,
int planeNumber,
byte[] buf,
int x,
int y,
int w,
int h)
Obtains an object which represents a given sub-image of a plane within
the file.
|
void |
setMetadataOptions(MetadataOptions options) |
protected void |
updateMinMax(int no,
byte[] buf,
int len) |
close, getChannelGlobalMaximum, getChannelGlobalMinimum, getChannelKnownMaximum, getChannelKnownMinimum, getMinMaxStore, getNativeDataType, getPlaneMaximum, getPlaneMinimum, initMinMax, isMinMaxPopulated, makeMinMaxCalculator, openBytes, openBytes, openBytes, openBytes, setMinMaxStorecoreIndexToSeries, duplicate, fileGroupOption, get16BitLookupTable, get8BitLookupTable, getAdvancedSeriesUsedFiles, getAdvancedUsedFiles, getBitsPerPixel, getCoreIndex, getCoreMetadataList, getCurrentFile, getDatasetStructureDescription, getDimensionOrder, getDomains, getEffectiveSizeC, getFormat, getGlobalMetadata, getImageCount, getIndex, getIndex, 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, 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, openPlane, openThumbBytes, reopenFile, seriesToCoreIndex, setCoreIndex, setFlattenedResolutions, setGroupFiles, setId, setMetadataFiltered, setMetadataStore, setNormalized, setOriginalMetadataPopulated, setResolution, setSeries, unwrap, unwrap, unwrappublic Boolean minMaxSet
public OMEROWrapper(ImportConfig config)
config - - ImportConfitpublic OMEROWrapper(ImportConfig config, long elapsedTime, File cacheDirectory)
public ImportConfig getConfig()
public PixelData openPlane2D(String id, int planeNumber, byte[] buf) throws FormatException, IOException
id - The path to the file.planeNumber - The plane or section within the file to obtain.buf - Pre-allocated buffer which has a length that can fit
the entire plane.FormatException - If there is an error parsing the file.IOException - If there is an error reading from the file or
acquiring permissions to read the file.public PixelData openPlane2D(String id, int planeNumber, byte[] buf, int x, int y, int w, int h) throws FormatException, IOException
id - The path to the file.planeNumber - The plane or section within the file to obtain.buf - Pre-allocated buffer which has a length that can fit
the byte count of the sub-image.x - X coordinate of the upper-left corner of the sub-imagey - Y coordinate of the upper-left corner of the sub-imagew - width of the sub-imageh - height of the sub-imageFormatException - If there is an error parsing the file.IOException - If there is an error reading from the file or
acquiring permissions to read the file.public boolean isLeicaReader()
public boolean isMinMaxSet()
throws FormatException,
IOException
FormatExceptionIOExceptionprotected void updateMinMax(int no,
byte[] buf,
int len)
throws FormatException,
IOException
updateMinMax in class MinMaxCalculatorFormatExceptionIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class ReaderWrapperIOExceptionpublic ImageReader getImageReader()
public boolean isSPWReader()
public MetadataOptions getMetadataOptions()
getMetadataOptions in interface IMetadataConfigurablegetMetadataOptions in class ReaderWrapperpublic void setMetadataOptions(MetadataOptions options)
setMetadataOptions in interface IMetadataConfigurablesetMetadataOptions in class ReaderWrapperpublic Set<MetadataLevel> getSupportedMetadataLevels()
getSupportedMetadataLevels in interface IMetadataConfigurablegetSupportedMetadataLevels in class ReaderWrapper
Version: 5.3.3-ice35-b63
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.