Go to the source code of this file.
Classes | |
| class | vil_clamp_image_resource |
| A generic_image adaptor that behaves like a clamped version of its input. More... | |
Functions | |
| template<class T > | |
| void | vil_clamp (const vil_image_view< T > &src, vil_image_view< T > &dest, T lo, T hi) |
| Clamp an image view between two values. More... | |
| vil_image_resource_sptr | vil_clamp (const vil_image_resource_sptr &src, double low, double hi) |
| Clamp an image resource between two values. More... | |
| template<class T > | |
| void | vil_clamp_below (vil_image_view< T > &src, T t, T v) |
| Clamp an image view above a given value t, setting it to v if below or on t. More... | |
| template<class T > | |
| void | vil_clamp_above (vil_image_view< T > &src, T t, T v) |
| Clamp an image view below a given value t, setting it to v if above or on t. More... | |
| template<class T > | |
| void | vil_clamp_below (vil_image_view< T > &src, T t) |
| Clamp an image view above a given value t, setting it to this t if below t. More... | |
| template<class T > | |
| void | vil_clamp_above (vil_image_view< T > &src, T t) |
| Clamp an image view below a given value t, setting it to this t if above t. More... | |
Modifications 06 May 2004 Jocelyn Marchadier - added vil_clamp_below
Definition in file vil_clamp.h.
|
inline |
Clamp an image view between two values.
Definition at line 23 of file vil_clamp.h.
| vil_image_resource_sptr vil_clamp | ( | const vil_image_resource_sptr & | src, |
| double | low, | ||
| double | hi | ||
| ) |
Clamp an image resource between two values.
Definition at line 22 of file vil_clamp.cxx.
|
inline |
Clamp an image view below a given value t, setting it to v if above or on t.
Definition at line 105 of file vil_clamp.h.
|
inline |
Clamp an image view below a given value t, setting it to this t if above t.
Definition at line 133 of file vil_clamp.h.
|
inline |
Clamp an image view above a given value t, setting it to v if below or on t.
Definition at line 85 of file vil_clamp.h.
|
inline |
Clamp an image view above a given value t, setting it to this t if below t.
Definition at line 125 of file vil_clamp.h.
1.8.15