POV-Ray : Newsgroups : povray.binaries.images : Autofocus macro *almost* done... : Re: Autofocus macro *almost* done... Server Time
1 Aug 2024 00:23:02 EDT (-0400)
  Re: Autofocus macro *almost* done...  
From: Edouard Poor
Date: 4 Mar 2009 04:10:00
Message: <web.49ae442162bb2823bd47b0730@news.povray.org>
"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'
autofocus-sprial.jpg


 

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.