Go to the source code of this file.
Define Documentation
#define SPECIALIZE_CLAMP_PIXEL |
( |
|
T | ) |
|
Value:VCL_DEFINE_SPECIALIZATION \
vil_rgb<T> vil_clamp_pixel(vil_rgb<T> const& d, double min, double max) \
{ \
return vil_rgb<T>(vil_clamp_pixel(d.r, min , max), \
vil_clamp_pixel(d.g, min , max), \
vil_clamp_pixel(d.b, min , max)); \
}
Definition at line 10 of file vil_rgb.txx.
#define VIL_RGB_INSTANTIATE |
( |
|
T | ) |
|
#define VIL_RGB_INSTANTIATE_LS |
( |
|
T | ) |
|
Value:VCL_DEFINE_SPECIALIZATION \
vcl_ostream& operator<<(vcl_ostream& s, vil_rgb<T > const& rgb) \
{ \
return s<< '[' << (int)rgb.r << ' ' << (int)rgb.g << ' ' << (int)rgb.b << ']'; \
}
Definition at line 33 of file vil_rgb.txx.