

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


This is a pair programming problem! You are expected to work with the person you have been pared with in class, and you are both responsible for submitting the exact same code to T-Square.
You are new interns at Adobe. They have given you the job of implementing a few simple image filters. By the end of the week you need to write code that will take an image and do three operations to it. The first operation is to reduce the green value of every pixel by 50% (divide by 2). This will result in an image that has will look more Red and Blue. The second operation is to completely reverse the image. When you reverse an image you are making the last pixel first and the first pixel last. Visually, this results in both a flip and mirror (upside down and backwards) of the image. The third operation is to negate the image. To negate an image you replace each color with its negation. Remember that images are stored using 8 bits per color, so each color can have a value between 0 and
Turn In: Submit to T-Square the ImageManipulation.java file after you have completed the assignment. You do not need to submit any .class or .java~ files. Grading: Followed the Turn-In Procedure correctly. Both partner's files match exactly. 10 pts Reduce Green 30 pts 20 pts โ Reduces the Green value of each pixel by exactly 50% 10 pts โ Reduces only the green color component of pixels Reverse 30 pts 30 pts โ Correctly reverses the image Negate 30 pts 10 pts for each color channel correctly inverted Total Possible: 100 pts Misc Penalties: Program does not compile, or produces an error when running: -90 pt Violation of the CS 1316 programming guidelines (each) -1 pt No collaboration statement -100 pt