This project is a simple Implementation of the Grayscale and Sobel Image Filters.
- OpenCV 3.4.10
git clone https://github.com/opencv/opencv.git
git checkout 3.4.10
mkdir build && cd build
cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=/usr/local ..
make
sudo make install
mkdir build
cd build
cmake ..
make
Mit OpenCV für jpg-Bilder:
./sobel_cpu ../resources/lena-color.jpg ../resources/filtered.jpg
Die Testbench zum Checken der Korrektheit von grayscale & sobel
./sobel_tb <red.data> <green.data> <blue.data> <gray.data> <sobel.data>
This command will load the image '../resources/lena-color.jpg', apply a grayscale filter to it. Finally, the sobel filter is used to perform edge-detection.