I have a table with pictures and want to center them vertically and horizontally in cell. I used \cellspacetoplimit and \cellsapcebottomlimit for that and I'm inserting them with custom command \newcommand\cincludegraphics[2][]{\raisebox{-0.5\height}{\includegraphics[#1]{#2}}} and they're still touching the lines: 
How can I fix that?
Example:
\begin{table}[H]
\centering
\caption{Interpretowane pokrycia terenu}
\label{tab:ndvi}
\begin{tabular}{|c|c|c|c|c|}
\hline
\textbf{Zabudowa} & \textbf{Woda} & \textbf{Las} & \textbf{Gunt orny} &
\textbf{Uprawa trwała} \\ \hline
\cincludegraphics[width=4.5cm]{../screeny/NDVI/NDVI_reklas_bud} &
\cincludegraphics[width=4.5cm]{../screeny/NDVI/NDVI_reklas_woda} &
\cincludegraphics[width=4.5cm]{../screeny/NDVI/NDVI_reklas_las} &
\cincludegraphics[width=4.5cm]{../screeny/NDVI/NDVI_reklas_rola} &
\cincludegraphics[width=4.5cm]{../screeny/NDVI/NDVI_reklas_laki} \\
\hline
\end{tabular}
\end{table}

valign=cas an option to\includegraphics(needs\usepackage[export]{adjustbox}) instead of\raiseboxhelps. However this is just a guess. Please provide a minimal working example (MWE) that shows how you achieved the current output. – leandriis May 14 '20 at 20:49