A Gentle Introduction to Bilateral Filtering and its Applications How does bilateral filter relates with other methods? Pierre Kornprobst (INRIA) 0:35.

Slides:



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

CISC 489/689 Spring 2009 University of Delaware
Non-local means: a look at non-local self-similarity of images
Various Regularization Methods in Computer Vision Min-Gyu Park Computer Vision Lab. School of Information and Communications GIST.
Edge Preserving Image Restoration using L1 norm
A Fast Approximation of the Bilateral Filter using a Signal Processing Approach Sylvain Paris and Frédo Durand Computer Science and Artificial Intelligence.
Geometric (Classical) MultiGrid. Hierarchy of graphs Apply grids in all scales: 2x2, 4x4, …, n 1/2 xn 1/2 Coarsening Interpolate and relax Solve the large.
Digital Image Processing In The Name Of God Digital Image Processing Lecture3: Image enhancement M. Ghelich Oghli By: M. Ghelich Oghli
Low Complexity Keypoint Recognition and Pose Estimation Vincent Lepetit.
Image Segmentation and Active Contour
Instructor: Mircea Nicolescu Lecture 13 CS 485 / 685 Computer Vision.
6/9/2015Digital Image Processing1. 2 Example Histogram.
A Gentle Introduction to Bilateral Filtering and its Applications 07/10: Novel Variants of the Bilateral Filter Jack Tumblin – EECS, Northwestern University.
Optical Flow Methods 2007/8/9.
Curve-Fitting Regression
Segmentation Divide the image into segments. Each segment:
Optical flow and Tracking CISC 649/849 Spring 2009 University of Delaware.
Background vs. foreground segmentation of video sequences = +
Algorithms for Noise Removal and the Bilateral Filter Michael Elad Scientific Computing and Computational Mathematics (SCCM) Program Stanford University.
Some Geometric integration methods for PDEs Chris Budd (Bath)
Optical Flow Estimation using Variational Techniques Darya Frolova.
Dorin Comaniciu Visvanathan Ramesh (Imaging & Visualization Dept., Siemens Corp. Res. Inc.) Peter Meer (Rutgers University) Real-Time Tracking of Non-Rigid.
EE565 Advanced Image Processing Copyright Xin Li Different Frameworks for Image Processing Statistical/Stochastic Models: Wiener’s MMSE estimation.
September 25, 2014Computer Vision Lecture 6: Spatial Filtering 1 Computing Object Orientation We compute the orientation of an object as the orientation.
1 An Introduction to Nonparametric Regression Ning Li March 15 th, 2004 Biostatistics 277.
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.
Monte Carlo Methods in Partial Differential Equations.
A Gentle Introduction to Bilateral Filtering and its Applications Limitation? Pierre Kornprobst (INRIA) 0:20.
Motivation from Real-World Applications EE565 Advanced Image Processing Copyright Xin Li Noisy Photos Noisy ultrasound data.
CSCE 441: Computer Graphics Image Filtering Jinxiang Chai.
Fast Bilateral Filtering
Recursive Bilateral Filtering F Reference Yang, Qingxiong. "Recursive bilateral filtering." ECCV Deriche, Rachid. "Recursively implementating.
Machine Vision ENT 273 Image Filters Hema C.R. Lecture 5.
1 Robust estimation techniques in real-time robot vision Ezio Malis, Eric Marchand INRIA Sophia, projet ICARE INRIA Rennes, projet Lagadic.
EE 7700 High Dynamic Range Imaging. Bahadir K. Gunturk2 References Slides and papers by Debevec, Ward, Pattaniak, Nayar, Durand, et al…
Finite Element Method.
Time Series Data Analysis - I Yaji Sripada. Dept. of Computing Science, University of Aberdeen2 In this lecture you learn What are Time Series? How to.
1 Lesson 8: Basic Monte Carlo integration We begin the 2 nd phase of our course: Study of general mathematics of MC We begin the 2 nd phase of our course:
INFORMATIK Mesh Smoothing by Adaptive and Anisotropic Gaussian Filter Applied to Mesh Normals Max-Planck-Institut für Informatik Saarbrücken, Germany Yutaka.
Curve-Fitting Regression
Digital Image Processing Lecture 5: Neighborhood Processing: Spatial Filtering Prof. Charlene Tsai.
03/05/03© 2003 University of Wisconsin Last Time Tone Reproduction If you don’t use perceptual info, some people call it contrast reduction.
A Gentle Introduction to Bilateral Filtering and its Applications Sylvain Paris – MIT CSAIL Pierre Kornprobst – INRIA Odyssée Jack Tumblin – Northwestern.
Effective Optical Flow Estimation
Introduction to PDE classification Numerical Methods for PDEs Spring 2007 Jim E. Jones References: Partial Differential Equations of Applied Mathematics,
A Gentle Introduction to Bilateral Filtering and its Applications 07/10: Novel Variants of the Bilateral Filter Jack Tumblin – EECS, Northwestern University.
1 Markov random field: A brief introduction (2) Tzu-Cheng Jen Institute of Electronics, NCTU
Bilateral Mesh Denoising Shachar Fleishman Iddo Drori Daniel Cohen-Or Tel Aviv University.
Digital Image Processing Lecture 5: Neighborhood Processing: Spatial Filtering March 9, 2004 Prof. Charlene Tsai.
A Probabilistic Appraoch to Nonlinear Diffusion: Feature-Driven Filtering Hamid Krim ECE Dept. NCSU, Raleigh, NC
Using Neumann Series to Solve Inverse Problems in Imaging Christopher Kumar Anand.
Amir Yavariabdi Introduction to the Calculus of Variations and Optical Flow.
Introduction to Medical Imaging Week 6: Introduction to Medical Imaging Week 6: Denoising (part II) – Variational Methods and Evolutions Guy Gilboa Course.
Miguel Tavares Coimbra
Digital Image Processing
Linear Constant-Coefficient Difference Equations
PDE Methods for Image Restoration
ROBUST SUBSPACE LEARNING FOR VISION AND GRAPHICS
Digital Image Processing Lecture 10: Image Restoration
A Gentle Introduction to Bilateral Filtering and its Applications
A special case of calibration
A Gentle Introduction to Bilateral Filtering and its Applications
Announcements more panorama slots available now
Magnetic Resonance Imaging
Announcements more panorama slots available now
Intensity Transformation
Winter in Kraków photographed by Marcin Ryczek
Lecture 7 Patch based methods: nonlocal means, BM3D, K- SVD, data-driven (tight) frame.
Presentation transcript:

A Gentle Introduction to Bilateral Filtering and its Applications How does bilateral filter relates with other methods? Pierre Kornprobst (INRIA) 0:35

Many people worked on… edge-preserving restoration Local mode filtering Anisotropic diffusion Robust statistics Partial differential equations Bilateral filter

Goal: Understand how does bilateral filter relates with other methods Local mode filtering Robust statistics Partial differential equations Bilateral filter

Goal: Understand how does bilateral filter relates with other methods Local mode filtering Robust statistics Partial differential equations Bilateral filter

Local mode filtering principle Spatial window Smoothed local histogram You are going to see that BF has the same effect as local mode filtering

Let’s prove it! Define global histogram Define a smoothed histogram Define a local smoothed histogram What does it mean to look for local modes? What is the link with bilateral filter?

Definition of a global histogram Formal definition A sum of dirac, « a sum of ones » Where is the dirac symbol (1 if t=0, 0 otherwise)

# pixels intensity

# pixels intensity Smoothing the histogram

# pixels intensity

# pixels intensity

# pixels intensity

# pixels intensity

# pixels intensity

# pixels intensity This is it!

Definition of a local smoothed histogram We introduce a « smooth spatial window » where Smoothing of intensities Spatial window And that’s the formula to have in mind!

Definition of local modes A local mode i verifies

Local modes? Given We look for Result:

