vrabaud/sfm_toolbox

Error while using bundlAdjustment function (sba) for `eucsbademo` file

preethamam opened this issue · 1 comments

I am trying to run the eucsbademo file using the sba.mexw32. But it throws the error below:

>> eucsbademo Output argument "ret" (and maybe others) not assigned during call to "sba".

Error in eucsbademo (line 80) [ret, p, info]=sba(npts, 0, ncams, 1, spmask, p0, cnp, pnp, pts2D, 2, 'projRTS', 'jacprojRTS', 100, 1, opts, 'motstr', r0, cal);

All the parameters of the eucsbademo file are kept the same. Please help.

It worked after compiling 64-bit mex file using the -largeArrayDims. So sba.mexw32 throws the above error. Thanks!