Go to the source code of this file.
◆ SKINS
◆ ethnicities_t
◆ ethnicity_t
◆ gaussian_stats_t
◆ range_t
◆ skin_color_t
◆ ethnicities_t
Enumerator |
---|
ETHNIE_CHINESE | |
ETHNIE_THAI | |
ETHNIE_KURDISH | |
ETHNIE_CAUCASIAN | |
ETHNIE_AFRICAN_AM | |
ETHNIE_MEXICAN | |
ETHNIE_END | |
◆ get_skin_tones_range()
void get_skin_tones_range |
( |
| ) |
|
References _compute_range(), skin_color_t::a, skin_color_t::b, range_t::bottom, dt_Lab_to_XYZ(), dt_xyY_to_Lch(), dt_XYZ_to_xyY(), get_skin_color(), skin_color_t::L, Lab(), M_PI_F, SKINS, and range_t::top.
◆ Lch_to_color_name()
const char * Lch_to_color_name |
( |
dt_aligned_pixel_t |
color | ) |
|
References _compute_range(), _get_ethnicity_name(), skin_color_t::a, skin_color_t::b, range_t::bottom, dt_LCH_2_Lab(), dt_util_dstrcat(), skin_color_t::ethnicity, ETHNIE_END, FALSE, get_skin_color(), skin_color_t::L, Lab(), SKINS, range_t::top, and TRUE.
Referenced by _sample_tooltip_callback().