Wednesday, June 18, 2008

Assign 8, Q1b

Using the function written already and fx=0.5, fy=1...

I get the following modified image by typing:

a=imread("ppic1.jpg");
b=double(a)/255;
c=shrinkimg(b,0.5,1);

Then usual imwrite and imshow process gives you:

No comments: