Package omeis.providers.re.lut
Class LutReader
- java.lang.Object
-
- omeis.providers.re.lut.LutReader
-
public abstract class LutReader extends java.lang.ObjectClass to be extended by LUT reader.- Since:
- 5.3
-
-
Field Summary
Fields Modifier and Type Field Description protected byte[]bluesHolds the blues values.protected java.io.FilefileThe file to read.protected byte[]greensHolds the green values.protected booleanrawFlag indicating to read 32 byte NIH Image LUT header.protected byte[]redsHolds the red values.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description bytegetBlue(int value)Returns the blue value.bytegetGreen(int value)Returns the green value.bytegetRed(int value)Returns the red value.
-
-
-
Field Detail
-
reds
protected byte[] reds
Holds the red values.
-
greens
protected byte[] greens
Holds the green values.
-
blues
protected byte[] blues
Holds the blues values.
-
file
protected java.io.File file
The file to read.
-
raw
protected boolean raw
Flag indicating to read 32 byte NIH Image LUT header.
-
-
Method Detail
-
getRed
public byte getRed(int value)
Returns the red value.- Parameters:
value- The value to handle.- Returns:
- See above
-
getGreen
public byte getGreen(int value)
Returns the green value.- Parameters:
value- The value to handle.- Returns:
- See above
-
getBlue
public byte getBlue(int value)
Returns the blue value.- Parameters:
value- The value to handle.- Returns:
- See above
-
-