Introduction to Nonlinear Image Processing

Similar documents
Tensor-based Image Diffusions Derived from Generalizations of the Total Variation and Beltrami Functionals

Nonlinear diffusion filtering on extended neighborhood

Introduction to motion correspondence

R. Kimmel, 1 R. Malladi, 1 and N. Sochen 2. Lawrence Berkeley National Laboratory University of California, Berkeley,

Efficient Beltrami Filtering of Color Images via Vector Extrapolation

Mathematical Problems in Image Processing

PDE-based image restoration, I: Anti-staircasing and anti-diffusion

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

Introduction to Linear Image Processing

NONLINEAR DIFFUSION PDES

Consistent Positive Directional Splitting of Anisotropic Diffusion

Nonlinear Diffusion. Journal Club Presentation. Xiaowei Zhou

A Tensor Variational Formulation of Gradient Energy Total Variation

NON-LINEAR DIFFUSION FILTERING

Error Analysis for H 1 Based Wavelet Interpolations

Modulation-Feature based Textured Image Segmentation Using Curve Evolution

Image enhancement by non-local reverse heat equation

Novel integro-differential equations in image processing and its applications

RIGOROUS MATHEMATICAL INVESTIGATION OF A NONLINEAR ANISOTROPIC DIFFUSION-BASED IMAGE RESTORATION MODEL

Image Noise: Detection, Measurement and Removal Techniques. Zhifei Zhang

Edge detection and noise removal by use of a partial differential equation with automatic selection of parameters

LEVEL SET BASED MULTISPECTRAL SEGMENTATION WITH CORNERS

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

Research Article Nonlocal Mean Image Denoising Using Anisotropic Structure Tensor

Energy-Based Image Simplification with Nonlocal Data and Smoothness Terms

A Localized Linearized ROF Model for Surface Denoising

Erkut Erdem. Hacettepe University February 24 th, Linear Diffusion 1. 2 Appendix - The Calculus of Variations 5.

MICROTEXTURE INPAINTING THROUGH GAUSSIAN CONDITIONAL SIMULATION

Medical Image Analysis

Computational Photography

A Nonlocal p-laplacian Equation With Variable Exponent For Image Restoration

Variational Methods in Image Denoising

An image decomposition model using the total variation and the infinity Laplacian

A Four-Pixel Scheme for Singular Differential Equations

Convex Hodge Decomposition of Image Flows

Convex Generalizations of Total Variation Based on the Structure Tensor with Applications to Inverse Problems

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

ON THE DISCRETE MAXIMUM PRINCIPLE FOR THE BELTRAMI COLOR FLOW

Convex Hodge Decomposition and Regularization of Image Flows

Universität des Saarlandes. Fachrichtung 6.1 Mathematik

MICROTEXTURE INPAINTING THROUGH GAUSSIAN CONDITIONAL SIMULATION

Partial Differential Equations and Image Processing. Eshed Ohn-Bar

Color Image Enhancement via Chromaticity Diffusion

Complex Diffusion Processes for Image Filtering

Solution-driven Adaptive Total Variation Regularization

Scale Space Analysis by Stabilized Inverse Diffusion Equations

Generalized Newton-Type Method for Energy Formulations in Image Processing

A Generative Perspective on MRFs in Low-Level Vision Supplemental Material

Fraunhofer Institute for Computer Graphics Research Interactive Graphics Systems Group, TU Darmstadt Fraunhoferstrasse 5, Darmstadt, Germany

An Improved Nonlinear Model for Image Inpainting

Statistical Modeling of Visual Patterns: Part I --- From Statistical Physics to Image Models

Nonlinear Diffusion. 1 Introduction: Motivation for non-standard diffusion

Designing Partial Differential Equations for Image Processing by Combining Differential Invariants

Forward-and-Backward Diffusion Processes for Adaptive Image Enhancement and Denoising

Image enhancement. Why image enhancement? Why image enhancement? Why image enhancement? Example of artifacts caused by image encoding

TRACKING and DETECTION in COMPUTER VISION Filtering and edge detection

On Mean Curvature Diusion in Nonlinear Image Filtering. Adel I. El-Fallah and Gary E. Ford. University of California, Davis. Davis, CA

IEEE TRANSACTIONS ON IMAGE PROCESSING, VOL. XX, NO. Y, MONTH A General Framework for Low Level Vision. Nir Sochen Ron Kimmel Ravi Malladi

