This repo contains a handful of the most famous algorithms for image processing, coded from scratch just using math and several data structures such as vectors and queues.
You will need to install OpenCV for C++.
I recommend using Microsoft Visual Studio for the debugging and running of the scripts. Once you have downloaded OpenCV for C++, open Visual Studio and follow the steps:
-
Create a New Empty Project.
-
Go to the
Solution Explorer
and over theSource Files
folder, andright click > Add > C++ File
. -
Paste in
Source.cpp
file the script you choose. -
Go to
Project > Project Properties
.
- Click on
VC++
option and change the following directories in bold.
- Go to this directory in your
C:\
disk and copy the file name.
- Then, click on
Linker > Input
where you will paste the copied name from last step.
-
Click on Apply.
-
Change the top
Debug
option tox64
. -
Run the code.