Defines | Functions
contrib/tbl/vepl1/vepl1_dyadic.cxx File Reference
#include "vepl1_dyadic.h"
#include <vipl/accessors/vipl_accessors_vil1_image.h>
#include <vipl/vipl_dyadic.h>
#include <vil1/vil1_memory_image_of.h>
#include <vil1/vil1_rgb.h>
#include <vxl_config.h>

Go to the source code of this file.

Defines

#define r_g_b   vil1_rgb<vxl_byte>

Functions

void sum_ubyte (vxl_byte &a, vxl_byte const &b)
void sum_ushort (vxl_uint_16 &a, vxl_uint_16 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_ushort (vxl_uint_16 &a, vxl_uint_16 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_ushort (vxl_uint_16 &a, vxl_uint_16 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_ushort (vxl_uint_16 &a, vxl_uint_16 const &b)
void max_float (float &a, float const &b)
void max_double (double &a, double const &b)
void vepl1_dyadic_sum (vil1_image im_out, vil1_image const &image)
 add the second image to the first one pixelwise.
void vepl1_dyadic_dif (vil1_image im_out, vil1_image const &image)
 subtract the second image from the first one pixelwise.
void vepl1_dyadic_min (vil1_image im_out, vil1_image const &image)
 replace pixels of the first image by minimum pixel value of both.
void vepl1_dyadic_max (vil1_image im_out, vil1_image const &image)
 replace pixels of the first image by maximum pixel value of both.

Define Documentation

#define r_g_b   vil1_rgb<vxl_byte>

Definition at line 9 of file vepl1_dyadic.cxx.


Function Documentation

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

Definition at line 19 of file vepl1_dyadic.cxx.

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

Definition at line 18 of file vepl1_dyadic.cxx.

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

Definition at line 17 of file vepl1_dyadic.cxx.

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

Definition at line 15 of file vepl1_dyadic.cxx.

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

Definition at line 16 of file vepl1_dyadic.cxx.

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

Definition at line 27 of file vepl1_dyadic.cxx.

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

Definition at line 26 of file vepl1_dyadic.cxx.

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

Definition at line 24 of file vepl1_dyadic.cxx.

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

Definition at line 25 of file vepl1_dyadic.cxx.

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

Definition at line 23 of file vepl1_dyadic.cxx.

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

Definition at line 22 of file vepl1_dyadic.cxx.

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

Definition at line 20 of file vepl1_dyadic.cxx.

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

Definition at line 21 of file vepl1_dyadic.cxx.

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

Definition at line 14 of file vepl1_dyadic.cxx.

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

Definition at line 13 of file vepl1_dyadic.cxx.

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

Definition at line 12 of file vepl1_dyadic.cxx.

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

Definition at line 10 of file vepl1_dyadic.cxx.

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

Definition at line 11 of file vepl1_dyadic.cxx.

void vepl1_dyadic_dif ( vil1_image  im_out,
vil1_image const &  image 
)

subtract the second image from the first one pixelwise.

Definition at line 87 of file vepl1_dyadic.cxx.

void vepl1_dyadic_max ( vil1_image  im_out,
vil1_image const &  image 
)

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

Definition at line 193 of file vepl1_dyadic.cxx.

void vepl1_dyadic_min ( vil1_image  im_out,
vil1_image const &  image 
)

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

Definition at line 145 of file vepl1_dyadic.cxx.

void vepl1_dyadic_sum ( vil1_image  im_out,
vil1_image const &  image 
)

add the second image to the first one pixelwise.

Definition at line 29 of file vepl1_dyadic.cxx.