Cinder  0.8.6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Namespaces | Functions
Grayscale.h File Reference
#include "cinder/Cinder.h"
#include "cinder/Surface.h"
Include dependency graph for Grayscale.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 cinder
 
 cinder::ip
 

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...