Zhang-Suen thinning algorithm: Difference between revisions

Line 192:
=={{header|C}}==
Input and out images written from and to files. Format of input file is :
<pre>
----
<Rows> <Columns><line feed>
<Blank pixel character> <Image Pixel character><line feed>
<Image of specified rows and columns made up of the two pixel types specified in the second line.>
</pre>
----
The images before and after thinning are also printed on the console.
<lang C>
503

edits