A Simple and Fast Spline Filtering Algorithm for Surface Metrology
간접 관련 모빌리티 소재 · (3) 자동차 인테리어 소재 (17) 스펀본드 부직포(23) 컴파운드
기본 정보
- 저자
- DOI
- 10.6028/jres.120.010
- 저널
- Journal of Research of the National Institute of Standards and Technology
- 발행년도
- 2015
- 발행기관
- The National Institute of Standards and Technology
- 피인용수
- 3
- 라이선스
- publisher-specific-oa
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.6028/jres.120.010
- 토픽
- Surface Roughness and Optical Measurements
- OpenAlex ID
- W2463276226
평가 내용
- 관련도
- 간접 관련
- 사업분야
- 모빌리티 소재 · (3) 자동차 인테리어 소재
- 부 분야
- (17) 스펀본드 부직포, (23) 컴파운드
- R&D 측면
- 분석·모델링
- 확신도
- 0.70
- 근거 용어
- Spline Filtering Algorithm, Surface Metrology, ISO standards, surface evaluation
- 판단 근거
- 논문은 표면 거칠기 및 형상 측정을 위한 스플라인 필터링 알고리즘을 다루고 있으며, 이는 코오롱인더스트리의 다양한 산업용 필름, 섬유, 자동차 내장재의 표면 물성 분석 및 품질 관리 공정에 적용 가능한 분석 기법입니다.
- R&D 활용 포인트
- 산업용 필름, 부직포, 인공피혁 등 고분자 소재의 표면 거칠기(Roughness) 및 미세 구조를 정밀하게 분석하고 표준화된 데이터로 평가하는 데 활용할 수 있습니다.
- 평가 입력
- 초록 654자
초록
본문 26,826자
본문 펼치기
섹션 본문 33문단 · 14,217자
(제목 없음)
1Spline filters and their corresponding robust filters are commonly used filters recommended in ISO (the International Organization for Standardization) standards for surface evaluation. Generally, these linear and non-linear spline filters, composed of symmetric, positive-definite matrices, are solved in an iterative fashion based on a Cholesky decomposition. They have been demonstrated to be relatively efficient, but complicated and inconvenient to implement. A new spline-filter algorithm is proposed by means of the discrete cosine transform or the discrete Fourier transform. The algorithm is conceptually simple and very convenient to implement.
Introduction
2A typical engineering surface consists of a range of spatial frequencies. The high frequency or short wavelength components are referred to as roughness, the medium frequencies as waviness and low frequency components as form [1,2]. Filtration is a critical process used to isolate form, waviness, and surface roughness from each other as well as from finer, higher frequency content such as instrument noise [3]. At present, the Gaussian filter, the spline filter and their corresponding robust filters are recommended as ISO standard profile filters [4][5][6][7]. Compared with the widely used Gaussian filter, the spline filters have advantages such as end preserving, efficient calculation and good form following.
3Generally, the spline filter is implemented using an iterative procedure based on a Cholesky matrix decomposition [2,8]. It is a widely used and relatively efficient method for solving the spline filter. In this paper, a new approach for computing the spline filter is proposed that relies on the discrete cosine transform (DCT) or the discrete Fourier transform (DFT) rather than matrix decomposition. This new algorithm is conceptually more simple, efficient, and, in practice, more convenient to implement. http://dx.doi.org/10.6028/jres.120.010
Linear Spline Filter
4In ISO/TS 16610-22 [5], the standard spline filter is given as
5where is the identity matrix, is the vector of sampled data values, is the vector of output data values, and and are the coefficient matrices. The spline filter of Eq. (1) is obtained as the solution matrix of the classic variational method in Eq. (2) [8][9].
6where ‖⋅‖ denotes the Euclidean norm (L 2 norm), and 1 and 2 stand for 1 st and 2 nd differential operators. Generally, Eq. (2) is described as a linear combination of a least squares approach and a penalty component consisting of two differential terms. More specifically, the least squares term aims to guarantee a close match between the result and the profile [10], and the penalty component helps to ensure appropriate smoothness of the filtered result. The scalars and are used to determine the balance between closeness to the original data and amount of smoothness, where = �2sin(π⁄ )� −1
7( is the cut-off wavelength) and 0 ≤ ≤ 1 [5]. Since all terms of Eq. (2) are differentiable, the matrix equation of Eq. (1) is obtained directly by simple mathematical derivation. Here it should be noted that the boundary conditions, which are dictated by and , vary depending on the type of surface profile, which may be classified as periodic or non-periodic (see Eqs. (3) and (4)).
Robust Spline Filter
8It is well known that the linear filter is vulnerable to outliers [11]. Although there is no agreement on a universal and formal definition of an outlier, it is usually regarded as the observations that lie abnormally far from others, such as scratches and deep valleys on a surface. The roughness profiles or surfaces will be distorted when the linear filtering algorithm is applied to this original sampling data containing outliers. The resulting filtered data will contain excessively swollen or sunk areas due to being "pulled down or up" in the vicinity of abnormal points. This phenomenon will certainly cause a serious error when performing the evaluation or analysis of a practical surface.
9In order to solve this problem, the concept of the robustness of a filtering algorithm is introduced. In a robust filter, the effect of outliers on surrounding data is mitigated. Both L 1 -norm and L 2 -norm based robust spline filters have been demonstrated [7,12]. A robust spline filter based on the L 2 -norm [12] is obtained by the direct expansion of Eq. (1), that is:
10where and are the same coefficient matrices as in Eqs. (3) and (4). contains the additional weights corresponding to each data point of z. is updated with a specified weighting function by using current residuals from iteration to iteration, until the residuals remain unchanged [13]. Several weighting functions are available such as Huber, Hampel, and Andrews. Indeed, the most widely used weighting function in surface metrology is the Tukey function [6].
The Spline Filter for Non-Periodic Profiles
11As previously mentioned, the standard spline filter is endowed with different solution matrices based on the periodicity of the profile and how this is handled at boundaries. Let us first focus on the matrix under the non-periodic condition, which is also called the natural boundary, that is, when the 2 nd differential equation equals zero. If we instead redefine the boundary condition as the 1 st differential equation equalling zero, the original matrix can be simplified and rewritten in the following form
12It can be easily verified that = ,
13where is a tridiagonal matrix and represents the transpose of . Furthermore, an eigen decomposition of yields = [13]. is a diagonal matrix containing the eigenvalues of [14]:
14where is the number of sampled points.
15Since is a unitary matrix, Eq. (1) can be written as
16According to Reference [15], is a type-2 DCT matrix and is an inverse DCT matrix. Let us define
17where DCT −1 represents the inverse discrete cosine transform. In fact, DCT is a Fourier-related transform similar to DFT, a technique for mapping the "time domain" to the "frequency domain." Both DCT and DFT express a signal in terms of a sum of sinusoids with different frequencies and amplitudes. The distinction between DFT and DCT is that, DFT uses both cosine and sine functions, while DCT uses only cosine functions [16]. Boundary conditions have a direct impact on the form of discrete transfer functions such that different combinations of the discrete boundary conditions give rise to eight different types of DCT. Of these eight DCT representations, the most commonly used transform is type-2 [16].
The Spline Filter for Periodic Profiles
18For the case of a periodic profile, the boundary conditions will require that matrix refer to the classic assumption of circular data defined as = + , that is
19One can obtain the same description = , where is also a circulant matrix,
20For this case, a DCT is not able to fulfill the spline filter equation because the boundary definition for any type of DCT does not comply with a periodic boundary of = + . However, it is interesting that this boundary condition is exactly the same as the boundary assumption of the DFT. According to signal processing theory, a discrete spectrum necessarily comes from a periodic signal in the time domain. Hence, it is rational to apply the fast Fourier transform (FFT) to the computation of the spline filter given a periodic boundary. As expected, following the related derivation shown in Section 3.1, we obtain
21where FFT −1 stands for the inverse fast Fourier transform.
Robust Simplified Algorithm
22As previously mentioned, the sensitivity of the linear filter to outliers may result in the mean line deviating severely from the actual distribution. The occurrence of dropouts, e.g., resulting from an instrument's inability to measure certain data features, is frequent in practice [13]. Fortunately, the weighting function is demonstrated to be an effective method for handling such dropouts. This function serves the purpose of giving outliers a low weight and dropouts a weight of zero, while allocating a relatively high weight to high-quality data.
23For convenience, Eq. (5) can be rewritten as
24This implicit formula can be solved using an iterative procedure
25where +1 refers to at the kth iteration step. Furthermore, referring to Eqs. (9) and (12) for the appropriate boundary conditions, we can easily obtain the new equations +1 = DCT −1 ( DCT( (z − ) + ) ) for the non-periodic case,
26or +1 = FFT −1 ( FFT( (z − ) + ) ) for the periodic case.
27The robustness to outliers is realized by iterating the weighted function of Eq. (15) or (16) and updating the weights using robust estimators for the current residuals (z − ). It should be noted that during one iteration, the DCT and FFT only require log( ) operations for a profile with n data points, whereas Eq.
28(1) requires a Cholesky factorization with a computational complexity of ( 3 ) [13].
Experiments and Comparison
29Comparing filtering results for a standard surface is helpful for highlighting the advantages or shortcomings of particular filtering algorithms. The comparison to be presented here will use both simulated and practical profiles. Figure 1 shows an experiment that assesses the linear filtering techniques. A simulated profile composed of 10 harmonic components with frequencies ranging from 0.1/ to 25/ is created, where the cut-off wavelength equals 1600 points. The DCT based linear spline filter and standard spline filter were applied to this simulated profile. The filtering results and differences between the filtered profiles are shown in Figs. 1 (a) and (b) respectively. Figure 1 (b) clearly shows that the mean lines obtained by applying these two filters are almost identical, except at the ends of the surface. The identical results over most of the surface demonstrate the validity and feasibility of the new filtering algorithm. Also, the distortion occurring on both ends demonstrates the effect of the 1 st differential boundary condition. In Fig. 1 (a) the actual maximum deviation at the edges is 0.0145 µm, and the largest error is less than 2.02 % relative to the peak-to-peak value of the simulated surface. In fact, for a general measurement, this small error does not significantly impact the assessment of the profile as a whole.
30In Fig. 2, a simulated periodic profile is used to validate the spline filtering algorithm based on the FFT. Both Eq. (12) and the standard spline filter with periodic boundary conditions are implemented. As expected, their filtered profiles are identical, even at the boundaries. This perfect result further demonstrates the accuracy and effectiveness of the new algorithm. Figure 3 shows a more complicated profile with a 5.6 mm length. It is found that there are many outliers such as scratches, deep valleys and sharp spikes distributed along this profile. The DCT based robust spline filter, the L 2 -norm based robust spline filter and the standard spline filter are applied to obtain the mean lines with a cut-off wavelength of 0.8 mm. It should be noted that the two robust filters can also easily handle missing data and dropouts if these points are assigned values that deviate far from the profile such that they appear as outliers. From the result in Fig. 3, it is evident that the robust algorithms are resistant to the outliers and able to acquire the satisfactory mean lines that follow the practical form very well.
31http://dx.doi.org/10.6028/jres.120.010 In order to further demonstrate the efficacy of the newly proposed filter, an example consisting of a profile that may be encountered in practice is shown in Fig. 4. This practical engineering profile is 14.3 mm in length with sampling interval 0.125 µm. In this figure, the mean lines determined by the DCT based robust spline algorithm, the L 2 -norm based robust spline filter, and the second-order Gaussian regression filter with a cut-off wavelength of 0.8 mm are presented concurrently. The robustness of the DCT based algorithm throughout the entire profile is verified again, but a larger difference between the robust spline filters and the Gaussian regression filter is exhibited in this example. These differences are caused by the dissimilar transmission characteristics of the filters and the second-order polynomial fitting principle in the Gaussian regression filter [17]. For this example, all of the filtering algorithms were implemented in Matlab and executed on an ordinary, commercially available desktop computer. For the test profile in Fig. 4, which contains 114,400 data points, the second-order Gaussian regression filter requires multiple hours to attain the robustness requirement. In comparison, the L 2 -norm based robust spline filter requires 1160 ms to finish the task, and the newly developed DCT robust algorithm takes only 720 ms to filter this profile. While the speed enhancements of the proposed method are only marginal for the profiles investigated here, it is possible that more dramatic improvements can be realized for larger or higher dimension arrays. Nevertheless, the primary benefit of this method is the relative simplicity of computing Eq. (15) and (16) without the requirement of any matrix operation and manipulation.
Conclusion
32In this paper, several new algorithms for the spline filters are proposed based on the DCT and FFT. Both the linear and robust spline filters for periodic and non-periodic profiles are considered. In the resulting algorithms, the DCT and FFT which are utilized in the filtering process require only ( log( )) computations, whereas the traditional algorithm based on Cholesky factorization requires ( 3 ). In addition to the potential scaling benefits, the DCT and FFT produce a more straightforward and simple to implement algorithm than the standard spline filter based on matrix decomposition. Meanwhile, although an approximation for the non-periodic boundary condition is utilized, the error caused by the end effects does not affect the surface evaluation significantly. For periodic profiles, the new and faster FFT based algorithm showed no differences when compared to the traditional spline filter.
33In brief, these new algorithms for generating spline filters, based on the discrete cosine and discrete Fourier transforms, provide measureable improvements in computational speed and demonstrate excellent robustness to outliers and dropouts that are expected in real world data. Comparison of this new approach with traditional methods directly demonstrates the utility of these new techniques.
참고문헌 11건
- EIGENVALUES OF SEVERAL TRIDIAGONAL MATRICES Applied Mathematics E-Notes [electronic only] · 2005
- The spline filter: A regularization approach for the Gaussian filter Precision Engineering · Elsevier BV · 2012 10.1016/j.precisioneng.2012.04.008
- The Discrete Cosine Transform SIAM Review · Society for Industrial and Applied Mathematics · 1999 10.1137/s0036144598336745
- Recent advances in separation of roughness, waviness and form Precision Engineering · Elsevier BV · 2002 10.1016/s0141-6359(02)00103-4
- A generalized -spline filter Measurement · Elsevier BV · 2009 10.1016/j.measurement.2009.01.020
- A Robust Spline Filter on the basis of L2-norm Precision Engineering · Elsevier BV · 2004 10.1016/j.precisioneng.2004.06.004
- SPLINE FUNCTIONS AND THE PROBLEM OF GRADUATION Proceedings of the National Academy of Sciences · National Academy of Sciences · 1964 10.1073/pnas.52.4.947
- Robust smoothing of gridded data in one and higher dimensions with missing values Computational Statistics & Data Analysis · Elsevier BV · 2009 10.1016/j.csda.2009.09.020
- An Areal Isotropic Spline Filter for Surface Metrology Journal of Research of the National Institute of Standards and Technology · The National Institute of Standards and Technology · 2015 10.6028/jres.120.006
- A Simple and Fast Spline Filtering Algorithm for Surface Metrology Journal of Research of the National Institute of Standards and Technology · The National Institute of Standards and Technology · 2015 10.6028/jres.120.010
- Computational Surface and Roundness Metrology Springer eBooks · Springer Nature · 2008 10.1007/978-1-84800-297-5