**Application of Fractal Dimension in Industry Practice**

## Vlastimil Hotař

Additional information is available at the end of the chapter

http://dx.doi.org/10.5772/intechopen.68276

#### Abstract

Today, industrial production lines commonly use off-line and automatic on-line quality monitoring and control. Monitoring and control units analyse data from a production process, and analysis should be able to obtain reliable information that correspond with the character of the data obtained. The character of the data set obtained from production processes or from products can be highly structured in all industrial areas. Structured surface, complex time series (topologically one dimensional signals), difficulty to describe dividing curves are much more common than it can be expected. For this kind of data set, a powerful tool for analysis of complexity —fractal geometry (especially a fractal dimension) should be used. The fractal dimension with a combination of statistical tools is an interesting and powerful tool for complex data quantification, for tracing the source of poor quality, production optimization and investigating the source of instability of production process subsystems in industrial applications. The methodology for evaluation of complex and irregular data was developed and applied in industrial practice. 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.

Keywords: fractal geometry, fractal dimension, statistic tools, monitoring, control, complex data

## 1. Introduction

A demand for objective measurement and control methods for materials, processes and production processes stems from continuously increasing pressure from competitors to improve the quality of products. However, description of many complex and irregular structures (e.g. defects, surfaces, cracks, signals from dynamic processes) is almost impossible by conventional methods. The application of fractal geometry, which is successfully used in science, appears to be a powerful approach. The industrial application of the fractal dimension (FD) is generally

© 2017 The Author(s). Licensee InTech. This chapter is distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/3.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

experimental [1, 2], but application to production is possible and brings benefits. Currently, there are tools to monitor three basic data format types: topological one-dimensional signals (analysis of time series for control systems, roughness from a surface roughness tester), dividing curves (application for the corrugation test of flat glass and surface roughness—iron aluminides in comparison with carbide-nickel steel in contact with molten glass), and digitalized photos (evaluation of 2D pictures of surface defects).

It is possible to compare statistical tools and FD, but the comparison should be done carefully. To claim that the FD is better than statistics and vice versa is impossible, because the FD provides added information about the character of data set description and does not substitute standard tools. Moreover, the FD should not be used separately for the reason that the dimension does not give all the information about data set captures. FD using together with added parameters (statistics, topology, spectral analysis, etc.) brings benefits and is recommended.

## 2. Description of one-dimensional signals

Dynamic subsystems can be found in many production processes, and they have a strong influence on the production. Data measured from production sensors contain mentioned dynamic effect. Therefore, the time series are structured and the typical statistical data evaluations are not often sufficient.

Also roughness from a surface roughness tester is in many cases complex, and using standard roughness parameters may be not satisfactory.

To analyse one-dimensional signals, we use statistical methods, power spectral analysis, and an estimate of the FD [3, 4]. The estimation of the FD is calculated using the rescaled range method [5] and the box counting method from an "iso-set" [6], also compass counting and EEE method can be used.

#### 2.1. Rescaled range analysis

The rescaled range analysis (R/S) represents method for estimating the FD of self-affine fractals and uses statistical tools. The method is based on an analysis of a changed interval of time series. Consider an interval of time series, length w. Within this interval, one can define two quantities:

R(w), the range taken by the values of y in the interval (vector y—the vertical axis of the time series—represent the time series without a sampling interval x—the horizontal axis of the time series). The range is measured with respect to a trend in the interval, where the trend is estimated simply as difference between maximum and minimum of the interval. This subtracts the average trend in the interval.

S(w), the standard deviation of the first differences Δy of the values of y within the interval. The first differences of the y's are defined as the differences between the values of y at some location x and y at the previous location on the x axis:

$$
\Delta y(\mathbf{x}) = y(\mathbf{x}) - y(\mathbf{x} - \Delta \mathbf{x}) \tag{1}
$$

where Δx is the sampling interval, that is, the interval between two consecutive values of x. The rescaled range R/S(wRS) is defined as follows:

$$R/S(w\_{\rm RS}) = \left\langle \frac{R(w\_{\rm RS})}{S(w\_{\rm RS})} \right\rangle \tag{2}$$

where w is the interval length and the angled brackets <R(wRS)> represent the average of a R (wRS) value numbers. The self-affinity incurs that one expects the range taken by the values of y in an interval of length w to be proportional to the interval length to a power equal to the Hurst exponent H, that is,

$$R/S(w\_{\rm RS}) = \mathbf{w}\_{\rm RS}^{\rm H} \tag{3}$$

For a given window length wRS, the input series in a number of intervals of length wRS are then subdivided, R(wRS) and S(wRS) in each interval are measured and R/S(wRS) is calculated as the average ratio R(wRS)/S(wRS), see Eq. (1). Mentioned process is then reiterated for several window lengths. Logarithms of R/S(wRS) are subsequently plotted versus the logarithms of wRS. Considering the self-affine trace, this plot follows a straight line with a slope equals to the Hurst exponent H. FD of the time series can be calculated from the relationship between the Hurst exponent H and the FD:

$$D\_{RS} = 2 - H \tag{4}$$

where R/S dimension DRS denotes the FD estimated from the Rescaled Range analysis. The R/S dimension has value from 1 to 2, and Hurst exponent has value from 0 to 1. More about the method can be found in Ref. [5].

#### 2.2. Box dimension from "Iso-set"

experimental [1, 2], but application to production is possible and brings benefits. Currently, there are tools to monitor three basic data format types: topological one-dimensional signals (analysis of time series for control systems, roughness from a surface roughness tester), dividing curves (application for the corrugation test of flat glass and surface roughness—iron aluminides in comparison with carbide-nickel steel in contact with molten glass), and digita-

It is possible to compare statistical tools and FD, but the comparison should be done carefully. To claim that the FD is better than statistics and vice versa is impossible, because the FD provides added information about the character of data set description and does not substitute standard tools. Moreover, the FD should not be used separately for the reason that the dimension does not give all the information about data set captures. FD using together with added parameters (statistics, topology, spectral analysis, etc.) brings benefits and is

Dynamic subsystems can be found in many production processes, and they have a strong influence on the production. Data measured from production sensors contain mentioned dynamic effect. Therefore, the time series are structured and the typical statistical data evalu-

Also roughness from a surface roughness tester is in many cases complex, and using standard

To analyse one-dimensional signals, we use statistical methods, power spectral analysis, and an estimate of the FD [3, 4]. The estimation of the FD is calculated using the rescaled range method [5] and the box counting method from an "iso-set" [6], also compass counting and EEE

The rescaled range analysis (R/S) represents method for estimating the FD of self-affine fractals and uses statistical tools. The method is based on an analysis of a changed interval of time series. Consider an interval of time series, length w. Within this interval, one can define two quantities: R(w), the range taken by the values of y in the interval (vector y—the vertical axis of the time series—represent the time series without a sampling interval x—the horizontal axis of the time series). The range is measured with respect to a trend in the interval, where the trend is estimated simply as difference between maximum and minimum of the interval. This subtracts

S(w), the standard deviation of the first differences Δy of the values of y within the interval. The first differences of the y's are defined as the differences between the values of y at some location

lized photos (evaluation of 2D pictures of surface defects).

138 Fractal Analysis - Applications in Physics, Engineering and Technology

2. Description of one-dimensional signals

roughness parameters may be not satisfactory.

recommended.

ations are not often sufficient.

method can be used.

2.1. Rescaled range analysis

the average trend in the interval.

x and y at the previous location on the x axis:

An "iso-set" is constructed from the time series as shown in Figure 1 that contains zeros and ones, and the FD is estimated from this set. The "iso-set" (as time series) can be generated by two basic ways, where the ones represent crossings of a pre-selected threshold. The "iso-set" is generated by setting of suitable thresholds and marking the time at which the time series cross these thresholds (Figure 1). The threshold values can be perceptually dependent on the time series average (a floated threshold value, in Figure 1) or can be pre-selected fixed values.

The FD of the "iso-set" is estimated by using box counting method that is described in Section 4.4. The principle of the box dimension method used for "iso-set" is given in Figure 1. (The box size rB=ts.b.) Starting from box size rB = ts (ts is sampling time interval), the number of boxes that contain a crossing is recorded. The box size is then increased by the factor b and the procedure continues until the entire "iso-set" is contained in one single box. This is illustrated for the factor b = 2. The box dimension DB is determined from the central slope of the

Figure 1. Construction of iso-set by marking each time at which trace crossed the chosen threshold values and a principle of box dimension computing.

regression line of the Richardson-Mandelbrot plot (logarithmic dependence between log2N(r) and log2rB). For more information about the method, please see Refs. [6–8].

#### 2.3. Compass counting

The estimated Compass Dimension expresses the degree of complexity of the profile. A compass method [5, 9, 10] is based on measuring of the profile (curve) using different ruler sizes (Figure 2A) according to the equation:

$$L\_i(r\_i) = N\_i(r\_i).r\_i \tag{5}$$

where Li is the length in i-step of the measurement, ri is the ruler size and Ni is the number of steps needed for the measurement.

If the profile is fractal, and hence the estimated FD is larger than the topological dimension, then the length measured increases as the ruler size is reduced. The logarithmic dependence between log2N(ri) and log2ri (Richardson-Mandelbrot plot) is shown in Figure 2B. The Compass Dimension is then determined from the slope s of the regression line:

$$D\_{\mathbb{C}} = 1 - s = 1 - \frac{\Delta \log\_2 L(r)}{\Delta \log\_2 r} \tag{6}$$

Application of Fractal Dimension in Industry Practice http://dx.doi.org/10.5772/intechopen.68276 141

Figure 2. Estimation of the fractal dimension by the compass method.

#### 2.4. Relative and proportional length

The rate of signal (profile) deformation might be evaluated by its relative length LR. This fast and reliable method measures the ratio of the profile length lPIXEL (solid line in Figure 2A) using the smallest ruler (1 pixel) rPIXEL and the length of the projection l (Figure 2A):

$$L\_{\mathbb{R}} = \frac{l\_{\text{PIXEL}}}{l} \tag{7}$$

Another similar approach is to compute the proportional length of the profile LP. The proportional length is the ratio of the profile length measured with a defined ruler lr (e.g. dashed line in Figure 2A) and the length measured with the maximum ruler lr max (the length between the first and the last point of the profile):

$$L\_P = \frac{l\_r}{l\_{r\text{max}}} \tag{8}$$

#### 2.5. EEE method

regression line of the Richardson-Mandelbrot plot (logarithmic dependence between log2N(r)

Figure 1. Construction of iso-set by marking each time at which trace crossed the chosen threshold values and a principle

The estimated Compass Dimension expresses the degree of complexity of the profile. A compass method [5, 9, 10] is based on measuring of the profile (curve) using different ruler

where Li is the length in i-step of the measurement, ri is the ruler size and Ni is the number of

If the profile is fractal, and hence the estimated FD is larger than the topological dimension, then the length measured increases as the ruler size is reduced. The logarithmic dependence between log2N(ri) and log2ri (Richardson-Mandelbrot plot) is shown in Figure 2B. The Com-

DC <sup>¼</sup> <sup>1</sup> � <sup>s</sup> <sup>¼</sup> <sup>1</sup> � <sup>Δ</sup>log2Lðr<sup>Þ</sup>

LiðriÞ ¼ NiðriÞ:ri ð5Þ

<sup>Δ</sup>log2<sup>r</sup> <sup>ð</sup>6<sup>Þ</sup>

and log2rB). For more information about the method, please see Refs. [6–8].

pass Dimension is then determined from the slope s of the regression line:

2.3. Compass counting

of box dimension computing.

sizes (Figure 2A) according to the equation:

140 Fractal Analysis - Applications in Physics, Engineering and Technology

steps needed for the measurement.

The method is based on length evaluation of a curve (signal). The curve is defined by measured values and they are isolated points x1, x2, …,xn in the range y(x1), y(x2), …, y(xn). The dots represent local extremes (minima and maxima). Unnecessary extremes are classified with a

Figure 3. Function f and its local extremes.

defined rule on the curve, and a new simplified function is defined by the remaining points. For the next classification, the new function is used.

An example of a function defined by points and connected into the linear by parts function f is in Figure 3. The function f is in the first step purged of points which are not local extremes using the rule:

First, the difference proportion of the dependent variables y to the independent variables x between neighbouring points xi, xi+1 is determined from function f:

$$
\Delta f(\mathbf{x}\_i, \mathbf{x}\_{i+1}) = \frac{\Delta y(\mathbf{x}\_i)}{\Delta \mathbf{x}\_i} = \frac{y(\mathbf{x}\_{i+1}) - y(\mathbf{x}\_i)}{\mathbf{x}\_{i+1} - \mathbf{x}\_i} \tag{9}
$$

Second, irrelevant points, concretely points where the difference Δf has the same sign, are eliminated. Remained points (marked by black dots in Figure 3) are considered as the local extremes. Extremes are supplemented by first and last points. The prepared points form a simplified function g, Figure 4. A relative length of the function g is computed, and the result is saved. Based on the absolute length of the function the relative length, LR 1 (Section 2.4) is evaluated from point to point and divided by the length of its x axis projection.

The elimination of insignificant extremes procedure is used to the simplified function g. The procedure applies functions formed from function g minima and maxima, Figure 5, the functions gmin and gmax are extended by the g function's first and last points, as it was

Figure 4. Simplified function g and its local extremes.

defined rule on the curve, and a new simplified function is defined by the remaining points.

An example of a function defined by points and connected into the linear by parts function f is in Figure 3. The function f is in the first step purged of points which are not local extremes

First, the difference proportion of the dependent variables y to the independent variables x

<sup>¼</sup> <sup>y</sup>ðxiþ<sup>1</sup>Þ � <sup>y</sup>ðxi<sup>Þ</sup> xiþ<sup>1</sup> � xi

ð9Þ

Δxi

Second, irrelevant points, concretely points where the difference Δf has the same sign, are eliminated. Remained points (marked by black dots in Figure 3) are considered as the local extremes. Extremes are supplemented by first and last points. The prepared points form a simplified function g, Figure 4. A relative length of the function g is computed, and the result is saved. Based on the absolute length of the function the relative length, LR 1 (Section 2.4) is

The elimination of insignificant extremes procedure is used to the simplified function g. The procedure applies functions formed from function g minima and maxima, Figure 5, the functions gmin and gmax are extended by the g function's first and last points, as it was

For the next classification, the new function is used.

142 Fractal Analysis - Applications in Physics, Engineering and Technology

Figure 3. Function f and its local extremes.

between neighbouring points xi, xi+1 is determined from function f:

<sup>Δ</sup>fðxi, xiþ<sup>1</sup>Þ ¼ <sup>Δ</sup>yðxi<sup>Þ</sup>

evaluated from point to point and divided by the length of its x axis projection.

using the rule:

mentioned above. The function gmax is formed by the g function's maxima (dotted line in Figure 5). There are local maxima presented in this function by black dots in Figure 5. The definition of local maxima using above-mentioned rule, but only maxima are used (obtained minima are forgotten). The function gmin is generated from function's minima (dashed line). Obtained local minima are presented as black dots using above-mentioned rule; however, only minima are used (obtained maxima are forgotten).

The local minima and maxima of the functions gmax and gmin are used for the generation of the function gred, Figure 6. In this function, again local minima and maxima are defined using the rule (Figure 6, black dots). These final local extremes of the function g (Figure 4, black dots) and the first and last points from the function g define the function h, Figure 7. The relative length LR 2 of function h is computed, and the result is saved.

The similar procedure is subsequently used for the new simplified function h. Global extremes and the first and last point (Figure 7, black dots) define the function k. The function is formed from the global minimum and maximum of all functions (f, g, h), and therefore the analysis is stopped. All functions are represented in Figure 8.

The analysis steps j are plotted versus g, h, k, function's computed relative lengths LR j (Section 2.4.) Figure 9. The dependence between the relative lengths LR j and steps of elimination j is computed by a sufficient regression function. Concretely, it can be represented by a regression line (Figure 9), a quadratic function or a hyperbolical function. Parameters of those regression functions are used for the function f determination. (Logarithmic axis use is not beneficial.)

Figure 5. Functions gmax and gmin generated from local extremes of function g.

Figure 6. Function gred generated from maxima of function gmax and from minima of function gmin.

Figure 7. Simplified function h and its local extremes.

Figure 5. Functions gmax and gmin generated from local extremes of function g.

144 Fractal Analysis - Applications in Physics, Engineering and Technology

Figure 6. Function gred generated from maxima of function gmax and from minima of function gmin.

Figure 8. Function f and simplified functions g, h, k.

Figure 9. Plot of the relation between steps of analysis and relative length, regression line.

Signal (time series) obtained from simulation of fractional Brownian motion using Cholesky-Factorization of the related covariance matrix (FBM) was used to test the developed method. An example of testing signal is generated using the input Hurst coefficient H = 0.4, in Figure 10. The coefficient represents the character of signal and can achieve value 0 to 1 (lower coefficients generate more complex functions, and further information can be found in Refs. [5, 10]). The dependence between relative lengths and elimination steps is shown in Figure 11.

A standard process to estimate the FD using the dependence between log2LR j and log2j was tested. However, such representation was not beneficial as in this method the rulers are not used with different lengths. For that reason, the length of rulers cannot be used in the plot.

The regression function, which fits the most to describe a relation of relative lengths LR j and the number of steps j, is estimated by the hyperbolic regression model:

$$L\_{\mathbb{R}^j} = \frac{d}{j+a} + b \tag{10}$$

This might be calculated by parameters d and a. Parameter b is always set as b = 1. Parameter a needs to be computed numerically with application of an error function.

For verification of the EEE method, over 900 simulated time series from FBM were used with the Hurst coefficient between 0.1 and 0.95. The dependence between Hurst coefficients and the average value of parameters a and d is shown in Figure 12.

Figure 10. Simulation of the time series using fractional Brownian motion.

Signal (time series) obtained from simulation of fractional Brownian motion using Cholesky-Factorization of the related covariance matrix (FBM) was used to test the developed method. An example of testing signal is generated using the input Hurst coefficient H = 0.4, in Figure 10. The coefficient represents the character of signal and can achieve value 0 to 1 (lower coefficients generate more complex functions, and further information can be found in Refs. [5, 10]).

A standard process to estimate the FD using the dependence between log2LR j and log2j was tested. However, such representation was not beneficial as in this method the rulers are not used with different lengths. For that reason, the length of rulers cannot be used in the plot.

The regression function, which fits the most to describe a relation of relative lengths LR j and

This might be calculated by parameters d and a. Parameter b is always set as b = 1. Parameter a

For verification of the EEE method, over 900 simulated time series from FBM were used with the Hurst coefficient between 0.1 and 0.95. The dependence between Hurst coefficients and the

þ b ð10Þ

LR j <sup>¼</sup> <sup>d</sup> j þ a

The dependence between relative lengths and elimination steps is shown in Figure 11.

the number of steps j, is estimated by the hyperbolic regression model:

Figure 9. Plot of the relation between steps of analysis and relative length, regression line.

146 Fractal Analysis - Applications in Physics, Engineering and Technology

needs to be computed numerically with application of an error function.

average value of parameters a and d is shown in Figure 12.

Figure 11. Relation between number of steps of analysis and relative length for the time series FBM, H=0.4.

Figure 12. Hurst coefficient versus average value of parameters a and d of hyperbolic function.

EEE dimension for self-affine fractals can be estimated on base of parameter d:

$$D\_{EE} = 1 + |d|\tag{11}$$

#### 2.6. Example of time series results

There are numerous possible applications of a fast and accurate description of time series (signals) from production process sensors using fractal geometry and statistical analyses.

Figure 13 represents results of three time series analysis from a glass tank: temperature of a tank main arch. The time series are from one position of production processes in different times. Box and R/S dimensions of the time series are written under the pictures. The complexity is estimated by one number, larger number represents higher complexity. First time series has relatively the largest complexity, and third is relatively the smoother (Figure 13).

Figure 14 shows results of a tank siege analysis, time series were obtained during defined time, and whole signals were analyzed using the standard deviation, the R/S dimension, and the box dimension. The average temperature indicates a temperature profile of the tank siege and an implicit temperature profile of the molten glass in contact to the tank siege. The box dimensions were computed for threshold values k = {0.2, 0.5,0.7}, see Figure 14. From positions 5 and 6, the FD decreases and between positions 6 and 8 rises. The large dimension indicates a smoother time series, and the higher dimension represents a complex time series. Glass melt is in permanent movement in the tank. This movement is important for a good quality of glass melt in the end of the glass tank. However, this movement is impossible to monitor by

Figure 13. Time series of glass tank main arch temperatures from a first sensor T1 and these box and R/S dimension in different time.

standard measurements. The character (complexity) of time series represents changes in temperature. These changes are caused by the movement of molten glass. The decrease of the complexity occurs where a change of longitudinal glass currents is expected. This shows that fractal analysis can be used for the detection of molten glass currents [3, 8] (Figure 14).

Figure 14. Results of glass tank siege time series analysis.

EEE dimension for self-affine fractals can be estimated on base of parameter d:

Figure 12. Hurst coefficient versus average value of parameters a and d of hyperbolic function.

There are numerous possible applications of a fast and accurate description of time series (signals) from production process sensors using fractal geometry and statistical analyses.

Figure 13 represents results of three time series analysis from a glass tank: temperature of a tank main arch. The time series are from one position of production processes in different times. Box and R/S dimensions of the time series are written under the pictures. The complexity is estimated by one number, larger number represents higher complexity. First time series

Figure 14 shows results of a tank siege analysis, time series were obtained during defined time, and whole signals were analyzed using the standard deviation, the R/S dimension, and the box dimension. The average temperature indicates a temperature profile of the tank siege and an implicit temperature profile of the molten glass in contact to the tank siege. The box dimensions were computed for threshold values k = {0.2, 0.5,0.7}, see Figure 14. From positions 5 and 6, the FD decreases and between positions 6 and 8 rises. The large dimension indicates a smoother time series, and the higher dimension represents a complex time series. Glass melt is in permanent movement in the tank. This movement is important for a good quality of glass melt in the end of the glass tank. However, this movement is impossible to monitor by

has relatively the largest complexity, and third is relatively the smoother (Figure 13).

2.6. Example of time series results

148 Fractal Analysis - Applications in Physics, Engineering and Technology

DEEE ¼ 1 þ jdj ð11Þ

#### 2.7. Examples of roughness analysis results

The raw data reading (unfiltered reading) from a surface roughness tester presented by a curve is labelled as a profile. Obtained parameters can be divided into three groups:


Mentioned statistic parameters, amplitude, and frequency are widely used in industry. Surface profile parameters, such as Maximum Roughness, Average Roughness, Mean Spacing, and Mean Roughness Depth, are defined by ISO 4287-1997 [12] standard. Complexity and deformation parameters were chosen on the basis of previous experiences.

For better result comparison, the dimension is multiplied by 1000 (DC1000).

We analysed 14 surfaces produced by five different processes and in different conditions, Table 1. Figure 15 shows 28 samples (with 14 surfaces) [13]. The analysed structures were chosen so as to be different and to cover the most common surfaces in industrial practice. 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 used technology.


Table 1. Correlation coefficients of selected parameters.

Figure 15. Analysed samples with machined surfaces.

2.7. Examples of roughness analysis results

150 Fractal Analysis - Applications in Physics, Engineering and Technology

influence of used technology.

quency characterization (e.g. Sm—Mean Spacing),

mation parameters were chosen on the basis of previous experiences.

Sample Technology of surfaces production 1 Polished surface to maximum gloss

5 Electro-erosion machining 29A 6 Electro-erosion machining 42A 7 Electro-erosion machining 54A

12 Grinding wheel, 98A 60 J 9 V C40 13 Grinding wheel, 96A 36P 5V

8 Sandpaper, K400 9 Emery cloth, 120 10 Emery cloth, 80

Table 1. Correlation coefficients of selected parameters.

For better result comparison, the dimension is multiplied by 1000 (DC1000).

The raw data reading (unfiltered reading) from a surface roughness tester presented by a curve

• parameters of frequency describing surface profile spacing parameter and corrugation fre-

• parameters of amplitude describing depth characterization (Ra—Average Roughness, Std— Standard Deviation, Rz—Mean Roughness, Rt—Maximum Roughness, Depth, etc.). • parameters of complexity and deformation describing FD estimation by Compass Dimension (Dc), by Profile Proportional Length (LP), EEE method, or Profile Relative Length (LR). Mentioned statistic parameters, amplitude, and frequency are widely used in industry. Surface profile parameters, such as Maximum Roughness, Average Roughness, Mean Spacing, and Mean Roughness Depth, are defined by ISO 4287-1997 [12] standard. Complexity and defor-

We analysed 14 surfaces produced by five different processes and in different conditions, Table 1. Figure 15 shows 28 samples (with 14 surfaces) [13]. The analysed structures were chosen so as to be different and to cover the most common surfaces in industrial practice. 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

2 Ballotini (glass beads) blasting, grain size F120 (mean diameter 0.109 mm)

11 Vertical milling machine, milling cutter 20 mm, 120 rpm, feed 30 mm/min

14 Vertical milling machine, milling cutter 20 mm, 120 rpm, feed 240 mm/min

3 Corundum blasting, grain size F36 (mean diameter 0.525 mm) 4 Corundum blasting, grain size F12 (mean diameter 1.765 mm)

is labelled as a profile. Obtained parameters can be divided into three groups:

Measurement was realized on a surface roughness tester Mitutoyo SV 2000. Parameters were set as follows: stylus measuring speed: 0.5 mm/s; positioning: 2 mm/s; traverse range: 50 mm; linearity of traverse: 0.3 µm/50 mm. Standard type of stylus with a 60 angle with a measuring force: 0.75 mN was used. The length of measurement is 4800 µm, and the sampling interval is 0.5 µm.

All samples (two samples with the same surface) were measured in nine positions, each position in three directions, x, y, and transversely. All data obtained in the form of unfiltered

Figure 16. Results of Pa parameter.

Figure 17. Results of Sm parameter.

Figure 18. Results of FD estimation, DC 1000.

Figure 19. Results of FD estimation, DEEE 1000.

profiles were used for analyses. Matlab platform was used for a data evaluation, and necessary software tools were developed.

Based on a linear correlation from obtained parameters (Section 3.1) and simplifying results, we can specify suitable parameters for evaluation of these types of data: Average Roughness, Pa (parameter of amplitude, Figure 16), Mean Spacing, Sm (parameter of frequency Figure 17), Compass Dimension, DC 1000 (parameter of complexity and deformation, Figure 18). Diverse information from data can be provided by these three parameters. EEE dimension (parameter of complexity and deformation) is depicted in Figure 19. More information can be found in Ref. [13].

## 3. Classification of topological one-dimensional dividing curve

Figure 17. Results of Sm parameter.

152 Fractal Analysis - Applications in Physics, Engineering and Technology

Figure 18. Results of FD estimation, DC 1000.

Figure 19. Results of FD estimation, DEEE 1000.

The research focuses on the application of the methodology for a quantification of metal surface changes and on an objectification of corrugation test for flat glass. Tools for analysis (the estimation of FD and statistical tools) are in the principle the same as for the topological one-dimensional signals, described in Section 2. The following text shows examples of FD application in practice.

Figure 20. Image analysis of dividing curves between alloy and glass: A—gray scale image from light optical microscopy, B—evaluated dividing curve between the alloy and glass (boundary curve), C—parameter of amplitude (Rt—maximum roughness) and parameter of frequency (Sm—mean spacing), D—computing of compass dimension, E—compass dimension DC computed from slope.

#### 3.1. Example: surface roughness changes after corrosion tests

Quantification of metal surface changes after exposition on air or in a glass melt is important for objective comparison of materials corrosion resistance. Example is showed in relatively new materials: iron aluminides [14], compared with currently used chrome-nickel steels in contact with molten glass. The sample roughness changed during an interaction of metal surface with molten glass, and the effect of disruption can be evaluated after the end of the corrosion test. The obtained roughness of metal surface was quantified using FD and statistical tools.

First, a digital camera (in a light optical microscope) takes a photograph of a metal surface profile from metallographic sample (five photographs from one sample), Figure 20A.

Figure 21. Examples of dividing curves chrome-nickel steel material and iron aluminide, after static glass melt effects in different temperatures and results of analyses (compass dimension multiplied by 1000, Dc 1000).

Second, a dividing curve is generated from obtained images by a software tool. Software exactly defines a curve between material alloys and its surrounding, Figure 20B. The generated dividing curve is evaluated by the FD (a compass dimension multiplied by 1000, DC 1000), Figure 20D and E. The average standard deviation of all the curves (STD), average mean spacing(Sm), Figure 20C, and the average maximum roughness of all the curves (Rt), Figure 20C, are then described using statistics [15–17].

3.1. Example: surface roughness changes after corrosion tests

154 Fractal Analysis - Applications in Physics, Engineering and Technology

Quantification of metal surface changes after exposition on air or in a glass melt is important for objective comparison of materials corrosion resistance. Example is showed in relatively new materials: iron aluminides [14], compared with currently used chrome-nickel steels in contact with molten glass. The sample roughness changed during an interaction of metal surface with molten glass, and the effect of disruption can be evaluated after the end of the corrosion test.

First, a digital camera (in a light optical microscope) takes a photograph of a metal surface

Figure 21. Examples of dividing curves chrome-nickel steel material and iron aluminide, after static glass melt effects in

different temperatures and results of analyses (compass dimension multiplied by 1000, Dc 1000).

The obtained roughness of metal surface was quantified using FD and statistical tools.

profile from metallographic sample (five photographs from one sample), Figure 20A.

Examples of analysis are shown on materials: Fe-14Al-6Cr (iron aluminides) and EN X8CrNi25-21 (chrome-nickel steels). More information about tests and materials can be found in Ref. [17]. The dividing curves are depicted in Figure 21.

The evaluation of roughness parameters was carried out on 10 places for each sample (each alloy and time interval). The corrosion attack of the tested alloy may also be described by the roughness of the surface. Many parameter types can be used for a quantification of the metal roughness. Parameters can be divided into three groups: parameters of amplitude, parameters of frequency, and parameters of complexity and deformation (described in Section 2.7). In this field of research, a filtered profile is not being used. For this reason, the Average Roughness is called Pa, maximum Roughness is denoted Pt etc.

Graphs in Figures 22–24 show the results of analysis for the dividing curves between alloys and glass. Average values were used in order to compare results.

The analysis using the developed methodology has two steps. The first step is a specification of appropriate parameters for fast and reliable analysis for data evaluation. Mentioned methodology

Figure 22. The average value of maximum roughness of profile, Pt as a function of time for corrosion in molten soda-lime glass.

Figure 23. The average value of mean spacing of profile, Sm as a function of time for corrosion in molten soda-lime glass.

Figure 24. The average value of fractal dimension estimation, compass dimension of profile DC 1000 as a function of time for corrosion in molten soda-lime glass.


Table 2. List of analysed samples with their production properties.

Figure 23. The average value of mean spacing of profile, Sm as a function of time for corrosion in molten soda-lime glass.

156 Fractal Analysis - Applications in Physics, Engineering and Technology

Figure 24. The average value of fractal dimension estimation, compass dimension of profile DC 1000 as a function of time

for corrosion in molten soda-lime glass.

contains 22 parameters. However, only chosen parameters were used for a complete analysis in order to simplify the analysis and to reduce the processing time.

Some parameters linearly correlate with the others (they provide similar information about the data). To evaluate the parameters objectively, Pearson's correlation coefficients were computed, see Table 2. A correlation between chosen parameters is clearly visible (Pa and Pt). The LR parameter correlates less with the parameters Pa and Pt, but still significantly. The DC <sup>1000</sup> parameter correlates less with the parameters Pa and Pt, but correlates with the LR parameter. The Sm parameter does not correlate with other parameters. On the base of a linear correlation from obtained parameters and simplifying results, we can specify suitable parameters for evaluation of these types of data: Maximum Roughness, Pt (parameter of amplitude), Mean Spacing, Sm (parameter of frequency), Compass Dimension, DC 1000 (parameter of complexity and deformation). Diverse information from data can be provided by these three parameters

Second, it is possible to objectively describe a character of metal structure after corrosion attack. We are able to draw the conclusions:

Parameter of amplitude, Maximum Roughness Pt (Figure 22), shows deepness of corrosion attack of metal surface by glass melt. The average dividing curve deepness of alloy Fe-14Al-6Cr grows slowly up to 168 h because iron aluminide dissolved slowly and uniformly in the molten glass than EN X8CrNi25-21 [17–19]. The average dividing curve deepness of austenitic steel grows from raw state during attack to 48 h (Figure 21). After 48 h, it is apparent that corrosion protrusions penetrate less deeply into the surface of steel. It does not mean any increase of corrosion resistance, but probably a progress of corrosion attack is more uniform in this time period. This should be analysed by other methods, for example, the measurement of weight loss, chemical analyses, etc. The maximal deepness of corrosion attack is after 168 h.

Parameter of frequency, Mean Spacing Sm (Figure 23), shows surface profile spacing. The parameter describes corrugation frequency of the dividing curve after corrosion attack, how many wavelets can be observed on the surface. For both alloys grows the parameter up to 72 h, where the maximum is. The frequency is connected to the corrosion mechanism.

Parameter of complexity and deformation, Compass Dimension DC 1000 (Figure 24), shows level of dividing curve complexity. In case of alloy Fe-14Al-6Cr, the average complexity of surface expressed as Compass Dimension grows from 24 to 48 h and then slowly decreases. On the other hand, the average surface complexity of alloy EN X8CrNi25-21 increases significantly from raw state during attack up to 48 h, then falls down, and grows to the maximum after 72 h. After 96 h, slight decrease of DC 1000 was observed. The significant decrease in value of DC 1000 after 48 h is probably related to more uniform a progress of corrosion. For understanding of the steel corrosion mechanism, it is necessary to carry out further analysis.

It is obvious that dividing curves of alloy Fe-14Al-6Cr after corrosion attack are smoother and less complex. It seems that the corrosion resistance of Fe-14Al-6Cr is higher than steel EN X8CrNi25-21. Austenitic steel showed corrosion protrusions due to probably intergranular corrosion (preferential attack of some phases at grain boundaries). However, this statement should be supported by structural and phase analysis.

## 3.2. Example: corrugation test

The optical test using a zebra plate is widely used measurements for mass production. The test is one of the many important measurements, and it is used in a wide range of situations: as a production control by manufacturers of float glass; as a quality control by glass processors on the glass they buy; as a production control of products (laminated glass, thermal treated glass, etc.); as a quality control by the final customer on the glass they buy.

The corrugation test (Figure 25) is focused on the reflection while another type of tests specialize on the passage of light though the glass (test of distortion). The test is based on the reflection of light off a glass sample sheet from a skew striped plate. The zebra plate is 1 2 m with 25 mm wide black strips at an angle of 45. Glass sheet is laid on a Table 4 m distanced from zebra plate. An observer is distanced additional 4 m from the table. The observer subjectively evaluated the corrugation of reflected light based on a comparison with etalons. The quality of the sheet is classified using a rate dimensionless number from 1.5 to 3.5. The evaluation is carried out off-line in a dark-room. Samples of flat glass are obtained from an on-line production process, and they are cut from the whole width of production glass ribbon. Figure 26 shows good and poor quality of glass sheets during the corrugation test. Using a small angle of observation caused the relatively extreme "distortion".

A measuring system, which consists of both hardware and software, has been developed (Figure 27) according to executed experiments. The system is an important intermediate stage for development of the on-line measurement and its calibration. It is also a suitable solution for processors and customers, without an expensive on-line measurement. The hardware of the system includes the zebra-pate (Figure 27A) and a table for the glass sheet sample (C) as in the standard subjective test. The operator is replaced by a scanning unit (digital camera with power adaptor, B), a control unit (PC, D), a connection between the digital camera and the control unit (E), a ball head (F), a camera support system (placed on a top-wall, G), and a system for gripping the table (H) to keep it in a defined place.

An operator lays a tested glass sheet on the table into the defined place, fills in a form in the Corrugation software and by pressing a button he starts the evaluation. The software initiates the communication with the camera and the image is captured. The image analysis starts after

surface expressed as Compass Dimension grows from 24 to 48 h and then slowly decreases. On the other hand, the average surface complexity of alloy EN X8CrNi25-21 increases significantly from raw state during attack up to 48 h, then falls down, and grows to the maximum after 72 h. After 96 h, slight decrease of DC 1000 was observed. The significant decrease in value of DC 1000 after 48 h is probably related to more uniform a progress of corrosion. For understanding of

It is obvious that dividing curves of alloy Fe-14Al-6Cr after corrosion attack are smoother and less complex. It seems that the corrosion resistance of Fe-14Al-6Cr is higher than steel EN X8CrNi25-21. Austenitic steel showed corrosion protrusions due to probably intergranular corrosion (preferential attack of some phases at grain boundaries). However, this statement

The optical test using a zebra plate is widely used measurements for mass production. The test is one of the many important measurements, and it is used in a wide range of situations: as a production control by manufacturers of float glass; as a quality control by glass processors on the glass they buy; as a production control of products (laminated glass, thermal treated glass,

The corrugation test (Figure 25) is focused on the reflection while another type of tests specialize on the passage of light though the glass (test of distortion). The test is based on the reflection of light off a glass sample sheet from a skew striped plate. The zebra plate is 1 2 m with 25 mm wide black strips at an angle of 45. Glass sheet is laid on a Table 4 m distanced from zebra plate. An observer is distanced additional 4 m from the table. The observer subjectively evaluated the corrugation of reflected light based on a comparison with etalons. The quality of the sheet is classified using a rate dimensionless number from 1.5 to 3.5. The evaluation is carried out off-line in a dark-room. Samples of flat glass are obtained from an on-line production process, and they are cut from the whole width of production glass ribbon. Figure 26 shows good and poor quality of glass sheets during the corrugation test. Using a small angle of

A measuring system, which consists of both hardware and software, has been developed (Figure 27) according to executed experiments. The system is an important intermediate stage for development of the on-line measurement and its calibration. It is also a suitable solution for processors and customers, without an expensive on-line measurement. The hardware of the system includes the zebra-pate (Figure 27A) and a table for the glass sheet sample (C) as in the standard subjective test. The operator is replaced by a scanning unit (digital camera with power adaptor, B), a control unit (PC, D), a connection between the digital camera and the control unit (E), a ball head (F), a camera support system (placed on a top-wall, G), and a

An operator lays a tested glass sheet on the table into the defined place, fills in a form in the Corrugation software and by pressing a button he starts the evaluation. The software initiates the communication with the camera and the image is captured. The image analysis starts after

the steel corrosion mechanism, it is necessary to carry out further analysis.

etc.); as a quality control by the final customer on the glass they buy.

should be supported by structural and phase analysis.

158 Fractal Analysis - Applications in Physics, Engineering and Technology

observation caused the relatively extreme "distortion".

system for gripping the table (H) to keep it in a defined place.

3.2. Example: corrugation test

Figure 25. Scheme of corrugation test, A—zebra-plate, B—observer, C—table with window-glass sheet.

Figure 26. Good and poor quality of glass sheets with a specification of measured parts.

Figure 27. Scheme of measuring system for objective monitoring.

downloading the image from the camera to the computer. In a while, the operator can read the evaluated quality on the PC screen.

The analysis of a scanned image is used for the detection of a glass sheet position, for the necessary rotation and shifting, and for the generation of curves from detected boundaries between the light and dark areas of the sheet in the image. The curves are generated using a thresholding and a detection of contours. They are converted into sequences of points, where the axis X is defined from an ideal reflection, Figure 28. For curve obtaining, two thresholds are

Figure 28. Conversion of the curve to a sequence of points and its evaluation using range R and relative length LR.

used, as two different types of defects on the surface of the bottom part glass sheet can be found: a primary and a secondary corrugation Figure 29. (Different character of the reflected image can be found on heat treated glass and also the top and bottom parts can differ.) The methodology enables to describe both corrugations separately, and it evaluates the impact of the technological production parts to the quality of the production. The obtained curves are then evaluated by software tools: statistic; measuring the curve length; and estimating its FD.

Our research proved that only one parameter does not enable to describe all types of corrugation. We had to collect limited number of adequate parameters that evaluate completely the quality. An extensive analysis was performed to achieve the best conformity between a subjective evaluations and the evaluated quality using computed parameters. We used hundreds of measurements from one experienced operator with his specification of quality in the current scale. The results showed that three parameters (of the separated curves from the contours) are important to reliably assess the quality of flat glass:


downloading the image from the camera to the computer. In a while, the operator can read the

The analysis of a scanned image is used for the detection of a glass sheet position, for the necessary rotation and shifting, and for the generation of curves from detected boundaries between the light and dark areas of the sheet in the image. The curves are generated using a thresholding and a detection of contours. They are converted into sequences of points, where the axis X is defined from an ideal reflection, Figure 28. For curve obtaining, two thresholds are

Figure 28. Conversion of the curve to a sequence of points and its evaluation using range R and relative length LR.

evaluated quality on the PC screen.

Figure 27. Scheme of measuring system for objective monitoring.

160 Fractal Analysis - Applications in Physics, Engineering and Technology

• rate of deformation (using the relative length of the curves, Section 2.4).

All parameters are measured in pixels, and the parameters for one sample are defined as average values of all curves. Six quality parameters (the average values from two thresholds) are obtained and used for the final evaluation of the quality. The six quality parameters for each bottom part of a glass sheet obtained from the corrugation test were recalculated by means of weighted coefficients in accordance with the results obtained previously by subjective methodology. Six coefficients of the obtained parameters were defined using the particularly developed software for finding the smallest possible differences between the evaluated quality by means of the image analysis and with use of subjective monitoring by an experienced operator. An example of computed quality in relation to the quality of subjective assessment is showed in Figure 30.

Described system has been successfully tested for two years on a production line with the accuracy of 0.1–0.3 (in the used scale 1.5–3.5) in the latest version. Final results of over a thousand measurements from a real production process show a very good potential for the on-line application [3, 4, 8, 20]. The on-line corrugation test was implemented and showed

Figure 29. Primary and secondary corrugations of bottom part glass sheet.

Figure 30. Relation between computed quality and the specification of quality by an experienced operator.

good stability of the evaluation methodology. Automatic measurement every few second is one of the many advantages. The system has been tested in a trial run.

## 4. Evaluation of 2D pictures with structure and defects

The explicit, objective, and automatic description of image complexity can be achieved by different methods, both statistical and using the FD. Only a few possibility examples are presented below. The analysis is done by evaluation of 2D images of surface defects—structures of the hole cracks in costume jewellery.

A digital image is represented as a matrix of pixels (or matrices for colour image, Figure 31D). Pixels can achieve different numbers, which depend on the format used for the digital images. The pixels are represented by numbers between 0 (black) and 255 (white) for the grey 8-bit palette bitmap, and the bitmap has only one matrix (brightness scale). Figure 31C shows two typical, poor quality surfaces of costume jewellery fissures. The cutting C-1 represents deep cracks, and C-2 represents a thin structure.

Matlab and HarFa software [7] were used for these experimental evaluations. A methodology for analysis of the pictures was developed based on: histogram evaluation, percentage of black pixels, percentage of large defects, the FD.

In practice, the methodology of surface structure description can be divided to five steps:

• Sample preparation—the costume jewellery is cut, as the structure must be visible, Figure 31A.


#### 4.1. Histogram

An evolution of a bitmap structure is possible by the histogram statistical description, Figure 32. Modus, median, average, range, standard deviation, and other statistic tools can be used easily. However, they are not applicable for surface structure of costume jewellery holes.

A potentially applicable method is the histogram cut off on 5% level. The image is described by a single number. It computes a 90% width of all the histogram pixel values from an average image value. However, this method is highly sensitive to shades that can possibly occur in the hole cracks. This easy method allows describing of all the defects, shades, cracks and structure collectively.

#### 4.2. Thresholding

good stability of the evaluation methodology. Automatic measurement every few second is

Figure 30. Relation between computed quality and the specification of quality by an experienced operator.

The explicit, objective, and automatic description of image complexity can be achieved by different methods, both statistical and using the FD. Only a few possibility examples are presented below. The analysis is done by evaluation of 2D images of surface defects—struc-

A digital image is represented as a matrix of pixels (or matrices for colour image, Figure 31D). Pixels can achieve different numbers, which depend on the format used for the digital images. The pixels are represented by numbers between 0 (black) and 255 (white) for the grey 8-bit palette bitmap, and the bitmap has only one matrix (brightness scale). Figure 31C shows two typical, poor quality surfaces of costume jewellery fissures. The cutting C-1 represents deep

Matlab and HarFa software [7] were used for these experimental evaluations. A methodology for analysis of the pictures was developed based on: histogram evaluation, percentage of black

• Sample preparation—the costume jewellery is cut, as the structure must be visible, Figure 31A.

In practice, the methodology of surface structure description can be divided to five steps:

one of the many advantages. The system has been tested in a trial run.

4. Evaluation of 2D pictures with structure and defects

tures of the hole cracks in costume jewellery.

162 Fractal Analysis - Applications in Physics, Engineering and Technology

cracks, and C-2 represents a thin structure.

pixels, percentage of large defects, the FD.

Following analyses are dealing with thresholding procedure. Thresholding is a technique that transforms grey or colour image into a binary one (black and white). For example, the binary image can be determined from the grey 8-bit palette bitmap, where black are all pixels which fulfil specific criteria, for example, 0 ≤ black ≤ 35 and all the other pixels become white

Figure 31. Preparation of samples, taking photographs, software preparation.

Figure 32. Histogram cut off on 5% level.

(35 < white ≤ 255), Figure 33. It means, that all pixels lesser than or equal to the threshold 35 are black and greater than 35 are white. We used the threshold 35. (More than one threshold can be used or the technique for matrixes of colour images can be used too.)

If the thresholding procedure is used for all thresholds of the grey 8-bit palette image, 256 binary images are obtained. Some of the image analyses can be done for all of obtained binary images. If a single number classifies one binary image, a spectrum of dependence between single number and threshold is given (e.g. Figure 33).

Figure 33. Binary images obtained by thresholding of grey images (8-bit palette bitmap).

## 4.3. Percentage of deep cracks

The method uses binary image obtained by thresholding and computes percentage of pixels with neighbouring pixels of the same value. The analysis searches black pixels (value 0) in a binary image, which have five or more neighbouring black pixels. Figure 34 shows part of boundary crack. Black pixel in Figure 34A has five neighbours, and in Figure 34B has 8. The method is suitable for a detection of relatively large and single cracks and defects that are represented by black pixels with five or more neighbouring pixels.

A spectrum of dependence between percentage of black pixels with five or more neighbouring black pixels of binary images and thresholds is showed in Figure 35A. Thresholds from 10 to 50 are the most suitable for detection of large hole cracks in costume jewellery, Figure 35B. For the threshold 50, the cutting C-1 has more single cracks and defects, numerically: T50 C-1=3.17% than the cutting C-2, numerically: T50 C-2=0.8%.

## 4.4. Box dimension

