06-05-2008 11:09 AM
06-09-2008 08:54 AM
06-10-2008 03:34 AM
06-10-2008 03:36 AM
03-21-2009 05:27 AM
Hi!
I'm dealing with a similar problem but related with another application.
Did you manage to get a solution for your problem?
If so, can you share it?
Thanks in advance.
Best regards!
03-23-2009 04:38 AM
Hi Goju,
I used the Matlab Camera Calibration Toolbox http://www.vision.caltech.edu/bouguetj/calib_doc/ for the calculation of the camera intrinsic parameters. The parameters are stored into a.m file. Then I have a set of VIs that use this information to transform coordinates from distorted to undistorted to normal (and all ways round), as well as image-undistortion or image distortion VIs. A zip file containing these Vis is attached to the message. Do not hesitate to contact me in case of questions/remarks.
Laurent
03-23-2009 05:12 AM
Lolon,
thank you very much. That's exactly what I was looking for.
I've already thought of doing the same but you've just saved me a lot of work and time... 😉
Best regards.
03-23-2009 06:42 AM
Lolon,
just one question.
With your VI's is it possible to calculate the z coordinate (xw, yw, zw) in the real world of an image point (xi, yi)?
thank you very much in advance!
Best regards!
03-23-2009 08:09 AM
Hi Goju,
With a fixed (i.e. not moving) single camera it is not possible to calculate the 3D position of a point. You have to keep in mind that a camera is a projection of a point on a plane (pin-hole camera model). However, it is possible to calculate the 3D coordinates of points using two cameras (stereo-vision) (or a single moving camera). You can also use known visual features (rulers, points, etc.) placed in your image for the spatial calibration.
Good luck !
Laurent
03-23-2009 08:40 AM
Lolon,
you're completely right.
My setup comprises a camera and a light projector.
Although, I'm still not seeing how can I extract the 3D info with that setup 😞 How can I calibrate the projector?
This link shows +/- what I'm intending to do:
http://eia.udg.es/~qsalvi/codedLight.mpeg
Any help?
Thank you very much in advance.
Best regards