08/10: Applications: Advanced uses of Bilateral Filters Jack - - PowerPoint PPT Presentation

08 10 applications advanced uses of bilateral filters
SMART_READER_LITE
LIVE PREVIEW

08/10: Applications: Advanced uses of Bilateral Filters Jack - - PowerPoint PPT Presentation

A Gentle Introduction A Gentle Introduction to Bilateral Filtering to Bilateral Filtering and its Applications and its Applications 08/10: Applications: Advanced uses of Bilateral Filters Jack Tumblin EECS, Northwestern University


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

08/10: Applications: Advanced uses of Bilateral Filters

Jack Tumblin – EECS, Northwestern University

slide-3
SLIDE 3

Advanced Uses of Bilateral Filters Advanced Uses of Bilateral Filters

slide-4
SLIDE 4

Advanced Uses for Bilateral Advanced Uses for Bilateral

A few clever, exemplary applications…

  • Flash/No Flash Image Merge

(Petschnigg2004,Eisenman2004)

  • Tone Management (Bae 2006)
  • Exposure Correction (Bennett2006)

(See also: Bennett 2007 Multispectral Bilateral Video Fusion, IEEE Trans. On Img Proc)

Many more, many new ones… – 6 new SIGGRAPH 2007 papers!

slide-5
SLIDE 5

Flash / No-Flash Photo Improvement (Petschnigg04) (Eisemann04) Flash / No-Flash Photo Improvement (Petschnigg04) (Eisemann04)

Merge best features: warm, cozy candle light (no-flash) low-noise, detailed flash image

slide-6
SLIDE 6

‘Joint Bilateral’ or ‘Cross Bilateral’ (2004) ‘Joint Bilateral’ or ‘Cross Bilateral’ (2004)

Bilateral two kinds of weights, Cross Bilateral Filter (CBF): get them from two kinds of images.

  • Spatial smoothing of pixels in image A, with
  • WEIGHTED by intensity similarities in image B:
slide-7
SLIDE 7

‘Cross’ or ‘Joint’ Bilateral Idea: ‘Cross’ or ‘Joint’ Bilateral Idea:

Noisy but Strong… Noisy and Weak…

Range filter preserves signal Range filter preserves signal Use stronger signal Use stronger signal’ ’s range s range filter weights filter weights… …

slide-8
SLIDE 8

‘Joint’ or ‘Cross’ Bilateral Filter (CBF) ‘Joint’ or ‘Cross’ Bilateral Filter (CBF)

  • Enhanced ability to find weak details in noise

(B’s weights preserve similar edges in A)

  • Useful Residues for ‘Detail Transfer’

– CBF(A,B) to remove A’s noisy details – CBF(B,A) to remove B’s less-noisy details; – add to CBF(A,B) for clean, detailed, sharp image

(See the papers for details)

slide-9
SLIDE 9

‘Joint’ or ‘Cross’ Bilateral Filter (CBF) ‘Joint’ or ‘Cross’ Bilateral Filter (CBF)

  • Enhanced ability to find weak details in noise

(B’s weights preserve similar edges in A)

slide-10
SLIDE 10

Overview Overview

Remove noise + details from image A, Keep as image A Lighting

  • Obtain noise-free details

from image B, Discard Image B Lighting Result No-flash

Basic approach of both flash/noflash papers

slide-11
SLIDE 11

Petschnigg: Detail Transfer Results Petschnigg: Detail Transfer Results

  • Lamp made of hay:

No Flash Flash Detail Transfer

slide-12
SLIDE 12

Petschnigg: Petschnigg:

  • Flash
slide-13
SLIDE 13

Petschnigg: Petschnigg:

  • No Flash,
slide-14
SLIDE 14

Petschnigg: Petschnigg:

  • Result
slide-15
SLIDE 15

Approaches Approaches -

  • Main Idea

Main Idea

slide-16
SLIDE 16

Petschnigg04, Eisemann04 Features Petschnigg04, Eisemann04 Features

Eisemann Eisemann 2004: 2004:

  • -included image registration,

included image registration,

  • -used lower

used lower-

  • noise flash image for color, and

noise flash image for color, and

  • -compensates for flash shadows

compensates for flash shadows Petschnigg Petschnigg 2004: 2004:

  • -included explicit color

included explicit color-

  • balance & red

balance & red-

  • eye

eye

  • -interpolated

interpolated ‘ ‘continuously variable continuously variable’ ’ flash, flash,

  • -Compensates for flash

Compensates for flash specularities specularities

slide-17
SLIDE 17

Tonal Management (Bae et al., SIGGRAPH 2006) Tonal Management (Bae et al., SIGGRAPH 2006)

Cross bilateral, residues visually compelling image decompositions.

  • Explore: adjust component contrast,

find visually pleasing transfer functions, etc.

  • Stylize: finds transfer functions that match

histograms of preferred artists,

  • ‘Textureness’; local measure of textural richness;

can use this to guide local mods to match artist’s

slide-18
SLIDE 18

Tone Mgmt. Examples: Tone Mgmt. Examples:

Original

slide-19
SLIDE 19

Tone Mgmt. Examples: Tone Mgmt. Examples:

‘Bright and Sharp’

slide-20
SLIDE 20

Tone Mgmt. Examples: Tone Mgmt. Examples:

Gray and detailed

slide-21
SLIDE 21

Tone Mgmt. Examples: Tone Mgmt. Examples:

Smooth and grainy

slide-22
SLIDE 22

Tone Management Examples Tone Management Examples

Source

slide-23
SLIDE 23

Tone Management (Bae06) Tone Management (Bae06)

‘Textured

  • ness’

Metric: (shows highest Contrast- adjusted texture)

slide-24
SLIDE 24

Reference Model Reference Model

Model: Ansel Adams

slide-25
SLIDE 25

Results Results

Input with auto-levels

slide-26
SLIDE 26

Results Results

  • Direct Histogram Transfer (dull)
slide-27
SLIDE 27

Results Results

  • Best…
slide-28
SLIDE 28

Video Enhancement Using Per Pixel Exposures (Bennett, 06) Video Enhancement Using Per Pixel Exposures (Bennett, 06)

From this video: ASTA: Adaptive S Spatio- T Temporal Accumulation Filter

slide-29
SLIDE 29

VIDEO VIDEO

slide-30
SLIDE 30
  • Raw Video Frame:

(from FIFO center)

  • Histogram stretching;

(estimate gain for each pixel)

  • ‘Mostly Temporal’ Bilateral Filter:

– Average recent similar values, – Reject outliers (avoids ‘ghosting’), spatial avg as needed – Tone Mapping

The Process for One Frame The Process for One Frame

slide-31
SLIDE 31

The Process for One Frame The Process for One Frame

  • Raw Video Frame:

(from FIFO center)

  • Histogram stretching;

(estimate gain for each pixel)

  • ‘Mostly Temporal’ Bilateral Filter:

– Average recent similar values, – Reject outliers (avoids ‘ghosting’), spatial avg as needed – Tone Mapping

slide-32
SLIDE 32

The Process for One Frame The Process for One Frame

  • Raw Video Frame:

(from FIFO center)

  • Histogram stretching;

(estimate gain for each pixel)

  • ‘Mostly Temporal’ Bilateral Filter:

– Average recent similar values, – Reject outliers (avoids ‘ghosting’), spatial avg as needed – Tone Mapping

(color: # avg’ pixels)

slide-33
SLIDE 33

The Process for One Frame The Process for One Frame

  • Raw Video Frame:

(from FIFO center)

  • Histogram stretching;

(estimate gain for each pixel)

  • ‘Mostly Temporal’ Bilateral Filter:

– Average recent similar values, – Reject outliers (avoids ‘ghosting’), spatial avg as needed – Tone Mapping

slide-34
SLIDE 34

Bilateral Filter Variant: Mostly Temporal Bilateral Filter Variant: Mostly Temporal

  • FIFO for Histogram-stretched video

– Carry gain estimate for each pixel; – Use future as well as previous values;

  • Expanded Bilateral Filter Methods:

– Static scene? Temporal-only avg. works well – Motion? Bilateral rejects outliers: no ghosts!

  • Generalize: ‘Dissimilarity’ (not just || Ip – Iq ||2)
  • Voting: spatial filter de-noises motion
slide-35
SLIDE 35

Multispectral Bilateral Video Fusion (Bennett,07) Multispectral Bilateral Video Fusion (Bennett,07)

  • Result:

– Produces watchable result from unwatchable input – – VERY

VERY robust; accepts almost any dark video;

– Exploits temporal coherence to emulate

Low-light HDR video, without special equipment

slide-36
SLIDE 36

Conclusions Conclusions

  • Bilateral Filter easily adapted, customized to

broad class of problems

  • One tool among many for complex problems
  • Useful in for any task that needs

Robust, reliable smoothing with outlier rejection

slide-37
SLIDE 37