2

I am working on converting 2d images to 3d environment. The images were collected from a video made in a lateral motion. Then the images were placed one behind the other, so it would be easy to find the correspondences between the two images. This is called a spatial-temporal volume.

enter image description here

enter image description here

Next I take a slice from the spatiotemporal volume. That slice is called the Epipolar Plane Image.

enter image description here

Using the Epipolar Plane Image, I want to calculate the depth of the objects in the scene and make a 3D enviornment. I have listed the reference but I have not been able to figure out the math described in the paper. Can someone help me figure this out? Any help is appreciated.

Reference

Epipolar-Plane Image Analysis: An Approach to Determining Structure from Motion* !

Pete
  • 754
  • 2
  • 13
  • 27

1 Answers1

0

The math in this situation is easy and straight forward.

First let's define two the coordinate systems for two overlapping images taken by the same camera with the focal length formula with the following schema:

Luhmann Stereonormalfall

Let us say that first camera position is defined as follows:

formula

While it's orientation by using three Euler angles is:

formula

By using this definition the corresponding rotation matrix is the identity matrix

formula

The second camera position can be defined as follows:

formula

And since the orientation is the same as the first camera, all Euler angles remain zero:

formula

Which also means that the corresponding rotation matrix is the identity matrix.

formula

If the images overlap and the orientation is the same, the situation in the image space looks like this:

Luhmann Stereonormalfall

Here the image coordinates and their measurement accuracy are defined as follows:

formula

This geometrical situation can be described by using the Intercept Theorem:

formula

formula

formula

As you see it's not complicated. But be aware that this solution is certainly not the best, since it's base assumption that all orientation angles are the same can't be fulfilled in reality.

If you need to be accurate then you have to perform an bundle adjustment. However, this equations are often used to determine the approximated solution for this geometric situation, where the values are used to linearize the collinearity equations.

nali
  • 481
  • 1
  • 3
  • 16
  • thank you for your response, but according to the paper, the slope of the lines in the EPI is used to find the X Y Z of some point and I can't figure that out – Pete Jul 28 '15 at 23:01
  • In your original post you wrote: "I am working on converting 2d images to 3d environment." This can be done as usual, so no need for special solutions from this paper. Epipolar geometry is used to solve the correspondence between such points. However, this is not necessary in many cases. For instance if you use coded targets to pre allign your network or such geometric configurations. – nali Jul 30 '15 at 09:15