Laserdetection #2

Wednesday 24 March 2010 at 8:18 pm. Used tags:

After calculating the line-data from the delta-image of the webcam, I figured out how to get to 3D-Coordinates from all data that is given:

  • I know the position of the Line-Laser
  • I know the rotation of the Laser
  • I know the opening angles of the camera
  • I know the lit pixels on screen

I made the model a bit simpler by assuming that the line-laser is absolutely vertical and is represented by a plane in space. The lit pixel from my screen is representing a ray through space. That ray can be calculated, if you know the opening angles of the camera.

The Intersection between the ray (from pixeldata) and the plane of the line-laser is a 3d-point in the real world where an object is actually scanned.

I used Java3D to represent the points in space. I will test it with a real laser and some motors to control the laser tomorrow. Here is an actual screenshot:

Stay tuned :-)

No comments



Emoticons

This is used to protect this website from spamming computers:
 

Remember personal info?
Hide email
Small print: All html tags except <b> and <i> will be removed from your comment. You can make links by just typing the url or mail-address.