Zhang-Suen thinning algorithm: Difference between revisions

Content added Content deleted
Line 193: Line 193:
Input and out images written from and to files. Format of input file is :
Input and out images written from and to files. Format of input file is :
----
----
<Rows> <Columns>
<Rows> <Columns><line feed>
<Blank pixel character> <Image Pixel character>
<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.>
<Image of specified rows and columns made up of the two pixel types specified in the second line.>
----
----