Solved

Reconstruction of 3D curves from two 2D projections ...

Posted on 1998-12-16
5
265 Views
Last Modified: 2010-04-27
Hi..

      If I got two projections of a 3D curve on two image planes how to reconstruct the curve.Assuming we know the position and orientaion of those two iamge planes....

      please respond me soon.....

vijay
0
Comment
Question by:vijaybrd_99
5 Comments
 
LVL 1

Expert Comment

by:OeilNoir
ID: 1013722
that's indeed very general.. with what program? or language do you want to do that?
it's likely that the picture format will affect the "how to do it"... give more precision please.
0
 
LVL 8

Expert Comment

by:netmage
ID: 1013723
if you want this answered youi will have to provide all information.

to create the "Z" co-ordinate for 3d with only 2 2d sources available would not be to hard but it will have to intersect at some point and you will have to work out a grid for this.

Perspective will be another problem.
Try to convert you calculations so that you correct one view to being 90 degrees from reference to the other image.
0
 

Author Comment

by:vijaybrd_99
ID: 1013724
OeilNoir....!  & netmage ...!

      Thanq for ur response..

      The problem is that  we will be given 2d points on two image planes which are taken from two different views( may not be 90 degrees)i.e. two diffrent positions and orientaions.We will be given the position and orientation of two image planes and two sets of 2d points( no of points in each set may not the same... meansthere may not be synchronization of cameras on two image planes) of the curve on two image planes.So,how to construct the 3D curve from these 2D points. Focal lengths of two cameras also assumed to be known.

      I want to solve this problem in "C"language on "Unix" operating system.Ofcourse,Language is not the main criterion.U please give good algorithm or mathematical background..
And also suggest me web sites and books that I have to reffer.

     I think U got my point....

      Thanq once again.
vijay
0
 
LVL 10

Accepted Solution

by:
rbr earned 200 total points
ID: 1013725
Assume that the first camera has the right coordinates for x and z
and the second camera is rotated with angular a if a is 90 degrees all will be ok. Then the second camera has the coordinates for y and z. If not you must project
(x1,z1) position of point for camera 1
(y1;z1) position of point for camera 2
(x,y,z)=(x1,y1*cos(90-a),z1)
This should be true id the camera 2 is just rotated around the z-axis and no further rotation around ony other axes. Otherwise it will be a bit more compilcated.
An other problem will be the perspective errors of the camera, but I think they could be neclegted.
0
 
LVL 8

Expert Comment

by:netmage
ID: 1013726
Just thought of a program that was being used at job i was at.

They were using Autocad14.
There must be CAD programs out there for unix.

For what you want, it would just be a matter of creating an intersecting grid and just enter the numbers to scale.
After that it is easy to correct the 3d perspective.

If you really want to do the maths, it sounds like you'll have a hell of a matrix to construct.

Netmage
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
USB Cables 4 50
Webcam indoor recommendation 21 82
Windows 10 Operating system not found. Tried everything 13 73
Phone Dialer 5 36
I use more than 1 computer in my office for various reasons. Multiple keyboards and mice take up more than just extra space, they make working a little more complicated. Using one mouse and keyboard for all of my computers makes life easier. This co…
Great sound, comfort and fit, excellent build quality, versatility, compatibility. These are just some of the many reasons for choosing a headset from Sennheiser.
This video discusses moving either the default database or any database to a new volume.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now