grayscale

fun <I> Operation<I, BufferedImage>.grayscale(): Operation<I, BufferedImage>

Applies Convert operation to convert the image to ColorMode.GRAYSCALE.