This is the appropriate pixel type for 24-bit colour images. More...
#include <vil_rgb.h>
Public Types | |
typedef T | value_type |
Public Member Functions | |
vil_rgb () | |
vil_rgb (T v) | |
Create grey (v,v,v) vil_rgb cell from value v. | |
vil_rgb (T red, T green, T blue) | |
Construct a vil_rgb value. | |
T | R () const |
T | G () const |
T | B () const |
T | grey () const |
Convert vil_rgb to gray using standard (.299, .587, .114) weighting. | |
bool | operator== (vil_rgb< T > const &o) const |
equality. | |
vil_rgb< T > | operator+ (vil_rgb< T > const &A) const |
vil_rgb< T > | operator- (vil_rgb< T > const &A) const |
vil_rgb< T > | operator/ (vil_rgb< T > const &A) const |
vil_rgb< T > & | operator+= (vil_rgb< T > const &A) |
vil_rgb< T > & | operator-= (vil_rgb< T > const &A) |
vil_rgb< T > | operator* (T A) const |
vil_rgb< T > | operator/ (T A) const |
vil_rgb< T > & | operator*= (T A) |
vil_rgb< T > & | operator/= (T A) |
Public Attributes | |
T | r |
T | g |
T | b |
This is the appropriate pixel type for 24-bit colour images.
Currently also includes the following `utilities':
typedef T vil_rgb< T >::value_type |
T vil_rgb< T >::grey | ( | ) | const [inline] |