Commit 5f676a7c authored by Taddes Kroes's avatar Taddes Kroes

improc ass4: Added result of Canny Edge Detector to report.

parent c8f80287
......@@ -188,9 +188,11 @@ the Wiki page is self-explanatory, we will not discuss the algorithm itself in
this report.
The program usage is as follows:
\begin{verbatim}
python canny.py SCALE [ LOWER_THRESHOLD HIGHER_THRESHOLD ]
\end{verbatim}
The scale is obviously used for finding the intensity gradient, and the
thresholds are used in the "Hysterisis thresholding" part. Note that the
thresholds are optional, because the assignment instructs to create a function
......@@ -200,13 +202,13 @@ the resulting plot will contain an additional image containing a binary image
of edges. The thresholds can be specified in the range 0-255, they are scaled
down by the program to match the image's color range. An example execution of
edge detection on the cameraman image using a scale of 2, a lower threshold of
20 and a higher threshold of 60, can be viewed in figure \ref{fig:canny}
20 and a higher threshold of 60, can be viewed in figure \ref{fig:canny}.
\begin{figure}[H]
\label{fig:canny}
\center
\includegraphics[scale=.5]{canny_2_20_60.pdf}
\hspace{-5cm}
\includegraphics[scale=.6]{canny_2_20_60.pdf}
\caption{The result of \texttt{python canny.py 2 20 60}.}
\end{figure}
\end{document}
\end{document}
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment