Re: Correct implementation of RGB channel decorrelation



As said above, having 8 bit channels R-G and B-G would require 9 bits.
So, how can manage negatives?

Having 9-bit samples is quite typical in these cases, some transforms
even obtain 10 bit channels. Anyway in the case of G, R-G and B-G you
should be able to use the remainder of the division by 256 to keep
values in the 0-255 interval, but as it has been suggested the
drawback could be that the decorrelation is less effective than with
other transforms.

If you do not expect some particular values in the next phases of the
algorithm, a remapping will not help: characteristics of the image as
enthropy and variance would not change.

So long,
Stefano
.



Relevant Pages

  • Re: A new public key algorithm based on avalanche properties
    ... > this is a promising way to make a key-exchange algorithm. ... That obviously doesn't work for public-key schemes. ... homomorphic transforms when an arrow goes from one rail to another. ... no. Steuert showed commutativity of additions modulo a ...
    (sci.crypt)
  • MP, tools & algs (was: SIMD/Vector benchmarks)
    ... just visiting and he's going to that; I just got bac from Germany ... (Then there's the issue of the conditions under which the transforms should evaluate.) ... something unless there's an existing alternative that costs about the same or less and fixes the problem. ... My primary issue with his definition and others is that it's based on a sequence, so the term "parallel algorithm" becomes at best undefined and at worst an oxymoron. ...
    (comp.arch)