WO1999004553A2 - Image compression - Google Patents

Image compression Download PDF

Info

Publication number
WO1999004553A2
WO1999004553A2 PCT/FI1998/000512 FI9800512W WO9904553A2 WO 1999004553 A2 WO1999004553 A2 WO 1999004553A2 FI 9800512 W FI9800512 W FI 9800512W WO 9904553 A2 WO9904553 A2 WO 9904553A2
Authority
WO
WIPO (PCT)
Prior art keywords
zero
quantisation
coefficients
transform
value
Prior art date
Application number
PCT/FI1998/000512
Other languages
French (fr)
Other versions
WO1999004553A3 (en
Inventor
Qin Liu
Original Assignee
Nokia Mobile Phones Limited
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 Nokia Mobile Phones Limited filed Critical Nokia Mobile Phones Limited
Priority to DE69811669T priority Critical patent/DE69811669T2/en
Priority to EP98925676A priority patent/EP0997034B1/en
Priority to AU77699/98A priority patent/AU7769998A/en
Publication of WO1999004553A2 publication Critical patent/WO1999004553A2/en
Publication of WO1999004553A3 publication Critical patent/WO1999004553A3/en

Links

Classifications

    • 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/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/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

Definitions

  • the present invention relates to a method and apparatus for compressing a digitised image.
  • JPEG discrete cosine transform
  • a DCT based encoder 1 employing JPEG is shown schematically in Figure 1 (see Wallace, G.K. "The JPEG Still Picture Compression Standard” Communications of The ACM, April 1991 ).
  • a digitised greyscale image 2 which is composed of a matrix of pixel intensity values (e.g. 512X480)
  • the image is first subdivided into 8x8 pixel blocks 3.
  • the pixel blocks 3 are fed in sequence to the encoder 1 which has at its input a forward DCT (FDCT) unit 4.
  • the DCT is related to the discrete Fourier transform (DFT), such that the FDCT unit 4 effectively transforms each 8x8 block 3 into 64 orthogonal basis signals or DCT coefficients, each of which corresponds to one of 64 "spatial frequencies ".
  • DFT discrete Fourier transform
  • the DCT represents the frequency spectrum of the input block 3.
  • the DCT coefficient with zero frequency in both dimensions is the "DC” coefficient and the remaining 63 coefficients are the "AC” coefficients. It is a general property of images that pixel intensity values vary slowly from pixel to pixel across the image. Thus, for a typical 8x8 sample block 3 from a typical source image, most of the DCT coefficients have zero or near-zero amplitude.
  • each DCT is provided to a quantiser unit 5 which quantises the DCT coefficients using a 64-element quantisation table stored in a table specification memory 6.
  • the elements of the quantisation table specify the quantisation step size for respective DCT coefficients.
  • the quantisation table used is either a 'base' table stored in the memory 6 (CCITT Recommendation T.81 , "Digital Compression and Coding of Continuous-Tone Still Images - Requirements and Guidelines", Annex K) or a table generated by uniformly scaling the elements of the base table.
  • the quantisation step sizes may vary from element to element.
  • the quantised coefficients of each DCT are provided to a run length encoder 7 as a data stream, the coefficients being ordered according to increasing frequency.
  • the run length encoder 7 takes advantage of consecutive zeros in this data stream to compress the data.
  • the run length encoded data stream is provided to an entropy encoder 8, which further compresses the data stream using, for example, Huffman coding, to generate a compressed 'image' 9.
  • the number of bits which can be used to represent a compressed image is predefined.
  • One such application is the proposed transmission of still images via the short message service (SMS) provided for by the cellular telephone standard GSM.
  • SMS short message service
  • the maximum length of a single concatenated short message is 34170 (255x134) octets (or bytes).
  • the compressed image In order to allow a still image to be transmitted by a single concatenated short message, the compressed image must therefore occupy less than 34170 octets.
  • the spectral characteristics of different images can differ greatly, it is extremely hard to predict the size of the compressed image which will be produced by using a particular quantisation table (or Q value).
  • the general practice in order to satisfy a predefined bit budget is to select a quantisation table on the basis of past experience, and to apply this to obtain a compressed image. If the compressed image does not satisfy the bit budget, a second quantisation table is selected via a quantisation table selection unit 10 and a new compressed image generated. This process is carried out on a "trial and error" basis until a compressed image is obtained which satisfies the bit budget.
  • a method of compressing a digitised image composed of a matrix of image samples to provide a compressed image which satisfies a predefined bit budget comprising the steps of:
  • step 6) compressing the coefficients quantised in step 5) using run-length encoding.
  • Embodiments of the present invention enable a compressed image to be generated, which satisfies a predefined bit budget, using only a single encoding step 6).
  • the compressed image may be divided into blocks of any suitable size.
  • the blocks may be contiguous or overlapping. Typically however, the blocks are contiguous and each is composed of 8x8 pixels.
  • said energy-packing transform is a discrete Fourier transform (DCT).
  • DCT discrete Fourier transform
  • Alternative energy-packing transforms may be used however, such as a Karhunen-Loeve transform.
  • said image samples are greyscale intensity values.
  • a matrix of image samples may be provided for each of a set of colours, e.g. red, blue, and green, and the matrices processed separately according to the method of the invention.
  • the compressed image comprises a combination of the compressed coefficient sets.
  • luminance (Y) and chrominance (U,V) matrices may be generated from the red, blue and green colour matrices.
  • the luminance and chrominance matrices are processed separately according to the above method.
  • said zero-value index is the average number of zero-value quantised transform coefficients in the transforms.
  • the median or another representative value may be used.
  • step 3) comprises deriving zero-value indices for each of a plurality of different quantisation tables to provide a zero-value index vs quantisation table relationship. It is however not necessary to requantise the transform coefficients for each additional quantisation table. Rather, the additional zero-value indices can be derived from the first obtained set of quantised coefficients.
  • the method comprises obtaining a reference zero-value index vs bit budget relationship by:
  • step 13 repeating steps 7) to 12) for a plurality of different test images and combining the resulting relationships to obtain the reference zero-value index vs bit budget relationship, wherein this relationship is used in step 4) to determine the predicted zero-value index using the predefined bit budget.
  • Step 5) then comprises using the predicted zero-value index and the zero-value index vs quantisation table relationship for the image to be compressed, to select the quantisation table.
  • This selection may comprise interpolating between the zero-values of the derived set of zero-values which neighbour the predicted zero-value.
  • the selection of the final quantisation table is preferably a conservative one.
  • the predefined bit budget may actually be less than the actual number of bits which can be transmitted, stored or otherwise processed.
  • steps 6) and 10) comprise entropy encoding the data, e.g. using Huffman encoding, following run-length encoding.
  • apparatus for compressing a digitised image composed of a matrix of image samples to provide a compressed image which satisfies a predefined bit budget
  • the apparatus comprising: first signal processing means for dividing the digitised image into blocks and for deriving for each block an energy packing transform comprising a set of transform coefficients; quantisation means for quantising the coefficients of each transform using a first quantisation table selected from a set of quantisation tables; second signal processing means for deriving an index representative of the number of zero-value quantised transform coefficients, for determining a predicted zero- value index using said predefined bit budget, for selecting a quantisation table from said set of tables using the derived index and said predicted index and using that selected table to quantise the coefficients of each transform; and encoding means for compressing the coefficients quantised by the second signal processing means using run-length encoding.
  • the apparatus of the present invention may be incorporated into a mobile communication device, for example a cellular phone.
  • Figure 1 shows a block diagram of a DCT-based lossy encoder according to the prior art
  • Figure 2 shows a block diagram of a DCT-based lossy encoder according to an embodiment of the present invention
  • Figure 3 shows byte-size vs zero-value index relationships for respective test images
  • Figure 4 shows the zero-value indices obtained with a number of different quantisation tables (Q) for an image to be compressed.
  • Figure 5 is a flow diagram illustrating a method of compressing an image.
  • FIG. 2 The general architecture of a DCT-based encoder embodying the present invention is shown in Figure 2. This is a modification of the encoder already described with reference to Figure 1 , and like parts are identified with the same reference numbers.
  • the encoder is suitable for use in the compression of still frames in accordance with the JPEG standard, although it may also be used to satisfy other compression standards and methods.
  • a conventional decoder may be used to decode images compressed with this encoder.
  • the encoder of Figure 2 comprises a modified quantisation table selection unit 11. This is arranged to store a look-up table or other representation of the relationship between the size of a compressed image (termed the 'bit budget') and an index termed the 'zero-value' index.
  • the DCT obtained for each block 3 of an image 2 contains a set of DCT coefficients, a large number of which may be zero after quantisation.
  • the zero-value index of that image is determined by counting the number of zero-value quantised coefficients in each DCT, and determining the average number of zero-value coefficients per DCT.
  • the stored relationship is constructed using a number of library or test images, chosen to be representative of a number of different styles, for example images containing little detail, e.g. sky, and images containing a large amount of detail, e.g. landscapes.
  • Each test image is processed by sub-dividing the image into blocks and determining the DCT for each block.
  • TB 50 [i,j] is the quantisation step for the base table element in the th row and the y th column
  • TB Q [i,j] is the quantisation step for the new table element in the i th row and the 7 th column.
  • TB Q [i,j] are in practice also rounded to the nearest integer.
  • the resulting quantised DCTs are encoded using run-length encoding and entropy encoding (i.e. Huffman encoding).
  • the size of the compressed image (bit budget) is then determined.
  • the zero-value index is calculated for each set of quantised DCTs.
  • Figure 3 shows the zero-value index vs bit budget for a number of different test images. This set of relationships is then averaged to generate an archetypal relationship. It is found that in general the zero-value index vs bit budget relationship of an image deviates little from the archetypal relationship.
  • the archetypal relationship is stored as already described in the modified quantisation table selection unit 11 , typically as a look up table.
  • a new digitised image to be compressed is passed, block by block, to the FDCT 4 to generate a DCT for each block.
  • the number of zero-value coefficients in each DCT is then determined and the zero-value index calculated.
  • the relationship illustrated in Figure 3 and held by the quantisation table selection unit 11 can be used to identify that zero-value index (a 'predicted' zero-value index) which will meet the bit budget.
  • the identified zero-value index can then in turn be used, in conjunction with the specific relationship of Figure 4, to identify the Q value which will achieve this bit budget for the image under consideration.
  • the quantisation table corresponding to that Q value is then generated and applied by the quantiser unit 5 to quantise the set of DCTs for the image.
  • the quantised DCTs are then applied to the run length encoder 7 and to the entropy encoder 8 as already described to generate the compressed image.
  • Figure 5 is a flow diagram illustrating the method described above.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

A DCT based lossy compresion method for compressing a digitised image composed of a matrix of image samples to provide a compressed image which satisfies a predefined bit budget. The digitised image is first sub-divided into blocks (e.g. of size 8X8 pixels). A discrete cosine transform (DCT) comprising a set of DCT coefficients is then derived for each block. A quantisation table is selected from a set of quantisation tables and, using the selected table, the coefficients of each DCT are quantised. A zero-value index, corresponding to the average number of zero value quantised DCT coefficients per DCT, is determined. A predicted zero-value index is calculated using said predefined bit budget and a quantisation table selected from said set of tables using the determined index and the predicted index. Using that selected table, the unquantised coefficients of the DCTs are requantised and the requantised coefficients compressed using run-length encoding and Huffman encoding.

Description

Image compression
The present invention relates to a method and apparatus for compressing a digitised image.
Currently, the most widely used standard for the compression of continuous-tone still images, both greyscale and colour, is that known under the acronym JPEG, after the Joint Photographic Experts Group. JPEG specifies inter alia a discrete cosine transform (DCT) based method for the lossy compression of still images.
A DCT based encoder 1 employing JPEG is shown schematically in Figure 1 (see Wallace, G.K. "The JPEG Still Picture Compression Standard" Communications of The ACM, April 1991 ). For a digitised greyscale image 2 which is composed of a matrix of pixel intensity values (e.g. 512X480), the image is first subdivided into 8x8 pixel blocks 3. The pixel blocks 3 are fed in sequence to the encoder 1 which has at its input a forward DCT (FDCT) unit 4. The DCT is related to the discrete Fourier transform (DFT), such that the FDCT unit 4 effectively transforms each 8x8 block 3 into 64 orthogonal basis signals or DCT coefficients, each of which corresponds to one of 64 "spatial frequencies ". In effect, the DCT represents the frequency spectrum of the input block 3. The DCT coefficient with zero frequency in both dimensions is the "DC" coefficient and the remaining 63 coefficients are the "AC" coefficients. It is a general property of images that pixel intensity values vary slowly from pixel to pixel across the image. Thus, for a typical 8x8 sample block 3 from a typical source image, most of the DCT coefficients have zero or near-zero amplitude.
Following the FDCT unit 4, each DCT is provided to a quantiser unit 5 which quantises the DCT coefficients using a 64-element quantisation table stored in a table specification memory 6. The elements of the quantisation table specify the quantisation step size for respective DCT coefficients. In practice, the quantisation table used is either a 'base' table stored in the memory 6 (CCITT Recommendation T.81 , "Digital Compression and Coding of Continuous-Tone Still Images - Requirements and Guidelines", Annex K) or a table generated by uniformly scaling the elements of the base table. Typically, 100 different tables are defined corresponding to a range of quality levels, Q=1 to 100, where the base table corresponds to a quality level Q=50. It is noted that within any one quantisation table, the quantisation step sizes may vary from element to element. After quantisation, the quantised coefficients of each DCT are provided to a run length encoder 7 as a data stream, the coefficients being ordered according to increasing frequency. The run length encoder 7 takes advantage of consecutive zeros in this data stream to compress the data. As has already been noted, for a typical image block the DCT coefficients tend to be small so that, after quantisation, the number of zeros in the DCT data stream is likely to be great. Run-length encoding may therefore achieve a significant level of compression. Finally, the run length encoded data stream is provided to an entropy encoder 8, which further compresses the data stream using, for example, Huffman coding, to generate a compressed 'image' 9.
In many applications, the number of bits which can be used to represent a compressed image is predefined. One such application is the proposed transmission of still images via the short message service (SMS) provided for by the cellular telephone standard GSM. The maximum length of a single concatenated short message is 34170 (255x134) octets (or bytes). In order to allow a still image to be transmitted by a single concatenated short message, the compressed image must therefore occupy less than 34170 octets. However, because the spectral characteristics of different images can differ greatly, it is extremely hard to predict the size of the compressed image which will be produced by using a particular quantisation table (or Q value). The general practice in order to satisfy a predefined bit budget is to select a quantisation table on the basis of past experience, and to apply this to obtain a compressed image. If the compressed image does not satisfy the bit budget, a second quantisation table is selected via a quantisation table selection unit 10 and a new compressed image generated. This process is carried out on a "trial and error" basis until a compressed image is obtained which satisfies the bit budget.
It will be appreciated that the trial and error nature of the compression method outlined above is inefficient in so far as the quantisation and encoding steps often have to be repeated many times before a compressed image is obtained which satisfies the bit budget.
According to a first aspect of the present invention there is provided a method of compressing a digitised image composed of a matrix of image samples to provide a compressed image which satisfies a predefined bit budget, the method comprising the steps of:
1 ) dividing the digitised image into blocks and deriving for each block an energy- packing transform comprising a set of transform coefficients; 2) selecting a quantisation table from a set of quantisation tables and using the selected table to quantise the coefficients of each transform;
3) deriving a zero-value index indicative of the number of zero-value quantised transform coefficients;
4) determining a predicted zero-value index using said predefined bit budget; 5) selecting a quantisation table from said set of tables using the derived index and said predicted index and using that selected table to quantise the coefficients of each transform; and
6) compressing the coefficients quantised in step 5) using run-length encoding.
Embodiments of the present invention enable a compressed image to be generated, which satisfies a predefined bit budget, using only a single encoding step 6).
The compressed image may be divided into blocks of any suitable size. The blocks may be contiguous or overlapping. Typically however, the blocks are contiguous and each is composed of 8x8 pixels.
Preferably, said energy-packing transform is a discrete Fourier transform (DCT). Alternative energy-packing transforms may be used however, such as a Karhunen-Loeve transform.
For a greyscale image, said image samples are greyscale intensity values. For a colour image, a matrix of image samples may be provided for each of a set of colours, e.g. red, blue, and green, and the matrices processed separately according to the method of the invention. The compressed image comprises a combination of the compressed coefficient sets. Alternatively, and in order to increase the compression ratio further, luminance (Y) and chrominance (U,V) matrices may be generated from the red, blue and green colour matrices. Again, the luminance and chrominance matrices are processed separately according to the above method. Preferably, said zero-value index is the average number of zero-value quantised transform coefficients in the transforms. Alternatively however, the median or another representative value may be used.
Preferably, step 3) comprises deriving zero-value indices for each of a plurality of different quantisation tables to provide a zero-value index vs quantisation table relationship. It is however not necessary to requantise the transform coefficients for each additional quantisation table. Rather, the additional zero-value indices can be derived from the first obtained set of quantised coefficients.
Preferably, the method comprises obtaining a reference zero-value index vs bit budget relationship by:
7) dividing a digitised test image into blocks and deriving for each block an energy packing transform comprising a set of transform coefficients; 8) selecting a quantisation table from a set of quantisation tables and using the selected table to quantise the coefficients of each transform;
9) deriving a zero-value index indicative of the number of zero-value quantised transform coefficients;
10) compressing the coefficients quantised in step 5) using run-length encoding; 11 ) determining the bit size of the compressed image;
12) repeating steps 7) to 1 1 ) for a plurality of different quantisation tables to obtain a zero-value vs bit size relationship for the test image; and
13) repeating steps 7) to 12) for a plurality of different test images and combining the resulting relationships to obtain the reference zero-value index vs bit budget relationship, wherein this relationship is used in step 4) to determine the predicted zero-value index using the predefined bit budget.
Step 5) then comprises using the predicted zero-value index and the zero-value index vs quantisation table relationship for the image to be compressed, to select the quantisation table. This selection may comprise interpolating between the zero-values of the derived set of zero-values which neighbour the predicted zero-value.
In order to ensure that the final compressed coefficient set satisfies the predefined bit budget, the selection of the final quantisation table is preferably a conservative one. For example, the predefined bit budget may actually be less than the actual number of bits which can be transmitted, stored or otherwise processed.
Preferably, steps 6) and 10) comprise entropy encoding the data, e.g. using Huffman encoding, following run-length encoding.
According to a second aspect of the present invention, there is provided apparatus for compressing a digitised image composed of a matrix of image samples to provide a compressed image which satisfies a predefined bit budget, the apparatus comprising: first signal processing means for dividing the digitised image into blocks and for deriving for each block an energy packing transform comprising a set of transform coefficients; quantisation means for quantising the coefficients of each transform using a first quantisation table selected from a set of quantisation tables; second signal processing means for deriving an index representative of the number of zero-value quantised transform coefficients, for determining a predicted zero- value index using said predefined bit budget, for selecting a quantisation table from said set of tables using the derived index and said predicted index and using that selected table to quantise the coefficients of each transform; and encoding means for compressing the coefficients quantised by the second signal processing means using run-length encoding.
The apparatus of the present invention may be incorporated into a mobile communication device, for example a cellular phone.
For a better understanding of the present invention and in order to show how the same may be carried into effect reference will now be made, by way of example, to the accompanying drawings, in which:
Figure 1 shows a block diagram of a DCT-based lossy encoder according to the prior art;
Figure 2 shows a block diagram of a DCT-based lossy encoder according to an embodiment of the present invention;
Figure 3 shows byte-size vs zero-value index relationships for respective test images; Figure 4 shows the zero-value indices obtained with a number of different quantisation tables (Q) for an image to be compressed; and
Figure 5 is a flow diagram illustrating a method of compressing an image.
The general architecture of a DCT-based encoder embodying the present invention is shown in Figure 2. This is a modification of the encoder already described with reference to Figure 1 , and like parts are identified with the same reference numbers. The encoder is suitable for use in the compression of still frames in accordance with the JPEG standard, although it may also be used to satisfy other compression standards and methods. A conventional decoder may be used to decode images compressed with this encoder.
The encoder of Figure 2 comprises a modified quantisation table selection unit 11. This is arranged to store a look-up table or other representation of the relationship between the size of a compressed image (termed the 'bit budget') and an index termed the 'zero-value' index. As has already been explained above, the DCT obtained for each block 3 of an image 2 contains a set of DCT coefficients, a large number of which may be zero after quantisation. For a given image, the zero-value index of that image is determined by counting the number of zero-value quantised coefficients in each DCT, and determining the average number of zero-value coefficients per DCT.
The stored relationship is constructed using a number of library or test images, chosen to be representative of a number of different styles, for example images containing little detail, e.g. sky, and images containing a large amount of detail, e.g. landscapes. Each test image is processed by sub-dividing the image into blocks and determining the DCT for each block. This set of DCTs is then quantised with each of the quantisation tables (Q=1 to 100) in turn, where the tables are generated from the base table (Q=50) using the following relationships:
Figure imgf000008_0001
TB50 [i,j].k + 50 for β > 50 ; k = 200 - 2Q ; TBβ[i,j] =
100 where TB50[i,j] is the quantisation step for the base table element in the th row and the y th column and TBQ[i,j] is the quantisation step for the new table element in the i th row and the 7 th column. TBQ[i,j] are in practice also rounded to the nearest integer.
The resulting quantised DCTs are encoded using run-length encoding and entropy encoding (i.e. Huffman encoding). The size of the compressed image (bit budget) is then determined. In addition, the zero-value index is calculated for each set of quantised DCTs. Figure 3 shows the zero-value index vs bit budget for a number of different test images. This set of relationships is then averaged to generate an archetypal relationship. It is found that in general the zero-value index vs bit budget relationship of an image deviates little from the archetypal relationship.
The archetypal relationship is stored as already described in the modified quantisation table selection unit 11 , typically as a look up table. A new digitised image to be compressed is passed, block by block, to the FDCT 4 to generate a DCT for each block. A quantisation table corresponding to Q=97 is generated by the modified quantisation table selection unit 11 , from the table specification memory 6, for use by the quantiser unit 5 to quantise each DCT in turn. The number of zero-value coefficients in each DCT is then determined and the zero-value index calculated.
Using the set of quantised DCTs, it is also possible to determine the zero-value index for lower Q values. For example, it can be seen that all coefficients TB [i,j] having the value 1 will have the value 0 after quantisation with Q=91. It is therefore only necessary to count the number of 0's and 1 's in each DCT with Q=97, and find the average per block, to determine the zero-value index for Q=91. There is shown in Figure 4 a plot of Q value vs zero-value index for one particular image.
Assuming that a particular bit budget has been predefined (BB) for the compression stage, the relationship illustrated in Figure 3 and held by the quantisation table selection unit 11 , can be used to identify that zero-value index (a 'predicted' zero-value index) which will meet the bit budget. The identified zero-value index can then in turn be used, in conjunction with the specific relationship of Figure 4, to identify the Q value which will achieve this bit budget for the image under consideration. The quantisation table corresponding to that Q value is then generated and applied by the quantiser unit 5 to quantise the set of DCTs for the image. The quantised DCTs are then applied to the run length encoder 7 and to the entropy encoder 8 as already described to generate the compressed image.
Figure 5 is a flow diagram illustrating the method described above.
It will be appreciated by the skilled person that modifications may be made to the above described embodiment without departing from the scope of the present invention.

Claims

Claims
1. A method of compressing a digitised image composed of a matrix of image samples to provide a compressed image which satisfies a predefined bit budget, the method comprising the steps of:
1 ) dividing the digitised image into blocks and deriving for each block an energy packing transform comprising a set of transform coefficients;
2) selecting a quantisation table from a set of quantisation tables and using the selected table to quantise the coefficients of each transform; 3) deriving a zero-value index indicative of the number of zero-value quantised transform coefficients;
4) determining a predicted zero-value index using said predefined bit budget;
5) selecting a quantisation table from said set of tables using the derived index and said predicted index and using that selected table to quantise the coefficients of each transform; and
6) compressing the coefficients quantised in step 5) using run-length encoding.
2. A method according to claim 1 , wherein said zero-value index is the average number of zero-value quantised transform coefficients per transform.
3. A method according to claim 1 or 2, wherein step 3) comprises deriving zero-value indices for each of a plurality of different quantisation tables to provide a zero-value index vs quantisation table relationship.
4. A method according to any one of the preceding claims and comprising obtaining a reference zero-value index vs bit budget relationship by:
7) dividing a digitised test image into blocks and deriving for each block an energy packing transform comprising a set of transform coefficients;
8) selecting a quantisation table from a set of quantisation tables and using the selected table to quantise the coefficients of each transform;
9) deriving a zero-value index indicative of the number of zero-value quantised transform coefficients;
10) compressing the coefficients quantised in step 5) using run-length encoding;
11 ) determining the bit size of the compressed image; 12) repeating steps 7) to 11 ) for a plurality of different quantisation tables to obtain a zero-value vs bit size relationship for the test image; and
13) repeating steps 7) to 12) for a plurality of different test images and combining the resulting relationships to obtain the reference zero-value index vs bit budget relationship, wherein this relationship is used in step 4) to determine the predicted zero-value index using the predefined bit budget.
5. A method according to claim 4 when appended to claim 3, wherein step 5) comprises using the predicted zero-value index and the zero-value index vs quantisation table relationship for the image to be compressed, to select the quantisation table.
6. A method according to any one of the preceding claims, wherein said energy packing transform is a discrete cosine transform (DCT).
7. A method according to any one of the preceding claims, wherein step 6) comprises entropy encoding the data after run-length encoding.
8. Apparatus for compressing a digitised image composed of a matrix of image samples to provide a compressed image which satisfies a predefined bit budget, the apparatus comprising: first signal processing means for dividing the digitised image into blocks and for deriving for each block an energy packing transform comprising a set of transform coefficient; a quantisation table specification memory (6) storing a set of quantisation tables; quantisation means (5) for quantising the coefficients of each transform using a first quantisation table selected from said set of quantisation tables; second signal processing means (11) for deriving an index representative of the number of zero-value quantised transform coefficients, for determining a predicted zero- value index using said predefined bit budget, for selecting a quantisation table from said set of tables using the derived index and said predicted index and using that selected table to quantise the coefficients of each transform; and encoding means (7,8) for compressing the coefficients quantised by the second signal processing means using run-length encoding.
PCT/FI1998/000512 1997-07-18 1998-06-12 Image compression WO1999004553A2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
DE69811669T DE69811669T2 (en) 1997-07-18 1998-06-12 IMAGE COMPRESSION
EP98925676A EP0997034B1 (en) 1997-07-18 1998-06-12 Image compression
AU77699/98A AU7769998A (en) 1997-07-18 1998-06-12 Image compression

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
FI973042 1997-07-18
FI973042A FI107496B (en) 1997-07-18 1997-07-18 Image Compressor Call

Publications (2)

Publication Number Publication Date
WO1999004553A2 true WO1999004553A2 (en) 1999-01-28
WO1999004553A3 WO1999004553A3 (en) 1999-04-08

Family

ID=8549275

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/FI1998/000512 WO1999004553A2 (en) 1997-07-18 1998-06-12 Image compression

Country Status (6)

Country Link
US (1) US6118903A (en)
EP (1) EP0997034B1 (en)
AU (1) AU7769998A (en)
DE (1) DE69811669T2 (en)
FI (1) FI107496B (en)
WO (1) WO1999004553A2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1420365A2 (en) * 2002-11-15 2004-05-19 Pioneer Corporation Coding method, coding apparatus and coding program of image information
EP2360928A1 (en) 2010-02-12 2011-08-24 Vestel Elektronik Sanayi ve Ticaret A.S. A method for image compression

Families Citing this family (37)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6779040B1 (en) * 1999-08-27 2004-08-17 Hewlett-Packard Development Company, L.P. Method and system for serving data files compressed in accordance with tunable parameters
US6680974B1 (en) * 1999-12-02 2004-01-20 Lucent Technologies Inc. Methods and apparatus for context selection of block transform coefficients
JP2001196935A (en) * 2000-01-12 2001-07-19 Kawasaki Steel Corp Data quantizer
US6584435B2 (en) * 2001-08-30 2003-06-24 Xerox Corporation Systems and methods for determining spectra using dynamic karhunen-loeve algorithms with measurements from led color sensor
SE0103746D0 (en) * 2001-11-13 2001-11-13 Svep Design Ct Ab Digital image system
KR101030862B1 (en) * 2001-11-22 2011-04-22 파나소닉 주식회사 Coding method and coding apparatus
JP3716225B2 (en) * 2002-04-05 2005-11-16 松下電器産業株式会社 Code amount control apparatus and code amount control method
US7073505B2 (en) * 2002-09-06 2006-07-11 Apneon, Inc. Systems and methods for moving and/or restraining tissue in the oral cavity
US7383261B2 (en) * 2004-01-16 2008-06-03 Xerox Corporation Reference database and method for determining spectra using measurements from an LED color sensor, and method of generating a reference database
FR2867291B1 (en) * 2004-03-08 2006-05-19 Canon Kk METHOD AND DEVICE FOR ACCESSING A DIGITAL IMAGE STORED ON A SERVER COMPUTER
US7801383B2 (en) 2004-05-15 2010-09-21 Microsoft Corporation Embedded scalar quantizers with arbitrary dead-zone ratios
US7747095B2 (en) * 2004-10-08 2010-06-29 Nvidia Corporation Methods and systems for rate control in image compression
US7471385B2 (en) * 2005-01-13 2008-12-30 Xerox Corporation Systems and methods for selecting a reference database for determining a spectrum of an object based on fluorescence of the object
US8422546B2 (en) 2005-05-25 2013-04-16 Microsoft Corporation Adaptive video encoding using a perceptual model
US8149909B1 (en) 2005-10-13 2012-04-03 Maxim Integrated Products, Inc. Video encoding control using non-exclusive content categories
US8081682B1 (en) 2005-10-13 2011-12-20 Maxim Integrated Products, Inc. Video encoding mode decisions according to content categories
US8126283B1 (en) 2005-10-13 2012-02-28 Maxim Integrated Products, Inc. Video encoding statistics extraction using non-exclusive content categories
US7995649B2 (en) 2006-04-07 2011-08-09 Microsoft Corporation Quantization adjustment based on texture level
US8503536B2 (en) 2006-04-07 2013-08-06 Microsoft Corporation Quantization adjustments for DC shift artifacts
US8059721B2 (en) * 2006-04-07 2011-11-15 Microsoft Corporation Estimating sample-domain distortion in the transform domain with rounding compensation
US7974340B2 (en) 2006-04-07 2011-07-05 Microsoft Corporation Adaptive B-picture quantization control
US8130828B2 (en) 2006-04-07 2012-03-06 Microsoft Corporation Adjusting quantization to preserve non-zero AC coefficients
US8711925B2 (en) 2006-05-05 2014-04-29 Microsoft Corporation Flexible quantization
US7747093B2 (en) * 2006-12-07 2010-06-29 Adobe Systems Incorporated Method and apparatus for predicting the size of a compressed signal
US8238424B2 (en) 2007-02-09 2012-08-07 Microsoft Corporation Complexity-based adaptive preprocessing for multiple-pass video compression
US8498335B2 (en) 2007-03-26 2013-07-30 Microsoft Corporation Adaptive deadzone size adjustment in quantization
US8243797B2 (en) 2007-03-30 2012-08-14 Microsoft Corporation Regions of interest for quality adjustments
US8442337B2 (en) 2007-04-18 2013-05-14 Microsoft Corporation Encoding adjustments for animation content
US8331438B2 (en) 2007-06-05 2012-12-11 Microsoft Corporation Adaptive selection of picture-level quantization parameters for predicted video pictures
CN101106715B (en) * 2007-07-26 2012-08-29 昊迪移通(北京)技术有限公司 A video bandwidth adaptation method and device
US8189933B2 (en) 2008-03-31 2012-05-29 Microsoft Corporation Classifying and controlling encoding quality for textured, dark smooth and smooth video content
US8897359B2 (en) 2008-06-03 2014-11-25 Microsoft Corporation Adaptive quantization for enhancement layer video coding
US20100035217A1 (en) * 2008-08-11 2010-02-11 David Kasper System and method for transmission of target tracking images
US9723312B2 (en) 2015-06-09 2017-08-01 Samsung Electronics Co., Ltd. Method and system for random accessible image compression with adaptive quantization
US11190810B2 (en) 2018-01-26 2021-11-30 Samsung Electronics Co., Ltd. Device and method for compressing image data using quantization parameter and entropy tables
CN108769704A (en) * 2018-06-04 2018-11-06 浙江工业大学 A kind of discrete cosine transform method for compressing image based on dynamic power analysis
KR20200065367A (en) 2018-11-30 2020-06-09 삼성전자주식회사 Image processing device and frame buffer compressor

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0514188A2 (en) * 1991-05-17 1992-11-19 Canon Kabushiki Kaisha Encoding/decoding apparatus
WO1993019434A1 (en) * 1992-03-17 1993-09-30 Zoran Corporation Image compression coder having improved bit rate control and block allocation
EP0743793A2 (en) * 1995-05-19 1996-11-20 Lg Electronics Inc. A device for determining quantizing number in an image encoder
EP0762775A2 (en) * 1995-08-31 1997-03-12 Hewlett-Packard Company Device and method for compressing image data
WO1997017675A1 (en) * 1995-11-06 1997-05-15 Siemens Medical Systems, Inc. Method for selecting jpeg quantization factor

