Yang Jiao [email protected]
Geng Yang [email protected]
- OpenCV 3.4.1 (only for loading images)
- OpenMP 4.0
- CUDA 10.0.130
- Redhat 7 (Brown's CCV)
This software can be built on Linux, macOS and Windows, the instructions are as follows.
- Clone the repository.
$ [email protected]:Genggg/ParaHausdorff.git
- If build on CCV, please load the following modules.
$ moudle load opencv/3.4.1
$ moudle load cuda/10.0.130
- Generate MakeFile and Compile.
$ mkdir build
$ cd build
$ cmake ..
$ make
- Modify the execution command in
cuda.sh
, in which the following args are the paths of target image and template respectively.
./main ../img/coins.jpg ../img/coin_T.png
- Submit the task and check the result
$ sbatch cuda.sh
$ cat run.out