EE565 Advanced Image Processing Copyright Xin Li 2008 1 Statistical Modeling of Natural Images in the Wavelet Space Parametric models of wavelet coefficients.

Slides:



Advertisements
Similar presentations
NORMAL OR GAUSSIAN DISTRIBUTION Chapter 5. General Normal Distribution Two parameter distribution with a pdf given by:
Advertisements

Biomedical Statistics Testing for Normality and Symmetry Teacher:Jang-Zern Tsai ( 蔡章仁 ) Student: 邱瑋國.
Bayesian inference of normal distribution
Week11 Parameter, Statistic and Random Samples A parameter is a number that describes the population. It is a fixed number, but in practice we do not know.
Texture. Edge detectors find differences in overall intensity. Average intensity is only simplest difference. many slides from David Jacobs.
Image is NOT Perfect Sometimes
Visual Recognition Tutorial
Review of Basic Probability and Statistics
Young Deok Chun, Nam Chul Kim, Member, IEEE, and Ick Hoon Jang, Member, IEEE IEEE TRANSACTIONS ON MULTIMEDIA,OCTOBER 2008.
Transform-based Models
Resampling techniques Why resampling? Jacknife Cross-validation Bootstrap Examples of application of bootstrap.
Texture Reading: Chapter 9 (skip 9.4) Key issue: How do we represent texture? Topics: –Texture segmentation –Texture-based matching –Texture synthesis.
Statistical Methods in Computer Science Hypothesis Testing I: Treatment experiment designs Ido Dagan.
2008 Chingchun 1 Bootstrap Chingchun Huang ( 黃敬群 ) Vision Lab, NCTU.
Probability and Statistics Review
Data Mining CS 341, Spring 2007 Lecture 4: Data Mining Techniques (I)
Linear and generalised linear models
Wavelet-based Texture Synthesis
Statistical Methods in Computer Science Hypothesis Testing I: Treatment experiment designs Ido Dagan.
(1) A probability model respecting those covariance observations: Gaussian Maximum entropy probability distribution for a given covariance observation.
Lecture II-2: Probability Review
Image Representation Gaussian pyramids Laplacian Pyramids
Motivation from Real-World Applications EE565 Advanced Image Processing Copyright Xin Li Noisy Photos Noisy ultrasound data.
School of Electrical & Computer Engineering Image Denoising Using Gaussian Scale Mixtures in the Wavelet domain Alex Cunningham Ben Clarke Dy narath Eang.
Probability Theory and Random Processes
Computer vision.
Why do we Need Image Model in the first place?
CAP5415: Computer Vision Lecture 4: Image Pyramids, Image Statistics, Denoising Fall 2006.
INDEPENDENT COMPONENT ANALYSIS OF TEXTURES based on the article R.Manduchi, J. Portilla, ICA of Textures, The Proc. of the 7 th IEEE Int. Conf. On Comp.
Texture. Texture is an innate property of all surfaces (clouds, trees, bricks, hair etc…). It refers to visual patterns of homogeneity and does not result.
1 Statistical Distribution Fitting Dr. Jason Merrick.
CS433: Modeling and Simulation Dr. Anis Koubâa Al-Imam Mohammad bin Saud University 15 October 2010 Lecture 05: Statistical Analysis Tools.
ECE 8443 – Pattern Recognition LECTURE 07: MAXIMUM LIKELIHOOD AND BAYESIAN ESTIMATION Objectives: Class-Conditional Density The Multivariate Case General.
Statistical Methods II&III: Confidence Intervals ChE 477 (UO Lab) Lecture 5 Larry Baxter, William Hecker, & Ron Terry Brigham Young University.
School of Electrical & Computer Engineering Image Denoising Using Steerable Pyramids Alex Cunningham Ben Clarke Dy narath Eang ECE November 2008.
Texture Key issue: representing texture –Texture based matching little is known –Texture segmentation key issue: representing texture –Texture synthesis.
EE565 Advanced Image Processing Copyright Xin Li Motivating Applications HDTV Internet video Artistic reproduction Widescreen movie.
Why do we Need Statistical Model in the first place? Any image processing algorithm has to work on a collection (class) of images instead of a single one.
MACHINE LEARNING 8. Clustering. Motivation Based on E ALPAYDIN 2004 Introduction to Machine Learning © The MIT Press (V1.1) 2  Classification problem:
Statistical Modeling of Images and its Application into Denoising What is statistics and why? a mathematical science pertaining to the collection, analysis,
EE565 Advanced Image Processing Copyright Xin Li Image Denoising Theory of linear estimation Spatial domain denoising techniques Conventional Wiener.
Introduction to Digital Signals
Lecture 3: Statistics Review I Date: 9/3/02  Distributions  Likelihood  Hypothesis tests.
EE565 Advanced Image Processing Copyright Xin Li Why do we Need Image Model in the first place? Any image processing algorithm has to work on a collection.
EE565 Advanced Image Processing Copyright Xin Li Image Denoising: a Statistical Approach Linear estimation theory summary Spatial domain denoising.
EE565 Advanced Image Processing Copyright Xin Li Statistical Modeling of Natural Images in the Wavelet Space Why do we need transform? A 30-min.
Geology 6600/7600 Signal Analysis 02 Sep 2015 © A.R. Lowry 2015 Last time: Signal Analysis is a set of tools used to extract information from sequences.
Review of Probability. Important Topics 1 Random Variables and Probability Distributions 2 Expected Values, Mean, and Variance 3 Two Random Variables.
MIT AI Lab / LIDS Laboatory for Information and Decision Systems & Artificial Intelligence Laboratory Massachusetts Institute of Technology A Unified Multiresolution.
Lecture 1: Basic Statistical Tools. A random variable (RV) = outcome (realization) not a set value, but rather drawn from some probability distribution.
Chapter 20 Statistical Considerations Lecture Slides The McGraw-Hill Companies © 2012.
Nonparametric Modeling of Textures Outline Parametric vs. nonparametric Image patches and similarity distance Efros-Leung’s texture synthesis by non- parametric.
EE565 Advanced Image Processing Copyright Xin Li Further Improvements Gaussian scalar mixture (GSM) based denoising* (Portilla et al.’ 2003) Instead.
EE5965 Advanced Image Processing Copyright Xin Li Post-processing: Fighting Against Coding Artifacts Deblocking of DCT coded images – Image.
EE565 Advanced Image Processing Copyright Xin Li Why do we Need Image Model in the first place? Any image processing algorithm has to work on a collection.
Lecture 22 Image Restoration. Image restoration Image restoration is the process of recovering the original scene from the observed scene which is degraded.
GIS and Spatial Analysis1 Summary  Parametric Test  Interval/ratio data  Based on normal distribution  Difference in Variances  Differences are just.
Chapter 4. The Normality Assumption: CLassical Normal Linear Regression Model (CNLRM)
Inference about the slope parameter and correlation
Outline Introduction Signal, random variable, random process and spectra Analog modulation Analog to digital conversion Digital transmission through baseband.
This Week Review of estimation and hypothesis testing
Ch8: Nonparametric Methods
Directional Multiscale Modeling of Images
Parameter, Statistic and Random Samples
Image Analysis Image Restoration.
Jeremy Bolton, PhD Assistant Teaching Professor
Where did we stop? The Bayes decision rule guarantees an optimal classification… … But it requires the knowledge of P(ci|x) (or p(x|ci) and P(ci)) We.
EMIS 7300 SYSTEMS ANALYSIS METHODS FALL 2005
Introductory Statistics
Presentation transcript:

