This class converts images from the srgb or xyz space into the L*a*b* space or back.
More...
List of all members.
Detailed Description
This class converts images from the srgb or xyz space into the L*a*b* space or back.
Constructor & Destructor Documentation
VisWpf.Utils.ColorConversion.LabColorConverter.LabColorConverter |
( |
| ) |
|
Initialize a new Instance of the Color Converter.
Member Function Documentation
double [] VisWpf.Utils.ColorConversion.LabColorConverter.ConvertPointFromLabToSRGB |
( |
double[] |
labVector | ) |
|
Converts a Vector from L*a*b* to SRGB space.
- Parameters:
-
labVector | The Vector in L*a*b* space. |
- Returns:
- The Vector in SRGB space.
double [] VisWpf.Utils.ColorConversion.LabColorConverter.ConvertPointFromLabToXYZ |
( |
double[] |
labVector | ) |
|
Converts a Vector from L*a*b* to XYZ space.
- Parameters:
-
labVector | The Vector in L*a*b* coordinates |
- Returns:
- The Vector in XYZ coordinates
double [] VisWpf.Utils.ColorConversion.LabColorConverter.ConvertPointFromSRGBToXYZ |
( |
byte |
r, |
|
|
byte |
g, |
|
|
byte |
b |
|
) |
| |
Converts a Vector from sRGB-space to CIE-XYZ Color-space.
- Parameters:
-
r | The value for red in a 0 to 255 range |
g | The value for green in a 0 to 255 range |
b | The value for blue in a 0 to 255 range |
- Returns:
- The Color Vector representing the SRGB input color in CIE-XYZ space
double [] VisWpf.Utils.ColorConversion.LabColorConverter.ConvertPointFromXYZToLab |
( |
double[] |
vector | ) |
|
Converts a Vector from CIE-XYZ Space to L*a*b* Color-space.
- Parameters:
-
vector | The Vector in CIE-XYZ Coordinates |
- Returns:
- The Color Vector representing the CIE-XYZ input color in L*a*b* space
double [] VisWpf.Utils.ColorConversion.LabColorConverter.ConvertPointFromXYZToSRGB |
( |
double[] |
xyzVector | ) |
|
Converts a Vector from XYZ to SRGB space.
- Parameters:
-
xyzVector | The Vector in XYZ space. |
- Returns:
- The Vector in SRGB space.
double [][] VisWpf.Utils.ColorConversion.LabColorConverter.ConvertSRGBArrayToLab |
( |
byte[] |
imageBytes | ) |
|
Converts an Image from SRGB Space to L*a*b* space.
- Parameters:
-
imageBytes | The image as byte array |
- Returns:
- The Array of 3D coordinates for each pixel.
The documentation for this class was generated from the following file:
- D:/mydata/Dokumente/Visual Studio 2010/Projects/VisWpf/VisWpf/Utils/ColorConversion/LabColorConverter.cs