POV-Ray : Newsgroups : povray.advanced-users : 24 and 32 bit heightfields : Re: 24 and 32 bit heightfields Server Time
1 Jul 2024 05:58:41 EDT (-0400)
  Re: 24 and 32 bit heightfields  
From: clipka
Date: 29 Oct 2009 08:31:21
Message: <4ae98b19$1@news.povray.org>
SharkD schrieb:
> On 10/28/2009 11:01 PM, Mike Williams wrote:
>> It will not be possible to find graphics applications that
>> would be able to manipulate the image as if it were greyscale.
> 
> What can you do in grayscale that you can't do in RGB?
> 
> Let's say that instead of 8 bits per channel, each channel instead only 
> held 10 values, from 0 through 9. You could then represent the three 
> channels as a decimal value between 0.000 and 0.999 with each channel 
> corresponding to a decimal place.
> 
> If you had two "colors" (color is actually meaningless here), 0.345 and 
> 0.765, "blurring" them would result in the average, or 0.555, which is a 
> valid result.

Not so for, say, 0.500 and 0.600: Obviously the proper result should be 
0.550, but averaging on a per-digit base would yield 0.500 or 0.600, 
depending on your rounding mode.


Post a reply to this message

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