| OpenCV 5.0.0alpha Open Source Computer Vision

Loading...
Searching...
No Matches
Classes | Namespaces | Macros | Functions
feature.hpp File Reference
`#include "opencv2/core.hpp"`
`#include "opencv2/imgproc.hpp"`
`#include <iostream>`
`#include <string>`
`#include <time.h>`
Include dependency graph for feature.hpp:
This graph shows which files directly or indirectly include this file:

## Classes
class | cv::detail::tracking::contrib_feature::CvFeatureEvaluator
class | cv::detail::tracking::contrib_feature::CvFeatureParams
class | cv::detail::tracking::contrib_feature::CvHaarEvaluator
class | cv::detail::tracking::contrib_feature::CvHaarFeatureParams
class | cv::detail::tracking::contrib_feature::CvHOGEvaluator
struct | cv::detail::tracking::contrib_feature::CvHOGFeatureParams
class | cv::detail::tracking::contrib_feature::CvLBPEvaluator
struct | cv::detail::tracking::contrib_feature::CvLBPFeatureParams
class | cv::detail::tracking::contrib_feature::CvParams
class | cv::detail::tracking::contrib_feature::CvHOGEvaluator::Feature
class | cv::detail::tracking::contrib_feature::CvLBPEvaluator::Feature
class | cv::detail::tracking::contrib_feature::CvHaarEvaluator::FeatureHaar

## Namespaces
namespace | cv
namespace | cv::detail
namespace | cv::detail::tracking
namespace | cv::detail::tracking::contrib_feature

## Macros
#define | CC_FEATURE_PARAMS "featureParams"
#define | CC_FEATURE_SIZE "featSize"
#define | CC_FEATURES FEATURES
#define | CC_ISINTEGRAL "isIntegral"
#define | CC_MAX_CAT_COUNT "maxCatCount"
#define | CC_NUM_FEATURES "numFeat"
#define | CC_RECT "rect"
#define | CC_RECTS "rects"
#define | CC_TILTED "tilted"
#define | CV_HAAR_FEATURE_MAX 3
#define | CV_SUM_OFFSETS(p0, p1, p2, p3, rect, step)
#define | CV_TILTED_OFFSETS(p0, p1, p2, p3, rect, step)
#define | FEATURES "features"
#define | HFP_NAME "haarFeatureParams"
#define | HOGF_NAME "HOGFeatureParams"
#define | LBPF_NAME "lbpFeatureParams"
#define | N_BINS 9
#define | N_CELLS 4

## Functions
template<class Feature >
void | cv::detail::tracking::contrib_feature::_writeFeatures (const std::vector< Feature > features, FileStorage &fs, const Mat &featureMap)
float | cv::detail::tracking::contrib_feature::calcNormFactor (const Mat &sum, const Mat &sqSum)

## Macro Definition Documentation

## ◆ CC_FEATURE_PARAMS

#define CC_FEATURE_PARAMS "featureParams"

## ◆ CC_FEATURE_SIZE

#define CC_FEATURE_SIZE "featSize"

## ◆ CC_FEATURES

#define CC_FEATURES FEATURES

## ◆ CC_ISINTEGRAL

#define CC_ISINTEGRAL "isIntegral"

## ◆ CC_MAX_CAT_COUNT

#define CC_MAX_CAT_COUNT "maxCatCount"

## ◆ CC_NUM_FEATURES

#define CC_NUM_FEATURES "numFeat"

## ◆ CC_RECT

#define CC_RECT "rect"

## ◆ CC_RECTS

#define CC_RECTS "rects"

## ◆ CC_TILTED

#define CC_TILTED "tilted"

## ◆ CV_HAAR_FEATURE_MAX

#define CV_HAAR_FEATURE_MAX 3

## ◆ CV_SUM_OFFSETS

#define CV_SUM_OFFSETS | ( |  | p0,
|  |  | p1,
|  |  | p2,
|  |  | p3,
|  |  | rect,
|  |  | step )

Value:
/* (x, y) */ \
(p0) = (rect).x + (step) * (rect).y; \
/* (x + w, y) */ \
(p1) = (rect).x + (rect).width + (step) * (rect).y; \
/* (x + w, y) */ \
(p2) = (rect).x + (step) * ((rect).y + (rect).height); \
/* (x + w, y + h) */ \
(p3) = (rect).x + (rect).width + (step) * ((rect).y + (rect).height);

## ◆ CV_TILTED_OFFSETS

#define CV_TILTED_OFFSETS | ( |  | p0,
|  |  | p1,
|  |  | p2,
|  |  | p3,
|  |  | rect,
|  |  | step )

Value:
/* (x, y) */ \
(p0) = (rect).x + (step) * (rect).y; \
/* (x - h, y + h) */ \
(p1) = (rect).x - (rect).height + (step) * ((rect).y + (rect).height);\
/* (x + w, y + w) */ \
(p2) = (rect).x + (rect).width + (step) * ((rect).y + (rect).width); \
/* (x + w - h, y + w + h) */ \
(p3) = (rect).x + (rect).width - (rect).height \
+ (step) * ((rect).y + (rect).width + (rect).height);

## ◆ FEATURES

#define FEATURES "features"

## ◆ HFP_NAME

#define HFP_NAME "haarFeatureParams"

## ◆ HOGF_NAME

#define HOGF_NAME "HOGFeatureParams"

## ◆ LBPF_NAME

#define LBPF_NAME "lbpFeatureParams"

## ◆ N_BINS

#define N_BINS 9

## ◆ N_CELLS

#define N_CELLS 4