#### Abstract

This work has been motivated by the urgent need for accurate and complete characterization of patterns consisting of almost periodic arrangements of specific features (trenches, bumps, holes, spikes, and so on) amply used in the industries of nanotechnology, microelectronics, and photonics. The quantitative characterization of such surface structures demands mathematical methods able to reveal both period- and feature-scale aspects. Given that the conventional approaches (Fourier or wavelet transform) are limited to either periodicity or feature-scale characterization, our work contributes with the proposal of a transformation which combines Fourier and wavelet merits to quantify simultaneously the period and feature scale of a periodic or almost periodic surface pattern. The output of our study has been (a) a detailed investigation of the mathematical properties of the proposed period-scale transform (PST) along with its relationship with other well-known transforms, (b) a presentation of some examples of PST of model 1D periodic surfaces to identify its benefits, and (c) first applications of PST in real profiles extracted from experimental polymer surfaces after plasma treatment.

#### 1. Introduction

From the tiny scales of nanotechnology to the much larger feature sizes of geophysics and ocean studies, the morphology of surfaces plays an important role springing from its critical impact on surface properties and functionalities [1]. In order to understand and get control of these properties, it is necessary to find ways and tools to characterize surface morphology in a quantitative and concise way. A big concern in this endeavor is the presence of randomness and its co-existence with order on the arrangement of peaks and valleys on surfaces. Two extreme cases are the fully random surface where no point correlations exist and the fully periodic surface where a fixed surface unit is repeated endlessly along surface with a specific translation vector. More closely to the first case and usually met in nature is the scale-limited fractal (self-affine) surfaces where an anisotropic scale invariance in surface fluctuations prevails at small scales before being overwhelmed by uncorrelated randomness at larger scales. In technology, on the other side, and more specifically in nanotechnology where surface morphology can be controlled at nanometer scale, it is more common to fabricate surfaces either by top-down techniques or self-assembly processes with almost periodic structures consisting of similar humps or holes or trenches arranged in a periodic manner [2]. The same feature of (almost) periodicity is encountered in biological structures with an outstanding example—the surface morphology of moth eyes which has played a principal role in recent biomimetic technology [3]. Also, quite interestingly, recent studies have shown that periodic behaviour can be derived from stochastic mathematical models such as impulsive piecewise fractional functional differential equations or the stochastic Cohen–Grossberg neural networks with delays [4–6].

The most widely used method to detect and characterize periodicity of a surface is the Fourier transform (FT) and the diagram of the square of its amplitude versus frequency called power spectral density (PSD). Indeed, FT and mainly PSD are very sensitive to the presence of periodic repetition of a specific surface feature and display it with a well-defined peak at the frequency of repetition which is the inverse of period. Despite its wide and successful application to the detection and measurement of periodicity, PSD fails at the direct and straightforward extraction of the scale (width) of the repeated feature. This does not mean that PSD peak pattern is not sensitive to feature-scale modifications. These changes may affect the relevant PSD and therefore the number of well-defined peaks, but it is not always possible to get the real scales. For example, one can look at the 1D surfaces (Gaussian pulse trains) of Figures 1(a) and 1(b) both having the same period but repeated features with different scales. The PSDs shown in Figures 1(c) and 1(d) demonstrate the inability to map PSD peak changes to feature-scale values in a direct way despite the apparent effect of feature scale on the number of peaks.

**(a)**

**(b)**

**(c)**

**(d)**

FT provides a very accurate representation of the frequency content of a surface (or more generally of a signal). However, it does not have good localization properties. For instance, high jumps or holes in the surface cannot be read off easily from the Fourier transform. In many applications, this localization is desirable and can be first achieved by considering the *windowed Fourier transform* (WFT) (see [7] or [8]). WFT fixes a scale (the width of the window) and analyzes the surfaces from the point of view of this scale. The wavelet transform (WT) provides a similar description, but in contrast with WFT, the so-called “wavelets” do not have a fixed width but the width is adapted to the frequency. As a result, WT is a significant tool for analyzing short-lived phenomena such as singularities or steep and sudden scale changes. WT has found a plethora of profound applications including (but not limited to) geophysics (analysis of seismic data), engineering, and technology.

For instance, wavelet transform methods have been exploited in conditioning monitoring, that is, the process of monitoring some parameter or condition in machinery in order to detect any significant change that would be evidence for a developing default. This early detection and isolation of developing faults and the prediction of fault propagation allows for preventive maintenance and it can also serve as a countermeasure to the possibility of catastrophic incidence as a result of a failure. Furthermore, machinery and technological devices (for example wind turbines) are often subject to unexpected failures due not only to operational but also to environmental reasons. In such cases, prognosis techniques that can forecast the remaining life of machinery assure reliable production and lower maintenance costs. Several techniques have been developed in recent years towards this direction, which are based on WT, artificial intelligence, stochastic methods, and so on (see [9–12]). We also refer to the review [13] which investigates condition monitoring and fault diagnosis using various methods like wavelets and intelligent methods.

In summary, FT can be used to analyze the frequency content of a surface (or signal), but it has no localization properties and it cannot be used to detect the scale of the repeated feature of an almost periodic surface. On the other hand, the wavelet transform can capture the scale changes but cannot detect periodicity directly. Consequently, the need for a transform being capable of detecting and quantifying in a straightforward way in both aspects of periodicity (period and feature scale) is emerging. The aim of this paper is to propose and elaborate such a transform, which we name period-scale transform (PST). Its derivation is based on the periodization of a fundamental function satisfying some decay conditions. Periodization of functions has been studied extensively in analysis (see [14]), but, to the best of our knowledge, has not been used to define a transform.

This paper is organized as follows. In the next section, we define the transform rigorously, while in Section 3 we investigate its fundamental properties. In Section 4, we discuss its relevance to Poisson summation formula. The limit behaviour of the PST and the connection with other transforms (Fourier, wavelet, and Laplace) are the issues discussed in Sections 5 and 6, respectively. First examples of transform applications in selected model and real 1D surfaces are reported in Section 7 and the paper closes with summarizing the main conclusions in Section 8.

#### 2. Definition of the PS Transform

We start with a non-zero function satisfying the decay conditionfor any , where are positive constants. The function will be called the *fundamental function*. Given (scale) and (period) , we generate a periodic function as follows. Firstly, we change the scale of the function , that is, we set . Then, we apply the periodization operation to the function in order to obtain a periodic function with period . In other words, the function is defined as

The decay condition guarantees that the function is well defined. Furthermore, for any , the following inequality holds:

In some cases, the precise values of the constants are not of great importance. Consequently, instead of using (3), we often appeal to the following coarser inequality:or even to the simple fact that, for , the (family of) function(s) is bounded , where denotes some absolute constant (not always the same). Furthermore, we consider the mean value of the function in the interval which will be denoted by . That is,

An easy calculation shows thatwhere interchanging the sum with the integral is justified by the dominated convergence theorem.

The function is the kernel of the period-scale transform which is defined as follows.

*Definition 1. *Let be a function in . The period-scale transform (PS transform or PST in short) of with respect to the fundamental function is defined bySince is bounded, for , the function also belongs to and the above transform is well defined.

Additionally, using the dominated convergence theorem, we can analyze further the defining formula (7) of the PST and we obtain

*Remark 1. *In principle, formula (7) (or, equivalently (8)) makes sense for any and , that is, the PST can be defined on the domain . However, given a function , detecting and characterizing the periodicity and the scale feature of means that the scale is not bigger than the period . Hence, without losing important information for our purposes, the domain of can be restricted to the set .

#### 3. Properties of the PST

##### 3.1. Linearity and Boundedness

It is clear that the PST is linear. That is, for any and any scalar , we have

Furthermore, the PST defines a bounded linear operator

Indeed, since is bounded, formula (7) gives that

##### 3.2. Scaling Properties

Suppose that is a periodic function, for instance . Then, is also a periodic function; however, both the period and the scale have been multiplied with the factor . More generally, it is reasonable to expect that the PST of the function , , is connected with the PST of the original function evaluated at the point . This is true and is given in the next theorem.

Theorem 1. *Let and .*(i)*If , then the following holds:*(ii)*If we set , then*

*Proof. *By the definition of the PST, it follows thatSetting implies thatThe second assertion follows immediately by the first one and the linearity of the PST.

Having dealt with dilation, we now turn our attention to translation. That is, given a function and any , we are interested in finding the PST of the function .

Theorem 2. *Let and . The PST of the translation of is given bywhere .**Observe that the fundamental function in the right-hand side of the above equation depends on . In particular, this implies that the PST is not phase invariant.*

*Proof. *It is not hard to see that the function satisfies a decay condition similar to (1), where the constant depends on . Hence, it can be used as a fundamental function for the PST. Now, for fixed and , we observe thatClearly, we haveand the desired result follows immediately from equation (8).

In the special case , since has period , it follows that translating by brings no change to the PST. That is, we have the next result whose proof is straightforward.

Proposition 1. *For any and , , we have*

##### 3.3. Continuity

The purpose of the present section is to show that the PST of any is a continuous function provided that is continuous. Firstly, we need the following lemma whose proof depends on elementary calculus arguments and it is omitted.

Lemma 1. *Assume that the fundamental function is continuous. Then, the periodization of is continuous with respect to . That is, for any (fixed) and any , , we have*

Using the above lemma, we can prove the main result of this section.

Theorem 3. *Assume that the fundamental function is continuous. Then, for any , the PST of is continuous in .*

*Proof. *Let be fixed. Then, we haveFor , the family of functions is bounded by some absolute constant independent of and . Therefore, the dominated convergence theorem and the previous lemma imply thatand consequently,By equation (8), it follows now that the PST of is a continuous function.

##### 3.4. Other Forms of the PST

The aim of this section is to present some other forms of the PST which will be useful in the sequel. We start with the following proposition whose proof is straightforward.

Proposition 2. *Assume that the function satisfies a decay condition similar to (1). Then, the PST of is given bywhere is the periodization of with period and is the mean value of in the interval .**Recall that for functions , the convolution of and is defined (for almost every ) by**Using convolution of functions, formula (8), which gives the PST, can be rewritten in the following form.*

Proposition 3. *For any function and any , we have**In the case where , we obtain*

##### 3.5. The Calculus of the PST

In this section, we calculate the PST of the derivative of a function , for any positive integer .

Theorem 4. *Let be a fundamental function such that , and let and be a positive integer. We assume that are differentiable up to times and the derivatives satisfy the following:*(i)* belongs to , for any .*(ii)* satisfies a decay condition similar to (1), for any .*

Then, the PST of is given by

*Proof. *By the definition of the PST, we obtainIntegrating by parts times gives that

*Remark 2. *If we are not interested in much generality, we may assume that belong to the Schwartz class of functions. Recall that a function is called a Schwartz function if is infinitely differentiable and for any pair of nonnegative integers and , we haveClearly, if are Schwartz functions, then the conditions of the above theorem are fulfilled.

#### 4. The PST and Discretization: The Poisson Summation Formula

It is well known that periodization and discretization are dual procedures in the following sense: the periodization of a function is completely determined by discrete values of the original function's Fourier transform. And, conversely, the periodization of a function's Fourier transform is determined by discrete values of the original function. This statement becomes accurate with the Poisson summation formula (see [15] Theorem 1.17 or [16] Corollary 2.6 and also [17–19]).

Theorem 5 (Poisson summation formula). * Assume that satisfyfor some . Then, both and are continuous and for all , we haveand in particular .**Applying Poisson’s formula to the function , , and using the simple fact that , we immediately get the following corollary.*

Corollary 1. *If and satisfy the conditions of the previous theorem, then for any and any , we have that**Since the construction of PST is based on the periodization of a fundamental function after changing its scale, it is not surprising that is determined by discrete samples of the Fourier transforms of the original function and the function . More precisely, we prove the following result.*

Theorem 6. *Assume that the fundamental function satisfies the conditions:where are positive constants. Let also be a function such that*

Then, the PST of with respect to can be written in the form:

In particular, if , then we obtain

*Proof. *Firstly, we observe thatwhere denotes a constant (not always the same). Furthermore,Therefore, the assumptions on the functions and show that the convolution product satisfies the condition of Theorem 5 and Poisson’s formula can be applied. Since for any (fixed) the function satisfies similar assumptions to the function , we can also apply Poisson's formula to the product .

Now we recall the form of the PST which exploits the convolution of functions and is given in Proposition 3. Hence, we haveApplying Poisson’s formula to the function gives thatand the result follows.

#### 5. Limit Behaviour

This section is entirely devoted to the study of the behaviour of the PST for the limit values of the scale and the period .

Theorem 7. *For any function and any , the following holds:*

Lemma 2. *For any and any , we have*

*Proof. *Without loss of generality, we may assume that . Then, using the decay condition (1), we can easily obtainand the result follows.

*Proof. *of Theorem 7. By inequality (4), for , the family of functions is bounded by some absolute constant . Therefore, is dominated by the integrable function . The dominated convergence theorem and the previous lemma show now thatClearly,and the proof of the theorem is complete.

Theorem 8. *For any function and any , the following holds:*

Lemma 3. *For any and any , we havewhere*

*Proof. *Since is periodic with period , it suffices to prove the lemma for any . We first consider the case . Then, an easy calculation exploiting the decay condition (1) gives thatHence, it follows that .

We next consider the case where . Since , we may assume, without loss of generality, that . Then, we haveTherefore, and this completes the proof of the lemma.

*Proof. *of Theorem 8. As in the Proof of Theorem 7, the dominated convergence theorem and the previous lemma imply thatSince is zero for almost every , we haveClearly,and the desired result follows.

It remains to investigate the behaviour of the PST when the period tends to zero. This means that the inverse of period, that is, the frequency, tends to infinity. The well-known Riemann–Lebesgue lemma asserts that the FT, , of a function converges to zero, when the frequency . Since the FT can be derived from the PST (see the next section), it is reasonable to expect that the PST of an function converges to as goes to . This is true; however, we have to impose some further restrictions on the functions and .

Theorem 9. *Assume that the fundamental function satisfies the conditions:**Let also be a function such that**For example, may be Schwartz functions. Then, we have that*

*Proof. *By Theorem 6, the PST of is given by discrete samples of the FTs of and , namely:By our assumptions on the FT of , it follows that for any and any :Therefore, the series in (59) converges uniformly for and thusHowever, for , we haveand for ,It follows that

#### 6. Connection with Other Transforms

##### 6.1. Connection with the FT

The connection between the PST and the FT has already become clear by the Poisson summation formula (Theorem 6). The purpose of this section is to show that the FT can be derived as a special case of the PST.

Consider the fundamental function . Then, , for , and it is not hard to see that for any . Furthermore,

Consequently, for any function , we havethat is, the diagonal of PST gives the FT of for the positive frequencies.

In a similar way, we can produce the inverse Fourier transform. Indeed, we take the fundamental function , . Then, for any and,

##### 6.2. Connection with the WT

A wavelet is a function such that . We point out that the term wavelet does not possess a unique definition. However, the above definition is appropriate and for all practical purposes. Given the wavelet and a function , the non-normalized continuous wavelet transform (WT) of with respect to is defined as

