DGtal  0.9.4beta
Public Member Functions
DGtal::functors::RedChannel Struct Reference

#include <DGtal/io/colormaps/BasicColorToScalarFunctors.h>

Public Member Functions

unsigned char operator() (const Color &aCol) const
 

Detailed Description

Basic color to scalar functor which returns the red channel.

Definition at line 57 of file BasicColorToScalarFunctors.h.

Member Function Documentation

unsigned char DGtal::functors::RedChannel::operator() ( const Color aCol) const
inline

Definition at line 60 of file BasicColorToScalarFunctors.h.

References DGtal::Color::red().

61  {
62  return aCol.red();
63  }

The documentation for this struct was generated from the following file: