Image Scaling. This image is too big to fit on the screen. How can we reduce it? How to generate a halfsized

Similar documents
Announcements. Image Processing. What s an image? Images as functions. Image processing. What s a digital image?

Image Sampling. Moire patterns. - Source: F. Durand

Sampling and Pyramids

Image Pyramids. Sanja Fidler CSC420: Intro to Image Understanding 1 / 35

CS6670: Computer Vision Noah Snavely. Administrivia. Administrivia. Reading. Last time: Convolution. Last time: Cross correlation 9/8/2009

Image Interpolation. Image Processing

ECE 484 Digital Image Processing Lec 09 - Image Resampling

Last Lecture. photomatix.com

Image Filtering and Gaussian Pyramids

Filters. Materials from Prof. Klaus Mueller

Images and Filters. EE/CSE 576 Linda Shapiro

Last Lecture. photomatix.com

Sampling and Reconstruction

Aliasing and Antialiasing. What is Aliasing? What is Aliasing? What is Aliasing?

Next Classes. Spatial frequency Fourier transform and frequency domain. Reminder: Textbook. Frequency view of filtering Hybrid images Sampling

06: Thinking in Frequencies. CS 5840: Computer Vision Instructor: Jonathan Ventura

Overview. Neighborhood Filters. Dithering

Thinking in Frequency

CS4495/6495 Introduction to Computer Vision. 2C-L3 Aliasing

CSC 320 H1S CSC320 Exam Study Guide (Last updated: April 2, 2015) Winter 2015

Matlab (see Homework 1: Intro to Matlab) Linear Filters (Reading: 7.1, ) Correlation. Convolution. Linear Filtering (warm-up slide) R ij

Sampling and reconstruction. CS 4620 Lecture 13

Image Filtering. Reading Today s Lecture. Reading for Next Time. What would be the result? Some Questions from Last Lecture

Image Forgery. Forgery Detection Using Wavelets

Sampling and reconstruction

CSCI 1290: Comp Photo

Sampling and reconstruction

Midterm Examination CS 534: Computational Photography

IMAGE PROCESSING: AREA OPERATIONS (FILTERING)

Sampling and Reconstruction

Thinking in Frequency

Sampling and pixels. CS 178, Spring Marc Levoy Computer Science Department Stanford University. Begun 4/23, finished 4/25.

Midterm is on Thursday!

ECC419 IMAGE PROCESSING

Vision Review: Image Processing. Course web page:

Texture mapping from 0 to infinity

02/02/10. Image Filtering. Computer Vision CS 543 / ECE 549 University of Illinois. Derek Hoiem

Efficient Construction of SIFT Multi-Scale Image Pyramids for Embedded Robot Vision

Multimedia Systems Giorgio Leonardi A.A Lectures 14-16: Raster images processing and filters

Prof. Feng Liu. Fall /04/2018

Antialiasing & Compositing

PRACTICAL IMAGE AND VIDEO PROCESSING USING MATLAB

Observer Performance of Reduced X-Ray Images on Liquid Crystal Displays

Convolution Pyramids. Zeev Farbman, Raanan Fattal and Dani Lischinski SIGGRAPH Asia Conference (2011) Julian Steil. Prof. Dr.

Digital Image Processing

Region Adaptive Unsharp Masking Based Lanczos-3 Interpolation for video Intra Frame Up-sampling

image Scanner, digital camera, media, brushes,

Image Processing (EA C443)

Image Processing. Image Processing. What is an Image? Image Resolution. Overview. Sources of Error. Filtering Blur Detect edges

Fourier Transforms in Radio Astronomy

XXXX - ANTI-ALIASING AND RESAMPLING 1 N/08/08

This content has been downloaded from IOPscience. Please scroll down to see the full text.

Computer Graphics (Fall 2011) Outline. CS 184 Guest Lecture: Sampling and Reconstruction Ravi Ramamoorthi

!"!#"#$% Lecture 2: Media Creation. Some materials taken from Prof. Yao Wang s slides RECAP

Digital Image Processing. Digital Image Fundamentals II 12 th June, 2017

Analysis of the Interpolation Error Between Multiresolution Images

CS534 Introduction to Computer Vision. Linear Filters. Ahmed Elgammal Dept. of Computer Science Rutgers University

Image representation, sampling and quantization

Digital images. Digital Image Processing Fundamentals. Digital images. Varieties of digital images. Dr. Edmund Lam. ELEC4245: Digital Image Processing

Antialiasing and Related Issues

Comparative Study of Different Wavelet Based Interpolation Techniques

Sampling Theory. CS5625 Lecture Steve Marschner. Cornell CS5625 Spring 2016 Lecture 7

8.2 IMAGE PROCESSING VERSUS IMAGE ANALYSIS Image processing: The collection of routines and

ECE 484 Digital Image Processing Lec 10 - Image Restoration I

Spatial Analyst is an extension in ArcGIS specially designed for working with raster data.

DISCRETE WAVELET TRANSFORM-BASED SATELLITE IMAGE RESOLUTION ENHANCEMENT METHOD

Improvement of Satellite Images Resolution Based On DT-CWT