Selection of Optimal Stopping Time for Nonlinear Diffusion Filtering

Lecture 8: Interest Point Detection. Saad J Bedros

A NEW PARTIAL DIFFERENTIAL EQUATION-BASED APPROACH FOR 3D DATA DENOISING AND EDGE PRESERVING

Image Deblurring in the Presence of Impulsive Noise

Lecture 8: Interest Point Detection. Saad J Bedros

Conjugate gradient acceleration of non-linear smoothing filters

Motion Estimation (I) Ce Liu Microsoft Research New England

Image Segmentation Using A New Scalar Texture Descriptor based on Extended Structure Tensor

SINCE THE elegant formulation of anisotropic diffusion

A Partial Differential Equation Approach to Image Zoom

NOISE ENHANCED ANISOTROPIC DIFFUSION FOR SCALAR IMAGE RESTORATION. 6, avenue du Ponceau Cergy-Pontoise, France.

ENERGY METHODS IN IMAGE PROCESSING WITH EDGE ENHANCEMENT

COMS 4721: Machine Learning for Data Science Lecture 19, 4/6/2017

A Variational Approach to Reconstructing Images Corrupted by Poisson Noise

A Dual Formulation of the TV-Stokes Algorithm for Image Denoising

Lecture 4 Colorization and Segmentation

Motion Estimation (I)

Riemannian Drums, Anisotropic Curve Evolution and Segmentation

Geometric Heat Equation and Nonlinear. Diusion of Shapes and Images. Providence, RI 02912

Regular article Nonlinear multigrid methods for total variation image denoising

A Riemannian Framework for Denoising Diffusion Tensor Images

Image Deblurring in the Presence of Impulsive Noise

Courbure discrète : théorie et applications

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

Universität des Saarlandes. Fachrichtung 6.1 Mathematik

Medical Image Analysis

Modeling Multiscale Differential Pixel Statistics

Equations of fluid dynamics for image inpainting

Detectors part II Descriptors

Fast Local Laplacian Filters: Theory and Applications

Vector Median Filters, Inf-Sup Operations, and Coupled PDE s: Theoretical Connections

Coordinate Update Algorithm Short Course Operator Splitting

Nonlinear regularizations of TV based PDEs for image processing

Super-Resolution. Shai Avidan Tel-Aviv University

Variational Methods in Signal and Image Processing

Approximate Inference Part 1 of 2

On Semi-implicit Splitting Schemes for the Beltrami Color Image Filtering

Approximate Inference Part 1 of 2

Optimal stopping time formulation of adaptive image filtering

Generalized reaction diffusion equations

Convex Generalizations of Total Variation based on the Structure Tensor with Applications to Inverse Problems

Analysis of Numerical Methods for Level Set Based Image Segmentation

Transcription:

Introduction to Nonlinear Image Processing 1 IPAM Summer School on Computer Vision July 22, 2013 Iasonas Kokkinos Center for Visual Computing Ecole Centrale Paris / INRIA Saclay

Mean and median 2 Observations in a 3x3 window: Mean: (1 + 2 + 100 + 1 + 3 + 2 + 1 + 5 + 3)/9 = 13.1 Median: 1) Sort: 2) Pick mid-point robust to outliers non-linear outlier [1, 2, 100, 1, 3, 2, 1, 5, 3] [1, 1, 1, 2, 2, 3, 3, 5, 100] "

Mean 3

Median 4

Gaussian blur 5

Image Processing 6 f!! (f) image filter image Previous lecture: ( f + h) = (f)+ (h) This lecture: remove this constraint freedom! at the expense of control

Multi-scale Gaussian smoothing g (x, y) = 1 2 2 exp x 2 + y 2 2 2 7 =5 = 10 = 20

Gaussian scale space Rewrite Gaussian: g t (x, y) = 1 4 t exp x 2 + y 2 4t t = 2 2 8 time Scale space: u(x, y, t) =g t (x, y) u 0 (x, y), t > 0 u(x, y, 0) = u 0 (x, y) A. Witkin, Scale-space filtering, IJCAI, 1983. J. Koenderink, The structure of images, Biological Cybernetics, 1984 J. Babaud, A. P. Witkin, M. Baudin, and R. O. Duda, Uniqueness of the Gaussian kernel for scale-space filtering, PAMI, 1986. A. Yuille, T.A. Poggio: Scaling theorems for zero crossings. PAMI, 1986. T. Lindeberg, Scale-Space Theory in Computer Vision, Kluwer, 1994 L. Florack, Image Structure, Kluwer, 1997 B. Romeny, Front-End Vision and Multi-Scale Image Analysis, Kluwer, 2003. J. Weickert, Linear scale space has first been proposed in Japan. JMIV, 1999.

