source: proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/zisserman/vgg_multiview/vgg_line3d_pv_from_2planes.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: 584 bytes
Line 
1% L = vgg_line3d_pv_from_2planes(A,B) Pluecker vector of 3d line met by two planes.
2%
3% Syntax: L = vgg_line3d_pv_from_2planes(A,B) or
4%         L = vgg_line3d_pv_from_2planes(AB)
5%
6% A, B ... size (N,4), 3d planes
7% AB ... size (2*N,4), N pairs of 3d planes. It is AB = [A1; B1; A2; B2; ... ; AN; BN].
8% L ... size (N,6), line(s) in Pluecker vector.
9%
10% It is vectorized for N>1.
11
12% T.Werner
13
14function L = vgg_line3d_pv_from_2planes(A,B)
15
16if nargin == 1
17  L = vgg_line3d_pv_from_XY(A');
18else
19  L = vgg_line3d_pv_from_XY(A',B');
20end
21L = L(:,[4:6 1:3]);
22 
23return
Note: See TracBrowser for help on using the repository browser.