opencv - How to determine distance of objects from camera using Epipolar Plane Image? -


i working on converting 2d images 3d environment. images collected video made in lateral motion. images placed 1 behind other, easy find correspondences between 2 images. called spatial-temporal volume.

enter image description here

enter image description here

next take slice spatiotemporal volume. slice called epipolar plane image.

enter image description here

using epipolar plane image, want calculate depth of objects in scene , make 3d enviornment. have listed reference have not been able figure out math described in paper. can me figure out? appreciated.

reference

epipolar-plane image analysis: approach determining structure motion* !

the math in situation easy , straight forward.

first let's define 2 coordinate systems 2 overlapping images taken same camera focal length formula following schema:

luhmann stereonormalfall

let first camera position defined follows:

formula

while it's orientation using 3 euler angles is:

formula

by using definition corresponding rotation matrix identity matrix

formula

the second camera position can defined follows:

formula

and since orientation same first camera, euler angles remain zero:

formula

which means corresponding rotation matrix identity matrix.

formula

if images overlap , orientation same, situation in image space looks this:

luhmann stereonormalfall

here image coordinates , measurement accuracy defined follows:

formula

this geometrical situation can described using intercept theorem:

formula

formula

formula

as see it's not complicated. aware solution not best, since it's base assumption orientation angles same can't fulfilled in reality.

if need accurate have perform bundle adjustment. however, equations used determine approximated solution geometric situation, values used linearize collinearity equations.


Comments

Popular posts from this blog

python - argument must be rect style object - Pygame -

c++ - Qt setGeometry: Unable to set geometry -

How to resolve Delphi error: Incompatible types: 'PWideChar' and 'Pointer' -