/GrayScale

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

Primary LanguagePython

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