Due: Monday, August 5th, 10AM PST
May be done in pairs
Your fifth assignment is an image editing program that will give you practice with 1D and 2D arrays and image manipulation.
There is a starter project including all of these problems that you can access using the link below. Once you have the starter code set up, edit the program files so that the assignment actually does what it’s supposed to do (see the assignment handout), which will involve a cycle of coding, testing, and debugging until everything works. The final step is to submit your assignment.
This assignment may (optionally) be done in pairs. As a reminder, you may only pair up with others with the same section time and location.
Note: In general, limit yourself to using Java syntax taught in lecture, and the parts of the textbook we have read, up through the release of this assignment (July 29). You may, however, use material covered in class past this date for any optional extensions. If you would like to implement any extensions, please implement them in a separate file, such as
ImageShopAlgorithmsExtra.java. Clearly comment at the top of this file what extensions you have implemented. Instructions on how to add files to the starter project are listed in the Eclipse page FAQ.
To run the demo, download the JAR file below and double-click it to run. If you are unable to run it by double-clicking (e.g. due to an error message on Macs), instead right-click on the demo JAR file and click "Open".
ImageShopAlgorithms.javais not a
ConsoleProgram, so you cannot call
println. To get around this, instead of writing just
println, you need to write
System.out.println, and the output will appear in the "Console" tab at the bottom of your Eclipse window.
Snowman, so I renamed it to my own name such as
DaveIsGreat. That is okay, right?