Skip to content

A small python script to convert images to greyscales by averaging RGB values per pixel.

Notifications You must be signed in to change notification settings

deenaariff/GrayScale

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Convert Images to GreyScale

Python script using matplotlib and numpy to convert any image to grayscale through averaging RGB values in a three dimensional numpy-array of the image.

Usage

python grey.py <image.filextension>

Sample

Original Image (Color.jpg)

alt tag

Final Image (Gray.png)

alt tag

About

A small python script to convert images to greyscales by averaging RGB values per pixel.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages