Color conversion of hyperspectral cubes. More...
Classes | |
class | Interpolator |
Spectral interpolator class containing the interpolated values of the relative spectral power distribution from color matching functions and standard illuminant. More... | |
Public Types | |
enum | StdObserver { Undefined = 0 , Cie2006_2deg = 1 , Cie2006_10deg = 2 , Cie1964_10deg = 3 , Cie1931_2deg = 4 } |
Standard observer. More... | |
enum | StdIlluminant { Undefined = 0 , E = 1 , A = 2 , D50 = 3 , D65 = 4 } |
Standard illumination. More... | |
enum | InterpolationMethod { Linear } |
Interpolation method. More... | |
Static Public Member Functions | |
static Image | ToXYZ (this Cube cube, Interpolator interpolator) |
Converts a normalized cube to a XYZ image. More... | |
static Image | ToLab (this Cube cube, Interpolator interpolator) |
Converts a normalized cube to a Lab image. More... | |
static Image | XyzToLab (Image imgXYZ, Interpolator interpolator) |
Converts an XYZ image to Lab. More... | |
static Image | LabToRgb8 (Image imgLab, Interpolator interpolator) |
Converts a Lab image to a sRGB 8bit image. More... | |
Color conversion of hyperspectral cubes.
enum InterpolationMethod |
enum StdIlluminant |
enum StdObserver |
|
static |
Converts a Lab image to a sRGB 8bit image.
imgLab | 3-planed float/double image containing Lab values. |
interpolator | Spectral interpolator to be used during conversion. |
|
static |
Converts a normalized cube to a Lab image.
cube | Normalized cube. Number of bands in the cube must match with the number of bands in the interpolator. |
interpolator | Spectral interpolator to be used during conversion. |
|
static |
Converts a normalized cube to a XYZ image.
cube | Normalized cube. Number of bands in the cube must match with the number of bands in the interpolator. |
interpolator | Spectral interpolator to be used during conversion. |
|
static |
Converts an XYZ image to Lab.
imgXYZ | 3-planed float/double image containing XYZ values. |
interpolator | Spectral interpolator to be used during conversion. |