EE565 Advanced Image Processing Copyright Xin Li Statistical Modeling of Natural Images in the Wavelet Space Parametric models of wavelet coefficients  Univariate i.i.d. models  Spatially adaptive models Application into texture synthesis  Pyramid-based scheme (Heeger&Bergen’1995)  Projection-based scheme (Portilla&Simoncelli’2000)

EE565 Advanced Image Processing Copyright Xin Li Recall: Transform Facilitates Modeling x1x1 x2x2 y1y1 y2y2 x 1 and x 2 are highly correlated p(x 1 x 2 )  p(x 1 )p(x 2 ) y 1 and y 2 are less correlated p(y 1 y 2 )  p(y 1 )p(y 2 )

EE565 Advanced Image Processing Copyright Xin Li Empirical Observation H1H1 A single peak at zero

EE565 Advanced Image Processing Copyright Xin Li Univariate Probability Model Laplacian: Gaussian:

EE565 Advanced Image Processing Copyright Xin Li Gaussian Distribution

EE565 Advanced Image Processing Copyright Xin Li Laplacian Distribution

EE565 Advanced Image Processing Copyright Xin Li Statistical Testing How do we know which parametric model better fits the empirical distribution of wavelet coefficients? In addition to visual inspection (which is often subjective and less accurate), we can use various statistical testing tools to objectively evaluate the closeness of an empirical cumulative distribution function (ECDF) to the hypothesized one One of the most widely used techniques is Kolmogorov-Smirnov Test (MATLAB function: >help kstest).

EE565 Advanced Image Processing Copyright Xin Li Kolmogorov-Smirnov Test* The K-S test is based on the maximum distance between empirical CDF (ECDF) and hypothesized CDF (e.g., the normal distribution N(0,1)).

EE565 Advanced Image Processing Copyright Xin Li Example Usage: [H,P,KS,CV] = KSTEST(X,CDF) If CDF is omitted, it assumes pdf of N(0,1) x: computer-generated samples (0<P<1, the larger P, the more likely) Accept the hypothesis Reject the hypothesis d: high-band wavelet coefficients of lena image (note the normalization by signal variance)

EE565 Advanced Image Processing Copyright Xin Li Generalized Gaussian/Laplacian Distribution where Laplacian Gaussian P: shape parameter : variance parameter

EE565 Advanced Image Processing Copyright Xin Li Model Parameter Estimation* Maximum Likelihood Estimation Method of moments Linear regression method [1] Sharifi, K. and Leon-Garcia, A. “ Estimation of shape parameter for generalized Gaussian distributions in subband decompositions of video, ” IEEE T-CSVT, No. 1, February 1995, pp [2] Ref.

