Home
last modified time | relevance | path

Searched refs:featureIdx (Results 1 – 10 of 10) sorted by relevance

/external/opencv3/modules/rsobjdetect/src/rs/
DdetectAt.rs19 int featureIdx;
121 float ret = haarFeatures[stump.featureIdx].weight[0]
122 * evaluateIntegral(x, width, 0, haarFeatures[stump.featureIdx])
123 + haarFeatures[stump.featureIdx].weight[1]
124 * evaluateIntegral(x, width, 1, haarFeatures[stump.featureIdx]);
125 if( haarFeatures[stump.featureIdx].weight[2] != 0.0f )
126 ret += haarFeatures[stump.featureIdx].weight[2]
127 * evaluateIntegral(x, width, 2, haarFeatures[stump.featureIdx]);
155 void addStump(const int featureIdx, const float threshold, const float left, const float right) {
157 h.featureIdx = featureIdx;
/external/opencv3/modules/objdetect/src/
Dcascadedetect.hpp56 virtual float calcOrd(int featureIdx) const;
57 virtual int calcCat(int featureIdx) const;
177 int featureIdx; member
199 : featureIdx(_featureIdx), threshold(_threshold), left(_left), right(_right) {} in Stump()
201 int featureIdx; member
372 float operator()(int featureIdx) const in operator ()()
373 { return optfeaturesPtr[featureIdx].calc(pwin) * varianceNormFactor; } in operator ()()
374 virtual float calcOrd(int featureIdx) const in calcOrd()
375 { return (*this)(featureIdx); } in calcOrd()
457 int operator()(int featureIdx) const in operator ()()
[all …]
DHaarStructs.h12 int featureIdx; member
Dcascadedetect.cpp1462 st.featureIdx = data.stumps[j].featureIdx; in setHaarVars()
1658 node.featureIdx = (int)*internalNodesIter; ++internalNodesIter; in read()
1691 stumps.push_back(Stump(node.featureIdx, node.threshold, in read()
/external/opencv3/apps/traincascade/
Dhaarfeatures.h37 virtual float operator()(int featureIdx, int sampleIdx) const;
73 inline float CvHaarEvaluator::operator()(int featureIdx, int sampleIdx) const in operator()
76 return !nf ? 0.0f : (features[featureIdx].calc( sum, tilted, sampleIdx)/nf); in operator()
Dlbpfeatures.h20 virtual float operator()(int featureIdx, int sampleIdx) const in operator()
21 { return (float)features[featureIdx].calc( sum, sampleIdx); } in operator()
DHOGfeatures.h54 int featureIdx = varIdx / (N_BINS * N_CELLS); in operator() local
57 return features[featureIdx].calc( hist, normSum, sampleIdx, componentIdx); in operator()
Dtraincascade_features.h83 virtual float operator()(int featureIdx, int sampleIdx) const = 0;
/external/opencv3/modules/cudaobjdetect/src/cuda/
Dlbp.hpp64 int featureIdx; member
Dlbp.cu214 uchar4 feature = features[node.featureIdx]; in operator ()()