|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectloci.formats.FormatHandler
loci.formats.FormatReader
loci.formats.OMEXMLReader
OMEXMLReader is the file format reader for OME-XML files.
| Field Summary | |
protected int |
bpp
Number of bits per pixel. |
protected String |
compression
String indicating the compression type. |
protected RandomAccessFile |
in
Current file. |
protected boolean |
littleEndian
Flag indicating whether current file is little endian. |
protected int |
numImages
Number of image planes in the file. |
protected Vector |
offsets
Offset to each plane's data. |
| Fields inherited from class loci.formats.FormatReader |
DEBUG, DEBUG_LEVEL, metadata, ome |
| Fields inherited from class loci.formats.FormatHandler |
chooser, currentId, filters, format, suffixes |
| Constructor Summary | |
OMEXMLReader()
Constructs a new OME-XML reader. |
|
| Method Summary | |
void |
close()
Closes any open files. |
int |
getImageCount(String id)
Determines the number of images in the given OME-XML file. |
protected void |
initFile(String id)
Initializes the given OME-XML file. |
boolean |
isThisType(byte[] block)
Checks if the given block is a valid header for an OME-XML file. |
static void |
main(String[] args)
|
BufferedImage |
open(String id,
int no)
Obtains the specified image from the given OME-XML file. |
| Methods inherited from class loci.formats.FormatReader |
createFilters, getMetadata, getMetadataValue, getOMENode, open, testRead |
| Methods inherited from class loci.formats.FormatHandler |
getFileChooser, getFileFilters, getFormat, getSuffixes, isThisType |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected RandomAccessFile in
protected boolean littleEndian
protected int numImages
protected int bpp
protected Vector offsets
protected String compression
| Constructor Detail |
public OMEXMLReader()
| Method Detail |
public boolean isThisType(byte[] block)
isThisType in class FormatReader
public int getImageCount(String id)
throws FormatException,
IOException
getImageCount in class FormatReaderFormatException
IOException
public BufferedImage open(String id,
int no)
throws FormatException,
IOException
open in class FormatReaderFormatException
IOException
public void close()
throws FormatException,
IOException
close in class FormatReaderFormatException
IOException
protected void initFile(String id)
throws FormatException,
IOException
initFile in class FormatReaderFormatException
IOException
public static void main(String[] args)
throws FormatException,
IOException
FormatException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||