GradientShop: A Gradient-Domain Optimization Framework for Image and Video Filtering

Similar documents
Gradient-domain image processing

Gradient Domain High Dynamic Range Compression

Linear Diffusion. E9 242 STIP- R. Venkatesh Babu IISc

Vlad Estivill-Castro (2016) Robots for People --- A project for intelligent integrated systems

Edge Detection in Computer Vision Systems

Introduction to Computer Vision

Laplacian Mesh Processing

Subsampling and image pyramids

3.8 Combining Spatial Enhancement Methods 137

Spectral Processing. Misha Kazhdan

CS4495/6495 Introduction to Computer Vision. 6B-L1 Dense flow: Brightness constraint

Spatial Enhancement Region operations: k'(x,y) = F( k(x-m, y-n), k(x,y), k(x+m,y+n) ]

Edges and Scale. Image Features. Detecting edges. Origin of Edges. Solution: smooth first. Effects of noise

Lecture 7: Edge Detection

Image Filtering. Slides, adapted from. Steve Seitz and Rick Szeliski, U.Washington

Deformation and Viewpoint Invariant Color Histograms

Medical Image Analysis

TRACKING and DETECTION in COMPUTER VISION Filtering and edge detection

M3/4A16. GEOMETRICAL MECHANICS, Part 1

Image Compression Based on Visual Saliency at Individual Scales

ITK Filters. Thresholding Edge Detection Gradients Second Order Derivatives Neighborhood Filters Smoothing Filters Distance Map Image Transforms

1.1. Fields Partial derivatives

Directional Field. Xiao-Ming Fu

Introduction to Computer Vision. 2D Linear Systems

Lecture 6: Edge Detection. CAP 5415: Computer Vision Fall 2008

Computational Photography

Unit 6 Line and Surface Integrals

CS 3710: Visual Recognition Describing Images with Features. Adriana Kovashka Department of Computer Science January 8, 2015

Roadmap. Introduction to image analysis (computer vision) Theory of edge detection. Applications

Image Stitching II. Linda Shapiro CSE 455

Filtering and Edge Detection

Using Entropy and 2-D Correlation Coefficient as Measuring Indices for Impulsive Noise Reduction Techniques

BCC Stars Generator Multiple Layer checkbox Pattern Move Type menu Side Forward Backward Speed Direction

JUST THE MATHS UNIT NUMBER NUMERICAL MATHEMATICS 6 (Numerical solution) of (ordinary differential equations (A)) A.J.Hobson

Poisson Matting. Abstract. 1 Introduction. Jian Sun 1 Jiaya Jia 2 Chi-Keung Tang 2 Heung-Yeung Shum 1

Image Stitching II. Linda Shapiro EE/CSE 576

BERYLLIUM IMPREGNATION OF URANIUM FUEL: THERMAL MODELING OF CYLINDRICAL OBJECTS FOR EFFICIENCY EVALUATION

Vector Quantization and Subband Coding

LoG Blob Finding and Scale. Scale Selection. Blobs (and scale selection) Achieving scale covariance. Blob detection in 2D. Blob detection in 2D

Advances in Computer Vision. Prof. Bill Freeman. Image and shape descriptors. Readings: Mikolajczyk and Schmid; Belongie et al.

Blobs & Scale Invariance

CN780 Final Lecture. Low-Level Vision, Scale-Space, and Polyakov Action. Neil I. Weisenfeld

Modeling Blurred Video with Layers Supplemental material

Write on one side of the paper only and begin each answer on a separate sheet. Write legibly; otherwise, you place yourself at a grave disadvantage.

Histogram Processing

Achieving scale covariance

Lifting Detail from Darkness

Reading. 3. Image processing. Pixel movement. Image processing Y R I G Q

3D GEOVISUALIZATION & STYLIZATION TO MANAGE COMPREHENSIVE AND PARTICIPATIVE LOCAL URBAN PLANS

Digital Matting. Outline. Introduction to Digital Matting. Introduction to Digital Matting. Compositing equation: C = α * F + (1- α) * B

Lecture 04 Image Filtering

Image preprocessing in spatial domain

Analyzing Nepal earthquake epicenters

A STUDY OF EMBEDDED GRADIENT DOMAIN TONE MAPPING OPERATORS FOR HIGH DYNAMIC RANGE IMAGES. A Thesis. Presented to

Motivation: Sparse matrices and numerical PDE's

Digital Image Processing: Sharpening Filtering in Spatial Domain CSC Biomedical Imaging and Analysis Dr. Kazunori Okada

LORD: LOw-complexity, Rate-controlled, Distributed video coding system

Thinking in Frequency

Total Variation Image Edge Detection

Lecture 8: Interest Point Detection. Saad J Bedros

Introduction to Image Processing #5/7

Computer Vision Lecture 3

Graphical Models for Collaborative Filtering

