VisionCpp
0.0.1
|
This functor performs RGB to GREY convertion following rule: GREY <- 0.299f * R + 0,587f * G + 0.114 * B. More...
#include <OP_RGBToGREY.hpp>
Public Member Functions | |
float | operator() (visioncpp::pixel::F32C3 in) |
This functor performs RGB to GREY convertion following rule: GREY <- 0.299f * R + 0,587f * G + 0.114 * B.
Definition at line 26 of file OP_RGBToGREY.hpp.
|
inline |
in | - RGB pixel. |
Definition at line 29 of file OP_RGBToGREY.hpp.