Re: Correct implementation of RGB channel decorrelation



LiloLilo schrieb:
Hello,

I need to implement channel decorrelation of a 24bit RGB image, in the
format (G, R-G, B-G).
Because of each channel is 8 bit wide, R-G and B-G would require 9 bit each
because of the sign.

Yes.

Is this the correct way to implement channel
decorrelation?

Probably. What are your objectives? Lossy? Lossless?

What's the problem with YCbCr? Or probably with the RCT in
JPEG2000, if you need a reversible transform?

Greetings,
Thomas
.



Relevant Pages

  • Re: Correct implementation of RGB channel decorrelation
    ... I need to implement channel decorrelation of a 24bit RGB image, in the format. ... Because of each channel is 8 bit wide, R-G and B-G would require 9 bit each because of the sign. ... for many kinds of images, most of the values are 0s, so even plain old RLE will often work well. ...
    (comp.compression)
  • Correct implementation of RGB channel decorrelation
    ... I need to implement channel decorrelation of a 24bit RGB image, ... Because of each channel is 8 bit wide, R-G and B-G would require 9 bit each ...
    (comp.compression)
  • Re: Correct implementation of RGB channel decorrelation
    ... By the way, I still have some dubt about. ... having 8 bit channels R-G and B-G would require 9 bits. ... Do you think the following c macro would ...
    (comp.compression)