Defines | Functions
core/vil/vil_clamp.cxx File Reference
#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.

Detailed Description

Author:
Ian Scott.
    Modifications
     23 Oct.2003 - Peter Vanroose - Added support for 64-bit int pixels
   

Definition in file vil_clamp.cxx.


Define Documentation

#define macro (   F,
 
)
Value:
case F : \
    vil_clamp(static_cast<vil_image_view<T >&>(*vs), static_cast<vil_image_view<T >&>(*vs), \
              T (lo_), T (hi_)); \
    break;

Function Documentation

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.