Family Cites Families (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2520306B2 (en) * 1989-05-24 1996-07-31 三菱電機株式会社 Transform coding device
US5086488A (en) * 1989-08-19 1992-02-04 Mitsubishi Denki Kabushiki Kaisha Transform coding apparatus
US5142380A (en) * 1989-10-23 1992-08-25 Ricoh Company, Ltd. Image data processing apparatus
US5144423A (en) * 1990-12-11 1992-09-01 At&T Bell Laboratories Hdtv encoder with forward estimation and constant rate motion vectors
US5333212A (en) * 1991-03-04 1994-07-26 Storm Technology Image compression technique with regionally selective compression ratio
JPH0563996A (en) * 1991-09-02 1993-03-12 Ricoh Co Ltd Image processor
JP3105335B2 (en) * 1992-02-07 2000-10-30 株式会社ハドソン Compression / expansion method by orthogonal transform coding of image
FR2708168B1 (en) * 1993-07-20 1995-08-25 Thomson Consumer Electronics Method and device for estimating a bit budget for variable word length encoders.
JPH07203428A (en) * 1993-12-28 1995-08-04 Canon Inc Image processing method and its device
US5654760A (en) * 1994-03-30 1997-08-05 Sony Corporation Selection of quantization step size in accordance with predicted quantization noise
US5473376A (en) * 1994-12-01 1995-12-05 Motorola, Inc. Method and apparatus for adaptive entropy encoding/decoding of quantized transform coefficients in a video compression system
US5629780A (en) * 1994-12-19 1997-05-13 The United States Of America As Represented By The Administrator Of The National Aeronautics And Space Administration Image data compression having minimum perceptual error
US5710595A (en) * 1994-12-29 1998-01-20 Lucent Technologies Inc. Method and apparatus for controlling quantization and buffering for digital signal compression
US5835149A (en) * 1995-06-06 1998-11-10 Intel Corporation Bit allocation in a coded video sequence
US5926569A (en) * 1995-09-28 1999-07-20 Intel Corporation Bitrate damper for selecting quantization levels for image encoding
US6160846A (en) * 1995-10-25 2000-12-12 Sarnoff Corporation Apparatus and method for optimizing the rate control in a coding system
JPH10243399A (en) * 1997-02-25 1998-09-11 Sharp Corp Code amount controller and moving image encoder provided with the same

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0514188A2 (en) * 1991-05-17 1992-11-19 Canon Kabushiki Kaisha Encoding/decoding apparatus
WO1993019434A1 (en) * 1992-03-17 1993-09-30 Zoran Corporation Image compression coder having improved bit rate control and block allocation
EP0743793A2 (en) * 1995-05-19 1996-11-20 Lg Electronics Inc. A device for determining quantizing number in an image encoder
EP0762775A2 (en) * 1995-08-31 1997-03-12 Hewlett-Packard Company Device and method for compressing image data
WO1997017675A1 (en) * 1995-11-06 1997-05-15 Siemens Medical Systems, Inc. Method for selecting jpeg quantization factor

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1420365A2 (en) * 2002-11-15 2004-05-19 Pioneer Corporation Coding method, coding apparatus and coding program of image information
EP1420365A3 (en) * 2002-11-15 2004-06-23 Pioneer Corporation Coding method, coding apparatus and coding program of image information
EP2360928A1 (en) 2010-02-12 2011-08-24 Vestel Elektronik Sanayi ve Ticaret A.S. A method for image compression

Also Published As

Publication number Publication date
WO1999004553A3 (en) 1999-04-08
DE69811669T2 (en) 2003-12-18
EP0997034A2 (en) 2000-05-03
US6118903A (en) 2000-09-12
FI107496B (en) 2001-08-15
FI973042A0 (en) 1997-07-18
AU7769998A (en) 1999-02-10
DE69811669D1 (en) 2003-04-03
EP0997034B1 (en) 2003-02-26
FI973042A (en) 1999-01-19

Similar Documents

Publication Publication Date Title
US6118903A (en) Image compression method and apparatus which satisfies a predefined bit budget
EP1834487B1 (en) Method for improved entropy coding
KR100566122B1 (en) Method of compressing still pictures for mobile devices
Wallace The JPEG still picture compression standard
US7782960B2 (en) DCT compression using Golomb-Rice coding
US8098943B2 (en) Apparatus and method for encoding digital image data in a lossless manner
US7729423B2 (en) Fixed bit rate, intraframe compression and decompression of video
US6650784B2 (en) Lossless intraframe encoding using Golomb-Rice
US8213498B2 (en) Bitrate reduction techniques for image transcoding
Srinivasan et al. HD Photo: a new image coding technology for digital photography
US20030039396A1 (en) System and method for decoding digital image and audio data in a lossless manner
US7016548B2 (en) Mobile image transmission and reception for compressing and decompressing without transmitting coding and quantization tables and compatibility with JPEG
CA2639643C (en) Fixed bit rate, intraframe compression and decompression of video
EP1892965A2 (en) Fixed bit rate, intraframe compression and decompression of video
EP1345449A1 (en) Digital image compression and decompression using block coding
Ahn et al. Medical image compression using JPEG progressive coding
EP1317145A1 (en) Optimized quantization method for compressing digital images
JPH02171084A (en) System and device for coding picture signal
JPH0822063B2 (en) Image signal encoding device
van der Vleuten et al. Lossless and fine-granularity scalable near-lossless color image compression

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A2

Designated state(s): AL AM AT AU AZ BA BB BG BR BY CA CH CN CU CZ DE DK EE ES FI GB GE GH GM GW HU ID IL IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MD MG MK MN MW MX NO NZ PL PT RO RU SD SE SG SI SK SL TJ TM TR TT UA UG US UZ VN YU ZW

AL Designated countries for regional patents

Kind code of ref document: A2

Designated state(s): GH GM KE LS MW SD SZ UG ZW AM AZ BY KG KZ MD RU TJ TM AT BE CH CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE BF BJ CF CG CI CM GA GN ML MR NE SN TD TG

DFPE Request for preliminary examination filed prior to expiration of 19th month from priority date (pct application filed before 20040101)
121 Ep: the epo has been informed by wipo that ep was designated in this application
WWE Wipo information: entry into national phase

Ref document number: 1998925676

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: KR

WWP Wipo information: published in national office

Ref document number: 1998925676

Country of ref document: EP

REG Reference to national code

Ref country code: DE

Ref legal event code: 8642

NENP Non-entry into the national phase

Ref country code: CA

WWG Wipo information: grant in national office

Ref document number: 1998925676

Country of ref document: EP