A Fast Approximation of the Bilateral Filter using a Signal Processing Approach Sylvain Paris and Frédo Durand Computer Science and Artificial Intelligence.

Slides:



Advertisements
Similar presentations
Course Evaluations 4 Random Individuals will win an ATI Radeon tm HD2900XT.
Advertisements

CSCE 643 Computer Vision: Template Matching, Image Pyramids and Denoising Jinxiang Chai.
CSCE643: Computer Vision Bayesian Tracking & Particle Filtering Jinxiang Chai Some slides from Stephen Roth.
Contrast-Aware Halftoning Hua Li and David Mould April 22,
Image Processing Lecture 4
Chapter 3 Image Enhancement in the Spatial Domain.
Digital Photography with Flash and No-Flash Image Pairs By: Georg PetschniggManeesh Agrawala Hugues HoppeRichard Szeliski Michael CohenKentaro Toyama,
David Luebke1/19/99 CS 551/651: Antialiasing David Luebke
Accelerating Spatially Varying Gaussian Filters Jongmin Baek and David E. Jacobs Stanford University.
CS 551 / CS 645 Antialiasing. What is a pixel? A pixel is not… –A box –A disk –A teeny tiny little light A pixel is a point –It has no dimension –It occupies.
M.S. Student, Hee-Jong Hong
Low Complexity Keypoint Recognition and Pose Estimation Vincent Lepetit.
ORT (other random topics) CSE P 576 Larry Zitnick
University of Groningen Institute of Mathematics and Computing Science Universitá degli Studi di Roma Tre Dipartimento di Elettronica Applicata Well Posed.
Gaussian KD-Tree for Fast High-Dimensional Filtering A. Adams, N. Gelfand, J. Dolson, and M. Levoy, Stanford University, SIGGRAPH 2009.
Filtering CSE P 576 Larry Zitnick
CS5520 Image-Based Rendering © Chun-Fa Chang, Spring 2003 Sampling Theorem & Antialiasing April 15, 2003.
SUSAN: structure-preserving noise reduction EE264: Image Processing Final Presentation by Luke Johnson 6/7/2007.
Image Enhancement.
Algorithms for Noise Removal and the Bilateral Filter Michael Elad Scientific Computing and Computational Mathematics (SCCM) Program Stanford University.
1 Image filtering Images by Pawan SinhaPawan Sinha.
Understanding and evaluating blind deconvolution algorithms
Retinex by Two Bilateral Filters Michael Elad The CS Department The Technion – Israel Institute of technology Haifa 32000, Israel Scale-Space 2005 The.
Geometry-driven Diffusion.
CS448f: Image Processing For Photography and Vision Denoising.
A Gentle Introduction to Bilateral Filtering and its Applications Limitation? Pierre Kornprobst (INRIA) 0:20.
Image Representation Gaussian pyramids Laplacian Pyramids
CSCE 441: Computer Graphics Image Filtering Jinxiang Chai.
Fast Bilateral Filtering
Tone mapping with slides by Fredo Durand, and Alexei Efros Digital Image Synthesis Yung-Yu Chuang 11/08/2005.
A Gentle Introduction to Bilateral Filtering and its Applications 08/10: Applications: Advanced uses of Bilateral Filters Jack Tumblin – EECS, Northwestern.
Recursive Bilateral Filtering F Reference Yang, Qingxiong. "Recursive bilateral filtering." ECCV Deriche, Rachid. "Recursively implementating.
Joint Histogram Based Cost Aggregation For Stereo Matching Dongbo Min, Member, IEEE, Jiangbo Lu, Member, IEEE, Minh N. Do, Senior Member, IEEE IEEE TRANSACTION.
© Chun-Fa Chang Sampling Theorem & Antialiasing. © Chun-Fa Chang Motivations “ My ray traced images have a lot more pixels than the TV screen. Why do.
Gwangju Institute of Science and Technology Intelligent Design and Graphics Laboratory Feature-Aware Filtering for Point-Set Surface Denoising Min Ki Park*Seung.
1 Patch Complexity, Finite Pixel Correlations and Optimal Denoising Anat Levin, Boaz Nadler, Fredo Durand and Bill Freeman Weizmann Institute, MIT CSAIL.
CS448f: Image Processing For Photography and Vision Fast Filtering Continued.
A Gentle Introduction to Bilateral Filtering and its Applications How does bilateral filter relates with other methods? Pierre Kornprobst (INRIA) 0:35.
EE 7700 High Dynamic Range Imaging. Bahadir K. Gunturk2 References Slides and papers by Debevec, Ward, Pattaniak, Nayar, Durand, et al…
Filtering Robert Lin April 29, Outline Why filter? Filtering for Graphics Sampling and Reconstruction Convolution The Fourier Transform Overview.
Image Processing Edge detection Filtering: Noise suppresion.
Image Enhancement [DVT final project]
Image Processing Basics. What are images? An image is a 2-d rectilinear array of pixels.
A Gentle Introduction to Bilateral Filtering and its Applications Sylvain Paris – MIT CSAIL Pierre Kornprobst – INRIA Odyssée Jack Tumblin – Northwestern.
Machine Vision ENT 273 Image Filters Hema C.R. Lecture 5.
Halftoning With Pre- Computed Maps Objective Image Quality Measures Halftoning and Objective Quality Measures for Halftoned Images.
A Gentle Introduction to Bilateral Filtering and its Applications 07/10: Novel Variants of the Bilateral Filter Jack Tumblin – EECS, Northwestern University.
Templates, Image Pyramids, and Filter Banks
Intelligent Vision Systems ENT 496 Image Filtering and Enhancement Hema C.R. Lecture 4.
Bilateral Mesh Denoising Shachar Fleishman Iddo Drori Daniel Cohen-Or Tel Aviv University.
Sampling Theorem & Antialiasing
Tone mapping Digital Visual Effects, Spring 2007 Yung-Yu Chuang 2007/3/13 with slides by Fredo Durand, and Alexei Efros.
A Gentle Introduction to Bilateral Filtering and its Applications 10/10: Conclusions Jack Tumblin – EECS, Northwestern University.
Gholamreza Anbarjafari, PhD Video Lecturers on Digital Image Processing Digital Image Processing Spatial Domain Filtering: Part I.
Image Enhancement in the Spatial Domain.
CPSC 6040 Computer Graphics Images
WAVELET VIDEO PROCESSING TECHNOLOGY
Unsupervised Riemannian Clustering of Probability Density Functions
Image Processing and Reconstructions Tools
A Gentle Introduction to Bilateral Filtering and its Applications
Sampling Theorem & Antialiasing
Fast Bilateral Filtering for the Display of High-Dynamic-Range Images
Other Algorithms Follow Up
A Gentle Introduction to Bilateral Filtering and its Applications
CSCE 643 Computer Vision: Image Sampling and Filtering
Digital Visual Effects, Spring 2006 Yung-Yu Chuang 2006/3/8
Digital Image Processing Week IV
Non-local Means Filtering
Lecture 7 Patch based methods: nonlocal means, BM3D, K- SVD, data-driven (tight) frame.
Presentation transcript:

