#include "vepl_monadic.h"
#include <vepl/accessors/vipl_accessors_vil_image_view_base.h>
#include <vipl/vipl_monadic.h>
#include <vil/vil_image_view.h>
#include <vil/vil_new.h>
#include <vcl_cmath.h>
#include <vcl_iostream.h>
#include <vxl_config.h>
Go to the source code of this file.
Functions | |
vxl_sbyte | abs_byte (vxl_sbyte const &a) |
vxl_int_16 | abs_short (vxl_int_16 const &a) |
vxl_int_32 | abs_int (vxl_int_32 const &a) |
float | abs_float (float const &a) |
double | abs_double (double const &a) |
float | sqrt_float (float const &a) |
double | sqrt_double (double const &a) |
vxl_byte | sqr_ubyte (vxl_byte const &a) |
float | sqr_float (float const &a) |
vxl_uint_16 | sqr_short (vxl_uint_16 const &a) |
vxl_uint_32 | sqr_int (vxl_uint_32 const &a) |
double | sqr_double (double const &a) |
vxl_byte | shear_ubyte (vxl_byte const &a) |
vxl_uint_16 | shear_short (vxl_uint_16 const &a) |
vxl_uint_32 | shear_int (vxl_uint_32 const &a) |
float | shear_float (float const &a) |
double | shear_double (double const &a) |
vil_image_resource_sptr | vepl_monadic_abs (vil_image_resource_sptr image) |
replace pixels by their absolute value. | |
vil_image_resource_sptr | vepl_monadic_sqrt (vil_image_resource_sptr image) |
replace pixels by their square root. | |
vil_image_resource_sptr | vepl_monadic_sqr (vil_image_resource_sptr image) |
replace pixels by their square. | |
vil_image_resource_sptr | vepl_monadic_shear (vil_image_resource_sptr image, double shift, double scale) |
replace pixels by a linear distortion. | |
Variables | |
static double | scale_ = 1.0 |
vxl_sbyte abs_byte | ( | vxl_sbyte const & | a | ) |
Definition at line 11 of file vepl_monadic.cxx.
double abs_double | ( | double const & | a | ) |
Definition at line 15 of file vepl_monadic.cxx.
float abs_float | ( | float const & | a | ) |
Definition at line 14 of file vepl_monadic.cxx.
vxl_int_32 abs_int | ( | vxl_int_32 const & | a | ) |
Definition at line 13 of file vepl_monadic.cxx.
vxl_int_16 abs_short | ( | vxl_int_16 const & | a | ) |
Definition at line 12 of file vepl_monadic.cxx.
double shear_double | ( | double const & | a | ) |
Definition at line 28 of file vepl_monadic.cxx.
float shear_float | ( | float const & | a | ) |
Definition at line 27 of file vepl_monadic.cxx.
vxl_uint_32 shear_int | ( | vxl_uint_32 const & | a | ) |
Definition at line 26 of file vepl_monadic.cxx.
vxl_uint_16 shear_short | ( | vxl_uint_16 const & | a | ) |
Definition at line 25 of file vepl_monadic.cxx.
vxl_byte shear_ubyte | ( | vxl_byte const & | a | ) |
Definition at line 24 of file vepl_monadic.cxx.
double sqr_double | ( | double const & | a | ) |
Definition at line 22 of file vepl_monadic.cxx.
float sqr_float | ( | float const & | a | ) |
Definition at line 19 of file vepl_monadic.cxx.
vxl_uint_32 sqr_int | ( | vxl_uint_32 const & | a | ) |
Definition at line 21 of file vepl_monadic.cxx.
vxl_uint_16 sqr_short | ( | vxl_uint_16 const & | a | ) |
Definition at line 20 of file vepl_monadic.cxx.
vxl_byte sqr_ubyte | ( | vxl_byte const & | a | ) |
Definition at line 18 of file vepl_monadic.cxx.
double sqrt_double | ( | double const & | a | ) |
Definition at line 17 of file vepl_monadic.cxx.
float sqrt_float | ( | float const & | a | ) |
Definition at line 16 of file vepl_monadic.cxx.
vil_image_resource_sptr vepl_monadic_abs | ( | vil_image_resource_sptr | image | ) |
replace pixels by their absolute value.
Definition at line 31 of file vepl_monadic.cxx.
vil_image_resource_sptr vepl_monadic_shear | ( | vil_image_resource_sptr | image, |
double | shift, | ||
double | scale | ||
) |
replace pixels by a linear distortion.
Definition at line 226 of file vepl_monadic.cxx.
vil_image_resource_sptr vepl_monadic_sqr | ( | vil_image_resource_sptr | image | ) |
replace pixels by their square.
Definition at line 160 of file vepl_monadic.cxx.
vil_image_resource_sptr vepl_monadic_sqrt | ( | vil_image_resource_sptr | image | ) |
replace pixels by their square root.
Definition at line 127 of file vepl_monadic.cxx.
double scale_ = 1.0 |
Definition at line 23 of file vepl_monadic.cxx.