Zephyr Scientific Library (zscilib)
Data Fields
zsl_clr_cct Struct Reference

Data representing a single CIE 1960 CCT, Duv value pair. More...

#include <colorimetry.h>

Data Fields

zsl_real_t cct
 Correlated color temperature. More...
 
zsl_real_t duv
 Distance of the measured chromaticity from the Planckian locus (AKA black body curve). More...
 
uint8_t cct_invalid: 1
 
uint8_t duv_invalid: 1
 

Detailed Description

Data representing a single CIE 1960 CCT, Duv value pair.

Definition at line 406 of file colorimetry.h.

Field Documentation

◆ cct

zsl_real_t zsl_clr_cct::cct

Correlated color temperature.

Indicates the color temperature that yields the minimum Euclidean distance between u1,v1 and the Planckian chromaticity 'up, vp' of the color temperature.

Definition at line 413 of file colorimetry.h.

◆ cct_invalid

uint8_t zsl_clr_cct::cct_invalid

If non-zero, indicates that cct is invalid.

Definition at line 423 of file colorimetry.h.

◆ duv

zsl_real_t zsl_clr_cct::duv

Distance of the measured chromaticity from the Planckian locus (AKA black body curve).

A negative Duv indicates that the measured chromaticity is below the Planckian locus (in the magenta and pink color range). A positive Duv indicates a point above the locus (in the green or yellow color range).

Definition at line 421 of file colorimetry.h.

◆ duv_invalid

uint8_t zsl_clr_cct::duv_invalid

If non-zero, indicates that duv is invalid.

Definition at line 425 of file colorimetry.h.


The documentation for this struct was generated from the following file: