![]() |
ICSV - Image Color Similarity Visualization
Vienna Technical University - Course 'Visualization 2'. Author: Stefan Spelitz (0925601)
|
Converts Bitmap data from sRGB -> XYZ -> CIE Lab color space, using D65 white point. More...
Static Public Member Functions | |
static double[][] | ConvertRgbToLab (Bitmap bitmap) |
Converts the given sRGB bitmap to a double array. Resulting in values in CIE Lab color space. More... | |
static double[] | ConvertRgbToXYZ (byte r, byte g, byte b) |
Converts the given RGB values in the range of [0,255] to XYZ coordinates. More... | |
static double[] | ConvertXyzToLab (double[] vector) |
Converts the XYZ coordinates of ConvertRgbToXYZ to CIE Lab color space coordinates. More... | |
Converts Bitmap data from sRGB -> XYZ -> CIE Lab color space, using D65 white point.
|
static |
Converts the given sRGB bitmap to a double array. Resulting in values in CIE Lab color space.
bitmap | The bitmap can be 8, 24 or 32 (with alpha) bit. |
|
static |
Converts the given RGB values in the range of [0,255] to XYZ coordinates.
r | red value |
g | green value |
b | blue value |
|
static |
Converts the XYZ coordinates of ConvertRgbToXYZ to CIE Lab color space coordinates.
vector | [0] = X, [1] = Y, [2] = Z |