CA2062155C - Adaptive quantization within the jpeg sequential mode - Google Patents

Adaptive quantization within the jpeg sequential mode

Info

Publication number
CA2062155C
CA2062155C CA002062155A CA2062155A CA2062155C CA 2062155 C CA2062155 C CA 2062155C CA 002062155 A CA002062155 A CA 002062155A CA 2062155 A CA2062155 A CA 2062155A CA 2062155 C CA2062155 C CA 2062155C
Authority
CA
Canada
Prior art keywords
quantization
image
scaling factor
components
defining
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.)
Expired - Lifetime
Application number
CA002062155A
Other languages
French (fr)
Other versions
CA2062155A1 (en
Inventor
William B. Pennebaker
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.)
International Business Machines Corp
Original Assignee
International Business Machines Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by International Business Machines Corp filed Critical International Business Machines Corp
Publication of CA2062155A1 publication Critical patent/CA2062155A1/en
Application granted granted Critical
Publication of CA2062155C publication Critical patent/CA2062155C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/124Quantisation
    • H04N19/126Details of normalisation or weighting functions, e.g. normalisation matrices or variable uniform quantisers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/593Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving spatial prediction techniques
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/124Quantisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/30Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using hierarchical techniques, e.g. scalability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding

Abstract

A system and method for masking adaptive quantization during compressed image data transmission by defining a scaling factor for the quantization tables of the multiple image components, wherein the scaling factor signals changes in quantization for successive blocks of the image data. The scaling factor is transmitted as a further component together with the image components to thereby signal adaptive quantization of the image data.

Description

YO9-91-035 2 ~ ~ 9. ~

ADAPTIVE QUANTIZATION WITHIN T~
JPEG SEQUENTIAL MODE

DESCRIPTION

Technical Field The present invention is directed to adaptive quantization which allows better tailoring of the quantization used in image compression schemes to the visual properties of the human eye. More specifically, the present invention is directed to a method for masking adaptive quantization as a separate component for transmission together with the image components in a system for transmitting multiple components of an image.

Background Art The current definition of the JPEG (Joint Photographic Experts Group) standard does not allow for any form of adaptive quantization. Adaptive quantization can significantly improve the image quality achieved at a given bit rate.

Adaptive quantization is not new. For example, one scheme for adaptive quantization is disclosed in U.S.
Patent No. 4,922,273 to Yonekawa. Yonekawa teaches a technique for automatically adjusting quantization based on activity measures derived from the Discrete Cosine Transform (DCT) coefficients. In addition, in an MPEG
scheme (Moving Picture Experts Group, ISO-IEC/JTC1/SC2/WGll), the DC coefficient is fixed while a single scaling factor is used to adjust the quantization levels for all 64 coefficients produced by the 8x8 DCT. Another possible method for adapting the quantization is to individually change the value of each of the 64 quantization values.

There exist alternative methods to achieve adapting of the quantization within the JPEG standard. However, none Y09-91-035 20~2~ 5~

of these alternatives can be used in a simple sequential mode, as all require full DCT or image buffering in some form. One possible alternative for transmitting adaptive quantization information is the use of one of the JPEG
Application Marker Segments. The disadvantages of this alternative are that these Marker Segments are currently undefined and individual implementers are not permitted to define them. The adaptive quantization always has to be transmitted separately from the actual coded image data, which would not be appropriate when using Marker Segments. Finally, Marker Segment require a non-standard algorithm for the coding of the quantization values.

A simple form of adaptive quantization can be achieved with the JPEG successive approximation progressive mode.
Basically, at some point in the encoding process, the coefficients in regions which need only coarse quantization are not improved as further successive approximation scans are coded. Effectively, the quantization is coarser by a power of 2 in those regions if a successive approximation progressive mode technique is used. The disadvantages of this approach are the need for a full progressive implementation, the relatively coarse scaling of quantization values, the development of a "fat zero" for very coarse quantization.

A similar form of adaptive quantization can be realized within the JPEG sequential mode. In the encoder, low magnitude bits are cleared in regions where coarser quantization is desired. This has the same effect as not updating some regions in the progressive mode, therefore, except for operating sequentially, suffers from the same objections detailed above.

Still another alternative form for adaptive quantization could use the JP~G hierarchical mode. In this case, refinement of the quantization would require a second frame in which selective parts of the image are improved.

Y09-91-035 3 2~2~ ~

Disclosure of Invention The system and method of the present invention (the present invention) allow adaptation of the quantization used in the JPEG image compression system in a manner which is consistent with the standard sequential mode JPEG compressed data syntax. The present invention has utility to anyone interested in implementing JPEG, because adaptive quantization usually produces significant improvement in image compression. The present invention involves a method for masking adaptive quantization as a separate component for transmission together with the image components in a system for transmitting multiple components of an image. The system thereby permits signaling of changes in quantization values from one block of data to the next during compressed image data transmission. Using scaled DCT calculations, the quantization table can be fed into a separate component of image data. In the JPEG
standard, for instance, the fourth unspecified component of the interleave can be used to signal adaptive quantization for enhanced data compression.

The foregoing and other objects, features and advantages of the invention will be apparent from the following more particular description of preferred embodiments of the invention, as illustrated in the accompanying drawings.

Brief Description of Drawings The invention will be better understood if reference is made to the accompanying drawings in which:

