Convert various rgb types to greyscale, using given weights. More...
#include <vil_convert.h>
Public Member Functions | |
vil_convert_rgb_to_grey_pixel (double rw, double gw, double bw) | |
void | operator() (vil_rgb< inP > v, outP &d) const |
void | operator() (vil_rgba< inP > v, outP &d) const |
Private Attributes | |
double | rw_ |
double | gw_ |
double | bw_ |
Convert various rgb types to greyscale, using given weights.
Definition at line 452 of file vil_convert.h.
vil_convert_rgb_to_grey_pixel< inP, outP >::vil_convert_rgb_to_grey_pixel | ( | double | rw, |
double | gw, | ||
double | bw | ||
) | [inline] |
Definition at line 456 of file vil_convert.h.
void vil_convert_rgb_to_grey_pixel< inP, outP >::operator() | ( | vil_rgb< inP > | v, |
outP & | d | ||
) | const [inline] |
Definition at line 459 of file vil_convert.h.
void vil_convert_rgb_to_grey_pixel< inP, outP >::operator() | ( | vil_rgba< inP > | v, |
outP & | d | ||
) | const [inline] |
Definition at line 461 of file vil_convert.h.
double vil_convert_rgb_to_grey_pixel< inP, outP >::bw_ [private] |
Definition at line 454 of file vil_convert.h.
double vil_convert_rgb_to_grey_pixel< inP, outP >::gw_ [private] |
Definition at line 454 of file vil_convert.h.
double vil_convert_rgb_to_grey_pixel< inP, outP >::rw_ [private] |
Definition at line 454 of file vil_convert.h.