EE565 Advanced Image Processing Copyright Xin Li I.I.D. Assumption Challenged If wavelet coefficients of each subband are indeed i.i.d., then random permutation of pixels should produce another image of the same class (natural images) The fundamental question here: does WT completely decorrelate image signals?

EE565 Advanced Image Processing Copyright Xin Li Image Example High-band coefficients permutation You can run the MATLAB demo to check this experiment

EE565 Advanced Image Processing Copyright Xin Li Another Experiment Joint pdf of two uncorrelated random variables X and Y X Y

EE565 Advanced Image Processing Copyright Xin Li Joint PDF of Wavelet Coefficients Neighborhood I(Q): {Left,Up,cousin and aunt} X= Y= Joint pdf of two correlated random variables X and Y

EE565 Advanced Image Processing Copyright Xin Li Heeger&Bergen’1995: Histogram-based Pyramid-based (using steerable pyramids)  Facilitate the statistical modeling Histogram matching  Enforce the first-order statistical constraint Texture matching  Alternate histogram matching in spatial and wavelet domain Boundary handling: use periodic extension Color consistency: use color transformation Basic idea: two visually similar textures will also have similar statistics

EE565 Advanced Image Processing Copyright Xin Li Histogram Matching Generalization of histogram equalization (the target is the histogram of a given image instead of uniform distribution)

EE565 Advanced Image Processing Copyright Xin Li Histogram Equalization Uniform Quantization Note: L 1 x L y 0 cumulative probability function

EE565 Advanced Image Processing Copyright Xin Li MATLAB Implementation function y=hist_eq(x) [M,N]=size(x); for i=1:256 h(i)=sum(sum(x= =i-1)); End y=x;s=sum(h); for i=1:256 I=find(x= =i-1); y(I)=sum(h(1:i))/s*255; end Calculate the histogram of the input image Perform histogram equalization

EE565 Advanced Image Processing Copyright Xin Li Histogram Equalization Example

EE565 Advanced Image Processing Copyright Xin Li Histogram Specification ST S -1 * T histogram 1 histogram 2 ?

EE565 Advanced Image Processing Copyright Xin Li Texture Matching Objective: the histogram of both subbands and synthesized image matches the given template Basic hypothesis: if two texture images visually look similar, then they have similar histograms in both spatial and wavelet domain

EE565 Advanced Image Processing Copyright Xin Li Image Examples

EE565 Advanced Image Processing Copyright Xin Li Portilla&Simoncelli’2000: Parametric Instead of matching histogram (nonparametric models), we can build parametric models for wavelet coefficients and enforce the synthesized image to inherit the parameters of given image Model parameters: 710 parameters were used in Portilla and Simoncelli ’ s experiment (4 orientations, 4 scales, 7  7 neighborhood) Basic idea: two visually similar textures will also have similar statistics

EE565 Advanced Image Processing Copyright Xin Li Statistical Constraints Four types of constraints  Marginal Statistics  Raw coefficient correlation  Coefficient magnitude statistics  Cross-scale phase statistics Alternating Projections onto the four constraint sets  Projection-onto-convex-set (POCS)

EE565 Advanced Image Processing Copyright Xin Li Convex Set A set Ω is said to be convex if for any two point We have Convex set examples Non-convex set examples

EE565 Advanced Image Processing Copyright Xin Li Projection Operator f g Projection onto convex set C C In simple words, the projection of f onto a convex set C is the element in C that is closest to f in terms of Euclidean distance

EE565 Advanced Image Processing Copyright Xin Li Alternating Projection X0X0 X1X1 X2X2 X∞X∞ Projection-Onto-Convex-Set (POCS) Theorem: If C 1, …,C k are convex sets, then alternating projection P 1, …,P k will converge to the intersection of C 1, …,C k if it is not empty Alternating projection does not always converge in the case of non-convex set. Can you think of any counter-example? C1C1 C2C2

EE565 Advanced Image Processing Copyright Xin Li Convex Constraint Sets ● Non-negative set ● Bounded-value set ● Bounded-variance set A given signal or

EE565 Advanced Image Processing Copyright Xin Li Non-convex Constraint Set Histogram matching used in Heeger&Bergen’1995 Bounded Skewness and Kurtosis skewnesskurtosis The derivation of projection operators onto constraint sets are tedious are referred to the paper and MATLAB codes by Portilla&Simoncelli.

EE565 Advanced Image Processing Copyright Xin Li Image Examples original synthesized

EE565 Advanced Image Processing Copyright Xin Li Image Examples (Con’d) original synthesized

EE565 Advanced Image Processing Copyright Xin Li When Does It Fail? original synthesized

EE565 Advanced Image Processing Copyright Xin Li Summary Textures represent an important class of structures in natural images – unlike edges characterizing object boundaries, textures often associate with the homogeneous property of object surfaces Wavelet-domain parametric models provide a parsimonious representation of high-order statistical dependency within textural images