mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 15:23:05 +04:00
Implementation of bit-exact resize. Internal calls to linear resize updated to use bit-exact version. (#9468)
This commit is contained in:
committed by
Vadim Pisarevsky
parent
84ee4d701a
commit
51cb56ef2c
@@ -1323,7 +1323,7 @@ cvHaarDetectObjectsForROC( const CvArr* _img,
|
||||
norm1 = cvMat( sz1.height, sz1.width, CV_32FC1, normImg ? normImg->data.ptr : 0 );
|
||||
mask1 = cvMat( sz1.height, sz1.width, CV_8UC1, temp->data.ptr );
|
||||
|
||||
cvResize( img, &img1, CV_INTER_LINEAR );
|
||||
cvResize( img, &img1, cv::INTER_LINEAR_EXACT );
|
||||
cvIntegral( &img1, &sum1, &sqsum1, _tilted );
|
||||
|
||||
int ystep = factor > 2 ? 1 : 2;
|
||||
|
||||
Reference in New Issue
Block a user