- All Known Implementing Classes:
LabColorSpace,LinearRgb65ColorSpace,LuvColorSpace,sRGB65ColorSpace,XYZ65ColorSpace
public interface DirectD65Conversion
A color space implementing this interface indicates that it can convert internal color values directly to and from
D65-based XYZ coordinates, without going through the standard (D50-based) Profile Conversion Space (PCS). This is
useful for converting between D65-based color spaces since it avoids additional conversions to and from D50-based
PCS. The interface specifies methods
toCIEXYZ65(float[]) and fromCIEXYZ65(float[]) for direct
conversion between the color space's native color values and D65 XYZ-coordinates, respectively.- Version:
- 2022/11/15
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ChromaticAdaptationstatic final ChromaticAdaptation -
Method Summary
Modifier and TypeMethodDescriptionfloat[]fromCIEXYZ(float[] value) float[]fromCIEXYZ65(float[] xyz65) Analogous tofromCIEXYZ(float[])but accepts D65-based instead of D50-based PCS color values.float[]toCIEXYZ(float[] value) float[]toCIEXYZ65(float[] value) Analogous totoCIEXYZ(float[])but returns D65-based instead of D50-based PCS color values.
-
Field Details
-
catD65toD50
-
catD50toD65
-
-
Method Details
-
toCIEXYZ
-
fromCIEXYZ
-
fromCIEXYZ65
Analogous tofromCIEXYZ(float[])but accepts D65-based instead of D50-based PCS color values. D65-based color spaces should override this method to avoid the additional D65 to D50 conversion.- Parameters:
xyz65- D65-based XYZ color values- Returns:
- color values in this color space
-
toCIEXYZ65
Analogous totoCIEXYZ(float[])but returns D65-based instead of D50-based PCS color values. D65-based color spaces should override this method to avoid the additional D50 to D65 conversion.- Parameters:
value- color value in this color space- Returns:
- D65-based XYZ color values
-