Linear Intersection for a Stereo Pair
There are two images.Object point vs. image point, in the first image:
(XYZ)=(X0aY0aZ0a)+λaRa(xaya−fa)
Object point vs. image point, in the second image:
(XYZ)=(X0bY0bZ0b)+λbRb(xbyb−fb)
Therefore,
(X0bY0bZ0b)−(X0aY0aZ0a)=λaRa(xaya−fa)−λbRb(xbyb−fb) (r11axa+r12aya−r13afa−r11bxb−r12byb+r13bfbr21axa+r22aya−r23afa−r21bxb−r22byb+r23bfbr31axa+r32aya−r33afa−r31bxb−r32byb+r33bfb)=(X0b−X0aY0b−Y0aZ0b−Z0a)
where, (X Y Z)T are object coordinates,
(X0a Y0a Z0a)T, (X0b Y0b Z0b)T, Ra, and Rb denote positoions and attitudes of two images. (xa ya −fa)T and (xb yb −fb)T are photo coordinates of each image. If two images are obtained by a camera, fa=fb.
In the equation (4), there are two unknowns (λa and λb) and three linear equations. Once λa and λb are determined, we get two sets of object coordinates from two scale factors and can use mean values of them.
General Case: Linear Intersection for Multiple Images
(XYZ)−λ1R1(x1y1−f1)=(X01Y01Z01)(XYZ)−λ2R2(x2y2−f2)=(X02Y02Z02)⋮(XYZ)−λnRn(xnyn−fn)=(X0nY0nZ0n)]Threrefore,
(100−r111x1−r121y1+r131f1⋯010−r211x1−r221y1+r231f1⋯101−r311x1−r321y1+r331f1⋯1000−r112x2−r121y2+r132f2⋯0100−r212x2−r222y2+r232f2⋯0010−r312x2−r322y2+r332f2⋯⋮10000⋯−r11nxn−r12nyn+r13nfn01000⋯−r21nxn−r22nyn+r23nfn00100⋯−r31nxn−r32nyn+r33nfn)(XYZλ1λ2⋮λn)=(X01Y01Z01X02Y02Z02λ2⋮X0nY0nZ0n)
In the equation (6), there are (3+n) unknowns ((XYZ)T, and 3n equations. If there are 2 or more than 2 images, there should be redundancy.
No comments:
Post a Comment