A Gentle Introduction to Bilateral Filtering and its Applications 08/10: Applications: Advanced uses of Bilateral Filters

Similar documents
A Gentle Introduction to Bilateral Filtering and its Applications 08/10: Applications: Advanced uses of Bilateral Filters

Agenda. Fusion and Reconstruction. Image Fusion & Reconstruction. Image Fusion & Reconstruction. Dr. Yossi Rubner.

Computational Illumination Frédo Durand MIT - EECS

Flash Photography Enhancement via Intrinsic Relighting

Fixing the Gaussian Blur : the Bilateral Filter

Fast Bilateral Filtering for the Display of High-Dynamic-Range Images

Preserving Natural Scene Lighting by Strobe-lit Video

Burst Photography! EE367/CS448I: Computational Imaging and Display! stanford.edu/class/ee367! Lecture 7! Gordon Wetzstein! Stanford University!

Computational Photography

Computational Illumination

Applications of Flash and No-Flash Image Pairs in Mobile Phone Photography

Making better photos. Better Photos. Today s Agenda. Today s Agenda. What makes a good picture?! Tone Style Enhancement! What makes a good picture?!

Computational Photography Introduction

Image Enhancement of Low-light Scenes with Near-infrared Flash Images

Multispectral Bilateral Video Fusion

Image Enhancement of Low-light Scenes with Near-infrared Flash Images

Fast Bilateral Filtering for the Display of High-Dynamic-Range Images

Guided Filtering Using Reflected IR Image for Improving Quality of Depth Image

Computational 4/23/2009. Computational Illumination: SIGGRAPH 2006 Course. Course WebPage: Flash Shutter Open

Automatic Content-aware Non-Photorealistic Rendering of Images

Tonemapping and bilateral filtering

Multispectral Image Dense Matching

Computational Photography: Illumination Part 2. Brown 1

Realistic Image Synthesis

Density vs. Contrast

International Journal of Innovative Research in Engineering Science and Technology APRIL 2018 ISSN X

Flash Photography: 1

Flash Photography Enhancement via Intrinsic Relighting

Tone mapping. Digital Visual Effects, Spring 2009 Yung-Yu Chuang. with slides by Fredo Durand, and Alexei Efros

Flash Photography Enhancement via Intrinsic Relighting

Contrast Image Correction Method

Comp Computational Photography Spatially Varying White Balance. Megha Pandey. Sept. 16, 2008

Early art: events. Baroque art: portraits. Renaissance art: events. Being There: Capturing and Experiencing a Sense of Place

Coding and Modulation in Cameras

TRUESENSE SPARSE COLOR FILTER PATTERN OVERVIEW SEPTEMBER 30, 2013 APPLICATION NOTE REVISION 1.0

Image Enhancement contd. An example of low pass filters is:

High dynamic range imaging and tonemapping

How to combine images in Photoshop

Preparing Remote Sensing Data for Natural Resources Mapping (image enhancement, rectifications )

Tone Adjustment of Underexposed Images Using Dynamic Range Remapping

New applications of Spectral Edge image fusion

DIGITAL IMAGING. Handbook of. Wiley VOL 1: IMAGE CAPTURE AND STORAGE. Editor-in- Chief

Using VLSI for Full-HD Video/frames Double Integral Image Architecture Design of Guided Filter

Camera Raw software is included as a plug-in with Adobe Photoshop and also adds some functions to Adobe Bridge.

arxiv: v1 [cs.cv] 8 Nov 2018

A Kalman-Filtering Approach to High Dynamic Range Imaging for Measurement Applications

Image acquisition. In both cases, the digital sensing element is one of the following: Line array Area array. Single sensor

Limitations of the Medium, compensation or accentuation

Limitations of the medium

Image Visibility Restoration Using Fast-Weighted Guided Image Filter

Basic Digital Image Processing. The Structure of Digital Images. An Overview of Image Processing. Image Restoration: Line Drop-outs

DodgeCmd Image Dodging Algorithm A Technical White Paper

CS354 Computer Graphics Computational Photography. Qixing Huang April 23 th 2018

A. Dalrin Ampritta 1 and Dr. S.S. Ramakrishnan 2 1,2 INTRODUCTION

A Locally Tuned Nonlinear Technique for Color Image Enhancement

Black and White (Monochrome) Photography

High dynamic range and tone mapping Advanced Graphics

Photomatix Light 1.0 User Manual

Applications of Image Enhancement Techniques An Overview

One Week to Better Photography

Generalized Assorted Camera Arrays: Robust Cross-channel Registration and Applications Jason Holloway, Kaushik Mitra, Sanjeev Koppal, Ashok

High Fidelity 3D Reconstruction

Continuous Flash. October 1, Technical Report MSR-TR Microsoft Research Microsoft Corporation One Microsoft Way Redmond, WA 98052

T I P S F O R I M P R O V I N G I M A G E Q U A L I T Y O N O Z O F O O T A G E

HIGH DYNAMIC RANGE IMAGING Nancy Clements Beasley, March 22, 2011

INDEX 1.- LIGHT. DEFINITION 2.- TYPES OF LIGHT

Acknowledgements About this book Other Goodies Included with this Book Resources for Nikon Photographers. Part I: Capture NX2 2. Why Capture NX2?

Section 2 Image quality, radiometric analysis, preprocessing

A Study on Image Enhancement and Resolution through fused approach of Guided Filter and high-resolution Filter

How to capture the best HDR shots.

Dynamic Range. H. David Stein

Dappled Photography: Mask Enhanced Cameras for Heterodyned Light Fields and Coded Aperture Refocusing

An Introduction to Histograms in Photography

White paper. Low Light Level Image Processing Technology

A collection of example photos SB-900

Chasing Faint Objects

Time of Flight Capture

Denoising and Effective Contrast Enhancement for Dynamic Range Mapping

Tablet overrides: overrides current settings for opacity and size based on pen pressure.

Failure is a crucial part of the creative process. Authentic success arrives only after we have mastered failing better. George Bernard Shaw

Today s Presentation. Introduction Study area and Data Method Results and Discussion Conclusion

New Additive Wavelet Image Fusion Algorithm for Satellite Images

Defocus Map Estimation from a Single Image

CONVERTING AND EDITING RAW IMAGES

Video Registration: Key Challenges. Richard Szeliski Microsoft Research

Two-scale Tone Management for Photographic Look

Converting and editing raw images

International Journal of Scientific & Engineering Research, Volume 7, Issue 2, February-2016 ISSN

DISCRIMINANT FUNCTION CHANGE IN ERDAS IMAGINE

Spatio-Temporal Retinex-like Envelope with Total Variation

1. LIGHT AS AN ELEMENT OF EXPRESSION

Efficient Image Retargeting for High Dynamic Range Scenes

CHAPTER 7 - HISTOGRAMS

The Denali-MC HDR ISP Backgrounder

Frequency Domain Based MSRCR Method for Color Image Enhancement

DENOISING DIGITAL IMAGE USING WAVELET TRANSFORM AND MEAN FILTERING

PSEUDO HDR VIDEO USING INVERSE TONE MAPPING

VU Rendering SS Unit 8: Tone Reproduction

On-Screen Display (OSD)

A Novel Hybrid Exposure Fusion Using Boosting Laplacian Pyramid

Transcription:

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

Advanced Uses of Bilateral Filters

Advanced Uses for Bilateral A few clever, exemplary applications Improved Stereo Depth Estimators (Ansar Flash/No Flash Image Merge Retinex Tone Management (Bae Exposure Correction (Bennett2006) Feature Fusion Image Merging Ansar 2004,5) (Petschnigg2004, Eisenman2004) (Elad 2006) Bae 2006) (Bennett2006) (Bennett 2007, Wang2008) Many more, many new ones Broad interest SIGGRAPH,EG,CVPR,ICIP, etc.

Enhanced Real-Time Stereo (Adnan 2004, ) Silhouettes Strong depth edges Corresp.. Errors Noisy depth textures Bilateral: preserve edges, remove noise:

Enhanced Real-Time Stereo (Adnan 2004, ) Silhouettes Strong depth edges Corresp.. Errors Noisy depth textures Bilateral: preserve edges, remove noise:

Enhanced Real-Time Stereo (Adnan 2004, ) Silhouettes Strong depth edges Corresp.. Errors Noisy depth values Bilateral: preserve edges, remove noise:

Spatial-Depth Super Resolution for Range Images (Yang (Yang et al. 2007) Edges from 2 registered high-res photos Depth from low-res, sparse, noisy Iterative bilateral refinement

Spatial-Depth Super Resolution for Range Images (Yang (Yang et al. 2007) Edges from 2 registered high-res photos Depth from low-res, sparse, noisy Iterative bilateral refinement

Spatial-Depth Super Resolution for Range Images (Yang (Yang et al. 2007) Edges from 2 registered high-res photos Depth from low-res, sparse, noisy Iterative bilateral refinement

Spatial-Depth Super Resolution for Range Images (Yang (Yang et al. 2007) Edges from 2 registered high-res photos Depth from low-res, sparse, noisy Iterative bilateral refinement RESULTS Exceptionally accurate on entire Middlebury Data set: Subpixel accuracy, 100X resol.

Spatial-Depth Super Resolution for Range Images (Yang (Yang et al. 2007) Edges from 2 registered high-res photos Depth from low-res, sparse, noisy Iterative bilateral refinement

Retinex from 2 Bilateral Filters [Elad05] M. Elad, "Retinex by Two Bilateral Filters", Scale-Space 2005, Hofgeismar, Germany, 7-10 April 2005 Retinex Theory (Edwin Land, 1972): Eyes discount the illuminant.. Computable? Color: set by spectral AND spatial relationships Done in retina? In visual cortex? Retinex

Retinex from 2 Bilateral Filters [Elad05] M. Elad, "Retinex by Two Bilateral Filters", Scale-Space 2005, Hofgeismar, Germany, 7-10 April 2005 Estimate Illumination & Reflectance Bilaterally Smooth between object edges Illum.. Sets image upper bounds (0 < Refl. < 1) Tailored Bilateral Filter Further Justifies [Durand&Dorsey02] speedup approx. Good Retinex Summary: http://scien.stanford.edu/class/psych221/projects/00/mjahr/ppframe.htm

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

Joint Bilateral or Cross Bilateral (2004) Bilateral two kinds of weights, so 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:

Recall: Cross or Joint Bilateral Idea Noisy but Strong Range filter preserves signal Noisy and Weak Use stronger signal s s range within weaker signal s s noise

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, Discard Image B Lighting Result

Petschnigg: Flash: + Strong, sharp edges - Stark, ugly light / shadow

Petschnigg: No Flash: - Weak, noisy edges + Warm, cozy light / shadow

Petschnigg: Result + Strong, sharp edges + Warm, cozy light / shadow

Approaches - Main Idea

Joint or Cross Bilateral Filter (CBF) Enhanced ability to find weak details in noise (B s s weights preserve similar edges in A) Useful Residues for Detail Transfer CBF(A,B A,B) ) to remove A s A s noisy details CBF(B,A B,A) ) to remove B s B s less-noisy details; add to CBF(A,B) for clean, detailed, sharp image (See the papers for details)

Joint or Cross Bilateral Filter (CBF) Enhanced ability to find weak details in noise (B s s weights preserve similar edges in A)

Petschnigg: : Detail Transfer Results Lamp made of hay: No Flash Flash Detail Transfer

Petschnigg04, Eisemann04 Features Eisemann 2004: --included image registration, --used lower-noise flash image for color, and --compensates for flash shadows Petschnigg 2004: --included explicit color-balance & red-eye eye --interpolated continuously variable flash, --Compensates for flash specularities

Tonal Management (Bae et al., SIGGRAPH 2006) Cross bilateral, residues visually compelling image decompositions. Explore: adjust each component s s contrast, find visually pleasing transfer functions,etc. Stylize: finds transfer functions that match histograms of preferred artists, Textureness ; local measure of textural richness; to guide local mods,, to match artist s

Tone Mgmt. Examples: Original

Tone Mgmt. Examples: Bright and Sharp

Tone Mgmt. Examples: Gray and detailed

Tone Mgmt. Examples: Smooth and grainy

Source Tone Management Examples

Tone Management (Bae06) Textured-ness Metric: (shows highest Contrast- adjusted texture)

Model: Ansel Adams Reference Model

Input with auto-levels Results

Direct Histogram Transfer (dull) Results

Best Results

Multi-Light Detail Transfer SIGG2007 Fattal et al., Multiscale Shape and Detail Enhancement from Multi-light Image Collections Different light Different visible details Extract, Control/Enhance, Merge details

Multi-Light Detail Transfer SIGG2007 Fattal et al., Multiscale Shape and Detail Enhancement from Multi-light Image Collections Different light Different visible details Extract, Control/Enhance, Merge details Light 1

Multi-Light Detail Transfer SIGG2007 Fattal et al., Multiscale Shape and Detail Enhancement from Multi-light Image Collections Different light Different visible details Extract, Control/Enhance, Merge details Light 2

Multi-Light Detail Transfer SIGG2007 Fattal et al., Multiscale Shape and Detail Enhancement from Multi-light Image Collections Different light Different visible details Extract, Control/Enhance, Merge details Light 3

Multi-Light Detail Transfer SIGG2007 Fattal et al., Multiscale Shape and Detail Enhancement from Multi-light Image Collections Different light Different visible details Extract, Control/Enhance, Merge details Bilateral filters User-set set weights Adjust to suit flat, detailed or with shadows

Multi-Light Detail Transfer SIGG2007 Fattal et al., Multiscale Shape and Detail Enhancement from Multi-light Image Collections Different light Different visible details Extract, Control/Enhance, Merge details Bilateral filters User-set set weights Adjust to suit flat, detailed or with shadows

Video Enhancement Using Per Pixel Exposures (Bennett, 06) From this video: ASTA: Adaptive Spatio- Temporal Accumulation Filter

VIDEO

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

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

The Process for One Frame Raw Video Frame: (from FIFO center) Histogram stretching; (estimate gain for each pixel) Mostly Temporal 3D Bilateral Filter: Average recent similar values, Reject outliers (avoids ghosting ), spatial avg as needed Tone Mapping (color: # avg pixels)

The Process for One Frame Raw Video Frame: (from FIFO center) Histogram stretching; (estimate gain for each pixel) Mostly Temporal 3D Bilateral Filter: Average recent similar values, Reject outliers (avoids ghosting ), spatial avg as needed Tone Mapping

Bilateral Filter Variant: Mostly Temporal FIFO for Histogram-stretched stretched video Carry gain estimate for each pixel; Use future as well as previous values; Expanded Bilateral Filter Methods: Static scene? Temporal-only 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

Bennett2007: Multispectral Video Fusion Dual-Bilateral filter: fuses best of visible + IR

Video Relighting from IR illumination. EG2008, Wang,Davis et al. Video Relighting Using Infrared Illumination

Video Relighting from IR Illumination Switched IR illuminators, 8 photos per frame Ratio Images Hue Corrections

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

Applications