Skip to content

Commit

Permalink
Revise part 07 of the programmers' "workflows" tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
riccardomurri committed Jan 25, 2017
1 parent b041fd7 commit 6ccdf93
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 15 deletions.
Binary file modified docs/programmers/tutorials/workflows/part07.pdf
Binary file not shown.
33 changes: 18 additions & 15 deletions docs/programmers/tutorials/workflows/part07.tex
Expand Up @@ -17,7 +17,7 @@
\\[1ex]
University of Zurich
}
\date{November~14--17, 2016}
\date{January~23--27, 2017}


\begin{document}
Expand Down Expand Up @@ -149,63 +149,66 @@

\+
So you can nest them, and create parallelly-running sequences, or
sequences of ``job explosions'' (many jobs in parallel), or any
sequences of ``task explosions'' (many tasks in parallel), or any
combination of this.
\end{frame}


\begin{frame}
\frametitle{The Warholize workflow, I}

1. Convert the original image to grayscale.
{\color{gray}\itshape 1.}
Convert the original image to grayscale.

\+
\includegraphics[width=0.75\textwidth]{fig/warholize-wkf1}
\includegraphics[height=0.60\textheight]{fig/warholize-wkf1}
\end{frame}


\begin{frame}
\frametitle{The Warholize workflow, II}

2. Colorize the grayscale image using three different colors for each tile.
{\color{gray}\itshape 2.}
Colorize the grayscale image using three different colors for each tile.

\+
\includegraphics[width=0.75\textwidth]{fig/warholize-wkf2}
\includegraphics[height=0.60\textheight]{fig/warholize-wkf2}
\end{frame}


\begin{frame}
\frametitle{The Warholize workflow, III}

3. Arrange all the colorized images into an $N\times N$ frame.
{\color{gray}\itshape 3.}
Arrange all the colorized images into an $N\times N$ frame.

\+
\includegraphics[width=0.75\textwidth]{fig/warholize-wkf3}
\includegraphics[height=0.60\textheight]{fig/warholize-wkf3}
\end{frame}


\begin{frame}
\frametitle{The Warholize workflow, IV}

Step 2 actually entails two sub-steps:
Step~\textit{2.} actually entails two sub-steps:
\begin{enumerate}[a)]
\item mapping greyscale levels to random colors,
\item applying this mapping to produce new images
\end{enumerate}

\+
\includegraphics[width=0.75\textwidth]{fig/warholize-wkf2a}
\includegraphics[height=0.60\textheight]{fig/warholize-wkf2a}
\end{frame}


\begin{frame}
\frametitle{The Warholize workflow, V}

So, Step~2 is a \texttt{SequentialTaskCollection}-type task. Let's
call this two-pass sequence \texttt{TricolorizeImage} .
So, Step~\textit{2.} is a \texttt{SequentialTaskCollection}-type task.
Let's call this two-pass sequence \texttt{TricolorizeImage}.

\+
\includegraphics[width=0.75\textwidth]{fig/warholize-TricolorizeImage}
\includegraphics[height=0.60\textheight]{fig/warholize-TricolorizeImage}
\end{frame}


Expand All @@ -217,7 +220,7 @@
\texttt{TricolorizeMultipleImages}.

\+
\includegraphics[width=0.75\textwidth]{fig/warholize-TricolorizeMultipleImages}
\includegraphics[height=0.60\textheight]{fig/warholize-TricolorizeMultipleImages}
\end{frame}

\begin{frame}
Expand All @@ -229,7 +232,7 @@
\texttt{WarholizeWorkflow}.

\+
\includegraphics[width=0.70\textwidth]{fig/warholize-WarholizeWorkflow}
\includegraphics[height=0.60\textheight]{fig/warholize-WarholizeWorkflow}
\end{frame}


Expand Down

0 comments on commit 6ccdf93

Please sign in to comment.