Wednesday, June 18, 2008

Assign 8, Q2

Use nearest neighbour approximation (n.a.) to 'enlarge' a colour image using f=1/f.

Note that I could change my n.a. function from f's to 1/f's or I could just take an 'f' and plug it into 1/f.

Ex: f=0.5=1/2 so 1/f=1/(1/2)=2.

Therefore I can use my same n.a. function used in assignment #7, Q2, but use values of f>1.

Here is how f=1.2 looks like:

No comments: