Finish initial review of chapter 4 to 6
This commit is contained in:
1 parent
ba6b505983
commit
8d252f0dbd
21 files changed
+567
-493
No files matched your search
@@ -31,9 +31,10 @@
|
||||
\tikzstyle{refblock}=[rectangle,draw=darkgray, thick]
|
||||
\tikzstyle{projectedblock}=[rectangle,draw=black, thick,dashed]
|
||||
\tikzstyle{refmv_linestyle}=[-, thick]
|
||||
\tikzstyle{frame_label}=[anchor=center,scale=0.8]
|
||||
|
||||
\tikzstyle{refmv}=[draw=black, refmv_linestyle,decoration={markings,mark=at position 1 with {\arrow[ultra thick,scale=1]{latex}}},postaction={decorate}]
|
||||
\tikzstyle{extrapolated_mv}=[refmv_linestyle,dashed, draw=blue, decoration={markings,mark=at position 1 with {\arrow[ultra thick,scale=1]{latex}}},postaction={decorate}]
|
||||
\tikzstyle{extrapolated_mv}=[refmv_linestyle,dashed, draw, 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=0.5]{stealth}}},postaction={decorate}]
|
||||
|
||||
@@ -66,42 +67,22 @@ style={yslant=\TikZyslant,xscale=\TikZxscale}]
|
||||
\foreach \y in {1,3}
|
||||
\draw[black, dotted] (\x,\y) +(0,0) rectangle ++(1,1);
|
||||
|
||||
\coordinate (TB1) at (1+0.7,4+0.8);
|
||||
\draw[projectedblock] (TB1) rectangle ++(1,-1);
|
||||
|
||||
\coordinate (TB2) at (3,4);
|
||||
\draw[projectedblock] (TB2) rectangle ++(1,-1);
|
||||
|
||||
\coordinate (TB1) at (1,4);
|
||||
%\coordinate (TB2) at (3,4);
|
||||
\coordinate (TB3) at (3+0.2/2,2-0.8/2);
|
||||
\draw[projectedblock] (TB3) rectangle ++(1,-1);
|
||||
\coordinate (TB4) at (2+0.9,2+0.6);
|
||||
|
||||
\coordinate (TB4) at (3,2);
|
||||
\draw[projectedblock] (TB1) rectangle ++(1,-1);
|
||||
\draw[projectedblock] (TB4) rectangle ++(1,-1);
|
||||
|
||||
|
||||
% \coordinate (TB4) at (3,2);
|
||||
% \draw[projectedblock] (TB4) rectangle ++(1,-1);
|
||||
|
||||
\end{scope}
|
||||
\end{pgfonlayer}
|
||||
|
||||
|
||||
% % Frame t+1
|
||||
% \begin{pgfonlayer}{L0}
|
||||
% \begin{scope}[ yshift=4*\yframeshift, xshift=4*\xframeshift,
|
||||
% style={yslant=\TikZyslant,xscale=\TikZxscale}]
|
||||
%
|
||||
%
|
||||
% \coordinate (TP1B1) at (1,4);
|
||||
% \coordinate (TP1B2) at (3,4);
|
||||
% \coordinate (TP1B3) at (1,2);
|
||||
% \coordinate (TP1B4) at (3,2);
|
||||
%
|
||||
% %Draw a frame
|
||||
% \DrawFrame{white}{4}
|
||||
%
|
||||
% % \draw[black,very thick] (TP1B2) +(0,0) rectangle ++(1,-1);
|
||||
% \draw[black,very thick] (TP1B4) +(0,0) rectangle ++(1,-1);
|
||||
%
|
||||
% \end{scope}
|
||||
% \end{pgfonlayer}
|
||||
|
||||
% Frame t-1
|
||||
\begin{pgfonlayer}{L1}
|
||||
\begin{scope}[ yshift=2*\TikZyfshift, xshift=2*\xframeshift,
|
||||
@@ -110,32 +91,25 @@ style={yslant=\TikZyslant,xscale=\TikZxscale}]
|
||||
\coordinate (T0B1) at (1,4);
|
||||
\coordinate (T0B2) at (3,4);
|
||||
\coordinate (T0B3) at (1,2);
|
||||
\coordinate (T0B4) at (3,2);
|
||||
\coordinate (T0B4) at (2,2);
|
||||
|
||||
\coordinate (TM1AuxB3) at (1,2);
|
||||
|
||||
\coordinate (Bottom_V1) at (2.5,0);
|
||||
|
||||
\draw[extrapolated_mv] (TB1) to (T0B1);
|
||||
\coordinate (T0B1_aux) at (1-0.7,4-0.8);
|
||||
|
||||
% Draw Motion vectors
|
||||
\coordinate (TM1B0) at (3+0.2,2-0.8);
|
||||
\coordinate (TM1B0C) at (3+0.2/2,2-0.8/2);
|
||||
% \draw[refmv] (TP1B4) to (TM1B0);
|
||||
\draw[refblock] (TM1B0) rectangle ++(1,-1);
|
||||
\draw[extrapolated_mv] (TB3) to (TM1B0);
|
||||
|
||||
\draw[refblock] (TM1B0C) rectangle ++(1,-1);
|
||||
\draw[extrapolated_mv] (TB4) to (TM1B0C);
|
||||
\path[extrapolated_mv] (TB1) -- (T0B1_aux) node[above,pos=.2] {\footnotesize $v^{1}_{0}$};;
|
||||
\path[extrapolated_mv] (TB4) -- (T0B4) node[above,pos=.4] {\footnotesize $v^{2}_{0}$};;
|
||||
|
||||
|
||||
\coordinate (TM1B1) at (3-0.6,4-0.5);
|
||||
\draw[extrapolated_mv] (TB2) to (TM1B1);
|
||||
|
||||
\DrawFrame{white}{4}
|
||||
|
||||
\draw[black,very thick] (T0B1) +(0,0) rectangle ++(1,-1);
|
||||
\draw[black,very thick] (T0B2) +(0,0) rectangle ++(1,-1);
|
||||
\draw[projectedblock] (T0B1_aux) +(0,0) rectangle ++(1,-1);
|
||||
\draw[black,very thick] (T0B4) +(0,0) rectangle ++(1,-1);
|
||||
|
||||
|
||||
|
||||
\end{scope}
|
||||
\end{pgfonlayer}
|
||||
@@ -148,10 +122,11 @@ style={yslant=\TikZyslant,xscale=\TikZxscale}]
|
||||
%Define Points
|
||||
\coordinate (TM2B1) at (1-0.7,4-0.8);
|
||||
\coordinate (TM2B2) at (3-0.6,4-0.5);
|
||||
\coordinate (TM2B4) at (2-0.9,2-0.6);
|
||||
|
||||
% Draw Motion vectors
|
||||
\draw[refmv] (T0B1) to (TM2B1);
|
||||
\draw[refmv] (T0B2) to (TM2B2);
|
||||
\path[refmv] (T0B1) -- (TM2B1) node[above,pos=.2] {\footnotesize $v^{1}_{-1}$};
|
||||
\path[refmv] (T0B4) -- (TM2B4) node[above,pos=.3] {\footnotesize $v^{2}_{-1}$};
|
||||
|
||||
\DrawFrame{white}{4}
|
||||
|
||||
@@ -159,19 +134,19 @@ style={yslant=\TikZyslant,xscale=\TikZxscale}]
|
||||
|
||||
% Draw block
|
||||
\draw[refblock] (TM2B1) rectangle ++(1,-1);
|
||||
\draw[refblock] (TM2B2) rectangle ++(1,-1);
|
||||
\draw[refblock] (TM2B4) rectangle ++(1,-1);
|
||||
|
||||
\end{scope}
|
||||
\end{pgfonlayer}
|
||||
|
||||
|
||||
%MVs name
|
||||
\node[scale=0.5] at (3*\xframeshift-1.0cm,4.9) {(2)};
|
||||
\node[scale=0.5] at (3*\xframeshift-1.0cm,3) {(1)};
|
||||
% \node[scale=0.5] at (3*\xframeshift-1.0cm,4.9) {(2)};
|
||||
% \node[scale=0.5] at (3*\xframeshift-1.0cm,3) {(1)};
|
||||
% \node[scale=0.5] at (3*\xframeshift-2.0cm,2) {(2)};
|
||||
% \node[scale=0.5] at (3*\xframeshift-1.0cm,0.3) {(4)};
|
||||
|
||||
\tikzstyle{frame_label}=[anchor=center,scale=0.8]
|
||||
|
||||
% \node[frame_label,scale=0.95] (LostFrameLabel) at (4*\xframeshift-0.9cm,-1.8) {Lost frame };
|
||||
% \path[draw,-latex,thick] (LostFrameLabel) edge[out=90, in=0] (3*\xframeshift+5cm*\TikZxscale,0cm);
|
||||
|
||||
@@ -193,15 +168,5 @@ style={yslant=\TikZyslant,xscale=\TikZxscale}]
|
||||
% \node[frame_label] at (4*\xframeshift,\yframeshift*4) { $t_{1}$ };
|
||||
\end{scope}
|
||||
|
||||
% \begin{scope}[yshift=-3.2cm,xshift=-0.5cm]
|
||||
% \begin{scope}
|
||||
% \draw[refmv] (0,0) to (1.5,0);
|
||||
% \fill (2cm,0) node[frame_label,scale=0.95,right]{Original Motion Vector};
|
||||
% \end{scope}
|
||||
% \begin{scope}[xshift=14cm]
|
||||
% \draw[extrapolated_mv] (0,0) to (1.5,0);
|
||||
% \fill (2cm,0) node[frame_label,scale=0.95,right]{Extrapolated Motion Vector};
|
||||
% \end{scope}
|
||||
% \end{scope}
|
||||
|
||||
\end{tikzpicture}
|
||||
Reference in new issue
Block a user