AU731403B2 - A method and apparatus for hierarchical encoding and decoding an image - Google Patents

A method and apparatus for hierarchical encoding and decoding an image Download PDF

Info

Publication number
AU731403B2
AU731403B2 AU21294/99A AU2129499A AU731403B2 AU 731403 B2 AU731403 B2 AU 731403B2 AU 21294/99 A AU21294/99 A AU 21294/99A AU 2129499 A AU2129499 A AU 2129499A AU 731403 B2 AU731403 B2 AU 731403B2
Authority
AU
Australia
Prior art keywords
transform coefficients
groups
image
blocks
group
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
AU21294/99A
Other versions
AU2129499A (en
Inventor
James Philip Andrew
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 AUPP2482A external-priority patent/AUPP248298A0/en
Application filed by Canon Inc filed Critical Canon Inc
Priority to AU21294/99A priority Critical patent/AU731403B2/en
Publication of AU2129499A publication Critical patent/AU2129499A/en
Application granted granted Critical
Publication of AU731403B2 publication Critical patent/AU731403B2/en
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

S F Ref: 447045
AUSTRALIA
PATENTS ACT 1990 COMPLETE SPECIFICATION FOR A STANDARD PATENT
ORIGINAL
o:o0 .000 Name and Address of Applicant: Actual Inventor(s): Address for Service: Invention Title: Invention Title: Canon Kabushiki Kalsha 30-2, Shimomaruko 3-chome Ohta-ku Tokyo 146
JAPAN
James Philip Andrew Spruson Ferguson, Patent Attorneys Level 33 St Martins Tower, 31 Market Street Sydney, New South Wales, 2000, Australia A Method and Apparatus Decoding an Image for Hierarchical Encoding and ASSOCIATED PROVISIONAL APPLICATION DETAILS [313 Application No(s) [33 Country PP2482 AU [321 Application Date 20 March 1998 The following statement is a full description of this invention, including the best method of performing it known to me/us:- 5815 -1- A METHOD AND APPARATUS FOR HIERARCHICAL ENCODING AND DECODING AN IMAGE Field of Invention The present invention relates to a method and apparatus for encoding and decoding images including transcoding to and from other compression formats. The present invention is not limited to still image technologies and may also be used in video image technologies.
Background of Invention In the current baseline JPEG standard it is necessary to substantially decode all the transform coefficients of an 8x8 block before the next 8x8 block can be decoded. Thus the time required to decode any lower resolution version of the image is bound by the time to decode all the coefficients. This time actually significantly constrains the decoding time, especially for the smallest resolutions.
The JPEG standard also provides for redundant hierarchical encoding. The image is encoded at multiple resolutions so that lower resolution versions may be accessed without first having to decompress the image at its full resolution. However this results in large compression files which contain more information than is desirable.
The JPEG standard also provides for non redundant hierarchical encoding such as spectral selection. However these methods are inefficient in the coding of the image.
•Summary of Invention S-It is an object of the invention to ameliorate one or more of the above mentioned .ooo#i disadvantages of the prior art.
According to one aspect of the invention, there is provided a method of encoding an S 25 image, the method comprising the steps of: dividing said image into a plurality of blocks j f pixels; transforming said blocks of pixels into respective blocks of transform 447045 au amendments.doc -2coefficients, wherein each said block of transform coefficients comprises a set of n groups G, of transform coefficients and any one of subsets Gk of said set where k or n comprises those transform coefficients xij where i and j 2 and any one of said subsets is capable of being inversed transformed to reproduce a sub-image or a resolution thereof of said image; rearranging said transform coefficients of said blocks of transform coefficients into groups of transform coefficients, wherein each said group Sk comprises said groups Gk of transform coefficients from respective said blocks of transform coefficients; and encoding the groups S, in turn beginning with the first group S, and continuing in sequence through to the last group S,.
According to another aspect of the invention, there is provided a method for decoding a coded representation of a digital image, said coded representation comprising a plurality of encoded groups Sk of transform coefficients, where k or n, and wherein each said encoded group Sk comprises groups Gk of transform coefficients from respective blocks of transform coefficients, and each said block of transform coefficients comprises a set of n said groups of transform coefficients and any one of subsets of said set comprises those transform coefficients xij where i k-1 and j 0 1 2 k-1- 1 and any one of said subsets is capable of being inversed transformed to reproduce a sub-image or a resolution thereof of said image; and the method comprises the following steps: selecting a resolution mode; decoding the encoded groups in turn beginning with a first encoded group and continuing in sequence until a number of encoded groups have been decoded, wherein said number is an integer and is determined in response to said resolution mode; rearranging all of the transform coefficients of said decoded groups into a plurality of mxm complete blocks of said transform coefficients, where m is an integer and is dependent on the selected solution mode; inverse transforming each of said mxm block of transform coefficients, 447045 au amendments.doc if necessary, to derive a nxn block of pixels; and combining said blocks of pixels to reconstitutute said image or a resolution thereof.
According to one aspect of the invention, there is provided a method of transcoding a JPEG encoded digital image to provide a coded representation in another format; said method comprising the following steps; entropy decoding the JPEG digital image to generate blocks of transform coefficients, wherein each said block of transform coefficients comprises a set ofn groups G, of transform coefficients and any one of subsets of said set where k or n comprises those transform coefficients xij where i and j and any one of said subsets is capable of being inversed transformed to reproduce a sub-image or a resolution thereof of said image; rearranging said transform coefficients of said blocks of transform coefficients into groups of transform coefficients, wherein each said group S k where k or n comprises said groups G k of transform coefficients from each said block of transform coefficients; and encoding the groups in turn beginning with the first group S, and continuing in sequence through to the last group
S,.
S
According to another aspect of the invention, there is provided a method of o* transcoding a coded representation of a digital image to a JPEG encoded image, said ;coded representation comprising a plurality of encoded groups S k of transform coefficients, where k or n, and wherein each said encoded group S k comprises groups Gk of transform coefficients from respective blocks of transform coefficients, and ooo* each said block of transform coefficients comprises a set of n said groups G, of 9 transform coefficients and any one of subsets Gk of said set comprises those transform coefficients xij where i 2 k'-1 andj 2 k-1, and any one of said subsets Gk is capable of being inversed transformed to reproduce a sub-image or AVA F resolution thereof of said image; and the method comprises the following steps: 447045_auamendments.doc selecting a resolution mode; decoding the encoded groups in turn beginning with a first encoded group and continuing in sequence until a number of encoded groups have been decoded, wherein said number is an integer and is determined in response to said resolution mode; rearranging all of the transform coefficients of said decoded groups into a plurality of mxm complete blocks of said transform coefficients, where m is an integer and is dependent on the selected resolution mode; and entropy encoding the blocks of transform coefficents to form a JPEG digital image.
According to another aspect of the invention, there is provided apparatus for encoding an image, the apparatus comprising: means for dividing said image into a plurality of blocks of pixels; means for transforming said blocks of pixels into respective blocks of transform coefficients, wherein each said block of transform coefficients comprises a set of n groups G, of transform coefficients and any one of subsets
{G
1 Gk of said set where k or n comprises those transform coefficients xij where i 0, 1 2 k-I-1 andj 0 1 2 k-I-1, and any one of said subsets is capable of being inversed transformed to reproduce a sub-image or a resolution thereof of ~said image; means for rearranging said transform coefficients of said blocks of transform coefficients into groups of transform coefficients, wherein each said group
SS
k comprises said groups Gk of transform coefficients from respective said blocks of :transform coefficients; and means for encoding the groups in turn beginning with the first group S, and continuing in sequence through to the last group S,.
.ooooi According to another aspect of the invention, there is provided apparatus for g: decoding a coded representation of a digital image, said coded representation comprising a plurality of encoded groups Sk of transform coefficients, where k or n, and o wherein each said encoded group Sk comprises groups Gk of transform coefficients from respective blocks of transform coefficients, and each said block of transform coefficients comprises a set of n said groups G, of transform coefficients and any one of 447045 au amendments.doc -4a subsets k of said set comprises those transform coefficients xj where i and j and any one of said subsets is capable of being inversed transformed to reproduce a sub-image or a resolution thereof of said image; and the apparatus comprises: means for selecting a resolution mode; means for decoding the encoded groups in turn beginning with a first encoded group and continuing in sequence until a number of encoded groups have been decoded, wherein said number is an integer and is determined in response to said resolution mode; means for rearranging all of the transform coefficients of said decoded groups into a plurality of mxm complete blocks of said transform coefficients, where m is an integer and is dependent on the selected resolution mode; means for inverse transforming each of said mxm block of transform coefficients, if necessary, to derive a nxn block of pixels; and means for combining said blocks of pixels to reconstitutute said image or a resolution thereof.
According to another aspect of the invention, there is provided apparatus for transcoding a JPEG encoded digital image to provide a coded representation in another format; said apparatus comprising: means for entropy decoding the JPEG digital image to generate blocks of transform coefficients, wherein each said block of transform coefficients comprises a set ofn groups G, of transform coefficients and any one of subsets Gk of said set where k or n comprises those transform coefficients xij where i 2 k- 1 and j 2 k- 1 and any one of said subsets is capable of being inversed transformed to reproduce a sub-image or a resolution thereof of said image; means for rearranging said transform coefficients of said blocks of transform coefficients into groups of transform coefficients, wherein each said group Sk, where k or n comprises said groups Gk of transform •9 Scoefficients from each said block of transform coefficients; and means for encoding the groups in turn beginning with the first group S, and continuing in sequence ,=through to the last group S,.
447045_au amendments.doc -4b According to another aspect of the invention, there is provided apparatus for transcoding a coded representation of a digital image to a JPEG encoded image, said coded representation comprising a plurality of encoded groups Sk of transform coefficients, where k or n, and wherein each said encoded group Sk comprises groups Gk of transform coefficients from respective blocks of transform coefficients, and each said block of transform coefficients comprises a set of n said groups G, of transform coefficients and any one of subsets Gk of said set comprises those transform coefficients xij where i -1 andj 1, and any one of said subsets {G 1 Gk is capable of being inversed transformed to reproduce a sub-image or a resolution thereof of said image; and the apparatus comprises: means for selecting a resolution mode; means for decoding the encoded groups in turn beginning with a first encoded group and continuing in sequence until a number of encoded groups have been decoded, wherein said number is an integer and is determined in response to said resolution mode; means for rearranging all of the transform coefficients of said decoded groups into a plurality of mxm complete blocks of said transform coefficients, where m is an integer and is dependent on the selected resolution mode; and means for entropy encoding the blocks of transform coefficents to form a JPEG digital image.
According to another aspect of the invention, there is provided a computer readable medium comprising a computer program for encoding an image, the computer program comprising: code for dividing said image into a plurality of blocks of pixels; code for eoee° transforming said blocks of pixels into respective blocks of transform coefficients, wherein each said block of transform coefficients comprises a set ofn groups {G 1 G, of transform coefficients and any one of subsets {G 1 Gk of said set where k 9 or n comprises those transform coefficients xij where i 0 1 2 k-1 1 and j k
I
1, and any one of said subsets Gk is capable of being inversed transformed to p reproduce a sub-image or a resolution thereof of said image; code for rearranging said 447045 au amendments.doc -4c transform coefficients of said blocks of transform coefficients into groups S, of transform coefficients, wherein each said group Sk comprises said groups Gk of transform coefficients from respective said blocks of transform coefficients; and code for encoding the groups S, in turn beginning with the first group S, and continuing in sequence through to the last group S,.
According to another aspect of the invention, there is provided a computer readable medium comprising a computer program for decoding a coded representation of a digital image, said coded representation comprising a plurality of encoded groups S k of transform coefficients, where k or n, and wherein each said encoded group S k comprises groups Gk of transform coefficients from respective blocks of transform coefficients, and each said block of transform coefficients comprises a set of n said groups of transform coefficients and any one of subsets {G Gk of said set comprises those transform coefficients xij where i k-1 andj 2 and any one of said subsets Gk is capable of being inversed transformed to reproduce a sub-image or a resolution thereof of said image; and the computer program comprising: code for selecting a resolution mode; code for decoding the encoded groups in turn beginning with a first encoded group and continuing in sequence until a number of encoded groups have been decoded, wherein said number is an integer and is determined in response to said resolution mode; code for rearranging all of the transform coefficients of said decoded groups into a plurality of mxm complete blocks of said transform 0 coefficients, where m is an integer and is dependent on the selected resolution mode; code •:000: for inverse transforming each of said mxm block of transform coefficients, if necessary, to derive a nxn block of pixels; and code for combining said blocks of pixels to *0 reconstitutute said image or a resolution thereof.
0 According to another aspect of the invention, there is provided a computer readable .4 ,medium comprising a computer program for transcoding a JPEG encoded digital image to 447045_auamendments.doc -4d provide a coded representation in another format; said computer program comprising: code for entropy decoding the JPEG digital image to generate blocks of transform coefficients, wherein each said block of transform coefficients comprises a set ofn groups G, of transform coefficients and any one of subsets Gk of said set where k or n comprises those transform coefficients xij where i 1 and j and any one of said subsets is capable of being inversed transformed to reproduce a sub-image or a resolution thereof of said image; code for rearranging said transform coefficients of said blocks of transform coefficients into groups S, of transform coefficients, wherein each said group Sk, where k or n comprises said groups Gk of transform coefficients from each said block of transform coefficients; and code for encoding the groups in turn beginning with the first group S, and continuing in sequence through to the last group S,.
According to another aspect of the invention, there is provided a computer readable medium comprising a computer program for transcoding a coded representation of a digital image to a JPEG encoded image, said coded representation comprising a plurality of encoded groups S k of transform coefficients, where k or n, and wherein each 1" said encoded group S k comprises groups Gk of transform coefficients from respective blocks of transform coefficients, and each said block of transform coefficients comprises a set of n said groups G, of transform coefficients and any one of subsets Gk of said set comprises those transform coefficients xij where i 2 k-1 and j 0 k-1, and any one of said subsets Gk is capable of being inversed transformed to reproduce a sub-image or a resolution thereof of said image; and the computer program comprising: code for selecting a resolution mode; code for decoding the encoded groups in turn beginning with a first encoded group and continuing in sequence until a number of encoded groups have been decoded, wherein said number is 4an integer and is determined in response to said resolution mode; code for rearranging all 447045_auamendments.doc -4e of the transform coefficients of said decoded groups into a plurality of mxrn complete blocks of said transform coefficients, where m is an integer and is dependent on the selected resolution mode; and code for entropy encoding the blocks of transform coefficents to form a JPEG digital image.
According to another aspect of the invention, there is provided a method of encoding an image, the method comprising the steps ofdividing said image into a plurality of blocks of pixels; DCT transforming said blocks of pixels into respective blocks of transform coefficients, wherein each said block of transform coefficients comprises a set of n groups of transform coefficients and any one of subsets IG Gk of said set where k or n comprises those transform coefficients xij where i k-1-1 andj and any one of said subsets is capable of being inversed transformed to reproduce a sub-image or a resolution thereof of said image; rearranging said transform coefficients of said blocks of transform coefficients into groups of transform coefficients, wherein each said group Skcomprises said groups Gk of transform coefficients from respective said blocks of transform coefficients; and encoding the groups in turn beginning with the first group S, and continuing in sequence through to the last group According to another aspect of the invention, there is provided a method for decoding a coded representation of a digital image, said coded representation comprising a plurality of encoded groups Sk of transform coefficients, where k or n, and wherein each said encoded group Sk comprises groups G of transform coefficients from k respective blocks of transform coefficients, and each said block of transform coefficients comprises a set of n said groups of transform coefficients and any one of subsets Gk of said set comprises those transform coefficients xij where i 447045-au-amendments.doe -4f- 1 and j and any one of said subsets is capable of being inversed transformed to reproduce a sub-image or a resolution thereof of said image; and the method comprises the following steps: selecting a resolution mode; decoding the encoded groups in turn beginning with a first encoded group and continuing in sequence until a number of encoded groups have been decoded, wherein said number is an integer and is determined in response to said resolution mode; rearranging all of the transform coefficients of said decoded groups into a plurality of mxm complete blocks of said transform coefficients, where m is an integer and is dependent on the selected resolution mode; inverse DCT transforming each of said mxm block of transform coefficients, if necessary, to derive a nxn block of pixels; and combining said blocks of pixels to reconstitutute said image or a resolution thereof.
According to another aspect of the invention, there is provided apparatus for encoding an image, the apparatus comprising: means for dividing said image into a plurality of blocks of pixels; means for DCT transforming said blocks of pixels into respective blocks of transform coefficients, wherein each said block of transform coefficients comprises a set of n groups n of transform coefficients and any one of subsets Gk of said set where k or n comprises those transform coefficients xij where i k-1 and j and any one of said subsets is capable of being inversed transformed to reproduce a sub-image or a resolution thereof of said image; 0 o means for rearranging said transform coefficients of said blocks of transform coefficients into groups of transform coefficients, wherein each said group coefficients into groups S 1 S, of transform coefficients, wherein each said group 447045 au amendments.doc -4g Sk comprises said groups Gk of transform coefficients from respective said blocks of transform coefficients; and means for encoding the groups in turn beginning with the first group S, and continuing in sequence through to the last group S,.
According to another aspect of the invention, there is provided apparatus for decoding a coded representation of a digital image, said coded representation comprising a plurality of encoded groups S k of transform coefficients, where k or n, and wherein each said encoded group S k comprises groups Gk of transform coefficients from respective blocks of transform coefficients, and each said block of transform coefficients comprises a set of n said groups {G 1 of transform coefficients and any one of subsets of said set comprises those transform coefficients xij where i and j and any one of said subsets is capable of being inversed transformed to reproduce a sub-image or a resolution thereof of said image; and the apparatus comprises: means for selecting a resolution mode; means for decoding the encoded groups in turn beginning with a first encoded group and continuing in sequence until a number of encoded groups have been decoded, wherein said number is an integer and is determined in response to said resolution mode; means for rearranging all of the transform coefficients of said decoded groups into a 20 plurality of mxm complete blocks of said transform coefficients, where m is an integer and is dependent on the selected resolution mode; .o means for inverse DCT transforming each of said mxm block of transform "coefficients, if necessary, to derive a nxn block of pixels; and means for combining said blocks of pixels to reconstitutute said image or a resolution thereof.
447045au amendments.doc -4h According to another aspect of the invention, there is provided a computer readable medium comprising a computer program for encoding an image, the computer program comprising: code for dividing said image into a plurality of blocks of pixels; code for DCT transforming said blocks of pixels into respective blocks of transform coefficients, wherein each said block of transform coefficients comprises a set of n groups G, of transform coefficients and any one of subsets of said set where k or n comprises those transform coefficients xij where i 0 1 2 k"-1 and j 0, 1 2 and any one of said subsets is capable of being inversed transformed to reproduce a sub-image or a resolution thereof of said image; code for rearranging said transform coefficients of said blocks of transform coefficients into groups of transform coefficients, wherein each said group Sk comprises said groups Gk of transform coefficients from respective said blocks of transform coefficients; and code for encoding the groups in turn beginning with the first group S, *and continuing in sequence through to the last group S,.
According to another aspect of the invention, there is provided a computer readable medium comprising a computer program for decoding a coded representation of a digital 20 image, said coded representation comprising a plurality of encoded groups S k of transform coefficients, where k or n, and wherein each said encoded group Sk comprises groups Gk of transform coefficients from respective blocks of transform *coefficients, and each said block of transform coefficients comprises a set of n said groups G, of transform coefficients and any one of subsets Gk of said set comprises those transform coefficients xij where i andj and 447045_auamendments.doc -4i any one of said subsets {G 1 Gk is capable of being inversed transformed to reproduce a sub-image or a resolution thereof of said image; and the computer program comprising: code for selecting a resolution mode; code for decoding the encoded groups in turn beginning with a first encoded group and continuing in sequence until a number of encoded groups have been decoded, wherein said number is an integer and is determined in response to said resolution mode; code for rearranging all of the transform coefficients of said decoded groups into a plurality of mxm complete blocks of said transform coefficients, where m is an integer and is dependent on the selected resolution mode; code for inverse DCT transforming each of said mxm block of transform coefficients, if necessary, to derive a nxn block of pixels; and code for combining said blocks of pixels to reconstitutute said image or a resolution thereof.
Brief Description of the Drawings Embodiments of the invention are described with reference to the drawings, in oioo which: Fig. 1 is a block diagram of a general purpose computer with which the S•embodiments can be implemented; Fig. 2 is a flow diagram illustrating a method of encoding, an image according to a preferred embodiment; Fig. 3 is a flow diagram illustrating a method of decoding, an image according to a preferred embodiment; !Fig. 4 is a flow diagram illustrating a method of decoding an image utilising a o:o•• S* reduced inverse discrete cosine transform according to a preferred embodiment; Fig. 5 illustrates the grouping of discrete transform coefficients within an 8x8 idliscrete cosine transform block according to a preferred embodiment; 447045 au amendments.doc 4j Fig. 6 illustrates four 8x8 discrete transform blocks of an 16x16 digital image as an example of the coefficient rearrangment process according to the preferred embodiment Fig. 7 illustrates the subband 0 formed from the transform coefficients in group 0 of the 16x16 digital image shown in Figure 6; Fig. 8 illustrates the subband 8 formed from the transform coefficients in group 8 of the 16x16 digital image shown in Figure 6; Fig. 9 is a flow diagram illustrating a method of encoding subbands utilised in the encoder shown in Fig. 2 of the preferred embodiment; Fig. 10 is a flow diagram illustrating in more detail the encoding method shown in Fig. 9 of the preferred embodiment; Figs. 11A to 11D are diagrams illustrating the process of a 16 coefficient subband region in accordance with the encoding methods of Figs. 9 and Fig. 12 is a flow diagram illustrating a method of hierarchical decoding utilised in the decoder method shown in Fig. 3 of the preferred embodiment; Fig. 13 is a flow diagram illustrating in more detail the decoding method shown in Fig. 12 of the preferred embodiment; a *oo o* oo *ag *o* *oooo* 447045 au amendments.doc Fig. 14 illustrates the rearranged subbands 0, 1, 2 and 3 prior to dequantisation and transformation; DETAILED DESCRIPTION Overview The embodiments of the invention can preferably be practiced using a conventional general-purpose computer, such as the one shown in Fig. 1, wherein the processes of Figs. 2 to 13D may be implemented as software executing on the computer. In particular, the steps of the coding and/or decoding methods are effected by instructions in the software that are carried out by the computer. The software may be stored in a computer readable medium, comprising 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 digital images and decoding coded representations of digital images in accordance with the embodiments of the invention.
A system may be practiced for coding a digital image and decoding the corresponding coded representation of the image, or vice versa.
i The computer system 100 consists of the computer 102, a video display 116, 20 and input devices 118, 120. In addition, the computer system 100 can have any of a number of other output devices including line printers, laser printers, plotters, and other reproduction devices connected to the computer 102. The computer system 100 can be connected to one or more other computers using an appropriate communication channel such as a modem communications path, a computer network, or the like. The S 25 computer network may include a local area network (LAN), a wide area network (WAN), an Intranet, and/or the Internet The computer 102 itself consists of a central processing unit(s) (simply referred S. to as a processor hereinafter) 104, a memory 106 which may include random access memory (RAM) and read-only memory (ROM), an input/output (IO) interface 108, a video interface 110, and one or more storage devices generally represented by a block 112 in Fig. 1. The storage device(s) 112 can consist 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 104 to 112 is typically connected to one or more of the other devices via a bus 114 that in turn can consist of data, address, and control buses.
The video interface 110 is connected to the video display 116 and provides video signals from the computer 102 for display on the video display 116. User input to operate the computer 102 can be provided by one or more input devices. For CFP1181AU iprl4 II:\ELEC\CISRA\IPR\IPR1 41447045AU:BFD example, an operator can use the keyboard 118 and/or a pointing device such as the mouse 120 to provide input to the computer 102.
The system 100 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 are merely exemplary of the types of computers with which the embodiments of the invention may be practiced. Typically, the processes of the embodiments, described hereinafter, are resident as software or a program recorded on a hard disk drive (generally depicted as block 112 in Fig. 1) as the computer readable medium, and read and controlled using the processor 104.
Intermediate storage of the program and pixel data and any data fetched from the network may be accomplished using the semiconductor memory 106, possibly in concert with the hard disk drive 112.
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 112), 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 0: 0, card, and the Internet and Intranets including email transmissions and information recorded on websites and the like. The foregoing are merely exemplary of relevant computer readable mediums. Other computer readable mediums may be practiced :00 25 without departing from the scope and spirit of the invention.
S.The embodiments of the invention may alternatively be implemented in dedicated hardware such as one or more integrated circuits performing the functions or subfunctions of the encoding, decoding or transcoding processes. Such dedicated hardware may in addition include one or more microprocessors and associated memories.
Fig. 2 shows a flow diagram of an encoding method for encoding an digital image to an compressed digital image in accordance with one embodiment of the invention. In this compression process, the original digital image is divided into 8x8 blocks of pixels, which blocks are then sequentially fed to the input of a 8x8 two dimensional discrete cosine transform (DCT) transformer 200. The transformer 200 generates 8x8 blocks of DCT coefficients, in the same manner as in the JPEG baseline standard. Each DCT coefficient is quantised by a quantiser 201 also according to the JPEG baseline standard. However, other alternative embodiments of quantisation may be practised without departing from the scope and spirit of the invention. The quantised CFP1181AU ipr14 {I:\ELEC\CISRA\IPR\IPR1 41447045AU:BFD DCT coefficients of all the 8x8 blocks of the original image are then fed to a coefficient rearrangement device 202 where the quantised DCT coefficients are rearranged into a hierarchical format. In this hierarchical format, the coefficients are grouped together in a number of subbands. This process of rearranging the DCT coefficients in subbands is described in more detail in the section herein entitled "Coefficient Rearrangement Process of Preferred Embodiment". The subbands of coefficients are then coded in turn by the encoder 203 into a bitstream representing the digital image. The encoding process performed by the encoder is described in more detail in the section herein entitled "Encoding Process of Preferred Embodiment" Still further, entropy coding binary arithmetic coding) may be optionally used in conjunction with the above mentioned encoding process. That is, the above-described encoding process may be followed by a step of entropy encoding the encoded stream. If so, the decoding step described below with reference to Fig. 3 may be preceded by an entropy decoding step for decoding the entropy coded stream. The encoding method shown in Figure 2 is very similar to JPEG baseline compression apparatus. However, the compression method described herein uses a fundamentally different rearrangement process and different encoding process.
.i Fig 3 shows a flow diagram of the decoding method of a compressed digital image to the original digital image, where the compressed digital image has been 20 encoded by the encoding method shown in Fig. 2. The encoded bitstream is fed to a decoder 300, which decodes the bitstream to generate a number of subbands arranged in a hierarchical format. The decoding process of the decoder 300 is described in more detail in the section herein entitled "Decoding Process of Preferred Embodiment".
These subbands are fed one after another to a coefficient rearrangement device 301 S 25 which is adapted to select and rearrange one or more of the subbands to generate nxn blocks of DCT coefficents. The nxn blocks of quantised DCT coefficients are then fed to a dequantiser 302, where each coefficient is then dequantised in a similar manner to the JPEG baseline standard. However, other alternative embodiments of dequantisation may be practised without departing from the scope and spirit of the invention. Finally each nxn block of coefficients is transformed with an inverse nxn two dimensional DCT encoder 302 and the resulting image blocks are combined to reconstitute the original image, or some approximation thereof.
The decoding method shown in Fig. 3 is able to operate in a number of different resolution modes in response to user input. The decoder 300 in response to user input, decodes a predetermined number of subbands of coeficients and feds these subbands to the coefficent device 301. The coefficient rearrangement device 301 rearranges these subband of coefficents in a particular manner dependent upon the desired resolution mode and feds these coefficients via the quantiser to the inverse DCT transformer 303. The inverse DCT transformer 303 performs a nxn inverse DCT CFP1181AU iprl4 [I:\ELEC\CISRA\IPR\IPR 141447045AU:BFD -8transform, where n is dependent upon the desired mode of resolution and can equal 8, 4, 2 or 0. However, other modes of resolutions and sizes of transforms are possible.
The 2 Dimensional Discrete Cosine Transform (DCT) In the encoding method described herein (Fig. each 8x8 block of the input image is transformed using a two dimensional discrete cosine transform (200), generating an 8x8 block of transform coefficients. Similarly in the decoding method described herein (Fig. transforming the 8x8 block of transform coefficients with a two dimensional inverse discrete cosine transform (302) gives the original 8x8 block n A lower resolution version of the block may be obtained using a lower order inverse DCT. For example, as illustrated in Fig. 4, the top left 4x4 quadrant of the 8x8 block of transform coefficients may be transformed with a 4x4 two-dimensional inverse DCT n The resulting 4x4 array of coefficients is a lower resolution version of the original 8x8 block. In the same manner an inverse 2x2 inverse DCT can be used to give a 2x2 array of coefficients that is a lower (again) resolution version of the block n Finally the DC coefficient itself, being the (scaled) average of the 8x8 block, can be used as the coarsest approximation to the block n 0).
This approach is be used to hierarchically decode images coded with a 8x8 DCT. For example, to decode an image that is 2 times as small as the original in each dimension, only the 4x4 lowest frequency coefficients of each 8x8 transform block need be decoded and inverse quantised. Each such 4x4 block is then transformed with an inverse two-dimensional 4x4 DCT. In the latter instance, scaling would normally be required. To decoded an image that is 4 times as small in each dimension, only the 2x2 lowest frequency coefficients need to be decoded and transformed appropriately.
S 25 Again, scaling may be required. Finally the DC coefficient of each block can be used to form an image that is 8 times smaller than the original in each dimension. In this case no inverse DCT is required, other than scaling.
Coefficient Rearrangement Process of the Preferred Embodiment In this embodiment, all the transform coefficients of the image are rearranged whereby all the DC coefficients are coded into the compressed bit stream first, then all the AC coefficients roughly in order of increasing frequency. In this way, for a given resolution, the required coefficients are contained in the first part of the bit stream and it is unnecessary to decode unwanted coefficients.
Preferably the decoding process can decode images that are a power of 2 times smaller than the original image in each dimension. That is 2, 4 and 8 times smaller in each dimension. For many applications this an acceptable constraint.
The rearrangement of coefficients is described with reference to Fig. 5 and Fig.
6. In Fig 5, the coefficients of each 8x8 block, arranged in the usual order of CFP1181AU iprl4 [I:\ELEC\CISRA\IPR\IPR 141447045 AU:8FD -9increasing spatial frequency components, are labelled as four groups of 10 subgroups.
The first group consists of the subgroup 0 only. The second group consists of subgroups 1 to 3, the third group consists of subgroups 4 to 6, and the fourth group consists of subgroups 7 to 9. The DC coefficient is in subgroup 0. The coefficient situated in row 0 and column 1 of the 8x8 matrix, (where the row/column numbering begins from 0) is in subgroup 1. Coefficient situated in row 1 column 0 is in subgroup 2. The coefficient in column 1 row 1 is in subgroup 3. The coefficients in row 0 column 2, row 0 column 3, row 1 column 2, row 1 column 3 are in subgroup 4 and so on. In Fig 6, each 8x8 block of a 16 x16 image has been transformed with a twodimensional DCT. Each coefficient has been labelled according to the above grouping shown in Fig 5. The labels a, b, c and d are used to delineate the separate 8x8 blocks.
The rearrangement forms "subbands" (loosely speaking) from the subgroups of coefficients. There are then 10 subbands labelled 0 9. For example subband 0 is formed from the coefficients as shown in Fig. 6 while subband 8 is formed as illustrated in Fig. 7 For images that are larger than 16x16 pixels in size there will still be subbands, but each subband will be proportionately larger. In this way, all the transform coefficients of an image can be arranged in subbands 0 to 9.
Encoding Process of the Subbands of the Preferred Embodiment For discrete cosine transform coding applications, the number of bits per 0: coefficient required to represent the possible range of coefficients is determined by 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, S 25 and thus many coefficients have a large number of leading zeros. For example, the number 9 has four leading zeros in an 8-bit representation and has 12 leading zeros in a 16-bit representation. The encoding method and apparatus in accordance with the present embodiment provide a way of representing (or coding) these leading zeros, for blocks of coefficients, in an efficient manner. The remaining bits and sign of the number may be encoded directly without modification.
To simplify the description and not to obscure unnecessarily the invention, the discrete cosine 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. Thus, for the purpose of compression, any information contained in fractional bits is normally ignored.
CFP1181AU iprl4 [I:\ELEC\CISRA\IPR\IPR141447045AU:BFD Before proceeding with a further description of the embodiments, a brief 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 (beginning with 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. 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.
A plane in this three dimensional space which passes through each bit sequence at the same bitnumber is called a bitplane.
Fig. 9 is a flow diagram illustrating the image encoding method according to the preferred embodiment. In step 902, processing commences using the subbands of rearranged coefficients.
In step 906, the most significant bit (msb) of the largest absolute value of the *transform coefficients is determined and a parameter, maxBitNumber, is set to this 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 20 number 3. Alternatively, the parameter maxBitNumber may be set to be any value that Sis larger that the msb of the largest absolute value of the transform coefficients. Each subband of the image is processed separately, setting each initial region to the whole subband in question.
Further, in step 906, a coding parameter, minBitNumber is set to specify the ~25 coded image quality. In particular, this coding parameter specifies the precision of S-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 908 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 of the embodiment of the invention may contain information about the source image, including the image height and width, the mean value of the DC subband, the maxBitNumber parameter, and the minBitNumber parameter.
Beginning in step 910, each subband of the transformed image is coded separately in steps 912 and 914. Each subband is coded independently, in order: that is from subband 0 is first coded into the bitstream, then subband 1, subband 2 and so on.
For the DC subband, the mean value is removed prior to coding and coded into the header information in step 908. In step 912, each subband is coded by setting an initial CFP1181AU iprl4 11AELEC\C1SRA\1PR\1PR 1 4144704AU:BFD -11 region as the whole subband. In step 914, the region is encoded with the maxBitNumber and minBitNumber as parameters. This provides a hierarchal code, since lower resolution versions of the image are coded into the bit stream before higher resolutions. Processing terminates in step 916.
Fig. 10 is a detailed flow diagram of the procedure "CodeRegion (currentBitNumber, minBitNumber)" called in step 914 of Fig. 9 for coding each region, where maxBitNumber is provided as the currentBitNumber. In step 1002, processing commences. The inputs to the region coding process of Fig. 10 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 selected region or sub-region. However, the process may implemented in a nonrecursive manner without departing from the scope and spirit of the invention.
In decision block 1004, a check is made to determine if the currentBitNumber parameter is less than the minBitNumber parameter. If decision block 1004 returns true (yes), nothing is done and processing returns to the calling procedure (or parent process) in step 1006. This condition indicates that every coefficient in the selected region has a msb number less than minBitNumber. Otherwise, if decision block 1004 returns false processing continues at decision block 1008.
In decision block 1008, a check is made to determine if the selected region is a 20 1 x 1 pixel. While this embodiment is described with a predetermined size of 1 x 1 pixels, it will be apparent to one skilled in the art that different sizes may be practised without departing from the scope and spirit of the invention. The predetermined size can be M x N pixels, where both M and N are positive integers. For example, the predetermined size may be less than or equal to 2 x 2 pixels or coefficients. If 25 decision block 1008 returns true (yes), processing continues at step 1010. In step 1010, the 1 x 1 pixel is coded. Again, it will be apparent to one skilled in the art that different predetermined sizes (M x N pixels) may be practiced. Still further, the predetermined size may be less than or equal to 2 x 2 pixels or coefficients.
Preferably, this step 1010 involves directly outputting the remaining bits above the minBitNumber in the coded representation. In step 1012, processing returns to the calling procedure. Otherwise, if decision block 1008 returns false the region consists of more than one coefficient and processing continues at decision block 1014.
In decision block 1014, 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: CFP1181AU iprl4 II:\ELEC\CISRA\IPR\IPR141447045AU:BFD -12- Scj Vi, j (1) where Tm denotes the region, and cij denotes coefficient in this region.
If decision block 1014 returns false processing continues at step 1016. In step 1016, a value of 0 (or first token) is output in the coded representation stream, and a recursive call is made in step 1017 to the subrountine CodeRegion(currentBitNumber-, minBitNumber) where currentBitNumber has been decremented by 1. That is, the next, lower bitplane of the region is selected for processing. Processing then continues at decision block 1004, where the region is again processed with the parameters currentBitNumber-1 and minBitNumber.
Otherwise, if decision block 1014 returns true (yes), that is, the region- is significant, processing continues at step 1018. Alternatively, to reduce the number of recursive function calls, the step 1014 may be replace by a step that outputs currentBitNumber n zeros, where n is the largest integer for which the region is significant. If n is not less than minBitNumber, the processing goes to step 718. Otherwise the function terminates.
In step 1018, a value of 1 (or second token) is output in the coded representation stream. In step 1020, the selected region is partitioned into a predetermined number (preferably, 4) of subregions using a specified partitioning algorithm or process. The partitioning process used is known to the decoder.
i 20 In step 1022, 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 "CodeRegion(currentBitNumber, minBitNumber)" of Fig. 10. This coding of subregions may be implemented in parallel or sequentially. In the latter case, the processing commences from lower frequency subregions to higher frequency 25 subregions in turn, i.e subregion 0 to subregion 3.
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 are non-zero. For example, if currentBitNumber 3, minBitNumber 1, then -9 (00001001) is coded as "1 0 0" followed by a sign bit Optionally, the encoding process of the preferred embodiment (as well as those of the other embodiments) may be implemented using a simple form of quantisation that can be effected by scaling (dividing) data by some scale factor prior to encoding. The decoding process, described below, can likewise be followed by a step of inverse scaling, if the scaling step is employed as part of the relevant encoding process.
Still further, entropy coding binary arithmetic coding) may be optionally used in conjunction with the encoding processes of the embodiments of the invention.
That is, the above-described encoding process may be followed by a step of entropy CFP1181AU iprl4 [I:\ELEC\CISRA\IPR\IPR14]447045AU:BFD i -13encoding the encoded stream. If so, the decoding step described below may be preceded by an entropy decoding step for decoding the entropy coded stream.
Two-Dimensional Example of the Encoding Process 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 preferred embodiment of the present invention advantageously represents the leading zeros. This method is very efficient in certain situations, namely for coding discrete wavelet transform image coefficients, which typically exhibit a large dynamic range.
A few coefficients typically have very large values, while most have very small values.
An example of encoding a subband comprising 4 x 4 coefficients is described with reference to Figs. 11A to 11D. The processing of the 4 x 4 region 1100 of Fig.
11A is commenced with the maxBitNumber set to 7 since this is the largest bit number (bitplane) of all of the coefficients: o F 200 13 -11 -8 -13 3 -4 -3 8 1 -2 -2 2 -1 -3 -3 20 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 1100 then follows.
At currentBitNumber 7, a one is output since the region 1100 is significant with respect to bit number 7 (see decision block 1004, 1008, and 1014 and 25 step 1018 of Fig. 10). The region 1100 is then partitioned into four sub-regions (see step 1020 of Fig. 10): the top left region 1110, the top right region 1112, the bottom left region 1114 and the bottom right region 1116 of Fig. 11A. Each of the subregions consist of 2 x 2 coefficients.
The sub-regions 1110, 1112, 1114 and 1116 of Fig. 11A are in turn coded in the predefined processing sequence shown of Fig. 11B, where a region 1150 consists of four sub-regions 1150A to 1150D. The three arrows illustrated in the diagram indicate the order or sequence of processing, that is, top left sub-region 1150A, top right subregion 1150B, bottom left sub-region 1150C and bottom right sub-region 1150D, respectively.
The sub-region 1110 of Fig. 11A is coded first (see step 1022 of Fig. 10). For the currentBitNumber equal to 7, a one is output in the coded representation. The CFP1181AU iprl4 II:\ELEC\CISRA\IPR\IPR141447045AU:BFD -14- Ssub-region 1110 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 1008 and step 1010 of Fig. 10). 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 representation of each coefficient includes the two bits preceding the bits of coefficient "200" between the currentBitNumber and minBitNumber. This completes the coding of the top left sub-region 1110. The coded output at this stage is: sign bit 1111001 0 00001000001100000 200 13 -13 3 S 15 The header information is not shown in the foregoing expression.
S* The top right sub-region 1112 is then coded (per Fig. 11B). A zero is :output for each of currentBitNumber equal to 7, 6, 5, and 4, since the region 1112 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 20 1112 is partitioned into the four 1 x 1 pixels having values -11, -4 and These Sdecimal 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: 111100100000100000110000000001 11 110 0 -11-8-4-3 The bottom left sub-region 1114 is then encoded. A zero is output for each of currentBitNumber equal to 7, 6, 5, and 4, since the region 1114 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 1114 is then partitioned into four 1 x 1 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 1116 having values and -3 is coded. A zero is output for each of currentBitNumber 7, 6, 5, 4 and 3 since the sub-region 1116 is insignificant with respect to these bit numbers. No sign bits are output. Thus, the coded representation is as follows: CFP1181AU iprl4 [I:\ELEC\CISRA\IPR\IPR1 41447045AU:BFD W1 111100100000100000110000000001111100000011000000000.
The decoder simply mimics the encoding process to reconstruct the region from the coded representation as depicted in Fig. 11C.
The decoding process can be made "smarter" in a number of ways. One such "smarter" way is depicted in Fig. 11D. In this case, the magnitude of each of the nonzero coefficients is increased by half of 2 to the power of minBitNumber. This is depicted in Fig. 11D. 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 the decoder to use the simplest depicted in Fig. 11C.
Hierarchical Decoding Process of the Preferred Embodiment In the present embodiment, only subband 0, contained in the first portion of the coded bit stream, need be decoded in order to decompress an image 8 times smaller that the original image in each dimension, To decompress an image 4 times smaller in each dimension only subbands 0, 1, 2 and 3 need be decoded. These latter subbands can then be rearranged by the rearrangement device 301 into 2x2 DCT blocks, reversing the rearrangement performed during compression, for the (2x2) relevant coefficients. For the 16x16 image example, the subbands 0, 1, 2 and 3 are rearranged as shown in Fig 14. Each 2x2 block is then dequantised and transformed with an inverse twodimensional 2x2 DCT. Again these subbands are contained in the first portion of the bit stream so no unnecessary decoding is required. Finally to decompress an image 2 times smaller in each dimension subbands 0 6 can be decoded, rearranged and each 4x4 block dequantised and inverse transformed. For a full decoding all the subbands need to be decoded, rearranged into 8x8 blocks and each 8x8 block dequantised and inverse transformed. In this way, the decoder 300 will decode and output only subbands 0, 0 to 3, 0 to 6, or 0 to 9 dependent upon the desired resolution modes 1/8, 1/4, 1/2, or full respectively. The rearrangement device 301 will then rearrange the subbands dependent upon the mode of resolution and the transformer 303 will perform the appropriate nxn inverse DCT transform (where n 0,2,4, or 8) again dependent upon the mode of resolution.
Fig. 12 is a flow diagram illustrating the method of decoding the coded representation of an image performed by the decoder 300 shown in Fig 3. In step 1202, processing commences using the coded representation of an image obtained using the processes of Figs. 2, 9 and 10. In step 1204, the header information is read from the coded representation to determine the size of the original image. Also, information such as maxBitNumber (equal to the initial currentBitNumber in the coding process) and CFP1181AU ipr14 II:\ELEC\CISRA\IPR\IPR 141447045AU:BFD -16minBitNumber are input. Further information includes the mean value of the DC subband.
In step 1206, decoding of the relevant subbands for the selected resolution mode is commenced. Decoding is commenced by setting the region to the relevant subbands. In step 1208, the selected region is decoded using the maxBitNumber and minBitNumber parameters. Processing terminates in step 1212.
Fig. 13 is a detailed flow diagram of step 1208 of Fig. 12 for decoding each region using procedure call "Decode region(currentBitNumber, minBitNumber)", where maxBitNumber is provided as the currentBitNumber. In step 1302, processing commences. The inputs to the region decoding process of Fig. 13 are the currentBitNumber and minBitNumber parameters. Again, the method is preferably implemented as a recursive technique. However, the process may be implemented in a non-recursive manner without departing from the scope and spirit of the invention.
In decision block 1304, a check is made to determine if the currentBitNumber is less than the minBitNumber. If decision block 1304 returns true (yes), processing continues at step 1306, where processing returns to the calling procedure. Otherwise, if decision block 1304 returns false processing continues at decision block 1308.
In decision block 1308, a check is made to determine if the selected region has a size of 1 x 1 pixels. If decision block 1308 returns true (yes), processing continues at step 1310. In step 1310, the 1 x 1 region is decoded. Likewise, the size may be predetermined and be equal to M x N pixels, where both M and N are positive integers. For example, the size may be less than or equal to 2 x 2 pixels or coefficients. Processing then returns to the calling procedure in step 1312. If decision block 1308 returns false processing continues at step 1314. In step 1314, a bit is 25 input from the coded representation.
In decision block 1316, 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 1316 returns false processing continues at step 1318. In step 1318, a recursive call is made to DecodeRegion( with its currentBitNumber decremented by one, after which the processing returns to the calling procedure in step 1319. Otherwise, if decision block 1316 returns true (yes), processing continues at step 1320. In step 1320, the region is partitioned into the predetermined number (preferably, 4) of sub-regions.
In step 1322, each of the sub-regions is decoded using the currentBitNumber and minBitNumber. In the preferred embodiment, this is carried out by means of a recursive call to the process illustrated in Fig. 13. In step 1324, 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 process to take, thus mimicking the encoder. The pixels, CFP1181AU ipr14 [1:\ELEC\CISRA\IPR\IPR 1 447045AU:BFD CFP1181Au iprl4 II:\ELEC\CISRA\IPR\IpRl 4J447045AU:BFD -17and 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).
Transcoding to JPEG The hierarchical method disclosed here differs from the JPEG method only in the (re) arrangement of the quantised transform coefficients and the coding method of these quantised coefficients. The rearrangement of coefficients is invertible or lossless: that it is, rearranging the coefficients followed by a reverse rearrangement brings it back to where it started. Further, the coding processes of quantised coefficients in both JPEG and hierarchical coding method are lossless. Hence it is possible to transcode between JPEG and the said hierarchical method and back without loss.
For example to transcode from a JPEG compressed image to the said hierarchical format, a JPEG image can be partially decompressed entropy decoded) to give 8x8 blocks of quantised DCT transform coefficients. These S 15 coefficients can then be arranged and coded according to the method disclosed here, to give the hierarchical compressed format. To transcode back to JPEG, the hierarchically coded image subbands are partially decoded, and the subbands are arranged into 8x8 blocks of quantised DCT transform coefficients. These can then be coded with the JPEG quantisation index coding method. The output JPEG compressed file will then be identical to the original JPEG file (assuming the header and auxiliary information remains the same).
In the same manner an image originally compressed with the disclosed hierarchical format can be transcoded to a JPEG format and back without loss.
25 Further hierarchical decoding As the method has been described so far it is possible to decode a hierarchically compressed image at 2, 4 and 8 times smaller than the original in each dimension. This can be extended to 16, 32 etc times smaller than the original image without losing the lossless transcoding to and from JPEG. This is achieved by coding subband 0 with a hierarchical lossless format. Being lossless we can decode subband 0 to exactly what we started with. For example, it is possible to use a lossless hierarchical encoding method on the subband 0 similar to that described with reference to Fig. 9. In this variant method an integer wavelet transform step is performed on the subband 0 between steps 902 and 906 and the subband 0 is broken up into further subbands which are coded separately in step 910. By decoding lower resolution versions of subband 0 we obtain lower resolution versions of the original image. (In this case it is desirable to undo the DPCM of the DC coefficients prior to subband 0 coding).
The embodiments of the invention provide methods and apparatuses for representing digital image data in an efficient and flexible manner, in which the CFP1181AU iprl4 II:\ELEC\CISRA\IPR\IPR 141447045AU: BFD -18representation is suitable for storing and/or transmitting images. The encoding techniques can be used generally to represent an array of transform coefficients, and to provide an efficient representation by representing an image in the discrete cosine transform domain. In particular, the embodiments provide methods and apparatuses for representing (or coding) leading zeros of blocks of transform 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 hierarchical 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 embodiment include the quantisation nature of the coding and the ability to transcode to JPEG without loss.
The embodiments of the present invention are not restricted to the use of a DCT (Discrete Cosine Transformation), but may use another linear transformation, such as DWT (Discrete Wavelet Transformation). In addition, the invention need not be limited to re-arranging all of the transform coefficients of the digital image but can include re-arranging all the transform coefficients of a part of the digital image.
The foregoing only describes a small number of embodiments of the present invention, however, modifications and/or changes can be made thereto without departing from the scope and spirit of the invention. The present embodiments are, 20 therefore, to be considered in all respects to be illustrative and not restrictive. In the context of this specification and accompanying aspects of invention, the word "comprising" means "including principally but not necessarily solely". Variations of the word comprising, such as "comprise" and "comprises" have correspondingly varied meanings.
S1
AA
o• oooS P 0 CFP1181AU ipr14 [I:\ELEC\CISRA\IPR\IPR 141447045 AU :BFD

Claims (26)

1. A method of encoding an image, the method comprising the steps of: dividing said image into a plurality of blocks of pixels; transforming said blocks of pixels into respective blocks of transform coefficients, wherein each said block of transform coefficients comprises a set of n groups {G 1 G, of transform coefficients and any one of subsets G k of said set where k or n comprises those transform coefficients xij where i and j k 1 1, and any one of said subsets Gk is capable of being inversed transformed to reproduce a sub-image or a resolution thereof of said image; rearranging said transform coefficients of said blocks of transform coefficients into groups of transform coefficients, wherein each said group S k comprises said groups Gk of transform coefficients from respective said blocks of transform coefficients; and encoding the groups in turn beginning with the first group S, and g o. continuing in sequence through to the last group S,.
2. A method as claimed in claim 1, wherein the transforming step transforms each block of pixels into a block of transform coefficients having a DC coefficient and AC 20 coefficients in accordance with a two dimensional DCT transform. o 4
3. A method as claimed in claim 2, wherein the rearranging step combines the DC coefficients from each said block of transform coefficients into said first group S,.
4. A method as claimed in claim 3, wherein each block of transform coefficents is a 8 S8 block of coefficients having a DC transform coefficient and 63 AC transform 447045 auamendments.doc coefficients and the rearranging step combines the DC coefficients into the said first group the AC01, AC10 ,and AC11 transform coefficients in a second said group S 2 the AC02 ,AC03 ,AC12 AC13 AC20 ,AC21 ,AC30 AC31, AC22 ,AC23 ,AC32 ,AC33 transform coefficients in a third said group S 3 the AC04 ,AC05 ,AC06 ,AC07 ,AC14 ,AC15 ,AC16 AC17 ,AC24 ,AC25 ,AC26 ,AC27 AC34 ,AC35 ,AC36 AC37 ,AC50 ,AC60 ,AC70 ,AC41 ,AC51 ,AC61 AC71 ,AC42 ,AC52 ,A62 ,AC72 AC43 ,AC53 ,AC63 AC73 ,AC44 ,AC45 ,AC46 ,AC47 ,AC54 ,AC55 ,AC56 AC57 ,AC64 ,AC65 ,A66 ,AC67 AC74, AC75 ,AC76 and AC77 transform coefficients in a fourth said group where ACij are the AC components at the ith row jth column of the blocks of transform coefficients. A method as claimed in claim 1, wherein each said group Gk comprises one or more sub-groups G k of transform coefficients and each said group Sk comprises one or more sub-groups Sk and said rearranging step rearranges said transform coefficients of said blocks of transform coefficients into said sub-groups of transform coefficients, wherein each said sub-group Sk comprises said sub-groups G k of transform coefficients from respective said blocks of transform coefficients.
6. A method as claimed in claim 5, wherein each said group Sk other than said first 20 group S, comprises three said sub-groups S k 9
7. A method as claimed in claim 1, wherein said transforming step comprises the step of: transforming each block of pixels into a block of transform coefficients, where each transform coefficient is represented by a predefined bit sequence. 447045_au amendments.doc -21-
8. A method as claimed in claim 5, wherein said encoding step comprises the steps of: selecting in turn each said sub-group Sk as a region and setting a predetermined maximum bit plane as the current bit plane; scanning the significance of each bitplane of said selected region from said current bitplane towards a predetermined minimum bitplane, and providing a first token for each insignificant bitplane and a second token for a significant bitplane in said coded representation until a significant bitplane is determined and setting said determined significant bitplane as the current bitplane; partitioning said selected region into two or more subregions having a predetermined form, and setting each of said subregions as said selected region; and repeating said scanning and partitioning steps for each selected region in turn, commencing from said current bit plane until the predetermined minimum bitplane has been reached, or said selected region has a predetermined size, and coding said transform coefficients of said selected region.
9. A method for decoding a coded representation of a digital image, said coded representation comprising a plurality of encoded groups Sk of transform coefficients, where k or n, and wherein each said encoded group Sk comprises groups Gk of 'transform coefficients from respective blocks of transform coefficients, and each said 20 block of transform coefficients comprises a set of n said groups G, of transform coefficients and any one of subsets Gk of said set comprises those transform coefficients xij where i 2 k -1 and j 2 and any one of said subsets o is capable of being inversed transformed to reproduce a sub-image or a resolution thereof of said image; and the method comprises the following steps: selecting a resolution mode; 447045 au amendments.doc -22- decoding the encoded groups in turn beginning with a first encoded group and continuing in sequence until a number of encoded groups have been decoded, wherein said number is an integer and is determined in response to said resolution mode; rearranging all of the transform coefficients of said decoded groups into a plurality of mxm complete blocks of said transform coefficients, where m is an integer and is dependent on the selected resolution mode; inverse transforming each of said mxm block of transform coefficients, if necessary, to derive a nxn block ofpixels; and combining said blocks of pixels to reconstitute said image or a resolution thereof. A method as claimed in claim 9, wherein the inverse transforming step, if necessary, inverse transforms the blocks of transform coefficients in accordance with a two dimensional inverse DCT transform.
11. A method as claimed in claim 9, wherein the transform coefficients comprise DC Sooo: transform coefficients and AC coefficients and where in one mode the inverse *0 I transforming step is not performed and the combining step combines DC transform coefficients to reconstitute a low resolution of said image. g* 20 12. A method as claimed in claim 10, wherein the size of said inverse DCT transform is oooo dependent on the selected resolution mode. .ooooi
13. A method as claimed in claim 9, wherein each said group Gk comprises one or more subgroups of transform coefficients and said decoding step comprises the sub-steps of: selecting in turn each said subgroup as a region; 447045_auamendments.doc -23 scanning said coded representation associated with said selected region, said coded representation comprising a first token for each insignificant bitplane of said coefficients, a second token for each significant bitplane of said coefficients, and zero or more coded coefficients; providing, if a first token is determined, an insignificant bitplane in an output stream for a current bitplane of coefficients of said selected region; providing, if a second token is determined, a significant bitplane in said output stream for said current bitplane of said coefficients of said selected region and partitioning said selected region into two or more subregions having a predetermined form, and setting each of said subregions as said selected region; and repeating said scanning step, said providing an insignificant bitplane step and providing a significant bitplane step commencing from a predetermined bitplane until a predetermined minimum bit plane has been reached, or until said selected region has a predetermined size wherein a coded transform coefficient of said selected region is decoded; and providing said selected subgroups of decoded transform coefficients as an output. I
14. A method of transcoding a JPEG encoded digital image to provide a coded representation in another format; said method comprising the following steps; 20 entropy decoding the JPEG digital image to generate blocks of transform coefficients, wherein each said block of transform coefficients comprises a set ofn groups G n of transform coefficients and any one of subsets G k of said set where :k or n comprises those transform coefficients xij where i 0, 1 2 k-1 and j 2 k'-1 1 and any one of said subsets is capable of being inversed transformed to reproduce a sub-image or a resolution thereof of said image; 447045 au amendments.doc -24- rearranging said transform coefficients of said blocks of transform coefficients into groups of transform coefficients, wherein each said group Sk, where k or n comprises said groups Gk of transform coefficients from each said block of transform coefficients; and encoding the groups S, in turn beginning with the first group S, and continuing in sequence through to the last group S,. A method of transcoding a coded representation of a digital image to a JPEG encoded image, said coded representation comprising a plurality of encoded groups Sk of transform coefficients, where k or n, and wherein each said encoded group S k comprises groups Gk of transform coefficients from respective blocks of transform coefficients, and each said block of transform coefficients comprises a set of n said groups G, of transform coefficients and any one of subsets Gk of said set comprises those transform coefficients xij where i 2 k--1 andj 2 k-1, and any one of said subsets Gk is capable of being inversed transformed to reproduce a sub-image or a resolution thereof of said image; and the method comprises the following steps: selecting a resolution mode; 9 decoding the encoded groups in turn beginning with a first encoded group and 20 continuing in sequence until a number of encoded groups have been decoded, wherein said number is an integer and is determined in response to said resolution mode; rearranging all of the transform coefficients of said decoded groups into a plurality of mxm complete blocks of said transform coefficients, where m is an integer and is dependent on the selected resolution mode; and entropy encoding the blocks of transform coefficents to form a JPEG digital image. 447045_auamendments.doc
16. Apparatus for encoding an image, the apparatus comprising: means for dividing said image into a plurality of blocks of pixels; means for transforming said blocks of pixels into respective blocks of transform coefficients, wherein each said block of transform coefficients comprises a set of n groups G, of transform coefficients and any one of subsets G k of said set where k or n comprises those transform coefficients xij where i and j and any one of said subsets is capable of being inversed transformed to reproduce a sub-image or a resolution thereof of said image; means for rearranging said transform coefficients of said blocks of transform coefficients into groups of transform coefficients, wherein each said group S, comprises said groups Gk of transform coefficients from respective said blocks of transform coefficients; and means for encoding the groups S, in turn beginning with the first group S, and continuing in sequence through to the last group S,.
17. Apparatus for decoding a coded representation of a digital image, said coded representation comprising a plurality of encoded groups S k of transform coefficients, where k or n, and wherein each said encoded group S k comprises groups Gk of 4* transform coefficients from respective blocks of transform coefficients, and each said 20 block of transform coefficients comprises a set of n said groups G, of transform coefficients and any one of subsets Gk of said set comprises those transform coefficients xij where i and j and any one of said subsets S {G is capable of being inversed transformed to reproduce a sub-image or a resolution thereof of said image; and the apparatus comprises: means for selecting a resolution mode; 447045 auamendments.doc -26- means for decoding the encoded groups in turn beginning with a first encoded group and continuing in sequence until a number of encoded groups have been decoded, wherein said number is an integer and is determined in response to said resolution mode; means for rearranging all of the transform coefficients of said decoded groups into a plurality of mxm complete blocks of said transform coefficients, where m is an integer and is dependent on the selected resolution mode; means for inverse transforming each of said mxm block of transform coefficients, if necessary, to derive a nxn block of pixels; and means for combining said blocks of pixels to reconstitutute said image or a resolution thereof.
18. Apparatus for transcoding a JPEG encoded digital image to provide a coded representation in another format; said apparatus comprising: means for entropy decoding the JPEG digital image to generate blocks of transform coefficients, wherein each said block of transform coefficients comprises a set ofn groups G, of transform coefficients and any one of subsets Gk of said set where k or n comprises those transform coefficients xij where i 2 k-1- 1 and j 2 k- 1 and any one of said subsets is capable of being inversed *c transformed to reproduce a sub-image or a resolution thereof of said image; 20 means for rearranging said transform coefficients of said blocks of transform S: coefficients into groups of transform coefficients, wherein each said group Sk, Swhere k or n comprises said groups Gk of transform coefficients from each said o** block of transform coefficients; and means for encoding the groups in turn beginning with the first group S, and continuing in sequence through to the last group S,. 447045auamendments.doc 447045 au amendments.doc -27-
19. Apparatus for transcoding a coded representation of a digital image to a JPEG encoded image, said coded representation comprising a plurality of encoded groups Sk of transform coefficients, where k or n, and wherein each said encoded group Sk comprises groups Gk of transform coefficients from respective blocks of transform coefficients, and each said block of transform coefficients comprises a set of n said groups G, of transform coefficients and any one of subsets Gk of said set comprises those transform coefficients xij where i 2 k-- 1 andj 1 and any one of said subsets Gk is capable of being inversed transformed to reproduce a sub-image or a resolution thereof of said image; and the apparatus comprises: means for selecting a resolution mode; means for decoding the encoded groups in turn beginning with a first encoded group and continuing in sequence until a number of encoded groups have been decoded, wherein said number is an integer and is determined in response to said resolution mode; means for rearranging all of the transform coefficients of said decoded groups into a plurality of mxm complete blocks of said transform coefficients, where m is an integer o. and is dependent on the selected resolution mode; and means for entropy encoding the blocks of transform coefficents to form a JPEG digital image. 0* S S 20 20. A computer readable medium comprising a computer program for encoding an image, the computer program comprising: code for dividing said image into a plurality of blocks of pixels; i" code for transforming said blocks of pixels into respective blocks of transform coefficients, wherein each said block of transform coefficients comprises a set ofn groups G, of transform coefficients and any one of subsets Gk of said set where k or n comprises those transform coefficients xij where i and j 447045 auamendments.doc -28- 2 k-I-1, and any one of said subsets is capable of being inversed transformed to reproduce a sub-image or a resolution thereof of said image; code for rearranging said transform coefficients of said blocks of transform coefficients into groups of transform coefficients, wherein each said group Sk comprises said groups Gk of transform coefficients from respective said blocks of transform coefficients; and code for encoding the groups in turn beginning with the first group S, and continuing in sequence through to the last group S,.
21. A computer readable medium comprising a computer program for decoding a coded representation of a digital image, said coded representation comprising a plurality of encoded groups Sk of transform coefficients, where k or n, and wherein each said encoded group S k comprises groups Gk of transform coefficients from respective blocks of transform coefficients, and each said block of transform coefficients comprises a set of n said groups G, of transform coefficients and any one of subsets of said set comprises those transform coefficients xij where i and j and any one of said subsets Gk is capable of being inversed transformed to reproduce a sub-image or a resolution thereof of said image; and the computer program comprising: 20 code for selecting a resolution mode; code for decoding the encoded groups in turn beginning with a first encoded group and continuing in sequence until a number of encoded groups have been decoded, wherein said number is an integer and is determined in response to said resolution mode; code for rearranging all of the transform coefficients of said decoded groups into a plurality of mxm complete blocks of said transform coefficients, where m is an integer and is dependent on the selected resolution mode; 447045_au amendments.doc -29- code for inverse transforming each of said mxm block of transform coefficients, if necessary, to derive a nxn block of pixels; and code for combining said blocks of pixels to reconstitutute said image or a resolution thereof.
22. A computer readable medium comprising a computer program for transcoding a JPEG encoded digital image to provide a coded representation in another format; said computer program comprising: code for entropy decoding the JPEG digital image to generate blocks of transform coefficients, wherein each said block of transform coefficients comprises a set of n groups G, of transform coefficients and any one of subsets Gk of said set where k or n comprises those transform coefficients xij where i -I1- and j and any one of said subsets is capable of being inversed transformed to reproduce a sub-image or a resolution thereof of said image; code for rearranging said transform coefficients of said blocks of transform coefficients into groups S 1 of transform coefficients, wherein each said group Sk, where k or n comprises said groups Gk of transform coefficients from each said block of transform coefficients; and code for encoding the groups in turn beginning with the first group S, 20 and continuing in sequence through to the last group S,. *o*
23. A computer readable medium comprising a computer program for transcoding a coded representation of a digital image to a JPEG encoded image, said coded representation comprising a plurality of encoded groups S k of transform coefficients, where k or n, and wherein each said encoded group S k comprises groups Gk of SRA4 transform coefficients from respective blocks of transform coefficients, and each said 447045_auamendments.doc block of transform coefficients comprises a set of n said groups G, of transform coefficients and any one of subsets Gk of said set comprises those transform coefficients xij where i 2 k1- 1 and j 2 k-1-1, and any one of said subsets is capable of being inversed transformed to reproduce a sub-image or a resolution thereof of said image; and the computer program comprising: code for selecting a resolution mode; code for decoding the encoded groups in turn beginning with a first encoded group and continuing in sequence until a number of encoded groups have been decoded, wherein said number is an integer and is determined in response to said resolution mode; code for rearranging all of the transform coefficients of said decoded groups into a plurality of mxm complete blocks of said transform coefficients, where m is an integer and is dependent on the selected resolution mode; and code for entropy encoding the blocks of transform coefficents to form a JPEG digital image.
24. A method of encoding an image, the method comprising the steps of: dividing said image into a plurality of blocks of pixels; DCT transforming said blocks of pixels into respective blocks of transform coefficients, wherein each said block of transform coefficients comprises a set of n groups 20 G, of transform coefficients and any one of subsets Gk of said set where k or n comprises those transform coefficients xij where i and j and any one of said subsets is capable of being inversed transformed to reproduce a sub-image or a resolution thereof of said image; rearranging said transform coefficients of said blocks of transform coefficients into groups of transform coefficients, wherein each said group Sk comprises said 447045_au amendments.doc -31 groups Gk of transform coefficients from respective said blocks of transform coefficients; and encoding the groups S, in turn beginning with the first group S, and continuing in sequence through to the last group S,. A method for decoding a coded representation of a digital image, said coded representation comprising a plurality of encoded groups Sk of transform coefficients, where k or n, and wherein each said encoded group S k comprises groups Gk of transform coefficients from respective blocks of transform coefficients, and each said block of transform coefficients comprises a set of n said groups of transform coefficients and any one of subsets Gk of said set comprises those transform coefficients xij where i 2 k--1 and j and any one of said subsets Gk is capable of being inversed transformed to reproduce a sub-image or a resolution thereof of said image; and the method comprises the following steps: selecting a resolution mode; decoding the encoded groups in turn beginning with a first encoded group and continuing in sequence until a number of encoded groups have been decoded, wherein said number is an integer and is determined in response to said resolution mode; rearranging all of the transform coefficients of said decoded groups into a plurality 20 of mxm complete blocks of said transform coefficients, where m is an integer and is dependent on the selected resolution mode; inverse DCT transforming each of said mxm block of transform coefficients, if S: necessary, to derive a nxn block of pixels; and combining said blocks of pixels to reconstitutute said image or a resolution thereof. RA 26. Apparatus for encoding an image, the apparatus comprising: 447045 au amendments.doc -32- means for dividing said image into a plurality of blocks of pixels; means for DCT transforming said blocks of pixels into respective blocks of transform coefficients, wherein each said block of transform coefficients comprises a set of n groups G, of transform coefficients and any one of subsets Gk of said set where k or n comprises those transform coefficients xij where i 2 k'-1 and j and any one of said subsets is capable of being inversed transformed to reproduce a sub-image or a resolution thereof of said image; means for rearranging said transform coefficients of said blocks of transform coefficients into groups S, of transform coefficients, wherein each said group Sk comprises said groups Gk of transform coefficients from respective said blocks of transform coefficients; and means for encoding the groups S, in turn beginning with the first group S, and continuing in sequence through to the last group S,.
27. Apparatus for decoding a coded representation of a digital image, said coded representation comprising a plurality of encoded groups S k of transform coefficients, where k or n, and wherein each said encoded group S k comprises groups Gk of transform coefficients from respective blocks of transform coefficients, and each said 20 block of transform coefficients comprises a set of n said groups G, of transform coefficients and any one of subsets of said set comprises those transform coefficients xij where i and j and any one of said subsets {G ,Gk} is capable of being inversed transformed to reproduce a sub-image or a resolution thereof of said image; and the apparatus comprises: means for selecting a resolution mode; 447045 au_amendments.doc -33- means for decoding the encoded groups in turn beginning with a first encoded group and continuing in sequence until a number of encoded groups have been decoded, wherein said number is an integer and is determined in response to said resolution mode; means for rearranging all of the transform coefficients of said decoded groups into a plurality of mxm complete blocks of said transform coefficients, where m is an integer and is dependent on the selected resolution mode; means for inverse DCT transforming each of said mxm block of transform coefficients, if necessary, to derive a nxn block of pixels; and means for combining said blocks of pixels to reconstitutute said image or a resolution thereof.
28. A computer readable medium comprising a computer program for encoding an image, the computer program comprising: code for dividing said image into a plurality of blocks of pixels; code for DCT transforming said blocks of pixels into respective blocks of transform coefficients, wherein each said block of transform coefficients comprises a set of n groups {G 1 of transform coefficients and any one of subsets of said set where k or n comprises those transform coefficients xij where i 1 and j 0 1 2 and any one of said subsets is capable of 20 being inversed transformed to reproduce a sub-image or a resolution thereof of said image; code for rearranging said transform coefficients of said blocks of transform coefficients into groups of transform coefficients, wherein each said group S, comprises said groups Gk of transform coefficients from respective said blocks of transform coefficients; and 447045_au amendments.doc -34- code for encoding the groups in turn beginning with the first group S, and continuing in sequence through to the last group S,.
29. A computer readable medium comprising a computer program for decoding a coded representation of a digital image, said coded representation comprising a plurality of encoded groups Sk of transform coefficients, where k or n, and wherein each said encoded group Sk comprises groups Gk of transform coefficients from respective blocks of transform coefficients, and each said block of transform coefficients comprises a set of n said groups of transform coefficients and any one of subsets of said set comprises those transform coefficients xij where i 2 k-1 1 and j k-1, and any one of said subsets G k is capable of being inversed transformed to reproduce a sub-image or a resolution thereof of said image; and the computer program comprising: code for selecting a resolution mode; code for decoding the encoded groups in turn beginning with a first encoded group and continuing in sequence until a number of encoded groups have been decoded, wherein said number is an integer and is determined in response to said resolution mode; code for rearranging all of the transform coefficients of said decoded groups into a plurality of mxm complete blocks of said transform coefficients, where m is an integer 20 and is dependent on the selected resolution mode; code for inverse DCT transforming each of said mxm block of transform coefficients, if necessary, to derive a nxn block of pixels; and 9 code for combining said blocks of pixels to reconstitutute said image or a resolution thereof. 447045_au amendments.doc A method of encoding an image, the method substantially as described herein with reference to Figs. 2, 5, 6, 7, 8, 9 and 10 of the accompanying drawings.
31. A method of decoding a coded representation of an image, the method substantially as described herein with reference to Figs. 3, 4, 12, 13, and 14 of the accompanying drawings.
32. Apparatus for encoding an image, the apparatus substantially as described herein with reference to Figs. 1, 2, 5, 6, 7, 8, 9 and 10 of the accompanying drawings.
33. Apparatus for decoding a coded representation of an image, the apparatus substantially as described herein with reference to Figs. 1, 3, 4, 12, 13, and 14 of the accompanying drawings.
34. A computer readable medium comprising a computer program for encoding an mage, the computer program substantially as described herein with reference to Figs. 1, 2, S: 5, 6, 7, 8, 9 and 10 of the accompanying drawings. A computer readable medium comprising a computer program for decoding a coded 20 representation of an image, the computer program substantially as described herein with reference to Figs. 1, 3, 4, 12, 13, and 14 of the accompanying drawings. DATED this second Day January 2001 Canon Kabushiki Kaisha Patent Attorneys for the Applicant SPRUSON FERGUSON 447045_au_amendments.doc
AU21294/99A 1998-03-20 1999-03-19 A method and apparatus for hierarchical encoding and decoding an image Ceased AU731403B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
AU21294/99A AU731403B2 (en) 1998-03-20 1999-03-19 A method and apparatus for hierarchical encoding and decoding an image

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
AUPP2482A AUPP248298A0 (en) 1998-03-20 1998-03-20 A method and apparatus for hierarchical encoding and decoding an image
AUPP2482 1998-03-20
AU21294/99A AU731403B2 (en) 1998-03-20 1999-03-19 A method and apparatus for hierarchical encoding and decoding an image

Publications (2)

Publication Number Publication Date
AU2129499A AU2129499A (en) 1999-10-07
AU731403B2 true AU731403B2 (en) 2001-03-29

Family

ID=25618212

Family Applications (1)

Application Number Title Priority Date Filing Date
AU21294/99A Ceased AU731403B2 (en) 1998-03-20 1999-03-19 A method and apparatus for hierarchical encoding and decoding an image

Country Status (1)

Country Link
AU (1) AU731403B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0565223A2 (en) * 1992-04-09 1993-10-13 Ampex Systems Corporation Method for compressing a digital image signal with ordering and formatting coded data and reconstructing partial images from the data
US5359676A (en) * 1993-07-19 1994-10-25 Xerox Corporation Decompression of standard ADCT-compressed document images
US5621465A (en) * 1995-04-11 1997-04-15 Matsushita Electric Industrial Co., Ltd. Color image encoder

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0565223A2 (en) * 1992-04-09 1993-10-13 Ampex Systems Corporation Method for compressing a digital image signal with ordering and formatting coded data and reconstructing partial images from the data
US5359676A (en) * 1993-07-19 1994-10-25 Xerox Corporation Decompression of standard ADCT-compressed document images
US5621465A (en) * 1995-04-11 1997-04-15 Matsushita Electric Industrial Co., Ltd. Color image encoder

Also Published As

Publication number Publication date
AU2129499A (en) 1999-10-07

Similar Documents

Publication Publication Date Title
US20030063809A1 (en) Method and apparatus for hierarchical encoding and decoding an image
US6259819B1 (en) Efficient method of image compression comprising a low resolution image in the bit stream
US6351568B1 (en) Image transform and significance bit-plane compression and decompression
EP0971544B1 (en) An image coding method and apparatus for localised decoding at multiple resolutions
EP0855838B1 (en) A method for digital image compression using Discrete Wavelet Transform DWT
US5881176A (en) Compression and decompression with wavelet style and binary style including quantization by device-dependent parser
US5966465A (en) Compression/decompression using reversible embedded wavelets
US6389074B1 (en) Method and apparatus for digital data compression
US6263110B1 (en) Method for data compression
KR20080044835A (en) Adaptive coding and decoding of wide-range coefficients
EP0905978A2 (en) An encoding method and apparatus
KR101066051B1 (en) Apparatus and method for multiple description encoding
Rahman et al. A prediction-based lossless image compression procedure using dimension reduction and Huffman coding
US20070065018A1 (en) Compressing image data
AU731403B2 (en) A method and apparatus for hierarchical encoding and decoding an image
US6411736B1 (en) Method and apparatus for decoding
AU727869B2 (en) An efficient method of image compression comprising a low resolution image in the bit stream
AU708489B2 (en) A method and apparatus for digital data compression
AU736469B2 (en) An image coding method and apparatus for localized decoding at multiple resolutions
AU740066B2 (en) Method and apparatus for hierarchical encoding or decoding video images
AU714202B2 (en) A method for digital image compression
Bilgin et al. JPEG2000: Highly scalable image compression
AU749077B2 (en) Digital image coding
AU727434B2 (en) Method and apparatus for decoding
AU5715099A (en) A method and apparatus for decoding a coded representation of a digital image

Legal Events

Date Code Title Description
FGA Letters patent sealed or granted (standard patent)