Clear Filters
Clear Filters

When will be the "Zero mean cross correlation (ZNCC)" using Nvidia/CUDA available ?

5 views (last 30 days)
Hello, I know there is the "Normalized 2-D cross-correlation" function :normxcorr2.
But i am looking for the "Zero mean cross correlation (ZNCC)" function in matlab using Nvidia/CUDA.
Where could i find it (if exists), or even in c++ function ?
Will this function be in the next release R2017a ?
Thank you for you help

Answers (1)

Walter Roberson
Walter Roberson on 20 Nov 2016
As for MATLAB support: Mathworks does not reveal information about future products except under Non-Disclosure Agreement. You can contact Mathworks Sales to try to obtain information about plans for ZNCC cuda support.
  5 Comments
Walter Roberson
Walter Roberson on 20 Nov 2016
No, it is set up as a VS2010 project and does not offer a makefile which makes it more complex to build with OS-X or Linux.
Walter Roberson
Walter Roberson on 21 Nov 2016
I installed CUDA on my Mac and verified it was working. I copied in the above software, tweaked the include directories, tried to compile. It turned out to need OpenCV. I installed OpenCV from source. It needed CMake to compile. I installed CMake and started to build OpenCV. It couldn't handle current XCode. I installed old XCode command line tools; it wouldn't compile. I loaded in older XCode. I found an OpenCV designed to build on Mac and installed that, and went back to compile ZNCC. Compiling failed because ZNCC uses a Microsoft extension to C++ .
I installed a virtual machine from Microsoft for development and testing, and spent a while updating it (e.g., upgrading system updates.) It turned out that the virtual machine does not include any Visual Studio and was only for testing IE and Edge (not clear in any of the documentation.)
At this point, I have spent several hours and about 9 Gb of download bandwidth on this, and demonstrated that if it is possible to build on Mac then it would require some source hacking to compensate for it being written for VS. And I still don't have a Microsoft development environment.
I am not going to do any more on this until at least you describe what you mean by "But the visual studio environment was not correct set." Even then I am not sure I will do any more.

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!