我正是想创建这个:
我读过有关 zoomboxarray 或 spy 包的信息,但我正在寻找一种简单的方法,就像一个表格解决方案,有这样的方法吗?
我猜在左图周围创建一个矩形并不难,在右图上,有不同的图像,它们的大小与左图相同,但在黄色区域被放大。
\begin{figure}[ht]\centering
\begin{tikzpicture}[zoomboxarray,
zoomboxarray columns=1,
zoomboxarray rows=1,
connect zoomboxes,
zoombox paths/.append style={line width=3pt}
zoombox paths/.append style={ultra thick, red}]
\node [image node] { \includegraphics[width=0.2\textwidth]{fig/noisy.png} };
\zoombox[magnification=2]{0.45,0.67}
\end{tikzpicture}
\caption{Noisy}
\label{fig:noisy}
\end{figure}
\begin{figure}[ht]\centering
\begin{tikzpicture}[zoomboxarray,
zoomboxarray columns=1,
zoomboxarray rows=1,
connect zoomboxes,
zoombox paths/.append style={line width=3pt}
zoombox paths/.append style={ultra thick, red}]
\node [image node] { \includegraphics[width=0.2\textwidth]{fig/bilateral.png} };
\zoombox[magnification=2]{0.45,0.67}
\end{tikzpicture}
\caption{bilateral flilter output}
\label{fig:noisy}
\end{figure}
\begin{figure}[ht]\centering
\begin{tikzpicture}[zoomboxarray,
zoomboxarray columns=1,
zoomboxarray rows=1,
connect zoomboxes,
zoombox paths/.append style={line width=3pt}
zoombox paths/.append style={ultra thick, red}]
\node [image node] { \includegraphics[width=0.2\textwidth]{fig/output.png} };
\zoombox[magnification=2]{0.45,0.67}
\end{tikzpicture}
\caption{Model output}
\label{fig:noisy}
\end{figure}