(35 < white ≤ 255), Figure 33. It means, that all pixels lesser than or equal to the threshold 35 are black and greater than 35 are white. We used the threshold 35. (More than one threshold

If the thresholding procedure is used for all thresholds of the grey 8-bit palette image, 256 binary images are obtained. Some of the image analyses can be done for all of obtained binary images. If a single number classifies one binary image, a spectrum of dependence between

can be used or the technique for matrixes of colour images can be used too.)

Figure 33. Binary images obtained by thresholding of grey images (8-bit palette bitmap).

single number and threshold is given (e.g. Figure 33).

164 Fractal Analysis - Applications in Physics, Engineering and Technology

Figure 32. Histogram cut off on 5% level.

The method again uses binary image obtained by thresholding. The box counting method [5, 7, 9, 10] estimates FD of a structure in an image. This estimation is a single number called the box dimension DB. The box counting method works by laying meshes of different sizes r and then counting numbers of boxes N needed to cover a binary image (Figure 36A) completely (Figure 36B, C). The power law allows us to determine a number of boxes N(r) necessary to cover the structure:


Figure 34. Pixels on boundary crack.

Figure 35. Percentage of black pixels with five or more neighbouring black pixels spectrum.

Figure 36. Box counting method.

$$N(r) = \text{const.} \cdot r^{-D\_{\text{B}}} \tag{12}$$

where DB is the box dimension. A relation between log2r and log2N(r) is known as Richardson-Mandelbrot plot (Figure 36D). The box dimension can be determined by slope s of the regression line in Figure 36D:

$$s = D\_{\mathcal{B}} = -\frac{\Lambda \log \mathcal{N}(r)}{\Lambda \log r} \tag{13}$$

The software HarFa [7] is used for the analysis and software tools developed in Matlab make data evaluation. The box dimension is multiplied by 1000 for a better confrontation.

The fractal spectrum of the cuttings C-1 and C-2 is shown in Figure 37. The box dimensions over threshold 150 are similar, as a shadow influence is significant over this value. Results of analysis for threshold 120 are:DB\_C-1=1429,6 (C-1) a DB\_C-2=1562,4 (C-2), where the higher value represents more complex structure in the image. The cutting C-2 is more structured than the C-1 and box dimension quantifies the structures.

#### 4.5. Example: detection of surface structure

The structures of the hole cracks in costume jewellery were analysed. Methodology of the image analysis, mentioned in the previous chapter, analysis was developed based on: histogram evaluation, percentage of black pixels, percentage of large defects, the FD. Only the last two analyses are suitable for describing these kinds of structures.

The percentage of large defects is suitable for the detection of individual, relatively large cracks and defects, Figure 38.

For this reason, many analyses for the FD estimation can be used. However, the most suitable for these kinds of data and structures is the box counting method (in Figure 39). For research purposes, the dimension was multiplied by 1000.Although an automatic classification of glass

Figure 37. Fractal spectrum.

Figure 36. Box counting method.

Figure 35. Percentage of black pixels with five or more neighbouring black pixels spectrum.

Figure 38. Computation of the percentage of pixels with neighbouring pixels of the same value—percentage of large defects.

Figure 39. Description of glass defects using the box dimension DB 1000 (dimension multiplied by 1000), percentage of large defects and automatic classification.


Figure 38. Computation of the percentage of pixels with neighbouring pixels of the same value—percentage of large

168 Fractal Analysis - Applications in Physics, Engineering and Technology

Figure 39. Description of glass defects using the box dimension DB 1000 (dimension multiplied by 1000), percentage of

defects.

large defects and automatic classification.

Figure 40. Description of glass defects using the box dimension, percentage of large defects and automatic classification.

defects is from the laboratory, presented example shows the possibilities of this method, its sensitivity to the different shapes of glass defects.

#### 4.6. Example: defects classification

Automatic defect classification is another example of the FD application. A classification mark of obtained images can be done automatically and can be used for monitoring and control of production system. Software HarFa [7] was used for these experimental evaluations. The developed methodology was also based on: histogram evaluation, percentage of black pixels, percentage of large defects, the estimating of FD. On the base of our research, the last two analyses were chosen as suitable for describing these kinds of structures, Figure 40.

An automatic classification of glass defects can most easily be realized by using the defined boundaries for the analysis results. The simulated classification is on the right side of Figure 40. Presented example shows possibilities of this method and its sensitivity to the different shapes of glass defects. However, it does not solve problems with on-line obtaining of the images.

## 5. Conclusion

The examples of used methods show possibilities of application in industry and production laboratories. Structured surface, complex time series (topologically one dimensional signals), difficulty to describe dividing curves are much more common than it can be expected. The FD is then important for an objective quantification of complexity and should be use as an additional tool for the overall analysis.

The FD is widely used in science; nevertheless, industrial applications are rather rare. Data analysis using the FD has great potential in combination with statistical and other measurements in industry. However, FD cannot substitute standard analysis tools.

Although the text is focusing to a glass industry, emphasis was put on general application possibilities, where obtained knowledge, methodology and principles for product and industrial data evaluation more widely in industry might be used [11].

## Acknowledgements

The results of this project LO1201 were obtained with co-funding from the Ministry of Education, Youth and Sports as part of the targeted support from the programme entitled "Národní program udržitelnosti I".

## Author details

Vlastimil Hotař

defects is from the laboratory, presented example shows the possibilities of this method, its

Automatic defect classification is another example of the FD application. A classification mark of obtained images can be done automatically and can be used for monitoring and control of production system. Software HarFa [7] was used for these experimental evaluations. The developed methodology was also based on: histogram evaluation, percentage of black pixels, percentage of large defects, the estimating of FD. On the base of our research, the last two analyses were chosen as suitable for describing these kinds of structures,

An automatic classification of glass defects can most easily be realized by using the defined boundaries for the analysis results. The simulated classification is on the right side of Figure 40. Presented example shows possibilities of this method and its sensitivity to the different shapes of glass defects. However, it does not solve problems with on-line obtaining

The examples of used methods show possibilities of application in industry and production laboratories. Structured surface, complex time series (topologically one dimensional signals), difficulty to describe dividing curves are much more common than it can be expected. The FD is then important for an objective quantification of complexity and should be use as an

The FD is widely used in science; nevertheless, industrial applications are rather rare. Data analysis using the FD has great potential in combination with statistical and other measure-

Although the text is focusing to a glass industry, emphasis was put on general application possibilities, where obtained knowledge, methodology and principles for product and indus-

The results of this project LO1201 were obtained with co-funding from the Ministry of Education, Youth and Sports as part of the targeted support from the programme entitled "Národní

ments in industry. However, FD cannot substitute standard analysis tools.

trial data evaluation more widely in industry might be used [11].

sensitivity to the different shapes of glass defects.

170 Fractal Analysis - Applications in Physics, Engineering and Technology

4.6. Example: defects classification

Figure 40.

of the images.

5. Conclusion

additional tool for the overall analysis.

Acknowledgements

program udržitelnosti I".

Address all correspondence to: vlastimil.hotar@tul.cz

Technical University of Liberec, Liberec, Czech Republic

## References