Fundamental works on wavelet theory are [7, 8, 20, 21].

If the fundamental function of the PST is a wavelet, then equation (8) becomes

That is, the PST is an infinite sum of wavelet transforms of .

Furthermore, it follows, by Theorem 7, that

Therefore, if we replace the initial function with its translation , then the above observation implies that

*Remark 3. *Summarizing the results of Sections 6.1 and 6.2, we can say that the PST unifies the two well-known and extensively studied transforms: the FT and the WT. Roughly speaking, these two transforms correspond to the two extreme cases of the PST. The case corresponds to the FT, while the case gives the WT.

##### 6.3. Connection with the Laplace Transform

In view of Theorem 7, we observe that the limit values of PST as tends to infinity can produce many other integral transforms, that is, transforms of the form which are defined by a kernel . Take for example the (one-sided) Laplace transform defined by

Using the fundamental function , if and elsewhere, it is not hard to conclude that for any ,

#### 7. The PST of Some Selected Functions

The purpose of the present section is to illustrate the PST to some selected functions and real 1D surfaces.

##### 7.1. The PST of the Characteristic Function of an Interval

We start with the characteristic function of the interval , , which is defined by

Then, for , formula (8) gives that

In order to complete the above calculation, we will use several fundamental functions. Firstly, we consider the function . Then, for , it follows thatwhere for any real number , denotes the integer part of .

Secondly, we consider the fundamental function , for . Then, and for , it follows that

As it was expected, the above formula is close to the FT of which is given by

Finally, we take the fundamental function , for . Then, for , we have

##### 7.2. The PST of the Gaussian

We continue with the Gaussian functionwith mean value and standard deviation . We also take as a fundamental function the Gaussianwith and . Then, the PS transform of the function is given by

##### 7.3. The PST of a Rectangular Pulse Train

Consider the rectangular pulse train function defined by its period and width (duty cycle) shown in Figure 2(a) and described by the following formula:

**(a)**

**(b)**

The PST of this function is calculated by using the kernel of a rectangular pulse train with varied period and feature width (see equation (7)):

The resulting two-dimensional PST is shown in Figure 2(b) for and . One can directly notice the presence of a strong peak at , while less pronounced peaks also appear at the half and double periods, i.e., at and . Similar peaks are expected at higher multiples or lower submultiples of the fundamental period if these periods were included in the diagram of Figure 2(b). The ordinate value of all peaks is at very close to as also shown in the inset diagram where the 1D section of PST at is illustrated. Therefore, this simple example of periodic function reveals that PST is able to quantify both period and feature scale simultaneously.

##### 7.4. The PST of a Gaussian Pulse Train

A little more complicated example of 1D surface is the Gaussian pulse train function comprising Gaussian peaks with fixed width arranged at periodic positions as shown below:

An illustration of such a 1D surface is shown in Figure 3(a) where the width of the repeated Gaussian is while the period .

**(a)**

**(b)**

The PST is calculated using definition (7) with the kernel function consisting of periodically arranged Gaussian peaks with varying period and scale :

Figure 3(b) shows which is dominated by the presence of two peaks at and and , respectively, while PST is almost zero elsewhere. The first peak at corresponds to the period and scale of the input pulse train and the second is the first harmonic at . The inset of Figure 3(b) magnifies the 1D behaviour of PST for versus scale .

The above simple deterministic examples show that (a) PST is a sufficient tool to reveal simultaneously both the period and scale of 1D surfaces and (b) PST is characterized by distinct peaks with asymmetrical structure since they are much steeper along period axis (horizontally) than scale axis (vertically).

One can readily observe the asymmetry in the steepness of the peaks: along period axis they are much steeper than scale axis.

##### 7.5. The PST of an Experimental 1D Surface

