Gradient filter and other filters

General image filter routines. More...

Classes

class  mimas::filter< T >

Functions

void mimas::filter::filterRows (image< T > &input, image< T > &output, std::vector< double > *prof1d)
 fast filter. can be used for symmetric convolution operations
void mimas::filter::filterCols (image< T > &input, image< T > &output, std::vector< double > *prof1d)
 fast filter. can be used for symmetric convolution operations
static void mimas::filter::gradX (const image< T > &input, image< T > &output)
 calculate X direction gradient
static void mimas::filter::gradY (const image< T > &input, image< T > &output)
 calculate Y direction gradient
static void mimas::filter::nonMaximaSuppression (const image< T > &gradx, const image< T > &grady, const image< T > &gradsq, double threshold, property_image &output) throw (mimasexception)
 filter to remove all pixels which are not locally maximal

Detailed Description

General image filter routines.

Used with the canny tool and corner tool and gauss tools. These routines operate on a given image and transform it in some way. filter is mainly a namespace used to group filters together.

Author:
Stuart Meikle (stu@stumeikle.org)
Date:
?? May 2002
Header
/cvs/mimas2/include/filter.h,v 1.1.1.1 2005/08/09 15:37:45 engmb Exp

Function Documentation

template<typename T>
void mimas::filter< T >::filterCols ( image< T > &  input,
image< T > &  output,
std::vector< double > *  prof1d 
) [protected, inherited]

fast filter. can be used for symmetric convolution operations

Definition at line 132 of file filter.h.

References mimas::const_image_ref< T, T * >::getHeight(), mimas::const_image_ref< T, T * >::getWidth(), mimas::image< T >::init(), mimas::norm(), and mimas::image_ref< T >::pixel().

Here is the call graph for this function:

template<typename T>
void mimas::filter< T >::filterRows ( image< T > &  input,
image< T > &  output,
std::vector< double > *  prof1d 
) [protected, inherited]

fast filter. can be used for symmetric convolution operations

Definition at line 58 of file filter.h.

References mimas::const_image_ref< T, T * >::getHeight(), mimas::const_image_ref< T, T * >::getWidth(), mimas::image< T >::init(), mimas::norm(), mimas::image_ref< T >::pixel(), and mimas::image_ref< T >::rawData().

Here is the call graph for this function:

template<typename T>
void mimas::filter< T >::gradX ( const image< T > &  input,
image< T > &  output 
) [static, inherited]

calculate X direction gradient

Definition at line 26 of file filter_grad.h.

References mimas::const_image_ref< T, T * >::getHeight(), mimas::const_image_ref< T, T * >::getWidth(), mimas::image< T >::init(), mimas::image_ref< T >::pixel(), and mimas::image_ref< T >::rawData().

Here is the call graph for this function:

template<typename T>
void mimas::filter< T >::gradY ( const image< T > &  input,
image< T > &  output 
) [static, inherited]

calculate Y direction gradient

Definition at line 50 of file filter_grad.h.

References mimas::const_image_ref< T, T * >::getHeight(), mimas::const_image_ref< T, T * >::getWidth(), mimas::image< T >::init(), and mimas::image_ref< T >::pixel().

Here is the call graph for this function:

template<typename T>
void mimas::filter< T >::nonMaximaSuppression ( const image< T > &  gradx,
const image< T > &  grady,
const image< T > &  gradsq,
double  threshold,
property_image output 
) throw (mimasexception) [static, inherited]

filter to remove all pixels which are not locally maximal

Definition at line 30 of file filter_nonmaxsup.h.

References MMERROR, and mimas::threshold().

Here is the call graph for this function:


[GNU/Linux] [Qt] [Mesa] [STL] [Lapack] [Boost] [Magick++] [Xalan-C and Xerces-C] [doxygen] [graphviz] [FFTW] [popt] [xine] [Gnuplot] [gnu-arch] [gcc] [gstreamer] [autoconf/automake/make] [freshmeat.net] [opensource.org] [sourceforge.net] [MMVL]
mimas 2.1 - Copyright Mon Oct 30 11:31:20 2006, Bala Amavasai, Stuart Meikle, Arul Selvan, Fabio Caparrelli, Jan Wedekind, Manuel Boissenin, ...