#include "vil_clamp.h"
#include <vcl_cstring.h>
#include <vcl_cassert.h>
#include <vil/vil_property.h>
#include <vil/vil_exception.h>
Go to the source code of this file.
Defines | |
#define | macro(F, T) |
Functions | |
vil_image_resource_sptr | vil_clamp (const vil_image_resource_sptr &src, double lo, double hi) |
Clamp an image resource between two values. |
Modifications 23 Oct.2003 - Peter Vanroose - Added support for 64-bit int pixels
Definition in file vil_clamp.cxx.
#define macro | ( | F, | |
T | |||
) |
case F : \ vil_clamp(static_cast<vil_image_view<T >&>(*vs), static_cast<vil_image_view<T >&>(*vs), \ T (lo_), T (hi_)); \ break;
vil_image_resource_sptr vil_clamp | ( | const vil_image_resource_sptr & | src, |
double | lo, | ||
double | hi | ||
) |
Clamp an image resource between two values.
Definition at line 22 of file vil_clamp.cxx.