"Edouard Poor" <pov### [at] edouardinfo> wrote:
> Yeah - I work in a spiral from the center of the image outwards, doing a trace
> at each point. The ones that hit the object get stored in an array. After I've
> finished the spiral, I sort the array based on distance from the camera and
> choose the value at 25% (the, umm, median of the first half - which I presume
> has some statistical name that I either never knew, or long since forgot...).
A picture is worth at least 74 words:
Post a reply to this message
Attachments:
Download 'autofocus-sprial.jpg' (130 KB)
Preview of image 'autofocus-sprial.jpg'
|