POV-Ray : Newsgroups : povray.general : stripes in my color map : Re: stripes in my color map Server Time
30 Jul 2024 00:29:10 EDT (-0400)
  Re: stripes in my color map  
From: clipka
Date: 3 Dec 2010 12:32:36
Message: <4cf929b4@news.povray.org>
Am 03.12.2010 16:04, schrieb Joost:
> clipka<ano### [at] anonymousorg>  wrote:
>
>> Did you try a higher-quality output image format, such as OpenEXR or
>> 16-bit PNG?
>
> I just tried Bits_Per_Color=16, but at least my eye can't spot the difference. I

Many (if not most) image viewers have the same problem as POV-Ray: There 
will normally be a step somewhere when the image data ultimately needs 
to be reduced to 8 bit per channel for the graphics hardware.

Check out "IC" at http://www.lilysoft.org/IC/ic_index.htm - among a lot 
of other cool magic, it does the already mentioned dithering trick to 
deal with that 8-bit bottleneck. It's a kind of combined image viewer / 
converter / swiss army knife.

> cound't find OpenEXR in the POVray documentation. Do I need to install 3.7 for
> that?

Yes. But note that a lot of image processing software can't read OpenEXR 
yet, so I'd have to redirect you to IC there, too - so at least for 
starters you may get just as far with 16-bit PNG and IC.

>> My favorite way of getting rid of these artifacts is to render to
>> OpenEXR, and then use IC to convert to the target 8-bit image format. As
>> IC uses dithering for such conversions, instead of the banding you'll
>> get 1-bit noise, which the human eye does not notice anymore.
>
> Ah, you could be speaking chinese to me with the same effect ;-) If you could
> spare some time to translate that to layman terms, I would very much appriciate
> it.

In layman's terms, it's some image-processing black magic that adds a 
type of artifacts the human eye ignores (noise, i.e. more or less 
randomly brightening or darkening the individual pixels) to avoid or 
hide another type of artifacts the human eye is very sensitive for (the 
banding).

It's easiest when the noise is applied before reducing to 8 bits per 
pixel (otherwise you'll need more noise to hide the banding, possibly so 
much that it would be just as distracting), which is why I let POV-Ray 
render to a 16-bit-per-channel image file (which I prefer over 16-bit 
PNG because it happens to be a high dynamic range format, but that's not 
the main point in this case; for instance, Radiance HDR has proven a 
poor choice for this purpose).


Post a reply to this message

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