Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
- code indentation
- doxygen doc improvements
- alphabetical order in vpImageFilter.h
  • Loading branch information
fspindle committed Aug 30, 2023
1 parent 7e495db commit 1ac0aae
Show file tree
Hide file tree
Showing 3 changed files with 219 additions and 273 deletions.
18 changes: 7 additions & 11 deletions doc/tutorial/image/tutorial-image-filtering.dox
Original file line number Diff line number Diff line change
Expand Up @@ -91,17 +91,13 @@ The resulting image \c C is the following:
To apply a convolution to an image, we first have to define a kernel.
For example, let us consider the 3x3 Sobel kernel defined in \c K.

\f[
{\bf K} = \begin{tabular}{|c|c|c|}
\hline
1 & 0 & -1 \\
\hline
2 & 0 & -2 \\
\hline
1 & 0 & -1 \\
\hline
\end{tabular}
\f]
\f[
{\bf K} = \left[ \begin{matrix}
1 & 0 & -1 \\
2 & 0 & -2 \\
1 & 0 & -1 \\
\end{matrix} \right]
\f]

\snippet tutorial-image-filter.cpp Convolution kernel

Expand Down
Loading

0 comments on commit 1ac0aae

Please sign in to comment.