POV-Ray : Newsgroups : povray.unofficial.patches : Another post_process idea : Re: Another post_process idea Server Time
2 Sep 2024 12:19:40 EDT (-0400)
  Re: Another post_process idea  
From: Peter Popov
Date: 26 Apr 2000 16:00:32
Message: <t0iegs0o3sm0ebto2qcv84npae607v7mfc@4ax.com>
On Wed, 26 Apr 2000 14:44:46 -0500, Chris Huff
<chr### [at] yahoocom> wrote:

>What is that supposed to do, other than just lightening or (with 
>negative values) darkening the image? Maybe I misunderstood you...but it 
>sounds like adding in a gray "pixel" with an intensity equal to the 
>levelling value.

Glad you implemented it. Its purpose is to control contrast while the
divisor is used to control brightness (generally speaking). It is
expecially useful if the divisor differs from the sum of the cells of
the convolution matrix. For example this:

<0,1,0,
 1,5,1,
 0,1,0>

will make a slight blur with a divisor of 9. If you lower the divisor,
the image gets brighter. Adding an offset of about 0.8 puts the
brightness back to about where it was but with a much increased
contrast. It works in the reverse direction, too, with a higher
divisor and negative offset.


Peter Popov ICQ : 15002700
Personal e-mail : pet### [at] usanet
TAG      e-mail : pet### [at] tagpovrayorg


Post a reply to this message

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