Functions
contrib/mul/vil3d/algo/vil3d_smooth_121.h File Reference

Smooth 3D image with a (1 2 1)/4 filter. More...

#include <vil3d/vil3d_image_view.h>
#include <vil3d/vil3d_switch_axes.h>

Go to the source code of this file.

Functions

template<class srcT , class destT >
void vil3d_smooth_121_i (const vil3d_image_view< srcT > &src_im, vil3d_image_view< destT > &smooth_im)
 Smooth src_im by applying (0.25 0.5 0.25) filter along i axis.
template<class srcT , class destT >
void vil3d_smooth_121_j (const vil3d_image_view< srcT > &src_im, vil3d_image_view< destT > &smooth_im)
 Smooth src_im by applying (0.25 0.5 0.25) filter along j axis.
template<class srcT , class destT >
void vil3d_smooth_121_k (const vil3d_image_view< srcT > &src_im, vil3d_image_view< destT > &smooth_im)
 Smooth src_im by applying (0.25 0.5 0.25) filter along k axis.
template<class srcT , class destT >
void vil3d_smooth_121 (const vil3d_image_view< srcT > &src_im, vil3d_image_view< destT > &smooth_im)
 Smooth src_im by applying (0.25 0.5 0.25) filter along each axis in turn.

Detailed Description

Smooth 3D image with a (1 2 1)/4 filter.

Author:
Tim Cootes

Definition in file vil3d_smooth_121.h.


Function Documentation

template<class srcT , class destT >
void vil3d_smooth_121 ( const vil3d_image_view< srcT > &  src_im,
vil3d_image_view< destT > &  smooth_im 
)

Smooth src_im by applying (0.25 0.5 0.25) filter along each axis in turn.

Resulting image has same size. Border pixels set to zero.

Definition at line 95 of file vil3d_smooth_121.h.

template<class srcT , class destT >
void vil3d_smooth_121_i ( const vil3d_image_view< srcT > &  src_im,
vil3d_image_view< destT > &  smooth_im 
)

Smooth src_im by applying (0.25 0.5 0.25) filter along i axis.

Resulting image has same size. Border pixels (i=0,ni-1) set to zero.

Definition at line 15 of file vil3d_smooth_121.h.

template<class srcT , class destT >
void vil3d_smooth_121_j ( const vil3d_image_view< srcT > &  src_im,
vil3d_image_view< destT > &  smooth_im 
)

Smooth src_im by applying (0.25 0.5 0.25) filter along j axis.

Resulting image has same size. Border pixels (j=0,nj-1) set to zero.

Definition at line 67 of file vil3d_smooth_121.h.

template<class srcT , class destT >
void vil3d_smooth_121_k ( const vil3d_image_view< srcT > &  src_im,
vil3d_image_view< destT > &  smooth_im 
)

Smooth src_im by applying (0.25 0.5 0.25) filter along k axis.

Resulting image has same size. Border pixels (k=0,nk-1) set to zero.

Definition at line 81 of file vil3d_smooth_121.h.