Giter Club home page Giter Club logo

image-filters's Introduction

Image-Filters

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

Implementation

  1. First the code has to be compiled using gcc or g++ compiler.
  2. Then run the code and write the image name to be filtered.
  3. Then it will creates the filtered image itself.

Addition Informations

  • 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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.