The output of the resize code for inter linear interpolation differs in the 2 version of opencv i.e 3.1 and 3.3

asked 2018-02-23 05:59:40 -0500

I am executing the code on arm device. The output is different for 2 version only for single channel image. The max difference between the pixel values is 2.I would like to know what is the difference between two version. Plz help !!

edit retag flag offensive close merge delete


LBerger gravatar imageLBerger ( 2018-02-23 06:02:47 -0500 )edit

please try to reproduce with current 3.4.1. none of 3.1 or 3.3 matter anymore.

berak gravatar imageberak ( 2018-02-23 06:03:04 -0500 )edit

I have seen the code of resize in both the versions they look pretty similar to me if somebody could point out what is the difference between the code of resize in 2 version that would really help !!. The only possibility i could think of is that flow of code is different for 2 versions. It may not be executing the function that i expect it to execute. My input is of 8 bit. So it should use Fixed point calculation. And i am assuming it will run the NEON code for vresize because i am executing it on a arm device. And for hresize there is no optimization present. If anybody could point out where i have gone wrong that would really help.

Ayush Goel gravatar imageAyush Goel ( 2018-02-23 23:08:24 -0500 )edit