Basic Image AlgorithmS Library
2.8.0
|
The Susan corner detector (oxford implementation, see license) More...
#include <FeatureDetector/CornerDetectorSusan.hh>
Public Types | |
enum | ECDType { CDT_Invalid, CDT_Susan, CDT_Harris, CDT_Foerstner, CDT_KLT, CDT_Laplace } |
the differnet types of corner detectors More... | |
Public Member Functions | |
void | AddDebugLevel (const long int lv) |
void | AddDebugLevel (const std::string &name) |
CornerDetectorSusan () | |
bool | DebugLevelIsSet (const long int lv) const |
bool | DebugLevelIsSet (const std::string &name) const |
virtual int | Detect (const Image< StorageType > &image, std::vector< HomgPoint2D > &pvec, std::vector< QUAL > &quality) |
Susan Corner Detector returning homogenous points,. More... | |
int | Detect (const Image< StorageType > &image, CORNER_LIST corner_list, int &num) |
Susan Corner Detector returning corner list, fast interface for daimler. More... | |
int | Detect (const Image< StorageType > &image, const Image< StorageType > &roi, CORNER_LIST corner_list, int &num) |
Susan Corner Detector returning corner list, only detects corners where roi!=0. More... | |
int | GetDebugLevel () const |
std::ostream & | GetDebugStream () const |
void | GetDebugStream (std::ostream &os) const |
int | GetMaxNumFeatures () |
long int | Name2DebugLevel (const std::string &name) const |
looks up a debuglevel in the internal map, returns 0 if not found More... | |
long int | NewDebugLevel (const std::string &name) |
creates a new debuglevel More... | |
void | PrintDebugLevel (std::ostream &os=std::cout) const |
void | RemoveDebugLevel (const long int lv) |
void | RemoveDebugLevel (const std::string &name) |
void | SetDebugLevel (const long int lv) |
void | SetDebugLevel (const std::string &name) |
void | SetDebugStream (const std::ostream &os) |
void | SetMaxNumFeatures (const int maxnum) |
void | ShowDebugLevel (std::ostream &os=std::cout) const |
prints all internally known debuglevels More... | |
~CornerDetectorSusan () | |
Static Public Member Functions | |
static long int | GetGlobalDebugLevel () |
static void | SetGlobalDebugLevel (long int lev) |
Protected Member Functions | |
void | _int_to_uchar (const int *r, StorageType *in, int size) |
protected function for susan More... | |
void | _setup_brightness_lut (int thresh, int form) |
protected function for susan More... | |
int | _susan_corners (const StorageType *in, int *r, StorageType *bp, CORNER_LIST corner_list, int x_size, int y_size) |
returns the number of corners found More... | |
int | _susan_corners (const StorageType *in, int *r, StorageType *bp, CORNER_LIST corner_list, int x_size, int y_size, const StorageType *roi) |
faster version of the above More... | |
int | _susan_corners_quick (const StorageType *in, int *r, StorageType *bp, CORNER_LIST corner_list, int x_size, int y_size) |
returns the number of corners found More... | |
void | _SusanReAllocMem (int x_size, int y_size) |
allocates the internal data structures for susan corner detector More... | |
long | ConsumeNextFreeDebuglevel_ () |
returns the next available debuglevel More... | |
Protected Attributes | |
StorageType * | _bp |
int * | _cgx |
local vars for susan More... | |
int * | _cgy |
long int | _liDebugLevel |
long int | _liNextDebugLevel |
new concept, debuglevel are managed here in the debug class More... | |
int | _MaxNum |
maximum number of corners to return More... | |
int | _num |
int | _NumTilesX |
int | _NumTilesY |
bool | _Quick |
int * | _r |
std::map< std::string, long int > | _String2Debuglevel |
int | _susansize |
int | _susanthresh |
int | _Threshold |
parameter More... | |
Static Protected Attributes | |
static std::ostream | _zDebugStream |
static long int | GlobalDebugLevel = 0 |
The Susan corner detector (oxford implementation, see license)
See documentation inside CornerDetectorSusan.hh
Definition at line 223 of file CornerDetectorSusan.hh.
|
inherited |
the differnet types of corner detectors
Enumerator | |
---|---|
CDT_Invalid | |
CDT_Susan | |
CDT_Harris | |
CDT_Foerstner | |
CDT_KLT | |
CDT_Laplace |
Definition at line 57 of file CornerDetectorBase.hh.
CornerDetectorSusan::CornerDetectorSusan | ( | ) |
Definition at line 206 of file CornerDetectorSusan.cpp.
References BIAS::CornerDetectorSusan< StorageType >::_bp, BIAS::CornerDetectorSusan< StorageType >::_cgx, BIAS::CornerDetectorSusan< StorageType >::_cgy, BIAS::CornerDetectorBase< StorageType >::_MaxNum, BIAS::CornerDetectorSusan< StorageType >::_Quick, BIAS::CornerDetectorSusan< StorageType >::_r, BIAS::CornerDetectorSusan< StorageType >::_susansize, BIAS::CornerDetectorSusan< StorageType >::_susanthresh, and BIAS::CornerDetectorSusan< StorageType >::_Threshold.
CornerDetectorSusan::~CornerDetectorSusan | ( | ) |
Definition at line 218 of file CornerDetectorSusan.cpp.
|
protected |
protected function for susan
Definition at line 352 of file CornerDetectorSusan.cpp.
|
protected |
protected function for susan
Definition at line 377 of file CornerDetectorSusan.cpp.
|
protected |
returns the number of corners found
Definition at line 402 of file CornerDetectorSusan.cpp.
|
protected |
faster version of the above
Definition at line 689 of file CornerDetectorSusan.cpp.
|
protected |
returns the number of corners found
Definition at line 991 of file CornerDetectorSusan.cpp.
|
inlineprotected |
allocates the internal data structures for susan corner detector
Definition at line 281 of file CornerDetectorSusan.hh.
|
inlineinherited |
Definition at line 355 of file Debug.hh.
Referenced by BIAS::GLProjectionParametersBase::AddDebugLevel(), BIAS::Triangulation::CorrectCorrespondences(), BIAS::FilterBase< InputStorageType, OutputStorageType >::FilterBase(), BIAS::ShowCamWxVideoSourceFactory::OpenDevice(), and BIAS::SceneOpenSceneGraph::SceneOpenSceneGraph().
|
inlineinherited |
|
inlineprotectedinherited |
|
inlineinherited |
Definition at line 341 of file Debug.hh.
Referenced by BIAS::GenSynthMatches::_AddUniformDistributedOutliers(), BIAS::GenSynthMatches::_CreateCamMovement(), BIAS::GenSynthMatches::_CreateStatic2DPoints(), BIAS::UnscentedTransform::ComputeSigmaPoints_(), BIAS::Triangulation::CorrectCorrespondences(), BIAS::GenSynthMatches::GetGTNormalizedF(), BIAS::MonteCarloTransform::GetSamples_(), and BIAS::MonteCarloTransform::Transform().
|
inlineinherited |
|
virtual |
Susan Corner Detector returning homogenous points,.
Reimplemented from BIAS::CornerDetectorBase< StorageType >.
int CornerDetectorSusan::Detect | ( | const Image< StorageType > & | image, |
CORNER_LIST | corner_list, | ||
int & | num | ||
) |
Susan Corner Detector returning corner list, fast interface for daimler.
Definition at line 228 of file CornerDetectorSusan.cpp.
References BIAS::ImageBase::GetChannelCount(), BIAS::ImageBase::GetHeight(), BIAS::Image< StorageType >::GetImageData(), BIAS::ImageBase::GetWidth(), and BIAS::ImageBase::IsEmpty().
int CornerDetectorSusan::Detect | ( | const Image< StorageType > & | image, |
const Image< StorageType > & | roi, | ||
CORNER_LIST | corner_list, | ||
int & | num | ||
) |
Susan Corner Detector returning corner list, only detects corners where roi!=0.
Definition at line 258 of file CornerDetectorSusan.cpp.
References BIAS::ImageBase::GetChannelCount(), BIAS::ImageBase::GetHeight(), BIAS::Image< StorageType >::GetImageData(), BIAS::ImageBase::GetWidth(), and BIAS::ImageBase::IsEmpty().
|
inlineinherited |
Definition at line 332 of file Debug.hh.
Referenced by BIAS::listenthread(), BIAS::Image< StorageType >::operator=(), and BIAS::ImageBase::operator=().
|
inlineinherited |
|
inlineinherited |
|
inlinestaticinherited |
|
inlineinherited |
Definition at line 73 of file CornerDetectorBase.hh.
|
inlineinherited |
|
inlineinherited |
creates a new debuglevel
Definition at line 474 of file Debug.hh.
Referenced by BIAS::COSAC< SolutionType >::COSAC(), BIAS::ProjectionParametersPerspectiveDepth::Init(), BIAS::MonteCarloTransform::MonteCarloTransform(), BIAS::PMatrixEstimation::PMatrixEstimation(), BIAS::PreemptiveRANSAC< SolutionType >::PreemptiveRANSAC(), BIAS::RANSACPreKnowledge< SolutionType >::RANSACPreKnowledge(), BIAS::ROI::ROI(), BIAS::RotationAveraging::RotationAveraging(), BIAS::SceneOpenSceneGraph::SceneOpenSceneGraph(), BIAS::ThreeDOutOpenSceneGraph::ThreeDOutOpenSceneGraph(), BIAS::Triangulation::Triangulation(), and BIAS::UnscentedTransform::UnscentedTransform().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Definition at line 318 of file Debug.hh.
Referenced by BIAS::ShowCamWxVideoSourceFactory::CreateBumbleBee(), BIAS::ShowCamWxVideoSourceFactory::CreateDCAM(), BIAS::VideoSource_MDcam::ScanBus(), BIAS::GLProjectionParametersBase::SetDebugLevel(), BIAS::VideoSource_Disk::VideoSource_Disk(), BIAS::VideoSource_DV2::VideoSource_DV2(), BIAS::VideoSource_DV::VideoSource_DV_Internal_Init_(), and BIAS::VideoSource_V4L::VideoSource_V4L().
|
inlineinherited |
|
inlineinherited |
|
inlinestaticinherited |
|
inlineinherited |
Definition at line 70 of file CornerDetectorBase.hh.
|
inlineinherited |
|
protected |
Definition at line 255 of file CornerDetectorSusan.hh.
Referenced by BIAS::CornerDetectorSusan< StorageType >::CornerDetectorSusan().
|
protected |
local vars for susan
Definition at line 254 of file CornerDetectorSusan.hh.
Referenced by BIAS::CornerDetectorSusan< StorageType >::CornerDetectorSusan().
|
protected |
Definition at line 254 of file CornerDetectorSusan.hh.
Referenced by BIAS::CornerDetectorSusan< StorageType >::CornerDetectorSusan().
|
protectedinherited |
Definition at line 510 of file Debug.hh.
Referenced by BIAS::Debug::operator=(), and BIAS::ImageBase::operator=().
|
protectedinherited |
new concept, debuglevel are managed here in the debug class
Definition at line 516 of file Debug.hh.
Referenced by BIAS::Debug::operator=().
|
protectedinherited |
maximum number of corners to return
Definition at line 81 of file CornerDetectorBase.hh.
Referenced by BIAS::CornerDetectorSusan< StorageType >::CornerDetectorSusan().
|
protected |
Definition at line 254 of file CornerDetectorSusan.hh.
|
protectedinherited |
Definition at line 78 of file CornerDetectorBase.hh.
|
protectedinherited |
Definition at line 78 of file CornerDetectorBase.hh.
|
protected |
Definition at line 251 of file CornerDetectorSusan.hh.
Referenced by BIAS::CornerDetectorSusan< StorageType >::CornerDetectorSusan().
|
protected |
Definition at line 254 of file CornerDetectorSusan.hh.
Referenced by BIAS::CornerDetectorSusan< StorageType >::CornerDetectorSusan().
|
protectedinherited |
Definition at line 517 of file Debug.hh.
Referenced by BIAS::Debug::operator=().
|
protected |
Definition at line 254 of file CornerDetectorSusan.hh.
Referenced by BIAS::CornerDetectorSusan< StorageType >::CornerDetectorSusan().
|
protected |
Definition at line 254 of file CornerDetectorSusan.hh.
Referenced by BIAS::CornerDetectorSusan< StorageType >::CornerDetectorSusan().
|
protected |
parameter
Definition at line 250 of file CornerDetectorSusan.hh.
Referenced by BIAS::CornerDetectorSusan< StorageType >::CornerDetectorSusan().
|
staticprotectedinherited |
Definition at line 511 of file Debug.hh.
Referenced by BIAS::Debug::operator=().
|
staticprotectedinherited |