Distance metering using laser
...
Distance D can be calculated with formula:
In this formula the h is constant distance between laser and camera. Theta is calculated from:
θ = pfc*rpc+ro
Where:
pfc = Number of Pixels From Center of focal plane
rpc = Radians per pixel pitch
ro = Radian Offset (compensates for alignment errors)
So the final equation would be:
To cut out the amount of data that needs to be processed the image frame can be cropped to save only pixel area where the laser dot can be.
...