CMSS 110 (Introduction to Computing)
Fall 2012 - Section 2
Assignment #5
Due by 4:00 pm on Tuesday November 13, 2012
Task: Write a program that generates a collage of processed images.
The collage should be created by applying image processing techniques to draw
modified copies of a single image (or set of images) at multiple locations on your sketch window. At least four distinct modifications of the source image(s) should be used to create your collage.
For example, you may load your source image four times and then modify the pixel
colors of each. The modified images can then be drawn multiple times on your sketch at various locations, rotations and sizes to form your collage.
Step 1: Create at least four modified images from the original, using distinct image processing techniques. Example modifications include:
- Simple Filters - new pixel color is set depending on orignal color only
- mapping to grayscale, sepia, negative
- modifying brightness, contrast, color and transparency
- ...
- Pixel math - new pixel color is calculated based on pixels from another image
- Add/subtract images
- Blend images
- ...
- Spatial filters - new pixel color is set depending on neighboring pixels
- highpass filter - sharpen areas with rapid intensity changes (sharpen)
- lowpass filter - blur areas with rapid intensity changes (blur)
- dilation/erosion - morphological operation expanding/shrinking bright regions
- ...
- Image segmentation - new pixel color is set depending on some threshold
- thresholding color values - posterize, histogram, etc
- edge detection
- feature extraction
- ...
- Creative visualization
- pointillism
- other representations such as letters, symbols, shapes, fragments of other images etc.
- ...
Step 2: Create a collage from the set of processed images
that you generated in Step 1.
- Copy, resize, crop and sample the images at will to create fragments.
- Arrange the fragments in your sketch window to create a meaningful composite.
Use transformations liberally, including the following.
- translate()
- rotate()
- scale()
- pushMatrix()
- popMatrix()
- image()
- imageMode()
Requirements:
- Four processed images rendered as a collage.
- All modifications must be performed on the individual pixels of the original
image(s).
- One image should be processed using a creative visualization technique.
- One image should be processed using a spatial filtering technique.
- The other two (or more) can be your choice.
- Make sure to submit all images that you use with your original program.
- Make sure that proper headers and comments appear in your sketch file.
Carefully read the
Assignment Submission Policy