🤖
AIによる機械翻訳(非公式) — これは OpenCV 4.13.0 公式リファレンス(英語)を AI (Claude) で自動翻訳したものです。訳に誤りを含む場合があります。正確な情報は
公式英語版(原文) を参照してください。
#include "opencv2/core.hpp"
#include "opencv2/imgproc.hpp"
#include <iostream>
#include <string>
#include <time.h>
|
| #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 |
| |
◆ CC_FEATURE_PARAMS
| #define CC_FEATURE_PARAMS "featureParams" |
◆ CC_FEATURE_SIZE
| #define CC_FEATURE_SIZE "featSize" |
◆ CC_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
◆ CC_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: \
(p0) = (rect).x + (step) * (rect).y; \
\
(p1) = (rect).x + (rect).width + (step) * (rect).y; \
\
(p2) = (rect).x + (step) * ((rect).y + (rect).height); \
\
(p3) = (rect).x + (rect).width + (step) * ((rect).y + (rect).height);
◆ CV_TILTED_OFFSETS
| #define CV_TILTED_OFFSETS |
( |
| p0, |
|
|
| p1, |
|
|
| p2, |
|
|
| p3, |
|
|
| rect, |
|
|
| step ) |
Value: \
(p0) = (rect).x + (step) * (rect).y; \
\
(p1) = (rect).x - (rect).height + (step) * ((rect).y + (rect).height);\
\
(p2) = (rect).x + (rect).width + (step) * ((rect).y + (rect).width); \
\
(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
◆ N_CELLS