troubles running validation script

127 views
Skip to first unread message

Tawn Kramer

unread,
Aug 3, 2012, 5:43:38 PM8/3/12
to multica...@googlegroups.com
I have a successful calibration! The tool work wonderfully! Thanks so much to the authors.

The MultiCamValidation/gorec.m looks like a useful script. I had some troubles when trying it out with the supplied test data - after running the example calibration. Anyone having similar results? I must be doing something wrong.

Here's the command and output:

octave gorec.m --config=../strawlab/test-data/DATA20100906_134124/no-global-iterations.cfg

GNU Octave, version 3.2.4
Copyright (C) 2009 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  For details, type `warranty'.

Octave was configured for "i686-pc-linux-gnu".

Additional information about Octave is available at http://www.octave.org.

Please contribute if you find this software useful.
For more information, visit http://www.octave.org/help-wanted.html

Report bugs to <b...@octave.org> (but first, please read
http://www.octave.org/bugs.html to learn how to write a helpful report).

For information about changes from previous versions, type `news'.

arg = --config=../strawlab/test-data/DATA20100906_134124/no-global-iterations.cfg
config_dir = /home/tkramer/projects/mocap/MultiCamSelfCal/MultiCamValidation/../strawlab/test-data/DATA20100906_134124/
warning: The calibration file config.files.CalPmat does not exist
warning: No P mat available
warning: The calibration file config.files.CalPmat does not exist
warning: No P mat available
warning: The calibration file config.files.CalPmat does not exist
warning: No P mat available
warning: The calibration file config.files.CalPmat does not exist
warning: No P mat available
warning: No Pmat available
RANSAC validation step running ...
RANSAC: 3 samples, 523 inliers out of 523 points
RANSAC: 3 samples, 509 inliers out of 523 points
RANSAC: 2 samples, 432 inliers out of 434 points
RANSAC: 1 samples, 362 inliers out of 362 points
error: structure has no member `Pmat'
error: called from:
error:   gorec.m at line 68, column 16


here's a listing of the files in test-data/DATA20100906_134124/

cam1.cal             camera2.cal       multicamselfcal.cfg
cam1.points4cal.dat  camera2.Pmat.cal  no-global-iterations.cfg
cam2.cal             camera3.cal       Pmatrices.dat
cam2.points4cal.dat  camera3.Pmat.cal  points.dat
cam3.cal             camera4.cal       Pst.dat
cam3.points4cal.dat  camera4.Pmat.cal  Re.dat
cam4.cal             camera_order.txt  Res.dat
cam4.points4cal.dat  Ce.dat            Xe.dat
camera1.cal          Cst.dat
camera1.Pmat.cal     IdMat.dat

(I made some local modifications to generate some additional output files. I don't think it's related.)

Tawn Kramer

unread,
Aug 3, 2012, 8:08:25 PM8/3/12
to multica...@googlegroups.com
things seem to get a bit better when I remove the '-ASCII' argument from the call to load in MultiCamCalib/ComminCfgAndIo/loaddata.m @ line 91

now I get a bit further but stop here:

RANSAC validation step running ...
RANSAC: 1 samples, 523 inliers out of 523 points
RANSAC: 1 samples, 523 inliers out of 523 points
RANSAC: 3 samples, 434 inliers out of 434 points
RANSAC: 2 samples, 362 inliers out of 362 points
error: A(I): Index exceeds matrix dimension.
error: called from:
error:   /home/tkramer/Desktop/MultiCamCalib/MultiCamValidation/CoreFunctions/P2KRtC.m at line 13, column 3
error:   gorec.m at line 69, column 45
Reply all
Reply to author
Forward
0 new messages