DGtal  0.9.4beta
Public Member Functions
DGtal::functors::GreenChannel 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 Green channel.

Definition at line 85 of file BasicColorToScalarFunctors.h.

Member Function Documentation

unsigned char DGtal::functors::GreenChannel::operator() ( const Color aCol) const

Definition at line 88 of file BasicColorToScalarFunctors.h.

References DGtal::Color::green().

89  {
90  return aCol.green();
91  }

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