1 Introduction

Finding the accurate and efficient representation of images is a fundamental problem in all image processing applications. These include feature extraction, denoising, compression, classification, etc [8]. The efficiency of presentation means the ability to extract the significant information of an image using small description. This requires sparsity, which means a large amount of visual information has to be represented by small transform coefficients. Wavelet filterbanks have proven to be a highly effective tool for such applications. It is desired to have filterbanks with perfect reconstruction (PR), better frequency selectivity and desired vanishing moments (VMs) properties. The construction of lossless compression system is possible if filters satisfy PR property. To avoid the phase distortion, it is necessary to have a filterbanks with linear phase. The VMs lead to smoother basis functions. The design of nonseperable 2-D filterbanks with all aforementioned properties is a challenging task [4].

The one dimensional (1-D) wavelet filterbanks have become popular over the last few years as it provides optimal representation for 1-D piecewise smooth signals [8]. However, this fails to explore geometric regularity which exists in many natural images. For example, natural images have built in geometric structures (line and curved singularities) which are resulted from smooth boundaries of physical objects and act as a key feature in visual information. Moreover, separable 1-D wavelets can capture only limited directional information. The directional information of image is an important feature of any image processing applications. To extract the directional features, we require a 2-D wavelet bases. The conventional 2-D wavelets are constructed by taking tensor product of existing 1-D wavelets, which also fail to explore the curved singularities.

To overcome these issues, many researchers have proposed 2-D nonseparable filterbank design techniques, such as contourlets [8], directional filterbanks [25], translational invariant directional filterbanks (TIDFB) [9] and DVM filterbanks [6]. Some of these approaches do not achieve PR condition. In order to achieve good approximation, crucial property of 1-D wavelets is to have filters with VMs [18, 20]. In 2-D filter representations, the VMs term is redefined as directional vanishing moment (DVM) [6], which plays important role in analyzing the geometric structures of the images. It is known that nonseparable directional filterbanks efficiently handle the orientation and geometric information. The method proposed in [6] imposes DVM in the critically sampled directional filterbanks. Researchers show that directional information plays important role in human visual process which can be efficiently extracted by 2-D directional filterbanks. The 2-D directional filterbank is implemented via l-level tree structured decomposition that leads to \(2^l\) subbands with wedge-shaped frequency partition [8]. The formulation of directional filterbank is based on Quincunx filterbanks with fan-shaped filters. The Quincunx filterbanks can be used to split frequency spectrum of input signal into low-pass and high-pass channels using diamond-shaped filters and into horizontal and vertical channel using fan-shaped filters. Intuitively, the wedge-shaped frequency partition of the directional filterbank is realized by an appropriate combination of directional frequency splitting by the fan-shaped filters and the rotation operations done by resampling. The choice of fan-shaped filters with sharper frequency response and directional sensitivity gives better results in computer vision, seismic signals processing and image compression applications [2, 8, 9].

This paper aims to design 2-D PR filterbanks which have filters with DVM. The filters are designed using 2-D eigenfilter approach (EFA). In this method, DVM and PR constraints are imposed in EFA design formulation to construct 2-D directional filters with DVM. The proposed approach is numerically efficient and linear phase constraints can be easily used in design formulation [27]. Many conventional methods of 2-D filter design have been appeared in [1, 3, 11, 15, 22, 24]. These designs are based on variable transformation and optimization techniques. In commonly used transformation methods, 1-D prototype of filterbank is designed and mapped into 2-D filters through McClellan transformation [22]. The limitation of this approach is that we cannot explicitly control the shape of frequency response of 2-D filters. Moreover, these filters can achieve near PR (not complete PR). Recently, few design methods of 2-D quincunx filterbanks have been appeared in [13, 16, 17, 21, 25]. However, the filters designed by these methods do not consider the DVM property.

In this paper, we propose a method to design 2-D PR quincunx filterbank with DVM. In the proposed approach, 2-D low-pass analysis filters are designed by imposing DVM constraint in the 2-D EFA formulation. The EFA can incorporate both time-domain and frequency-domain constraints easily in the design. Therefore, the designed low-pass analysis filter and DVM constraint are used in 2-D time-domain formulation of PR condition to obtain complementary 2-D low-pass synthesis filter. We consider the fan-shaped filter design which plays an important role in the directional filterbanks. The directional filters designed by proposed eigenfilter method satisfy DVM property. This improves the regularity of proposed 2-D filters. The proposed filters satisfy PR criteria and have comparable performance to existing 2-D filters.

Fig. 1
figure 1

2-D two-channel filterbank structure

2 Preliminaries

The two-channel 2-D quincunx filterbank structure is shown in Fig. 1. Here, we use 2-D quincunx sampling which has the down-sampling ratio of 2, i.e., \(det(D)=2\). The set of filters \(H_0(z_1,z_2)\) and \(H_1(z_1,z_2)\) represent the analysis of low-pass and high-pass filters, respectively. Similarly, the set of filters \(F_0(z_1,z_2)\) and \(F_1(z_1,z_2)\) denote synthesis filters. The quincunx sampling is a nonseparable sampling, and it treats different directional information more effectively than conventional methods. The points of quincunx sublattice at \((n_1+n_2=\text {even})\) are kept unchanged, while points at \((n_1+n_2=\text {odd})\) sublattice are set to zero. With these filters, the reconstructed image obtained is the perfect replica of the original image if it satisfies the following conditions

$$\begin{aligned} H_0(z_1,z_2)F_0(z_1,z_2)+H_1(z_1,z_2)F_1(z_1,z_2)=2z_{1}^{-d_1}z_{2}^{-d_2} \end{aligned}$$
(1)

where d represents delay. The alias cancellation condition can be given as

$$\begin{aligned} H_0(-z_1,-z_2)F_0(z_1,z_2)+H_1(-z_1,-z_2)F_1(z_1,z_2)=0. \end{aligned}$$
(2)

By choosing high-pass filters as \( H_1(z_1,z_2)= F_0(-z_1,-z_2)\) and \( F_1(z_1,z_2)=-H_0(-z_1,-z_2)\), alias cancellation condition (2) satisfies. The product filter can be defined as \(P(z_1,z_2)=H_0(z_1,z_2)F_0(z_1,z_2)\) which gives

$$\begin{aligned} P(z_1,z_2)+P(-z_1,-z_2)=2z_{1}^{-d_1}z_{2}^{-d_2} \end{aligned}$$
(3)

Hence, the aim of designing a 2-D directional filterbank is the problem of designing \(P(z_1,z_2)\) by imposing the respective constraints.

3 Proposed Problem Formulation for Design of 2-D Two-Channel PR Filterbank

In this section, we discuss the proposed EFA with DVM constraint. We first discussed the DVM constraint imposed in two dimensions. Then, these constraints are used in proposed EFA design formulation.

3.1 Directional Vanishing Moment constraints

The crucial role of wavelet in analyzing transient signal is because of the VMs or regularity properties of wavelets. The wavelet properties, such as time localization and VMs, give the sparse representation for piecewise polynomial signals. Majority of the earlier wavelet filters like Daubechies wavelet filters, and JPEG2000 filters have been designed by considering VMs as a first criterion. The VMs can be characterized by imposing zeros in low-pass and high-pass filters of given filterbank.

Consider a 2-D FIR filter (\(h_0(n_1,n_2)\)) with quadrantal symmetry, which have 2-D support of \(-N_1< n_1< N_1\), and \(-N_2< n_2< N_2\). The filter response \(H_0(\omega _1,\omega _2)\) of the linear phase filter can be expressed as

$$\begin{aligned} H_0(\omega _1,\omega _2) =\sum _{n_1=0}^{\frac{N_1-1}{2}}\sum _{n_2=0}^{\frac{N_2-1}{2}} \, h(n_1,n_2)\text {cos}(n_1\omega _1)\text {cos}(n_2\omega _2). \end{aligned}$$
(4)

Assume that \(H_0(z)\) is the 1-D low-pass filter of analysis filterbanks. This filter is said k regular if it has k number of zeros at location \(z=-1\) or \(\omega =\pi \) on the unit circle. For 2-D filterbanks, the VMs condition requires the low-pass filter to have \(L{\mathrm{th}}\)-order zero derivatives that mean zeros at \([z_1,z_2]=[-1 ,-1]\) or \([\omega _1,\omega _2]=[\pi , \pi ]\). Therefore, partial derivative of \(H_0({\omega _1,\omega _2})\) is given by

$$\begin{aligned}&\frac{\partial ^{l_0+l_1}H_0}{\partial {\omega _0}^{l_0} \partial {\omega _1}^{l_1}}= {\left\{ \begin{array}{ll} \sum \limits _{n_1=-N_1}^{N_1}\sum \limits _{n_2=-N_2 }^{N_2}\, h_0(n_1,n_2)(n_1)^{l_0}(n_2)^{l_1}\text {cos}(n_1\omega _1)\text {cos}(n_2\omega _2), \\ \qquad \qquad \text {for} \ \ L=even \\ -\sum \limits _{n_1=-N_1}^{N_1}\sum \limits _{n_2=-N_2 }^{N_2}\, h_0(n_1,n_2)(n_1)^{l_0}(n_2)^{l_1}\text {sin}(n_1\omega _1)\text {sin}(n_2\omega _2) \\ \ \ \qquad \qquad \text {otherwise} \end{array}\right. } \end{aligned}$$
(5)

where, \( L=[l_0, l_1]^T\in {\mathbb {Z}}^2 \) (set of integer values). From above equation, it follows that when, \(L\in {\mathbb {Z}}_o\) (i.e., set of odd integer values), the \(L{\mathrm{th}}\)-order partial derivative of \( H_0(\omega _1,\omega _2) \) is automatically zero at \([\omega _1,\omega _2]=[\pi , \pi ]\). If \(L{\mathrm{th}}\) order zeros are imposed at \([z_1, z_2]=[-1, -1] \) on low-pass filter, then the impulse response \(h_0(n_1, n_2)\) must satisfy the condition given by

$$\begin{aligned} \begin{aligned}&\sum _{n_1=-N_1}^{N_1} \sum _{n_2=-N_2 }^{N_2}(n_1)^{l_0}(n_2)^{l_1}(-1)^{n_1}(-1)^{n_2}h_0(n_1,n_2) =0, \\&\ \ \ \text {for} \ \ l_0=0, 1, \ldots 2v_{1}-1 \ \text {and} \ l_1=0, 1, \ldots 2v_2-1 \end{aligned} \end{aligned}$$
(6)

Since \(h_0(n_1,n_2)\) is a zero-phase filter, the above condition is rewritten as,

$$\begin{aligned} \begin{aligned} {\left\{ \begin{array}{ll} h_0(0,0)+2\sum \limits _{0}^{N_1}\sum \limits _{0 }^{N_2}(-1)^{n_1}(-1)^{n_2}h_0(n_1,n_2)=0 \\ [0.1cm] 2\sum \limits _{0}^{N_1}\sum \limits _{0 }^{N_2}(n_1)^{l_0}(n_2)^{l_1}(-1)^{n_1}(-1)^{n_2}h_0(n_1,n_2)=0 \end{array}\right. }\\[0.1cm] \ \text {for} \ l_0=0, 1 ,\ldots 2v_{1}-1 \ \text {and} \ l_1=0, 1,\ldots 2v_2-1 \end{aligned} \end{aligned}$$
(7)

In this design, DVM constraint is formulated in time matrix form as \({{\varvec{\Gamma }} {\hat{\mathbf{b}}}}=0\), where vector \({\hat{\mathbf{b}}}\in \ \mathbb {R}^{\mathrm{(N+1)\times (N+1)}}\) which contains filter coefficients \(h_0(n_1,n_2)\) and \({{\varvec{\Gamma }}} \in \mathbb {R}^{\mathrm{{(L)\times (N+1)}}}\). It is given by

$$\begin{aligned} \begin{aligned} \varvec{\varGamma }_{\varvec{L},\varvec{n}}&= {\left\{ \begin{array}{ll} 1 \ \ \ \ \ \ \ n_1=0,\ \ n_2=0 \\ 2(n_1)^{l_0}(n_2)^{l_1}(-1)^{n_1}(-1)^{n_2}=0 \end{array}\right. }\\&\text {for} \ \ \ l_0=1, \ldots 2v_1-1\ \text {and} \ \ l_1= 1, \ldots 2v_2-1 \end{aligned} \end{aligned}$$
(8)

This matrix is used as a DVM constraint in the EFA problem to design low-pass and high-pass filters. The linear function of error between passband and stopband is minimized subject to DVM constraints in EFA.

3.2 Design of Analysis Low-pass Filter with DVM Using EFA

In this section, the 2-D EFA is proposed to design 2-D analysis low-pass filter with DVM constraint. Consider a 2-D FIR filter given in equation (4). The frequency response of quadrantal symmetric filter can be given as

$$\begin{aligned} H_0({\omega _1,\omega _2})= \sum _{n_1=0}^{N_1-1}\sum _{n_2=0}^{N_2-1}\, a(n_1,n_2)\text {cos}(n_1\omega _1)\text {cos}(n_2\omega _2) \end{aligned}$$
(9)

where \(H_0(\omega _1,\omega _2)\) is a frequency response to be obtained and \(a(n_1,n_2)\) are the coefficients related to filter impulse response \(h_0[n_1,n_2]\) with quadrantal symmetry.

Assume, \(N_1=N_2=N\) and defining column vectors \(\varvec{a}\) and \(\varvec{\hat{c}}( \omega _1, \omega _2)\) as

$$\begin{aligned} \varvec{a}&=\big [a(0,0), a(0,1),\ldots , a(0,N_2)\mid a(1,0),\ldots ,\nonumber \\&\quad a(1,N_2)\mid \ldots \mid a(N_1,0),\ldots , a(N_1,N_2)\big ]^{T} \end{aligned}$$
(10)
$$\begin{aligned} \varvec{\hat{c }}&=\big [1, \text {cos}(\omega _2),\ldots , \text {cos}((N_2-1)\omega _2) \mid \text {cos}(\omega _1),\nonumber \\&\quad \text {cos}(\omega _1).\text {cos}(\omega _2),\ldots ,\text {cos}(\omega _1).\text {cos}((N_2-1)\omega _2) \mid \nonumber \\&\quad \text {cos}((N_1-1)\omega _1, \text {cos}((N_1-1)\omega _1).\text {cos}(\omega _2), \ldots ,\nonumber \\&\quad \text {cos}((N_1-1)\omega _1)\text {cos}((N_2-1)\omega _2)\big ]^{T} \end{aligned}$$
(11)

The frequency response for the filter \(H_0(\omega _1, \omega _2)\) can be written in vector form as

$$\begin{aligned} H_0(\omega _1, \omega _2)=\varvec{a}^{T}.\varvec{\hat{c}}(\omega _1, \omega _2) \end{aligned}$$
(12)

The objective of the eigenfilter method is to minimize the quadratic measure between the passband error function \(\varvec{\xi _p} \) and stopband error function \( \varvec{\xi _s} \) of the filter. This can be formulated as

$$\begin{aligned} \varvec{\xi }= & {} \alpha \varvec{\xi _p} + \beta \varvec{\xi _s} \ \ \text {where} \nonumber \\ \varvec{\xi _p}= & {} \dfrac{1}{(2\pi )^M} \iint \limits _{passband\in {\mathcal {R}}} \big [H_D({\varvec{\omega _{ref}}})-H_0(\omega _1, \omega _2)\big ]^{2}d{\omega _1}d{\omega _2} \nonumber \\ \varvec{\xi _s}= & {} \dfrac{1}{(2\pi )^M}\iint \limits _{stopband\in \mathcal {R}} \big [H_0(\omega _1, \omega _2)\big ]^{2}d{\omega _1}d{\omega _2} . \end{aligned}$$
(13)

where, \(H_D({\omega _1, \omega _2})\) is the ideal frequency response and \(H_0(\omega _1, \omega _2)\) is a frequency response of 2-D filter which is to be obtained. The \(\alpha \), \(\beta \) are the constants and control the approximation of accuracies in the passband and stopband. The main objective is to minimize the error function. This error function can be written as \(\varvec{\xi }= {\varvec{a^TR_1a}}\), where \(\varvec{a}\) denotes the real vector, while \(\varvec{R_1}\) represents real, symmetric and positive definite matrix. Here, the objective is to find the vector \(\mathbf{a}\). The elements of vector \({\varvec{a}}\) correspond to the 2-D filter impulse response \(h_0[n_1,n_2]\).

Thus, the passband and stopband error function can be evaluated as \(\varvec{\xi _p}=\varvec{{a}^{T}R_p{a}}\) and \(\varvec{\xi _s}=\varvec{{a}^{T}R_s{a}}\), with

$$\begin{aligned} \begin{aligned} \varvec{R_p}&=\dfrac{1}{(2\pi )^M} \iint \limits _{passband\in \mathcal {R}} [\varvec{\hat{c}(\omega _{ref})}-\varvec{\hat{c}}(\omega _1, \omega _2)]\times [\varvec{\hat{c}}(\varvec{\omega _{ref})}-\varvec{\hat{c}}(\omega _1, \omega _2)]^{T}{d{\omega _1}d{\omega _2}} \\ \ \text {and}\\ \varvec{R_s}&=\dfrac{1}{(2\pi )^M}\iint \limits _{stopband\in \mathcal {R}} [\varvec{\hat{c}}(\omega _1, \omega _2)][\varvec{\hat{c}}(\omega _1, \omega _2)]^{T}d{\omega _1}d{\omega _2} \end{aligned} \end{aligned}$$

where \(\varvec{\omega _{ref}}\) denotes the reference frequency of passband region. The total error function to be minimized in (13) can be expressed as

$$\begin{aligned} \varvec{\xi }=\alpha \varvec{\xi _p} + \beta \varvec{\xi _s} =\varvec{{a}^{T}R_1{a}}, \ \mathrm {where} \ \varvec{R_1}=\alpha \varvec{R_p}+\beta \varvec{R_s}. \end{aligned}$$
(14)

Here, \(\varvec{R_1}\) represents the real, symmetric and positive definite matrix. Here, the aim is not only to satisfy the objective of minimum error function but also to satisfy the DVM constraints given in Eq. (8). Thus, this design can be casted as constrained optimization problem as:

$$\begin{aligned} \begin{aligned} \underset{\varvec{\varvec{\xi }}}{\mathrm {minimize }} \quad&\varvec{\xi =h^TR_1h} \\ \underset{}{\mathrm{subject to }} \quad&\varvec{\varGamma h=0}\ \ \text {and} \ \ \varvec{h^Th=1} . \end{aligned} \end{aligned}$$
(15)

Using Rayleigh principle [27], eigenvector of \(\varvec{R_1}\) which corresponds to minimum eigenvalue gives minimum \(\varvec{\xi }\). The DVM constraints are imposed in the form of \(\varvec{\varGamma h}=0\) as described by pei et al. in [23]. To solve this constrained optimization problem, we note that \(\varvec{\varGamma h}=0\) if and only if \(\varvec{h}\) spans the null space of \(\varvec{\varGamma }\). Therefore, any such vector which satisfies the constraints can be expressed as \( \varvec{ h} = \varvec{Ub}\), where columns of \(\varvec{U}\) form an orthogonal to basis for null space of the matrix \(\varvec{\varGamma }\). Note that \(\varvec{U}\) is a unitary matrix, i.e., \(\varvec{U^TU=I} \) and \(\varvec{b} \) is any arbitrary vector. With this modification of \(\varvec{h}\), the design problem becomes

$$\begin{aligned} \underset{\varvec{\varvec{\xi }}}{\mathrm {minimize}}\ \ \varvec{\xi =h^TR_1h}=\varvec{b^T U^TR_1 Ub}. \end{aligned}$$
(16)

Therefore, the eigenvector of \(\varvec{ U^T\varvec{R_1} U}\) corresponding to minimum eigenvalue yield minimum passband and stopband error. Singular value decomposition (SVD) is used to find the eigenvalue and eigenvector. The optimal solution \(\varvec{h}\) is equal to \(\varvec{U b} \). The elements of this vector represent the coefficients of analysis low-pass filter with prescribed DVM.

3.3 Design of Synthesis Low-Pass Filter with PR and DVM constraints Using EFA

The coefficient of polynomial \( H_{0}(z_1,z_2) \) is elements of eigenvector of \(\varvec{ U^T\varvec{R_1} U}\) corresponding to minimum eigenvalue. The coefficients of polynomial \( F_{0}(z_1,z_2) \) are obtained using Eq. (3) and the coefficient of polynomial \( P_{0}(z_1,z_2)\). Assume that \(h_0(n_1,n_2)\) and \(f_0(n_1,n_2)\) are the zero-phase filters with 2-D support as

$$\begin{aligned} h_0[n_1,n_2]= & {} \hbox { nonzero for } -P\le n_1,\, n_2\le P\\ f_0[n_1,n_2]= & {} \hbox { nonzero for } -Q\le n_1,\, n_2\le Q. \end{aligned}$$

Note that in time domain, \(p[n_1,n_2]\) is the 2-D convolution of \(h_0[n_1,n_2]\) and \(f_0[n_1,n_2]\) as given below:

$$\begin{aligned} \begin{aligned} p[n_1,n_2]&=\sum _{k_1=-Q}^{Q}\sum _{k_2=-Q}^{Q} f_{0}[k_1,k_2].(h_{0}[n_1-k_1,n_2-k_2])\\&\ \ \ \ \text {for} \ -(P+Q)\le n_1,n_2 \le (P+Q). \end{aligned} \end{aligned}$$
(17)

Since \(f_0[n_1,n_2]\) is zero phase, \(f_0[n_1,n_2]=f_0[-n_1,-n_2]\). For zero-phase filter, \(f_0[n_1,n_2]\) with centro-symmetry has the following number of independent coefficients

$$\begin{aligned} \begin{pmatrix} f_0[0,n_2], 0\le n_2\le Q\\ f_0[n_1,n_2] , 1\le n_1\le Q,\ -Q\le n_2\le Q \end{pmatrix}. \end{aligned}$$
(18)

Therefore, Eq. (17) can be rewritten using independent coefficients of \(f_0[n_1,n_2]\) as follows:

$$\begin{aligned} \begin{aligned}&p[n_1,n_2] =f_{0}[0,0].h_{0}[n_1,n_2]{+}\sum _{k_2=1}^{Q}f_{0}[0,k_2].(h_{0}[n_1,n_2{-}k_2]+h_{0}[n_1,n_2+k_2])\\&+\sum _{k_1=1}^{Q}\sum _{k_2=-Q}^{Q}f_{0}[k_1,k_2]. \times (h_{0}[n_1-k_1,n_2-k_2]+h_{0}[n_1+k_1,n_2+k_2])\\&\ \ \ \text {for} -(P+Q)\le n_1,n_2 \le (P+Q). \end{aligned} \end{aligned}$$
(19)

Note that \(h_0[n_1,n_2]\) and \(f_0[n_1,n_2]\) are zero phase, which follows that \(p_0[n_1,n_2]\) is also zero phase, i.e., \(p_0[n_1,n_2]=p_0[-n_1,-n_2]\). To achieve PR, product filter must satisfy

$$\begin{aligned} \begin{aligned} p[n_1,n_2]&=1 \qquad \text {for} \ \ n_1=n_2=0 \\ p[n_1,n_2]&=0 \qquad \text {otherwise} \ \ \end{aligned} \end{aligned}$$
(20)

This expresses \(p[n_1,n_2]=0\) for all samples on quincunx locations and represented by \(N_L\). Then,

$$\begin{aligned} N_{L}=&\frac{N-1}{2}+\bigg \lfloor \frac{N.(2N+1))}{2}\bigg \rfloor , \ \ \text {when} \ \ N=\text {odd integer}\\ N_{L}=&\frac{N}{2}+\frac{N.(2N+1)}{2}, \ \ \text {when} \ \ N= \text {even integer} \end{aligned}$$

Thus, from (19) and (20), it is noted that we can solve \(N_L+1\) equations for \(2Q^2+2Q+1\) number of unknown variables. This corresponds to independent coefficients of \(f_0[n_1,n_2]\). Similar to analysis filter design, we impose PR and DVM constraints to obtain low-pass synthesis coefficients. The independent coefficients \(f_0[n_1,n_2]\) are arranged in vector \({\mathbf {f}}\). Therefore, Eq. (19) is rewritten as

$$\begin{aligned} \mathbf {Cf=d}, \end{aligned}$$
(21)

where \(\mathbf{C}\) is the matrix of size \((N_L+1) \times (2Q^2+2Q+1)\) and is obtained from Eq. (19). The vector \({\mathbf {f}}\) contains the unknown coefficients of \(f_0[n_1,n_2]\) of size \((2Q^2+2Q+1)\times 1\) and \(\mathbf{d} =[1 \ \ 0\ \ \cdot \cdot \cdot \ \ 0]^{T}\). Equation (21) gives multiple solutions but goal is to find one optimal solution. So, constraints are rewritten as

$$\begin{aligned} {\hat{\mathbf{C}}\mathbf {f}=0 } \ \ \ \text {where } {\hat{\mathbf{C}}}=\mathbf {C}-\frac{\varvec{d. \hat{c}^t}(\omega _{0})}{H_D(\omega _{0})} \end{aligned}$$
(22)

Here, \( \hat{\mathbf{c}}^{\mathbf{t}}(\omega _{\mathbf{0}}) \) matrix and \(H_D(\omega _{0})\) are related to equivalent form of the zero reference frequency condition (refer [27]). Hence, 2-D filter design problem becomes constrained (DVM and PR) optimization problem as

$$\begin{aligned} \begin{aligned} \underset{\varvec{\varvec{\xi }}}{\mathrm{minimize }} \quad&\varvec{\xi =f^TR_2f} \\ \underset{}{\mathrm{subject to }} \quad&\varvec{\varGamma f=0},\ \ \ \ \varvec{\hat{C}f=0} \ \ \text {and} \ \varvec{f^Tf=1}. \end{aligned} \end{aligned}$$
(23)

Here, \(\varvec{R_2}\) represents the real, symmetric and positive definite matrix. To solve this constrained optimization problem, we note that \(\varvec{\varGamma f}=0\) if and only if \(\varvec{f}\) spans the null space of \(\varvec{\varGamma }\). Therefore, any such vector which satisfies the constraints can be expressed as \( \varvec{ f} = \varvec{Ub}\), where columns of \(\varvec{U}\) form an orthogonal to basis for null space of the matrix \(\varvec{\varGamma }\). Note that \(\varvec{U}\) is a unitary matrix, i.e., \(\varvec{U^TU=I} \) and \(\varvec{b}\) is any arbitrary vector. The objective function is minimized with PR (22) and DVM constraints (8).

This can be expressed as \(\mathbf {\varvec{\xi } = b^TU^T R_2Ub}\). The optimal solution \(\mathbf {b}\) of this error function is the eigenvector of the matrix \(\mathbf {U^TR_2U}\). This eigenvector is corresponding to minimum eigenvalue of the matrix \(\mathbf {R_2}\). Finally, the optimal solution \(\mathbf {f} \) is equal to \(\mathbf {Ub}\). The elements of this vector represent the coefficients of synthesis low-pass filter \(f_0[n_1,n_2]\).

Design example: To design 2-D fan-shaped analysis low-pass filter \( h_0(n_1, n_2) \), we consider \( \omega _{p_1} \), \( \omega _{p_2} \) and \( \omega _{s_1} \), \( \omega _{s_2} \) which describe the passband and stopband cut-off frequencies. We consider the low-pass filter size \( N_1 = N_2 = 23 \), \( \omega _{p_1} = \omega _{p_2} = 0.4\pi \), \( \omega _{s_1}=\omega _{s_2} = 0.6\pi \), \( \alpha = \beta = 0.5 \) and \( \omega _{ref} = (0, 0) \). For this \( h_0(n_1, n_2) \), we design corresponding synthesis filter \( f_0(n_1, n_2) \) with \( Q=25 \). The analysis low-pass filter \( h_0(n_1, n_2) \) is quadrantal symmetric and its first quadrant coefficients denoted by \( h_I \) are given in Eq. (24), where, its center value is -0.8158. The frequency response of the proposed 2-D filters is shown in Fig. 2.

$$\begin{aligned} { h_I= \left[ \begin{array}{@{}*{13}{c}@{}} 0 &{} -0.0023 &{} 0 &{} -0.0022 &{} 0 &{} -0.0021 &{} 0 &{} -0.0019 &{} 0 &{}-0.0016 &{} 0 &{} -0.0015 \\ -0.0041 &{} 0 &{} -0.00025 &{} 0 &{} -0.0015 &{} 0 &{} -0.0015 &{} 0 &{}-0.0013 &{} 0 &{} -0.0012 &{} 0\\ 0&{} -0.0069&{} 0&{} 0.0027&{} 0&{} -0.00024&{} 0&{} -0.00057&{}0&{} -0.00053&{} 0&{} -0.00049\\ -0.0043 &{} 0&{} -0.01041 &{} 0&{} 0.0069&{} 0&{} 0.0015 &{} 0&{} 0.00076&{} 0&{} 0.00061 &{} 0\\ 0&{} -0.0057 &{} 0&{} -0.0146 &{} 0&{} 0.0123 &{} 0&{} 0.0039&{} 0&{} 0.0026&{} 0&{} 0.0023 \\ -0.0044&{} 0&{} -0.0072&{} 0&{} -0.0197&{} 0&{} 0.0193&{} 0&{} 0.0071&{} 0&{} 0.0052&{} 0\\ 0&{} -0.0054&{} 0&{} -0.0089&{} 0&{} -0.0262&{} 0&{} 0.0286&{} 0&{} 0.0116&{} 0&{} 0.0096\\ -0.0043&{} 0&{} -0.0065&{} 0&{} -0.0109&{} 0&{} -0.0347&{} 0&{} 0.0417&{} 0&{} 0.01898&{} 0\\ 0&{} -0.0051&{} 0&{} -0.0078&{} 0&{} -0.0136&{}0&{} -0.0472&{} 0&{} 0.0636&{} 0&{} 0.0349 \\ -0.0042&{} 0&{} -0.0061&{} 0&{} -0.0093&{} 0&{} -0.0174&{} 0&{} -0.0683&{} 0&{} 0.1117&{} 0\\ 0&{} -0.0050&{} 0&{} -0.0073&{} 0&{} -0.0115&{} 0&{} -0.0242&{} 0&{} -0.1159&{} 0&{} 0.3449 \\ -0.0041&{} 0&{} -0.0060&{} 0&{} -0.0089&{} 0&{} -0.0153&{} 0&{} -0.03962&{} 0&{} -0.3488&{} \mathbf -0.8158 \end{array} \right] } \end{aligned}$$
(24)
Fig. 2
figure 2

Frequency response of the proposed fan-shaped analysis filters and synthesis filters

4 Experimental Results

To illustrate the effectiveness of the proposed filter with DVM, we have carried out experiments on image denoising application.

4.1 Image Denoising

The performance of the designed filters has been tested in the denoising application. Image denoising is an exemplary issue and has been studied for a long time. However, it remains a challenging and open task. The brief review of recently appeared denoising techniques has been studied in [10]. In general, image denoising techniques are classified as spatial domain and transform domain methods. The aim of spatial domain methods is to remove noise by calculating the gray value of each pixel based on the correlation between pixels/image patches in the original image [14]. Furthermore, spatial domain methods can be divided into two categories, namely spatial domain filtering and variational denoising methods. However, transform domain filtering methods first transform the given noisy image to another domain, and then they apply a denoising procedure on the transformed image according to the different characteristics of the image and its noise. The larger coefficients represent the high-frequency part, i.e., the details or edges of the image and smaller coefficients represents the noise. Initially, transform domain methods were developed from the Fourier transform, but since then, a variety of transform domain methods gradually emerged, such as wavelet domain methods [29], and block-matching and 3-D filtering (BM3D) [7]. Recently, CNN-based methods have been developed rapidly and have performed well in many computer vision tasks [12, 19]. The use of a CNN for image denoising can be tracked back, where a five-layer network was developed. In recent years, many CNN-based denoising methods have been proposed [5, 28].

Fig. 3
figure 3

Denoising scheme using directional filterbank with proposed filters

Fig. 4
figure 4

Denoising results of Barbara image a noisy image \(\sigma =20\)b denoised image with CT c CTSD d TIWT e STICT f TICT g BM3D h Proposed Method

Table 1 SNR and PSNR values of the denoising experiments (values are in dB)

The proposed filters are used in denoising scheme as shown in Fig. 3. The denoising scheme mainly consists of two stages: a Laplacian pyramid (LP) decomposition [8] and directional filterbank (DFB) decomposition. The proposed filters are used in directional decomposition as shown in Fig. 3. Laplacian pyramid decomposes the standard images (e.g., Barbara \( (512\times 512) \)) into approximation information and radial bandpass subbands with different directional information. Then, DFB is applied to each radial bandpass subbands where maximum fine structural details of Barbara image for different directions are extracted efficiently. The DFB in second step can be implemented by using tree structured decomposition. In these experiments, the images are decomposed upto three-level (\( N=3 \)) directional decomposition. The subband images of DFB are decimated by the following subsampling matrices

$$\begin{aligned} \begin{aligned}&Q_{0}= \begin{bmatrix} 1 &{} -1\\ 1&{} 1 \end{bmatrix}\quad Q_{1}= \begin{bmatrix} 1 &{} 1\\ -1&{} 1 \end{bmatrix}\quad R_{0}= \begin{bmatrix} 1 &{} 1\\ 0&{} 1 \end{bmatrix}\\ {}&R_{1}= \begin{bmatrix} 1 &{} -1\\ 0&{} 1 \end{bmatrix}\quad R_{2}= \begin{bmatrix} 1 &{} 0\\ -1&{} 1 \end{bmatrix}\quad R_{3}= \begin{bmatrix} 1 &{} 0\\ 1&{} 1 \end{bmatrix}.\\ \end{aligned} \end{aligned}$$
(25)

Noise generally contained high-frequency component due to which it lies in the high-frequency subbands. Therefore, we threshold the detail subbands to suppress the noise content present in the image and reconstruct the original image. The noise is suppressed using hard thresholding, and it is estimated by using Bayes’ shrinkage rule. We have tested the performance of designed 2-D filters on four standard commonly used images, such as Lena \( (512\times 512) \), Peppers \( (512\times 512) \), Boat \( (512\times 512) \) and Barbara \( (512\times 512)\) [26]. The test images are contaminated first by adding a zero-mean Gaussian white noise with a standard deviation of \( \sigma \). For all the denoising schemes, we assumed that \( \sigma \) is unknown, and we estimated it using the robust median estimator as given in [9]. These noisy images are then used in the denoising scheme. The denoising performance of the proposed filters is compared with the existing well-known methods, such as 1-D wavelets [20], Contourlet transform (CT) [8], ContourletSD [8], TIWT [9], STICT [9], TICT [9] and BM3D [7]. The conventional ‘PKVA’ filters have been used in the CT [8] and TICT [9] methods. In order to obtain an insightful analysis, the qualitative objective measures, such as signal-to-noise ratio (SNR), peak signal-to-noise ratio (PSNR) are measured. PSNR is commonly used to measure the distortion. For an original image X and its reconstructed version Y, the PSNR is defined as

$$\begin{aligned} PSNR=20\log _{10}\bigg (\dfrac{2^P-1}{\sqrt{MSE}}\bigg ) \end{aligned}$$
(26)

where

$$\begin{aligned} MSE=\dfrac{1}{N_0N_1}\sum _{i_0} ^{N_0-1}\sum _{j_0}^{N_1-1}[Y(i_0,j_0)-X(i_0,j_0)]^2, \end{aligned}$$
(27)

and each image has P bits/sample and dimension \( N_0\times N_1 \).

Table 1 depicts the SNR and PSNR values of denoising results obtained for aforementioned standard images. The standard deviation of the input noise is considered between \( \sigma =10 \) to \( \sigma =70 \). From the results, it is observed that the proposed 2-D filters perform better in denoising and results are shown in Fig. 4. For clear illustration, we have compared the intensity profiles at \( 315{\mathrm{th}} \) row of denoised Barbara image by proposed method with the existing methods along with the noisy image as shown in Fig. 5. From the intensity profiles, it is clear that the proposed method gives superior results. The subband energy distributions of Barbara image is calculated at first-level decomposition for proposed filters and existing filters. The energies of first subband are presented in Table 2. It is clear that proposed filters give better energy compaction as compare to existing methods.

Fig. 5
figure 5

Comparison of relative intensity profiles of denoised image with known methods for Barbara \( (512\times 512) \) image

Table 2 Energy distribution of first subband

5 Conclusion

In this paper, the design of two-dimensional quincunx filterbank has been proposed based on 2-D eigenfilter approach with directional vanishing moment. The proposed filters satisfy the PR criteria and have comparable performance with existing 2-D filters. The performance of the proposed filters has been tested in image denoising applications. In order to obtain insightful analysis, the quantitative measures such as SNR and PSNR have been measured and compared with the existing methods. It has been observed that the proposed filters give notable denoising results.