DGtal 1.3.0
Loading...
Searching...
No Matches
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

◆ operator()()

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

Definition at line 88 of file BasicColorToScalarFunctors.h.

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

References DGtal::Color::green().


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