I want to recreate this figure in latex: https://developer.nvidia.com/discover/convolution I dont quite managed to algin the matrix and the images.
This is how I tried it:
\begin{figure}
\centering
\begin{tabular}{c c c}
\includegraphics[width=0.2\textwidth]{Grundlagen/Bilder/Freature_1.png}
&
$\displaystyle
\begin{bmatrix}
-1 & -1 & -1 \\
-1 & 8 & -1 \\
-1 & -1 & -1 \\
\end{bmatrix}
$
&
\includegraphics[width=0.2\textwidth]{Grundlagen/Bilder/Freature_2.png}
\end{tabular}
\end{figure}
I would appreciate any help.
This is the result: