Skip to content

xdic-dev/CppNCorr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CppNCorr

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

Build

To build the library, run the following command:

./build.sh

This will create a libncorr.a file in the lib directory. You can then link this library to your own projects.

Usage

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.sh

the build result will be in the bin directory. Then run the executable, for example, for the ohtcfrp example:

cd examples/ohtcfrp
./../../bin/ncorr_test

Check the video directory in the examples/ohtcfrp directory for the result video.

About

2D Digital Image Correlation C++ Software

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published