Академический Документы
Профессиональный Документы
Культура Документы
1
D
2
k
K = 1
4
Where:
Z = Surrounding 4 data points
D = Distance to each point
ADVANTAGES: ADVANTAGES:
Stair Stair- -step effect caused by the nearest neighbor approach is step effect caused by the nearest neighbor approach is
reduced. Image looks smooth. reduced. Image looks smooth.
DISADVANTAGES: DISADVANTAGES:
Alters original data and reduces contrast by averaging Alters original data and reduces contrast by averaging
neighboring values together. neighboring values together.
Is computationally more expensive than nearest neighbor. Is computationally more expensive than nearest neighbor.
Bilinear Interpolation (cont.) Bilinear Interpolation (cont.)
6
Unrectifiedraster image
Rectified using bilinear interpolation
resampling. Noticethedark edgecells
created by averaging zero values located
around theperimeter of theouput fileinto
real datavalues
Bilinear Interpolation (cont.) Bilinear Interpolation (cont.)
Brightness valuematrix of unrectifiedimage
BV matrix of nearest neighbor resampled image
Cubic Convolution Cubic Convolution
The cubic convolution approach uses the weighted average of the nearest
sixteen pixels to the output pixel. The output is similar to bilinear
interpolation, but the smoothing effect caused by the averaging of surrounding
input pixel values is more dramatic.
BV
wt
=
Z
k
D
2
k
K = 1
16
1
D
2
k
K = 1
16
Where:
Z = Surrounding 4 data points
D = Distance to each point
ADVANTAGES:
Stair-step effect caused by the nearest neighbor approach is
reduced. Image looks smooth.
DISADVANTAGES:
Alters original data and reduces contrast by averaging neighboring
values together.
Is computationally more expensive than nearest neighbor or
bilinear interpolation.
Cubic Convolution (cont.) Cubic Convolution (cont.)
Unrectifiedraster image
Rectified using cubic convolution
resampling. Noticethedark edgecells
created by averaging zero values located
around theperimeter of theouput fileinto
real datavalues
Brightness value matrix of unrectified image
BV matrix of cubic convol. resampled image
Cubic Convolution (cont.) Cubic Convolution (cont.)
7
Nearest Neighbor subtracted from Bilinear Interpolation Nearest Neighbor subtracted from Bilinear Interpolation
2.7 2.3 76 0 7
0.6 0.4 8 0 6
4.0 3.5 69 0 5
3.3 2.8 65 0 4
3.0 2.2 113 0 3
2.0 1.2 92 0 2
3.2 2.2 98 0 1
stdv mean max min band
Nearest Neighbor subtracted from Cubic Convolution Nearest Neighbor subtracted from Cubic Convolution
3.1 2.7 73 0 7
0.7 0.6 9 0 6
4.7 4.2 90 0 5
3.9 3.4 66 0 4
3.5 2.6 133 0 3
2.3 1.5 105 0 2
3.6 2.6 116 0 1
stdv mean max min band
Bilinear Interpolation subtracted from Cubic Convolution Bilinear Interpolation subtracted from Cubic Convolution
1.5 1.4 46 0 7
0.4 0.2 3 0 6
2.3 2.2 41 0 5
1.9 1.7 35 0 4
1.7 1.4 46 0 3
1.2 0.8 51 0 2
1.8 1.3 52 0 1
stdv mean max min band
2.7 2.3 76 0 7
0.6 0.4 8 0 6
4.0 3.5 69 0 5
3.3 2.8 65 0 4
3.0 2.2 113 0 3
2.0 1.2 92 0 2
3.2 2.2 98 0 1
stdv mean max min band
3.1 2.7 73 0
0.7 0.6 9 0
4.7 4.2 90 0
3.9 3.4 66 0
3.5 2.6 133 0
2.3 1.5 105 0
3.6 2.6 116 0
stdv mean max min
1.5 1.4 46 0
0.4 0.2 3 0
2.3 2.2 41 0
1.9 1.7 35 0
1.7 1.4 46 0
1.2 0.8 51 0
1.8 1.3 52 0
stdv mean max min
NN NN - - BL BL
NN NN - - CC CC
BL BL - - CC CC