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

Perform greyscale erosion on images. More...

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

Go to the source code of this file.

Defines

#define vil_greyscale_erode_txx_
#define VIL_GREYSCALE_ERODE_INSTANTIATE(T)

Functions

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

Detailed Description

Perform greyscale erosion on images.

Author:
Tim Cootes

Definition in file vil_greyscale_erode.txx.


Define Documentation

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

Definition at line 67 of file vil_greyscale_erode.txx.

#define vil_greyscale_erode_txx_

Definition at line 2 of file vil_greyscale_erode.txx.


Function Documentation

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

Erodes 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 15 of file vil_greyscale_erode.txx.