FIGs. lA-lC show the structure of the non-hierarchical JPE;G l'oo 1 Ki t;

FIG 2 shows an example of segmentation of the DCT for progressive coding; and FIG. 3 shows an example of a hierarchical progression.

Best Mode for Carrying Out the Invention The following is an overview of the "Joint Photographic Experts Group" (JPEG) standard. JPEG is a joint committee under the auspices of both IS0 IEC
JTC1/SC2/WG10 (Coded Representation of Picture and Audio Information) and CCITT/SGVII/CCIC (Common Components for Image Communication) for the purpose of standardizing color image compression techniques.

The JPEG "Tool kit" The JPEG architecture can be viewed as a "tool kit" of compression capabilities from which various applications can define a compression system which is suitable for their particular needs. The JPEG
tool kit includes both lossy and lossless coding techniques, as well as several modes of sequential and progressive coding of the image data. The structure of the JPEG tool kit will be explained and related to an underlying set of coding schemes which have been used to construct the JPEG tool kit.

The JPEG architecture can be split into two basic categories, hierarchical and non-hierarchical. The non-hierarchical modes will be described first, as the hierarchical mode can be defined in terms of extensions of the non-hierarchical modes.

Non-hierarchical Modes for Lossy Coding Referring to FIGs. lA-lC, the non-hierarchical modes for lossy coding are based on a family of techniques which use a quantized 8x8 Discrete Cosine Transform (DCT). This family of lossy DCT coding techniques can be divided into two basic coding modalities, namely sequential coding and progressive c~ding.

Sequential Coding of the DCT In sequential coding an image component is coded completely in one scan through the data, as shown in FIG. lA. In this sequential coder 2062 1 ~5 ~.
~09-9 1 -03 5 (and in all other non-hierarchical DCT coding modes) the loss (i.e., the distortion introduced by the coding process), is determined almost entirely by the qu~nti7~tion values used to quantize the 8x8 DCT. A separate scalar qu~nti7er is specified for each of the 64 DCT coefficients, thereby allowing the qll~nti7~tiQn to be closely matched to the properties of the human visual system. The coding of the qu~nti7ed DCT coefficient values is lossless.

The lowest level of capability for the sequential DCT is the "baseline system". This system is intended to allow a very simple implementation in hardware. It is therefore restricted to sequential mode, Huffman coding, only two Huffinan code tables, and a precision of 8 bits for each sample. The JPEG
Technical Specification (JPEG8-R8) contains the m~ntl~te that all DCT coding implementations must provide this baseline capability in addition to any "extended" capabilities which might be needed to meet the specific requirements of the application.

The JPEG Drafc Technical Specification is publicly available. In the United States copies of the JPEG
draft techlfi.,al specification are available to persons having an interest in participating in this review from Accredited Standards Committee X3 (Information Systems). Requests for copies of the document should be submitted in writing to: X3 Secretariat, Computer and Business Equipment Manufacturers Association, 311 First Street, NW, Suite 500, Washington, DC 20001-2178 (Attention: JPEG DRAFT SPECIFICATION). (See, "Revision 8 of the JPEG Technical Specification", August 14, 1990, for background on the current JPEG standard.) A number of extensions can be added to the baseline sequential DCT capability. These include two c'~

yog-91-035 6 ~Q 2 1 ~ ~

Huffman tables, an alternative one-pass entropy coding technique known as arithmetic coding, and input precisions of either 8 or 12 bits per sample.

The coding model for the DCT is as follows. The 8x8 array of DCT coefficients are ordered into a one-dimensional vector using the well known zigzag scan sequence shown in Table 1. The coefficient labelled zero is the "DC" coefficient, increasing horizontal "AC
frequencies" are from left to right and increasing vertical "AC frequencies" are from top to bottom.
Table 1 Zigzag scan index sequence for DCT coefficients The coding of the DC coefficients is done with a one-dimensional DPCM (Differential Pulse Code Modulation) technique which uses the DC coefficient of the previous DCT block coded for the component as the prediction for the DC coefficient in the current block. Both Huffman and arithmetic coding code the difference value by classifying it according to a quasi-logarithmic scale (base 2), and then coding additional bits to exactly identify the difference value.

When Huffman coding is used, the AC coefficients in the zigzag scan are segmented into runs of zero coefficients terminated by nonzero coefficients. The nonzero coefficients which terminate each run are in turn separated into logarithmically increasing magnitude categories. Huffman codes are then assigned to each possible combination of zero run lengths and amplitude Y09-91-035 7 2Q~2~5 categories for the next nonzero coefficient. A separate code word is assigned to an "end-of-block" condition;
this code word is sent after the last nonzero coefficient in the block (unless that coefficient is at position 63).
Whenever a nonzero JPEG is coded, additional bits are appended to the code word to identify the precise magnitude. To limit the size of the Huffman table, a special code is assigned to runs of 16 zeros. Runs of zero coefficients longer than 15 must use this special code. The remainder is then coded with the appropriate run-length/amplitude category code. Binary arithmetic coding may be used in place of Huffman coding. In that case the coding of the AC coefficients in the zigzag scan is as follows. At the start of each 8x8 block and after each nonzero coefficient (except at position 63), a binary decision is coded identifying whether or not the end-of-block occurs at that position. Runs of zeros are coded by a sequence of binary decisions which identify whether each coefficient in the run is zero or not.
Nonzero coefficients are coded by a binary decision sequence which identifies the logarithm (base 2) of the magnitude and the precise magnitude in a manner which is very similar to the Huffman coding structure.

Progressive Coding of the DCT In progressive coding of the DCT the image is coded in multiple scans, as shown in FIG. lB. The first scan provides an approximate representation of the image at a quality level which is defined by the coding parameters chosen. Subsequent scans improve the quality until the final desired representation is achieved. For a given quantization the final image is identical to that produced by sequential DCT coding.

Two different and complementary progressive modes for codi~g o~ DCT coefficients, "spectral selection" and "successive approximation," are listed in FIG. lB.
Spectral selection segments the DCT coefficients into "frequency" bands for each stage of the progression, and successive approximation improves the precision of the YO9-91-035 2 ~ S ~

coefficients with each stage. Each stage in a successive approximation sequence is comprised of a set of spectral selection stages in which DC and AC coefficients are coded in separate stages and the AC coefficients may be further segmented into spectral selection bands which are coded in separate stages. When coding the AC
coefficients, only one component may be coded in a scan.
An example of the segmentation of a DCT block of maximum precision P into a progressive se~uence is illustrated in FIG. 2.

The first successive approximation stage uses extended versions of the sequential coding algorithm to code reduced precision coefficients. The extensions permit coding of bands rather than the full set of AC
coefficients and the Huffman code table is extended to include codes for EOB runs (where EOB now means end-of-band rather than end-of-block). This latter extension is needed because of the increased probability of low activity DCT blocks when the coefficient precision is reduced.

Subse~uent successive approximation stages improve the precision of the coefficient magnitudes one bit plane at a time. Again, the Huffman and arithmetic coding models are similar in structure. The coefficients are separated into two classes, those which were nonzero at the completion of the previous successive approximation stage and those which were zero. In Huffman coding, a zero run length and EOB run structure is used to code the coefficients which were zero. In arithmetic coding a binary decision conditioned on the zigzag scan index is coded for the coefficients which were zero. In both codes the model is very similar to the scheme used in the first successive approximation stage. For the c~efficients which were nonzero, both coders code one bit to improve the precision of the coefficient.

Non-hierarchical Sequential Mode for Lossless Coding Y09-91-035 9 2~15~

Since different implementations of DCTs usually produce slightly different numerical results, truly lossless coding is not possible when using the DCT modes, even in combination with the hierarchical mode discussed below.
Therefore, as shown in FIG. lC, a totally separate DPCM
method is defined for sequential lossless coding.

The DPCM method used for lossless coding is a generalization of the DPCM method defined for coding of the DC coefficients of the DCT. The one-dimensional predictor is replaced by the selection of one of 7 predictors as shown in Table 2 below. In Table 2, Y is the sample being predicted, and A, B and C are the three nearest neighbor samples used for the prediction.

A Y

Selection value Prediction of Y
0 none (differential coding) 4 A + B - C
A + (B - C)/2 6 B + (A - C)/2 7 (A + B)/2 Table 2 Predictors for lossless coding The encoder and decoder are defined for input precisions from 2 to 16 bits, and differences are calculated modulo 65536 to limit the difference precision to 16 bits. The Huffman coding and arithmetic coding of the differences are therefore extended to higher precision and the arithmetic coder is also extended to two-dimensional statistical conditioning. The point transform defined for the input and output paths of the first stage of successive approximation is retained in the lossless DPCM
coding system. As in successive approximation, it is limited to a division by a power of two.

Y09-91-035 10 2 ~ 5 ~

~ierarchical Mode In addition to the non-hierarchical modes listed in ~IGs. lA-lC, a hierarchical progressive mode is defined. This hierarchical mode may be used in conjunction with ~psampling filters (defined by JPEG) and downsampling filters (not defined by JPEG) to achieve a sequence of spatial resolutions. As illustrated in FIG.
3, the upsampling may be either by 2X horizontally or 2X
vertically (2X both horizontally and vertically is also allowed), and the hierarchical mode may also be used without upsampling to improve image quality at the final spatial resolution. Any of the sequential or progressive modes shown in FIG. 1 may be used for the first stage of the hierarchical progression for a given component Subsequent hierarchical stages code the difference between the output of the previous stage (possibly upsampled) and the source image (possibly downsampled).
For this hierarchical mode a differential version of the DCT has been defined which applies to any of the DCT
modes. Alternatively, if a simple spatial PCM correction is desired, the differential coding technique required for DPCM coding can be applied to coding of the hierarchical mode difference. For spatial PCM correction the input point transform is defined for the hierarchical difference input, thereby providing a mechanism for bounding the maximum difference allowed (as opposed to full PCM correction). Restrictions are defined limiting the mixing of DCT and spatial stages. Any hierarchical progression which uses DCT modes may only use a single final differential spatial stage.

Data Interleavin~ Although a given image can have up to 255 separate components, hierarchical progressions, progressive DCT scans and se~uential scans with more than one component are limited to a maximum of four components . When more than one component is coded in a scan, the component data are interleaved in a pattern which is consistent with the relative sampling of the different components. In the se~uential DCT mode 8x8 blocks of samples from each component are interleaved.

Y09-91-035 11 20~2~ ~

When the DPCM mode is used individual component samples are interleaved.

Interleaving of data in a scan applies primarily to sequential coding. When the progressive DCT modes are used, only the DC coefficient coding may be interleaved.

The JPEG architecture consists of two basic coding models, one for coding of the DCT and the other for DPCM, and two entropy coders which are used with those models.
The lossless and lossy compression techniques and the various sequential and progressive modes are constructed from different variations of this underlying set of models and coders.

With sequential, progressive, lossless and hierarchical modes defined, two different input precisions for the DCT
modes and two different entropy coders, many different implementations are possible, as will become evident to those skilled in the art.

Many of the variations can be readily defended on the basis of function. For example, neither spectral selection nor successive approximation modes of progression work well separately. Together, however, they provide a very superior progression. The two entropy coders are allowed because JPEG found a basic need for both adaptive coding performance and simplicity.
For DCT coding the single pass adaptive arithmetic coding typically achieves 8% to 14% better compression.
However, Huffman coding is typically less complex.

The system and method the present invention provide for incorporating an adaptive quantization procedure within the standard JPEG compressed data syntax for sequential DCT coding di scussed above .

The JPEG standard for lossy compression is based on a quantized 8x8 DCT, where individual quantizing values are used for each of the 64 coefficients of the DCT. The Y09-91-035 12 2 0 6 2 1 ~ ~

table of quantizing values is fixed for a given image component during the compression of the image.

Several different modes of operation have been defined by JPEG as discussed above. The first is a sequential DCT
mode. The sequential DCT mode codes the DCT data for a given component in a single pass. The second is a progressive DCT mode. The progressive DCT mode codes the DCT data for a given component in multiple passes, refining the image quality with each pass. The third is a hierarchical mode. The hierarchical mode also codes the image in multiple passes. The hierarchical mode, however, usually codes in a pyramidal sequence which involves spatial resolution changes. The sequential DCT
mode is the simplest, in that minimum buffering is required.

It is important to note that JPEG is only concerned with the encoding and decoding of image data. The interpretation of the data is beyond the scope of JPEG
and is left to the applications which use JPEG. Given that the interpretation is still to be defined, there is a possibility of introducing adaptive quantization in a way which leaves the syntax of the compressed data stream and the structure of the coding models intact.

The implementation according to the present invention permits general scaling of the entire array of 64 coefficients, as well as the scaling of individual elements in the array. Further, the present invention also permits either the scaling of all tables by common scaling factors or separate scaling of individual tables with individual scaling factors.

A standard sequential JPEG decoder would be adapted to decode the compressed data generated using the present invention and may obtain a recognizable output. However, to fully interpret the data stream, the adaptive quantization would have to be imbedded into the decoding operation, in this respect the decoder would have Y09-91-035 13 20~2~
_ capabilities beyond those required for the JPEG standard.
Of course, the same requirement applies to any alternative way of achieving adaptive quantization which reguire scaling of the quantization tables.

The trivial case where the same scaling is used for all quantization tables (up to 4 tables can be used) will first be discussed.

JPEG defines a scan as a single pass through all data for a component or group of components. In sequential mode, an image component is coded in one scan. When more than one component is coded in a scan the data are interleaved by grouping the data into "Minimum Coding Units" (MCU).
Each MCU contains samples from each component in proportion to the sampling factors defined for the data.

Effectively, the MCU is a "unit cell" of data, the smallest unit which may be coded when data are interleaved in a scan. Suppose, for example, that a three component color image is being, where the three components are Y, Cr, and Cb (a luminance-chrominance representation, as commonly known to those working in the field of image processing). For instance, if the vertical sampling factors are unity and the horizontal sampling factors of Y, Cr and Cb are 2, 1, and 1, respectively, the MCU would be two 8x8 blocks of Y
samples followed by one 8x8 block of Cr samples and one 8x8 block of Cb samples:
Yl, Y2, Cr, Cb The flow chart shown in FIG. 4 is an illustration of the adaptive quantization as a separate component for transmission together with the image components in a system which transmits multiple components of the image.

First, the Image data 402 is transformed into the MCU
404. The MCU is then transformed into the DCT
representation, as shown at block 406. The adaptive quantization sideband information is the generated, as shown in block 408. This sideband information is used to ~ 20~21~5 help quantize the DCT components, as shown at block 410.
The quantized DCT information (410) is then interleaved with the adaptive quantization sideband information (408), as shown at block 412.

The interleaved data is then fed into an entropy encoder model, shown at block 414, and then to an entropy coder, as shown at block 416 and discussed above in connection with the standard JPEG system.

Hence, the present invention achieves adaptive quantization by transmitting the additional component, which is a pseudo component labeled component "A". The component A (see block 406) contains sideband information relating to adaptive quantization. The interleave for the case would then be:
A, Yl, Y2, Cr, Cb (Seeblock 408.) The signalling of quantization changes is thereby accomplished upon decoding, as will become evident to artisans, in view of the above discussion of the JPEG standard. Given the basic structure of the interleave, the relationship between the information in component A and the quantization to be used for the MCU
can be defined.

The following is one way of signaling changes in quantization. Other variations are clearly possible and are within the scope of this disclosure, as will became clear to artisans.

The variable "S" is defined as a scaling factor for the entire quantization table. The representation S[x,y] is then defined as the scaling factor for Q[x,y], where Q[x,y] is a value in the table signaled by the JPEG
Defined Quantization Table segment. The indices x and y are in t~e range O to 7. Normal conventions are used for ordering of coefficients. Therefore, S[O,O] is the scaling factor for the DC quantization value, for example.

