Wavelet Applications. Texture analysis&synthesis. Gloria Menegaz 1

Similar documents
Pattern recognition. Classification/Clustering GW Chapter 12 (some concepts) Textures

Machine learning Pattern recognition. Classification/Clustering GW Chapter 12 (some concepts) Textures

Region-based Segmentation

Pattern recognition. Classification/Clustering GW Chapter 12 (some concepts) Textures

A Parametric Texture Model based on Joint Statistics of Complex Wavelet Coefficients. Gowtham Bellala Kumar Sricharan Jayanth Srinivasa

Parametric Texture Model based on Joint Statistics

INTERNATIONAL JOURNAL OF PURE AND APPLIED RESEARCH IN ENGINEERING AND TECHNOLOGY

Feature extraction. Bi-Histogram Binarization Entropy. What is texture Texture primitives. Filter banks 2D Fourier Transform Wavlet maxima points

2. LITERATURE REVIEW

A Neural Algorithm of Artistic Style. Leon A. Gatys, Alexander S. Ecker, Mattthias Bethge Presented by Weidi Xie (1st Oct 2015 )

ELEC Dr Reji Mathew Electrical Engineering UNSW

A Parametric Texture Model Based on Joint Statistics of Complex Wavelet Coecients

Texture Based Image Segmentation and analysis of medical image

7.1 INTRODUCTION Wavelet Transform is a popular multiresolution analysis tool in image processing and

Feature Extraction from Wavelet Coefficients for Pattern Recognition Tasks. Rajat Aggarwal Chandu Sharvani Koteru Gopinath

MULTIVARIATE TEXTURE DISCRIMINATION USING A PRINCIPAL GEODESIC CLASSIFIER

5. Feature Extraction from Images

Efficient Image Compression of Medical Images Using the Wavelet Transform and Fuzzy c-means Clustering on Regions of Interest.

MRT based Adaptive Transform Coder with Classified Vector Quantization (MATC-CVQ)

Lecture 11: Classification

Neural Network based textural labeling of images in multimedia applications

Sonar Image Compression

Image pyramids and their applications Bill Freeman and Fredo Durand Feb. 28, 2006

Constraining Rainfall Replicates on Remote Sensed and In-Situ Measurements

Frequency analysis, pyramids, texture analysis, applications (face detection, category recognition)

Norbert Schuff VA Medical Center and UCSF

A COMPARISON OF WAVELET-BASED AND RIDGELET- BASED TEXTURE CLASSIFICATION OF TISSUES IN COMPUTED TOMOGRAPHY

Learning and Inferring Depth from Monocular Images. Jiyan Pan April 1, 2009

Schedule for Rest of Semester

Texture. Texture is a description of the spatial arrangement of color or intensities in an image or a selected region of an image.

Image Processing, Analysis and Machine Vision

INFORMATION SYSTEMS BASED ON NEURAL NETWORK AND WAVELET METHODS WITH APPLICATION TO DECISION MAKING, MODELING AND PREDICTION TASKS.

Digital Image Processing

Two Dimensional Wavelet and its Application

Practical Image and Video Processing Using MATLAB

Multiresolution Image Processing

CHAPTER 3 WAVELET DECOMPOSITION USING HAAR WAVELET


Progressive Geometry Compression. Andrei Khodakovsky Peter Schröder Wim Sweldens

Contextual priming for artificial visual perception

Texture Modeling using MRF and Parameters Estimation

Classifying Images with Visual/Textual Cues. By Steven Kappes and Yan Cao

MR IMAGE SEGMENTATION

Segmentation Region-based processing. Feature extraction Gonzalez-Woods Chapt. 10 Pratt Chapt. 16 and 17

Texture Similarity Measure. Pavel Vácha. Institute of Information Theory and Automation, AS CR Faculty of Mathematics and Physics, Charles University

TEXTURE. Plan for today. Segmentation problems. What is segmentation? INF 4300 Digital Image Analysis. Why texture, and what is it?

CHAPTER 2 TEXTURE CLASSIFICATION METHODS GRAY LEVEL CO-OCCURRENCE MATRIX AND TEXTURE UNIT

CLASSIFICATION AND CHANGE DETECTION

Texture. Frequency Descriptors. Frequency Descriptors. Frequency Descriptors. Frequency Descriptors. Frequency Descriptors

Reversible Wavelets for Embedded Image Compression. Sri Rama Prasanna Pavani Electrical and Computer Engineering, CU Boulder

ECG782: Multidimensional Digital Signal Processing

CHAPTER 4 TEXTURE FEATURE EXTRACTION

CS 534: Computer Vision Texture

Previously. Part-based and local feature models for generic object recognition. Bag-of-words model 4/20/2011

Classification. Vladimir Curic. Centre for Image Analysis Swedish University of Agricultural Sciences Uppsala University

Texture Analysis. Selim Aksoy Department of Computer Engineering Bilkent University

CHAPTER 4 FEATURE EXTRACTION AND SELECTION TECHNIQUES

Dietrich Paulus Joachim Hornegger. Pattern Recognition of Images and Speech in C++

CHAPTER 3 DIFFERENT DOMAINS OF WATERMARKING. domain. In spatial domain the watermark bits directly added to the pixels of the cover

Generative and discriminative classification techniques

Templates, Image Pyramids, and Filter Banks

Part-based and local feature models for generic object recognition

Multiresolution Sampling Procedure for Analysis and Synthesis of Texture Images

A Non-parametric Multi-Scale Statistical Model for Natural Images

IMAGE ANALYSIS, CLASSIFICATION, and CHANGE DETECTION in REMOTE SENSING

Texture Analysis of Painted Strokes 1) Martin Lettner, Paul Kammerer, Robert Sablatnig

Robotics Programming Laboratory

ECE 176 Digital Image Processing Handout #14 Pamela Cosman 4/29/05 TEXTURE ANALYSIS

Patch-based Object Recognition. Basic Idea

A Content Based Image Retrieval System Based on Color Features

DATA and signal modeling for images and video sequences. Region-Based Representations of Image and Video: Segmentation Tools for Multimedia Services

INF 5860 Machine learning for image classification. Lecture 11: Visualization Anne Solberg April 4, 2018

CHAPTER 6 DETECTION OF MASS USING NOVEL SEGMENTATION, GLCM AND NEURAL NETWORKS

Image Analysis, Classification and Change Detection in Remote Sensing

Multi-focus Image Fusion Using Stationary Wavelet Transform (SWT) with Principal Component Analysis (PCA)

ADAPTIVE TEXTURE IMAGE RETRIEVAL IN TRANSFORM DOMAIN

TEXTURE ANALYSIS USING GABOR FILTERS FIL

IMAGE PROCESSING USING DISCRETE WAVELET TRANSFORM

MULTI-SCALE STRUCTURAL SIMILARITY FOR IMAGE QUALITY ASSESSMENT. (Invited Paper)

Analysis of Image and Video Using Color, Texture and Shape Features for Object Identification

Original Research Articles

Adaptive Quantization for Video Compression in Frequency Domain

Statistical image models

Automatic Texture Segmentation for Texture-based Image Retrieval

Statistical Pattern Recognition

IMAGE ENHANCEMENT USING NONSUBSAMPLED CONTOURLET TRANSFORM

Wavelet-Based Video Compression Using Long-Term Memory Motion-Compensated Prediction and Context-Based Adaptive Arithmetic Coding

Sparse Models in Image Understanding And Computer Vision

Figure 1: Workflow of object-based classification

Bilevel Sparse Coding

Marble classification using scale spaces

Digital Image Processing. Lecture # 15 Image Segmentation & Texture

Analysis and Synthesis of Texture

Autoregressive and Random Field Texture Models

A Geometric Hidden Markov Tree Wavelet Model

Dense Image-based Motion Estimation Algorithms & Optical Flow

Compression of RADARSAT Data with Block Adaptive Wavelets Abstract: 1. Introduction

Handwritten Script Recognition at Block Level

An Approach for Reduction of Rain Streaks from a Single Image

CHAPTER 3 SURFACE ROUGHNESS

Transcription:

Wavelet Applications Texture analysis&synthesis Gloria Menegaz 1

Wavelet based IP Compression and Coding The good approximation properties of wavelets allow to represent reasonably smooth signals with few non-zero coefficients efficient wavelet based coding systems DWT (critically sampled) Among the most famous are Embedded Zerotree Wavelet (EZW) Layered Zero (LZ) Coding Embedded Block Coding (EBCOT) Image denoising Image quality assessment Signal analysis q The good spatial and frequency domain localization properties make wavelet a powerful tool for characterizing signals DWF (overcomplete) Feature extraction Pattern recognition Identification of structures in natural images Curvelets, ridgelets Identification of textures Classification Segmentation Gloria Menegaz 2

Gloria Menegaz 3

What is texture? No agreed reference definition Texture is property of areas Involves spatial distributions of grey levels A region is perceived as a texture if the number of primitives in the field of view is sufficiently high Invariance to translations Macroscopic visual attributes uniformity, roughness, coarseness, regularity, directionality, frequency [Rao-96] Sliding window paradigm Gloria Menegaz 4

Feature extraction for texture analysis Statistical methods Textures as realizations of an underlying stochastic process Spatial distributions of grey levels Statistical descriptors Subband histograms, co-occurrence matrices, autocorrelation, n-th order moments, MRFs... A-priori assumptions locality, stationarity, spatial ergodicity, parametric form for the pdf (Gaussian) Structural methods Texture as sets of geometric structures Descriptors primitives+placement rules Suited for highly regular textures Multi-scale methods Combined with statistical methods Models of early visual processes Multi-resolution analysis (wavelet based) Gabor wavelets are optimal as they have maximum resolution in space and frequency Gloria Menegaz 5

Texture analysis Texture segmentation Spatial localization of the different textures that are present in an image Does not imply texture recognition (classification) The textures do not need to be structurally different Apparent edges Do not correspond to a discontinuity in the luminance function Texture segmentation Texture segregation Complex or higher-order texture channels Gloria Menegaz 6

Texture analysis Texture classification (recognition) Hypothesis: textures pertaining to the same class have the same visual appearance the same perceptual features Identification of the class the considered texture belongs to within a given set of classes Implies texture recognition The classification of different textures within a composite image results in a segmentation map Gloria Menegaz 7

Texture Classification Problem statement Given a set of classes {ω i, i=1,...n} and a set of observations {x i, k,k=1,...m} determine the most probable class, given the observations. This is the class that maximizes the conditional probability: Method Describe the texture by some features which are related to its appearance Texture class ω k Subband statistics Feature Vectors (FV) x i,k Define a distance measure for FV Should reflect the perceived similarity/dissimilarity among textures (unsolved) Choose a classification rule w = max P( w x winner Recipe for comparing FV and choose the winner class k Assign the considered texture sample to the class which is the closest in the feature space i k ) Gloria Menegaz 8

Exemple: texture classes ω 1 ω 2 ω 3 ω 4 Gloria Menegaz 9

FV extraction Step 1: create independent texture instances Training set Test set Gloria Menegaz 10

Feature extraction Step 2: extract features to form feature vectors Intensity image subimages DWT/DWF For each sub-image For each subband Calculate the local energy (variance) The FVs contain some statistical parameters evaluated on the subband images estimates of local variances histograms Fill the corresponding position in the FV One FV for each sub-image Þ Collect the local energy of each sub-image in the different subbands in a vector Classification algorithm Gloria Menegaz 11

Building the FV approximation d 1 d 2 d 3 scale 1 scale 2 Gloria Menegaz 12

scale 1 elements of FV 1 of texture 1 elements of FV 2 of texture 1 Building the FV approximation d 1 d 2 d 3 FV 1 FV 2 scale 2 Gloria Menegaz 13

Implementation Step 1: Training The classification algorithm is provided with many examples of each texture class in order to build clusters in the feature space which are representative of each class Step 2: Test Examples are sets of FV for each texture class Clusters are formed by aggregating vectors according to their distance The algorithm is fed with an example of texture ω i (vector x i,k ) and determines which class it belongs as the one which is closest Sample Training set Build the reference cluster Feature extraction Test set Classification core Gloria Menegaz 14

Clustering in the Feature Space Bi-dimensional feature space (FV of size 2) Multi-dimensional feature space FV(1) FV(1) FV(2) FV(3) FV classification: identification of the cluster which best represents the vector according to the chosen distance measure FV(2) Gloria Menegaz 15

Classification algorithms Measuring the distance among a class and a vector Each class (set of vectors) is represented by the mean (m) vector and the vector of the variances (s) of its components Þ the training set is used to build m and s The distance is taken between the test vector and the m vector of each class The test vector is assigned to the class to which it is closest Euclidean classifier Weighted Euclidean classifier Measuring the distance among every couple of vectors knn classifier Gloria Menegaz 16

knn classifier Given a vector v of the test set Take the distance between the vector v and ALL the vectors of the training set (while calculating) keep the k smallest distances and keep track of the class they correspond to Assign v to the class which is most represented in the set of the k smallest distances 0.1 0.57 0.9 1.2 2.5 2.77 3.14 0.1 6.10 7.9 8.4 2.3 k=3 FV for class 1 FV for class 2 FV for class 3 v v is assigned to class 1 Gloria Menegaz 17

Confusion matrix textures 1 2 3 4 5 6 7 8 9 10 % correct 1 841 0 0 0 0 0 0 0 0 0 100.00% 2 0 840 1 0 0 0 0 0 0 0 99.88% 3 2 0 839 0 0 0 0 0 0 0 99.76% 4 0 0 0 841 0 0 0 0 0 0 100.00% 5 0 0 88 0 753 0 0 0 0 0 89.54% 6 0 0 134 0 0 707 0 0 0 0 84.07% 7 0 66 284 0 0 0 491 0 0 0 58.38% 8 0 0 58 0 0 0 0 783 0 0 93.10% 9 0 0 71 0 0 0 0 0 770 0 91.56% 10 0 4 4 0 0 0 0 0 0 833 99.05% Average recognition rate 91.53% Gloria Menegaz 18

