0% found this document useful (0 votes)
20 views9 pages

Lecture2 2

The document discusses methods for image resampling, specifically focusing on image scaling and subsampling techniques. It explains how to reduce image size using Gaussian pre-filtering followed by subsampling, as well as methods for upsampling by repeating rows and columns. The document emphasizes the importance of filtering before subsampling to maintain image quality.

Uploaded by

asumi288hk
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views9 pages

Lecture2 2

The document discusses methods for image resampling, specifically focusing on image scaling and subsampling techniques. It explains how to reduce image size using Gaussian pre-filtering followed by subsampling, as well as methods for upsampling by repeating rows and columns. The document emphasizes the importance of filtering before subsampling to maintain image quality.

Uploaded by

asumi288hk
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Image Resampling

Image Scaling
This image is too big to fit on the
screen. How can we generate a
half-sized version?

Source: S. Seitz
Image sub-sampling

1/8

1/4

Throw away every other row and


column to create a smaller size image
- called image sub-sampling
Source: S. Seitz
Gaussian pre-filtering

G 1/8

G 1/4

Gaussian 1/2

• Solution: filter the image, then subsample


Source: S. Seitz
Subsampling with Gaussian pre-filtering

Gaussian 1/2 G 1/4 G 1/8

• Solution: filter the image, then subsample


Source: S. Seitz
Compare with...

1/2 1/4 (2x zoom) 1/8 (4x zoom)

Source: S. Seitz
Gaussian
pre-filtering
• Solution: filter
the image, then
subsample

F0 F1 F2

blur subsample blur subsample …


F0 * H F1 * H
Gaussian
pyramid

F0 F1 F2

blur subsample blur subsample …


F0 * H F1 * H
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”)

You might also like