prclibo / calibration-toolbox

Multiple-Camera System Calibration Toolbox for Matlab
76 stars 35 forks source link

User-defined Jacobian is not the correct size #5

Open shomedas opened 7 years ago

shomedas commented 7 years ago

I am getting the following error. Your code works with your images and your pattern. Any other image set or pattern gives the following error

_Error using lsqncommon (line 44) User-defined Jacobian is not the correct size: the Jacobian matrix should be 0-by-9.

Camera #2: Adding photo #50... ....Matches: 1232 ....Matches after Homog. Check: 32 ....Matches after smoothness Check: 39 ....39 features kept

Process Calibration Initialize Camera #1... ....Remove 1 invalid photo due to init failure. ... ... _Error using lsqncommon (line 44) User-defined Jacobian is not the correct size: the Jacobian matrix should be 0-by-9.

Error in lsqnonlin (line 236) [xCurrent,Resnorm,FVAL,EXITFLAG,OUTPUT,LAMBDA,JACOB] = ...

Error in CameraCalibrationBase/optimizeCalibration (line 415) [p_res, ~, error] = lsqnonlin(objective, p, [], [], options);

Error in CameraCalibrationBase/calibrate (line 209) obj.optimizeCalibration();

Error in CameraSystemCalibration/initializeVertices (line 142) obj.cameraCalibrations(ci).calibrate();

Error in CameraSystemCalibration/calibrate (line 122) obj.initializeVertices();

Error in main (line 113) obj.calibrate();_

shilaimu commented 5 years ago

hi,shomedas! Have you solved this problem? I meet the same error with you

prclibo commented 5 years ago

Hi is this on the given sample data or your own data?

shilaimu commented 4 years ago

my own data

pys0531 commented 4 years ago

Hi is this on the given sample data or your own data?

hi i meet the same error