DISCRETE LINEAR FILTERS FOR METROLOGY

Similar documents
Separation of Surface Roughness Profile from Raw Contour based on Empirical Mode Decomposition Shoubin LIU 1, a*, Hui ZHANG 2, b

Toward improved performance in separation of roughness, waviness and form: ISO series

Image Transformation Techniques Dr. Rajeev Srivastava Dept. of Computer Engineering, ITBHU, Varanasi

Edge and local feature detection - 2. Importance of edge detection in computer vision

EECS 556 Image Processing W 09. Interpolation. Interpolation techniques B splines

Dimensional & Surface Metrology

Computer Vision 2. SS 18 Dr. Benjamin Guthier Professur für Bildverarbeitung. Computer Vision 2 Dr. Benjamin Guthier

Numerical Analysis I - Final Exam Matrikelnummer:

FACE RECOGNITION USING INDEPENDENT COMPONENT

Aliasing. Can t draw smooth lines on discrete raster device get staircased lines ( jaggies ):

Sung-Eui Yoon ( 윤성의 )

University of Huddersfield Repository

Comparison between 3D Digital and Optical Microscopes for the Surface Measurement using Image Processing Techniques

MA 323 Geometric Modelling Course Notes: Day 21 Three Dimensional Bezier Curves, Projections and Rational Bezier Curves

CALCULATION OF 3-D ROUGHNESS MEASUREMENT UNCERTAINTY WITH VIRTUAL SURFACES. Michel Morel and Han Haitjema

CS 450 Numerical Analysis. Chapter 7: Interpolation

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

Fitting to a set of data. Lecture on fitting

Lecture Image Enhancement and Spatial Filtering

Comparing different interpolation methods on two-dimensional test functions

MEASURING SURFACE PROFILE WITH LOW-RESOLUTION DISPLACEMENT LASER SENSORS

Image processing in frequency Domain

A popular method for moving beyond linearity. 2. Basis expansion and regularization 1. Examples of transformations. Piecewise-polynomials and splines

On the description of the bearing capacity of electro-discharge machined surfaces

Parameterization of triangular meshes

Computer Vision and Graphics (ee2031) Digital Image Processing I

AN OBSERVATION METHOD OF MOVING OBJECTS ON FREQUENCY DOMAIN

Point Lattices in Computer Graphics and Visualization how signal processing may help computer graphics

Operators to calculate the derivative of digital signals

PROBE RADIUS COMPENSATION AND FITTING ERRORS IN CAD-BASED MEASUREMENTS OF FREE-FORM SURFACE: A CASE STUDY

THE preceding chapters were all devoted to the analysis of images and signals which

Fringe pattern analysis using a one-dimensional modified Morlet continuous wavelet transform

Parametric curves. Brian Curless CSE 457 Spring 2016

Tutorial 5. Jun Xu, Teaching Asistant March 2, COMP4134 Biometrics Authentication

GEOMETRIC CALIBRATION OF CMMs USING 3D LENGTH MEASUREMENTS

A Practical Review of Uniform B-Splines

APPLICATION OF SPLINE SURFACE PROFILE FILTERS TO SUBPIXEL CONTOUR DECOMPOSITION PROBLEMS

Analytical Techniques for Anomaly Detection Through Features, Signal-Noise Separation and Partial-Value Association

Segmentation and Grouping

Exercise: Simulating spatial processing in the visual pathway with convolution

Filters. Advanced and Special Topics: Filters. Filters

Filtering Images. Contents

ELEC Dr Reji Mathew Electrical Engineering UNSW

The Virtual CMM a software tool for uncertainty evaluation practical application in an accredited calibration lab

CHAPTER 3 WAVELET DECOMPOSITION USING HAAR WAVELET

Economics Nonparametric Econometrics

Independence Number and Cut-Vertices

Robust Shape Retrieval Using Maximum Likelihood Theory

Parallel and perspective projections such as used in representing 3d images.

A Modified Spline Interpolation Method for Function Reconstruction from Its Zero-Crossings

Cubic spline interpolation

Uncovering the Lagrangian of a system from discrete observations

Curve fitting using linear models

Solve Non-Linear Parabolic Partial Differential Equation by Spline Collocation Method

Computer Vision I - Filtering and Feature detection

XRDUG Seminar III Edward Laitila 3/1/2009

Lecture VIII. Global Approximation Methods: I

CS 664 Segmentation. Daniel Huttenlocher

1.1 Pearson Modeling and Equation Solving

Image Processing. Filtering. Slide 1

Interpolation and Splines

Effects of multi-scale velocity heterogeneities on wave-equation migration Yong Ma and Paul Sava, Center for Wave Phenomena, Colorado School of Mines

Numerical Methods in Physics Lecture 2 Interpolation

Optimised corrections for finite-difference modelling in two dimensions

Normals of subdivision surfaces and their control polyhedra

Approximation of a Fuzzy Function by Using Radial Basis Functions Interpolation

LECTURE 13, THURSDAY APRIL 1, 2004

Key words: B- Spline filters, filter banks, sub band coding, Pre processing, Image Averaging IJSER

International ejournals

Nonparametric regression using kernel and spline methods

The goal is the definition of points with numbers and primitives with equations or functions. The definition of points with numbers requires a

Recent Developments in Model-based Derivative-free Optimization

2 Second Derivatives. As we have seen, a function f (x, y) of two variables has four different partial derivatives: f xx. f yx. f x y.

Chapter 4. The Classification of Species and Colors of Finished Wooden Parts Using RBFNs

COHERENCE AND INTERFERENCE

WAVELET TRANSFORM BASED FEATURE DETECTION

Generalized barycentric coordinates

Visualizing High-Order Surface Geometry

Image features. Image Features

Sampling and Reconstruction

Interpolation by Spline Functions

A NON-IMAGING OPTICAL SYSTEM FOR CHARACTERISATION OF BALL- SHAPED MICRO-INDENTERS

One image is worth 1,000 words

CHAPTER 4 WAVELET TRANSFORM-GENETIC ALGORITHM DENOISING TECHNIQUE

Application of Tatian s Method to Slanted-Edge MTF Measurement

Historical Handwritten Document Image Segmentation Using Background Light Intensity Normalization

Extensions of One-Dimensional Gray-level Nonlinear Image Processing Filters to Three-Dimensional Color Space

(Spline, Bezier, B-Spline)

We will load all available matrix functions at once with the Maple command with(linalg).

Image Recognition of Shape Defects in Hot Steel Rolling

Digital Image Processing. Image Enhancement in the Frequency Domain

Wavelet-Galerkin Solutions of One and Two Dimensional Partial Differential Equations

BALKANTRIB O5 5 th INTERNATIONAL CONFERENCE ON TRIBOLOGY JUNE Kragujevac, Serbia and Montenegro

Isogeometric Collocation Method

A NURBS-BASED APPROACH FOR SHAPE AND TOPOLOGY OPTIMIZATION OF FLOW DOMAINS

Towards Automatic Recognition of Fonts using Genetic Approach

Subdivision Surfaces

Multimedia Computing: Algorithms, Systems, and Applications: Edge Detection

Four equations are necessary to evaluate these coefficients. Eqn

Estimating normal vectors and curvatures by centroid weights

Transcription:

DISCRETE LINEAR FILTERS FOR METROLOGY M. Krystek 1, P.J. Scott and V. Srinivasan 3 1 Physikalisch-Technische Bundesanstalt, Braunschweig, Germany Taylor Hobson Ltd., Leicester, U.K. 3 IBM Corporation and Columbia University, New York, U.S.A. Abstract: Linear filters are used quite extensively in the field of dimensional metrology and surface texture for smoothing data collected from measurements. Past application of linear filters was largely limited to the Gaussian and RC filters. But recent advances in spline and wavelet theories have opened the way for more flexible and powerful linear filters that are getting more attention in industry. This paper describes these advances in linear filters and how they are influencing the development of ISO filter standards. Keywords: Metrology, Linear Filters, ISO Standards 1 INTRODUCTION For the past four years, a technical group of international experts in the International Organization for Standardization (ISO) has been working on a series of ISO standards for geometrical filters [1]. This group has identified linear filters and morphological filters as the two major types of geometrical filters that require standardization. Technical details on morphological filters can be found in []. This paper deals with linear filters. Linear filters are popular in industrial metrology. They are used mainly in the form of RC and Gaussian filters [3]. Recently other linear filters based on advances in spline and wavelet theories have been proposed and these have attracted industrial attention. These new filters enhance the toolset available to engineers in attacking problems of increasing complexity in profile and surface metrology. The ISO effort is directed towards issuing a series of technical specifications of these linear filters by first treating them under a unified, basic concept level [4] and then defining various specializations [5,6] illustrated with examples. In Section we give a brief introduction to linear filters. This is quickly followed in Section 3 by a more detailed description of discrete linear profile filters and their recent specializations - spline and wavelet filters. Section 4 offers a summary and some concluding remarks. LINEAR FILTERS Intuitively, linear filters map each point on a profile or a surface to a weighted average of points in its neighborhood. Mathematically, a linear filter can be defined as a linear operator on functions, such as + y ( x) = K( x, s) z( s) ds where z(x) is the unfiltered input profile, y(x) is the filtered profile, and K(x,s) is the kernel function with finite or infinite support. We require K(x,s) be real, symmetric and space invariant. The kernel is the weighting applied to "average" the input function. Different choices of the kernel lead to different linear filters. If K(x,s) = K(x-s) the filtering is a convolution given by + y ( x) = K( x s) z( s) ds We consider only those kernels that lead to the convolution form as shown above. For practical applications in metrology, the input profile or surface comes from sampled data. In these cases, it is advantageous to employ discrete linear filters.

3 DISCRETE LINEAR PROFILE FILTERS An extracted profile can be represented by a vector. The length n of the vector is equal to the number of data points. The sampling is assumed to be uniform, i.e., the sampling interval is constant. The i-the data point of the profile is the i-th component of the column vector Z = ( z1 z... z i... z n ) T A filtered profile is also represented discretely by a column vector Y of length n. A linear filter is given by an n n square matrix A so that the filtered profile is obtained by a simple matrix multiplication as Y=AZ, which is often called the filter equation 1. Elements of the matrix A are determined by the kernel K. If the filter is phase correct, then A is symmetric, i.e., a = a. The sum of the matrix elements in each row equals unity, i.e., a ij j If the kernel is of the form K(x-s), each row of the matrix is a mere shift of the one above so that the matrix elements may be represented by only one row = 1 ij ji a ij = S, k k = i j The values s k form a vector S of length n. This vector is a discrete representation of the weighting function (kernel). Usually, S contains lots of contiguous zeros at both ends and the length of the nonzero part of S is much smaller than n. Example 1: The moving average filter is frequently used for easy smoothing of a profile (not necessarily an optimal method). The weighting function of length 3 is given by ( 0 0 1/3 1/3 1/3 0 0 ) and the matrix A contains rows that are merely one column shifts of the above row vector. The result is simply that each component y i in the filtered output vector is the arithmetic average of the components z i-1, z i, and z i+1 of the unfiltered input vector. Note that the averaging is very local. Example : The Gaussian filter of [3] corresponds to a continuous weighting function 1 s( x) = αλ c x exp π αλ of infinite support, where x is the distance from the center (maximum) of the weighting function, λ c is the so called cut-off wavelength, and α is a constant given by c (log ) / π = 0.4697.. Figure 1 provides an illustration of this weighting function. This continuous function is sampled at equal intervals of x to yield S k 1 x = exp π C αλc k where the normalization constant is C = k x exp π αλc The matrix A for Gaussian filters contains rows that are merely one column shifts of the row vector defined by s k. The result is that each component y i in the filtered output vector is the weighted average k

of all components of the unfiltered input vector Z. However, due to the rapid decline to zero of the weighting function s(x) beyond the cut-off wavelength in either direction from y i, the result is that the averaging of Y is neither global, nor as local as in Example 1. Figure shows the result of applying Gaussian filter superposed on an unfiltered input profile. Further details on basic concepts of linear profile filters can be found in [4]. Figure 1. Gaussian weighting function. Figure. Output of the Gaussian filter superposed on unfiltered input profile, with λ c =0.8 mm. 3.1 Spline Filters As the name implies, spline filters are characterized by the use of spline functions to define the filtered output. Splines are low degree polynomials that can be pieced together to obtain very smooth functions that can be changed locally to suit the need. Recent experiments with spline filters have proven their flexibility and usefulness for industrial applications. Spline filters are linear filters. However their weighting functions cannot be given in a simple closed form. Instead the filter equations are defined for the spline filters, and where necessary, a numerical calculation of the weighting function is provided. Example 3: The filter equation for non-periodic open profiles using cubic spline is given by 4 (1+ α Q ) Y = Z where Q is the n n square matrix given by

1-1 - 5-4 1 1-4 6-4 1 Q =........ 1-4 6-4 1 1-4 5-1 - 1 and the parameter α = 1/(sin(π x/λ c )). If the sampling interval x is small enough, the weighting function s(x) can be approximated by the continuous function given by π π π π s( x) = sin x + exp x λc λc 4 λc which is illustrated in Figure 3. It is instructive to compare this with the weighting function defined in Example for the Gaussian filter and shown in Figure 1. Figure 4 shows the result of applying the cubic spline filter superposed on an unfiltered input profile. Further details on spline filters can be found in [5]. Figure 3. Weighting function for cubic spline filter. Figure 4. Output of a cubic spline filter superposed on unfiltered input profile, with λ c =0.8 mm.

3. Wavelet Filters Wavelets provide an attractive alternative to traditional Fourier analysis. In the field of metrology, their use has received recent attention because they can be used to perform multi-resolution analysis and they have good diagnostic capabilities. Wavelet analysis consists of decomposing a profile into linear combination of wavelets g a,b (x), all generated from a single mother wavelet. A mother wavelet is a function of one or more variables which forms the basic building block for wavelet analysis. See Figure 5 for an example mother wavelet. Usually a mother wavelet integrates to zero and is localized in space with finite support. Figure 5. A mother wavelet. If g(x) is a mother wavelet, then the wavelet family is generated as g a,b (x) = a -1/ g((x-b)/a) where a is the dilation (scaling) parameter and b is the translation parameter. This is similar to Fourier analysis, which decomposes a profile into a linear combination of sine waves, but unlike Fourier analysis wavelets can identify the location as well as the sclae of a feature in a profile. As a result they can decompose profiles where the small-scale structure in one portion of the profile is unrelated to the structure in a different portion, such as localized changes (e.g., scratches). Wavelets are ideally suited for non-stationary profiles. Basically, wavelets decompose a profile into building blocks of constant shape but of different scales. Figure 6. Successively smoothed profiles of a milled profile using (4-6) cubic spline wavelet.

The discrete wavelet filter is defined as y i( a) = x z j ga, j x( j x) j with mother wavelet g(x). The dilation parameter a is also restricted to discrete values. Typically consecutive values of a have a fixed ratio of. Of particular interest are spline wavlets, which are families of wavelets whose corresponding weighting functions are B-splines. Figure 6 shows a milled profile measured with a 5 µm tip stylus with successively smoothed profiles using a (4-6) cubic spline wavelet. Further details on spline wavelet filters can be found in [6]. 4 SUMMARY AND CONCLUDING REMARKS In this paper we presented technical information on discrete linear profile filters that are being considered for ISO standardization. Ideas expressed here are extendable to discrete linear surface filters [7]. These linear filters include popular ones like the Gaussian filter and several of its variants. New linear filters such as spline filters and spline wavelet filters are being introduced in ISO metrology documents for the first time. Our intention is to introduce them first in the form of technical specifications. This will enable industry to try them on a wider scale and offer us an opportunity to evaluate its use. We envision that they will evolve into official ISO standards at a later date. 5 ACKNOWLEDGMENT AND A DISCLAIMER We gratefully acknowledge the help and support of numerous colleagues in our national and international standards bodies. However, opinions expressed in this paper are our own and do not represent the official position of ISO or any of its member bodies. REFERENCES [1] V. Srinivasan, P.J. Scott and M. Krystek, ISO Standards for Geometrical Filters, Proceedings of the 16 th IMEKO World Congress, Hofburg, Vienna, Austria, September 5-8, 000. [] V. Srinivasan, Discrete morphological filters for metrology, in: P.H. Osanna, D. Prestrednik, N.M. Durakbasa (Eds.) Proceedings of the 6 th ISMQC IMEKO Symposium on "Metrology for Quality Control in Production" (Vienna, Sept. 8-10, 1998), TU Vienna, Austria, 1998, pp. 63-68. [3] ISO 1156:1996, Geometrical Product Specification (GPS) - Surface texture: Profile method - Metrological characteristics of phase correct filters, International Organization for Standardization, Geneva. [4] ISO/TS 16610-, Geometrical Product Specifications (GPS) - Data extraction techniques by sampling and filtration - Part : Basic concepts of linear profile filters. (Under preparation) [5] ISO/TS 16610-3, Geometrical Product Specifications (GPS) - Data extraction techniques by sampling and filtration - Part 3: Spline filters. (Under preparation) [6] ISO/TS 16610-4, Geometrical Product Specifications (GPS) - Data extraction techniques by sampling and filtration - Part 4: Spline Wavelets. (Under preparation) [7] ISO/TS 16610-9, Geometrical Product Specifications (GPS) - Data extraction techniques by sampling and filtration - Part 9: Basic concepts of linear surface filters. (Under preparation) AUTHORS: Dr. Vijay SRINIVASAN (Corresponding Author), IBM Corporation, M/S P535, Building 3, 5 South Road, Poughkeepsie, NY 1601-5400, U.S.A., Phone: ++914-433-637, Fax: ++914-43- 9608, E-mail: vasan@us.ibm.com, Michael KRYSTEK, Physikalisch-Technische Bundesanstalt, Braunschweig, Germany and Paul J. SCOTT, Taylor Hobson Ltd., Leicester, U.K.