Path: SpacecraftEstimation/RelativeState
% Finds the transformation matrix and relative position given at least 7 points in the world and the corresponding points in the imager. It also computes the focal plane parameters. -------------------------------------------------------------------------- Form: [b, t, fX, fY] = RelativeStateFromPoints( rW, rF ) -------------------------------------------------------------------------- ------ Inputs ------ rW (3,:) Points in the world frame rF (2,:) Same points in the imager plane ------- Outputs ------- b (3,3) Transform matrix t (3,1) Offset fX (1,1) X focal length/imager x width fY (1,1) Y focal length/imager y width -------------------------------------------------------------------------- Reference: Trucco, E. and A. Verri, "Introductory Techniques for 3-D Computer Vision," Prentice-Hall, pp. 125-130. --------------------------------------------------------------------------
Common: Quaternion/Q2Mat Common: Quaternion/QRand Math: Linear/Cross Math: Linear/DupVect Math: Linear/Mag Math: Linear/Unit
Back to the SpacecraftEstimation Module page