- Petar Kaselj
- Marijan Simundic Bendic
- Eugen Vrlic
Advanced Computer Architecture Project
Image median filter implemented on CPU, GPU (CUDA, CUDA w/ shared memory)
-
- opencv_world455 (.dll | .pdb )
- opencv_world455d (.dll | .pbd )
-
MS Visual Studio Community 2019 (Version 16.11.10)
-
CUDA 11.5 or newer
-
Clone repository
git clone git@github.com:pkaselj/MedianFilter.git
-
Download and install OpenCV 4.5.5
-
Copy
<OpenCV folder>\build\x64\vc15\bin\opencv_world455.dll ---> <Project Folder>\external\dll\release <OpenCV folder>\build\x64\vc15\bin\opencv_world455.pdb ---> <Project Folder>\external\dll\release <OpenCV folder>\build\x64\vc15\bin\opencv_world455d.dll ---> <Project Folder>\external\dll\debug <OpenCV folder>\build\x64\vc15\bin\opencv_world455d.dll ---> <Project Folder>\external\dll\debug
-
Add CUDA as a build dependecy to project:
- In Visual Studio 2019 Solution Explorer:
- Right click on MedianFilter project
- Build dependencies > Build customizations...
- Select CUDA 11.5(.targets, .props) (or newer)
- Confirm by clicking OK
In Visual Studio select profile Release x64
or profile Debug x64
and click Start
or Local Windows Debugger