Y09-91-035 15 20fi2 15~

When coding component A, the difference coded for the DC
coefficient can be defined to give the change in S.
Therefore:
S = S + d(DC) The lossless one-dimensional predictive differential coding scheme used in coding DC coefficients is well suited to coding a scaling factor which only occasionally changes. An image segment that changes infrequently is more detectable to the human eye. Therefore, image compression of such segments is more susceptible to visual detection. (An arithmetic coding version will perform especially well if changes are infrequent.~

Similarly, the value coded for each AC coefficient AC[x,y] (relating to the so called high frequency image data) of component A can be defined to give the change in S[x,y], the scaling factor for Q[x,y]. Therefore:
S[x,y] = Slx,y] + AC[x,y]
Just as in the JPEG model for coding AC coefficients, the End-of-Block (EOB) code (Huffman coding) or EOB decision (arithmetic coding) terminates the coding of individual scaling factors. Therefore, if the EOB is coded immediately following the difference, no individual scaling factors are modified. (Again, if only simple general scaling of all coefficients is used, the arithmetic coding version will perform especially well.) For this scheme the values used to quantize and dequantize the coefficients are:

Qlx,y]-= (Q[x,y] * S[x,y] * S) In this example, the normalization is defined such that the starting value assigned to S and to all S[x,y] values i s 16 . ~ote that S l O,0] is always 16 and cannot be modified. Note also that Q[x,y] is an integer, and must be clamped to 1 if the calculation above would give 0.

Y09-91-035 16 2 G ~ 2 ~ r~ 5 The scaling equation as defined permits scaling of all quantization values, including the DC value. If, by convention7 the DC is not scaled, the scaling equation would then apply only to the 63 AC coefficients.

By convention, if all tables are scaled identically, only one block is coded for component A in each MCU. However, if the quantization tables used in the scan need to be scaled individually, the sampling factor for component A
is set such that one block of component A is coded for each scan component. The blocks of A are applied to the scaling of the quanti~ation for each component in the order defined for the MCU. The interleave for this case would be:
Al, A2, A3, Yl, Y2, Cr, Cb where Al would apply to Y1 and Y2, A2 would apply to Cr and A3 would apply to Cb.
The structures defined for the JPEG input data also allow the pseudo component information on adaptive quantization to be coded in a separate scan. The adaptive quantization conventions defined above in accordance with the present invention can also be used for this case.

While various embodiments of the present invention have been described above, it should be understood that they have been presented by way of example, and not limitation. Thus the breadth and scope of the present invention should not be limited by any of the above-described exemplary embodiments, but should be defined only in accordance with the following claims and their equivalents. It will be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the invention.

Claims (17)

