Surface Evaluation by Estimation of Fractal Dimension and Statistical Tools

Structured and complex data can be found in many applications in research and development, and also in industrial practice. We developed a methodology for describing the structured data complexity and applied it in development and industrial practice. The methodology uses fractal dimension together with statistical tools and with software modification is able to analyse data in a form of sequence (signals, surface roughness), 2D images, and dividing lines. The methodology had not been tested for a relatively large collection of data. For this reason, samples with structured surfaces produced with different technologies and properties were measured and evaluated with many types of parameters. The paper intends to analyse data measured by a surface roughness tester. The methodology shown compares standard and nonstandard parameters, searches the optimal parameters for a complete analysis, and specifies the sensitivity to directionality of samples for these types of surfaces. The text presents application of fractal geometry (fractal dimension) for complex surface analysis in combination with standard roughness parameters (statistical tool).


Introduction
Due to continuously increasing pressure from competitors to improve the quality of products, there is a demand for objective measurement and control methods for materials, processes, and production processes. However, it is almost impossible to describe many structures using conventional methods (e.g., defects, surfaces, cracks, and time series from dynamic processes) because they are complex and irregular. One approach is the application of fractal dimension which is successfully used in science.
The fractal dimension is closely connected to fractals that were defined by Mandelbrot [1], though scientists found some geometric problems with specific objects (e.g., the measurement of coast lines using different lengths of rulers by Richardson). A potentially powerful property of the fractal dimension is the ability to describe complexity by using a single number that defines and quantifies structures [2,3]. The number is mostly a noninteger value and the fractal dimension is higher than the topological dimension. For example, the Koch curve (one of the most famous mathematical deterministic fractals) has the topological dimension = 1, but the fractal dimension = 1.2619. A smooth curve as a line has the topological dimension = 1 and the fractal dimension = 1. The fractal dimension can be computed for a set of points, curves, surfaces, topological 3D objects, and so forth and if the fractal dimension is higher than the topological dimension, we name the objects fractals.
Fractal dimension is part of a wider theory, fractal geometry. Fractal geometry is closely connected to chaos theory. Furthermore, the obtained structures were produced by real dynamic systems and the obtained data was influenced by these dynamic systems [2,4,5]. The data can also be tested to chaotic properties (future work) and also simulated. Chaotic system can be identified by standard tools like Lyapunov coefficient, Hurst coefficient, and also fractal dimension. An alternative and promising way to identify chaotic system is evolutionary reconstruction [6]. Application of chaotic system reconstruction can be practically used for a chaotic cryptosystem procedure [7]. 2 The Scientific World Journal Even though applications of fractal dimension in industry are quite rare and experimental [8], it is possible to find a promising test and applications [9][10][11][12][13][14]. Fractal dimension in conjunction with statistics can be used as a useful and powerful tool for an explicit, objective, and automatic description of production process data (laboratory, off-line, and potentially on-line). Fractal dimension does not substitute other tools like statistics and should be used with other parameters for complete analysis. Here, we carry out research into the mentioned tools on a methodology that uses standard and nonstandard parameters to evaluate complex data from industrial practice [15,16] and laboratories [17][18][19]. The methodology finds suitable parameters for a complete analysis of the data from a set of parameters. Only the chosen parameters should be used in order to reduce processing time in industrial practice. The chosen parameters can also be recalculated to one number and the number can be used in quality assessment, for example, [16].
However, no research based on a deeper analysis of a relatively large data set has been conducted yet. For reliable usage of the methodology and analysis used, their properties and limitations have to be defined. We also wanted to analyse one source of data with different measured methods. The given theoretical results will be used for improvement of the methodology and finding relationships among the parameters and results of various tests. The main motivation is to answer whether parameters like fractal dimension are useful and beneficial for a complex description of the data from industrial practice.
For this purpose we analysed 14 surfaces produced by 5 different processes and in different conditions, Table 1. Figure 1 shows 28 samples (with 14 surfaces). The analysed structures were chosen so as to be different and to cover the most common surfaces in industrial practice. The chosen samples were made purposely from identical material. This allows us to subsequently ignore material properties and to analyse the change of technological parameters and the influence of technology used. The samples were measured using 3 methods: with a surface roughness tester, by image-capturing with an electron microscope, and by image-capturing of metallographic samples using an optical microscope, Figure 2. These three methods generate three data types that are the most common types in industrial practice (sequences, signals, 2D images, and dividing lines). The measurements were analysed using the developed methodology with 30 parameters. Results comparison of a surface roughness description, 2D images, and dividing lines seem to be interesting topics for future work.
This paper presents the first results of conducted research and it focuses on data from a surface roughness tester. Nine parameters were chosen for detailed analysis. Further measurements and comparison of the measurements will be published later.
The aims of this phase of the presented research are (i) to compare standard and nonstandard parameters; (ii) to find the optimal parameters for a complete analysis; (iii) to specify the sensitivity to directionality of samples for these types of surfaces.

