Skip to content

meghasundriyal/MCS302_Digital_Image_Processing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image Processing In Python

Digital Image Processing deals with analysis and manipulation of 'Digitized Images'. This repository contains programs to show basic image processing tasks.

Basic installations :

  • Install Python
  • Download and install Pillow for Python

Test Image :

The above gray scale image is used for image processing, color images can also be used.

Transformations :

  1. Add pixel value : To every pixel a constant value is added.
  2. Image Negative : Each pixel value of the input image is subtracted from the 255(2^8 - 1) and mapped onto the output image. As a result, darker pixels become light and ligter become dark.
  3. Log Transformation : The log transformations uses the following equation:

    new pixel = c ∗log(old pixel +1)

    where c is a constant.
  4. Power Law Transformation : The general form of Power law (Gamma) transformation function is :

    new pixel = s = c*power(old pixel, gamma)

    where c and gamma are constants.

About

Programs done during MCS302

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published