Stereoscopic Images and Distance Between Objects

Click For Summary
SUMMARY

This discussion focuses on measuring the distance between two objects using stereoscopic images captured by a stereoscopic camera. The user seeks to determine the distance from object1 to object2 by leveraging known distances from the camera to each object and calculating the angle between them. The Cosine Rule is identified as a potential method for solving this problem, provided the angle subtended between the objects can be accurately measured. Calibration of the imaging system is essential to account for lens distortion and ensure precise measurements.

PREREQUISITES
  • Stereoscopic imaging techniques
  • Understanding of the Cosine Rule in trigonometry
  • Calibration methods for camera systems
  • Knowledge of parallax measurement
NEXT STEPS
  • Research calibration techniques for stereoscopic cameras
  • Learn about parallax measurement in stereoscopic imaging
  • Explore the application of the Cosine Rule in 3D geometry
  • Investigate methods to measure angles in stereoscopic images
USEFUL FOR

Photographers, 3D modelers, and engineers interested in spatial measurements using stereoscopic imaging techniques.

Simcha
Messages
4
Reaction score
0
Hello Experts,

I leaned that using a sterescopic cameras (generates 2 photos) one can measure the distance to any object in the image produced by the camera.

For example, if I take a picture of a lamp post using a stereoscopic method, I can determine the Distance from the camera to the lamp post.

My question is as follows:
If I take a picture of two objects: object1 and object2 - BOTH of them in the SAME stereoscopic image(s). I can therefore determine the distance from the camera to object1 and distance from camera to object2.

Is there a way for me to get the distance FROM object1 to object2?

We can look at the problem in the following way: I have an origin - my camera. I have 2 points in space - to which I know the distances. This produces a triangle. In order for me to figure out the entire triangle I need 2 sides and one angle.

How do I get the angle between my object1 and object2 from the perspective of the camera? (my 3 points are camera, xyz of object1, and xyz of object2).
 
Science news on Phys.org
This is difficult without a diagram to work from but, if you know the distances from the camera and if you can tell the angle subtended between the images*, you would have a triangle with two known side lengths and the angle between. That sounds to me like you could use the Cosine Rule.

*To find the angle subtended, you could calibrate your imagining system, for a number of known angles and the separation of points relative to the whole width of the image. You might need to test for barrel or pincushion distortion (pictures of a square grid) if accuracy is very important and calibrate at different points in the whole field.
[Edit: If the focal length of the lens is known and the actual size of the image sensor is known, you could work out the angle directly but That could be difficult where the object distance is short because camera lenses are not a single, flat lens and I don't know how to work out the actual geometry - easier to calibrate with known distances and angles. I think.
 
Simcha said:
<snip>

Is there a way for me to get the distance FROM object1 to object2?

We can look at the problem in the following way: I have an origin - my camera. I have 2 points in space - to which I know the distances. This produces a triangle. In order for me to figure out the entire triangle I need 2 sides and one angle.

How do I get the angle between my object1 and object2 from the perspective of the camera? (my 3 points are camera, xyz of object1, and xyz of object2).

My understanding of this type of analysis involves measurement of 'parallax':

http://www.crssa.rutgers.edu/courses/airphoto/airphoto7_files/frame.htm

Not sure if you can obtain object-object distances, tho. My guess is that you can as long as you are able to account for projection errors.
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
1K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 11 ·
Replies
11
Views
1K
  • · Replies 17 ·
Replies
17
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
3
Views
2K