13.07.2015 Views

On Nearly Orthogonal Lattice Bases and ... - Researcher - IBM

On Nearly Orthogonal Lattice Bases and ... - Researcher - IBM

On Nearly Orthogonal Lattice Bases and ... - Researcher - IBM

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

6.2 JPEG Compression <strong>and</strong> DecompressionTo achieve color image compression, schemes such as JPEG first transform the image to a color encodingother than the RGB encoding <strong>and</strong> then perform quantization. Such color encodings can be related to theRGB encoding by a color-transform matrix C ∈ R 3×3 . The columns of C form a different basis for thecolor space spanned by the R, G, <strong>and</strong> B vectors. Hence an RGB encoding w RGBcan be transformed to theC encoding vector as C −1 w RGB; the image P is mapped to C −1 P . For example, the matrix relating theRGB color space to the ITU.BT-601 Y CbCr color space is given by [27]⎡ ⎤ ⎡⎤ ⎡ ⎤w Y0.299 0.587 0.114 w R⎣w Cb⎦ = ⎣−0.169 −0.331 0.5 ⎦ ⎣w G⎦. (33)w Cr0.5 −0.419 −0.081 w BThe quantization step is performed by first choosing a diagonal, positive (non-zero entries are positive),integer⌈quantization matrix Q, <strong>and</strong> then computing the quantized (compressed) image from C −1 P as P c =Q −1 C −1 P ⌋ , where ⌈.⌋ st<strong>and</strong>s for the operation of rounding to the nearest integer. JPEG decompressionconstructs P d = CQP c = CQ ⌈ Q −1 C −1 P ⌋ . Larger Q’s achieve more compression but at the cost ofgreater distortion between the decompressed image P d <strong>and</strong> the original image P .In practice, the image matrix P is first decomposed into different frequency components P ={P 1 , P 2 , ... ,P k }, for some k > 1 (usually k = 64), during compression. Then, a commoncolor transform C is applied to all the sub-matrices P 1 , P 2 , ... ,P k , but each sub-matrixP i is quantized with a different quantization matrix Q i . The compressed image is P c ={P c,1 ,P c,2 ,...,P c,k } = {⌈ Q −1 ⌋ ⌈ ⌋ ⌈ ⌋}1 C−1 P 1 , Q−12 C−1 P 2 ,... , Q−1k C−1 P k , <strong>and</strong> the decompressed imageis P d = {CQ 1 P c,1 ,CQ 2 P c,2 ,...,CQ k P c,k }.During compression, the JPEG compressed file format stores the matrix C <strong>and</strong> the matrices Q i ’s alongwith P c . These stored matrices are utilized to decompress the JPEG image, but are discarded afterward.Hence we refer to the set {C,Q 1 ,Q 2 ,... ,Q k } as the compression history of the image.6.3 JPEG CHEst Problem StatementThis paper’s contributions are motivated by the following question: Given a decompressed image P d ={CQ 1 P c,1 ,CQ 2 P c,2 ,... ,CQ k P c,k } <strong>and</strong> some information about the structure of C <strong>and</strong> the Q i ’s, can weestimate the color transform C <strong>and</strong> the quantization matrices Q i ’s? As {C,Q 1 ,Q 2 ,... ,Q k } comprisesthe compression history of the image, we refer to this problem as JPEG CHEst. An image’s compressionhistory is useful for applications such as JPEG recompression [5, 22, 23].6.4 Near-<strong>Orthogonal</strong>ity <strong>and</strong> JPEG CHEstThe columns of CQ i P c,i lie on a 3-D lattice with basis CQ i because P c,i is an integer matrix. The estimationof CQ i ’s comprises the main step in JPEG CHEst. Since a lattice can have multiple bases, wemust exploit some additional information about practical color transforms to correctly deduce the CQ i ’sfrom the CQ i P c,i ’s. Most practical color transforms aim to represent a color using an approximately rotatedreference coordinate system. Consequently, most practical color transform matrices C (<strong>and</strong> thus, CQ i ) canbe expected to be almost orthogonal. We have verified that all C’s used in practice are weakly ( π3 + ɛ) -orthogonal, with 0 < ɛ ≤ π 6 .4 Thus, nearly orthogonal lattice bases are central to JPEG CHEst.4 In general, the stronger assumption of π -orthogonality does not hold for some practical color transform matrices.316

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!