SLProject
4.2.000
A platform independent 3D computer graphics framework for desktop OS, Android, iOS and online in web browsers
|
Wrapper class around OpenCV feature detector & describer. More...
#include <CVFeatureManager.h>
Public Member Functions | |
CVFeatureManager () | |
~CVFeatureManager () | |
void | detect (CVInputArray image, CVVKeyPoint &keypoints, CVInputArray mask=cv::noArray()) |
void | describe (CVInputArray image, CVVKeyPoint &keypoints, CVOutputArray descriptors) |
void | detectAndDescribe (CVInputArray image, CVVKeyPoint &keypoints, CVOutputArray descriptors, CVInputArray mask=cv::noArray()) |
void | createDetectorDescriptor (CVDetectDescribeType detectDescribeType) |
Creates a detector and decriptor to the passed type. More... | |
void | setDetectorDescriptor (CVDetectDescribeType detectDescribeType, cv::Ptr< CVFeature2D > detector, cv::Ptr< CVFeature2D > descriptor) |
Sets the detector and decriptor to the passed ones. More... | |
CVDetectDescribeType | type () |
Private Attributes | |
CVDetectDescribeType | _type |
Type of detector-descriptor pair. More... | |
cv::Ptr< CVFeature2D > | _detector |
CV smart pointer to the OpenCV feature detector. More... | |
cv::Ptr< CVFeature2D > | _descriptor |
CV smart pointer to the OpenCV descriptor extractor. More... | |
Wrapper class around OpenCV feature detector & describer.
Definition at line 39 of file CVFeatureManager.h.
CVFeatureManager::CVFeatureManager | ( | ) |
Definition at line 26 of file CVFeatureManager.cpp.
CVFeatureManager::~CVFeatureManager | ( | ) |
Definition at line 31 of file CVFeatureManager.cpp.
void CVFeatureManager::createDetectorDescriptor | ( | CVDetectDescribeType | detectDescribeType | ) |
Creates a detector and decriptor to the passed type.
Definition at line 36 of file CVFeatureManager.cpp.
void CVFeatureManager::describe | ( | CVInputArray | image, |
CVVKeyPoint & | keypoints, | ||
CVOutputArray | descriptors | ||
) |
void CVFeatureManager::detect | ( | CVInputArray | image, |
CVVKeyPoint & | keypoints, | ||
CVInputArray | mask = cv::noArray() |
||
) |
void CVFeatureManager::detectAndDescribe | ( | CVInputArray | image, |
CVVKeyPoint & | keypoints, | ||
CVOutputArray | descriptors, | ||
CVInputArray | mask = cv::noArray() |
||
) |
Definition at line 114 of file CVFeatureManager.cpp.
void CVFeatureManager::setDetectorDescriptor | ( | CVDetectDescribeType | detectDescribeType, |
cv::Ptr< CVFeature2D > | detector, | ||
cv::Ptr< CVFeature2D > | descriptor | ||
) |
Sets the detector and decriptor to the passed ones.
Definition at line 105 of file CVFeatureManager.cpp.
|
inline |
Definition at line 64 of file CVFeatureManager.h.
|
private |
CV smart pointer to the OpenCV descriptor extractor.
Definition at line 69 of file CVFeatureManager.h.
|
private |
CV smart pointer to the OpenCV feature detector.
Definition at line 68 of file CVFeatureManager.h.
|
private |
Type of detector-descriptor pair.
Definition at line 67 of file CVFeatureManager.h.