Above is the orignal image used for editing
Above is a grayscale version of the original image, generated by taking the green value of each pixel and setting the red and blue values to that value as well
Above is a color inverted version of the original image. This was done by subtracting the BGR values of each pixel from 255 and setting the new value of each pixel to the value we just got through subtraction.