close Warning: Can't use blame annotator:
svn blame failed on trunk/src/toolbox_calib/is3D.m: 200029 - Couldn't perform atomic initialization

source: trunk/src/toolbox_calib/is3D.m @ 1053

Last change on this file since 1053 was 926, checked in by sommeria, 8 years ago

geometry cqlib updated

File size: 209 bytes
RevLine 
1function test = is3D(X),
2
3
4Np = size(X,2);
5
6%% Check for planarity of the structure:
7
8X_mean = mean(X')';
9
10Y = X - (X_mean*ones(1,Np));
11
12YY = Y*Y';
13
14[U,S,V] = svd(YY);
15
16r = S(3,3)/S(2,2);
17
18test = (r > 1e-3);
19
Note: See TracBrowser for help on using the repository browser.