Go to the source code of this file.
◆ SPECIALIZE_CLAMP_PIXEL
| #define SPECIALIZE_CLAMP_PIXEL |
( |
|
T | ) |
|
Value:template <> \
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)); \
}
This is the appropriate pixel type for 24-bit colour images.
Definition at line 10 of file vil_rgb.hxx.
◆ VIL_RGB_INSTANTIATE
| #define VIL_RGB_INSTANTIATE |
( |
|
T | ) |
|
Value:\
\
\
\
\
\
This is the appropriate pixel type for 24-bit colour images.
Definition at line 21 of file vil_rgb.hxx.
◆ VIL_RGB_INSTANTIATE_LS
| #define VIL_RGB_INSTANTIATE_LS |
( |
|
T | ) |
|
Value:template <> \
{ \
return s<< '[' << (int)rgb.r << ' ' << (int)rgb.g << ' ' << (int)rgb.b << ']'; \
}
std::ostream & operator<<(std::ostream &os, const vil_structuring_element &element)
Write details to stream.
This is the appropriate pixel type for 24-bit colour images.
Definition at line 33 of file vil_rgb.hxx.