A Probabalistic Framework for Space Carving
The calibration file format
This file format is intended to store both the projection
matrices, the image features, and the resulting vertices.
This format does have additional fields for storing polgon
and plane data, so any implementation should be able to
cope with unexpected fields.
[view]
image = tower-003.ppm
projection = [709.156 0 320 7.87303e-23; 0 709.156 240 5.90418e-23; 0 0 1 -4.037
87e-26];
match 0 = [367 127.25]
match 1 = [365 155.75]
match 2 = [373 92]
etc
[view]
image = tower-005.ppm
projection = [733.361 -2.78928 259.76 2.5458e+08; 20.8055 707.306
244.514
-3.1455e+08; 0.0833569 -0.00762107 0.996491 -1.12842e+06];
match 0 = [378.75 111.5]
match 1 = [376.25 143.5]
match 2 = [386 72]
etc
[geometry]
vertex = [10 22 50];
vertex = [30 24 12];
vertex = [35 13 35];
etc
The image field specifies the file name of the image. The projection
field stores the projection matrix in MATLAB format. The
match fields store the location of point features which were
specified by the user. The match number is used to mark
corresponding features. For example "match 1" may be
specified for some or all of the images. All these matches
will correspond to the same vertex. The vertexes are NOT
NUMBERED. There is no guarantee that the first vertex will
correspond to match 1, although this may be the case in practice.