170 likes | 354 Views
Wavelet Based Color Compression. Greg Beranek. Background. WDR Significance Pass With threshold T and T2 find item where T2>Item>=T Encode the Address Encode Plus or Minus Repeat Refinement Pass If Item >=T2 Write Refinement Repeat. WDR. Color WDR. Significance Pass Three Passes
E N D
Wavelet Based Color Compression Greg Beranek
Background • WDR • Significance Pass • With threshold T and T2 find item where T2>Item>=T • Encode the Address • Encode Plus or Minus • Repeat • Refinement Pass • If Item >=T2 • Write Refinement • Repeat
Color WDR • Significance Pass • Three Passes • Red Pass • Green Pass • Blue Pass • Refinement • Three Passes • Red • Green • Blue
Issues Color WDR • Progressive nature • Cannot stop anywhere (missing color component) • Speed • 3 Passes • 3 Scan orders • 3 data matrices • Accounting
Resolution To Color WDR Issues • Color Correlation (lack of correlation) • Ability to predict significant values • Encode more data with one color and get a very close color when decoding • Simplify scan order
Color Space • Primitive Color Spaces • RGB • Additive color space • Tells how much light is needed to make a specific color • CYM K • Subtractive color space • Tell what quantity of pigment is needed to make a specific color • Other Color Spaces • YUV • YPbPr (YCbCr) • Video and Image Compression Schemes, Analog (Digital) • YCoCg • Integer to Integer Color space similar to YPbPr
Transform Matrix RGB to YCoCg • Forward - RGB -> YCoCg • Reverse - YCoCg -> RGB
Back To Color WDR • We now have the ability to: • Predict significant color values • Simplify to one scan order • Retain some RGB color information when we stop encoding anywhere
Optimizations • Encoder optimizations • ASWDR • Lossy Color Space
Pictures Lena Left : Original (Cropped) Top Right : Color WDR 1 bpp Bottom Right : JPEG 2000 1 bpp
Pictures Hats Left : Original (Cropped) Top Right : Color WDR 1 bpp Bottom Right : JPEG 2000 1 bpp
Pictures Parrots Left : Original (Cropped) Top Right : Color WDR 1 bpp Bottom Right : JPEG 2000 1 bpp