Computer Science, asked by Theva3803, 1 year ago

Convert different pixels to difeerent colours using the pixle values in rgb

Answers

Answered by sonali2853
1

Explanation:

It has 256 different shades of colors in it. It is commonly known as Grayscale image. The range of the colors in 8 bit vary from 0-255

You just have to take the average of three colors. Since its an RGB image, so it means that you have add r with g with b and then divide it by 3 to get your desired grayscale image. For example: If you have an color image like the image shown above and you want to convert it into grayscale using average method.

Similar questions
Math, 6 months ago