Matlab
Title: Matlab
Category: /Science & Technology/Mathematics
Details: Words: 253 | Pages: 1 (approximately 235 words/page)
Matlab
Category: /Science & Technology/Mathematics
Details: Words: 253 | Pages: 1 (approximately 235 words/page)
Image Rotation
I used the size() function to determine the size of the input file's picture's matrix, and then used the inverse transformation matrix shown below to determine the source pixel for each destination pixel. My program determined whether the source pixel was within the 320 x 200 dimensions, and if so, painted the destination pixel into the output file and if not, left the value as 0, i.e. black.
Image Shearing
This program was very similar
showed first 75 words of 253 total
You are viewing only a small portion of the paper.
Please login or register to access the full copy.
Please login or register to access the full copy.
showed last 75 words of 253 total
and width than the original due to the fact that Outhorizontal and Outvertical needed the input of the current pixel and the adjacent pixel on the right, and the rightmost pixel was excluded.
Image Blurring
By averaging the pixel values with the 8 surrounding pixels, a blurring effect was achieved. Using the blurring formula shown below, blur.m processes all the pixels and creates a matrix "sum" which is a 'shifted' version of the original image.