Wednesday, June 25, 2008

Assignment #8 #3 pumpkins

Here are the images that were shrunk with method 1 in Assignment #7. They have been enlarged using bilinear interpolation. The images have f = 0.1 and f = 0.25.













Assignment #8 #2 method 2 spectrum

Here are the spectrum images shrunk and enlarged using nearest neighbour. The images are
f = 0.1, f = 0.25, f = 0.75.
















Assignment #8 #2 method 2 rocks

Here are the rocks that are shrunk and then enlarged using nearest neighbour, in the order
f = 0.1, f = 0.25, f = 0.75.







































Assignment #8 #2 method 2 pumpkins

Here are the images from Assignment 7 #2 (nearest neighbour) that have been enlarged using nearest neighbour. The images are f = 0.1, f = 0.25, f = 0.75.

























Assignment #8 #2 method 1 spectrum

Here are the enlarged spectrum images with f = 0.1, f = 0.25 and f = 0.75.















Assignment #8 #2 method 1 rocks

Here are the enlarged images of the rocks using nearest neighbour. They are also in the order
f = 0.1, f = 0.25, f = 0.75.







































Assignment #8 #2 method 1

Here are the images from Assignment #7 #1 enlarged using nearest neighbour:
They are in the order f = 0.1, f = 0.25 and f = 0.75 this time. It is obvious that shrinking to 10% and then enlarging to the original size is not effective.

























Tuesday, June 24, 2008

Assignment #7 method 3 spectrum

The images are the original, f = 0.75, f = 0.25, f = 0.1:



Sunday, June 22, 2008

Assignment #9 #5

These images are not as washed out as the last ones! This is the greyscale image with only 16 intensity values.
































Here is the code:

Assignment #9 #4

Here is the code for the greyscale image 64 intensity values.








Here are the two images. They are very washed out.















Assignment #9 #3

Here is the code:















Here are the greyscale images:


Assignment #9 #2

Here are the images with only 27 colours. My values are in the set {43, 129, 215}.


























































































Here is the code:



Assignment 8 #1

Here is the original image:














Here is a) fx = 1 and fy = 0.5




















Here is b) fx = 0.5 and fy = 1







Here is c) fx = 0.2 and fy = 0.8




Here is the code:

Assignment 7 method 1 spectrum

Here are the reduced spectrum images:

f = 0.75, f = 0.25, f = 0.1

Assignment #7 method 1 rocks

Here are the reduced images of the rocks:

f = 0.75, f = 0.25, f = 0.1




Assignment 7 method 1 pumpkins

Here is the code for number 1:














Here are the images with f = 0.75, f = 0.25 and f = 0.1: