Version 0.1
No files matched your search
@@ -0,0 +1,120 @@
|
||||
%User Variables
|
||||
\usetikzlibrary{calc,trees,positioning,arrows,chains,shapes.geometric}
|
||||
\usetikzlibrary{decorations.pathreplacing,decorations.pathmorphing,shapes}
|
||||
\usetikzlibrary{matrix,shapes.symbols,plotmarks,decorations.markings,shadows}
|
||||
|
||||
\newcommand{\block}{1cm}
|
||||
\newcommand{\scale}{0.7}
|
||||
|
||||
\begin{tikzpicture}[scale=\scale,every node/.style={minimum size=0.6*\scale*\block}, inner sep=0pt,on grid]
|
||||
|
||||
\definecolor{lightgray}{rgb}{0.80,0.80,0.80};
|
||||
\definecolor{darkgray}{rgb}{0.40,0.40,0.40};
|
||||
|
||||
\tikzstyle{arrow}=[draw, <->,shorten <=1pt,shorten >=1pt,>=stealth',thick]
|
||||
\tikzstyle{pel}=[circle, rounded corners ,draw=lightgray!80, fill=lightgray!80, thick, scale=0.5]
|
||||
\tikzstyle{outerpel}=[pel, fill=gray, draw=gray!90, thick]
|
||||
\tikzstyle{innerpel}=[pel, fill=black!90, draw=black!90, thick]
|
||||
|
||||
% Image pixels
|
||||
\foreach \x in {-2,...,9}
|
||||
\foreach \y in {-2,...,9}
|
||||
{
|
||||
\node at (\x+0.5,\y+0.5) [pel]() {};
|
||||
}
|
||||
|
||||
|
||||
% outer boundary
|
||||
\foreach \x in {0,...,7}
|
||||
\foreach \y in {-1,8}
|
||||
{
|
||||
\node at (\x+0.5,\y+0.5) [outerpel](ref_tp) {};
|
||||
}
|
||||
\foreach \x in {-1,8}
|
||||
\foreach \y in {0,...,7}
|
||||
{
|
||||
\node at (\x+0.5,\y+0.5) [outerpel](ref_tp) {};
|
||||
}
|
||||
|
||||
% inner boundary
|
||||
\foreach \x in {0,...,7}
|
||||
\foreach \y in {0,7}
|
||||
{
|
||||
\node at (\x+0.5,\y+0.5) [innerpel](ref_tp) {};
|
||||
}
|
||||
\foreach \x in {0,7}
|
||||
\foreach \y in {1,...,6}
|
||||
{
|
||||
\node at (\x+0.5,\y+0.5) [innerpel](ref_tp) {};
|
||||
}
|
||||
|
||||
|
||||
% \foreach \x in {0,8}
|
||||
% \foreach \y in {1,...,2,4,5,...,7}
|
||||
% {
|
||||
% \node at (\x+0.5,\y+0.5) [pel](ref_lft) {};
|
||||
% }
|
||||
|
||||
|
||||
% Center
|
||||
% \draw[draw=black,thick, opacity=1] (\block,\block) rectangle ++(7*\block,7*\block);
|
||||
\node[anchor=center,scale=\scale, text centered] at (4,4) {Lost Block};
|
||||
|
||||
\draw[draw=black, thick] (0*\block,-1) -- ++(0,10*\block);
|
||||
\draw[draw=black, thick] (8*\block,-1) -- ++(0,10*\block);
|
||||
\draw[draw=black, thick] (-1*\block,0*\block) -- ++(10*\block,0);
|
||||
\draw[draw=black, thick] (-1*\block,8*\block) -- ++(10*\block,0);
|
||||
|
||||
% \draw[draw=black, thick] (8*\block-8+4,-1) -- (8*\block-8+4,10);
|
||||
|
||||
% Lost pixel
|
||||
%\node at (4*\block+\block/2, 3*\block+\block/2) [pel, fill=black, draw=black, thick](lostpel) [label=north east: $lp$] {};
|
||||
|
||||
|
||||
% Reference pixels
|
||||
%\node at (4*\block+\block/2, 8*\block+\block/2) [pel, fill=black, draw=black, thick](ref_tp) [label=north west: $p_1$] {};
|
||||
%\node at (0*\block+\block/2, 3*\block+\block/2) [pel, fill=black, draw=black, thick](ref_lft) [label=north west: $p_2$] {};
|
||||
%\node at (4*\block+\block/2, 0*\block+\block/2) [pel, fill=black, draw=black, thick](ref_bottm) [label=south east: $p_3$] {};
|
||||
%\node at (8*\block+\block/2, 3*\block+\block/2) [pel, fill=black, draw=black, thick](ref_rght) [label=north east: $p_4$] {} ;
|
||||
|
||||
%\path [arrow] (lostpel) -- node[left] { $d_1$} (ref_tp);
|
||||
%\path [arrow] (lostpel) -- node[above] { $d_2$} (ref_lft);
|
||||
%\path [arrow] (lostpel) -- node[left] { $d_3$} (ref_bottm);
|
||||
%\path [arrow] (lostpel) -- node[above] { $d_4$} (ref_rght);
|
||||
|
||||
|
||||
|
||||
\node[anchor=west,scale=\scale] at (-1,10.1) (pixel_label) {Pixel};
|
||||
\node at (-1.6,8.35) (pel) {};
|
||||
\path [-latex,anchor=center] (pixel_label) edge (pel);
|
||||
|
||||
\node[anchor=west,scale=\scale, text centered] at (1,-2.2) (inner_pixel_label) {Internal Boundary};
|
||||
\node at (4-0.4,0.6) (inner_pel) {};
|
||||
\path [-latex,anchor=center] (inner_pixel_label) edge (inner_pel);
|
||||
|
||||
|
||||
|
||||
\node[anchor=west,scale=\scale, text centered] at (4.5,10.2) (outer_pixel_label) {External Boundary};
|
||||
\node at (6-0.5,8.4) (outer_pel) {};
|
||||
\path [-latex,anchor=center] (outer_pixel_label) edge (outer_pel);
|
||||
|
||||
\node[anchor=west,scale=\scale, text centered] at (1.7,9.1) (ref_pixel_label) { \Large $f_{(x,y,t)}$ };
|
||||
\node at (1.4,7.4) (ref_pel) {};
|
||||
\path [-latex,anchor=center] (ref_pixel_label) edge (ref_pel);
|
||||
|
||||
\node[anchor=center,scale=\scale, text centered] at (4,9) (ref_pixel_label) { \Large T };
|
||||
\node[anchor=center,scale=\scale, text centered] at (4,-1) (ref_pixel_label) { \Large B };
|
||||
\node[anchor=center,scale=\scale, text centered] at (-1,4) (ref_pixel_label) { \Large L };
|
||||
\node[anchor=center,scale=\scale, text centered] at (9,4) (ref_pixel_label) { \Large R };
|
||||
|
||||
|
||||
|
||||
%\node[anchor=west,scale=\scale] at (5.8,6.0) (edge_label) {Contour};
|
||||
%\path [-latex] (edge_label.south) edge (7.15,5.2);
|
||||
|
||||
%\node at (6.5,-1.3) (edge_start) {};
|
||||
%\node at (10.3,8.1) (edge_end) {};
|
||||
%\path [-,thick] (edge_start.north) edge[out=80, in=190] (edge_end.west);
|
||||
|
||||
|
||||
\end{tikzpicture}
|
||||
@@ -0,0 +1,129 @@
|
||||
\usetikzlibrary{calc,trees,positioning,arrows,chains,shapes.geometric,%
|
||||
decorations.pathreplacing,decorations.pathmorphing,shapes,%
|
||||
matrix,shapes.symbols,plotmarks,decorations.markings,shadows,backgrounds}
|
||||
|
||||
|
||||
|
||||
\newcommand{\scale}{1}
|
||||
\newcommand{\TikZyslant}{-0.2}
|
||||
\newcommand{\xslant}{0}
|
||||
\newcommand{\xframeshift}{5cm}
|
||||
\newcommand{\yframeshift}{0cm}
|
||||
|
||||
|
||||
\pgfdeclarelayer{background}
|
||||
\pgfdeclarelayer{foreground}
|
||||
\pgfdeclarelayer{L0}
|
||||
\pgfdeclarelayer{L1}
|
||||
\pgfdeclarelayer{L2}
|
||||
\pgfdeclarelayer{L3}
|
||||
\pgfsetlayers{background,L0,L1,L2,L3,main,foreground}
|
||||
|
||||
|
||||
|
||||
|
||||
\begin{tikzpicture}[scale=\scale,every node/.style={minimum size=1cm},on grid ]
|
||||
|
||||
\tikzstyle{pel}=[rectangle,draw=black, thick]
|
||||
\tikzstyle{refblock}=[rectangle,draw=darkgray, thick]
|
||||
\tikzstyle{projectedblock}=[rectangle,draw=black, thick,dashed]
|
||||
\tikzstyle{refmv_linestyle}=[-,very thick]
|
||||
\tikzstyle{refmv}=[refmv_linestyle,decoration={markings,mark=at position 1 with {\arrow[ultra thick,scale=1]{latex}}},
|
||||
postaction={decorate}]
|
||||
|
||||
\tikzstyle{arrow}=[draw, ->,>=stealth',thick,,decoration={markings,mark=at position 1 with {\arrow[ultra thick,scale=1]{stealth}}},
|
||||
postaction={decorate}]
|
||||
|
||||
\tikzstyle{every node}=[font=\large]
|
||||
|
||||
\tikzstyle{frame_contour}=[ultra thick,fill=white,draw=black,fill opacity=.7]
|
||||
|
||||
\newcommand{\DrawFrame}{
|
||||
%outside line
|
||||
\draw[thick,fill=white,draw=black,fill opacity=.7](0,0) rectangle (3,3);
|
||||
\foreach \x in {0,2}
|
||||
\foreach \y in {0,2}
|
||||
\draw[black,loosely dashed] (\x,\y) +(0,0) rectangle ++(1,1);
|
||||
\foreach \x in {1}
|
||||
\foreach \y in {1}
|
||||
\draw[black,loosely dashed] (\x,\y) +(0,0) rectangle ++(1,1);
|
||||
}
|
||||
|
||||
\begin{scope}[ yshift=0, xshift=0]
|
||||
|
||||
% Frame t+1
|
||||
\begin{scope}[ yshift=2*\yframeshift, xshift=2*\xframeshift,
|
||||
style={yslant=\TikZyslant,xslant=\xslant}]
|
||||
|
||||
\coordinate (Bottom_V1) at (2.5,0);
|
||||
|
||||
\DrawFrame %Draw a frame
|
||||
|
||||
\coordinate (RefBlock) at (1,2);
|
||||
\draw[refblock] (RefBlock) rectangle ++(1,-1);
|
||||
\draw[refmv,style={yslant=-\TikZyslant,xslant=-\xslant},fill=red,draw=red] (RefBlock) to ++(-2,0.2);
|
||||
|
||||
\node[scale=0.8] at (-0.7,2.25) { $mv_{t+1}$ };
|
||||
|
||||
\end{scope}
|
||||
|
||||
|
||||
% Frame t-1
|
||||
\begin{scope}[ yshift=0, xshift=0, style={yslant=\TikZyslant,xslant=\xslant}]
|
||||
|
||||
|
||||
\coordinate (TM2B3) at (1-0.8,2-0.8);
|
||||
\coordinate (TM2B4) at (3+0.3,2-0.4);
|
||||
|
||||
% Draw Motion vectors
|
||||
%\draw[refmv] (T0B3) to (TM2B3);
|
||||
|
||||
\DrawFrame; %Draw a frame
|
||||
|
||||
\coordinate (RefBlock) at (1,2);
|
||||
\draw[refblock] (RefBlock) rectangle ++(1,-1);
|
||||
\draw[refmv,style={yslant=-\TikZyslant,xslant=-\xslant},fill=blue,draw=blue] (RefBlock) to ++(-2,-0.4);
|
||||
|
||||
\node[scale=0.8] at (-0.7,1.8) { $mv_{t-1}$ };
|
||||
|
||||
|
||||
\end{scope}
|
||||
|
||||
|
||||
|
||||
|
||||
% Frame t
|
||||
\begin{scope}[ yshift=1*\yframeshift, xshift=1*\xframeshift,
|
||||
style={yslant=\TikZyslant,xslant=\xslant}]
|
||||
|
||||
%Define Points
|
||||
\coordinate (TM1B1) at (1-0.7,4-0.8);
|
||||
\coordinate (TM1B2) at (3-0.6,4-0.5);
|
||||
|
||||
\DrawFrame; %Draw a frame
|
||||
|
||||
\coordinate (RefBlock) at (1,2);
|
||||
\node[scale=0.6] at (1.5,1.5) { LB };
|
||||
|
||||
|
||||
\draw[refblock] (RefBlock) rectangle ++(1,-1);
|
||||
\draw[refmv,style={yslant=-\TikZyslant,xslant=-\xslant},fill=red,draw=red] (RefBlock) to ++(-2,0.2);
|
||||
\node[scale=0.8] at (-0.7,2.25) { $mv_{t+1}$ };
|
||||
\draw[refmv,style={yslant=-\TikZyslant,xslant=-\xslant},fill=blue,draw=blue] (RefBlock) to ++(-2,-0.4);
|
||||
\node[scale=0.8] at (-0.7,0.9) { $mv_{t-1}$ };
|
||||
\end{scope}
|
||||
|
||||
% Frame number
|
||||
\begin{scope}[xshift=1.5cm,yshift=3.2cm]
|
||||
\tikzstyle{frame_label}=[anchor=center,scale=0.9]
|
||||
\node[frame_label] at (0*\xframeshift,\yframeshift*3) { $f_{t-1}$ };
|
||||
\node[frame_label] at (1*\xframeshift,\yframeshift*3) { $f_{t}$ };
|
||||
\node[frame_label] at (2*\xframeshift,\yframeshift*3) { $f_{t+1}$ };
|
||||
\end{scope}
|
||||
|
||||
\end{scope}
|
||||
|
||||
|
||||
|
||||
|
||||
\end{tikzpicture}
|
||||
@@ -0,0 +1,97 @@
|
||||
\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}
|
||||
|
After Width: | Height: | Size: 182 KiB |
|
After Width: | Height: | Size: 187 KiB |
|
After Width: | Height: | Size: 157 KiB |
@@ -0,0 +1,68 @@
|
||||
%User Variables
|
||||
|
||||
\usetikzlibrary{calc,trees,positioning,arrows,chains,shapes.geometric}
|
||||
\usetikzlibrary{decorations.pathreplacing,decorations.pathmorphing,shapes}
|
||||
\usetikzlibrary{matrix,shapes.symbols,plotmarks,decorations.markings,shadows}
|
||||
|
||||
\newcommand{\block}{1cm}
|
||||
\newcommand{\scale}{0.8}
|
||||
|
||||
\begin{tikzpicture}[scale=\scale,every node/.style={minimum size=0.6*\scale*\block}, inner sep=0pt,on grid]
|
||||
|
||||
\definecolor{lightgray}{rgb}{0.80,0.80,0.80};
|
||||
\definecolor{darkgray}{rgb}{0.40,0.40,0.40};
|
||||
|
||||
\tikzstyle{arrow}=[draw, <->,shorten <=1pt,shorten >=1pt,>=stealth',thick]
|
||||
\tikzstyle{pel}=[circle, rounded corners ,draw=lightgray, fill=lightgray, thick, scale=0.5]
|
||||
|
||||
|
||||
% Neighbor pixels
|
||||
\foreach \x in {-2,...,10}
|
||||
\foreach \y in {-1,...,9}
|
||||
{
|
||||
\node at (\x+0.5,\y+0.5) [pel]() {};
|
||||
}
|
||||
|
||||
% \foreach \x in {0,8}
|
||||
% \foreach \y in {1,...,2,4,5,...,7}
|
||||
% {
|
||||
% \node at (\x+0.5,\y+0.5) [pel](ref_lft) {};
|
||||
% }
|
||||
|
||||
|
||||
% Center
|
||||
\draw[draw=black, dashed,thick, opacity=1] (\block+4,\block+4) rectangle ++(7*\block-8,7*\block-8);
|
||||
\node[anchor=west,scale=\scale] at (1*\block+0.1*\block,8*\block+3) {Lost region ($R_L$)};
|
||||
|
||||
|
||||
% Lost pixel
|
||||
\node at (4*\block+\block/2, 3*\block+\block/2)
|
||||
[pel, fill=black, draw=black, thick](lostpel) [label=north east: $lp$] {};
|
||||
|
||||
|
||||
% Reference pixels
|
||||
\node at (4*\block+\block/2, 8*\block+\block/2) [pel, fill=black, draw=black, thick](ref_tp) [label=north west: $p_1$] {};
|
||||
\node at (0*\block+\block/2, 3*\block+\block/2) [pel, fill=black, draw=black, thick](ref_lft) [label=north west: $p_2$] {};
|
||||
\node at (4*\block+\block/2, 0*\block+\block/2) [pel, fill=black, draw=black, thick](ref_bottm) [label=south east: $p_3$] {};
|
||||
\node at (8*\block+\block/2, 3*\block+\block/2) [pel, fill=black, draw=black, thick](ref_rght) [label=north east: $p_4$] {} ;
|
||||
|
||||
\path [arrow] (lostpel) -- node[left] { $d_1$} (ref_tp);
|
||||
\path [arrow] (lostpel) -- node[above] { $d_2$} (ref_lft);
|
||||
\path [arrow] (lostpel) -- node[left] { $d_3$} (ref_bottm);
|
||||
\path [arrow] (lostpel) -- node[above] { $d_4$} (ref_rght);
|
||||
|
||||
|
||||
|
||||
\node[anchor=west,scale=\scale] at (-1.4,10) (pixel_label) {Pixel};
|
||||
\node at (-1.5,8.4) (pel) {};
|
||||
\path [-latex,anchor=center] (pixel_label) edge (pel);
|
||||
|
||||
\node[anchor=west,scale=\scale] at (5.8,6.0) (edge_label) {Contour};
|
||||
\path [-latex] (edge_label.south) edge (7.15,5.2);
|
||||
|
||||
\node at (6.5,-1.3) (edge_start) {};
|
||||
\node at (10.3,8.1) (edge_end) {};
|
||||
\path [-,thick] (edge_start.north) edge[out=80, in=190] (edge_end.west);
|
||||
|
||||
|
||||
\end{tikzpicture}
|
||||
|
After Width: | Height: | Size: 45 KiB |
@@ -0,0 +1,47 @@
|
||||
% \usetikzlibrary{calc,trees,positioning,arrows,chains,shapes.geometric,%
|
||||
% decorations.pathreplacing,decorations.pathmorphing,shapes,%
|
||||
% matrix,shapes.symbols,plotmarks,decorations.markings,shadows,backgrounds}
|
||||
|
||||
\newcommand{\scale}{1.2}
|
||||
|
||||
\begin{tikzpicture}[node distance = 2.5cm, auto,every node/.style={minimum size=\scale,scale=\scale},scale=\scale]
|
||||
% Place nodes
|
||||
|
||||
%\draw[help lines] (-5,-5) grid ++(10,10);
|
||||
|
||||
\draw[draw=black,thick] (0,0) rectangle ++(1,1);
|
||||
\node[scale=0.6] at (0.5,0.5) {$LB_i$};
|
||||
|
||||
\draw[draw=black,thick] (1,0) rectangle ++(1,1);
|
||||
\node[scale=0.6] at (1.5,0.5) {$LB_{i+1}$};
|
||||
|
||||
\draw[draw=black,thick] (-1,0) rectangle ++(1,1);
|
||||
\node[scale=0.6] at (-0.5,0.5) {$LB_{i-1}$};
|
||||
|
||||
|
||||
\draw[draw=black] (0,0) -- ++(-1.2,0);
|
||||
\draw[draw=black] (0,0) -- ++(0,-1);
|
||||
\draw[draw=black] (0,1) -- ++(-1.2,0);
|
||||
\draw[draw=black] (0,1) -- ++(0,1);
|
||||
\draw[draw=black] (1,0) -- ++(0,-1.0);
|
||||
|
||||
\draw[draw=black] (1,0) -- ++(1.2,0);
|
||||
\draw[draw=black] (1,1) -- ++(1.2,0);
|
||||
\draw[draw=black] (1,1) -- ++(0,1.0);
|
||||
|
||||
\draw[draw=black] (0,1) rectangle ++(1,0.5);
|
||||
\node[scale=0.6] at (0.5,1.25) {\tiny $MV_1$};
|
||||
|
||||
\draw[draw=black] (0,0) rectangle ++(1,-0.5);
|
||||
\node[scale=0.6] at (0.5,-0.25) {\tiny $MV_2$};
|
||||
|
||||
|
||||
|
||||
|
||||
\node[text centered, inner sep=1.5pt, scale=0.8] (TB1) at (1.5,1.7) {\tiny $TB_1$};
|
||||
\draw[draw=black,-stealth'] (TB1) -- (1,1.25);
|
||||
|
||||
\node[text centered, inner sep=1.5pt, scale=0.8] (TB2) at (1.5,-0.7) {\tiny $TB_2$};
|
||||
\draw[draw=black,-stealth'] (TB2) -- (1,-0.25);
|
||||
|
||||
\end{tikzpicture}
|
||||
@@ -0,0 +1,55 @@
|
||||
% \usetikzlibrary{calc,trees,positioning,arrows,chains,shapes.geometric,%
|
||||
% decorations.pathreplacing,decorations.pathmorphing,shapes,%
|
||||
% matrix,shapes.symbols,plotmarks,decorations.markings,shadows,backgrounds}
|
||||
|
||||
\newcommand{\scale}{1.2}
|
||||
|
||||
\begin{tikzpicture}[node distance = 2.5cm, auto,every node/.style={minimum size=\scale,scale=\scale},scale=\scale]
|
||||
% Place nodes
|
||||
|
||||
\draw[draw=black,thick] (0,0) rectangle ++(1,1);
|
||||
\node[scale=0.6] at (0.5,0.5) {$LB_i$};
|
||||
|
||||
\draw[draw=black,thick] (1,0) rectangle ++(1,1);
|
||||
\node[scale=0.6] at (1.5,0.5) {$LB_{i+1}$};
|
||||
|
||||
\draw[draw=black,thick] (-1,0) rectangle ++(1,1);
|
||||
\node[scale=0.6] at (-0.5,0.5) {$LB_{i-1}$};
|
||||
|
||||
\draw[draw=black] (0,0) -- ++(-1.2,0);
|
||||
\draw[draw=black] (0,0) -- ++(0,-1);
|
||||
\draw[draw=black] (0,1) -- ++(-1.2,0);
|
||||
\draw[draw=black] (0,1) -- ++(0,1);
|
||||
\draw[draw=black] (1,0) -- ++(0,-1);
|
||||
|
||||
\draw[draw=black] (1,0) -- ++(1.2,0);
|
||||
\draw[draw=black] (1,1) -- ++(1.2,0);
|
||||
\draw[draw=black] (1,1) -- ++(0,1);
|
||||
|
||||
\draw[draw=black] (0,1) rectangle ++(0.5,0.5);
|
||||
\node[scale=0.6] at (0.25,1.25) {\tiny $MV_1$};
|
||||
|
||||
\node[text centered, inner sep=1.5pt, scale=0.8] (TB2) at (-0.5,+1.7) {\tiny $STB_1$};
|
||||
\draw[draw=black,-stealth'] (TB2) -- (0,1.25);
|
||||
|
||||
\draw[draw=black] (0.5,1) rectangle ++(0.5,0.5);
|
||||
\node[scale=0.6] at (0.75,1.25) {\tiny $MV_2$};
|
||||
|
||||
\node[text centered, inner sep=1.5pt, scale=0.8] (TB1) at (1.5,1.7) {\tiny $STB_2$};
|
||||
\draw[draw=black,-stealth'] (TB1) -- (1,1.25);
|
||||
|
||||
\draw[draw=black] (0,0) rectangle ++(0.5,-0.5);
|
||||
\node[scale=0.6] at (0.25,-0.25) {\tiny $MV_3$};
|
||||
|
||||
\node[text centered, inner sep=1.5pt, scale=0.8] (TB2) at (-0.5,-0.7) {\tiny $STB_3$};
|
||||
\draw[draw=black,-stealth'] (TB2) -- (0,-.25);
|
||||
|
||||
\draw[draw=black] (0.5,0) rectangle ++(0.5,-0.5);
|
||||
\node[scale=0.6] at (0.75,-0.25) {\tiny $MV_4$};
|
||||
|
||||
\node[text centered, inner sep=1.5pt, scale=0.8] (TB1) at (1.5,-.7) {\tiny $STB_4$};
|
||||
\draw[draw=black,-stealth'] (TB1) -- (1,-.25);
|
||||
|
||||
|
||||
|
||||
\end{tikzpicture}
|
||||
@@ -0,0 +1,58 @@
|
||||
% \usetikzlibrary{calc,trees,positioning,arrows,chains,shapes.geometric,%
|
||||
% decorations.pathreplacing,decorations.pathmorphing,shapes,%
|
||||
% matrix,shapes.symbols,plotmarks,decorations.markings,shadows,backgrounds}
|
||||
|
||||
\newcommand{\scale}{1.2}
|
||||
|
||||
\begin{tikzpicture}[node distance = 2.5cm, auto,every node/.style={minimum size=\scale,scale=\scale},scale=\scale]
|
||||
% Place nodes
|
||||
|
||||
|
||||
|
||||
\draw[draw=black] (0,0) -- ++(-1.2,0);
|
||||
\draw[draw=black] (0,0) -- ++(0,-1);
|
||||
\draw[draw=black] (0,1) -- ++(-1.2,0);
|
||||
\draw[draw=black] (0,1) -- ++(0,1);
|
||||
\draw[draw=black] (1,0) -- ++(0,-1);
|
||||
|
||||
\draw[draw=black] (1,0) -- ++(1.2,0);
|
||||
\draw[draw=black] (1,1) -- ++(1.2,0);
|
||||
\draw[draw=black] (1,1) -- ++(0,1);
|
||||
|
||||
\draw[draw=black,fill=white] (-0.25,1) rectangle ++(0.5,0.5);
|
||||
\node[scale=0.6] at (0,1.25) {\tiny $MV_1$};
|
||||
|
||||
\node[text centered, inner sep=1.5pt, scale=0.8] (TB2) at (-0.5,+1.7) {\tiny $ASTB_1$};
|
||||
\draw[draw=black,-stealth'] (TB2) -- (-0.25,1.25);
|
||||
|
||||
\draw[draw=black,fill=white] (0.75,1) rectangle ++(0.5,0.5);
|
||||
\node[scale=0.6] at (1,1.25) {\tiny $MV_2$};
|
||||
|
||||
\node[text centered, inner sep=1.5pt, scale=0.8] (TB1) at (1.5,1.7) {\tiny $ASTB_2$};
|
||||
\draw[draw=black,-stealth'] (TB1) -- (1.25,1.25);
|
||||
|
||||
\draw[draw=black,fill=white] (-0.25,0) rectangle ++(0.5,-0.5);
|
||||
\node[scale=0.6] at (0,-0.25) {\tiny $MV_3$};
|
||||
|
||||
\node[text centered, inner sep=1.5pt, scale=0.8] (TB2) at (-0.5,-0.7) {\tiny $ASTB_3$};
|
||||
\draw[draw=black,-stealth'] (TB2) -- (-0.25,-.25);
|
||||
|
||||
\draw[draw=black,fill=white] (0.75,0) rectangle ++(0.5,-0.5);
|
||||
\node[scale=0.6] at (1,-0.25) {\tiny $MV_4$};
|
||||
|
||||
\node[text centered, inner sep=1.5pt, scale=0.8] (TB1) at (1.5,-.7) {\tiny $ASTB_4$};
|
||||
\draw[draw=black,-stealth'] (TB1) -- (1.25,-.25);
|
||||
|
||||
\draw[draw=black,thick] (0,0) rectangle ++(1,1);
|
||||
\node[scale=0.6] at (0.5,0.5) {$LB_i$};
|
||||
|
||||
\draw[draw=black,thick] (1,0) rectangle ++(1,1);
|
||||
\node[scale=0.6] at (1.5,0.5) {$LB_{i+1}$};
|
||||
|
||||
\draw[draw=black,thick] (-1,0) rectangle ++(1,1);
|
||||
\node[scale=0.6] at (-0.5,0.5) {$LB_{i-1}$};
|
||||
|
||||
|
||||
|
||||
|
||||
\end{tikzpicture}
|
||||
@@ -0,0 +1,45 @@
|
||||
\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.25}
|
||||
|
||||
\begin{tikzpicture}[scale=\scale,every node/.style={scale=\scale},on grid ]
|
||||
|
||||
\tikzstyle{LostMB}=[black, thick]
|
||||
\tikzstyle{ExtrapolatedMB}=[black, dashed, thick]
|
||||
\tikzstyle{TextNode}=[scale=4.2, text centered, text width=3.3cm]
|
||||
\tikzstyle{SymbolNode}=[scale=5.2, text centered]
|
||||
|
||||
\newcommand{\gridsize}{30}
|
||||
%\draw[help lines] (-\gridsize,-\gridsize) grid ++(\gridsize*2,\gridsize*2);
|
||||
|
||||
\draw[LostMB] (0,0) rectangle ++(8,8);
|
||||
|
||||
\draw[ExtrapolatedMB] (6-16,6) rectangle ++(16cm,16cm);
|
||||
\draw[ExtrapolatedMB] (4,4) rectangle ++(16cm,16cm);
|
||||
\draw[ExtrapolatedMB] (6,-14) rectangle ++(16cm,16cm);
|
||||
\draw[ExtrapolatedMB] (3-16,-14) rectangle ++(16cm,16cm);
|
||||
|
||||
\node[TextNode](EMB1) at (5-16+16/2,7+16/2) {Extrapolated PU$_1$};
|
||||
\node[TextNode](EMB1) at (5+16/2,4+16/2) {Extrapolated PU$_2$};
|
||||
\node[TextNode](EMB1) at (6+16/2,-14+16/2) {Extrapolated PU$_4$};
|
||||
\node[TextNode](EMB1) at (3-16+16/2,-14+16/2) {Extrapolated PU$_3$};
|
||||
|
||||
\node[SymbolNode] at (2,1) {$\circ$};
|
||||
\node[SymbolNode] at (7,1) {$\circ$};
|
||||
\node[SymbolNode] at (7,7) {$\circ$};
|
||||
\node[SymbolNode] at (5,7) {$\diamond$};
|
||||
\node[SymbolNode,scale=0.7] at (2,4) {$\bigtriangleup$};
|
||||
\node[SymbolNode] at (-2,4) {$\star$};
|
||||
|
||||
\end{tikzpicture}
|
||||
|
After Width: | Height: | Size: 221 KiB |
|
After Width: | Height: | Size: 241 KiB |
|
After Width: | Height: | Size: 980 KiB |
|
After Width: | Height: | Size: 973 KiB |
|
After Width: | Height: | Size: 22 KiB |
@@ -0,0 +1,60 @@
|
||||
\usetikzlibrary{calc,trees,positioning,arrows,chains,shapes.geometric,%
|
||||
decorations.pathreplacing,decorations.pathmorphing,shapes,%
|
||||
matrix,shapes.symbols,plotmarks,decorations.markings,shadows,backgrounds}
|
||||
|
||||
\def\MVE{\mbox{MVE}}
|
||||
\def\MVBASE{\mbox{BASE\_MC}}
|
||||
\def\INTERVIEW{\mbox{INTERVIEW\_COPY}}
|
||||
\def\COMBMC{\mbox{COMB\_MC}}
|
||||
\def\COMBMCDISP{\mbox{COMB\_MC\_Disp}}
|
||||
|
||||
% Define block styles
|
||||
\tikzstyle{block} = [rectangle, draw, text width=6cm, text centered, minimum height=1.5cm, node distance=2.3cm]
|
||||
\tikzstyle{node_circle} = [circle, draw, text centered]
|
||||
\tikzstyle{decision} = [diamond, draw, text badly centered, inner sep=1pt, text width=2cm, node distance=2.8cm]
|
||||
\tikzstyle{line} = [draw, -latex']
|
||||
|
||||
\newcommand{\scale}{0.7}
|
||||
|
||||
\begin{tikzpicture}[node distance = 2.5cm, auto,every node/.style={minimum size=\scale,scale=\scale},scale=\scale]
|
||||
% Place nodes
|
||||
|
||||
\node [decision] at (0,0) (Indentify) {\small Identifying corrupted frame};
|
||||
|
||||
\node [block,ellipse, text width=2.5cm,above of=Indentify,yshift=0.7cm] (Start) {Frame Start};
|
||||
|
||||
\path [line] (Start) -- (Indentify);
|
||||
|
||||
\node [block,below of=Indentify,yshift=-0.7cm] (Divide) {The frame is divided into $4\times4$ blocks};
|
||||
|
||||
\path [line] (Indentify) -- (Divide);
|
||||
|
||||
\node [block,below of=Divide] (Normalization) {Motion vector normalization};
|
||||
|
||||
\path [line] (Divide) -- (Normalization);
|
||||
|
||||
\node [block, below of=Normalization] (Differences) {Calculating motion vector differences (MVD)};
|
||||
|
||||
\path [line] (Normalization) -- (Differences);
|
||||
|
||||
\node [block, right of=Indentify, xshift=5cm,yshift=1.4cm] (Recursive) {Recursive motion vector difference and refinement area selection};
|
||||
|
||||
\path [line] (Differences.south) -- +(0,-1) -- +(7.8/2,-1) -- +(7.8/2,11+0.8) -| (Recursive.north);
|
||||
|
||||
\node [block, below of=Recursive] (Iterative) {Iterative counting the occurrences of MVD};
|
||||
|
||||
\path [line] (Recursive) -- (Iterative);
|
||||
|
||||
\node [block,below of=Iterative] (Selection) {The MVD with maximum occurrence is individually selected in x and y directions};
|
||||
|
||||
\path [line] (Iterative) -- (Selection);
|
||||
|
||||
\node [block,below of=Selection] (FinalMV) {Final motion vector is derived by adding the refined MVD};
|
||||
|
||||
\path [line] (Selection) -- (FinalMV);
|
||||
|
||||
\node [block,ellipse, text width=2.5cm,below of=FinalMV, yshift=0cm] (End) {End of frame};
|
||||
|
||||
\path [line] (FinalMV) -- (End);
|
||||
|
||||
\end{tikzpicture}
|
||||
@@ -0,0 +1,177 @@
|
||||
|
||||
|
||||
\newcommand{\scale}{1}
|
||||
|
||||
\newcommand{\frameScale}{.3}
|
||||
% \newcommand{\TikZxscale}{0.55}
|
||||
\newcommand{\xfshift}{8cm}
|
||||
% \newcommand{\TikZyslant}{0.4}
|
||||
% \newcommand{\TikZyfshift}{0.05cm}
|
||||
|
||||
\definecolor{colorFrameBackground}{rgb}{.82,.89,.95}
|
||||
% \definecolor{colorErrorsRegion}{rgb}{.163,.547,.757}
|
||||
\definecolor{colorErrors}{rgb}{.16,.40,.40}
|
||||
\definecolor{colorErrorsRegion}{rgb}{.209,.705,.740}
|
||||
|
||||
|
||||
\usetikzlibrary{patterns}
|
||||
|
||||
\makeatletter
|
||||
\pgfdeclareshape{test shape}
|
||||
{
|
||||
\inheritsavedanchors[from=rectangle]
|
||||
\inheritanchor[from=rectangle]{center}
|
||||
|
||||
\backgroundpath
|
||||
{
|
||||
\def\my@color{.}%
|
||||
\ifx\tikz@strokecolor\pgfutil@empty
|
||||
\else
|
||||
\let\my@color\tikz@strokecolor
|
||||
\fi
|
||||
\pgfsetfillpattern{north east lines}{\my@color}
|
||||
\pgfpathrectanglecorners{\pgfpoint{0}{0}}{\pgfpoint{1cm}{1cm}}
|
||||
\pgfusepath{fill}
|
||||
}
|
||||
}
|
||||
\makeatother
|
||||
|
||||
\newcommand{\FillFrame}[1]
|
||||
{
|
||||
\draw[fill=#1,fill opacity=1, very thick] (0,0) rectangle (8+1,8+1); % Opacity
|
||||
% \draw[thick] (0,0) rectangle (#2+1,#2+1);
|
||||
% \foreach \x in {1,...,#2}
|
||||
% \draw (\x,0) -- ++(0,#2+1);
|
||||
% \foreach \y in {1,...,#2}
|
||||
% \draw (0,\y) -- ++(#2+1,0);
|
||||
}
|
||||
|
||||
\newcommand{\DrawFrame}[1]
|
||||
{
|
||||
\draw[fill=#1,fill opacity=1, very thick] (0,0) rectangle (8+1,8+1); % Opacity
|
||||
% \draw[thick] (0,0) rectangle (#2+1,#2+1);
|
||||
% \foreach \x in {1,...,#2}
|
||||
% \draw (\x,0) -- ++(0,#2+1);
|
||||
% \foreach \y in {1,...,#2}
|
||||
% \draw (0,\y) -- ++(#2+1,0);
|
||||
}
|
||||
|
||||
\newcommand{\DrawBlock}[3]
|
||||
{
|
||||
\DrawBlockWithSize{#1}{#2}{#3}{1}{1}
|
||||
}
|
||||
\newcommand{\DrawBlockWithSize}[5]
|
||||
{
|
||||
\draw[draw=#1, fill=#1] (#2,#3) rectangle ++(#4 cm,#5 cm);
|
||||
}
|
||||
|
||||
|
||||
\begin{tikzpicture}[use Hobby shortcut,closed=true]
|
||||
|
||||
\tikzstyle{refmv_line}=[thick,draw=black]
|
||||
\tikzstyle{refmv}=[refmv_line,-latex,densely dashed]
|
||||
\tikzstyle{refmv_0}=[refmv,]
|
||||
\tikzstyle{refmv_1}=[refmv_0]
|
||||
|
||||
\tikzstyle{errorBlock}=[draw=colorErrors, fill=colorErrors]
|
||||
\tikzstyle{errorPropagation}=[draw=colorErrorsRegion, fill=colorErrorsRegion]
|
||||
|
||||
\coordinate (ErrorPosition) at (4,4);
|
||||
|
||||
|
||||
\def\errorPosX{3}
|
||||
\def\errorPosY{6}
|
||||
|
||||
\begin{scope}[scale=\frameScale*.95, yshift=2*\TikZyfshift, xshift=-2*\xfshift]
|
||||
\DrawFrame{colorFrameBackground}
|
||||
% \node at (12cm/2,-1.5cm) { $f_{t}$ };
|
||||
|
||||
\draw[errorBlock] (\errorPosX,\errorPosY) rectangle ++(1cm,1cm);
|
||||
|
||||
\foreach \x in {\errorPosX,...,7}
|
||||
\draw[errorPropagation] (\x+1,\errorPosY) rectangle ++(1 cm,1 cm);
|
||||
\foreach \y in {0.1,1,2,3,4,5}
|
||||
\foreach \x in {0.1,1,2,3,4,5,6,7,8}
|
||||
\draw[errorPropagation] (\x,\y) rectangle ++(1 cm,1 cm);
|
||||
|
||||
\draw (0,\errorPosY) -- ++(\errorPosX + 1,0) -- ++(0,1) -- ++(8-\errorPosX,0);
|
||||
|
||||
\end{scope}
|
||||
|
||||
\begin{scope}[scale=\frameScale, yshift=2*\TikZyfshift, xshift=0*\xfshift, yslant=\TikZyslant,xscale=\TikZxscale]
|
||||
\DrawFrame{colorFrameBackground}
|
||||
\node at (12cm/2,-1.5cm) { $f_{t}$ };
|
||||
|
||||
\draw[errorBlock] (\errorPosX,\errorPosY) rectangle ++(1cm,1cm);
|
||||
\end{scope}
|
||||
|
||||
\begin{scope}[scale=\frameScale, yshift=2*\TikZyfshift, xshift=1*\xfshift, yslant=\TikZyslant,xscale=\TikZxscale]
|
||||
\DrawFrame{colorFrameBackground}
|
||||
\node at (12cm/2,-1.5cm) { $f_{t+1}$ };
|
||||
% \begin{scope}[yshift=3.8cm, xshift=2.4cm]
|
||||
% \draw[erros] plot[scale=.3,smooth, tension=.7] coordinates {(0,0) (.5,3) (2.5,4) (5,3.5) (7.5,4) (8.5,3) (8.5,1) (10,-1.5) (3.5,0) (.5,-1.5) (0,0)};
|
||||
% \end{scope}
|
||||
|
||||
\draw[errorPropagation] (\errorPosX,\errorPosY) rectangle ++(1cm,1cm);
|
||||
\draw[errorPropagation] (\errorPosX,\errorPosY -1) rectangle ++(1cm,1cm);
|
||||
\draw[errorPropagation] (\errorPosX +1,\errorPosY) rectangle ++(1cm,1cm);
|
||||
|
||||
\end{scope}
|
||||
|
||||
\begin{scope}[scale=\frameScale, yshift=2*\TikZyfshift, xshift=2*\xfshift, yslant=\TikZyslant,xscale=\TikZxscale]
|
||||
\DrawFrame{colorFrameBackground}
|
||||
\node at (12cm/2,-1.5cm) { $f_{t+2}$ };
|
||||
|
||||
\draw[errorPropagation] (\errorPosX,\errorPosY) rectangle ++(1cm,1cm);
|
||||
\draw[errorPropagation] (\errorPosX +1,\errorPosY) rectangle ++(1cm,1cm);
|
||||
\draw[errorPropagation] (\errorPosX +2,\errorPosY) rectangle ++(1cm,1cm);
|
||||
\draw[errorPropagation] (\errorPosX,\errorPosY -1) rectangle ++(1cm,1cm);
|
||||
\draw[errorPropagation] (\errorPosX+1,\errorPosY -1) rectangle ++(1cm,1cm);
|
||||
\draw[errorPropagation] (\errorPosX+1,\errorPosY -2) rectangle ++(1cm,1cm);
|
||||
\end{scope}
|
||||
|
||||
\begin{scope}[scale=\frameScale, yshift=3*\TikZyfshift, xshift=3*\xfshift, yslant=\TikZyslant,xscale=\TikZxscale]
|
||||
\DrawFrame{colorFrameBackground}
|
||||
\node at (12cm/2,-1.5cm) { $f_{t+3}$ };
|
||||
% \begin{scope}[yshift=3.1cm, xshift=1.9cm]
|
||||
% \draw[erros] plot[scale=.5,smooth, tension=.7] coordinates {(0,0) (.5,3) (2.5,4) (5,3.5) (7.5,4) (8.5,3) (8.5,1) (10,-1.5) (3.5,0) (.5,-1.5) (0,0)};
|
||||
% \end{scope}
|
||||
|
||||
\draw[errorPropagation] (\errorPosX ,\errorPosY) rectangle ++(1cm,1cm);
|
||||
\draw[errorPropagation] (\errorPosX +1,\errorPosY) rectangle ++(1cm,1cm);
|
||||
\draw[errorPropagation] (\errorPosX +2,\errorPosY) rectangle ++(1cm,1cm);
|
||||
\draw[errorPropagation] (\errorPosX ,\errorPosY -1) rectangle ++(1cm,1cm);
|
||||
\draw[errorPropagation] (\errorPosX +1,\errorPosY -1) rectangle ++(1cm,1cm);
|
||||
\draw[errorPropagation] (\errorPosX +2,\errorPosY -1) rectangle ++(1cm,1cm);
|
||||
\draw[errorPropagation] (\errorPosX +0,\errorPosY -2) rectangle ++(1cm,1cm);
|
||||
\draw[errorPropagation] (\errorPosX +1,\errorPosY -2) rectangle ++(1cm,1cm);
|
||||
\draw[errorPropagation] (\errorPosX +0,\errorPosY -3) rectangle ++(1cm,1cm);
|
||||
|
||||
\end{scope}
|
||||
|
||||
\begin{scope}[scale=\frameScale, yshift=4*\TikZyfshift, xshift=4*\xfshift, yslant=\TikZyslant,xscale=\TikZxscale]
|
||||
\DrawFrame{colorFrameBackground}
|
||||
\node at (12cm/2,-1.5cm) { $f_{t+4}$ };
|
||||
% \begin{scope}[yshift=3cm, xshift=1.8cm]
|
||||
% \draw[erros] plot[scale=.6,smooth, tension=.7] coordinates {(0,0) (.5,3) (2.5,4) (5,3.5) (7.5,4) (8.5,3) (8.5,1) (10,-1.5) (3.5,0) (.5,-1.5) (0,0)};
|
||||
% \end{scope}
|
||||
\draw[errorPropagation] (\errorPosX ,\errorPosY) rectangle ++(1cm,1cm);
|
||||
\draw[errorPropagation] (\errorPosX +1,\errorPosY) rectangle ++(1cm,1cm);
|
||||
\draw[errorPropagation] (\errorPosX +2,\errorPosY) rectangle ++(1cm,1cm);
|
||||
\draw[errorPropagation] (\errorPosX +3,\errorPosY) rectangle ++(1cm,1cm);
|
||||
\draw[errorPropagation] (\errorPosX ,\errorPosY -1) rectangle ++(1cm,1cm);
|
||||
\draw[errorPropagation] (\errorPosX +1,\errorPosY -1) rectangle ++(1cm,1cm);
|
||||
\draw[errorPropagation] (\errorPosX +2,\errorPosY -1) rectangle ++(1cm,1cm);
|
||||
\draw[errorPropagation] (\errorPosX +3,\errorPosY -1) rectangle ++(1cm,1cm);
|
||||
\draw[errorPropagation] (\errorPosX +4,\errorPosY -1) rectangle ++(1cm,1cm);
|
||||
\draw[errorPropagation] (\errorPosX +0,\errorPosY -2) rectangle ++(1cm,1cm);
|
||||
\draw[errorPropagation] (\errorPosX +1,\errorPosY -2) rectangle ++(1cm,1cm);
|
||||
\draw[errorPropagation] (\errorPosX +2,\errorPosY -2) rectangle ++(1cm,1cm);
|
||||
\draw[errorPropagation] (\errorPosX +0,\errorPosY -3) rectangle ++(1cm,1cm);
|
||||
\draw[errorPropagation] (\errorPosX +2,\errorPosY -3) rectangle ++(1cm,1cm);
|
||||
|
||||
\end{scope}
|
||||
|
||||
\path[draw, -latex, thick] (-.5cm,-.5cm) -- ++(12.5cm,0) node[pos=1, yshift=-.2cm] {$t$};
|
||||
|
||||
\end{tikzpicture}
|
||||
@@ -0,0 +1,156 @@
|
||||
|
||||
|
||||
\newcommand{\scale}{1}
|
||||
|
||||
\newcommand{\frameScale}{.3}
|
||||
% \newcommand{\TikZxscale}{0.55}
|
||||
\newcommand{\xfshift}{8cm}
|
||||
% \newcommand{\TikZyslant}{0.4}
|
||||
% \newcommand{\TikZyfshift}{0.05cm}
|
||||
|
||||
\definecolor{colorFrameBackground}{rgb}{.82,.89,.95}
|
||||
% \definecolor{colorErrorsRegion}{rgb}{.163,.547,.757}
|
||||
\definecolor{colorErrorsRegion}{rgb}{.209,.705,.740}
|
||||
|
||||
|
||||
\usetikzlibrary{patterns}
|
||||
|
||||
\makeatletter
|
||||
\pgfdeclareshape{test shape}
|
||||
{
|
||||
\inheritsavedanchors[from=rectangle]
|
||||
\inheritanchor[from=rectangle]{center}
|
||||
|
||||
\backgroundpath
|
||||
{
|
||||
\def\my@color{.}%
|
||||
\ifx\tikz@strokecolor\pgfutil@empty
|
||||
\else
|
||||
\let\my@color\tikz@strokecolor
|
||||
\fi
|
||||
\pgfsetfillpattern{north east lines}{\my@color}
|
||||
\pgfpathrectanglecorners{\pgfpoint{0}{0}}{\pgfpoint{1cm}{1cm}}
|
||||
\pgfusepath{fill}
|
||||
}
|
||||
}
|
||||
\makeatother
|
||||
|
||||
\newcommand{\DrawFrame}[1]
|
||||
{
|
||||
\draw[fill=#1,fill opacity=1, thick] (0,0) rectangle (10+1,10+1); % Opacity
|
||||
% \draw[thick] (0,0) rectangle (#2+1,#2+1);
|
||||
% \foreach \x in {1,...,#2}
|
||||
% \draw (\x,0) -- ++(0,#2+1);
|
||||
% \foreach \y in {1,...,#2}
|
||||
% \draw (0,\y) -- ++(#2+1,0);
|
||||
}
|
||||
|
||||
\newcommand{\DrawBlock}[3]
|
||||
{
|
||||
\DrawBlockWithSize{#1}{#2}{#3}{1}{1}
|
||||
}
|
||||
\newcommand{\DrawBlockWithSize}[5]
|
||||
{
|
||||
\draw[draw=#1, fill=#1] (#2,#3) rectangle ++(#4 cm,#5 cm);
|
||||
}
|
||||
|
||||
|
||||
\begin{tikzpicture}[use Hobby shortcut,closed=true]
|
||||
|
||||
\tikzstyle{refmv_line}=[thick,draw=black]
|
||||
\tikzstyle{refmv}=[refmv_line,-latex,densely dashed]
|
||||
\tikzstyle{refmv_0}=[refmv,]
|
||||
\tikzstyle{refmv_1}=[refmv_0]
|
||||
\tikzstyle{erros}=[draw=colorErrorsRegion, fill=colorErrorsRegion]
|
||||
|
||||
\begin{scope}[scale=\frameScale, yshift=2*\TikZyfshift, xshift=0*\xfshift, yslant=\TikZyslant,xscale=\TikZxscale]
|
||||
\DrawFrame{colorFrameBackground}
|
||||
\node at (12cm/2,-1.5cm) { $f_{t}$ };
|
||||
\DrawBlockWithSize{colorErrorsRegion}{4}{6}{1}{1}
|
||||
\end{scope}
|
||||
|
||||
\begin{scope}[scale=\frameScale, yshift=2*\TikZyfshift, xshift=1*\xfshift, yslant=\TikZyslant,xscale=\TikZxscale]
|
||||
\DrawFrame{colorFrameBackground}
|
||||
\node at (12cm/2,-1.5cm) { $f_{t+1}$ };
|
||||
% \begin{scope}[yshift=3.8cm, xshift=2.4cm]
|
||||
% \draw[erros] plot[scale=.3,smooth, tension=.7] coordinates {(0,0) (.5,3) (2.5,4) (5,3.5) (7.5,4) (8.5,3) (8.5,1) (10,-1.5) (3.5,0) (.5,-1.5) (0,0)};
|
||||
% \end{scope}
|
||||
|
||||
\DrawBlockWithSize{colorErrorsRegion}{4}{6}{1}{1}
|
||||
\DrawBlockWithSize{colorErrorsRegion}{4}{5}{1}{1}
|
||||
\DrawBlockWithSize{colorErrorsRegion}{5}{6}{1}{1}
|
||||
\end{scope}
|
||||
|
||||
\begin{scope}[scale=\frameScale, yshift=2*\TikZyfshift, xshift=2*\xfshift, yslant=\TikZyslant,xscale=\TikZxscale]
|
||||
\DrawFrame{colorFrameBackground}
|
||||
\node at (12cm/2,-1.5cm) { $f_{t+2}$ };
|
||||
% \begin{scope}[yshift=3.5cm, xshift=2.3cm]
|
||||
% \draw[erros] plot[scale=.4,smooth, tension=.7] coordinates {(0,0) (.5,3) (2.5,4) (5,3.5) (7.5,4) (8.5,3) (8.5,1) (10,-1.5) (3.5,0) (.5,-1.5) (0,0)};
|
||||
% \end{scope}
|
||||
\DrawBlockWithSize{colorErrorsRegion}{4}{6}{1}{1}
|
||||
\DrawBlockWithSize{colorErrorsRegion}{4}{5}{1}{1}
|
||||
% \DrawBlockWithSize{colorErrorsRegion}{4}{4}{1}{1}
|
||||
\DrawBlockWithSize{colorErrorsRegion}{5}{6}{1}{1}
|
||||
\DrawBlockWithSize{colorErrorsRegion}{5}{5}{1}{1}
|
||||
% \DrawBlockWithSize{colorErrorsRegion}{5}{4}{1}{1}
|
||||
% \DrawBlockWithSize{colorErrorsRegion}{5}{3}{1}{1}
|
||||
\DrawBlockWithSize{colorErrorsRegion}{6}{6}{1}{1}
|
||||
% \DrawBlockWithSize{colorErrorsRegion}{6}{5}{1}{1}
|
||||
% \DrawBlockWithSize{colorErrorsRegion}{6}{4}{1}{1}
|
||||
% \DrawBlockWithSize{colorErrorsRegion}{7}{6}{1}{1}
|
||||
% \DrawBlockWithSize{colorErrorsRegion}{7}{5}{1}{1}
|
||||
% \DrawBlockWithSize{colorErrorsRegion}{7}{4}{1}{1}
|
||||
% \DrawBlockWithSize{colorErrorsRegion}{8}{5}{1}{1}
|
||||
% \DrawBlockWithSize{colorErrorsRegion}{8}{3}{1}{1}
|
||||
\end{scope}
|
||||
|
||||
\begin{scope}[scale=\frameScale, yshift=3*\TikZyfshift, xshift=3*\xfshift, yslant=\TikZyslant,xscale=\TikZxscale]
|
||||
\DrawFrame{colorFrameBackground}
|
||||
\node at (12cm/2,-1.5cm) { $f_{t+3}$ };
|
||||
% \begin{scope}[yshift=3.1cm, xshift=1.9cm]
|
||||
% \draw[erros] plot[scale=.5,smooth, tension=.7] coordinates {(0,0) (.5,3) (2.5,4) (5,3.5) (7.5,4) (8.5,3) (8.5,1) (10,-1.5) (3.5,0) (.5,-1.5) (0,0)};
|
||||
% \end{scope}
|
||||
\DrawBlockWithSize{colorErrorsRegion}{4}{6}{1}{1}
|
||||
\DrawBlockWithSize{colorErrorsRegion}{4}{5}{1}{1}
|
||||
\DrawBlockWithSize{colorErrorsRegion}{4}{4}{1}{1}
|
||||
\DrawBlockWithSize{colorErrorsRegion}{5}{6}{1}{1}
|
||||
\DrawBlockWithSize{colorErrorsRegion}{5}{5}{1}{1}
|
||||
% \DrawBlockWithSize{colorErrorsRegion}{5}{4}{1}{1}
|
||||
% \DrawBlockWithSize{colorErrorsRegion}{5}{3}{1}{1}
|
||||
\DrawBlockWithSize{colorErrorsRegion}{6}{6}{1}{1}
|
||||
\DrawBlockWithSize{colorErrorsRegion}{6}{5}{1}{1}
|
||||
% \DrawBlockWithSize{colorErrorsRegion}{6}{4}{1}{1}
|
||||
\DrawBlockWithSize{colorErrorsRegion}{7}{6}{1}{1}
|
||||
% \DrawBlockWithSize{colorErrorsRegion}{7}{5}{1}{1}
|
||||
% \DrawBlockWithSize{colorErrorsRegion}{7}{4}{1}{1}
|
||||
% \DrawBlockWithSize{colorErrorsRegion}{8}{5}{1}{1}
|
||||
% \DrawBlockWithSize{colorErrorsRegion}{8}{3}{1}{1}
|
||||
\end{scope}
|
||||
|
||||
\begin{scope}[scale=\frameScale, yshift=4*\TikZyfshift, xshift=4*\xfshift, yslant=\TikZyslant,xscale=\TikZxscale]
|
||||
\DrawFrame{colorFrameBackground}
|
||||
\node at (12cm/2,-1.5cm) { $f_{t+4}$ };
|
||||
% \begin{scope}[yshift=3cm, xshift=1.8cm]
|
||||
% \draw[erros] plot[scale=.6,smooth, tension=.7] coordinates {(0,0) (.5,3) (2.5,4) (5,3.5) (7.5,4) (8.5,3) (8.5,1) (10,-1.5) (3.5,0) (.5,-1.5) (0,0)};
|
||||
% \end{scope}
|
||||
\DrawBlockWithSize{colorErrorsRegion}{4}{6}{1}{1}
|
||||
\DrawBlockWithSize{colorErrorsRegion}{4}{5}{1}{1}
|
||||
\DrawBlockWithSize{colorErrorsRegion}{4}{4}{1}{1}
|
||||
\DrawBlockWithSize{colorErrorsRegion}{5}{6}{1}{1}
|
||||
\DrawBlockWithSize{colorErrorsRegion}{5}{5}{1}{1}
|
||||
\DrawBlockWithSize{colorErrorsRegion}{5}{4}{1}{1}
|
||||
\DrawBlockWithSize{colorErrorsRegion}{5}{3}{1}{1}
|
||||
\DrawBlockWithSize{colorErrorsRegion}{6}{6}{1}{1}
|
||||
\DrawBlockWithSize{colorErrorsRegion}{6}{5}{1}{1}
|
||||
\DrawBlockWithSize{colorErrorsRegion}{6}{4}{1}{1}
|
||||
\DrawBlockWithSize{colorErrorsRegion}{7}{6}{1}{1}
|
||||
\DrawBlockWithSize{colorErrorsRegion}{7}{5}{1}{1}
|
||||
\DrawBlockWithSize{colorErrorsRegion}{7}{4}{1}{1}
|
||||
\DrawBlockWithSize{colorErrorsRegion}{8}{5}{1}{1}
|
||||
\DrawBlockWithSize{colorErrorsRegion}{8}{3}{1}{1}
|
||||
|
||||
\end{scope}
|
||||
|
||||
\path[draw, -latex, thick] (-.5cm,-.5cm) -- ++(12.5cm,0) node[pos=1, yshift=-.2cm] {$t$};
|
||||
|
||||
\end{tikzpicture}
|
||||