Image Rotation and Warping - PowerPoint PPT Presentation

1 / 7
About This Presentation
Title:

Image Rotation and Warping

Description:

All images are represented as a matrix with values in discrete locations ... Camera lenses and perspective distorts 2d representation ... – PowerPoint PPT presentation

Number of Views:58
Avg rating:3.0/5.0
Slides: 8
Provided by: dapk
Category:

less

Transcript and Presenter's Notes

Title: Image Rotation and Warping


1
Image Rotation and Warping
  • By Chris Dapkus and Zach Goff

2
Pixel Rotation Problem
  • All images are represented as a matrix with
    values in discrete locations
  • Direct rotation does not result in the new
    location of each pixel to a discrete location
  • Rotation equations
  • x2cos(t)(x1-x0)-sin(t)(y1-y0)x0
  • y2sin(t)(x1-x0)cos(t)(y1-y0)y0
  • where (x0,y0) is the image center

3
Pixel Values
  • Matlab has 3 different methods in assigning
    values to the discrete matrix values
  • Nearest neighbor
  • Bilinear
  • Bicubic
  • All remaining matrix positions are set to 0

4
Examples
Original
Nearest Neighbor
Bilinear
Bicubic
5
Differences
Threshold0
Threshold5
Bicubic to Nearest neighbor
Bicubic to Bilinear
6
Image Warping
  • Camera lenses and perspective distorts 2d
    representation
  • To match features exactly, images must be warped.
  • Corresponding control points between 2 images are
    selected to control warping
  • Image is warped using homography

7
Warped Image
Write a Comment
User Comments (0)
About PowerShow.com