cmykToXyz

public final DoubleArray cmykToXyz(Context context, @Size(value = 4) DoubleArray cmykIn, @Size(value = 3) DoubleArray refOut, Boolean bpc)

Calculates XYZ value from CMYK input using built-in lookup tables

Return

XYZ value output, unity scale (element order X, Y, Z)

Parameters

context

Context

cmykIn

CMYK colour input, unity scale (element order C, M, Y, K)

refOut

Reference white value for XYZ output, unity scale (element order X, Y, Z)

bpc

set to true to perform black point compensation


public final DoubleArray cmykToXyz(@Size(value = 4) DoubleArray cmykIn, @Size(value = 3) DoubleArray refOut, Boolean bpc, Array<DoubleArray> m, Array<IntArray> input, Array<IntArray> clut, Array<IntArray> output)

Calculates XYZ value from CMYK input using lookup tables provided as input arguments

Return

XYZ value output, unity scale (element order X, Y, Z)

Parameters

cmykIn

CMYK colour input, unity scale (element order C, M, Y, K)

refOut

Reference white value for XYZ output, unity scale (element order X, Y, Z)

bpc

Set to true to perform black point compensation

m

3x3 Extracted from ICC profile: transformation matrix to perform on LAB value (NOT used in current function)

input

256x4 Extracted from ICC profile: InputCurves

clut

6561x3 Extracted from ICC profile: CMYK to LAB LUT (flattened 9x9x9x9 array with 3 channels, one each for L, A, B)

output

Extracted from ICC profile: OutputCurves (NOT used in current function, default profile has 1:1 output)