I was wondering if anyone would know how to make something similar to what is attached in the image.
I have the following code but what I am looking for is to be able to transform it into something similar to what I showed in the previous figure.
\documentclass[8pt]{article}
\usepackage{amsmath}
\begin{document}
\begin{equation}\setlength\arraycolsep{0pt}\small% added
\text{Roberts}
=\begin{cases}
G_x = \begin{pmatrix}
1 & 0\\
0 & -1
\end{pmatrix} \\[3ex]
G_y = \begin{pmatrix}
0 & 1\\
-1 & 0
\end{pmatrix}
\end{cases}
\text{Prewitt}
=\begin{cases}
G_x = \begin{pmatrix}
1 & 0 & -1\\
1 & 0 & -1\\
1 & 0 & -1
\end{pmatrix}\\[4ex]
G_y = \begin{pmatrix}
1 & 1 & 1\\
0 & 0 & 0\\
-1 & -1 & -1
\end{pmatrix}
\end{cases}
\
\text{Sobel}
=\begin{cases}
G_x = \begin{pmatrix}
-1 & 0 & -1\\
-2 & 0 & 2\\
-1 & 0 & 1
\end{pmatrix}\\[4ex]
G_y = \begin{pmatrix}
1 & 2 & 1\\
0 & 0 & 0\\
-1 & -2 & -1
\end{pmatrix}
\end{cases}
\label{eq:2}
\end{equation}
\end{document}