It is a basic Image Processing project. Demonstrating the various filters like dull, sharpen, emboss, blur and rotate.
It Implements a simple Image Processing algorithm :
for each image row in input image:
for each pixel in image row:
set accumulator to zero
for each kernel row in kernel:
for each element in kernel row:
if element position corresponding* to pixel position then
multiply element value corresponding* to pixel value
add result to accumulator
endif
set output image pixel to accumulator
- First the code has to be compiled using gcc or g++ compiler.
- Then run the code and write the image name to be filtered.
- Then it will creates the filtered image itself.
- The Repo provides you 2 images of lena :- colored and blank & white.
- There are some sample outputs in Sample_Outputs folder.
- There are also some additional bmp images for experiments in More_Images folder.
- Note : These program only work for bmp formate images.(You can modify the code for more formate)