Difference between revisions of "CSC111 Homework 7 2014"
Line 9: | Line 9: | ||
<br /> | <br /> | ||
<center>[[Image:pres.jpg]]</center> | <center>[[Image:pres.jpg]]</center> | ||
+ | <br /> | ||
+ | =Details= | ||
+ | * The picture of President Cathy McCartney is exactly one quarter the size of the full image. The size of her picture is one half the width of the full image, and the height of the picture one half the full height. | ||
+ | * The file is coded as a jpg file. | ||
+ | <br /> | ||
+ | =Requirements= | ||
+ | <br /> | ||
+ | * You need to write a JES program that contains several functions, one function for each basic transformation. | ||
+ | * Your program will copy the image of the president in the 3 other quadrants. We'll refer to these as quadrant images. | ||
+ | * Your program will make one of the copied images black and white | ||
+ | * Your program will transform one of the quadrant images and divide it into 4, applying an image transformation to the top-left and bottom-right corners as illustrated with this picture of the cat. | ||
+ | <br /> | ||
+ | <center>[[Image:QuadrantCat.png]]</center> | ||
<br /> | <br /> |
Revision as of 20:06, 10 March 2014
Assignment
- First observe how Andy Warhol took a picture of Marilyn Monroe and turned it into a work of art:
- You are going to apply similar transformations to this picture of a famous local person:
Details
- The picture of President Cathy McCartney is exactly one quarter the size of the full image. The size of her picture is one half the width of the full image, and the height of the picture one half the full height.
- The file is coded as a jpg file.
Requirements
- You need to write a JES program that contains several functions, one function for each basic transformation.
- Your program will copy the image of the president in the 3 other quadrants. We'll refer to these as quadrant images.
- Your program will make one of the copied images black and white
- Your program will transform one of the quadrant images and divide it into 4, applying an image transformation to the top-left and bottom-right corners as illustrated with this picture of the cat.