Cinder  0.8.6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Namespaces | Macros | Functions
Grayscale.cpp File Reference
#include "cinder/ip/Grayscale.h"
#include "cinder/ChanTraits.h"
#include <boost/preprocessor/seq.hpp>
Include dependency graph for Grayscale.cpp:

Namespaces

 cinder
 
 cinder::ip
 

Macros

#define grayscale_PROTOTYPES(r, data, T)   template void grayscale( const SurfaceT<T> &srcSurface, SurfaceT<T> *dstSurface );
 

Functions

template<typename T >
void cinder::ip::grayscale (const SurfaceT< T > &srcSurface, SurfaceT< T > *dstSurface)
 Converts Surface srcSurface to grayscale and stores the result in Surface dstSurface. Uses primary weights dictated by the Rec. 709 Video Standard. More...
 
template<typename T >
void cinder::ip::grayscale (const SurfaceT< T > &srcSurface, ChannelT< T > *dstChannel)
 Converts Surface srcSurface to grayscale and stores the result in Channel dstChannel. Uses primary weights dictated by the Rec. 709 Video Standard. More...
 
template<>
void cinder::ip::grayscale (const Surface8u &srcSurface, Channel8u *dstChannel)
 
template void cinder::ip::grayscale (const SurfaceT< float > &srcSurface, ChannelT< float > *dstChannel)
 

Macro Definition Documentation

#define grayscale_PROTOTYPES (   r,
  data,
 
)    template void grayscale( const SurfaceT<T> &srcSurface, SurfaceT<T> *dstSurface );