Methodology and Tools Used
The unfiltered reading (raw data) from a surface roughness tester is called a profile (curve). The profile can be evaluated using various methods. The parameters obtained can be divided into three groups, as follows: (i) parameters of amplitude, useful for depth characterization (Std: standard deviation, : average roughness, : maximum roughness, : mean roughness depth, etc.); (ii) parameters of frequency, used to describe surface profile spacing parameters and for corrugation frequency characterization (e.g., : mean spacing); The Scientific World Journal (iii) parameters of complexity and deformation, estimation of fractal dimension by compass dimension (DC) [1][2][3], by EEE method [20], or by relative length ( ) and proportional length ( ) of the profile.
The mentioned parameters of amplitude and frequency are commonly used in industrial practice. These parameters are based on statistics. Average roughness, maximum roughness, mean roughness depth, and mean spacing are surface profile parameters defined by standard ISO 4287-1997 [21]. The parameters of complexity and deformation were selected based on previous experiences.
Average roughness ( ) is also known as the arithmetical mean roughness. The Average roughness is the area between the roughness profile and its mean line or the integral of the absolute value of the roughness profile height over the evaluation length: where is the evaluation length and is the deviation from the center line , Figure 3. When evaluated from digital data, the integral is normally approximated by a trapezoidal rule, as follows: where is the number of measurements. Graphically, the average roughness is the area (yellow in Figure 3) between the roughness profile and its centre line divided by the evaluation length. In this field of research, a filtered profile is not being used. For this reason the average roughness is called .
Maximum roughness ( ), also maximum height, or total roughness, is the vertical distance from the deepest trough to the highest peak, Figure 3. For the unfiltered profile, maximum roughness is denoted by .
Mean roughness depth ( 5 ) is the arithmetic mean of the single distance from the deepest trough to the highest peak from 5 sampling lengths ( 1 -5 ), Figure 3. For the unfiltered profile, mean roughness depth is denoted by 5 .
is the mean spacing between peaks, now with a peak defined relative to the mean line. A peak must cross above the mean line and then cross back below it. If the width of each peak is denoted as , then the mean spacing is the average width of a peak over the evaluation length, Figure 3: The estimated compass dimension expresses the degree of complexity of the profile by means of a single number [1]. A compass method [1][2][3] is based on measuring the profile (curve) using different ruler sizes (Figure 4(a)) according to where is the length in -step of the measurement, is the ruler size, and is the number of steps needed for the measurement. If the profile is fractal, and hence the estimated fractal dimension is larger than the topological dimension, then the length measured increases as the ruler size is reduced. The logarithmic dependence between log 2 ( ) and log 2 is called the Richardson-Mandelbrot plot (Figure 4(b)). The compass dimension is then determined from the slope of the regression line, as follows: For better comparison of the results, the dimension is multiplied by 1000 ( 1000 ). The fractal dimension can also be estimated using a different method [2,3]. The rate of profile deformation can be evaluated from its relative length . This fast and reliable method measures the ratio of the profile length PIXEL (red curve in Figure 3) using the smallest ruler (1 pixel) PIXEL and the length of the projection (Figure 3), as follws: Another similar approach is to compute the proportional length of the profile . The proportional length is the ratio of the profile length measured with a defined ruler (e.g., green line in Figure 4(a)) and the length measured with the maximum ruler max (the length between the first and the last point of the profile): The EEE method (evaluation of length changes with elimination of insignificant extremes) [20] stems from an estimation of the fractal dimension, so it measures changes of lengths in sequential steps. The method does not use a fixed "ruler" for its measurement in every step, but the line is defined by local extremes (maxima and minima). The method is based on the length evaluation of a profile (curve or signal). The profile is defined by measured values, which are isolated points 1 , 2 , . . . , in the range ( 1 ), ( 2 ), . . . , ( ). The points represent local extremes (maxima and minima). On the profile, unnecessary extremes are classified with a defined ruler and a new simplified function is defined by the remaining points. A relative length 1 of the new function is measured and the result is saved.
The procedure for the elimination of insignificant extremes is applied to the simplified function (profile). The function obtained is also measured and the process is reiterated. The last function is formed from the global maximum and minimum of all functions, at which point the analysis is stopped. The steps of the analysis are plotted against the computed relative lengths of the functions. The relation between the relative lengths and the steps of elimination is evaluated by a suitable regression function that can be a regression line, a quadratic function, or a hyperbolic function. In the case of using a regression line, the dimension can be computed from the slope by the following equation: For better comparison of the results the dimension is multiplied by 1000 ( EEE 1000 ). More information can be found in [20].

Measurement of Samples
The surface roughness tester Mitutoyo SV 2000 was used for taking measurements (parameters: traverse range: 50 mm; linearity of traverse: 0.3 m/50 mm; stylus speed measuring: 0.5 mm/s; positioning: 2 mm/s). A standard type of stylus with a 60 ∘ angle was used with a measuring force: 0.75 mN. All samples (2 samples with the same surface) were measured in 9 positions, each position in 3 directions, , , and transverse. The length of measurement is 4800 m and the sampling interval is 0.5 m. All data obtained is in the form of unfiltered profiles. A software tool for a data evaluation was developed in Matlab.

Results
The samples analysed have clearly different structural characters. In Figure 1, the samples are ordered from the smoothest to the most structured surface (from left to right). The two upper lines represent blasted and electroeroded surfaces (random surfaces) and the two bottom lines represent the classically machined surfaces. Graphs in Figures 5, 6, 7 clearly visible ( , EEE 1000 , and ). The 1000 parameter correlates lower and the parameter does not correlate. To evaluate the parameters objectively, Pearson's correlation coefficients were computed, see Table 2 (the parameters are normally distributed). The aim is to specify the appropriate parameters for fast and reliable analysis for industrial data evaluation [15] (e.g., production control or quality monitoring). Only the chosen parameters should be used for a complete analysis of the data in order to reduce processing time. Some parameters linearly correlate with others (they provide similar information about the data), Table 2. If the situation is simplified and a linear correlation is assumed, we can specify suitable parameters for evaluation of these types of data as follows: average roughness, (parameter of amplitude), Mean Spacing, (parameter of frequency), compass dimension, and 1000 (parameter of complexity and deformation). These 3 parameters provide diverse information about the data.
A decisive number (a testing number, a quality number) is required in several applications. Typically, during a subjective testing by an operator (mostly by human eyes), one tested number is obtained, based on subjective comparison with etalons [15,16]. The demand for only one testing number for quality evaluation comes from industrial practice. Three parameters that fully describe the data can be used for objective evaluation. In these cases the single number has to be calculated from the 3 parameters by weight coefficients and can be converted to a specified quality scale. The weight coefficients for each of the three parameters have to be specified using an appropriate methodology. Measurements were taken at 9 different measurement points in the , , and transverse direction for each of the 28 samples examined. This was done for all 9 presented methods.
The mean values of the data obtained from individual samples of -axis directions ( 1 ), -axis directions ( 2 ), and the transverse directions ( 3 ) were compared for each sample. Conformity of the mean values was tested by oneway analysis of variance (ANOVA) [22] at significance level = 0.05 using Matlab software. Thus, 6 The Scientific World Journal 1.00 *

