Functions
core/vil/algo/vil_exp_grad_filter_1d.h File Reference

Apply exponential gradient filter. More...

#include <vil/vil_image_view.h>

Go to the source code of this file.

Functions

template<class srcT , class destT , class accumT >
void vil_exp_grad_filter_1d (const srcT *src, vcl_ptrdiff_t sstep, destT *dest, vcl_ptrdiff_t dstep, int n, accumT k)
 Apply exponential gradient filter to 1D data. Form: sign(i)*exp(c*|i|).
template<class srcT , class destT , class accumT >
void vil_exp_grad_filter_i (const vil_image_view< srcT > &src_im, vil_image_view< destT > &dest_im, accumT k)
 Apply exponential gradient filter to src_im (along i direction).
template<class srcT , class destT , class accumT >
void vil_exp_grad_filter_j (const vil_image_view< srcT > &src_im, vil_image_view< destT > &dest_im, accumT k)
 Apply exponential gradient filter to src_im (along j direction).

Detailed Description

Apply exponential gradient filter.

Author:
Tim Cootes

Definition in file vil_exp_grad_filter_1d.h.


Function Documentation

template<class srcT , class destT , class accumT >
void vil_exp_grad_filter_1d ( const srcT *  src,
vcl_ptrdiff_t  sstep,
destT *  dest,
vcl_ptrdiff_t  dstep,
int  n,
accumT  k 
) [inline]

Apply exponential gradient filter to 1D data. Form: sign(i)*exp(c*|i|).

Apply filter to n values src[i*sstep] to produce output dest[i*dstep] Exponential gradient filter of the form sign(i)*exp(c*|i|) applied. c=log(k) Uses fast recursive implementation.

Definition at line 16 of file vil_exp_grad_filter_1d.h.

template<class srcT , class destT , class accumT >
void vil_exp_grad_filter_i ( const vil_image_view< srcT > &  src_im,
vil_image_view< destT > &  dest_im,
accumT  k 
) [inline]

Apply exponential gradient filter to src_im (along i direction).

Exponential gradient filter of the form sign(i)*exp(c*|i|) applied. c=log(k) Uses fast recursive implementation.

Definition at line 58 of file vil_exp_grad_filter_1d.h.

template<class srcT , class destT , class accumT >
void vil_exp_grad_filter_j ( const vil_image_view< srcT > &  src_im,
vil_image_view< destT > &  dest_im,
accumT  k 
) [inline]

Apply exponential gradient filter to src_im (along j direction).

Exponential gradient filter of the form sign(j)*exp(c*|j|) applied. c=log(k) Uses fast recursive implementation.

Definition at line 83 of file vil_exp_grad_filter_1d.h.