A Fast Approximation of the Bilateral Filter using a Signal Processing Approach Sylvain Paris and Frédo Durand Computer Science and Artificial Intelligence Laboratory Massachusetts Institute of Technology

Context: Image Denoising noisy image naïve denoising Gaussian blur better denoising edge-preserving filter Smoothing an image without blurring its edges.

A Wide Range of Options Diffusion, Bayesian, Wavelets… –All have their pros and cons. Bilateral filter –not always the best result [Buades 05] but often good –easy to understand, adapt and set up

Many Applications based on Bilateral Filter Tone Mapping [Durand 02] Virtual Video Exposure [Bennett 05] And many others… Flash / No-Flash [Eisemann 04, Petschnigg 04] [Petschnigg 04] Tone Management [Bae 06]

Definition of Bilateral Filter [Smith 97, Tomasi 98] Smoothes an image and preserves edges Weighted average of neighbors Weights –Gaussian on space distance –Gaussian on range distance –sum to 1 spacerange InputResult

Advantages of Bilateral Filter Easy to understand –Weighted mean of nearby pixels Easy to adapt –Distance between pixel values Easy to set up –Non-iterative

But Bilateral Filter is Nonlinear Slow but some accelerations exist: –[Elad 02]: Gauss-Seidel iterations Only for many iterations –[Durand 02, Weiss 06]: fast approximation No formal understanding of accuracy versus speed [Weiss 06]: Only box function as spatial kernel

