algorithm results within different OpenCV versions

asked 2017-11-14 07:20:46 -0500

dimam gravatar image


We are using OpenCV v3.1 and would like to upgrade to the newest v3.3. Our medical clinical applications are very sensitive to the algorithms output (while algorithms extensively use OpenCV calls).

  1. Can we be sure that the same methods and interfaces are preserved in the new release?
  2. Is there a guarantee that for the same methods with the same input image and parameters we'll get exactly the same output and results? Binary equality?



edit retag flag offensive close merge delete


1) It will be same method and interfaces. 2) The output will always be same as older version. The Binary will be same but depending on project.

supra56 gravatar imagesupra56 ( 2017-11-14 07:37:15 -0500 )edit

Btw, You are using 3.1. It will same as new 3.3.1, But the method will be slightly because of parameters.

supra56 gravatar imagesupra56 ( 2017-11-14 07:51:17 -0500 )edit

Why speculate while you can find out for yourself? Just upgrade to 3.3 and compare the results attained from 3.1. Or even better, upgrade one computer to 3.3 then compare 3.3 results to those of 3.1 in parallel.

eshirima gravatar imageeshirima ( 2017-11-14 08:29:14 -0500 )edit

thanks for the answers! Actually, I asked if the output of the methods in the version 3.3 will the binary the same as in version 3.1. I agree that should be no need to speculate, but testing all the methods for all the algorithms is a huge effort, so I hoped to get an answer from the community. Intel in its IPP, for example, guarantee the same binary output once upgrading IPP versions for the same methods.

dimam gravatar imagedimam ( 2017-11-14 08:41:42 -0500 )edit