Given two images, the program combines them based on the threshold used (C++ and OpenCV)
First assignment for the Computer Vision course of Università Ca' Foscari Venezia, academic year 2017/2018
Install OpenCV:
$ git clone --depth 1 https://github.com/opencv/opencv.git
$ cd opencv
$ mkdir build
$ cd build
$ cmake ../ -DCMAKE_BUILD_TYPE="Release"
$ make -j 2
$ make install
How to build 'opencv_miximages':
$ mkdir build
$ cd build
$ cmake ../ -DOpenCV_DIR="<insert the path of your opencv/build directory>"
$ make
How to run 'opencv_miximages':
$ cd build
$ make run
or, alternatively:
$ make install
$ cd dist/bin
and run the generated executable
Federico Marcuzzi, 2020