Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

fl::NonMaxSuppress Class Reference

#include <convolve.h>

Inheritance diagram for fl::NonMaxSuppress:

fl::Filter List of all members.

Public Methods

 NonMaxSuppress (int half=1, BorderMode mode=UseZeros)
 Only recognizes UseZeros and ZeroFill. Other modes are mapped to closest equivalent.

virtual Image filter (const Image &image)
 This could be const, but it is useful to allow filters to collect statistics. Note that such filters are not thread safe.


Public Attributes

int half
 Number of pixels away from center to check for local maxima.

BorderMode mode
float maximum
 Largest value found during last run of filter.

float minimum
 Smallest value found during last run of filter.

float average
 Average value found during last run of filter.

int count
 Number of pixels that passed last run of filter.


Constructor & Destructor Documentation

NonMaxSuppress::NonMaxSuppress int    half = 1,
BorderMode    mode = UseZeros
 

Only recognizes UseZeros and ZeroFill. Other modes are mapped to closest equivalent.


Member Function Documentation

Image NonMaxSuppress::filter const Image   image [virtual]
 

This could be const, but it is useful to allow filters to collect statistics. Note that such filters are not thread safe.

Implements fl::Filter.


Member Data Documentation

float fl::NonMaxSuppress::average
 

Average value found during last run of filter.

int fl::NonMaxSuppress::count
 

Number of pixels that passed last run of filter.

int fl::NonMaxSuppress::half
 

Number of pixels away from center to check for local maxima.

float fl::NonMaxSuppress::maximum
 

Largest value found during last run of filter.

float fl::NonMaxSuppress::minimum
 

Smallest value found during last run of filter.

BorderMode fl::NonMaxSuppress::mode
 


The documentation for this class was generated from the following files:
Generated on Thu Dec 9 17:13:26 2004 for fl by doxygen1.2.18