Review of chapter 2
This commit is contained in:
1 parent
f3f362359e
commit
74109b2c4c
31 files changed
+751
-352
No files matched your search
@@ -2,7 +2,6 @@
|
||||
decorations.pathreplacing,decorations.pathmorphing,shapes,%
|
||||
matrix,shapes.symbols,plotmarks,decorations.markings,shadows,backgrounds}
|
||||
|
||||
|
||||
\pgfdeclarelayer{background}
|
||||
\pgfdeclarelayer{foreground}
|
||||
\pgfdeclarelayer{L0}
|
||||
@@ -11,71 +10,65 @@ matrix,shapes.symbols,plotmarks,decorations.markings,shadows,backgrounds}
|
||||
\pgfdeclarelayer{L3}
|
||||
\pgfsetlayers{background,L0,L1,L2,L3,main,foreground}
|
||||
|
||||
\newcommand{\scale}{.13}
|
||||
\newcommand{\scale}{.12}
|
||||
|
||||
\begin{tikzpicture}[scale=\scale,every node/.style={scale=\scale},on grid ]
|
||||
|
||||
\definecolor{LCUFill}{rgb}{0,0.5,1}
|
||||
\definecolor{DrawColor}{rgb}{0,0,0.5}
|
||||
\definecolor{LCUFill}{rgb}{1,1,1}
|
||||
\definecolor{DrawColor}{rgb}{0,0,0}
|
||||
\tikzstyle{arrowstyle}=[scale=1]
|
||||
\tikzstyle{IntraArrow}=[draw=black, shorten <=0, postaction={decorate,decoration={markings, mark=at position .3 with {\arrow[arrowstyle]{stealth}}}} ]
|
||||
\tikzstyle{IntraNumber}=[scale=5.5, align=center]
|
||||
|
||||
\tikzstyle{TextStyle}=[scale=2, text centered]
|
||||
\draw[draw=black, very thick] (-31.5,-31.5) rectangle ++(64,64);
|
||||
|
||||
\tikzstyle{LCU}=[draw=DrawColor, fill=LCUFill, very thick]
|
||||
\tikzstyle{CU}=[draw=DrawColor, thin]
|
||||
\tikzstyle{PU}=[draw=DrawColor, thin, densely dashed]
|
||||
|
||||
\tikzstyle arrowstyle=[scale=1]
|
||||
\tikzstyle{IntraArrow} =[draw=black, shorten <=0, postaction={decorate,decoration={markings, mark=at position .3 with {\arrow[arrowstyle]{stealth}}}} ]
|
||||
|
||||
|
||||
% \newcommand{\gridsize}{70}
|
||||
% \draw[help lines] (-\gridsize,-\gridsize) grid ++(\gridsize*2,\gridsize*2);
|
||||
|
||||
\draw[draw=black, very thick] (-31,-31) rectangle (31,31);
|
||||
% \draw[xshift=.5cm] (-32,33) grid ++(64,1);
|
||||
% \draw[yshift=-.5cm] (-32,33) grid ++(-1,-64);
|
||||
% \node[IntraNumber] at (-30,33) {30};
|
||||
% \node[IntraNumber] at (-20,33) {20};
|
||||
% \node[IntraNumber] at (-10,33) {10};
|
||||
% \node[IntraNumber] at (0,33) {0};
|
||||
% \node[IntraNumber] at (10,33) {10};
|
||||
% \node[IntraNumber] at (20,33) {20};
|
||||
% \node[IntraNumber] at (30,33) {30};
|
||||
|
||||
\coordinate (Center) at (0,0);
|
||||
|
||||
% \foreach \x in {-32,...,31}
|
||||
% \draw[draw=black] (\x-.5,31.5) rectangle ++(1,1);
|
||||
% \foreach \y in {-31,...,32}
|
||||
% \draw[draw=black] (-32-.5,\y-.5) rectangle ++(1,1);
|
||||
|
||||
\newcounter{intra}
|
||||
\setcounter{intra}{1}
|
||||
\foreach \y in {-31,-26,-21,-17,-13,-9,-5,-2,0,2,5,9,13,17,21,26}
|
||||
%% Vertical Modes
|
||||
\setcounter{maincounter}{1}
|
||||
\foreach \y in {-31,-26,-21,-17,-13,-9,-5,-2}
|
||||
{
|
||||
\addtocounter{intra}{1}
|
||||
\node[scale=4, align=center] at (-32,\y) {\theintra};
|
||||
\draw[IntraArrow] (-31,\y) to (Center);
|
||||
\addtocounter{maincounter}{1}
|
||||
\draw[IntraArrow] (-32,\y) to (Center);
|
||||
\node[IntraNumber] at (-34,\y-.7) {\themaincounter};
|
||||
}
|
||||
\addtocounter{intra}{1}
|
||||
\node[scale=4, align=center] at (-32,32) {\theintra};
|
||||
\draw[IntraArrow] (-31,31) to (Center);
|
||||
\foreach \x in {-26,-21,-17,-13,-9,-5,-2,0,2,5,9,13,17,21,26,31}
|
||||
\addtocounter{maincounter}{1}
|
||||
\draw[IntraArrow] (-32,0) to (Center);
|
||||
\node[IntraNumber] at (-34,0) {\themaincounter};
|
||||
\foreach \y in {2,5,9,13,17,21,26}
|
||||
{
|
||||
\addtocounter{intra}{1}
|
||||
\node[scale=4, align=center] at (\x,32) {\theintra};
|
||||
\draw[IntraArrow] (\x,31) to (Center);
|
||||
\addtocounter{maincounter}{1}
|
||||
\draw[IntraArrow] (-32,\y) to (Center);
|
||||
\node[IntraNumber] at (-34,\y+.7) {\themaincounter};
|
||||
}
|
||||
|
||||
% \foreach \x in {-31,-26,-21,-17,-13,-9,-5,-2,0,2,5,9,13,17,21,26,31}
|
||||
% {
|
||||
% \draw[IntraArrow] (Center) to (\x,-31);
|
||||
% }
|
||||
% \foreach \y in {-26,-21,-17,-13,-9,-5,-2,0,2,5,9,13,17,21,26,31}
|
||||
% {
|
||||
% \draw[IntraArrow] (Center) to (31,\y);
|
||||
% }
|
||||
%% Horizontal Modes
|
||||
\foreach \x in {-32,-26,-21,-17,-13,-9,-5,-2}
|
||||
{
|
||||
\addtocounter{maincounter}{1}
|
||||
\draw[IntraArrow] (\x,33) to (Center);
|
||||
\node[IntraNumber] at (\x-.8,34.7) {\themaincounter};
|
||||
}
|
||||
\addtocounter{maincounter}{1}
|
||||
\draw[IntraArrow] (0,33) to (Center);
|
||||
\node[IntraNumber] at (0,34.7) {\themaincounter};
|
||||
\foreach \x in {2,5,9,13,17,21,26,32}
|
||||
{
|
||||
\addtocounter{maincounter}{1}
|
||||
\draw[IntraArrow] (\x,33) to (Center);
|
||||
\node[IntraNumber] at (\x+.8,34.7) {\themaincounter};
|
||||
}
|
||||
|
||||
% \end{scope}
|
||||
% \foreach \y in {0,...,31}
|
||||
% \draw[black] (-1,\y) rectangle ++(1,1);
|
||||
|
||||
|
||||
% \node[scale=6, text width=2cm, align=left] at (8,-1) {Planar};
|
||||
% \node[scale=6, text width=2cm, align=left] at (8,-4) { DC};
|
||||
% \node[scale=1/\scale, text width=2cm, align=left] at (10,-3) {\footnotesize 0: Planar};
|
||||
% \node[scale=1/\scale, text width=2cm, align=left] at (10,-6) {\footnotesize 1: DC};
|
||||
|
||||
|
||||
% % H.264
|
||||
|
||||
Reference in new issue
Block a user