In order to get a more realistic example of PST application, we consider a polymer surface treated with oxygen plasma for 1 minute inside a low temperature plasma reactor. The surface topography is measured by an atomic force microscope (AFM) in a grid of points while the total measured area is . The experimental background and measurement details can be found elsewhere [22]. A randomly selected profile of this surface is displayed in Figure 4(a). Its morphology is roughly characterized by the presence of more or less well-defined peaks which are distributed along profile with an apparently random manner. However, the PSD analysis shown in Figure 4(b) reveals the existence of several periodicities manifested by the presence of peaks at specific frequencies. The smooth peak A with the highest frequency at corresponds to the smaller period of which roughly quantifies the mean distance between nearby peaks when all peaks (high and low) are considered. However, the peaks are diversified with respect to their scales (height and width) and the higher ones define new approximate periodicities with larger periods on the background of the fundamental period of . These periods are manifested by the peaks B-E in PSD and reflect periodicities of approximately , , , and , respectively. Therefore, the profile morphology is characterized by multiperiodicity induced by the multiscaling of peak dimensions and especially their heights. However, the multiscale nature of peaks cannot be fully quantified by the PSD analysis since the information about their widths is missing. On the other hand, Figure 4(c) shows the PST of the same profile using as kernel a Gaussian pulse train similar to those used in the Section 7.4. As expected, PST reproduces the periodicities detected by PSD at , , , , and , but at the same time, it proceeds one step further to characterize the scales (i.e., widths) of the peaks involved in each periodicity. Thus, for example, the fundamental period of is created by peaks of average width , while the largest periodic structure with period includes bolder protrusions of width each.

**(a)**

**(b)**

**(c)**

This example certifies the usefulness of PST analysis to disclose at the same diagram both hidden periodicities and feature scales in apparently random morphologies of profiles and surfaces.

#### 8. Summary and Conclusions

Fourier and wavelet transforms play a prominent role in several applications, e.g., signal analysis, surface measurement, etc. FT is the standard tool for analyzing periodic surfaces as it provides us with accurate information about the harmonic components of the analyzed surface. On the other hand, WT can detect irregularities of the surface such as cracks or scratches (see [23] for a discussion of the advantages and disadvantages of the use of FT and WT in the analysis of a geometrical surface structure).

It is noteworthy that several surfaces encountered in nature and technology are almost periodic and they can be viewed as generated by a feature repeated endlessly. Properties of such surfaces depend not only on period or irregularities but also on the width (or scale) of the repeated feature and, in many cases, on the ratio of period and scale. Despite the success of FT and WT in surface characterization, they are not able to quantify straightforwardly the feature scale and ratio.

Taking into account the above considerations, we have proposed and presented the period-scale transform. Its purpose is to detect simultaneously the harmonic components of the analyzed surface as well as the scale of the repeated feature.

The PST is an integral transform, i.e., it is of the formwhere the kernel comes from the periodization with period of a fundamental function , with spatial scale .

The PST defines a bounded linear operator. As far as scaling properties, the transform behaves very well with respect to dilation (Theorem 1) but it is not phase invariant (Theorem 2). Several other properties of the PST have been detailed in this work. Furthermore, we have addressed the limit behaviour of the PST and we have shown that PST bridges the gap between FT and WT in the sense that these two classical transforms can be realized as special cases of PST.

Finally, we have examined the application of PST to model and real 1D surfaces. It was found that PST provides valuable information for both period and feature scale aspects of surface morphology. For example, in the case of the experimental profile, we compared the outputs of PST and FT and explicitly showed the additional information about the scales of repeated surface features provided by PST in excess of FT.

Future work will explore more applications of PST to real surfaces and focus on the relationship with specific surface functionalities (light reflectance, wetting, friction, and so on). Also, more attention will be paid on the phase dependence of PST and its impact on the final result.

#### Data Availability

The data used to support the findings of this study are available from the corresponding author upon request.

#### Conflicts of Interest

The authors declare that they have no conflicts of interest.