DGtal 1.4.0
Loading...
Searching...
No Matches
DGtal::functors::BlueChannel 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 blue channel.

Definition at line 71 of file BasicColorToScalarFunctors.h.

Member Function Documentation

◆ operator()()

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

Definition at line 74 of file BasicColorToScalarFunctors.h.

75 {
76 return aCol.blue();
77 }

References DGtal::Color::blue().


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