Local modes? Given We look for Result: One iteration of the bilateral filter amounts to converge to the local mode

Take home message #1 Bilateral filter is equivalent to mode filtering in local histograms [Van de Weijer, Van den Boomgaard, 2001]

Goal: Understand how does bilateral filter relates with other methods Local mode filtering Robust statistics Partial differential equations Bilateral filter

Robust statistics Goals: Reduce the influence of outliers, preserve discontinuities Minimizing a cost [Huber 81, Hampel 86] e.g., Penalizing differences between neighbors Smoothing term Robust or not robust?

Robust statistics Goals: Reduce the influence of outliers, preserve discontinuities Minimizing a cost [Huber 81, Hampel 86] And to minimize it (« local » formulation)

If we choose The minimization of the error norm gives The bilateral filter is So similar! They solve the same minimization problem! [Hampel etal., 1986]: The bilateral filter IS a robust filter! Iterated reweighted least-square Weighted average of the data

Back to robust statistics… How to choose the error norm? How is the shape related to the anisotropy of the diffusion? What’s the graphical intuition? Error norm Influence function Robust or not robust?

From the energy The error norm should not be too penalizing for high differences Error norm Graphical intuition NOT ROBUST ROBUST

From its minimization Influence function The influence function in the robust case reveals two different behaviors for inliers versus outliers OUTLIERS INLIERS Graphical intuition NOT ROBUST ROBUST

What is important here? The qualitative properties of this influence function, distinguishing inliers from outliers. In robust statistics, many influence functions have been proposed HubertLorentzTukey Gaussian Let’s see their difference on an example!

input

Tukey (very sharp) zero tail

Gauss (very sharp, similar to Tukey) fast decreasing tail

Lorentz (smoother) slowly decreasing tail

Hubert (slightly blurry) constant tail

Take home message #2 [Durand, 2002, Durand, Dorsey, 2002, Black, Marimont, 1998] The bilateral filter is a robust filter. Because of the range weight, pixels with different intensities have limited or no influence. They are outliers. Several choices for the range function.

Goal: Understand how does bilateral filter relates with other methods Local mode filtering Robust statistics Partial differential equations Bilateral filter

What do I mean by PDEs? Continuous interpretation of images Two kinds of formulations – Variational approach – Evolving a partial differential equation

Two ways to explain it The « simple one » is to show the link between PDEs and robust statisitcs Local mode filtering Robust statistics Partial differential equations Bilateral filter Black, Marimont, 1998, etc]

Robust statistics Robust statistics Robust Statistics PDEs PDEs PDEs PDEs PDEs PDEs PDEs continuous discrete

Two ways to explain it The « more rigorous one » is to show directly the link between a differential operator and an integral form Local mode filtering Robust statistics Partial differential equations Bilateral filter

Gaussian solves heat equation Linear diffusion When time grows, diffusion grows Diffusion is isotropic

Gaussian solves heat equation Is a solution of the heat equation when

And with the range? Considering the Yaroslavsky Filter When [Buades, Coll, Morel, 2005] (operation similar to M-estimators) At a very local scale, the asymptotic behavior of the integral operator corresponds to a diffusion operator Integral representation Space range is in the domain

More precisely We have And then we enter a large class of anisotropic diffusion approaches based on PDEs New idea here: It is not only a matter of smoothing or not, but also to take into account the local structure of the image

Take home message #3 Bilateral filter is a discretization of a particular kind of a PDE- based anisotropic diffusion. Welcome to the PDE-world! [Barash 2001, Elad 2002, Durand 2002, Buades, Coll, Morel, 2005] [Kornprobst 2006]

The PDE world at a glance Tschumperle, Deriche Breen, Whitaker Sussman Perez, Gangnet, Blake Desbrun etal

Summary Robust statistics PDEs Bilateral filter Local mode filtering Bilateral filter is one technique for anisotropic diffusion and it makes the bridge between several frameworks. From there, you can explore news worlds!

Questions?