Home | History | Annotate | Download | only in traincascade

Lines Matching refs:featureMap

353 void CvCascadeClassifier::writeFeatures( FileStorage &fs, const Mat& featureMap ) const
355 featureEvaluator->writeFeatures( fs, featureMap );
358 void CvCascadeClassifier::writeStages( FileStorage &fs, const Mat& featureMap ) const
369 (*it)->write( fs, featureMap );
435 Mat featureMap;
436 getUsedFeaturesIdxMap( featureMap );
439 writeStages( fs, featureMap );
440 writeFeatures( fs, featureMap );
549 void CvCascadeClassifier::getUsedFeaturesIdxMap( Mat& featureMap )
552 featureMap.create( 1, varCount, CV_32SC1 );
553 featureMap.setTo(Scalar(-1));
557 (*it)->markUsedFeaturesInMap( featureMap );
560 if ( featureMap.at<int>(0, fi) >= 0 )
561 featureMap.ptr<int>(0)[fi] = idx++;