19
A Gentle Introduction to Bilateral Filtering and its Applications Sylvain Paris – Adobe Pierre Kornprobst – INRIA Odyssée Jack Tumblin – Northwestern University Frédo Durand – MIT CSAIL

A Gentle Introduction to Bilateral Filtering and its Applicationspeople.csail.mit.edu/sparis/bf_course/slides08/01_introduction.pdf · A Gentle Introduction to Bilateral Filtering

  • Upload
    others

  • View
    4

  • Download
    0

Embed Size (px)

Citation preview

Page 1: A Gentle Introduction to Bilateral Filtering and its Applicationspeople.csail.mit.edu/sparis/bf_course/slides08/01_introduction.pdf · A Gentle Introduction to Bilateral Filtering

A Gentle Introduction to Bilateral Filtering and its Applications

Sylvain Paris – Adobe

Pierre Kornprobst – INRIA Odyssée

Jack Tumblin – Northwestern University

Frédo Durand – MIT CSAIL

Page 2: A Gentle Introduction to Bilateral Filtering and its Applicationspeople.csail.mit.edu/sparis/bf_course/slides08/01_introduction.pdf · A Gentle Introduction to Bilateral Filtering

•  The bilateral filter is becoming ubiquitous in computational photography.

•  Many applications with high quality results.

Page 3: A Gentle Introduction to Bilateral Filtering and its Applicationspeople.csail.mit.edu/sparis/bf_course/slides08/01_introduction.pdf · A Gentle Introduction to Bilateral Filtering

Photographic Style Transfer [Bae 06]

input

Page 4: A Gentle Introduction to Bilateral Filtering and its Applicationspeople.csail.mit.edu/sparis/bf_course/slides08/01_introduction.pdf · A Gentle Introduction to Bilateral Filtering

Photographic Style Transfer [Bae 06]

output

Page 5: A Gentle Introduction to Bilateral Filtering and its Applicationspeople.csail.mit.edu/sparis/bf_course/slides08/01_introduction.pdf · A Gentle Introduction to Bilateral Filtering

Tone Mapping [Durand 02]

HDR input

Page 6: A Gentle Introduction to Bilateral Filtering and its Applicationspeople.csail.mit.edu/sparis/bf_course/slides08/01_introduction.pdf · A Gentle Introduction to Bilateral Filtering

Tone Mapping [Durand 02]

output

Page 7: A Gentle Introduction to Bilateral Filtering and its Applicationspeople.csail.mit.edu/sparis/bf_course/slides08/01_introduction.pdf · A Gentle Introduction to Bilateral Filtering

input

Cartoon Rendition [Winnemöller 06]

Page 8: A Gentle Introduction to Bilateral Filtering and its Applicationspeople.csail.mit.edu/sparis/bf_course/slides08/01_introduction.pdf · A Gentle Introduction to Bilateral Filtering

Cartoon Rendition [Winnemöller 06]

output

And much more: stereo, optical flow…

Page 9: A Gentle Introduction to Bilateral Filtering and its Applicationspeople.csail.mit.edu/sparis/bf_course/slides08/01_introduction.pdf · A Gentle Introduction to Bilateral Filtering

Goal: Image Smoothing

Split an image into:

•  large-scale features, structure

•  small-scale features, texture

Page 10: A Gentle Introduction to Bilateral Filtering and its Applicationspeople.csail.mit.edu/sparis/bf_course/slides08/01_introduction.pdf · A Gentle Introduction to Bilateral Filtering

input smoothed (structure, large scale)

residual (texture, small scale)

Gaussian Convolution

BLUR HALOS

Naïve Approach: Gaussian Blur

Page 11: A Gentle Introduction to Bilateral Filtering and its Applicationspeople.csail.mit.edu/sparis/bf_course/slides08/01_introduction.pdf · A Gentle Introduction to Bilateral Filtering

Impact of Blur and Halos •  If the decomposition introduces blur and

halos, the final result is corrupted.

Sample manipulation: increasing texture

(residual × 3)

Page 12: A Gentle Introduction to Bilateral Filtering and its Applicationspeople.csail.mit.edu/sparis/bf_course/slides08/01_introduction.pdf · A Gentle Introduction to Bilateral Filtering

input smoothed (structure, large scale)

residual (texture, small scale)

edge-preserving: Bilateral Filter

Bilateral Filter: no Blur, no Halos

Page 13: A Gentle Introduction to Bilateral Filtering and its Applicationspeople.csail.mit.edu/sparis/bf_course/slides08/01_introduction.pdf · A Gentle Introduction to Bilateral Filtering

input

Page 14: A Gentle Introduction to Bilateral Filtering and its Applicationspeople.csail.mit.edu/sparis/bf_course/slides08/01_introduction.pdf · A Gentle Introduction to Bilateral Filtering

increasing texture with Gaussian convolution

H A L O S

Page 15: A Gentle Introduction to Bilateral Filtering and its Applicationspeople.csail.mit.edu/sparis/bf_course/slides08/01_introduction.pdf · A Gentle Introduction to Bilateral Filtering

increasing texture with bilateral filter

N O H A L O S

Page 16: A Gentle Introduction to Bilateral Filtering and its Applicationspeople.csail.mit.edu/sparis/bf_course/slides08/01_introduction.pdf · A Gentle Introduction to Bilateral Filtering

Many Other Options

•  Bilateral filtering is not the only image smoothing filter – Diffusion, wavelets, Bayesian…

•  We focus on bilateral filtering – Suitable for strong smoothing used in

computational photography

– Conceptually simple

Page 17: A Gentle Introduction to Bilateral Filtering and its Applicationspeople.csail.mit.edu/sparis/bf_course/slides08/01_introduction.pdf · A Gentle Introduction to Bilateral Filtering

Content of the Course

All you need to know about bilateral filtering:

– Definition of the bilateral filter

– Parameter influence and settings

– Applications

– Relationship to other filters

– Theoretical properties

– Efficient implementation

Page 18: A Gentle Introduction to Bilateral Filtering and its Applicationspeople.csail.mit.edu/sparis/bf_course/slides08/01_introduction.pdf · A Gentle Introduction to Bilateral Filtering

Course Material

•  Course webpage (google “bilateral filter course”): http://people.csail.mit.edu/sparis/bf_course/

– Detailed course notes

– Slides

– C++ and Matlab code

– Links

Page 19: A Gentle Introduction to Bilateral Filtering and its Applicationspeople.csail.mit.edu/sparis/bf_course/slides08/01_introduction.pdf · A Gentle Introduction to Bilateral Filtering

A Gentle Introduction to Bilateral Filtering and its Applications

•  From Gaussian blur to bilateral filter – S. Paris

•  Applications – F. Durand

•  Link with other filtering techniques – P. Kornprobst

•  Implementation – S. Paris

•  Variants – J. Tumblin

•  Advanced applications – J. Tumblin

•  Limitations and solutions – P. Kornprobst

BREAK