How does bilateral filter relates with other methods? Pierre - - PowerPoint PPT Presentation

how does bilateral filter relates with other methods
SMART_READER_LITE
LIVE PREVIEW

How does bilateral filter relates with other methods? Pierre - - PowerPoint PPT Presentation

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


slide-1
SLIDE 1
slide-2
SLIDE 2

A Gentle Introduction to Bilateral Filtering and its Applications A Gentle Introduction to Bilateral Filtering and its Applications

How does bilateral filter relates with other methods?

Pierre Kornprobst (INRIA)

0:35

slide-3
SLIDE 3

Many people worked on… edge-preserving restoration Many people worked on… edge-preserving restoration

Bilateral filter Partial differential equations

Anisotropic diffusion

Local mode filtering Robust statistics

slide-4
SLIDE 4

Goal: Understand how does bilateral filter relates with other methods Goal: Understand how does bilateral filter relates with other methods

Local mode filtering Robust statistics Partial differential equations Bilateral filter

slide-5
SLIDE 5

Goal: Understand how does bilateral filter relates with other methods Goal: Understand how does bilateral filter relates with other methods

Local mode filtering Robust statistics Partial differential equations Bilateral filter

slide-6
SLIDE 6

Local mode filtering principle Local mode filtering principle

Spatial window Smoothed local histogram

You are going to see that BF has the same effect as local mode filtering

slide-7
SLIDE 7

Let’s prove it! 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?
slide-8
SLIDE 8

Definition of a global histogram 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)

slide-9
SLIDE 9

# pixels

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

intensity

slide-10
SLIDE 10

# pixels

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

Smoothing the histogram Smoothing the histogram

intensity

slide-11
SLIDE 11

Smoothing the histogram Smoothing the histogram

slide-12
SLIDE 12

# pixels

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

intensity

slide-13
SLIDE 13

# pixels

1 1 1 1 1 1 1 1 1 1 1 1

intensity

slide-14
SLIDE 14

# pixels

1 1 1 1 1 1 1 1 1 1 1 1

intensity

slide-15
SLIDE 15

# pixels

1 1 1 1 1 1 1 1

intensity

slide-16
SLIDE 16

# pixels intensity

slide-17
SLIDE 17

# pixels

This is it!

intensity

slide-18
SLIDE 18

Definition of a local smoothed histogram Definition of a local smoothed histogram

  • We introduce a « smooth spatial window »

Smoothing of intensities where Spatial window

And that’s the formula to have in mind!

slide-19
SLIDE 19

Definition of local modes Definition of local modes

A local mode i verifies

slide-20
SLIDE 20

Local modes? Local modes?

  • Given
  • We look for
  • Result:
slide-21
SLIDE 21

Local modes? Local modes?

  • Given
  • We look for
  • Result:

One iteration of the bilateral filter amounts to converge to the local mode

slide-22
SLIDE 22

Take home message #1 Take home message #1

Bilateral filter is equivalent to mode filtering in local histograms

[Van de Weijer, Van den Boomgaard, 2001]

slide-23
SLIDE 23
slide-24
SLIDE 24

Goal: Understand how does bilateral filter relates with other methods Goal: Understand how does bilateral filter relates with other methods

Local mode filtering Robust statistics Partial differential equations Bilateral filter

slide-25
SLIDE 25

Robust statistics Robust statistics

  • Goals: Reduce the influence of outliers,

preserve discontinuities

  • Minimizing a cost

Robust or not robust?

e.g., Penalizing differences between neighbors

Smoothing term

[Huber 81, Hampel 86]

slide-26
SLIDE 26

Robust statistics Robust statistics

  • Goals: Reduce the influence of outliers,

preserve discontinuities

  • Minimizing a cost

(« local » formulation)

[Huber 81, Hampel 86]

  • And to minimize it
slide-27
SLIDE 27

If we choose 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

slide-28
SLIDE 28

Back to robust statistics… Back to robust statistics…

Robust or not robust? Error norm Influence function

