Difference between revisions of "Leila Aflatoony"
Jump to navigation
Jump to search
Line 52: | Line 52: | ||
*[http://www.sfu.ca/~laflatoo/iat800/assignment 3 - 01] | *[http://www.sfu.ca/~laflatoo/iat800/assignment 3 - 01] | ||
+ | |||
+ | '''Create a subclass of PImage that implements a mosaic( int blockSize )method.The blockSize parameter specifies how big the mosaic block is (e.g. blockSize = 4 would mean the mosaic block size is 4 pixels by 4 pixels). The mosaic method should replace each block of pixels in the image (e.g. if blockSize = 4, each block of 4 by 4 pixels) with the average color value of the pixels in that block. Look at the Pixelate->Mosaic filter in photoshop for an example of what this image operation does. Demonstrate your new class by drawing an image with several different block sizes.''' |
Revision as of 02:09, 4 November 2009
Assignment 1
- assignment 1 - 1
- assignment 1 - 2
- assignment 1 - 3
- assignment 1 - 4
- assignment 1 - 5
- assignment 1 - 6
- assignment 1 - 7
- assignment 1 - 8
- assignment 1 - 9
- assignment 1 - 10
- assignment 1 - 11
- assignment 1 - 12
- assignment 1 - 13
- assignment 1 - 14
- assignment 1 - 15
- assignment 1 - 16
project 1
Assignment 2
- assignment 2 - 1
- assignment 2 - 2
- assignment 2 - 3
- assignment 2 - 4
- assignment 2 - 5
- assignment 2 - 6
- assignment 2 - 7
- assignment 2 - 8
- assignment 2 - 9
- assignment 2 - 10
- assignment 2 - 11
- assignment 2 - 12
- assignment 2 - 13
- assignment 2 - 14
project 2
part 2
Assignment 3
Create a subclass of PImage that implements a mosaic( int blockSize )method.The blockSize parameter specifies how big the mosaic block is (e.g. blockSize = 4 would mean the mosaic block size is 4 pixels by 4 pixels). The mosaic method should replace each block of pixels in the image (e.g. if blockSize = 4, each block of 4 by 4 pixels) with the average color value of the pixels in that block. Look at the Pixelate->Mosaic filter in photoshop for an example of what this image operation does. Demonstrate your new class by drawing an image with several different block sizes.