|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectloci.formats.ReaderWrapper
loci.formats.ChannelFiller
public class ChannelFiller
Expands indexed color images to RGB.
Field Summary |
---|
Fields inherited from class loci.formats.ReaderWrapper |
---|
reader |
Fields inherited from interface loci.formats.IFormatReader |
---|
CAN_GROUP, CANNOT_GROUP, MUST_GROUP |
Constructor Summary | |
---|---|
ChannelFiller()
Constructs a ChannelFiller around a new image reader. |
|
ChannelFiller(IFormatReader r)
Constructs a ChannelFiller with a given reader. |
Method Summary | |
---|---|
short[][] |
get16BitLookupTable()
Gets the 16-bit color lookup table associated with the most recently opened image. |
byte[][] |
get8BitLookupTable()
Gets the 8-bit color lookup table associated with the most recently opened image. |
boolean |
isFalseColor()
Returns false if isIndexed is false, or if isIndexed is true and the lookup table represents "real" color data. |
boolean |
isIndexed()
Gets whether the images are indexed color. |
byte[] |
openBytes(int no)
Obtains the specified image from the current file as a byte array. |
BufferedImage |
openImage(int no)
Obtains the specified image from the current file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ChannelFiller()
public ChannelFiller(IFormatReader r)
Method Detail |
---|
public boolean isIndexed()
IFormatReader
isIndexed
in interface IFormatReader
isIndexed
in class ReaderWrapper
public boolean isFalseColor()
IFormatReader
isFalseColor
in interface IFormatReader
isFalseColor
in class ReaderWrapper
public byte[][] get8BitLookupTable()
IFormatReader
INT8
or UINT8
, this method will return null.
get8BitLookupTable
in interface IFormatReader
get8BitLookupTable
in class ReaderWrapper
public short[][] get16BitLookupTable()
IFormatReader
INT16
or UINT16
, this method will return null.
get16BitLookupTable
in interface IFormatReader
get16BitLookupTable
in class ReaderWrapper
public byte[] openBytes(int no) throws FormatException, IOException
IFormatReader
openBytes
in interface IFormatReader
openBytes
in class ReaderWrapper
FormatException
IOException
public BufferedImage openImage(int no) throws FormatException, IOException
IFormatReader
openImage
in interface IFormatReader
openImage
in class ReaderWrapper
FormatException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |