source: proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/zisserman/vgg_multiview/vgg_line3d_XY_from_pm.m @ 37

Last change on this file since 37 was 37, checked in by (none), 14 years ago

Added original make3d

  • Property svn:executable set to *
File size: 452 bytes
Line 
1% XY = vgg_line3d_XY_from_pm(L)  Converts Pluecker matrix 3d line to a pair of homogeneous 3d points.
2%
3% L ... double(4,4), skew-symmetric Pluecker matrix of 3d line
4% XY ... double(4,2), pair of 3d points spanning the line, in homogen. coordinates
5%
6% XY are obtained by svd, their homogeneous vectors are mutually orthogonal.
7
8% T.Werner
9
10function XY = vgg_line3d_XY_from_pm(L)
11
12[u,s,v] = svd(vgg_contreps(L),0);
13XY = u(:,3:4);
14
15return
Note: See TracBrowser for help on using the repository browser.