Skip to content

ishancrat/Digital-Image-Processing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Digital-Image-Processing

File1
File1 contains basic codes pertaining to image processing. It begins with the reading and displaying of images. The sample images is first read and then displayed.


The next goal was to convert the given image to grayscale. Three methods were used-
  • Inbuilt Command (cvtColor)
  • Averaging pixel values across all channels
  • Using standard transform formula

Results of each of the above are displayed below, in the same order.


Next up, pixel intensities from each of the channels were picked up, and three grayscales were created, each having the intensities of a particular channel from the original image. The three images in order correspond to the blue channel, the green channel and the red channel respectively.



Further, colored channels were created. Only one of the channels was allowed to maintain its values while the pixel values in the remaining channels were set to zero.

Histogram Equalization

Histogram Equalization helps to improve the contrast of images by distributing the pixel intensities in a wider sense.
Initially, an 8 bit image was constructed and histogram equalization was applied to it.

Then the logic was extended and applied to a larger image

About

A repository of codes pertaining to digital image processing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors