Skip to content

Blaze-Stars/Image-Filter-Application

Repository files navigation

Image-Filter-Application

An Application to apply different Filters to different BMPs Images. For now this is limited to gray scale, blur, reflect, edge, sepia.

Table of Contents

  1. Project Image-Filter-Application overview
  2. Building Image-Filter-Application
  3. Running Image-Filter-Application
  4. Contribution Guide

Project

This project is associated with Department of Integrated MCA, Utkal University.
Image Filter application is only available in command line application. To know more, here you can read the whole process we went through.

Pre-requisite

  1. CMake
  2. Make
  3. gcc

Building

To build Image-Filter-App, go to your project directory.

  1. Create a build dir
mkdir build
  1. Now its time for cmake to do configure and generate build files.
cmake -B build/
  1. Now its time for make to generate executable file. Head inside build dir and type.
make

Boom! You have successfully build Image-Filter-Application

Usage

  • Currently Image-Filter-Application supports 5 filters, these filters can be used using the following options below.
  • We have several example Images to test these filters stored in imgDB
Filters Flag
GrayScale g
Blur b
Reflect r
Edge e
Sepia s

To use any of the filters :

./filter infile outfile

Illustration

./filter img-db/yard.bmp out.bmp

 FILTER    : OPTION
 ------------------
 Blur        : b
 Edge        : e
 GrayScale   : g
 Reflect     : r
 Sepia       : s

 To QUIT press    : [q]
Enter option :b
Applied Blur filter successfully...

You can check out.bmp for Blured Result.

License

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.