Grayscale is just the sum of the rgb values of the pixels, correct?
mpotoole
@adigrao2012 A grayscale image is just an image with a single color channel. Summing/averaging the red, green, and blue channels produces a grayscale image, but there are other ways to produce an image with a single color channel. For example, you can just grab the green channel and interpret this as a grayscale image.
I will say though that summing the rgb values is probably the most sensible way to do this. Also, there are cameras that exist without color pixels (known as monochrome cameras) and every pixel captures the "sum" of red, green, and blue light.
Grayscale is just the sum of the rgb values of the pixels, correct?
@adigrao2012 A grayscale image is just an image with a single color channel. Summing/averaging the red, green, and blue channels produces a grayscale image, but there are other ways to produce an image with a single color channel. For example, you can just grab the green channel and interpret this as a grayscale image.
I will say though that summing the rgb values is probably the most sensible way to do this. Also, there are cameras that exist without color pixels (known as monochrome cameras) and every pixel captures the "sum" of red, green, and blue light.