Fixing the Gaussian Blur : the Bilateral Filter

Size: px
Start display at page:

Download "Fixing the Gaussian Blur : the Bilateral Filter"

Transcription

1 Fixing the Gaussian Blur : the Bilateral Filter Lecturer: Jianbing Shen shenjianbing@bit.edu.cnedu Office room : cn/shenjianbing Note: contents copied from siggraph course notes <A Gentle Introduction to Bilateral Filtering and its Applications >

2 Blur Comes from Averaging g across Edges input * output * * Same Gaussian kernel everywhere. 2

3 Bilateral Filter [Aurich 95, Smith 97, Tomasi 98] No Averaging g across Edges input * output * * The kernel shape depends d on the image content. t 3

4 Bilateral Filter Definition: an Additional Edge Term Same idea: weighted average of pixels. BF new 1 W not new new [ I ] G G I I p s p q p q [ r p q S I q normalization factor space weight range weight I 4

5 Illustration a 1D Image 1D image = line of pixels Better visualized as a plot pixel intensity pixel position 5

6 Gaussian Blur and Bilateral Filter Gaussian blur p q GB I] G p q space Bilateral filter [Aurich 95, Smith 97, Tomasi 98] [ p q S space I q q p space ra ange 1 BF [ I ] p G W s r p q p q S space range normalization p q G I I I q

7 Bilateral Filter on a Height Field BF 1 [ I ] p G W s r p q G I I p q q Wp q S I output input reproduced from [Durand 02]

8 Space and Range Parameters 1 BF [ r W [ I ] G G I I p s p q p q p q S I q space s : spatial extent of the kernel, size of the considered neighborhood. range r : minimum amplitude of an edge 8

9 Influence of Pixels Only pixels close in space and in range are considered. space range p

10 Exploring the Parameter Space r = 0.1 r = 0.25 r = r (Gaussian blur) input s = 2 s = 6 s = 18 10

11 Varying the Range Parameter r = 0.1 r = 0.25 r = r (Gaussian blur) input s = 2 s = 6 s = 18

12 input 12

13 r =

14 r =

15 r = (Gaussian blur) 15

16 Varying the Space Parameter r = 0.1 r = 0.25 r = r (Gaussian blur) input s = 2 s = 6 s = 18

17 input 17

18 s = 2 18

19 s = 6 19

20 s = 18 20

21 How to Set the Parameters Depends on the application. For instance: space parameter: proportional to image size eg e.g., 2% of image diagonal range parameter: proportional p to edge amplitude e.g., mean or median of image gradients independent of resolution and exposure 21

22 A Few More Advanced Remarks 22

23 Bilateral Filter Crosses Thin Lines Bilateral filter averages across features thinner than ~2 s Desirable for smoothing: more pixels = more robust Different from diffusion that stops at thin lines close-up kernel

24 Iterating the Bilateral Filter I BF [ I ] [ ( n 1) ( n ) Generate more piecewise-flat images Often not needed in computational photo. 24

25 input 25

26 1 iteration 26

27 2 iterations 27

28 4 iterations 28

29 Bilateral Filtering Color Images For gray-level images 1 BF [ I ] p G r W s p q S S intensity difference p q G I I p q I q scalar input For color images 1 BF [ I ] p G r W s Wp q S S color difference p q G C C p q C q 3D vector (RGB, Lab) output The bilateral filter is extremely easy to adapt to your need.

30 Hard to Compute 1 Nonlinear BF [ I ] p G s p q G I p I q r Complex, spatially varying kernels W p q S S Cannot be precomputed, no FFT I q Brute-force implementation is slow > 10min 30

31 Questions? 31

32 Applications

33 Overview Denoising Tone mapping Relighting & texture editing 33

34 Overview Not most powerful application Not best denoising, but good & simple Denoising Tone mapping Relighting & texture editing

35 Basic denoising Noisy input Bilateral filter 7x7 window

36 Basic denoising Bilateral filter Median 3x3 36

37 Basic denoising Bilateral filter Median 5x5 37

38 Basic denoising Bilateral filter Bilateral filter lower sigma 38

39 Basic denoising Bilateral filter Bilateral filter higher sigma 39

40 Denoising Small spatial sigma (e.g. 7x7 window) Adapt range sigma to noise level l Maybe not best denoising method, but best simplicity/quality tradeoff No need for acceleration (small kernel) But the denoising feature in e.g. Photoshop is better

41 Overview Denoising Tone mapping Relighting & texture editing 41

42 Real world dynamic range Eye can adapt from ~ 10-6 to 10 6 cd/m 2 Often 1 : 10,000 in a scene Real world High dynamic range 42

43 Picture dynamic range Typically 1: 20 or 1:50 Real world Black is ~ 50x darker than white Picture Low contrast 43

44 Multiple exposure photography Real world 10-6 High dynamic range 10 6 Merge HDR Merge multiple l exposure to cover full range We obtain one single image with floats per pixel But we still can t display it

45 The future: HDR Cameras HDR sensors using CMOS Use a log response curve e.g. SMaL, Assorted pixels Fuji Nayar et al. Per-pixel exposure Filter Integration time Fuji SuperCCD Multiple cameras using beam splitters Other computational photography tricks

46 Problem: Contrast reduction Match limited contrast of the medium Preserve details 10-6 High dynamic range 10 6 Real world Picture Low contrast 46

47 Tone mapping Input: high-dynamic-range image (floating point per pixel)

48 Naïve technique Scene has 1:10,000 contrast, display has 1:100 Simplest contrast reduction?

49 Naïve: Gamma compression X X (where =0.5 in our case) But colors are washed-out. Why? Input Gamma 49

50 Gamma compression on intensity Colors are OK, but details (intensity high-frequency) are blurred Gamma on intensity Intensity Color

51 Oppenheim 1968, Chiu et al Reduce contrast of low-frequencies (log domain) Keep high frequencies Low-freq freq. Reduce low frequency High-freq. Color

52 The halo nightmare For strong edges Because they contain high frequency Low-freq freq. Reduce low frequency High-freq. Color

53 Bilateral filtering to the rescue Large scale = bilateral (log intensity) Detail = residual [Durand & Dorsey 2002] Large-scale Output Detail Color

54 Contrast reduction Input HDR image Contrast too high! 54

55 Input HDR image Contrast reduction Intensity Color 55

56 Input HDR image Contrast reduction Intensity Large scale Color Bilateral Filter (in log domain!) Spatial sigma: 2% image size Range sigma: 0.4 (in log 10) 56

57 Input HDR image Contrast reduction Intensity Large scale Bilateral Filter Detail Color Detail = log intensity large scale (residual) 57

58 Input HDR image Contrast reduction Intensity Large scale Reduce contrast Large scale Bilateral Filter Detail Color 58

59 Input HDR image Contrast reduction Intensity Large scale Reduce contrast Large scale Bilateral Filter Detail Preserve! Detail Color 59

60 Input HDR image Contrast Output reduction Intensity Large scale Reduce contrast Large scale Bilateral Filter Detail Preserve! Detail Color Color 60

61 Contrast reduction in log domain Set target large-scale contrast (e.g. log 10 10) In linear output, we want 1:10 contrast for large scale Compute range of input large scale layer: largerange = max(inloglarge) min (inloglarge) Scale factor k= log 10 (10) / largerange Normalize so that the biggest value is 0 in log outlog= inlogdetail + inloglarge * k max(inloglarge)

62 Alternative explanation Explanation 1 (previous slides): outlog =k inloglarge + inlogdetail (ignoring offset) Explanation 2 outlog = k inlogintensity + (1-k) detail Reduce contrast of full intensity layer Add back some detail Same final effect since inlogdetail+inloglarge scale = inlogintensity But different philosophy: decomposition vs. add back detail

63 Demo Don t try at home without FAST bilateral filtering 63

64 Denoising vs. tone mapping Denoising: decompose into noise+signal si n Throw away noise, keep signal Small kernel Tone mapping Decompose into large scale + detail Preserve detail, reduce large scale Large kernel because detail=high+medium frequency computation challenge 64

65 Crossing lines The bilateral filter is influenced by pixels across thin line Good for tone mapping

66 What matters Spatial sigma: not very important Range sigma: quite important Use of the log domain for range: critical Because HDR and because perception sensitive to multiplicative contrast CIELab might be better for other applications Luminance computation Not critical, i but has influence see our Flash/no-flash paper [Eisemann 2004] for smarter r functionn 66

67 Tone mapping evaluation Recent user experiments to evaluate competing tone mapping Ledda et al Papers/ pdf Interestingly, the former concludes bilateral is the worst, the latter that it is the best! They choose to test a different criterion: fidelity vs. preference More importantly, they focus on algorithm and ignore parameters From Kuang et al. Adapted from Ledda et al. 67

68 Dirty vision for cool graphics Three wrongs make one right Analyze image Intrinsic image: albedo & illumination Simple bilateral filter Modify In our case, reduce contrast of large-scale (illumination) Recombine Get final image

69 Overview Denoising Tone mapping Relighting & texture editing 69

70 HDR hallucination [Lvdi Wang, Liyi Wei, Kun Zhou, Baining Guo, Heung-Yeung Shum, EGSR 2007] Low-dynamic-range images have under- and over-exposed exposed parts Information missing Underexposed Over- exposed 70

71 HDR hallucination Separate illumination and texture (Bilateral!) Fit smooth function to illumination Use texture t synthesis

72 HDR hallucination input output 72

73 HDR hallucination input output 73

74 Recap Decompose into Large scale (with bilateral l filter) Detail (residual: medium+high frequencies) Use big kernels Use appropriate domain (log for HDR) Manipulate/process independently Tone mapping Relighting, HDR hallucination HDR hallucination 74

75 Input Denoising with the BF output Images courtesy of Ce Liu 75

76 Noise level adaptation [Liu et al. 06] The noise of digital cameras varies with intensity Adapt sigma range to noise level Main topic of the paper: noise level inference Red Green Blue noise Intensity

77 Adaptive bilateral filter Adapt sigma range to intensity Input Bilateral Adaptive bilateral 77

78 Joint bilateral upsampling p (JBU) First publication on bilateral filters for upsampling at SIGGRAPH 2007 J. Kopf, Univ. of Konstantz (Germany) provided reference sw. [Kopf2007] solution: High resolution image in range term Low resolution input high resolution output high resolution result low resolution result (input) high resolution image (input)

High-Dynamic-Range Imaging & Tone Mapping

High-Dynamic-Range Imaging & Tone Mapping High-Dynamic-Range Imaging & Tone Mapping photo by Jeffrey Martin! Spatial color vision! JPEG! Today s Agenda The dynamic range challenge! Multiple exposures! Estimating the response curve! HDR merging:

More information

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

Fast Bilateral Filtering for the Display of High-Dynamic-Range Images Fast Bilateral Filtering for the Display of High-Dynamic-Range Images Frédo Durand & Julie Dorsey Laboratory for Computer Science Massachusetts Institute of Technology Contributions Contrast reduction

More information

! High&Dynamic!Range!Imaging! Slides!from!Marc!Pollefeys,!Gabriel! Brostow!(and!Alyosha!Efros!and! others)!!

! High&Dynamic!Range!Imaging! Slides!from!Marc!Pollefeys,!Gabriel! Brostow!(and!Alyosha!Efros!and! others)!! ! High&Dynamic!Range!Imaging! Slides!from!Marc!Pollefeys,!Gabriel! Brostow!(and!Alyosha!Efros!and! others)!! Today! High!Dynamic!Range!Imaging!(LDR&>HDR)! Tone!mapping!(HDR&>LDR!display)! The!Problem!

More information

Tonemapping and bilateral filtering

Tonemapping and bilateral filtering Tonemapping and bilateral filtering http://graphics.cs.cmu.edu/courses/15-463 15-463, 15-663, 15-862 Computational Photography Fall 2018, Lecture 6 Course announcements Homework 2 is out. - Due September

More information

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

Fast Bilateral Filtering for the Display of High-Dynamic-Range Images Contributions ing for the Display of High-Dynamic-Range Images for HDR images Local tone mapping Preserves details No halo Edge-preserving filter Frédo Durand & Julie Dorsey Laboratory for Computer Science

More information

The Dynamic Range Problem. High Dynamic Range (HDR) Multiple Exposure Photography. Multiple Exposure Photography. Dr. Yossi Rubner.

The Dynamic Range Problem. High Dynamic Range (HDR) Multiple Exposure Photography. Multiple Exposure Photography. Dr. Yossi Rubner. The Dynamic Range Problem High Dynamic Range (HDR) starlight Domain of Human Vision: from ~10-6 to ~10 +8 cd/m moonlight office light daylight flashbulb 10-6 10-1 10 100 10 +4 10 +8 Dr. Yossi Rubner yossi@rubner.co.il

More information

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

Tone mapping. Digital Visual Effects, Spring 2009 Yung-Yu Chuang. with slides by Fredo Durand, and Alexei Efros Tone mapping Digital Visual Effects, Spring 2009 Yung-Yu Chuang 2009/3/5 with slides by Fredo Durand, and Alexei Efros Tone mapping How should we map scene luminances (up to 1:100,000) 000) to display

More information

Problem Set 3. Assigned: March 9, 2006 Due: March 23, (Optional) Multiple-Exposure HDR Images

Problem Set 3. Assigned: March 9, 2006 Due: March 23, (Optional) Multiple-Exposure HDR Images 6.098/6.882 Computational Photography 1 Problem Set 3 Assigned: March 9, 2006 Due: March 23, 2006 Problem 1 (Optional) Multiple-Exposure HDR Images Even though this problem is optional, we recommend you

More information

Realistic Image Synthesis

Realistic Image Synthesis Realistic Image Synthesis - HDR Capture & Tone Mapping - Philipp Slusallek Karol Myszkowski Gurprit Singh Karol Myszkowski LDR vs HDR Comparison Various Dynamic Ranges (1) 10-6 10-4 10-2 100 102 104 106

More information

High dynamic range imaging and tonemapping

High dynamic range imaging and tonemapping High dynamic range imaging and tonemapping http://graphics.cs.cmu.edu/courses/15-463 15-463, 15-663, 15-862 Computational Photography Fall 2017, Lecture 12 Course announcements Homework 3 is out. - Due

More information

Flash Photography Enhancement via Intrinsic Relighting

Flash Photography Enhancement via Intrinsic Relighting Flash Photography Enhancement via Intrinsic Relighting Elmar Eisemann MIT/Artis-INRIA Frédo Durand MIT Introduction Satisfactory photos in dark environments are challenging! Introduction Available light:

More information

HDR imaging and the Bilateral Filter

HDR imaging and the Bilateral Filter 6.098 Digital and Computational Photography 6.882 Advanced Computational Photography HDR imaging and the Bilateral Filter Bill Freeman Frédo Durand MIT - EECS Announcement Why Matting Matters Rick Szeliski

More information

Prof. Feng Liu. Spring /12/2017

Prof. Feng Liu. Spring /12/2017 Prof. Feng Liu Spring 2017 http://www.cs.pd.edu/~fliu/courses/cs510/ 04/12/2017 Last Time Filters and its applications Today De-noise Median filter Bilateral filter Non-local mean filter Video de-noising

More information

Prof. Feng Liu. Winter /10/2019

Prof. Feng Liu. Winter /10/2019 Prof. Feng Liu Winter 29 http://www.cs.pdx.edu/~fliu/courses/cs4/ //29 Last Time Course overview Admin. Info Computer Vision Computer Vision at PSU Image representation Color 2 Today Filter 3 Today Filters

More information

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

Burst Photography! EE367/CS448I: Computational Imaging and Display! stanford.edu/class/ee367! Lecture 7! Gordon Wetzstein! Stanford University! Burst Photography! EE367/CS448I: Computational Imaging and Display! stanford.edu/class/ee367! Lecture 7! Gordon Wetzstein! Stanford University! Motivation! wikipedia! exposure sequence! -4 stops! Motivation!

More information

Digital Image Processing

Digital Image Processing Digital Image Processing Part : Image Enhancement in the Spatial Domain AASS Learning Systems Lab, Dep. Teknik Room T9 (Fr, - o'clock) achim.lilienthal@oru.se Course Book Chapter 3-4- Contents. Image Enhancement

More information

Computational Illumination Frédo Durand MIT - EECS

Computational Illumination Frédo Durand MIT - EECS Computational Illumination Frédo Durand MIT - EECS Some Slides from Ramesh Raskar (MIT Medialab) High level idea Control the illumination to Lighting as a post-process Extract more information Flash/no-flash

More information

High Dynamic Range Imaging

High Dynamic Range Imaging High Dynamic Range Imaging 1 2 Lecture Topic Discuss the limits of the dynamic range in current imaging and display technology Solutions 1. High Dynamic Range (HDR) Imaging Able to image a larger dynamic

More information

High Dynamic Range Images : Rendering and Image Processing Alexei Efros. The Grandma Problem

High Dynamic Range Images : Rendering and Image Processing Alexei Efros. The Grandma Problem High Dynamic Range Images 15-463: Rendering and Image Processing Alexei Efros The Grandma Problem 1 Problem: Dynamic Range 1 1500 The real world is high dynamic range. 25,000 400,000 2,000,000,000 Image

More information

Denoising and Effective Contrast Enhancement for Dynamic Range Mapping

Denoising and Effective Contrast Enhancement for Dynamic Range Mapping Denoising and Effective Contrast Enhancement for Dynamic Range Mapping G. Kiruthiga Department of Electronics and Communication Adithya Institute of Technology Coimbatore B. Hakkem Department of Electronics

More information

More image filtering , , Computational Photography Fall 2017, Lecture 4

More image filtering , , Computational Photography Fall 2017, Lecture 4 More image filtering http://graphics.cs.cmu.edu/courses/15-463 15-463, 15-663, 15-862 Computational Photography Fall 2017, Lecture 4 Course announcements Any questions about Homework 1? - How many of you

More information

Filtering Images in the Spatial Domain Chapter 3b G&W. Ross Whitaker (modified by Guido Gerig) School of Computing University of Utah

Filtering Images in the Spatial Domain Chapter 3b G&W. Ross Whitaker (modified by Guido Gerig) School of Computing University of Utah Filtering Images in the Spatial Domain Chapter 3b G&W Ross Whitaker (modified by Guido Gerig) School of Computing University of Utah 1 Overview Correlation and convolution Linear filtering Smoothing, kernels,

More information

Image Deblurring with Blurred/Noisy Image Pairs

Image Deblurring with Blurred/Noisy Image Pairs Image Deblurring with Blurred/Noisy Image Pairs Huichao Ma, Buping Wang, Jiabei Zheng, Menglian Zhou April 26, 2013 1 Abstract Photos taken under dim lighting conditions by a handheld camera are usually

More information

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

Guided Filtering Using Reflected IR Image for Improving Quality of Depth Image Guided Filtering Using Reflected IR Image for Improving Quality of Depth Image Takahiro Hasegawa, Ryoji Tomizawa, Yuji Yamauchi, Takayoshi Yamashita and Hironobu Fujiyoshi Chubu University, 1200, Matsumoto-cho,

More information

CS448f: Image Processing For Photography and Vision. Fast Filtering Continued

CS448f: Image Processing For Photography and Vision. Fast Filtering Continued CS448f: Image Processing For Photography and Vision Fast Filtering Continued Filtering by Resampling This looks like we just zoomed a small image Can we filter by downsampling then upsampling? Filtering

More information

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

A Gentle Introduction to Bilateral Filtering and its Applications 08/10: Applications: Advanced uses of Bilateral Filters 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

More information

Computing for Engineers in Python

Computing for Engineers in Python Computing for Engineers in Python Lecture 10: Signal (Image) Processing Autumn 2011-12 Some slides incorporated from Benny Chor s course 1 Lecture 9: Highlights Sorting, searching and time complexity Preprocessing

More information

Last Lecture. photomatix.com

Last Lecture. photomatix.com Last Lecture photomatix.com HDR Video Assorted pixel (Single Exposure HDR) Assorted pixel Assorted pixel Pixel with Adaptive Exposure Control light attenuator element detector element T t+1 I t controller

More information

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

Applications of Flash and No-Flash Image Pairs in Mobile Phone Photography Applications of Flash and No-Flash Image Pairs in Mobile Phone Photography Xi Luo Stanford University 450 Serra Mall, Stanford, CA 94305 xluo2@stanford.edu Abstract The project explores various application

More information

icam06, HDR, and Image Appearance

icam06, HDR, and Image Appearance icam06, HDR, and Image Appearance Jiangtao Kuang, Mark D. Fairchild, Rochester Institute of Technology, Rochester, New York Abstract A new image appearance model, designated as icam06, has been developed

More information

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

A Gentle Introduction to Bilateral Filtering and its Applications 08/10: Applications: Advanced uses of Bilateral Filters 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

More information

Images and Filters. EE/CSE 576 Linda Shapiro

Images and Filters. EE/CSE 576 Linda Shapiro Images and Filters EE/CSE 576 Linda Shapiro What is an image? 2 3 . We sample the image to get a discrete set of pixels with quantized values. 2. For a gray tone image there is one band F(r,c), with values

More information

Image Processing. Adam Finkelstein Princeton University COS 426, Spring 2019

Image Processing. Adam Finkelstein Princeton University COS 426, Spring 2019 Image Processing Adam Finkelstein Princeton University COS 426, Spring 2019 Image Processing Operations Luminance Brightness Contrast Gamma Histogram equalization Color Grayscale Saturation White balance

More information

Computational Photography

Computational Photography Computational photography Computational Photography Digital Visual Effects Yung-Yu Chuang wikipedia: Computational photography h refers broadly to computational imaging techniques that enhance or extend

More information

Firas Hassan and Joan Carletta The University of Akron

Firas Hassan and Joan Carletta The University of Akron A Real-Time FPGA-Based Architecture for a Reinhard-Like Tone Mapping Operator Firas Hassan and Joan Carletta The University of Akron Outline of Presentation Background and goals Existing methods for local

More information

Tone mapping. Tone mapping The ultimate goal is a visual match. Eye is not a photometer! How should we map scene luminances (up to

Tone mapping. Tone mapping The ultimate goal is a visual match. Eye is not a photometer! How should we map scene luminances (up to Tone mapping Tone mapping Digital Visual Effects Yung-Yu Chuang How should we map scene luminances up to 1:100000 000 to displa luminances onl around 1:100 to produce a satisfactor image? Real world radiance

More information

Contrast Image Correction Method

Contrast Image Correction Method Contrast Image Correction Method Journal of Electronic Imaging, Vol. 19, No. 2, 2010 Raimondo Schettini, Francesca Gasparini, Silvia Corchs, Fabrizio Marini, Alessandro Capra, and Alfio Castorina Presented

More information

Correcting Over-Exposure in Photographs

Correcting Over-Exposure in Photographs Correcting Over-Exposure in Photographs Dong Guo, Yuan Cheng, Shaojie Zhuo and Terence Sim School of Computing, National University of Singapore, 117417 {guodong,cyuan,zhuoshao,tsim}@comp.nus.edu.sg Abstract

More information

Filtering. Image Enhancement Spatial and Frequency Based

Filtering. Image Enhancement Spatial and Frequency Based Filtering Image Enhancement Spatial and Frequency Based Brent M. Dingle, Ph.D. 2015 Game Design and Development Program Mathematics, Statistics and Computer Science University of Wisconsin - Stout Lecture

More information

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

Agenda. Fusion and Reconstruction. Image Fusion & Reconstruction. Image Fusion & Reconstruction. Dr. Yossi Rubner. Fusion and Reconstruction Dr. Yossi Rubner yossi@rubner.co.il Some slides stolen from: Jack Tumblin 1 Agenda We ve seen Panorama (from different FOV) Super-resolution (from low-res) HDR (from different

More information

Image Filtering in Spatial domain. Computer Vision Jia-Bin Huang, Virginia Tech

Image Filtering in Spatial domain. Computer Vision Jia-Bin Huang, Virginia Tech Image Filtering in Spatial domain Computer Vision Jia-Bin Huang, Virginia Tech Administrative stuffs Lecture schedule changes Office hours - Jia-Bin (44 Whittemore Hall) Friday at : AM 2: PM Office hours

More information

Image Processing by Bilateral Filtering Method

Image Processing by Bilateral Filtering Method ABHIYANTRIKI An International Journal of Engineering & Technology (A Peer Reviewed & Indexed Journal) Vol. 3, No. 4 (April, 2016) http://www.aijet.in/ eissn: 2394-627X Image Processing by Bilateral Image

More information

High-Quality Reverse Tone Mapping for a Wide Range of Exposures

High-Quality Reverse Tone Mapping for a Wide Range of Exposures High-Quality Reverse Tone Mapping for a Wide Range of Exposures Rafael P. Kovaleski, Manuel M. Oliveira Instituto de Informática, UFRGS Porto Alegre, Brazil Email: {rpkovaleski,oliveira}@inf.ufrgs.br Abstract

More information

High dynamic range and tone mapping Advanced Graphics

High dynamic range and tone mapping Advanced Graphics High dynamic range and tone mapping Advanced Graphics Rafał Mantiuk Computer Laboratory, University of Cambridge Cornell Box: need for tone-mapping in graphics Rendering Photograph 2 Real-world scenes

More information

Computational Photography and Video. Prof. Marc Pollefeys

Computational Photography and Video. Prof. Marc Pollefeys Computational Photography and Video Prof. Marc Pollefeys Today s schedule Introduction of Computational Photography Course facts Syllabus Digital Photography What is computational photography Convergence

More information

Cvision 2. António J. R. Neves João Paulo Silva Cunha. Bernardo Cunha. IEETA / Universidade de Aveiro

Cvision 2. António J. R. Neves João Paulo Silva Cunha. Bernardo Cunha. IEETA / Universidade de Aveiro Cvision 2 Digital Imaging António J. R. Neves (an@ua.pt) & João Paulo Silva Cunha & Bernardo Cunha IEETA / Universidade de Aveiro Outline Image sensors Camera calibration Sampling and quantization Data

More information

Why learn about photography in this course?

Why learn about photography in this course? Why learn about photography in this course? Geri's Game: Note the background is blurred. - photography: model of image formation - Many computer graphics methods use existing photographs e.g. texture &

More information

lecture 24 image capture - photography: model of image formation - image blur - camera settings (f-number, shutter speed) - exposure - camera response

lecture 24 image capture - photography: model of image formation - image blur - camera settings (f-number, shutter speed) - exposure - camera response lecture 24 image capture - photography: model of image formation - image blur - camera settings (f-number, shutter speed) - exposure - camera response - application: high dynamic range imaging Why learn

More information

Multispectral Image Dense Matching

Multispectral Image Dense Matching Multispectral Image Dense Matching Xiaoyong Shen Li Xu Qi Zhang Jiaya Jia The Chinese University of Hong Kong Image & Visual Computing Lab, Lenovo R&T 1 Multispectral Dense Matching Dataset We build a

More information

25/02/2017. C = L max L min. L max C 10. = log 10. = log 2 C 2. Cornell Box: need for tone-mapping in graphics. Dynamic range

25/02/2017. C = L max L min. L max C 10. = log 10. = log 2 C 2. Cornell Box: need for tone-mapping in graphics. Dynamic range Cornell Box: need for tone-mapping in graphics High dynamic range and tone mapping Advanced Graphics Rafał Mantiuk Computer Laboratory, University of Cambridge Rendering Photograph 2 Real-world scenes

More information

CS534 Introduction to Computer Vision. Linear Filters. Ahmed Elgammal Dept. of Computer Science Rutgers University

CS534 Introduction to Computer Vision. Linear Filters. Ahmed Elgammal Dept. of Computer Science Rutgers University CS534 Introduction to Computer Vision Linear Filters Ahmed Elgammal Dept. of Computer Science Rutgers University Outlines What are Filters Linear Filters Convolution operation Properties of Linear Filters

More information

Guided Image Filtering for Image Enhancement

Guided Image Filtering for Image Enhancement International Journal of Research Studies in Science, Engineering and Technology Volume 1, Issue 9, December 2014, PP 134-138 ISSN 2349-4751 (Print) & ISSN 2349-476X (Online) Guided Image Filtering for

More information

Last Lecture. photomatix.com

Last Lecture. photomatix.com Last Lecture photomatix.com Today Image Processing: from basic concepts to latest techniques Filtering Edge detection Re-sampling and aliasing Image Pyramids (Gaussian and Laplacian) Removing handshake

More information

Coded Computational Photography!

Coded Computational Photography! Coded Computational Photography! EE367/CS448I: Computational Imaging and Display! stanford.edu/class/ee367! Lecture 9! Gordon Wetzstein! Stanford University! Coded Computational Photography - Overview!!

More information

Digital Image Processing

Digital Image Processing Digital Image Processing Lecture # 5 Image Enhancement in Spatial Domain- I ALI JAVED Lecturer SOFTWARE ENGINEERING DEPARTMENT U.E.T TAXILA Email:: ali.javed@uettaxila.edu.pk Office Room #:: 7 Presentation

More information

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

A Study on Image Enhancement and Resolution through fused approach of Guided Filter and high-resolution Filter VOLUME: 03 ISSUE: 06 JUNE-2016 WWW.IRJET.NET P-ISSN: 2395-0072 A Study on Image Enhancement and Resolution through fused approach of Guided Filter and high-resolution Filter Ashish Kumar Rathore 1, Pradeep

More information

>>> from numpy import random as r >>> I = r.rand(256,256);

>>> from numpy import random as r >>> I = r.rand(256,256); WHAT IS AN IMAGE? >>> from numpy import random as r >>> I = r.rand(256,256); Think-Pair-Share: - What is this? What does it look like? - Which values does it take? - How many values can it take? - Is it

More information

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

Continuous Flash. October 1, Technical Report MSR-TR Microsoft Research Microsoft Corporation One Microsoft Way Redmond, WA 98052 Continuous Flash Hugues Hoppe Kentaro Toyama October 1, 2003 Technical Report MSR-TR-2003-63 Microsoft Research Microsoft Corporation One Microsoft Way Redmond, WA 98052 Page 1 of 7 Abstract To take a

More information

NEW HIERARCHICAL NOISE REDUCTION 1

NEW HIERARCHICAL NOISE REDUCTION 1 NEW HIERARCHICAL NOISE REDUCTION 1 Hou-Yo Shen ( 沈顥祐 ), 1 Chou-Shann Fuh ( 傅楸善 ) 1 Graduate Institute of Computer Science and Information Engineering, National Taiwan University E-mail: kalababygi@gmail.com

More information

Image Visibility Restoration Using Fast-Weighted Guided Image Filter

Image Visibility Restoration Using Fast-Weighted Guided Image Filter International Journal of Electronics Engineering Research. ISSN 0975-6450 Volume 9, Number 1 (2017) pp. 57-67 Research India Publications http://www.ripublication.com Image Visibility Restoration Using

More information

Digital Image Processing

Digital Image Processing Digital Image Processing Part 2: Image Enhancement Digital Image Processing Course Introduction in the Spatial Domain Lecture AASS Learning Systems Lab, Teknik Room T26 achim.lilienthal@tech.oru.se Course

More information

Computer Graphics Fundamentals

Computer Graphics Fundamentals Computer Graphics Fundamentals Jacek Kęsik, PhD Simple converts Rotations Translations Flips Resizing Geometry Rotation n * 90 degrees other Geometry Rotation n * 90 degrees other Geometry Translations

More information

Coding and Modulation in Cameras

Coding and Modulation in Cameras Coding and Modulation in Cameras Amit Agrawal June 2010 Mitsubishi Electric Research Labs (MERL) Cambridge, MA, USA Coded Computational Imaging Agrawal, Veeraraghavan, Narasimhan & Mohan Schedule Introduction

More information

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

Image Enhancement of Low-light Scenes with Near-infrared Flash Images Research Paper Image Enhancement of Low-light Scenes with Near-infrared Flash Images Sosuke Matsui, 1 Takahiro Okabe, 1 Mihoko Shimano 1, 2 and Yoichi Sato 1 We present a novel technique for enhancing

More information

Color , , Computational Photography Fall 2017, Lecture 11

Color , , Computational Photography Fall 2017, Lecture 11 Color http://graphics.cs.cmu.edu/courses/15-463 15-463, 15-663, 15-862 Computational Photography Fall 2017, Lecture 11 Course announcements Homework 2 grades have been posted on Canvas. - Mean: 81.6% (HW1:

More information

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

Image Enhancement of Low-light Scenes with Near-infrared Flash Images IPSJ Transactions on Computer Vision and Applications Vol. 2 215 223 (Dec. 2010) Research Paper Image Enhancement of Low-light Scenes with Near-infrared Flash Images Sosuke Matsui, 1 Takahiro Okabe, 1

More information

Achim J. Lilienthal Mobile Robotics and Olfaction Lab, AASS, Örebro University

Achim J. Lilienthal Mobile Robotics and Olfaction Lab, AASS, Örebro University Achim J. Lilienthal Mobile Robotics and Olfaction Lab, Room T29, Mo, -2 o'clock AASS, Örebro University (please drop me an email in advance) achim.lilienthal@oru.se 4.!!!!!!!!! Pre-Class Reading!!!!!!!!!

More information

Image Processing COS 426

Image Processing COS 426 Image Processing COS 426 What is a Digital Image? A digital image is a discrete array of samples representing a continuous 2D function Continuous function Discrete samples Limitations on Digital Images

More information

Image preprocessing in spatial domain

Image preprocessing in spatial domain Image preprocessing in spatial domain convolution, convolution theorem, cross-correlation Revision:.3, dated: December 7, 5 Tomáš Svoboda Czech Technical University, Faculty of Electrical Engineering Center

More information

Image Processing for feature extraction

Image Processing for feature extraction Image Processing for feature extraction 1 Outline Rationale for image pre-processing Gray-scale transformations Geometric transformations Local preprocessing Reading: Sonka et al 5.1, 5.2, 5.3 2 Image

More information

Color , , Computational Photography Fall 2018, Lecture 7

Color , , Computational Photography Fall 2018, Lecture 7 Color http://graphics.cs.cmu.edu/courses/15-463 15-463, 15-663, 15-862 Computational Photography Fall 2018, Lecture 7 Course announcements Homework 2 is out. - Due September 28 th. - Requires camera and

More information

Admin Deblurring & Deconvolution Different types of blur

Admin Deblurring & Deconvolution Different types of blur Admin Assignment 3 due Deblurring & Deconvolution Lecture 10 Last lecture Move to Friday? Projects Come and see me Different types of blur Camera shake User moving hands Scene motion Objects in the scene

More information

Recent Advances in Image Deblurring. Seungyong Lee (Collaboration w/ Sunghyun Cho)

Recent Advances in Image Deblurring. Seungyong Lee (Collaboration w/ Sunghyun Cho) Recent Advances in Image Deblurring Seungyong Lee (Collaboration w/ Sunghyun Cho) Disclaimer Many images and figures in this course note have been copied from the papers and presentation materials of previous

More information

Overview. Neighborhood Filters. Dithering

Overview. Neighborhood Filters. Dithering Image Processing Overview Images Pixel Filters Neighborhood Filters Dithering Image as a Function We can think of an image as a function, f, f: R 2 R f (x, y) gives the intensity at position (x, y) Realistically,

More information

Flash Photography Enhancement via Intrinsic Relighting

Flash Photography Enhancement via Intrinsic Relighting Flash Photography Enhancement via Intrinsic Relighting Elmar Eisemann and Frédo Durand MIT / ARTIS-GRAVIR/IMAG-INRIA and MIT CSAIL Abstract We enhance photographs shot in dark environments by combining

More information

MODIFICATION OF ADAPTIVE LOGARITHMIC METHOD FOR DISPLAYING HIGH CONTRAST SCENES BY AUTOMATING THE BIAS VALUE PARAMETER

MODIFICATION OF ADAPTIVE LOGARITHMIC METHOD FOR DISPLAYING HIGH CONTRAST SCENES BY AUTOMATING THE BIAS VALUE PARAMETER International Journal of Information Technology and Knowledge Management January-June 2012, Volume 5, No. 1, pp. 73-77 MODIFICATION OF ADAPTIVE LOGARITHMIC METHOD FOR DISPLAYING HIGH CONTRAST SCENES BY

More information

Image processing for gesture recognition: from theory to practice. Michela Goffredo University Roma TRE

Image processing for gesture recognition: from theory to practice. Michela Goffredo University Roma TRE Image processing for gesture recognition: from theory to practice 2 Michela Goffredo University Roma TRE goffredo@uniroma3.it Image processing At this point we have all of the basics at our disposal. We

More information

Fourier Transform. Any signal can be expressed as a linear combination of a bunch of sine gratings of different frequency Amplitude Phase

Fourier Transform. Any signal can be expressed as a linear combination of a bunch of sine gratings of different frequency Amplitude Phase Fourier Transform Fourier Transform Any signal can be expressed as a linear combination of a bunch of sine gratings of different frequency Amplitude Phase 2 1 3 3 3 1 sin 3 3 1 3 sin 3 1 sin 5 5 1 3 sin

More information

CEE598 - Visual Sensing for Civil Infrastructure Eng. & Mgmt.

CEE598 - Visual Sensing for Civil Infrastructure Eng. & Mgmt. CEE598 - Visual Sensing for Civil Infrastructure Eng. & Mgmt. Session 7 Pixels and Image Filtering Mani Golparvar-Fard Department of Civil and Environmental Engineering 329D, Newmark Civil Engineering

More information

CoE4TN4 Image Processing. Chapter 3: Intensity Transformation and Spatial Filtering

CoE4TN4 Image Processing. Chapter 3: Intensity Transformation and Spatial Filtering CoE4TN4 Image Processing Chapter 3: Intensity Transformation and Spatial Filtering Image Enhancement Enhancement techniques: to process an image so that the result is more suitable than the original image

More information

AUTOMATIC FACE COLOR ENHANCEMENT

AUTOMATIC FACE COLOR ENHANCEMENT AUTOMATIC FACE COLOR ENHANCEMENT Da-Yuan Huang ( 黃大源 ), Chiou-Shan Fuh ( 傅楸善 ) Dept. of Computer Science and Information Engineering, National Taiwan University E-mail: r97022@cise.ntu.edu.tw ABSTRACT

More information

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

International Journal of Innovative Research in Engineering Science and Technology APRIL 2018 ISSN X HIGH DYNAMIC RANGE OF MULTISPECTRAL ACQUISITION USING SPATIAL IMAGES 1 M.Kavitha, M.Tech., 2 N.Kannan, M.E., and 3 S.Dharanya, M.E., 1 Assistant Professor/ CSE, Dhirajlal Gandhi College of Technology,

More information

icam06: A refined image appearance model for HDR image rendering

icam06: A refined image appearance model for HDR image rendering J. Vis. Commun. Image R. 8 () 46 44 www.elsevier.com/locate/jvci icam6: A refined image appearance model for HDR image rendering Jiangtao Kuang *, Garrett M. Johnson, Mark D. Fairchild Munsell Color Science

More information

Deblurring. Basics, Problem definition and variants

Deblurring. Basics, Problem definition and variants Deblurring Basics, Problem definition and variants Kinds of blur Hand-shake Defocus Credit: Kenneth Josephson Motion Credit: Kenneth Josephson Kinds of blur Spatially invariant vs. Spatially varying

More information

Gray Point (A Plea to Forget About White Point)

Gray Point (A Plea to Forget About White Point) HPA Technology Retreat Indian Wells, California 2016.02.18 Gray Point (A Plea to Forget About White Point) George Joblove 2016 HPA Technology Retreat Indian Wells, California 2016.02.18 2016 George Joblove

More information

Digital Radiography using High Dynamic Range Technique

Digital Radiography using High Dynamic Range Technique Digital Radiography using High Dynamic Range Technique DAN CIURESCU 1, SORIN BARABAS 2, LIVIA SANGEORZAN 3, LIGIA NEICA 1 1 Department of Medicine, 2 Department of Materials Science, 3 Department of Computer

More information

What is an image? Images and Displays. Representative display technologies. An image is:

What is an image? Images and Displays. Representative display technologies. An image is: What is an image? Images and Displays A photographic print A photographic negative? This projection screen Some numbers in RAM? CS465 Lecture 2 2005 Steve Marschner 1 2005 Steve Marschner 2 An image is:

More information

Flash Photography Enhancement via Intrinsic Relighting

Flash Photography Enhancement via Intrinsic Relighting Flash Photography Enhancement via Intrinsic Relighting Elmar Eisemann MIT / ARTIS -GRAVIR/IMAG-INRIA Frédo Durand MIT (a) (b) (c) Figure 1: (a) Top: Photograph taken in a dark environment, the image is

More information

Pixel Classification Algorithms for Noise Removal and Signal Preservation in Low-Pass Filtering for Contrast Enhancement

Pixel Classification Algorithms for Noise Removal and Signal Preservation in Low-Pass Filtering for Contrast Enhancement Pixel Classification Algorithms for Noise Removal and Signal Preservation in Low-Pass Filtering for Contrast Enhancement Chunyan Wang and Sha Gong Department of Electrical and Computer engineering, Concordia

More information

The Unique Role of Lucis Differential Hysteresis Processing (DHP) in Digital Image Enhancement

The Unique Role of Lucis Differential Hysteresis Processing (DHP) in Digital Image Enhancement The Unique Role of Lucis Differential Hysteresis Processing (DHP) in Digital Image Enhancement Brian Matsumoto, Ph.D. Irene L. Hale, Ph.D. Imaging Resource Consultants and Research Biologists, University

More information

Lecture Notes 11 Introduction to Color Imaging

Lecture Notes 11 Introduction to Color Imaging Lecture Notes 11 Introduction to Color Imaging Color filter options Color processing Color interpolation (demozaicing) White balancing Color correction EE 392B: Color Imaging 11-1 Preliminaries Up till

More information

Spatial Domain Processing and Image Enhancement

Spatial Domain Processing and Image Enhancement Spatial Domain Processing and Image Enhancement Lecture 4, Feb 18 th, 2008 Lexing Xie EE4830 Digital Image Processing http://www.ee.columbia.edu/~xlx/ee4830/ thanks to Shahram Ebadollahi and Min Wu for

More information

CSE 332/564: Visualization. Fundamentals of Color. Perception of Light Intensity. Computer Science Department Stony Brook University

CSE 332/564: Visualization. Fundamentals of Color. Perception of Light Intensity. Computer Science Department Stony Brook University Perception of Light Intensity CSE 332/564: Visualization Fundamentals of Color Klaus Mueller Computer Science Department Stony Brook University How Many Intensity Levels Do We Need? Dynamic Intensity Range

More information

High Dynamic Range image capturing by Spatial Varying Exposed Color Filter Array with specific Demosaicking Algorithm

High Dynamic Range image capturing by Spatial Varying Exposed Color Filter Array with specific Demosaicking Algorithm High Dynamic ange image capturing by Spatial Varying Exposed Color Filter Array with specific Demosaicking Algorithm Cheuk-Hong CHEN, Oscar C. AU, Ngai-Man CHEUN, Chun-Hung LIU, Ka-Yue YIP Department of

More information

Image Enhancement in spatial domain. Digital Image Processing GW Chapter 3 from Section (pag 110) Part 2: Filtering in spatial domain

Image Enhancement in spatial domain. Digital Image Processing GW Chapter 3 from Section (pag 110) Part 2: Filtering in spatial domain Image Enhancement in spatial domain Digital Image Processing GW Chapter 3 from Section 3.4.1 (pag 110) Part 2: Filtering in spatial domain Mask mode radiography Image subtraction in medical imaging 2 Range

More information

Research Article Anisotropic Diffusion for Details Enhancement in Multiexposure Image Fusion

Research Article Anisotropic Diffusion for Details Enhancement in Multiexposure Image Fusion Hindawi Publishing Corporation ISRN Signal Processing Volume 213, Article ID 928971, 18 pages http://dx.doi.org/1.1155/213/928971 Research Article Anisotropic Diffusion for Details Enhancement in Multiexposure

More information

Limitations of the Medium, compensation or accentuation

Limitations of the Medium, compensation or accentuation The Art and Science of Depiction Limitations of the Medium, compensation or accentuation Fredo Durand MIT- Lab for Computer Science Limitations of the medium The medium cannot usually produce the same

More information

Limitations of the medium

Limitations of the medium The Art and Science of Depiction Limitations of the Medium, compensation or accentuation Limitations of the medium The medium cannot usually produce the same stimulus Real scene (possibly imaginary) Stimulus

More information

The ultimate camera. Computational Photography. Creating the ultimate camera. The ultimate camera. What does it do?

The ultimate camera. Computational Photography. Creating the ultimate camera. The ultimate camera. What does it do? Computational Photography The ultimate camera What does it do? Image from Durand & Freeman s MIT Course on Computational Photography Today s reading Szeliski Chapter 9 The ultimate camera Infinite resolution

More information

Color Transformations

Color Transformations Color Transformations It is useful to think of a color image as a vector valued image, where each pixel has associated with it, as vector of three values. Each components of this vector corresponds to

More information