我有以下代码:
\begin{figure*}
\centering
\setlength\tabcolsep{0pt}
\begin{tabular*}{\textwidth}{
@{\extracolsep{\fill}}
>{\footnotesize}{l}
cccccc
}
Input
&\includegraphics[width=40mm,valign=c]{Sections/supplementary/tables_figures_code/images_for_supplementary/input_modelnet_test_e0_b1_s91_t91_RCPna_mitsuba_png_20_70_0_2}
&\includegraphics[width=40mm,valign=c]{Sections/supplementary/tables_figures_code/images_for_supplementary/input_modelnet_test_e0_b0_s54_t54_dcp_mitsuba_png_-30_0_0_2}
&\includegraphics[width=40mm,valign=c]{Sections/supplementary/tables_figures_code/images_for_supplementary/input_faust_test_e0_b0_s67_t67_dcp_mitsuba_png_0_-90_0_2}
&\includegraphics[width=40mm,valign=c]{Sections/supplementary/tables_figures_code/images_for_supplementary/input_faust_test_e0_b0_s90_t90_rpmne_mitsuba_png_-20_0_0_2}
\\ \addlinespace
PRNet
&\includegraphics[width=40mm,valign=c]{Sections/supplementary/tables_figures_code/images_for_supplementary/output_modelnet_test_e0_b1_s91_t91_prnet_mitsuba_png_20_70_0_2}
&\includegraphics[width=40mm,valign=c]{Sections/supplementary/tables_figures_code/images_for_supplementary/output_modelnet_test_e0_b0_s54_t54_prnet_mitsuba_png_-30_0_0_2}
&\includegraphics[width=40mm,valign=c]{Sections/supplementary/tables_figures_code/images_for_supplementary/output_faust_test_e0_b0_s67_t67_prnet_mitsuba_png_0_-90_0_2}
&\includegraphics[width=40mm,valign=c]{Sections/supplementary/tables_figures_code/images_for_supplementary/output_faust_test_e0_b0_s90_t90_prnet_mitsuba_png_-20_0_0_2}
\\ \addlinespace
RPM-net
&\includegraphics[width=40mm,valign=c]{Sections/supplementary/tables_figures_code/images_for_supplementary/output_modelnet_test_e0_b1_s91_t91_rpmne_mitsuba_png_20_70_0_2}
&\includegraphics[width=40mm,valign=c]{Sections/supplementary/tables_figures_code/images_for_supplementary/output_modelnet_test_e0_b0_s54_t54_rpmne_mitsuba_png_-30_0_0_2}
&\includegraphics[width=40mm,valign=c]{Sections/supplementary/tables_figures_code/images_for_supplementary/output_faust_test_e0_b0_s67_t67_rpmne_mitsuba_png_0_-90_0_2}
&\includegraphics[width=40mm,valign=c]{Sections/supplementary/tables_figures_code/images_for_supplementary/output_faust_test_e0_b0_s90_t90_rpmne_mitsuba_png_-20_0_0_2}
\\ \addlinespace
DWC (ours)
&\includegraphics[width=40mm,valign=c]{Sections/supplementary/tables_figures_code/images_for_supplementary/output_modelnet_test_e0_b1_s91_t91_RCPna_mitsuba_png_20_70_0_2}
&\includegraphics[width=40mm,valign=c]{Sections/supplementary/tables_figures_code/images_for_supplementary/output_modelnet_test_e0_b0_s54_t54_RCPna_mitsuba_png_-30_0_0_2}
&\includegraphics[width=40mm,valign=c]{Sections/supplementary/tables_figures_code/images_for_supplementary/output_faust_test_e0_b0_s67_t67_RCPna_mitsuba_png_0_-90_0_2}
&\includegraphics[width=40mm,valign=c]{Sections/supplementary/tables_figures_code/images_for_supplementary/output_faust_test_e0_b0_s90_t90_RCPna_mitsuba_png_-20_0_0_2}
\end{tabular*}
\caption{More results} \label{figure:more results}
\end{figure*}
产生以下输出:
我尝试\includegraphics[width=0.195\textwidth
让每幅图像都适合其“盒子”,但我相信我应该使用不同的东西,因为这需要手动调整每幅图像。
问题是图像的原始尺寸不同,但我希望所有图像都符合完全相同的“边界”,例如,所有图像都将采用取决于50mm x 50mm。此设置width=50mm,height=50mm
会导致图像失真,因为 Latex 会尝试使图像完全一致50X50
。