But Bilateral Filter is Nonlinear Hard to analyze –[van de Weijer 01]: histograms –[Barash 02]: adaptive smoothing –[Durand 02]: robust statistics –[Durand 02, Elad 02, Buades 05]: PDEs –[Mr á zek]: unified view  Link with other nonlinear filters.

Contributions Link with linear filtering Fast and accurate approximation

Intuition on 1D Signal BF

p Intuition on 1D Signal Weighted Average of Neighbors Near and similar pixels have influence. Far pixels have no influence. Pixels with different value have no influence. weights applied to pixels

p Link with Linear Filtering 1. Handling the Division sum of weights Handling the division with a projective space.

Formalization: Handling the Division Normalizing factor as homogeneous coordinate Multiply both sides by Normalizing factor as homogeneous coordinate Multiply both sides by

Formalization: Handling the Division Similar to homogeneous coordinates in projective space Division delayed until the end Next step: Adding a dimension to make a convolution appear with W q =1

spacerange p Link with Linear Filtering 2. Introducing a Convolution q space:1D Gaussian  range:1D Gaussian combination:2D Gaussian

p Link with Linear Filtering 2. Introducing a Convolution q space:1D Gaussian  range:1D Gaussian combination:2D Gaussian space x range Corresponds to a 3D Gaussian on a 2D image.

Link with Linear Filtering 2. Introducing a Convolution space-range Gaussian black = zerosum all values sum all values multiplied by kernel  convolution

space-range Gaussian result of the convolution Link with Linear Filtering 2. Introducing a Convolution

space-range Gaussian result of the convolution

higher dimensional functions Gaussian convolution division slicing w i w

Reformulation: Summary 1.Convolution in higher dimension expensive but well understood (linear, FFT, etc) 2.Division and slicing nonlinear but simple and pixel-wise Exact reformulation

higher dimensional functions Gaussian convolution division slicing Low-pass filter Almost only low freq. High freq. negligible Almost only low freq. High freq. negligible w i w

higher dimensional functions Gaussian convolution division slicing w i w D O W N S A M P L E U P S A M P L E Almost no information loss

Fast Convolution by Downsampling Downsampling cuts frequencies above Nyquist limit –Less data to process –But induces error Evaluation of the approximation –Precision versus running time –Visual accuracy

Accuracy versus Running Time Finer sampling increases accuracy. More precise than previous work. finer sampling PSNR as function of Running Time Digital photograph 1200  1600 Straightforward implementation is over 10 minutes.

Visual Results inputexact BFour resultprev. work 1200  1600 Comparison with previous work [Durand 02] –running time = 1s for both techniques difference with exact computation (intensities in [0:1])

Visual Results inputexact BFour resultprev. work 1200  1600 Comparison with previous work [Durand 02] –running time = 1s for both techniques difference with exact computation (intensities in [0:1])

Visual Results inputexact BFour resultprev. work 1200  1600 Comparison with previous work [Durand 02] –running time = 1s for both techniques difference with exact computation (intensities in [0:1])

Visual Results inputexact BFour result difference with exact computation (intensities in [0:1]) prev. work 1200  1600 Comparison with previous work [Durand 02] –running time = 1s for both techniques 0 0.1

Visual Results inputexact BFour resultprev. work 1200  1600 Comparison with previous work [Durand 02] –running time = 1s for both techniques difference with exact computation (intensities in [0:1])

Discussion Higher dimension  advantageous formulation –akin to Level Sets with topology –our approach: isolate nonlinearities –dimension increase largely offset by downsampling Space-range domain already appeared –[Sochen 98, Barash 02]: image as an embedded manifold –new in our approach: image as a dense function

Conclusions Practical gain Interactive running time Visually similar results Simple to code (100 lines) Theoretical gain Link with linear filters Separation linear/nonlinear Signal processing framework higher dimension  “better” computation

Thank you We thank the MIT Computer Graphics Group and Bill Freeman’s group for their help. We thank Todor Georgiev for insightful discussions during the conference and for advertising the talk. This work was supported by a NSF CAREER award “Transient Signal Processing for Realistic Imagery,” an NSF Grant No “Parametric Analysis and Transfer of Pictorial Style,” a grant from Royal Dutch/Shell Group and the Oxygen consortium. Frédo Durand acknowledges a MSR New Faculty Fellowship, and Sylvain Paris was partially supported by a Lavoisier Fellowship from the French “Ministère des Affaires Étrangères.” Code is available on our webpage.