#include <histogram_of_oriented_gradients.h>
◆ HOGFeatureDescriptor()
HOGFeatureDescriptor::HOGFeatureDescriptor |
( |
const int |
cell_size = 8 , |
|
|
const int |
block_per_cell = 2 , |
|
|
const int |
n_bins = 9 , |
|
|
const float |
angle = 180.0f |
|
) |
| |
◆ bilinearBinVoting()
void HOGFeatureDescriptor::bilinearBinVoting |
( |
const float & |
angle, |
|
|
int & |
lower_index, |
|
|
int & |
higher_index |
|
) |
| |
|
privatevirtual |
◆ blockGradient()
cv::Mat HOGFeatureDescriptor::blockGradient |
( |
const int |
col, |
|
|
const int |
row, |
|
|
cv::Mat & |
bins |
|
) |
| |
|
privatevirtual |
◆ computeHOG()
cv::Mat HOGFeatureDescriptor::computeHOG |
( |
const cv::Mat & |
img | ) |
|
|
virtual |
◆ computeHOGHistogramDistances()
template<typename T >
T HOGFeatureDescriptor::computeHOGHistogramDistances |
( |
const cv::Mat & |
patch, |
|
|
std::vector< cv::Mat > & |
imageHOG, |
|
|
const int |
distance_type = CV_COMP_BHATTACHARYYA |
|
) |
| |
|
private |
◆ getHOG()
void HOGFeatureDescriptor::getHOG |
( |
const cv::Mat & |
image, |
|
|
cv::Mat & |
bins, |
|
|
cv::Mat & |
featureMD |
|
) |
| |
|
privatevirtual |
◆ imageGradient()
void HOGFeatureDescriptor::imageGradient |
( |
const cv::Mat & |
image, |
|
|
cv::Mat & |
hog_bins |
|
) |
| |
|
privatevirtual |
◆ ANGLE
int HOGFeatureDescriptor::ANGLE |
|
protected |
◆ BINS_ANGLE
int HOGFeatureDescriptor::BINS_ANGLE |
|
protected |
◆ BLOCK
int HOGFeatureDescriptor::BLOCK |
|
protected |
◆ CELL
int HOGFeatureDescriptor::CELL |
|
protected |
◆ N_BINS
int HOGFeatureDescriptor::N_BINS |
|
protected |
The documentation for this class was generated from the following files: