In signal processing, a polyphase matrix is a matrix whose elements are filter masks. It represents a filter bank as it is used in sub-band coders alias discrete wavelet transforms.[1]
If
\scriptstyleh,g
\scriptstylea0
\scriptstylea1,d1
\begin{align} a1&=(h ⋅ a0)\downarrow2\\ d1&=(g ⋅ a0)\downarrow2 \end{align}
Note, that the dot means polynomial multiplication; i.e., convolution and
\scriptstyle\downarrow
If the above formula is implemented directly, you will compute values that are subsequently flushed by the down-sampling. You can avoid their computation by splitting the filters and the signal into even and odd indexed values before the wavelet transformation:
\begin{align} he&=h\downarrow2&a0,e&=a0\downarrow2\\ ho&=(h\leftarrow1)\downarrow2&a0,o&=(a0\leftarrow1)\downarrow2 \end{align}
The arrows
\scriptstyle\leftarrow
\scriptstyle →
\delta=(...,0,0,\underset{0-thposition
The wavelet transformation reformulated to the split filters is:
\begin{align} a1&=he ⋅ a0,e+ ho ⋅ a0,o → 1\\ d1&=ge ⋅ a0,e+ go ⋅ a0,o → 1 \end{align}
This can be written as matrix-vector-multiplication
\begin{align} P&=\begin{pmatrix} he&ho → 1\\ ge&go → 1 \end{pmatrix}\\ \begin{pmatrix}a1\ d1\end{pmatrix}&=P ⋅ \begin{pmatrix} a0,e\\ a0,o\end{pmatrix} \end{align}
This matrix
\scriptstyleP
Of course, a polyphase matrix can have any size, it need not to have square shape. That is, the principle scales well to any filterbanks, multiwavelets, wavelet transforms based on fractional refinements.
The representation of sub-band coding by the polyphase matrix is more than about write simplification. It allows the adaptation of many results from matrix theory and module theory. The following properties are explained for a
\scriptstyle2 x 2
The case that a polyphase matrix allows reconstruction of a processed signal from the filtered data, is called perfect reconstruction property. Mathematically this is equivalent to invertibility. According to the theorem of invertibility of a matrix over a ring, the polyphase matrix is invertible if and only if the determinant of the polyphase matrix is a Kronecker delta, which is zero everywhere except for one value.
\begin{align} \detP&=he ⋅ go-ho ⋅ ge\\ \existsA A ⋅ P&=I\iff\existsc \existsk \detP=c ⋅ \delta → k \end{align}
By Cramer's rule the inverse of
\scriptstyleP
P-1 ⋅ \detP= \begin{pmatrix} go → 1&-ho → 1\\ -ge&he \end{pmatrix}
\scriptstyleP*
\scriptstyleP
P*=\begin{pmatrix}
* | |
h | |
e |
&
* | |
g | |
e |
\\
* | |
h | |
o |
\leftarrow1&
* | |
g | |
o |
\leftarrow1 \end{pmatrix}
It implies, that the Euclidean norm of the input signals is preserved. That is, the according wavelet transform is an isometry.
\left\|a1\right\|
2 | |
2 |
+\left\|d1\right\|
2 | |
2 |
=\left\|a0\right\|
2 | |
2 |
The orthogonality condition
P ⋅ P*=I
can be written out
\begin{align}
* | |
h | |
e |
⋅ he+
* | |
h | |
o |
⋅ ho&=\delta\\
* | |
g | |
e |
⋅ ge+
* | |
g | |
o |
⋅ go&=\delta\\
* | |
h | |
e |
⋅ ge+
* | |
h | |
o |
⋅ go&=0 \end{align}
For non-orthogonal polyphase matrices the question arises what Euclidean norms the output can assume. This can be bounded by the help of the operator norm.
\forallx \left\|P ⋅ x\right\|2\in\left[\left\|P-1
-1 | |
\right\| | |
2 |
⋅ \|x\|2,\|P\|2 ⋅ \|x\|2\right]
For the
\scriptstyle2 x 2
\scriptstyle\| ⋅ \|F
\scriptstyleZ
\begin{align} p(z)&=
1 | |
2 |
⋅ \left\|Z
2 | |
P(z)\right\| | |
F |
\\ q(z)&=\left|\det[ZP(z)]\right|2\\ \|P\|2&=max\left\{\sqrt{p(z)+\sqrt{p(z)2-q(z)}}:z\inC \land |z|=1\right\}\\ \left\|P-1
-1 | |
\right\| | |
2 |
&=min\left\{\sqrt{p(z)-\sqrt{p(z)2-q(z)}}:z\inC \land |z|=1\right\} \end{align}
This is a special case of the
n x n
\begin{align} \left\|P\right\|2 &=\sqrt{max\left\{λmax\left[ZP*(z) ⋅ ZP(z)\right]:z\inC \land |z|=1\right\}}\\ &=max\left\{\left\|ZP(z)\right\|2:z\inC \land |z|=1\right\}\\[3pt] \left\|P-1
-1 | |
\right\| | |
2 |
&=\sqrt{min\left\{λmin\left[ZP*(z) ⋅ ZP(z)\right]:z\inC \land |z|=1\right\}} \end{align}
A signal, where these bounds are assumed can be derived from the eigenvector corresponding to the maximizing and minimizing eigenvalue.
The concept of the polyphase matrix allows matrix decomposition. For instance the decomposition into addition matrices leads to the lifting scheme.[3] However, classical matrix decompositions like LU and QR decomposition cannot be applied immediately, because the filters form a ring with respect to convolution, not a field.