This repo is an Open source for Digital Image Processing.
Contribute by @kingLCH,@jinbaoziyl
Writen by C/C++ totally, cross platform.
Instruction for each folders:
folders | comment | others |
---|---|---|
3rd_party | for 3rd dependent lib (manually tanshou) | |
data | for test image, result image and so on | |
include | head file | |
unit_tests | demos for each function usage | |
src | source code | |
docs | documents |
Cmake build this project. OpenDIP project have a requirement for including third party libraries, such as Catch2, Eigen or OpenCV. Environment Requirement for build:
$ uname -a
Linux yanglin 4.18.0-15-generic #16~18.04.1-Ubuntu SMP Thu Feb 7 14:06:04 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
As catch2 or Eigen3 are available as a single header file I have downloaded it and checked it into my repository, source code in document ‘3rd_party/catch2’
Opencv,Matplotlibcpp are optional in Root Cmakelist.txt, as follows:
option(WITH_OPENCV "With OpenCV Support" ON)
option(WITH_MATPLOTLIB_CPP "With Matplotlib-cpp Support" ON)
Notice: To support Matplotlibcpp, install software in Ubuntu:
sudo apt-get install python-matplotlib python-numpy python2.7-dev
$ mkdir build
$ cd build
$ cmake ..
$ make
$ ./OpenDIP
$ make test
or
$ ./unit_tests
Install C/C++ development environment first. if you want build vs project, install Visual Studio Tools
$ mkdir build
$ cd build
$ cmake .. # default vs prj, could find vs prj files
if you want build MinGW project, install MinGW then Configure environment variables
$ mkdir build
$ cd build
$ cmake -G "MinGW Makefiles" .. #diff
$ mingw32-make.exe
$ ./OpenDIP
$ make test
or
$ ./unit_tests
持续更新中......