fix typo in integral buffer initialization

This commit is contained in:
marina.kolpakova 2013-03-02 09:33:17 +04:00
parent 1bf696f392
commit d539dae6d0

View File

@ -137,7 +137,7 @@ BoostedSoftCascadeOctave::BoostedSoftCascadeOctave(cv::Rect bb, int np, int nn,
int w = boundingBox.width;
int h = boundingBox.height;
integrals.create(poolSize, (w / shrinkage + 1) * (h / shrinkage * builder->totalChannels() + 1), CV_32SC1);
integrals.create(npositives + nnegatives, (w / shrinkage + 1) * (h / shrinkage * builder->totalChannels() + 1), CV_32SC1);
}
BoostedSoftCascadeOctave::~BoostedSoftCascadeOctave(){}