Files
doc_phd_thesis/022_ErrorResilience/Figures/DFDPMethod.tex
T

98 lines
3.4 KiB
TeX

\usetikzlibrary{calc,trees,positioning,arrows,chains,shapes.geometric,%
decorations.pathreplacing,decorations.pathmorphing,shapes,%
matrix,shapes.symbols,plotmarks,decorations.markings,shadows,backgrounds}
\pgfdeclarelayer{background}
\pgfdeclarelayer{foreground}
\pgfdeclarelayer{L0}
\pgfdeclarelayer{L1}
\pgfdeclarelayer{L2}
\pgfdeclarelayer{L3}
\pgfsetlayers{background,L0,L1,L2,L3,main,foreground}
\newcommand{\scale}{0.29}
\begin{tikzpicture}[scale=\scale,every node/.style={scale=\scale},on grid ]
\tikzstyle{Frame}=[black]
\tikzstyle{TextNode}=[scale=2, text centered, text width=3.3cm]
\tikzstyle{SymbolNode}=[scale=5.2, text centered]
\tikzstyle{line} = [draw, -latex']
\newcommand{\gridsize}{30}
%\draw[help lines] (-\gridsize,-\gridsize) grid ++(\gridsize*2,\gridsize*2);
% Frames Left and names
\draw[Frame] (0,0) rectangle ++(8,6);
\draw[Frame] (14,0) rectangle ++(8,6);
\node[TextNode,scale=1.3] at (6.5,1) {$f^{l}_{t-1}$};
\node[TextNode,scale=1.3] at (6.5+14,1) {$f^{l}_{t}$};
% Objects
\draw[black] (2.5,4) circle (1.4 cm and 1 cm);
\draw[black] (2.5+14+1.4,4-0.7) circle (1.4 cm and 1 cm);
% Temporal change detection
\node[TextNode,rectangle,draw,very thin] (TCD) at (14/2+8/2,-1.5) {Temporal change detection};
\path [line] (8/2,0) |- (TCD.west);
\path [line] (8/2+14,0) |- (TCD.east);
% Temporal changes and objects
\draw[Frame] (14/2,-9.5) rectangle ++(8,6);
\draw[fill=gray,draw=gray] (14/2+2.5,-9.5+4) circle (1.4 cm and 1 cm);
\draw[fill=gray,draw=gray] (14/2+2.5+1.4,-9.5+4-0.7) circle (1.4 cm and 1 cm);
\path[line] (TCD) -- ++(0,-2);
\node[TextNode,text width=5cm] (TCDName) at (22,-5) {Change dectection map from the left view \\ $M^{l}_{t-1 \rightarrow t}$};
\path [line,->,shorten >= 2pt] (17.5,-5.2) -- (14/2+8,-9.5+6/2);
\node[circle,draw,very thin,scale=1.5] (Sum) at (14/2+8/2,-9.5-3.5/2) {DC};
% Right temporal change
\draw[Frame,dashed] (14/2,-19) rectangle ++(8,6);
\draw[draw, densely dashed] (14/2+2.5+2,-19+4) circle (1.4 cm and 1 cm);
\draw[draw, densely dashed,fill=white] (14/2+2.5+1.4+2,-19+4-0.7) circle (1.4 cm and 1 cm);
\path [line] (14/2+8/2,-9.5) -- (Sum);
\path[line] (Sum) -- (14/2+8/2,-10-9+6);
\node[TextNode,text width=2.6cm] (DCLabel) at (19,-10) {Disparity Compensation};
\path [line,->, shorten >=2pt] (DCLabel) -- (Sum);
% Disparity Map estimation and temporal change compensation
\node[TextNode,rectangle,draw,very thin, text width=2.2cm] (Disp) at (3,-9.5-3.5/2) {Disparity map};
\path [line] (Disp) -- (Sum);
\path [line] (3,0) -- (Disp);
\path [line] (3,-26+6) -- (Disp);
\node[TextNode,text width=5cm] (RTCDName) at (22,-15) {Predicted frame difference for thr right view \\ $\Delta f^{r}_{t-1 \rightarrow t}$};
\path [line,->,shorten >= 2pt ] (17.5,-15) -- (14/2+8,-19+6/2);
% Frames Right and names
\draw[Frame] (0,-26) rectangle ++(8,6);
\draw[Frame] (14,-26) rectangle ++(8,6);
\node[TextNode,scale=1.3] at (6.5,1-26) {$f^{r}_{t-1}$};
\node[TextNode,scale=1.3] at (6.5+14,1-26) {$f^{r}_{t}$};
% Right Sum
\node[circle,draw,very thin,scale=2] (Sum) at (14/2+8/2,-26+6/2) {$+$};
\path [line] (8,-26+6/2) -- (Sum);
\path [line] (8/2+14/2,-10-9) -- (Sum);
\path [line] (Sum) -- (14,-26+6/2);
\draw[black] (2.5+2,-26+4) circle (1.4 cm and 1 cm);
\draw[black, densely dashed] (2.5+14+1.4+2,4-0.7-26) circle (1.4 cm and 1 cm);
\draw[draw=white] (-5,-26.5) rectangle ++(14+8+5+5,26.5+6+0.5);
\end{tikzpicture}