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
@@ -1617,7 +1617,7 @@ public class ImgprocTest extends OpenCVTestCase {
|
||||
Mat src = new Mat(imgprocSz, imgprocSz, CvType.CV_8UC1, new Scalar(1));
|
||||
Size dsize = new Size(1, 1);
|
||||
|
||||
Imgproc.resize(src, dst, dsize);
|
||||
Imgproc.resize(src, dst, dsize, 0, 0, Imgproc.INTER_LINEAR_EXACT);
|
||||
|
||||
truth = new Mat(1, 1, CvType.CV_8UC1, new Scalar(1));
|
||||
assertMatEqual(truth, dst);
|
||||
|
||||
Reference in New Issue
Block a user