We provide the supplementary materials for the following scientific publication of the Bandeirantes method, which extends the previous method live wire on the fly for curve tracing and boundary tracking.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project.
-
Libraries:
- munkres-cpp - Hungarian algorithm
- gft (in code)
- optional: zlib: zlib1g-dev
-
Images:
- Images for test the methods - Scanned completed answers sheets used in the experiment
$ cd lib/gft
$ make clean && make
$ export GFT_DIR=$(pwd)/lib/gft
$ make clean && make
n x1 y1 [solution] x2 y2 [solution] ... xn yn [solution] m x1 y1 x2 y2 ... xm ym
where:
n: number of initial points m: number of destination points [solution]: solution corresponding to order in list m x y : position of the point in the image
Example:
7
148 99 7
139 165 4
129 205 6
123 246 2
111 315 5
103 379 3
90 450 1
7
483 88
466 160
441 228
427 291
408 352
390 403
372 462
Image list file
/path_to_directory_images/ image_001.pgm image_002.pgm image_003.pgm ... image_last.pgm
Configuration file
/path_to_configuration_files/ conf_image_001.txt conf_image_002.txt conf_image_003.txt ... conf_image_last.txt
Usage:
main <image_file> <config_file> <method>
method: 0 ... Riverbed
1 ... LiveWire
2 ... G-wire
3 ... Bandeirantes
Example:
$ ./main database/img_001.pgm database/img_001.txt 3
Usage:
runexp <image_list> <config_list> <method>
method: 0 ... Riverbed
1 ... LiveWire
2 ... G-wire
3 ... Bandeirantes
Example:
$ ./runexp txt/imglist.txt txt/conflist.txt 3
This project is licensed under the terms of the MIT License.