Defect Detection Using Hidden Markov Random Fields

Similar documents
Bayesian Defect Signal Analysis

A Statistical Model for Eddy Current Signals from Steam Generator Tubes

Advances in developing multiscale flaw models for eddy-current NDE

Distributed Estimation and Detection for Sensor Networks Using Hidden Markov Random Field Models

Markov Chain Monte Carlo Defect Identification in NDE Images

Estimating statistical properties of Eddy-current signals from steam generator tubes

Spatial signal processing in wireless sensor networks

Characterization of residual stresses in ferrous components by magnetic anisotropy measurements using a hall effect sensor array probe

POD(a) = Pr (Y(a) > '1').

Fine Structure of 4-Critical Triangle-Free Graphs II. Planar Triangle-Free Graphs with Two Precolored 4-Cycles

EEL 851: Biometrics. An Overview of Statistical Pattern Recognition EEL 851 1

Detection of Anomalies in Texture Images using Multi-Resolution Features

SYDE 372 Introduction to Pattern Recognition. Probability Measures for Classification: Part I

PATTERN RECOGNITION AND MACHINE LEARNING

Introduction to Signal Detection and Classification. Phani Chavali

Statistical Filters for Crowd Image Analysis

Modifying Voice Activity Detection in Low SNR by correction factors

Research on the defect types judgment in wind turbine blades using ultrasonic NDT

FUSION OF MULTIMODAL NDE DATA FOR IMPROVED CORROSION DETECTION

ECE531 Lecture 6: Detection of Discrete-Time Signals with Random Parameters

Hidden Markov Models Part 1: Introduction

An inorganic capping strategy for the seeded growth of versatile bimetallic nanostructures

Introduction to Statistical Inference

Spectral and Spatial Methods for the Classification of Urban Remote Sensing Data

Intelligent Systems Statistical Machine Learning

Continuous State MRF s

IMPROVEMENT OF TIME REVERSAL PROCESSING IN TITANIUM INSPECTIONS

CS 2750: Machine Learning. Bayesian Networks. Prof. Adriana Kovashka University of Pittsburgh March 14, 2016

Change Detection Algorithms

L11: Pattern recognition principles

Research Article Doppler Velocity Estimation of Overlapping Linear-Period-Modulated Ultrasonic Waves Based on an Expectation-Maximization Algorithm

STONY BROOK UNIVERSITY. CEAS Technical Report 829

Random Processes. By: Nick Kingsbury

WHEN IS A MAXIMAL INVARIANT HYPOTHESIS TEST BETTER THAN THE GLRT? Hyung Soo Kim and Alfred O. Hero

SINGLE-CHANNEL SPEECH PRESENCE PROBABILITY ESTIMATION USING INTER-FRAME AND INTER-BAND CORRELATIONS

6.867 Machine Learning

IMPROVED METHODOLOGY FOR INSPECTION RELIABILITY ASSESSMENT FOR DETECTING SYNTHETIC HARD ALPHA INCLUSIONS IN TITANIUM

Machine Learning 4771

Machine Learning. Lecture 4: Regularization and Bayesian Statistics. Feng Li.

Covariance Matrix Simplification For Efficient Uncertainty Management

Quantile POD for Hit-Miss Data

Algorithmisches Lernen/Machine Learning

ECE521 week 3: 23/26 January 2017

Hyung So0 Kim and Alfred 0. Hero

TOWARD A VIABLE STRATEGY FOR ESTIMATING VIBROTHERMOGRAPHIC PROBABILITY OF DETECTION

PATTERN RECOGNITION AND MACHINE LEARNING

COMPUTER MODELING OF EDDY CURRENT PROBABILITY OF CRACK DETECTION. R.E. Beissner and J.S. Graves, III

Naïve Bayes classification

J. R. Bowler The University of Surrey Guildford, Surrey, GU2 5XH, UK

Three dimensional optical imaging of irregularly shaped plasma jets

University of Cambridge. MPhil in Computer Speech Text & Internet Technology. Module: Speech Processing II. Lecture 2: Hidden Markov Models I

Ch 4. Linear Models for Classification

Sequential Procedure for Testing Hypothesis about Mean of Latent Gaussian Process

ECE531 Screencast 9.2: N-P Detection with an Infinite Number of Possible Observations

Intelligent Systems Statistical Machine Learning

Shankar Shivappa University of California, San Diego April 26, CSE 254 Seminar in learning algorithms

DETECTION theory deals primarily with techniques for

Decentralized Detection In Wireless Sensor Networks

Machine Learning Lecture 2

Change Detection in Optical Aerial Images by a Multi-Layer Conditional Mixed Markov Model

Performance Comparison of K-Means and Expectation Maximization with Gaussian Mixture Models for Clustering EE6540 Final Project

Uncertainty. Jayakrishnan Unnikrishnan. CSL June PhD Defense ECE Department

Problem Set 2. MAS 622J/1.126J: Pattern Recognition and Analysis. Due: 5:00 p.m. on September 30

Bayesian Networks: Construction, Inference, Learning and Causal Interpretation. Volker Tresp Summer 2016

Estimation Error Bounds for Frame Denoising

Bayesian Learning. Bayesian Learning Criteria

27 : Distributed Monte Carlo Markov Chain. 1 Recap of MCMC and Naive Parallel Gibbs Sampling

Statistical Tools and Techniques for Solar Astronomers

Linear Classifiers as Pattern Detectors

Random Field Models for Applications in Computer Vision

Clustering by Mixture Models. General background on clustering Example method: k-means Mixture model based clustering Model estimation

Practical Methods to Simplify the Probability of Detection Process

SGN (4 cr) Chapter 5

Machine Learning (CS 567) Lecture 2

Naïve Bayes classification. p ij 11/15/16. Probability theory. Probability theory. Probability theory. X P (X = x i )=1 i. Marginal Probability

Bayesian Networks Inference with Probabilistic Graphical Models

COS513 LECTURE 8 STATISTICAL CONCEPTS

Network Optimization with Heuristic Rational Agents

NOISE can sometimes improve nonlinear signal processing

Introduction to Bayesian methods in inverse problems

MINIMUM EXPECTED RISK PROBABILITY ESTIMATES FOR NONPARAMETRIC NEIGHBORHOOD CLASSIFIERS. Maya Gupta, Luca Cazzanti, and Santosh Srivastava

DS-GA 1002 Lecture notes 11 Fall Bayesian statistics

Mixture Models and EM

K-Means, Expectation Maximization and Segmentation. D.A. Forsyth, CS543

Transmitter-Receiver Cooperative Sensing in MIMO Cognitive Network with Limited Feedback

Statistical learning. Chapter 20, Sections 1 4 1

QUANTIZATION FOR DISTRIBUTED ESTIMATION IN LARGE SCALE SENSOR NETWORKS

Estimating Jakes' Doppler power spectrum parameters using the whittle approximation

A Statistical Analysis of Fukunaga Koontz Transform

Lecture 4: Probabilistic Learning. Estimation Theory. Classification with Probability Distributions

Detecting Parametric Signals in Noise Having Exactly Known Pdf/Pmf

Lecture 4: Probabilistic Learning

ECE 661: Homework 10 Fall 2014

Machine Learning. Gaussian Mixture Models. Zhiyao Duan & Bryan Pardo, Machine Learning: EECS 349 Fall

The Expectation-Maximization Algorithm

Keywords: Multimode process monitoring, Joint probability, Weighted probabilistic PCA, Coefficient of variation.

A CUSUM approach for online change-point detection on curve sequences

Machine Learning Overview

Machine Learning, Fall 2012 Homework 2

Scale & Affine Invariant Interest Point Detectors

Transcription:

Electrical and Computer Engineering Publications Electrical and Computer Engineering 5 Defect Detection Using Hidden Markov Random Fields Aleksandar Dogandžić Iowa State University, ald@iastate.edu Nawanat Eua-Anant Iowa State University Benhong Zhang Iowa State University Follow this and additional works at: http://lib.dr.iastate.edu/ece_pubs Part of the Applied Statistics Commons, Number Theory Commons, and the Signal Processing Commons The complete bibliographic information for this item can be found at http://lib.dr.iastate.edu/ ece_pubs/40. For information on how to cite this item, please visit http://lib.dr.iastate.edu/ howtocite.html. This Conference Proceeding is brought to you for free and open access by the Electrical and Computer Engineering at Iowa State University Digital Repository. It has been accepted for inclusion in Electrical and Computer Engineering Publications by an authorized administrator of Iowa State University Digital Repository. For more information, please contact digirep@iastate.edu.

