AU7240200A - Progressive image coding - Google Patents
Progressive image coding Download PDFInfo
- Publication number
- AU7240200A AU7240200A AU72402/00A AU7240200A AU7240200A AU 7240200 A AU7240200 A AU 7240200A AU 72402/00 A AU72402/00 A AU 72402/00A AU 7240200 A AU7240200 A AU 7240200A AU 7240200 A AU7240200 A AU 7240200A
- Authority
- AU
- Australia
- Prior art keywords
- image
- rbc
- regions
- coding
- base functions
- 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.)
- Abandoned
Links
- 230000000750 progressive effect Effects 0.000 title claims description 24
- 230000005540 biological transmission Effects 0.000 claims description 64
- 230000006870 function Effects 0.000 claims description 41
- 238000000034 method Methods 0.000 claims description 34
- 230000011218 segmentation Effects 0.000 claims description 9
- 238000007906 compression Methods 0.000 description 47
- 230000006835 compression Effects 0.000 description 46
- 238000010586 diagram Methods 0.000 description 8
- 230000000007 visual effect Effects 0.000 description 6
- 238000013459 approach Methods 0.000 description 4
- 230000008901 benefit Effects 0.000 description 4
- 230000006837 decompression Effects 0.000 description 4
- 238000013139 quantization Methods 0.000 description 3
- 230000003595 spectral effect Effects 0.000 description 3
- 230000000903 blocking effect Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000005070 sampling Methods 0.000 description 2
- 108091026890 Coding region Proteins 0.000 description 1
- 230000003044 adaptive effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000013144 data compression Methods 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000010187 selection method Methods 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Landscapes
- Compression Or Coding Systems Of Tv Signals (AREA)
- Compression Of Band Width Or Redundancy In Fax (AREA)
Description
P/00/011 28/5/91 Regulation 3.2(2)
AUSTRALIA
Patents Act 1990
ORIGINAL
COMPLETE SPECIFICATION STANDARD PATENT Application Number: Lodged: Invention Title: PROGRESSIVE IMAGE CODING a. a a The following statement is a full description of this invention, including the best method of performing it known to us LI I 1 PROGRESSIVE IMAGE CODING TECHNICAL FIELD The invention relates to a method and a system for image and video coding and also to a method and a system for progressive image transmission.
BACKGROUND AND PRIOR ART Progressive Image Transmission (PIT) is a general term for methods transmitting images1 where the information contained in the image is transmitted in such a manner that the quality of the image is gradually improved at the receiving end of the transmission system as more information is transmitted.
Progressive image transmission has been proposed as a part of image transmission systems using low capacity transmission channels, such as the public switched telephone network. The use of a PIT scheme provides a user with an interpretable image faster. This is for instance of interest when many images have to be seen but only a few are of real interest. Thus, the user can decide to reject an image at any time during the transmission and thereby save time by rejecting the not interesting images at an early stage. Large image databases such as those emerging in the medical environment are amongst those which would benefit from such a transmission scheme.
Hence, a demand for an algorithm having features making it useful in and suitable for progressive image coding has emerged.
A method possible to use for progressive image coding is the Joint :Photographers Expert Group (JPEG) algorithm. The progressive image coding is then achieved using the methods of spectral selection or successive approximation as described in for instance the documents, W.B. Pennebaker, J.L.
Mitchell, "JPEG still image data compression standard", Van Nostrand Reinhold, New York, 1993, or in G.K. Wallace, "The JPEG still picture compression standard", Communication of the ACM, Vol. 34, No. 4, April 1988, pp. 121-132.
However, the use of the JPEG algorithm for PIT is associated with some disadvantages. The major disadvantage is the low visual quality during the first stages of the transmission, which mainly is due to blocking artefacts appearing at S. high compression ratios. Thus, it is common that much information needs to be high compression ratios. Thus, it is common that much information needs to be I 'I 2 transmitted in order for the receiver to be able to decide whether or not he/she is interested in the image transmitted.
Recently, segmented image coding (SIC) or region based coding (RBC) approaches have been used for progressive image transmission. Region based coding is a relatively new image compression technique, in which the image is divided into regions of slowly varying intensity. The contours separating different regions are described by means of chain codes, and the image intensity inside such a region is approximated with use of a linear combination of base functions.
The contours and the region intensities are then transmitted via a channel in order to provide the receiver with an image.
The RBC based algorithms provide a much better visual quality than e.g.
the JPEG algorithm at high compression ratios. The reason for this is the blocking artefacts visible at high compression ratios using the JPEG algorithm. However, at lower compression ratios the visual quality of the RBC based algorithms does not outperform the JPEG algorithm. Moreover, the computational complexity of RBC algorithms is significantly higher than for the JPEG algorithm, which also has the advantage of being commercially available at a comparably low cost.
Most of the present RBC methods, approximate the grey value within a region as a weighted sum of base functions, whereafter the coefficients obtained are quantized and coded. Such techniques are described in: M. Gilge, "Regionorientated transform coding (ROTC) of images", Proc. of ICASSP Albuquerque, New Mexico, April 1990, pp. 2245-2248, and M.Kunt, M.Benard, R.Leonardi, "Recent results in high-compression image coding", IEEE Trans.
circuits and systems, Vol. 34, November 1987, pp. 1306-1336.
In more recent RBC based approaches, the basis functions within a given region are orthonormal. The use of orthonormal functions makes it possible to obtain the coefficients of the linear expression independently, with fewer and numerically stable computations. See for instance W.Philips, C.A.Christopoulos, "Fast segmented image coding using weakly separable bases", Proc. of ICASSP 94, Adelaide, Australia, April 19-22, 1994, Vol. V, pp.345-348. However, RBC algorithms have significant computational and memory requirements. This is due i S"to that the orthonormal bases depend on the shape and size of a region and thus new individual bases functions must be computed for each region.
S'
3 Furthermore, at low compression ratios, RBC does not offer better visual quality than JPEG. Thus, the RBC based algorithms lose their advantage compared to other compression algorithms at lower compression ratios.
It is accordingly an object of the present invention to provide a method and a transmission system for PIT which provides more optimal quality images during all stages of the transmission.
SUMMARY OF THE INVETION The present invention accordingly provides a method of transmission, in particular progressive image transmission (PIT), using a region based coding (RBC) algorithm including segmentation of a digitised image to transmit the image from a transmitter to a receiver characterised in that the segmented image is divided into regions having a predefined shape before it is transmitted and that the regions that are fully contained inside a region of the RBC image are coded by means of predetermined base functions.
According to another aspect the present invention provides a transmitter, in particular a progressive image transmitter, using a region based coding (RBC) algorithm to transmit a digitised image characterised by means for dividing the segmented image into regions having a predetermined shape before it is transmitted and means for coding the regions that are fully contained inside a region of the RBC image by means of predefined base functions.
**According to yet another aspect the present invention provides a transmission system, in particular for progressive image transmission, (PIT), .i using a region based coding (RBC) compressor including means for performing i segmentation of a digitised image to transmit an image from a transmitter to a receiver, characterised by means in the transmitter for dividing the segmented image into regions having a predetermined shape before it is transmitted and by means for coding the regions that are fully contained inside a region of the RBC image using predetermined base functions.
According to yet another aspect the present invention provides a system for coding still images and/or video sequences comprising segmentation means, characterised in that segmented images are divided into regions having a predetermined shape before being coded and stored or transmitted and that the regions that are fully contained inside a region of such a segmented image are coded by means of predefined base functions.
BRIEF DESCRIPTION OF THE DRAWINGS The present invention will now be described in more detail and with reference to the accompanying drawings, in which: Fig. 1 is a general block diagram of a transmission system for still images using an RBC based transmission scheme.
Fig. 2 is a block diagram of a transmitter using a combined RBC-JPEG compression scheme.
Fig. 3 is a flow chart of the logic steps performed in the transmitter of fig.
2.
Fig. 4 is a block diagram illustrating the different steps performed when coding a difference image.
Fig. 5 is a block diagram of the steps involved in an RBC decompressor.
Fig. 6 is a block diagram of the steps performed in a decompressor when decompressing a different image.
Fig 7 is a flow chart illustrating the logic in a transmitter for a colour image.
Fig. 8 is a block diagram of the steps performed in a receiver when receiving colour images.
Fig. 9 is an schematic view of a transmission using a scheme switching between compression by means of an RBC algorithm and by means of a :continuous tone compression algorithm.
DESCRIPTION OF PREFERRED EMBODIMENTS In the following example a grey scale image having 8 bits per pixel is used as an original image, colour images are however not excluded. In fig. 1, a block diagram of a transmission system using a progressive image transmission S. scheme is shown.
The transmission system consists of a transmitting part 101 and a receiving part 103. The transmitting part comprises an input block 105 and a PIT type compression block 107. The PIT compressed image is transmitted on a Stransmission channel or to a memory 109 and received by the receiving part 103 comprising a PIT decompressor 111 and an output for the reconstructed image 113.
In fig. 2, the processing blocks of the PIT block 107 are shown.
Thus, first the image is compressed using an RBC scheme in a block 201 comprising an RBC compressor. The image coded according to the RBC algorithm in block 201 is then transmitted.
The RBC algorithm used can be any algorithm suitable to the type of image transmitted, such as the methods described in: M. Gilge, "Regionorientated transform coding (ROTC) of images", Proc. of ICASSP Albuquerque, New Mexico, April 1990, pp. 2245-2248 and W.Philips, C.A.Christopoulos, "Fast segmented image coding using weakly separable bases", Proc. of ICASSP 94, Adelaide, Australia, April 19-22, 1994, Vol. V, pp.345-348.
Also, the transmission scheme of the first stages of the transmission can be implemented in a manner similar to the method described in Sikora and Makai "Shape-adaptive DCT for generic coding of video", IEEE Trans. on Circuits and Systems for Video Technology, Vol. 5, No. 1, Feb. 1995, pp 5962.
The PIT is continued with the RBC compression technique until either the receiver (user) decides that he/she does not want an image having a better visual quality or to the point where, at the same compression ratio, other, simpler compression techniques, using a continuous tone compressor, such as in this case JPEG, can provide the user with an image having better or equally good quality. The decision can also be made on a Signal to Noise Ratio (SNR), Mean Square Error (MSE) or another criterion and can be decided at the transmitter.
As an alternative, the switching from RBC based compression to continuous tone compression can be chosen to not be performed, if the receiver or the transmitter does not want so.
For example, the receiver might be interested in details in a particular region or regions of the segmented image. In that case, complete RBC or the hybrid RBC-DCT scheme can be used for that/those regions.
Other coding methods for coding the difference image than JPEG can S"hence also be applied, such as a Block Transform Coding (BTC) method, vector quantization method, wavelet methods, the shape adaptive DCT referred above, etc., which then could use DCT applied to 8 x 8, or 16 x 16 pixels blocks or blocks of bigger sizes.
If the latter of the cases above is at hand, i.e. a JPEG compressed image (if JPEG is the continuous tone compressor used) is not inferior to an RBC compressed image at the compression ratio at a certain stage of the transmission, the transmitter switches to perform the further PIT with use of JPEG. In order not to lose the information contained in the image already transmitted using the RBC, the RBC compressed image at that stage is decompressed by a decompressor in a block 203.
It is also possible to code certain regions with different methods using a different coding scheme than an RBC scheme, i.e. different coding method can be used for different regions. For example, some regions can be coded lossless while others lossy.
This can be decided either at the transmitter or at the receiver. For example, while an image is received in a progressive mode, it is possible to point at a region for which a perfect reconstruction is desired. Such an operation will then signal information to the transmitter, instructing the transmitter to perfectly reconstruct that particular region.
Therefore, at the final stage of the transmission, a lossless technique can be used for that region. Or alternatively, some regions are transmitted/stored in a progressive, or non progressive mode, so that the final reconstruction to be lossless. This is useful in many medical applications.
The image obtained from the decompression is subtracted from the original image in a block 205. The image obtained is then compressed by a continuous 25 tone compressor, such as in this case a JPEG compressor. This is performed in ••el block 207, the further details of which are described with reference to fig. 4 below.
Furthermore, progressive transmission can also be achieved by increased pixel accuracy. For example, when one has the RBC coefficients, for each coefficients the 4 most significant bits are transmitted at the beginning. Then the least significant bits are transmitted in following stages. Thereupon additional coefficients are calculated if required. Switching to the continuous tone processor is also performed if required.
is also performed if required.
Infig. 3, a flow chart of the steps performed in a transmitter using the combined RBC JPEG scheme is shown. Thus, an image that is to be transmitted can be compressed as follows. First the image is accessed at a block 301. Then the image is segmented in a block 303. The contours of the regions of the segmented image are then coded in a contour coding block 305 and the contours are transmitted. The algorithm used can be any suitable segmentation algorithm.
Also, the contour coding technique used can be lossless as well as lossy.
Notice that both the transmitter and receiver have to use the same contour information. The segmented image is also supplied to the block 307, via a block 306 which provides a label and binary image. In block 307 the inner parts of the regions are approximated with polynomials, or a suitable set of basis functions or even simple quantization of the values of the pixels.
In the block 306 a binary contour image is produced and also the label image. The label image is an image providing the pixels of the image with an identification, so that all pixels within the same region of the segmented image have the same identification reference, e.g. all pixels of one region have the identification 1, all pixels of a second region have an identification 2, etc.
The base functions used for generating the polynomials can be any set of base functions. In the description below the weakly separable (WS) base functions described in W.Philips and C.A.Christopoulos, "Fast segmented image coding using weakly separable bases", Proc. of ICASSP 94, Adelaide, Australia, April 19-22, 1994, Vol. V, pp. 345-348, are used.
The RBC coding part preferably comprises the following steps: 25 segmentation of the image in a number of regions; coding and *ooo transmission of the contour image, and possibly the mean value of the pixels in each region; calculation of a few (more) basis functions; calculation of the corresponding texture coefficients; quantization, coding and transmission of the coefficients; if extra information is required by the decoder, then go to stage else stop transmission. stop transmission.
8 Thereupon, the coefficients of the polynomials are transmitted. The transmitter is then provided with feedback information from the receiver in the block 309. Based upon the feedback information, a decision is made in the block 311 whether the transmission is to be continued or not. If a decision is made to stop the transmission, the transmitter proceeds to a block 313 in which the transmission is terminated.
If, on the other hand, the transmission is decided to be continued, the scheme proceeds to a block 315. In the block 315 it is decided whether it is advantageous to continue with the RBC scheme or if the further transmission shall be performed with a JPEG compression algorithm or some other continuous tone compression algorithm.
The decision is based upon the performance of the two different schemes with the compression ratio at the stage of the transmission when the scheme reaches the block 315, i.e. if an image compressed with RBC outperforms a JPEG image at that compression ratio the decision is yes, and otherwise the decision is no.
The decision in the block 315 is based on a predefined criterion, e.g. a subjective criterion or a criterion such as SNR or MSE, and the criterion is evaluated every time the scheme reaches the block 315. If the decision in block 315 is yes, i.e. the RBC will provide better quality at a lower compression ratio, 0 o and the scheme proceeds to block 317, where it is decided that higher order polynomials shall be used.
o As an alternative, if the criterion used can not be evaluated each time, a threshold value can be put to a quantative criterion, which can determine when 25 during the transmission the switch between the RBC and the continuous tone 0000 compression, like JPEG in this case, is to be performed. Also, the point at which the switch between the two different compression methods is to be performed can be based on experience obtained in the transmitter, i.e. the transmitter is provided with information that at a certain compression ratio it is advantageous to switch 30 between the different schemes.
eooo.
One way to detect whether JPEG or RBC scheme perform better at a S"certain stage of the transmission, is by running JPEG and RBC in parallel. This however would be inefficient from a computational point of view, but it can be efficient when compressing images for storage and compression efficiency is the most important aspect.
Therefore, the following more practical but suboptimal technique can be used: JPEG is switched to after computing a fixed number of RBC coefficients.
For example, the maximum number of coefficients to be calculated in a region may be 20% of the number of points in that particular region. Experiments show that this suboptimal approach is a reasonable compromise.
Thereafter, the scheme returns to the block 307 in which the regions of the image are approximated with polynomials, which this time have a higher order than the last time. The higher order coefficients are then transmitted and the scheme proceeds to the block 309 as before. However, if in block 315 the decision is no, i.e. it is decided that an RBC image will not provide a better image at a lower compression ratio, the scheme proceeds to a block 319.
In the block 319 a difference image is obtained by means of subtraction of the pixel values of the reconstructed, decompressed RBC image from the corresponding pixel values of the original image. Then the difference image is coded in a block 321. The coding scheme of block 321 is described in more detail below with reference to fig. 4.
In fig. 4, a coding scheme for the difference image is illustrated. The difference image, i.e. the reconstructed RBC image subtracted from the original image, enters the scheme at a block 401. The difference image is then supplied to an addition block 403. In the addition block the value 128 is added to each pixel value of the difference image.
Then in a block 405 the pixel values of the image obtained by block 403 are put into the range of the original image, i.e. in this case in the range 255].
This is obtained by letting all pixel values less than zero adopt the value zero and by letting all pixel values more than 255 adopt the value 255. Thus an image having pixel values within the range 255] is obtained.
The image is then compressed with an 8 bit continuous tone compressor at a suitable compression ratio in the block 407. The compression can also be done in a progressive mode and can also be a lossless compression algorithm. In the S"latter case, lossless progressive image transmission can be achieved, which can be useful in applications like telemedicine.
t Figs. 5 and 6 illustrate the different steps performed at the receiving end of a transmission system when receiving and decompressing an RBC image and a difference image compressed according to the scheme described with reference to fig. 4, respectively. Thus, in fig. 5 the received image is decoded according to a suitable RBC algorithm, i.e. an algorithm corresponding to the compression algorithm used. The compressed image is received in block 501 and is reconstructed in a normal, state of the art manner in the block 503.
If, on the other hand, the received compressed image is a JPEG compressed difference image as described with reference to fig. 4, the image is decompressed according to the scheme illustrated in fig. 6. First the JPEG compressed difference image is received in a block 601. Then the difference image is decompressed using a conventional JPEG decompression algorithm in a block 603.
From each pixel value of the decompressed image, the value 128 is then subtracted. This is performed in the block 605. Thereafter, in the block 607, the image obtained in block 605 is added to the already received RBC reconstructed image, which has been decompressed according to the scheme described in association with fig. Thus, a grey scale image having 8 bits per pixel has been transmitted in a S 20 PIT manner involving at least two steps and using approximately the same number of bits as if the image had been transmitted in one step only using the JPEG algorithm. The final reconstructed image of the transmission then provides an image at the receiver having a quality similar to the case where the image had been transmitted using only JPEG or progressive JPEG algorithm.
If an image having a number of bits per pixel different from 8 is to be transmitted using the scheme described above some modifications must be made.
The method is applied in the same manner as stated above. However, if the JPEG compression algorithm is to be used in the latter stages, it must first be made sure that the JPEG will handle such a type of image, e.g. an image having 12 or 16 bits per pixel. Then the compression and decompression algorithms must be adjusted so that the added and subtracted value respectively, is not 128 but 2m-1, where m is the number of pixels used for the grey scale image.
Also, if the number of bits per pixel in the original image is different from 8, the range into which the difference image is put or clipped, must be modified, so that the difference image is within the range of the original image, i.e. the pixel values are put into the range 2m Above an example of a scheme used for grey images has been described.
However, the scheme works for colour images as well, as will be described below.
A colour image is defined as having N bits per colour band, where N is a positive integer. A typical colour image is represented by 3 colour bands each having 8 bits, i.e. a total of 24 bits per pixel.
When the compression scheme described above is applied to colour images, the same scheme as described above could be employed for each colour band separately. However, if the 3 colour bands representing a colour image are others than the YW colour space, e.g. the RGB (Red Green Blue) colour space, it can be advantageous to perform a transformation to the YUv colour space, where Y is the luminance component and U and V are the chrominance components, since most of the energy of a YW colour image is concentrated to the Y component, or another suitable colour space. As an alternative, the compression scheme as an alternative can be performed as described below with reference to 20 Figs. 7 and 8.
.o In Figs. 7 and 8 a transmitting part for a transmission system for compressed images and a receiving part for such a system are shown respectively. Thus, in Fig. 7 block 701 represents the input of a colour image represented by the RGB colour components. The RGB colour image is then transformed into a YUV colour image in a block 703.
In block 705 the U and V components of the image are undersampled (after appropriate low-pass filtering), i.e. the size of the image is reduced, for example a 512 x 512 pixel image is reduced to a 256 x 256 pixel image by an under sampling by two in each dimension, so that only the Y component is transmitted during the initial stages of the transmission. The above described RBC-JPEG algorithm is then performed for the Y component in block 707.
b OThe undersampling of the U and V colour components performed in the block 705 is optional. Also the segmentation performed on colour images can be performed only on the y component image or on the entire colour image involving all the three components, by using appropriate techniques.
If the receiver during any age of the transmission decides that he/she wants the other colour components transmitted, such a request is transmitted to the transmitter, which in a block 709 continuously checks whether such a request has arrived. If the decision in block 709 is no the PIT is continued for the Y component only, block 711. If the decision is yes the scheme switches to transmit the U and V components using the JPEG algorithm, or any continuous tone compressor, block 713. An alternative scheme would be to transmit information for all components at each stage, without expecting the receiver to ask for it, so that the receiver at each stage reconstructs a colour image as well.
An alternative scheme is to use RBC for the U and V components too.
Thus, if the decision in block 709 is yes the scheme continues to block 715 in which a segmented image for the U and V components is obtained by under sampling the label image of the Y component image. Then in block 717 the PIT scheme is applied to the U and V components.
Also, the first stage of the transmission of the three components of the colour image can consist of transmission of such a segmented image, in which the pixel values of each region are replaced by the mean, or median colour of the 20 pixels in each region of the colour image.
In Fig. 8 the receiving part of a colour image transmission system is illustrated. The compressed YUV colour image is received in a block 801. The components of the image are then decompressed by means of an algorithm corresponding to the compression algorithm used, i.e. the RBC algorithm or the 25 JPEG algorithm, in the block 803. Thereafter, the YUV colour image is 0*@S .transformed into an RGB colour image in a block 805, and the reconstructed colour image is then available in the block 807.
Finally, Fig. 9 is a schematic diagram illustrating the basic concept of the a above described transmission schemes. Hence in block 901, an original image is 30 fed to the transmission system.
055.
The image is then transmitted to a block 903, in which a switching means decides which algorithm shall be used at that stage of the PIT. Based upon the decision taken in the block 903, the image is compressed either by an RBC 13 compressor in block 905 or a continuous tone compressor in the block 907. The compressed image is then transmitted according to a PIT scheme on the channel 909 to a receiver comprising a block 911 which identifies which compression algorithm has been used and directs the received image to the appropriate decompressor.
In the schemes described above the transmitter always starts with compression according to an RBC algorithm and then, in some cases, switches to a continuous tone compression. In such a case the switching in the receiver can be implemented by means of transmitting a code word from the transmitter to the receiver when the compression algorithm is switched, and that the receiver then has a means in the block 911 for detecting such a code word and performs a switch at the reception thereof.
The decompression is then performed by an appropriate decompressor, either an RBC decompressor in block 913 or a continuous tone decompressor in a block 915. The image is then reconstructed and presented to a user in a block 919, which can be equipped with a feedback line 917 to the switching means 903 in the transmitter in order to be able to command the transmitter to switch compression algorithm or to terminate the transmission of the image or even to point at certain regions of the image which should be reconstructed better.
One disadvantage of using polynomials for the reconstruction of the texture in a region is that polynomials reconstruct the image very slowly, i.e. a significant number of base functions is needed to get a clear improvement in image quality.
This is due to the fact that large regions are preferred in RBC (in order to limit the number of bits which are assigned to contour coding) and due to the fact that an accurate reconstruction of the texture in a large region requires, relatively, many base functions. In order to eliminate this disadvantage, a second scheme which employs a hybrid RBC-DCT scheme instead of RBC in the first stages of transmission is applied.
"0 ~In the above described compression schemes, the RBC algorithm used is S 30 modified into a hybrid RBC-DCT (Discrete Cosine Transform) algorithm, in order to obtain a better visual quality in the first stages of the transmission. This hybrid RBC-DCT algorithm is performed by dividing the segmented image into rectangular blocks. The size of such a block is in this example for a 256 x 256
QJ
14 pixels image preferred to be 16 x 16 pixels. However, larger or smaller blocks can be used.
The blocks, which are fully contained within a region of the segmented image are then coded using DCT base functions or other predefined base functions, such as DFT base functions, which will provide a hybrid RBC-DFT scheme, whereas the remaining part of the regions and the other regions in which rectangulars were not fitted are coded using weakly separable (WS) base functions, such as the one cited above in association with the description of Fig. 3 (block 307) or other ways suitable for coding arbitrary shaped regions.
The contours of these rectangular blocks do not need to be transmitted, since the division into blocks can be performed by the receiver without any information from the transmitter. It should be noted that the remaining part of the regions in which rectangulars were not fitted, can be checked to see if it can be considered as part of one region or if it has to be divided into separate subregions. Then each of the sub-regions is coded by the methods referred above.
The set of base functions can be adapted (although not necessary) to the properties of the sub-region. For example, in smooth sub-regions the polynomials can be used. In textured sub regions, the cosine base functions can be used.
*Notice that in the case where the region is relatively big, for example a human body. The remaining part of the object, i.e. the human body in this case, where it :is not possible to fit rectangulars, will consist of different parts (sub-regions), i.e.
parts of the head, parts of the hands, parts of the legs, etc. In such a case these sub-regions can be identified.
A simple way to perform such an identification is to check the change in S 25 grey value or colour. Then, the RBC coding, for example the polynomial representation, is applied in these subregions. It should be noted that the division into sub-regions has to be transmitted to the receiver, if the receiver is not able to identify this division.
With this division into blocks, there is no need for calculating base 30 functions for these blocks. Instead precalculated DCT base functions can be used for such a rectangular region or DFT or other transforms are used. This significantly reduces the computational complexity of the RBC algorithm used.
A 1 Also the memory requirements are reduced with the hybrid RBC-DCT algorithm compared to an algorithm only using RBC.
Yet another way of dividing the segmented image into rectangular blocks is to start by dividing the image into rectangular blocks having a relatively large size, e.g. 64 x 64 pixels, and keep only those that are fully contained inside regions.
Then the scheme is continued by dividing the segmented image into rectangular blocks having a smaller size, e.g. 32 x 32 pixels and keeping only those fully contained in regions and which are outside the larger rectangular blocks that were fitted during the first step of the division in rectangulars, i.e. outside the 64x64 blocks in this case.
This procedure is repeated until no more rectangular blocks can be added or to the stage when the predefined small size rectangular, e.g. 4x4 or 8 x 8, is reached. Other ways for dividing the segmented image into rectangular parts can also be used, for example a quadtree based division or variable block size division. For example, in the case where the quadtree division is used, the blocks produced from the quadtree division that are fully contained in a region, are coded with DCT. It should be noted that although the division is done into squares, it is possible to use other sizes such as 16 x 8, 32 x 8, etc. or even triangular shapes.
For example, if a region consists of 40 rows and 30 columns, a rectangular regions having the size 32 x 16 can be fitted inside such a region. At the end, the regions or the remaining part of the region in which blocks of the various sizes i' where not fitted, will be coded by a set of base functions, for example orthogonal base functions. It should also be noted that a check whether the remaining part of the region consists of different sub-regions can be carried out, and a coding thereof, separately. Notice also that if the part of the region (or the sub-region) in which rectangulars were not fitted is small, it can be represented by a small number of base functions, or even by the mean value.
Other division of the segmented image into regions having predetermined shapes can also be applied, like the one proposed by Sikora T. and Makai B., S 30 "shape-adaptive DCT for generic coding of video", IEEE Trans. on Circuits and Systems for Video 8,
II
16 Technology, Vol. 5, No. 1, Feb. 1995, pp. 59-62. The mean value of the region can be subtracted from each added region (rectangular or not) in the segmented image, before it is coded by DCT, in order to reduce the information to be coded.
Thus, in the blocks in which DCT is used, the JPEG algorithm for PIT can be used, i.e. successive approximation or spectral selection. When the scheme then switches to use JPEG, the scheme can continue using the successive approximation or spectral selection methods for the blocks fully contained inside such a block, without using a difference image for such blocks, whereas JPEG approach, i.e. DCT based coding, is applied to the rest of the blocks of the image (in the difference image).
It should be noted that it can be avoided to code the whole difference image with JPEG. This can be performed as follows: If a block has been reconstructed well before the switch to JPEG is executed, i.e. the quality of such a block is satisfying, then there is no need to apply JPEG to that particular block.
Therefore, a quantative measure, such as SNR, MSE, etc. can be used for check the result of each reconstructed block (at the encoder). In such a case coding of difference blocks can be avoided saving bits which then can be allocated for coding blocks which were not reconstructed well, or coding regions or parts of the regions in which rectangulars were not fitted.
It has also to be noted that the RBC and the hybrid RBC-DCT scheme can 0. be combined. For example, in the first stages of the transmission the RBC can be used. Then, the combined RBC-DCT scheme can be used by adding rectangular blocks and coding the difference between the original block and the reconstructed block (part of the region) with a DCT scheme. Then the scheme can continue using RBC-DCT or switch to a continuous tone compressor like JPEG. Many different combinations of the schemes can be used.
'"Thus, a PIT scheme which combines the advantages of RBC and JPEG has been described. The proposed scheme can use approximately the same number of bits as if JPEG solely had been used from the beginning (in order to S 30 achieve similar quality at the final stage of the transmission and better quality during the first stages of the transmission) and at the same time provides the receiver with a quickly interpretable image giving him/her the possibility to abort further transmission of an unwanted image at an early stage of the transmission, 17 whereby the transmission channel used is freed and possible to use for other purposes.
The scheme as described herein can also be applied for the coding of still and moving images. In still image coding the hybrid RBC-DCT scheme can be used instead of a JPEG or a fully RBC scheme. In moving image compression, the hybrid RBC-DCT scheme can be used for coding I-frames and P- and Bframes. In moving image coding application, the RBC-DCT scheme as described herein can be applied for coding difference frames, i.e. those produced by subtracting the predicted frame from the original one.
e* *o
Claims (14)
1. A method of transmission, in particular progressive image transmission (PIT), using a region based coding (RBC) algorithm including segmentation of a digitised image to transmit the image from a transmitter to a receiver, the characterised in that the segmented image is divided into regions having a predefined shape before it is transmitted and that he regions that are fully contained inside a region of the RBC image are coded by means of predefined base functions.
2. A method according to claim 1, characterised in that the base functions used are DFT (Discrete Cosine Transform) base functions.
3. A method according to claim 1, characterised in that the base functions used are DFT (Discrete Fourier Transform) base functions.
4. A progressive image transmitter, using a region based coding (RBC) to transmit a digitised image characterised by means for dividing the segmented image into regions having a predetermined shape before it is transmitted and means for coding the regions that are fully contained inside a region of the RBC image by means of predefined base functions. i A transmitter according to claim 4, characterised in that the base functions used are DCT (Discrete Cosine Transform) base functions.
6. A method according to claim 4, characterised in that the base functions used are DFT (Discrete Fourier Transform) base functions. *l
7. A progressive image transmission (PIT) system, using a region based coding (RBC) compressor including means for performing segmentation of a S"digitised image to transmit an image from a transmitter to a receiver, characterised by means in the transmitter for dividing the segmented image into regions having a predetermined shape before it is transmitted and by means for 9 1 19 coding the regions that are fully contained inside a region of the RBC image using predefined base functions.
8. A system according to claim 7, characterised in that the means for coding the regions that are fully contained inside a region of the RBC image are designed to use DCT (Discrete Cosine Transform) or DFT (Discrete Fourier Transform) base functions.
9. A system according to claim 7, characterised in that the means for coding the regions that are fully contained inside a region of the RBC image are designed to use DFT (Discrete Fourier Transform) base functions. A system for coding images comprising segmentation means, characterised in that segmented images are divided into regions having a predetermined shape before being coded and stored or transmitted and that the regions that are fully contained inside a region of such a segmented image are coded by means of predefined base functions.
11. A system according to claim 10, characterised in that the images are still images.
12. A system according to claim 10, characterised in that the images are video sequences.
13. A system according to claim 10, characterised in that the images include still images and video sequences. ll.
14. A method of transmission according to any of claims 1 3, substantially as described with reference to the drawings. A transmitter according to any of claims 4 6, substantially as described with reference to the drawings.
16. A transmission system according to any of claims 7 9, substantially as described with reference to the drawings.
17. A system for coding images according to any of claims 10 13, substantially as described with reference to the drawings. DATED this 6th day of December 2000 TELEFONAKTIEBOLAGET LM ERICSSON OS, 0* Sc S. C. 0
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
AU72402/00A AU7240200A (en) | 1996-03-05 | 2000-12-20 | Progressive image coding |
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SE9600853 | 1996-03-05 | ||
SE9603979 | 1996-10-31 | ||
AU72402/00A AU7240200A (en) | 1996-03-05 | 2000-12-20 | Progressive image coding |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
AU19500/97A Division AU733569B2 (en) | 1996-03-05 | 1997-03-05 | Progressive image coding |
Publications (1)
Publication Number | Publication Date |
---|---|
AU7240200A true AU7240200A (en) | 2001-03-08 |
Family
ID=3755093
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
AU72402/00A Abandoned AU7240200A (en) | 1996-03-05 | 2000-12-20 | Progressive image coding |
Country Status (1)
Country | Link |
---|---|
AU (1) | AU7240200A (en) |
-
2000
- 2000-12-20 AU AU72402/00A patent/AU7240200A/en not_active Abandoned
Similar Documents
Publication | Publication Date | Title |
---|---|---|
AU733569B2 (en) | Progressive image coding | |
CA2452550C (en) | An apparatus and method for encoding digital image data in a lossless manner | |
Tzou | Progressive image transmission: a review and comparison of techniques | |
US7630563B2 (en) | System and method for decoding digital image and audio data in a lossless manner | |
JP2004533181A (en) | Selective chrominance decimation for digital images | |
US20030012431A1 (en) | Hybrid lossy and lossless compression method and apparatus | |
ZA200400075B (en) | Interframe encoding method and apparatus. | |
Jones et al. | Digital image compression | |
Pirsch | VLSI implementations for image communications | |
KR100248190B1 (en) | Apparatus and method for image compression | |
AU7240200A (en) | Progressive image coding | |
Golchin et al. | Minimum-entropy clustering and its application to lossless image coding | |
Joshi et al. | Performance Analysis of 2D-DCT based JPEG Compression Algorithm | |
Nadu | Removing coding and inter pixel redundancy in high intensity part of image | |
KR100189523B1 (en) | Image compression apparatus and method and decoding method by using image separation and arithmatic coding | |
Rodriguez et al. | Video compression for multimedia applications | |
Hemami | Image Compression—A Review | |
Pratt | Survey and Analysis of Image Coding Techniques | |
Yovanof | An Overview of Video Coding Techniques | |
Christopoulos et al. | New schemes for progressive transmission of digital images | |
SE508927C2 (en) | Progressive image transmission system e.g. for medical records database | |
AU2002310355A1 (en) | Interframe encoding method and apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
MK4 | Application lapsed section 142(2)(d) - no continuation fee paid for the application |