30 likes | 214 Views
Interpolation. 1……2…….1………3 H = 0.5 1 1 0.5 Result x 1 1 x x 22 x x 11 x ….x 33 x. Simples interpolation is the tent filter Tent [ 0.5 1 0.5] / sum(filter) gauss [ 0.005 0.1 0.5 1 0.5 0.1 0.005] Seq = [ 0 10 0 5 0 ] Res = [ 0 5 10 7.5 5 2.5 0]
E N D
Interpolation 1……2…….1………3 H = 0.5 1 1 0.5 Result x 1 1 x x 22 x x 11 x ….x 33 x
Simples interpolation is the tent filter • Tent [ 0.5 1 0.5] / sum(filter) • gauss [ 0.005 0.1 0.5 1 0.5 0.1 0.005] • Seq = [ 0 10 0 5 0 ] • Res = [ 0 5 10 7.5 5 2.5 0] • They should be normalized
Assingment CG 14 • Implemnt interpolation with tent or gauss. • For image rotate or skew