Defines | Functions
core/vil/algo/vil_greyscale_dilate.txx File Reference

Perform greyscale dilation on images. More...

#include "vil_greyscale_dilate.h"
#include <vcl_cassert.h>

Go to the source code of this file.

Defines

#define vil_greyscale_dilate_txx_
#define VIL_GREYSCALE_DILATE_INSTANTIATE(T)

Functions

template<class T >
void vil_greyscale_dilate (const vil_image_view< T > &src_image, vil_image_view< T > &dest_image, const vil_structuring_element &element)
 Dilates src_image to produce dest_image (assumed single plane).

Detailed Description

Perform greyscale dilation on images.

Author:
Tim Cootes

Definition in file vil_greyscale_dilate.txx.


Define Documentation

#define VIL_GREYSCALE_DILATE_INSTANTIATE (   T)
Value:
template void vil_greyscale_dilate(const vil_image_view< T >& src_image, \
                                   vil_image_view< T >& dest_image, \
                                   const vil_structuring_element& element)

Definition at line 68 of file vil_greyscale_dilate.txx.

#define vil_greyscale_dilate_txx_

Definition at line 3 of file vil_greyscale_dilate.txx.


Function Documentation

template<class T >
void vil_greyscale_dilate ( const vil_image_view< T > &  src_image,
vil_image_view< T > &  dest_image,
const vil_structuring_element element 
)

Dilates src_image to produce dest_image (assumed single plane).

dest_image(i0,j0) is the maximum value of the pixels under the structuring element when it is centred on src_image(i0,j0)

Definition at line 16 of file vil_greyscale_dilate.txx.