1 | % VGG MultiView Compute Library
|
---|
2 | %
|
---|
3 | % Conversions
|
---|
4 | % vgg_KR_from_P - extract K, R from P such that P = K*R*[eye(3) -t]
|
---|
5 | % vgg_F_from_P - fundamental matrix from 2 cameras
|
---|
6 | % vgg_P_from_F - 2 camera matrices from fundamental matrix
|
---|
7 | % vgg_T_from_P - trifocal tensor from 3 cameras
|
---|
8 | % vgg_H_from_2P_plane - inter-image homography from 2 cameras and 3D plane
|
---|
9 | % vgg_H_from_P_plane - projection matrix from image onto 3D plane
|
---|
10 | % vgg_plane_from_2P_H - 3D plane from 2 cameras and inter-image homography
|
---|
11 | %
|
---|
12 | % Multiview tensors from image correspondences
|
---|
13 | % vgg_H_from_x_lin - homography from points in 2 images, linear method
|
---|
14 | % vgg_H_from_x_nonlin - MLE of the above, by nonlinear method
|
---|
15 | % vgg_Haffine_from_x_MLE - MLE of affine transformation from points in 2 images, linear
|
---|
16 | % vgg_F_from_7pts_2img - fundamental matrix from 7 points in 2 images
|
---|
17 | % vgg_PX_from_6pts_3img - cameras and world points from 6 points in 3 images
|
---|
18 | %
|
---|
19 | % Preconditioning for estimation
|
---|
20 | % vgg_conditioner_from_image - conditioning shift+scaling from image dimensions
|
---|
21 | % vgg_conditioner_from_pts - conditioning shift+scaling from image points
|
---|
22 | %
|
---|
23 | % Self-calibration and similar
|
---|
24 | % vgg_signsPX_from_x - swaps signs of P and X so that projection scales are positive
|
---|
25 | % vgg_selfcalib_qaffine - quasi-affine from projective reconstruction
|
---|
26 | % vgg_selfcalib_metric_vansq - metric from projective and 3 orthogonal principal directions and square pixels
|
---|
27 | %
|
---|
28 | % Estimation
|
---|
29 | % vgg_X_from_xP_lin - 3D point from image projections and cameras, linear
|
---|
30 | % vgg_X_from_xP_nonlin - MLE of that, non-linear method
|
---|
31 | % vgg_line3d_from_lP_lin - 3D line segment from image line segments and cameras, linear
|
---|
32 | % vgg_line3d_from_lP_nonlin - MLE of that, non-linear method
|
---|
33 | %
|
---|
34 | % 3D lines representations
|
---|
35 | % vgg_line3d_pv_from_XY - Pluecker vector from 2 points on the line
|
---|
36 | % vgg_line3d_pv_from_pm - Pluecker matrix from Pluecker vector
|
---|
37 | % vgg_line3d_pm_from_pv - Pluecker vector from Pluecker matrix
|
---|
38 | % vgg_line3d_Ppv - rearrange camera matrix to project Pluecker vector to image line
|
---|
39 | % vgg_line3d_pv_from_2planes - Pluecker vector from 2 planes meeting in the line
|
---|
40 | % vgg_line3d_XY_from_pm - 2 points on 3D line from Pluecker matrix
|
---|
41 | % vgg_line3d_XY_from_pv - 2 points on 3D line from Pluecker vector
|
---|
42 | % (vgg_contreps - dual of Pluecker matrix of 3D line)
|
---|
43 | %
|
---|
44 | % Auxiliary & miscellaneous
|
---|
45 | % vgg_get_homg - adding row of ones
|
---|
46 | % vgg_get_nonhomg - dividing by the final coordinates
|
---|
47 | % vgg_projective_basis_2d
|
---|
48 | % vgg_rms_error
|
---|
49 | % vgg_scatter_plot_homg
|
---|
50 | % vgg_scatter_plot
|
---|