Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Buggy demoSfm.m. #3

Open
preethamam opened this issue Jul 30, 2021 · 0 comments
Open

Buggy demoSfm.m. #3

preethamam opened this issue Jul 30, 2021 · 0 comments

Comments

@preethamam
Copy link

preethamam commented Jul 30, 2021

I followed your guidelines and installed all the recommended libraries. When I run the demoSfm.m, there are bunch of errors as below:
`>> demoSfm(1)
Demos of various functions in SFM toolbox.
Steps marked w '*' or '**' may take time, please be patient.

demoSfm(2)
Demos of various functions in SFM toolbox.
Steps marked w '*' or '**' may take time, please be patient.


BEGIN DEMO 2: Homography with missing entries and bundle adjustment example
Create points and random view
Error using sba
sba: error loading dynamic library C:\Users\User\Documents\MATLAB\toolbox\sfm_toolbox\sfm\private\sba\sbaProjection64.dll!

Error in bundleAdjustmentx (line 187)
[ ret, P, info ] = sba( anim.nPoint, 0, anim.nFrame, nFrameFixed, WMask+0.0, ...

Error in demoSfm>demo2 (line 103)
[ anim ] = bundleAdjustmentx( anim );

Error in demoSfm (line 41)
eval(['demo' int2str(demoNumber) '()']);


Press (n) to continue to next demo or (r) to repeat demo
Anything else will quit the demo
demoSfm(2)

demoSfm(3)
Demos of various functions in SFM toolbox.
Steps marked w '*' or '**' may take time, please be patient.


BEGIN DEMO 3: Orthographic absolute orientation computation
Generate some random rigid data
The absolute orientation between two noisy 3D shapes gives a difference of:
Rotation Difference

ans =

-0.0119 0.0655 -0.0297
0.0369 0.0341 0.0412
-0.0243 -0.0036 -0.0313

Translation Difference

ans =

-0.0053
0.0129
-0.0065

Scale Difference

ans =

0.0293

(Overall close to identity)
END OF DEMO 3.

Press (n) to continue to next demo or (r) to repeat demo
Anything else will quit the demo
demoSfm(4)

demoSfm(3)
Demos of various functions in SFM toolbox.
Steps marked w '*' or '**' may take time, please be patient.


BEGIN DEMO 3: Orthographic absolute orientation computation
Generate some random rigid data
The absolute orientation between two noisy 3D shapes gives a difference of:
Rotation Difference

ans =

-0.0203 0.0131 -0.0109
0.0028 0.0425 -0.0196
0.0442 0.0082 0.0063

Translation Difference

ans =

0.0177
0.0085

-0.0145

Scale Difference

ans =

-0.0036

(Overall close to identity)
END OF DEMO 3.

Press (n) to continue to next demo or (r) to repeat demo
Anything else will quit the demo
n
Demos of various functions in SFM toolbox.
Steps marked w '*' or '**' may take time, please be patient.

BEGIN DEMO 4: Orthographic exterior orientation computation
Generate some random rigid data
*Compute the exterior orientation using Gloptipoly 3
Warning: GloptiPoly3 not installed or Gloptypoly crashed,using ePnP

In computeOrientation (line 134)
In demoSfm>demo4 (line 160)
In demoSfm (line 41)
In demoSfm (line 48)
Reference to a cleared variable R.

Error in computeOrientation (line 143)
if any(isnan(R))

Error in demoSfm>demo4 (line 160)
[R t] = computeOrientation( animGT.S(:,:,1),animGT.W(:,:,t0),...

Error in demoSfm (line 41)
eval(['demo' int2str(demoNumber) '()']);

Error in demoSfm (line 48)
if demoNumber<9; demoSfm(demoNumber+1); end

demoSfm(4)
Demos of various functions in SFM toolbox.
Steps marked w '*' or '**' may take time, please be patient.


BEGIN DEMO 4: Orthographic exterior orientation computation
Generate some random rigid data
*Compute the exterior orientation using Gloptipoly 3
Warning: GloptiPoly3 not installed or Gloptypoly crashed,using ePnP

In computeOrientation (line 134)
In demoSfm>demo4 (line 160)
In demoSfm (line 41)
Reference to a cleared variable R.

Error in computeOrientation (line 143)
if any(isnan(R))

Error in demoSfm>demo4 (line 160)
[R t] = computeOrientation( animGT.S(:,:,1),animGT.W(:,:,t0),...

Error in demoSfm (line 41)
eval(['demo' int2str(demoNumber) '()']);

demoSfm(5)
Demos of various functions in SFM toolbox.
Steps marked w '*' or '**' may take time, please be patient.


BEGIN DEMO 5: Orthographic rigid SFM examples
Generate some random rigid data
Error using set
Unrecognized property Visible for class Root.

Error in cloudInterface (line 145)
set(hGT{i}(1),'Visible',offon{1+userData.showGT});

Error in playAnim (line 126)
cloudInterface(-1,struct('Key',int2str(userData.camMode)));

Error in demoSfm>demo5 (line 185)
playAnim( animGT, 'frame', 1, 'nCam', 20 );

Error in demoSfm (line 41)
eval(['demo' int2str(demoNumber) '()']);

demoSfm(6)
Demos of various functions in SFM toolbox.
Steps marked w '*' or '**' may take time, please be patient.


BEGIN DEMO 6: Simple bundle adjustment with calibration parameters
Generate some random rigid data
Bundle adjustment with several calibration matrices
Error using quaternionBase
Expected input to be two-dimensional.

Error in matlabshared.rotations.internal.quaternionBase (line 45)
validateattributes(arg, {'double', 'single'}, ...

Error in quaternion (line 102)
[email protected](varargin{:});

Error in demoSfm>demo6 (line 296)
R0 = quaternion(quaternion(animGT.R)+randn(4,nFrame)*0.001);

Error in demoSfm (line 41)
eval(['demo' int2str(demoNumber) '()']);

demoSfm(7)
Demos of various functions in SFM toolbox.
Steps marked w '*' or '**' may take time, please be patient.


BEGIN DEMO 7: Rigid SFM examples with calibrated projective cameras.
Error using set
Unrecognized property Visible for class Root.

Error in cloudInterface (line 145)
set(hGT{i}(1),'Visible',offon{1+userData.showGT});

Error in playAnim (line 126)
cloudInterface(-1,struct('Key',int2str(userData.camMode)));

Error in demoSfm>demo7 (line 334)
playAnim( animGT, 'frame', 1, 'nCam', 20 );

Error in demoSfm (line 41)
eval(['demo' int2str(demoNumber) '()']);

demoSfm(8)
Demos of various functions in SFM toolbox.
Steps marked w '*' or '**' may take time, please be patient.


BEGIN DEMO 8: Rigid SFM examples with uncalibrated projective cameras.
Error using set
Unrecognized property Visible for class Root.

Error in cloudInterface (line 145)
set(hGT{i}(1),'Visible',offon{1+userData.showGT});

Error in playAnim (line 126)
cloudInterface(-1,struct('Key',int2str(userData.camMode)));

Error in demoSfm>demo8 (line 414)
playAnim( animGT, 'frame', 1, 'nCam', 20 );

Error in demoSfm (line 41)
eval(['demo' int2str(demoNumber) '()']);

demoSfm(9)
Demos of various functions in SFM toolbox.
Steps marked w '*' or '**' may take time, please be patient.


BEGIN DEMO 9: Rigid SFM examples with missing measurements.
Computing several reconstructions on 10 frames with 50 noisy features, 10% of them missing.
Error using svd
First input must be single or double.

Error in rank (line 14)
s = svd(A);

Error in lowRankDecomposition (line 90)
if rank(goodRow)<4; continue; end

Error in computeSMFromWAffine (line 74)
[PStack,S]=lowRankDecomposition(WStack,4);

Error in computeSMFromW (line 149)
[P,S] = computeSMFromWAffine( W, method, onlyErrorFlag );

Error in demoSfm>demo9 (line 462)
anim{1,1} = computeSMFromW( animGT.isProj, ...

Error in demoSfm (line 41)
eval(['demo' int2str(demoNumber) '()']);`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant