Gaussian KD-Tree for Fast High-Dimensional Filtering A. Adams, N. Gelfand, J. Dolson, and M. Levoy, Stanford University, SIGGRAPH 2009.

Slides:



Advertisements
Similar presentations
Course Evaluations 4 Random Individuals will win an ATI Radeon tm HD2900XT.
Advertisements

CSCE 643 Computer Vision: Template Matching, Image Pyramids and Denoising Jinxiang Chai.
Nearest Neighbor Finding Using Kd-tree Ref: Andrew Moore’s PhD thesis (1991)Andrew Moore’s PhD thesis.
CS448f: Image Processing For Photography and Vision Sharpening.
Accelerating Spatially Varying Gaussian Filters Jongmin Baek and David E. Jacobs Stanford University.
A Fast Approximation of the Bilateral Filter using a Signal Processing Approach Sylvain Paris and Frédo Durand Computer Science and Artificial Intelligence.
Digital Image Processing
Accurate Binary Image Selection From Inaccurate User Input Kartic Subr, Sylvain Paris, Cyril Soler, Jan Kautz University College London, Adobe Research,
Filtering CSE P 576 Larry Zitnick
MSU CSE 803 Stockman Linear Operations Using Masks Masks are patterns used to define the weights used in averaging the neighbors of a pixel to compute.
Lecture 1: Images and image filtering
1 Image Filtering Readings: Ch 5: 5.4, 5.5, 5.6,5.7.3, 5.8 (This lecture does not follow the book.) Images by Pawan SinhaPawan Sinha formal terminology.
1 Image filtering Images by Pawan SinhaPawan Sinha.
Siggraph’2000, July 27, 2000 Jin-Xiang Chai Xin Tong Shing-Chow Chan Heung-Yeung Shum Microsoft Research, China Plenoptic Sampling SIGGRAPH’2000.
Lecture 2: Image filtering
Haze removal using dark channel prior. Preface Guided Image Filter Pros: fast, high-quality Cons: halos,strokes.
MSU CSE 803 Linear Operations Using Masks Masks are patterns used to define the weights used in averaging the neighbors of a pixel to compute some result.
Geometry-driven Diffusion.
CSS552 Final Project Demo Peter Lam Tim Chuang. Problem Statement Our goal is to experiment with different post rendering effects (Cel Shading, Bloom.
1.  Introduction  Gaussian and Laplacian pyramid  Application Salient region detection Edge-aware image processing  Conclusion  Reference 2.
ECE 472/572 - Digital Image Processing Lecture 4 - Image Enhancement - Spatial Filter 09/06/11.
CSCE 441: Computer Graphics Image Filtering Jinxiang Chai.
Fast Bilateral Filtering
Tone mapping with slides by Fredo Durand, and Alexei Efros Digital Image Synthesis Yung-Yu Chuang 11/08/2005.
Recursive Bilateral Filtering F Reference Yang, Qingxiong. "Recursive bilateral filtering." ECCV Deriche, Rachid. "Recursively implementating.
Introduction to Image Processing Grass Sky Tree ? ? Review.
High dynamic range imaging. Camera pipeline 12 bits8 bits.
Presentation Image Filters
Machine Vision ENT 273 Image Filters Hema C.R. Lecture 5.
CS559: Computer Graphics Lecture 3: Digital Image Representation Li Zhang Spring 2008.
CS448f: Image Processing For Photography and Vision Fast Filtering Continued.
Takuya Matsuo, Norishige Fukushima and Yutaka Ishibashi
University of Texas at Austin CS384G - Computer Graphics Fall 2010 Don Fussell Image processing.
Filtering and Enhancing Images. Major operations 1. Matching an image neighborhood with a pattern or mask 2. Convolution (FIR filtering)
Image Processing Edge detection Filtering: Noise suppresion.
AdeptSight Image Processing Tools Lee Haney January 21, 2010.
School of Computer Science Queen’s University Belfast Practical TULIP lecture next Tues 12th Feb. Wed 13th Feb 11-1 am. Thurs 14th Feb am. Practical.
Image Enhancement [DVT final project]
Image Processing Basics. What are images? An image is a 2-d rectilinear array of pixels.
A Gentle Introduction to Bilateral Filtering and its Applications Sylvain Paris – MIT CSAIL Pierre Kornprobst – INRIA Odyssée Jack Tumblin – Northwestern.
CS 556 – Computer Vision Image Basics & Review. What is an Image? Image: a representation, resemblance, or likeness An image is a signal: a function carrying.
Linear filtering. Motivation: Noise reduction Given a camera and a still scene, how can you reduce noise? Take lots of images and average them! What’s.
Machine Vision ENT 273 Image Filters Hema C.R. Lecture 5.
The 18th Meeting on Image Recognition and Understanding 2015/7/29 Depth Image Enhancement Using Local Tangent Plane Approximations Kiyoshi MatsuoYoshimitsu.
Intelligent Vision Systems ENT 496 Image Filtering and Enhancement Hema C.R. Lecture 4.
Visual Computing Computer Vision 2 INFO410 & INFO350 S2 2015
A Gentle Introduction to Bilateral Filtering and its Applications 10/10: Conclusions Jack Tumblin – EECS, Northwestern University.
Tone mapping Digital Visual Effects, Spring 2007 Yung-Yu Chuang 2007/3/13 with slides by Fredo Durand, and Alexei Efros.
Lecture 5: Fourier and Pyramids
Speaker Min-Koo Kang March 26, 2013 Depth Enhancement Technique by Sensor Fusion: MRF-based approach.
Instructor: Mircea Nicolescu Lecture 5 CS 485 / 685 Computer Vision.
Filtering (II) Dr. Chang Shu COMP 4900C Winter 2008.
Lecture 1: Images and image filtering CS4670/5670: Intro to Computer Vision Noah Snavely Hybrid Images, Oliva et al.,
Non-linear filtering Example: Median filter Replaces pixel value by median value over neighborhood Generates no new gray levels.
Filters– Chapter 6. Filter Difference between a Filter and a Point Operation is that a Filter utilizes a neighborhood of pixels from the input image to.
Masaki Hayashi 2015, Autumn Visualization with 3D CG Digital 2D Image Basic.
Trilateral Filtering of Range Images Using Normal Inner Products
CPSC 6040 Computer Graphics Images
ECE 692 – Advanced Topics in Computer Vision
Image Processing and Reconstructions Tools
A Gentle Introduction to Bilateral Filtering and its Applications
Fast Bilateral Filtering for the Display of High-Dynamic-Range Images
A Gentle Introduction to Bilateral Filtering and its Applications
Digital Visual Effects, Spring 2006 Yung-Yu Chuang 2006/3/8
Digital Image Processing Week IV
Non-local Means Filtering
Linear Operations Using Masks
Lecture 2: Image filtering
Lecture 7 Patch based methods: nonlocal means, BM3D, K- SVD, data-driven (tight) frame.
Presentation transcript:

Gaussian KD-Tree for Fast High-Dimensional Filtering A. Adams, N. Gelfand, J. Dolson, and M. Levoy, Stanford University, SIGGRAPH 2009.

Edge-Preserving Filtering Noise Suppression Detail Enhancement High Dynamic Range Imaging

Edge-Preserving Filtering for Image Analysis Input Image Base ImageDetail Image

Edge-Preserving Vs. Edge-Blurring Input Image Edge-Preserving Base ImageEdge-Blurring Base Image

Edge-Preserving Vs. Edge-Blurring Edge-Preserving Enhanced ImageEdge-Blurring Enhanced Image Halo Artifacts

Gaussian Filtering

Bilateral Filtering Output Input Space WeightRange Weight Space WeightRange Weight x y Intensity

Bilateral Filtering Output Input Bilateral Weight Space WeightRange Weight x y Intensity

Bilateral Filtering Input ImageGaussian: σ p = 12 Bilateral: σ p = 12, σ c = 0.15

Computational Complexity of Bilateral Filtering O(n 2 d) – Image Size: n – Maximum Filter Size: n – Dimension: d High Computational Complexity Input x y Intensity

Novel Methods Bilateral Grid – J. Chen, S. Paris, and F. Durand, “Real-time edgeaware image processing with the bilateral grid,” ACM Transactions on Graphics (Proc. SIGGRAPH 07). Gaussian KD-Tree – A. Adams, N. Gelfand, J. Dolson, and M. Levoy, “Gaussian KD-Trees for Fast High-Dimensional Filtering,” ACM Transactions on Graphics (Proc. SIGGRAPH 09).

High-Dimensional Filtering x y Intensity

A Two-Dimensional Example x I Space Range Signal Kernel x I Output Signal Kernel Gaussian Filtering x I Space SignalOutput Signal Bilateral Filtering Large Kernel Size  High Computational Complexity!

Bilateral Grid Downsampling x I Signal Bilateral Grid x I Signal Spatial Grid Traditional Spatial Downsampling x I Signal Bilateral Grid Bilateral Grid Downsampling x I Bilateral Grid Kernel

Bilateral Filter on the Bilateral Grid Image scanline space intensity Bilateral Grid

space intensity Bilateral Filter on the Bilateral Grid Image scanline Filtered scanline Slice: query grid with input image Bilateral Grid Gaussian blur grid values space intensity

Bilateral Filtering for Color Image Bilateral Filtering Based on LuminanceBilateral Filtering Based on Color

Bilateral Grid for Color Image Image High-Dimensional Grid (5d grid) High Memory Usage Cost

Gaussian KD-Tree Low Computational Complexity Low Memory Usage

Gaussian KD-Tree Building The Tree Querying The Tree

Building The Tree Space Intensity Bounding Box Longest Dimension, η 1 d η 1 min η 1 max η 1 cut η1η1 Gaussian KD-Tree

Building The Tree Space Intensity η2dη2d η 2 min η 2 max η 2 cut η1η1 Gaussian KD-Tree η2η2 η2η2

Building The Tree Space Intensity η3dη3d η 3 min η 3 max η 3 cut η1η1 Gaussian KD-Tree η2η2 η3η3 η3η3

Building The Tree Space Intensity η4dη4d η 4 min η 4 max η 4 cut η1η1 Gaussian KD-Tree η2η2 η4η4 η3η3 η4η4

Building The Tree Space Intensity Inner Node Cutting Dimension Min, Max Bound Left, Right Child η1η1 Gaussian KD-Tree η2η2 η3η3 η4η4 …… ………….

Building The Tree Space Intensity Leaf Node Position

Querying The Tree η1η1 Gaussian KD-Tree η2η2 η3η3 η4η4 …… …………. High-Dimensional Space Image Pixel Querying

Querying The Tree Gaussian KD Tree Inner Node Leaf Node Image Pixel Different Weighting to Leaf Nodes

Splatting

1-D Example of Splatting Space Querying Position Space Querying Position η cut Sample Distribution η cut Splatting

1-D Example of Splatting Space Querying Position Space Querying Position η cut Sample Distribution η cut Splatting

Correcting Weights for Splatting q pi

Querying The Tree Gaussian KD Tree Inner Node Leaf Node Image Pixel Sample Splitting to Leaf Nodes Samples

Blurring The Leaf Nodes

Slicing

Summary x y r,g,b Input Image Gaussian KD Tree High-Dimensional Space Resolution Reduction Monte-Carlo Sampling Weighted Importance Sampling

Applications Bilateral Filtering Naïve Bilateral Filtering 5-D Bilateral Grid

3-D Bilateral Grid KD-Tree

Complexity and Performance Analysis Filter Size Large Small 5D Grid Gaussian KD-Tree Naïve

Applications Non-local Mean Filtering Input ImageOutput Image

Non-local Mean Filtering Target Patch Searching Patches ….. Patch

Non-local Mean Filtering with PCA Patch Examples 16 Leading Eigenvectors

Non-local Mean Filtering Target Patch Searching Patches ….. Patch High-Dimensional Space

Non-local Mean Filtering with Gaussian KD-Tree Gaussian KD Tree Inner Node Leaf Node Image Pixel Different Weighting to Leaf Nodes High-Dimensional Space

Applications Non-local Mean Filtering Input ImageOutput Image

Applications Geometry Filtering Input ModelOutput Model with Gaussian Filtering Output Model with Non-local Mean

Conclusions Novel methods of non-linear filter. – Bilateral grid and Gaussian kd-tree High-dimensional non-linear filter. – Edge preserving smoothing Computational Complexity Reduction – Importance sampling