Heat diffusion and image processing 9 Gaussian satisfies: Scale-space satisfies: Associative property: Scale-space satisfies: @g @t = @2 g @x 2 + @2 g @y 2 u(x, y, t) =g t (x, y) u 0 (x, y) f [g h] =[f g] h @u @t = @2 u @x 2 + @2 u @y 2 u(x, y, 0) = u 0 (x, y) Heat diffusion PDE (Partial Differential Equation)

Heat diffusion and image processing 10

Heat diffusion in 1D u t = u xx = d dx d dx u 11

Heat diffusion in 1D inhomogeneous material u t = d dx conductivity c d dx u 12 12

Heat diffusion in 2D 13 Homogeneous material u x! ru =(u x,u y ) d dx u x! Inhomogeneous material d dx (cu x)! div(cru) u t =div(cru) div(ru) = @ @x u x + @ @y u y u t = u xx + u yy

Perona-Malik Diffusion 14 Image-dependent conductivity u t =div(g ( ru ) ru) s 2 g(s) =exp a 2 u(x, y, 0) = u 0 (x, y) Diffusion stops at strong image gradients (structure-preserving) CLMC formulation: ru! rg u P. Perona and J. Malik, Scale-space and edge detection using anisotropic diffusion, PAMI 1990 F. Catte, P.L. Lions, J.M. Morel, T. Coll, Image selective smoothing and edge detection by nonlinear diffusion, SIAM J. Numer. Analysis, 1992

Nonlinear vs. linear diffusion 15 (a) Linear diffusion at t=2 (b) Nonlinear diffusion at t=4.4

Extension to vectorial images 16 Extension of nonlinear diffusion to vectorial images: generalization where:

Nonlinear diffusion for color image denoising 17 (a) Color Image with Noise (b) Perona-Malik diffusion

Variational interpretation of heat diffusion 18 Cost functional: Euler-Lagrange: Heat diffusion: modifies temperature to decrease E quickly

Variational techniques 19 Denoising as functional minimization Functional: encodes undesirable properties Total Variation: u 1 (x) u 2 (x) TV[u 1 ] = TV[u 2 ] Minimization flow TV[f] = TV[g] = TV[h] w 1 (x) w 2 (x) Rudin, L. I.; Osher, S.; Fatemi, E. "Nonlinear total variation based noise removal algorithms". Physica D 60, 1992 TV[w 1 ] > TV[w 2 ]

Total Variation diffusion 20 (a) Noisy image (b) Total Variation diffusion

Perona-Malik versus Total Variation 21 (a) Perona-Malik diffusion s 2 g(s) =exp K 2 (b) Total-Variation diffusion g(s) = 1 s

What is the right cost functional? 22 Can we learn the cost function? S.C. Zhu, Y. N. Wu and D. Mumford, FRAME, IJCV 1997 Filters: Use Gabors, Difference-of-Gaussians, Gaussian filters, Random Fields: Construct distribution that reproduces their histograms And Maximum Entropy: while being as random as possible Natural images: natural image statistics Training: Sample:

From FRAME to GRADE 23 Ø Ø GRADE: Gibbs Reaction & Diffusion Equation GRADE: maximize image probability using Euler-Largange PDEs S.C. Zhu, Y. N. Wu, D. Mumford, Filters, Random Fields and Max. Ent., IJCV 1997. S.C. Zhu and D. Mumford, Gibbs Reaction and Diffusion Equation, PAMI 1998. S. Roth and M. Black, Fields of Experts, IJCV 2009

Second Moment Matrix 24 Distribution of gradients: J = apple P x 0,y 0 Ix 2 P x 0,y 0 I x I y Px P 0,y 0 I x I y x 0,y 0 I 2 y

Second Moment Matrix 25 Distribution of gradients: J = X x 0,y 0 (I x,i y ) T (I x,i y )

Second Moment Matrix 26 Distribution of gradients: J = X x 0,y 0 (rg u) T (rg u)

