You have chosen to sponsor your bid up to a maximum amount of .
You are asked to complete ImageManipulation.java. You must write two static methods in Java, spiral and phaseShift, each of which manipulates an image. The specification of these images can be found in ImageManipulation.java.
The [url removed, login to view] demonstrates the exact functionality of spiral and an example of a phaseShift that is similar to what you are asked to produce.
Download the files ImageManipulation.java , IFrame.java , IMTCanvas.java and [url removed, login to view] .
1.Compile all the files - you should run IFrame to test your program.
2.Edit the ImageManipulation.java file by deleting some text (which is specified in the header) - note, of course, your file will no longer compile until you add in some of your own code!
3.Complete the phaseshift method.
[url removed, login to view] the IFrame test class to see if your phaseShift method works.
5.Complete the spiral method.
[url removed, login to view] the IFrame test class to see if your spiral method works.
You can do phaseshift and spiral in any order - they are independent of each other. Spiral requires some coordinate geometry which we will look at briefly in next week's lecture, although the formula you need for the rotation is given in the supplied file, and can be treated as a "black box".