\begin{tikzpicture}[]

    \pgfmathsetmacro{\pointnumber}{0};
    \pgfmathsetmacro{\pointnumberoffset}{\pointnumber*3};
    \pgfmathsetmacro{\offsetx}{3};
    \pgfmathsetmacro{\offsety}{-3};
    \pgfmathsetmacro{\meshnumbera}{0};
    \pgfmathsetmacro{\meshnumberb}{1};
    \pgfmathsetmacro{\meshnumberc}{2};
    \pgfmathsetmacro{\meshnumberd}{3};
    \pgfmathsetmacro{\imagewidth}{0.2};
    \pgfmathsetmacro{\leftshift}{-1.6};


    \node[inner sep=0pt] (im) at (0,0) {\includegraphics[width=\imagewidth\textwidth,trim={205 75 260 50},clip]{source/reconstruction_test/gt_\meshnumbera.png}}; 
    \foreach \i in {0,1,2}{
        \pgfmathsetmacro{\ind}{int(12*\meshnumbera+\pointnumberoffset+\i)};
        \node[inner sep=0pt] (im\i) at (\offsetx*\i+\offsetx,0) {\includegraphics[width=\imagewidth\textwidth,trim={205 75 260 50},clip]{source/reconstruction_test/with_gt_\ind.png}}; 
        }
    \node[inner sep=0pt, rotate=90] (text1) at (\leftshift,0) {Mesh 22};


    \node[inner sep=0pt] (im) at (0,\offsety) {\includegraphics[width=\imagewidth\textwidth,trim={210 75 285 60},clip]{source/reconstruction_test/gt_\meshnumberb.png}}; 
    \foreach \i in {0,1,2}{
        \pgfmathsetmacro{\ind}{int(12*\meshnumberb+\pointnumberoffset+\i)};
        \node[inner sep=0pt] (im\i) at (\offsetx*\i+\offsetx,\offsety) {\includegraphics[width=\imagewidth\textwidth,trim={210 75 285 60},clip]{source/reconstruction_test/with_gt_\ind.png}}; 
        }
    \node[inner sep=0pt, rotate=90] (text2) at (\leftshift,\offsety) {Mesh 23};


    \node[inner sep=0pt] (im) at (0,2*\offsety) {\includegraphics[width=\imagewidth\textwidth,trim={210 75 280 140},clip]{source/reconstruction_test/gt_\meshnumberc.png}}; 
    \foreach \i in {0,1,2}{
        \pgfmathsetmacro{\ind}{int(12*\meshnumberc+\pointnumberoffset+\i)};
        \node[inner sep=0pt] (im\i) at (\offsetx*\i+\offsetx,2*\offsety) {\includegraphics[width=\imagewidth\textwidth,trim={210 75 280 140},clip]{source/reconstruction_test/with_gt_\ind.png}}; 
        }
    \node[inner sep=0pt, rotate=90] (text3) at (\leftshift,2*\offsety) {Mesh 42};


    \node[inner sep=0pt] (im) at (0,3*\offsety) {\includegraphics[width=\imagewidth\textwidth,trim={210 100 255 90},clip]{source/reconstruction_test/gt_\meshnumberd.png}}; 
    \foreach \i in {0,1,2}{
        \pgfmathsetmacro{\ind}{int(12*\meshnumberd+\pointnumberoffset+\i)};
        \node[inner sep=0pt] (im\i) at (\offsetx*\i+\offsetx,3*\offsety) {\includegraphics[width=\imagewidth\textwidth,trim={210 100 255 90},clip]{source/reconstruction_test/with_gt_\ind.png}}; 
        }
    \node[inner sep=0pt, rotate=90] (text4) at (\leftshift,3*\offsety) {Mesh 43};


    \node[inner sep=0pt] (im) at (0,2.1) {ground truth}; 
    \node[inner sep=0pt] (im) at (\offsetx,2.1) {$\xi=0$}; 
    \node[inner sep=0pt] (im) at (2*\offsetx,2.1) {$\xi=2$}; 
    \node[inner sep=0pt] (im) at (3*\offsetx,2.1) {$\xi=5$}; 
    
    \node[inner sep=0pt] (im) at (3.5*\offsetx+1.,1.5*\offsety) {\includegraphics[width=0.1\textwidth]{source/reconstruction_test/colorbar5_10mm.png}}; 

\end{tikzpicture}