CSC 421: Algorithm Design & Analysis
Spring 2017

HW4: Greedy Images


For this assignment, you will write several methods for manipulating JPG images. A framework for manipulating images is given to you with the following classes:

Currently, the ImageViewer class has methods for reducing and expanding the size of the image, for inverting all of the pixels, and for reflecting along the horizontal axis. You are to add methods to perform the following transformations: