Defines | Functions
contrib/tbl/vepl/vepl_dyadic.cxx File Reference
#include "vepl_dyadic.h"
#include <vepl/accessors/vipl_accessors_vil_image_view_base.h>
#include <vipl/vipl_dyadic.h>
#include <vil/vil_image_view.h>
#include <vil/vil_pixel_format.h>
#include <vil/vil_rgb.h>
#include <vxl_config.h>

Go to the source code of this file.

Defines

#define r_g_b   vil_rgb<vxl_byte>

Functions

void sum_ubyte (vxl_byte &a, vxl_byte const &b)
void sum_short (vxl_uint_16 &a, vxl_uint_16 const &b)
void sum_int (vxl_uint_32 &a, vxl_uint_32 const &b)
void sum_rgb (r_g_b &a, r_g_b const &b)
void sum_float (float &a, float const &b)
void sum_double (double &a, double const &b)
void dif_ubyte (vxl_byte &a, vxl_byte const &b)
void dif_short (vxl_uint_16 &a, vxl_uint_16 const &b)
void dif_int (vxl_uint_32 &a, vxl_uint_32 const &b)
void dif_rgb (r_g_b &a, r_g_b const &b)
void dif_float (float &a, float const &b)
void dif_double (double &a, double const &b)
void min_ubyte (vxl_byte &a, vxl_byte const &b)
void min_short (vxl_uint_16 &a, vxl_uint_16 const &b)
void min_int (vxl_uint_32 &a, vxl_uint_32 const &b)
void min_float (float &a, float const &b)
void min_double (double &a, double const &b)
void max_ubyte (vxl_byte &a, vxl_byte const &b)
void max_short (vxl_uint_16 &a, vxl_uint_16 const &b)
void max_int (vxl_uint_32 &a, vxl_uint_32 const &b)
void max_float (float &a, float const &b)
void max_double (double &a, double const &b)
void vepl_dyadic_sum (vil_image_resource_sptr im_out, vil_image_resource_sptr image)
 add the second image to the first one pixelwise.
void vepl_dyadic_dif (vil_image_resource_sptr im_out, vil_image_resource_sptr image)
 subtract the second image from the first one pixelwise.
void vepl_dyadic_min (vil_image_resource_sptr im_out, vil_image_resource_sptr image)
 replace pixels of the first image by minimum pixel value of both.
void vepl_dyadic_max (vil_image_resource_sptr im_out, vil_image_resource_sptr image)
 replace pixels of the first image by maximum pixel value of both.

Define Documentation

#define r_g_b   vil_rgb<vxl_byte>

Definition at line 10 of file vepl_dyadic.cxx.


Function Documentation

void dif_double ( double &  a,
double const &  b 
)

Definition at line 22 of file vepl_dyadic.cxx.

void dif_float ( float &  a,
float const &  b 
)

Definition at line 21 of file vepl_dyadic.cxx.

void dif_int ( vxl_uint_32 &  a,
vxl_uint_32 const &  b 
)

Definition at line 19 of file vepl_dyadic.cxx.

void dif_rgb ( r_g_b &  a,
r_g_b const &  b 
)

Definition at line 20 of file vepl_dyadic.cxx.

void dif_short ( vxl_uint_16 &  a,
vxl_uint_16 const &  b 
)

Definition at line 18 of file vepl_dyadic.cxx.

void dif_ubyte ( vxl_byte &  a,
vxl_byte const &  b 
)

Definition at line 17 of file vepl_dyadic.cxx.

void max_double ( double &  a,
double const &  b 
)

Definition at line 32 of file vepl_dyadic.cxx.

void max_float ( float &  a,
float const &  b 
)

Definition at line 31 of file vepl_dyadic.cxx.

void max_int ( vxl_uint_32 &  a,
vxl_uint_32 const &  b 
)

Definition at line 30 of file vepl_dyadic.cxx.

void max_short ( vxl_uint_16 &  a,
vxl_uint_16 const &  b 
)

Definition at line 29 of file vepl_dyadic.cxx.

void max_ubyte ( vxl_byte &  a,
vxl_byte const &  b 
)

Definition at line 28 of file vepl_dyadic.cxx.

void min_double ( double &  a,
double const &  b 
)

Definition at line 27 of file vepl_dyadic.cxx.

void min_float ( float &  a,
float const &  b 
)

Definition at line 26 of file vepl_dyadic.cxx.

void min_int ( vxl_uint_32 &  a,
vxl_uint_32 const &  b 
)

Definition at line 25 of file vepl_dyadic.cxx.

void min_short ( vxl_uint_16 &  a,
vxl_uint_16 const &  b 
)

Definition at line 24 of file vepl_dyadic.cxx.

void min_ubyte ( vxl_byte &  a,
vxl_byte const &  b 
)

Definition at line 23 of file vepl_dyadic.cxx.

void sum_double ( double &  a,
double const &  b 
)

Definition at line 16 of file vepl_dyadic.cxx.

void sum_float ( float &  a,
float const &  b 
)

Definition at line 15 of file vepl_dyadic.cxx.

void sum_int ( vxl_uint_32 &  a,
vxl_uint_32 const &  b 
)

Definition at line 13 of file vepl_dyadic.cxx.

void sum_rgb ( r_g_b &  a,
r_g_b const &  b 
)

Definition at line 14 of file vepl_dyadic.cxx.

void sum_short ( vxl_uint_16 &  a,
vxl_uint_16 const &  b 
)

Definition at line 12 of file vepl_dyadic.cxx.

void sum_ubyte ( vxl_byte &  a,
vxl_byte const &  b 
)

Definition at line 11 of file vepl_dyadic.cxx.

void vepl_dyadic_dif ( vil_image_resource_sptr  im_out,
vil_image_resource_sptr  image 
)

subtract the second image from the first one pixelwise.

Definition at line 101 of file vepl_dyadic.cxx.

void vepl_dyadic_max ( vil_image_resource_sptr  im_out,
vil_image_resource_sptr  image 
)

replace pixels of the first image by maximum pixel value of both.

Definition at line 225 of file vepl_dyadic.cxx.

void vepl_dyadic_min ( vil_image_resource_sptr  im_out,
vil_image_resource_sptr  image 
)

replace pixels of the first image by minimum pixel value of both.

Definition at line 168 of file vepl_dyadic.cxx.

void vepl_dyadic_sum ( vil_image_resource_sptr  im_out,
vil_image_resource_sptr  image 
)

add the second image to the first one pixelwise.

Definition at line 34 of file vepl_dyadic.cxx.