Filtering Images in the Spatial Domain Chapter 3b G&W. Ross Whitaker (modified by Guido Gerig) School of Computing University of Utah

The Difference Between Image Resizing and Resampling in Photoshop

Sampling of Continuous-Time Signals. Reference chapter 4 in Oppenheim and Schafer.

Filters. Motivating Example. Tracking a fly, oh my! Moving Weighted Average Filter. General Picture

MULTIMEDIA SYSTEMS

Practical Image and Video Processing Using MATLAB

קורס גרפיקה ממוחשבת 2008 סמסטר ב' Image Processing 1 חלק מהשקפים מעובדים משקפים של פרדו דוראנד, טומס פנקהאוסר ודניאל כהן-אור

Orthonormal bases and tilings of the time-frequency plane for music processing Juan M. Vuletich *

Application of Wavelet Transform on Multiresolution Image Mosaicing

Motion illusion, rotating snakes

Image Restoration and Super- Resolution

Target detection in side-scan sonar images: expert fusion reduces false alarms

SAMPLING THEORY. Representing continuous signals with discrete numbers

Satellite Image Resolution Enhancement Technique Using DWT and IWT

Fourier analysis of images

OFFSET AND NOISE COMPENSATION

Lecture 2: Digital Image Fundamentals -- Sampling & Quantization

Image Processing. What is an image? קורס גרפיקה ממוחשבת 2008 סמסטר ב' Converting to digital form. Sampling and Reconstruction.

A Novel Method for Enhancing Satellite & Land Survey Images Using Color Filter Array Interpolation Technique (CFA)

Chapter 3 Digital Image Processing CS 3570

Image Processing for feature extraction

Sampling and Reconstruction

Subband coring for image noise reduction. Edward H. Adelson Internal Report, RCA David Sarnoff Research Center, Nov

Resolution Enhancement of Satellite Image Using DT-CWT and EPS

IMAGE ENHANCEMENT IN SPATIAL DOMAIN

Denoising and Effective Contrast Enhancement for Dynamic Range Mapping

Introduction to Wavelet Transform. Chapter 7 Instructor: Hossein Pourghassem

EE482: Digital Signal Processing Applications

Color Space 1: RGB Color Space. Color Space 2: HSV. RGB Cube Easy for devices But not perceptual Where do the grays live? Where is hue and saturation?

restoration-interpolation from the Thematic Mapper (size of the original

CoE4TN4 Image Processing. Chapter 3: Intensity Transformation and Spatial Filtering

Panoramic Image Mosaics

McGraw-Hill Irwin DIGITAL SIGNAL PROCESSING. A Computer-Based Approach. Second Edition. Sanjit K. Mitra

Transcription:

Resampling

Image Scaling This image is too big to fit on the screen. How can we reduce it? How to generate a halfsized version?

Image sub-sampling 1/8 1/4 Throw away every other row and column to create a 1/2 size image Why does this look so crufty? Called nearest-neighbor sampling

Even worse for synthetic images

Sampling and the Nyquist rate Aliasing can arise when you sample a continuous signal or image Demo applet http://www.cs.brown.edu/exploratories/freesoftware/repository/edu/brown/cs/explorator ies/applets/nyquist/nyquist_limit_java_plugin.html occurs when your sampling rate is not high enough to capture the amount of detail in your image formally, the image contains structure at different scales called frequencies in the Fourier domain the sampling rate must be high enough to capture the highest frequency in the image To avoid aliasing: sampling rate > 2 * max frequency in the image i.e., need more than two samples per period This minimum sampling rate is called the Nyquist rate

Subsampling with Gaussian pre-filtering G 1/4 G 1/8 Gaussian 1/2 Solution: filter the image, then subsample Filter size should double for each ½ size reduction. Why? How can we speed this up?

Some times we want many resolutions Known as a Gaussian Pyramid [Burt and Adelson, 1983] In computer graphics, a mip map [Williams, 1983] A precursor to wavelet transform Gaussian Pyramids have all sorts of applications in computer vision We ll talk about these later in the course

Gaussian pyramid construction filter mask Repeat Filter Subsample Until minimum resolution reached can specify desired number of levels (e.g., 3-level pyramid) The whole pyramid is only 4/3 the size of the original image!

Image resampling So far, we considered only power-of-two subsampling What about arbitrary scale reduction? How can we increase the size of the image? 1 2 3 4 5 Recall how a digital image is formed d = 1 in this example 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

Image resampling So far, we considered only power-of-two subsampling What about arbitrary scale reduction? How can we increase the size of the image? 1 2 3 4 5 Recall how a digital image is formed d = 1 in this example 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

Image resampling So what to do if we don t know Answer: guess an approximation Can be done in a principled way: filtering 1 d = 1 in this example 1 2 2.5 3 4 5 Image reconstruction Convert to a continuous function Reconstruct by cross-correlation:

Resampling filters What does the 2D version of this hat function look like? performs linear interpolation performs bilinear interpolation Better filters give better resampled images Bicubic is common choice fit 3 rd degree polynomial surface to pixels in neighborhood can also be implemented by a convolution or cross-correlation

Subsampling with bilinear pre-filtering BL 1/4 BL 1/8 Bilinear 1/2

Bilinear interpolation A common method for resampling images