CSEP 576Computer Vision

Winter 2008


Course Software: chainpix output format

Here is a sample chainpix output file:

256 256
list: 1
9 4
9 5
9 6
9 7
10 8
10 9
10 10
10 11
-1 0
list: 2
70 4
70 5
70 6
71 7
71 8
-1 0
list: 3
211 5
210 5
209 6
208 5
207 5
206 6
-1 -1
total number of lists: 3

The first row gives the number of columns and rows in the input image. Then there are lists of pixels&emdash;each begins with a list ID (this becomes the string ID when fex segments the lists into straight-line and circular-arc segments), then a list of pixels, terminated by "-1 0" if another list follows, or "-1 -1" if this is the last list. The last line gives the number of lists.