Changeset View
Changeset View
Standalone View
Standalone View
intern/libmv/libmv/multiview/panography.h
| Show All 32 Lines | |||||
| // http://www.cs.ubc.ca/~mbrown/minimal/minimal.html | // http://www.cs.ubc.ca/~mbrown/minimal/minimal.html | ||||
| // | // | ||||
| // [1] M. Brown and R. Hartley and D. Nister. Minimal Solutions for Panoramic | // [1] M. Brown and R. Hartley and D. Nister. Minimal Solutions for Panoramic | ||||
| // Stitching. CVPR07. | // Stitching. CVPR07. | ||||
| // | // | ||||
| // The 2-point algorithm solves for the rotation of the camera with a single | // The 2-point algorithm solves for the rotation of the camera with a single | ||||
| // focal length (4 degrees of freedom). | // focal length (4 degrees of freedom). | ||||
| // | // | ||||
| // Compute from 1 to 3 possible focal lenght for 2 point correspondences. | // Compute from 1 to 3 possible focal length for 2 point correspondences. | ||||
| // Suppose that the cameras share the same optical center and focal lengths: | // Suppose that the cameras share the same optical center and focal lengths: | ||||
| // | // | ||||
| // Image 1 => H*x = x' => Image 2 | // Image 1 => H*x = x' => Image 2 | ||||
| // x (u1j) x' (u2j) | // x (u1j) x' (u2j) | ||||
| // a (u11) a' (u21) | // a (u11) a' (u21) | ||||
| // b (u12) b' (u22) | // b (u12) b' (u22) | ||||
| // | // | ||||
| // The return values are 1 to 3 possible values for the focal lengths such | // The return values are 1 to 3 possible values for the focal lengths such | ||||
| ▲ Show 20 Lines • Show All 52 Lines • Show Last 20 Lines | |||||