Download presentation
Presentation is loading. Please wait.
Published byHester Marshall Modified over 8 years ago
1
Arithmetic and Geometric Transformations (Chapter 2) CS474/674 – Prof. Bebis
2
Addition Useful for combining information between two images: 0 <= α <= 1
3
Averaging (see Example 2.5 on page 75) Image quality can be improved by averaging several images together (e.g., very useful in astronomy). 5 10 20 50 100 Note: images must be registered!
4
Subtraction Useful for “change” detection.
5
Geometric Transformations Transformation applied on the coordinates of the pixels (i.e., relocate pixels). A geometric transformation has the general form (x,y) = T{(v,w)} where (v,w) are the original pixel coordinates and (x,y) are the transformed pixel coordinates.
6
Geometric Transformations affine transformation y=v sinθ + w cosθ
7
Forward mapping Transformed pixel coordinates might not lie within the bounds of the image. Transformed pixel coordinates can be non-integer. Certain locations in the transformed image might not have a corresponding pixel in the input image. No one-to-one correspondence!
8
Forward mapping (cont’) An example of holes due to image rotation, implemented using the forward transformation.
9
Inverse Mapping To guarantee that a value is generated for every pixel in the output image, we must consider each output pixel in turn and use the inverse mapping to determine the position in the input image. To assign intensity values to these locations, we need to use some form of intensity interpolation.
10
Interpolation (cont’d) Zero-order interpolation: nearest-neighbor
11
Interpolation (cont’d) First-order interpolation: average
12
Interpolation (cont’d) Bilinear interpolation I(x,y) = ax + by + cxy + d The 4 unknowns (a,b,c,d) can be determined from 4 equations formed by the 4 nearest neighbors.
13
Interpolation (cont’d) Bilinear interpolation http://en.wikipedia.org/wiki/Bilinear_interpolation
14
Interpolation (cont’d) Bicubic interpolation It involves the 16 nearest neighbors of a point (i.e., 4x4 window). The 16 unknowns a ij can be determined from sixteen equations formed by the 16 nearest neighbors.
15
Examples: Interpolation
19
Image Registration Goal: align two or more images of the same scene. How: estimate a transformation that aligns the two images.
20
Image Registration (cont’d) Under certain assumptions, an affine transformation can be used to align two images. –There are 6 unknowns (i.e., t 11, t 12, t 21, t 22, t 31, t 32 ) –We need at least 6 equations. –Three correspondences are enough, more are better. Unknowns? Equations? Correspondences?
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.