Defect Detection Using Hidden Markov Random Fields Abstract We derive an approximate maximum a posteriori (MAP) method for detecting NDE defect signals using hidden Markov random fields (HMRFs). In the proposed HMRF framework, a set of spatially distributed NDE measurements is assumed to form a noisy realization of an underlying random field that has a simple structure with Markovian dependence. Here, the random field describes the defect signals to be estimated or detected. The HMRF models incorporate measurement locations into the statistical analysis, which is important in scenarios where the same defect affects measurements at multiple locations. We also discuss initialization of the proposed HMRF detector and apply to simulated eddy current data and experimental ultrasonic C scan data from an inspection of a cylindrical Ti 6 4 billet. Keywords Markov processes, nondestructive testing, statistical analysis, ultrasonics Disciplines Applied Statistics Electrical and Computer Engineering Number Theory Signal Processing Comments The following article appeared in AIP Conference Proceedings 760 (5): 704 and may be found at doi:0.063/.96744. Rights Copyright 5 American Institute of Physics. This article may be downloaded for personal use only. Any other use requires prior permission of the author and the American Institute of Physics. This conference proceeding is available at Iowa State University Digital Repository: http://lib.dr.iastate.edu/ece_pubs/40

Defect Detection Using Hidden Markov Random Fields Aleksandar Dogandži, Nawanat Euaanant, and Benhong Zhang Citation: AIP Conference Proceedings 760, 704 (5); doi: 0.063/.96744 View online: http://dx.doi.org/0.063/.96744 View Table of Contents: http://scitation.aip.org/content/aip/proceeding/aipcp/760?ver=pdfcov Published by the AIP Publishing Articles you may be interested in Automated species recognition of antbirds in a Mexican rainforest using hidden Markov models J. Acoust. Soc. Am. 23, 2424 (8); 0.2/.283907 Microcalcification detection based on wavelet domain hidden Markov tree model: Study for inclusion to computer aided diagnostic prompting system Med. Phys. 34, 2206 (7); 0.8/.2733800 Multiaspect target detection via the infinite hidden Markov model J. Acoust. Soc. Am. 2, 273 (7); 0.2/.27492 Image Recovery from the Magnitude of the Fourier Transform using a Gaussian Mixture with Hidden PottsMarkov Model AIP Conf. Proc. 803, 239 (5); 0.063/.24980 Defect Detection in Correlated Noise AIP Conf. Proc. 700, 628 (4); 0.063/.7680

DEFECT DETECTION USING HIDDEN MARKOV RANDOM FIELDS Aleksandar Dogandžić, Nawanat Eua-anant, and Benhong Zhang Iowa State University, Center for Nondestructive Evaluation, 95 Scholl Road, Ames, IA 500, USA ABSTRACT. We derive an approximate maximum a posteriori (MAP) method for detecting NDE defect signals using hidden Markov random fields (HMRFs). In the proposed HMRF framework, a set of spatially distributed NDE measurements is assumed to form a noisy realization of an underlying random field that has a simple structure with Markovian dependence. Here, the random field describes the defect signals to be estimated or detected. The HMRF models incorporate measurement locations into the statistical analysis, which is important in scenarios where the same defect affects measurements at multiple locations. We also discuss initialization of the proposed HMRF detector and apply to simulated eddycurrent data and experimental ultrasonic C-scan data from an inspection of a cylindrical Ti 6-4 billet. INTRODUCTION In nondestructive evaluation (NDE) applications, defect signal typically affects multiple measurements at neighboring spatial locations. Therefore, multiple spatial measurements should be incorporated into defect detection algorithms, leading to an improved performance compared with the detectors that ignore spatial dependence. Markov random field models have been widely used to describe spatially distributed random phenomena, see e.g. [] [3]. In this paper, we propose a hidden Markov random field (HMRF) model to describe spatially distributed NDE observations. Under this model, the observations form a noisy realization of an underlying random field that has a simple structure with Markovian dependence. Here, the Markovian assumption implies that the random field at a particular measurement location is modeled in terms of field values at neighboring spatial locations. We show how the proposed HMRF model can be used to efficiently remove false alarms and detect potential defect regions. We first introduce the proposed HMRF models and present an approximate maximum a posteriori (MAP) algorithm for defect detection. We then apply the proposed methods to simulated and experimental NDE data. Finally, we conclude by outlining suggestions for future work. 704

HMRF MODEL Assume that we have collected K spatially distributed measurements y k, k =,..., K, modeled as an HMRF: y k, k =, 2,..., K are conditionally independent random variables with probability distributions p yk β k (y k β k ; υ) describing the measurement-error (noise) model and β k, k =, 2,..., K form a Markov random field (MRF) describing a process model. In this paper, we focus on the Gaussian measurement-error model: ( ) p yk β k (y k β k ; υ) = g y k ; µ(β k ), σ 2 (β k ) = { 2πσ2 (β k ) exp [y k µ(β k )] 2 } 2 σ 2 (β k ) () where υ = [µ(0), σ 2 (0), µ(), σ 2 ()] T is the vector of measurement-error model parameters. Here, T denotes a transpose and g(y; µ, σ 2 ) the Gaussian probability density function (pdf) having mean µ and variance σ 2. The process model is described by the Ising MRF with the kth location corresponding one of the following two classes: defect present (β k = ) and defect absent (β k = 0). Under the Ising model, the probability mass function (pmf) of β k is given by (see e.g. [, ch. 6.5]) P [β k = N (k)] = exp(δ u k) (2) + exp(δ u k ) where N (k) denotes the neighborhood of the kth measurement location, δ is a non-negative constant (tuning parameter) describing the field strength, and u k = (2β l ) l N (k) is the difference between the numbers of neighbors of the measurement location k that belong to classes and 0, respectively. Hence, u k is positive if class prevails in the neighborhood N (k), negative if class 0 prevails, and zero if the neighbors are equally distributed between the two classes. Our goal is to detect defect signals or, equivalently, estimate the MRF β = [β, β 2,..., β K ] T. We first describe an approximate MAP algorithm for defect detection assuming that the measurement-error model parameters υ are known. We then develop an alternatingprojection algorithm for jointly estimating β and υ in the case where the measurement-error model parameters are unknown and discuss the initialization of the proposed iteration. APPROXIMATE MAP DETECTION We utilize the iterated conditional modes (ICM) algorithm in [2] to obtain approximate MAP estimates of the MRF β. Under the Ising MRF model (2), the ICM algorithm updates β k at the kth measurement location by maximizing the local (conditional) MAP objective function: β k = {, ln [ pyk β k (y k ; υ) / p yk β k (y k 0; υ) ] + δ u k > 0 0, otherwise. (3a) 705

When applied to each k in turn, this procedure defines a single cycle of the ICM algorithm. The cycling is performed until convergence, i.e. until the estimates of β k do not change significantly for all k {, 2,..., K}. Under the Gaussian measurement-error model in (), the approximate MAP decision rule (3a) further simplifies: select β k = if 2 ln σ2 () [y k µ()] 2 2σ 2 () + 2 ln σ2 (0) + [y k µ(0)] 2 2σ 2 (0) + δu k > 0 (3b) otherwise, select β k = 0. The above approximate MAP detector is based on the assumption that the measurement-error model parameters υ are known. We now propose an alternatingprojection algorithm that jointly estimates υ and the MRF β by iterating between the following two steps: (i) Approximate MAP Detection: Fix the measurement-error model parameters υ = υ and update the MRF β using one cycle of the approximate MAP algorithm; (ii) Measurement-Error Model Parameter Estimation: Fix β and estimate υ by maximizing the log-likelihood function for known β, K k= ln [ p yk β k (y k β k ; υ) ], yielding the following sample means and variances: µ() = K K β k y k, µ(0) = ( β k ) y k (4a) K K K σ 2 () = k= k= k= [ K ] β k yk 2 µ 2 (), σ 2 [ K ] (0) = ( β k ) yk 2 µ 2 (0) (4b) K K K where K = K k= β k is the number of measurement locations with defect signals [according to the detection results from Step (i)]. Choosing the Initial Estimates of the Measurement-error Model Parameters To implement the above iteration successfully, we need a good initial estimate υ init = [µ init (0), σ 2 init(0), µ init (), σ 2 init()] T of the model-parameter vector. Here, we compute υ init using the ML clustering algorithm which ignores the spatial dependence. We also estimate the prior probability π() that a measurement location belongs to a defect region. The ML clustering algorithm consists of the following iterations: (i) Choose initial estimates υ (0) init and π(0) (), and compute π (0) (0) = π (0) (). (ii) Having calculated π (i) (), π (i) (0), and υ (i) init, compute new estimates π (i+) (ξ) = K q (i) k (ξ) (5a) K µ (i+) init (ξ) = [σ 2 init(ξ)] (i+) = q (i+) k (ξ) = k= for ξ {0, } and k =, 2,..., K. K π (i+) (ξ) K π (i+) (ξ) K k= K k= k= q (i) k (ξ) y k (5b) q (i) k (ξ) [y k µ (i+) (ξ)] 2 (5c) π (i+) (ξ) g(y k ; µ (i+) (ξ), [σ 2 (ξ)] (i+) ) d=0 π(i+) (d) g ( y k ; µ (i+) (d), [σ 2 (d)] (i+)) 706 (5d)

(iii) When µ (i+) init (ξ) = µ (i) init (ξ) and [σ2 init(ξ)] (i+) = [σinit(ξ)] 2 (i) for ξ {0, } then stop. Otherwise increase the iteration number i by and go to step (ii). Apart from having a different exit criterion [i.e. step (iii)], the above algorithm is identical to the ML clustering algorithm in e.g. [4, pp. 529 530] and [5, ch. 3.3.]. In the following, we present numerical examples. EXAMPLES Simulated Eddy-current Data Figure (a) shows a magnitude plot of low-noise experimental eddy-current impedance measurements in a sample containing two realistic flaws, where each pixel corresponds to a measurement location. To simulate noisy measurements, we added independent, identically distributed (i.i.d.) zero-mean complex Gaussian noise yielding the magnitude plot in Figure (b). We first apply an energy detector to the noisy data and then utilize the proposed approximate MAP method to remove false alarms. A testing window Y T of size 0 0 was swept across the noisy image. At each window location, we computed the energy-detector test statistic: ED = (2/σ 2 ) tr(y T Y H T ) = (2/σ 2 ) (sum of squared magnitudes of all pixels in Y T ) where, in this example, the noise variance was σ 2 = 0.4. In the absence of defect signal, the ED test statistic is distributed as a χ 2 random variable with 2md degrees of freedom. Figure 2(a) shows the (logarithms of) ED test statistics. In Figure 2(b), black pixels correspond to the test values [from Figure 2(a)] that were larger than a a specified threshold. The threshold was set to guarantee the false-alarm probability P FA = %. We now apply the approximate MAP algorithm to the ED results in Figure 2(a) using a 5 5 neighborhood shown in Figure 3. [Here, the MAP algorithm is initialized by the results of the ML clustering algorithm and the ML clustering algorithm is initialized using the energy-detector results in Figure 2(b).] In Figure 4, we show the results of the MAP algorithm for the field strength δ = 2. Clearly, the MAP detector removes the false alarms caused by the energy detector. Experimental Ultrasonic Data We now apply the approximate MAP method to experimental ultrasonic C-scan data from an inspection of a cylindrical Ti 6-4 billet. The sample, taken from the contaminated billet, contains 7 # 2 flat bottom holes at 3.2 depth. The ultrasonic data were collected in a single experiment by moving a probe along the axial direction and scanning the billet along the circumferential direction at each axial position. The raw C-scan data with marked defects are shown in Figure 5. The vertical coordinate is proportional to rotation angle and the horizontal coordinate to axial position. We consider two approaches to construct the HMRF observations y k : subtracting row means from the C-scan image and using generalized likelihood ratio (GLR) test statistics for correlated noise in [6]. Using the first approach with a 7 3 neighborhood (shown in Figure 6) and the field strength δ = 2.5, the MAP detector yields the results in Figure 7. All defects are successfully detected 707

(a) 20 40 60 0.5 80 50 50 250 (b) 0 20 40 60 80 Y T 50 50 250.5 0.5 FIGURE. (a) Magnitude plot of low-noise eddy-current measurements with peak value normalized to one and (b) magnitude plot of eddy-current data in (a) corrupted by complex white Gaussian noise with variance σ 2 = 0.4. 80 60 40 20 (a) 50 50 (b) 5.8 5.6 5.4 5.2 5 20 40 60 80 50 50 FIGURE 2. (a) Logarithms of ED test statistics and (b) energy-detector results for P FA = %. 708

- Neighbor pixels - Considered pixel FIGURE 3. A 5 5 neighborhood used to remove false alarms from the ED results in Figure 2. 20 40 60 80 50 50 FIGURE 4. Results of the MAP detector applied to the ED image in Figure 2, for δ = 2. and there is one false-alarm region. We now apply the second approach where the GLR test statistics are computed using a testing window of size 5 5 around the measurement location of interest. The GLR test statistics and detection results for P FA = % are shown in Figure 8. Since the GLR test yields enlarged defect areas, we use a larger neighborhood with a 7 5 window (see Figure 9) and a larger field strength δ = 3.5. Applying the MAP algorithm to the GLR test results yields the best performance with no false alarms, see Figure 0. 300 400 500 50 50 250 300 350 400 50 50 FIGURE 5. Ultrasonic C-scan data with 7 defects. 709

- Neighbor pixels - Considered pixel FIGURE 6. A 7 3 neighborhood used to analyze the ultrasonic C-scan image in Figure 5. 300 400 500 50 50 250 300 350 400 FIGURE 7. Results of the MAP detector applied to the ultrasonic C-scan data, for δ = 2.5. (a) 300 400 3 2 500 50 50 250 300 350 400 (b) 300 400 500 50 50 250 300 350 400 FIGURE 8. (a) GLR test statistics and (b) GLR detector results for P FA = %. 70

- Neighbor pixels - Considered pixel FIGURE 9. 7 5 neighborhood used to remove false alarms from the GLR results in Figure 8. 300 400 500 50 50 250 300 350 400 FIGURE 0. Results of the MAP detector applied to the GLR image in Figure 8, for δ = 3.5. CONCLUSIONS We developed an approximate maximum a posteriori defect detector for hidden Markov random fields with Gaussian measurement-error and Ising process models. We also discussed initialization of the MAP iteration and applied the proposed detector to simulated eddy-current and experimental ultrasonic C-scan data. Further research will include developing a false-discovery-rate (FDR) based method (see e.g. [7]) that utilizes a realistic ultrasonic noise and signal models and applying the HMRF framework to other NDE problems with focus on data fusion. ACKNOWLEDGMENT This work was supported by the NSF Industry-University Cooperative Research Program, Center for Nondestructive Evaluation (CNDE), Iowa State University. REFERENCES. Cressie, N.A.C., Statistics for Spatial Data, revised ed., New York: Wiley, 993. 2. Besag, J., J. R. Stat. Soc., Ser. B, 48, 259 302 (986). 3. Vengrinovich V.L. et al., J. Phys. D: Appl. Phys., 32, 2505 254 (999). 4. Fukunaga, K., Introduction to Statistical Pattern Recognition, 2nd ed., San Diego, CA: Academic Press, 990. 5. Hand, D.J., Discrimination and Classification, New York: Wiley, 98. 6. Dogandžić, A and Eua-anant, N., Review of Progress in QNDE, Vol. 23, eds. D.O. Thompson and D.E. Chimenti, AIP, Melville New York, 3, pp. 628 635. 7. Benjamini Y. and Hochberg Y., J. R. Stat. Soc., Ser. B, 57, 289 300 (995). 7