#include <attribute_learning_base_feature.h>
Public Types | |
typedef MyHOG< 64, 64, 16, 16, 8, 8, 8, 8, 9 > | AttributeHOG |
typedef LabColorHistogram< 12, 6, 6 > | AttributeLabHist |
typedef SIFTDes< 8, 8, 4, false > | SIFTDescriptor |
Public Member Functions | |
AttributeLearningBaseFeature () | |
virtual std::vector< float > | getDescriptor () const |
virtual void | operator() (cv::Mat &patch, cv::Rect &window) |
virtual void | setSIFTFile (std::string sift_file) |
virtual void | setTextonFile (std::string texton_file) |
Protected Member Functions | |
float | normalize (int val_raw, float min_val=0.0, float max_val=255.0) |
Protected Attributes | |
CannyEdges | canny_ |
AttributeLabHist | col_hist_ |
std::vector< float > | descriptor_ |
AttributeHOG | hog_ |
LMFilterBank | lmfb_ |
SIFTDescriptor | sift_ |
Definition at line 58 of file attribute_learning_base_feature.h.
typedef MyHOG<64, 64, 16, 16, 8, 8, 8, 8, 9> cpl_visual_features::AttributeLearningBaseFeature::AttributeHOG |
Definition at line 63 of file attribute_learning_base_feature.h.
typedef LabColorHistogram<12, 6, 6> cpl_visual_features::AttributeLearningBaseFeature::AttributeLabHist |
Definition at line 64 of file attribute_learning_base_feature.h.
typedef SIFTDes<8,8,4, false> cpl_visual_features::AttributeLearningBaseFeature::SIFTDescriptor |
Definition at line 65 of file attribute_learning_base_feature.h.
Definition at line 67 of file attribute_learning_base_feature.h.
virtual std::vector<float> cpl_visual_features::AttributeLearningBaseFeature::getDescriptor | ( | ) | const [inline, virtual] |
Implements cpl_visual_features::AbstractFeature< std::vector< float > >.
Definition at line 182 of file attribute_learning_base_feature.h.
float cpl_visual_features::AttributeLearningBaseFeature::normalize | ( | int | val_raw, |
float | min_val = 0.0 , |
||
float | max_val = 255.0 |
||
) | [inline, protected] |
Definition at line 209 of file attribute_learning_base_feature.h.
virtual void cpl_visual_features::AttributeLearningBaseFeature::operator() | ( | cv::Mat & | patch, |
cv::Rect & | window | ||
) | [inline, virtual] |
Implements cpl_visual_features::AbstractFeature< std::vector< float > >.
Definition at line 69 of file attribute_learning_base_feature.h.
virtual void cpl_visual_features::AttributeLearningBaseFeature::setSIFTFile | ( | std::string | sift_file | ) | [inline, virtual] |
Definition at line 192 of file attribute_learning_base_feature.h.
virtual void cpl_visual_features::AttributeLearningBaseFeature::setTextonFile | ( | std::string | texton_file | ) | [inline, virtual] |
Definition at line 187 of file attribute_learning_base_feature.h.
Definition at line 205 of file attribute_learning_base_feature.h.
Definition at line 203 of file attribute_learning_base_feature.h.
std::vector<float> cpl_visual_features::AttributeLearningBaseFeature::descriptor_ [protected] |
Definition at line 202 of file attribute_learning_base_feature.h.
Definition at line 206 of file attribute_learning_base_feature.h.
Definition at line 204 of file attribute_learning_base_feature.h.
Definition at line 207 of file attribute_learning_base_feature.h.