Functions
contrib/tbl/vepl1/vepl1_dyadic.h File Reference

apply a (fixed) function to all (out,in) pixel pairs More...

#include <vil1/vil1_image.h>

Go to the source code of this file.

Functions

void vepl1_dyadic_sum (vil1_image, vil1_image const &)
 add the second image to the first one pixelwise.
void vepl1_dyadic_dif (vil1_image, vil1_image const &)
 subtract the second image from the first one pixelwise.
void vepl1_dyadic_min (vil1_image, vil1_image const &)
 replace pixels of the first image by minimum pixel value of both.
void vepl1_dyadic_max (vil1_image, vil1_image const &)
 replace pixels of the first image by maximum pixel value of both.

Detailed Description

apply a (fixed) function to all (out,in) pixel pairs

Typical examples are adding or subtracting images pixel-wise.

Note that the output image (first argument) has to be initialized in advance, as its pixel values are actually both read and written.

Author:
Peter Vanroose, K.U.Leuven (ESAT/PSI)
Date:
28 April 2001

Definition in file vepl1_dyadic.h.


Function Documentation

void vepl1_dyadic_dif ( vil1_image  ,
vil1_image const &   
)

subtract the second image from the first one pixelwise.

Definition at line 87 of file vepl1_dyadic.cxx.

void vepl1_dyadic_max ( vil1_image  ,
vil1_image const &   
)

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  ,
vil1_image const &   
)

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  ,
vil1_image const &   
)

add the second image to the first one pixelwise.

Definition at line 29 of file vepl1_dyadic.cxx.