SearchThreshold Struct Reference
[Functions for detecting corners of various types.]

Inheritance diagram for SearchThreshold:

DetectN

List of all members.


Detailed Description

This class wraps a DetectT class with binary_search_threshold and presents is as a DetectN class.

Definition at line 103 of file detectors.cc.


Public Member Functions

 SearchThreshold (DetectT *d)
virtual void operator() (const Image< byte > &im, vector< ImageRef > &corners, unsigned int N) const
virtual void operator() (const CVD::Image< CVD::byte > &i, std::vector< CVD::ImageRef > &c, unsigned int N) const =0

Private Attributes

auto_ptr< DetectTdetector

Constructor & Destructor Documentation

SearchThreshold::SearchThreshold ( DetectT d  )  [inline]

Parameters:
d Detector to wrap. This will be managed by SearchThreshold

Definition at line 106 of file detectors.cc.

00107     :detector(d)
00108     {
00109     }


Member Function Documentation

virtual void SearchThreshold::operator() ( const Image< byte > &  im,
vector< ImageRef > &  corners,
unsigned int  N 
) const [inline, virtual]

Detect corners.

Parameters:
im Image in which to detect corners
corners Detected corners are inserted in to this array
N number of corners to detect

Definition at line 115 of file detectors.cc.

References binary_search_threshold(), and detector.

00116     {
00117         int t = binary_search_threshold(im, corners, N, *detector); 
00118     }

virtual void DetectN::operator() ( const CVD::Image< CVD::byte > &  i,
std::vector< CVD::ImageRef > &  c,
unsigned int  N 
) const [pure virtual, inherited]

Detect corners.

Parameters:
i Image in which to detect corners
c Detected corners are inserted in to this container
N Number of corners to detect

Implemented in dog, harrisdog, ShiTomasiDetect, and HarrisDetect.


Member Data Documentation

auto_ptr<DetectT> SearchThreshold::detector [private]

Detector to wrap.

Definition at line 122 of file detectors.cc.

Referenced by operator()().


The documentation for this struct was generated from the following file:
Generated on Mon Mar 2 12:47:15 2009 for FAST-ER by  doxygen 1.5.3