Linear Classifiers. Michael Collins. January 18, 2012

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

Fourier series: Any periodic signals can be viewed as weighted sum. different frequencies. view frequency as an

Introduction and Vectors Lecture 1

Multimedia Databases. Previous Lecture. 4.1 Multiresolution Analysis. 4 Shape-based Features. 4.1 Multiresolution Analysis

Missing Data Interpolation with Gaussian Pyramids

Image preprocessing in spatial domain

Electromagnetism Physics 15b

Multimedia Databases. Wolf-Tilo Balke Philipp Wille Institut für Informationssysteme Technische Universität Braunschweig

Image preprocessing in spatial domain

PIV Basics: Correlation

Equations of fluid dynamics for image inpainting

6.869 Advances in Computer Vision. Bill Freeman, Antonio Torralba and Phillip Isola MIT Oct. 3, 2018

Multimedia Databases. 4 Shape-based Features. 4.1 Multiresolution Analysis. 4.1 Multiresolution Analysis. 4.1 Multiresolution Analysis

Poisson composi-ng 3

Conjugate gradient acceleration of non-linear smoothing filters Iterated edge-preserving smoothing

Single-Image-Based Rain and Snow Removal Using Multi-guided Filter

Learning goals: students learn to use the SVD to find good approximations to matrices and to compute the pseudoinverse.

Multimedia communications

Linear Operators and Fourier Transform

2. Definition & Classification

Edge Detection. Introduction to Computer Vision. Useful Mathematics Funcs. The bad news

CS 468, Spring 2013 Differential Geometry for Computer Science Justin Solomon and Adrian Butscher

Edge Detection. Image Processing - Computer Vision

Image Analysis. Feature extraction: corners and blobs

Haupthseminar: Machine Learning. Chinese Restaurant Process, Indian Buffet Process

Mathematical Morphology on Hypergraphs: Preliminary Definitions and Results

IMAGE PROCESSING BY FIELD THEORY PART 2 : APPLICATIONS-

Physically Based Simulations (on the GPU)

No-reference (N-R) image quality metrics.

Kazhdan, Bolitho and Hoppe. Poisson Surface Reconstruction 3/3

Propagation of Error Notes

Face and Straight Line Detection in Equirectangular Images

Thick Carpets. Rob Kesler and Andrew Ma. August 21, Cornell Math REU Adviser: Robert Strichartz

Relevance Aggregation Projections for Image Retrieval

Tutorial: PART 1. Online Convex Optimization, A Game- Theoretic Approach to Learning.

Transcription:

GradientShop: A Gradient-Domain Optimization Framework for Image and Video Filtering Pravin Bhat C. Lawrence Zitnick Michael Cohen Brian Curless Presentation : Michael Tao Discussion : Sean Arietta

Input Image

Input Image + few user inputs

Output Image: Relighting

Output Image: Recoloring

Output Image: Non-Photorealistic Effects

Agenda - Motivation - Goal and Algorithm - Applications and Results - Discussion

Motivation: Why Gradient Domain? 1. Great for human perception

Motivation: Why Gradient Domain? 1. Great for human perception

Motivation: Why Gradient Domain? 1. Great for human perception

Motivation: Why Gradient Domain? 1. Great for human perception What are the gray-scale values?

Motivation: Why Gradient Domain? 1. Great for human perception

Motivation: Why Gradient Domain? 2. High-level control over images pixel gradient +255 +255 +255 +255 +255

Motivation: Why Gradient Domain? 2. High-level control over images pixel gradient +0 +0 +0 +0 +0

Motivation: Why Gradient Domain? 1. Great for human perception 2. High-level control over images High-level Applications - enhance texture - change shading/lighting - reduce artifacts - change colors, preserve edges

Agenda - Motivation - Goal and Algorithm - Applications and Results - Discussion

Goal and Algorithm 1. Great for human perception 2. High-level control over images High-level Applications - enhance texture - change shading/lighting - reduce artifacts - change colors, preserve edges

Goal and Algorithm Gradient Domain GradientShop High-level Applications - enhance texture - change shading/lighting - reduce artifacts - change colors, preserve edges

Goal and Algorithm Start with Gradient Domain: How Matrices Work? Input Image (4x4): Each square = 1 pixel

Goal and Algorithm Start with Gradient Domain: How Matrices Work? Input Image (4x4): What we want: Matrix form of Gradient Domain Δx = I(x,y) I(x-1,y) Δy = I(x,y) I(x, y-1)

Goal and Algorithm Start with Gradient Domain: How Matrices Work? Image Matrix (I) Input Image (4x4): (16 x 1)

Goal and Algorithm Start with Gradient Domain: How Matrices Work? Fancy Smancy Laplacian Matrix (L) Image Matrix (I) Δx = I(x,y) I(x-1,y) X Δy = I(x,y) I(x, y-1) (32 x 16) (16 x 1)