Second Moment Matrix 27 Distribution of gradients: J = G h i (rg u) T (rg u)

Second Moment Matrix 28 J = G h i (rg u) T (rg u) Eigenvectors : directions of maximal and minimal variation of u Eigenvalues: amounts of minimal and maximal variation u

Anisotropic diffusion structure tensor 29 Nonlinear diffusion u t =div(g ( ru ) ru) Nonlinear Anisotropic diffusion diffusion tensor u t =div(t (J (ru ) ru) Slide credit: A. Roussos J. Weickert, Coherence-Enhancing Diffusion Filtering, Image and Vision Computing, 1999. R. Kimmel, R. Malladi, and N. Sochen. Images as Embedded Maps and Minimal Surfaces, IJCV, 2001. D. Tschumperlé, and R. Deriche (2005), Vector-valued image regularization with PDE s. PAMI, 2005. A. Roussos and P. Maragos, Reversible Interpolation of vectorial Images, IJCV 2009 M. Lindenbaum, M. Fischer and A. Bruckstein, "On Gabor's contribution to image enhancement, 1994. D. Gabor, Information theory in electron microscopy, 1965

Anisotropic Diffusion example 30 Slide credits: A. Roussos

Anisotropic Diffusion example 31 Slide credits: A. Roussos

Nonlinear anisotropic diffusion 32 Extension to vectorial images Structure tensor for vectorial image: Slide credits: A. Roussos

Nonlinear anisotropic diffusion 33 Noisy input Nonlinear Anisotropic Diffusion Slide credits: A. Roussos

Nonlinear vs. Nonlinear and anisotropic diffusion 34 Nonlinear Diffusion Nonlinear Anisotropic Diffusion Slide credits: A. Roussos

Nonlinear vs. Nonlinear and anisotropic diffusion 35 Nonlinear Diffusion Nonlinear Anisotropic Diffusion Slide credits: A. Roussos

Inpainting problem 36 Inpainting region D (a) Image with missing region (b) Initial prediction (constant) (c1) 300 iterations (c2) 600 iterations (c3) 1500 iterations (converged) M. Bertalmío, G. Sapiro, V. Caselles and C. Ballester., "Image Inpainting", SIGGRAPH 200 T. F. Chan and J. Shen, "Mathematical Models for Local Nontexture Inpainting", SIAM, 200

Application: text removal 37 (a) Input (b) Total Variation Inainting Slide credits: A. Roussos

Application: fake bravado 38 Slide credits: A. Roussos

PDE-based interpolation Interpolation problem 39 (a) Low resolution input image (b) Zero-Padding initialization (c) 4x4 PDE-based magnification A. Roussos and P. Maragos, Reversible Interpolation of vectorial Images, IJCV 2009

PDE-based interpolation 40 (a) Input Signal (b) Bicubic interpolation (4 x 4) (d) PDE-based interpolation(4 x 4) A. Roussos and P. Maragos, Reversible Interpolation of vectorial Images, IJCV 2009

PDE-based interpolation 41 (a) Low-resolution Input (b) Initialization: Zero-Padding (c) 4x4 PDE-based interpolation A. Roussos and P. Maragos, Reversible Interpolation of vectorial Images, IJCV 2009

PDE-based interpolation 42 (a) Input (b) Bilinear Interpolation (c) TV based Interpolation (d) Structure-tensor based interpolation A. Roussos and P. Maragos, Reversible Interpolation of vectorial Images, IJCV 2009

Further study 43 Fast numerical solutions G. Papandreou and P. Maragos, Multigrid Geometric Active Contour Models,TIP, 2007. J. Weickert and B. H. Romeny, 'Efficient Schemes for Nonlinear Diffusion Filtering', TIP '98 A. Chambolle, 'An Algorithm for Total Variation Minimization and Applications', JMIV 2004 T. Goldstein, S. Osher The Split Bregman method for L1-regularized problems, SIAM 2009 Not covered in this talk Bilteral Filter, Non-Local Means Buades, B. Coll, and J. Morel, A non-local algorithm for image denoising, CVPR, 2005 C. Tomasi and R. Manduchi, Bilateral filtering for gray and color images, ICCV 1998 P Milanfar, " A Tour of Modern Image Filtering ", IEEE Signal Processing Magazine, 2013 Online software http://www.ipol.im/