#include <susan.h>
Definition at line 32 of file susan.h.
Public Member Functions | |
virtual void | operator() (const CVD::Image< CVD::byte > &i, std::vector< CVD::ImageRef > &c, unsigned int N) const |
void SUSAN::operator() | ( | const CVD::Image< CVD::byte > & | i, | |
std::vector< CVD::ImageRef > & | c, | |||
unsigned int | N | |||
) | const [virtual] |
Detect corners.
i | Image in which to detect corners | |
c | Detected corners are inserted in to this container | |
N | Threshold used to detect corners |
Implements DetectT.
Definition at line 48 of file susan.cc.
00049 { 00050 float dt = GV3::get<float>("susan.dt", 4.0, 1); 00051 int* c = susan(const_cast<byte*>(im.data()), im.size().x, im.size().y, dt, N); 00052 00053 int n = c[0]; 00054 00055 for(int i=0; i < n; i++) 00056 corners.push_back(ImageRef(c[2*i+2], c[2*i+3])); 00057 00058 free_haxored_memory(); 00059 }