1 Introduction

Digital filters (DF) are a very important part of digital signal processing [1]. It refers to signals varying with time (considered further as 1D signals) as well as varying in space (considered further as 2D signals).The mentioned signals usually include errors due to different reasons from which one can mention the imperfection of measuring devices or sensors so the separation of the signal from the errors is necessary. In 1D signals case many different synthesis methods of DFs are developed [2, 3]. Similar methods are used to filter 2D signals represented mainly by digital images [46]. The mentioned techniques base on the classical calculus in the discrete version, where derivatives are replaced by differences and integrals by sums. In 1D, as well as in 2D DF description, the discrete convolution is used.

Successful applications of the fractional calculus [711] in the era of universal digitalization cause the expansion of discrete applications in various fields of science and technology. A substitution of the left fractional-order derivative by a fractional-order backward difference (FOBD) leads to the fractional-order (FO) difference equation (DE) [12]. In the linear time-invariant FODE case one can evaluate the FO discrete transfer function (FODTF). Such FODEs and FODTFs will be used in the 1D and 2D FODFs description.

The main result of the paper is the simplicity of mentioned filters outputs evaluation by Matlab. No specialized toolbox is needed. First, the 1D-FODF is synthetised and applied to filter the measured real signal. The signal filtration effects are shown via their discrete frequency characteristics. Then, it is shown that the 1D-FODF is helpful in FO image filtering. 2D-FODF characterised by multidirectional mask supported by 1D-FODF may be useful in the discrete image filtering. An immense progress in the digital processors calculation abilities proves that one can cross the usually used \(3 \times 3\) and \(5 \times 5\) masks in the pixel convolution evaluation [13]. A supplementary advantage of the paper is the indication that there is an additional possibility to shape the FODF frequency characteristics by releasing integer orders. Supplementary order coeffcients lead to better filtration effects.

The paper is organised as follows. In Sect. 2 fundamental notions related to the FOBD, coefficients function \(a^{(\mu )}(k)\) of one discrete-variable k, FODE and FOTF are given. Section 3 contains a proposal of the 1D-FODF synthesis. Considerations are supported by numerical examples in Sect. 4 where real measured signal filtration effects are presented due to the very simple calculation method. The next section contains a definition of multidirectional mask serving to filter a digital image. The 2D-FODF output for a given image is presented.

2 Mathematical preliminaries

The fundamental notion used in the FOF-1DF description is the FOBD in the so-called Grünvald–Letnikov form [12]. Its definition is given below.

$$\begin{aligned} ^{GL}_{k_0}{\varDelta }^{(\mu )}_kf(k)= & {} \sum ^{k}_{i=k_0}a^{(\mu )} (i-k_0)f(k+k_0-i)\nonumber \\= & {} \sum ^{k-k_0}_{i=0}a^{(\mu )}(i)f(k-i), \end{aligned}$$
(1)

where

$$\begin{aligned} a^{(\mu )}(k) =\left\{ \begin{matrix} 0 &{} \mathrm {for} &{} k<0 \\ 1 &{} \mathrm {for} &{} k=0 \\ (-1)^{k} \frac{(\mu )((\mu )-1)\cdots ((\mu )-k+1)}{k!} &{} \mathrm {for} &{} k=1,2,3,\ldots \end{matrix} \right. \end{aligned}$$
(2)

The left and right subscripts in \(^{GL}_{k_0}{\varDelta }^{(\mu )}_kf(k)\) denote the FOBD evaluation range, respectively. The left and right superscripts stand for the FOBD form (Gr\({\ddot{\mathrm {u}}}\)nwald–Letnikov) and order \((\mu )\), respectively. \((\mu )\) indicates that the FOBD is not raised to the \(\mu \) power. Without loss of generality from this point on one assumes \(k_0=0\). It can be proved [12] that for \(0<(\mu )<2\)

$$\begin{aligned} \lim _{k \rightarrow +\infty }a^{(\mu )}(k)=0 \ \ \mathrm {and} \ \ \sum _{i=0}^{+\infty }a^{(\mu )}(i)=0 \end{aligned}$$
(3)

Assuming \(f(k)=0\) for \(k<0\) and zero initial conditions one can prove that the one-sided \(\mathscr {Z}\)-Transform of the FOBD is as follows

$$\begin{aligned} \mathscr {Z}\left\{ ^{GL}_{k_0}{\varDelta }^{(\mu )}_kf(k)\right\} =\left( 1-z^{-1} \right) ^{\mu }F(z)=\sum ^{+\infty }_{i=0}a^{(\mu )}(i)z^{-i} \nonumber \\ \end{aligned}$$
(4)

where \(\mathscr {Z}\left\{ f(k)\right\} =F(z)\).

The description of linear fractional-order digital 1D and 2D filters considered in this paper bases on the FOBD. One considers the FO commensurate difference equation (FODE) of the form

$$\begin{aligned} \sum ^{p}_{i=0}A_i{^{GL}_{0}\varDelta ^{(i\mu )}_ky(k)}=\sum ^{q}_{j=0}B_j{^{GL}_{0}\varDelta ^{(j\mu )}_ku(k)} \end{aligned}$$
(5)

where \(0<\mu \leqslant 1\)—FO, \(p \geqslant q\), \(A_i,B_j\)-constant coefficients, \(A_p=1\), y(k), u(k)—filter output and filtered signal, respectively. The considered form means that the processed signal sample depends only on present and past samples. No forward shift of samples is admitted. One assumes

$$\begin{aligned} \sum ^{p}_{i=0}A_i=A^{-1} \ne 0. \end{aligned}$$
(6)

FODE (5) can be equivalently expressed in a vector form

$$\begin{aligned}&\sum ^{p}_{i=0}A_i \begin{bmatrix} 1&a^{(i\mu )}(1)&\cdots&a^{(i\mu )}(k)&\end{bmatrix} \begin{bmatrix} y(k) \\ y(k-1) \\ \vdots \\ y(0) \end{bmatrix}\nonumber \\&\quad =\sum ^{q}_{j=0}B_j \begin{bmatrix} 1&a^{(j\mu )}(1)&\cdots&a^{(j\mu )}(k)&\end{bmatrix} \begin{bmatrix} u(k) \\ u(k-1) \\ \vdots \\ u(0) \end{bmatrix} \end{aligned}$$
(7)

from which one immediately gets the solution

$$\begin{aligned} y(k)= & {} A \left\{ -\sum ^{p}_{i=0}A_i \begin{bmatrix} 1&a^{(i\mu )}(1)&\cdots&a^{(i\mu )}(k)&\end{bmatrix} \begin{bmatrix} y(k-1) \\ y(k-2) \\ \vdots \\ y(0) \end{bmatrix} \right. \nonumber \\&+\left. \sum ^{q}_{j=0}B_j \begin{bmatrix} 1&a^{(j\mu )}(1)&\cdots&a^{(j\mu )}(k)&\end{bmatrix} \begin{bmatrix} u(k) \\ u(k-1) \\ \vdots \\ u(0) \end{bmatrix} \right\} . \nonumber \\ \end{aligned}$$
(8)

Applying the one-sided \(\mathcal {Z}\)-Transform with zero initial conditions to both sides of (7) one evaluates the FO discrete transfer function (FODTF)

$$\begin{aligned} G(z)= & {} \frac{Y(z)}{U(z)} =\frac{\sum ^{q}_{i=0}B_i\left( 1-z^{-1}\right) ^{i\nu }}{\sum ^{p}_{i=0}A_i\left( 1-z^{-1}\right) ^{i\nu }}\nonumber \\= & {} \frac{\sum ^{q}_{i=0}B_i\sum ^{+\infty }_{l=0}a^{(i\nu )}(l)z^{-l}}{\sum ^{p}_{i=0}A_i\sum ^{+\infty }_{l=0}a^{(i\nu )}(l)z^{-l}}\nonumber \\= & {} \frac{\sum ^{+\infty }_{i=0}\bar{B}_iz^{-i}}{\sum ^{+\infty }_{i=0}\bar{A}_iz^{-i}} \approx \frac{\sum ^{L}_{i=0}\bar{B}_iz^{-i}}{\sum ^{L}_{i=0}\bar{A}_iz^{-i}} \end{aligned}$$
(9)

where \(\bar{A}_j=\sum ^{p}_{i=0}A_ia^{(i\nu )}\left( p-j\right) \) for \(j=0,1,\cdots ,p\) and \(\bar{B}_j=\sum ^{q}_{i=0}B_ia^{(i\nu )}\left( q-j\right) \) for \(j=0,1,\cdots ,q\). The approximation in (9) represented by the substitution of \(+\infty \) by relatively large number L. This is justified noting that coefficients \(a^{(\nu )}(k)\) strongly diminish for growing k. Performing a long division of numerator and denominator polynomials one gets the form

$$\begin{aligned} G(z)=g(0)+g(1)z^{-1}+g(2)z^{-2}+\cdots \end{aligned}$$
(10)

with \(g(0),g(1),g(2),\ldots \) being the consecutive values of the filter Dirac pulse response.

Fig. 1
figure 1

FODFs connection

Fig. 2
figure 2

Discrete Bode magnitude (left) and phase plots (right)

3 Linear time-invariant digital FOF frequency characteristics

For \(p=1,q=0\) from (9) one gets

$$\begin{aligned} F_{\mu _1}(z)= & {} \frac{Y(z)}{U(z)} =\frac{B_0}{\left( 1-z^{-1}\right) ^{\mu _1}+A_0}\nonumber \\\approx & {} \frac{B_0}{1+A_0+a^{(\mu _1)}(1)z^{-1}+\cdots +a^{(\mu _1)}(L)z^{-L} } \nonumber \\ \end{aligned}$$
(11)

It is worth mentioning that for the above TFs there are related DEs

$$\begin{aligned} ^{GL}_{0}\varDelta ^{(i)}_ky(k)+A_0y(k)=B_0u(k), \ i=1,\mu \end{aligned}$$
(12)

The FOF can be considered as l connected in series simple filters (11)

$$\begin{aligned} F_{\mu _i}(z)= & {} \frac{Y_i(z)}{U_i(z)} =\frac{B_{0,i}}{\left( 1-z^{-1}\right) ^{\mu _i}+A_{0,i}} \\\approx & {} \frac{B_{0,i}}{1+A_{0,i}+a^{(\mu _i)}(1)z^{-1}+\cdots +a^{(\mu _i)}(L)z^{-L_i}} \end{aligned}$$

where \(i=1,2,\ldots ,l\) and \(0<\mu _i \leqslant 1\) resulting in the FOFTF

$$\begin{aligned} F(z)=\frac{Y(z)}{U(z)}=\prod ^{l}_{i=1}F_{\mu _i}(z) =\prod ^{l}_{i=1}\left[ \frac{B_{0,i}}{\left( 1-z^{-1}\right) ^{\mu _i}+A_{0,i}}\right] \nonumber \\ \end{aligned}$$
(13)

A serial connection is depicted in Fig. 1.

Fig. 3
figure 3

Discrete Nyquist (left) and step responses (right) plots

The FODF properties are characterized by the same mathematical tools as the classical integer-order ones. Here, two fundamental ones can be mentioned: the FODF unit step response and the discrete frequency characteristics set [2, 3]. In the following numerical example one presents an example of the FODF characteristics.

Consider the FODFs of the FOs \(i\mu =1.2\) for \(\mu =1.2\) and \(i=1,2,3\) with \(A_0=0.01\) and \(B_0=A_0+\sum ^{L}_{i=0}a^{(\mu )}(i)\). Their fundamental frequency characteristics of the FOFs: the discrete Bode magnitude (left) and phase (right) plots are presented in Fig. 2 together with the IOF ones simulated for \(\mu =m=1\), respectively. In Fig. 3 (left) appropriate Nyquist plots are presented.

The considered FODFs characteristics relations with the colors of plots are indicated in the Table 1 given below.

The selected FO Nyquist and related Bode plots reveal growing maximum of amplitudes due to the order \(i\mu \) for \(i=1,2,3\). One can see that very small extrema in the Bode magnitude plots are no more visible in the Nyquist characteristics. Moreover, this shows a commonly known relation to the unit step responses of the integer order systems.

4 FOF response calculation

The 1D-FODF solution in Matlab is particularly simple. Consider any measured type of a digital signal. It may be voltage, current, position or speed. For its measured values sequence \(u=[u(0) u(1) \cdots u(k_{max})]\) and chosen L one evaluates two polynomials represented by their coefficients

$$\begin{aligned} n1=[b_0], \ \ \ d1=\begin{bmatrix} 1+a_0&a^{(\mu )}(1)&a^{(\mu )}(2)&\cdots&a^{(\mu )}(L) \end{bmatrix} \nonumber \\ \end{aligned}$$
(14)

Then, in the Matlab program, the FODF responses for \(l=1,2,3\) have the form

$$\begin{aligned} y1= & {} filter(n1,d1,u) \nonumber \\ y2= & {} filter(n1,d1,filter(n1,d1,u)) \\ y3= & {} filter(n1,d1,filter(n1,d1,filter(n1,d1,u))) \nonumber \end{aligned}$$
(15)

The three filters unit step responses are plotted in Fig. 3 (right). Very small (almost invisible), but growing maxima (due to growing l) in the Bode magnitude plots in Fig. 2 (left) induce the overshoots in the unit step responses.

Table 1 Relations between indices

Now one presents the filtration effects of the FOFs considered in the previous section. For the discrete signal presented in Fig. 4 one obtains responses presented in Fig. 5. Even better information concerning the filtration effects is given in Figs. 6 and 7 where the Bode magnitude characteristics of the measured signal (left) and the first filter output (right) are plotted, respectively. It can be seen clearly that the filtered signal includes information related to the velocity-position effect. The algorithm is valid for any measured signals, for instance: machanical, electrical, biological [14].

Fig. 4
figure 4

Measured discrete-time signal

Fig. 5
figure 5

FOFs and IOFs 1 (a) and 2, 3 (b) responses

Fig. 6
figure 6

Bode magnitude plot of the measured signal (left) and first filter output (right)

Fig. 7
figure 7

Bode magnitude plot of the second filter output (left) and the third filter output (right)

Fig. 8
figure 8

Discrete circle of radius \(r=1\) (left) \(r=2\) (right)

Fig. 9
figure 9

Discrete circle of radius \(r=4\) (left) and \(r=5\) (right)

Fig. 10
figure 10

The “Small Dog” image (left) and 3D plot (right)

The satisfactory filtration effect is obtained for three FOFs connected in series. The high frequency noise is eliminated. The classical integer-order filters show weaker filtration effects. This is due to the restrictions to the integer orders only.

5 2D-FOF definition

5.1 2D-FOF directions definition

On a discrete plane (2D discrete space) one defines so-called Bresenham circles [15]. A circle is characterised by center \(c(k_1,k_2)\) and radius r. All discrete points (pixels) containing the continuous circle centered in the middle of \(x(k_1,k_2)\) belong to the discrete circle of radius r. Four discrete circles of consecutive radii \(r=1,\ldots ,5\) are presented in Figs. 8 and 9. Inside the black discrete circles there are white continuous circles of appropriate radii.

The sum of all discrete circles of consecutive radii \(r=1,2,\ldots ,r_{max}\) with the same center \(c(k_1,k_2)\) forms a discrete disc. If the same discrete point is related to two different radii the lower has the priority. Hence, one defines a matrix with elements being the radii (defining the discrete distance from the center). Such an exemplary distance matrix is presented below for \(r_{max}=5\) (on the left). Here, in all distance matrix corners radii \(r=6,7>r_{max}\) appeared. They are extracted by putting \(\infty \). A simplified distance matrix is given in (16) as a right matrix.

$$\begin{aligned} \mathbf {M}\left[ D\left( r_{max}\right) \right]= & {} \left[ \begin{array}{ccccccccccc} 7 &{} 6 &{} 6 &{} 5 &{} 5 &{} 5 &{} 5 &{} 5 &{} 6 &{} 6 &{} 7\\ 6 &{} 5 &{} 5 &{} 4 &{} 4 &{} 4 &{} 4 &{} 4 &{} 5 &{} 5 &{} 6\\ 6 &{} 5 &{} 4 &{} 3 &{} 3 &{} 3 &{} 3 &{} 3 &{} 4 &{} 5 &{} 6\\ 5 &{} 4 &{} 3 &{} 3 &{} 2 &{} 2 &{} 2 &{} 3 &{} 3 &{} 4 &{} 5\\ 5 &{} 4 &{} 3 &{} 2 &{} 1 &{} 1 &{} 1 &{} 2 &{} 3 &{} 4 &{} 5\\ 5 &{} 4 &{} 3 &{} 2 &{} 1 &{} 0 &{} 1 &{} 2 &{} 3 &{} 4 &{} 5\\ 5 &{} 4 &{} 3 &{} 2 &{} 1 &{} 1 &{} 1 &{} 2 &{} 3 &{} 4 &{} 5\\ 5 &{} 4 &{} 3 &{} 3 &{} 2 &{} 2 &{} 2 &{} 3 &{} 3 &{} 4 &{} 5\\ 6 &{} 5 &{} 4 &{} 3 &{} 3 &{} 3 &{} 3 &{} 3 &{} 4 &{} 5 &{} 6\\ 6 &{} 5 &{} 5 &{} 4 &{} 4 &{} 4 &{} 4 &{} 4 &{} 5 &{} 5 &{} 6\\ 7 &{} 6 &{} 6 &{} 5 &{} 5 &{} 5 &{} 5 &{} 5 &{} 6 &{} 6 &{} 7 \end{array}\right] \nonumber \\ \mathbf {M}\left[ D\left( r_{max}\right) \right]= & {} \left[ \begin{array}{ccccccccccc} \infty &{} \infty &{} \infty &{} 5 &{} 5 &{} 5 &{} 5 &{} 5 &{} \infty &{} \infty &{} \infty \\ \infty &{} 5 &{} 5 &{} 4 &{} 4 &{} 4 &{} 4 &{} 4 &{} 5 &{} 5 &{} \infty \\ \infty &{} 5 &{} 4 &{} 3 &{} 3 &{} 3 &{} 3 &{} 3 &{} 4 &{} 5 &{} \infty \\ 5 &{} 4 &{} 3 &{} 3 &{} 2 &{} 2 &{} 2 &{} 3 &{} 3 &{} 4 &{} 5\\ 5 &{} 4 &{} 3 &{} 2 &{} 1 &{} 1 &{} 1 &{} 2 &{} 3 &{} 4 &{} 5\\ 5 &{} 4 &{} 3 &{} 2 &{} 1 &{} 0 &{} 1 &{} 2 &{} 3 &{} 4 &{} 5\\ 5 &{} 4 &{} 3 &{} 2 &{} 1 &{} 1 &{} 1 &{} 2 &{} 3 &{} 4 &{} 5\\ 5 &{} 4 &{} 3 &{} 3 &{} 2 &{} 2 &{} 2 &{} 3 &{} 3 &{} 4 &{} 5\\ \infty &{} 5 &{} 4 &{} 3 &{} 3 &{} 3 &{} 3 &{} 3 &{} 4 &{} 5 &{} \infty \\ \infty &{} 5 &{} 5 &{} 4 &{} 4 &{} 4 &{} 4 &{} 4 &{} 5 &{} 5 &{} \infty \\ \infty &{} \infty &{} \infty &{} 5 &{} 5 &{} 5 &{} 5 &{} 5 &{} \infty &{} \infty &{} \infty \end{array}\right] \end{aligned}$$
(16)

5.2 2D-FOF definition

For a given radius \(r_{max}\) and 1D-FOF Dirac pulse response values \(g(0),g(1),g(2),\cdots , g(r_{max})\) one defines a matrix containing Dirac pulse response values related to the distance from the disk center. The matrix in question, denoted as \(\mathbf {M}\left[ g(r_{max})\right] \) for \(r_{max}=5\) is given below. This matrix is a mask [4, 6]

Now, one assumes that a 2D signal (a discrete image) is represented by a matrix \(\mathbf {U}\) of dimensions \(m \times n\) where \(m,n \gg r_{max}\).

$$\begin{aligned} \mathbf {M}\left[ g(r_{max})\right]= & {} \left\{ m(k_1,k_2)\right\} _{\begin{matrix} k_1=1,2,\cdots ,m \\ k_2=1,2,\cdots ,n \end{matrix}}\nonumber \\= & {} \left[ \begin{array}{ccccccccccc} 0 &{} 0 &{} 0 &{} g(5) &{} g(5) &{} g(5) &{} g(5) &{} g(5) &{} 0 &{} 0 &{} 0 \\ 0 &{} g(5) &{} g(5) &{} g(4) &{} g(4) &{} g(4) &{} g(4) &{} g(4) &{} g(5) &{} g(5) &{} 0\\ 0 &{}g(5) &{} g(4) &{} g(3) &{} g(3) &{} g(3) &{} g(3) &{} g(3) &{} g(4) &{} g(5) &{} 0\\ g(5) &{} g(4) &{} g(3) &{} g(3) &{} g(2) &{} g(2) &{} g(2) &{} g(3) &{} g(3) &{} g(4) &{} g(5)\\ g(5) &{} g(4) &{} g(3) &{} g(2) &{} g(1) &{} g(1) &{} g(1) &{} g(2) &{} g(3) &{} g(4) &{} g(5)\\ g(5) &{} g(4) &{} g(3) &{} g(2) &{} g(1) &{} g(0) &{} g(1) &{} g(2) &{} g(3) &{} g(4) &{} g(5)\\ g(5) &{} g(4) &{} g(3) &{} g(2) &{} g(1) &{} g(1) &{} g(1) &{} g(2) &{} g(3) &{} g(4) &{} g(5)\\ g(5) &{} g(4) &{} g(3) &{} g(3) &{} g(2) &{} g(2) &{} g(2) &{} g(3) &{} g(3) &{} g(4) &{} g(5)\\ 0 &{} g(5) &{} g(4) &{} g(3) &{} g(3) &{} g(3) &{} g(3) &{} g(3) &{} g(4) &{} g(5) &{} 0\\ 0 &{} g(5) &{} g(5) &{} g(4) &{} g(4) &{} g(4) &{} g(4) &{} g(4) &{} g(5) &{} g(5) &{} 0\\ 0 &{} 0 &{} 0 &{} g(5) &{} g(5) &{} g(5)&{} g(5) &{} g(5) &{} 0 &{} 0 &{} 0 \end{array} \right] \end{aligned}$$
(17)

Then the processed discrete point (pixel) is calculated according to the fomula

$$\begin{aligned} y(i,j)=\frac{\sum ^{i+r_{max}}_{k_1=i-r_{max}}\sum ^{j+r_{max}}_{k_2=j-r_{max}}m(k_1,k_2)u(k_1,k_2)}{8r^2_{max}} \nonumber \\ \end{aligned}$$
(18)

Introducing a notation suitable for Matlab [1], \(rmax=r_{max}\), \(mm=\mathbf {M}\left[ g(r_{max})\right] \)

$$\begin{aligned} mu =\begin{bmatrix} u(i-r_{max},j-r_{max})&\cdots&u(i-r_{max},j+r_{max}) \\ \vdots&\vdots \\ u(i+r_{max},j-r_{max})&\cdots&u(i+r_{max},j+r_{max}) \end{bmatrix} \nonumber \\ \end{aligned}$$
(19)

formula (20) is calculated in one command

$$\begin{aligned}&y(i,j) \nonumber \\&\quad =ones(1,2*rmax+1)*mm.*mu \nonumber \\&\qquad *\;ones(2*rmax+1,1)/(8*rmax*rmax) \end{aligned}$$
(20)
Fig. 11
figure 11

The “Small Dog” filtered image (left) and 3D plot (right)

Fig. 12
figure 12

The “Small Dog” filtered by Matlab gaussian filter image (left) and related 3D plot (right)

Fig. 13
figure 13

The “Small Dog” filtered by Matlab “unsharp” filter image (left) and related 3D plot (right)

A particularly simple filtration effect calculation is obtained for (6) with \(p=1,q=0\), \(A_0=0,B_0=1\) and \(\mu =-\nu \) where \(0<\nu \leqslant 2\)

$$\begin{aligned} \mathbf {M}\left[ D\left( \mathbf {a}^{(-\nu )}(r_{max})\right) \right]= & {} \mathbf {M}\left[ D\left( \mathbf {a}^{(\mu )}(r_{max})\right) \right] \nonumber \\= & {} \left[ \begin{array}{ccccccccccc} 0 &{} 0 &{} 0 &{} a^{(\mu )}(5) &{} a^{(\mu )}(5) &{} a^{(\mu )}(5) &{} a^{(\mu )}(5) &{} a^{(\mu )}(5) &{} 0 &{} 0 &{} 0 \\ 0 &{} a^{(\mu )}(5) &{} a^{(\mu )}(5) &{} a^{(\mu )}(4) &{} a^{(\mu )}(4) &{} a^{(\mu )}(4) &{} a^{(\mu )}(4) &{} a^{(\mu )}(4) &{} a^{(\mu )}(5) &{} a^{(\mu )}(5) &{} 0\\ 0 &{}a^{(\mu )}(5) &{} a^{(\mu )}(4) &{} a^{(\mu )}(3) &{} a^{(\mu )}(3) &{} a^{(\mu )}(3) &{} a^{(\mu )}(3) &{} a^{(\mu )}(3) &{} a^{(\mu )}(4) &{} a^{(\mu )}(5) &{} 0\\ a^{(\mu )}(5) &{} a^{(\mu )}(4) &{} a^{(\mu )}(3) &{} a^{(\mu )}(3) &{} a^{(\mu )}(2) &{} a^{(\mu )}(2) &{} a^{(\mu )}(2) &{} a^{(\mu )}(3) &{} a^{(\mu )}(3) &{} a^{(\mu )}(4) &{} a^{(\mu )}(5)\\ a^{(\mu )}(5) &{} a^{(\mu )}(4) &{} a^{(\mu )}(3) &{} a^{(\mu )}(2) &{} a^{(\mu )}(1) &{} a^{(\mu )}(1) &{} a^{(\mu )}(1) &{} a^{(\mu )}(2) &{} a^{(\mu )}(3) &{} a^{(\mu )}(4) &{} a^{(\mu )}(5)\\ a^{(\mu )}(5) &{} a^{(\mu )}(4) &{} a^{(\mu )}(3) &{} a^{(\mu )}(2) &{} a^{(\mu )}(1) &{} a^{(\mu )}(0) &{} a^{(\mu )}(1) &{} a^{(\mu )}(2) &{} a^{(\mu )}(3) &{} a^{(\mu )}(4) &{} a^{(\mu )}(5)\\ a^{(\mu )}(5) &{} a^{(\mu )}(4) &{} a^{(\mu )}(3) &{} a^{(\mu )}(2) &{} a^{(\mu )}(1) &{} a^{(\mu )}(1) &{} a^{(\mu )}(1) &{} a^{(\mu )}(2) &{} a^{(\mu )}(3) &{} a^{(\mu )}(4) &{} a^{(\mu )}(5)\\ a^{(\mu )}(5) &{} a^{(\mu )}(4) &{} a^{(\mu )}(3) &{} a^{(\mu )}(3) &{} a^{(\mu )}(2) &{} a^{(\mu )}(2) &{} a^{(\mu )}(2) &{} a^{(\mu )}(3) &{} a^{(\mu )}(3) &{} a^{(\mu )}(4) &{} a^{(\mu )}(5)\\ 0 &{} a^{(\mu )}(5) &{} a^{(\mu )}(4) &{} a^{(\mu )}(3) &{} a^{(\mu )}(3) &{} a^{(\mu )}(3)&{} a^{(\mu )}(3) &{} a^{(\mu )}(3) &{} a^{(\mu )}(4) &{} a^{(\mu )}(5) &{} 0\\ 0 &{} a^{(\mu )}(5) &{} a^{(\mu )}(5) &{} a^{(\mu )}(4) &{} a^{(\mu )}(4) &{} a^{(\mu )}(4) &{} a^{(\mu )}(4) &{} a^{(\mu )}(4) &{} a^{(\mu )}(5) &{} a^{(\mu )}(5) &{} 0\\ 0 &{} 0 &{} 0 &{} a^{(\mu )}(5) &{} a^{(\mu )}(5) &{} a^{(\mu )}(5)&{} a^{(\mu )}(5) &{} a^{(\mu )}(5) &{} 0 &{} 0 &{} 0 \end{array} \right] \nonumber \\ \end{aligned}$$
(21)

The image of “The Small Dog” and its 3D plot are presented in  Fig. 10 left and right, respectively. For 1D-FOF (13) with \(\mu =0.5\), \(L=5\), \(A_0=0.5\), \(B_0=0.7\) the filtration effects are given in  Fig. 11 left and right, respectively. The filtered image is clearly blurred. The noise is largely removed.

To compare the 2D-FODF proposed in this paper the effects of the following filtering results are presented. In Fig. 12 the “gaussian” filter application (left) and its 3D plot is given.

In Fig. 13 the “unsharp.m” Matlab function is applied. The results are presented in Fig. 13.

The filtering results are usually subjected to subjective human evaluation, rather than to the objective criteria, but one should emphasise that the FODF parameters are not optimized due to theassumed performance criterion.

6 Conclusions

In classical IOF (15) there are two parameters to select: FO \(\mu \) and the coefficient \(A_0\). The FODF demands an additional parameter to select FO \(0<\nu <1\). The parameter and order selectin can be performed due to ISE criterion. The FODF response calculation is more complicated but such filters offer much greater opportunities to shape the dynamics of the 2D-FOF output. The main competitive advantage of the FOF over the IOF is steeper slope and sharper slump of the magnitude plots.