Public Member Functions | Private Attributes
vil_convert_rgb_to_grey_pixel< inP, outP > Class Template Reference

Convert various rgb types to greyscale, using given weights. More...

#include <vil_convert.h>

List of all members.

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_

Detailed Description

template<class inP, class outP>
class vil_convert_rgb_to_grey_pixel< inP, outP >

Convert various rgb types to greyscale, using given weights.

Definition at line 452 of file vil_convert.h.


Constructor & Destructor Documentation

template<class inP, class outP>
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.


Member Function Documentation

template<class inP, class outP>
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.

template<class inP, class outP>
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.


Member Data Documentation

template<class inP, class outP>
double vil_convert_rgb_to_grey_pixel< inP, outP >::bw_ [private]

Definition at line 454 of file vil_convert.h.

template<class inP, class outP>
double vil_convert_rgb_to_grey_pixel< inP, outP >::gw_ [private]

Definition at line 454 of file vil_convert.h.

template<class inP, class outP>
double vil_convert_rgb_to_grey_pixel< inP, outP >::rw_ [private]

Definition at line 454 of file vil_convert.h.


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