public class OMEROWrapper
extends loci.formats.MinMaxCalculator
| Modifier and Type | Field and Description | 
|---|---|
| java.lang.Boolean | minMaxSet | 
| Constructor and Description | 
|---|
| OMEROWrapper(ImportConfig config)Wrapper for bio-formats | 
| OMEROWrapper(ImportConfig config,
            long elapsedTime,
            java.io.File cacheDirectory)Deprecated.  | 
| OMEROWrapper(ImportConfig config,
            long elapsedTime,
            java.io.File cacheDirectory,
            ome.io.nio.ReaderSecurityCheck readerSecurityCheck) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | close() | 
| ImportConfig | getConfig() | 
| loci.formats.ImageReader | getImageReader()Return the base image reader | 
| loci.formats.in.MetadataOptions | getMetadataOptions() | 
| java.util.Set<loci.formats.in.MetadataLevel> | getSupportedMetadataLevels() | 
| boolean | isLeicaReader() | 
| boolean | isMinMaxSet() | 
| boolean | isSPWReader() | 
| ome.util.PixelData | openPlane2D(java.lang.String id,
           int planeNumber,
           byte[] buf)Obtains an object which represents a given sub-image of a plane within
 the file. | 
| ome.util.PixelData | openPlane2D(java.lang.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(loci.formats.in.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 OMEROWrapper(ImportConfig config)
config - - ImportConfit@Deprecated public OMEROWrapper(ImportConfig config, long elapsedTime, java.io.File cacheDirectory)
public OMEROWrapper(ImportConfig config, long elapsedTime, java.io.File cacheDirectory, ome.io.nio.ReaderSecurityCheck readerSecurityCheck)
public ImportConfig getConfig()
public ome.util.PixelData openPlane2D(java.lang.String id,
                                      int planeNumber,
                                      byte[] buf)
                               throws loci.formats.FormatException,
                                      java.io.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.loci.formats.FormatException - If there is an error parsing the file.java.io.IOException - If there is an error reading from the file or
 acquiring permissions to read the file.public ome.util.PixelData openPlane2D(java.lang.String id,
                                      int planeNumber,
                                      byte[] buf,
                                      int x,
                                      int y,
                                      int w,
                                      int h)
                               throws loci.formats.FormatException,
                                      java.io.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-imageloci.formats.FormatException - If there is an error parsing the file.java.io.IOException - If there is an error reading from the file or
 acquiring permissions to read the file.public boolean isLeicaReader()
public boolean isMinMaxSet()
                    throws loci.formats.FormatException,
                           java.io.IOException
loci.formats.FormatExceptionjava.io.IOExceptionprotected void updateMinMax(int no,
                            byte[] buf,
                            int len)
                     throws loci.formats.FormatException,
                            java.io.IOException
updateMinMax in class loci.formats.MinMaxCalculatorloci.formats.FormatExceptionjava.io.IOExceptionpublic void close()
           throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class loci.formats.ReaderWrapperjava.io.IOExceptionpublic loci.formats.ImageReader getImageReader()
public boolean isSPWReader()
public loci.formats.in.MetadataOptions getMetadataOptions()
getMetadataOptions in interface loci.formats.IMetadataConfigurablegetMetadataOptions in class loci.formats.ReaderWrapperpublic void setMetadataOptions(loci.formats.in.MetadataOptions options)
setMetadataOptions in interface loci.formats.IMetadataConfigurablesetMetadataOptions in class loci.formats.ReaderWrapperpublic java.util.Set<loci.formats.in.MetadataLevel> getSupportedMetadataLevels()
getSupportedMetadataLevels in interface loci.formats.IMetadataConfigurablegetSupportedMetadataLevels in class loci.formats.ReaderWrapper