Recitation Assignment: Color Swap This is an individual assignment. Save the image RA_colorswap_source.jpg onto your computer from the class website. Your goal is to write a function that recolors each pixel in the image according to the following algorithm. If the pixel has more red than any other color, change it to completely green. If the pixel has more green than any other color, change it to completely blue. If the pixel has more blue than any other color, change it to completely red. Pixels with multiple highest color values (i.e. if red and blue are both the same value) (e.g. white and black) should be left as is. Note the color relationships: Red --> Green Green --> Blue Blue --> Red You'll have to make sure that your code does not end up making the image all one color. Helpful functions: makePicture( filename ) getPixels( picture ) getRed( pixel ) getGreen( pixel ) getBlue( pixel ) setRed( pixel, value ) setGreen( pixel, value ) setBlue( pixel, value ) Turn in both your source code (RA-colorswap.py) and your recolored JPG image to T-Square. Rubric: +1 correct function definition +5 looks at each pixel +3 correctly gets and changes colors (+1 for each color) +1 recolored image submitted with code