This is the fork of the official repo for the complete C++ port of Ncorr_2D_cpp.
In this fork, we have added the following features:
- Update some modules to make it runnable
- Parallelization using OpenMP
- Loading of images from a memory-mapped file
- Manual seeding point picking
- Smart seeding update on failure
To build the library, run the following command:
./build.shThis will create a libncorr.a file in the lib directory. You can then link this library to your own projects.
To use the library, you can include the header file ncorr.h and link against the library libncorr.a. Check the test directory for examples. For example, ncorr_test.cpp is a simple example that shows how to use the library. You can compile it using the following command:
cd test
./../build.shthe build result will be in the bin directory. Then run the executable, for example, for the ohtcfrp example:
cd examples/ohtcfrp
./../../bin/ncorr_testCheck the video directory in the examples/ohtcfrp directory for the result video.