Your question is a bit unclear. You should provide a complete minimal working example (MWE), because, even with \footnotesize
your table is larger than an ordinary article text width.
If you want all your cell vertically and horizontally aligned, you could use m{...}
column type with a >{\centering\arraybackslash}
before it. I created a new column type M
for convenience.
Don't use center
environment inside a figure
one, use \centering
instead, see here:
Should I use center or centering for figures and tables?
tabularx
is useless if you don't have an X
column in your table definition.
Just to help to improve your question, rather than really answer, I tried to correct your code and I suggest an alternative one with booktabs
and threeparttable
.
\documentclass{article}
\usepackage{array}
\newcolumntype{M}[1]{>{\centering\arraybackslash}m{#1}}
\renewcommand{\arraystretch}{1.2}
\usepackage{booktabs}
\usepackage{threeparttable}
\usepackage{graphicx}
\usepackage{caption}
\begin{document}
\begin{table*}[ht]
\centering\footnotesize
\caption{Some table\label{sometable}}
\begin{tabular}{M{2.1cm}|M{1.4cm}|M{1.4cm}|M{1.4cm}|M{1.4cm}|M{1.4cm}}
\hline
\textbf{Image} & \textbf{Detected} & \textbf{Indirectly Related} & \textbf{Sentences Generated by Model with Indirectly Related} & \textbf{Sentences Generated by Model without Indirectly Related} & \textbf{Standard Model} \\
\includegraphics[width=0.8in]{example-image} & Some text & Some text & Some text & Some text \\
\includegraphics[width=0.5in]{example-image-a} & Another image & with another dimension & Some text & Some text \\
\includegraphics[width=0.7in]{example-image-b} & Another image again & with another dimension & Some text & Some text \\
\hline
\end{tabular}
\end{table*}
\begin{table*}[ht]
\centering\footnotesize
\caption{Some table with attempt at improvement\label{mytable}}
\begin{threeparttable}
\begin{tabular}{M{2.1cm}M{1.4cm}M{1.4cm}M{1.4cm}M{1.4cm}M{1.4cm}}
\toprule
\textbf{Image} & \textbf{Detected} & \textbf{Indirectly Related} & \textbf{With IR}\tnote{a} & \textbf{Without IR}\tnote{b} & \textbf{Standard Model} \\
\midrule
\includegraphics[width=0.8in]{example-image} & Some text & Some text & Some text & Some text \\
\includegraphics[width=0.5in]{example-image-a} & Another image & with another dimension & Some text & Some text \\
\includegraphics[width=0.7in]{example-image-b} & Another image again & with another dimension & Some text & Some text \\
\bottomrule
\end{tabular}
\begin{tablenotes}
\item[a] Sentences Generated by Model \emph{with} Indirectly Related.
\item[b] Sentences Generated by Model \emph{without} Indirectly Related.
\end{tablenotes}
\end{threeparttable}
\end{table*}
\end{document}
With your code, with some corrections:

My suggestion:

\raisebox{-0.5\height}{...}
. In a tabular, usec
for the image andp{...}
for the text.tabularx
if you do specify each column width?