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
@@ -191,7 +191,7 @@ void App::run()
|
||||
if (abs(scale-1.0)>0.001)
|
||||
{
|
||||
Size sz((int)((double)img_aux.cols/resize_scale), (int)((double)img_aux.rows/resize_scale));
|
||||
resize(img_aux, img, sz);
|
||||
resize(img_aux, img, sz, 0, 0, INTER_LINEAR_EXACT);
|
||||
}
|
||||
else img = img_aux;
|
||||
img.copyTo(img_to_show);
|
||||
|
||||
Reference in New Issue
Block a user