Texture Segmentation Problem statement Given an image, identify the regions characterized by different features How? Same approach used for classification Key difference: focus on feature gradients, namely local discontinuities in feature space represented by differences in feature vectors Noteworthy If feature vectors are collections of local variances, it is the difference in such a parameter that is assumed to reveal the presence of an apparent edge More in general, segmentation is based on image interpretation, which is very difficult to model Often supervised Tailored on the application: no golden rule for segmentation! Key point: image interpretation and semantics Gloria Menegaz 19

Relation to complex texture channels Model for pre-attentive texture segregation LNL (linear-non linear-linear) model The idea is to detect low spatial frequency features of high spatial frequency first-stage responses [Landi&Oruc 2002] First order linear spatial filter Point-wise non linearity Second order linear spatial filter Pooling and decision Gloria Menegaz 20

Example of a segmentation map texture1 texture 2 texture 3 texture 4 texture 5 texture 6 texture 7 texture 8 texture 9 texture 10 Gloria Menegaz 21

Texture synthesis Define a generative model to create new textures having the same visual appearance of the original one Structural methods Crystal growth Highly structured and regular textures Stochastic methods Reproduce statistical descriptors Co-occurrence matrices, autocorrelation features, MRF Very natural Could require parameter estimation Usually high computational cost Multi-scale methods Reproduce Intra-band and Inter-band relationships among subband coefficients pixel statistics,subband marginals and covariance, subband joint distributions Explicit or Implicit Suitable for both natural and artificial structured textures Gloria Menegaz 22

Recipe for perceptual texture synthesis Consider the image as a realization of an underlying stochastic process Define a stochastic model for the stimulus as well as criterion for sampling from the corresponding distribution and generating a new realization Possible approaches Parametric techniques: explicit constraining of statistical parameters Filters Random fields And Maximum Entropy (FRAME) model [Zhu&Mumford-05] Constraining Joint statistics of subband coefficients [Portilla&Simoncelli-00] Non parametric techniques Multi-resolution probabilistic texture modeling [De Bonet-97] DWT based non parametric texture synthesis [Menegaz-01] Gloria Menegaz 23

Portilla&Simoncelli Statistical parameters Marginal and joint subband statistics Variance and other 2 nd order moments Auto and mutual correlations between subbands Magnitude correlations non-linearity Self and mutual correlations between phase images Reference model (statistics of the original sample) Multi-scale oriented decomposition (Wavelet transform) Constraining subband statistics Gloria Menegaz 24

Portilla&Simoncelli Gloria Menegaz 25

DWT based texture synthesis Controlled shuffling of hierarchies of wavelet coefficients Original sample model MRA Multi-scale conditional sampling Inverse transform (reconstruction) Perceptual testing Synthesized sample Gloria Menegaz 26

original sample Multiresolution Probabilistic TM Perceptual decomposition Statistical modeling Multiscale orientation-selective decomposition mimicking the neural responses to the visual stimulus Non-parametric constraining of the joint distributions of subband coefficients. Inter-band dependencies among subbands with same orientation at different scales are preserved by multiscale conditional sampling Sampling Reconstruction synthesized sample The appearance of a subband coefficient at a given scale and orientation is conditioned to the appearance of its ancestors at all coarser scales parent vector The synthesis pyramid is filled by sampling from the analysis pyramid, and is then collapsed to get the synthetic image If the resulting texture is not satisfying, the procedure is repeated with different model parameters Perceptual testing Gloria Menegaz 27

Gloria Menegaz 28 Formally Feature Vector (M: #feature images, N:# of levels): ] 2, 2,..., 2, 2, 2, 2,..., 2, 2,..., 2, 2, 2, 2 ),, ( ),...,, ( ),, ( [ ), ( 1 0 1 1 1 0 1 0 1 0 0 0 ø ö ç è æ ø ö ç è æ ø ö ç è æ ø ö ç è æ ø ö ç è æ ø ö ç è æ = N N M N N N N N N N M M y x F y x F y x F y x F y x F y x F y x F y x F y x F y x V!

MPTM results Gloria Menegaz 29

Generalization to 2D+1 Textures 2D+1 textures are meant as the result of the observation of a realization of a stochastic 2D process by a moving observer Temporal features are due to the change of the observation point of view Key point: preserve the temporal relation between successive images in the sequence Major issue: define a growing rule for subband regions simulating any displacement in image space Hypothesis The motion is given The trajectory is piece-wise linear Guideline Integrate the motion information within the DWT-based Multiresolution Probabilistic Texture Modeling (MPTM) algorithm [Menegaz-00] Advantages Suitable for the integration in a coding system Low complexity running in real time Gloria Menegaz 30

Color Textures Textures Û Color distributions with a spatial structure When different color distributions are perceptually equivalent? How do texture and color interact? On going research Gloria Menegaz 31