03-02-2010 11:41 AM
03-03-2010 12:00 AM
03-03-2010 07:43 AM
Hello Pasca21
You will not be able to use the intensity to determine the distance as the intensity could also change when the light is rotated unless you use a perfect omnidirectional light source. The other problem you will face with this is that the light intensity will not vary greatly over a large distance. And might only work as long as the camera is not being saturated. To determine distance you need to use some form of triangle. This can be done using two lights like a Wiimote and measuring the apparent distance between them or using two cameras and performing stereo vision calculations like they have done here http://www.cs.cmu.edu/~clz/stereo.html
Using two lights is easier as the two camera need to be aligned precisely.
With regards
Phil
03-03-2010 09:01 AM
No, im just using a fresnel spot light and the camera is mounted over it, i have been looking and i dont think there is a way to do it with just one camera.