cv::moments giving different results in Windows and Mac (Bug #2945)
Description
I have detected that the cv::moments function provides different results for some of the moments when running on Windows and Mac. I provide a simple executable and a file containing one contour to help you reproduce the issue. The following repository contains a standalone application to ilustrate the different results, as well as the results obtained with our setups https://github.com/MiguelAlgaba/MomentsOpenCV. Those are the configurations where I have got different results:
Windows setup- Windows Server 2008 R2 Standard (64bit)
- Compiler: Microsoft Visual 2008 (32 bit)
- OpenCV versions: 2.3.1 - 2.4.4 (master branch)
- IPP (disabled)
- OpenMP (disabled)
- SSE, SSE2 (enabled)
- CUDA (disabled)
- OpenCL (disabled)
- Mac OS X 10.8.3 (64bit)
- Compiler (clang): Apple LLVM version 4.2 (clang-425.0.27) (based on LLVM 3.2svn)
- OpenCV versions: 2.3.1 - 2.4.4 (master branch)
- IPP (disabled)
- OpenMP (disabled)
- SSE, SSE2, SSE3 (enabled)
- CUDA (disabled)
- OpenCL (disabled)
History
Updated by Andrey Kamaev almost 12 years ago
Outputs from attached zip differ only in formatting.
- Status changed from Open to Cancelled