I have been in the process of trying to calibrate two videos taken with two cameras in parallax view using a 0.935m calibration wand.
My steps have been:
1) Cut 2 synced videos down to 10 frames of the same legnth in Kinovea
2) Load DLTdv5 and intitalize both videos (L Camera and R camera).
3) Digitize 4 points per frame for the 10 frames for 40 total points:
-2 points on a light located on either end of of the wand in the L video, and two points locataed on either end of the R video
4) Digitize 20 background points using the same point in each camera with 2 points/frame for ten frames
5) Load easyWand5
6) Load my 40 calibration points
-I get the following message:
Success - 0 wand points shared across 40 cameras were loaded
7) Load my background points
-I recieve the same error message as before
It should be noted that I am using the .csv files MATLAB made when digitizing in steps 3 + 4 for x,y points. The x,y,z .csv files don't appear to have and data in them, just NaN values
8) Enter the wand length 0.935
9) Enter the Image Width, Image Height and calculated FL Estimate in easyWand5
-as mentioned before, easyWand5 is loading my points as 40 separate cameras so I have to do this step for 40 cameras
-I assume I am doing something incorrectly when I am digitizing my intitial callibration file
10) Compute callibraition:
Here I get the following error and this is what I am asking about:
Error using svd
Input to SVD must not contain NaN or Inf.
Error in easyWand5>twoCamCal_v2 (line 2783)
[U,D,V] = svd(E);
Error in easyWand5>sbaCalib_pass2 (line 3915)
[R(:,:,i),tv(:,:,i)] = twoCamCal_v2([ptNorm(:,pCams(i)*2-1:pCams(i)*2), ...
Error in easyWand5>computeCalibrationButton_callback (line 1843)
[c,xyzMat,R,tv,sf,xyzMat2,ptMatu,ptMat2u,f,UoVo,nlin]=sbaCalib_pass2(p_ptMatrm,pp_est,wandLen,p_ptMat2rm,f_est,nlin,optimMode,distortionMode,pCams,uda.pass2Mode);
Error while evaluating UIControl Callback