#include <sift_des.h>
Public Member Functions | |
SIFTFeatures | clusterFeatures (SIFTFeatures samples, int k, int attempts) |
SIFTFeatures | extractRawFeatures (cv::Mat &frame) |
float | featureDist (SIFTFeature f1, SIFTFeature f2) |
SIFTFeatures | getCenters () const |
virtual std::vector< float > | getDescriptor () const |
bool | loadClusterCenters (std::string file_name) |
virtual void | operator() (cv::Mat &img, cv::Rect &window) |
int | quantizeFeature (SIFTFeature feat) |
void | saveClusterCenters (SIFTFeatures centers, std::string file_name) |
SIFTDes () | |
Public Attributes | |
cv::SIFT | sift_ |
Protected Attributes | |
SIFTFeatures | centers_ |
std::vector< float > | descriptor_ |
Definition at line 55 of file sift_des.h.
cpl_visual_features::SIFTDes< x_stride, y_stride, n_scales, extract_keypoints >::SIFTDes | ( | ) | [inline] |
Definition at line 59 of file sift_des.h.
SIFTFeatures cpl_visual_features::SIFTDes< x_stride, y_stride, n_scales, extract_keypoints >::clusterFeatures | ( | SIFTFeatures | samples, |
int | k, | ||
int | attempts | ||
) | [inline] |
Definition at line 139 of file sift_des.h.
SIFTFeatures cpl_visual_features::SIFTDes< x_stride, y_stride, n_scales, extract_keypoints >::extractRawFeatures | ( | cv::Mat & | frame | ) | [inline] |
Definition at line 93 of file sift_des.h.
float cpl_visual_features::SIFTDes< x_stride, y_stride, n_scales, extract_keypoints >::featureDist | ( | SIFTFeature | f1, |
SIFTFeature | f2 | ||
) | [inline] |
Definition at line 261 of file sift_des.h.
SIFTFeatures cpl_visual_features::SIFTDes< x_stride, y_stride, n_scales, extract_keypoints >::getCenters | ( | ) | const [inline] |
Definition at line 88 of file sift_des.h.
virtual std::vector<float> cpl_visual_features::SIFTDes< x_stride, y_stride, n_scales, extract_keypoints >::getDescriptor | ( | ) | const [inline, virtual] |
Implements cpl_visual_features::AbstractFeature< std::vector< float > >.
Definition at line 83 of file sift_des.h.
bool cpl_visual_features::SIFTDes< x_stride, y_stride, n_scales, extract_keypoints >::loadClusterCenters | ( | std::string | file_name | ) | [inline] |
Definition at line 199 of file sift_des.h.
virtual void cpl_visual_features::SIFTDes< x_stride, y_stride, n_scales, extract_keypoints >::operator() | ( | cv::Mat & | img, |
cv::Rect & | window | ||
) | [inline, virtual] |
Implements cpl_visual_features::AbstractFeature< std::vector< float > >.
Definition at line 63 of file sift_des.h.
int cpl_visual_features::SIFTDes< x_stride, y_stride, n_scales, extract_keypoints >::quantizeFeature | ( | SIFTFeature | feat | ) | [inline] |
Definition at line 243 of file sift_des.h.
void cpl_visual_features::SIFTDes< x_stride, y_stride, n_scales, extract_keypoints >::saveClusterCenters | ( | SIFTFeatures | centers, |
std::string | file_name | ||
) | [inline] |
Definition at line 180 of file sift_des.h.
SIFTFeatures cpl_visual_features::SIFTDes< x_stride, y_stride, n_scales, extract_keypoints >::centers_ [protected] |
Definition at line 281 of file sift_des.h.
std::vector<float> cpl_visual_features::SIFTDes< x_stride, y_stride, n_scales, extract_keypoints >::descriptor_ [protected] |
Definition at line 280 of file sift_des.h.
cv::SIFT cpl_visual_features::SIFTDes< x_stride, y_stride, n_scales, extract_keypoints >::sift_ |
Definition at line 277 of file sift_des.h.