
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< DetectT > | detector |
| SearchThreshold::SearchThreshold | ( | DetectT * | d | ) | [inline] |
| d | Detector to wrap. This will be managed by SearchThreshold |
Definition at line 106 of file detectors.cc.
00107 :detector(d) 00108 { 00109 }
| virtual void SearchThreshold::operator() | ( | const Image< byte > & | im, | |
| vector< ImageRef > & | corners, | |||
| unsigned int | N | |||
| ) | const [inline, virtual] |
Detect corners.
| 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.
| 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.
auto_ptr<DetectT> SearchThreshold::detector [private] |
1.5.3