Skip to content

Commit 178232d

Browse files
committed
small docs changes.
1 parent ae23583 commit 178232d

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

docs/intro_boundary_wavelets.rst

+6-9
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ operations are often written in matrix form. Consequently, we aim to find a matr
1414
the computation of the fast wavelet transform :cite:`strang1996wavelets`:
1515

1616
.. math::
17-
\mathbf{b} = \mathbf{A}\mathbf{x}.
17+
\mathbf{b} = \dots \mathbf{A}\mathbf{x} .
1818
1919
:math:`\mathbf{A}` is a product of multiple scale matrices. The non-zero elements in :math:`\mathbf{A}` are
2020
populated with the coefficients from the selected filter pair.
21-
Given the wavelet filter degree $d$, each filter has $N = 2d$ coefficients.
21+
Given the wavelet filter degree :math:`d`, each filter has :math:`N = 2d` coefficients.
2222
Repeating diagonals compute convolution operations with the so-called analysis filter vector pair
2323
:math:`\mathbf{f}_\mathcal{L}` and :math:`\mathbf{f}_\mathcal{H}`, where the filters are arranged
2424
as vectors in :math:`\mathbb{R}^N`. The subscripts :math:`\mathcal{L}` denote the one-dimensional
@@ -43,10 +43,10 @@ Overall one observes the pattern :cite:`strang1996wavelets`
4343
\end{pmatrix}.
4444
4545
46-
The equation describes the first two FWT-matrices. Instead of the dots, we can imagine additional analysis matrices.
46+
The equation describes the first two FWT-matrices. Instead of the dots, we can imagine additional scale matrices.
4747
The analysis matrix :math:`\mathbf{A}` records all operations by matrix multiplication.
4848
The :py:meth:`ptwt.MatrixWavedec` function provides access to the matrix form of the analysis operation.
49-
Including boundary filter treatment.
49+
Including boundary filter treatment, which we will discuss in an upcoming section.
5050

5151

5252
.. _fig-conv-analysis:
@@ -145,12 +145,9 @@ and specific filters on the boundary.
145145
The disadvantage of zero-padding or periodic extensions is that discontinuities
146146
are artificially created at the border. With symmetrization,
147147
discontinuities of the first derivative arise at the border :cite:`jensen2001ripples`.
148-
For large images, the boundary effects might be negligible.
149-
However, for the employed multi-scale approach of wavelet-packets,
150-
as introduced in the next subsection, the artifacts become too severe.
151-
Furthermore, zero-padding increases the number of coefficients,
148+
Furthermore, padding increases the number of coefficients,
152149
which is sometimes undesirable in neural-network applications.
153-
Therefore, we employ special boundary filters in the form of the
150+
Therefore, we provide code for special boundary filters in the form of the
154151
so-called Gram-Schmidt boundary filters :cite:`jensen2001ripples`.
155152

156153

0 commit comments

Comments
 (0)