The embodiments of the invention in which an exclusive property or privilege is claimed are defined as follows:
1. A method for masking adaptive quantization during compressed image data transmission in a system for transmitting blocks of data representing multiple components of an image, comprising the steps of:
generating a quantization table for each of the multiple image components;
defining a common scaling factor for a portion of said quantization tables of the multiple image components; and signaling changes in quantization for successive blocks of the image data by transmitting said common scaling factor as a further component together with the image components to thereby signal adaptive quantization of the image data.
2. A method according to claim 1, further comprising the steps of:
defining a separate scaling factor for each value in a portion of said quantization tables of the multiple image components; and transmitting said separate scaling factors as said further component together with the image components to thereby signal adaptive quantization of the image data.
3. A method according to claim 1, wherein said defining is done by coding changes in scaling such that said common scaling factor is the DC coefficients in a further image component.
4. A method according to claim 2, wherein said defining is done by coding changes in each separate scaling factor such that said differences in scaling factors are the corresponding AC coefficients in a further image component.
5. A method according to claim 2, wherein said defining is done by coding in each separate scaling factor such that it is a corresponding AC coefficient in a further image component.
6. A method for masking adaptive quantization during compressed image data transmission in a system for transmitting blocks of data representing luminance-chrominance components of an image, comprising the steps of:
generating a quantization table for each of the luminance-chrominance image components;
defining a common scaling factor for a portion of said quantization tables of the luminance-chrominance image components; and signaling changes in quantization for successive blocks of the image data by transmitting said common scaling factor as a further component together with the luminance-chrominance components to thereby signal adaptive quantization of the image data.
7. A method according to claim 6, further comprising the steps of:
defining a separate scaling factor for each value in portions of each of said quantization tables of the luminance-chrominance image components; and transmitting said separate scaling factors as said further component together with the luminance-chrominance components to thereby ~ignal adaptive quantization of the image data.
8. A method according to claim 7, further comprising the steps of:
defining a first scaling factor for a portion of a Y
quantization table of the luminance-chrominance image components;
defining a second scaling factor for a portion of a Cr quantization table of the luminance-chrominance image components;
defining a third scaling factor for a portion of a Cb quantization table of the luminance-chrominance image components; and transmitting said first through third scaling factors as a further component together with the luminance-chrominance components to thereby signal adaptive quantization of the image data.
9. A method according to claim 8, wherein said defining is done by coding changes in scaling such that the common scaling factor is the DC coefficients in a further image component.
10. A system for masking adaptive quantization during compressed image data transmission of blocks of data representing multiple components of an image, comprising:
first means for generating a quantization table for each of the multiple image components;
second means for defining a common scaling factor for a portion of said quantization tables of the multiple image components, said common scaling factor signaling changes in quantization for successive blocks of the image data; and third means for transmitting said scaling factor as a further component together with the image components to thereby signal adaptive quantization of the image data.
11. A system according to claim 10, wherein:
said second means defines a separate scaling factor for each value in portions of each of said quantization tables of the multiple image components; and said third means transmits said separate scaling factors as said further component together with the image components to thereby signal adaptive quantization of the image data.
12. A system according to claim 10, wherein said second means defines coding changes in each separate scaling factor such that said differences in scaling factors are the corresponding AC coefficients in a further image component.
13. A system according to claim 10, wherein said second means defines coding in each separate scaling factor such that it is a corresponding AC coefficient in a further image component.
14. A system according to claim 10, wherein:
said scaling factors signal changes in quantization for successive blocks of luminance-chrominance image data.
15. A system according to claim 14, further comprising:
fourth means for defining a first common scaling factor for a portion of a Y quantization table of the luminance-chrominance image components;
fifth means for defining a second common scaling factor for a portion of a Cr quantization table of the luminance-chrominance image components; and sixth means for defining a third common scaling factor for a portion of a Cb quantization table of the luminance-chrominance image components;
wherein said transmitting means -transmits said first through third scaling factors as a further component together with the luminance-chrominance components to thereby signal adaptive quantization of the image data.
16. A system according to claim 15, wherein:
said fourth through sixth means define a separate scaling factor for each value in portions of each of said quantization tables of the multiple image components; and said third means transmits said separate scaling factors as said further component together with the image components to thereby signal adaptive quantization of the image data.
17. A system according to claim 16, wherein said fourth through sixth means use coding changes in scaling such that said common scaling factor is the DC coefficients in a further image component.
CA002062155A 1991-05-17 1992-03-02 Adaptive quantization within the jpeg sequential mode Expired - Lifetime CA2062155C (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US07/702,904 US5157488A (en) 1991-05-17 1991-05-17 Adaptive quantization within the jpeg sequential mode
US07/702,904 1991-05-17

Publications (2)

Publication Number Publication Date
CA2062155A1 CA2062155A1 (en) 1992-11-18
CA2062155C true CA2062155C (en) 1998-04-28

Family

ID=24823085

Family Applications (1)

Application Number Title Priority Date Filing Date
CA002062155A Expired - Lifetime CA2062155C (en) 1991-05-17 1992-03-02 Adaptive quantization within the jpeg sequential mode

Country Status (5)

Country Link
US (1) US5157488A (en)
EP (1) EP0513520B1 (en)
JP (1) JP2925097B2 (en)
CA (1) CA2062155C (en)
DE (1) DE69220541T2 (en)

Families Citing this family (66)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2676608B1 (en) * 1991-05-17 1993-09-03 France Telecom COLOR IMAGE CODING METHOD WITH HIGH FILTERING RATE WITHOUT FILTERING, CORRESPONDING DECODING METHOD, ENCODER, DECODER AND APPLICATION.
US5742345A (en) * 1991-07-05 1998-04-21 Samsung Electronics Co., Ltd. System for transmitting and receiving video signals using interpolation of adaptive factor
JPH05183441A (en) * 1992-01-06 1993-07-23 Canon Inc Picture processor and its method
US5642437A (en) * 1992-02-22 1997-06-24 Texas Instruments Incorporated System decoder circuit with temporary bit storage and method of operation
JPH05236427A (en) * 1992-02-25 1993-09-10 Sony Corp Device and method for encoding image signal
JP2530090B2 (en) * 1992-02-28 1996-09-04 三星電子株式会社 Video signal encoder
US5272529A (en) * 1992-03-20 1993-12-21 Northwest Starscan Limited Partnership Adaptive hierarchical subband vector quantization encoder
US5809270A (en) * 1992-06-30 1998-09-15 Discovision Associates Inverse quantizer
US5294974A (en) * 1992-07-24 1994-03-15 Matsushita Electric Corporation Of America High-definition video encoding system having color-sensitive quantization
JPH0654203A (en) * 1992-07-30 1994-02-25 Canon Inc Facsimile equipment and image processor
JP3348310B2 (en) * 1992-09-28 2002-11-20 ソニー株式会社 Moving picture coding method and moving picture coding apparatus
KR100287624B1 (en) * 1992-09-28 2001-04-16 야스카와 히데아키 Image data compression, decompression method and device
KR0166727B1 (en) * 1992-11-27 1999-03-20 김광호 The encoding method and apparatus for quantization control with the information of image motion
US5657423A (en) * 1993-02-22 1997-08-12 Texas Instruments Incorporated Hardware filter circuit and address circuitry for MPEG encoded data
US5729556A (en) * 1993-02-22 1998-03-17 Texas Instruments System decoder circuit with temporary bit storage and method of operation
DE69431294T2 (en) 1993-03-25 2003-04-17 Mgi Software Corp IMAGE PROCESSING METHOD AND SYSTEM
WO1995007004A1 (en) * 1993-08-30 1995-03-09 Sony Corporation Device and method for encoding image data
US6408097B1 (en) * 1993-08-30 2002-06-18 Sony Corporation Picture coding apparatus and method thereof
US5594554A (en) * 1993-10-04 1997-01-14 Zoran Corporation Image compression coder having improved scale factor control
US5638068A (en) * 1993-11-24 1997-06-10 Intel Corporation Processing images using two-dimensional forward transforms
EP0660619A1 (en) * 1993-12-22 1995-06-28 Laboratoires D'electronique Philips S.A.S. Method for image variable length coding and device for carrying such method
US5729484A (en) * 1994-02-28 1998-03-17 Intel Corporation Processes, apparatuses, and systems of encoding and decoding signals using transforms
WO1996002895A1 (en) * 1994-07-14 1996-02-01 Johnson Grace Company Method and apparatus for compressing images
US5822456A (en) * 1994-07-14 1998-10-13 Johnson-Grace Optimal spline interpolation for image compression
US6356663B1 (en) * 1994-09-09 2002-03-12 Intel Corporation Processing image signals using spatial decomposition
US5434567A (en) * 1994-09-09 1995-07-18 Kabushiki Kaisha Toshiba Encoding image signals by further transforming transformed DC signals
US5883976A (en) * 1994-12-28 1999-03-16 Canon Kabushiki Kaisha Selectively utilizing multiple encoding methods
JPH08256341A (en) * 1995-03-17 1996-10-01 Sony Corp Image signal coding method, image signal coder, image signal recording medium and image signal decoder
JP3703195B2 (en) * 1995-03-27 2005-10-05 ヒューレット・パッカード・カンパニー Color image transmission device
US5872874A (en) * 1995-04-26 1999-02-16 Hewlett-Packard Company Method and apparatus for scaling down images that are provided in a compressed data format
US5740283A (en) * 1995-07-06 1998-04-14 Rubin, Bednarek & Associates, Inc. Digital video compression utilizing mixed vector and scalar outputs
US5812788A (en) * 1995-07-21 1998-09-22 Intel Corporation Encoding/decoding video signals using quantization tables based on explicitly encoded base and scale matrices
US5729691A (en) * 1995-09-29 1998-03-17 Intel Corporation Two-stage transform for video signals
KR100387229B1 (en) * 1995-11-01 2003-08-21 삼성전자주식회사 Apparatus for encoding images
US5930526A (en) * 1996-01-24 1999-07-27 Intel Corporation System for progressive transmission of compressed video including video data of first type of video frame played independently of video data of second type of video frame
US5682152A (en) * 1996-03-19 1997-10-28 Johnson-Grace Company Data compression using adaptive bit allocation and hybrid lossless entropy encoding
US5654806A (en) * 1996-05-06 1997-08-05 Xerox Corporation Code manipulation for a high speed JPEG decoder
WO1998034395A2 (en) * 1997-02-04 1998-08-06 Media 100, Inc. Compression/decompression of stream of video data
EP0963657B1 (en) * 1997-02-25 2002-11-27 British Broadcasting Corporation Digital signal compression encoding with improved quantisation
US6252994B1 (en) * 1998-01-26 2001-06-26 Xerox Corporation Adaptive quantization compatible with the JPEG baseline sequential mode
US6175650B1 (en) 1998-01-26 2001-01-16 Xerox Corporation Adaptive quantization compatible with the JPEG baseline sequential mode
US6249614B1 (en) * 1998-03-06 2001-06-19 Alaris, Inc. Video compression and decompression using dynamic quantization and/or encoding
AUPP248298A0 (en) * 1998-03-20 1998-04-23 Canon Kabushiki Kaisha A method and apparatus for hierarchical encoding and decoding an image
US6195462B1 (en) 1998-03-30 2001-02-27 Eastman Kodak Company Image compression
US6104441A (en) * 1998-04-29 2000-08-15 Hewlett Packard Company System for editing compressed image sequences
US6697525B1 (en) 1998-10-02 2004-02-24 Parthusceva Ltd. System method and apparatus for performing a transform on a digital image
US6999511B1 (en) * 1999-02-23 2006-02-14 International Business Machines Corporation Dynamically switching quant matrix tables within an MPEG-2 encoder
US6868186B1 (en) 2000-07-13 2005-03-15 Ceva D.S.P. Ltd. Visual lossless image compression
US7092578B2 (en) * 2001-10-23 2006-08-15 Agilent Technologies, Inc. Signaling adaptive-quantization matrices in JPEG using end-of-block codes
ES2532326T3 (en) * 2002-05-28 2015-03-26 Sharp Kabushiki Kaisha Method and systems for the estimation, communication and organization of intra-prediction modes of images
US7236524B2 (en) 2002-05-28 2007-06-26 Sharp Laboratories Of America, Inc. Methods and systems for image intra-prediction mode communication
US7289672B2 (en) 2002-05-28 2007-10-30 Sharp Laboratories Of America, Inc. Methods and systems for image intra-prediction mode estimation
US7386048B2 (en) 2002-05-28 2008-06-10 Sharp Laboratories Of America, Inc. Methods and systems for image intra-prediction mode organization
JP2005191956A (en) * 2003-12-25 2005-07-14 Yamaha Corp Display data compression/expansion method
WO2005079054A1 (en) * 2004-02-17 2005-08-25 Toa Corporation Image compression device
US7506071B2 (en) 2005-07-19 2009-03-17 International Business Machines Corporation Methods for managing an interactive streaming image system
US7616821B2 (en) 2005-07-19 2009-11-10 International Business Machines Corporation Methods for transitioning compression levels in a streaming image system
US20070028286A1 (en) 2005-07-28 2007-02-01 Greene David P Systems, methods, and media for detecting content change in a streaming image system
US8155464B2 (en) 2005-12-21 2012-04-10 Panasonic Corporation Image compression unit, image decompression unit, and ultrasonic diagnostic device
CN101317458B (en) * 2006-03-16 2012-04-18 华为技术有限公司 Method and device for implementing adaptive quantization in encoding course
TW201028018A (en) * 2009-01-07 2010-07-16 Ind Tech Res Inst Encoder, decoder, encoding method and decoding method
CN101594537B (en) * 2009-06-04 2011-07-27 北京京北方信息技术有限公司 Massive image data compression method
EP2486517A4 (en) 2009-10-05 2014-06-11 Icvt Ltd Apparatus and methods for recompression of digital images
WO2011135558A1 (en) 2010-04-29 2011-11-03 I.C.V.T. Ltd Apparatus and methods for re-compression having a monotonic relationship between extent of comprission and quality of compressed image
US9020291B2 (en) 2012-08-31 2015-04-28 Hewlett-Packard Development Company, L.P. Resized image compression based on frequency content
US10687062B1 (en) * 2019-02-22 2020-06-16 Google Llc Compression across multiple images

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56136093A (en) * 1980-03-26 1981-10-23 Fuji Photo Film Co Ltd Adaptive quantizer
JPS57150275A (en) * 1981-03-11 1982-09-17 Fuji Photo Film Co Ltd Adaptive quantizer
JPS5992688A (en) * 1982-11-19 1984-05-28 Fuji Photo Film Co Ltd Adaptive picture compression system
FR2544574B1 (en) * 1983-04-13 1985-06-14 Guichard Jacques COMPRESSION ENCODING METHOD OF A COLOR VIDEO DIGITAL SIGNAL
JPS59200592A (en) * 1983-04-27 1984-11-13 Fuji Photo Film Co Ltd Adaptive compression system of color image
JPS6029090A (en) * 1983-07-28 1985-02-14 Kokusai Denshin Denwa Co Ltd <Kdd> Transfer quantization system of vector signal
US4992273A (en) * 1984-10-01 1991-02-12 Institut Pasteur Antigens of Leishmania parasites
US4716453A (en) * 1985-06-20 1987-12-29 At&T Bell Laboratories Digital video transmission system
US4831636A (en) * 1985-06-28 1989-05-16 Fujitsu Limited Coding transmission equipment for carrying out coding with adaptive quantization
US4698689A (en) * 1986-03-28 1987-10-06 Gte Laboratories Incorporated Progressive image transmission
IL80103A0 (en) * 1986-09-21 1987-01-30 Eci Telecom Limited Adaptive differential pulse code modulation(adpcm)system
DE3855114D1 (en) * 1987-05-06 1996-04-25 Philips Patentverwaltung System for the transmission of video images
GB8724789D0 (en) * 1987-10-19 1987-11-25 British Telecomm Signal coding
US4791483A (en) * 1987-11-20 1988-12-13 The Grass Valley Group, Inc. Adaptive differential pulse code modulation video encoder

Also Published As

Publication number Publication date
EP0513520A3 (en) 1995-03-08
DE69220541D1 (en) 1997-07-31
CA2062155A1 (en) 1992-11-18
DE69220541T2 (en) 1998-01-15
EP0513520A2 (en) 1992-11-19
EP0513520B1 (en) 1997-06-25
JPH05183758A (en) 1993-07-23
JP2925097B2 (en) 1999-07-26
US5157488A (en) 1992-10-20

Similar Documents

Publication Publication Date Title
CA2062155C (en) Adaptive quantization within the jpeg sequential mode
Wallace The JPEG still picture compression standard
CN100576195C (en) With the system and method for lossless manner to digital picture and voice data decoding
CA2130478C (en) A data compression system including successive approximation quantizer
CN101588502B (en) DCT compression using Golomb-Rice coding
US5315670A (en) Digital data compression system including zerotree coefficient coding
CN100355286C (en) Adaptive variable-length coding methods for image data
US7801383B2 (en) Embedded scalar quantizers with arbitrary dead-zone ratios
JP4800571B2 (en) Apparatus and method for encoding digital images in a lossless manner
Ho et al. Classified transform coding of images using vector quantization
CN101018336A (en) Quality based image compression
JP2004531995A5 (en)
Wei An introduction to image compression
US6205254B1 (en) Image coding apparatus and method, and image decoding apparatus and method
CN1418014A (en) Coding method and coder
CA2449709A1 (en) Interframe encoding method and apparatus
CN101729901A (en) System and method for image compression
JPH0388488A (en) Picture coding system
JPH07255054A (en) Image encoding device
JPH06188742A (en) Conversion encoding and decoding device
JPH0445663A (en) Image processing system
Müller et al. ICSY
Müller 5. Compression
Kumar et al. A survey of contemporary medical image compression techniques
Dudeja A STUDY OF VARIOUS TYPES OF IMAGE CODING TECHNIQUES

Legal Events

Date Code Title Description
EEER Examination request
MKEX Expiry
MKEX Expiry

Effective date: 20120302