#include <abstract_feature.h>
Public Types | |
typedef descriptor | Descriptor |
Public Member Functions | |
virtual descriptor | extractDescriptor (cv::Mat &img, cv::Rect &window) |
virtual descriptor | getDescriptor () const =0 |
virtual void | operator() (cv::Mat &img, cv::Rect &window)=0 |
template<class T > | |
float | sum (std::vector< T > &vect) |
Definition at line 44 of file abstract_feature.h.
typedef descriptor cpl_visual_features::AbstractFeature< descriptor >::Descriptor |
Definition at line 57 of file abstract_feature.h.
virtual descriptor cpl_visual_features::AbstractFeature< descriptor >::extractDescriptor | ( | cv::Mat & | img, |
cv::Rect & | window | ||
) | [inline, virtual] |
Definition at line 52 of file abstract_feature.h.
virtual descriptor cpl_visual_features::AbstractFeature< descriptor >::getDescriptor | ( | ) | const [pure virtual] |
Implemented in cpl_visual_features::AttributeLearningBaseFeature, cpl_visual_features::CannyEdges, cpl_visual_features::ColorCell, cpl_visual_features::LabColorHistogram< l_bins, a_bins, b_bins >, cpl_visual_features::LabColorHistogram< 12, 6, 6 >, cpl_visual_features::HSVColorHistogram< h_bins, s_bins, v_bins >, cpl_visual_features::NormalizedSum, cpl_visual_features::SIFTDes< x_stride, y_stride, n_scales, extract_keypoints >, cpl_visual_features::SIFTDes< 8, 8, 4, false >, cpl_visual_features::MyHOG< win_width, win_height, block_width, block_height, x_stride, y_stride, cell_width, cell_height, nbins >, cpl_visual_features::MyHOG< 64, 64, 16, 16, 8, 8, 8, 8, 9 >, cpl_visual_features::EdgeDensity, cpl_visual_features::ColorHistogram< n_bins >, and cpl_visual_features::Homogeneity.
virtual void cpl_visual_features::AbstractFeature< descriptor >::operator() | ( | cv::Mat & | img, |
cv::Rect & | window | ||
) | [pure virtual] |
Implemented in cpl_visual_features::AttributeLearningBaseFeature, cpl_visual_features::SIFTDes< x_stride, y_stride, n_scales, extract_keypoints >, cpl_visual_features::SIFTDes< 8, 8, 4, false >, cpl_visual_features::MyHOG< win_width, win_height, block_width, block_height, x_stride, y_stride, cell_width, cell_height, nbins >, cpl_visual_features::MyHOG< 64, 64, 16, 16, 8, 8, 8, 8, 9 >, cpl_visual_features::CannyEdges, cpl_visual_features::EdgeDensity, cpl_visual_features::LabColorHistogram< l_bins, a_bins, b_bins >, cpl_visual_features::LabColorHistogram< 12, 6, 6 >, cpl_visual_features::ColorCell, cpl_visual_features::Homogeneity, cpl_visual_features::HSVColorHistogram< h_bins, s_bins, v_bins >, cpl_visual_features::ColorHistogram< n_bins >, and cpl_visual_features::NormalizedSum.
float cpl_visual_features::AbstractFeature< descriptor >::sum | ( | std::vector< T > & | vect | ) | [inline] |
Definition at line 59 of file abstract_feature.h.