Question: In Python, please. F Graphics P4.52 Convert an image to grayscale by changing each pixel to a gray one. Because the color receptors in the
In Python, please.
F Graphics P4.52 Convert an image to grayscale by changing each pixel to a gray one. Because the color receptors in the human eye have different sensitivities, you cannot simply average the original red, green, and blue values. Instead, compute the gray level as gray = 0.2126 x red + 0.7152 x green + 0.0722 x blue Courtesy of Cay Horstmann
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