Goal and Algorithm Start with Gradient Domain: How Matrices Work? Fancy Smancy Laplacian Matrix (L) Image Matrix (I) Δx Δy -1 1 0 0 0 0 0 0 0-1 1 0 0 0 0 0 0 0-1 1 0 0 0 0-1 0 0 0 1 0 0 0-1 0 0 0 1 0 0 0-1 0 0 0 1 (32 x 16) X (16 x 1)

Goal and Algorithm Start with Gradient Domain: How Matrices Work? Fancy Smancy Laplacian Matrix (L) Image Matrix (I) Gradient (G) Δx -1 1 0 0 0 0 0 0 0-1 1 0 0 0 0 0 0 0-1 1 0 0 0 0 Δx Δy -1 0 0 0 1 0 0 0-1 0 0 0 1 0 0 0-1 0 0 0 1 (32 x 16) X (16 x 1) = Δy (1 x 32)

Goal and Algorithm How to GradientShop This?

Goal and Algorithm 1. Give Gradient Constraints Fancy Smancy Laplacian Matrix (L) Image Matrix (I) Gradient (G) Δx -1 1 0 0 0 0 0 0 0-1 1 0 0 0 0 0 0 0-1 1 0 0 0 0 Δx Δy -1 0 0 0 1 0 0 0-1 0 0 0 1 0 0 0-1 0 0 0 1 (32 x 16) X (16 x 1) = Δy (32 x 1)

Goal and Algorithm 1. Give Gradient Constraints 1. User Modifies: Fancy Smancy Laplacian Matrix (L) Image Matrix (I) Gradient (G) Δx Δy -1 1 0 0 0 0 0 0 0-1 1 0 0 0 0 0 0 0-1 1 0 0 0 0-1 0 0 0 1 0 0 0-1 0 0 0 1 0 0 0-1 0 0 0 1 (32 x 16) X? (16 x 1) = +1 +9 +4-2 (32 x 1) Δx Δy

Goal and Algorithm 1. Give Gradient Constraints Fancy Smancy Laplacian Matrix (L) 2. Solve Image: Image Matrix (I) Gradient (G) Δx Δy -1 1 0 0 0 0 0 0 0-1 1 0 0 0 0 0 0 0-1 1 0 0 0 0-1 0 0 0 1 0 0 0-1 0 0 0 1 0 0 0-1 0 0 0 1 (32 x 16) X? (16 x 1) = +1 +9 +4-2 (32 x 1) Δx Δy

Goal and Algorithm Gradient (G) Curl Not Equating to Zero +1 +9 Δx +4-2 Δy (32 x 1)

Goal and Algorithm We want: L x I = G L x I G = 0 L x I G 0 Poisson ( backslash ) To solve for unknown I Error = L x I G

Goal and Algorithm (L) (I) (G) +1 Every Constraint Treated Equally -1 1 0 0 0 0 0 0 0-1 1 0 0 0 0 0 0 0-1 1 0 0 0 0-1 0 0 0 1 0 0 0-1 0 0 0 1 0 0 0-1 0 0 0 1? X = +9 +4-2 Δx Δy (32 x 16) (16 x 1) (32 x 1)

Goal and Algorithm 2. Add weights User Modifies: Not everyone is Equal (I) (L) (G) +1 W (32 x 32) -1 1 0 0 0 0 0 0 0-1 1 0 0 0 0 0 0 0-1 1 0 0 0 0-1 0 0 0 1 0 0 0-1 0 0 0 1 0 0 0-1 0 0 0 1? X = W (32 x 32) +9 +4-2 (32 x 16) (16 x 1) (32 x 1)

Goal and Algorithm 3. How about the image values themselves? (L) (I) (G) +1 W (34 x 34) -1 1 0 0 0 0 0 0 0-1 1 0 0 0 0 0 0 0-1 1 0 0 0 0-1 0 0 0 1 0 0 0-1 0 0 0 1 0 0 0-1 0 0 0 1? X = W (34 x 34) +9 +4-2 1 0 0 0 0 0 0 0 0 1 0 0 0 0 20 (34x 16) (16 x 1) 32 (34 x 1)

Goal and Algorithm Previous Works: Error = (Gradient Constraint) 1. Give Gradient Constraints 2. Add weights 3. How about the image values themselves? Gradient Shop: Error = Weights Gradient * (Gradient Constraint) + Weights Image * (Image Constraint)

Agenda - Motivation - Goal and Algorithm - Applications and Results - Discussion

Applications and Results Gradient Shop: Error = Weights Gradient * (Gradient Constraint) + Weights Image * (Image Constraint) High-level Applications - enhance texture - change shading/lighting - reduce artifacts - change colors, preserve edges

Applications and Results Input Image Softened Edges

Applications and Results Input Image Input Image Relit Image Softened Edges

Applications and Results Input Image Non-photorealistic Stuff

Discussion Questions?