#include <gpu.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 std::vector< float > &detector) |
| |
| void | detect (const GpuMat &img, std::vector< Point > &found_locations, double hit_threshold=0, Size win_stride=Size(), Size padding=Size()) |
| |
| void | detectMultiScale (const GpuMat &img, std::vector< Rect > &found_locations, double hit_threshold=0, Size win_stride=Size(), Size padding=Size(), double scale0=1.05, int group_threshold=2) |
| |
| void | computeConfidence (const GpuMat &img, std::vector< Point > &hits, double hit_threshold, Size win_stride, Size padding, std::vector< Point > &locations, std::vector< double > &confidences) |
| |
| void | computeConfidenceMultiScale (const GpuMat &img, std::vector< Rect > &found_locations, double hit_threshold, Size win_stride, Size padding, std::vector< HOGConfidence > &conf_out, int group_threshold) |
| |
| void | getDescriptors (const GpuMat &img, Size win_stride, GpuMat &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::gpu::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::gpu::HOGDescriptor::checkDetectorSize |
( |
| ) |
const |
|
protected |
§ computeBlockHistograms()
| void cv::gpu::HOGDescriptor::computeBlockHistograms |
( |
const GpuMat & |
img | ) |
|
|
protected |
§ computeConfidence()
| void cv::gpu::HOGDescriptor::computeConfidence |
( |
const GpuMat & |
img, |
|
|
std::vector< Point > & |
hits, |
|
|
double |
hit_threshold, |
|
|
Size |
win_stride, |
|
|
Size |
padding, |
|
|
std::vector< Point > & |
locations, |
|
|
std::vector< double > & |
confidences |
|
) |
| |
§ computeConfidenceMultiScale()
| void cv::gpu::HOGDescriptor::computeConfidenceMultiScale |
( |
const GpuMat & |
img, |
|
|
std::vector< Rect > & |
found_locations, |
|
|
double |
hit_threshold, |
|
|
Size |
win_stride, |
|
|
Size |
padding, |
|
|
std::vector< HOGConfidence > & |
conf_out, |
|
|
int |
group_threshold |
|
) |
| |
§ computeGradient()
§ detect()
| void cv::gpu::HOGDescriptor::detect |
( |
const GpuMat & |
img, |
|
|
std::vector< Point > & |
found_locations, |
|
|
double |
hit_threshold = 0, |
|
|
Size |
win_stride = Size(), |
|
|
Size |
padding = Size() |
|
) |
| |
§ detectMultiScale()
| void cv::gpu::HOGDescriptor::detectMultiScale |
( |
const GpuMat & |
img, |
|
|
std::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::gpu::HOGDescriptor::getBlockHistogramSize |
( |
| ) |
const |
§ getBuffer() [1/2]
§ getBuffer() [2/2]
§ getDefaultPeopleDetector()
| static std::vector<float> cv::gpu::HOGDescriptor::getDefaultPeopleDetector |
( |
| ) |
|
|
static |
§ getDescriptors()
§ getDescriptorSize()
| size_t cv::gpu::HOGDescriptor::getDescriptorSize |
( |
| ) |
const |
§ getPeopleDetector48x96()
| static std::vector<float> cv::gpu::HOGDescriptor::getPeopleDetector48x96 |
( |
| ) |
|
|
static |
§ getPeopleDetector64x128()
| static std::vector<float> cv::gpu::HOGDescriptor::getPeopleDetector64x128 |
( |
| ) |
|
|
static |
§ getWinSigma()
| double cv::gpu::HOGDescriptor::getWinSigma |
( |
| ) |
const |
|
protected |
§ numPartsWithin() [1/2]
| static int cv::gpu::HOGDescriptor::numPartsWithin |
( |
int |
size, |
|
|
int |
part_size, |
|
|
int |
stride |
|
) |
| |
|
staticprotected |
§ numPartsWithin() [2/2]
| static Size cv::gpu::HOGDescriptor::numPartsWithin |
( |
Size |
size, |
|
|
Size |
part_size, |
|
|
Size |
stride |
|
) |
| |
|
staticprotected |
§ setSVMDetector()
| void cv::gpu::HOGDescriptor::setSVMDetector |
( |
const std::vector< float > & |
detector | ) |
|
§ block_hists
| GpuMat cv::gpu::HOGDescriptor::block_hists |
|
protected |
§ block_hists_buf
| GpuMat cv::gpu::HOGDescriptor::block_hists_buf |
|
protected |
§ block_size
| Size cv::gpu::HOGDescriptor::block_size |
§ block_stride
| Size cv::gpu::HOGDescriptor::block_stride |
§ cell_size
| Size cv::gpu::HOGDescriptor::cell_size |
§ detector
| GpuMat cv::gpu::HOGDescriptor::detector |
|
protected |
§ free_coef
| float cv::gpu::HOGDescriptor::free_coef |
|
protected |
§ gamma_correction
| bool cv::gpu::HOGDescriptor::gamma_correction |
§ grad
| GpuMat cv::gpu::HOGDescriptor::grad |
|
protected |
§ grad_buf
| GpuMat cv::gpu::HOGDescriptor::grad_buf |
|
protected |
§ image_scales
| std::vector<GpuMat> cv::gpu::HOGDescriptor::image_scales |
|
protected |
§ labels
| GpuMat cv::gpu::HOGDescriptor::labels |
|
protected |
§ labels_buf
| GpuMat cv::gpu::HOGDescriptor::labels_buf |
|
protected |
§ labels_host
| Mat cv::gpu::HOGDescriptor::labels_host |
|
protected |
§ nbins
| int cv::gpu::HOGDescriptor::nbins |
§ nlevels
| int cv::gpu::HOGDescriptor::nlevels |
§ qangle
| GpuMat cv::gpu::HOGDescriptor::qangle |
|
protected |
§ qangle_buf
| GpuMat cv::gpu::HOGDescriptor::qangle_buf |
|
protected |
§ threshold_L2hys
| double cv::gpu::HOGDescriptor::threshold_L2hys |
§ win_sigma
| double cv::gpu::HOGDescriptor::win_sigma |
§ win_size
| Size cv::gpu::HOGDescriptor::win_size |
The documentation for this struct was generated from the following file: