Converts any image to gray levels. This tool works with the standard RGB format and all supported raw image formats produced by color cameras. If a grayscale image is needed, it is faster to directly convert the raw color image buffer to gray levels than to first transform it to RGB.
- Any color or grayscale image.
- A grayscale image. If the input is already a grayscale image, it will be passed unmodified.