Functions
GLM_GTX_color_space_YCoCg

RGB to YCoCg conversions and operations. More...

Collaboration diagram for GLM_GTX_color_space_YCoCg:

Functions

template<typename T , precision P>
GLM_FUNC_DECL detail::tvec3< T, Pglm::rgb2YCoCg (detail::tvec3< T, P > const &rgbColor)
 
template<typename T , precision P>
GLM_FUNC_DECL detail::tvec3< T, Pglm::rgb2YCoCgR (detail::tvec3< T, P > const &rgbColor)
 
template<typename T , precision P>
GLM_FUNC_DECL detail::tvec3< T, Pglm::YCoCg2rgb (detail::tvec3< T, P > const &YCoCgColor)
 
template<typename T , precision P>
GLM_FUNC_DECL detail::tvec3< T, Pglm::YCoCgR2rgb (detail::tvec3< T, P > const &YCoCgColor)
 

Detailed Description

RGB to YCoCg conversions and operations.

<glm/gtx/color_space_YCoCg.hpp> need to be included to use these functionalities.

Function Documentation

◆ rgb2YCoCg()

template<typename T , precision P>
GLM_FUNC_DECL detail::tvec3<T, P> glm::rgb2YCoCg ( detail::tvec3< T, P > const &  rgbColor)

Convert a color from RGB color space to YCoCg color space.

See also
GLM_GTX_color_space_YCoCg

◆ rgb2YCoCgR()

template<typename T , precision P>
GLM_FUNC_DECL detail::tvec3<T, P> glm::rgb2YCoCgR ( detail::tvec3< T, P > const &  rgbColor)

Convert a color from RGB color space to YCoCgR color space.

See also
"YCoCg-R: A Color Space with RGB Reversibility and Low Dynamic Range"
GLM_GTX_color_space_YCoCg

◆ YCoCg2rgb()

template<typename T , precision P>
GLM_FUNC_DECL detail::tvec3<T, P> glm::YCoCg2rgb ( detail::tvec3< T, P > const &  YCoCgColor)

Convert a color from YCoCg color space to RGB color space.

See also
GLM_GTX_color_space_YCoCg

◆ YCoCgR2rgb()

template<typename T , precision P>
GLM_FUNC_DECL detail::tvec3<T, P> glm::YCoCgR2rgb ( detail::tvec3< T, P > const &  YCoCgColor)

Convert a color from YCoCgR color space to RGB color space.

See also
"YCoCg-R: A Color Space with RGB Reversibility and Low Dynamic Range"
GLM_GTX_color_space_YCoCg


rtabmap
Author(s): Mathieu Labbe
autogenerated on Thu Jul 25 2024 02:50:26