This time, let’s write some code for a GrayScale conversion.
GrayScale conversion = turning a color image into a black-and-white (grayscale) one.
Normally, a color image is expressed with three channels: RGB (red, green, blue).What we do here is sque...