1.00
Proportional length, 1.00 * The correlation coefficient is rounded up to 1.00, but is not equal to 1.
The Scientific World Journal   The test results are shown in Table 3, where value 0 means a rejection 0 and a benefit 1 (results of measurement are dependent according to direction). Value 1 does not constitute rejection 0 (results are independent on the direction).
values for rejection of the hypothesis 0 in favor of the alternatives 1 are also shown in Table 3.
Samples 1 to 7 were prepared by technologies that produce random structures. Samples 8 to 14 were produced by a standard machining method that generates directionally visible structures (Figure 1). Samples 8, 9, 10, 12, and 13 have linearly oriented structures. Samples 11 and 14 have rotationally oriented structures, because of the milling technology. Parameters 1000 , EEE 1000 , , and (parameters of complexity and deformation) show good results in recognition of the directionality. The only exception was for samples 11. These samples have a smooth rotationally 8 The Scientific World Journal Relative length,

[-]
Proportional length,  oriented structure that is identified as a random structure.
The results show that the mentioned parameters are useful for finding directionally dependent and independent structures. However, the conclusion is valid only for the analysed data and must be verified in further research.

Conclusions
The methodology for evaluation of complex and irregular data was developed and applied in industrial practice. The fractal dimension is used in combination with statistical tools; thus commonly used parameters and relatively new parameters are used simultaneously. This methodology searches appropriated parameters for a complex evaluation of data.
Only the chosen parameters are used for a complete analysis of the data in order to reduce processing time.
We conducted this research to verify and find properties of the methodology on data measured from 14 samples. The samples were produced by 5 different technologies (commonly used in industry) under different production properties. The samples were measured using 3 methods: by a surface roughness tester, by an electron microscope, and by an optical microscope.
In the first phase of the research we analysed data sets obtained from a surface roughness tester. The nine used parameters were divided into sets: parameters of amplitude, parameters of frequency, parameters of complexity, and deformation. One parameter in each set was determined using the correlation coefficient to evaluate these data types: average roughness, (parameter of amplitude), Mean Spacing, (parameter of frequency), and compass dimension, 1000 (parameter of complexity and deformation). These 3 parameters provide diverse information about the data and can be used for a complete data analysis. Within the framework of the research, sensitivity to sample directionality for these types of surfaces was determined. Parameters of complexity and deformation: compass dimension ( 1000 ), EEE dimension ( EEE 1000 ), relative length ( ), and proportional length ( ) can be used for linear structure recognition of the presented data. Based on these results, it can be inferred that the tools represented here are suitable for recognition directionally dependent and independent structures. De facto one-way analysis of variance (ANOVA) illustrates the parameter sensitivity of complexity and deformation to the detection of random structures. Verification of whether the structure is chaotic and also if the structure must be chaotic for detection with the specified procedure will be carried out.
Our future work will focus on two other forms of data: 2D images and dividing lines. Further research will also compare data analyses in various forms (sequences, signals, 2D images, and dividing lines). The potential of the mentioned methodology for industrial practise will be verified. Subsequently, verification of whether the description of complex data is only possible with the use of fractal dimension or sufficient "standard tools" (especially statistical tools) will be executed. Chaotic properties of obtained data will also be studied, because they come from real dynamic systems that can be chaotic.
The fractal dimension is widely used in science, but industrial applications are rather rare. Data analysis using the fractal dimension has great potential in combination with statistical and other measurements in industry. This and previously presented results show possibilities of application in practical use in industry and production laboratories. Structured surface, complex time series, and difficulty describing dividing lines are much more common than can be expected.