How to choose the error norm? How is the shape related to the anisotropy of the diffusion? What’s the graphical intuition?

slide-29
SLIDE 29

From the energy From the energy

Error norm Graphical intuition

NOT ROBUST ROBUST

The error norm should not be too penalizing for high differences

slide-30
SLIDE 30

From its minimization From its minimization

Graphical intuition Influence function

OUTLIERS OUTLIERS INLIERS

NOT ROBUST ROBUST

The influence function in the robust case reveals two different behaviors for inliers versus outliers

slide-31
SLIDE 31

What is important here? What is important here?

  • The qualitative properties of this influence

function, distinguishing inliers from outliers.

  • In robust statistics, many influence functions

have been proposed

Gaussian Hubert Lorentz Tukey

Let’s see their difference on an example!

slide-32
SLIDE 32

input

slide-33
SLIDE 33

Tukey

(very sharp)

zero tail zero tail

slide-34
SLIDE 34

Gauss (very sharp, similar to Tukey)

fast decreasing tail fast decreasing tail

slide-35
SLIDE 35

Lorentz (smoother)

slowly decreasing tail slowly decreasing tail

slide-36
SLIDE 36

Hubert (slightly blurry)

constant tail constant tail

slide-37
SLIDE 37

Take home message #2 Take home message #2

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.

[Durand, 2002, Durand, Dorsey, 2002, Black, Marimont, 1998]

slide-38
SLIDE 38
slide-39
SLIDE 39

Goal: Understand how does bilateral filter relates with other methods Goal: Understand how does bilateral filter relates with other methods

Local mode filtering Robust statistics Partial differential equations Bilateral filter

slide-40
SLIDE 40

What do I mean by PDEs? What do I mean by PDEs?

  • Continuous interpretation of images
  • Two kinds of formulations

– Variational approach – Evolving a partial differential equation

slide-41
SLIDE 41

Two ways to explain it 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]

slide-42
SLIDE 42

Robust statistics Robust statistics Robust St Robust statistics Robust statistics Robust St Robust statistics Robust statistics Robust St Robust statistics Robust statistics Robust St Robust statistics Robust statistics Robust St Robust statistics Robust statistics Robust St Robust statistics Robust statistics Robust St Robust statistics Robust statistics Robust St Robust statistics Robust statistics Robust St Robust statistics Robust statistics Robust St Robust statistics Robust statistics Robust St Robust statistics Robust statistics Robust St Robust statistics Robust statistics Robust St Robust statistics Robust statistics Robust St Robust statistics Robust statistics Robust St Robust statistics Robust statistics Robust St Robust statistics Robust statistics Robust St Robust statistics Robust statistics Robust St Robust statistics Robust statistics Robust St Robust statistics Robust statistics Robust St Robust statistics Robust statistics Robust St Robust statistics Robust statistics Robust St Robust statistics Robust statistics Robust St Robust statistics Robust statistics Robust St Robust statistics Robust statistics Robust St PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs PDEs

continuous discrete continuous discrete

slide-43
SLIDE 43

Two ways to explain it 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

slide-44
SLIDE 44

Gaussian solves heat equation Gaussian solves heat equation

  • Linear diffusion
  • When time grows, diffusion grows
  • Diffusion is isotropic
slide-45
SLIDE 45

Gaussian solves heat equation Gaussian solves heat equation

Is a solution of the heat equation when

slide-46
SLIDE 46

And with the range? 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

slide-47
SLIDE 47

More precisely 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

slide-48
SLIDE 48

Take home message #3 Take home message #3

Bilateral filter is a discretization

  • f 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]

slide-49
SLIDE 49

The PDE world at a glance The PDE world at a glance

Tschumperle, Deriche Tschumperle, Deriche Breen, Whitaker Sussman Perez, Gangnet, Blake Desbrun etal

slide-50
SLIDE 50

Summary Summary

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

slide-51
SLIDE 51

Questions? Questions?

Pierre.kornprobst@inria.fr http://pierre.kornprobst.googlepages.com/