Few filters for 24-bit uncompressed bitmap images.
Filters for 24 bit uncompressed bitmap images. Available filters are:
Grayscale - Converts the image into a single sample containing only intensity information.
Reflect - Converts the image into its mirror image.
Blur - Blurs the image.
Edge - Highlights the edges in the image. It uses basic sobel operator to detect the edges.
$ git clone https://github.com/sachinkumarsingh092/bitmap-filter.git
bitmap-filter
$ cd bitmap-filter
make
to build the executable.If you want to remove the executable, use the
$ make
clean
target in make
You will need to install
$ make clean
clang
if not already available. To use gcc
compiler make changes in Makefile accordingly.Original Image:
./filter -g input.bmp output.bmp
$ ./filter -r input.bmp output.bmp
$ ./filter -b input.bmp output.bmp
@1470958627655/Lena-image-blurred-by-7-2-7-out-of-focus-kernel.png" width="412" height="412" />
$ ./filter -e input.bmp output.bmp