I am trying to include two figures one is of portrait kind (tall) and other landscape (wide) kind. I am using the code as below
\documentclass[11pt]{scrbook}
\begin{document}
\begin{figure}[ht]
\begin{minipage}[h]{0.4\linewidth}
\centering
\includegraphics[height=\linewidth]{honda_asimo.jpg}
\caption{Asimo}
\label{fig:minipage1}
\end{minipage}
\hspace{0.005\textwidth}
\begin{minipage}[h]{0.4\linewidth}
\centering
\includegraphics[height=\linewidth]{BigDog.jpg}
\caption{Big Dog}
\label{fig:minipage2}
\end{minipage}
\end{figure}
\end{document}
I want it to just extend to cover the horizontal space which is available to text above(so excluding margins) and want the captions to be centered under the figures.

