#include <ocl.hpp>
|
| HOGDescriptor (Size win_size=Size(64, 128), Size block_size=Size(16, 16), Size block_stride=Size(8, 8), Size cell_size=Size(8, 8), int nbins=9, double win_sigma=DEFAULT_WIN_SIGMA, double threshold_L2hys=0.2, bool gamma_correction=true, int nlevels=DEFAULT_NLEVELS) |
|
size_t | getDescriptorSize () const |
|
size_t | getBlockHistogramSize () const |
|
void | setSVMDetector (const vector< float > &detector) |
|
void | detect (const oclMat &img, vector< Point > &found_locations, double hit_threshold=0, Size win_stride=Size(), Size padding=Size()) |
|
void | detectMultiScale (const oclMat &img, vector< Rect > &found_locations, double hit_threshold=0, Size win_stride=Size(), Size padding=Size(), double scale0=1.05, int group_threshold=2) |
|
void | getDescriptors (const oclMat &img, Size win_stride, oclMat &descriptors, int descr_format=DESCR_FORMAT_COL_BY_COL) |
|
§ anonymous enum
Enumerator |
---|
DEFAULT_WIN_SIGMA | |
§ anonymous enum
Enumerator |
---|
DEFAULT_NLEVELS | |
§ anonymous enum
Enumerator |
---|
DESCR_FORMAT_ROW_BY_ROW | |
DESCR_FORMAT_COL_BY_COL | |
§ HOGDescriptor()
cv::ocl::HOGDescriptor::HOGDescriptor |
( |
Size |
win_size = Size(64, 128) , |
|
|
Size |
block_size = Size(16, 16) , |
|
|
Size |
block_stride = Size(8, 8) , |
|
|
Size |
cell_size = Size(8, 8) , |
|
|
int |
nbins = 9 , |
|
|
double |
win_sigma = DEFAULT_WIN_SIGMA , |
|
|
double |
threshold_L2hys = 0.2 , |
|
|
bool |
gamma_correction = true , |
|
|
int |
nlevels = DEFAULT_NLEVELS |
|
) |
| |
§ checkDetectorSize()
bool cv::ocl::HOGDescriptor::checkDetectorSize |
( |
| ) |
const |
|
protected |
§ computeBlockHistograms()
void cv::ocl::HOGDescriptor::computeBlockHistograms |
( |
const oclMat & |
img | ) |
|
|
protected |
§ computeGradient()
§ detect()
void cv::ocl::HOGDescriptor::detect |
( |
const oclMat & |
img, |
|
|
vector< Point > & |
found_locations, |
|
|
double |
hit_threshold = 0 , |
|
|
Size |
win_stride = Size() , |
|
|
Size |
padding = Size() |
|
) |
| |
§ detectMultiScale()
void cv::ocl::HOGDescriptor::detectMultiScale |
( |
const oclMat & |
img, |
|
|
vector< Rect > & |
found_locations, |
|
|
double |
hit_threshold = 0 , |
|
|
Size |
win_stride = Size() , |
|
|
Size |
padding = Size() , |
|
|
double |
scale0 = 1.05 , |
|
|
int |
group_threshold = 2 |
|
) |
| |
§ getBlockHistogramSize()
size_t cv::ocl::HOGDescriptor::getBlockHistogramSize |
( |
| ) |
const |
§ getDefaultPeopleDetector()
static vector<float> cv::ocl::HOGDescriptor::getDefaultPeopleDetector |
( |
| ) |
|
|
static |
§ getDescriptors()
§ getDescriptorSize()
size_t cv::ocl::HOGDescriptor::getDescriptorSize |
( |
| ) |
const |
§ getPeopleDetector48x96()
static vector<float> cv::ocl::HOGDescriptor::getPeopleDetector48x96 |
( |
| ) |
|
|
static |
§ getPeopleDetector64x128()
static vector<float> cv::ocl::HOGDescriptor::getPeopleDetector64x128 |
( |
| ) |
|
|
static |
§ getWinSigma()
double cv::ocl::HOGDescriptor::getWinSigma |
( |
| ) |
const |
|
protected |
§ init_buffer()
void cv::ocl::HOGDescriptor::init_buffer |
( |
const oclMat & |
img, |
|
|
Size |
win_stride |
|
) |
| |
|
protected |
§ numPartsWithin() [1/2]
static int cv::ocl::HOGDescriptor::numPartsWithin |
( |
int |
size, |
|
|
int |
part_size, |
|
|
int |
stride |
|
) |
| |
|
staticprotected |
§ numPartsWithin() [2/2]
static Size cv::ocl::HOGDescriptor::numPartsWithin |
( |
Size |
size, |
|
|
Size |
part_size, |
|
|
Size |
stride |
|
) |
| |
|
staticprotected |
§ setSVMDetector()
void cv::ocl::HOGDescriptor::setSVMDetector |
( |
const vector< float > & |
detector | ) |
|
§ block_hists
oclMat cv::ocl::HOGDescriptor::block_hists |
|
protected |
§ block_size
Size cv::ocl::HOGDescriptor::block_size |
§ block_stride
Size cv::ocl::HOGDescriptor::block_stride |
§ cell_size
Size cv::ocl::HOGDescriptor::cell_size |
§ detector
oclMat cv::ocl::HOGDescriptor::detector |
|
protected |
§ effect_size
Size cv::ocl::HOGDescriptor::effect_size |
|
protected |
§ free_coef
float cv::ocl::HOGDescriptor::free_coef |
|
protected |
§ gamma_correction
bool cv::ocl::HOGDescriptor::gamma_correction |
§ grad
oclMat cv::ocl::HOGDescriptor::grad |
|
protected |
§ image_scale
oclMat cv::ocl::HOGDescriptor::image_scale |
|
protected |
§ labels
oclMat cv::ocl::HOGDescriptor::labels |
|
protected |
§ labels_host
Mat cv::ocl::HOGDescriptor::labels_host |
|
protected |
§ nbins
int cv::ocl::HOGDescriptor::nbins |
§ nlevels
int cv::ocl::HOGDescriptor::nlevels |
§ qangle
oclMat cv::ocl::HOGDescriptor::qangle |
|
protected |
§ threshold_L2hys
double cv::ocl::HOGDescriptor::threshold_L2hys |
§ win_sigma
double cv::ocl::HOGDescriptor::win_sigma |
§ win_size
Size cv::ocl::HOGDescriptor::win_size |
The documentation for this struct was generated from the following file: