Creating 3d coordinates from stereoscopic images

AI Thread Summary
The discussion focuses on creating 3D coordinates from stereoscopic images using two identical cameras positioned on the x-axis. The main challenge is converting 2D coordinates and depth information into a 3D (x, y, z) format, where depth corresponds to the z-coordinate. Key points include the need to understand the relationship between the camera separation (s), the distance from the pinhole to the image plane, and the offsets of the point object in both images. Participants suggest using formulas and resources to help derive the coordinates, emphasizing the importance of calibration for accurate results. The conversation highlights the mathematical relationships necessary for successful 3D coordinate generation from stereoscopic data.
steven77723
Messages
4
Reaction score
0
Hi, I'm working on a project that would take a 3d image using stereocopic camera and would record the depth and the 2d (x1,y1) , (x2,y2) coordinates of a single point in the image. The depth is found using the focal point, disparity, and the distance between the difference the camera sees on the point.

I was wondering if there is a formula that would convert this point into a (x,y,z) coordinate. I'm stuck because even if the physical location of the point may be different, the camera would reply with a different depth, but same x,y values.

Thanks,
 
Engineering news on Phys.org
isn't the depth the z coordinate? Could you be more specific about what you are imaging, and maybe include some kind of illustration?
 
Is this a correct description of the problem ?

You have two identical cameras. The pinholes of those cameras are positioned on the x-axis, the first at the origin, looking along the z-axis, with the second camera, at x = s, with camera 2 optical axis parallel to that of camera 1.

The images from the two cameras each have a cardinal reference point, defined by the intersection of the image and the optical axis. A point object, visible on both images is located relative to the reference point; on image #1 at (x1, y1), and on image #2 at (x2, y2).

Find the position of the point object(x, y, z), given s, and the (x1, y1) and (x2, y2) offsets.

Do you have the distance of the pinhole from the image plane?
 
Baluncore, Thats exactly how I should've worded it.
The distance from the pinhole to image plane is roughly about 50cm, but I want it to work for any value.
 
steven77723 said:
The distance from the pinhole to image plane is roughly about 50cm, but I want it to work for any value.

The x-coordinate is a function of s.

The z-coordinate is a function of the image plane to pinhole distance.
With a lens, that is the focal length only when focussed at infinity.
Let's be slack and just call it f.

So you must be able to somehow measure or calibrate f, against your camera separation, s.

Draw a view of the object and image placement in the x-z plane and you will see it is ratiometric.
x = s * x1 / (x1+x2), I will let you sort out the sign of the x values.
z = f * ?, and the y = ? values.

See the post#4 references from blainiac.
 
  • Like
Likes 1 person
Hi all, I have a question. So from the derivation of the Isentropic process relationship PV^gamma = constant, there is a step dW = PdV, which can only be said for quasi-equilibrium (or reversible) processes. As such I believe PV^gamma = constant (and the family of equations) should not be applicable to just adiabatic processes? Ie, it should be applicable only for adiabatic + reversible = isentropic processes? However, I've seen couple of online notes/books, and...
Thread 'How can I find the cleanout for my building drain?'
I am a long distance truck driver, but I recently completed a plumbing program with Stratford Career Institute. In the chapter of my textbook Repairing DWV Systems, the author says that if there is a clog in the building drain, one can clear out the clog by using a snake augur or maybe some other type of tool into the cleanout for the building drain. The author said that the cleanout for the building drain is usually near the stack. I live in a duplex townhouse. Just out of curiosity, I...
I have an engine that uses a dry sump oiling system. The oil collection pan has three AN fittings to use for scavenging. Two of the fittings are approximately on the same level, the third is about 1/2 to 3/4 inch higher than the other two. The system ran for years with no problem using a three stage pump (one pressure and two scavenge stages). The two scavenge stages were connected at times to any two of the three AN fittings on the tank. Recently I tried an upgrade to a four stage pump...
Back
Top