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

#include <susan.h>

Inheritance diagram for SUSAN:

DetectT

List of all members.


Detailed Description

Class wrapping the SUSAN detector.

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

Member Function Documentation

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

Detect corners.

Parameters:
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 }


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