WO1992021101A1 - Continuous-tone image compression - Google Patents

Continuous-tone image compression Download PDF

Info

Publication number
WO1992021101A1
WO1992021101A1 PCT/US1992/003963 US9203963W WO9221101A1 WO 1992021101 A1 WO1992021101 A1 WO 1992021101A1 US 9203963 W US9203963 W US 9203963W WO 9221101 A1 WO9221101 A1 WO 9221101A1
Authority
WO
WIPO (PCT)
Prior art keywords
transform
coefficients
file
data file
image
Prior art date
Application number
PCT/US1992/003963
Other languages
French (fr)
Inventor
Charles Clark Ormsby
Stephen Wayne Boone
Clyde Durham Hardin, Jr.
George Stephen Zabele
Original Assignee
The Analytic Sciences Corporation
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by The Analytic Sciences Corporation filed Critical The Analytic Sciences Corporation
Publication of WO1992021101A1 publication Critical patent/WO1992021101A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/46Colour picture communication systems
    • H04N1/64Systems for the transmission or the storage of the colour picture signal; Details therefor, e.g. coding or decoding means therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/124Quantisation
    • H04N19/126Details of normalisation or weighting functions, e.g. normalisation matrices or variable uniform quantisers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/146Data rate or code amount at the encoder output
    • H04N19/15Data rate or code amount at the encoder output by monitoring actual compressed data size at the memory before deciding storage at the transmission buffer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/176Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/186Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being a colour or a chrominance component
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/51Motion estimation or motion compensation
    • H04N19/527Global motion vector estimation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/85Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression
    • H04N19/86Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression involving reduction of coding artifacts, e.g. of blockiness
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/90Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using coding techniques not provided for in groups H04N19/10-H04N19/85, e.g. fractals
    • H04N19/94Vector quantisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/146Data rate or code amount at the encoder output

Definitions

  • each point in the image can take on any value within a range of values, with value changes between nearby points typically being gradual rather than abrupt.
  • each point takes on a gray tone in a range from white to black.
  • each point may be construed as a composite of continuous- tone values each lying in a corresponding range associated with color features such as luminance and chrominance, or primary color values.
  • a continuous tone image may be divided into a matrix of a large, but finite number p of discrete "pixels".
  • each pixel may then be sampled and digitized as an n-bit number representing its position in the range of possible continuous tone values.
  • the amount of information which must be processed and stored when the product of n and p is large makes it useful, and in some cases mandatory, to apply data compression and reconstruction schemes to the pixel values to reduce the amount of storage or transmission capacity required.
  • the invention features generating a compressed data file from an original data file used to represent a continuous-tone image, by (l) transforming by a lapped orthogonal transform the original file of data to generate a transform file of coefficients, (2) quantizing the transform coefficients, and (3) coding the quantized values to generate the compressed data file, the lapped orthogonal transform being arranged to compute all transform coefficients by means only of bit shifts, negations, and adds.
  • Embodiments of the invention include the following features.
  • the lapped orthogonal transform uses only multiplier values which are powers of 2, e.g., ⁇ 1, ⁇ 2, ⁇ 4, and ⁇ 8.
  • the lapped orthogonal transform is based on successive transformations of blocks of data, and the transformations of some blocks reuse results of transformations of other blocks.
  • the coefficients are factored into at least two groups, and the quantizing and coding are applied independently to the respective groups (this, in itself, is a broad aspect of the invention) .
  • the coding comprises entropy coding, e.g., arithmetic coding conditioned on contexts.
  • the invention features processing a continuous-tone image for later reconstruction, by acquiring from the image an original data file of digital data values representing continuous- tone information in the image, then transforming, quantizing, and coding as described above.
  • the invention features reconstructing the original data file from a compressed data file by an inverse procedure.
  • the invention features apparatus corresponding the methods described above, including a camera or scanner to acquire data from the image and a printer or display to reproduce the image.
  • the invention features a method of converting a pixel data file representing a color image expressed in RGB color space to a pixel data file representing said color image in YUV color space for subsequent processing in YUV format.
  • Each component (R, G, and B) of said RGB color space is represented as a non-negative 8-bit integer; and the R, G, and B components are converted to Y, U, and V components using only bit shifts and additions and no more than a single division operation.
  • Preferred embodiments of the invention include the following features.
  • V (R - B + l)/2 + 128.
  • the YUV pixel data file is reconverted to an RGB pixel data file by performing only multiplications, additions, shifts and no more than a single division, in accordance with the following relationships
  • V V - 128
  • the invention features a method for generating a set of centroids to serve as a codebook for use in vector quantization of data representing a continuous-tone image.
  • PNN and LBG procedures are applied to the vectors to create centroids.
  • the number of vectors which quantize to each centroid are counted.
  • the centroids are updated by reapplying the PNN and LBG procedures to input data which includes the previously generated centroids each applied with a weight based on the number of vectors which quantized to that centroid.
  • Both gray scale and color continuous-tone images may be compressed and reconstructed rapidly in software, with deep compression, and with high-quality reconstruction.
  • the overlapping transform reduces the block artifacts common with standard block transforms.
  • the system is capable of compressing and reconstructing a 256x256 gray scale image on a 80386-based personal computer with 640 Kbytes RAM in approximately 2.5 seconds. Reconstruction is accomplished in only 1.5 seconds due to the asymmetric nature of vector quantization.
  • Fig. 1 is a block diagram of an image capture and reproduction system.
  • Fig. 2 is a block diagram of image compression and reconstruction.
  • Fig. 3 is a block diagram of the treatment of color images.
  • Fig. 4 is a diagram of LOT transform geometry.
  • Fig. 5 is a diagram of computational elements for a fast forward LOT.
  • Fig. 6 is a diagram of an image partitioning for a forward LOT.
  • Fig. 7 is a diagram of computational elements for a fast inverse LOT.
  • Fig. 8 is a diagram of an image partitioning for inverse LOT.
  • Fig. 9 is a diagram of LOT-block indices.
  • a continuous tone image 10 may be "captured" by either a continuous tone scanner 12 or a camera 14 to derive digital image data (pixel values) 16.
  • the data are subjected to compression 18 to produce compressed image data 20.
  • the compressed data are delivered to storage (e.g., a disk store) 22 or to a transmission line 24.
  • the compressed data 25 thereafter received from the storage 22 or the transmission line 24 are subjected to reconstruction 26 to recover the digital image data 28.
  • the recovered data may then be passed to a printer 30 to produce paper or photographic copies or to a display 32, thus producing a representation of the original image.
  • the compression 18 and reconstruction 26 each comprise three major steps: a block-based lapped orthogonal transform (LOT) 50, 70; a factored vector quantization (VQ) 52, 72 using pre-computed codebooks; and an arithmetic coding (AC) 54, 74 of the VQ indices.
  • LOT block-based lapped orthogonal transform
  • VQ factored vector quantization
  • AC arithmetic coding
  • the forward LOT 50 performs an integer-coefficient LOT which maps overlapping pixel blocks of dimension 8x8 to transform coefficient blocks of dimension 4x4. Each coefficient block is then factored (coefficient grouping 56) into two vectors (sets of coefficients), one of dimension 4, called a gray scale vector 58, and one of dimension 12, called a structure vector 60.
  • the vectors are separately quantized (by vector quantizers 63, 64) according to pre-computed codebooks 62, and their quantization indices 66, 68 stored. Both the gray scale and structure quantization indices are coded with (separate) context-sensitive arithmetic coders 67, 69 to produce the structure code and the gray-scale code which comprise the output code (compressed) file 20.
  • Reconstruction entails the reverse operations. Arithmetic decoders 73, 75 determine the gray scale and structure VQ indices 76, 77, which allow full 4x4 LOT coefficient blocks 82 to be reassembled 83 from the corresponding vectors 79, 81. The inverse LOT 85 applied to these coefficient blocks produces the reconstructed image 28.
  • the foregoing applies to compression and reconstruction of gray scale images. Referring to Fig. 3, to compress and reconstruct color images, the image 90 is transformed into a luminance-chrominance color space (YUV space) representation 92, if it is not already so represented.
  • YUV space luminance-chrominance color space
  • the chrominance components (U and V) are subsampled 94, 96 by eliminating every other pixel component in each direction, resulting in a 4-to-l subsampling.
  • the resulting Y, U, and V components are each treated as three separate images 98, 100, 102, and are compressed in the same manner as described above.
  • Reconstruction is accomplished by separately reconstructing the components, expanding the U and V components to full resolution by pixel replication or interpolation, reassembling the components, and transforming the components back to the desired color space representation.
  • the original color space is RGB (red, green, blue)
  • a non-standard definition of YUV and fast transforms from RGB to YUV and back are used for improved speed.
  • the multipliers which define the LOT have values ⁇ 1, ⁇ 2, ⁇ 4, and ⁇ 8, which means that all transform coefficients are computed with bit shifts and adds.
  • the VQ factored codebook scheme assures that those LOT coefficients with the highest cross-correlations are quantized together. This results in coding efficiency approaching full (non-factored) vector quantization, but also reduces storage requirements and allows much faster VQ searches. Instead of searching through one very large list of quantized blocks, say of size MN, the VQ step performs two independent searches through smaller blocks of size M and N, respectively.
  • the arithmetic coders code the gray scale and structure VQ indices using separate definitions of context, that is, separate sets of conditional probability distributions are used for each index set.
  • the conditional distribution used to code an index is determined by a fixed third-order autoregressive computation involving the gray scale indices of neighboring blocks.
  • a first-order Markov context which determines context based on one neighboring block structure index, is used.
  • the Lapped Ortho ⁇ onal Transform (LOT)
  • the lapped orthogonal transform (LOT) is a block-based transform, which is orthogonal over the entire image, but which is a many-to-one map on individual blocks of pixels.
  • the LOT is described more fully in Malvar and Staelin, The LOT: Transform Coding Without Blocking Effects, IEEE Transactions on Acoustics, Speech, and Signal Processing, vol. 37 no. 4, April 1989, pp. 553-559, incorporated herein by reference.
  • LOT maps overlapping blocks 110, 112 of NxN (e.g., 8x8) pixels to blocks 114, 116 of MxM (e.g., 4x4) transform coefficients, where M ⁇ N.
  • NxN e.g., 8x8
  • MxM e.g., 4x4
  • M ⁇ N e.g. 4x4 transform coefficients
  • the present invention incorporates a new LOT with integer coefficients (of the form 2 n ) permitting use of shift operations in place of integer multiplies, and a method for computing this LOT which reuses previously computed quantities, thus allowing the transform to be computed extremely rapidly.
  • the Forward LOT 50 (Fig. 2) on an 8x8 block is the composition of two identical one-dimensional LOTs, one applied successively to the eight rows of that block to generate an initial 8x4 transform block, followed by one applied to the columns of the 8x4 initial transform block.
  • the one-dimensional LOT used is defined on an 8x8 block by the transform T represented in matrix form as
  • the 8-dimensional vector (x Q , x l f . . . , x ? ) is transformed to the 4-dimensional vector (X 0 ,..., X 3 ) by the use of 12 additions (denoted by ⁇ ) , 6 negations (denoted by "-") , and 8 bit-shifting operations (denoted by Sn, where Sn denotes a left shift by n bits) .
  • the row-column iteration of the transform T defines the LOT, denoted here by L, on overlapping 8x8 blocks 110, 112 (Fig.
  • the digital data for the original image 118 is partitioned into 4x4 blocks 120; the topmost two rows, bottommost two rows, leftmost two columns, and rightmost two columns are reflected about the top, bottom, left, and right of the image, respectively, as shown around the perimeter of the original image.
  • the transform L is then applied to each of the 36 (in the example shown) different 8x8 blocks which is centered on one of the 4x4 blocks. Because each 8x8 block is transformed to a 4x4 block, this produces an array in the transform domain of the same dimension as the original image.
  • the Inverse LOT 85 (Fig. 2) is similar to the forward LOT in structure, with overlapping 8x8 blocks being mapped to 4x4 blocks.
  • the inverse LOT uses the
  • the inverse LOT is defined over the entire image by first augmenting the forward transformed image 140 with an additional four rows of zeros at both the top and bottom, and an additional four rows of zeros at both the left and right sides.
  • the augmented image is then partitioned into 4x4 blocks, and the column-row iterated transform S is successively applied to 8x8 blocks whose lower right-hand corners are defined by the partitioning.
  • the resulting image is at this point larger by four rows and four columns than the original image.
  • the top two rows are reflected and added back into rows three and four (row one is added to row four and row two is added to row three) ; the bottom two rows are reflected and added back into the image in the same manner; the leftmost two columns are reflected and added back into columns three and four; and the rightmost two columns are likewise reflected and added back into the image.
  • the resulting image is the same size as the original.
  • the inverse LOT is not a precise inverse since the composition of the above forward LOT and its inverse is the identity multiplied by a factor of 28900. This factor is the Euclidean length of a row of T or S raised to the fourth power (due to two applications each of T and S) .
  • the LOT and its inverse are defined as above in order to require only bit-shifting operations and additions for their computation.
  • Both the task of renormalization of the forward-inverse LOT pair to a true identity, and the task of preserving of the ability to use 16-bit arithmetic throughout the forward and inverse LOT computations, are accomplished by a combination of bit-shifting operations during the LOT computations and usage of a rescaled VQ codebook (performed offline) for decoding, described below.
  • the LOT and its inverse are approximated as follows.
  • the forward LOT is computed on the rows of the image as described above, at which time each resulting transform coefficient is divided by eight and rounded, accomplished by adding four to each coefficient and right-shifting by three bits.
  • the column-LOT is then applied to this output. This ensures that all transform coefficients of this redefined LOT are representable in 16 bits.
  • each of the 4x4 transform blocks are replaced by VQ representative transform blocks from a pre-computed codebook.
  • a standard implementation would inverse transform these representatives to produce the reconstructed image.
  • the decoder does not use representatives from the encoding VQ codebook, but rather those representatives with all elements divided by the constant factor 7.055664 and rounded to the nearest integer.
  • the inverse LOT is implemented by performing the inverse column-LOT as above, and then dividing by eight and rounding (again, implemented by adding four and right-shifting by three bits) .
  • the inverse row-LOT is applied to these outputs, at which time the resulting coefficients are divided by 64 and rounded, implemented by adding 32 and right-shifting by six bits.
  • the resulting inverse transformed image is then lower- and upper-limited to be in the range [0, 255] by checking for 1-bits in the left byte of the 16-bit word.
  • VQ Vector Quantization
  • VQ vector quantization
  • the present invention utilizes a hybrid between scalar quantization and vector quantization.
  • the 4x4 transform blocks output from the forward LOT are separated into (e.g., two) groups, and the groups are separately and independently subjected to VQ.
  • the grouping of the coefficient blocks allows much of the theoretical gain from a full optimal (one group) VQ to be realized, while decreasing both the number of codebook elements to be stored and the number of codebook elements which need to be searched to do the quantization.
  • design of vector grouping off-line
  • construction of the VQ codebooks off-line
  • determination of the nearest codebook element for each data vector on-line
  • Coefficient Grouping VQ achieves its coding gains through exploitation of coefficient dependencies and through the so-called dimensionality increase.
  • a design which groups more highly cross-correlated coefficients together and has the smallest number of groups then provides, in theory, the best compression for a given number of quantization levels.
  • the correlation process naturally groups (164) elements 0, 2 , 8 , and 10 together as a first group; and the remaining elements 1, 3, 4, 5, 6 ,7, 9, 11, 12, 13, 14, and 15 together as a second group, where the element indices are as illustrated in Fig. 9.
  • the first group is termed the gray scale vector and the second group the structure vector.
  • the elements of the gray scale vector show statistically insignificant cross-correlation with those of the structure vector, while significant cross-correlation exists between elements within each vector separately.
  • VQ Codebook Construction is computationally intensive and is accomplished off-line. Codebooks of gray scale and structure vectors which approximate input gray scale and structure vectors are constructed 170 using selected training images 168 (which were previously LOT transformed and coefficient grouped 166) . The sizes of the codebooks largely determine the compression ratio, the speed of compression, and the quality of the reconstructed images, with smaller codebooks yielding higher compression ratio and speed, but poorer reconstruction quality. Codebooks may be of any size, but, in this embodiment, sizes of 16, 32, 64, and 128 vector elements are selected for both the gray scale and structure VQ codebooks. Any pair of gray scale and structure codebooks may be combined to perform VQ on a transformed image.
  • the construction 170 of a VQ codebook is accomplished through a codebook initialization process followed by an iterative optimization process.
  • the iterative optimization finds a VQ codebook achieving an approximate local minimum of a selected error metric. This being the case, the initialization process largely determines the quality of the codebook.
  • a pairwise nearest neighbor (PNN) initialization procedure is used, as described in Equitz, A New Vector Quantization Clustering Algorithm, IEEE
  • the error metric for both initialization and iteration is the mean-square (Euclidean) distance.
  • the VQ codebook generation procedure starts with selected training images 168. Since the PNN and LBG algorithms must hold all input vectors (i.e., vectors for all training images) in memory (or at least virtual memory) at once, only a subset may be processed during a given codebook generation run. (A method for subsequent processing of the rest of the training images is described below.) The image subset is transformed with the LOT, and each 16-element LOT block is partitioned into gray scale and structure vectors as above.
  • the totality of the gray scale vectors and the totality of the structure vectors are separately subjected to the PNN/LBG VQ codebook generation procedure 170.
  • the output is the prescribed number of vector codebook elements 172, also called centroids.
  • a part of the present invention is a method to utilize computations inherent in the PNN and LBG procedures to allow an essentially unlimited amount of training data to be used in the generation of a VQ codebook. For each centroid, a count of the number of input data vectors which quantize to that centroid is maintained during the LBG iterations. These counts are output with the centroids.
  • More training data is effectively included in the codebook by defining a new input data set to be the previously computed centroids, each with associated weight equal to the number of data vectors in the previous codebook generation which quantize to that centroid, plus the new training data vectors, each with unit weight.
  • This augmented training data set is input to the PNN/LBG algorithm pair.
  • the PNN algorithm naturally uses these weights in its clustering procedure.
  • the LBG algorithm keeps, as before, a count of the number of training vectors quantizing to each centroid; however, those training vectors which were actually centroids from the previous PNN/LBG run add weight equal to their input weight. This process may be repeated ad infinitum to add more training data to the codebook.
  • centroid Since the actual mean-square error associated with a centroid is not maintained in this procedure, in practical implementations, more centroids than the desired final number of centroids should be maintained until the last iteration.
  • the present implementation keeps 2048 centroids, for both gray scale and structure codebooks, until the last iteration, at which time the 2048 centroids are collapsed to 16, 32, 64, or 128 elements, yielding the final codebooks.
  • VQ Codebook Searching Although the VQ codebooks are constructed off-line, the encoding process must still perform an on-line selection of gray scale and structure VQ codebook representatives for each LOT coefficient block of the input image. For encoding speed, it is important that this process be fast. A method for selecting VQ vectors quickly, and which selects the best VQ representatives for the overwhelming majority of input vectors, utilizes the LOT coefficients with the highest energy. Gray scale VQ codebook search
  • coefficient 0 (Fig. 9) contains the most energy. Consequently, the gray scale VQ codebook is ordered according to coefficient 0. Then an integer-valued vector is computed, specific to that codebook, which approximately indexes the 0 th elements of that codebook.
  • This vector called a start map and used to start the VQ searching procedure, can be of any length. Longer lengths, however, give more accurate starting positions. More specifically, the i th element of the start map is the index (under the ordering above) of the gray scale VQ vector whose 0 th element is nearest to the quantity iN+b, where N is a normalization factor, and b is a bias.
  • N and b are selected so that the extreme values of iN+b bracket the extreme values of LOT coefficient 0.
  • the gray scale VQ codebook vector search is then started at the codebook index given by the start map at index (x - b)/N, where x is the input 0 th element of the gray scale LOT coefficient vector to be quantized.
  • Both the codebook ordering and the construction of the start map are accomplished off-line.
  • the on-line VQ computations begin with the selection of the codebook search start index, computed from the start map. To speed the search, only coefficients 0, 2, and 8 are used in the comparisons, since coefficient 10 is near zero and highly correlated with the other coefficients.
  • a gray scale VQ codebook element is compared with a gray scale vector to be quantized by computing their mean-square difference. Because of orthogonality, this comparison metric is also the mean-square difference between their inverse transforms in the spatial domain. The mean-square difference is computed by successively adding the square of the difference between corresponding indices 0, 2, and 8, in that order.
  • the quantization step proceeds by computing comparison metrics, or partial comparison metrics, for successive codebook elements in an alternating manner. That is, if n is the starting codebook index, comparisons are made with indices n+1, n-1, n+2, n-2, n+3, n-3, and so forth, until the best codebook vector is found.
  • the minimum comparison metric is maintained. If, during computation of the mean-square difference, that minimum is exceeded, the comparison with the present vector is terminated. If the squared difference between 0 th elements exceeds that minimum, those VQ vectors with indices below
  • VQ codebook elements are compared in an alternating manner as above, a running minimum comparison metric is maintained, and analogous stopping rules are used for the search.
  • this algorithm guarantees that except for differences which might have been introduced by coefficients 6, 7, 9, 11, 13, 14, and 15, the best mean-square representative from the structure VQ codebook has been selected in the quantization step. Again these coefficients could be used also to ensure optimality at the expense of some extra computation.
  • the VQ decoding step is a simple lookup and recombination procedure.
  • the gray scale and structure VQ codebook elements corresponding to the indices chosen during the encoding process are fetched from the decoding VQ codebook and recombined, in the appropriate order, to reconstruct the encoded LOT coefficient block.
  • the decoding VQ codebook is the encoding codebook with all elements integer-divided by 7.055664 as explained above. All of the reconstructed LOT coefficient blocks form a matrix of the original image dimensions which are then inverse transformed by the inverse LOT to produce the reconstructed image.
  • Arithmetic Coding AC
  • Arithmetic coding is a variable-length, lossless coding technique which produces a code stream through successive rescaling of code intervals according to a stochastic model of the source. The effectiveness of the compression is a direct consequence of the fidelity of the assumed stochastic model.
  • a basic (non-conditional) arithmetic coding procedure is set forth in Witten, Neal, and Cleary, Arithmetic Coding for Data Compression, Communications of the ACM, vol. 30., no. 6, June 1987, pp. 520-540.
  • the basic procedure is either adaptive, so that a probability distribution describing the source may adapt to changing source statistics; or static, so that a fixed distribution is used throughout the coding process.
  • the AC process can also use conditional, or contextual information. That is, rather than using one distribution (as in the Witten reference) , multiple conditional probability distributions are used to code source symbols (VQ indices, in this case) based on predefined contexts.
  • One implementation uses separate static AC codebooks and separately defined contexts to code the two VQ index sequences.
  • the procedures involve an off-line AC codebook generation and normalization procedure, and on-line encoding and decoding procedures.
  • Gray Scale Index Coding The gray scale index AC procedure uses the same number of contexts as symbols. Therefore, use of an n-element gray scale VQ codebook entails the use of an n-context gray scale index AC coder.
  • the contexts can be equated with linear predictions of LOT coefficient 0 (Fig. 9) . To precisely define the contexts, denote by
  • the prediction of the 0 th coefficient of the gray scale VQ index to be encoded is defined to be x " ( 3 z l ⁇ ft + 3 z above " 2 z corner + 2 > / 4 where the division is an integer division with remainder disregarded.
  • the context is then defined to be the index of x given by the gray scale VQ start map, whose definition and implementation are described above.
  • the context is then represented by an integer between 0 and n-1, where n is the number of elements in the gray scale VQ codebook.
  • the equation for x is a linear prediction based on a conglomeration of autoregressive models fit to test data and approximated so that it is implementable using only bit-shifts and additions.
  • context is defined to be the gray scale VQ index of the block immediately above.
  • context is defined to be the index of the block to the left.
  • context is the center gray scale VQ index.
  • AC codebooks 180 The construction of AC codebooks 180 is the construction of conditional probability distributions of the symbols for each context.
  • An AC codebook for each gray scale VQ codebook is constructed off-line by accumulating statistics on context-index pairs for selected training images 182. Specifically, training images, distinct from the images 160, 168 used to generate the VQ codebooks, are run through a procedure 184 which computes the LOT, quantizes each block based on the VQ vector selection algorithm described above, then computes the context of each gray scale index and accumulates the counts of each context-index pair. For each fixed context, the sample distribution of the indices so obtained defines the conditional distribution of the gray scale indices.
  • these distributions are modified so as to be represented as integers, in cumulative form, with no zero-probability indices, and normalized. This is accomplished on a context-by-context basis as follows. To eliminate zero probability indices, the number of counts for each index with count zero is set to one. Then, the total number of counts, T, is found. The number of counts for each index is then integer-multiplied by 16384/T so that the effective total number of counts is approximately 16384 . The largest counts are then increased or decreased so that the number of counts is exactly 16384.
  • the context-based AC procedure is a modification of the basic non-adaptive procedure described in the Witten reference.
  • Gray scale indices are coded in raster order, using the following steps: (1) Get gray scale VQ index to be encoded; (2) Find context of index to be encoded; (3) From AC codebook, select cumulative probability distribution based on that index; (4) Encode index (as in the Witten reference) based on selected distribution.
  • the implementation of the Witten reference is modified by eliminating function calls, making use of register declarations, and using shifts in place of divisions where possible in order to improve speed. Structure Index Coding
  • Structure indices are coded in a manner completely analogous to the coding method for the gray scale indices.
  • the structure index AC procedure uses the same number of contexts as symbols, so that use of an n-element structure VQ codebook entails the use of an n-context structure index AC coder.
  • the context definition is simpler, however, than in the gray scale index case.
  • the context of a structure index to be coded is simply the structure VQ index of the LOT block to the left of the block to be encoded. In case the LOT block is on the left edge of the image, the context is defined to be the structure VQ index of the LOT block immediately above the block to be encoded. Finally, the upper left LOT block has context equal to the center structure VQ index.
  • Structure AC codebooks are constructed off-line in exactly the same way (and are constructed at the same time) as the gray scale AC codebooks. That is, training images are transformed under the LOT and quantized with VQ, contexts are found, and context-index pairs are accumulated. For each context, the sample distributions obtained from this procedure are normalized and represented in exactly the same way as the gray scale distributions. Once this set of conditional cumulative distributions is defined, the context-based AC of the structure VQ indices proceeds just as for the gray scale indices.
  • structure indices are coded in raster order, using the following steps: (1) Get structure VQ index to be encoded; (2) Find context of index to be encoded; (3) From AC codebook, select cumulative probability distribution based on that index; (4) Encode index (as in Witten reference) based on selected distribution.
  • the concatenation of the gray scale and structure index AC code streams defines the encoded file 20, 25 using this algorithm.
  • the first step in decoding a file encoded by this algorithm is the AC decoding of the VQ indices.
  • the AC decoders for both structure and gray scale indices, mirrors the operation of the AC encoders. Specifically, indices are decoded in raster order using the following steps: (1) Determine context of index to be decoded (determined from previously decoded symbols) ; (2) From AC codebook, select cumulative probability distribution based on that index; (3) Decode index (as in Witten reference) based on selected distribution; (4) Record decoded index.
  • the decoded VQ indices are then subjected to VQ decoding and the inverse LOT to produce the reconstructed image.
  • RGB red, green, blue
  • the U and V components are subsampled by a factor of two in each direction. Consequently, the U and V computations are made only for every other pixel in each direction.
  • the Y, U, and V components are treated as separate (gray scale) images and subjected to the compression algorithm to produce three code streams which are combined to produce the final output code file.
  • the Y, U, and V component images are reconstructed and recombined via the YUV-to-RGB transformation.
  • the RGB component computations are implemented as

Abstract

Continuous-tone images, represented by original data files (16) are compressed by (1) transforming by a lapped orthogonal transform (50) the original file of data to generate a transform file of coefficients (58, 60, 2) quantizing (63, 64) the transform coefficients, and (3) coding (67, 69) the quantized values to generate a compressed data file (20, 25), the lapped orthogonal transform being arranged to compute all transform coefficients by means only of bit shifts, negations, and adds. In another aspect, the quantization and coding are performed on groups of transformed coefficients.

Description

CONTINUOUS-TONE IMAGE COMPRESSION
Background of the Invention
This invention relates to storing, retrieving, transmitting, and receiving continuous-tone images. In an image of the continuous-tone type, each point in the image can take on any value within a range of values, with value changes between nearby points typically being gradual rather than abrupt. In a gray¬ scale continuous tone image, each point takes on a gray tone in a range from white to black. In color images, each point may be construed as a composite of continuous- tone values each lying in a corresponding range associated with color features such as luminance and chrominance, or primary color values. For purposes of digital storage and transmission, a continuous tone image may be divided into a matrix of a large, but finite number p of discrete "pixels". The value of each pixel may then be sampled and digitized as an n-bit number representing its position in the range of possible continuous tone values. The amount of information which must be processed and stored when the product of n and p is large makes it useful, and in some cases mandatory, to apply data compression and reconstruction schemes to the pixel values to reduce the amount of storage or transmission capacity required.
A wide variety of data compression schemes have been proposed and implemented.
Summary of the Invention In general, in one aspect, the invention features generating a compressed data file from an original data file used to represent a continuous-tone image, by (l) transforming by a lapped orthogonal transform the original file of data to generate a transform file of coefficients, (2) quantizing the transform coefficients, and (3) coding the quantized values to generate the compressed data file, the lapped orthogonal transform being arranged to compute all transform coefficients by means only of bit shifts, negations, and adds.
Embodiments of the invention include the following features. The lapped orthogonal transform uses only multiplier values which are powers of 2, e.g., ±1, ±2, ±4, and ±8. The lapped orthogonal transform is based on successive transformations of blocks of data, and the transformations of some blocks reuse results of transformations of other blocks. The coefficients are factored into at least two groups, and the quantizing and coding are applied independently to the respective groups (this, in itself, is a broad aspect of the invention) . The coding comprises entropy coding, e.g., arithmetic coding conditioned on contexts.
In general, in another aspect, the invention features processing a continuous-tone image for later reconstruction, by acquiring from the image an original data file of digital data values representing continuous- tone information in the image, then transforming, quantizing, and coding as described above. In other aspects, the invention features reconstructing the original data file from a compressed data file by an inverse procedure.
In general, in other aspects, the invention features apparatus corresponding the methods described above, including a camera or scanner to acquire data from the image and a printer or display to reproduce the image.
In general, in another aspect, the invention features a method of converting a pixel data file representing a color image expressed in RGB color space to a pixel data file representing said color image in YUV color space for subsequent processing in YUV format. Each component (R, G, and B) of said RGB color space is represented as a non-negative 8-bit integer; and the R, G, and B components are converted to Y, U, and V components using only bit shifts and additions and no more than a single division operation.
Preferred embodiments of the invention include the following features. The converting is done in accordance with the following relationships: Y = (R + 4G + B + 3)/6
U = (R - 2G + B + 2)/4 + 128
V = (R - B + l)/2 + 128.
The YUV pixel data file is reconverted to an RGB pixel data file by performing only multiplications, additions, shifts and no more than a single division, in accordance with the following relationships
U* = [4(U - 128) + l]/3
V = V - 128
R = Y + U1 + V G = Y - U'/2
B = Y + U* - V. ' In general, in another aspect, the invention features a method for generating a set of centroids to serve as a codebook for use in vector quantization of data representing a continuous-tone image. PNN and LBG procedures are applied to the vectors to create centroids. The number of vectors which quantize to each centroid are counted. The centroids are updated by reapplying the PNN and LBG procedures to input data which includes the previously generated centroids each applied with a weight based on the number of vectors which quantized to that centroid.
Both gray scale and color continuous-tone images may be compressed and reconstructed rapidly in software, with deep compression, and with high-quality reconstruction. The overlapping transform reduces the block artifacts common with standard block transforms. The system is capable of compressing and reconstructing a 256x256 gray scale image on a 80386-based personal computer with 640 Kbytes RAM in approximately 2.5 seconds. Reconstruction is accomplished in only 1.5 seconds due to the asymmetric nature of vector quantization.
Other advantages and features will become apparent from the following description and from the claims.
Description We first briefly describe the drawings. Fig. 1 is a block diagram of an image capture and reproduction system. Fig. 2 is a block diagram of image compression and reconstruction.
Fig. 3 is a block diagram of the treatment of color images.
Fig. 4 is a diagram of LOT transform geometry. Fig. 5 is a diagram of computational elements for a fast forward LOT.
Fig. 6 is a diagram of an image partitioning for a forward LOT.
Fig. 7 is a diagram of computational elements for a fast inverse LOT.
Fig. 8 is a diagram of an image partitioning for inverse LOT.
Fig. 9 is a diagram of LOT-block indices. Referring to Fig. 1, a continuous tone image 10 may be "captured" by either a continuous tone scanner 12 or a camera 14 to derive digital image data (pixel values) 16. The data are subjected to compression 18 to produce compressed image data 20. The compressed data are delivered to storage (e.g., a disk store) 22 or to a transmission line 24. The compressed data 25 thereafter received from the storage 22 or the transmission line 24 are subjected to reconstruction 26 to recover the digital image data 28. The recovered data may then be passed to a printer 30 to produce paper or photographic copies or to a display 32, thus producing a representation of the original image.
Referring to Fig. 2, the compression 18 and reconstruction 26 each comprise three major steps: a block-based lapped orthogonal transform (LOT) 50, 70; a factored vector quantization (VQ) 52, 72 using pre-computed codebooks; and an arithmetic coding (AC) 54, 74 of the VQ indices.
In general, the forward LOT 50 performs an integer-coefficient LOT which maps overlapping pixel blocks of dimension 8x8 to transform coefficient blocks of dimension 4x4. Each coefficient block is then factored (coefficient grouping 56) into two vectors (sets of coefficients), one of dimension 4, called a gray scale vector 58, and one of dimension 12, called a structure vector 60. The vectors are separately quantized (by vector quantizers 63, 64) according to pre-computed codebooks 62, and their quantization indices 66, 68 stored. Both the gray scale and structure quantization indices are coded with (separate) context-sensitive arithmetic coders 67, 69 to produce the structure code and the gray-scale code which comprise the output code (compressed) file 20.
Reconstruction entails the reverse operations. Arithmetic decoders 73, 75 determine the gray scale and structure VQ indices 76, 77, which allow full 4x4 LOT coefficient blocks 82 to be reassembled 83 from the corresponding vectors 79, 81. The inverse LOT 85 applied to these coefficient blocks produces the reconstructed image 28. The foregoing applies to compression and reconstruction of gray scale images. Referring to Fig. 3, to compress and reconstruct color images, the image 90 is transformed into a luminance-chrominance color space (YUV space) representation 92, if it is not already so represented. The chrominance components (U and V) are subsampled 94, 96 by eliminating every other pixel component in each direction, resulting in a 4-to-l subsampling. The resulting Y, U, and V components are each treated as three separate images 98, 100, 102, and are compressed in the same manner as described above. Reconstruction is accomplished by separately reconstructing the components, expanding the U and V components to full resolution by pixel replication or interpolation, reassembling the components, and transforming the components back to the desired color space representation. In the case that the original color space is RGB (red, green, blue) , a non-standard definition of YUV and fast transforms from RGB to YUV and back, are used for improved speed.
The compression and reconstruction schemes operate quickly and achieve high compression ratios with high-quality reconstructions. These results are achieved in part because of three elements of the design: the shift-valued LOT, the factored codebook for VQ and the contexts for arithmetic coding. We turn to each of these elements in turn.
The multipliers which define the LOT have values ±1, ±2, ±4, and ±8, which means that all transform coefficients are computed with bit shifts and adds.
Further, the implementation of the LOT reuses quantities already computed to reduce the total number of computations required.
The VQ factored codebook scheme assures that those LOT coefficients with the highest cross-correlations are quantized together. This results in coding efficiency approaching full (non-factored) vector quantization, but also reduces storage requirements and allows much faster VQ searches. Instead of searching through one very large list of quantized blocks, say of size MN, the VQ step performs two independent searches through smaller blocks of size M and N, respectively.
The arithmetic coders code the gray scale and structure VQ indices using separate definitions of context, that is, separate sets of conditional probability distributions are used for each index set. For the gray scale indices, the conditional distribution used to code an index is determined by a fixed third-order autoregressive computation involving the gray scale indices of neighboring blocks. For the structure indices, a first-order Markov context, which determines context based on one neighboring block structure index, is used. The Lapped Orthoσonal Transform (LOT) The lapped orthogonal transform (LOT) is a block-based transform, which is orthogonal over the entire image, but which is a many-to-one map on individual blocks of pixels. The LOT is described more fully in Malvar and Staelin, The LOT: Transform Coding Without Blocking Effects, IEEE Transactions on Acoustics, Speech, and Signal Processing, vol. 37 no. 4, April 1989, pp. 553-559, incorporated herein by reference.
Referring to Fig. 4, LOT maps overlapping blocks 110, 112 of NxN (e.g., 8x8) pixels to blocks 114, 116 of MxM (e.g., 4x4) transform coefficients, where M < N. The general requirements, given in the Malvar and Staelin reference, that a lapped block transform must satisfy in order to be orthogonal over the entire image are rather restrictive. Also given in that reference is a method for constructing LOTs based on the discrete cosine transform (DCT) , and which satisfy an optimality condition within the class of DCT-based LOTs. All of the DCT-based LOTs, however, have non-integral coefficients, and require floating-point computations. The present invention incorporates a new LOT with integer coefficients (of the form 2n) permitting use of shift operations in place of integer multiplies, and a method for computing this LOT which reuses previously computed quantities, thus allowing the transform to be computed extremely rapidly.
The Forward LOT The two-dimensional forward LOT 50 (Fig. 2) on an 8x8 block is the composition of two identical one-dimensional LOTs, one applied successively to the eight rows of that block to generate an initial 8x4 transform block, followed by one applied to the columns of the 8x4 initial transform block. The one-dimensional LOT used is defined on an 8x8 block by the transform T represented in matrix form as
Figure imgf000010_0001
Figure imgf000010_0002
Referring to Fig. 5, in a fast implementation of this transform, the 8-dimensional vector (xQ, xl f . . . , x?) is transformed to the 4-dimensional vector (X0,..., X3) by the use of 12 additions (denoted by Θ) , 6 negations (denoted by "-") , and 8 bit-shifting operations (denoted by Sn, where Sn denotes a left shift by n bits) . The row-column iteration of the transform T defines the LOT, denoted here by L, on overlapping 8x8 blocks 110, 112 (Fig. 4) which, when centered on successive non-overlapping 4x4 blocks 118, 120 defines an orthogonal transform over the entire image. More precisely, the image is assumed to have row and column dimensions divisible by four. (If this is not the case, the image is augmented by repeating edge rows and/or columns to this effect.)
Referring to Fig. 6, the digital data for the original image 118 is partitioned into 4x4 blocks 120; the topmost two rows, bottommost two rows, leftmost two columns, and rightmost two columns are reflected about the top, bottom, left, and right of the image, respectively, as shown around the perimeter of the original image. The transform L is then applied to each of the 36 (in the example shown) different 8x8 blocks which is centered on one of the 4x4 blocks. Because each 8x8 block is transformed to a 4x4 block, this produces an array in the transform domain of the same dimension as the original image.
In addition to the computations saved by the structure shown in Fig. 5, additional computations are saved by reusing computations from previously transformed blocks. Since row transforms are performed first, a given 8x8 block reuses the last four row-LOT computations from the 8x8 block above it. This means that, except for the first row of blocks which must each perform eight row-LOT and four column-LOT computations, each block need only perform four row-LOT and four column-LOT computations.
The Inverse LOT The inverse LOT 85 (Fig. 2) is similar to the forward LOT in structure, with overlapping 8x8 blocks being mapped to 4x4 blocks. The inverse LOT uses the
Figure imgf000011_0001
to transform first the columns of an 8x8 block, and then the rows of the resulting 4x8 block. A fast implementation of this transform is illustrated in Fig. 7 which uses notation analogous to that of Fig. 5. This implementation uses 16 additions, 7 negations, and 8 shifts.
Referring to Fig. 8, the inverse LOT is defined over the entire image by first augmenting the forward transformed image 140 with an additional four rows of zeros at both the top and bottom, and an additional four rows of zeros at both the left and right sides. The augmented image is then partitioned into 4x4 blocks, and the column-row iterated transform S is successively applied to 8x8 blocks whose lower right-hand corners are defined by the partitioning. The resulting image is at this point larger by four rows and four columns than the original image. To complete the transform, the top two rows are reflected and added back into rows three and four (row one is added to row four and row two is added to row three) ; the bottom two rows are reflected and added back into the image in the same manner; the leftmost two columns are reflected and added back into columns three and four; and the rightmost two columns are likewise reflected and added back into the image. The resulting image is the same size as the original.
The inverse LOT, as defined above, is not a precise inverse since the composition of the above forward LOT and its inverse is the identity multiplied by a factor of 28900. This factor is the Euclidean length of a row of T or S raised to the fourth power (due to two applications each of T and S) . The LOT and its inverse are defined as above in order to require only bit-shifting operations and additions for their computation. Both the task of renormalization of the forward-inverse LOT pair to a true identity, and the task of preserving of the ability to use 16-bit arithmetic throughout the forward and inverse LOT computations, are accomplished by a combination of bit-shifting operations during the LOT computations and usage of a rescaled VQ codebook (performed offline) for decoding, described below.
Normalization of Maintenance of 16-bit Arithmetic For implementation on processors with a natural 16-bit architecture, the LOT and its inverse are approximated as follows. The forward LOT is computed on the rows of the image as described above, at which time each resulting transform coefficient is divided by eight and rounded, accomplished by adding four to each coefficient and right-shifting by three bits. The column-LOT is then applied to this output. This ensures that all transform coefficients of this redefined LOT are representable in 16 bits.
As explained below, upon encoding, each of the 4x4 transform blocks are replaced by VQ representative transform blocks from a pre-computed codebook. A standard implementation would inverse transform these representatives to produce the reconstructed image. In the present implementation, however, the decoder does not use representatives from the encoding VQ codebook, but rather those representatives with all elements divided by the constant factor 7.055664 and rounded to the nearest integer. The inverse LOT is implemented by performing the inverse column-LOT as above, and then dividing by eight and rounding (again, implemented by adding four and right-shifting by three bits) . The inverse row-LOT is applied to these outputs, at which time the resulting coefficients are divided by 64 and rounded, implemented by adding 32 and right-shifting by six bits. The resulting inverse transformed image is then lower- and upper-limited to be in the range [0, 255] by checking for 1-bits in the left byte of the 16-bit word.
These shifting operations result in a net division by 8(8) (64) = 4096 when the LOT and its inverse are successively applied. The renormalization of the codebook (performed offline) results in a further division by 7.055664, for a total division by 28900, which results in a properly normalized transform pair.
The division and rounding ensures that 16 bits is sufficient to avoid overflow in any of the computations, but does cause the forward-inverse LOT pair to be a non-exact inverse. However, this pair when applied to test images (with no quantization) produces images differing from the original only at a very small percentage of pixels, and then only by one gray level (out of 256) which has no discernible visual effect on reconstruction. Vector Quantization (VQ)
In typical transform-quantization coding schemes, all of the individual coefficients of a transform block are separately (scalar) quantized. In optimal vector quantization (VQ) , the transform coefficients, grouped together and treated as elements in a single appropriate multidimensional space, are quantized together. Theory dictates that for a given number of quantization levels for the entire block of coefficients, the quantization error is lower for optimal VQ than for optimal scalar quantization.
The present invention utilizes a hybrid between scalar quantization and vector quantization. The 4x4 transform blocks output from the forward LOT are separated into (e.g., two) groups, and the groups are separately and independently subjected to VQ. The grouping of the coefficient blocks allows much of the theoretical gain from a full optimal (one group) VQ to be realized, while decreasing both the number of codebook elements to be stored and the number of codebook elements which need to be searched to do the quantization. There are three steps to implementing the hybrid VQ: design of vector grouping (off-line) ; construction of the VQ codebooks (off-line) ; and determination of the nearest codebook element for each data vector (on-line) . We consider each step in turn.
Coefficient Grouping VQ achieves its coding gains through exploitation of coefficient dependencies and through the so-called dimensionality increase. A design which groups more highly cross-correlated coefficients together and has the smallest number of groups then provides, in theory, the best compression for a given number of quantization levels.
Referring again to Fig. 2, to determine the groupings to be used within a 4x4 LOT coefficient block, the following procedure is used, off-line prior to actual compression and reconstruction operations. First, a large number of training images 160 are transformed with the LOT, and the resulting 4x4 LOT blocks are treated as an even larger collection of statistically independent 16-element vectors following a common distribution. Under these assumptions, ensemble cross-correlations and associated confidence bounds between the 16 elements are computed 162 using standard statistical methods. For the LOT as defined above, the correlation process naturally groups (164) elements 0, 2 , 8 , and 10 together as a first group; and the remaining elements 1, 3, 4, 5, 6 ,7, 9, 11, 12, 13, 14, and 15 together as a second group, where the element indices are as illustrated in Fig. 9. The first group is termed the gray scale vector and the second group the structure vector. Using a broad range of training images, the elements of the gray scale vector show statistically insignificant cross-correlation with those of the structure vector, while significant cross-correlation exists between elements within each vector separately. An additional reason for including elements 0, 2, 8, and 10 together in a single group is that, since they are each the result of applying successively the non-zero mean first or third row of the transform T in the forward LOT computation, it is these coefficients which have non-zero mean and which therefore isolate the mean value of the pixel block transformed. Since most of the energy in the pixel block is mean value (or "DC") energy, these elements of the LOT coefficient block have the highest mean-square value.
For both codebook generation, then, and codebook element selection, the gray scale and structure groups are treated separately.
VQ Codebook Construction VQ codebook construction is computationally intensive and is accomplished off-line. Codebooks of gray scale and structure vectors which approximate input gray scale and structure vectors are constructed 170 using selected training images 168 (which were previously LOT transformed and coefficient grouped 166) . The sizes of the codebooks largely determine the compression ratio, the speed of compression, and the quality of the reconstructed images, with smaller codebooks yielding higher compression ratio and speed, but poorer reconstruction quality. Codebooks may be of any size, but, in this embodiment, sizes of 16, 32, 64, and 128 vector elements are selected for both the gray scale and structure VQ codebooks. Any pair of gray scale and structure codebooks may be combined to perform VQ on a transformed image. The construction 170 of a VQ codebook is accomplished through a codebook initialization process followed by an iterative optimization process. The iterative optimization finds a VQ codebook achieving an approximate local minimum of a selected error metric. This being the case, the initialization process largely determines the quality of the codebook. In this embodiment, a pairwise nearest neighbor (PNN) initialization procedure is used, as described in Equitz, A New Vector Quantization Clustering Algorithm, IEEE
Transactions on Acoustics, Speech, and Signal Processing, vol. 37, no. 10, October 1989, pp. 1568-1575, incorporated by reference. The optimization procedure is the classical Linde-Buzo-Gray (LBG) algorithm, described in Linde, Buzo, and Gray, An Algorithm for Vector
Quantizer Design, IEEE Transactions on Communications, vol. COM-28, no. 1, January 1980, pp. 84-95, incorporated by reference. The error metric for both initialization and iteration is the mean-square (Euclidean) distance. The VQ codebook generation procedure starts with selected training images 168. Since the PNN and LBG algorithms must hold all input vectors (i.e., vectors for all training images) in memory (or at least virtual memory) at once, only a subset may be processed during a given codebook generation run. (A method for subsequent processing of the rest of the training images is described below.) The image subset is transformed with the LOT, and each 16-element LOT block is partitioned into gray scale and structure vectors as above. The totality of the gray scale vectors and the totality of the structure vectors are separately subjected to the PNN/LBG VQ codebook generation procedure 170. The output is the prescribed number of vector codebook elements 172, also called centroids. A part of the present invention is a method to utilize computations inherent in the PNN and LBG procedures to allow an essentially unlimited amount of training data to be used in the generation of a VQ codebook. For each centroid, a count of the number of input data vectors which quantize to that centroid is maintained during the LBG iterations. These counts are output with the centroids. More training data is effectively included in the codebook by defining a new input data set to be the previously computed centroids, each with associated weight equal to the number of data vectors in the previous codebook generation which quantize to that centroid, plus the new training data vectors, each with unit weight. This augmented training data set is input to the PNN/LBG algorithm pair. The PNN algorithm naturally uses these weights in its clustering procedure. The LBG algorithm in turn keeps, as before, a count of the number of training vectors quantizing to each centroid; however, those training vectors which were actually centroids from the previous PNN/LBG run add weight equal to their input weight. This process may be repeated ad infinitum to add more training data to the codebook. Since the actual mean-square error associated with a centroid is not maintained in this procedure, in practical implementations, more centroids than the desired final number of centroids should be maintained until the last iteration. The present implementation keeps 2048 centroids, for both gray scale and structure codebooks, until the last iteration, at which time the 2048 centroids are collapsed to 16, 32, 64, or 128 elements, yielding the final codebooks.
VQ Codebook Searching Although the VQ codebooks are constructed off-line, the encoding process must still perform an on-line selection of gray scale and structure VQ codebook representatives for each LOT coefficient block of the input image. For encoding speed, it is important that this process be fast. A method for selecting VQ vectors quickly, and which selects the best VQ representatives for the overwhelming majority of input vectors, utilizes the LOT coefficients with the highest energy. Gray scale VQ codebook search
For the gray scale vector, coefficient 0 (Fig. 9) contains the most energy. Consequently, the gray scale VQ codebook is ordered according to coefficient 0. Then an integer-valued vector is computed, specific to that codebook, which approximately indexes the 0th elements of that codebook. This vector, called a start map and used to start the VQ searching procedure, can be of any length. Longer lengths, however, give more accurate starting positions. More specifically, the ith element of the start map is the index (under the ordering above) of the gray scale VQ vector whose 0th element is nearest to the quantity iN+b, where N is a normalization factor, and b is a bias. The quantities N and b are selected so that the extreme values of iN+b bracket the extreme values of LOT coefficient 0. The values used in the current implementation are b = -4000 and N = 2, with a total start map vector length of 16384. The gray scale VQ codebook vector search is then started at the codebook index given by the start map at index (x - b)/N, where x is the input 0th element of the gray scale LOT coefficient vector to be quantized.
Both the codebook ordering and the construction of the start map are accomplished off-line. The on-line VQ computations begin with the selection of the codebook search start index, computed from the start map. To speed the search, only coefficients 0, 2, and 8 are used in the comparisons, since coefficient 10 is near zero and highly correlated with the other coefficients. A gray scale VQ codebook element is compared with a gray scale vector to be quantized by computing their mean-square difference. Because of orthogonality, this comparison metric is also the mean-square difference between their inverse transforms in the spatial domain. The mean-square difference is computed by successively adding the square of the difference between corresponding indices 0, 2, and 8, in that order. The quantization step proceeds by computing comparison metrics, or partial comparison metrics, for successive codebook elements in an alternating manner. That is, if n is the starting codebook index, comparisons are made with indices n+1, n-1, n+2, n-2, n+3, n-3, and so forth, until the best codebook vector is found. During the VQ search procedure for each gray scale vector to be encoded, the minimum comparison metric is maintained. If, during computation of the mean-square difference, that minimum is exceeded, the comparison with the present vector is terminated. If the squared difference between 0th elements exceeds that minimum, those VQ vectors with indices below
(respectively, above) that vector, if that vector has index less than (respectively, greater than) the index of the starting vector, are eliminated, since those vectors are guaranteed to have greater comparison metric values because of the codebook ordering. The search is also terminated if all codebook vectors have been examined. The VQ codebook vector corresponding to the minimum comparison metric is selected as the quantizing vector. This procedure guarantees that, except for differences which might have been introduced by coefficient 10, the VQ codebook element whose mean-square difference from the vector to be quantized is minimal has been selected in the quantization step. Of course, coefficient 10 could be used in the search procedure computations to ensure op imality. Structure VQ codebook search
The search for the optimal structure VQ codebook representative proceeds in a manner completely analogous to that for the gray scale representative. Since coefficients 1, 3, 4, 5, and 12 (Fig. ) contain most of the energy in the structure vector, these elements are used in structure quantization. Coefficients 1 and 4 contain approximately the same amount of energy, each containing more than coefficients 3, 5, and 12. Coefficient 5 contains more energy than 3 and 12, which each contain approximately the same amount. Consequently, the structure VQ codebook is ordered according to coefficient 1, a start map is constructed as for the gray scale VQ codebook, and mean-square difference comparison metrics are computed using the coefficients in the order 1, 4, 5, 3, 12. The start map for the structure VQ codebook is also of length 16384, and uses normalization N = 1 and bias b = -8192. Structure VQ codebook elements are compared in an alternating manner as above, a running minimum comparison metric is maintained, and analogous stopping rules are used for the search. As for the gray scale search, this algorithm guarantees that except for differences which might have been introduced by coefficients 6, 7, 9, 11, 13, 14, and 15, the best mean-square representative from the structure VQ codebook has been selected in the quantization step. Again these coefficients could be used also to ensure optimality at the expense of some extra computation. VQ Decoding
The VQ decoding step is a simple lookup and recombination procedure. On decoding, the gray scale and structure VQ codebook elements corresponding to the indices chosen during the encoding process are fetched from the decoding VQ codebook and recombined, in the appropriate order, to reconstruct the encoded LOT coefficient block. In this implementation, the decoding VQ codebook is the encoding codebook with all elements integer-divided by 7.055664 as explained above. All of the reconstructed LOT coefficient blocks form a matrix of the original image dimensions which are then inverse transformed by the inverse LOT to produce the reconstructed image. Arithmetic Coding (AC) The output of the VQ step 63, 64 (Fig. 2) is two sequences of VQ codebook indices, one corresponding to the gray scale vectors, and one corresponding to the structure vectors. Some statistical redundancy exists in these indices, arising from interblock predictability, which can be eliminated through the use of an entropy coder. In this implementation, arithmetic coding (AC) schemes 67, 69 are used on each of the index sequences. Arithmetic coding is a variable-length, lossless coding technique which produces a code stream through successive rescaling of code intervals according to a stochastic model of the source. The effectiveness of the compression is a direct consequence of the fidelity of the assumed stochastic model. A basic (non-conditional) arithmetic coding procedure is set forth in Witten, Neal, and Cleary, Arithmetic Coding for Data Compression, Communications of the ACM, vol. 30., no. 6, June 1987, pp. 520-540. The basic procedure is either adaptive, so that a probability distribution describing the source may adapt to changing source statistics; or static, so that a fixed distribution is used throughout the coding process. In addition, the AC process can also use conditional, or contextual information. That is, rather than using one distribution (as in the Witten reference) , multiple conditional probability distributions are used to code source symbols (VQ indices, in this case) based on predefined contexts. One implementation uses separate static AC codebooks and separately defined contexts to code the two VQ index sequences. The procedures involve an off-line AC codebook generation and normalization procedure, and on-line encoding and decoding procedures.
Gray Scale Index Coding The gray scale index AC procedure uses the same number of contexts as symbols. Therefore, use of an n-element gray scale VQ codebook entails the use of an n-context gray scale index AC coder. The contexts can be equated with linear predictions of LOT coefficient 0 (Fig. 9) . To precisely define the contexts, denote by
2ieft' z abovβ' and zcorner the °th coefficients of the LOT blocks whose positions relative to the LOT block corresponding to the gray scale index to be encoded are, respectively, immediately to the left, immediately above, and above and to the left. The prediction of the 0th coefficient of the gray scale VQ index to be encoded is defined to be x " (3 zlβft + 3 zabove " 2 zcorner + 2 > /4 where the division is an integer division with remainder disregarded. The context is then defined to be the index of x given by the gray scale VQ start map, whose definition and implementation are described above. The context is then represented by an integer between 0 and n-1, where n is the number of elements in the gray scale VQ codebook. The equation for x is a linear prediction based on a conglomeration of autoregressive models fit to test data and approximated so that it is implementable using only bit-shifts and additions.
For LOT blocks which are on either the top or left edge of the image, the context definition above does not apply. For blocks on the left edge, context is defined to be the gray scale VQ index of the block immediately above. For blocks on the top edge, context is defined to be the index of the block to the left. For the upper left block, context is the center gray scale VQ index.
The construction of AC codebooks 180 is the construction of conditional probability distributions of the symbols for each context. An AC codebook for each gray scale VQ codebook is constructed off-line by accumulating statistics on context-index pairs for selected training images 182. Specifically, training images, distinct from the images 160, 168 used to generate the VQ codebooks, are run through a procedure 184 which computes the LOT, quantizes each block based on the VQ vector selection algorithm described above, then computes the context of each gray scale index and accumulates the counts of each context-index pair. For each fixed context, the sample distribution of the indices so obtained defines the conditional distribution of the gray scale indices.
In the implementation of the arithmetic coder, these distributions are modified so as to be represented as integers, in cumulative form, with no zero-probability indices, and normalized. This is accomplished on a context-by-context basis as follows. To eliminate zero probability indices, the number of counts for each index with count zero is set to one. Then, the total number of counts, T, is found. The number of counts for each index is then integer-multiplied by 16384/T so that the effective total number of counts is approximately 16384 . The largest counts are then increased or decreased so that the number of counts is exactly 16384. The reason for this normalization is that in the AC implementation (see the Witten reference) , the encoder performs two integer divisions by the total number of counts for each symbol encoded. These divisions are thus replaced by 14-bit shifts, improving the speed of execution. Once this set of conditional cumulative distributions is defined, the context-based AC procedure is a modification of the basic non-adaptive procedure described in the Witten reference. Gray scale indices are coded in raster order, using the following steps: (1) Get gray scale VQ index to be encoded; (2) Find context of index to be encoded; (3) From AC codebook, select cumulative probability distribution based on that index; (4) Encode index (as in the Witten reference) based on selected distribution. The implementation of the Witten reference is modified by eliminating function calls, making use of register declarations, and using shifts in place of divisions where possible in order to improve speed. Structure Index Coding
Structure indices are coded in a manner completely analogous to the coding method for the gray scale indices. The structure index AC procedure uses the same number of contexts as symbols, so that use of an n-element structure VQ codebook entails the use of an n-context structure index AC coder. The context definition is simpler, however, than in the gray scale index case. The context of a structure index to be coded is simply the structure VQ index of the LOT block to the left of the block to be encoded. In case the LOT block is on the left edge of the image, the context is defined to be the structure VQ index of the LOT block immediately above the block to be encoded. Finally, the upper left LOT block has context equal to the center structure VQ index.
Structure AC codebooks are constructed off-line in exactly the same way (and are constructed at the same time) as the gray scale AC codebooks. That is, training images are transformed under the LOT and quantized with VQ, contexts are found, and context-index pairs are accumulated. For each context, the sample distributions obtained from this procedure are normalized and represented in exactly the same way as the gray scale distributions. Once this set of conditional cumulative distributions is defined, the context-based AC of the structure VQ indices proceeds just as for the gray scale indices. That is, structure indices are coded in raster order, using the following steps: (1) Get structure VQ index to be encoded; (2) Find context of index to be encoded; (3) From AC codebook, select cumulative probability distribution based on that index; (4) Encode index (as in Witten reference) based on selected distribution. The concatenation of the gray scale and structure index AC code streams defines the encoded file 20, 25 using this algorithm.
AC Decoding The first step in decoding a file encoded by this algorithm is the AC decoding of the VQ indices. The AC decoders, for both structure and gray scale indices, mirrors the operation of the AC encoders. Specifically, indices are decoded in raster order using the following steps: (1) Determine context of index to be decoded (determined from previously decoded symbols) ; (2) From AC codebook, select cumulative probability distribution based on that index; (3) Decode index (as in Witten reference) based on selected distribution; (4) Record decoded index. The decoded VQ indices are then subjected to VQ decoding and the inverse LOT to produce the reconstructed image. Color Compression
The compression of a color image with this algorithm utilizes the representation of the image in luminance-chrominance, or YUV, color space. However, computer monitor technology makes the RGB (red, green, blue) color coordinate system representation a standard one, with each pixel represented by 24 bits, comprised of 8 bits for each of the three channels. For compression of RGB color images, the present implementation uses a non-standard definition of YUV color space and accompanying transform from RGB to YUV space and back given by
and
Figure imgf000027_0001
These transformation equations are implemented entirely with bit-shifts and additions, with the exception that one division is required in both transformations. The transformations are accomplished in 16-bit arithmetic, with each component in each color space represented as a non-negative 8-bit integer. In the transformation from RGB to YUV, the YUV component computations are implemented as
Y = (R + 4G + B + 3)/6
U = (R - 2G + B + 2)/4 + 128 V = (R - B + l)/2 + 128 where the multiplications and divisions by 2 and 4 are bit shifting operations, and the division by 6 is an integer division. In the color compression algorithm, the U and V components are subsampled by a factor of two in each direction. Consequently, the U and V computations are made only for every other pixel in each direction. The Y, U, and V components are treated as separate (gray scale) images and subjected to the compression algorithm to produce three code streams which are combined to produce the final output code file.
On decoding, the Y, U, and V component images are reconstructed and recombined via the YUV-to-RGB transformation. In this transformation, the RGB component computations are implemented as
U' = [4(U - 128) + l]/3 V» = V - 128 R = Y + U* + V G = Y - U'/2
B = Y + U* - V1 with the R, G, and B values upper- and lower-limited to [0, 255], The multiplication by 4 and the division by two are implemented as bit-shifts, while the division by 3 is an integer division. Because of the subsampling of U and V in the transform to RGB color space, the computation of U* and V is carried out only for every other pixel in each direction.
Other embodiments are within the following claims.

Claims

Claims 1. A method of generating a compressed data file from an original data file used to represent a continuous-tone image, comprising transforming by a lapped orthogonal transform the original file of data to generate a transform file of coefficients, quantizing the transform coefficients, and coding the quantized values to generate the compressed data file, the lapped orthogonal transform being arranged to compute all transform coefficients by means only of bit shifts, negations, and adds.
2. The method of claim 1 wherein said lapped orthogonal transform uses only multiplier values which are powers of 2.
3. The method of claim 2 wherein said lapped orthogonal transform uses multiplier values of ±1, ±2, ±4, and ±8.
4. The method of claim 3 wherein said lapped orthogonal transform is based on successive transformations of blocks of data and includes inter- block and intra-block computations, and wherein transformations of blocks reuse inter-block and intra- block computations.
5. The method of claim 1 further comprising factoring the coefficients into at least two groups, and applying the quantizing and coding independently to the respective groups.
6. The method of claim 1 wherein said coding comprises entropy coding.
7. The method of claim 6 wherein said entropy coding comprises arithmetic coding.
8. The method of claim 7 wherein said arithmetic coding is conditioned on contexts.
9. A method of generating a compressed data file from an original data file used to represent a continuous-tone image, comprising transforming the original file of data to a transform file of coefficients, factoring the coefficients into at least two groups, and quantizing and coding the groups of transform coefficients independently.
10. The method of claim 9 wherein said transform comprises a lapped orthogonal transform.
11. The method of claim 10 wherein said lapped orthogonal transform computes all transform coefficients by means only of bit shifts, negations, and adds.
12. The method of claim 10 wherein said lapped orthogonal transform uses only multiplier values which are powers of 2.
13. The method of claim 12 wherein said lapped orthogonal transform uses multiplier values of ±1, ±2, ±4, and ±8.
14. The method of claim 10 wherein said lapped orthogonal transform is based on successive transformations of blocks of data, and wherein transformations of blocks reuse inter-block and/or intra- block computations.
15. The method of claim 10 wherein said coding comprises entropy coding.
16. The method of claim 15 wherein said entropy coding comprises arithmetic coding.
17. The method of claim 16 wherein said arithmetic coding is conditioned on contexts.
18. A method of generating a compressed data file from an original data file used to represent a continuous-tone image, comprising transforming, by a lapped orthogonal transform which uses only multiplier values of ±1, ±2, ±4, and ±8, the original file of data to generate a transform file of coefficients, factoring the coefficients into at least two groups, quantizing independently the respective groups of transform coefficients to generate corresponding groups of quantized values, and arithmetic coding independently the groups of quantized values, based on contexts, to generate the compressed data file, the lapped orthogonal transform being arranged to compute all transform coefficients by means only of bit shifts, negations, and adds, the lapped orthogonal transform being based on successive transformations of blocks of data and wherein transformations of blocks reuse inter-block and/or intra- block computations.
19. A method of processing a continuous-tone image for later reconstruction, comprising acquiring from the image an original data file of digital data values representing continuous-tone information in the image, transforming by a lapped orthogonal transform the original file of data to generate a transform file of coefficients, quantizing the transform coefficients, and coding the quantized values to generate the compressed data file, the lapped orthogonal transform being arranged to compute all transform coefficients by means only of bit shifts, negations, and adds.
20. A method of processing a continuous-tone image for later reconstruction, comprising acquiring from the image an original data file of digital data values representing continuous-tone information in the image, transforming the original file of data to a transform file of coefficients, factoring the coefficients into at least two groups, and quantizing and coding the groups of transform coefficients independently.
21. A method of reconstructing an original data file from a compressed data file of the kind generated by the method of claim 1, comprising decoding the compressed data file to generate quantized values, deriving transform coefficients from the quantized values, inverse transforming by an inverse lapped orthogonal transform the original file of data to generate a transform file of coefficients the inverse lapped orthogonal transform being arranged to compute all transform coefficients by means only of bit shifts, negations, and adds.
22. A method of reconstructing an original data file from a compressed data file of the kind generated by the method of claim 9, comprising decoding and deriving independently at least two groups of transform coefficients from the compressed file, reassembling the two groups of coefficients,and inverse transforming the reassembled coefficients to the original file.
23. Apparatus for generating a compressed data file from an original data file used to represent a continuous-tone image, comprising a lapped orthogonal transform device for transforming the original file of data to generate a transform file of coefficients, a quantizer for quantizing the transform coefficients, and a coder for encoding the quantized values to generate the compressed data file, the lapped orthogonal transform device consisting of bit shifting, negation, and addition computational elements.
24. Apparatus for generating a compressed data file from an original data file used to represent a continuous-tone image, comprising a transform device for transforming the original file of data to a transform file of coefficients, a factoring device for factoring the coefficients into at least two groups, and a quantizer and an encoder for quantizing and coding the groups of transform coefficients independently.
25. Apparatus for processing a continuous-tone image for later reconstruction, comprising a camera or scanner for acquiring from the image an original data file of digital data values representing continuous-tone information in the image, a transform device for transforming by a lapped orthogonal transform the original file of data to generate a transform file of coefficients, a quantizer for quantizing the transform coefficients, and an encoder for coding the quantized values to generate the compressed data file, the transform device consisting of bit shifting, negation, and addition computational elements.
26. Apparatus for processing a continuous-tone image for later reconstruction, comprising a camera or scanner for acquiring from the image an original data file of digital data values representing continuous-tone information in the image, a transform device for transforming the original file of data to a transform file of coefficients, a factoring device for factoring the coefficients into at least two groups, and a quantizer and an encoder for quantizing and coding the groups of transform coefficients independently.
27. A method of converting a pixel data file representing a color image expressed in RGB color space to a pixel data file representing said color image in YUV color space for subsequent processing in YUV format comprising representing each component (R, G, and B) of said RGB color space as a non-negative 8-bit integer, and converting said R, G, and B components to Y, U, and V components using only bit shifts and additions and no more than a single division operation.
28. The method of claim 27 wherein said converting is done in accordance with the following relationships: Y = (R + 4G + B + 3)/6 U = (R - 2G + B + 2)/4 + 128 V = (R - B + l)/2 + 128
29. The method of claim 27 further comprising reconverting the YUV pixel data file to an RGB pixel data file by performing only multiplications, additions, shifts and no more than a single division.
30. The method of claim 29 wherein said reconversion is done in accordance with the following relationships U' = [4(U - 128) + l]/3 V* = V - 128 R = Y + U1 + V G = Y - U'/2 B = Y + U1 - V. '
31. A method for generating a set of centroids to serve as a codebook for use in vector quantization of data representing a continuous-tone image comprising applying PNN and LBG procedures to create centroids, counting the number of vectors which quantize to each centroid, updating the centroids by reapplying the PNN and LBG procedures to input data which includes the previously generated centroids each applied with a weight based on the number of vectors which quantized to that centroid.
32. The method of claim 31 wherein said updating step results in a reduced number of centroids.
PCT/US1992/003963 1991-05-17 1992-05-12 Continuous-tone image compression WO1992021101A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US70259691A 1991-05-17 1991-05-17
US702,596 1991-05-17

Publications (1)

Publication Number Publication Date
WO1992021101A1 true WO1992021101A1 (en) 1992-11-26

Family

ID=24821868

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US1992/003963 WO1992021101A1 (en) 1991-05-17 1992-05-12 Continuous-tone image compression

Country Status (3)

Country Link
US (1) US5455874A (en)
AU (1) AU1996292A (en)
WO (1) WO1992021101A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0673014A2 (en) * 1994-03-17 1995-09-20 Nippon Telegraph And Telephone Corporation Acoustic signal transform coding method and decoding method
WO1996015627A2 (en) * 1994-11-09 1996-05-23 Philips Electronics N.V. System and method for transmitting picture or sound signals

Families Citing this family (40)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2720440B1 (en) * 1994-05-24 1996-07-05 Inst Francais Du Petrole Method and system for transmitting a drilling signal.
JP3302229B2 (en) * 1994-09-20 2002-07-15 株式会社リコー Encoding method, encoding / decoding method and decoding method
US5881176A (en) 1994-09-21 1999-03-09 Ricoh Corporation Compression and decompression with wavelet style and binary style including quantization by device-dependent parser
US6873734B1 (en) 1994-09-21 2005-03-29 Ricoh Company Ltd Method and apparatus for compression using reversible wavelet transforms and an embedded codestream
US6229927B1 (en) 1994-09-21 2001-05-08 Ricoh Company, Ltd. Reversible embedded wavelet system implementation
US6549666B1 (en) 1994-09-21 2003-04-15 Ricoh Company, Ltd Reversible embedded wavelet system implementation
US5774597A (en) * 1995-09-05 1998-06-30 Ge Medical Systems, Inc. Image compression and decompression using overlapped cosine transforms
US5987181A (en) * 1995-10-12 1999-11-16 Sharp Kabushiki Kaisha Coding and decoding apparatus which transmits and receives tool information for constructing decoding scheme
US5805739A (en) * 1996-04-02 1998-09-08 Picturetel Corporation Lapped orthogonal vector quantization
GB9622725D0 (en) * 1996-10-31 1997-01-08 Sgs Thomson Microelectronics A method and circuitry for compressing and decompressing digital data
KR100238889B1 (en) * 1997-09-26 2000-01-15 전주범 Apparatus and method for predicting border pixel in shape coding technique
US6044172A (en) * 1997-12-22 2000-03-28 Ricoh Company Ltd. Method and apparatus for reversible color conversion
US6128346A (en) * 1998-04-14 2000-10-03 Motorola, Inc. Method and apparatus for quantizing a signal in a digital system
US6771393B1 (en) * 1999-08-09 2004-08-03 Conexant Systems, Inc. Transmission rate control for continuous-tone facsimile
US6795578B1 (en) * 1999-09-29 2004-09-21 Canon Kabushiki Kaisha Image processing apparatus and method, and storage medium
US6678423B1 (en) * 2000-03-13 2004-01-13 International Business Machines Corporation Shift and/or merge of transformed data along two axes
US6671414B1 (en) * 2000-03-13 2003-12-30 International Business Machines Corporation Shift and/or merge of transformed data along one axis
US6420304B1 (en) * 2000-04-20 2002-07-16 China Petrochemical Development Corporation Polymer-supported carbonylation catalyst and its use
US6898323B2 (en) 2001-02-15 2005-05-24 Ricoh Company, Ltd. Memory usage scheme for performing wavelet processing
US6895120B2 (en) 2001-03-30 2005-05-17 Ricoh Co., Ltd. 5,3 wavelet filter having three high pair and low pair filter elements with two pairs of cascaded delays
US7062101B2 (en) 2001-03-30 2006-06-13 Ricoh Co., Ltd. Method and apparatus for storing bitplanes of coefficients in a reduced size memory
US6859563B2 (en) 2001-03-30 2005-02-22 Ricoh Co., Ltd. Method and apparatus for decoding information using late contexts
US6950558B2 (en) 2001-03-30 2005-09-27 Ricoh Co., Ltd. Method and apparatus for block sequential processing
US7006697B1 (en) 2001-03-30 2006-02-28 Ricoh Co., Ltd. Parallel block MQ arithmetic image compression of wavelet transform coefficients
US7581027B2 (en) 2001-06-27 2009-08-25 Ricoh Co., Ltd. JPEG 2000 for efficent imaging in a client/server environment
US6909807B2 (en) * 2001-06-28 2005-06-21 Intel Corporation Compression and synthesis of two dimensional images
US7453936B2 (en) * 2001-11-09 2008-11-18 Sony Corporation Transmitting apparatus and method, receiving apparatus and method, program and recording medium, and transmitting/receiving system
US7240001B2 (en) 2001-12-14 2007-07-03 Microsoft Corporation Quality improvement techniques in an audio encoder
US7280252B1 (en) 2001-12-19 2007-10-09 Ricoh Co., Ltd. Error diffusion of multiresolutional representations
US7095907B1 (en) 2002-01-10 2006-08-22 Ricoh Co., Ltd. Content and display device dependent creation of smaller representation of images
US7120305B2 (en) 2002-04-16 2006-10-10 Ricoh, Co., Ltd. Adaptive nonlinear image enlargement using wavelet transform coefficients
US7460990B2 (en) 2004-01-23 2008-12-02 Microsoft Corporation Efficient coding of digital media spectral data using wide-sense perceptual similarity
US7630882B2 (en) * 2005-07-15 2009-12-08 Microsoft Corporation Frequency segmentation to obtain bands for efficient coding of digital media
US7562021B2 (en) * 2005-07-15 2009-07-14 Microsoft Corporation Modification of codewords in dictionary used for efficient coding of digital media spectral data
US7761290B2 (en) 2007-06-15 2010-07-20 Microsoft Corporation Flexible frequency and time partitioning in perceptual transform coding of audio
US8046214B2 (en) * 2007-06-22 2011-10-25 Microsoft Corporation Low complexity decoder for complex transform coding of multi-channel sound
US7885819B2 (en) 2007-06-29 2011-02-08 Microsoft Corporation Bitstream syntax for multi-process audio decoding
US8249883B2 (en) 2007-10-26 2012-08-21 Microsoft Corporation Channel extension coding for multi-channel source
US9621767B1 (en) * 2015-11-24 2017-04-11 Intel Corporation Spatially adaptive tone mapping for display of high dynamic range (HDR) images
US10074162B2 (en) 2016-08-11 2018-09-11 Intel Corporation Brightness control for spatially adaptive tone mapping of high dynamic range (HDR) images

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4939583A (en) * 1987-09-07 1990-07-03 Hitachi, Ltd. Entropy-coding system
US5051840A (en) * 1988-12-14 1991-09-24 Fuji Photo Film Co., Ltd. Device for coding a picture signal by compression

Family Cites Families (46)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5132488B2 (en) * 1971-12-30 1976-09-13
JPS5341920A (en) * 1976-09-29 1978-04-15 Ricoh Co Ltd Telautograph information reading device
JPS54150022A (en) * 1978-05-18 1979-11-24 Ricoh Co Ltd Method and apparatus for picture encoding reproduction
FR2430139A1 (en) * 1978-06-28 1980-01-25 Labo Electronique Physique BINARY SIGNAL COMPRESSION DEVICE AND FACSIMILE ENCODED TRANSMISSION SYSTEM EQUIPPED WITH THIS DEVICE
US4286256A (en) * 1979-11-28 1981-08-25 International Business Machines Corporation Method and means for arithmetic coding utilizing a reduced number of operations
US4467317A (en) * 1981-03-30 1984-08-21 International Business Machines Corporation High-speed arithmetic compression coding using concurrent value updating
US4494108A (en) * 1981-11-09 1985-01-15 International Business Machines Corporation Adaptive source modeling for data file compression within bounded memory
CA1212452A (en) * 1982-06-11 1986-10-07 Tokumichi Murakami Vector quantizer
US4560977A (en) * 1982-06-11 1985-12-24 Mitsubishi Denki Kabushiki Kaisha Vector quantizer
US4567464A (en) * 1983-01-28 1986-01-28 International Business Machines Corporation Fixed rate constrained channel code generating and recovery method and means having spectral nulls for pilot signal insertion
FR2544574B1 (en) * 1983-04-13 1985-06-14 Guichard Jacques COMPRESSION ENCODING METHOD OF A COLOR VIDEO DIGITAL SIGNAL
US4670851A (en) * 1984-01-09 1987-06-02 Mitsubishi Denki Kabushiki Kaisha Vector quantizer
DE3689796T2 (en) * 1985-01-16 1994-08-04 Mitsubishi Electric Corp Video coding device.
US4668995A (en) * 1985-04-12 1987-05-26 International Business Machines Corporation System for reproducing mixed images
US4780718A (en) * 1985-06-17 1988-10-25 Hughes Aircraft Company Sar image encoding for data compression
FR2586120B1 (en) * 1985-08-07 1987-12-04 Armines METHOD AND DEVICE FOR SEQUENTIAL IMAGE TRANSFORMATION
EP0227956B1 (en) * 1985-12-04 1990-04-25 Siemens Aktiengesellschaft Vector quantization data reduction method of digital picture signals
IT1184023B (en) * 1985-12-17 1987-10-22 Cselt Centro Studi Lab Telecom PROCEDURE AND DEVICE FOR CODING AND DECODING THE VOICE SIGNAL BY SUB-BAND ANALYSIS AND VECTORARY QUANTIZATION WITH DYNAMIC ALLOCATION OF THE CODING BITS
US4652856A (en) * 1986-02-04 1987-03-24 International Business Machines Corporation Multiplication-free multi-alphabet arithmetic code
DE3605032A1 (en) * 1986-02-18 1987-08-20 Thomson Brandt Gmbh DIGITAL MESSAGE TRANSMISSION METHOD
IT1190565B (en) * 1986-04-07 1988-02-16 Cselt Centro Studi Lab Telecom PROCEDURE AND CODING DEVICE FOR NUMBERED SIGNALS BY VECTOR QUANTIZATION
US4749983A (en) * 1986-04-29 1988-06-07 International Business Machines Corporation Compression of multilevel signals
US4905297A (en) * 1986-09-15 1990-02-27 International Business Machines Corporation Arithmetic coding encoder and decoder system
US4891643A (en) * 1986-09-15 1990-01-02 International Business Machines Corporation Arithmetic coding data compression/de-compression by selectively employed, diverse arithmetic coding encoders and decoders
US4792954A (en) * 1986-10-31 1988-12-20 International Business Machines Corporation Concurrent detection of errors in arithmetic data compression coding
US4851906A (en) * 1986-11-04 1989-07-25 Nec Corporation Data compression using orthogonal transform and vector quantization
FR2608864B1 (en) * 1986-12-17 1991-10-31 France Etat METHODS OF ENCODING AND TRANSMITTING A DIGITAL SIGNAL, BY SELECTIVE TIME COOLING OF A VECTOR QUANTIFIER
US4725885A (en) * 1986-12-22 1988-02-16 International Business Machines Corporation Adaptive graylevel image compression system
JP2527350B2 (en) * 1987-02-25 1996-08-21 富士写真フイルム株式会社 Image data compression and reconstruction device by vector quantization.
DE3889560T2 (en) * 1987-02-25 1994-09-01 Fuji Photo Film Co Ltd Method for compressing image signals by vector quantization.
JP2527351B2 (en) * 1987-02-25 1996-08-21 富士写真フイルム株式会社 Image data compression method
JP2532909B2 (en) * 1987-02-25 1996-09-11 富士写真フイルム株式会社 Image data compression device by vector quantization
US4870695A (en) * 1987-03-20 1989-09-26 International Business Machines Corporation Compression and de-compression of column-interlaced, row-interlaced graylevel digital images
US4922273A (en) * 1987-04-02 1990-05-01 Konica Corporation Compression method of halftone image data
US4785356A (en) * 1987-04-24 1988-11-15 International Business Machines Corporation Apparatus and method of attenuating distortion introduced by a predictive coding image compressor
US4849810A (en) * 1987-06-02 1989-07-18 Picturetel Corporation Hierarchial encoding method and apparatus for efficiently communicating image sequences
US4870497A (en) * 1988-01-22 1989-09-26 American Telephone And Telegraph Company Progressive transmission of high resolution two-tone facsimile images
US4873577A (en) * 1988-01-22 1989-10-10 American Telephone And Telegraph Company Edge decomposition for the transmission of high resolution facsimile images
JPH0246068A (en) * 1988-08-08 1990-02-15 Ricoh Co Ltd Picture data compressing system and facsimile equipment applying same
US4910608A (en) * 1988-12-09 1990-03-20 Harris Corporation Imagery data compression mechanism employing adaptive vector quantizer
JPH02170787A (en) * 1988-12-23 1990-07-02 Matsushita Electric Ind Co Ltd Vector quantizing encoder and vector quantizing decoder
JPH02248161A (en) * 1989-03-20 1990-10-03 Fujitsu Ltd Data transmission system
JPH02280462A (en) * 1989-04-20 1990-11-16 Fuji Photo Film Co Ltd Picture data compression method
US5063608A (en) * 1989-11-03 1991-11-05 Datacube Inc. Adaptive zonal coder
US5048111A (en) * 1989-11-06 1991-09-10 Eastman Kodak Company Hybrid subband-based hierarchical storage and display method for high resolution digital images in a multiuse environment
US5218647A (en) * 1990-12-12 1993-06-08 Ricoh Corporation Method to convert between 2 color space on a 32 bit μ-processor

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4939583A (en) * 1987-09-07 1990-07-03 Hitachi, Ltd. Entropy-coding system
US5051840A (en) * 1988-12-14 1991-09-24 Fuji Photo Film Co., Ltd. Device for coding a picture signal by compression

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
IEEE TRANSACTIONS ON ACOUSTICS, SPEECH, AND SIGNAL PROCESSING, Vol. 37, No. 4, April 1989, HENRIQUE S. MALVER et al., "The Lot: Transform Coding without Blocking Effects", pages 553-559. *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0673014A2 (en) * 1994-03-17 1995-09-20 Nippon Telegraph And Telephone Corporation Acoustic signal transform coding method and decoding method
EP0673014A3 (en) * 1994-03-17 1997-05-02 Nippon Telegraph & Telephone Acoustic signal transform coding method and decoding method.
US5684920A (en) * 1994-03-17 1997-11-04 Nippon Telegraph And Telephone Acoustic signal transform coding method and decoding method having a high efficiency envelope flattening method therein
WO1996015627A2 (en) * 1994-11-09 1996-05-23 Philips Electronics N.V. System and method for transmitting picture or sound signals
WO1996015627A3 (en) * 1994-11-09 1996-07-25 Philips Electronics Nv System and method for transmitting picture or sound signals

Also Published As

Publication number Publication date
AU1996292A (en) 1992-12-30
US5455874A (en) 1995-10-03

Similar Documents

Publication Publication Date Title
US5455874A (en) Continuous-tone image compression
CN101399988B (en) Method for reduced bit-depth quantization
Yang et al. Combined techniques of singular value decomposition and vector quantization for image coding
JP5507077B2 (en) Apparatus and method for encoding and calculating a discrete cosine transform using a butterfly processor
US6456744B1 (en) Method and apparatus for video compression using sequential frame cellular automata transforms
US5845013A (en) Region-based texture coding method and decoding method, and corresponding systems
US7649939B2 (en) Apparatus and method for decoding and computing a discrete cosine transform using a butterfly processor
US6393154B1 (en) Method and apparatus for digital image compression using a dynamical system
AU2002259268A1 (en) Apparatus and method for encoding and computing a discrete cosine transform using a butterfly processor
EP1324618A2 (en) Encoding method and arrangement
JPH11177985A (en) Method and device for high speed image compression
US6760479B1 (en) Super predictive-transform coding
US6330283B1 (en) Method and apparatus for video compression using multi-state dynamical predictive systems
Jones et al. Digital image compression
US6400766B1 (en) Method and apparatus for digital video compression using three-dimensional cellular automata transforms
Barrilleaux et al. Efficient vector quantization for color image encoding
Harandi et al. Low bitrate image compression using self-organized Kohonen maps
Westwater XYZ Video Compression: An algorithm for real-time compression of motion video based upon the three-dimensional discrete cosine transform
Levy Self-Similarity and Wavelet Transforms for the Compression of Still Image and Video Data

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): AU BB BG BR CA CS FI HU JP KP KR LK MG MN MW NO PL RO RU SD

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): AT BE BF BJ CF CG CH CI CM DE DK ES FR GA GB GN GR IT LU MC ML MR NL SE SN TD TG

DFPE Request for preliminary examination filed prior to expiration of 19th month from priority date (pct application filed before 20040101)
EX32 Extension under rule 32 effected after completion of technical preparation for international publication

Ref country code: UA

LE32 Later election for international application filed prior to expiration of 19th month from priority date or according to rule 32.2 (b)

Ref country code: UA

LE32 Later election for international application filed prior to expiration of 19th month from priority date or according to rule 32.2 (b)

Ref country code: UA

122 Ep: pct application non-entry in european phase
NENP Non-entry into the national phase

Ref country code: CA