MVE - Multi-View Environment mve-devel
Loading...
Searching...
No Matches
Namespaces | Functions
image_color.h File Reference
#include <algorithm>
#include "math/functions.h"
#include "mve/image.h"
#include "mve/defines.h"
Include dependency graph for image_color.h:

Go to the source code of this file.

Namespaces

namespace  mve
 Multi-View Environment library.
 
namespace  mve::image
 Image tools, loading and processing functions.
 

Functions

template<typename T , typename FUNCTOR >
void mve::image::color_convert (typename Image< T >::Ptr image, FUNCTOR &converter)
 Applies an in-place color conversion to the given image.
 
template<typename T >
void mve::image::color_rgb_to_ycbcr (T *values)
 Converts an image from RGB to YCbCr color space according to http://en.wikipedia.org/wiki/YCbCr.
 
template<>
void mve::image::color_rgb_to_ycbcr< uint8_t > (uint8_t *v)
 
template<typename T >
void mve::image::color_srgb_to_xyz (T *values)
 Converts linear sRGB values RGB into XYZ (CIE 1931) according to http://www.w3.org/Graphics/Color/sRGB.
 
template<>
void mve::image::color_srgb_to_xyz< uint8_t > (uint8_t *v)
 
template<typename T >
void mve::image::color_xyy_to_xyz (T *values)
 Converts xyY colors to XYZ (CIE 1931) coordinates according to http://www.brucelindbloom.com/index.html?Eqn_xyY_to_XYZ.html.
 
template<>
void mve::image::color_xyy_to_xyz< uint8_t > (uint8_t *v)
 
template<typename T >
void mve::image::color_xyz_to_srgb (T *values)
 Converts XYZ into linear sRGB values RGB according to http://www.w3.org/Graphics/Color/sRGB.
 
template<>
void mve::image::color_xyz_to_srgb< uint8_t > (uint8_t *v)
 
template<typename T >
void mve::image::color_xyz_to_xyy (T *values)
 Converts XYZ colors to xyY coordinates according to http://www.brucelindbloom.com/index.html?Eqn_XYZ_to_xyY.html.
 
template<>
void mve::image::color_xyz_to_xyy< uint8_t > (uint8_t *v)
 
template<typename T >
void mve::image::color_ycbcr_to_rgb (T *values)
 Converts an image from YCbCr to RGB color space according to http://en.wikipedia.org/wiki/YCbCr.
 
template<>
void mve::image::color_ycbcr_to_rgb< uint8_t > (uint8_t *v)