Using multi row and multi column, how can I generate the following table in latex?
What I got so far:
\documentclass{article}
\usepackage{multirow}
\begin{document}
\begin{tabular}{|l|l|l|l|l|l|l|l|l|l|l|l|}\hline
\multirow{1}{*}{Test} & & Image 1 & I2 & I3 & I4 & I5 & I6 & I7 & I8 & I9 & I10 \\ \cline{1-12}
\multirow{2}{*}{1}
& \multirow{1}{*}{A} & x & x & x & x & x & x & x & x & x & x \\ \cline{2-12}
& \multirow{1}{*}{B} & x & x & x & x & x & x & x & x & x & x \\ \cline{1-12}
\multirow{2}{*}{2}
& \multirow{1}{*}{A} & x & x & x & x & x & x & x & x & x & x \\ \cline{2-12}
& \multirow{1}{*}{B} & x & x & x & x & x & x & x & x & x & x \\ \cline{1-12}
\multirow{2}{*}{3}
& \multirow{1}{*}{A} & x & x & x & x & x & x & x & x & x & x \\ \cline{2-12}
& \multirow{1}{*}{B} & x & x & x & x & x & x & x & x & x & x \\ \cline{1-12}
\multirow{2}{*}{4}
& \multirow{1}{*}{A} & x & x & x & x & x & x & x & x & x & x \\ \cline{2-12}
& \multirow{1}{*}{B} & x & x & x & x & x & x & x & x & x & x \\ \cline{1-12}
\multirow{2}{*}{5}
& \multirow{1}{*}{A} & x & x & x & x & x & x & x & x & x & x \\ \cline{2-12}
& \multirow{1}{*}{B} & x & x & x & x & x & x & x & x & x & x \\ \cline{1-12}
\multirow{2}{*}{6}
& \multirow{1}{*}{A} & x & x & x & x & x & x & x & x & x & x \\ \cline{2-12}
& \multirow{1}{*}{B} & x & x & x & x & x & x & x & x & x & x \\ \cline{1-12}
\multirow{2}{*}{7}
& \multirow{1}{*}{A} & x & x & x & x & x & x & x & x & x & x \\ \cline{2-12}
& \multirow{1}{*}{B} & x & x & x & x & x & x & x & x & x & x \\ \cline{1-12}
\end{tabular}
\end{document}