08 10 applications advanced uses of bilateral filters
play

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


  1. 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

  2. Advanced Uses of Bilateral Filters Advanced Uses of Bilateral Filters

  3. 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!

  4. Flash / No-Flash Photo Improvement Flash / No-Flash Photo Improvement (Petschnigg04) (Eisemann04) (Petschnigg04) (Eisemann04) Merge best features: warm, cozy candle light (no-flash) low-noise, detailed flash image

  5. ‘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:

  6. ‘Cross’ or ‘Joint’ Bilateral Idea: ‘Cross’ or ‘Joint’ Bilateral Idea: Noisy but Strong… Range filter preserves signal Range filter preserves signal Use stronger signal’ ’s range s range Use stronger signal Noisy and Weak… filter weights… … filter weights

  7. ‘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)

  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)

  9. Overview Overview Basic approach of both flash/noflash papers Remove noise + details from image A, Keep as image A Lighting No-flash ----------------------- Obtain noise-free details from image B, Result Discard Image B Lighting

  10. Petschnigg: Detail Transfer Results Petschnigg: Detail Transfer Results • Lamp made of hay: Detail Transfer Flash No Flash

  11. Petschnigg: Petschnigg: • Flash

  12. Petschnigg: Petschnigg: • No Flash,

  13. Petschnigg: Petschnigg: • Result

  14. Approaches - - Main Idea Main Idea Approaches

  15. Petschnigg04, Eisemann04 Features Petschnigg04, Eisemann04 Features Eisemann 2004: 2004: Eisemann --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 2004: 2004: Petschnigg --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 --

  16. Tonal Management Tonal Management (Bae et al., SIGGRAPH 2006) (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

  17. Tone Mgmt. Tone Mgmt. Examples: Examples: Original

  18. Tone Mgmt. Tone Mgmt. Examples: Examples: ‘Bright and Sharp’

  19. Tone Mgmt. Tone Mgmt. Examples: Examples: detailed Gray and

  20. Tone Mgmt. Tone Mgmt. Smooth and Examples: Examples: grainy

  21. Tone Management Examples Tone Management Examples Source

  22. Tone Management (Bae06) Tone Management (Bae06) ‘Textured -ness’ Metric: (shows highest Contrast- adjusted texture)

  23. Reference Model Reference Model Model: Ansel Adams

  24. Results Results Input with auto-levels

  25. Results Results • Direct Histogram Transfer (dull)

  26. Results Results • Best…

  27. Video Enhancement Using Video Enhancement Using Per Pixel Exposures (Bennett, 06) Per Pixel Exposures (Bennett, 06) From this video: ASTA: A daptive S patio- S T emporal T A ccumulation Filter

  28. VIDEO VIDEO

  29. 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

  30. 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

  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: (color: # avg’ pixels) – Average recent similar values, – Reject outliers (avoids ‘ghosting’), spatial avg as needed – Tone Mapping

  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

  33. 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 || I p – I q || 2 ) • Voting: spatial filter de-noises motion

  34. Multispectral Bilateral Video Fusion Multispectral Bilateral Video Fusion (Bennett,07) (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

  35. 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

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend