Zhang-Suen thinning algorithm: Difference between revisions
→{{header|C}}
Line 192:
=={{header|C}}==
Input and out images written from and to files. Format of input file is :
<pre>
<Rows> <Columns
<Blank pixel character> <Image Pixel character
<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>
|