public abstract class TIFFColorConverter extends Object
| Constructor and Description |
|---|
TIFFColorConverter()
Constructs an instance of a
TIFFColorConverter. |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
fromRGB(float r,
float g,
float b,
float[] result)
Converts an RGB triple into the native color space of this
TIFFColorConverter, and stores the result in the first three
entries of the
result array. |
abstract void |
toRGB(float x0,
float x1,
float x2,
float[] rgb)
Converts a triple in the native color space of this
TIFFColorConverter into an RGB triple, and stores the result in
the first three entries of the
rgb array. |
public TIFFColorConverter()
TIFFColorConverter.public abstract void fromRGB(float r,
float g,
float b,
float[] result)
result array.r - the red value.g - the green value.b - the blue value.result - an array of floats containing three elements.NullPointerException - if result is
null.ArrayIndexOutOfBoundsException - if
result.length < 3.public abstract void toRGB(float x0,
float x1,
float x2,
float[] rgb)
rgb array.x0 - the value of channel 0.x1 - the value of channel 1.x2 - the value of channel 2.rgb - an array of floats containing three elements.NullPointerException - if rgb is
null.ArrayIndexOutOfBoundsException - if
rgb.length < 3.Copyright © 2015–2022 SCIFIO. All rights reserved.