POV-Ray : Newsgroups : povray.binaries.images : Autofocus macro *almost* done... : Re: Autofocus macro *almost* done... Server Time
5 Nov 2024 15:56:58 EST (-0500)
  Re: Autofocus macro *almost* done...  
From: sooperFoX
Date: 5 Mar 2009 07:25:00
Message: <web.49afc40362bb28233e3c08aa0@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...).

First Quartile (Q1) = 25th Percentile.

Heh, I never quite knew when knowing that would come in useful, but there it is
:)

See http://en.wikipedia.org/wiki/Quartile for more info.


Cheers
sooperFoX


Post a reply to this message

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