Image manipulation programs like PhotoShop include various filters or transformations that are applied to images to produce different effects. In this lab you will write a Java program that can apply four different transformations on a loaded image.
● Invert colors
● Convert to grayscale
● Generate an “embossed” image
● Add a motion-blur effect
The first two transformations, invert and grayscale, modify each pixel independent of the values of the pixels around it. Emboss and motion-blur, on the other hand, modify each pixel based on the values of the other pixels around it. More detailed descriptions of each transformation are given below.