|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectloci.formats.ReaderWrapper
loci.formats.MinMaxCalculator
ome.formats.importer.OMEROWrapper
public class OMEROWrapper
Field Summary | |
---|---|
Boolean |
minMaxSet
|
Fields inherited from class loci.formats.MinMaxCalculator |
---|
chanMax, chanMin, minMaxDone, minMaxStore, planeMax, planeMin |
Fields inherited from class loci.formats.ReaderWrapper |
---|
reader |
Fields inherited from interface loci.formats.IFormatReader |
---|
CAN_GROUP, CANNOT_GROUP, MUST_GROUP |
Constructor Summary | |
---|---|
OMEROWrapper(ImportConfig config)
Wrapper for bio-formats |
Method Summary | |
---|---|
void |
close()
|
ImportConfig |
getConfig()
|
loci.formats.ImageReader |
getImageReader()
Return the base image reader |
loci.formats.in.MetadataOptions |
getMetadataOptions()
|
Set<loci.formats.in.MetadataLevel> |
getSupportedMetadataLevels()
|
boolean |
isLeicaReader()
|
boolean |
isMinMaxSet()
|
boolean |
isSPWReader()
|
ome.util.PixelData |
openPlane2D(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(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)
|
Methods inherited from class loci.formats.MinMaxCalculator |
---|
close, getChannelGlobalMaximum, getChannelGlobalMinimum, getChannelKnownMaximum, getChannelKnownMinimum, getMinMaxStore, getNativeDataType, getPlaneMaximum, getPlaneMinimum, initMinMax, isMinMaxPopulated, makeMinMaxCalculator, openBytes, openBytes, openBytes, openBytes, setMinMaxStore |
Methods inherited from class loci.formats.ReaderWrapper |
---|
copyCoreMetadata, duplicate, fileGroupOption, get16BitLookupTable, get8BitLookupTable, getAdvancedSeriesUsedFiles, getAdvancedUsedFiles, getBitsPerPixel, getChannelDimLengths, getChannelDimTypes, getCoreMetadata, getCurrentFile, getDimensionOrder, getDomains, getEffectiveSizeC, getFormat, getGlobalMetadata, getImageCount, getIndex, getMetadata, getMetadataStore, getMetadataStoreRoot, getMetadataValue, getOptimalTileHeight, getOptimalTileWidth, getPixelType, getPossibleDomains, getReader, getRGBChannelCount, getSeries, getSeriesCount, getSeriesMetadata, getSeriesMetadataValue, getSeriesUsedFiles, getSeriesUsedFiles, getSizeC, getSizeT, getSizeX, getSizeY, getSizeZ, getSuffixes, getThumbSizeX, getThumbSizeY, getUnderlyingReaders, getUsedFiles, getUsedFiles, getZCTCoords, hasCompanionFiles, isFalseColor, isGroupFiles, isIndexed, isInterleaved, isInterleaved, isLittleEndian, isMetadataCollected, isMetadataComplete, isMetadataFiltered, isNormalized, isOrderCertain, isOriginalMetadataPopulated, isRGB, isSingleFile, isThisType, isThisType, isThisType, isThisType, isThumbnailSeries, openPlane, openThumbBytes, setGroupFiles, setId, setMetadataCollected, setMetadataFiltered, setMetadataStore, setNormalized, setOriginalMetadataPopulated, setSeries, unwrap, unwrap, unwrap |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public Boolean minMaxSet
Constructor Detail |
---|
public OMEROWrapper(ImportConfig config)
config
- - ImportConfitMethod Detail |
---|
public ImportConfig getConfig()
public ome.util.PixelData openPlane2D(String id, int planeNumber, byte[] buf) throws loci.formats.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.
loci.formats.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 ome.util.PixelData openPlane2D(String id, int planeNumber, byte[] buf, int x, int y, int w, int h) throws loci.formats.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-image
loci.formats.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 boolean isLeicaReader()
public boolean isMinMaxSet() throws loci.formats.FormatException, IOException
loci.formats.FormatException
IOException
protected void updateMinMax(int no, byte[] buf, int len) throws loci.formats.FormatException, IOException
updateMinMax
in class loci.formats.MinMaxCalculator
loci.formats.FormatException
IOException
public void close() throws IOException
close
in interface loci.formats.IFormatHandler
close
in class loci.formats.ReaderWrapper
IOException
public loci.formats.ImageReader getImageReader()
public boolean isSPWReader()
public loci.formats.in.MetadataOptions getMetadataOptions()
getMetadataOptions
in interface loci.formats.IMetadataConfigurable
getMetadataOptions
in class loci.formats.ReaderWrapper
public void setMetadataOptions(loci.formats.in.MetadataOptions options)
setMetadataOptions
in interface loci.formats.IMetadataConfigurable
setMetadataOptions
in class loci.formats.ReaderWrapper
public Set<loci.formats.in.MetadataLevel> getSupportedMetadataLevels()
getSupportedMetadataLevels
in interface loci.formats.IMetadataConfigurable
getSupportedMetadataLevels
in class loci.formats.ReaderWrapper
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Version: 4.3.4-dbcbce5a-b4
Copyright © 2009 The University of Dundee. All Rights Reserved.