AU719749B2 - A method for digital data compression - Google Patents

A method for digital data compression Download PDF

Info

Publication number
AU719749B2
AU719749B2 AU87095/98A AU8709598A AU719749B2 AU 719749 B2 AU719749 B2 AU 719749B2 AU 87095/98 A AU87095/98 A AU 87095/98A AU 8709598 A AU8709598 A AU 8709598A AU 719749 B2 AU719749 B2 AU 719749B2
Authority
AU
Australia
Prior art keywords
components
sub
decomposition
component
image
Prior art date
Legal status (The legal status 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 status listed.)
Ceased
Application number
AU87095/98A
Other versions
AU8709598A (en
Inventor
James Philip Andrew
Andrew Peter Bradley
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
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
Priority claimed from AUPO9513A external-priority patent/AUPO951397A0/en
Application filed by Canon Inc filed Critical Canon Inc
Priority to AU87095/98A priority Critical patent/AU719749B2/en
Publication of AU8709598A publication Critical patent/AU8709598A/en
Application granted granted Critical
Publication of AU719749B2 publication Critical patent/AU719749B2/en
Assigned to CANON KABUSHIKI KAISHA reassignment CANON KABUSHIKI KAISHA Alteration of Name(s) of Applicant(s) under S113 Assignors: CANON INFORMATION SYSTEMS RESEARCH AUSTRALIA PTY LTD, CANON KABUSHIKI KAISHA
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Description

4, S F Ref: 433395
AUSTRALIA
PATENTS ACT 1990 COMPLETE SPECIFICATION FOR A STANDARD PATENT
ORIGINAL
Name and Address of Applicant: Canon Kabushiki Kaisha 30-2, Shimomaruko 3-chome Ohta-ku Tokyo 146
JAPAN
.0 Actual Inventor(s): Address for Service: Invention Title: Canon Information Systems Research Australia Pty Ltd 1 Thomas Holt Drive North Ryde New South Wales 2113
AUSTRALIA
Andrew Peter Bradley, James Philip Andrew Spruson Ferguson, Patent Attorneys Level 33 St Martins Tower, 31 Market Street Sydney, New South Wales, 2000, Australia A Method for Digital Data Compression ASSOCIATED PROVISIONAL APPLICATION DETAILS [311 Application No(s) [331 Country P09513 AU [32] Application Date 29 September 1997 The following statement Is a full description of this invention, including the best method of performing It known to me/us:- 5815 ff t 9 -1- A Method for Digital Data Compression Field of Invention The present invention relates to the field of digital compression with particular application to digital image compression. More particularly, the present invention discloses a digital image compression method utilizing adaptive wavelet packet decomposition.
Background of Invention The field of digital data compression and in particular 'digital image compression has attracted great interest for some time.
In the field of digital image compression, many different techniques have been utilised. In particular, one popular technique is the JPEG standard which utilises the discrete cosine transform (DCT) to transform standard size blocks of an image into corresponding cosine components. In this respect, the higher frequency cosine componeits are heavily quantised so as to assist in obtaining substantial compression factors. The heavy quantisation is an example of a "lossy" technique of image compression. The JPEG standard also provides for the subsequent lossless compression of the transformed coefficients.
Recently, the field of wavelet transforms has gained great attention as an alternative form of data compression. The wavelet transform has been found to be highly suitable in representing data having discontinuities such as sharp edges. Such discontinuities are often present in image data or the like.
Although the preferred embodiments of the present invention will be described 25 with reference to the compression of image data, it will be readily evident that the preferred embodiment is not limited thereto. For examples of the many different applications of Wavelet analysis to signals, reference is made to a survey article entitled "Wavelet Analysis" by Bruce et. al. appearing in IEEE Spectrum, October 1996 page 26 35. For a discussion of the different applications of wavelets in computer S 30 graphics, reference is made to "Wavelets for Computer Graphics", I. Stollinitz et. al.
*published 1996 by Morgan Kaufmann Publishers, Inc.
A number of image coding techniques are known which utilise a linear transformation of the input image to reduce both inter-pixel correlation and coefficient coding overhead. These techniques include the JPEG image compression standard and the federal bureau of investigation (FBI) fingerprint image compression standard. As noted previously, the JPEG standard utilises a discrete cosine transform (DCT) of the image data, while the FBI standard uses a discrete wavelet transform (DWT).
CFP unkwnAU 433395 IO:\CISRA\IPR\IPR051433395:BFD i (I to 1 -2- Previous techniques for encoding the coefficients of a DWT include the embedded zerotree wavelet (EZW) method (US Patents 5412741, 5315670, 5321776) and set partitioning in hierarchical trees (SPIHT). These techniques first apply a conventional DWT to the source image data to produce the small low frequency representation of the image (called the LL subband) and a number of high frequency, or detail, subbands (called HL, LH and HH subbands). The techniques then utilise the correlation between different frequency subbands, at the same orientation, to predict zero coefficients down the wavelet tree. These methods have been developed for natural images that are assumed to have a 1/f frequency spectrum. They use a conventional DWT decomposition that continually decomposes the low frequency image subbands. Therefore, they often do not efficiently handle images, such as fingerprint images, that do not conform to the 1/f model.
The FBI image compression standard was specifically designed to compress fingerprint images and so uses a non-conventional DWT, decomposing subbands other than the LL subband. However, the subbands decomposed are predefined and can not adapt to either fingerprints with different statistics or to new image types.
Aspects of Invention It is an object of the present invention to ameliorate one or more disadvantages of the prior art.
According to a first aspect of the present invention, there is provided a method of creating a wavelet decomposition of a collection of data values including the steps of: performing an initial decomposition of the data values into a series of components having low frequency components, high frequency components and components having 25 a mixture of high and low frequencies; determining a first number of coefficients of each of said components having a magnitude exceeding a predetermined component *-**threshold; creating a decomposition of each of said components into a series of sub components having low frequency sub-components, high frequency sub-components and sub-components having a mixture of high and low frequencies; determining a 30 second number of coefficients of each of said sub-components having a magnitude exceeding a predetermined sub-component threshold; utilizing said first number and said second number to determine if said component should be decomposed into subcomponents; and where said decomposition proceeds, applying said steps to (e) to each of the sub-components to a predetermined level of decomposition.
According to a second aspect of the present invention, there is provided a method of creating a wavelet decomposition of an image including the steps of: (a) performing an initial decomposition of the image into a series of components having low frequency components, high frequency components and components having a CFP unkwnAU 433395 IO:\CISRA\IPR\IPR0 5433395:BFD -3mixture of high and low frequencies; determining the number of coefficients of each of said components having a magnitude exceeding a predetermined threshold; where the number of coefficients exceeds a component specific threshold, decomposing said component into a number of sub-components and recursively applying said method to said sub-components.
According to a third aspect of the present invention, there is provided an apparatus for creating a wavelet decomposition of a collection of data values, the apparatus including: first performance means for performing an initial decomposition of the data values into a series of components having low frequency components, high frequency components and components having a mixture of high and low frequencies; first determination means for determining a first number of coefficients of each of said components having a magnitude exceeding a predetermined component threshold; creation means for creating a decomposition of each of said components into a series of sub components having low frequency sub-components, high frequency sub-components and sub-components having a mixture of high and low frequencies; second determinination means for determining a second number of coefficients of each of said sub-components having a magnitude exceeding a predetermined sub-component threshold; utilization means for utilizing said first number and said second number to determine if said component should be decomposed into sub-components; and second performance means for, where said decomposition proceeds, performing the operations of the first performance means, first determination means, creation means, second determination means, and utilization means to each of the sub-components to a predetermined level of decomposition.
According to a fourth aspect of the present invention, there is provided an 25 apparatus for creating a wavelet decomposition of an image, the apparatus including: performance means for performing an initial decomposition of the image into a series of ***components having low frequency components, high frequency components and components having a mixture of high and low frequencies; determination means for determining the number of coefficients of each of said components having a magnitude S 30 exceeding a predetermined threshold; decomposition means for decomposing, where the number of coefficients exceeds a component specific threshold, said component into a number of sub-components; and repetition means for repeating the operations of the determination and decomposition means to said sub-components.
According with a fifth aspect of the present invention, there is provided a computer program product including a computer readable medium having recorded thereon a computer program for creating a wavelet decomposition of a collection of data values, the computer program product including: first performance means for performing an initial decomposition of the data values into a series of components CFP unkwnAU 433395 (O:\CISRA\IPR\IPRO51433395:BFD having low frequency components, high frequency components and components having a mixture of high and low frequencies; first determination means for determining a first number of coefficients of each of said components having a magnitude exceeding a predetermined component threshold; creation means for creating a decomposition of each of said components into a series of sub components having low frequency subcomponents, high frequency sub-components and sub-components having a mixture of high and low frequencies; second determinination means for determining a second number of coefficients of each of said sub-components having a magnitude exceeding a predetermined sub-component threshold; utilization means for utilizing said first number and said second number to determine if said component should be decomposed into sub-components; and second performance means for, where said -decomposition proceeds, performing the operations of the first performance means, first determination means, creation means, second determination means, and utilization means to each of the sub-components to a predetermined level of decomposition.
According to a sixth aspect of the present invention, there is provided a computer program product including a computer readable medium having recorded thereon a computer program for creating a wavelet decomposition of an image, the computer program product including: performance means for performing an initial decomposition of the image into a series of components having low frequency components, high frequency components and components having a mixture of high and low frequencies; determination means for determining the number of coefficients of each of said components having a magnitude exceeding a predetermined threshold; decomposition means for decomposing, where the number of coefficients exceeds a component specific threshold, said component into a number of sub-components; and 25 repetition means for repeating the operations of the determination and decomposition means to said sub-components.
Brief Description of the Drawings Embodiments of the invention are described, by way of example only, with 30 reference to the drawings, in which: Fig. 1 is a high-level block diagram illustrating the image representation technique described in the herein-mentioned patent application; S. Fig. 2 is a diagram illustrating partitioning described in the herein-mentioned S"patent application; Fig. 3 is a flow diagram illustrating the method of representing, or encoding, an image described in the herein-mentioned patent application; Fig. 4 is a detailed flow diagram illustrating the step of coding a region in Fig. 3; CFP unkwnAU 433395 [O:\CISRA\IPR\IPRO51433395:BFD Fig. 5 is a flow diagram illustrating the method of decoding a coded representation of an image produced in accordance with the method Fig. 3; Fig. 6 is a detailed flow diagram illustrating the step of decoding a region in Fig. Figs 7A to 7D are diagrams illustrating the processing of a two-dimensional, eight-coefficient region in accordance with the encoding and decoding method of Figs.
3 to 6; Fig. 8 is a block diagram of a general purpose computer; Figs. 9 to 12 are flow diagrams illustrating an alternate method representing, or encoding, an image described in the herein-mentioned patent application; Figs. 13-15 illustrate the process of wavelet transforming -image data in accordance with preferred embodiment; Fig. 16 illustrates a three level wavelet packet decomposition and its corresponding quadtree representation in accordance with preferred embodiment; Fig. 17 illustrates the process of sibling subband coding and decoding order in accordance with the preferred embodiment; Fig. 18 illustrates examples of the wavelet packet subband coding order for two example wavelet decompositions in accordance with the preferred embodiment; and Fig. 19 is a flow chart of creating a wavelet decomposition of a collection of data values in accordance with a preferred embodiment.
Detailed Description Where reference is made in any one or more of the accompanying drawings to steps and/or features, which have the same reference numerals, those steps and/or S 25 features have for the purposes of this description the same function(s) and/or operation(s), unless the contrary intention appears.
Before proceeding with a description of the preferred embodiments, a description is given of the image compression and decompression method disclosed in Australian Provisional Patent Application No. PO 4728, entitled "A method for Digital 30 Image Compression", filed on 22 January 1997 by Canon Information Systems Research Australia Pty. Ltd. This method of compression and decompression is described in the following sections hereinafter entitled "1.0 Overview of SWEET Image Compression Method", "1.1 Encoding Process of First SWEET Image Compression Method", "1.2 Decoding Process of First SWEET Image Compression Method", "1.3 Two-Dimensional Example" and "1.4 Encoding Process of Second SWEET Image Compression Method".
Overview of SWEET Image Compression Method(s) CFP unkwnAU 433395 [O:\CISRA\IPR\IPR051433395:BFD -6- A high-level block diagram is illustrated in Fig. 1 to provide an overview of encoding method. An input image 102 is provided to the transform block 110, which is preferably a linear transform, to produce corresponding transform coefficients 112. A discrete wavelet transform (DWT) is preferably employed.
The two-dimensional DWT of an image is a transform that' represents the image using a low frequency approximation to the image and three high frequency detail components. Conventionally, these components are termed subbands. Each of the four sub-images formed by the DWT is one quarter of the size of the original image. The low frequency image contains most of the information about the original image. This information, or energy compaction, is the feature of the discrete wavelet transform image subbands that is exploited for image compression. The single-level DWT can be applied recursively to the low frequency image, or subband, an arbitrary number of times. For example, a three-level DWT of the image is obtained by applying the transform once and then applying the DWT to the low subband resulting from the transformation. Thus, this results in 9 detail subbands and one (very) low frequency subband. Even after three levels of DWTs, the resulting low frequency subband still contains a significant amount of information of the original image, yet is 64 times smaller (1/4 x 1/4 x thereby effecting a factor of 64 in compression.
However, other linear transformations for decorrelating image data may be practiced. For example, a discrete cosine transform (DCT) can be practiced. The transform coefficients 112, or more specifically the bit sequences representing their values, are then coded by the bit rearrangement block 120 in an efficient fashion to 25 provide the coded representation 122.
The decoding process is simply the reverse of this encoding process. The encoded coefficients are decoded into the transform coefficients. The (transform domain) image is then inverse transformed to form the original image, or some approximation thereof.
Before proceeding with a further description of the embodiments, a brief 30 review of terminology used hereinafter is provided. For a binary integer representation of a number, "bit n" or "bit number n" refers to the binary digit n places to the left of the least significant bit. For example, assuming an 8-bit binary representation, the *decimal number 9 is represented as 00001001. In this number, bit 3 is equal to 1, *°*:while bits 2, 1, and 0 are equal to 0, 0, and 1, respectively. Furthermore, a transform may be represented as a matrix having coefficients arranged in rows and columns, with each coefficient represented by a bit sequence. Conceptually speaking the matrix may be regarded as having three dimensions; one dimension in the row direction; a second dimension in the column direction and a third dimension in the bit sequence direction.
CFP unkwnAU 433395 [O:\CISRA\IPR\IPRO51433395:BFD -7- A plane in this three-dimensional space, which passes through each bit sequence at the same bitnumber, is called a bitplane or bit plane.
For transform coding applications, the number of bits per coefficient required to represent the possible range of coefficients is determined by the linear transform and the resolution of each pixel (in bits per pixel) in the input image. This range of values for each pixel is typically large relative to the values of most of the transform coefficients, and thus many coefficients have a large number of leading zeros. For example, the number 9 has four leading zeros in a 8-bit representation and has 12 leading zeros for a 16-bit representation. The compression method and apparatus represents (or codes) these leading zeros, for blocks of coefficients, in an efficient manner. The remaining bits and sign of the number are encoded directly without modification.
To simplify and the description, the transform coefficients are assumed hereinafter to be represented in an unsigned binary integer form, with a single sign bit.
That is, the decimal numbers -9 and 9 are represented with the same bit sequence, namely 1001, with the former having a sign bit equal to 1 to indicate a negative value, and the latter having a sign bit equal to 0 to indicate a positive value. The number of leading zeros is determined by the range of the transform coefficients. In using an integer representation, the coefficients are implicitly already quantised to the nearest integer value, although this is not necessary. Further, for the purpose of compression, any information contained in fractional bits is normally ignored.
A region includes a set of contiguous image coefficients. The term coefficient is used hereinafter interchangeably with pixel, however, as will be well understood by a person skilled in the art, the former is typically used to refer to pixels in a transform domain a DWT domain).
1.1 Encoding Process of First SWEET Image Compression Method A more detailed description of the first image compression method is provided with reference to Figs. 3 and 4.
30 Fig. 3 is a flow diagram illustrating the first image encoding method. In step 302, processing commences using an input image. In step 304, the input image is transformed using a linear transformation, preferably a discrete wavelet transform. An **initial region is defined to be the whole image. For example, in the case of a threelevel DWT of the input image, the resulting coefficients including the 10 subbands can be specified as the region. Alternatively each subband can be processed separately, setting each initial region to the whole subband in question.
In step 306, the most significant bit (msb) of the largest absolute value of the transform coefficients is determined and a parameter, maxBitNumber, is set to this CFP unkwnAU 433395 1O:\CISRA\IPR\IPRO51433395:FD coefficient value. For example, if the largest transform coefficient has a binary value of 00001001 (decimal the parameter maxBitNumber is set to 3, since the msb is bit number 3. Alternatively, the parameter maxBitNumber may be set to be any value that is larger that the msb of the largest absolute value of the transform coefficients.
Further, in step 306, a coding parameter, minBitNumber is set to specify the coded image quality. In particular, this coding parameter specifies the precision of every coefficient in the transformed image and can be varied as required. For example, a minBitNumber of 3 provides a coarser reproduction of the original image than does a value of 1.
Optionally, the technique involves step 308, which provides an output header in the coded representation of the input image. Thus, in a practical implementation, header information is output as part of the coded representation. For example, the output header may contain information about the source image, including the image height and width, the number of levels of the DWT, the mean value of the DC subband, the maxBitNumber parameter, and the minBitNumber parameter.
Beginning in step 310, each subband of the transformed image is coded separately in steps 312 and 314. Each subband is coded independently, in order from low frequency to high frequency. For the DC subband, the mean value is removed prior to coding and coded into the header information in step 308. In step 312, each subband is coded by setting an initial region as the whole subband. In step 314, the region is encoded with the maxBitNumber and minBitNumber as parameters. This provides a hierarchical code, since lower resolution versions of the image are coded into the bit stream before.higher resolutions. Processing terminates in step 316.
Fig. 4 is a detailed flow diagram of the procedure "Code 25 region(currentBitNumber, minBitNumber)" called in step 314 of Fig. 3 for coding each region, where maxBitNumber is provided as the currentBitNumber. In step 402, processing commences. The inputs to the region coding process of Fig. 4 include the currentBitNumber and minBitNumber parameters. Preferably, the method is implemented as a recursive technique where the process is able to call itself with a S* 30 selected region or sub-region. However, the process may implemented in a nonrecursive manner.
In decision block 404, a check is made to determine if the currentBitNumber parameter is less than the minBitNumber parameter. Otherwise, if decision block 404 returns true (yes), nothing is done and processing returns to the calling procedure in step 406. This condition indicates that every coefficient in the selected region has a msb number less than minBitNumber. If decision block 404 returns false (no), processing continues at decision block 408.
CFP unkwnAU 433395 IO:\CISRA\IPR\lPR051433395:BFD -9- In decision block 408, a check is made to determine if the selected region is a 1 x 1 pixel. If decision block 408 returns true (yes), processing continues at step 410.
In step 410, the 1 x 1 pixel is coded. Preferably, this involves directly outputting the remaining bits above the minBitNumber in the coded representation. In step 412, processing returns to the calling procedure. Otherwise, if decision block 408 returns false the region includes more than one coefficient and processing continues at decision block 414.
In decision block 414, the selected region is checked to determine if it is significant. That is, the significance of the region is tested. The region is said to be insignificant if the msb number of each coefficient in the region is less than the value of the currentBitNumber parameter. To make the concept of region significance precise, a mathematical definition is given in Equation At a given bit number, say currentBitNumber n, the region is said to be insignificant if: cJ I <2",Vij eR, (1) where R denotes the region, and cij denotes coefficient in this region.
If decision block 414 returns false processing continues at step 416. In step 416, a value of 0 (or first token) is output in the coded representation stream, and the currentBitNumber parameter is decremented by 1. That is, the next, lower bitplane of the region is selected for processing. Processing then continues at decision block 404, where the region is again processed with the parameters currentBitNumber-1 and minBitNumber. Otherwise, if decision block 414 returns true (yes), that is, the region is significant, processing continues at step 418.
25 In step 418, a value of 1 (or second token) is output in the coded representation stream. In step 420, the selected region is partitioned into a predetermined number (preferably, 4) of subregions using a specified partitioning algorithm. The partitioning algorithm used is known to the decoder.
In this method, square regions are used. A region is partitioned preferably o: 30 into 4 equal-sized (square) subregions. As shown in Fig. 2, the selected region 200 has a size of M x M coefficients and is partitioned into four equal-sized subregions 210, 212, 214 and 216. Each of the subregions has a size of N x N, where N is equal to This is.not always possible depending on the size and shape of the initial region.
If this is not possible, the initial region can be partitioned into a number of square regions, each having dimensions that are a power of 2, and encode these partitions separately. In any case, this initialization has minimal effect on the overall results if done in an intelligent fashion. Alternatively, a different partition may be used that is suitable for a block-based coder.
CFP unkwnAU 433395 [O:\CISRA\IPR\IPR51433395:BFD In step 422, each subregion is then coded with the same currentBitNumber and minBitNumber parameters. This is preferably done by means of a recursive call to the procedure "Code region(currentBitNumber, minBitNumber)" of Fig. 4. This coding of subregions may be implemented in parallel or sequentially. In the latter case, the processing may commence from a low frequency subband to higher frequency subbands in turn.
In the coded representation, a transform coefficient is coded by simply outputting the pixel bits from the currentBitNumber to the minBitNumber. Preferably, a convention is followed whereby the sign is output only if some of the coefficient bits were non-zero. For example, if currentBitNumber 3, minBitNumber 1, then -9 (00001001) is coded as "1 0 0" followed by a sign bit 1.2 Decoding Process of First SWEET Image Compression Method Fig. 5 is a flow diagram illustrating a method of decoding the coded representation of an image obtained using the process of Figs. 3 and 4. In step 502, processing commences using the coded representation. In step 504, the header information is read from the coded representation to determine the size of the original image, and hence the initial region size. Also, information such as maxBitNumber (equal to the initial currentBitNumber in the coding process) and minBitNumber are input. Further information includes the mean value of the DC subband.
In step 506, decoding of each subband is commenced by setting the region to Sthe respective subbands in turn. In step 508, the selected region is decoded using the maxBitNumber and minBitNumber parameters. In step 510, the inverse DWT is applied to the decoded selected region. Processing terminates in step 512.
Fig. 6 is a detailed flow diagram of step 508 of Fig. 5 for decoding each region using procedure call "Decode region(currentBitNumber, minBitNumber)", S. where maxBitNumber is provided as the currentBitNumber. In step 602, processing commences. The inputs to the region decoding process of Fig. 6 are the currentBitNumber and minBitNumber parameters. Again, the method is preferably 30 implemented as a recursive technique. However, the process can be implemented in a non-recursive manner.
In decision block 604, a check is made to determine if the currentBitNumber is less than the minBitNumber. If decision block 604 returns true (yes), processing k* .i continues at step 606, where processing returns to the calling procedure. Otherwise, if decision block 604 returns false processing continues at decision block 608.
In decision block 608, a check is made to determine if the selected region has a size of 1 x 1 pixels. If decision block 608 returns true (yes), processing continues at step 610. In step 610, the 1 x 1 region is decoded. Processing then returns to the CFP unkwnAU 433395 rO:\CISRAlPR\IPRO5]433395:BFD CFP unkwnAU 433395 [O:\CISRA\IPR\IPRO51433395:BFD -11 calling procedure in step 612. If decision block 608 returns false processing continues at step 614. In step 614, a bit is input from the coded representation.
In decision block 616, a check is made to determine if the bit is equal to 1, that is, the input is checked to determine if the region is significant. If decision block 616 returns false processing continues at step 618. In step 618, the currentBitNumber is decremented, and processing continues at decision block 604. Otherwise, if decision block 616 returns true (yes), processing continues at step 620. In step 620, the region is partitioned into the predetermined number (preferably, 4) of sub-regions. In step 622, each of the sub-regions is decoded using the currentBitNumber and minBitNumber. This is carried out by means of a recursive call to the process illustrated in Fig. 6. In step 624, processing returns to the calling procedure.
Thus, the bits output from the significance decisions in the encoder instruct the decoder on which path of the algorithm to take, thus mimicking the encoder. The pixels, and possible sign, are decoded by simply reading in the appropriate number of bits currentBitNumber to minBitNumber and if some of these are non-zero the sign bit).
1.3 Two-Dimensional Example The method effectively codes the leading zeros of most transform coefficients, while coding the bits from the most significant bit to the predetermined least significant bit, specified by the parameter minBitNumber, and the sign simply as is. Thus, the compression method advantageously represents the leading zeros. This method is very efficient in certain situations, namely for coding discrete wavelet transform image 0 coefficients, which typically exhibit a large dynamic range.
25 A few coefficients typically have very large values, while most have very small values.
An example of encoding a two-dimensional region including 4 x 4 coefficients is described with reference to Figs. 7A to 7D. The processing of the 4 x 4 region 700 of Fig. 7A is commenced with the maxBitNumber set to 7 since this is the largest bit number (bitplane) of all of the coefficients: 200 13 -11 -8 -13 3 -4 -3 S-.8 1 -2 -2 2 -1 -3 -3 The minBitNumber is set to 3, for illustrative purposes. A header is preferably output in the coded representation containing the maxBitNumber and minBitNumber. The process of coding the region 700 then follows.
CFP unkwnAU 433395 IO:\CSRA\PRIPPRO5433395:BFD CFP unkwnAU 433395 10:\CISRA\IPR\IPR051433395:BFD -12- At currentBitNumber 7, a one is output since the region 700 is significant with respect to bit number 7 (see decision block 404, 408, and 414 and step 418 of Fig. The region 700 is then partitioned into four sub-regions (see step 420 of Fig. the top left region 710, the top right region 712, the bottom left region 714 and the bottom right region 716 of Fig. 7A. Each of the subregions includes of 2 x 2 coefficients.
The sub-regions 710, 712, 714 and 716 of Fig. 7A are in turn coded in the predefined processing sequence shown of Fig. 7B, where a region 750 includes of four sub-regions 750A to 750D. The three arrows illustrated in the diagram indicate the order or sequence of processing, that is, top left sub-region 750A, top right sub-region 750B, bottom left sub-region 750C, and bottom right sub-region 750D, respectively.
The sub-region 710 of Fig. 7A is coded first (see step 422 of Fig. For the currentBitNumber equal to 7, a one is output in the coded representation. The subregion 710 is then partitioned into four 1 x 1 pixels having decimal values 200, 13, -13 and 3. Each of these coefficients is coded by outputting the bits of each coefficient from the currentBitNumber 7 to the minBitNumber 3 (see decision block 408 and step 410 of Fig. A sign bit is then output if required. Thus, the decimal value is 200 is coded as 11001 followed by the sign bit 0. The coefficient value 13 is coded as 00001 with a sign bit 0. The coefficient value -13 is coded as 00001 with a sign bit 1.
Finally, the coefficient value 3 is coded as 00000 (without a sign bit). The coded S. representation of each coefficient includes the two bits preceding the bits of coefficients "200" between the currentBitNumber and minBitNumber. This completes the coding of the top left sub-region 710. The coded output at this state is: sign bit 25 1111001 0 00001000001100000 200 13 -13 3 The header information is not shown in the foregoing expression.
The top right sub-region 712 is then coded (per Fig. 7B). A zero is output for each of currentBitNumber equal to 7, 6, 5, and 4, since the region 712 is insignificant with respect to these bit numbers. A one is output at currentBitNumber 3, since this bitplane is significant with respect to bit number 3.
The sub-region 712 is partitioned into the four 1 x 1 pixels having values -11, -4 and These decimal values are coded as bit value 1 with sign bit 1, bit value 1 with sign bit 1 and bit values 0 and 0 without sign bits, respectively. Thus, at this stage, the coded representation is as follows: CFP unkwnAU433395 [O:\CISRA\IPR\IPROS5433395:BFD CFP unkwnAU 433395 O:\CISRA\IPR\IPRO51433395:BFO -13- 11100100000100000110000000001 11 0 0 -11-8-4-3 The bottom left sub-region 714 is then encoded. A zero is output for each of currentBitNumber equal to 7, 6, 5, and 4, since the region 714 is insignificant with respect to these bit numbers. A one is output at currentBitNumber equal to 3, since this bitplane is significant with respect to bit number 3. The sub-region 714 is then partitioned into four lx1 pixels having values 8, 1, 2 and These are coded respectively as binary value 1 with sign bit 0, and binary values 0,0 and 0 without sign bits.
Finally, the bottom right sub-region 716 having values and -3 is coded. A zero is output for each of currentBitNumber 7, 6, 5, 4 and 3 since the sub-region 716 is insignificant with respect to these bit numbers. No sign bits are output. Thus, the coded representation is as follows: 11110010000010000011000000000111110000011000000000.
The decoder simply mimics the encoding process to reconstruct the region from the coded representation as depicted in Fig. 7C.
The decoding process can be made "smarter" in a number of ways. One such a "smarter" way is depicted in Fig. 7D. In this case, the magnitude of the non-zero coefficients is each increased by half of 2 to the power of minBitNumber. This is depicted in Fig. 7D. In this manner, the "smart" decoding processing generally reduces the mean square error between the decoded and the original coefficients. Still further, the encoder can alternatively perform this (type of) operation, thereby leaving 25 the decoder to use the simplest depicted in Fig. 7C.
1.4 Encoding Process of Second SWEET Image Compression Method A coding process according to an alternate method is hereinafter described with reference to Figs. 9 to 12.
S 30 A discrete wavelet transform of an entire digital image can be performed on a S..block-by-block basis. The result of the transformation upon each block is a set of coefficients, which are essentially equivalent to a set of spatially corresponding coefficients of a discrete wavelet transform of the entire image. For example, from a predetermined set of coefficients of a DWT for an entire image, a portion or block of the digital image can be reproduced to a specified detail. Selecting the predetermined set of coefficients from the frequency domain amounts substantially to representing the corresponding portion of a digital image (the block) from the spatial domain. A block CFP unkwnAU 433395 (O:\CISRA\IPR\IPRO5]433395:BFD i, -14based DWT of a digital image can be performed by decomposing an image into a plurality of blocks and applying the transform to each block independently, thereby substantially evaluating those DWT coefficients relevant to the current spatial location.
The advantage of adopting a block-based transform approach is that a block can be subsequently encoded with minimal interaction (substantially independent) from another block of the image. Block-based techniques are inherently memory localized and therefore are generally efficient when implemented using computer systems.
Fig. 9 is a flow diagram illustrating the block-based encoding process according to the second encoding method. Processing commences at step 902. In step 904, a header is output. This information preferably includes the image height and width, the block size, the number of levels of the DWT, and two coding parameters maxBitNumber and minBitNumber. Optionally, more or less header information may be used depending upon the application.
The coding parameter maxBitNumber can be selected in a variety of ways. If the block DWT is performed on all image blocks prior to coding of any of them, the maxBitNumber can be chosen to be the MSB number of the largest coefficient across all DWT blocks. For example, if the largest coefficient is 10000001 (decimal value 129), the maxBitNumber is set to 7 since the MSB is bit number 7. Alternatively, a deterministic bound can be used which is determined by the transform and the resolution of the input image. For example, with an 8-bit input image (level shifted to 7-bits plus sign) and the Haar transform, the largest MSB is bounded by J+7 where J is the number of levels of the DWT. If the blocks are small, the selection of this S parameter can have a significant effect on compression. In some instances, more 9o.9 sophisticated ways of selecting maxBitNumber may be employed. However, this 25 depends upon the specific application.
The parameter minBitNumber determines the compression ratio versus quality 6,010.trade off and can be varied. For example, for nearly orthogonal transforms, a value of 3 provides adequate image quality for 8-bit, grey-scale or 24-bit, RGB images.
In step 906, the image is decomposed into blocks (or an image block is 30 formed). The image is decomposed preferably into overlapping blocks. However, non-overlapping blocks may be employed. The block of coefficients can be as large as the whole original image, or as small as a block of 8 x 8 coefficients (for a three-level °--°transform). For low memory applications, a block that is as small as possible may be employed. Generally, a block size of 16 coefficients is sufficient for higher levels of compression with a three or four level DWT. A block size of 8 x 8 coefficients with a three-level DWT can maintain good coding efficiency by employing differential pulse code modulation (DPCM) on the DC coefficient of each block.
CFP unkwnAU 433395 IO:\CISRA\IPR\IPR051433395:BFD In step 908, each block is level shifted and the transform is performed.
Preferably, a DWT is employed. The image values are level shifted (for example, by 128 for an 8-bit image) to reduce or eliminate any undue mean bias, and each spatial block of the image is transformed. For a DWT, usually some knowledge of the block surrounding the current block is needed (and similarly for the inverse DWT), although this is not strictly required.
In step 910, the block is coded using the maxBitNumber and minBitNumber parameters. Processing terminates in step 912.
Step 910 for coding a block is illustrated in detail in the flow diagram of Fig.
10. The inputs to the block coding process of Fig. 10 include the currentBitNumber and the minBitNumber parameters. With reference to step 910 of Fig. 9, the maxBitNumber is input as the currentBitNumber parameter. Processing commences in step 1002. In decision block 1004, a check is made to determine if the currentBitNumber is less than the minBitNumber. If decision block 1004 returns true (yes), processing continues at step 1006. In step 1006, execution returns to the calling process, thereby indicating that every coefficient in the block has an MSB number less than the minBitNumber. Otherwise, if decision block 1004 returns false (no), processing continues at decision block 1008.
In decision block 1008, a check is made to determine if a current block is significant. If decision block 1008 returns false processing continues at step 1010. In step 1010, a zero is output in the coded representation and the currentBitNumber is decremented, that is, the next lower bit plane is selected.
*Processing then continues at decision block 1004. Otherwise, if decision block 1008 returns true (yes) processing continues at step 1012.
Decision blocks 1004 and 1008 along with step 1010 enable the process to find the MSB number of the largest coefficient in the block. A block is insignificant with respect to the currentBitNumber if the MSB number of every coefficient in the block is So.. less than the currentBitNumber. This is repeated until the bitplane of the block is significant or the currentBitNumber is less than the minBitNumber.
30 In step 1012, a one is output in the coded representation to indicate the D.o. bitplane is significant. In step 1014, the DC subband is coded. In step 1016, the block detail is coded using the parameters J, currentBitNumber and minBitNumber. In step 1018, execution returns to the calling procedure. Thus, given that the block is significant, steps 1012, 1014 and 1016 are carried out to use the (generalized) quadtree segmentation to find all coefficients with an MSB number greater than the minBitNumber. If the block is significant, it is partitioned into two "sub-blocks": the DC subband coefficients and the block including the remaining coefficients, referred to CFP unkwnAU 33395 O:CISRAPR\PRO 433395: CFP unkwnAU 433395 10:\CISRA\IPR\IPR051433395:BFD 16as the "block detail" for level J since it represents the high frequency information about the block of level J at all lower levels.
Step 1014 of Fig. 10 for coding the DC subband is illustrated in detail by the flow diagram of Fig. 12. That is, Fig. 12 shows the process of coding a subband or sub-block using currentBitNumber and minBitNumber parameters. In step 1202, processing commences. In decision block 1204, a check is made to determine if the currentBitNumber is less than the minBitNumber. If decision block 1204 returns true (yes), processing continues at step 1206. In step 1206, execution returns to the calling procedure. Otherwise, if decision block 1204 returns false processing continues at decision block 1208.
In decision block 1208 a check is made to determine if the (subband) block size is 1 x 1 pixels. If decision block 1208 returns true (yes), processing continues at step 1210. In step 1210, the 1 x 1 pixel is coded. This involves outputting the bits between the currentBitNumber and the minBitNumber, inclusive, followed by a sign bit if necessary. Processing then returns to the calling procedure in step 1212. Otherwise, if decision block 1208 returns false processing continues at decision block 1214.
In decision block 1214, a check is made to determine if the (subband) block is significant. If decision block 1214 returns false processing continues at step 1216. In step 1216, a zero is output in the coded representation and the 20 currentBitNumber is decremented. Processing then continues at decision block 1204.
Otherwise, if decision block 1214 returns true (yes), processing continues at step 1218.
In step 1218, a one is output in the coded representation to indicate that the (subband) block is significant. In step 1220, the (subband) block is partitioned into four sub-blocks. In step 1222, each sub-block is coded using the parameters 25 currentBitNumber and minBitNumber, by means of a recursive call to the process of Fig. 12. In step 1224, execution returns the calling procedure.
Thus, in the process of Fig. 12, a subband or sub-block thereof is coded. The largest MSB number is isolated as before. If the sub-block includes only one pixel, it is S. coded as a single coefficient. Otherwise, the currentBitNumber is decremented and a zero is output in the coded representation until the currentBitNumber is less than the minBitNumber, or the subband (sub-block) is significant. If the subband (sub-block) is significant, it is partitioned into four (as close to equal as possible) sub-block, and these are coded in turn. A single coefficient, for example the DC coefficient, is encoded by outputting the coefficient bits from the currentBitNumber to the minBitNumber. Again, the sign is preferably only output if some of the coefficient bits are non-zero.
Step 1016 of Fig. 10 for coding block detail is illustrated by the flow diagram of Fig. 11. In step 1102, processing commences. In decision block 1104, a check is made to determine if the currentBitNumber is less than the minBitNumber. If decision CFP unkwnAU 433395 (O:\CISRA\IPR\IPRO51433395:BFD CFP unkwnAU 433395 O\CISRA\IPR\IPR051433395:BFD -17block 1104 returns true (yes), execution returns to the calling procedure in step 1106.
Otherwise, if decision block 1104 returns false processing continues at decision block 1108.
In decision block 1108, a check is made to determine if the block (detail) is significant. If decision block 1108 returns false processing continues at step 1110. In step 1110, a zero is output in the coded representation and the currentBitNumber is decremented. Processing then continues at decision block 1104.
Otherwise, if decision block 1108 returns true (yes), processing continues at step 1112.
In step 1112, a one is output in the coded representation to indicate that the block (detail) is significant. In step 1114, each of the high-low low-high (LH), and high-high (HH) frequency subbands is coded. The HL, LH, and-HH frequency subbands of each resolution are commonly referred to as AC subbands. Each of these subbands is coded in accordance with the process of Fig. 12. In step 1116, the block detail is coded using the parameters J-1, currentBitNumber and minBitNumber (if the block detail exists) by means of a recursive call to the process illustrated in Fig. 11.
Execution returns to the calling procedure in step 1118.
Thus, the block detail for level J is processed to first isolate the MSB number of the largest coefficient. This is done by decrementing the currentBitNumber and 20 outputting zeros until the block is significant. The block is then partitioned into the three high frequency subbands at level J and the block detail for level J-1 (if J-1 is greater than This partitioning approach is motivated by the so-called 1/f type °spectral models.
The decoding process for the second method can be implemented by mimicking the coding process described with reference to Figs. 9 to 12.
25 The encoding and decoding methods and apparatuses represent digital image data in an efficient and flexible manner, in which the representation is suitable for storing and/or transmitting images. The encoding techniques can be used generally to S"represent an array of transform coefficients, and to provide an efficient representation by representing an image in the discrete wavelet transform domain. In particular, the methods and apparatuses represent (or code) leading zeros of blocks of transform S- coefficients obtained from an input image. The techniques are efficient in terms of ".:offering a good reproduction of the original image for a given size code and offering fast decoding. Further, the techniques are flexible in that coefficients obtained from a linear transformation are encoded independently without the use of entropy coding.
The advantageous aspects of the methods include the depth first nature of the coding.
Further, in the case of coding subbands, the advantageous aspects of the method include hierarchical coding of each subband separately.
CFP unkwnAU 433395 IO:\CISRA\IPR\IPR051433395:BFD 18- 2. Preferred Embodiment(s) of Method The current preferred embodiment provides a method that adapts the DWT decomposition to each specific image, using a wavelet packet decomposition, so as to maximise the number of insignificant coefficients and therefore increase compression efficiency. The significance of coefficients is determined from a simple model inspired by the human visual system (HVS).
The preferred embodiment proceeds by the following steps: 1. An adaptive Discrete Wavelet Transform (DWT) decomposition is used to exploit the specific image pixel correlations of each image.
2. The decision to decompose a subband is based on a count of the increase in the number of insignificant coefficients (zeros) compared to-the increase in overhead for coding this decision.
3. The significance of a coefficient is based on its magnitude and the subband it is in. The coefficients in each subband are weighted according to a simple model, inspired by the human visual system (HVS), and the desired quality of reconstruction.
4. The subbands are processed in an order determined from rules known to both the encoder and decoder. These rules give preference to low frequency subbands and those at a higher level of decomposition, ensuring an improved perceptual 20 coding efficiency.
The preferred embodiment proceeds initially by means of a wavelet transform of the -image data. A description of the wavelet transform process is given in many standard texts and in particular the aforementioned book by Stollnitz et. al. An overview of the standard wavelet process will now be described with reference to the S. 25 accompanying drawings.
Referring initially to Fig. 13, an original image 1 is transformed utilising a Discrete Wavelet Transform (DWT) into four subimages 3-6. The subimages or subbands are normally denoted LL1, HL1, LH1 and HH1. The 1 suffix on the subband names indicates level 1. The LL1 subband is a low pass decimated version of the original image.
The wavelet transform utilised can vary and can include, for example, Haar basis functions, Daubechies basis functions etc. The LL1 subband is then in turn utilised and a second Discrete Wavelet Transform is applied as shown in Fig. 14 giving subbands LL2 HL2 LH2 HH2 This process is continued for example as illustrated in Fig. 15 wherein the LL4 subband is illustrated. The 4 band decomposition process being referred to as an octave band filter bank with the LL4 subband being referred to as the DC subband. Obviously, further levels of decomposition can be provided depending on the size of the input image.
CFP unkwnAU 433395 [O:\CISRA\IPR\IPR05j433395:BFD -19- Each single level DWT can in turn be inverted to obtain the original image.
Thus a J-level DWT can be inverted as a series of J-single level inverse DWT's.
A image coding hierarchy can proceed by coding the DC subband. Then, the remaining subbands are coded in order of decreasing level. That is for a 4 level DWT, the subbands at level 4 are coded after the DC subband (LL4). The subbands at level 4 are coded after the DC subband (LL4). That is the HL4, LH4 and HH4 subbands.
The subbands at level 3 (HL3, LH3, and HH3) are then coded, followed by those at level 2 (HL2, LH2 and HH2) and then level 1 (HL1, LH1 and HH1).
With standard images, the encoded subbands normally contain the "detail" information in an image. Hence, they often include a sparse array of values and substantial compression can be achieved by quantisation of the subbands and efficient encoding of their sparse matrix form.
In addition to the conventional DWT analysis, where the LL subbands is continually decomposed, in the preferred embodiment, it is possible to decompose any of the other HL, LH, or HH subbands to achieve advantageous effects. This is known in the literature as a wavelet packet decomposition and is useful in situations where the input image does not conform to the 1/f frequency spectrum model, when there is additional coding gain to be obtained by decomposing subbands other than the LL subband.
20 Fig. 16 illustrates an example of a 3-level wavelet packet decomposition and its associated quadtree 21. The quadtree 21 is used to describe which subbands have been decomposed. The quadtree 21 can be constructed at the encoder as the wavelet packet decomposition progresses and is preferably passed to the decoder as additional header information.
25 An efficient way of encoding the quadtree information describing quadtree 21 is via a depth first traversal of the tree 21. A one is output to indicate a branch node, a subband that has been decomposed further, and a zero to indicate a leaf node. In this way, the quadtree 21 of Fig. 16 is encoded as follows: 111 0000 000 1 0001 0000 00 If the first level of the quadtree is assumed and the maximum depth is known, being either preset or passed to the decoder (in the example shown in Fig. 16 maxLevel is set to the quadtree encoding of quadtree 21 reduces to: 110001000100 In accordance with the preferred embodiment, the wavelet packet decomposition can be done in a top-down fashion. After the first level DWT is completed each of the four subbands are examined in turn to see if any coding gain can be obtained by further decomposing them. The order in which the subbands are examined should be consistent and known to the decoder. The preferred order, which CFP unkwnAU 433395 (O:\CISRA\IPR\lPR05433395:BFD is that used for the example in Fig. 16, is shown 25 in Fig. 17. If the decision is made to decompose a subband a one is output to the quadtree header information, otherwise a zero is output. If the subband is decomposed then the four resultant subbands are tested recursively in exactly the same manner. Upon reaching the predefined maximum quadtree depth (maxLevel), no further action is necessary and the recursive routine returns to testing the next subband at the previous level in the decomposition.
The decision on whether to decompose a subband is made by counting the number of insignificant coefficients in an original subband ZO, and comparing this to the number of insignificant coefficients in the four subbands at the next level, Zn, i.e., in the subbands created if the decomposition were to proceed. More- precisely the following definitions are proposed: and Z" Z( Where cij denotes the coefficient j) in the subband of interest, 0 denotes the four orientation subbands {LL, HL, LH, HH} at the next level of decomposition and Z(cij) is an indicator function used to indicate insignificant coefficients: Z(C) ci Cj(2; S= otherwise.
20 Here m defines the minimum bit number below which a coefficient is considered to be insignificant and is specified by the desired coded image quality and the subband in question.
S' A subband can decomposed if: Z O 25 where Oh is the overhead associated with coding the subband. This overhead should preferably include terms to account for the number of bits required (in the header) to code this additional branch in the quadtree (4 bits), as well as some other considerations. These considerations should include an in-built bias to favour decomposition on certain subbands, the bias could be 0 for the LL subband, 5 for the HL and LH subbands, and 10 for the HH subband. Additionally, the bias should also increase in proportion to DWT level in order to discourage the decomposition of small subbands at high levels, where the coding gain is small. The header information may also include 1 bit for indicating that a wavelet packet decomposition has been used.
CFP unkwnAU 433395 IO:\CISRA\IPR\IPRO51433395:BFD -21 When an image has been decomposed into its DWT coefficient subbands these coefficients are usually treated as signed binary integers. However, in alternative implementations the coefficients may be stored as floating point numbers.
Given a binary integer representation of a number, "bit n" or "bit number n" refers to the binary digit n places to the left of the least significant bit. For example, the decimal number 9 can be represented as 00001001, assuming an 8-bit representation. In this number bit (number) 3 1, bit 2 0, bit 1 0, and bit 0 1. When coding a coefficient, the minimum (least significant) bit number that a coefficient is coded to (all lower bits being assumed to be zero by the decoder) determines the accuracy of the coded representation. In addition, if a coefficient has no bits set above the minimum bit number, m, it is counted as an insignificant coefficient during subband decomposition.
Experiments with human observers have shown that increased accuracy is required for the wavelet coefficients at higher levels in the DWT 3 of Fig. 13), which have the largest spatial extent and relate to the low spatial frequencies in the image. In addition, the wavelet coefficients that relate to either vertical or horizontal coefficients, the HL 6 and LH subbands 5, generally require greater accuracy than the oblique coefficients, the HH 4 subband.
The current embodiment includes a simple method in which to take these 20 effects into account when setting the minimum bit number, m, for each subband. In this way, the method can take advantage of HVS sensitivities during the wavelet packet decomposition.
Given a (user) specified minBitNumber the minimum bit number, m, that determines if a coefficient is considered to be insignificant is given by: 25 m max(O,S-l) minBitNumber, where 1 is current level of wavelet decomposition (currentLevel) and S is dependent upon which orientation subband, relative to the first level of the DWT, the coefficient is in. Typical values for S are given in the following table: Table 1 Subband (level 1) LL1 HL1/LH1 HH1 S 2 3 4 Coding of DWT Coefficients Once the image has been decomposed using the wavelet packet decomposition each subband has to be encoded in turn and the coefficients output to the decoder.
Again, sibling subbands, subbands at the same level of decomposition, are processed in a pre-specified order, preferably in the order 25 shown in Fig. 17. The coding starts with the DC subband, the lowest frequency (LL) subband at the CFP unkwnAU 433395 Io:\CIsRA\IPR\1R05]433395:BFD -22highest level, and progresses to the HL, LH, and HH subbands at that level (Starting with currentLevel maxLevel). Then the coding proceeds to the next level down (currentLevel currentLevel 1) and processes the HL, LH, and HH subbands at that level. In this way, the seven lowest frequency subbands are always (deterministically) the first to be processed.
The coding of the remaining subbands then proceeds as follows: 1. If there is an uncoded subband at a level greater than currentLevel then those (up to four) subbands are coded in the order shown in Fig. 17. If there is more than one group of subbands at this higher level then they are coded in turn, again, in the order specified in Fig. 17. These subbands are marked as coded and processing continues to step 2.
2. If there are not any uncoded subbands at a level greater than currentLevel then the coding proceeds to the next level down (currentLevel currentLevel The remaining subbands within the LL1 subband at this new level are then coded (there may be no more subbands to code within LL1, in which case nothing is done). Again, the preferred coding order is shown in Fig. 17.
3. Processing then continues to steps 1 and 2, until currentLevel 0.
Two examples illustrating the effect of coding order of wavelet packet subbands in accordance with the above methods are shown in Fig. 18. The decoder, 20 after reading the quadtree structure from the header information, can follow the above o set of rules to decode the coefficients into the correct subband order. The coefficients in each subband can then be quantised and encoded using a predetermined technique such as SWEET that is disclosed in Australian Provisional patent No. P04728 and described herein.
25 Of course, other techniques can be used to encode the coefficients. However, the idea of using a minimum bit number to determine coefficient significance during the packet decomposition ties in with testing coefficient significance during the SWEET encoding method of the aforementioned application.
Fig. 19 is a flow chart of creating a wavelet decomposition of a image data values in accordance with a preferred embodiment. The method is a recursive process and for ease of explanation is called Code(input data). In step 1900, the recursive process commences and an image data is input. This image data can be in the form of an original image data or a subband of such image data. In decision block 1901, a check is made whether said subband is decomposed to a predetermined level of decomposition. If the decision block returns true(Yes), then the process terminates at step 1916, otherwise the processing continues at step 1902. In step 1902, the inputted subband or image is decomposed by a DWT transform into four subbands SO. In the next step 1904, the value ZO is calculated for each subband SO in the manner previously CFP unkwnAU 433395 1O:\CISRA\IPR\IPR051433395:BFD -23discussed. The processing then continues at step 1906, where the subbands SO are further decomposed into subbands SN In the next step 1908, the value ZN is calculated for each of the associated subbands So in turn. The processing then continues at decision block 1910, where a decision is made whether Z0 ZN O, where O is the overhead, for the first subband So. If the decision block 1910 returns false (No) then the process continues at decision block 1912. If the decision block returns true(Yes) then the process Code(input data) is recursively called at step, 1914 with the first subband So being input as input data. After the called process is terminated, it returns to decision block 1912. In decision block 1912, a check is made whether the last subband So processed by decision block 1910 is the fourth subband. If the decision block 1912 returns false(No), then processing again continues to decision block 1910 where the processing continues on the next So subband. If the decision block 1912 returns true(Yes) then processing terminates at step 1916.
2.1 Preferred Embodiment of Apparatus(s) The encoding process are preferably practiced using a conventional generalpurpose computer, such as the one shown in Fig. 8, wherein the processes of Fig. 13 to 19 may be implemented as software executing on the computer. In particular, the steps of the encoding methods are effected by instructions in the software that are carried out S 20 by the computer. The software may be divided into two separate parts; one part for carrying out the encoding methods; and another part to manage the user interface between the latter and the user. The software may be stored in a computer readable medium, including the storage devices described below, for example. The software is loaded into the computer from the computer readable medium, and then executed by the computer. A computer readable medium having such software or computer program recorded on it is a computer program product. The use of the computer program product in the computer preferably effects an advantageous apparatus for encoding representations of digital images in accordance with the embodiments of the invention.
The computer system 800 includes of the computer 802, a video display 816, and input devices 818, 820. In addition, the computer system 800 can have any of a number of other output devices including line printers, laser printers, plotters, and *other reproduction devices connected to the computer 802. The computer system 800 can be connected to one or more other computers via a communication interface 808c using an appropriate communication channel 830 such as a modem communications path, a computer network, or the like. The computer network may include a local area network (LAN), a wide area network (WAN), an Intranet, and/or the Internet The computer 802 itself includes of a central processing unit(s) (simply referred to as a processor hereinafter) 804, a memory 806 which may include random CFP unkwnAU 433395 |O:\CISRA\IPR\IPR051433395:BFD -24access memory (RAM) and read-only memory (ROM), input/output (10) interfaces 808a, 808b 808c, a video interface 810, and one or more storage devices generally represented by a block 812 in Fig. 8. The storage device(s) 812 can include of one or more of the following: a floppy disc, a hard disc drive, a magneto-optical disc drive, CD-ROM, magnetic tape or any other of a number of non-volatile storage devices well known to those skilled in the art. Each of the components 804 to 812 is typically connected to one or more of the other devices via a bus 814 that in turn can include of data, address, and control buses.
The video interface 810 is connected to the video display 816 and provides video signals from the computer 802 for display on the video display 816. User input to operate the computer 802 can be provided by one or more input devices 808b. For example, an operator can use the keyboard 818 and/or a pointing device such as the mouse 820 to provide input to the computer 802.
The system 800 is simply provided for illustrative purposes and other configurations can be employed without departing from the scope and spirit of the invention. Exemplary computers on which the embodiment can be practiced include IBM-PC/ATs or compatibles, one of the Macintosh (TM) family of PCs, Sun Sparcstation or the like. The foregoing is merely exemplary of the types of computers with which the embodiments of the invention may be practiced. Typically, 20 the processes of the embodiments, described hereinafter, are resident as software or a program recorded on a hard disk drive (generally depicted as block 812 in Fig. 8) as the computer readable medium, and read and controlled using the processor 804.
Intermediate storage of the program and pixel data and any data fetched from the network may be accomplished using the semiconductor memory 806, possibly in S. 25 concert with the hard disk drive 812.
In some instances, the program may be supplied to the user encoded on a CD- ROM or a floppy disk (both generally depicted by block 812), or alternatively could be read by the user from the network via a modem device connected to the computer, for example. Still further, the software can also be loaded into the computer system 800 from other computer readable medium including magnetic tape, a ROM or integrated circuit, a magneto-optical disk, a radio or infra-red transmission channel between the ".°,"computer and another device, a computer readable card such as a PCMCIA card, and the Internet and Intranets including email transmissions and information recorded on websites and the like. The foregoing is merely exemplary of relevant computer readable mediums. Other computer readable mediums may be practiced without departing from the scope and spirit of the invention.
The method of coding may alternatively be implemented in dedicated hardware such as one or more integrated circuits performing the functions or sub functions of the CFP unkwnAU 433395 IO:\CISRA\IPR\IPR051433395:BFD encoding. Such dedicated hardware may include graphic processors, digital signal processors, or one or more microprocessors and associated memories.
The foregoing only describes a small number of embodiments of the present invention, however, modifications and/or changes can be made thereto by a person skilled in the art without departing from the scope and spirit of the invention. The present embodiments are, therefore, to be considered in all respects to be illustrative and not restrictive.
CFP unkwnAU 433395 4-- 10:\CISRA\IPR\IPR51433395:BFD

Claims (32)

1. A method of creating a wavelet decomposition of a collection of data values including the steps of: performing an initial decomposition of the data values into a series of components having low frequency components, high frequency components and components having a mixture of high and low frequencies; determining a first number of coefficients of each of said components having a magnitude exceeding a predetermined component threshold; creating a decomposition of each of said components into a series of sub components having low frequency sub-components, high frequency sub-components and sub-components having a mixture of high and low frequencies; determining a second number of coefficients of each of said sub- oo. components having a magnitude exceeding a predetermined sub-component threshold; utilizing said first number and said second number to determine if said component should be decomposed into sub-components; and where said decomposition proceeds, applying said steps to to each of the sub-components to a predetermined level of decomposition. *go• U o 20 2. A method as claimed in claim 1, wherein said utilizing step includes comparing ;.the first number to the second number less an overhead associated with encoding said sub-components compared with said components.
3. A method as claimed in claim 1 or 2, wherein said utilizing step further includes weighting said comparison depending on the frequency components of each component.
4. A method as claimed 3, wherein decomposition of said low frequency component is most heavily weighted.
5. A method as claimed 4, wherein decomposition of components having a mixture of high and low frequencies is more heavily weighted then decomposition of components having higher frequency components. CFP unkwnAU IPRO5 433395 [O:\CISRA\IPR\lPR051433395:iad -27-
6. A method as claimed in claim 1, wherein said predetermined component threshold and said predetermined sub-component threshold are both substantially equal to 2 m where m is defined as follows: m max(0, S minBitNumber wherein 1 is the current level of wavelet decomposition, S is dependent on the frequency components of the wavelet decomposition and minBitNumber is a user specified variable.
7. A method as claimed in claim 6, wherein S takes the following values for each component: where the component has only low frequency components, S 2; where the component has a mixture of high and low frequency components, S 3; and where the component has only high frequency components, S 4.
8. A method as claimed in claim 1, wherein said predetermined component threshold is of a power of 2.
9. A method as claimed in claim 1, wherein said data values include an image. ooo o •o.
10. A method as claimed in claim 1, wherein said components are encoded in the frequency and level order of components.
11. A method of creating a wavelet decomposition of an image including the steps of: performing an initial decomposition of the image into a series of components having low frequency components, high frequency components and components having a mixture of high and low frequencies; determining the number of coefficients of each of said components having a magnitude exceeding a predetermined threshold; where the number of coefficients exceeds a component specific threshold, decomposing said component into a number of sub-components and recursively applying said method to said sub-components. unkwnAU IPR05 433395 [O:\CISRA\IPR\IPR05]433395:iad -28-
12. An apparatus for creating a wavelet decomposition of a collection of data values, the apparatus including: first performance means for performing an initial decomposition of the data values into a series of components having low frequency components, high frequency components and components having a mixture of high and low frequencies; first determination means for determining a first number of coefficients of each of said components having a magnitude exceeding a predetermined component threshold; creation means for creating a decomposition of each of said 1o components into a series of sub components having low frequency sub-components, high frequency sub-components and sub-components having a mixture of high and low frequencies; second determination means for determining a second number of S: coefficients of each of said sub-components having a magnitude exceeding a predetermined sub-component threshold; utilization means for utilizing said first number and said second number to determine if said component should be decomposed into sub-components; and second performance means for, where said decomposition proceeds, performing the operations of the first performance means, first determination means, creation means, second determination means, and utilization means to each of the sub- components to a predetermined level of decomposition. S13. An apparatus as claimed in claim 12, wherein said utilization means includes S.comparison means for comparing the first number to the second number less an overhead associated with encoding said sub-components compared with said components.
14. An apparatus as claimed in claim 12 or 13, wherein said utilization means further includes weighting means for weighting said comparison depending on the frequency components of each component. An apparatus as claimed 14, wherein decomposition of said low frequency component is most heavily weighted. CFP unkwnAU fPR05 433395 [O:\CIS RA\LPR\IPR05]433395:iad -29-
16. An apparatus as claimed 15, wherein decomposition of components having a mixture of high and low frequencies is more heavily weighted then decomposition of components having higher frequency components.
17. An apparatus as claimed in claim 12, wherein said predetermined component threshold and said predetermined sub-component threshold are both substantially equal to 2 m where m is defined as follows: m max(0, S -1 minBitNumber wherein 1 is the current level of wavelet decomposition, S is dependent on the frequency components of the wavelet decomposition and minBitNumber is a user specified variable.
18. An apparatus as claimed in claim 17, wherein S takes the following values for each component: where the component has only low frequency components, S 2; where the component has a mixture of high and low frequency components, S 3; and where the component has only high frequency components, S 4.
19. An apparatus as claimed in claim 12, wherein said predetermined component threshold is of a power of 2.
20. An apparatus as claimed in claim 12, wherein said data values include an image.
21. An apparatus as claimed in claim 12, wherein said components are encoded in the frequency and level order of components.
22. An apparatus for creating a wavelet decomposition of an image, the apparatus including: performance means for performing an initial decomposition of the image into a series of components having low frequency components, high frequency components and components having a mixture of high and low frequencies; determination means for determining the number of coefficients of each of said Oomponents having a magnitude exceeding a predetermined threshold; CFP unkwnAU IPR05 433395 [0:\CISRA\PROIPR05]433395:iad decomposition means for decomposing where the number of coefficients exceeds a component specific threshold, said component into a number of sub- components; and repetition means for repeating the operations of the determination and decomposition means to said sub-components.
23. A computer program product including a computer readable medium having recorded thereon a computer program for creating a wavelet decomposition of a collection of data values, the computer program product including: first performance means for performing an initial decomposition of the data values into a series of components having low frequency components, high frequency components and components having a mixture of high and low frequencies; first determination means for determining a first number of coefficients of each of said components having a magnitude exceeding a predetermined component 15 threshold; •go* creation means for creating a decomposition of each of said S-components into a series of sub components having low frequency sub-components, high frequency sub-components and sub-components having a mixture of high and low frequencies; 20 second determination means for determining a second number of coefficients of each of said sub-components having a magnitude exceeding a predetermined sub-component threshold; utilization means for utilizing said first number and said second number S.to determine if said component should be decomposed into sub-components; and second performance means for, where said decomposition proceeds, performing the operations of the first performance means, first determination means, creation means, second determination means, and utilization means to each of the sub- components to a predetermined level of decomposition.
24. A computer program product as claimed in claim 23, wherein said utilization means includes comparison means for comparing the first number to the second number less an overhead associated with encoding said sub-components compared with said components. CFP unkwnAU IPRO5 433395 [O:\CISRA\IPR\PR05]433395:iad -31 A computer program product as claimed in claim 23 or 24, wherein said utilization means further includes weighting means for weighting said comparison depending on the frequency components of each component.
26. A computer program product as claimed 25, wherein decomposition of said low frequency component is most heavily weighted.
27. A computer program product as claimed 26, wherein decomposition of components having a mixture of high and low frequencies is more heavily weighted then decomposition of components having higher frequency components.
28. A computer program product as claimed in claim 23, wherein said predetermined component threshold and said predetermined sub-component threshold are both substantially equal to 2 m where m is defined as follows: S m max(0, S 1) minBitNumber wherein 1 is the current level of wavelet decomposition, S is dependent on the frequency components of the wavelet decomposition and minBitNumber is a user specified variable. 20 29. A computer program product as claimed in claim 28, wherein S takes the following values for each component: where the component has only low frequency components, S 2; where the component has a mixture of high and low frequency components, S 3; and where the component has only high frequency components, S 4. A computer program product as claimed in claim 23, wherein said predetermined component threshold is of a power of 2.
31. A computer program product as claimed in claim 23, wherein said data values include an image.
32. A computer program product as claimed in claim 23, wherein said components are encoded in the frequency and level order of components. CFP unkwnAU IPRO5 433395 [O:\CISRA\IPR\lPR05]433395:iad -32-
33. A computer program product including a computer readable medium having recorded thereon a computer program for creating a wavelet decomposition of an image, the computer program product including: performance means for performing an initial decomposition of the image into a series of components having low frequency components, high frequency components and components having a mixture of high and low frequencies; determination means for determining the number of coefficients of each of said components having a magnitude exceeding a predetermined threshold; decomposition means for decomposing where the number of coefficients exceeds a component specific threshold, said component into a number of sub- components; and repetition means for repeating the operations of the determination and decomposition means to said sub-components.
34. A method of creating a wavelet decomposition of an image including the steps of: performing a wavelet decomposition of the image into a plurality of first S•sub-bands; and S(b) determining as to whether at least one of said first sub-bands is to be 20 further decomposed into a plurality of second sub-bands in accordance with S oo, characteristics of the plurality of first sub-bands. S
35. An apparatus for creating a wavelet decomposition of an image, the apparatus including: means for a wavelet decomposition of the image into a plurality of first sub- bands; and determination means for determining as to whether at least one of said first sub- bands is to be further decomposed into a plurality of second sub-bands in accordance with characteristics of the plurality of first sub-bands.
36. A method for creating a wavelet decomposition of a collection of data value, the method substantially as described herein with reference to the accompanying drawings. CFP unkwnAU IPR05 433395 [O:\CISRA\IPR\IPR05]433395:iad -33-
37. A computer program product including a computer readable medium having recorded thereon a computer program for creating a wavelet decomposition of a collection of data values, the computer program product substantially as described herein with reference to the accompanying drawings.
38. An apparatus for creating a wavelet decomposition of a collection of data values, the apparatus substantially as described herein with reference to the accompanying drawings. DATED this fourteenth Day of March 2000 Canon Kabushiki Kaisha Canon Information Systems Research Australia Pty Ltd Patent Attorneys for the Applicants SPRUSON FERGUSON o• OOO *oo* o CFP unkwnAU 1PR05 433395 [O:\CISRA\1PR\IPR05]433395:iad
AU87095/98A 1997-09-29 1998-09-28 A method for digital data compression Ceased AU719749B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
AU87095/98A AU719749B2 (en) 1997-09-29 1998-09-28 A method for digital data compression

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
AUPO9513A AUPO951397A0 (en) 1997-09-29 1997-09-29 A method for digital data compression
AUPO9513 1997-09-29
AU87095/98A AU719749B2 (en) 1997-09-29 1998-09-28 A method for digital data compression

Publications (2)

Publication Number Publication Date
AU8709598A AU8709598A (en) 1999-04-15
AU719749B2 true AU719749B2 (en) 2000-05-18

Family

ID=25640791

Family Applications (1)

Application Number Title Priority Date Filing Date
AU87095/98A Ceased AU719749B2 (en) 1997-09-29 1998-09-28 A method for digital data compression

Country Status (1)

Country Link
AU (1) AU719749B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5497777A (en) * 1994-09-23 1996-03-12 General Electric Company Speckle noise filtering in ultrasound imaging
US5600373A (en) * 1994-01-14 1997-02-04 Houston Advanced Research Center Method and apparatus for video image compression and decompression using boundary-spline-wavelets
US5802481A (en) * 1997-03-20 1998-09-01 Motorola, Inc. Adaptive filtering for use with data compression and signal reconstruction

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5600373A (en) * 1994-01-14 1997-02-04 Houston Advanced Research Center Method and apparatus for video image compression and decompression using boundary-spline-wavelets
US5497777A (en) * 1994-09-23 1996-03-12 General Electric Company Speckle noise filtering in ultrasound imaging
US5802481A (en) * 1997-03-20 1998-09-01 Motorola, Inc. Adaptive filtering for use with data compression and signal reconstruction

Also Published As

Publication number Publication date
AU8709598A (en) 1999-04-15

Similar Documents

Publication Publication Date Title
US6266414B1 (en) Method for digital data compression
EP0971544B1 (en) An image coding method and apparatus for localised decoding at multiple resolutions
EP0905979B1 (en) A method for data compression
EP0855838B1 (en) A method for digital image compression using Discrete Wavelet Transform DWT
US6389074B1 (en) Method and apparatus for digital data compression
Walker et al. Wavelet-based image compression
US6266450B1 (en) Encoding method and apparatus
WO2000049571A2 (en) Method and system of region-based image coding with dynamic streaming of code blocks
Pan et al. A fast and low memory image coding algorithm based on lifting wavelet transform and modified SPIHT
US6246798B1 (en) Modified discrete wavelet transform for odd length data appropriate for image and video compression applications
Boujelbene et al. A comparative study of recent improvements in wavelet-based image coding schemes
Ghazel Adaptive fractal and wavelet image denoising
EP0920213A2 (en) Method and apparatus for decoding transform coefficients
AU719749B2 (en) A method for digital data compression
AU725719B2 (en) A method of digital image compression
US20030031370A1 (en) Inverse discrete wavelet transforms for data decompression
AU708489B2 (en) A method and apparatus for digital data compression
AU728938B2 (en) A method for data compression
AU727434B2 (en) Method and apparatus for decoding
AU736469B2 (en) An image coding method and apparatus for localized decoding at multiple resolutions
AU714202B2 (en) A method for digital image compression
AU727869B2 (en) An efficient method of image compression comprising a low resolution image in the bit stream
AU740066B2 (en) Method and apparatus for hierarchical encoding or decoding video images
AU727894B2 (en) An encoding method and apparatus
AU708444B2 (en) A modified discrete wavelet transform for odd length data appropriate for image and video compression applications

Legal Events

Date Code Title Description
PC1 Assignment before grant (sect. 113)

Owner name: CANON KABUSHIKI KAISHA

Free format text: THE FORMER OWNER WAS: CANON KABUSHIKI KAISHA, CANON INFORMATION SYSTEMS RESEARCH AUSTRALIA PTY LTD

FGA Letters patent sealed or granted (standard patent)