Interface DirectD65Conversion

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 Details

  • Method Details

    • toCIEXYZ

      float[] toCIEXYZ(float[] value)
    • fromCIEXYZ

      float[] fromCIEXYZ(float[] value)
    • fromCIEXYZ65

      float[] fromCIEXYZ65(float[] xyz65)
      Analogous to fromCIEXYZ(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

      float[] toCIEXYZ65(float[] value)
      Analogous to toCIEXYZ(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