Texture Modeling using MRF and Parameters Estimation

Similar documents
Image Restoration using Markov Random Fields

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

Texture Analysis. Selim Aksoy Department of Computer Engineering Bilkent University

Texture Analysis and Applications

MRF Based LSB Steganalysis: A New Measure of Steganography Capacity

MR IMAGE SEGMENTATION

A Quantitative Approach for Textural Image Segmentation with Median Filter

Statistical and Learning Techniques in Computer Vision Lecture 1: Markov Random Fields Jens Rittscher and Chuck Stewart

Wavelet Applications. Texture analysis&synthesis. Gloria Menegaz 1

Sampling informative/complex a priori probability distributions using Gibbs sampling assisted by sequential simulation

MRF-based Algorithms for Segmentation of SAR Images

Undirected Graphical Models. Raul Queiroz Feitosa

Integrating Intensity and Texture in Markov Random Fields Segmentation. Amer Dawoud and Anton Netchaev. {amer.dawoud*,

Unsupervised Segmentation of Synthetic Aperture Radar Sea Ice Imagery Using A Novel Markov Random Field Model

Hidden MRF Detection of Motion of Objects with Uniform Brightness

Texture Image Segmentation using FCM

GiRaF: a toolbox for Gibbs Random Fields analysis

EE795: Computer Vision and Intelligent Systems

Fingerprint Image Enhancement Algorithm and Performance Evaluation

Bayesian Estimation for Skew Normal Distributions Using Data Augmentation

Markov Face Models. Abstract. 1. Introduction. Department of Statistics & Probability Department of Computer Science & Engineering

Document image binarisation using Markov Field Model

Unsupervised Texture Image Segmentation Using MRF- EM Framework

CLASSIFICATION OF BOUNDARY AND REGION SHAPES USING HU-MOMENT INVARIANTS

intro, applications MRF, labeling... how it can be computed at all? Applications in segmentation: GraphCut, GrabCut, demos

Application of MRF s to Segmentation

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

Exact optimization for Markov random fields with convex priors

Experimentation on the use of Chromaticity Features, Local Binary Pattern and Discrete Cosine Transform in Colour Texture Analysis

Evaluation of texture features for image segmentation

Parametric Texture Model based on Joint Statistics

Segmentation of Noisy Binary Images Containing Circular and Elliptical Objects using Genetic Algorithms

Algorithms for Markov Random Fields in Computer Vision

An ICA based Approach for Complex Color Scene Text Binarization

Image analysis. Computer Vision and Classification Image Segmentation. 7 Image analysis

COMPARISION OF NORMAL Vs HERNIATED CERVICAL IMAGES USING GRAY LEVEL TEXTURE FEATURES

Digital Image Processing Laboratory: Markov Random Fields and MAP Image Segmentation

MORPHOLOGICAL BOUNDARY BASED SHAPE REPRESENTATION SCHEMES ON MOMENT INVARIANTS FOR CLASSIFICATION OF TEXTURES

Textural Features for Image Database Retrieval

Norbert Schuff VA Medical Center and UCSF

Volume 2, Issue 11, November 2014 International Journal of Advance Research in Computer Science and Management Studies

Improving Latent Fingerprint Matching Performance by Orientation Field Estimation using Localized Dictionaries

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

Region-based Segmentation

MARKOV RANDOM FIELD IMAGE MODELLING. By Michael Mc Grath

NONLINEAR BACK PROJECTION FOR TOMOGRAPHIC IMAGE RECONSTRUCTION

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

Image Classification. RS Image Classification. Present by: Dr.Weerakaset Suanpaga

AN EFFICIENT BINARIZATION TECHNIQUE FOR FINGERPRINT IMAGES S. B. SRIDEVI M.Tech., Department of ECE

Mesh segmentation. Florent Lafarge Inria Sophia Antipolis - Mediterranee

AN ALGORITHM FOR BLIND RESTORATION OF BLURRED AND NOISY IMAGES

Detection and location of moving objects using deterministic relaxation algorithms

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

Image Compression for Mobile Devices using Prediction and Direct Coding Approach

Optimal Denoising of Natural Images and their Multiscale Geometry and Density

Computer vision: models, learning and inference. Chapter 10 Graphical Models

Modified Metropolis-Hastings algorithm with delayed rejection

Automatic Linguistic Indexing of Pictures by a Statistical Modeling Approach

Image Mining: frameworks and techniques

WE present here a method of modelling texture

Automatic Linguistic Indexing of Pictures by a Statistical Modeling Approach

HMM-Based Handwritten Amharic Word Recognition with Feature Concatenation

Image Quality Assessment Techniques: An Overview

MURDOCH RESEARCH REPOSITORY

I image restoration that uses the observed image data

A Computer Vision System for Graphical Pattern Recognition and Semantic Object Detection

A Hierarchical Statistical Framework for the Segmentation of Deformable Objects in Image Sequences Charles Kervrann and Fabrice Heitz IRISA / INRIA -

AN EFFICIENT BATIK IMAGE RETRIEVAL SYSTEM BASED ON COLOR AND TEXTURE FEATURES

Triplet Markov fields for the classification of complex structure data

Parameter Estimation of Markov Random Field Model of Image Textures

Experiments with Edge Detection using One-dimensional Surface Fitting

Mine Boundary Detection Using Markov Random Field Models

Texture Image Segmentation using Fractional Discrimination Functions

Empirical Bayesian Motion Segmentation

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

Statistical image models

CORRELATION BASED CAR NUMBER PLATE EXTRACTION SYSTEM

Visual Learning with Explicit and Implicit Manifolds

Image Segmentation Using Iterated Graph Cuts Based on Multi-scale Smoothing

Face Detection for Skintone Images Using Wavelet and Texture Features

Lecture 11: Classification

Computer Vision Group Prof. Daniel Cremers. 4. Probabilistic Graphical Models Directed Models

Image retrieval based on region shape similarity

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

Fingerprint Classification Using Orientation Field Flow Curves

IN the domain of image analysis, texture-based segmentation

Available Online through

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

Texture Segmentation

Direction-Length Code (DLC) To Represent Binary Objects

SLIDING WINDOW FOR RELATIONS MAPPING

Image Enhancement Techniques for Fingerprint Identification

Towards the completion of assignment 1

Chapter 7: Competitive learning, clustering, and self-organizing maps

Improved Non-Local Means Algorithm Based on Dimensionality Reduction

An Approach for Reduction of Rain Streaks from a Single Image

Digital Image Processing Laboratory: MAP Image Restoration

WATERMARKING FOR LIGHT FIELD RENDERING 1

Image Processing. BITS Pilani. Dr Jagadish Nayak. Dubai Campus

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

Transcription:

Texture Modeling using MRF and Parameters Estimation Ms. H. P. Lone 1, Prof. G. R. Gidveer 2 1 Postgraduate Student E & TC Department MGM J.N.E.C,Aurangabad 2 Professor E & TC Department MGM J.N.E.C,Aurangabad ABSTRACT Texture is one of the important characteristics, which exist in many natural images. It also plays an important role in human visual perception and provides information for recognition and interpretation. To enhance realism in graphical system, the study of textures is necessary. We have considered a texture to be a stochastic, possible to be periodic, twodimensional image field. We have used Markov Random Fields as texture models. We considered binomial model, where the field parameters control the strength and direction of the clustering in the image. With experimentation it is found that directionality, coarseness, gray level distribution, and sharpness can all be controlled by choice of the parameters. Generated textures are then estimated using one of the approximated Maximum likelihood estimation called as Coding method. The estimated parameters were used as input to the generation procedure to see is statistical approach sufficient when structural information is not known. We have considered a texture to be a stochastic, possible periodic, twodimensional image field. We have used Markov Random Fields as texture models. We considered binomial model, where each point in the texture has a binomial distribution with parameter controlled by its neighbors and the number of gray levels. The parameters of the Markov random field control the strength and direction of the clustering in the image. The power of the binomial model to produce blurry, sharp, linelike, and bloblike textures is demonstrated. Generated textures are then estimated using one of the approximated Maximum likelihood estimation called as Coding method. Keywords: Markov random field, Binomial model, Binomial distribution, Maximum likelihood estimation, Coding method. 1. INTRODUCTION Texture is one of the important characteristics, which exist in many natural images. It also plays an important role in human visual perception and provides information for recognition and interpretation. As a result, research on texture analysis has received considerable attention in recent years. A large number of approaches for texture classification and segmentation have been suggested. Texture is a fundamental characteristic in many natural images. For e.g., the image of a wooden surface is not uniform but contains variations of intensities, which form certain repeated patterns called visual texture. A complete definition of texture has been elusive as there does not exist an all encompassing mathematical model of texture. There are several definitions of texture formulated by different people depending upon the particular application but there is no generally agreed upon definition. There are three approaches for analyzing textures: Statistical texture measures: A set of features is used to represent the characteristics of a textured image. These features measure such properties as contrast, correlation, and entropy. They are usually derived from the grey value run length, grey value difference or Haralick s cooccurrence matrix. Features are selected heuristically and an image similar to the original cannot be recreated from the measured feature set. Structural texture modeling: Some textures can be viewed as two dimensional patterns consisting of a set of primitives or sub patterns which are arranged according to certain placement rules. Examples of such textures are brick wall. The primitives used are areas of constant grey level, edges, lines, curves, and polygons. Correct identification of these primitives is difficult. However if the primitives completely captivate the texture, then it is possible to recreate the texture from the primitives. Stochastic texture modeling: Volume 2, Issue 6, June 2013 Page 417

A texture is assumed to be the realization of a stochastic process which is governed by some parameters. Analysis is performed by defining a model and estimating the parameters so that the stochastic process can be reproduced from the model and associated parameters. The estimated parameters can serve as a feature for texture classification and segmentation problems. This approach offers the best possibility for recreating realistic examples of natural textures from a model. The MRF model shows a good progress in this regards. 1.2 Markov Random Field Texture Model: The Markov Random Field (MRF) is considered as texture model for the reason that it requires only one assumption to be made of the texture. The assumption is that the value of a single pixel is only conditionally dependent on its neighboring pixels. This is how an MRF is defined. Markov Random Field is a branch of probability theory, which provides a foundation for the characterization of contextual constraints and the derivation of the probability distribution of interacting features. The MRF is a texture model because of its flexibility in defining the statistical dimensionality and order. In a limiting case, a pixel could be dependent on all other pixels of the same texture, i.e., has a complex spatial structure. The other limiting case being that a pixel is not dependent on any other pixel i.e., has no spatial structure at all. Theoretically every homogeneous texture can be modeled as an MRF. For an MRF model to be valid, it must have a valid joint distribution for a random field. The joint distribution defines the probability for a particular realization of that field. This probability has to be defined such that for any two realizations of the same texture, the probabilities are similar. 1.3 Literature Review: Before carrying out the analysis of Markov Random Field model and practical implementation a through literature survey has been done so as to know and understand current trends and need of the day. It also helps to select the efficient technique amongst the available ones. This reduces complications of work and helps focusing towards the main objectives. George Cross and Anil Jain [3] considered a texture as a stochastic, possible periodic, twodimensional image field. They explored the use of Markov Random Fields as texture models. They considered binomial model, where each point in the texture had a binomial distribution with parameter controlled by its neighbours and the number of gray levels with theoretical and practical analysis of the method's convergence. They showed the parameters of the Markov Random Field control the strength and direction of the clustering in the image. Natural texture sampled digitized and their parameters estimated using one of the approximated Maximum likelihood estimation called as Coding method. Also hypothesis test was used for an objective assessment of goodnessoffit under the Markov Random Field model. Julian Besag [5] examined the formulation of conditional probability models for finite systems of spatially interacting random variables. Author also presented a simple alternative proof of the HammersleyClifford theorem and discussed some aspects of infinite lattice Gaussian processes. Methods of statistical analysis for lattice schemes proposed, including a very flexible Coding technique, illustrated by two numerical examples for Gaussian MRF. Also author maintained throughout the conditional probability approach to the specification and analysis of spatial interaction is more attractive than the alternative joint probability approach. In the work [2] presented by Rama Chellappa and Shankar Chatterjee present two feature extraction methods for the classification of textures using two dimensional (2D) Markov Random Field models. They assumed that the given texture is generated by a Gaussian MRF model. They used first method, the least square (LS) estimation for which they estimated model parameters and used as features. In the second method, they used the notion of sufficient statistics. They showed that the sample correlations over a symmetric window including the origin are optimal features for classification. Stuart Geman and Donald Geman [4] make an analogy between images and statistical mechanics system. They adopt a Bayesian approach, and introduce a "hierarchical," stochastic model for the original image, based on the Gibbs distribution, and a new restoration algorithm using Gibbs sampler, based on stochastic relaxation and annealing, for computing the maximum a posteriori (MAP) estimate of the original image given the degraded image. * Note: Please treat Ms. H. P. Lone as the corresponding author 2. SYSTEM DEVELOPMENT In this section the process of establishing the mathematical form of the model and the number of parameters is discussed. MRF and GRF are explained along with the algorithms to be used for synthesis and parameter estimation. 2.1 Markov Random Fields: Let F be a family of random variables defined on the set S is F = {F 1,, F m }. In which each random variable F i takes a value f i from F. And hence (F 1 = f 1,, F m = f m ) denotes the joint event which can simply abbreviated as F = f where f ={f 1, f m } is a configuration of F corresponding to a realization of the field. Volume 2, Issue 6, June 2013 Page 418

F is said to be a Markov random field on S w.r.t. a neighborhood system N if and only if the following two conditions are satisfied: Positivity: P(f) > 0, f F (1) The positivity is assumed for some technical reasons. When the positivity condition is satisfied, the joint probability P(f) of any random field is uniquely determined by its local conditional probabilities [2]. Markovianity: P(f i All point in the lattice except i) = P(f i Neighbors of i) P(f i f s {i} )= P( f i f Ni ) (2) Where s{i} is the set difference, f s {i} denotes the set of labels at the sites in s{i} and f Ni = { f i i N i } is set of labels at the sites neighbouring i. The Markovianity depicts the local characteristics of F,so neighbours only has direct interaction with each other [1]. A MRF also have other properties such as homogeneity and isotropy. So depending only on the configuration of neighbours and translation invariant i.e. independent of relative location of the site. Homogeneity is assumed for mathematical and computational convenience. The isotropy is property of direction independent. A MRF is said to be isotropic if it is independent of the orientation or direction. (a) Figure. 1. Texture images In above fig. 1(a) has no direction or orientation i.e. bloblike region so it is said to be isotropic where as fig. 1(b) has orientation in diagonal direction so it is not isotropic also called as anisotropic. 2.2 Sampling Techniques: A sampler can be used to generate a set of images from a specific distribution or MRF model. A texture is synthesized from an above MRF models by sampling. Two sampling algorithms used are the Metropolis sampler and the Gibbs sampler. Sampling Algorithm I: Initialize image with equal probable gray levels; Choose any two sites form f X interchange to get f Y ; r = P (f Y )/P (f X ); If r 1 Select next state i.e. f Y = f X ; Else Generate any random no u between [0,1]; If r >u Select next state i.e. f Y = f X ; Else Retain same state i.e. f Y = f X ; ; ; Sampling Algorithm II: Initialise image with equal probable gray levels; For all sites of images i S; Sample f i from P(f i f Ni ); Set f i to f i ; Volume 2, Issue 6, June 2013 Page 419 (b)

2.3 Parameter Estimation: A probabilistic distribution function has two essential elements: the form of the function and the parameters involved. For example, the joint distribution of an MRF is characterized by a Gibbs function with a set of clique potential parameters; and the noise by a zeromean Gaussian distribution parametrized by a variance. The problem of parameter estimation can have several levels of complexity. The simplest is to estimate the parameters, of a single MRF, F, from the data d, which are due to a clean realization, f, of that MRF. Treatments are needed if the data are noisy. When the noise parameters are unknown, they have to be estimated, too, along with the MRF parameters. The coding techniques used are: Pseudo likelihood parameter estimation and coding method. Estimation Technique I: Select initial value of parameter p as zero; Set first order derivative vector f d as zero; Set second order derivative matrix s d as zero; For all sites of images i Є s; Compute f d and s d ; Calculate p new = p old (s d 1 * f d ); Estimation Technique II: Select initial value of parameters p as zero for all codings k; Set all first order derivative vector f d k as zero; Set all second order derivative matrix s d k as zero; For all sites of images i Є s; Compute f d k and s d k for corresponding coding k; Calculate p new k = p old k (s d k1 * f d k ); Calculate parameter by arithmetic averaging of p k ; An issue in parameter estimation is the evaluation of fit. After a set of parameters are estimated, one would like to evaluate the estimate. The evaluation is to test the goodness of fit. How well does the sample distribution fit the estimated MRF model with parameter θ. This is a statistical problem. 3. RESULTS & DISCUSSIONS The results of various experiments. Experiments are divided in major three categories synthesis of texture, comparison of parameter estimation techniques and convergence property. The development tool used is MATLAB. 3.1 Synthesized Textures This section includes the synthesis of texture with known parameters.the Autobinomial model is used to synthesize textures. Sampling algorithm used is Metropolis algorithm. In following experiment a second order model is used. In Figure 2(a) it is clearly visible the clustering in vertical direction due high value of β 12. The β 11 parameter control clustering in horizontal direction and it is clearly visible in Figure 2(b). (a) (b) Figure 2. Anisotropic Textures with vertical and horizontal clustering. The parameters are (a) α = 0.26, β 11 = 2, β 12 = 2.1, β 21 = 0.13, β 22 = 0.015 (b) α = 2.04, β 11 = 1.93, β 12 = 0.16, β 21 = 0.07, β 22 = 0.02 Volume 2, Issue 6, June 2013 Page 420

3.2 Parameter Estimation: Parameters are estimated using Pseudo likelihood parameter estimation and Coding method for texture shown in Figure 2. Fourth order model estimations are performed for two methods and results are tabulated as below in Table 1. Estimated parameters for figure 2. Parameters α β 11 β 12 Β 21 β 22 β 31 β 32 β 41 β 42 Specified values 0.26 2 2.1 0.13 0.015 0 0 0 0 Pseudo likelihood estimation 4 th order 0.11 1.90 2.1 0.10 0.11 0.23 0.19 0.01 0.10 Coding method 4 th order 0.101 5 1.9739 2.169 7 0.0928 0.140 9 0.2202 0.1809 0.0101 Using the parameters obtained from the estimation technique we synthesize texture as given below: 0.105 8 (a) (b) (c) Figure 4.2 (a) Sample texture (b) texture generated using parameters of pseudo likelihood (c) texture generated using parameters of coding method. 4. CONCLUSION The patterns are generated by tuning the model parameters of Autobinomial MRF model. The model parameter β 11 and β 12 controls the horizontal and vertical clustering. Similarly β 21 and β 22 controls diagonal clustering. If these loworder parameters are positive then results in clustering but if highorder parameters are also positive then results into large clusters, whereas negative highorder parameters yield small clusters to inhibit growth of clusters. REFERENCES [1.] Stan Z. Li, Markov random field modeling in image analysis, Advances in Pattern Recognition, SpringerVerlag London Limited 2009 [2.] R. Chellappa and S. Chatterjee, Classification of textures using Gaussian Markov random fields, IEEE Transactions on Acoustics, Speech, and Signal Processing. vol ASSP 33,No4, pp.959963, 1985. [3.] G. C. Cross and A. K. Jain, Markov random Field texture models IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. PAMI5 No 1, pp. 2539, 1983. [4.] S. Geman and D. Geman, Stochastic relaxation, Gibbs distributions and the Bayesian restoration of images. IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. PAMI6 No 6 pp. 721741, 1984. [5.] J. Besag, Spatial interaction and the statistical analysis of lattice systems (with discussion), J. Royal Statist. Soc., series B, vol. 36, pp. 192326, 1974. [6.] M. Hassner and J. Sklansky, "The use of Markov random fields as models of texture," Comput. Graphics Image Processing, vol. 12, pp. 35 7370, 1980. [7.] R. W. Connors and C. A. Harlow, "A theoretical comparison of texture algorithms," IEEE Trans. Pattern Anal. Machine Intell., vol. PAMI2, pp. 204222, 1980. AUTHOR Mr G.R. Gidveer received B.E (E&TC) from University of Pune & M.E (Electronics) from BAMU University in 1974 & 1998 respectively. He has worked in various government colleges & currently serving as an Associate Professor in J.N.E.C, Aurangabad. He has done four national publications. Ms. H. P. Lone received B.E (E&TC) from University of Pune and currently pursuing M.E (Electronics) from BAMU University. Volume 2, Issue 6, June 2013 Page 421