Condividi tramite


ColorSpace.CctToXyz(Int32) Method

Definition

Computes the chromaticity coordinates of a specified correlated color temperature (CCT) on the Planckian locus.

[Android.Runtime.Register("cctToXyz", "(I)[F", "", ApiSince=31)]
public static float[] CctToXyz (int cct);
[<Android.Runtime.Register("cctToXyz", "(I)[F", "", ApiSince=31)>]
static member CctToXyz : int -> single[]

Parameters

cct
Int32

The correlated color temperature, in Kelvin

Returns

Single[]

Corresponding XYZ values

Attributes

Remarks

Computes the chromaticity coordinates of a specified correlated color temperature (CCT) on the Planckian locus. The specified CCT must be greater than 0. A meaningful CCT range is [1667, 25000].

The transform is computed using the methods in Kang et al., Design of Advanced Color - Temperature Control System for HDTV Applications, Journal of Korean Physical Society 41, 865-871 (2002).

Java documentation for android.graphics.ColorSpace.cctToXyz(int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to