Package omeis.providers.re.lut
Class LutReader
- java.lang.Object
-
- omeis.providers.re.lut.LutReader
-
public abstract class LutReader extends java.lang.Object
Class to be extended by LUT reader.- Since:
- 5.3
-
-
Field Summary
Fields Modifier and Type Field Description protected byte[]
blues
Holds the blues values.protected java.io.File
file
The file to read.protected byte[]
greens
Holds the green values.protected boolean
raw
Flag indicating to read 32 byte NIH Image LUT header.protected byte[]
reds
Holds the red values.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte
getBlue(int value)
Returns the blue value.byte
getGreen(int value)
Returns the green value.byte
getRed(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
-
-