EE/CSE 576: Image Understanding

Spring 2001


canedg Example

blocks.pgm
> canedg -i blocks.pgm -o block_edgelist.txt
block_edgelist.txt
135.00 227.00
136.00 228.00
-1 -1
136.00 229.00
135.00 229.00
135.00 230.00
-1 -1
159.00 233.00
160.00 233.00
160.00 232.00
-1 -1
142.00 3.00
141.00 4.00
140.00 5.00
-1 -1
161.00 244.00
160.00 243.00
-1 -1
146.00 17.00
146.00 16.00
-1 -1

............

40.00 252.00
39.00 253.00
38.00 253.00
38.00 252.00
-1 -1
119.00 253.00
118.00 252.00
-1 -1
139.00 253.00
139.00 252.00
138.00 252.00
137.00 251.00
138.00 250.00
-1 -1
> edge_filter -i block_edgelist.txt -o block_edges.pgm -r 256 -c 256
block_edges.pgm