|
||||||||||
| 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.ICSReader
ICSReader is the file format reader for ICS (Image Cytometry Standard) files. More information on ICS can be found at http://libics.sourceforge.net
| Field Summary | |
protected String |
currentIcsId
Current filename. |
protected String |
currentIdsId
|
protected int[] |
dimensions
Dimensions in the following order: 1) bits per pixel 2) width 3) height 4) z 5) channels 6) timepoints |
protected File |
icsIn
|
protected RandomAccessFile |
idsIn
Current file. |
protected boolean |
littleEndian
Flag indicating whether current file is little endian. |
protected int |
numImages
Number of images. |
| 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 | |
ICSReader()
Constructs a new ICSReader. |
|
| Method Summary | |
void |
close()
Closes any open files. |
int |
getImageCount(String id)
Determines the number of images in the given ICS file. |
protected void |
initFile(String id)
Initializes the given IPLab file. |
boolean |
isThisType(byte[] block)
Checks if the given block is a valid header for an ICS file. |
static void |
main(String[] args)
|
BufferedImage |
open(String id,
int no)
Obtains the specified image from the given ICS file. |
byte[] |
openBytes(String id,
int no)
Obtains the bytes for the specified image from the given ICS 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 String currentIcsId
protected String currentIdsId
protected RandomAccessFile idsIn
protected File icsIn
protected boolean littleEndian
protected int numImages
protected int[] dimensions
| Constructor Detail |
public ICSReader()
| 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 byte[] openBytes(String id,
int no)
throws FormatException,
IOException
FormatException
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 | |||||||||