This Program is written by Abubakr Shafique (abubakr.shafique@gmail.com)
This program will help you to invert the colors of your image in GPU (CUDA) and C++
In order to run this program. Please follow the simple steps, but first make sure you have Miscrosoft Visual Studio installed, and a compatible CUDA SDK installed.
- Make a new Nvidia CUDA Project in Visual Studio.
- Set the Project Configuration to Release mode and 64 bit system.
- Add these three project files in your project. (you can also copy paste the code. It's not necessary to include these file. you can just use the code also.).
- Add the OpenCV "Include" directories in the "C/C++" section of the project properties inside the "Additional Include Directories".
- Now Add the Library path in the "Linker" Section and into the "Additional Library Directories".
- Name the input libraries in the "Input" Section of the linker.
Now Compile the code and Run it.
:)
CHEERS.
Video Demo: https://www.youtube.com/watch?v=uAYafmIZvuc&feature=youtu.be