











Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!












1
Interpolation used to simplify data for further processing
2
REPEAT Rows REPEAT Colms 1 1 3 3 5 5 7 7 1 1 3 3 5 5 7 7 2 2 4 4 6 6 8 8 2 2 4 4 6 6 8 8 7 7 5 5 3 3 1 1 7 7 5 5 3 3 1 1 8 8 6 6 4 4 2 2 8 8 6 6 4 4 2 2 a-Original image b- cropped image c- zoomed image
4 Original image cropped image zooming image This method allows us to enlarge an N×N sized image to a size of ( 2 N- 1 ) ×( 2 N- 1 ) and be repeated as desired.
Zero added 1 /^41 /^21 /^4 1 / 2 1 1 / 2 1 / 4 1 / 2 1 / 4 The mask
Resulted Image
13
14 K-Times zooming: K times is a zooming method we are going to discuss. It is one of the most
The best way to calculate the formula for the dimensions of a new image is to compare the dimensions of the original image and the final image. The dimensions of the original image were 2 X 3. And the dimensions of the new image are 4 x 7. The formula thus is: (K *(number of rows - 1 ) + 1 ) X (K *(number of cols - 1 ) + 1 ) Advantages and disadvantages The one of the clear advantage that k time zooming algorithm has that it is able to compute zoom of any factor which was the power of pixel replication algorithm also it gives improved result (less blurry) which was the power of zero order hold method. So hence It comprises the power of the two algorithms. The only difficulty this algorithm has that it has to be sort in the end , which is an additional step , and thus increases the cost of computation.
a (^1) - a f(n+ 1 ) f(n+a) f(n+a)=( 1 - a)f(n)+a f(n+ 1 ), 0 <a< 1 Example:- f(n)=[0,120,180,120,0] Numerical Examples 1 D Q : what is the interpolated value at f(n+a)?
f(x)=[0,60,120,150,180,150,120,60,0], a=0.
As seen in the example on the right, the intensity value at the pixel computed to be at row 20.2, column 14.5 can be calculated by first linearly interpolating between the values at column 14 and 15 on each rows 20 and 21 , giving This algorithm reduces some of the visual distortion caused by resizing an image to a non-integral zoom factor, as opposed to nearest neighbor interpolation, which will make some pixels appear larger than others in the resized image.