#include <histogram_of_oriented_gradients.h>

Public Member Functions | |
| virtual cv::Mat | computeHOG (const cv::Mat &) |
| HOGFeatureDescriptor (const int=8, const int=2, const int=9, const float=180.0f) | |
Protected Attributes | |
| int | ANGLE |
| int | BINS_ANGLE |
| int | BLOCK |
| int | CELL |
| int | N_BINS |
Private Member Functions | |
| virtual void | bilinearBinVoting (const float &, int &, int &) |
| virtual cv::Mat | blockGradient (const int, const int, cv::Mat &) |
| template<typename T > | |
| T | computeHOGHistogramDistances (const cv::Mat &, std::vector< cv::Mat > &, const int=CV_COMP_BHATTACHARYYA) |
| virtual void | getHOG (const cv::Mat &, cv::Mat &, cv::Mat &) |
| virtual void | imageGradient (const cv::Mat &, cv::Mat &) |
Definition at line 13 of file histogram_of_oriented_gradients.h.
| HOGFeatureDescriptor::HOGFeatureDescriptor | ( | const int | cell_size = 8, |
| const int | block_per_cell = 2, |
||
| const int | n_bins = 9, |
||
| const float | angle = 180.0f |
||
| ) |
Definition at line 4 of file histogram_of_oriented_gradients.cpp.
| void HOGFeatureDescriptor::bilinearBinVoting | ( | const float & | angle, |
| int & | lower_index, | ||
| int & | higher_index | ||
| ) | [private, virtual] |
Definition at line 14 of file histogram_of_oriented_gradients.cpp.
| cv::Mat HOGFeatureDescriptor::blockGradient | ( | const int | col, |
| const int | row, | ||
| cv::Mat & | bins | ||
| ) | [private, virtual] |
Definition at line 77 of file histogram_of_oriented_gradients.cpp.
| cv::Mat HOGFeatureDescriptor::computeHOG | ( | const cv::Mat & | img | ) | [virtual] |
Definition at line 107 of file histogram_of_oriented_gradients.cpp.
| T HOGFeatureDescriptor::computeHOGHistogramDistances | ( | const cv::Mat & | patch, |
| std::vector< cv::Mat > & | imageHOG, | ||
| const int | distance_type = CV_COMP_BHATTACHARYYA |
||
| ) | [private] |
Definition at line 122 of file histogram_of_oriented_gradients.cpp.
| void HOGFeatureDescriptor::getHOG | ( | const cv::Mat & | image, |
| cv::Mat & | bins, | ||
| cv::Mat & | featureMD | ||
| ) | [private, virtual] |
Definition at line 92 of file histogram_of_oriented_gradients.cpp.
| void HOGFeatureDescriptor::imageGradient | ( | const cv::Mat & | image, |
| cv::Mat & | hog_bins | ||
| ) | [private, virtual] |
Definition at line 36 of file histogram_of_oriented_gradients.cpp.
int HOGFeatureDescriptor::ANGLE [protected] |
Definition at line 18 of file histogram_of_oriented_gradients.h.
int HOGFeatureDescriptor::BINS_ANGLE [protected] |
Definition at line 19 of file histogram_of_oriented_gradients.h.
int HOGFeatureDescriptor::BLOCK [protected] |
Definition at line 21 of file histogram_of_oriented_gradients.h.
int HOGFeatureDescriptor::CELL [protected] |
Definition at line 20 of file histogram_of_oriented_gradients.h.
int HOGFeatureDescriptor::N_BINS [protected] |
Definition at line 17 of file histogram_of_oriented_gradients.h.