Anton Erasmus wrote:
> On Sat, 10 Sep 2005 13:18:00 +1000, "Favne Reas" <> wrote:
>
>
>>Hello Everybody,
>>
>>I want to get expert opinions about how we can find/measure the position of
>>a few millisecond long laser spot on an A4 size of target area.
>>
>>Although my application notting to do with shooting, using the "laser target
>>shooting" analogy will help. In these days we can buy small red laser diodes
>>just for few dolars. Assume we have one of them. The Laser diode will be
>>connected to a microcontroller which will trigger (turn on and off for few
>>millisecond) the diode. (If required, I think we can also modulate the laser
>>diode for few KHz ).
>>
>>We will point this laser and trigger to a target area of approximatelly
>>20x30 cm in size and at a distance of 25-50meters. Now the question; on the
>>target, how we can find the position of this laser spot?
>>
>>I know there are some laser shooting targets which practically doing this.
>>How they work?
>
>
> How accurate do you need this position ? What sort of precision do you
> need ? Must the target be portable ? At one end of the spectrum you
> need lots of sensors in a grid, which can be read. On the other end of
> the spectrum, you can use optics + mechanics to direct the beam into a
> sensor. Based on time, and the mechanical position you can determine
> position.
>
> Regards
> Anton Erasmus
With a webcam, (or video camera + frame grabber) a cheap spotting scope
or telephoto lens, and a pc you can resolve the position of a light
flash on a screen to a resolution of about 1 part in 500 of the
dimensions of the screen in both axis. The target can be any difuse
reflective surface like a sheet of paper or even a completly random
background. I've written software which can measure the positon of a
spot on a video image to better than one pixel using centroiding but for
a different application and not available for distribution. Still, it's
within the capability of any decent programmer. Cost for all the
hardware except a typical P4 PC should be under $300. Higher resolution
and faster camers are available with digital interfaces but cost more.
You can download source code for the program "gspy" from
http://gspy.sourceforge.net which runs under Linux.
While it is intended as a securiity camera program it has all the
routines to grab and analyze video images and to locate groups of
adjacent pixels which change. It's close to what's needed for the above
application.