Hi, Sean, thanks for your reply. I think I probably made a mistake somewhere. Here is how I tested the provided images with 4 cameras from their website (
http://cmp.felk.cvut.cz/~svoboda/SelfCal/SampleData/).
As I am using Matlab, I used a configuration file path as the input of the read_configuration() inside im2points.m. My configuration file is like the following:
[Paths]
Data: C:/Users/Rui/Documents/MATLAB/MultiCamSelfCal-master/MultiCamSelfCal/FindingPoints/TestDataOneSide.images_only
Camera-Filename: arctic%d
[Files]
Image-Name-Prefix: arctic%d.pvi.*.
Basename: arctic
Num-Cameras: 4
Num-Projectors: 0
projector-Data: files.txt
Image-Extension: jpg
[Images]
LED_Size: 7
LED_Color: green
Subpix:0.3333
Camera_Resolution: 640 480
Projector_Resolution: 640 480
[Calibration]
Num-Cameras: 4
Num-Projectors: 0
Nonlinear-Parameters: 30 0 1 0 0 0
Nonlinear-Update: 1 0 1 0 0 0
Initial-Tolerance: 10
Do-Global-Iterations: 0
Global-Iteration-Threshold: 0.5
Global-Iteration-Max: 100
Num-Cameras-Fill: 2
Do-Bundle-Adjustment: 1
Undo-Radial: 0
Min-Points-Value: 30
N-Tuples: 3
Square-Pixels: 1
TestDataOneSide.images_only contains 4 folders arctic1, arctic2, arctic3 and arctic4, each folder contains 500 images . Image name is like: arctic1.pvi.0000.jpg
I typed im2points in matlab command window to run it. Then I got this:
Error using read_configuration (line 124)
could not open points data file "points.dat"
Error in im2points (line 22)
config = read_configuration('../../strawlab/test-data/cam4sample/cam4sampletest');
I am wondering where you put those images and what on earth is the input you set for the read_configuration() function inside im2points.m?
Again, thanks for your reply, Sean. Waiting for your reply, man.
-Rui