1 / 13

Image Interpolation

CS4670: Computer Vision. Noah Snavely. Image Interpolation. Image Scaling. Last time: This image is too big to fit on the screen. How can we generate a half-sized version?. Source: S. Seitz. Upsampling. This image is too small for this screen: How can we make it 10 times as big?

jpirkle
Download Presentation

Image Interpolation

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CS4670: Computer Vision Noah Snavely Image Interpolation

  2. Image Scaling Last time: This image is too big to fit on the screen. How can we generate a half-sized version? Source: S. Seitz

  3. Upsampling • This image is too small for this screen: • How can we make it 10 times as big? • Simplest approach: repeat each row and column 10 times • (“Nearest neighbor interpolation”)

  4. Image interpolation d = 1 in this example 1 2 3 4 5 • Recall how a digital image is formed • It is a discrete point-sampling of a continuous function • If we could somehow reconstruct the original function, any new image could be generated, at any resolution and scale Adapted from: S. Seitz

  5. Image interpolation d = 1 in this example 1 2 3 4 5 • Recall how a digital image is formed • It is a discrete point-sampling of a continuous function • If we could somehow reconstruct the original function, any new image could be generated, at any resolution and scale Adapted from: S. Seitz

  6. Image interpolation • Guess an approximation: • Can be done in a principled way: filtering d = 1 in this example 1 1 2 3 4 5 2.5 • What if we don’t know ? • Convert to a continuous function: • Reconstruct by convolution with a reconstruction filter,h Adapted from: S. Seitz

  7. Image interpolation “Ideal” reconstruction Nearest-neighbor interpolation Linear interpolation Gaussian reconstruction Source: B. Curless

  8. Reconstruction filters What does the 2D version of this hat function look like? performs linear interpolation (tent function) performs bilinear interpolation • Often implemented without cross-correlation • E.g., http://en.wikipedia.org/wiki/Bilinear_interpolation • Better filters give better resampled images • Bicubic is common choice Cubic reconstruction filter

  9. Image interpolation Original image: x 10 Nearest-neighbor interpolation Bilinear interpolation Bicubic interpolation

  10. Image interpolation Also used for resampling

  11. Raster to Vector Graphics

  12. Depixelating Pixel Art

  13. Questions?

More Related