CN101185083A - Hybrid variable length coding for video compression - Google Patents

Hybrid variable length coding for video compression Download PDF

Info

Publication number
CN101185083A
CN101185083A CN200580019457.6A CN200580019457A CN101185083A CN 101185083 A CN101185083 A CN 101185083A CN 200580019457 A CN200580019457 A CN 200580019457A CN 101185083 A CN101185083 A CN 101185083A
Authority
CN
China
Prior art keywords
amplitude
coefficient
incident
area
value
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.)
Granted
Application number
CN200580019457.6A
Other languages
Chinese (zh)
Other versions
CN101185083B (en
Inventor
陈文雄
吴方
格雷戈里·D·佩尔同
约翰·A·杜贝斯
达夫·罗森费尔德
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.)
Cisco Technology Inc
Original Assignee
Cisco Technology Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from US10/910,712 external-priority patent/US7454073B2/en
Priority claimed from US10/922,508 external-priority patent/US7471840B2/en
Priority claimed from US10/922,507 external-priority patent/US7492956B2/en
Priority claimed from US11/069,620 external-priority patent/US7471841B2/en
Priority claimed from US11/069,622 external-priority patent/US7499596B2/en
Priority claimed from US11/069,621 external-priority patent/US7499595B2/en
Application filed by Cisco Technology Inc filed Critical Cisco Technology Inc
Priority claimed from PCT/US2005/020110 external-priority patent/WO2006001994A2/en
Publication of CN101185083A publication Critical patent/CN101185083A/en
Publication of CN101185083B publication Critical patent/CN101185083B/en
Application granted granted Critical
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/136Incoming video signal characteristics or properties
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/90Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using coding techniques not provided for in groups H04N19/10-H04N19/85, e.g. fractals
    • H04N19/91Entropy coding, e.g. variable length coding [VLC] or arithmetic coding

Landscapes

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

Abstract

A method for variable length coding an ordered series of digital signals, e.g., of quantized transform coefficients of a block of image data with a most likely-to-occur amplitude, e.g., 0, and at least one other amplitude, e.g., 1, to form a set of codewords. The method includes establishing a breakpoint(301) along the ordering to define a first contiguous region and a second contiguous region, such that clusters of consecutive signals of any value other than the most likely-to-occur value occur mostly in the first contiguous region. The method includes encoding the signals in the first region using a first region encoding method (303)suitable for encoding clusters; and encoding the signals in the second region using a second region encoding method(305). The first region and second region encoding methods include variable length codes such that relatively short codewords are formed to represent relatively more likely-to-occur sequences.

Description

The hybrid variable length coding that is used for video compress
Related application
The present invention requires the right of priority of following U.S. Patent application:
The U.S. Patent application No.10/869 that on June 15th, 2004 submitted to, 229, the invention people is Chen etc., and denomination of invention is " A HYBRID VARIABLE LENGTH CODINGMETHOD FOR LOW BIT RATE VIDEO CODING ", and proxy number is No.CISCO-8783.Here disclosed content is collectively referred to as " Basic Hybrid VLC Method (elementary mixing VLC method) " here in the above-mentioned patented claim of being introduced.
The U.S. Patent application No.10/898 that on July 22nd, 2004 submitted to, 654, the invention people is Chen etc., and denomination of invention is " AN EXTENDED HYBRID VARIABLE LENGTHCODING METHOD FOR LOW BIT RATE VIDEO CODING ", and proxy number is No.CISCO-8795.Here disclosed content is collectively referred to as " Extended Hybrid VLC Method (extended hybrid VLC method) " here in the above-mentioned patented claim of being introduced.
The U.S. Patent application No.10/910 that on August 3rd, 2004 submitted to, 712, the invention people is Chen etc., denomination of invention is " VIDEO COMPRESSION USING MULTIPLE VARIABLELENGTH CODING PROCESSES FOR MULTIPLE CLASSES OFTRANSFORM COEFFICIENT BLOCKS ", and proxy number is No.CISCO-8819.Here disclosed content is collectively referred to as " Multiple-ClassVLC Method (multiclass VLC method) " here in the above-mentioned patented claim of being introduced.
The U.S. Patent application No.10/922 that on August 18th, 2004 submitted to, 508, the invention people is Toebes etc., denomination of invention is " TWO-DIMENSIONAL VARIABLE LENGTHCODING OF RUNS OF ZERO AND NON-ZERO TRANSFORMCOEFFICIENTS FOR IMAGE COMPRESSION ", and proxy number is No.CISCO-8985.Here disclosed content is collectively referred to as " 2-DNonzero/Zero Cluster VLC Method (the 2-D non-zero/zero VLC method of trooping) " here in the above-mentioned patented claim of being introduced.
The U.S. Patent application No.10/922 that on August 18th, 2004 submitted to, 507, the invention people is Chen etc., denomination of invention is " VIDEO CODING USING MULTI-DIMENSIONALAMPLITUDE CODING AND 2-D NON-ZERO/ZERO CLUSTER POSITIONCODING ", and proxy number is No.CISCO-9180.Here disclosed content is collectively referred to as " Basic Multi-Dimensional Amplitude VLCMethod (basic multidimensional amplitude VLC method) " here in the above-mentioned patented claim of being introduced.
The U.S. Patent application No.11/069 that on February 28th, 2005 submitted to, 622, the invention people is Chen etc., and denomination of invention is " AMPLITUDE CODING FOR CLUSTEREDTRANSFORM COEFFICIENTS ", and proxy number is No.CISCO-9741.Here disclosed content is collectively referred to as " Multi-TableAmplitude VLC Method (multilist amplitude VLC method) " here in the above-mentioned patented claim of being introduced.
The U.S. Patent application No.11/069 that on February 28th, 2005 submitted to, 621, the invention people is Chen etc., and denomination of invention is " JOINT AMPLITUDE AND POSITION CODINGFOR PHOTOGRAPHIC IMAGE AND VIDEO CODING ", and proxy number is No.CISCO-9748.Here disclosed content is collectively referred to as " Joint Position and Amplitude VLC Method (co-location and amplitude VLC method) " here in the above-mentioned patented claim of being introduced.
The U.S. Patent application No.11/069 that on February 28th, 2005 submitted to, 620, the invention people is Wu etc., and denomination of invention is " ADAPTIVE BREAKPOINT FOR HYBRID VARIABLELENGTH CODING ", and proxy number is No.CISCO-9831.Here disclosed content is collectively referred to as " Adaptive Breakpoint Method (self-adaptation breakpoint method) " here in the above-mentioned patented claim of being introduced.
More than the content of each patented claim all incorporated herein by reference.
Background technology
Two-dimensional variable length coding (2D-VLC) comprises to be collected or the statistical information of hypothesis two-dimensional block conversion coefficient incident, and wherein each incident is that another amplitude is followed in the distance of swimming (run) back of the amplitude that occurs of most probable (for example 0).Coding is included as each incident and distributes variable-length codes (variablelength code), for example optimum code such as Huffman code or arithmetic code.In this manual, 0 be assumed to be the amplitude that most probable occurs.Collection or as if statistics information comprise the number of the amplitude and the zero valued coefficients before the non-zero magnitude of the nonzero-value coefficient that tracking is quantized, promptly follow the tracks of any non-zero magnitude zero run length (runlength) before along specified path, described specified path for example is the Z font scanning pattern at coefficient block (for example 8 * 8 or 16 * 16 coefficient block).Following form 1 shows the statistical information that is made into two-dimentional form by example:
Form 1:2D-VLC statistical information
Figure A20058001945700751
In this table, S IjBe likelihood (likelihood), this likelihood for example be represented as the distance of swimming that appears at j 0 (j=0,1,2 ...) afterwards amplitude i (i=1,2 ...) and the relative degree that occurs.
Then, for example the variable-length codes of optimum code is assigned to and has above S IjEach incident, wherein the element that occurs of most probable (in transition coding to the situation of conversion coefficient block encoding S10 normally) have minimum figure place, and the incident of minimum appearance uses the longest figure place to encode.Following form 2 shows the example of 2D-VLC form:
Form 2:2D-VLC code
Figure A20058001945700752
Wherein, C IjBe to be used to being that amplitude is the code word that the incident of combination of the nonzero coefficient of i is encoded after j continuous 0 value coefficient, j=0,1 ... and i=1,2 ....
2D-VLC is used in the common transform coding method, and for example JPEG, MPEG1, MPEG2, ITU-T-261 etc. are as described below.For sport video, image is divided into a plurality of, for example 8 * 8 or 16 * 16 piece.Each image is identified as interframe or I picture.Inter frame image will pass through motion compensation usually.Image block is transformed, and conversion coefficient is quantized.Then, the conversion coefficient after quantizing is encoded along specified path according to the 2D-VLC form.Usually, interframe has different 2D-VLC forms with I picture.The DC composition normally is encoded separately.In addition, the 2D-VLC form can be deleted letter and makes the incident that the most seldom occurs use escape code heel fixed length code to represent.When all remaining coefficients all are zero, use the end of special-purpose " EOB " sign indicating number indicator dog.
Rest image is encoded similarly, for example, and according to the mode identical with the I picture of sport video.
Fig. 1 shows and how to use table lookup to realize the 2D-VLC scheme.Before table lookup, run length and this non-zero magnitude of the zero amplitude before any non-zero magnitude are determined.For those incidents that may occur of using variable length code to encode, table lookup uses the 2D form.For the less relatively combination of possibility that occurs, use escape code in conjunction with fixed length code.
The advantage of 2D-VLC is all to be used as by the position of each nonzero-value coefficient of run length indication and the range value that is quantized a pair ofly utilizes a 2D-VLC form to encode simultaneously.Can obtain short code like this, promptly with to each nonzero-value coefficient and its amplitude use independent VLC form to compare, the figure place that this code uses is less.
Because being extensive use of of picture coding authorized the multi-form a lot of patents about VLC.The United States Patent (USP) 4,698,672 that for example licensed to Wen-hsiung Chen (one of the present inventor) on October 6th, 1987 has been described a kind of form of two-dimensional variable length coding method.
Known multiple expansion and variant to common 2D-VLC method.For example, ITU H.263 compression standard has defined a this variant, and this variant is called as three-dimensional VLC (3D-VLC) sometimes.Referring to the denomination of invention of announcing on September 16th, 1993 be the PCT patent announcement WO 9318616 of " PICTURE DATA ENCODINGMETHOD ", also can be referring to ITU-T standard H.263.In 3D-VLC, each symbol (" incident ") all is tlv triple (LAST, RUN, LEVEL), it comprises: LAST, indicate whether current non-zero magnitude value is the binary marks of last nonzero coefficient in the piece, RUN, the run length of the zero valued coefficients before current non-zero magnitude, the i.e. zero number that begins from a last nonzero coefficient amplitude, and LEVEL, the range value of promptly current nonzero coefficient.Therefore, do not need independent EOB code word; Whether nonzero coefficient is that last coefficient is comprised in the incident.
Fig. 2 shows and how to use table lookup to realize 3D-VLC.
The shortcoming of 2D-VLC is that each nonzero-value coefficient all needs subsidiary run length code to identify its position, and this run length code is taked the form at the number of preceding zero valued coefficients.
In block-based transition coding, the inventor notices zone of common existence, for example trend towards forming the low frequency region of the ordering of trooping mostly, that is, have several continuous nonzero-value coefficient usually along the low frequency region of predefined paths along nonzero-value coefficient.This phenomenon especially may appear in intraframe coding and the high bit rate interframe encode.Each coefficient in several so continuous nonzero-value coefficient all needs to represent the code word of the similar number of position and amplitude.In other words, 2D-VLC needs independent run length code, for example C10, C20, C30 for each coefficient in the continuous nonzero coefficient ... Deng.
Therefore, in the art, need a kind of method of continuous nonzero coefficient value sequence being carried out high efficient coding that provides.
The invention people who submitted on January 15th, 2003 be that the denomination of invention of Chen etc. is the U.S. Patent application No.10/342 of " ANEXTENSION OF TWO-DIMENSIONAL VARIABLE LENGTH CODINGFOR IMAGE COMPRESSION ", 537 have described a kind of method that is called as " expansion 2D-VLC method " here, and it comprises the coding that repeats to some zero coefficient values.A kind of variant of expansion 2D-VLC method provides code for all possible changes in amplitude of the continuous coefficients after one group of zero valued coefficients.Run length with all situations all is kept to 1 so effectively.The where the shoe pinches of this method is that the amplitude of continuous coefficients may generate very many patterns.For example, in a lot of common video encoding standards, define 32 quantized levels, just reached 32 by N the continuous pattern that coefficient generated like this NThe order of magnitude.Like this, in the implementation procedure of reality, only the length (for example 3 or 4 successive values) of nonzero value that a limited number of most probable is occurred (for example 1 and 2) and a limited number of continuous nonzero value is carried out grouping again and is mated with implementation pattern.
In addition, in coding, may there be the zone of trooping, also may has the high-frequency region of the nonzero-value coefficient that wherein may be scattered here and there comprising nonzero-value coefficient though the inventor notices.
Therefore, it is very low to use this so-called " expansion 2D-VLC method " to remain efficient in the reality.
Thereby, need a kind of method of the nonzero-value coefficient distance of swimming in the conversion coefficient series that may appear at image block being carried out high efficient coding that comprises in the art.
One or more patents of describing some existing 2D-VLC coding methods have become the theme of patent action recently.Thereby, also need to replace to have become the alternative method of the 2D-VLC method of generally using of the theme of this lawsuit in the art.
Summary of the invention
This instructions is described with regard to the orderly series of digital value, and described digital value is the quantization transform coefficient of video data block.Statistics ground, these quantization parameters have the amplitude of most probable appearance and the amplitude that next most probable occurs.In the description of this instructions, the quantization parameter of null value is that most probable occurs, and the quantization parameter that is worth for ± 1 is the value that next most probable occurs.Generally speaking, the present invention can be applied to the orderly series of digital signal, and the amplitude of each digital signal is taken from amplitude that is occurred by most probable and the limited amplitude that at least one other amplitude constitutes and gathers.
When the ordered sequence of the quantization transform coefficient of video data block is encoded, may there be the first area, for example, also may there be second area, for example the nonzero-value coefficient high-frequency region that may disperse wherein comprising the low frequency region along ordering of trooping of nonzero-value coefficient.
The invention people that this instructions and 2004 above-mentioned June 15 submit to is Chen etc., denomination of invention is the U.S. Patent application No.10/869 of " A HYBRID VARIABLE LENGTH CODING METHOD FORLOW BIT RATE VIDEO CODING ", and 229 have described a kind of coding method, a kind of equipment that is used to encode, a kind of method that is used to decode, a kind of equipment that is used to decode and a kind ofly carried code so that processor is carried out the bearing medium of coding method.At first at U.S. Patent application No.10/869, the various embodiment of the coding method of describing in 229 always are called " Basic Hybrid VLC Method (elementary mixing VLC method) " here.
Elementary mixing VLC method has been utilized the distribution character of conversion coefficient in low frequency and high-frequency region.For example, elementary mixing VLC method has considered that the viewed nonzero value conversion coefficient in low frequency region that causes owing to the coding method of using different run lengths in low frequency region and the high-frequency region forms the relative characteristic of dispersion with conversion coefficient in high-frequency region of the characteristic of trooping.An embodiment of elementary mixing VLC method comprise two kinds independently encoding scheme come the quantization parameter in first and second zones in path is encoded.Establish the border along the path and limit two zones, for example low frequency region and high-frequency region.In a version, according to one or more factors border and video are adapted, described factor for example is intraframe coding or interframe encode, standard definition television (SDTV) or high-definition television (HDTV), complex scene or simple scenario, high bit rate coding or low rate encoding etc.In one embodiment, the runlength encoding method that the coding of the quantization parameter in the low frequency region is comprised the runlength encoding method that uses the first kind and second type to the position of continuous nonzero-value coefficient and continuously the position of zero valued coefficients encode.This coding also comprises the range value of nonzero-value coefficient and encoding symbols.In high-frequency region, in one embodiment, the coding of the coefficient in the high-frequency region comprised the runlength encoding method that uses the 3rd type coding to the position of the distance of swimming that do not have continuous zero valued coefficients or one or more continuous zero valued coefficients.This coding also comprises the range value of nonzero-value coefficient and encoding symbols.
In the first area, use a run length code to come to be encoded in continuous nonzero-value coefficient distance of swimming position.Can use five independently coding forms at most: at two the run length forms and the first amplitude form of low frequency coefficient, and at the run length form and the second amplitude form of high frequency coefficient.Code length and code table can be shorter than common 2D-VLC form.
In addition, when using less relatively break value, can avoid using escape code commonly used among the 2D-VLC.
It should be noted that use five independently form do not need overhead-bits.
Usually, the method embodiment of elementary mixing VLC method is used for the orderly series of processing digital signal, and the amplitude of each digital signal is taken from amplitude that is occurred by most probable and the limited amplitude that at least one other amplitude constitutes and gathers.This processing is the data volume that is used to represent digital signal in order to reduce, and form such code word, promptly the sequence of the digital signal value that the possibility of Chu Xianing is bigger is represented with relatively short code word, and the sequence of the less digital signal value of the possibility that occurs is represented with relatively long code word.
The general type of elementary mixing VLC method comprises for appearing at each distance of swimming that value in first neighboring region that is limited by breakpoint along the ordering of series is not the continuous signal of the value that occurs of most probable, use first runlength encoding method that the run length of continuous signal is encoded, and form such code word, this code word uses first runlength encoding method that run length is encoded and to the amplitude and the encoding symbols of each signal in the distance of swimming, described breakpoint limits second neighboring region after first neighboring region and first neighboring region.
The general type of elementary mixing VLC method comprises for each distance of swimming that appears at the continuous signal with value that most probable occurs in the first area that is limited by breakpoint, uses second runlength encoding method that the run length of the continuous signal of the value that has most probable and occur is encoded.
The general type of elementary mixing VLC method also comprises encodes to the signal that appears in the second area that is limited by breakpoint, this coding uses the second area coding method, described second area coding method comprises: identify the incident of the distance of swimming of the continuous signal that comprises the value with most probable appearance in the second area, and use the 3rd coding method that the described incident that identifies in the second area is encoded.
First, second and the 3rd coding method comprise variable-length codes, represent the sequence of the value that the possibility that occurs is relatively large to form relatively short code word, and form the sequence that relatively long code word is represented the value that the possibility that occurs is less relatively.
In an embodiment of this method, digital signal series is the quantization parameter series of the video data block after the conversion, and the amplitude that this conversion makes most probable occur is 0.
The alternative coding method that is used for second area (for example along the high-frequency region that sorts) has utilized in high-frequency region range value characteristics seldom, especially for example for low rate encoding and interframe encode.
Consider this point, the invention people that this instructions and 2004 above-mentioned July 22 submit to is Chen etc., denomination of invention is the U.S. Patent application No.10/869 of " AN EXTENDED HYBRID VARIABLELENGTH CODING METHOD FOR LOW BIT RATE VIDEO CODING ", and 654 have described a kind of coding method, a kind of equipment that is used to encode, a kind of method that is used to decode, a kind of equipment that is used to decode and a kind ofly carried code so that processor is carried out the bearing medium of the coding method that comprises this alternative coding method.At first at U.S. Patent application No.10/869, the various embodiment of the coding method of describing in 654 always are called " Extended Hybrid VLC Method (extended hybrid VLC method) " here.
In an embodiment of extended hybrid VLC method, the coding method that is used in the second area considers that nearly all nonzero-value coefficient all is ± 1 in high-frequency region.Not needing amplitude coding to come ending at amplitude is that the distance of swimming of the continuous null value of 1 coefficient is encoded.Comprise that exception (escape) sign indicating number comes those values are not encoded for ± 1 considerably less nonzero-value coefficient.
Usually, extended hybrid VLC method is used for the orderly series of processing digital signal, and the amplitude of each digital signal is taken from amplitude that is occurred by most probable and the limited amplitude that at least one other amplitude constitutes and gathers.This processing is the data volume that is used to represent digital signal in order to reduce, and form such code word, promptly the sequence of the digital signal value that the possibility of Chu Xianing is bigger is represented with relatively short code word, and the sequence of the less digital signal value of the possibility that occurs is represented with relatively long code word.
The general type of extended hybrid VLC method comprises for appearing at each distance of swimming that value in first neighboring region that is limited by breakpoint of the ordering of series is not the continuous signal of the value that occurs of most probable, use first runlength encoding method that the run length of continuous signal is encoded, and form such code word, this code word uses first runlength encoding method that run length is encoded and to the amplitude and the encoding symbols of each signal in the distance of swimming, described breakpoint limits second neighboring region after first neighboring region and first neighboring region.
The general type of extended hybrid VLC method comprises for each distance of swimming that appears at the continuous signal with value that most probable occurs in the first area that is limited by breakpoint, uses second runlength encoding method that the run length of the continuous signal of the value that has most probable and occur is encoded.
The general type of extended hybrid VLC method also comprises encodes to the signal that appears in the second area that is limited by breakpoint, this coding uses the second area coding method, described second area coding method comprises: sign comprises the incident of the distance of swimming of the continuous signal that has the value that most probable occurs in the second area of the value that ends to be not equal to the value that most probable occurs, and uses the 3rd coding method that the described incident that identifies in the second area is encoded.
First, second and the 3rd coding method comprise variable-length codes, represent the sequence of the value that the possibility that occurs is relatively large to form relatively short code word, and form the sequence that relatively long code word is represented the value that the possibility that occurs is less relatively.
In an embodiment of this method, digital signal series is the quantization parameter series of the video data block after the conversion, and the amplitude that this conversion makes most probable occur is 0.
May provide improvement though elementary mixing VLC method is compared for quantization parameters all in the piece all uses a kind of 2D-VLC technology with extended hybrid VLC method, these methods do not consider the dynamic perfromance of changing the piece coefficient most may be not with predetermined coding techniques in the model supposed accurately mate.Dynamic perfromance is meant along with different pieces changes aspect one or more with different images, described aspect comprises that the coefficient in the zone forms the still dispersion of trooping, the continuous distance of swimming that considerable nonzero-value coefficient is arranged in the zone still be major part all be the nonzero-value coefficient of separating, the amplitude of coefficient mainly is several values or even has only value or the like in the zone.
Consider this point, proposed to be applied to the variant of quantization parameter, it comprises the characteristic of determining coefficient itself and utilizes this characteristic information of determining to select coding method.
The invention people that this instructions and 2004 above-mentioned August 3 submit to is Chen etc., denomination of invention is the U.S. Patent application No.10/910 of " VIDEO COMPRESSION USING MULTIPLE VARIABLELENGTH CODING PROCESSES FOR MULTIPLE-CLASSES OFTRANSFORM COEFFICIENT BLOCKS ", and 712 have described a kind of coding method, a kind of equipment that is used to encode, a kind of method that is used to decode, a kind of equipment that is used to decode and a kind ofly carried code so that processor is carried out the bearing medium of coding method.At first at U.S. Patent application No.10/910, the various embodiment of the coding method of describing in 712 always are called " Multiple-class VLC Method (multiclass VLC method) " here.
In one embodiment, multiclass VLC method is used for comprising that the amplitude that most probable occurs and the series of at least one other amplitude encodes.Multiclass VLC method is used to reduce the data volume that is used to represent digital signal, and form such code word, promptly the sequence of digital signal value that the possibility of Chu Xianing is bigger or value is represented with relatively short code word, and the less digital signal value of the possibility that occurs or the sequence of value are represented with relatively long code word.
In great majority were used, this series was the quantization transform coefficient series of image block.The value that most probable occurs is generally 0, and the non-zero magnitude that most probable occurs is generally 1.
In one embodiment, multiclass VLC method comprises according to the amplitude distribution of digital signal series is categorized in the specific class in a plurality of classes that each class has the respective coding process of formation at the code word of series.For the series of certain kinds, this method comprises uses a set of code words that forms series with such corresponding cataloged procedure.This method also is included as formed code word and adds indication with the indication certain kinds.
In an implementation, the video data block after the conversion comprises DC (direct current), and this DC item is encoded separately, and makes that digital signal series is one group of non-DC quantization parameter of the video data block after the conversion.
In one embodiment, classification coefficient of performance series.In a particular version, classification is to select class according to the bit stream of which kind of respective coding process generation maximum compression.
At first the first area method of in elementary mixing VLC method and expansion VLC method, introducing alternately use two kinds independently one dimension variable length decoding method (for example using two independently one dimension VLC forms) come to the continuous nonzero-value coefficient in the low frequency region and continuously zero valued coefficients encode.Thereby the position of quantization transform coefficient and amplitude are encoded respectively.
Notice by with the continuous nonzero-value coefficient in the first area and zero valued coefficients as a pair of and use a two-dimentional form and come can realize the further raising of code efficiency to this a pair of coding.
The invention people that this instructions and 2004 above-mentioned August 18 submit to is Toebes etc., denomination of invention is the U.S. Patent application No.10/922 of " TWO-DIMENSIONAL VARIABLE LENGTH CODING OFRUNS OF ZERO AND NON-ZERO TRANSFORM COEFFICIENTS FORIMAGE COMPRESSION ", and 508 have described a kind of coding method, a kind of equipment that is used to encode, a kind of method that is used to decode, a kind of equipment that is used to decode and a kind ofly carried code so that processor is carried out the bearing medium of coding method.At first at U.S. Patent application No.10/922, the various embodiment of the coding method of describing in 508 always are called " 2-D Nonzero/zero Cluster VLC Method (2-D non-zero/zero troop VLC method) " here.
2-D non-zero/zero proposition of trooping the VLC method is in order to improve code efficiency, for example for low frequency region, and in other embodiments not just at low frequency region.In one embodiment, 2-D non-zero/zero VLC method of trooping is included in the incident that identifies each distance of swimming that comprises one or more nonzero-value coefficient zero valued coefficients distance of swimming before in first neighboring region.This method comprises, for each such incident, with code word the run length of the distance of swimming of one or more nonzero-value coefficient of the zero valued coefficients distance of swimming of front and back is carried out combined coding, make at least for some incident, compare with the relative less run length of possibility occurring, use short code word the relatively large run length of possibility occurring to encoding.This method also comprises encodes to each amplitude in the continuous nonzero-value coefficient distance of swimming, and to the encoding symbols of these coefficients.In improved variant, each incident comprises then zero valued coefficients of nonzero-value coefficient distance of swimming back.
In each method in 2-D non-zero/zero troops VLC method, elementary mixing VLC method and extended hybrid VLC method, all proposed various variable length decoding methods and come formation is trooped or not have the relative position of the conversion coefficient that formation troops to encode.After having carried out this coding, all comprise coding, just as to sign bit (+or-) to the value of each nonzero-value coefficient at every turn.
Be also noted that in VLC that nonzero-value coefficient is trooped coding, the coding of amplitude has been occupied sizable part in the code.Notice, at least in theory, encode rather than use n independent one-dimensional code, can realize improvement the amplitude code by introducing nonzero coefficient that a multidimensional code (as n dimension code, n is the integer greater than 1) troops to n continuous formation.Consider this point, proposed the variant of another kind of hybrid coding.
The invention people that this instructions and 2004 above-mentioned August 18 submit to is Chen etc., denomination of invention is the U.S. Patent application No.10/922 of " VIDEO CODING USING MULTI-DIMENSIONALAMPLITUDE CODING AND 2-D NON-ZERO/ZERO CLUSTER POSITIONCODING ", and 507 have described a kind of coding method, a kind of equipment that is used to encode, a kind of method that is used to decode, a kind of equipment that is used to decode and a kind ofly carried code so that processor is carried out the bearing medium of coding method.At first at U.S. Patent application No.10/922, the various embodiment of the coding method of describing in 507 always are called " BasicMulti-Dimensional Amplitude VLC Method (basic multidimensional amplitude VLC method) " here.
An embodiment of basic multidimensional amplitude VLC method comprises, in the first area, identify each and comprise the incident of the distance of swimming of one or more nonzero-value coefficient, and for each such incident, utilize code word that this incident is encoded, make at least for some incident, with the relative less incident of possibility occurs and compare, use short code word to encode to the relatively large incident of possibility occurring, and for each incident that identifies, a plurality of successive values in the continuous nonzero-value coefficient distance of swimming are carried out combined coding, and this combined coding carries out according to the amplitude coding method.This method makes and forms the sequence that relatively short code word represents to occur relatively large value of possibility or value, and forms the sequence that relatively long code word represents to occur less relatively value of possibility or value.This method can be used for having the zone that forms the nonzero-value coefficient of trooping in the series.
Though basic multidimensional amplitude VLC method has seemed to improve total code efficiency, notices for bigger " n ", the size that is used for the n that n continuous non-zero magnitude value carried out combined coding is tieed up form may become very big.Therefore, in practice, for the realization of reality, the size of n must be restricted to relatively small number of continuous non-zero magnitude values, and for example 1,2 and 3.
Consider this point, proposed another kind of variant.The invention people that this instructions and 2005 above-mentioned February 28 submit to is Chen etc., denomination of invention is the U.S. Patent application No.11/069 of " AMPLITUDE CODINGFOR CLUSTERED TRANSFORM COEFFICIENTS ", and 622 have described a kind of coding method, a kind of equipment that is used to encode, a kind of method that is used to decode, a kind of equipment that is used to decode and a kind ofly carried code so that processor is carried out the bearing medium of coding method.At first at U.S. Patent application No.11/069, the various embodiment of the coding method of describing in 622 always are called " Multi-Table Amplitude VLC Method (multilist amplitude VLC method) " here.
Do not use a multidimensional coding form of trooping at n continuous nonzero-value coefficient, in an embodiment of multilist amplitude VLC method, in sign is trooped each comprise continuous amplitude be 1 coefficient distance of swimming back then amplitude greater than the incident of 1 coefficient.Comprise and have only an amplitude greater than 1 coefficient with have only the incident of the distance of swimming of amplitude 1.For each incident, be the amplitude distribution code word of the run length and the ending coefficient of the distance of swimming of 1 coefficient for amplitude the preceding.Therefore it is trooping of n that two-dimensional encoded form is used to each length, has replaced multidimensional form in the basic multidimensional amplitude VLC method with a plurality of 2-D coding forms of increase gradually.The value of n can increase with the position of breakpoint.
Multilist amplitude VLC method has been utilized following characteristics, in the low frequency region of conversion coefficient sequence, mainly is that amplitude is 1 coefficient in nonzero coefficient is trooped promptly.
Invention described in elementary mixing VLC method and 2-D non-zero/zero VLC method of trooping has proposed the position that various variable length code technology consider to form the conversion coefficient of trooping or disperse.Invention described in basic multidimensional amplitude VLC method and the multilist amplitude VLC method has proposed the amplitude in trooping is carried out Methods for Coding.
Above method has been arranged, also needed a kind of variant, will be in the same place the coded combination of the amplitude of the position of conversion coefficient and conversion coefficient.
The invention people that this instructions and 2005 above-mentioned February 28 submit to is Chen etc., denomination of invention is the U.S. Patent application No.11/069 of " JOINT AMPLITUDE AND POSITION CODING FORPHOTOGRAPHIC IMAGE AND VIDEO CODING ", and 621 have described a kind of coding method, a kind of equipment that is used to encode, a kind of method that is used to decode, a kind of equipment that is used to decode and a kind ofly carried code so that processor is carried out the bearing medium of coding method.At first at U.S. Patent application No.11/069, the various embodiment of the coding method of describing in 621 always are called " Joint Position and Amplitude VLC Method (co-location and amplitude VLC method) " here.
In one embodiment, co-location and amplitude VLC method comprise, for first neighboring region in the series, identify trooping of each one or more continuous signal that comprise any amplitude with the amplitude that is not equal to the most probable appearance, and any intercalary continuous coefficients distance of swimming with value of most probable appearance.This method also comprises, the trooping of signal that is not equal to any amplitude of the amplitude that most probable occurs for each having of identifying identifies one or more position events and limits the trooping and any intercalary relative position and run length with continuous coefficients distance of swimming of the value that most probable occurs of signal that having of identifying is not equal to any amplitude of the amplitude that most probable occurs.This method also comprises trooping for the signal of each any amplitude with the amplitude that is not equal to the most probable appearance that identifies, identify one or more amplitude incidents, these amplitude incident qualification amplitudes are not equal to the amplitude of the continuous coefficients of the amplitude that most probable occurs.This method also comprises carries out combined coding to position event that identifies and the amplitude incident that identifies, to produce at the code word of trooping, make relatively short code word be used to indicate the bigger amplitude of possibility to occur and troop, and relatively long code word is used to indicate and the less relatively amplitude of possibility occurs and troop.
In a described embodiment, the orderly series of digital signal is the quantization parameter sequence of the video data block after the conversion.The amplitude that this conversion makes most probable occur is 0, and secondly the amplitude of most probable appearance is 1.
In quantization parameter, co-location and amplitude VLC method comprise that sign has trooping of at least one nonzero-value coefficient, and for each such trooping, identify at least one position event and identify relative position and the run length that nonzero coefficient is trooped, and identify at least one amplitude incident and limit the non-zero magnitude of nonzero coefficient in trooping.This method also comprises carries out combined coding to position event that identifies and the amplitude incident that identifies, make to form the sequence that relatively short code word represents to occur relatively large value of possibility or value, and form the sequence that relatively long code word represents to occur relatively large value of possibility or value.This method can be applied to be encoded in the zone that may exist nonzero-value coefficient to troop in the series.
Some embodiment as described herein uses the position event according to the 2-D non-zero/the zero VLC method of trooping is encoded.Some embodiment is also as using non-zero magnitude as the amplitude incident in the basic multidimensional amplitude VLC method.Some other embodiment identifies the amplitude incident according to the mode identical with multilist amplitude VLC method.And other embodiment uses amplitude incident in the basic multidimensional amplitude VLC method for some length of trooping, and uses amplitude incident in multilist amplitude VLC method for other length of trooping.
In each method in these methods, breakpoint is restricted to the border between low frequency and the high-frequency region.Best breakpoint in the coding in the frequency spectrum of employed conversion changes with different pictures with different pieces.Pre-determine typical breakpoint by the statistical information of collecting that experimentizes, thereby can utilize predetermined breakpoint about one group of typical piece coefficient.Usually, for high resolving power or high-quality still image coding and low resolution or inferior quality still image coding; Intraframe coding and interframe encode; High bit rate coding method and low rate encoding method; Based on the coding method of the conversion of DCT and coding method of non-dct transform etc., determine different breakpoints.
Though predetermined breakpoint can provide gratifying coding efficiency, best anything but.Various result of experiment show and can further improve the performance of hybrid coder by using best breakpoint.This improvement effect may be to use 25% of improvement effect that predetermined breakpoint obtains.
Therefore, invented a kind of method, be used for determining best breakpoint or near best breakpoint, being defined for according to first (low frequency) zone and second (high frequency) zone of carrying out hybrid coding someway in the hybrid coding method as described herein above-mentioned.
A kind of method of seeking best breakpoint (representing with N) here is to carry out exhaustive-search in all possible breakpoint, for example carries out coding 63 times for 8 * 8 piece transfer pair picture, to attempt different breakpoints, promptly attempts N=1,2 ..., 63.By the length of more resulting code word at piece, find best N and at the code word of this best N.This method is very consuming time, therefore unlikely practical application.
Therefore, need a kind of more high-efficiency method to determine best or approaching best breakpoint.
Consider this point, proposed another kind of variant.The invention people that this instructions and 2005 above-mentioned February 28 submit to is Wu etc., denomination of invention is the U.S. Patent application No.11/069 of " ADAPTIVE BREAKPOINTFOR HYBRID VARIABLE LENGTH CODING ", and 620 have described a kind of coding method, a kind of equipment that is used to encode, a kind of method that is used to decode, a kind of equipment that is used to decode and a kind ofly carried code so that processor is carried out the bearing medium of coding method.This method comprises determines best breakpoint.At first at U.S. Patent application No.11/069, the various embodiment of the coding method of describing in 620 always are called " AdaptiveBreakpoint Method (self-adaptation breakpoint method) " here.
An embodiment of self-adaptation breakpoint method comprises that establishing breakpoint along the ordering of series limits first neighboring region and second neighboring region, the trooping of continuous signal that makes its value be not equal to the value of most probable appearance appears in first neighboring region mostly, the statistical information that calculates according at least one subclass in a plurality of subclass is used in described establishment, and this statistical information is that a plurality of series of signals that its value is not equal to the value that most probable occurs appear at the position along ordering in the trooping of continuous signal that its value is not equal to the value that most probable occurs.For each series in a plurality of series, use the first area coding method that the signal in the first area is encoded, and use the second area coding method that the signal in the second area is encoded.First area and second area coding method comprise variable-length codes, make to form relatively short code word and represent the sequence of the value that the possibility that occurs is relatively large, and form the sequence that relatively long code word is represented the value that the possibility that occurs is less relatively.
In this manual, each digital signal series is the quantization parameter series of the video data block after the conversion of image, and the amplitude that this conversion makes most probable occur is 0.
In a kind of version, series is divided into zone more than two by breakpoint with at the extra breakpoint in each zone that comprises second area, and in this version, utilization is different from the respective coding method that is used in the coding method of using in other zone the signal that appears in each additional areas that is limited by corresponding extra breakpoint is encoded.
In certain embodiments, establish breakpoint and comprise, the number of the series of coefficient in trooping at this some place is wherein counted for every bit along ordering.
In one embodiment, establish breakpoint and comprise definite threshold point, make that the most of coefficient in trooping appears at this threshold point point place before, and only before threshold point, seek near best breakpoint.For example, threshold point is the specified point along ordering, and the count value of number that has the series of coefficient at this some place drops to below the ratio of selecting in advance of series sum.
In a version, establish near best breakpoint and comprise the length of determining at the coded data of a plurality of series from the breakpoint to the threshold point, and select to produce the breakpoint of short coded data.
In another version, establish breakpoint and comprise that the slope of count value of determining wherein to be in the number of the nonzero coefficient in trooping up to threshold point along ordering is peaked point.
According to embodiment and claims, can clearly understand others, feature and variant.
Description of drawings
Fig. 1 shows the 2-D VLC method that how realizes prior art by table lookup.
How Fig. 2 shows the 2-D VLC variant of realizing being called as the common prior art of 3D-VLC by table lookup.
Fig. 3 shows the simplified flow chart of an embodiment of hybrid coding method.
Fig. 4 shows the process flow diagram of an embodiment of hybrid variable length coding (VLC) method, this method is included in the first area encodes to nonzero coefficient is trooped and zero valued coefficients is trooped position and length, and comprise nonzero-value coefficient trooped in the amplitude of coefficient encode.
Fig. 5 shows the simplified block diagram of an embodiment of the equipment that quantization transform coefficient series is encoded.
Fig. 6 shows the decoding device according to the embodiment of the invention.
Fig. 7 shows the simplified block diagram of an embodiment of the equipment that quantization transform coefficient series is encoded.
Fig. 8 shows the decoding device according to the embodiment of the invention.
Fig. 9 shows the encoding device that comprises disposal system and storer according to the embodiment of the invention.
Figure 10 shows the decoding device that comprises disposal system and storer according to the embodiment of the invention.
Figure 11 shows the process flow diagram of method embodiment of the present invention.
Figure 12 shows the process flow diagram of method embodiment, this method embodiment comprise classification, by each respective coding process a plurality of are encoded and comparative result to select to provide the method for optimal compression.
Figure 13 shows a kind of process flow diagram of implementation of the embodiment of Figure 12, wherein coefficient series is sequentially used the respective coding process.
Figure 14 shows the process flow diagram of alternative implementation of the embodiment of Figure 12, wherein coefficient series is used the respective coding process concurrently.
Figure 15 shows the form according to the incident statistical information of the 2-D VLC method of prior art.
Figure 16 shows the code table according to the coding incident of the 2-D VLC method of prior art.
Figure 17 A-17D shows the form that illustrates respectively according to the Event Example of the embodiment of the invention.Among the figure, " x " represents nonzero value.
Figure 18 shows the form of statistical information of following the event collection of the nonzero-value coefficient distance of swimming according to embodiments of the invention at zero or a plurality of zero valued coefficients distances of swimming back.
Figure 19 shows the form of variable-length codes of following the incident of the nonzero-value coefficient distance of swimming according to embodiments of the invention at zero or a plurality of zero valued coefficients distances of swimming back.
Figure 20 A-20F shows the form that illustrates respectively according to the Event Example of improvement embodiment of the present invention, and in described improvement embodiment, the incident that the nonzero-value coefficient distance of swimming is followed in zero valued coefficients distance of swimming back comprises the zero valued coefficients of back.This incident is deleted letter and is no more than 12 continuous coefficients for covering.
Figure 21 shows according to the distance of swimming back of following nonzero-value coefficient at zero or a plurality of zero valued coefficients back of the embodiment of the invention then form of the statistical information of the collected or hypothesis of the incident of a zero valued coefficients again.
Figure 22 shows according to the distance of swimming back of following nonzero-value coefficient at zero or a plurality of zero valued coefficients back of the embodiment of the invention then form of the variable-length codes of the incident of a zero valued coefficients again.
Figure 23 shows the form of actual count information of the first area of sample image, and described first area has the breakpoint 12 that forms soft border.Attention incident skip is identical with incident R (12,0).
Figure 24 shows the process flow diagram of an embodiment of hybrid variable length coding (VLC) method, and this embodiment does not comprise the multidimensional amplitude coding to a plurality of amplitudes in the nonzero-value coefficient distance of swimming.
Figure 25 shows the process flow diagram of an embodiment of hybrid variable length coding (VLC) method, and this embodiment comprises the associating multidimensional coding to a plurality of amplitudes in the nonzero-value coefficient distance of swimming.
Figure 26 A, 26B and 26C show respectively according to an aspect of the present invention, at the one dimension amplitude code table of an amplitude, at the two-dimentional amplitude code table of the amplitude of two continuous coefficients and at the three-dimensional amplitude code table of the amplitude of three continuous coefficients.
Figure 26 D shows the similar three-dimensional amplitude code table with Figure 26 C, and Figure 26 D has used the substitution coefficient amplitude to arrange to each 2D form.
Figure 27 shows the process flow diagram of an embodiment of hybrid variable length coding (VLC) method, and this embodiment comprises according to the coding of one aspect of the invention to a plurality of amplitudes in the nonzero-value coefficient distance of swimming.
Figure 28 shows in the distance of swimming of n non-zero coefficient amplitude the form of the rela-tive likelihood that 1 the distance of swimming occurs.
Figure 29 shows at the code table that ends in the continuous distance of swimming of non-zero coefficient amplitude continuously at n greater than the incident of 1 the distance of swimming of 1 amplitude.
Figure 30 shows according to the code table sequence of one aspect of the invention at the incident of sign in the trooping of the continuous nonzero-value coefficient of different length.
Figure 31 shows the process flow diagram of an embodiment of hybrid variable length coding (VLC) method, this embodiment comprise to nonzero-value coefficient troop and the position of trooping and the length of zero valued coefficients is encoded, amplitude in the nonzero-value coefficient distance of swimming is encoded, and, utilize the combined coding form of position code and amplitude code to be encoded in position and amplitude according to one aspect of the invention.
Figure 32 shows the process flow diagram of one or more aspects establishment according to the present invention near an embodiment of the method for best breakpoint.
Embodiment
As described herein is the equipment that variable length decoding method and being used for is encoded to the coefficient in transform domain that appears at video coding.Expect that this coding method is the same good with traditional 2D-VLC coding at least.This method is hopeful to be used to replace existing 2D-VLC coding method.The equipment that a kind of coding/decoding method and being used at variable length decoding method is decoded to the coefficient in transform domain behind the coding that appears at the video coding has also been described here.
Generally speaking, the present invention relates to the orderly series of the digital signal that has the amplitude that is taken from the set of limited range value is separately encoded.Each signal also can have symbol (promptly just or negative).The set of range value comprises amplitude and at least one other amplitude that a most probable occurs.Application discussed herein is at the orderly series of signal, the orderly series of this signal is to carry out conversion by the conversion such as DCT or some other common conversion, be quantized into a limited number of value again, then the ordered set of the quantization parameter value of the video data block that after predetermined path (for example Z font path) ordering, obtains.The order that the ordering of series normally increases progressively according to spatial frequency.In most of image applications, the value that most probable the occurs value of frequent appearance (for example) is generally 0.
We notice the extra statistical information of being ignored in the variable length decoding method of prior art.Often in low frequency region, form more along the nonzero value quantization transform coefficient in path and to troop, and in high-frequency region, disperse more.In other words, compare with higher spatial frequency, the nonzero value distance of swimming more may appear in the lower spatial frequency.
One aspect of the present invention is to use breakpoint to limit first area (for example zone before the breakpoint) and second area (for example zone after the breakpoint) along the ordering of series.Therefore, for example for 8 * 8 piece, breakpoint can be located between 21 and 22, makes 21 coefficients of front in the orderly series in the first area, and in order in the series since 43 coefficients in back of the 22nd coefficient in second area.Breakpoint itself also can be in the zone.Therefore, for example for 8 * 8 piece, breakpoint can be located at 22 places, makes 21 coefficients in front in the orderly series in the first area, and in order in the series since 43 coefficients in back of the 22nd coefficient in second area.In addition, breakpoint can limit the mode that forms the zone, but may be not with first and second zones between actual boundary corresponding.Vide infra to the soft border that limits by identical breakpoint and the description of bounds.
Fig. 3 shows the simplified flow chart of hybrid coding method 300.In 301, provide breakpoint to limit first area and second area along the ordering of coefficient.One aspect of the present invention is the selection of breakpoint.
Another aspect of the present invention is how encoded in two zones that breakpoint limited.In 303, utilize the first area coding method that the data that appear in the first area are encoded, and in 305, utilize other method (second area coding method) that the data in the second area are encoded.
In a version, breakpoint limits the bounds between first and second zones, for example makes continuous nonzero-value coefficient sequence through breakpoint be counted as first sequence till breakpoint and second sequence after the breakpoint.In another version, breakpoint limits soft border, makes to start from before the breakpoint and be counted as appearing at the sequence in the first area through any successive value (for example continuous null value or continuous nonzero value) sequence of breakpoint.For the piece of such sequence that comprises this process breakpoint, effectively the border starts from after the EOS, makes the efficiency frontier that is limited by breakpoint to change along with the difference of sequence.
Elementary mixing VLC method
Nonzero-value coefficient in the first area may form troops.Thereby, the distance of swimming may appear.Encode to each nonzero-value coefficient distance of swimming (generally being each distance of swimming with coefficient of other values the value that occurs except that most probable) in an aspect according to the first area coding method of elementary mixing VLC method.An aspect at the elementary mixing VLC method of first area uses first runlength encoding method that the run length of the distance of swimming is encoded, and the sequence of the amplitude in the distance of swimming is encoded, and comprises symbol.Each zero valued coefficients distance of swimming (generally being each distance of swimming with coefficient of the value that most probable occurs) second length coding method that is used is encoded.Therefore, in the first area, be used alternatingly two class run length codes.
Fig. 4 shows the process flow diagram of an embodiment of hybrid variable length coding (VLC) method 400, this method is included in that the ordering along series provides breakpoint to limit the first area in 301, for example wherein nonzero coefficient may form the low frequency region of trooping, and second area, for example wherein nonzero coefficient may disperse and in shown version nonzero coefficient may mainly be that amplitude is the high-frequency region of 1 coefficient.
In 403, incident is identified, and each incident identified, and described incident comprises first kind of incident, i.e. the distance of swimming (being called as " trooping ") and second kind of incident of nonzero-value coefficient continuously, the i.e. distance of swimming of zero valued coefficients continuously.In one embodiment, in 405, provide different coding methods to come to be encoded in the position of zero valued coefficients and nonzero-value coefficient.The run length that elementary mixing VLC method is trooped for the run length and the nonzero-value coefficient of zero valued coefficients provides independent code word.These codes comprise the variable-length codes of utilizing statistical information hypothesis or actual to determine.Therefore, step 403 has identified the run length of continuous zero valued coefficients and nonzero-value coefficient, and step 405 utilizes first and second runlength encoding methods that the run length of continuous nonzero value and continuous null value is encoded respectively.
In 407, use the first amplitude coding method that the amplitude in each the non-zero magnitude distance of swimming in the non-zero run-length in the first area is encoded.In the embodiment of elementary mixing VLC method, use the first amplitude coding method, for example use the variable-length codes of utilizing code table to obtain, each amplitude is encoded separately.
In the first area, represent the individual distance of swimming of nonzero coefficient continuously of the n that identifies with r (n), and use r ' (z) to represent the individual distance of swimming of zero valued coefficients continuously of the z that identifies, n, z=1,2 ....Consider a incident with r (n) expression, with m (1), m (2) ... each non-zero magnitude among m (n) the expression r (n).Represent the incident r (n) that use first runlength encoding method obtains with C (n), n=1,2, ... in the variable length codeword of run length of nonzero-value coefficient, and use C ' (z) to represent to use incident r ' that second runlength encoding method obtains (z), z=1,2 ... in the variable length codeword of run length of zero valued coefficients.With A (m) expression to the amplitude m among the nonzero-value coefficient distance of swimming r (n), m=1,2 ... amplitude coding; And with S (1), S (s) ... first, second in expression r (n) ... the sign bit of n nonzero-value coefficient.Then according to embodiment described in elementary mixing VLC method, to being encoded to of incident and corresponding non-zero magnitude:
C(n)+A(m(1))+S(1)+A(m(2))+S(2)+...+A(m(n))+S(n)+C′(z),
Wherein+expression serial connection (concatenation).
First area coding in the elementary mixing VLC method
In more detail, in one embodiment, in 405, the code word of the continuous coefficients distance of swimming in the first area starts from the code word of first coding method, and replaces between first coding method and second coding method.In order to be that first distance of swimming of being run into is that the situation of zero the distance of swimming is prepared, a code word in the code word of first coding method is specific code word, first distance of swimming that is run into indication is the zero distance of swimming really, makes the code word of second method follow after this certain code word of first method.
Following form 3 and form 4 show respectively respectively at the distance of swimming of n continuous nonzero-value coefficient and two run length code table of the distance of swimming of continuous zero valued coefficients, wherein C (n) and C ' (z) respectively expression use that first and second coding methods obtain respectively at n the distance of swimming of nonzero-value coefficient and z the code of the distance of swimming of zero valued coefficients continuously continuously, wherein z is a run length: z=1,2 ....
Form 3
Run length 1 2 3 4 5 6 .
Code C(1) C(2) C(3) C(4) C(5) C(6) .
Form 4
Run length 1 2 3 4 5 6 .
Code C′(1) C′(2) C′(3) C′(4) C′(5) C′(6) .
As example, suppose in the first frequency zone to start from along the orderly series of the quantization parameter in ordering path:
232-1012001-1100...
In order to determine run length, this series can be written as:
xxxx0xx00xxx00...
Wherein x represents any nonzero-value coefficient, 0 expression zero valued coefficients.
With r (n) expression n the distance of swimming of nonzero coefficient continuously, and use r ' (z) represent the distance of swimming of the individual continuous zero valued coefficients of z.Then the ordered sequence of this example starts from:
r(4)r′(1)r(2)r′(2)r(3)r′(2)...
To run length and can not be written as the amplitude of this pattern result who obtains that encodes:
C(4)C′(1)C(2)C′(2)C(3)C′(2)...
In 407, in order to finish the first area coding method, with having of being comprised of the code word of each nonzero-value coefficient distance of swimming at the code word of each amplitude in the distance of swimming and may be for just also being extra of the symbol of each coefficient of negative conversion (for example Chang Yong dct transform) at coefficient.In one embodiment, use variable-length codes that each amplitude is encoded, and use sign bit each encoding symbols.With A (i), i=1,2,3 ... represent respectively at amplitude i=1,2 ... variable-length amplitude code, use S +And S -Represent sign bit code respectively at positive coefficient and negative coefficient, and with+represent to be connected in series.Then above exemplary sequence is encoded as:
[C(4)+A(2)+S ++A(3)+S ++A(2)+S ++A(1)+S -]+C′(1)+
[C(2)+A(1)+S ++A(2)+S +]+C′(2)+
[C(3)+A(1)+S ++A(1)+S -+A(1)+S +]+C′(2)...
In one embodiment, suppose that series starts from the distance of swimming of one or more nonzero-value coefficient.Therefore, the code word that always obtains of first code word according to first runlength encoding method.When starting from the distance of swimming of one or more null values, series comprises that a code indicates employed first code to be the code at zero the distance of swimming.In such embodiments, the DC composition is sent separately, makes that first coefficient in the first area is along first non-DC coefficient that sorts.
Therefore, for example be illustrated in and indicate the first area to start from the code word of the distance of swimming of one or more zero valued coefficients in the first length runs coding method, suppose that the coefficient series in the first area starts from RP:
0232-1012001-1100...
In one embodiment, the code word at this first area is:
RP+C′(1)+[C(4)+A(2)+S ++A(3)+S ++A(2)+S ++A(1)+S -]
+C′(1)+[C(2)+A(1)+S ++A(2)+S +]+C′(2)+
[C(3)+A(1)+S ++A(1)+S -+A(1)+S +]+C′(2)...
In another embodiment, in first runlength encoding method, comprise the code word that does not have nonzero value in the indication series.In another embodiment, such code word is used to also indicate that all remaining coefficients all are zero in the first area.This code word here is called as and jumps to border (skip-to-boundary) (SKP).
Second area coding in the elementary mixing VLC method
In second area, the step 409 in the method 400 and 411 has been described the coding method that the orderly coefficient series of remainder is encoded.
In one embodiment, in second area, use the second area coding method, it has considered the appearance of the zero valued coefficients distance of swimming.An embodiment of the second area coding method in the elementary mixing VLC method is included in the incident of the distance of swimming that identifies the continuous signal that comprises the value (for example zero valued coefficients in the second area) with most probable appearance in the step 409, and in step 409, use the 3rd coding method that the incident that identifies in the second area is encoded.Specifically, step 409 comprises the distance of swimming that identifies zero valued coefficients, and step 411 comprises and uses the 3rd runlength encoding method that the run length of each zero valued coefficients distance of swimming is encoded, described the 3rd run length coding, RLC provides code for each distance of swimming, the for example code of representing by the run length form shown in the following form 5, wherein C " (z), z=0; 1; 2 ... expression is used for run length code that the run length of z continuous 0 is encoded, z=0; 1 ...
Form 5
Run length 0 1 2 3 4 5 6 .
Code C″(0) C″(1) C″(2) C″(3) C″(4) C″(5) C ″(6) .
One aspect of the present invention is to use ending code (representing with EOB) to represent that coefficient remaining in the second area all is zero here.
In addition, in 409, identified by the non-zero coefficient amplitude in the second area between the null value distance of swimming incident that identifies.In 411, use the second amplitude coding method that the amplitude of each such nonzero-value coefficient is encoded, and to the encoding symbols of such nonzero-value coefficient.
As example, suppose at the orderly series along the quantization parameter of predefined paths of second area to be:
0001001-100000100...0
This series can be written as:
000x00xx00000x00...0
Wherein x represents any nonzero-value coefficient, 0 expression zero valued coefficients.
Use r " (z) represent the individual distance of swimming of zero valued coefficients continuously of z in the second area, z=0,1,2 ....In one embodiment, the front of supposing each nonzero-value coefficient in the series of second area does not have zero valued coefficients or the distance of swimming of one or more zero valued coefficients is arranged, generally speaking be exactly " distances of swimming of zero or a plurality of continuous zero valued coefficients ", thereby make that second nonzero-value coefficient in two continuous nonzero-value coefficient is the distance of swimming (i=0) that does not have zero valued coefficients before.Exemplary zero distance of swimming ordered sequence in the above-mentioned second area can be written as:
r”(3)r”(2)r”(0)r”(5)EOB
Wherein to be used to indicate remaining coefficient all be 0 to EOB, and be appreciated that wherein a nonzero-value coefficient is arranged between each distance of swimming of 0 just.The code of form 5 is used for run length, and the result that the distance of swimming in the series of second area is encoded is:
C”(3)C”(2)C”(0)C”(5)EOB
If the quantization parameter of the specified path in the second area is the value more than or equal to 1, then in one embodiment, cataloged procedure comprises the variable-length amplitude code that the amplitude of nonzero-value coefficient is encoded after the run length code, and comprises symbol code at the nonzero-value coefficient after zero the distance of swimming.Use A " (k), k=1,2,3 ... represent respectively at amplitude 1,2 ... variable-length amplitude code, use S +And S -Represent sign bit code respectively at positive coefficient and negative coefficient, and with+represent to be connected in series.Then the exemplary sequence of above-mentioned second area is encoded as:
[C″(3)+A″(1)+S +]+(C″(2)+A″(1)+S +)+[C″(0)+A″(1)+S -]
+[C″(5)+A″(1)+S +]+EOB
Note in one embodiment, at the second amplitude coding method that appears at the quantization parameter amplitude in the second area (value A " (k), k=1; 2 ...) be different from first amplitude coding that appears at the quantization parameter amplitude in the first area (value A (i), i=1; 2 ...).For example, for typical image, the amplitude in the expection second area (for example high-frequency region) mainly is than the lower value of amplitude that appears in the first area (for example low frequency region).
The alternative code of second area in the elementary mixing VLC method
Employed coding method comprises that sign comprises the incident of the zero valued coefficients distance of swimming in the second area, and uses the 3rd coding method that incident is encoded.A top embodiment uses the 3rd runlength encoding method separately the zero valued coefficients distance of swimming in the series in the second area to be encoded, and then range value is encoded.In alternate embodiment, use traditional 2D-VLC to identify the incident that comprises the zero valued coefficients distance of swimming and a nonzero-value coefficient, and use 2D-VLC that such incident is encoded, for example use the 2D coding form, the form 2 that utilizes the amplitude in the second area more than for example and obtain in the statistical information of the distance of swimming of the leading zero form of form 1 (for example with).In another embodiment, the 2D-VLC form is deleted letter, makes the distance of swimming of the zero distance of swimming length afterwards and/or bigger amplitude use fixed length code rather than variable-length codes.In such version, use the escape code back then then to replace variable-length codes in the variable-length codes completely again at the fixed code of amplitude and symbol at the fixed code back of the run length of zero valued coefficients the preceding.
Other variant also is fine.For example, can use the variant that is called as three-dimensional VLC (3D-VLC) sometimes.The PCT patent that is called PICTURE DATAENCODING METHOD referring to the name of announcing September 16 in 1993 is announced WO 9318616.In 3D-VLC, each symbol (" incident ") is a tlv triple, comprises whether the current non-zero magnitude value of indication is the scale-of-two input marking of last nonzero coefficient in the piece.
The sample code form of elementary mixing VLC method: run length code
Run length code at first runlength encoding method, second runlength encoding method and the 3rd runlength encoding method of run length can be arithmetic code or Huffman variable-length code (VLC).Can check dissimilar images by experiment, and at the statistical information of these image collection about the different run lengths that will encode.Then can be based on these statistical information allocation of codes.
Following form 6 shows according to the embodiment of first runlength encoding method at the code of the nonzero-value coefficient distance of swimming in the first area that appears at rest image and I picture.This form hypothesis breakpoint (is got rid of the DC coefficient) at 11 places, therefore includes only 11 continuous nonzero values.Notice that this form comprises the particular code at the incident that is called as RP, its indication form starts from the distance of swimming of one or more zero valued coefficients, rather than nonzero-value coefficient.Be also noted that with much forms are the same the DC composition (first) of form 6 hypothesis series is encoded separately, this is common in a lot of VLC methods.Therefore, mean that first element is first non-DC value.
Form 6: at the code of the non-zero run-length in the first area
Cluster mode Huffman code Code length
x 0 1
xx 100 3
xxx 1010 4
xxxx 10111 5
xxxxx 110111 6
xxxxxx 1011001 7
xxxxxxx 10110000 8
xxxxxxxx 110101010 9
xxxxxxxxx 10110001 8
xxxxxxxxxx 1101010111 10
xxxxxxxxxxx 1101010110 10
skip_MB 1100 4 (pieces that do not have information)
RP 111 3 (using R ' from now on)
Can be at breakpoint greater than 11, for example breakpoint is in 22 the form, and at breakpoint for our alleged " soft " thus breakpoint allows to exist the form of the situation of the distance of swimming that extends beyond breakpoint, in one embodiment, the unique escape code that is represented as ESC1 is here used in first coding method, the fixed length code at the length of the distance of swimming is followed in the back, for example be used to adapt to the most nearly 5 codes of the distance of swimming of 32 continuous nonzero values, perhaps be used to adapt to the most nearly 6 codes of the distance of swimming of 64 continuous nonzero values.Using for the ESC1 code under 6 the situation, for the length of code being used 5 and 6 codes respectively, it is long to be at most 11 or 12 at the code word of the length of the nonzero coefficient distance of swimming in the first area.
Following form 7 shows according to the embodiment of second runlength encoding method at the code of the distance of swimming of zero in the first area that appears at rest image and I picture.Still suppose that breakpoint is fixing breakpoint 11.
As with the corresponding form of first runlength encoding method in, can be at breakpoint greater than 11, for example breakpoint is in 22 the form, and for being adapted to " soft " thus allow there is the form of the distance of swimming that extends beyond breakpoint in breakpoint, in one embodiment, the unique escape code that is represented as ESC2 is here used in second coding method, the fixed length code at the length of the distance of swimming is followed in the back, for example be used to adapt to the most nearly 5 codes of the distance of swimming of 32 continuous null values, perhaps be used to adapt to the most nearly 6 codes of the distance of swimming of 64 continuous nonzero values.
Form 7: at the code of the zero distance of swimming in the first area
Cluster mode Huffman code Code length
0 0 1
00 101 3
000 1001 4
0000 10001 5
00000 100001 6
000000 1000001 7
0000000 10000001 8
00000000 100000001 9
000000000 1000000001 10
0000000000 10000000001 11
00000000000 10000000000 11
EOB 111 3
Notice that form 7 comprises that it all is zero that the EOB code is indicated the remainder of series.
Below form 8 show the embodiment according to the code table of the 3rd runlength encoding method of the zero range coefficient distance of swimming in the second area that can be applicable to appear at rest image and I picture.
Form 8: at the code of the zero distance of swimming in the second area
Run length Code Code length
0 111 3
1 101 3
2 1001 4
3 1100 4
4 0101 4
5 0100 4
6 100011 6
7 1000101 7
8 10000010 8
9 100010010 9
10 10000000 8
11 10000001 8
12 1000100110 10
13 1000001100 10
14 or more The ESC3+6 bit length 12
EOB 00 2
Wherein ESC3 is an escape code, and its indication back is at 6 codes of length greater than the run length of 13 the distance of swimming.In one embodiment, ESC3 is 6 codes, and uses 6 to come the run length of null value is encoded after the ESC3 code.Therefore, code can be above 12.
The sample code form of elementary mixing VLC method: amplitude code
In one embodiment, two kinds of amplitude code A (i), i=1,2 ... and A " (k), k=1,2 ... be respectively to be the code that one group of typical image is determined by experiment by the statistical information of determining the non-zero magnitude in present first and second zones.An embodiment of each in the amplitude form in first and second zones is shown following form 9 and form 10 respectively.Each form in these forms all utilizes typical rest image to determine.Each form comprises the code word of amplitude (as symbol), this amplitude and the length of code word.Also show the frequency of occurrences and for the total bit of typical rest image.
In form 9, utilize 6 escape codes add at amplitude and symbol 7 come to 16 or higher amplitude encode.Alternate embodiment is used the coding form with 63 clauses and subclauses that symbol and amplitude are encoded simultaneously.
In form 10, the amplitude greater than 16 may appear in second area hardly, therefore do not comprise code for such higher amplitude.In alternate embodiment, comprised relatively long code for the amplitude greater than 16 that may appear under the abnormal conditions.
Form 9: the amplitude code in the first area
Figure A20058001945701021
Form 10: the amplitude code in the second area
Figure A20058001945701031
The equipment that is used for elementary mixing VLC method
Being on the other hand of elementary mixing VLC method invention is used for equipment that digital signal series (for example orderly series of the quantization parameter of the video data block after the conversion) is encoded.
Fig. 5 shows an embodiment who is used for the equipment of encoding according to above-mentioned VLC form.An embodiment uses three lookup table, for example is stored in above table 6, form 7 and form 8 in the storer 506.Counter 508 in the event recognition device 502 is counted number of coefficients according to the order of series, thereby by determining that coefficient is to inform before the breakpoint or after breakpoint that event recognition device 502 incidents are in the first area or at second area, described breakpoint also is stored in the storer 506.Event recognition device 502 is determined the run lengths of zero range coefficients continuously, the run length of the continuous distance of zero mark degree amplitude in the time of in the first area and the run length of zero range coefficient continuously in second area the time.For the first area, zero run length (a plurality of zero or do not have zero) is transmitted with amplitude (0 or non-zero).In one embodiment, when also transmit code is worth in second area with indication.These outputs of event recognition device 502 are imported in the scrambler 504, and in one embodiment, scrambler 504 comprises that the equipment of searching is to search suitable in employed five a code table form.
Though the embodiment shown in Fig. 5 has the storer 506 of the store look-up tables lattice that are separated with the equipment of searching, in another embodiment, the equipment of searching comprises the storer that is used for the storage code form.
The alternate embodiment of Fig. 5 comprises in the code that event recognition device 502 is generated whether about coefficient be the indication of last coefficient in the piece.This provides a kind of PCT patent of mentioning of being similar to announce the expansion to traditional 3-D VLC described in the WO 9318616 in the above.
Elementary mixing VLC method invention be a kind of equipment that is used for utilizing any new method bitstream encoded described here to decode on the other hand.Fig. 6 shows an embodiment of this equipment.Code word recognizer 602 receives each position in the bit stream, and discerns the code word in one group of possible code word representing an incident separately.The code word recognizer determines code word is from which form in five coding forms.Demoder 604 is coupled to code word recognizer 602, and determines the data at the code word of being discerned by the code word recognizer, for example the run length of non-zero, zero run length, symbol etc.In one embodiment, demoder 604 comprises the equipment of searching, and it searches the suitable decoding form that is stored in the storer 606.This form provides incident at least some code words in the Codeword Sets.Other code word can comprise escape code, thereby can use the method that is different from the table lookup method to decode.In one embodiment, bit stream is stored in the impact damper 608, and the output of impact damper is coupled to the code word recognizer.
Though in the embodiment shown in Fig. 6, storer is illustrated as and the equipment of searching is separated, those skilled in the art should be understood that in other alternative embodiments that the equipment of searching comprises table memory, and comprises other such embodiment here.
Attention is in Fig. 5, and the event recognition device and the equipment of searching can be used as the one group of instruction that is stored in the storer (for example storer 506) and realizes on computers that respectively described instruction indicates one or more processors to carry out identification and search operation.
Be also noted that in Fig. 6 the code word recognizer and the equipment of searching can be used as the one group of instruction that is stored in the storer (for example storer 606) and realizes on computers that respectively described instruction indicates one or more processors to carry out identification and search operation.
The storer that is a kind of memory encoding data structure on the other hand (for example storer among Fig. 5 506) of elementary mixing VLC method invention, described data structure provides code word according to the group that is described as one or more coefficients of any new coding method described here.In one embodiment, this data structure is taked the form of one or more forms.
Elementary mixing VLC method invention be a kind of storer (for example storer among Fig. 6 606) of storing decoding data structure on the other hand, described data structure provides the data at arbitrary set of code words of discerning in the bit stream of compressing image data.Described bit stream is utilized any new coding method described here and encodes.In one embodiment, this data structure is taked the form of one or more forms.
Therefore, described and be suitable for variable length decoding method that the quantization transform coefficient that appears at the image block in the common method for compressing image is encoded.
An embodiment of elementary mixing VLC method uses five independently forms: two run length code table that are used for first and second runlength encoding methods, be used in the first amplitude code table in the first area, the second amplitude code table that is used for another run length code table of the 3rd runlength encoding method and is used in second area.
The extended hybrid VLC method that is used for second area
One aspect of the present invention of describing in extended hybrid VLC method is, in second area, uses the second area coding method, and it has considered that the amplitude that ends at is the appearance of the zero valued coefficients distance of swimming of 1 coefficient.More generally, this aspect has considered that a secondly situation of the amplitude of most probable appearance is followed in the distance of swimming back of the value of most probable appearance in the series.The second area coding method of extended hybrid VLC method comprises that sign comprises the incident of the distance of swimming of the continuous signal (for example zero valued coefficients in the second area) with value that most probable occurs of the amplitude that ends at next most probable and occur (for example 1), and uses the 3rd coding method that the incident that identifies in the second area is encoded.
An embodiment of the second area coding method of extended hybrid VLC method comprises, beginning from second area, sign ends at the distance of swimming of the zero valued coefficients of non-zero coefficient amplitude, and use the 3rd runlength encoding method that the run length of the distance of swimming that each ends at the zero valued coefficients of non-zero magnitude is encoded, described the 3rd runlength encoding method provides code for each distance of swimming, the code of representing by the run length form shown in the following form 11 for example, C wherein " ' (i); i=0; 1; 2 ... expression is used for run length code that the run length that ends at 1 i continuous 0 is encoded.
Form 11
Run length 0 1 2 3 4 5 6 ... Esc
Code C′″(0) C′″(1) C′″(2) C′″(3) C′″(4) C′″(5) C′″(6) ... ESC′″
Form 11 has comprised that also it is not the situation (for example its amplitude is greater than 1) of the amplitude that occurs of next most probable that code is indicated the non-zero magnitude of ending, and promptly the distance of swimming is to end at the situation of the continuous coefficients with amplitude that most probable occurs (for example 0) that amplitude is not the coefficient (for example its amplitude is greater than 1) of the amplitude that occurs of next most probable.Because this incident is considered to unlikely occur, so we are referred to as " exception ".In form 11, exception is represented as Exc.An aspect according to extended hybrid VLC method utilizes code word that this exception is encoded, and just looks like to end at 10 distance of swimming back then second escape code (be represented as ESC " ') back is then the same to the coding of amplitude again.
It all is 0 that another aspect of the present invention is to use ending code (being represented as EOB here) to indicate coefficient remaining in the second area.
As example, suppose to be along the orderly series of the quantization parameter of the predefined paths of second area:
0001002-100000100...0
Use r " ' (i) expression i the distance of swimming of zero valued coefficients continuously that ends at amplitude 1, and use r " ' (i)+Exc represents to end at the distance of swimming greater than i continuous zero valued coefficients of 1 non-zero magnitude, i=0,1,2 ....In one embodiment, suppose be the distance of swimming of zero valued coefficients before each nonzero-value coefficient in the series of second area that therefore second coefficient in two continuous nonzero-value coefficient is the distance of swimming (i=0) of nonzero-value coefficient before.Then the distance of swimming of the series of second area can be written as:
r″′(3)(r″′(2)+Exc)r″′(0)r″′(5)EOB
Wherein to be used to indicate remaining coefficient all be 0 to EOB, and be appreciated that wherein a nonzero-value coefficient is just arranged between each distance of swimming of 0.If the quantization parameter of the specified path in the second area is the value greater than 1, then in one embodiment, cataloged procedure comprises the variable-length amplitude code that the amplitude of nonzero-value coefficient is encoded after run length code and exception code, and at the symbol code of the nonzero-value coefficient after 0 the distance of swimming.Use A " ' (k), k=2,3 ... represent respectively at amplitude 2,3 ... variable-length amplitude code, use S +And S -Represent sign bit code respectively at positive coefficient and negative coefficient, and with+represent to be connected in series.
Utilization shows the form 11 according to the code that ends at the run length in 1 the second area of extended hybrid VLC method, then to the result that the distance of swimming in the series of second area is encoded is:
[C″′(3)+S +]+[C″′(2)+ESC″′+A″′(2)+S +]+[C″′(0)+S -]+[C″′(5)+S +]+EOB
Wherein here also to be used for representing being used to indicate remaining coefficient be the code word of 0 value to EOB, and ESC " ' be escape code at the exception in the second area.
Above-mentioned elementary mixing VLC method has comprised at those amplitudes being the amplitude code of 1 nonzero-value coefficient.Therefore, if second area in the non-zero quantized coefficients value be mainly ± 1, this performance of this embodiment of extended hybrid VLC method just should be better than the respective version of elementary mixing VLC method.
Note in one embodiment, at the amplitude coding method that appears at the quantization parameter amplitude in the second area (value A " ' (k), k=2; 3 ...) be different from the amplitude coding that appears at the quantization parameter amplitude in the first area (value A (i), i=1; 2 ...).For example, for common image, the amplitude in the expection second area (for example high-frequency region) mainly is than the lower value of amplitude that appears in the first area (for example low frequency region).
Extended hybrid VLC method is the improvement to elementary mixing VLC method, and may be more outstanding for the low bit rate motion compensation encoding.Along with the exploitation of more advanced motion compensation technique, it also can be used for the interframe encode of higher bit rate.
Be defined for the breakpoint in two zones of elementary mixing VLC method and extended hybrid VLC method
A version uses fixedly breakpoint between first (for example low frequency) zone and second (for example high frequency) zone.In one embodiment, pre-determine fixing breakpoint about the statistical information of one group of typical sample of this image is next at every class image and every class compression method by the collection that experimentizes.Usually, determine different breakpoints for following situation:
● the interior and still image coding vs. interframe encode of frame;
● standard definition television image (SDTV) vs.HDTV image;
● high bit rate coding method vs. low rate encoding method;
● the non-dct transform of DCT vs.;
Or the like.
When using fixing (for example selecting in advance) breakpoint, indication has been delivered to the type (for example be interframe or frame in) of demoder with indicating image, perhaps Bian Ma type (high bit rate or low bit rate).Therefore, do not need usually to indicate to the demoder transmission of breakpoint again.In one embodiment, first breakpoint is used to the interframe data at first kind of interframe encode, the relative interframe encode of higher bit rate for example, and second breakpoint is used to the interframe data at second kind of interframe encode, for example interframe encode of relatively low bit rate.
The inventor carries out variable length code by fundamental sum extended hybrid VLC method embodiment according to the present invention and draws the size of compressed image for the situation of using DCT to be quantized into 8 * 8 piece of 127 non-zero magnitude at different break values, typical rest image has been carried out testing (this experiment also can be applicable to the I picture in the dynamic coding), though and observe some image and be suitable for and be approximately 10 breakpoint, breakpoint 22 is applicable to most of images.Therefore, being used for carrying out the I picture of dct transform coding and an embodiment of rest image, use the fixedly breakpoint of selecting in advance 22.
In first kind of variant, breakpoint depends on image, and chooses from finite set according to the Cut Selection standard.For example, according to above-mentioned experiment, will use the compression of first breakpoint 22 to compare, and use the breakpoint of realizing bigger compression with the compression of using second breakpoint 10.Other Cut Selection standard also is fine, and for example passes through the statistical information of the distance of swimming of observation zero valued coefficients and nonzero-value coefficient.
When having used this breakpoint that depends on image, the indication of breakpoint also is sent out with each coefficient sets.In one embodiment, 2 indication is sent out.A breakpoint that makes each piece can be utilized in 4 predetermined breakpoints is like this encoded.In alternate embodiment, the indication of predetermined breakpoint is sent out as variable-length codes, makes to utilize short code to come more common breakpoint is encoded.
Though set that usually may breakpoint is a very little subclass in the position possible in the series, but in another kind of variant, the breakpoint that depends on image can be selected from the series Anywhere, perhaps in alternative variations, can be selected from along subrange Anywhere.
When breakpoint defined fixed boundary between first area and the second area, this border was called as " firmly " border here.Similarly, one group of breakpoint can limit one group of bounds.Utilize bounds, through the continuous nonzero value sequence of breakpoint or continuously the zero valued coefficients sequence be counted as until first sequence in the first area till the breakpoint and in second sequence from breakpoint second area backward.
In alternate embodiment, breakpoint limits alleged " soft " border here, because any continuous null value or the nonzero value sequence that start from the first area will encode in the first area, even its is through breakpoint.Therefore, the actual boundary at the particular factor piece may surpass breakpoint.For example, consider the orderly series of the digital signal of following coefficient:
232-1-1111-11012001-1100...
Suppose to use until 7 and comprise 7 breakpoint.
In one embodiment, breakpoint forms bounds.In this case, the first area is:
232-1-111
Second area is:
1-1012001-1100...
Therefore use basic or extended hybrid VLC method being encoded to the first area:
C(7)+A(2)+S ++A(3)+S ++A(2)+S ++A(1)+S -+A(1)+S -+
A(1)+S ++A(1)+S +
Use elementary mixing VLC method being encoded to second area:
C″(0)+[A″(1)+S +]+C″(0)+[A″(1)+S]+C″(1)+[A″(1)+S +]+C″(0)+
[A″(2)+S +]+C″(2)+[A″(1)+S +]+C″(0)+[A″(1)+S -]+
C″(0)+[A″(1)+S +]+...
And use extended hybrid VLC method being encoded to second area:
[C″′(0)+S +]+[C″′(0)+S -]+[C″′(1)+S +]+[C″′(0)+ESC″′+A″′(2)+S +]
+[C″′(2)+S +]+[C″′(0)+S -]+[C″′(0)+S +]+...
In another embodiment, breakpoint defines soft border.In this case, for this specific piece, the first area is:
232-1-1111-1
Second area is:
012001-1100...
Therefore use basic or extended hybrid VLC method being encoded to the first area:
C(9)+A(2)+S ++A(3)+S ++A(2)+S ++A(1)+S -+A(1)+S -+
A(1)+S ++A(1)+S ++A(1)+S ++A(1)+S -
Use elementary mixing VLC method being encoded to second area:
C″(1)+[A″(1)+S +]+C″(0)+[A″(2)+S +]+C″(2)+[A″(1)+S +]+C″(0)+
[A″(1)+S -]+C″(0)+[A″(1)+S +]++C″(2)+...
And use extended hybrid VLC method being encoded to second area:
[C″′(1)+S +]+[C″′(0)+ESC″′+A″′(2)+S +]+[C″′(2)+S +]+
[C″′(0)+S -]+[C″′(0)+S +]+...
For second embodiment, for this specific, the border of breakpoint 7 correspondences is 9 in other words.
Sample code form: run length code and amplitude code
The run length code that is used for first runlength encoding method, second runlength encoding method and the 3rd runlength encoding method can be arithmetic code or Huffman variable-length code (VLC).Can check dissimilar images by experiment, and at the statistical information of these image collection about the different run lengths that will encode.Then can be based on this statistical information allocation of codes.
Similarly, according to two kinds of amplitude codes of the first and second amplitude coding methods (a kind of at the non-zero magnitude in the first area, and another kind of in the second area greater than 1 amplitude) for example be configured to arithmetic code or Huffman variable-length code (VLC).
Thereby, three kinds of run length codes are arranged, and can represent with the form of three run length coding, RLC forms.Also have two amplitude coding forms.Therefore, an embodiment uses five forms.
A plurality of breakpoints and regional more than two
The form that a breakpoint and two zones are arranged during above embodiment takes to sort.This thought can extend to plural zone, promptly a plurality of breakpoints.For example, an embodiment comprises first low frequency region, second intermediate frequency zone and the 3rd high-frequency region, in described first low frequency region, may have the zero valued coefficients distance of swimming and value is 1 or the nonzero-value coefficient distance of swimming of bigger value, in the described second intermediate frequency zone, may have the zero valued coefficients distance of swimming and value is 1 the coefficient distance of swimming, but can not there be the distance of swimming greater than 1 coefficient, in described the 3rd high-frequency region, may there be the zero valued coefficients distance of swimming, but can not has a lot of nonzero-value coefficient distances of swimming.Therefore, a kind of alternative runlength encoding method comprises that two breakpoints of use limit first, second and the 3rd zone.In the first area, the sign nonzero-value coefficient distance of swimming and the zero valued coefficients distance of swimming, and use first runlength encoding method and second runlength encoding method that the run length of non-zero magnitude and zero range coefficient is encoded.In second area, the sign amplitude is 1 the coefficient distance of swimming and the zero valued coefficients distance of swimming, and to use the 3rd runlength encoding method and the 4th runlength encoding method respectively be that 1 the coefficient and the run length of zero range coefficient are encoded to amplitude.In the 3rd zone, the sign zero valued coefficients distance of swimming, and use the 5th runlength encoding method that the run length of this null value distance of swimming is encoded.
In some zones, also can use other scheme, for example the 2D-VLC of 2D-VLC and expansion.
The equipment that is used for extended hybrid VLC method
Extended hybrid VLC method invention be to be used for equipment that digital signal series (for example orderly series of the quantization parameter of the video data block of conversion) is encoded on the other hand.
Fig. 7 shows an embodiment who is used for the equipment of encoding according to VLC form described here.An embodiment uses three lookup table, for example at the form of the code of the distance of swimming of the non-zero in the first area, at the form of the code of the distance of swimming of zero in the first area and at the form of the code of zero the distance of swimming of the amplitude that ends at 1 in the second area.These forms (for example at the form of the code of first area with at the form of the code in the second area) are stored in the storer 706.Counter 708 in the event recognition device 702 is counted number of coefficients by the order of series, and by determining that coefficient is to inform before the breakpoint or after breakpoint that event recognition device 702 incidents are in the first area or in second area, described breakpoint also is stored in the storer 706.Event recognition device 702 is determined the run length of zero range coefficient continuously, the run length of the continuous distance of zero mark degree amplitude in the first area and the run length of zero range coefficient continuously that ends at amplitude 1 or other amplitude in second area.For the first area, zero run length (a plurality of zero or do not have zero) is transmitted with amplitude (0 or non-zero).In one embodiment, when also transmit code is worth in second area with indication.These outputs of event recognition device 702 are imported in the scrambler 704, and in one embodiment, scrambler 704 comprises that the equipment of searching searches suitable in employed five a code table form.
Though the embodiment shown in Fig. 7 has the storer 706 of the store look-up tables lattice that are separated with the equipment of searching, in another embodiment, the equipment of searching comprises the storer that is used for the storage code form.
The alternate embodiment of Fig. 7 comprises in the code that event recognition device 702 is generated whether about coefficient be the indication of last coefficient in the piece.This provides a kind of PCT patent of mentioning of being similar to announce the expansion to traditional 3-D VLC described in the WO 9318616 in the above.
Extended hybrid VLC method invention be a kind of equipment that is used for utilizing any new method bitstream encoded described here to decode on the other hand.Fig. 8 shows an embodiment of this equipment.Code word recognizer 802 receives each position in the bit stream, and discerns the code word in one group of possible code word representing an incident separately.The code word recognizer determines code word is from which form in five code table.Demoder 804 is coupled to code word recognizer 802, and determines the data at the code word of being discerned by the code word recognizer, for example the run length of non-zero, zero run length, symbol etc.In one embodiment, demoder 804 comprises the equipment of searching, and it searches the suitable decoding form that is stored in the storer 806.This form provides the incident at least some code words in the Codeword Sets.Other code word can comprise escape code, therefore can use the method that is different from the table lookup method to decode.In one embodiment, bit stream is stored in the impact damper 808, and the output of impact damper is coupled to the code word recognizer.
Though in the embodiment shown in Fig. 8, storer is illustrated as and the equipment of searching is separated, those skilled in the art should be understood that in other alternative embodiments that the equipment of searching comprises table memory, and comprises other such embodiment here.
Attention is in Fig. 7, and the event recognition device and the equipment of searching can be used as the one group of instruction that is stored in the storer (for example storer 706) and comes to realize on computers respectively that described instruction indicates one or more processors to carry out identification and search operation.
Be also noted that in Fig. 7 the code word recognizer and the equipment of searching can be used as the one group of instruction that is stored in the storer (for example storer 706) and comes to realize on computers respectively that described instruction indicates one or more processors to carry out identification and search operation.
Another apparatus embodiments of the equipment of realization extended hybrid VLC method is shown as the equipment 900 among Fig. 9, and it comprises disposal system 902, and disposal system 902 comprises one or more processors 904 and storer 906.A processor has been shown among Fig. 9, but those skilled in the art are to be understood that this can represent several processors.Similarly, only show a memory sub-system 906, can comprise different elements such as RAM, ROM etc. but those skilled in the art are to be understood that memory sub-system.In addition, the memory sub-system intention comprises any non-volatile memory device such as magnetic or optical storage assembly.Computer program 908 is comprised and is written in the storer 906.Note whenever it will be appreciated by those skilled in the art that some part in the program can be in the different piece of memory sub-system.Program 908 comprises instruction, and instruction processorunit is realized different coding method described here, for example extended hybrid VLC method with different versions.Can illustrate in greater detail Fig. 9 in the part that is entitled as " the Code And Decode equipment that comprises processor " below.
Another apparatus embodiments is shown as the decoding device 1000 among Figure 10, and it comprises disposal system 1002, and disposal system 1002 comprises one or more processors 1004 and storer 1006.A processor has been shown among Figure 10, and those skilled in the art are to be understood that it can represent several processors.Similarly, only show a memory sub-system 1006, can comprise different elements such as RAM, ROM etc. but those skilled in the art are to be understood that memory sub-system.In addition, the memory sub-system intention comprises any non-volatile memory device such as magnetic or optical storage assembly.Computer program 1008 is comprised and is written in the storer 1006.Note whenever it will be appreciated by those skilled in the art that some part in the program can be in the different piece of memory sub-system.Program 1008 comprises instruction, and instruction processorunit is realized different coding method described here, for example extended hybrid VLC method with different versions.Can illustrate in greater detail Figure 10 in the part that is entitled as " the Code And Decode equipment that comprises processor " below.
Another aspect of the present invention is a kind of storer (for example storer 906 among the storer among Fig. 7 706 or Fig. 9) of memory encoding data structure, and described data structure provides code word according to the group that is described as one or more coefficients of any new coding method described here.In one embodiment, this data structure is taked the form of one or more forms.
Another aspect of the present invention is a kind of storer (for example storer 1006 among the storer among Fig. 8 806 or Figure 10) of storing decoding data structure, and described data structure provides the data of arbitrary set of code words of discerning in the bit stream at compressing image data.Described bit stream is utilized any new coding method described here and encodes.In one embodiment, this data structure is taked the form of one or more forms.
An embodiment of extended hybrid VLC method invention uses five independently forms: two run length code table that are used for first and second kinds of coding methods, be used in the first amplitude code table in the first area, the second amplitude code table that is used for another run length code table of the third coding method and is used in second area.
Multiclass VLC method
The multiple cataloged procedure at the orderly series of the quantization parameter of changing image data block is used in an aspect of multiclass VLC method.The combination of cataloged procedure presentation code method or coding method.With the same in elementary mixing VLC method and the extended hybrid VLC method, obtain series by selected path scanning quantization transform coefficient on transform domain usually.Quantization parameter series is divided into a plurality of classes according to the distribution form of coefficient in the series.For each class, use corresponding one group of one or more cataloged procedure that provide to come series is encoded.Therefore, the distribution of determined quantization transform coefficient is depended in the coding method that is applied to data block.
In an embodiment of multiclass VLC method, above-mentioned elementary mixing VLC method and extended hybrid VLC method provide the multiclass coding method.
By quantization parameter series is divided into the classification that four classes illustrate quantization parameter series.But the present invention is not limited to this classification number.
Above-mentioned elementary mixing VLC method and extended hybrid VLC method have been described series and how to be divided into a plurality of zones.For illustrative purposes, mainly with regard to two zones, described two zones can be called as low frequency region and high-frequency region in following description.For the class that comprises such two zones, be established along the breakpoint in the path of the ordering of coefficient, to identify first (for example low frequency) zone and second (for example high frequency) zone.
Take the video data block of form of the ordered sequence of quantization transform coefficient before coding, to be scanned (" prescan ") earlier, and be divided into four following classes, be expressed class 1, class 2, class 3 and class 4 here.
Class 1 (the big value zone that formation is trooped): a lot of nonzero-value coefficient along the ordering of coefficient have nonzero value, comprise in a large number the nonzero value for ± 1.Nonzero-value coefficient forms in whole ordering troops, and makes that not have breakpoint clearly identify nonzero-value coefficient wherein along the path of the ordering of coefficient forms the first area (for example low frequency region) of trooping and the second area (for example high-frequency region) of nonzero-value coefficient dispersion wherein.
Class 2 (the big value zone that formation is trooped and the zone that disperses): a large amount of (for example more than the 4) nonzero-value coefficient along the ordering of coefficient have nonzero value, comprise that a large amount of (for example more than 2) are not ± 1 nonzero value.Exist breakpoint to identify nonzero-value coefficient wherein along the path of the ordering of coefficient and form first (for example low frequency) zone of trooping and second (for example high frequency) zone of disperseing of nonzero-value coefficient wherein basically.
Class 3 (little value zone that formation is trooped and the little value of disperseing are regional): the nonzero-value coefficient along the ordering of coefficient in fact mainly is coefficient ± 1.Exist breakpoint to identify nonzero-value coefficient wherein along the path of the ordering of coefficient and form first (for example low frequency) zone of trooping and second (for example high frequency) zone of disperseing of nonzero-value coefficient wherein basically.
Class 4 (dispersion little value zone): the nonzero-value coefficient along the ordering of coefficient in fact mainly is coefficient ± 1.Nonzero-value coefficient is all disperseed in whole ordering, makes that not have breakpoint clearly identify nonzero-value coefficient wherein along the path of the ordering of coefficient forms the first area (for example low frequency region) of trooping and the second area (for example high-frequency region) of nonzero-value coefficient dispersion wherein.
For each class, use the respective coding process, this cataloged procedure can comprise the combination of using coding method.Be employed coding method below.
The big value region method that exemplary formation is trooped
In the combination that is called as " the big value region method that formation is trooped ", the combination of following coding method is used in such zone, described zone can be whole, wherein nonzero-value coefficient (in general being the coefficient with the value that is not that most probable occurs) comprises amplitude greater than 1 number (in general being that amplitude is not the value that next most probable occurs), and wherein nonzero-value coefficient (in general being the coefficient with the value that is not that most probable occurs) forms and troops.This method comprises the distance of swimming that identifies nonzero-value coefficient and the distance of swimming of zero valued coefficients.Use first runlength encoding method that the length of the nonzero-value coefficient distance of swimming is encoded.Use the first amplitude coding method that the amplitude in the nonzero-value coefficient distance of swimming is encoded.Use the encoding symbols of sign bit to nonzero-value coefficient.Use second runlength encoding method that the length of the zero valued coefficients distance of swimming is encoded.Referring to the more detailed description of above-mentioned elementary mixing VLC method to first and second runlength encoding methods and the first amplitude coding method.
In one embodiment, use the run length coding, RLC form to realize first and second runlength encoding methods respectively, search first coding form thereby the coding that for example make to use first runlength encoding method comprises, use the coding of second runlength encoding method to comprise and search second coding form.
Above form 3 and form 4 be respectively to be used for to the distance of swimming of continuous nonzero-value coefficient and the distance of swimming of the zero valued coefficients exemplary run length code table of carrying out variable length code continuously.C (n) and C ' (z) represent the distance of swimming of nonzero-value coefficient and z the code of the distance of swimming of zero valued coefficients continuously continuously at n respectively, and wherein n and z are run lengths, n, and z=1,2 ....
As example, suppose that the orderly series of the quantization parameter in the ordering path in the first frequency zone starts from:
232-1012001-1100...
In order to determine run length, this series can be written as:
xxxx0xx00xxx00...
Wherein x represents arbitrary nonzero-value coefficient, 0 expression zero valued coefficients.
With r (n) expression n the distance of swimming of nonzero coefficient continuously, and use r ' (z) represent the distance of swimming of the individual continuous zero valued coefficients of z.Then the ordered sequence of this example starts from:
r(4)r’(1)r(2)r’(2)r(3)r’(2)...
To run length and can not be written as the amplitude of this pattern result who obtains that encodes:
C(4)C’(1)C(2)C’(2)C(3)C’(2)...
In order to finish this coding method, with having of being comprised of the code word of each nonzero-value coefficient distance of swimming at the code word of each amplitude in the distance of swimming and may be for just also being extra of the symbol of each coefficient of negative conversion (for example Chang Yong dct transform) at coefficient.In one embodiment, use variable-length codes that each amplitude is encoded, and use sign bit each encoding symbols.With A (k), k=1,2,3 ... represent respectively according to the first amplitude coding method at amplitude i=1,2 ... the amplitude code, use S +And S -The sign bit code of representing positive coefficient and negative coefficient respectively, and with+represent to be connected in series.Then above exemplary sequence is encoded as:
[c(4)+A(2)+S ++A(3)+S ++A(2)+S ++A(1)+S -]+c′(1)+
[c(2)+A(1)+S ++A(2)+S +]+c′(2)+
[c(3)+A(1)+S ++A(1)+S -+A(1)+S +]+c′(2)...
In one embodiment, A (k), k=1,2 ... be variable-length codes, make the non-zero magnitude that most probable occurs (normally 1) have the shorter code word A (1) of code word that occurs the less amplitude of possibility than other.
In one embodiment, suppose that series (being the zone if this method is at the zone of coefficient series) starts from the distance of swimming of one or more nonzero-value coefficient.Therefore, first code word is the code word that obtains according to first kind of runlength encoding method all the time.Situation when starting from one or more zero the distance of swimming at series (or zone) comprises that code word is a code at zero the distance of swimming to indicate employed first code.Use to form therein among the embodiment that the big value region method of trooping encodes to the first area or the whole series of series, the DC composition is sent separately, so first coefficient is first non-DC coefficient along ordering.
Therefore, for example be illustrated in the code word of indicating the distance of swimming that starts from one or more zero valued coefficients in first kind of coding method, suppose that coefficient series (subfamily) starts from RP:
0232-1012001-1100...
In one embodiment, the code word at this series or subfamily part is:
RP+C′(1)+[C(4)+A(2)+S ++A(3)+S ++A(2)+S ++A(1)+S -]
+C′(1)+[C(2)+A(1)+S ++A(2)+S +]+C′(2)+
[C(3)+A(1)+S ++A(1)+S -+A(1)+S +]+C′(2)...
In another embodiment, comprise that in coding method indication series does not have the code word of nonzero value.Form the big value region method troop therein and be used among another embodiment of first area, such code word is used to also indicate that all remaining coefficients all are 0 in the first area.This code word here is called as and jumps to border (SKP).If note not having nonzero coefficient in next zone or not having second area, then the SKP code just is equal to ending (EOB) code of piece.
Exemplary discrete areas method
In the combination that is called as " discrete areas method ", the combination of following method is used in such zone, described zone can be whole, wherein nonzero-value coefficient (in general being the coefficient with the value that is not that most probable occurs) comprises in a large number the amplitude (in general amplitude is not the value that next most probable occurs) greater than 1, and wherein the nonzero-value coefficient major part is disperseed.This method comprises the distance of swimming of sign zero or a plurality of zero valued coefficients, in general is zero or a plurality of distance of swimming with coefficient of the value that most probable occurs.Use the 3rd runlength encoding method that the length of the zero valued coefficients distance of swimming is encoded.The zero that each is such or the distance of swimming of a plurality of zero valued coefficients end at a nonzero-value coefficient.Use the second amplitude coding method that the amplitude of these nonzero-value coefficient is encoded.Use the encoding symbols of sign bit to nonzero-value coefficient.Referring in following and the above-mentioned elementary mixing VLC method to the more detailed description of the 3rd runlength encoding method and the second amplitude coding method.
In one embodiment, use the 3rd runlength encoding method to encode to comprise and search the 3rd run length coding, RLC form.
Above form 5 are the exemplary coding forms that are used for the zero valued coefficients distance of swimming of zone or series is carried out variable length code, in described zone or series, nonzero value disperses and may comprise that some amplitudes are greater than 1 coefficient.Form 5 has been described the 3rd runlength encoding method that code is provided for each zero valued coefficients distance of swimming.C " (z), z=0,1,2 ... expression is used for run length code that the run length of z continuous 0 is encoded, z=0 wherein, and 1,2 ...
In a variant of the present invention that can be applicable to final area (when series is divided into a plurality of zone) or single zone, using the ending code that is represented as EOB here to indicate coefficient remaining in final area or the series all is zero.
As example, suppose that the zone that disperses is second in two zones, and as follows along the orderly series of the quantization parameter of the predefined paths of discrete areas:
0001001-200000100...0
This series can be written as:
000x00xx00000x00...0
Wherein x represents arbitrary nonzero-value coefficient, and 0 expression zero valued coefficients.
Use r " (z) represent z the distance of swimming of zero valued coefficients continuously, z=0,1,2 ....In one embodiment, supposing that the front of each nonzero-value coefficient in the series of second area is the distance of swimming of zero valued coefficients, is the distance of swimming (z=0) that does not have zero valued coefficients before second nonzero-value coefficient in two continuous nonzero-value coefficient therefore.The ordered sequence of the distance of swimming of the above-mentioned exemplary zero in the second area can be written as:
r”(3)r”(2)r”(0)r”(5)EOB
Wherein to be used to indicate remaining coefficient all be 0 to EOB, and be appreciated that wherein that between each distance of swimming of zero nonzero-value coefficient is just arranged.Utilize the code of form 5 that run length is encoded, then the result that the distance of swimming in the series of second area is encoded is:
C”(3)C”(2)C”(0)C”(5)EOB
If the quantization parameter of the specified path in the second area is the value greater than 1, then in one embodiment, cataloged procedure comprises the variable-length amplitude code that the amplitude of nonzero-value coefficient is encoded after the run length code, and at the symbol code of the nonzero-value coefficient after 0 the distance of swimming.Use A " (k), k=1,2,3 ... represent respectively according to the second amplitude coding method at amplitude 1,2 ... variable-length amplitude code, use S +And S -The sign bit code of representing positive coefficient and negative coefficient respectively, and with+represent to be connected in series.Then the exemplary sequence of above-mentioned second area is encoded as:
[C″(3)+A″(1)+S]+[C″(2)+A″(1)+S +]+[C″(0)+A″(2)+S -]+
[C″(5)+A″(1)+S +]+EOB
In one embodiment, A " (k), k=1,2 ... be variable-length codes, make the non-zero magnitude that most probable occurs (normally 1) have the shorter code word A of code word that occurs the less amplitude of possibility than other " (1).
Note in one embodiment, be used for appearing at the quantization parameter amplitude of second area the second amplitude coding method (value A " (k); k=1; 2; ...) be different from the first amplitude coding method that is used for appearing at the quantization parameter amplitude that forms the big value zone of trooping (value A (k); k=1,2 ...).In alternate embodiment, identical amplitude coding is used separately as first and second amplitude code A (k) and the A " (k).
In another embodiment, traditional 2D-VLC method is used to nonzero-value coefficient wherein and comprises in a large number amplitude greater than 1, and the most of zone that disperses of nonzero-value coefficient wherein.
The little value region method of exemplary dispersion
In the combination that is called as " the little value region method of dispersion ", the combination of following method is used in such zone, described zone can be whole, and wherein nonzero-value coefficient mainly is that amplitude is 1 coefficient, and wherein the nonzero-value coefficient major part is disperseed.This method comprises that sign ends at the zero of a nonzero-value coefficient or the distance of swimming of a plurality of zero valued coefficients.Four runlength encoding method that high-frequency region encoded of use described in above-mentioned extended hybrid VLC method encoded to the length of the zero valued coefficients distance of swimming that ends at nonzero-value coefficient.The amplitude of the nonzero-value coefficient of this coding hypothesis ending is 1, and no longer comprises amplitude coding for this incident.Amplitude is not that 1 ending coefficient is assumed to be exception.Identify this exception, and use exception code (being also referred to as escape code) to indicate this exception.Use the 3rd amplitude coding method that these amplitudes are encoded greater than the amplitude of 1 nonzero-value coefficient.Use the encoding symbols of sign bit to nonzero-value coefficient.Referring in the coding in following and above-mentioned extended hybrid VLC method medium-high frequency zone to the detailed description of the 4th runlength encoding method and the 3rd amplitude coding method.
Code according to the 4th runlength encoding method can be represented with form.Top form 11 shows the form that is used for this code.C " ' (z), z=0,1,2 ... expression is used for this zone or whole series are ended at the run length code that the run length of the z continuous 0 of nonzero-value coefficient is encoded.Form 11 comprises that also being used to indicate the non-zero magnitude of ending is not the code of the situation of modal non-zero magnitude (being that amplitude is greater than 1).Because this incident is considered to unlikely, so we are referred to as " exception ".In form 11, exception is represented as Exc.According to an aspect of the present invention, utilizing code word that this exception is encoded, just looks like to end at 10 distance of swimming back then second escape code (be represented as ESC " ') back is then the same to the coding of amplitude according to the 3rd amplitude coding method again.
It all is 0 that another aspect of the present invention is to use the ending code that is represented as EOB here to indicate coefficient remaining in the second area.
As example, suppose to be along the orderly series of the quantization parameter of the regional predefined paths of the little value of disperseing:
0001002-100000100...0
Use r " ' (z) expression z the distance of swimming of zero valued coefficients continuously that ends at non-zero magnitude 1; and use r " ' (z)+Esc represents to end at the distance of swimming greater than i continuous zero valued coefficients of 1 non-zero magnitude, z wherein, i=0,1,2 ... in one embodiment, supposing to be the zero valued coefficients distance of swimming before each nonzero-value coefficient in the series of second area, is the distance of swimming (z=0) that does not have zero valued coefficients before second nonzero-value coefficient in two continuous nonzero-value coefficient therefore.The distance of swimming of the series in the little value zone that disperses can be written as:
r”’(3)[r”’(2)+Exc”’]r”’(0)r”’(5)EOB
Wherein to be used to indicate remaining coefficient all be 0 to EOB, and be appreciated that wherein a nonzero-value coefficient is just arranged between each distance of swimming of 0.If the value of the quantization parameter of the specified path in the little value zone that disperses is greater than 1, then in one embodiment, cataloged procedure comprises the amplitude code that the amplitude to nonzero-value coefficient of using the 3rd amplitude coding method is encoded after run length code and exception code, and at the symbol code of the nonzero-value coefficient after 0 the distance of swimming.Use A " ' (k), k=2,3 ... respectively expression use the 3rd amplitude coding method at amplitude 2,3 ... the amplitude code, use S +And S -The sign bit code of representing positive coefficient and negative coefficient respectively, and with+represent to be connected in series.Use is at the code of the form 11 of run length, and then the result that the distance of swimming in the series in the second area is encoded is:
[C″′(3)+S +]+[C″′(2)+ESC″′+A″′(2)+S +]+[C″′(0)+S -]+
[C″′(5)+S +]+EOB
Wherein EOB is zero code word at this coefficient that also is used to indicate the indication remainder, and ESC " ' be escape code at the exception in the second area.
In one embodiment, at the 3rd amplitude coding method of quantization parameter amplitude (value A " ' (k), k=2; 3; ...) use variable-length codes, so hypothesis amplitude 2 is bigger than the appearance possibility of bigger amplitude, then amplitude code A " ' (k) than short at code greater than 2 amplitude.
Be also noted that in one embodiment, at the 3rd amplitude coding method of quantization parameter amplitude (value A " ' (k); k=1,2 ...) and be different from the second amplitude coding method at the quantization parameter amplitude (value A (k); k=1; 2 ...) and the second amplitude coding method (be worth A " (k), k=1,2 ...).
The little value region method that exemplary formation is trooped
In the combination that is called as " the little value region method that formation is trooped ", the combination of following method is used in such zone, described zone can be whole, and wherein nonzero-value coefficient mainly is that amplitude is 1 coefficient, and wherein nonzero-value coefficient comprises sizable trooping.This method comprises that the sign amplitude is the distance of swimming of 1 coefficient and the distance of swimming of zero valued coefficients.Using the 5th runlength encoding method is that the length of the distance of swimming of 1 coefficient is encoded to amplitude, in one embodiment, in described the 5th runlength encoding method and the superincumbent instructions and being used for described in the above-mentioned fundamental sum extended hybrid VLC method first runlength encoding method that the nonzero-value coefficient of low frequency region is encoded identical.In another embodiment, the 5th runlength encoding method is different from first runlength encoding method.Using sign bit is the encoding symbols of 1 coefficient to amplitude.This method comprises that also each amplitude of sign is not 1 nonzero-value coefficient.Use the 4th amplitude coding method that amplitude is encoded greater than the amplitude of these nonzero-value coefficient of 1, in one embodiment, described the 4th amplitude coding method is identical with the 3rd amplitude coding method in the little value region method that is used in dispersion, and is a kind of different amplitude coding method in another embodiment.Using sign bit is not the encoding symbols of 1 nonzero-value coefficient to amplitude.Use the 6th runlength encoding method that the length of the zero valued coefficients distance of swimming is encoded, in one embodiment, described the 6th runlength encoding method is identical with above-mentioned second runlength encoding method that the zero valued coefficients distance of swimming of low frequency region is encoded of being used for, and this second runlength encoding method is also described in above-mentioned fundamental sum extended hybrid VLC method to some extent.In another embodiment, the 6th runlength encoding method is different from second runlength encoding method.
In the alternate embodiment of the little value region method that formation is trooped, this method comprises the sign nonzero-value coefficient distance of swimming and the zero valued coefficients distance of swimming.Use the 5th runlength encoding method that the nonzero-value coefficient run length is encoded.The amplitude of this coding hypothesis nonzero-value coefficient is 1, and for this incident, no longer comprises amplitude coding.Use the encoding symbols of sign bit to nonzero-value coefficient.This method comprises that also each amplitude of sign is not 1 nonzero-value coefficient.Suppose this spline coefficient seldom (" exception ").This exception is identified, and uses exception code (being also referred to as escape code) to indicate this exception.Use the 4th amplitude coding method that amplitude is encoded greater than the amplitude of these nonzero-value coefficient of 1.Use the 6th runlength encoding method that the zero valued coefficients run length is encoded.
Then, the combination of said method or method is used in the appropriate area in each class piece, and is as described below.
The code of noting how determining coding form is directly according to the statistical distribution of coefficient in the image block.In one embodiment, statistics collection information from typical image, and according to statistical information structure run length code table.For example referring to more detailed description in above-mentioned elementary mixing VLC method and the extended hybrid VLC method.
For the piece of the 1st class, respective coding process (combination of method or method) is to form the big value region method of trooping.
For the piece of the 2nd class, the combination of respective coding method or method comprises along the path of the ordering of coefficient establishes breakpoint to identify first (for example low frequency) zone and second (for example high frequency) zone.Coding use to low frequency coefficient forms the big value region method of trooping, and the coding in second (for example high frequency) zone is comprised the discrete areas method of using.
For the piece of the 3rd class, the combination of respective coding method or method comprises along the path of the ordering of coefficient establishes breakpoint to identify first (for example low frequency) zone and second (for example high frequency) zone.Coding use to low frequency coefficient forms the little value region method of trooping, and the coding in second (for example high frequency) zone is comprised the little value region method that uses dispersion.
For the piece of the 4th class, the combination of respective coding method or method is the little value region method that disperses.
Figure 11 shows the process flow diagram of method embodiment of the present invention.For the ordered sequence of the quantization transform coefficient of video data block, the orderly series of this quantization parameter of step 1101 scanning is to determine which class is this coefficient block belong to.According to determined class, following step is among step 1105-1,1105-2,1105-3 and the 1105-4, and above-mentioned steps is carried out the cataloged procedure corresponding to class 1, class 2, class 3 and class 4 respectively.The result who obtains is the bit stream coded at the coefficient of piece.According to determined class, following step is among step 1107-1,1107-2,1107-3 and the 1107-4, and these steps are respectively to using 2 prefix with the corresponding determined bit stream of determined class.
Though in one embodiment, use two fixing codes to indicate class, in another embodiment, under the bigger situation of possibility that certain or some other classes of analogy occur, the use average length identifies class less than 2 variable-length codes.Be also noted that the indication of adding class can be before the cataloged procedure of reality, afterwards or even carry out as the part of this process.In addition, if the piece that joins the each other piece of the specific region in the zone (for example corresponding to) may have identical class, then only add and indicate from a kind of class, rather than interpolation is used for the indication of each piece to alternative variation at interblock.
In alternate embodiment, not before each set of code words of piece, to use code to come representation class, and be to use the differential code word to indicate the difference of class.This differential coding may need less position, because the piece that joins each other may be a height correlation.
In addition, in the encoded data stream (for example MPEG) that is used in some type, each video sequence can be by grouping.For example, in MPEG-1, each video sequence is made of a series of pictures group (GOP).GOP is made of picture (frame) sequence.Frame is made of a series of SLICE.SLICE is made of a series of macro blocks, and macro block is made of a spot of (for example 4 pieces are represented brightness, and 2 pieces are represented colourity) and (possibility) motion vector.For this embodiment, can on higher rank, classify, for example macro block or on the rank of SLICE or rank, classify at GOP.This makes that the expense of indication class is less.
In another embodiment, category code is sent separately.Be first and select the first kind.Be sent out with indication at the run length code that changes the number of the piece that will skip up to next class about next code.This class that always lasts till all codes all is sent out.
Classification in the multiclass VLC method
According to the type of image block, the classification to quantization parameter series comprises different mode classifications in one embodiment.In such an embodiment, a plurality of classes depend on that whether image block is in the following situation one or more:
● still image coding vs. moving image encoding;
● infraframe image coder vs. interframe encode;
● standard definition television image (SDTV) vs. high-definition television (HDTV) image;
● high bit rate coding method vs. low rate encoding method;
● the non-dct transform of DCT vs.;
Or the like.
Therefore, according to the one or more image blocks in above various types of image blocks, there are different class groups, mode classification and respective coding process.
Assorting process itself is utilized the data of the coefficient series in the piece, makes to have different classification usually in the same picture frame.This classification is called as and depends on classification of Data.
A version that depends on the classification of Data process in the step 1101 comprises the statistical distribution of checking coefficient in the piece.One or more in one group of statistical measures below this assorting process is used: continuously the run length of nonzero-value coefficient, continuously run length, the nonzero-value coefficient of zero valued coefficients amplitude and series is divided into the separability of the subfamily of two adjacency, described subsystem is classified as has first subfamily that forms the coefficient of trooping and second subfamily with nonzero-value coefficient of dispersion.
Preferable methods is classified by the result of computing application corresponding to inhomogeneous cataloged procedure, and relatively uses the respective coding process and the compression effectiveness that obtains.Figure 12 shows the process flow diagram of method embodiment, this embodiment comprises, part as step 1101, the orderly series of scanning quantization parameter is to determine which class is coefficient block belong to, and the step 1103 of selecting class, and utilize each respective coding process piece is encoded and comparative result with the step of the method for selecting to provide optimal compression (figure place that promptly is used for encoding block is minimum) (step 1105-1 ..., 1105-4).In step 1206, select optimum kind at piece by selecting to make the minimum code of figure place in the coded data.After the selection, because carried out coding step, so step 1207 is used indication, for example with the form of prefix code.In certain embodiments, adding prefix code can more early carry out.
Figure 13 shows the process flow diagram of an embodiment, wherein coefficient series is sequentially carried out the respective coding process.After each the such processing that utilizes respective process, compare, and keep to produce a set of code words of the process (being optimal compression) of minimum coding figure place, and about the indication of selected class.Certainly, utilizing the respective process of each class to encode can be according to any order, and is illustrated as the method for class 1 before this in Figure 13, is the method at class 2,3 and 4 afterwards.As shown in Figure 12, at step 1205-1, ..., among the 1205-4, utilize with four corresponding four kinds of cataloged procedures of different classes in each quantization parameter series is encoded, and in step 1307-1, preserve first result, then in step 1307-2,1307-3 and 1307-4, with the result that preserves before respectively with step 1205-2,1205-3 and 1205-4 in new result calculated compare, if and new result is better than the result who preserves before, then preserves better result.Therefore, after step 1205-4, best result is saved.In step 1309, add the code (for example 2 codes) of indication class, for example as prefix.In another embodiment, whenever first result in step 1307-1,1307-2,1307-3 and 1307-4 or when better the result is saved, all add prefix.In such embodiments, execution in step 1309 not at last.
Figure 14 shows the process flow diagram of another embodiment, wherein coefficient series is carried out cataloged procedure 1205-1,1205-2,1205-3 and the 1205-4 that corresponds respectively to each respective class concurrently.Last in applied method in step 1407, compares the result, and which respective coding process to have produced minimum coding figure place according to and select class.In step 1409, add the code (for example 2 codes) of indication class, for example as prefix.
The breakpoint of localized area in the multiclass VLC method
Some above-mentioned class is included as the breakpoint that quantization transform coefficient series limits first (for example low frequency) zone and second (for example high frequency) zone.Following discussion is applicable to such class and comprises the respective coding process of selecting breakpoint to come the localized area.
For such class, version uses the fixedly breakpoint between first and second zones.How to select this zone to describe at mixing VLC method and extended hybrid VLC method in advance in the above.
Above-mentioned discussion hypothesis to breakpoint has a breakpoint and two zones in the ordering of the class that comprises two zones at those.
Can use more or less class, and some class can comprise plural zone, promptly a plurality of breakpoints.
As another example, consider to comprise the method for the mode classification that is divided into following two classes:
Class A: the orderly series of coefficient comprises the coefficient with bigger value, though wherein amplitude 1 is most probable non-zero magnitude, amplitude 2 is next most probable amplitude, the rest may be inferred, can limit breakpoint series is divided into low frequency region and high-frequency region, make nonzero-value coefficient in low frequency region, form and troop, in high-frequency region, disperse.
Class B: the nonzero-value coefficient in the orderly series of coefficient mainly is that amplitude is 1 coefficient, wherein can limit breakpoint series is divided into low frequency region and high-frequency region, makes nonzero-value coefficient form in low frequency region and troops, and disperses in high-frequency region.
In comprising the embodiment of class A and B, following method makes up corresponding to each class:
Piece for class A: the combination of respective coding method or method comprises along the path of the ordering of coefficient establishes breakpoint to identify first (for example low frequency) zone and second (for example high frequency) zone.Coding use to low frequency coefficient forms the big value region method of trooping, and the coding in second (for example high frequency) zone is comprised the discrete areas method of using.
Piece for class B: the combination of respective coding method or method comprises along the path of the ordering of coefficient establishes breakpoint to identify first (for example low frequency) zone and second (for example high frequency) zone.Coding use to low frequency coefficient forms the little value region method of trooping, and the coding in second (for example high frequency) zone is comprised the little value region method that uses dispersion.
In addition, use of the class indication of an overhead digit as each piece.In one embodiment, an indication is used as bits of coded prefix before.
As another embodiment, in one or more classes, can limit plural zone, a class can comprise first low frequency region, second intermediate frequency zone and the 3rd high-frequency region, in described first low frequency region, may have the zero valued coefficients distance of swimming and value is 1 or the bigger nonzero-value coefficient distance of swimming, in the described second intermediate frequency zone, may have the zero valued coefficients distance of swimming and value is 1 the coefficient distance of swimming, but can not there be the distance of swimming greater than 1 coefficient, in described the 3rd high-frequency region, may there be the zero valued coefficients distance of swimming, but can not has a lot of nonzero-value coefficient distances of swimming.The respective coding process (combination of method or method) that is used for such class comprises uses two breakpoints to limit first, second and the 3rd zone.In the first area, the sign nonzero-value coefficient distance of swimming and the zero valued coefficients distance of swimming, and use first runlength encoding method and second runlength encoding method that the run length of non-zero magnitude and zero range coefficient is encoded.In second area, the sign amplitude is 1 the coefficient distance of swimming and the zero valued coefficients distance of swimming, and use respectively the 3rd runlength encoding method and the 4th runlength encoding method to amplitude be 1 and the run length of zero range coefficient encode.In the 3rd zone, the sign zero valued coefficients distance of swimming, and use the 5th runlength encoding method that the run length of this null value distance of swimming is encoded.
The present invention is not limited to any specific group categories or any specific respective coding process at class.Some examples of class and respective coding process have only been described.Expection in the future can be invented other new cataloged procedure, and has had other cataloged procedure, and these other cataloged procedure can be used in different embodiments of the invention.
Co-location and amplitude VLC method
In elementary mixing VLC method and extended hybrid VLC method, alternately use two kinds independently the one dimension variable length decoding method to the continuous nonzero-value coefficient in the low frequency region and continuously zero valued coefficients encode.Wish continuous nonzero-value coefficient and zero valued coefficients are paired into an incident, and to this to using a variable-length.
One aspect of the present invention use distance of swimming back that variable-length codes follows continuous nonzero-value coefficient to the distance of swimming back of continuous zero valued coefficients more then the incident of a null value encode.The inventor believe this in coefficient series or this zone wherein nonzero-value coefficient may form the zone of trooping code efficiently is provided.
Consider first kind of traditional 2D-VLC.Form 1 above Figure 15 has provided, as example, this form has provided at the statistical information of the incident of traditional 2D-VLC (being made into two-dimentional form).This version of form 1 has used the mark different slightly with top form 1.In the form of Figure 15, S 2D(z m) is likelihood, for example be represented as the back and be amplitude m (m=1,2 ...) and i (z=0,1,2 ...) and the relative degree that occurs of the distance of swimming of individual continuous zero valued coefficients.
In 2D-VLC, the variable-length codes such as optimum code is assigned to has above-mentioned S 2D(wherein the element of most probable appearance has minimum figure place, and uses maximum figure places that minimum event is encoded for z, each incident in incident m) or at least some incidents.Figure 16 shows with top and has provided the identical form of form 2 of 2D-VLC form as example, and just mark is different slightly.In Figure 16, C 2D(z, m) be used for to z continuous 0 value coefficient back then value or amplitude be that the incident of combination of the nonzero coefficient of m is encoded, z=0,1 ... and m=1,2 ....
Suppose that quantization transform coefficient series is:
5100342000201030000000000000000000001000000000000010000000000000
With traditional 2D-VLC this series is encoded to:
C 2D(0,5)+C 2D(0,1)+C 2D(2,3)+C 2D(0,4)+C 2D(0,2)+C 2D(3,2)+C 2D(1,1)+
C 2D(1,3)+C 2D(21,1)+C 2D(13,1)+EOB
Wherein+expression serial connection, and C wherein 2D(z, m) expression 2D-VLC code, z represents the number of the zero valued coefficients before the non-zero magnitude value, and the m amplitude of indicating to be encoded (ignore under the situation of symbol and be also referred to as value) value, and wherein EOB represents the code of the ending of indicator dog, and promptly all remaining coefficients all are null value.Do not comprise coding more than the attention to the symbol of coefficient.Therefore those skilled in the art are to be understood that coefficient can be positive number or negative, also will encode with designated symbol to each zero coefficient values with sign bit, perhaps in alternate embodiment, the integral body of each nonzero coefficient of comprising symbol are encoded.In order to make summary of the invention clear, do not comprise symbol under discussion.
Usually use independent amplitude code that DC item (first conversion coefficient) is encoded separately.Code word with DC (m) indication DC amplitude.In this method, can top coefficient sets be encoded to traditional 2D-VLC:
DC(5)+C 2D(0,1)+C 2D(2,3)+C 2D(0,4)+C 2D(0,2)+C 2D(3,2)+C 2D(1,1)+C 2D(1,3)
+C 2D(21,1)+C 2D(13,1)+EOB
Wherein EOB is that the remainder of indication series is the code of the zero valued coefficients distance of swimming ,+expression serial connection.In practice, utilizing the escape code back to follow the regular length code word comes that some the less incident of possibility occurred and encodes.
Elementary mixing and extended hybrid VLC method have been utilized following characteristics, promptly, exist to limit the breakpoint that wherein existence forms the first area of the nonzero-value coefficient of trooping and second (for example high frequency) zone that wherein most of nonzero-value coefficient is disperseed for a lot of quantization transform coefficient series.In the first area, the distance of swimming of sign zero valued coefficients and the distance of swimming of nonzero-value coefficient.First variable-length codes is used to the distance of swimming of zero valued coefficients, and second variable-length codes is used to the distance of swimming of nonzero-value coefficient.Therefore, two one dimension run length codes are used alternatingly.DC is encoded separately.Suppose that series starts from the distance of swimming of nonzero-value coefficient, and specific code word indicates that it is the sky distance of swimming, promptly series starts from zero valued coefficients.
Consider above-mentioned series (getting rid of the DC item):
100342000201030000000000000000000001000000000000010000000000000
At first consider the elementary mixing method.For simply, suppose not comprise sign bit in the coding.Suppose that breakpoint is set as 15, define nonzero coefficient wherein often form troop until 15 first area and the second area that often disperses of nonzero-value coefficient wherein.In this case, represent nonzero-value coefficient with x, the first area of series (not having the DC item) can be write:
x00xxx000x0x0x
And second area is:
00000000000000000000x0000000000000x0000000000000
In the first area, with the distance of swimming of n continuous nonzero coefficient of r (n) expression, and use r ' (z) to represent z the distance of swimming of zero valued coefficients continuously, n, z=1,2 ....Then the ordered sequence of example starts from:
r(1)r′(2)r(3)r′(3)r(1)r′(1)r(1)r′(1)r(1)SKIP
For second area, use r " (z), z=0,1 ... represent the distance of swimming of continuous zero valued coefficients.Then according to the elementary mixing method, second area has following incident:
r″(20)r″(13)End
Wherein, SKIP represents that to the remaining part of the coefficient of breakpoint be zero, and End represents that the remaining part of coefficient is zero.
Be used for variable-length codes that the run length of nonzero-value coefficient is encoded according to first variable length decoding method with c (n) expression.Similarly, use c ' (z) to represent to be used for variable-length codes that the run length of the zero valued coefficients of first area is encoded according to second variable length decoding method.Use A (m) expression to be used for again according to the amplitude m of the first amplitude coding method to the nonzero-value coefficient of first area, m=1,2, ... the code word of encoding, and use A " (m) represent to be used for according to the amplitude m of the second amplitude coding method to the nonzero-value coefficient of second area; m=1,2 ... the code word of encoding.
Do not consider sign bit, then the first area is encoded as:
c(1)+A(1)+c′(2)+c(3)+A(3)+A4+A(2)+c′(3)+c(1)+A(2)+c′(1)+c(1)
+A(1)+c′(1)+c(1)+A(3)+Skip
And second area is encoded as:
c″(20)+A″(1)+r″(13)+A″(1)+EOB
Wherein the remaining part of SKIP and EOB representative indication series has only the code word of zero valued coefficients, and+the expression serial connection.Attention is according to extended hybrid VLC method, and coefficient amplitude is assumed to be 1, makes that end at an amplitude is that the zero valued coefficients distance of swimming of 1 coefficient no longer needs amplitude coding.Utilize the exception code back then the amplitude greater than 1 to be encoded at amplitude code greater than 1 amplitude.Therefore, second area will not comprise the amplitude code, because they are at amplitude 1.
In the actual realization of traditional 2D-VLC, in order to reduce the size of coding form, utilizing the front is that the regular length code word of so-called escape code the less incident of possibility occurs to some and encodes.
One aspect of the present invention is to avoid using escape code.
Another aspect of the present invention is a kind of method, and the first area that it comprises for series identifies each and comprises that zero valued coefficients distance of swimming back follows one or more incidents of the nonzero-value coefficient distance of swimming.This method also comprises utilizes a variable-length codes (for example coming from a form) that each this incident that identifies is encoded.Utilize fundamental sum extended hybrid method, utilize two code words that so a pair of incident is encoded according to the first and second one dimension runlength encoding methods.
In one embodiment, the first area is whole quantization transform coefficient series.For simply, at first consider this situation.
Can utilize the run length of null value and nonzero-value coefficient to limit the incident that each identifies.Use R ' (z, n) expression z follows n nonzero-value coefficient in the distance of swimming back of zero valued coefficients continuously, z=0,1,2 ... and n=1,2,3 ..., therefore comprise there be not " distance of swimming " of zero valued coefficients the preceding.
Figure 17 A-17D shows the form 12A-12D of the example that incident is shown respectively.In pattern, " x " indicates nonzero value.
Consider series once more:
5100342000201030000000000000000000001000000000000010000000000000
Get rid of DC item (amplitude 5) and do not comprise any symbol data, this serial incident is:
R′(0,1),R′(2,3),R′(3,1),R′(1,1),R′(1,1),R′(21,1),R′(13,1),End
Wherein the remaining part of End indication series is made of zero valued coefficients.
In one implementation, for each incident, for example collect or as if statistics information, wherein S ' (z in the form the form shown in Figure 18 13, n) expression institute suppose or measure at incident R ' (z, rela-tive likelihood n), z=0,1,2 ... and n=1,2 ....Form 14 shown in Figure 19 is based in the form 13 institute's statistical information of supposing or collecting and the variable-length codes form that forms.In form 14, C ' (z, n) expression at incident R ' (z, variable-length codes n), z=0,1,2 ... and n=1,2 ....Notice that this form only is used for being encoded in a zone, for example first low frequency region of coefficient series in one implementation.For this situation, also needing to indicate all coefficients all is zero code, to jump to next zone.
In addition, utilize the amplitude code that any nonzero-value coefficient is encoded, in one embodiment, this is that the variable-length codes of utilizing the statistical information of supposing or collecting according to institute to be represented as coding form realizes.With A (m), m=1,2 ... expression is according to the code of the quantized value m of amplitude coding form.
Therefore, for top series, get rid of the symbol of DC item and coefficient, this series is encoded as:
C′(0,1)+A(1)+C′(2,3)+A(3)+A(4)+A(2)+C′(3,1)+A(2)+C′(1,1)+A(1)+C′(1,1)+A(3)+C′(21,1)+A(1)+C′(13,1)+A(1)+EOB
Wherein, EOB is to be the code word of 0 ending at all remaining code words of indication, and wherein+the expression serial connection.
Because at least one zero valued coefficients is followed in nonzero-value coefficient distance of swimming back, perhaps in improved implementation the nonzero-value coefficient distance of swimming as the end of series, so utilize the incident of this method sign and coding to comprise that zero valued coefficients distance of swimming back follows nonzero-value coefficient distance of swimming back then zero valued coefficients again.Utilize this incident, each incident can be encoded to more coefficient.Expect that this coding can provide bigger compression.
Therefore the number of this incident may be quite big, causes the code table may be quite big.In the 2D-VLC of traditional prior art, by following the size that fixed length code comes limit table for the less incident increase escape code back of possibility occurring.In one embodiment of the invention, the size of code table also is limited, only make the incident of the coefficient that is at most certain maximum number is encoded, and provide extra code for the full null event of maximum length and the maximum length incident that ends at nonzero coefficient.These special maximum length incidents guarantee to avoid using escape code.
Therefore, with R (z, n) expression z follows the distance of swimming that n nonzero-value coefficient back followed a zero valued coefficients again in the zero valued coefficients back continuously, z=0,1,2 ... and n=1,2,3 ....Suppose incident deleted the letter for being no more than 12 coefficients.Then for those length less than 12 incident, z+n=11.The incident of 12 coefficients of some z+n=12 is to end at the incident of nonzero-value coefficient, and can be considered to " being deleted letter ", because if what follow later is the incident that starts from nonzero-value coefficient, then this incident has been avoided the use escape code.A full null event R (12,0) is also deleted the incident of letter.
As example, Figure 20 A-20F shows form 15A-15F respectively, and each form shows the example of incident.In pattern, " x " indicates nonzero value.It is to comprise being no more than 12 continuous coefficients that these incidents are deleted letter.In Figure 20 F, the length of z+n=12 is that 12 incident is by " ending does not have zero; Avoid escape " indication.And incident R (12,0) is illustrated and is marked as " being zero entirely ".
Figure 21 shows form 16, the distance of swimming back of following several nonzero-value coefficient comprising the distance of swimming back at zero or a plurality of zero valued coefficients collected or hypothesis is the then rela-tive likelihood of the incident of a zero valued coefficients again, is that 12 incident is not to finish like this according to some length of the embodiment of the invention only.Those length of being distinguished owing to z+n=12 are that 12 incident is shown as runic, and can be used to avoid ending or escape code.
Figure 22 shows according to the form 17 of the statistical information among Figure 21 at the variable-length codes of incident shown in Figure 21.According to embodiments of the invention, the distance of swimming that these codes are followed nonzero-value coefficient at the distance of swimming back of zero or a plurality of zero valued coefficients is the then incident of a zero valued coefficients again.
According to the amplitude code amplitude is encoded, in one embodiment, the amplitude code is the variable-length codes by one dimension amplitude form description.With the code of A (m) expression at amplitude m, m=1,2 ....
Consider following series once more:
5 10 0342 0002 01 03 000000000000 00000000010 000000000000
10 000000000000
Wherein first value is the DC value.Get rid of the DC item and do not comprise any symbol data, the incident of this series is:
R(0,1),R(1,3),R(2,1),R(0,1),R(0,1),R(12,0),R(8,1),R(12,0),R(0,1),End,
Wherein the remaining coefficient of End indication all is a null value.Utilize the form 17 of Figure 22 that this series is encoded to:
C(0,1)+A(1)+C(1,3)+A(3)+A4+A(2)+C(2,1)+A(2)+C(0,1)+A(1)+C(0,1)+A(3)+C(12,0)+C(8,1)+A(1)+C(12,0)+C(0,1)+A(1)+EOB,
Wherein EOB represents the ending of piece, and promptly Xi Lie remaining part all is a zero valued coefficients.Suppose not have symbolic information once more more than the explanation and got rid of the DC item.
Zone in 2-D non-zero/zero VLC method of trooping
The inventor notices in the quantization transform coefficient series of the image block of reality to have a breakpoint usually at least, and this breakpoint limits two zones at least, make that nonzero coefficient forms in the zone to troop, and nonzero coefficient disperses often in second area.The basis of fundamental sum extended hybrid VLC method that Here it is.
Two zones and the 2-D non-zero/zero VLC method of trooping
Variable length decoding method as described herein is applicable to encodes to whole zone or any zone.For example, described variable length decoding method can be applicable to any zone that wherein nonzero-value coefficient formation is trooped.According to above-mentioned elementary mixing and extended hybrid VLC method, (z n) encodes to incident R ' to utilize two run length coding, RLC forms and an amplitude coding form.Utilize some aspects in 2-D non-zero/zero VLC method of trooping, can utilize a run length coding, RLC form and an amplitude coding form that this incident is encoded.In addition, may exist wherein at the very different zone of the statistical information of this incident.For example, the inventor notices the place that begins at piece, and first of quantization parameter is trooped and compared trooping of back and have bigger amplitude.
In first embodiment, coding method comprises along the path of the ordering of coefficient establishes breakpoint, to identify first (for example low frequency) zone and second (for example high frequency) zone.The coding of the coefficient in the first area is comprised the joint event that sign is following, and this incident comprises then zero valued coefficients of second distance of swimming back of following continuous zero or a plurality of nonzero-value coefficient in first distance of swimming back of and a plurality of continuous zero valued coefficients.Utilize the number of zero valued coefficients in the number of zero valued coefficients in first distance of swimming and second distance of swimming to identify each such incident.
In a version, each incident that identifies only comprises the coefficient that is at most predetermined number, is called as maximum length here.In this case, the sequence that may need continuous zero valued coefficients back to be followed the nonzero coefficient distance of swimming is encoded, and wherein two run lengths are greater than maximum length.For example, if maximum length is 12, then need following series is encoded:
000xxxxxxxxxxxxx0
If allow the incident of any length, then this incident is corresponding to R (3,13).But if maximum length is 12, then an embodiment just is divided into first incident with this incident:
000xxxxxxxxxx
With second incident:
xxxx0。
Therefore, define therein among the embodiment of maximum length, possible incident comprises having maximum length and end at one or more nonzero-value coefficient and do not have the sequence of sequence of the zero valued coefficients of ending.In the zone, follow this incident usually.This makes the incident will have greater than the coefficient of predetermined number encode as a plurality of incidents that have maximum length at the most, and does not use escape code.Two or more incidents that common qualification is followed the nonzero-value coefficient distance of swimming of any length less than the distance of swimming back of the zero valued coefficients of maximum length are called as " broad sense incident " here, because for some purpose, it is counted as an incident, and described purpose for example comprises utilizes so-called soft border to establish first and second zones.Referring to following more detailed description.
In addition, when defining the maximum length id of incident, the incident that all is zero valued coefficients also is defined to realize the coding to " broad sense incident ", and this incident comprises that following one or more nonzero-value coefficient greater than the zero valued coefficients back of maximum length follows a zero valued coefficients again.
How establishing breakpoint is described with reference to elementary mixing VLC method and extended hybrid VLC method in the above.
Figure 23 shows form 18, and this form is the form at the actual count information of the incident in the first area of the sample image with the breakpoint 12 that forms soft border.Notice that this form comprises that " skip " code represents to jump to breakpoint, and this form is 12 incident R (12,0) corresponding to breakpoint.In an alternate embodiment, on the distance border less than any incident R (12 in the scope of 12 coefficients, 0) also is the redirect incident (skip event) that jumps to the beginning of second area, this situation is applicable to bounds, and in second alternate embodiment applicable to soft border, this incident is included in next zone, and the border is moved to the place that begins of this incident.
In the superincumbent description, suppose to use the encoding symbols of individual sign bit to the nonzero-value coefficient in each incident.
Also can utilize similar method that the coefficient in second (for example high frequency) zone is encoded, but to use with the second different coding form that is complementary of the likelihood of the incident in the second area supposing or measure at incident.For example, this second coding form will be considered the characteristic that the nonzero-value coefficient in the second area is relatively disperseed.For the image of the interframe encode of relatively low bit rate, this code table will consider that also nonzero-value coefficient may mainly be that amplitude is 1.
In an alternate embodiment, traditional 2D-VLC is used to second area.
In another alternate embodiment, utilize the second area method of in the elementary mixing method, describing that the coefficient in the second area is encoded.Each distance of swimming back that promptly is identified at zero in the second area or a plurality of zero valued coefficients is a nonzero-value coefficient then, and by the run length code that utilizes the variable length code form it is encoded, and utilize the amplitude coding method of the amplitude coding method that is different from the coefficient that is used for the first area usually that the amplitude of nonzero-value coefficient is encoded.It all is null value that the EOB code is used to indicate all remaining coefficients.Use the encoding symbols of sign bit to nonzero-value coefficient.
In another alternate embodiment, the second area method that utilization is described in the extended hybrid method is encoded to the coefficient in the second area, this method hypothesis nonzero-value coefficient mainly is that amplitude is 1 coefficient, therefore be not that 1 coefficient carries out amplitude coding, and to use exception code and code word thereafter be not that 1 coefficient is encoded to amplitude to amplitude.Each distance of swimming back that promptly is identified at zero in the second area or a plurality of zero valued coefficients is a nonzero-value coefficient then, and by the run length code that utilizes the variable length code form it is encoded.Utilizing exception code to discern any amplitude is not 1 nonzero-value coefficient, and for example utilize escape code that it is encoded, and to utilize the amplitude coding method of the amplitude coding method be different from the coefficient that is used for the first area usually be not that the amplitude of 1 nonzero-value coefficient is encoded to this amplitude.It all is null value that the EOB code is used to indicate all remaining coefficients.Use the encoding symbols of sign bit to nonzero-value coefficient.
Plural zone and 2-D non-zero/zero VLC method of trooping
Alternate embodiment comprises plural zone, and promptly a plurality of breakpoints defines plural zone.For example, the inventor notices that first of nonzero-value coefficient troops and have the bigger amplitude of trooping than the back of nonzero-value coefficient usually.Therefore, in one embodiment, limit the first area with first incident, the distance of swimming back that described first incident is zero or a plurality of zero valued coefficients is followed the distance of swimming back of continuous nonzero-value coefficient and is followed a zero valued coefficients again.Utilize first variable-length codes (for example first variable length code form) that such incident is encoded.Utilize the first amplitude coding method (for example first variable-length amplitude code) that the amplitude of nonzero-value coefficient is encoded.Utilize the encoding symbols of sign bit again to each nonzero coefficient.Construct the first variable-length event code and the first amplitude coding method based on the statistical information at first incident in the series (ignoring the DC item) reality or hypothesis.
Select breakpoint to limit the second and the 3rd zone.Coding to the coefficient of second area comprises the following incident of sign, and first distance of swimming back that this incident comprises one or more continuous nonzero-value coefficient then zero valued coefficients back is followed second distance of swimming of continuous zero or a plurality of zero valued coefficients again.Utilize the number of zero valued coefficients in the number of nonzero-value coefficient in first distance of swimming and second distance of swimming to identify each such incident.Each incident that identifies only comprises the coefficient that is at most maximum length.Utilize second variable-length codes (for example using the second variable length code form) that each incident that identifies is encoded.In addition, utilize the second amplitude coding method (for example second variable-length amplitude code) that the amplitude of nonzero-value coefficient is encoded.Utilize the encoding symbols of corresponding sign bit to nonzero-value coefficient.Utilize the method for describing at high-frequency region in the extended hybrid method to be encoded in the 3rd zone, described extended hybrid method hypothesis nonzero-value coefficient mainly is that amplitude is 1 coefficient, therefore be not that 1 coefficient carries out amplitude coding, and to use the exception code back to follow that code word comes any amplitude be not that 1 coefficient is encoded to amplitude.
Other alternative method that comprises zone more than two also is included in the scope of the present invention.A kind of coding method comprises and utilizes two breakpoints to limit first, second and the 3rd zone.In the first area, the sign nonzero-value coefficient distance of swimming and the zero valued coefficients distance of swimming, and use first runlength encoding method and second runlength encoding method that the run length of non-zero magnitude and zero range coefficient is encoded.In second area, the sign amplitude is 1 the coefficient distance of swimming and the zero valued coefficients distance of swimming, and to use the 3rd runlength encoding method and the 4th runlength encoding method respectively be that 1 the coefficient and the run length of zero valued coefficients are encoded to amplitude.In the 3rd zone, the sign zero valued coefficients distance of swimming, and use the 5th runlength encoding method that the run length of this null value distance of swimming is encoded.
At as described in two region methods, alternative coding method also can be used to the 3rd (for example high frequency) zone as above.For example, traditional 2D-VLC can be used in the 3rd zone, perhaps in another embodiment, the high-frequency coding method of elementary mixing method can be used in the 3rd zone, can suppose therein that perhaps nonzero-value coefficient in the 3rd zone mainly is that amplitude is that the high-frequency coding method of extended hybrid method can be used in the 3rd zone among another embodiment of 1 coefficient.
As example, consider following quantization parameter series:
5 00003420 00000030 000000|000000000000 0010 000000000000 10
000000000000
Suppose that this coding makes the incident of winning limit the first area, and limit the second and the 3rd zone along the breakpoint of ordering.Suppose that again first coefficient is the DC value, and establish DC (a) and be code word at the DC amplitude of quantized value a.Hypothesis is used and above-mentioned the variable length code of the nonzero value distance of swimming to be followed in null value distance of swimming back again, and defines maximum length for any incident.With C0 (z, n), C1 (z, n) and C2 (z, n), z=0,1 ..., n=1,2, ... represent the variable length codeword of the incident in incident, the incident in the second area and the 3rd zone at the first area respectively, each incident all is that n nonzero-value coefficient back then zero valued coefficients is again followed in z zero valued coefficients back, unless the z+n=maximum length.For this example, the breakpoint of supposing to limit the second and the 3rd zone is at 22 places, and limits soft border.The code word of representing to utilize the amplitude in first, second and the 3rd amplitude coding method determine first, second and the 3rd zone with A0 (a), A1 (a) and A2 (a) respectively.In one embodiment, these amplitude coding methods are different variable length decoding methods.For example, in the first area, compare second area and more bigger amplitude may occur.The possibility that this relatively large amplitude occurs in the 3rd zone even littler.
The symbol of ignoring amplitude, above-mentioned series is encoded as:
DC(5)+C0(4,3)+A0(3)+A0(4)+A0(2)+C1(6,1)+A1(3)+C1(12,0)+C2(8,1)+
A2(1)+C2(12,0)+C2(0,1)+A2(1)+EOB
Wherein EOB is the code word of indication form ending, and+the expression serial connection.The distance of swimming of noting six zero valued coefficients that breakpoint is preceding is in next zone, because soft border has moved on to before these six zero valued coefficients.
Attention in this implementation, C0 (12,0), C1 (12,0) and C2 (12,0) is code word, if perhaps in 12 coefficients of breakpoint, then under the situation of bounds at the incident of 12 zero valued coefficients, C0 (12,0), C1 (12,0) and C2 (12,0) are the code words that breakpoint is jumped in indication, perhaps under the situation on soft border, soft border move on to incident zero valued coefficients begin the place.
In the implementation procedure of reality, each amplitude also has symbol, and coding also will comprise sign bit.Use S +And S -Represent code bit respectively at positive amplitude and negative amplitude.Suppose that the quantization parameter series that will encode is:
50000+3-4-2+10 000000+30 000000|000000 000000 00-10
000000000000+10000000000000
Then under the situation of sign bit, according to same embodiment, this series is encoded as:
DC(5)+C0(4,4)+A0(3)+S ++A0(4)+S -+A0(2)+S -
+A0(1)+S ++C1(6,1)+A1(3)+S ++C1(12,0)++C2(8,1)+A2(1)+S -
+C2(12,0)+C2(0,1)+A2(1)+S ++EOB
In another version, the coding of nonzero value is comprised symbol.
Basic multidimensional amplitude VLC method
In each method in 2-D non-zero/zero troops VLC method, elementary mixing VLC method and extended hybrid VLC method, proposed various variable length decoding methods and come formation is trooped or the relative position that do not form the conversion coefficient of trooping is encoded.After having carried out this coding at every turn, comprise coding, and comprised sign bit (+or-) the value of each nonzero-value coefficient.
The inventor notices in VLC that nonzero-value coefficient is trooped coding, and the coding of amplitude has been occupied sizable part in the code.
Therefore, even utilize 2-D non-zero/zero troop VLC method, elementary mixing VLC method and extended hybrid VLC method, still need to improve the code efficiency of the coefficient amplitude that nonzero-value coefficient is trooped.
An aspect of basic multidimensional amplitude VLC method invention has proposed a kind of multidimensional VLC, in the process that the orderly series of the quantization parameter of view data conversion is encoded, a plurality of continuous nonzero-value coefficient that appears in the nonzero-value coefficient distance of swimming (trooping) is encoded, just as what occur in a lot of method for compressing image.Replace to use " m " individual one dimension VLC form to come the amplitude of " m " individual continuous nonzero-value coefficient is encoded, the present invention utilizes one " m " dimension form to come the amplitude of whole " m " individual coefficients is encoded.
Figure 24 shows the process flow diagram of an embodiment of hybrid variable length coding (VLC) method 2400, this method is included in 2401, ordering along series provides breakpoint to limit first (for example low frequency) zone and second (for example high frequency) zone, nonzero coefficient may form and troop in described first area, in described second area, nonzero coefficient may disperse, and in shown version, may mainly be that amplitude is 1 coefficient.In 2403, be identified at the distance of swimming of the distance of swimming each zero valued coefficients before of one or more nonzero-value coefficient.Carrying out under the situation of first area coding in the VLC method of trooping according to 2-D non-zero/zero, incident comprises that nonzero-value coefficient distance of swimming back follows zero valued coefficients, and in addition, also is included in the incident that does not have nonzero-value coefficient before the nonzero coefficient.In 2405, utilize at the combined coding of each incident of the run length of the run length of zero valued coefficients the preceding and one or more nonzero-value coefficient the incident that identifies is encoded.In one embodiment, 2405 comprise the codelookup form that utilizes two dimension.In 2407, utilize the amplitude code that each amplitude in each the non-zero magnitude distance of swimming in the incident that identifies is encoded, in one embodiment, described amplitude code is a variable-length codes of utilizing code table to obtain.
Attention replaces 2403 and 2405 with the first area coding method described in elementary mixing VLC method and the extended hybrid VLC method in a kind of variant.
In shown version, encoded in second (for example high frequency) zone according to the mode described in the extended hybrid VLC method.In 2409, limit following incident, each incident is that a nonzero-value coefficient is followed in the distance of swimming back of zero or a plurality of zero valued coefficients.The amplitude of supposing any such nonzero coefficient all is 24, does not therefore need such coefficient is carried out amplitude coding.Amplitude is not that 1 nonzero coefficient is marked as exception.In addition, the remaining part in the piece is that zero situation is also identified.In 2411,, utilize variable-length runlength encoding method (for example being embodied as coding form) that the run length of the zero valued coefficients before a nonzero-value coefficient is encoded for each incident that identifies in the second area.Utilize the encoding symbols of nonzero-value coefficient of sign bit, and be that amplitude is not under the situation of 24 exception, comprise that the exception code back follows the amplitude code in nonzero-value coefficient to ending.For example utilize to be different from the amplitude coding form that is used for amplitude coding form that the non-zero magnitude of first area is encoded usually and to obtain this amplitude code, because the amplitude of second area more may have the value lower than the amplitude of first area.
In a kind of variant, setting up the mode of code word form describes in 2-D non-zero/zero troops the VLC method, and comprise hypothesis or obtain serial statistical information at the typical case of system's image block, perhaps in adaptive system, set up the code word form by the relative frequency of measuring the appearance of incident and amplitude, this depends on coding method, for example code table.In another variant, the mode of setting up code is described in elementary mixing VLC method and extended hybrid VLC method.
Figure 25 shows the process flow diagram of another embodiment that mixes VLC method 2500, this method comprises some aspect of basic multidimensional amplitude VLC method, especially comprise the frame 2507 that replaces frame 2407, the method of frame 2507 utilizes code word (for example using the combined coding form) that a plurality of non-zero magnitude in the nonzero-value coefficient distance of swimming are carried out combined coding at the incident that each identifies in the first area.Symbol also is encoded.
Notice that 2503 and 2505 correspond respectively to 2403 among Figure 24 and 2405, only used different labels to indicate these not need identical step.For example, Figure 24 can comprise according to the form of the variant of describing in elementary mixing VLC method and extended hybrid VLC method identification incident, and 2503 and 2505 modes that can troop and describe in the VLC method according to 2-D non-zero/zero.
As example, suppose to utilize the coding invention of describing in 2-D non-zero/zero VLC method of trooping the back to be followed a pair of coding of " z " individual continuous zero valued coefficients and " n " individual continuous nonzero-value coefficient of a nonzero value.With R (z, the n) position of expression null value/nonzero-value coefficient, and with m (1), m (2) ..., m (n) represents each amplitude.With C (z, n) expression at incident R (z, variable length codeword n), z=0,1 ..., n=1,2 ...; With A (a) expression R (z, n) the amplitude a in the nonzero-value coefficient distance of swimming in, a=1,2 ... amplitude coding; With S (1), S (2) ... the expression at R (z, n) in first, second ... the sign bit of n nonzero-value coefficient.Then according to an embodiment who describes in 2-D non-zero/zero VLC method of trooping, incident is encoded to corresponding non-zero magnitude:
C(z,n)+A(m(1))+S(1)+A(m(2))+S(2)+...+A(m(n))+S(n)
Wherein+the expression serial connection.
Similarly, consider elementary mixing VLC method and extended hybrid VLC method.In the first area, with the distance of swimming of n continuous nonzero coefficient of r (n) expression, and use r ' (z) to represent z the distance of swimming of zero valued coefficients continuously, n, z=1,2 ....Consider a incident with r (n) expression, with m (1), m (2) ... each non-zero magnitude among m (n) the expression r (n).With C (n) presentation of events r (n), n=1,2 ... in the variable length codeword of run length of nonzero-value coefficient, and use C ' (z) presentation of events r ' (z), z=1,2 ... in the variable length codeword of run length of zero valued coefficients.With A (a) expression to the amplitude a among the nonzero-value coefficient distance of swimming r (n), a=1,2 ... amplitude coding; And with S (1), S (s) ... first, second in expression r (n) ... the sign bit of n nonzero-value coefficient.Then according to embodiment described in elementary mixing VLC method and extended hybrid VLC method, to being encoded to of incident and corresponding non-zero magnitude:
C(n)+A(m(1))+S(1)+A(m(2))+S(2)+...+A(m(n))+S(n)+C’(z),
An aspect of basic multidimensional amplitude VLC method is to use a code word utilizing multidimensional amplitude coding method to obtain that following amplitude sequence is encoded:
A(m(1)),A(m(2)),...,A(m(n))
Use A n(m (1), m (2) ..., m (n)) expression is at n quantization amplitude m (1), m (2) ..., m (n), n=1,2 ... the code word of sequence.According to an embodiment of basic multidimensional amplitude VLC method, when using 2-D non-zero/zero to troop the VLC method, incident R (z n) with relevant amplitude and symbol is:
C(z,n)+A n(m(1),m(2),...,m(n))+S(1)+S(2)+...+S(n)
And in one embodiment, when using elementary mixing VLC method and extended hybrid VLC method, for:
C(n)+A n(m(1),m(2),...,m(n))+S(1)+S(2)+...+S(n)
In one embodiment, the code table of utilizing n to tie up obtains the code word at the sequence of n amplitude, and in one embodiment, the code table of described n dimension is a n dimension variable-length codes form.
In alternate embodiment, symbol is included in the multidimensional amplitude coding method, and then this method should be called the coding method of multidimensional quantization parameter definitely.Therefore, sign bit can be represented real amplitude with value is integrated, also can be used as independent bit and encodes, as shown in this example.
Consider and to be managed for the angle that the size that makes the multidimensional form realizes from reality, be restricted to less relatively number, for example 2 or 3 by the maximum length of the distance of swimming of the non-zero magnitude of combined coding.Suppose at the most three coefficients to be carried out combined coding, and hypothesis is used the multidimensional form.An embodiment is used for the incident that run length is a nonzero coefficient with one dimension amplitude coding form, the amplitude coding form of two dimension is used for the incident that run length is two nonzero coefficients, the amplitude coding form of three-dimensional is used for the incident that run length is three nonzero coefficients.
The bigger amplitude of possibility occurs and be used in combination variable-length codes.By hypothesis or measure the statistical information of combination, and utilize code distributing method well known in the art (for example the arithmetic code of Huffman code, non-Huffman etc.) distribution variable length codeword, thereby obtain these codes according to the statistical information that institute suppose or measures.In addition, in one embodiment, occurring that less some amplitudes combination of possibility is assigned with the front is the fixed length code of escape code.
When at the most three continuous non-zero magnitude being carried out combined coding, in one embodiment, for the longer distance of swimming, utilize as 2-D non-zero/zero VLC method of trooping described in the one dimension form amplitude of the 4th, the 5th nonzero coefficient of remainder etc. is encoded.
In substituting implementation, use more multidimensional form for the coefficient of these back.In a version, the multidimensional form of back is identical with the initial form that uses, and in another kind of implementation, for the different form of coefficient group use of back, to consider that in the ordering of series coefficient leans on its amplitude of back usually with regard to more little likelihood more.
Figure 26 A, 26B and 26C show one dimension amplitude code table 2601, two-dimentional amplitude code table 2603 and three-dimensional amplitude code table 2605 respectively.In one embodiment, three-dimensional amplitude code table 2605 be stored as one group of two dimension amplitude code table 2607-1,2607-2,2607-3 ... 2607-m, wherein m represents in first, second and the tertiary system number maximal value of each.Each 2D form stores is counted the form of amplitude at the different tertiary systems, for the different amplitudes of first and second coefficients provide code.When three-dimensional code table was stored as one group of 2 d code form, the amplitude of the coefficient in each two-dimentional form can be different.Figure 26 D shows not on the same group alternative form 2609 of use: each 2D form stores provides code for second with the different amplitudes of tertiary system number at the form of the first different coefficient amplitude.In this form, the value of each coefficient is restricted to m.
For combined coding according to the 2-D non-zero/the zero VLC method of trooping is carried out the incident that identifies, in a version, each incident that identifies includes only the coefficient (being called as maximum length here) that is at most predetermined number, make some incidents comprise that first distance of swimming back of one or more continuous nonzero-value coefficient follows second distance of swimming of zero or a plurality of zero valued coefficients with maximum length, rather than then zero valued coefficients of back.This makes it possible to the incident that has greater than the coefficient of predetermined number is encoded as a plurality of incidents that have maximum length at the most, and does not use escape code.The common two or more incidents of the distance of swimming of following the nonzero-value coefficient of any length less than the distance of swimming back of the zero valued coefficients of maximum length that limit are called as " broad sense incident " here, because for some purpose, it is counted as an incident, and described purpose for example comprises utilizes so-called soft border to establish first and second zones.
The example of basic multidimensional amplitude VLC method
As example, consider following series:
5 0000+3-4-20 000000+30 000000|000000 000000 00-10
000000000000+10 000000000000
Suppose breakpoint at some place, and consider to utilize 2-D non-zero/zero embodiment who troops the VLC method that the coefficient in the first area is encoded, wherein provide code for complete zero with " | " indication.
The first area is:
5 0000+3-4-20 000000+30 000000
With DC (m) expression code word at the DC amplitude, and with C (z n) represents at incident R (z, variable length codeword n), z=0,1 ..., n=1,2 ..., (z n) follows n nonzero-value coefficient back for z zero valued coefficients back and follows a zero valued coefficients again incident R.With the code word of C (skip) expression at " jumping to the border ".Consider wherein to utilize a class symbol position separately to the embodiment of encoding symbols.Use S +And S -Represent code bit respectively at positive amplitude and negative amplitude.Use A again n(m (1), m (2) ..., m (n)) represent at n quantization amplitude m (1), m (2) ..., the code word of the sequence of m (n), n=1,2 ....
Then according to comprising the embodiments of the invention of basic multidimensional amplitude VLC method, be at the code word of first area:
DC(5)+C(4,3)+A 3(3,4,2)+S ++S -+S -+C(6,1)+A 1(3)+S ++C(skip)
Wherein+the expression serial connection.
The mode of establishing breakpoint is to describe in the context of elementary mixing VLC method and extended hybrid VLC method in the above.
Another aspect of the present invention is to be used for equipment that digital signal series (for example orderly series of the quantization parameter of view data transform block) is encoded, comprises the basic multidimensional amplitude VLC method of using.Referring to Fig. 9, in the part of " the Code And Decode equipment that comprises processor " it has been carried out more detailed description at exercise question below.
Therefore, in the art, still need a kind of relative high-efficiency method that amplitude is trooped and encoded applicable to variable length code.
Multilist amplitude VLC method
Though as if basic multidimensional amplitude VLC method invention has improved total code efficiency, notices for bigger " n ", the size that is used for the n dimension form of combined coding may become quite big.As a result, in fact, the size of n must be restricted to a small amount of continuous non-zero magnitude value, for example is embodied as 1,2 and 3 for actual.
Therefore, even utilize basic multidimensional amplitude VLC method, in the art, also still need a kind of relative high-efficiency method of amplitude being trooped and encoding applicable to (especially applicable to hybrid variable length coding) of variable length code.
The one side of multilist amplitude VLC method invention has proposed one group of VLC method, with in the process that the orderly series of the quantization parameter of view data conversion is encoded, the a plurality of continuous nonzero coefficient that appears in the nonzero-value coefficient distance of swimming (" trooping ") is encoded, in a lot of method for compressing image, occurring.
Figure 27 shows the process flow diagram of another embodiment that mixes VLC method 2700, this method comprises one aspect of the present invention, and comprise frame 2707, it replaces the frame 2407 among Figure 24 of process flow diagram of an above-mentioned embodiment who shows hybrid variable length coding (VLC) method 2400, for each the non-zero magnitude distance of swimming that identifies in the first area, described frame 2707 is determined the incident (these incidents comprise that amplitude is the distance of swimming of 1 coefficient) in each distance of swimming, and to each event code, for example use 2-D coding form at the particular run length of non-zero magnitude with code word.Symbol also is encoded.
Notice that 2703 and 2705 correspond respectively to 2403 and 2405 among above-mentioned Figure 24, but 2703 and 2705 have used different labels to need not to be identical to indicate these steps.For example, Figure 24 can comprise according to the mode described in elementary mixing VLC method and the extended hybrid VLC method and discern incident, and 2703 and 2705 can be according to troop mode described in the VLC method of 2-D non-zero/zero.
As in basic multidimensional amplitude VLC method, the inventor notices for the two-dimensional block conversion, statistical distribution along the conversion coefficient of specified path (for example zigzag scanning pattern) is similar to exponential distribution, wherein the coefficient of amplitude peak is arranged in the lowest frequency spectrum, and the coefficient of minimum radius is arranged in maximum spectrum.When coefficient was quantized, coefficient by a relatively large margin often forms at lower frequency place more trooped, and coefficient more by a small margin often is dispersed in the higher frequency more.When the path is divided into low frequency region and high-frequency region, the inventor notices that along the amplitude of most of quantization parameter of high-frequency region mainly be 0 and 1, and the amplitude along most of quantization parameter of low frequency region mainly is less value, for example 0,1,2,3 ... etc., amplitude 1 is bigger than the possibility that amplitude 2 occurs, amplitude 2 is bigger than the possibility that amplitude 3 occurs, and the rest may be inferred.It should be noted that the interframe encode for relatively low bit rate, the possibility that amplitude 0 occurs is bigger than amplitude 1, and for the interframe encode of intraframe coding and higher bit rate, the possibility that amplitude 0 occurs is littler than amplitude 1.
With reference to Figure 27,, suppose to utilize the coding invention back of describing in 2-D non-zero/zero VLC method of trooping to follow a pair of coding of " z " individual continuous zero valued coefficients and " n " individual continuous nonzero-value coefficient of a nonzero value as example.With R (z, the n) position of expression null value/nonzero-value coefficient, and with m (1), m (2) ..., m (n) represents each amplitude.With C (z, n) expression at incident R (z, variable length codeword n), z=0,1 ..., n=1,2 ...; With A (a) expression R (z, n) the amplitude a in the nonzero-value coefficient distance of swimming in, a=1,2 ... amplitude coding; With S (1), S (2) ... the expression at R (z, n) in first, second ... the sign bit of n nonzero-value coefficient.Then according to an embodiment who describes in 2-D non-zero/zero VLC method of trooping, incident is encoded to corresponding non-zero magnitude:
C(z,n)+A(m(1))+S(1)+A(m(2))+S(2)+...+A(m(n))+S(n)
Wherein+the expression serial connection.
Similarly, according to the embodiment described in elementary mixing VLC method and the extended hybrid VLC method, to being encoded to of incident and corresponding non-zero magnitude:
C(n)+A(m(1))+S(1)+A(m(2))+S(2)+...+A(m(n))+S(n)+C′(z)
An aspect of basic multidimensional amplitude VLC method is to use a code word utilizing multidimensional amplitude coding method to obtain, utilize at n quantization amplitude m (1), m (2) ..., m (n), n=1,2 ... the code word A of sequence n(m (1), m (2) ..., m (n)) to amplitude sequence A (m (1)), A (m (2)) ..., A (m (n)) encodes.According to an embodiment of basic multidimensional amplitude VLC method, when using embodiment of 2-D non-zero/zero basic multidimensional amplitude VLC method of VLC method combination of trooping, incident R (z n) is encoded as with relevant amplitude and symbol:
C(z,n)+A n(m(1),m(2),...,m(n))+S(1)+S(2)+...+S(n)
And in one embodiment, when using elementary mixing VLC method or extended hybrid VLC method in conjunction with basic multidimensional amplitude VLC method, for:
C(n)+A n(m(1),m(2),...,m(n))+S(1)+S(2)+...+S(n)+C′(z)
An embodiment of multilist amplitude VLC method uses a kind of replacement scheme of multidimensional form is come trooping of the non-zero coefficient amplitude of the n in the first area encoded.
The inventor notices that when the distance of swimming that is identified to continuous non-zero coefficient amplitude (being trooping of non-zero magnitude), the histogram of coefficient amplitude often mainly is a value 1, is 2 then ... or the like.Consider these observationss, described a kind of coding method efficiently here, be mainly 1 characteristics to utilize coefficient value.
An aspect of multilist amplitude VLC method comprises, in the first area, sign troop (distance of swimming that is continuous non-zero coefficient amplitude), and in each such trooping, further sign comprises that separately the amplitude of ending at is one or more incidents of the distance of swimming of 1 coefficient greater than the continuous amplitude of 1 coefficient.
Each has the amplitude that ends at greater than 1 value like this is that the incident of the distance of swimming of 1 coefficient has the possibility (likelihood) of appearance.Can obtain histogram and estimate to occur likelihood by a relative frequency that occurs being made form, perhaps likelihood appears in histogram or the alternate manner hypothesis according to typical image.
Figure 28 shows in the distance of swimming of n non-zero coefficient amplitude the form of the rela-tive likelihood that 1 the distance of swimming occurs.In Figure 28, P n(j, k) expression ends at the rela-tive likelihood that amplitude is the distance of swimming of 1 coefficient greater than j amplitude of the coefficient of 1 (such amplitude is represented with k, k>1), j=0,1 ... n-1.
Because the distance of swimming of nonzero value may all be an amplitude is 1 value,, be represented as the rela-tive likelihood P of " Exc " and this incident so this incident is called as exception n(Exc) expression.
The form of Figure 28 is used for the distance of swimming the n of first area amplitude 1 that identifies in the trooping of non-zero coefficient amplitude continuously.The distance of swimming for the continuous non-zero coefficient amplitude of all lengths all has such likelihood form.Therefore, n such form arranged.
An embodiment of multilist amplitude VLC method invention is included as each each interior such incident that identifies of trooping code word is provided.For example, in one embodiment, according to rela-tive likelihood P n(j, k) and P n(Exc) distribute best variable-length codes for each incident that identifies, wherein the incident of most probable appearance is assigned with the code with least bits, and the incident that the possibility minimum occurs is assigned with the longest code word.Figure 29 shows the code table at the incident that identifies in the continuous distance of swimming of n non-zero coefficient amplitude.In Figure 29, C n(j, k) expression has the code word that j amplitude greater than the coefficient of 1 amplitude k is the distance of swimming of 1 coefficient at ending at of identifying, and C n(Exc) expression is at the code word of the incident in the trooping of the n that ends at amplitude 1 nonzero coefficient.
Therefore, the bigger incident of possibility occurs and use variable-length codes.By hypothesis or measure the statistical information of combination, and according to the statistical information that institute suppose or measures, utilize code distributing method as known in the art (for example the arithmetic code of Huffman code, non-Huffman etc.) distribution variable length codeword, obtain these codes.In addition, in one embodiment, some the less amplitude combination of possibility occurs and are assigned with the fixed length code that escape code is arranged with the front.
According to an aspect of the present invention, Figure 30 shows the code table sequence at the incident that identifies in the continuous nonzero-value coefficient of different length is trooped.Therefore, Figure 30 show the form of trooping at 1 nonzero-value coefficient, at the form of trooping of 2 nonzero-value coefficient ... until at the form of trooping of n nonzero-value coefficient.Each form comprises the ending amplitude that is at most m.In a version, in each such form, can use fixed length code to those incidents that the possibility minimum occurs.
As example, suppose that following length is that 10 troop (distance of swimming of non-zero magnitude continuously) identified:
1-11121-3-11-1
Three incidents in trooping, this are arranged:
1-1112
1-3
-11-1
According to an embodiment of multilist amplitude VLC method invention, trooping of identifying is encoded as:
(C 10(4,2)+S ++S -+S ++S ++S +)+(C 10(1,3)+S ++S -)+(C 10(Exc)+S -+S ++S -)
Wherein+the expression serial connection, and S +And S -Represent code respectively at plus sign and minus symbol.
Therefore, compare with basic multidimensional amplitude VLC method, a code word that obtains replaced by several code words of utilizing simple 2-D coding form to obtain respectively via being used for sizable multidimensional coding form that the non-zero magnitude sequence is encoded.
As example, consider the ordered sequence of the quantization transform coefficient in the following low frequency region, get rid of the dc coefficient, soft breakpoint is at the N=18 place:
3-111-21100-1211-10001|0
Breakpoint is used | indication.Consider to utilize 2-D non-zero/zero troop VLC method or the top U.S. Patent application No.10/922 that comprises by reference that mentions, the similar approach that is proposed in 508 is encoded to the coefficient in the first area.
Suppose not have the DC coefficient, back then first position R (0,7) that is clustered in that identifies of a zero valued coefficients is located, and this troop for:
3-111-2110
And this is trooped and comprises following incident:
3
-111-2 and
11
Therefore, this first is trooped and is encoded as:
C(0,7)+C 7(0,3)+S ++C 7(3,2)+S -+S ++S ++S -+C 7(Exc)+S ++S -
Wherein, C (0,7) is according to the troop code word of the position that the VLC method troops at the null value distance of swimming and non-zero of 2-D non-zero/zero.
Next non-zero troop the back then a zero valued coefficients be:
-1211-10
And this is clustered in position R (1,5) and locates.The non-zero of this length is trooped and is comprised following incident:
-12 Hes
11-1
Therefore this second is trooped and is encoded as:
C(1,5)+C 5(1,2)+S -+S ++C 5(Exc)+S ++S ++S -
The next one in the first area (also being last) non-zero is trooped and is in position code R (2,1) and locates, and this to troop be 10.This is trooped and is encoded as:
C(2,1)+C 1(Exc)+S +
Therefore, whole first area is encoded as:
C(0,7)+C 7(0,3)+S ++C 7(3,2)+S -+S ++S ++S -+C 7(Exc)+S ++S -+C(1,5)+C 5(1,2)
+S -+S ++C 5(Exc)+S ++S ++S -+C(2,1)+C 1(Exc)+S +
For the VLC method of trooping according to 2-D non-zero/zero incident that identifies is carried out combined coding, in a version, each incident that identifies includes only the coefficient (being called as maximum length here) that is at most predetermined number, therefore some incidents that have a maximum length comprise that first distance of swimming back of one or more continuous nonzero-value coefficient follows second distance of swimming of zero or a plurality of zero valued coefficients or one or more continuous zero valued coefficients, rather than then zero valued coefficients of back.This makes it possible to the incident that has greater than the coefficient of predetermined number is encoded as a plurality of incidents that have maximum length at the most, and does not use escape code.Two or more incidents that common qualification is followed the nonzero-value coefficient distance of swimming of any length less than the distance of swimming back of the zero valued coefficients of maximum length are called as " broad sense incident " here, because for some purpose, it is counted as an incident, and described purpose for example comprises utilizes so-called soft border to establish first and second zones.
Notice that the inventor has been noted that for short trooping, n=2 or 3 for example, basic multidimensional amplitude VLC method can well be worked, and for long trooping, n>3 for example, then preferred above-mentioned multilist VLC method.Therefore, one embodiment of the present of invention length of trooping according to nonzero-value coefficient is used basic multidimensional amplitude VLC method and multilist VLC method.
For example, using basic multidimensional amplitude VLC method for trooping of length n≤3, use multilist amplitude VLC method for trooping of length n>3, and under the situation that use 2-D non-zero/zero to troop relative position that the VLC method troops as the nonzero-value coefficient of n to length is encoded, at trooping and the code of its position can be expressed as:
If n≤3 then C (z, n)+A n(m (1), m (2) ..., m (n))+S (1)+S (2)+...+S (n),
Else if n>3 C (z, n)+∑ i{ C n(j i, k i)+S i(1)+...+S i(j i+ 1) }
The another kind of mode of representing this coding function is:
αV R(z,n),An{R(z,n),m(1),...,m(n)}+
(1-α)V R(z,n),Cn{R(z,n),(j 1,k 1),(j 2,k 2),...}
Wherein for the trooping of short nonzero-value coefficient (for example n=1,2 or 3 value), α=1, and for n>3, α=0.
Use the troop code of VLC method and at the code of short multidimensional amplitude VLC method of trooping or at the code of long multilist VLC method of trooping the nonzero-value coefficient of first (low frequency) regional value is encoded and to comprise the then distance of swimming of the zero valued coefficients of the distance of swimming (trooping) front of the nonzero coefficient of a zero valued coefficients of sign back of 2-D non-zero/zero.This method comprises that also utilization encodes to non-zero magnitude at the multidimensional code of trooping that is at most three nonzero coefficients, and for the distance of swimming of any n>3 a continuous nonzero coefficient, the distance of swimming back that identifies continuous amplitude and be 1 coefficient then amplitude greater than the incident of 1 coefficient.
As example, consider the sequence of the quantization transform coefficient in the following low frequency region is encoded, get rid of the dc coefficient, and hypothesis breakpoint N=19:
3-111-21100-12101-10001|0
Wherein | the expression breakpoint.
With | with the back then the troop this zero run-length of front of one zero non-zero separate, be assumed to be soft border, then low frequency region is by constituting with lower area:
|3-111-2110|0-1210|1-10|0010
Use the code of combinations thereof method to be:
C(0,7)+C 7(0,3)+S ++C 7(3,2)+S -+S ++S ++S -+C 7(Exc)+S ++S ++
C(1,3),A 3(1,2,1)+S -+S ++S ++C(0,2)+A 2(1,1)+S ++S -+C(2,1)+A 1(1)+S +
Attention is for first trooping of having 7 nonzero coefficients, use multilist VLC method that nonzero-value coefficient is encoded, and troop for other nonzero-value coefficient, because the run length of trooping is less than or equal to 3, so use basic multidimensional amplitude VLC method that the amplitude in trooping is encoded.
When independent or the basic multidimensional amplitude VLC method of combination are used multilist amplitude VLC method, how to establish breakpoint and be described with reference to elementary mixing VLC method and extended hybrid VLC method in the above.
Therefore, a method embodiment according to multilist amplitude VLC method, the zero-sum that the formation of using a 2-D position code form to represent to end at a zero valued coefficients is trooped forms the distance of swimming of the nonzero-value coefficient of trooping, troop described in the VLC method as 2-D non-zero/zero, and it is that the incident of the distance of swimming of 1 coefficient is encoded that several relatively short 2-D amplitude code table (number of form with " n " expression, the length of form changes from 1 to n) are used to ending at each amplitude greater than 1 amplitude in the trooping of n nonzero-value coefficient.
The inventor finds to make the good equally or more performance of method that provides in this way and proposed in elementary mixing VLC method and 2-D non-zero/zero VLC method of trooping.It also can be compared with basic multidimensional amplitude VLC method, and has the advantage of easy realization.
Co-location and amplitude VLC method
Invention described in elementary mixing VLC method and 2-D non-zero/zero VLC method of trooping has proposed the position that various variable length code technology only consider to form the conversion coefficient of trooping or disperse.Invention described in basic multidimensional amplitude VLC method and the multilist amplitude VLC method has proposed the amplitude of trooping is carried out Methods for Coding.These methods have been arranged, also needed a kind of variant, will be in the same place the coded combination of the amplitude of the position of conversion coefficient and conversion coefficient.
An aspect of co-location and amplitude VLC method invention will be used for the coding method encoded in the position of the continuous nonzero-value coefficient that appears at the nonzero-value coefficient distance of swimming (trooping) and combine with the coding method that is used for the amplitude of the nonzero-value coefficient of trooping is encoded, and be used for the combined code that the orderly series of quantization parameter of the view data conversion of the first area (low frequency region) to series is encoded with generation.Such series appears in a variety of method for compressing image.
The same with the description of other coding method here, this part also is described with regard to the orderly series of digital value, described digital value is the quantization transform coefficient of video data block, wherein the null value quantization parameter is that most probable occurs, and value is the value that next most probable occurs for ± 1 quantization parameter, the present invention is applicable to the orderly series of digital signal generally speaking, and the amplitude of each digital signal is taken from the limited amplitude collection that is made of the amplitude of most probable appearance and at least one other amplitude.
Figure 31 shows the process flow diagram of an embodiment 3100 of hybrid variable length coding (VLC) method, and this method comprises troops and the relative position and the length of the zero valued coefficients distance of swimming to nonzero-value coefficient, and the amplitude in the nonzero-value coefficient distance of swimming is carried out combined coding.
In 2401, as shown in Figure 24, provide breakpoint to limit first (low frequency) zone and second (high frequency) zone with ordering along quantization transform coefficient series.
In 3103, identify the position event in the first area.Position event is used to provide nonzero-value coefficient to troop and the relative position and the run length of the intercalary zero valued coefficients distance of swimming.In a version, identify these position events and comprise according to the mode described in elementary mixing VLC method and the extended hybrid VLC method and discern incident.When using the thought of 2-D non-zero/zero VLC method of trooping, the run length of any distance of swimming of the continuous zero valued coefficients before the nonzero-value coefficient of utilizing the back to follow a zero valued coefficients is trooped and the run length that nonzero-value coefficient is trooped limit these incidents.
In 3105, the amplitude incident in the sign first area.When combined coding comprised the thought of basic multidimensional amplitude VLC method, the amplitude incident was the amplitude during nonzero-value coefficient is trooped.An embodiment also comprises the symbol of the middle nonzero coefficient of trooping.When combined coding comprised the thought of multilist amplitude VLC method, incident was the run length of the distance of swimming of 1 coefficient and the value of ending amplitude greater than the continuous amplitude before 1 the coefficient for any amplitude in each is trooped.In one embodiment, the amplitude incident comprise nonzero-value coefficient troop in the symbol of nonzero coefficient.
In 3107, to carrying out combined coding at the nonzero-value coefficient in the first area and each position event that identifies of trooping and the amplitude incident of the zero valued coefficients of centre.The assumed position incident is used the thought described in 2-D non-zero/zero VLC method of trooping, with R (z, n) represent the position event that each identifies, this position event represents that the front of trooping of n continuous nonzero-value coefficient is the distance of swimming of z zero valued coefficients, and the back then is a zero valued coefficients, z=0,1 ..., n=1,2 ....In addition, suppose to carry out the joint amplitude coding according to the mode in the basic multidimensional amplitude VLC method, with m (1) ..., n non-zero magnitude during m (n) expression is trooped.Then according to an embodiment, replace independently to the position and amplitude is encoded and with result's serial connection for C (z, n)+A n(m (1) ..., m (n)), wherein (z is at R (z, position code n), and A n) to C n(m (1) ..., m (n)) be joint amplitude code at non-zero magnitude, an aspect of co-location and amplitude VLC method invention is that step 3109 utilizes the associating integrated coding function of position event and amplitude incident to carry out coding.That is, for position R (z, that n) locates troops,
V R(z,n),An{R(z,n),m(1),...,m(n)}
Wherein, V R (z, n), An{ } be at R (z, n) and amplitude m (1) ..., the code of the combination of m (n).In one embodiment, V R (z, n), Cn{ the function of the code bit of the encoding symbols of the nonzero-value coefficient that .} being used for of also being connected in series troops to nonzero coefficient.
Therefore, in order to be encoded in this zone, the front that non-zero coefficient amplitude is trooped is the position event R (z that a zero valued coefficients is followed in the zero valued coefficients distance of swimming and back, n) be identified according to the mode in 2-D non-zero/zero VLC method of trooping, and the amplitude incident of trooping is identified according to the mode in the basic multidimensional amplitude VLC method.Position that obtains and amplitude incident are used to utilize multidimensional coding form V R (z, n), AnR (z, n), m (1) ..., m (n) } search code word.Use the statistical information of hypothesis or in adaptive approach, use the statistical information of measuring to set up form V R (z, n), AnCertainly, the dimension of form is quite big: many bidimensional than the dimension of using basic multidimensional amplitude VLC method.
In another embodiment of 3107, the amplitude incident of multilist amplitude VLC method and 2-D non-zero/zero position event of trooping the VLC method is made the position and the amplitude that are used for to trooping carry out combined coding together.The integrated code of step 3107 can be expressed as in this embodiment:
V R(z,n),Cn{R(z,n),(j 1,k 1),(j 2,k 2),...}
V wherein R (z, n), Cn{ .} is at 2-D non-zero/zero troop position event R (z, unified code n), each (j defined in the VLC method i, k i) be i the amplitude incident that identifies in trooping, i is at least 1, and this i incident has a non-zero magnitude and (is represented as k i, k iGreater than 1), there is j its front iIndividual continuous amplitude is the distance of swimming of 1 coefficient, j i〉=0, defined in multilist amplitude VLC method.In one embodiment, amplitude incident { (j i, k i) with combined at the symbol code of each this incident, so V R (z, n), Cn{ .} also is the function of code bit of encoding symbols that is used for the nonzero-value coefficient of amplitude incident that nonzero-value coefficient is trooped.
In another embodiment, utilizing a combined coding integrated position and amplitude incident in step 3107 to be extended to use comprises position encoded in combined coding according to the position event of at least a position encoded method and uses the amplitude incident according at least a amplitude coding method to comprise position encoded in combined coding.
In one embodiment, as example, identify the position event that nonzero coefficient is trooped according to the mode in 2-D non-zero/zero VLC method of trooping, for some length of trooping, use used amplitude incident in the basic multidimensional amplitude VLC method, and, use used amplitude incident in the multilist amplitude VLC method for other length of trooping.What obtain can limit with the coding function of position event of trooping about nonzero-value coefficient and amplitude incident at the unified code of trooping:
If n≤3 then V R (z, n), AnR (z, n), m (1) ..., m (n) }
N>3, then V else if R (z, n), CnR (z, n), (j 1, k 1), j 2, k 2...
The another kind of mode of representing this coding function is:
αV R(z,n),An{R(z,n),m(1),...,m(n)}+
(1-α)V R(z,n),Cn{R(z,n),(j 1,k 1),j 2,k 2},...}
Wherein for the trooping of short nonzero-value coefficient, for example n=1,2 or 3 value, α=1, and for n>3, α=0.Use this combined code to be based on the observed phenomenon of inventor, promptly in less dimension/troop (for example n=3) afterwards, use the performance of basic multidimensional amplitude VLC method to begin variation gradually, and for bigger trooping, the performance of multilist amplitude VLC method can be improved.
Certainly, this combined coding to each relative position of trooping, run length and amplitude may cause very complicated and huge coding form.In practice, the inventor has been found that because relatively low non-zero magnitude value possibility that (for example 1 and 2) occur is more much bigger than the possibility of relative higher range value (for example 3,4,5 etc.) appearance.Therefore, in reality realized, the range value of trooping at nonzero coefficient that is used in the combined coding function was restricted to relatively low range value, and for example 1 and 2.Utilize independent position and amplitude code to comprising high value (for example 3,4,5, ...) troop and encode, for example in 2-D non-zero/zero troop VLC method and combination of multidimensional amplitude VLC method substantially, or the combination of 2-D non-zero/zero troop VLC method and multilist amplitude VLC method, or described in the combination of two kinds of methods.Because non-zero magnitude value 1 and 2 is more much bigger than the possibility that higher amplitude occurs, so limit the essence performance that the amplitude of utilizing the combined coding function to encode should be unable to influence these methods too much like this.
Should be noted that in all cases the combined coding function is different for the nonzero-value coefficient of various run lengths.
Contrast the example of various VLC codes as described herein
Contrast now uses traditional 2D-VLC, elementary mixing VLC method, the 2-D non-zero/zero VLC method of trooping to troop the VLC method in conjunction with multidimensional amplitude VLC method, 2-D non-zero/zero situation that the VLC method is encoded in conjunction with the amplitude VLC method of multilist amplitude VLC method and co-location of trooping in conjunction with traditional amplitude coding, 2-D non-zero/zero.
Suppose that the quantization transform coefficient sequence in the low frequency region is as follows, get rid of the DC coefficient, and hypothesis breakpoint N=19:
3-111-21100-12101-10001|0
Wherein | the expression breakpoint.
Use traditional 2D-VLC to encode
Use traditional 2D-VLC to encode and comprise the then incident of a nonzero coefficient of preceding zero valued coefficients distance of swimming back that is identified at.Use | separate such incident, being constructed as follows of low frequency region:
|3|-1|1|1|-2|1|1|00-1|2|1|01|-1|0001|
(C03+S +)+(C01+S -)+(C01+S +)+(C01+S +)+(C02+S -)+(C01+S +)+
(C01+S +)+(C21+S -)+(C02+S +)+(C01+S +)+(C11+S +)+(C01+S -)+(C31+S +)
Wherein Czj represent at z the preceding the run length of zero valued coefficients (z=0,1 ...) the then 2D-VLC code of the incident of amplitude nonzero coefficient that is j of back, and S wherein +And S -Expression is used for code that plus sign and minus symbol are encoded respectively.
Use elementary mixing VLC method to encode
In first (low frequency) zone, use elementary mixing VLC method to encode and comprise the incident of the nonzero coefficient distance of swimming (trooping) that identifies the zero valued coefficients distance of swimming and replace.Use | separate such incident, being constructed as follows of low frequency region:
|3-111-211|00|-121|0|1-1|000|1|
|C(7)+(A(3)+S +)+(A(1)+S -)+(A(1)+S +)+(A(1)+S +)+
(A(2)+S -)+(A(1)+S +)+(A(1)+S +)|+|C′(2)|+|C(3)+(A(1)+S -)+(A(2)+S +)+
(A(1)+S +)|+|C′(1)|+|C(2)+(A(1)+S +)+(A(1)+S -)|+|C′(3)|+
|(C1)+(A(1)+S +)|
Wherein C (n) and C ' (z) represent code word, the run length code of the run length of run length of trooping at the nonzero coefficient that is represented as n respectively and the continuous zero valued coefficients that is represented as z for example, and Ai represents the size of non-zero magnitude.
Use 2-D non-zero/zero VLC method of trooping to encode in conjunction with traditional amplitude coding
Use 2-D non-zero/zero troop the VLC method in conjunction with the coding that the nonzero-value coefficient in first (low frequency) zone is carried out amplitude coding separately comprise the sign back then the nonzero coefficient distance of swimming (trooping) of a zero valued coefficients be the incident of the zero valued coefficients distance of swimming before.Use | separate such incident, being constructed as follows of low frequency region is assumed to be soft border:
|3-111-2110|0-1210|1-10|0010|
Code is:
|C(0,7)+(A(3)+S +)+(A(1)+S -)+(A(1)+S +)+(A(1)+S +)+(A(2)+S -)+
(A(1)+S +)+(A(1)+S +)|+|C(1,3)+(A(1)+S -)+(A(2)+S +)+(A(1)+S +)|+
|C(0,2)+(A(1)+S +)+(A(1)+S -)|+|C(2,1)+(A(1)+S +)|
Wherein (z, n) expression is at 2D non-zero/zero position code of trooping for C.
Use 2-D non-zero/zero VLC method of trooping to encode in conjunction with multidimensional amplitude VLC method
Use 2-D non-zero/zero to troop position that the VLC method troops to the nonzero-value coefficient in first (low frequency) zone in conjunction with multidimensional amplitude VLC method and amplitude encode comprise the sign back then the nonzero coefficient distance of swimming (trooping) of a zero valued coefficients be the incident of the zero valued coefficients distance of swimming before.Use | separate such incident, being constructed as follows of low frequency region is assumed to be soft border, and this sequence can be write:
|3-111-2110|0-1210|1-10|0010|
Code is:
|C(0,7)+A 7(3,1,1,1,2,1,1)+S ++S -+S ++S ++S -+S ++S +)|+
|C(1,3)+A 3(1,2,1)+S -+S ++S +|+|C(0,2)+A 2(1,1)+S ++S -)|+|C(2,1)+A 1(1)+S +)|
A wherein n(.) is the n dimension function of the amplitude of n continuous non-zero magnitude in trooping.Note in practice, can not use 7 degree of freedom code A 7, provide such code here just for illustrative purposes.
Use 2-D non-zero/zero VLC method of trooping to encode in conjunction with multilist amplitude VLC method
Use 2-D non-zero/zero to troop position that the VLC method troops to the nonzero-value coefficient in first (low frequency) zone in conjunction with multilist amplitude VLC method and amplitude encode comprise the sign back then the nonzero coefficient distance of swimming (trooping) of a zero valued coefficients be the incident of the zero valued coefficients distance of swimming before, then at n continuously in the trooping of nonzero coefficient, the incident of an amplitude greater than 1 coefficient followed in the distance of swimming back that identify continuous amplitude and be 1 coefficient.Use | zero before separating this back then one zero non-zero being trooped troops, and being constructed as follows of low frequency region is assumed to be soft border, and this zone is:
|3-111-2110|0-1210|1-10|0010|
Code is:
|C(0,7)+C 7(0,3)+S ++C 7(3,2)+S -+S ++S ++S -+C 7(Exc)+S ++S +)|+|C(1,3)+
C 3(1,2)+S -+S ++C 3(Exc)+S +|+|C(0,2)+C 2(Exc)+S ++S -|+
|C(2,1)+C 1(Exc)+S +)|
Wherein, use C n(j, k) being illustrated in the trooping of n nonzero-value coefficient at value is the variable length codeword of the distance of swimming of 1 coefficient for coefficient j the amplitude before of k>1, and C n(Esc) n nonzero-value coefficient of expression troops that interior not have amplitude at the back be the code word of the distance of swimming of 1 coefficient greater than the amplitude of having only of 1 coefficient.
Use the troop code of VLC method and encode of 2-D non-zero/zero at the code of short multidimensional amplitude VLC method of trooping or at the code of long multilist amplitude VLC method of trooping
Use the troop code of VLC method and at the code of short multidimensional amplitude VLC method of trooping of 2-D non-zero/zero, perhaps at the code of long multilist amplitude VLC method of trooping the nonzero-value coefficient in first (low frequency) zone being encoded comprises the then nonzero coefficient distance of swimming (trooping) the zero valued coefficients distance of swimming before of a zero valued coefficients of sign back.This method comprises that also utilization encodes to non-zero magnitude at the multidimensional code of trooping that is at most three nonzero coefficients, and for trooping of any n>3 a continuous nonzero coefficient, the distance of swimming back that identifies continuous amplitude and be 1 coefficient then amplitude greater than the incident of 1 coefficient.Use | the zero run-length before separating this back then one zero non-zero being trooped, being constructed as follows of low frequency region is assumed to be soft border, and this zone is:
|3-111-2110|0-1210|1-10|0010|
This code is:
C(0,7)+C 7(0,3)+S ++C 7(3,2)+S -+S ++S ++S -+C 7(Exc)+S ++S +)+
C(1,3),A 3(1,2,1)+S -+S ++S +}+C(0,2)+A 2(1,1)+S ++S -+C(2,1)+A 1(1)+S +
Attention is trooped for first of 7 nonzero coefficients, use multilist VLC method that nonzero-value coefficient is encoded, and troop for other nonzero-value coefficient, because the length of trooping is less than or equal to 3, so use basic multidimensional amplitude VLC method that the amplitude in trooping is encoded.
The troop code of VLC method and the code combination combined code together of multidimensional amplitude VLC method of 2-D non-zero/zero encoded in use
Use is encoded to the nonzero-value coefficient in first (low frequency) zone and is comprised then nonzero coefficient flow process (trooping) the zero valued coefficients distance of swimming before of a zero valued coefficients of sign back troop combined code that the amplitude incident of the position event of VLC method and multidimensional amplitude VLC method carries out combined coding of 2-D non-zero/zero, for example utilizes the multidimensional code that position event and non-zero magnitude are carried out combined coding then.Use | the zero run-length before separating this back then one zero non-zero being trooped, being constructed as follows of low frequency region is assumed to be soft border, and this zone is:
|3-111-2110|0-1210|1-10|0010|
This code is:
V R(z,n),A7{R(0,7),3,1,1,1,2,1,1}+S ++S -+S ++S ++S -+S ++S ++
V R(z,n),A3{R(1,3),1,2,1}+S -+S ++S ++
V R(z,n),A2{R(0,2),1,1}+S ++S -+V R(z,n),A2{R(2,1),1}+S +
Wherein unified code does not comprise the symbol of each coefficient, so symbol code is comprised separately.Notice that in practice it is very long to carry out such combined coding-run length to trooping of 7 degree of freedom, and provides such code here just for illustrative purposes.
The troop code of VLC method and the code combination combined code together of multilist amplitude VLC method of 2-D non-zero/zero encoded in use
Use is carried out troop position that the amplitude composition of matter combined code together of the position event of VLC method and multilist amplitude VLC method troops to the nonzero-value coefficient in first (low frequency) zone and amplitude of 2-D non-zero/zero combined coding and is comprised the then nonzero coefficient distance of swimming (trooping) the zero valued coefficients distance of swimming before of a zero valued coefficients of sign back, then at n continuously in the trooping of nonzero coefficient, the incident of an amplitude greater than 1 coefficient followed in the distance of swimming back that identify continuous amplitude and be 1 coefficient.Use | the zero run-length before separating this back then one zero non-zero being trooped, being constructed as follows of low frequency region is assumed to be soft border, and this zone is:
|3-111-2110|0-1210|1-10|0010|
Code is:
V R(z,n),C7{R(0,7),(0,3),(3,2),Exc}+S ++S -+S ++S ++S -+S ++S ++
V R(z,n),C3{R(1,3),(1,2),Exc}+S -+S ++S ++
V R(z,n),C2{R(0,2),Exc}+S ++S -+V R(z,n),C1{R(2,1),Exc}+S +
Wherein symbol still is encoded separately.
The example that it should be noted that the basic multidimensional amplitude of above use VLC method is for illustrative purposes.In practice, for the realization of reality, the number of dimensions that forms the amplitude troop must be restricted to less number, and for example 1,2 and 3.
Use is encoded with the code of 2-D non-zero/zero VLC method of trooping and at the code of short multidimensional amplitude VLC method of trooping with at the code combination combined code together of long multilist amplitude VLC method of trooping
Use is carried out the troop position event sign of VLC method of 2-D non-zero/zero combined coding with relative position of the nonzero-value coefficient in first (low frequency) zone being trooped at the amplitude incident of short multidimensional amplitude VLC method of trooping with at the amplitude composition of matter combined code together of long multilist amplitude VLC method of trooping and non-zero magnitude and is comprised the then nonzero coefficient distance of swimming (trooping) the zero valued coefficients distance of swimming before of a zero valued coefficients of sign back.This method comprises that also utilization encodes to relative position and non-zero magnitude at having the multidimensional code of trooping that is no more than three nonzero coefficients at most, and for trooping of each n>3 a continuous nonzero coefficient, combined coding is carried out to position event and the amplitude incident that identifies then greater than the incident of 1 coefficient in the distance of swimming back that identifies continuous amplitude and be 1 coefficient then amplitude.Use | the zero run-length before separating this back then one zero non-zero being trooped, being constructed as follows of low frequency region is assumed to be soft border, and this zone is:
|3-111-2110|0-1210|1-10|0010
This code is:
V R(z,n),C7{R(0,7),(0,3),(3,2),Exc}+S ++S -+S ++S ++S -+S ++S ++
V R(z,n),A3{R(1,3),1,2,1}+S -+S ++S ++
V R(z,n),A2{R(0,2),1,1}+S ++S -+V R(z,n),A2{R(2,1),1}+S +
Wherein symbol still is encoded separately.
Attention is trooped for first of 7 nonzero coefficients, use the amplitude event identifier of multilist amplitude VLC method, use combined coding function then about position event and amplitude incident, and trooping for other nonzero-value coefficient, because the run length of trooping is less than or equal to 3, so use the event identifier of basic multidimensional amplitude VLC method to trooping, and use combined coding function to obtain complete code word about position and amplitude incident.
In reality realized, the inventor notices can be to the qualification maximum length of trooping of non-zero magnitude.This utilization to maximum length limits in 2-D non-zero/zero troops the VLC method.
In addition, in practice, the possibility that the inventor finds because relatively low non-zero magnitude value (for example 1 and 2) occurs than higher range value (for example 3,4 and 5 etc.) is much bigger, and because when having much possible range value, it is very complicated that the combined coding form can become, and is restricted to relatively low range value (for example 1 and 2) so actual implementation will be used in range value that the nonzero coefficient that uses in the combined coding function troops.Then, utilize independent position and amplitude code to higher value (for example 3,4,5, ...) encode, for example in 2-D non-zero/zero troop VLC method and combination of multidimensional amplitude VLC method substantially, or described in the combination of 2-D non-zero/zero troop VLC method and multilist amplitude VLC method.Because non-zero magnitude value 1 and 2 is more much bigger than the possibility that higher amplitude occurs, so limit the essence performance that the amplitude of utilizing the combined coding function to encode should be unable to influence these methods too much like this.
How establishing breakpoint is described with reference to elementary mixing VLC method and extended hybrid VLC method in the above.
The self-adaptation breakpoint method that is used for hybrid variable length coding
In above-mentioned each hybrid coding method, under the situation of two zones (for example low frequency region and high-frequency region), breakpoint is restricted to the border between low frequency and the high-frequency region.Best breakpoint in the coding in the frequency spectrum of employed conversion changes with different images according to different pieces.As mentioned above, pre-determine typical breakpoint, can use predetermined breakpoint by the experiment of collecting about the statistical information of one group of canonical blocks coefficient.Usually, for high resolving power or high-quality still image coding and low resolution or inferior quality still image coding; Intraframe coding and interframe encode; High bit rate coding method and low rate encoding method; Based on the transform coding method of DCT and non-dct transform coding method etc., determine different breakpoints.
Though predetermined breakpoint can provide gratifying coding efficiency, it is best anything but.Various result of experiment show and can further improve the performance of hybrid coder by using best breakpoint.This improvement effect may be to use 25% of improvement effect that predetermined breakpoint obtains.
Thereby, also need a kind of definite the best in this area or, come to limit first (low frequency) zone and second (high frequency) zone for hybrid coding according to a kind of method in the hybrid coding above-mentioned near the method for best breakpoint.
Here provided a kind of method, equipment and bearing medium, used N in order to find along the path of the ordering of the orderly series of the quantization parameter of video data block 0The breakpoint of expression identifies first (for example low frequency) zone and second (for example high frequency) zone.
With reference to the process flow diagram of the mixed method shown in Figure 24 2400, the frame 2401 of establishing breakpoint is handled in the invention of self-adaptation breakpoint method.The same with the process of describing all methods here, in the description of this part, describe self-adaptation breakpoint method with regard to conversion coefficient, the present invention generally relates to the orderly series of digital signal is encoded, and the amplitude of described each digital signal is taken from limited range value set.Each signal also can have symbol, promptly can be just or negative.The range value set comprises amplitude and at least one other amplitude that a most probable occurs.Application discussed herein is at the orderly series of signal, this orderly series is by after the conversion such as DCT or some other common conversion, is quantized into limited value again and the ordered set of the quantization parameter value of the video data block that obtains after predefined paths (for example zigzag path) sorts.The order that the ordering of this series normally increases progressively according to spatial frequency.The value that most probable the occurs value of frequent appearance (for example) is generally 0, and is 1 in some cases.
Here will describe embodiment at following situation: each image is divided into 8 * 8 piece, and each piece is carried out conversion in through (for the situation through the inter motion compensation coding) after motion compensation and the interframe subtraction or directly (for the situation of frame or frozen frozen mass independently) by DCT then.Method as described herein, bearing medium and equipment are not limited to the piece or the DCT of this size.Also can use other big or small piece or other conversion.
Method as described herein is described the breakpoint of determining to depend on image.When use depended on the breakpoint of image, as mentioned above, coefficient or the image of code behind each group coding of indication breakpoint was sent to demoder.For each frame of video in the video sequence, can use identical method.
The best breakpoint N of a kind of searching 0Method be to carry out coding 63 times for 8 * 8 piece transfer pair image, to attempt different breakpoints, promptly attempt N 0=1,2 ..., 63.Length by more resulting code word at piece provides best N 0, and at this optimum N 0Code word.This method may be very consuming time, thereby may be always unpractical.N 0=63 situation means that second area is a dummy section, therefore have only a non-dummy section (first area) will use the VLC coding method, and this coding method is the first area coding method.Similarly, N 0=0 situation means that second area is a dummy section, therefore have only a non-dummy section (first area) will use the VLC coding method, and this coding method is the second area coding method.
The invention of self-adaptation breakpoint method provides a kind of more practical method, is used to utilize set of diagrams to seek near best breakpoint as the statistical information of data block coefficient.Described breakpoint near the best is used to the hybrid coding method.
To as breakpoint N 0After having carried out checking completely with the performance of the hybrid coder of the function of the statistical information of the coefficient of trooping in the transform block, describe here and a kind ofly determine near best breakpoint N fast 0Method.This fast method comprises and at first finds the border that limit to form the many zones of the isolated dispersion coefficient of the coefficient ratio of trooping.In case determined such zone, the next part of this method comprises definite best breakpoint N that determines in the zone 0We find just to have determined like this breakpoint N of approaching the best 0Value.
Find to limit the border that forms the zone of trooping, will be limited in the search of best breakpoint then and can reduce the time of search in this zone to a large extent near best breakpoint.For the inter-frame video image that has been carried out effective motion compensation or the rest image of high compression, this border that forms the zone of trooping can be low to moderate 0 to 2.In this case, seek near best breakpoint and can be reduced to the coding that may situation comes relatively the series of 3 or 4 coefficients at more a spot of relatively, rather than at a large amount of possible N 0Value is encoded to 63 all coefficients.Breakpoint is that 0 situation means that the first area is a dummy section, and non-NULL area applications VLC coding method is arranged, and is " second area " coding method in this case.
A series of experiments show in the error 0.2% of the performance of property retention when using real best breakpoint (obtaining by exhaustive-search) of utilizing the definite breakpoint near best of embodiments of the invention can make hybrid coder.
Figure 32 shows the process flow diagram of determining near a method embodiment 3200 of best breakpoint.3203 start from the series of the orderly quantization transform coefficient of each image block (for example each 8 * 8 image block), obtain ordering by the quantized image piece that passes through along the path of predetermined for example zigzag after the conversion.For example, for the coloured image of 704 * 480 pixels, there is 5280 * 3=15840 series of 64 orderly quantization transform coefficient arrays with brightness composition and two kinds of colour components.Ignore the DC coefficient, each series has 63 coefficients.
For the group of all 63 coefficients, the statistical information of each frequency whether acquisition is present in characteristic frequency about trooping.For this reason, in 3205, one group of 63 counter is set, a counter is at a frequency, and for example array length is 63, and each array position (location) is corresponding to the count value at characteristic frequency place.For example, the described setting can be with C code writing: int counter[63], counter[5 wherein] be illustrated in the counter of number of clusters at 6 places, position in zigzag path, wherein position 0 is an AC composition.
In 3207, the number of the nonzero-value coefficient in the trooping of each frequency location place in the coefficient series group is counted.For this reason, each nonzero-value coefficient is treated equally.For each position, if run into nonzero coefficient in trooping, then the count value of this position adds 1.In one embodiment, according to the coefficient of its back location whether non-zero determine that specific nonzero coefficient position is whether in trooping.Thereby the next coefficient in its same coefficient series is that a nonzero coefficient of zero valued coefficients is not in trooping.For example suppose that for specific coefficient series, position 4 and 5 all comprises nonzero coefficient, and position 6 is a null value.Then the coefficient of position 4 is considered in trooping, and position 4 hereto, the count value at 4 places, position adds 1, and the coefficient of position 5 is not considered to be at and troops.And for example, suppose that position 4,5 and 6 all comprises nonzero coefficient, and position 7 has zero valued coefficients for particular series.Then the coefficient of position 4 is considered in trooping, because coefficient thereafter is a non-zero, and at this position 4, the count value at 4 places, position adds 1.Similarly, during the coefficient of position 5 is determined to be in and troops, and the count value at 5 places, position adds 1.But, during the nonzero value of position 6 is not considered to be in and troops, because the next coefficient at 7 places, position is zero valued coefficients.
In this manner, for the whole series group that constitutes entire image, repeated execution of steps 3207 is for example for 15840 serial repeated execution of steps 3207 with 63 non-DC quantization transform coefficients of the coloured image of 704 * 480 pixels with brightness composition and two kinds of colour components.
Step 3209 is chosen in threshold value the position of first count value with the ratio selected in advance that is lower than maximum count value.In one embodiment, the ratio of selecting in advance is 1/ frequency number.The particular version of the embodiment of the piece for 8 * 8, this ratio are 1/63.So the coloured image of three kinds of colour components for 704 * 480 starts from being lower than first count value of the count value of 15840/63 low-limit frequency position, the position that promptly is less than or equal to 251 first count value is used as the peaked threshold value of breakpoint.
This just is equivalent to each count value be multiply by the number (being 63 for this number of piece of 8 * 8 for example) of nonzero frequency in the series again divided by the sum of series, compares with 1 again.The position of first counter less than 1 is set to seek the threshold value near best breakpoint.
In 3211, for the frequency location of determined threshold value from 2 to 3209, the position with maximum count value slope is set near best breakpoint.Counters table is shown counter[i], for i=1 to 63, slope is confirmed as:
slope[i]=-(counter[i]-counter[i-1])/counter[i],i=2,...,63
Position i with maximum slope amplitude is set to the value N of the breakpoint of approaching the best 0
Attention can have variant.In a kind of variant, threshold position is determined, this threshold value be in the wherein image of series, have the piece that is in the coefficient in trooping relative number for the first time less than the position of the ratio of selecting in advance of total block data.Then, in the search of in the subclass of threshold value, carrying out best breakpoint.In a version, search for by the actual code length that relatively is used for the color of image or image is encoded.In another version, as mentioned above, the slope of number that wherein has the piece of greatest coefficient has peaked position.In another version, the position that amplitude peak descends appears in the relative number of determining to have the piece that is in the coefficient in trooping.Promptly be confirmed as position i near best breakpoint, make and determine (counter[i]-counter[i-1])/maxcount is a maximal value.
In another variant, the scope of carrying out search reaches the ratio of selecting in advance of the maximum number of non-DC coefficient.In a kind of such version, threshold value by pre-defined be max_location/3, wherein max_location represents the number of non-DC coefficient, for example for 8 * 8 piece, this number is 63.In another such version, threshold value is defined as max_location/2 in advance.Then only at the approaching best breakpoint of search in the scope of threshold value.
In another embodiment, under the situation of color framing,, then be that color information is established different breakpoints with monochrome information if color information is different with the resolution that intensity (brightness) information is encoded.For example, for the coloured image of 704 * 480 pixels with brightness composition, the image that two kinds of colour components can be used as 352 * 480 pixels is encoded.In this case, there are 5280 luminance block in the piece for 8 * 8, and establishes the breakpoint of luminance picture based on these pieces.Establish and to come each chromatic diagram is looked like to encode as breakpoint by different chromatic diagrams based on 2 * 2640=5280 chrominance block.
Though being also noted that the description of self-adaptation breakpoint method is to define according to breakpoint the first area that nonzero value troops and the form of the nonzero coefficient second area that may disperse wherein wherein to occur, but in case established first and second zones, each such zone can be divided into a plurality of zones again, and therefore whole ordering may finally be divided into plural zone.
Decoding
Another aspect of the present invention is a kind of bit stream to be decoded with the method for the quantization parameter series of the conversion that forms video data block, and described conversion makes 0 to be most probable coefficient amplitude, and 1 is next most probable coefficient amplitude.This bit stream is utilized the hybrid coding method and encodes, and described hybrid coding method for example comprises any in the above-mentioned version.A kind of such coding method for example comprises, for first neighboring region in the series, identifies each and comprises one or more distances of swimming with continuous coefficients of any non-zero magnitude.For each distance of swimming that identifies, coding method comprises encodes to the relative position of the described distance of swimming and any intercalary continuous zero valued coefficients, and for each distance of swimming that identifies, identify the incident of at least one continuous coefficients, the incident that identifies comprises that the amplitude of ending at is the sequence of 1 coefficient greater than at least one continuous amplitude of 1 coefficient, the amplitude that perhaps includes only is greater than 1 coefficient, perhaps includes only continuous amplitude and be the sequence of 1 coefficient.Each incident at the run length of the distance of swimming that identifies that identifies is that the length of sequence of 1 coefficient and the amplitude of ending coefficient limit by at least one continuous amplitude.This coding method also comprises and utilizes at least one code word that the incident that each identifies is encoded, make at least some incidents that identifies, compare and the less relatively incident of possibility occurs, utilize short code word to encode the relatively large incident of possibility occurring.
Coding/decoding method comprises the identification code word, determines the incident of the code word representative that identifies; And determine the coefficient subfamily of each incident of determining, till all coefficients all are determined in series.
Another aspect of the present invention is the equipment that is used for utilizing any method bitstream encoded as described herein to decode.As example, Fig. 8 shows an embodiment who is used for equipment that a set of code words of utilizing extended hybrid VLC method (as mentioned above, this method has been utilized five coding forms) coding is decoded.Code word recognizer 802 receives the bit in the bit streams, and the code word in one group of possible code word of an incident is represented in identification separately.The code word recognizer determines which in five coding forms be code word come from.Demoder 804 is coupled to code word recognizer 802, and determines the data of the code word discerned at the code word recognizer, for example the run length of non-zero, zero run length, symbol etc.In one embodiment, demoder 804 comprises the equipment of searching that is stored in the suitable decoding form in the storer 806 of searching.Described form provides the incident at least some code words in the Codeword Sets.Other code word can comprise escape code, therefore utilizes the method that is different from the table lookup method to decode.In one embodiment, bit stream is stored in the impact damper 808, and the output of impact damper 808 is coupled to the code word recognizer.
Though in the embodiment shown in Fig. 8, storer is illustrated as and the equipment of searching is separated, but those skilled in the art should be understood that in other alternative embodiments that the equipment of searching can comprise the storer of storing form, and comprises this other embodiment here.
Be also noted that in Fig. 8 the code word recognizer and the equipment of searching can be used as the one group of instruction that is stored in the storer (for example storer 806) and comes to realize on computers respectively that described instruction indicates one or more processors to carry out identification and search operation.
Another aspect of the present invention is a kind of storer (for example storer among Fig. 8 806) of storing decoding data structure, and described data structure provides the data at any set of code words that identifies in the bit stream of compressing image data.By any in the new coding method described herein bit stream is encoded.In one embodiment, this data structure is taked the form of one or more forms.
The Code And Decode equipment that comprises processor
Another aspect of the present invention is a kind of equipment that is used to utilize the equipment that comprises disposal system that digital signal series is encoded, and described digital signal series for example is the orderly series of the quantization parameter of the video data block after the conversion.Fig. 9 shows the equipment 900 that comprises disposal system 902, and disposal system 902 comprises one or more processors 904 and storer 906.A processor has been shown among Fig. 9, and those skilled in the art is to be understood that this can represent several processors.Similarly, show a memory sub-system 906, those skilled in the art is to be understood that this memory sub-system can comprise different elements, for example RAM, ROM etc.In addition, the memory sub-system intention comprises any non-volatile memory device, for example magnetic or optical storage assembly.Computer program 908 is comprised and is written in the storer 906.Notice that at any time the some parts of program can be positioned at the different piece of memory sub-system, those skilled in the art are to be understood that this point.Program 908 comprises the instruction of instruction processorunit according to the different hybrid coding method of different version realizations, described hybrid coding method comprises that processor receives the orderly coefficient as data, determine that along the ordering of coefficient breakpoint limits first and second zones, and determine according to first area coding method and second area coding method respectively and generate code word at the coefficient of the first and second regional photographs.Determine that breakpoint for example can be according to one or more aspects of self-adaptation breakpoint method invention.Equipment 900 also comprises the encoded data structure 910 in the memory sub-system 906, and its group for the one or more coefficients described in any method in first and second region based numbering schemes described in any mixing VLC method described here provides code word.In one embodiment, this data structure is taked the form of one or more forms, for example takes the form at the coding form of the combined coding function of position code, amplitude code and position code and amplitude code.
Another aspect of the present invention is a kind of storer (for example storer among Fig. 9 906) of memory encoding data structure, and described data structure provides code word according to the group that is described as one or more coefficients of any new coding method described here.In one embodiment, this data structure is the form of one or more forms.
Another apparatus embodiments is shown as the decoding device 1000 that comprises disposal system 1002 among Figure 10, and disposal system 1002 comprises one or more processors 1004 and storer 1006.A processor has been shown among Figure 10, and those skilled in the art is to be understood that this can represent several processors.Similarly, show a memory sub-system 1006, those skilled in the art is to be understood that this memory sub-system can comprise different elements, for example RAM, ROM etc.In addition, the memory sub-system intention comprises any non-volatile memory device, for example magnetic or optical storage assembly.Computer program 1008 is comprised and is written in the storer 1006.Notice that at any time the some parts of program can be positioned at the different piece of memory sub-system, those skilled in the art are to be understood that this point.Program 1008 comprises that instruction processorunit realizes the instruction of above-mentioned different hybrid coding method according to different versions.Thereby processor receives code word by above-mentioned any coding method generation as data, and generating quantification conversion coefficient series.Equipment 1000 also comprises the encoded data structure 1010 in the memory sub-system 1006, and it provides the incident of one or more coefficients for the different code words described in any new coding method described here.In one embodiment, this data structure is taked the form of one or more forms.
Notice that Fig. 9 and Figure 10 do not illustrate the details such as bus structure, I/O structure etc. that can be comprised, need such structure and comprise that above-mentioned details only can blur the originality aspect of equipment because those skilled in the art should know.In addition, can utilize one or more general microprocessors, the one or more microcontrollers that comprise some storeies and other element, one or more DSP equipment or any other programmable processor to realize disposal system.In addition, processor can be a stand-alone device, perhaps can be implemented as " kernel " that be included in ASIC, gate array or the miscellaneous equipment.
Another aspect of the present invention is a kind of storer (for example storer 906 among the storer among Fig. 7 706 or Fig. 9) of memory encoding data structure, and described data structure provides code word according to the group that is described as one or more coefficients of any new coding method described here.In one embodiment, this data structure is the form of one or more forms.
Another aspect of the present invention is a kind of storer (for example storer 1006 among the storer among Fig. 8 806 or Figure 10) of storing decoding data structure, and described data structure provides data for any set of code words that identifies in the bit stream of compressing image data.Described bit stream is utilized any new coding method described here and encodes.In one embodiment, this data structure is the form of one or more forms.
Like this, described and be suitable for the bearing medium that the hybrid variable length coding method that the quantization transform coefficient that appears at the image block in the common method for compressing image is encoded, the equipment of realizing this coding and the one or more processors of carrying indication are carried out the instruction of hybrid variable length coding method.Different versions uses the different coding method that is suitable for zones of different.
The bearing medium of the instruction that is suitable for the one or more processors execution of the coding/decoding method that the code word of utilizing the hybrid coding method to obtain is decoded, the equipment of realizing this decoding and carrying indication coding/decoding method has been described in addition.
In addition, described be suitable for determining breakpoint with first and second zones in the orderly series of the quantization transform coefficient that limits the image block in the now common method for compressing image so that can utilize the first area coding method that the coefficient in the first area is encoded and the breakpoint that can utilize the second area coding method that the coefficient in the second area is encoded is determined the equipment of method and definite breakpoint, and the one or more processors of carrying indication are carried out the bearing medium of the instruction of described method.
An embodiment of elementary mixing VLC method and extended hybrid VLC method uses five independently forms: two run length code table that are used for first and second runlength encoding methods, be used in the first amplitude coding form in the first area, the second amplitude code table that is used for another run length code table of the 3rd runlength encoding method and is used in second area.
Method as described herein can use disposal system (machine) to realize in one embodiment, and described disposal system comprises the one or more processors that receive the code segment that comprises instruction.For any method described here, when described machine executed instruction, this machine was carried out described method.Comprise any machine that to carry out one group of instruction of specifying the action that described machine will carry out (in proper order or other form).Therefore, a typical machine is exemplified as the typical disposal system that comprises one or more processors.Each processor can comprise one or more in CPU, Graphics Processing Unit and the Programmable DSPs unit.Disposal system can also comprise the memory sub-system that comprises main RAM and/or static RAM (SRAM) and/or ROM.Can comprise that bus sub is used for communication between components.If disposal system needs display, can also comprise display, for example LCD (LCD) or cathode ray tube (CRT) display.Manual data input if desired, then disposal system can also comprise input equipment, for example one or more alphanumeric input blocks (for example keyboard), fixed point opertaing device (for example mouse) etc.Here employed term storage unit also comprises the storage system such as disk drive unit.Disposal system in some configuration can comprise audio output device and Network Interface Unit.Thereby memory sub-system comprises the bearing medium of the machine-readable code segment of carrying (for example software), and described code segment comprises the instruction that is used for realizing one or more methods described here when being carried out by disposal system.Software can place hard disk, perhaps also can place in RAM and/or the processor fully or at least in part term of execution of computer system.Thereby storer and processor also comprise the bearing medium that carries machine readable code.
In alternate embodiment, machine can be used as stand-alone device work or can be connected (for example networking) to other machine, in networked deployment, machine can serve as server or the client machine in the client-server network environment, perhaps the peer machines in equity or the distributed network environment.This machine can be any machine of personal computer (PC), dull and stereotyped PC, set-top box (STB), PDA(Personal Digital Assistant), cell phone, web equipment, network router, switch or bridge or can carry out one group of instruction of specifying the action that described machine will carry out (in proper order or other form).
Only show a processor and a storer of carrying code though note some figure, those skilled in the art are to be understood that above-mentioned a lot of assembly can be comprised, are for fuzzy theme of the present invention but significantly do not illustrate or describe.For example, though only show a machine, term " machine " should be believed to comprise separately or unite one group of execution (or many groups) instruction and realize the set of the machine of any or several different methods discussed herein.
The form of the computer program that an embodiment of the whole bag of tricks as described herein takes to carry out on disposal system, described disposal system for example are the one or more processors as the part of image encoder or demoder in due course.Therefore, it will be appreciated by those skilled in the art that embodiments of the invention may be implemented as a kind of method, the equipment such as specialized equipment, the equipment such as data handling system or bearing medium (for example computer program).The bearing medium carrying is used for one or more computer-readable code sections of control (indication) disposal system implementation method.Therefore, aspect of the present invention can take method, all be the embodiment of hardware, all be the embodiment of software or the form that has made up the embodiment of software and hardware aspect.In addition, the present invention can take to carry the form of the bearing medium (for example computer program on the computer-readable recording medium) of the computer readable program code section that is included in the medium.Operable suitable computer-readable medium comprises the magnetic storage apparatus such as disk or hard disk, the perhaps light storage device such as CD-ROM.
Software can also send on network or receive via Network Interface Unit.Though bearing medium is shown as a bearing medium in the exemplary embodiment, but term " bearing medium " should be believed to comprise a medium or a plurality of medium (for example centralized or distributed data base, and/or relevant buffer memory and server) of one or more groups instruction of storage.Term " bearing medium " also should be believed to comprise can store, encodes or carry one group of any medium of being carried out and made the instruction of Realization by Machine one or more methods of the present invention by machine.Bearing medium can be taked various ways, includes but not limited to non-volatile media, Volatile media and transmission medium.Non-volatile media comprises for example CD, disk and magneto-optic disk.Volatile media comprises dynamic storage, for example primary memory.Transmission medium comprises concentric cable, copper cash and optical fiber, comprises the line that comprises bus sub.Transmission medium can also be taked the form of sound wave or light wave, for example those media that produce in radiowave and infrared data communication.For example, term " bearing medium " should correspondingly be believed to comprise but be not limited to solid-state memory, light medium and magnetic medium, and carrier signal.
Be to be understood that and utilize suitable one or more processors of carrying out processing (the being computing machine) system that is stored in the instruction (code segment) in the memory device to realize the method step of being discussed in one embodiment.It should also be understood that the present invention is not limited to any specific implementation or programming technique, and can utilize and be used to realize that any suitable technique of function as described herein realizes the present invention.The present invention is not limited to any specific programming language or operating system.
Mention " embodiment " or " embodiment " in this manual and mean that described in conjunction with the embodiments special characteristic, structure or characteristic comprise at least one embodiment of the present invention.Therefore, each local appearance " in one embodiment " or " in an embodiment " not necessarily all refers to identical embodiment in this manual.In addition, it will be clear to one skilled in the art that these special characteristics, structure or characteristic can make up in one or more embodiments in any suitable manner.
Similarly, be to be understood that in the description to exemplary embodiment of the present invention in the above, various feature of the present invention usually by grouping at the figure of embodiment, an embodiment and in describing, of the present invention open and help to understand the purpose of each creative aspect to realize simplifying.But this publicity pattern can not be interpreted as invention required for protection need be than knowing the more feature of describing of feature in each claim.On the contrary, shown in appended claim, the feature of creative aspect can be less than all features among the disclosed embodiment in single front.Thereby, being attached to this detail specifications claim afterwards and also clearly being included in this detail specifications, each claim self can be used as one embodiment of the present of invention.
In addition, those skilled in the art are to be understood that, though embodiment more as described herein have comprised the feature that in other embodiments some are identical, the combination of features of different embodiment and forms different embodiment also within the scope of the invention.For example, in the appended claims, can use any claimed embodiment according to any combination.
In addition, here be described to can be by the processor of computer system or carry out the combination of the key element of a kind of method that other devices of function realize or a kind of method for some embodiment.Therefore, the processor that has a necessary instruction of key element of carrying out such method or such method has constituted the device of the key element that is used to carry out described method or method.In addition, the key element of apparatus embodiments as described herein is the example that is used to carry out the device of the function that is used to realize that key element of the present invention is performed.
Be described in the context to the transition coding of image though it is also understood that the present invention, the present invention is not limited to such context, and can be used in various other compression applications and the system.In addition, the present invention is not limited to the structure of any kind or the transition coding of any kind.For example, DCT above-mentioned is a kind of conversion.Can use other conversion, for example new H.264/MEG-4 AVC video encoding standard/draft standard defines 4 * 4 piece and 4 * 4 integer transforms of similar DCT.The present invention does not rely on the interframe encode (if you are using) of any particular type, perhaps motion compensation (if being used for interframe encode), perhaps any interior estimate (if being used to use the pixel of estimating piece from the information of adjacent block).
Notice that variable length code is called as entropy coding or statistical coding sometimes.
Attention term coding (coding) and coding (encoding) here can exchange and use.
Comprise the independent sign bit at symbol though be also noted that above embodiment, is-symbol can merge in any amplitude coding method.
Note being used for some examples of amplitude coding in the above, suppose that coefficient has 63 or 127 possible nonzero values, but the present invention is not limited to the possible quantized value of any number.
Be also noted that term amplitude and symbol are irrelevant.Therefore, for example value for+1 and the amplitude of-1 coefficient all be 1.
In some above-mentioned embodiment, do not comprise symbol data.Most of conversion produces positive coefficient and negative coefficient, and the formation of code word comprises the indication to the symbol of nonzero-value coefficient.In a version, the symbolic information of any non-zero magnitude distance of swimming in any zone is added to by the information with each amplitude.In alternate embodiment, can be comprised according to different forms at the symbolic information of any non-zero magnitude distance of swimming in any zone, for example as the code of series of symbols.Also can utilize other alternate embodiments to encoding symbols.
In the above-described embodiments, the formation of code word comprises the indication to the symbol of nonzero-value coefficient.In a version, the symbolic information of any non-zero magnitude distance of swimming in the first area is added together by the information with each amplitude.In alternate embodiment, can be comprised according to different forms at the symbolic information of any non-zero magnitude distance of swimming of first area, for example as the code of series of symbols.Also can utilize other alternate embodiments to encoding symbols.
Though an embodiment as described herein comprises the storer of memory encoding form, other embodiment are with the form memory encoding information of the data structure (structure that for example comprises tree) that is different from form.Also can use other data structures.Similarly, comprise the storer of storage decoding form though an embodiment as described herein comprises storage, other embodiment are with the form memory encoding information of the data structure that is different from the form that is used to decode.
Be also noted that the present invention does not rely on the VLC of any particular type that is used for any coding method, coding form for example, and for example utilize Huffman encoding and arithmetic coding method to work.In addition, though described the embodiment that incident is used regular coding based on appearance likelihood hypothesis or the incident (being also referred to as symbol) of priori (be likelihood appears in incident constant), but other embodiment have used adaptive coding, and promptly coding can change according to the statistics such as the histogram of collecting from actual coefficients.
All publications, patent and the patented claim of quoting here are all incorporated herein by reference.
In claims below and the instructions here, term " comprises (comprising) " or " comprising (comprised of) " or " it comprises (whichcomprises) " is the open to the outside world term, its meaning is the elements/features that comprises the back at least, but does not get rid of other elements/features.Terminology used here " comprises (including) " or " it comprises (which includes) " or " it comprises (that includes) " also is the open to the outside world term, its meaning also is the elements/features that comprises this term back at least, but does not get rid of other elements/features.Therefore, comprise (including) and comprise (comprising) synonym.
Therefore; though described the embodiment that is considered to the preferred embodiments of the present invention; but it will be appreciated by those skilled in the art that under the situation that does not break away from spirit of the present invention and can carry out other modification, and be intended to claimed all such changes and the modification that falls within the scope of the invention.For example, the formula that provides is above only represented the step that may use.Can from block diagram, add or delete some functions, and between functional block, can exchange operation.Within the scope of the invention, can or delete step for described method interpolation.

Claims (332)

1. method that is used for the orderly series of processing digital signal, the amplitude of each is taken from the limited amplitude collection that the amplitude that occurred by most probable and at least one other amplitude constitute in the described digital signal, described processing is used to represent the data volume of described digital signal and forms code word in order to minimizing, the digital signal value that the feasible possibility that occurs is bigger or the sequence of digital signal value are represented by relatively short code word, and the digital signal value that the possibility that occurs is less or the sequence of digital signal value represent that by relatively long code word described method comprises:
Amplitude distribution according to digital signal described in each zone, establish at least one breakpoint so that described series is divided into a plurality of neighboring regions along the ordering of described series, each zone has the respective coding process, described cataloged procedure comprises that identification incident and formation at the code word of described series, comprise the code word at described incident; And
For each zone of described series, use a set of code words that forms described series with the corresponding cataloged procedure in described zone,
Make to form the sequence that relatively short code word represents to occur relatively large value of possibility or value, and form the sequence that relatively long code word represents to occur less relatively value of possibility or value.
2. the method for claim 1,
Wherein said digital signal series is the quantization parameter series of the video data block after the conversion, and the amplitude that described conversion makes most probable occur is 0, and the amplitude of secondly most probable appearance is 1.
3. the method for claim 1 also comprises:
Image is divided into video data block; And
For each video data block:
Described conversion forms the video data block after the conversion to described of conversion to form the conversion coefficient at described, and the amplitude that described conversion makes most probable occur is 0, and the amplitude of secondly most probable appearance is 1;
Quantize described conversion coefficient;
To the orderly series of described quantization parameter ordering with the quantization parameter that forms the video data block after the described conversion, the orderly series of described quantization transform coefficient is described digital signal series along two dimensional path;
Execution obtains the establishment step of the described breakpoint of described a plurality of neighboring regions, and the corresponding cataloged procedure of described application and described zone is with the step of the set of code words that forms described series.
4. the method described in arbitrary as described above claim,
The step of described at least one breakpoint of wherein said establishment is established breakpoint to limit first neighboring region and second neighboring region along the ordering of described series, feasible trooping of continuous signal with any value of the value that is not equal to the most probable appearance mainly appears in described first neighboring region, and
Wherein said application comprises at the step of the coding in each zone:
Utilization comprises the identification incident and the first area coding method that the described incident that identifies is encoded is encoded to the signal in the described first area that the coding method of described first area is selected to the trooping of continuous signal of any value with the value that is not equal to the most probable appearance encoded; And
Utilize the second area coding method that the signal in the described second area is encoded,
Wherein said first area and second area coding method comprise variable-length codes, make to form the sequence that relatively short code word represents to occur the relatively large value of possibility, and form the sequence that relatively long code word represents to occur the less relatively value of possibility.
5. the method described in claim 4,
Wherein, in the coding method of described first area:
The identification of described incident comprises first kind of incident of identification, and the incident of each described first distance of swimming is to appear at the distance of swimming of continuous signal that its value in first neighboring region that is limited by described breakpoint is not equal to the value of most probable appearance;
Described formation comprises the code word of formation at described first kind of incident at the code word of the described incident that identifies, comprise and utilize first runlength encoding method that the run length of described continuous signal is encoded, and form and to utilize described first runlength encoding method described run length to be encoded and the amplitude of each signal in the described distance of swimming and the code word of encoding symbols;
The identification of described incident also comprises second kind of incident of identification, and each described second kind of incident is the distance of swimming that appears at the continuous signal of the value with most probable appearance in the first area that is limited by described breakpoint; And
Described formation comprises the code word of formation at described second kind of incident at the code word of the described incident that identifies, comprises utilizing second runlength encoding method that the run length of the described continuous signal of the value that has most probable and occur is encoded,
The wherein said second area coding method that is used for that the signal that appears at the second area that is limited by described breakpoint is encoded comprises the third incident of the distance of swimming that identifies the continuous signal that comprises the value that has the most probable appearance in the described second area, and utilize the 3rd coding method that described the third incident that identifies in the described second area is encoded, and
Wherein said first, second comprises variable-length codes with the 3rd coding method, make to form the sequence that relatively short code word represents to occur the relatively large value of possibility, and form the sequence that relatively long code word represents to occur the less relatively value of possibility.
6. the method described in claim 5,
Wherein said the 3rd coding method comprises and utilizes the 3rd variable-length runlength encoding method that the run length of continuous zero valued coefficients is encoded, and to the amplitude and the encoding symbols of the nonzero-value coefficient in the described second area.
7. as the described method of arbitrary claim in the claim 5 to 6,
Wherein said digital signal series is the quantization parameter series of the video data block after the conversion, and the amplitude that described conversion makes most probable occur is 0, and secondly the amplitude that occurs of most probable is 1,
Wherein said the 3rd coding method comprises the code word at the run length of described zero valued coefficients, and indicates the code word that does not have zero valued coefficients between two nonzero-value coefficient, and
Wherein also generate at the amplitude of each nonzero-value coefficient in the described second area and the code word of symbol.
8. the method described in claim 5,
Wherein said digital signal series is the quantization parameter series of the video data block after the conversion, and the amplitude that described conversion makes most probable occur is 0, and secondly the amplitude that occurs of most probable is 1, and
Wherein said the 3rd coding method comprises two-dimensional variable length coding method, described two-dimensional variable length coding method to by the distance of swimming back of continuous zero valued coefficients then the incident that constitutes of nonzero-value coefficient encode.
9. the method described in claim 20,
Wherein provide the 3rd run length code table and the second amplitude code table to be used for the information of described second area is encoded,
Wherein said the 3rd run length code table is used for storing a plurality of code words at one group of run length of the zero valued coefficients that appears at the described second area of s, described the 3rd form is organized as and makes the described bigger run length of possibility that occurs compare the described less run length of possibility that occurs and have short code word
The wherein said second amplitude code table is used for storing a plurality of code words at the amplitude of the nonzero coefficient that appears at described second area, and
Wherein said formation comprises at the step of the code word of each run length of the zero valued coefficients in the described second area searches described the 3rd run length code table.
10. the method described in the arbitrary claim in the claim 5 to 9,
Wherein said digital signal series is the quantization parameter series of the video data block after the conversion, and the amplitude that described conversion makes most probable occur is 0, and secondly the amplitude that occurs of most probable is 1, and
The wherein priori likelihood that occurs based on the described incident of being supposed is fixed at the formation of the code word of each run length.
11. the method described in the arbitrary claim in the claim 5 to 9,
Wherein said digital signal series is the quantization parameter series of the video data block after the conversion, and the amplitude that described conversion makes most probable occur is 0, and secondly the amplitude that occurs of most probable is 1, and
Wherein according to the actual count data of from the sequence of described digital value, collecting, be variable at the formation of the code word of each run length.
12. the method described in claim 4,
Wherein, in the coding method of described first area:
The identification of described incident comprises first kind of incident of identification, and the incident of each described first distance of swimming is to appear at the distance of swimming of continuous signal that its value in first neighboring region that is limited by described breakpoint is not equal to the value of most probable appearance;
Described formation comprises the code word of formation at described first kind of incident at the code word of the described incident that identifies, comprise and utilize first runlength encoding method that the run length of described continuous signal is encoded, and form and to utilize code word that described first runlength encoding method encodes to described run length and the amplitude and the encoding symbols of each signal in the described distance of swimming;
The identification of described incident also comprises second kind of incident of identification, and each described second kind of incident is the distance of swimming that appears at the continuous signal of the value with most probable appearance in the first area that is limited by described breakpoint; And
Described formation comprises the code word of formation at described second kind of incident at the code word of the described incident that identifies, comprises utilizing second runlength encoding method that the run length of the described continuous signal of the value that has most probable and occur is encoded,
The wherein said second area coding method that is used for that the signal that appears at the second area that is limited by described breakpoint is encoded comprises that sign comprises the incident of the distance of swimming of the continuous signal that ends to have in the described second area of a signal that its value is not equal to the value that most probable occurs the value that most probable occurs, and utilize the 3rd coding method that the described incident that identifies in the described second area is encoded, described coding comprises that the amplitude of a signal of indicating described ending is not equal to the value of next most probable appearance and the value that most probable occurs, and
Wherein said first, second comprises variable-length codes with the 3rd coding method, make to form the sequence that relatively short code word represents to occur the relatively large value of possibility, and form the sequence that relatively long code word represents to occur the less relatively value of possibility.
13. the method described in claim 12,
Wherein said digital signal series is the quantization parameter series of the video data block after the conversion, and the amplitude that described conversion makes most probable occur is 0, and secondly the amplitude that occurs of most probable is 1, and
Wherein said the 3rd coding method comprises that utilizing the 3rd variable-length runlength encoding method is that the run length of the continuous zero valued coefficients of 1 coefficient is encoded to ending at amplitude,
Described method also comprises:
Sign comprises that the amplitude of ending at is greater than the incident of the distance of swimming of zero range coefficient continuously in the described second area of a coefficient of 1;
Utilize described the 3rd coding method the described amplitude that ends at that is identified to be encoded greater than the incident of 1 coefficient again in conjunction with exception code;
Encoding symbols to described nonzero-value coefficient;
Amplitude to the nonzero-value coefficient in the described first area is encoded; And
Amplitude greater than 1 in the described second area is encoded.
14. the method described in claim 1,
Wherein said digital signal series is the quantization parameter series of the video data block after the conversion, and the amplitude that described conversion makes most probable occur is 0, and secondly the amplitude that occurs of most probable is 1, and
Wherein also generate at amplitude in the described second area greater than the amplitude of each nonzero-value coefficient of 1 and the code word of symbol.
15. the method described in claim 12,
Wherein said digital signal series is the quantization parameter series of the video data block after the conversion, and the amplitude that described conversion makes most probable occur is 0, and secondly the amplitude that occurs of most probable is 1,
Wherein provide the first run length code table, the second run length code table and the first amplitude code table in order to the information in the described first area is encoded,
The wherein said first run length code table is used to store a plurality of code words at one group of run length of nonzero-value coefficient, described first form is organized as and makes that the bigger run length of possibility occurs compares and the less run length of possibility occurs and have short code word
The wherein said second run length code table is used to store a plurality of code words at one group of run length of zero valued coefficients, described second form is organized as and makes that the bigger run length of possibility occurs compares and the less run length of possibility occurs and have short code word
The wherein said first amplitude code table is used for storing a plurality of code words at the amplitude of the coefficient of each run length of nonzero-value coefficient,
Wherein said formation comprises at the step of the code word of each run length of nonzero-value coefficient searches the described first run length code table, and comprise the first amplitude code table of searching at each nonzero coefficient in the run length of described nonzero coefficient, and
Wherein said formation comprises at the step of the code word of each run length of the zero valued coefficients in the described first area searches the described second run length code table.
16. the method described in claim 15,
Wherein provide the 3rd run length code table and the second amplitude code table to be used for the information of described second area is encoded,
It is a plurality of code words of one group of run length of 1 coefficient and the zero valued coefficients that appears at described second area that wherein said the 3rd run length code table is used for storing at the amplitude of ending at, described the 3rd form is organized as and makes the described bigger run length of possibility that occurs compare the described less run length of possibility that occurs and have short code word
The wherein said second amplitude code table is used for storing a plurality of code words greater than 1 amplitude at the nonzero-value coefficient that appears at described second area, and
Wherein said formation comprises at the step of the code word of each run length of the zero valued coefficients that ends at nonzero-value coefficient in the described second area searches described the 3rd run length code table.
17. the method described in arbitrary claim in the claim 5 to 16,
Wherein said digital signal series is the quantization parameter series of the video data block after the conversion, and the amplitude that described conversion makes most probable occur is 0, and secondly the amplitude that occurs of most probable is 1, and
Wherein said series is divided into plural zone by described breakpoint with at the extra breakpoint in each zone that comprises described second area, and described method also comprises:
The signal that appears in each additional areas that is limited by corresponding extra breakpoint is encoded, and described coding uses the coding method that is different from employed coding method in other zone.
18. the method described in arbitrary claim in the claim 5 to 17,
Wherein said digital signal series is the quantization parameter series of the video data block after the conversion, and the amplitude that described conversion makes most probable occur is 0, and secondly the amplitude that occurs of most probable is 1, and
Wherein said first coding method comprises the code word at the run length of nonzero-value coefficient, and at the amplitude of the described nonzero-value coefficient in each distance of swimming and a set of code words of symbol.
19. the method described in arbitrary claim in the claim 5 to 18,
Wherein said digital signal series is the quantization parameter series of the video data block after the conversion, and the amplitude that described conversion makes most probable occur is 0, and secondly the amplitude that occurs of most probable is 1, and
Wherein start from the code word of described first coding method at the code word of the coefficient in the described first area and between described first coding method and described second coding method alternately, and a code word in the code word of wherein said first coding method is that first distance of swimming that indication is run into is the certain code word of zero run-length, makes the code word of described second method follow after the certain code word of described first method.
20. the method described in arbitrary claim in the claim 5 to 19,
Wherein said digital signal series is the quantization parameter series of the video data block after the conversion, and the amplitude that described conversion makes most probable occur is 0, and secondly the amplitude that occurs of most probable is 1,
Wherein provide the first run length code table, the second run length code table and the first amplitude code table in order to the information in the described first area is encoded,
The wherein said first run length code table is used to store a plurality of code words at one group of run length of nonzero-value coefficient, described first form is organized as and makes that the bigger run length of possibility occurs compares and the less run length of possibility occurs and have short code word
The wherein said second run length code table is used to store a plurality of code words at one group of run length of zero valued coefficients, described second form is organized as and makes that the bigger run length of possibility occurs compares and the less run length of possibility occurs and have short code word
The wherein said first amplitude code table is used for storing a plurality of code words at the amplitude of the coefficient of each run length of nonzero-value coefficient,
Wherein said formation comprises at the step of the code word of each run length of nonzero-value coefficient searches the described first run length code table, and comprise the first amplitude code table of searching at each nonzero coefficient in the run length of described nonzero coefficient, and
Wherein said formation comprises at the step of the code word of each run length of the zero valued coefficients in the described first area searches the described second run length code table.
21. the orderly series of the quantization parameter of (master) a kind of conversion to video data block is carried out Methods for Coding, described method comprises:
Provide breakpoint to limit then first neighboring region along an above coefficient of the ordering of described series of second neighboring region of its back;
Orderly subfamily to the quantization parameter in the described first area is encoded, and comprises using first variable length decoding method; And
Orderly subfamily to the quantization parameter in the described second area is encoded, comprises using second variable length decoding method,
The feasible coding at least some coefficients in the described first area of wherein said first and second variable length decoding methods is different from the coding at least some coefficients in the described second area.
22. one kind bit stream decoded with the method for the quantization parameter series of the conversion that forms video data block, described conversion makes 0 to be most probable coefficient amplitude, and 1 is next most probable coefficient amplitude, utilizes the method described in arbitrary aforementioned claim that described bit stream is encoded
Described coding/decoding method comprises:
The identification code word;
Definite incident of representing by the described code word that identifies; And
Determine the coefficient of the incident that each is determined,
Till all coefficients in described series all are determined.
23. as the described method of arbitrary claim in the claim 5 to 22,
Wherein said digital signal series is the quantization parameter series of the video data block after the conversion, and the amplitude that described conversion makes most probable occur is 0, and secondly the amplitude that occurs of most probable is 1, and
Wherein said break value is selected in advance.
24. as the described method of arbitrary claim in the claim 5 to 22,
Wherein said method can be applied to the inter frame image data block, and wherein first break value of selecting in advance is used to first kind of inter frame image data, and second break value of selecting in advance is used to second kind of inter frame image data.
25. the method described in claim 24, wherein said first kind of interframe encode are compared described second kind of interframe encode and are had higher bit rate.
26. as the described method of arbitrary claim in the claim 5 to 22,
Wherein said digital signal series is the quantization parameter series of the video data block after the conversion, and the amplitude that described conversion makes most probable occur is 0, and secondly the amplitude that occurs of most probable is 1, and
Wherein select described break value from the finite set of predetermined breakpoint value according to the standard that depends on image.
27. the method described in claim 26, wherein the bit number of concentrating which breakpoint to produce according to described breakpoint is minimum selects described break value from the finite set of described predetermined breakpoint value.
28. the method described in arbitrary as described above claim,
Wherein said digital signal series is the quantization parameter series of the video data block after the conversion, and the amplitude that described conversion makes most probable occur is 0, and secondly the amplitude that occurs of most probable is 1, and
Video data block after the wherein said conversion comprises the DC item, and wherein said DC item is encoded separately, and makes the one group non-DC quantization parameter of described digital signal series for the video data block after the conversion.
29. the method described in arbitrary as described above claim,
Wherein said digital signal series is the quantization parameter series of the video data block after the conversion, and the amplitude that described conversion makes most probable occur is 0, and secondly the amplitude that occurs of most probable is 1, and
Wherein said breakpoint defines the bounds between described first and second zones.
30. as the described method of arbitrary claim in the claim 5 to 29,
Wherein said digital signal series is the quantization parameter series of the video data block after the conversion, and the amplitude that described conversion makes most probable occur is 0, and secondly the amplitude that occurs of most probable is 1, and
Wherein said breakpoint defines the soft border between described first and second zones, make for starting from before the described breakpoint and through the incident of described breakpoint, border between described first and second zones is in the ending of described incident, so that described whole event is in the described first area.
31. the method described in arbitrary as described above claim,
Wherein said digital signal series is the quantization parameter series of the video data block after the conversion, and the amplitude that described conversion makes most probable occur is 0, and secondly the amplitude that occurs of most probable is 1, and
Method described here is further comprising the steps of:
Formation is at the code word of the regular length of at least some described incidents that identify.
32. the method described in claim 31, the coding method of wherein said first area comprise the code word of formation at the regular length of at least some the described incidents that identify in the described first area.
33. the method described in claim 31, wherein said second area coding method comprise the code word of formation at the regular length of at least some the described incidents that identify in the described second area.
34. the method described in claim 31, wherein less than the possibility that the described incident that identifies of using variable length codeword for it occurs for its described incident that identifies that forms described regular length code word, and the code word of wherein said regular length is the same with arbitrary variable length codeword at least long.
35. the method described in claim 31, wherein each regular length code word comprises escape code.
36. the method described in claim 5,
Wherein said digital signal series is the quantization parameter series of the video data block after the conversion, and the amplitude that described conversion makes most probable occur is 0, and secondly the amplitude that occurs of most probable is 1, and
Wherein said method also comprises:
The amplitude of all remaining digital signals all is zero indication in the second area of formation described series to when.
37. the method described in claim 1 also comprises:
Amplitude distribution according to described digital signal is categorized into described series in the certain kinds of a plurality of classes, and each class has the respective coding process of formation at the code word of described series;
For the series of described certain kinds, use a set of code words that forms described series with the corresponding cataloged procedure of described class; And
For described certain kinds is indicated in the code word interpolation of described formation,
Make to form the sequence that relatively short code word represents to occur relatively large value of possibility or value, and form the sequence that relatively long code word represents to occur less relatively value of possibility or value.
38. the method described in claim 37,
Wherein said digital signal series is the quantization parameter series of the video data block after the conversion, and the amplitude that described conversion makes most probable occur is 0, and the amplitude of secondly most probable appearance is 1.
39. the method described in claim 37,
Wherein said digital signal series is the quantization parameter series of the video data block after the conversion, and the amplitude that described conversion makes most probable occur is 0, and secondly the amplitude that occurs of most probable is 1, and
Wherein there are two classes in the image for any kind.
40. the method described in claim 37,
Wherein said digital signal series is the quantization parameter series of the video data block after the conversion, and the amplitude that described conversion makes most probable occur is 0, and secondly the amplitude that occurs of most probable is 1, and
Wherein there are at least four classes in the image for any kind.
41. the method described in claim 40, wherein said class comprises:
The series of the first kind, wherein the nonzero-value coefficient along the ordering of described coefficient has nonzero value, comprise much coefficient for ± 1, and wherein said nonzero-value coefficient forms in whole described ordering troops, and makes that not have breakpoint clearly identify nonzero-value coefficient wherein along the path of the ordering of described coefficient forms the first area of trooping and the second area of nonzero-value coefficient dispersion wherein;
The series of second class, wherein a large amount of nonzero-value coefficient along the ordering of described coefficient has nonzero value, comprise much coefficient, and wherein exist breakpoint to form the second area that the first area of trooping and wherein said nonzero-value coefficient are disperseed basically to identify nonzero-value coefficient wherein along the path of the ordering of described coefficient for ± 1;
The series of the 3rd class, in fact mainly being value along the nonzero-value coefficient of the ordering of described coefficient wherein is ± 1 coefficient, and wherein exists breakpoint to identify these nonzero-value coefficient wherein to form the first area of trooping and the second area of these nonzero-value coefficient dispersions wherein basically along the path of the ordering of described coefficient; And
The series of the 4th class, in fact mainly being value along the nonzero-value coefficient of the ordering of described coefficient wherein is ± 1 coefficient, and wherein said nonzero-value coefficient is disperseed in whole described ordering, makes that not have breakpoint clearly identify nonzero-value coefficient wherein along the path of the ordering of described coefficient forms the first area of trooping and the second area of these nonzero-value coefficient dispersions wherein.
42. the method described in claim 37,
Wherein said digital signal series is the quantization parameter series of the video data block after the conversion, and the amplitude that described conversion makes most probable occur is 0, and secondly the amplitude that occurs of most probable is 1, and
Wherein said a plurality of class depends at least one in the group that is made of the following:
Described image block is in the frame/the rest image piece, or the inter frame image piece;
Described image block is standard definition television image block or HDTV image block;
Described method is at high bit rate coding or at the coding of relatively low bit rate; And
Described conversion is that DCT also is non-dct transform.
43. the method described in claim 37,
Wherein said digital signal series is the quantization parameter series of the video data block after the conversion, and the amplitude that described conversion makes most probable occur is 0, and secondly the amplitude that occurs of most probable is 1, and
Described coefficient series is used in wherein said classification.
44. the method described in claim 43, wherein said classification comprise according at least one the statistical information of determining described coefficient in the statistical standard group that is made of the following:
Existence limits wherein said nonzero coefficient and forms the first area of trooping and the breakpoint of the most of second area that disperses of wherein said nonzero-value coefficient;
Described nonzero-value coefficient is that most of formation troops or most of the dispersion; And
In the zone or the amplitude of the nonzero-value coefficient in described whole whether all be 1 basically.
45. the method described in claim 43, the corresponding method of which class of wherein said classification criterion produces the bit stream of maximum compression and selects described class.
46. the method described in claim 45, wherein said classification comprises each that sequentially use in the corresponding cataloged procedure, and selects described certain kinds according to the compression that is produced with the corresponding cataloged procedure of described certain kinds.
47. the method described in claim 45, wherein said classification comprises each that use concurrently in the corresponding cataloged procedure, and selects described certain kinds according to the compression that is produced with the corresponding cataloged procedure of described certain kinds.
48. the method described in claim 37,
Wherein said digital signal series is the quantization parameter series of the video data block after the conversion, and the amplitude that described conversion makes most probable occur is 0, and secondly the amplitude that occurs of most probable is 1, and
Class in the wherein said class has corresponding method, and this method comprises:
The sign nonzero-value coefficient distance of swimming and the zero valued coefficients distance of swimming;
Being utilized as at least some described run lengths provides first runlength encoding method of variable-length codes that the length of the described nonzero-value coefficient distance of swimming is encoded;
Utilize the first amplitude coding method that the amplitude in the described nonzero-value coefficient distance of swimming is encoded; And
Being utilized as at least some described run lengths provides second runlength encoding method of variable-length codes that the length of the described nonzero-value coefficient distance of swimming is encoded.
49. the method described in claim 48, wherein said corresponding method also comprises:
Encoding symbols to described nonzero-value coefficient.
50. the method described in claim 48, wherein said utilize described first runlength encoding method to encode to comprise search first coding form, and wherein said utilize described second runlength encoding method to encode to comprise search second coding form.
51. the method described in claim 48, the code word of wherein said coefficient starts from the code word of described first coding method and replaces between described first coding method and described second coding method, and a code word in the code word of wherein said first coding method is that first distance of swimming that indication is run into is the certain code word of zero run-length, makes the code word of described second method follow after the certain code word of described first method.
52. the method described in claim 48, second class in the wherein said class have the second corresponding method, this method comprises:
Provide breakpoint to limit then first neighboring region along the ordering of described series of second neighboring region of its back;
Utilize the first area coding method that the coefficient of described first area is encoded; And
Utilize the second area coding method that the coefficient in the described second area is encoded,
The feasible coding at least some coefficients in the described first area of coding method of wherein said first area and described second area coding method is different from the coding at least some coefficients in the described second area.
53. the method described in claim 52, the wherein said second corresponding method comprises:
At least one extra breakpoint is provided, makes described series be divided into plural zone by described breakpoint with at the extra breakpoint in each zone that comprises described second area; And
Coefficient in each additional areas that is limited by corresponding extra breakpoint is encoded, and respective coding is used the region based numbering scheme that is different from employed coding method in other zone in the zone.
54. the method described in claim 52, wherein said break value is selected in advance.
55. the method described in claim 52 is wherein selected described break value according to the standard that depends on image from the finite set of predetermined breakpoint value.
56. the method described in claim 52, the wherein said second corresponding method can be applied to I picture data and inter frame image data block, and wherein first break value of selecting in advance is used to the I picture data, and second break value of selecting in advance is used to the inter frame image data.
57. the method described in claim 52, wherein said breakpoint define the bounds between described first and second zones.
58. the method described in claim 52, wherein said breakpoint defines the soft border between described first and second zones, make for having through the continuous nonzero value of described breakpoint or the piece of continuous null value sequence, border between described first and second zones makes described whole sequence all in described first area in the ending of described sequence.
59. the method described in claim 52, the coding method of wherein said first area comprises:
Identify the nonzero-value coefficient distance of swimming in the described first area and the zero valued coefficients distance of swimming in the described first area;
Being utilized as at least some described run lengths provides the 3rd runlength encoding method of variable-length codes that the length of the nonzero-value coefficient distance of swimming in the described first area is encoded;
Utilize the second amplitude coding method that the amplitude in the nonzero-value coefficient distance of swimming in the described first area is encoded; And
Being utilized as at least some described run lengths provides the 4th runlength encoding method of variable-length codes that the length of the nonzero-value coefficient distance of swimming in the described first area is encoded.
60. the method described in claim 59, the coding method of wherein said first area also comprises:
Encoding symbols to the nonzero-value coefficient in the described first area.
61. the method described in claim 59, wherein said utilize described the 3rd runlength encoding method to encode to comprise search first coding form, and wherein said utilize described second runlength encoding method to encode to comprise search second coding form.
62. the method described in claim 59, wherein said second area coding method comprises:
Be identified at the continuous zero valued coefficients distance of swimming in the nonzero-value coefficient described second area before in the described second area, be included in the distance of swimming that nonzero-value coefficient does not have zero valued coefficients before;
Utilize the 5th variable-length runlength encoding method that the run length of the described zero valued coefficients distance of swimming that identifies is encoded;
Amplitude to the nonzero-value coefficient after the zero valued coefficients distance of swimming that each identifies in described second area is encoded; And
Encoding symbols to the nonzero-value coefficient after the zero valued coefficients distance of swimming that each identifies in described second area.
63. the method described in claim 62, wherein said the 5th coding method are included as the code word of at least some run lengths formation regular lengths in the described second area.
64. the method described in claim 62, wherein said second area coding method comprises:
Identify continuous zero valued coefficients distance of swimming back in the described second area and follow the incident of a nonzero-value coefficient in the described second area, comprise there is not the then incident of a nonzero-value coefficient of the distance of swimming of zero valued coefficients back, described sign comprises that the amplitude of the nonzero-value coefficient that identifies wherein said ending is not 1 incident;
For the amplitude that wherein is connected on the nonzero-value coefficient after the described zero valued coefficients distance of swimming that identifies is 1 incident, utilizes the 5th variable-length runlength encoding method that described incident is encoded;
1 incident for the amplitude that wherein is connected on the nonzero-value coefficient after the described zero valued coefficients distance of swimming that identifies, utilize the 5th variable-length runlength encoding method and described event identifier is encoded to each incident for the exception code of exception, and be not that the amplitude of 1 coefficient is encoded to described amplitude again; And
To encoding symbols as the nonzero-value coefficient of the end of each incident that identifies in the described second area.
65. the method described in claim 64, wherein said the 5th coding method are included as the code word of at least some run lengths formation regular lengths in the described second area.
66. the method described in claim 37,
Wherein said digital signal series is the quantization parameter series of the video data block after the conversion, and the amplitude that described conversion makes most probable occur is 0, and secondly the amplitude that occurs of most probable is 1, and
Class in the wherein said class has corresponding method, and this method comprises:
The sign amplitude is the distance of swimming and the zero valued coefficients distance of swimming of 1 coefficient;
First runlength encoding method that is utilized as at least some described run lengths and provides variable-length codes is that the length of the distance of swimming of 1 coefficient is encoded to described amplitude;
It to described amplitude the encoding symbols of 1 coefficient;
Identify arbitrary amplitude and be not 1 nonzero coefficient, and to utilize the amplitude coding method be not that the amplitude of 1 nonzero-value coefficient is encoded to amplitude;
The encoding symbols of 1 nonzero-value coefficient to described amplitude; And
Being utilized as at least some described run lengths provides second runlength encoding method of variable-length codes that the length of the described nonzero-value coefficient distance of swimming is encoded.
67. the method described in claim 66, wherein said utilize described first runlength encoding method to encode to comprise search first coding form, and wherein said utilize described second runlength encoding method to encode to comprise search second coding form.
68. the method described in claim 37,
Wherein said digital signal series is the quantization parameter series of the video data block after the conversion, and the amplitude that described conversion makes most probable occur is 0, and secondly the amplitude that occurs of most probable is 1, and
Class in the wherein said class has corresponding method, and this method comprises:
The sign nonzero-value coefficient distance of swimming and the zero valued coefficients distance of swimming comprise that any amplitude of sign is not 1 nonzero-value coefficient;
Being utilized as at least some described run lengths provides first runlength encoding method of variable-length codes that the length of the described nonzero-value coefficient distance of swimming is encoded;
Encoding symbols to described nonzero-value coefficient;
Utilizing exception code is not that 1 nonzero-value coefficient is encoded to there being arbitrary amplitude in arbitrary nonzero-value coefficient distance of swimming, and to utilize the amplitude coding method more be not that the amplitude of 1 nonzero-value coefficient is encoded to amplitude;
The encoding symbols of 1 nonzero-value coefficient to described amplitude; And
Being utilized as at least some described run lengths provides second runlength encoding method of variable-length codes that the length of the described nonzero-value coefficient distance of swimming is encoded.
69. the method described in claim 68, wherein said utilize described first runlength encoding method to encode to comprise search first coding form, and wherein said utilize described second runlength encoding method to encode to comprise search second coding form.
70. the method described in claim 37,
Wherein said digital signal series is the quantization parameter series of the video data block after the conversion, and the amplitude that described conversion makes most probable occur is 0, and secondly the amplitude that occurs of most probable is 1, and
Class in the wherein said class has corresponding method, and this method comprises:
Sign ends at the zero valued coefficients distance of swimming of nonzero coefficient, and comprising does not have then nonzero-value coefficient of the distance of swimming of zero valued coefficients back;
Being utilized as at least some described run lengths provides the runlength encoding method of variable-length codes that the length of the described zero valued coefficients distance of swimming is encoded; And
For each distance of swimming that identifies, the amplitude of described nonzero-value coefficient is encoded according to the amplitude coding method.
71. the method described in claim 70, wherein said corresponding method also comprises:
Encoding symbols to described nonzero-value coefficient.
72. the method described in claim 70, wherein said utilize described runlength encoding method to encode to comprise search coding form.
73. the method described in claim 37,
Wherein said digital signal series is the quantization parameter series of the video data block after the conversion, and the amplitude that described conversion makes most probable occur is 0, and secondly the amplitude that occurs of most probable is 1, and
Class in the wherein said class has corresponding method, and this method comprises:
Identify the then incident of a nonzero-value coefficient of continuous zero valued coefficients distance of swimming back, comprise there is not the then incident of a nonzero-value coefficient of the distance of swimming of zero valued coefficients back, described sign comprises that the amplitude that identifies wherein said ending nonzero-value coefficient is not 1 incident;
For the amplitude of wherein following the described nonzero-value coefficient after the described zero valued coefficients distance of swimming that identifies is 1 incident, and being utilized as at least some described incidents provides the variable-length runlength encoding method of variable-length codes that described incident is encoded; And
It for the amplitude of wherein following the described nonzero-value coefficient after the described zero valued coefficients distance of swimming that identifies 1 incident, utilize described variable-length runlength encoding method and described event identifier is encoded to each incident for the exception code of exception, and to utilize the amplitude coding method more be not that 1 amplitude is encoded to described amplitude.
74. the method described in claim 73, wherein said corresponding method also comprises:
Encoding symbols to described nonzero-value coefficient.
75. the method described in claim 73, wherein said utilize described runlength encoding method to encode to comprise search coding form.
76. the method described in claim 37,
Wherein said digital signal series is the quantization parameter series of the video data block after the conversion, and the amplitude that described conversion makes most probable occur is 0, and secondly the amplitude that occurs of most probable is 1, and
A class specific in the wherein said class has corresponding method, and this method comprises:
Provide breakpoint to limit then first neighboring region along the ordering of described series of second neighboring region of its back;
Utilize the first area coding method that the coefficient of described first area is encoded; And
Utilize the second area coding method that the coefficient in the described second area is encoded,
The feasible coding at least some coefficients in the described first area of coding method of wherein said first area and described second area coding method is different from the coding at least some coefficients in the described second area.
77. the method described in claim 76, the corresponding method of wherein said certain kinds comprises:
At least one extra breakpoint is provided, makes described series be divided into plural zone by described breakpoint with at the extra breakpoint in each zone that comprises described second area; And
Coefficient in each additional areas that is limited by corresponding extra breakpoint is encoded, and respective coding is used the region based numbering scheme that is different from employed coding method in other zone in the zone.
78. the method described in claim 76, wherein said break value is selected in advance.
79. the method described in claim 76 is wherein selected described break value according to the standard that depends on image from the finite set of predetermined breakpoint value.
80. the method described in claim 76, wherein can be applied to I picture data and inter frame image data block with the corresponding cataloged procedure of described certain kinds, and wherein first break value of selecting in advance is used to the I picture data, and second break value of selecting in advance is used to the inter frame image data.
81. the method described in claim 76, wherein said breakpoint define the bounds between described first and second zones.
82. the method described in claim 76, wherein said breakpoint defines the soft border between described first and second zones, make for having through the continuous nonzero value of described breakpoint or the piece of continuous null value sequence, border between described first and second zones makes described whole sequence all in described first area in the ending of described sequence.
83. the method described in claim 76, the coding method of wherein said first area comprises:
Identify the nonzero-value coefficient distance of swimming in the described first area and the zero valued coefficients distance of swimming in the described first area;
Being utilized as at least some described run lengths provides first runlength encoding method of variable-length codes that the length of the nonzero-value coefficient distance of swimming in the described first area is encoded;
Utilize the first amplitude coding method that the amplitude in the nonzero-value coefficient distance of swimming in the described first area is encoded; And
Being utilized as at least some described run lengths provides second runlength encoding method of variable-length codes that the length of the nonzero-value coefficient distance of swimming in the described first area is encoded.
84. the method described in claim 83, the coding method of wherein said first area also comprises:
Encoding symbols to the nonzero-value coefficient in the described first area.
85. the method described in claim 83, wherein said utilize described first runlength encoding method to encode to comprise search first coding form, and wherein said utilize described second runlength encoding method to encode to comprise search second coding form.
86. the method described in claim 83,
Wherein said second area coding method comprises:
Be identified at the continuous zero valued coefficients distance of swimming in the nonzero-value coefficient described second area before in the described second area, be included in the distance of swimming that nonzero-value coefficient does not have zero valued coefficients before;
Utilize the 3rd variable-length runlength encoding method that the run length of the described zero valued coefficients distance of swimming that identifies is encoded;
Amplitude to the nonzero-value coefficient after the zero valued coefficients distance of swimming that each identifies in described second area is encoded; And
Encoding symbols to the nonzero-value coefficient after the zero valued coefficients distance of swimming that each identifies in described second area.
87. the method described in claim 86, wherein said the 3rd coding method are included as the code word of at least some run lengths formation regular lengths in the described second area.
88. the method described in claim 86, wherein said second area coding method comprises:
Identify continuous zero valued coefficients distance of swimming back in the described second area and follow the incident of a nonzero-value coefficient in the described second area, comprise there is not the then incident of a nonzero-value coefficient of the distance of swimming of zero valued coefficients back, described sign comprises that the amplitude of the nonzero-value coefficient that identifies wherein said ending is not 1 incident;
For the amplitude that wherein is connected on the nonzero-value coefficient after the described zero valued coefficients distance of swimming that identifies is 1 incident, utilizes the 3rd variable-length runlength encoding method that described incident is encoded;
1 incident for the amplitude that wherein is connected on the nonzero-value coefficient after the described zero valued coefficients distance of swimming that identifies, utilize the 3rd variable-length runlength encoding method and described event identifier is encoded to each incident for the exception code of exception, and to utilize the second amplitude coding method more be not that the amplitude of 1 coefficient is encoded to described amplitude; And
To encoding symbols as the nonzero-value coefficient of the end of each incident that identifies in the described second area.
89. the method described in claim 88, wherein said the 3rd coding method are included as the code word of at least some run lengths formation regular lengths in the described second area.
90. method that is used for the orderly series of processing digital signal, the amplitude of each is taken from the limited amplitude collection that the amplitude that occurred by most probable and at least one other amplitude constitute in the described digital signal, described processing is used to represent the data volume of described digital signal and forms code word in order to minimizing, the digital signal value that the feasible possibility that occurs is bigger or the sequence of digital signal value are represented by relatively short code word, and the digital signal value that the possibility that occurs is less or the sequence of digital signal value represent that by relatively long code word described method comprises:
For first neighboring region in the series:
Identify each and be included in the incident that its value is not equal to the distance of swimming of the continuous coefficients with amplitude that most probable occurs before the distance of swimming of one or more continuous signals of the amplitude that most probable occurs, be included in the incident that its value is not equal to the coefficient that does not have the amplitude that most probable occurs before the distance of swimming of one or more continuous signals of the amplitude that most probable occurs;
For each incident that identifies, utilize the distance of swimming of the amplitude that code word occurs most probable the preceding and be not that the run length of the distance of swimming of the amplitude of most probable appearance carries out combined coding afterwards, make at least some incidents, compare with the relative less run length of possibility that occurs, utilize short code word to come the relatively large run length of the possibility that occurs encoding;
For each incident that identifies, not that each amplitude in the distance of swimming of continuous signal of the amplitude that occurs of described most probable is encoded to amplitude, described coding is according to the amplitude coding method,
Make to form the sequence that relatively short code word represents to occur relatively large value of possibility or value, and form the sequence that relatively long code word represents to occur less relatively value of possibility or value.
91. the method described in claim 90,
Wherein said digital signal series is the quantization parameter series of the video data block after the conversion, the amplitude that described conversion makes most probable occur is 0, and secondly the amplitude of most probable appearance is 1, make the step of described identified event identify each and comprise the incident of the zero valued coefficients distance of swimming before one or more nonzero-value coefficient distances of swimming, be included in the incident that does not have zero valued coefficients before the nonzero-value coefficient distance of swimming.
92. the method described in claim 91, the video data block after the wherein said conversion comprises the DC item, and wherein said DC item is encoded separately, and makes the one group non-DC quantization parameter of described digital signal series for the video data block after the conversion.
93. the method described in claim 91 also is included in the first area:
For each incident that identifies, to the encoding symbols of the described nonzero-value coefficient in the described nonzero-value coefficient distance of swimming.
94. the method described in claim 91 also comprises:
Provide and limit the then breakpoint along first neighboring region of the ordering of described series of second neighboring region of its back; Making utilizes first coding method that the coefficient of described first area is encoded, described first coding method comprises and described incident being identified, described run length to described incident carries out combined coding, and the amplitude of described nonzero-value coefficient to described incident is encoded; And
Utilize the second area coding method that the coefficient in the described second area is encoded, and
Wherein first area coding method and second area coding method make coding to the distance of swimming of at least some coefficients in the described first area or coefficient be different from the coding to the distance of swimming of at least some coefficients in the described second area or coefficient.
95. the method described in claim 94 also comprises:
Provide at least one extra breakpoint to make described series be divided into plural zone by described breakpoint with at the described extra breakpoint in each zone that comprises described second area; And
Coefficient in each additional areas that is limited by corresponding extra breakpoint is encoded, and respective coding is used and is different from the region based numbering scheme that is used in the coding method in other zone in the zone.
96. the method described in claim 94, wherein said break value is selected in advance.
97. the method described in claim 94 is wherein selected described break value according to the standard that depends on image from the finite set of predetermined breakpoint value.
98. the method described in claim 94, the wherein said second corresponding method can be applied to I picture data and inter frame image data block, and wherein first break value of selecting in advance is used to the I picture data, and second break value of selecting in advance is used to the inter frame image data.
99. the method described in claim 94, wherein said breakpoint define the bounds between described first and second zones.
100. the method described in claim 94, wherein said breakpoint defines the soft border between described first and second zones, the incident that identifies in the feasible first area piece for continuous nonzero value sequence with the described breakpoint of process, border between described first and second zones makes described whole event all in described first area in the ending of described incident.
101. the method described in claim 91 is wherein saidly used the multidimensional coding form to the combined coding about the run length of incident.
102. the method described in claim 91, wherein said identified and the number of the incident that its run length is encoded is limited, make and have only the incident (" maximum length ") that has maximum total several coefficients at the most to be identified, therefore and the maximum length incident that wherein said sign also identifies the full null event of described maximum length and ends at nonzero coefficient can be avoided escape code in the coding to the coefficient of described first area.
103. the method described in claim 102, wherein said first area comprise described first incident that identifies; Wherein said run length to the incident in the described first area carries out combined coding and uses first variable length decoding method, and the amplitude of wherein said non-zero magnitude to the incident in the described first area first amplitude coding method of use of encoding, described method also comprises:
Second neighboring region of qualification after the first area of the ordering of described series and the breakpoint of the 3rd neighboring region after the described second area are provided; Make and utilize second coding method that the coefficient in the described second area is encoded, described second coding method comprises:
Identify each and comprise the incident of the zero valued coefficients distance of swimming before one or more nonzero-value coefficient distances of swimming, the distance of swimming that is included in one or more nonzero-value coefficient does not have the incident of zero valued coefficients before;
For each incident that identifies in the described second area, utilize the distance of swimming of the amplitude that code word occurs most probable the preceding and be not that the run length of the distance of swimming of the amplitude of most probable appearance carries out combined coding afterwards, make at least some incidents, compare with the relative less run length of possibility that occurs, utilize short code word to come the relatively large run length of the possibility that occurs encoding, the combined coding of described run length to the incident in the described second area uses second coding method;
For each incident that identifies in the described second area, not that each amplitude in the distance of swimming of continuous signal of the amplitude that occurs of described most probable is encoded to amplitude, described coding is according to the second amplitude coding method; And
Utilize the 3rd region based numbering scheme that the coefficient in described the 3rd zone is encoded.
104. the method described in claim 4,
Wherein, in the coding method of described first area:
The identification of described incident comprises first kind of incident of identification, and the incident of each described first distance of swimming is to appear at the distance of swimming of continuous signal that its value in first neighboring region that is limited by described breakpoint is not equal to the value of most probable appearance;
Described formation comprises the code word of formation at described first kind of incident at the code word of the described incident that identifies, comprise and utilize first runlength encoding method that the run length of described continuous signal is encoded, and form the code word of utilizing described first runlength encoding method that described run length is encoded;
The identification of described incident also comprises second kind of incident of identification, and each described second kind of incident is the distance of swimming that appears at the continuous signal of the value with most probable appearance in the first area that is limited by described breakpoint;
Described formation comprises the code word of formation at described first kind of incident at the code word of the described incident that identifies, comprise and utilize first runlength encoding method that the run length of described continuous signal is encoded, and form the code word of utilizing described first runlength encoding method that described run length is encoded; And
Described formation also comprises at each described first kind incident that identifies at the code word of described first kind of incident that identifies, be not that a plurality of successive values in the distance of swimming of continuous signal of the amplitude that occurs of most probable carry out combined coding to amplitude, described combined coding is according to the amplitude coding method.
105. the method described in claim 104,
Wherein said digital signal series is the quantization parameter series of the video data block after the conversion, the amplitude that described conversion makes most probable occur is 0, and secondly the amplitude of most probable appearance is 1, makes described identified event identify the incident that each comprises the distance of swimming of one or more nonzero-value coefficient.
106. the method described in claim 105, the video data block after the wherein said conversion comprises the DC item, and wherein said DC item is encoded separately, and makes the one group non-DC quantization parameter of described digital signal series for the video data block after the conversion.
107. the method described in claim 105, wherein said combined coding to a plurality of successive values carries out combined coding to a plurality of amplitudes, and the symbol of described amplitude is encoded separately.
108. the method described in claim 105, wherein said combined coding to a plurality of successive values carries out combined coding to a plurality of amplitudes of the symbol that comprises amplitude, therefore for described by the successive value of combined coding, do not use independent symbolic coding.
109. the method described in claim 105, wherein said combined coding to a plurality of successive values uses the multidimensional coding form.
110. the method described in claim 105,
Wherein said identified event comprises sign, and each comprises the incident of the continuous zero valued coefficients distance of swimming before the distance of swimming of one or more continuous nonzero-value coefficient, and the distance of swimming that is included in one or more continuous nonzero-value coefficient does not have the incident of zero valued coefficients before; And
Wherein said combined coding comprise to the described distance of swimming of zero valued coefficients the preceding and described after the run length of the nonzero-value coefficient distance of swimming carry out combined coding, make at least some incidents, compare with the relative less run length of possibility that occurs, utilize short code word to come the relatively large run length of the possibility that occurs encoding.
111. the method described in claim 105,
Wherein said identified event comprises the run length that identifies described one or more zero valued coefficients and identifies the run length of following the one or more nonzero-value coefficient after the described zero valued coefficients distance of swimming; And
Wherein the coding of described incident being comprised utilizes first runlength encoding method that the run length of the described nonzero-value coefficient distance of swimming that identifies is encoded, and utilize second runlength encoding method that the run length of the described zero valued coefficients distance of swimming that identifies is encoded
Make at least some incidents, compare, utilize short code word the relatively large run length of possibility occurring to encoding with the relative less run length of possibility occurring.
112. the method described in claim 110 also comprises:
Provide breakpoint to limit then first neighboring region along the ordering of described series of second neighboring region of its back; Making utilizes first coding method that the coefficient of described first area is encoded, described first coding method comprises and described incident being identified, described run length to described incident carries out combined coding, and the amplitude of described nonzero-value coefficient to described incident is encoded; And
Utilize the second area coding method that the coefficient in the described second area is encoded, and
Coding method of wherein said first area and described second area coding method make the coding to the distance of swimming of at least some coefficients in the described first area or coefficient be different from the coding to the distance of swimming of at least some coefficients in the described second area or coefficient.
113. the method described in claim 112, wherein said break value is selected in advance.
114. the method described in claim 112 is wherein selected described break value according to the standard that depends on image from the finite set of predetermined breakpoint value.
115. the method described in claim 112, the wherein said second corresponding method can be applied to I picture data and inter frame image data block, and wherein first break value of selecting in advance is used to the I picture data, and second break value of selecting in advance is used to the inter frame image data.
116. the method described in claim 112, wherein said breakpoint define the bounds between described first and second zones.
117. the method described in claim 112, wherein said breakpoint defines the soft border between described first and second zones, the incident that identifies in the feasible piece for the first area that comprises the continuous nonzero value sequence of passing through described breakpoint, border between described first and second zones makes described whole event all in described first area in the ending of described incident.
118. the method described in claim 110 is wherein saidly used the multidimensional coding form to the combined coding about the run length of incident.
119. the method described in claim 110, wherein said identified and the number of the incident that its run length is encoded is limited, make and have only the incident (" maximum length ") that has maximum total several coefficients at the most to be identified, therefore and the maximum length incident that wherein said sign also identifies the full null event of described maximum length and ends at nonzero coefficient can be avoided escape code in the coding to the coefficient of described first area.
120. the method described in claim 4,
Wherein, in the coding method of described first area:
Described identification to incident comprises first kind of incident of identification, and the incident of each described first distance of swimming is the distance of swimming that its value is not equal to the continuous signal of the amplitude that most probable occurs;
Described formation comprises the code word of formation at described first kind of incident at the code word of the described incident that identifies, comprise the distance of swimming at the continuous signal of at least some any amplitudes that identify with the amplitude that is not equal to the most probable appearance, for each distance of swimming in described first kind of incident that identifies
Relative position and run length to the continuous coefficients of the described distance of swimming and any centre with amplitude that most probable occurs are encoded;
Identify the amplitude incident of at least one continuous signal, the amplitude incident that identifies comprises that the amplitude of ending at is not equal to the sequence of at least one continuous signal with amplitude that described secondly most probable occurs of the signal of the amplitude that next most probable occurs, determine that perhaps described amplitude incident only has the signal that amplitude is not equal to the amplitude of described secondly most probable appearance, determine that perhaps described amplitude incident only has the sequence that amplitude is the continuous signal of the amplitude that occurs of described secondly most probable, limit by the length of the sequence of at least one continuous signal and the amplitude of described ending signal with amplitude that described secondly most probable occurs at each incident that identifies of the run length of the described distance of swimming that identifies; And
Utilize at least one code word that the amplitude incident that each identifies is encoded, make at least some amplitude incidents that identifies, compare with the relative less amplitude incident of possibility occurring, utilize short code word to encode the relatively large amplitude incident of possibility occurring.
121. the method described in claim 120,
Wherein said digital signal series is the quantization parameter series of the video data block after the conversion, the amplitude that described conversion makes most probable occur is 0, and secondly the amplitude of most probable appearance is 1, make the sign distance of swimming identify the distance of swimming that each comprises one or more nonzero-value coefficient, and each the amplitude incident that identifies in the distance of swimming identify of making comprises that at least one amplitude that ends at greater than 1 amplitude is the sequence of 1 continuous coefficients, perhaps amplitude is greater than 1 coefficient, and perhaps having only amplitude is the sequence of 1 continuous coefficients.
122. the method described in claim 121, wherein said sign to the amplitude incident is at each the nonzero coefficient distance of swimming that identifies in the described series.
123. the method described in claim 121, described sign to the amplitude incident is less than or equal to the nonzero coefficient distance of swimming of the length of selection in advance at those run lengths that identify in the described series, and described method also comprises:
At the distance of swimming of the described run length that identifies, for each distance of swimming that identifies with big run length greater than the continuous nonzero coefficient of the described length of selecting in advance:
To the described distance of swimming that identifies and relative position and run length with any intercalary continuous coefficients of the amplitude that most probable occurs encode;
Utilization is carried out combined coding about the multidimensional coding function of described amplitude to the non-zero magnitude of described non-zero magnitude, to produce following code word, the feasible distance of swimming at least some non-zero magnitude, compare and the less relatively amplitude of possibility occurs, utilize short code word to encode the relatively large amplitude distance of swimming of possibility occurring.
124. the method described in claim 121, the video data block after the wherein said conversion comprises the DC item, and wherein said DC item is encoded separately, and makes the one group non-DC quantization parameter of described digital signal series for the video data block after the conversion.
125. the method described in claim 121, wherein said coding to the described amplitude incident that identifies comprise independent encoding symbols to described amplitude.
126. the method described in claim 121, wherein said coding to the described amplitude incident that identifies, it is the run length of sequence of 1 coefficient and described amplitude greater than the coding form of each right code word of the amplitude of 1 ending coefficient that use provides at described amplitude the preceding, therefore at each run length of the nonzero coefficient distance of swimming that identifies, can use different coding forms.
127. the method described in claim 126, wherein said coding form distributes variable-length codes to constitute by the statistical information according to the amplitude incident of measured or hypothesis.
128. the method described in claim 121,
The wherein said sign distance of swimming is the part of following process, described process comprises the then distance of swimming of the continuous zero valued coefficients before the distance of swimming of one or more continuous nonzero-value coefficient of a zero valued coefficients of sign back, and perhaps identifying the back does not then have zero valued coefficients before the distance of swimming of one or more continuous nonzero-value coefficient of a null value system; And
Wherein said coding to described relative position comprise to the described distance of swimming of zero valued coefficients the preceding and after the run length of the nonzero-value coefficient distance of swimming carry out combined coding, make at least some amplitude incidents, compare and the less relatively run length of possibility occurs, utilize short code word the relatively large run length of possibility occurring to encoding.
129. the method described in claim 121,
Wherein said sign each comprise amplitude be not the distance of swimming of one or more continuous signals of 0 be included in the described back of sign be a zero valued coefficients one or more nonzero-value coefficient run length and be identified in the run length of the one or more zero valued coefficients before the distance of swimming of described one or more nonzero-value coefficient; And
Wherein said coding to described relative position comprises:
Utilize first runlength encoding method that the run length of the nonzero-value coefficient distance of swimming that identifies is encoded, and utilize second runlength encoding method that the run length of the zero valued coefficients distance of swimming that identifies is encoded,
Make at least some amplitude incidents, compare and the less relatively run length of possibility occurs, utilize short code word the relatively large run length of possibility occurring to encoding.
130. the method described in claim 128 also comprises:
Provide breakpoint to limit then first neighboring region along the ordering of described series of second neighboring region of its back; Making utilizes first coding method that the coefficient of described first area is encoded, described first coding method comprises and described the distance of swimming being identified, described described relative position and run length are encoded, described sign to the amplitude incident, and described the described amplitude incident that identifies is encoded; And
Utilize the second area coding method that the coefficient in the described second area is encoded, and
Coding method of wherein said first area and described second area coding method make the coding to the distance of swimming of at least some coefficients in the described first area or coefficient be different from the coding to the distance of swimming of at least some coefficients in the described second area or coefficient.
131. the method described in claim 128, wherein said combined coding to described run length uses two-dimensional encoded form.
132. the method described in claim 4,
Wherein, in the coding method of described first area:
The identification of described incident comprises sign, and each comprises trooping of one or more continuous signals with any amplitude that is not equal to the amplitude that most probable occurs, and any intercalary distance of swimming with continuous coefficients of the value that most probable occurs, and
The coding method of wherein said first area also comprises:
Identify at least one position event and limit trooping of the described signal that identifies with any amplitude that is not equal to the amplitude that most probable occurs, and the relative position and the run length of the distance of swimming of any intercalary continuous coefficients with value that most probable occurs;
Identify at least one amplitude incident, the described incident qualification amplitude that identifies is not equal to the amplitude of signal described in the trooping of continuous signal of the amplitude that most probable occurs; And
Described position event that identifies and the described amplitude incident that identifies are carried out combined coding, the relative position and the amplitude of coming described amplitude to be not equal to the continuous signal of the amplitude that most probable occurs are carried out combined coding, described combined coding is according to the multidimensional coding function about described position event and described amplitude incident, described combined coding is arranged to and utilizes relatively short code word to represent to occur possibility bigger relative position of trooping and amplitude, and utilizes relatively long code word to represent to occur possibility less relative position of trooping and amplitude.
133. the method described in claim 132,
Wherein said digital signal series is the quantization parameter series of the video data block after the conversion, the amplitude that described conversion makes most probable occur is 0, secondly and the amplitude that occurs of most probable is 1, make the marker group set identifier each comprise trooping of at least one continuous nonzero-value coefficient.
134. the method described in claim 133, the video data block after the wherein said conversion comprises the DC item, and wherein said DC item is encoded separately, and makes the one group non-DC quantization parameter of described digital signal series for the video data block after the conversion.
135. the method described in claim 133,
Event identifier back, wherein said home position is the distance of swimming of the continuous zero valued coefficients before the distance of swimming of one or more continuous nonzero-value coefficient of a zero valued coefficients then, and perhaps identifying the back does not then have zero valued coefficients before the distance of swimming of one or more continuous nonzero-value coefficient of a null value system; And
Wherein said combined coding to the run length of the described distance of swimming of zero valued coefficients the preceding, after the run length and the described amplitude incident of the nonzero-value coefficient distance of swimming carry out combined coding, feasible combination at least some run lengths and amplitude incident, compare and the less relatively combination of possibility occurs, utilize short code word the relatively large combination of possibility occurring to encoding.
136. the method described in claim 133, wherein said combined coding comprise independent encoding symbols to the amplitude in described the trooping, and described position event and described amplitude incident are carried out combined coding.
137. the method described in claim 133, wherein said combined coding comprise independent encoding symbols to the amplitude in described the trooping, and described position event and described amplitude incident are carried out combined coding.
138. the method described in claim 133, wherein said what identify is the non-zero magnitude collection of the coefficient during described non-zero magnitude is trooped at each amplitude incident of trooping, and a plurality of continuous non-zero magnitude during therefore described combined coding is trooped to described position event and described continuous nonzero-value coefficient is carried out combined coding.
139. the method described in claim 133, wherein said sign amplitude incident comprises:
Trooping that each identifies, sign comprises that the amplitude of ending at is the amplitude incident of at least one continuous coefficients of the sequence of 1 continuous coefficients greater than at least one amplitude of 1 coefficient, determine that perhaps described incident only has the amplitude greater than 1, determine that perhaps described incident only has the sequence that amplitude is 1 continuous coefficients, each incident at the described run length of trooping that identifies that identifies is that the length of sequence of 1 continuous coefficients and the amplitude of described ending coefficient limit by described at least one amplitude.
140. the method described in claim 139, wherein saidly the described position that identifies and amplitude incident are carried out combined coding use the multidimensional coding form, it is that the run length of 1 coefficient sequence is right that this form provides at described position code and described amplitude the preceding, and described amplitude is greater than the code word of the combination of the amplitude of 1 ending coefficient.
141. the method described in claim 133, wherein said sign amplitude incident comprises:
Be less than or equal in advance trooping of the length selected for each length that identifies, identify the continuous non-zero magnitude of described continuous nonzero-value coefficient in trooping, make and carry out described combined coding according to the multidimensional coding method of described position event and described non-zero magnitude being carried out combined coding; And
For each length that identifies trooping greater than the described length of selecting in advance:
Sign comprises that the amplitude of ending at is the amplitude incident of at least one continuous coefficients of the sequence of 1 continuous coefficients greater than at least one amplitude of 1 coefficient, determine that perhaps described incident only has the amplitude greater than 1, determine that perhaps described incident only has the sequence that amplitude is 1 continuous coefficients, each incident at the described run length of trooping that identifies that identifies is that the length of sequence of 1 continuous coefficients and the amplitude of described ending coefficient limit by described at least one amplitude; And
According to the multidimensional coding method of described position event and described amplitude incident being carried out combined coding described position event that identifies and amplitude incident are carried out combined coding.
142. the method described in claim 135 also comprises:
Provide breakpoint to limit then first neighboring region along the ordering of described series of second neighboring region of its back; Making utilizes first coding method that the coefficient of described first area is encoded, described first coding method comprises and describedly identifying trooping, described described relative position and run length are encoded, described amplitude to described continuous coefficients is encoded, and described combined coding; And
Utilize the second area coding method that the coefficient in the described second area is encoded, and
Coding method of wherein said first area and described second area coding method make the coding to the distance of swimming of at least some coefficients in the described first area or coefficient be different from the coding to the distance of swimming of at least some coefficients in the described second area or coefficient.
143. the method described in claim 4,
Wherein said method is applied to the orderly series of a plurality of digital signals, and wherein saidly establish the statistical information that the breakpoint utilization calculates along described ordering from least one subclass of described a plurality of series, described statistical information is the information that appears at the position in the trooping of continuous signal with the value that is not that most probable occurs about the signal that the ordering along described a plurality of series has a value that is not that most probable occurs.
144. the method described in claim 143,
Wherein each digital signal series is the quantization parameter series of the video data block after the conversion, and the amplitude that described conversion makes most probable occur is 0, and the amplitude of secondly most probable appearance is 1.
145. the method described in claim 143, wherein make that at the described breakpoint that is established described second area is under the situation of dummy section, utilize the coding method of described first area that all quantization parameters are encoded, and make that at the described breakpoint that is established described first area is under the situation of dummy section, utilize described second area coding method that all quantization parameters are encoded.
146. the method described in claim 144, wherein said series is divided into plural zone by described breakpoint with at the extra breakpoint in each zone that comprises described second area, and described method also comprises:
The signal that appears in each additional areas that is limited by corresponding extra breakpoint is encoded, and described coding uses the coding method that is different from employed coding method in other zone.
147. the method described in claim 144,
The described breakpoint of wherein said establishment comprises for each point along described ordering, and the number of the series of coefficient in trooping at wherein said some place is counted.
148. the method described in claim 147,
Wherein said establishment breakpoint comprises definite threshold point, makes that the most of coefficient in trooping appears at described threshold point point place before, and only at the approaching best breakpoint of search in the scope of described threshold point.
149. the method described in claim 148,
Wherein said establishment determines at until the length of the coded data of described a plurality of series of the breakpoint of described threshold point described comprising near best breakpoint, and selects to produce the breakpoint of short coded data.
150. the method described in claim 148,
Wherein said threshold point is the specified point along described ordering, and the count value of number that has the series of coefficient at this some place drops to below the ratio of selecting in advance of series sum.
151. the method described in claim 150,
The wherein said ratio of selecting in advance is 1/ (number of the non-DC coefficient in each series).
152. the method described in claim 148,
The establishment of wherein said breakpoint comprises along described ordering until described threshold point determines that the slope of count value of the number of wherein said nonzero coefficient in trooping is peaked point.
153. the method described in claim 147,
The establishment of wherein said breakpoint comprises along described ordering determines that the slope of count value of the number of wherein said nonzero coefficient in trooping is peaked point.
154. equipment that comprises disposal system, described equipment is used for the orderly series of receiving digital signals, the amplitude of each described digital signal is taken from the limited amplitude set that the amplitude that occurred by most probable and at least one other amplitude constitute, and described equipment is used to carry out as at the coding method described in arbitrary said method claim of the orderly series of digital signal being carried out Methods for Coding.
155. equipment that comprises treatment system; Described equipment is used for received bit stream and it is decoded; To form the Ordered Series of data signal; The amplitude of each described data signal is taken from the amplitude that is occurred by most probable and the limited amplitude that at least one other amplitude consists of and gathers; The method that described bit stream is utilized described in arbitrary said method claim is encoded; Described claim to a method has been described the method that the Ordered Series of data signal is encoded; Described processor is arranged to the realization coding/decoding method
Described coding/decoding method comprises:
The identification code word;
Definite incident of representing by the described code word that identifies; And
Determine the coefficient of the incident that each is determined,
Till the value of the whole coefficients in described series all is determined.
156. a bearing medium is used to carry one or more computer-readable code sections with the processor execution of indication disposal system as at the coding method described in arbitrary said method claim of the orderly series of digital signal being carried out Methods for Coding.
157. bearing medium, be used to carry one or more computer-readable code sections and carry out coding/decoding method with the processor of indication disposal system, described coding/decoding method is used to receive bit stream and it is decoded, to form the orderly series of digital signal, the amplitude of each described digital signal is taken from amplitude that is occurred by most probable and the limited amplitude that at least one other amplitude constitutes and gathers, the method that described bit stream is utilized described in arbitrary said method claim is encoded, described claim to a method has been described the orderly series of digital signal has been carried out Methods for Coding
Described coding/decoding method comprises:
The identification code word;
Definite incident of representing by the described code word that identifies; And
Determine the coefficient of the incident that each is determined,
Till the value of the whole coefficients in described series all is determined.
158. equipment that is used for the orderly series of processing digital signal, the amplitude of each is taken from the limited amplitude collection that the amplitude that occurred by most probable and at least one other amplitude constitute in the described digital signal, described processing is used to represent the data volume of described digital signal and forms code word in order to minimizing, the digital signal value that the feasible possibility that occurs is bigger or the sequence of digital signal value are represented by relatively short code word, and the digital signal value that the possibility that occurs is less or the sequence of digital signal value represent that by relatively long code word described equipment comprises:
Be used for amplitude distribution according to digital signal described in each zone, establish at least one breakpoint described series is divided into the device of a plurality of neighboring regions along the ordering of described series, each zone has the respective coding process, described cataloged procedure comprises that identification incident and formation at the code word of described series, comprise the code word at described incident; And
Be used for each zone, use the device that forms a set of code words of described series with the corresponding cataloged procedure in described zone for described series,
Make to form the sequence that relatively short code word represents to occur relatively large value of possibility or value, and form the sequence that relatively long code word represents to occur less relatively value of possibility or value.
159. as the described equipment of claim 158,
Wherein said digital signal series is the quantization parameter series of the video data block after the conversion, and the amplitude that described conversion makes most probable occur is 0, and the amplitude of secondly most probable appearance is 1.
160., also comprise as the described equipment of claim 158:
Be used for image is divided into the device of video data block; And
Be used for each video data block of conversion with the device of formation at described conversion coefficient, described conversion forms the video data block after the conversion, and the amplitude that described conversion makes most probable occur is 0, and the amplitude of secondly most probable appearance is 1;
Be used at the video data block after each conversion, quantize the device of described conversion coefficient;
Be used for quantization parameter at the video data block after each conversion, to the device of described quantization parameter ordering with the orderly series of the quantization parameter that forms the video data block after the described conversion, the orderly series of described quantization transform coefficient is described digital signal series along two dimensional path;
Be used to carry out the establishment step of described breakpoint to obtain the device of described a plurality of neighboring regions; And
Be used to use and the device of the corresponding cataloged procedure in described zone with the set of code words that forms described series.
161. the equipment described in the arbitrary claim in the claim 158 to 160,
The wherein said device that is used to establish described at least one breakpoint is established breakpoint to limit first neighboring region and second neighboring region along the ordering of described series, feasible trooping of continuous signal with any value of the value that is not equal to the most probable appearance mainly appears in described first neighboring region, and
Wherein said application comprises at each regional apparatus for encoding:
Be used for utilizing the first area coding method that comprises the identification incident and the described incident that identifies is encoded that the signal of described first area is carried out apparatus for encoding, the coding method of described first area is selected to the trooping of continuous signal with any value that is not equal to the value that most probable occurs encoded; And
Be used for utilizing the second area coding method that the signal of described second area is carried out apparatus for encoding,
Wherein said first area and second area coding method comprise variable-length codes, make to form the sequence that relatively short code word represents to occur the relatively large value of possibility, and form the sequence that relatively long code word represents to occur the less relatively value of possibility.
162. the equipment described in claim 161,
Wherein, in the coding method of described first area:
The identification of described incident comprises first kind of incident of identification, and the incident of each described first distance of swimming is to appear at the distance of swimming of continuous signal that its value in first neighboring region that is limited by described breakpoint is not equal to the value of most probable appearance;
Described formation comprises the code word of formation at described first kind of incident at the code word of the described incident that identifies, comprise and utilize first runlength encoding method that the run length of described continuous signal is encoded, and form and to utilize described first runlength encoding method described run length to be encoded and the amplitude of each signal in the described distance of swimming and the code word of encoding symbols;
The identification of described incident also comprises second kind of incident of identification, and each described second kind of incident is the distance of swimming that appears at the continuous signal of the value with most probable appearance in the first area that is limited by described breakpoint; And
Described formation comprises the code word of formation at described second kind of incident at the code word of the described incident that identifies, comprises utilizing second runlength encoding method that the run length of the described continuous signal of the value that has most probable and occur is encoded,
The wherein said second area coding method that is used for that the signal that appears at the second area that is limited by described breakpoint is encoded comprises the third incident of the distance of swimming that identifies the continuous signal that comprises the value that has the most probable appearance in the described second area, and utilize the 3rd coding method that described the third incident that identifies in the described second area is encoded, and
Wherein said first, second comprises variable-length codes with the 3rd coding method, make to form the sequence that relatively short code word represents to occur the relatively large value of possibility, and form the sequence that relatively long code word represents to occur the less relatively value of possibility.
163. the equipment described in claim 162,
Wherein said the 3rd coding method comprises and utilizes the 3rd variable-length runlength encoding method that the run length of continuous zero valued coefficients is encoded, and to the amplitude and the encoding symbols of the nonzero-value coefficient in the described second area.
164. the equipment described in the arbitrary claim in the claim 162 to 163,
Wherein said digital signal series is the quantization parameter series of the video data block after the conversion, and the amplitude that described conversion makes most probable occur is 0, and secondly the amplitude that occurs of most probable is 1,
Wherein said the 3rd coding method comprises the code word at the run length of described zero valued coefficients, and indicates the code word that does not have zero valued coefficients between two nonzero-value coefficient, and
Wherein also generate at the amplitude of each nonzero-value coefficient in the described second area and the code word of symbol.
165. the equipment described in claim 162,
Wherein said digital signal series is the quantization parameter series of the video data block after the conversion, and the amplitude that described conversion makes most probable occur is 0, and secondly the amplitude that occurs of most probable is 1, and
Wherein said the 3rd coding method comprises two-dimensional variable length coding method, described two-dimensional variable length coding method to by the distance of swimming back of continuous zero valued coefficients then the incident that constitutes of nonzero-value coefficient encode.
166. the equipment described in claim 177,
Wherein provide the 3rd run length code table and the second amplitude code table to be used for the information of described second area is encoded,
Wherein said the 3rd run length code table is used for storing a plurality of code words at one group of run length of the zero valued coefficients that appears at described second area, described the 3rd form is organized as and makes the described bigger run length of possibility that occurs compare the described less run length of possibility that occurs and have short code word
The wherein said second amplitude code table is used for storing a plurality of code words at the amplitude of the nonzero coefficient that appears at described second area, and
Wherein said formation comprises at the step of the code word of each run length of the zero valued coefficients in the described second area searches described the 3rd run length code table.
167. the equipment described in the arbitrary claim in the claim 162 to 166,
Wherein said digital signal series is the quantization parameter series of the video data block after the conversion, and the amplitude that described conversion makes most probable occur is 0, and secondly the amplitude that occurs of most probable is 1, and
The fixed codeword formation method of the priori likelihood that occurs based on the described incident of being supposed is used in wherein said formation at the device of the code word of each distance of swimming.
168. the equipment described in the arbitrary claim in the claim 162 to 166,
Wherein said digital signal series is the quantization parameter series of the video data block after the conversion, and the amplitude that described conversion makes most probable occur is 0, and secondly the amplitude that occurs of most probable is 1, and
The code word formation method that can change according to the actual count data of collecting is used in wherein said formation from the sequence of described digital value at the device of the code word of each distance of swimming.
169. the equipment described in claim 161,
Wherein, in the coding method of described first area:
The identification of described incident comprises first kind of incident of identification, and the incident of each described first distance of swimming is to appear at the distance of swimming of continuous signal that its value in first neighboring region that is limited by described breakpoint is not equal to the value of most probable appearance;
Described formation comprises the code word of formation at described first kind of incident at the code word of the described incident that identifies, comprise and utilize first runlength encoding method that the run length of described continuous signal is encoded, and form and to utilize code word that described first runlength encoding method encodes to described run length and the amplitude and the encoding symbols of each signal in the described distance of swimming;
The identification of described incident also comprises second kind of incident of identification, and each described second kind of incident is the distance of swimming that appears at the continuous signal of the value with most probable appearance in the first area that is limited by described breakpoint; And
Described formation comprises the code word of formation at described second kind of incident at the code word of the described incident that identifies, comprises utilizing second runlength encoding method that the run length of the described continuous signal of the value that has most probable and occur is encoded,
The wherein said second area coding method that is used for that the signal that appears at the second area that is limited by described breakpoint is encoded comprises that sign comprises the incident of the distance of swimming of the continuous signal that ends to have in the described second area of a signal that its value is not equal to the value that most probable occurs the value that most probable occurs, and utilize the 3rd coding method that the described incident that identifies in the described second area is encoded, described coding comprises that the amplitude of a signal of indicating described ending is not equal to the value of next most probable appearance and the value that most probable occurs, and
Wherein said first, second comprises variable-length codes with the 3rd coding method, make to form the sequence that relatively short code word represents to occur the relatively large value of possibility, and form the sequence that relatively long code word represents to occur the less relatively value of possibility.
170. the equipment described in claim 169,
Wherein said digital signal series is the quantization parameter series of the video data block after the conversion, and the amplitude that described conversion makes most probable occur is 0, and secondly the amplitude that occurs of most probable is 1, and
Wherein said the 3rd coding method comprises that utilizing the 3rd variable-length runlength encoding method is that the run length of the continuous zero valued coefficients of 1 coefficient is encoded to ending at amplitude,
Described equipment also comprises:
Be used for identifying and comprise and end at the continuously device of the incident of the distance of swimming of zero range coefficient of an amplitude greater than the described second area of 1 coefficient;
Be used for and then utilize described the 3rd coding method the described amplitude that ends at that is identified to be carried out apparatus for encoding greater than the incident of 1 coefficient in conjunction with exception code;
Be used for device to the encoding symbols of described nonzero-value coefficient;
Be used for the amplitude of the nonzero-value coefficient of described first area is carried out apparatus for encoding; And
Be used for described second area is carried out apparatus for encoding greater than 1 amplitude.
171. the equipment described in claim 1,
Wherein said digital signal series is the quantization parameter series of the video data block after the conversion, and the amplitude that described conversion makes most probable occur is 0, and secondly the amplitude that occurs of most probable is 1, and
Wherein also generate at amplitude in the described second area greater than the amplitude of each nonzero-value coefficient of 1 and the code word of symbol.
172. the equipment described in claim 169,
Wherein said digital signal series is the quantization parameter series of the video data block after the conversion, and the amplitude that described conversion makes most probable occur is 0, and secondly the amplitude that occurs of most probable is 1,
Wherein provide the first run length code table, the second run length code table and the first amplitude code table in order to the information in the described first area is encoded,
The wherein said first run length code table is used to store a plurality of code words at one group of run length of nonzero-value coefficient, described first form is organized as and makes that the bigger run length of possibility occurs compares and the less run length of possibility occurs and have short code word
The wherein said second run length code table is used to store a plurality of code words at one group of run length of zero valued coefficients, described second form is organized as and makes that the bigger run length of possibility occurs compares and the less run length of possibility occurs and have short code word
The wherein said first amplitude code table is used for storing a plurality of code words at the amplitude of the coefficient of each run length of nonzero-value coefficient,
Wherein said formation comprises at the step of the code word of each run length of nonzero-value coefficient searches the described first run length code table, and comprise the first amplitude code table of searching at each nonzero coefficient in the run length of described nonzero coefficient, and
Wherein said formation comprises at the step of the code word of each run length of the zero valued coefficients in the described first area searches the described second run length code table.
173. the equipment described in claim 172,
Wherein provide the 3rd run length code table and the second amplitude code table to be used for the information of described second area is encoded,
It is a plurality of code words of one group of run length of 1 coefficient and the zero valued coefficients that appears at described second area that wherein said the 3rd run length code table is used for storing at the amplitude of ending at, described the 3rd form is organized as and makes the described bigger run length of possibility that occurs compare the described less run length of possibility that occurs and have short code word
The wherein said second amplitude code table is used for storing a plurality of code words greater than 1 amplitude at the nonzero-value coefficient that appears at described second area, and
Wherein said formation comprises at the step of the code word of each run length of the null value system that ends at nonzero-value coefficient in the described second area searches described the 3rd run length code table.
174. the equipment described in arbitrary claim in the claim 162 to 173,
Wherein said digital signal series is the quantization parameter series of the video data block after the conversion, and the amplitude that described conversion makes most probable occur is 0, and secondly the amplitude that occurs of most probable is 1, and
Wherein said series is divided into plural zone by described breakpoint with at the extra breakpoint in each zone that comprises described second area, and described equipment also comprises:
Be used for the signal that appears at each additional areas that is limited by corresponding extra breakpoint is carried out apparatus for encoding, described coding uses the coding method that is different from employed coding method in other zone.
175. the equipment described in arbitrary claim in the claim 162 to 174,
Wherein said digital signal series is the quantization parameter series of the video data block after the conversion, and the amplitude that described conversion makes most probable occur is 0, and secondly the amplitude that occurs of most probable is 1, and
Wherein said first coding method comprises the code word at the run length of nonzero-value coefficient, and at the amplitude of the described nonzero-value coefficient in each distance of swimming and a set of code words of symbol.
176. the equipment described in arbitrary claim in the claim 162 to 175,
Wherein said digital signal series is the quantization parameter series of the video data block after the conversion, and the amplitude that described conversion makes most probable occur is 0, and secondly the amplitude that occurs of most probable is 1, and
Wherein start from the code word of described first coding method at the code word of the coefficient in the described first area and between described first coding method and described second coding method alternately, and a code word in the code word of wherein said first coding method is that first distance of swimming that indication is run into is the certain code word of zero run-length, makes the code word of described second method follow after the certain code word of described first method.
177. the equipment described in arbitrary claim in the claim 162 to 176,
Wherein said digital signal series is the quantization parameter series of the video data block after the conversion, and the amplitude that described conversion makes most probable occur is 0, and secondly the amplitude that occurs of most probable is 1,
Wherein provide the first run length code table, the second run length code table and the first amplitude code table in order to the information in the described first area is encoded,
The wherein said first run length code table is used to store a plurality of code words at one group of run length of nonzero-value coefficient, described first form is organized as and makes that the bigger run length of possibility occurs compares and the less run length of possibility occurs and have short code word
The wherein said second run length code table is used to store a plurality of code words at one group of run length of zero valued coefficients, described second form is organized as and makes that the bigger run length of possibility occurs compares and the less run length of possibility occurs and have short code word
The wherein said first amplitude code table is used for storing a plurality of code words at the amplitude of the coefficient of each run length of nonzero-value coefficient,
Wherein said formation comprises at the step of the code word of each run length of nonzero-value coefficient searches the described first run length code table, and comprise the first amplitude code table of searching at each nonzero coefficient in the run length of described nonzero coefficient, and
Wherein said formation comprises at the step of the code word of each run length of the zero valued coefficients in the described first area searches the described second run length code table.
178. the equipment that the orderly series of the quantization parameter of the conversion of video data block is encoded, described equipment comprises:
Be used to provide breakpoint to limit the then device along first neighboring region of an above coefficient of the ordering of described series of second neighboring region of its back;
Be used for the orderly subfamily of the quantization parameter of described first area is carried out apparatus for encoding, comprise and use first variable length decoding method; And
Be used for the orderly subfamily of the quantization parameter of described second area is carried out apparatus for encoding, comprise and use second variable length decoding method,
The feasible coding at least some coefficients in the described first area of wherein said first and second variable length decoding methods is different from the coding at least some coefficients in the described second area.
179. one kind bit stream decoded with the equipment of the quantization parameter series of the conversion that forms video data block, described conversion makes 0 to be most probable coefficient amplitude, and 1 is next most probable coefficient amplitude, described bit stream utilizes in the claim 1 to 21 the described method of arbitrary claim that described bit stream is encoded
Described decoding device comprises:
Be used to discern the device of code word;
Be used for determining the device of the incident represented by the described code word that identifies; And
Be used for determining the device of coefficient till all coefficients of described series all are determined of each incident of determining.
180. the equipment described in arbitrary claim in the claim 162 to 179,
Wherein said digital signal series is the quantization parameter series of the video data block after the conversion, and the amplitude that described conversion makes most probable occur is 0, and secondly the amplitude that occurs of most probable is 1, and
Wherein said break value is selected in advance.
181. the equipment described in arbitrary claim in the claim 162 to 179,
Wherein said equipment can be applied to the inter frame image data block, and wherein first break value of selecting in advance is used to first kind of inter frame image data, and second break value of selecting in advance is used to second kind of inter frame image data.
182. the equipment described in claim 181, wherein said first kind of interframe encode are compared described second kind of interframe encode and are had higher bit rate.
183. as the described equipment of arbitrary claim in the claim 162 to 179,
Wherein said digital signal series is the quantization parameter series of the video data block after the conversion, and the amplitude that described conversion makes most probable occur is 0, and secondly the amplitude that occurs of most probable is 1, and
Wherein select described break value from the finite set of predetermined breakpoint value according to the standard that depends on image.
184. the equipment described in claim 183, wherein the bit number of concentrating which breakpoint to produce according to described breakpoint is minimum selects described break value from the finite set of described predetermined breakpoint value.
185. as the described equipment of arbitrary claim in the claim 158 to 184,
Wherein said digital signal series is the quantization parameter series of the video data block after the conversion, and the amplitude that described conversion makes most probable occur is 0, and secondly the amplitude that occurs of most probable is 1, and
Video data block after the wherein said conversion comprises the DC item, and wherein said DC item is encoded separately, and makes the one group non-DC quantization parameter of described digital signal series for the video data block after the conversion.
186. as the described equipment of arbitrary claim in the claim 158 to 185,
Wherein said digital signal series is the quantization parameter series of the video data block after the conversion, and the amplitude that described conversion makes most probable occur is 0, and secondly the amplitude that occurs of most probable is 1, and
Wherein said breakpoint defines the bounds between described first and second zones.
187. as the described equipment of arbitrary claim in the claim 162 to 186,
Wherein said digital signal series is the quantization parameter series of the video data block after the conversion, and the amplitude that described conversion makes most probable occur is 0, and secondly the amplitude that occurs of most probable is 1, and
Wherein said breakpoint defines the soft border between described first and second zones, make for starting from before the described breakpoint and through the incident of described breakpoint, border between described first and second zones is in the ending of described incident, so that described whole event is in the described first area.
188. as the described equipment of arbitrary claim in the claim 158 to 187,
Wherein said digital signal series is the quantization parameter series of the video data block after the conversion, and the amplitude that described conversion makes most probable occur is 0, and secondly the amplitude that occurs of most probable is 1, and
Equipment described here also comprises:
Be used at least some described incidents that identify to form the device of the code word of regular length.
189. the equipment described in claim 188, the coding method of wherein said first area are included as the code word of at least some incidents that the identify formation regular lengths in the described first area.
190. the equipment described in claim 188, wherein said second area coding method are included as the code word of at least some incidents that the identify formation regular lengths in the described second area.
191. the equipment described in claim 188, wherein to be in a ratio of the possibility that its described incident that identifies of using variable length codeword occurs less for its described incident that identifies that forms described fixed-length code, and the code word of wherein said regular length is the same with arbitrary variable length codeword at least long.
192. the equipment described in claim 188, wherein the code word of each regular length comprises escape code.
193. the equipment described in claim 162,
Wherein said digital signal series is the quantization parameter series of the video data block after the conversion, and the amplitude that described conversion makes most probable occur is 0, and secondly the amplitude that occurs of most probable is 1, and
Wherein said equipment also comprises:
The amplitude that is used to form all remaining digital signals in the second area of the described series to when all is the device of zero indication.
194. the equipment described in claim 158 also comprises:
Be used for according to the amplitude distribution of described digital signal described series being categorized into the device of the certain kinds of a plurality of classes, each class has the respective coding process of formation at the code word of described series;
Be used for series, use the device that forms a set of code words of described series with the corresponding cataloged procedure of described class for described certain kinds; And
Be used to the code word of described formation to add the device of indicating described certain kinds,
Make to form the sequence that relatively short code word represents to occur relatively large value of possibility or value, and form the sequence that relatively long code word represents to occur less relatively value of possibility or value.
195. the equipment described in claim 194,
Wherein said digital signal series is the quantization parameter series of the video data block after the conversion, and the amplitude that described conversion makes most probable occur is 0, and the amplitude of secondly most probable appearance is 1.
196. the equipment described in claim 194,
Wherein said digital signal series is the quantization parameter series of the video data block after the conversion, and the amplitude that described conversion makes most probable occur is 0, and secondly the amplitude that occurs of most probable is 1, and
Wherein there are two classes in the image for any kind.
197. the equipment described in claim 194,
Wherein said digital signal series is the quantization parameter series of the video data block after the conversion, and the amplitude that described conversion makes most probable occur is 0, and secondly the amplitude that occurs of most probable is 1, and
Wherein there are at least four classes in the image for any kind.
198. the equipment described in claim 197, wherein said class comprises:
The series of the first kind, wherein the nonzero-value coefficient along the ordering of described coefficient has nonzero value, comprise much coefficient for ± 1, and wherein said nonzero-value coefficient forms in whole described ordering troops, and makes that not have breakpoint clearly identify nonzero-value coefficient wherein along the path of the ordering of described coefficient forms the first area of trooping and the second area of nonzero-value coefficient dispersion wherein;
The series of second class, wherein a large amount of nonzero-value coefficient along the ordering of described coefficient has nonzero value, comprise much coefficient, and wherein exist breakpoint to form the second area that the first area of trooping and wherein said nonzero-value coefficient are disperseed basically to identify nonzero-value coefficient wherein along the path of the ordering of described coefficient for ± 1;
The series of the 3rd class, in fact mainly being value along the nonzero-value coefficient of the ordering of described coefficient wherein is ± 1 coefficient, and wherein exists breakpoint to identify these nonzero-value coefficient wherein to form the first area of trooping and the second area of these nonzero-value coefficient dispersions wherein basically along the path of the ordering of described coefficient; And
The series of the 4th class, in fact mainly being value along the nonzero-value coefficient of the ordering of described coefficient wherein is ± 1 coefficient, and wherein said nonzero-value coefficient is disperseed in whole described ordering, makes that not have breakpoint clearly identify nonzero-value coefficient wherein along the path of the ordering of described coefficient forms the first area of trooping and the second area of nonzero-value coefficient dispersion wherein.
199. the equipment described in claim 194,
Wherein said digital signal series is the quantization parameter series of the video data block after the conversion, and the amplitude that described conversion makes most probable occur is 0, and secondly the amplitude that occurs of most probable is 1, and
Wherein said a plurality of class depends at least one in the group that is made of the following:
Described image block is in the frame/the rest image piece, or the inter frame image piece;
Described image block is standard definition television image block or HDTV image block;
Described equipment is used for the high bit rate coding or is used for the coding of relatively low bit rate; And
Described conversion is that DCT also is non-dct transform.
200. the equipment described in claim 194,
Wherein said digital signal series is the quantization parameter series of the video data block after the conversion, and the amplitude that described conversion makes most probable occur is 0, and secondly the amplitude that occurs of most probable is 1, and
The wherein said device that is used to classify uses described coefficient series.
201. the equipment described in claim 200, the wherein said device that is used for classifying comprise at least one the device of determining the statistical information of described coefficient that is used for according to the statistical standard group that is made of the following:
Existence limits wherein said nonzero coefficient and forms the first area of trooping and the breakpoint of the most of second area that disperses of wherein said nonzero-value coefficient;
Described nonzero-value coefficient is that most of formation troops or most of the dispersion; And
In the zone or the amplitude of the nonzero-value coefficient in described whole whether all be 1 basically.
202. the equipment described in claim 200, the wherein said device that is used to classify is selected described class according to the bit stream of the corresponding method generation maximum compression of which class.
203. the equipment described in claim 202, the wherein said device that is used for classifying comprises each that sequentially use corresponding cataloged procedure, and selects described certain kinds according to the compression that is produced with the corresponding cataloged procedure of described certain kinds.
204. the equipment described in claim 202, the wherein said device that is used for classifying comprises each that use corresponding cataloged procedure concurrently, and selects described certain kinds according to the compression that is produced with the corresponding cataloged procedure of described certain kinds.
205. the equipment described in claim 194,
Wherein said digital signal series is the quantization parameter series of the video data block after the conversion, and the amplitude that described conversion makes most probable occur is 0, and secondly the amplitude that occurs of most probable is 1, and
Class in the wherein said class has corresponding method, and this method comprises:
The sign nonzero-value coefficient distance of swimming and the zero valued coefficients distance of swimming;
Being utilized as at least some described run lengths provides first runlength encoding method of variable-length codes that the length of the described nonzero-value coefficient distance of swimming is encoded;
Utilize the first amplitude coding method that the amplitude in the described nonzero-value coefficient distance of swimming is encoded; And
Being utilized as at least some described run lengths provides second runlength encoding method of variable-length codes that the length of the described nonzero-value coefficient distance of swimming is encoded.
206. the equipment described in claim 205, wherein said corresponding method also comprises:
Encoding symbols to described nonzero-value coefficient.
207. the equipment described in claim 205, wherein said utilize described first runlength encoding method to encode to comprise search first coding form, and wherein said utilize described second runlength encoding method to encode to comprise search second coding form.
208. the equipment described in claim 205, the code word of wherein said coefficient starts from the code word of described first coding method and replaces between described first coding method and described second coding method, and a code word in the code word of wherein said first coding method is that first distance of swimming that indication is run into is the certain code word of zero run-length, makes the code word of described second method follow after the certain code word of described first method.
209. the equipment described in claim 205, second class in the wherein said class have the second corresponding method, this method comprises:
Provide breakpoint to limit then first neighboring region along the ordering of described series of second neighboring region of its back;
Utilize the first area coding method that the coefficient of described first area is encoded; And
Utilize the second area coding method that the coefficient in the described second area is encoded,
The feasible coding at least some coefficients in the described first area of coding method of wherein said first area and described second area coding method is different from the coding at least some coefficients in the described second area.
210. the equipment described in claim 209, the wherein said second corresponding method comprises:
At least one extra breakpoint is provided, makes described series be divided into plural zone by described breakpoint with at the extra breakpoint in each zone that comprises described second area; And
Coefficient in each additional areas that is limited by corresponding extra breakpoint is encoded, and respective coding is used the region based numbering scheme that is different from employed coding method in other zone in the zone.
211. the equipment described in claim 209, wherein said break value is selected in advance.
212. the equipment described in claim 209 is wherein selected described break value according to the standard that depends on image from the finite set of predetermined breakpoint value.
213. the equipment described in claim 209, the wherein said second corresponding method can be applied to I picture data and inter frame image data block, and wherein first break value of selecting in advance is used to the I picture data, and second break value of selecting in advance is used to the inter frame image data.
214. the equipment described in claim 209, wherein said breakpoint define the bounds between described first and second zones.
215. the equipment described in claim 209, wherein said breakpoint defines the soft border between described first and second zones, make for having through the continuous nonzero value of described breakpoint or the piece of continuous null value sequence, border between described first and second zones makes described whole sequence all in described first area in the ending of described sequence.
216. the equipment described in claim 209, the coding method of wherein said first area comprises:
Identify the nonzero-value coefficient distance of swimming in the described first area and the zero valued coefficients distance of swimming in the described first area;
Being utilized as at least some described run lengths provides the 3rd runlength encoding method of variable-length codes that the length of the nonzero-value coefficient distance of swimming in the described first area is encoded;
Utilize the second amplitude coding method that the amplitude in the nonzero-value coefficient distance of swimming in the described first area is encoded; And
Being utilized as at least some described run lengths provides the 4th runlength encoding method of variable-length codes that the length of the nonzero-value coefficient distance of swimming in the described first area is encoded.
217. the equipment described in claim 216, the coding method of wherein said first area also comprises:
Encoding symbols to the nonzero-value coefficient in the described first area.
218. the equipment described in claim 216, wherein said utilize described the 3rd runlength encoding method to encode to comprise search first coding form, and wherein said utilize described the 4th runlength encoding method to encode to comprise search second coding form.
219. the equipment described in claim 216,
Wherein said second area coding method comprises:
Be identified at the continuous zero valued coefficients distance of swimming in the nonzero-value coefficient described second area before in the described second area, be included in the distance of swimming that nonzero-value coefficient does not have zero valued coefficients before;
Utilize the 5th variable-length runlength encoding method that the run length of the described zero valued coefficients distance of swimming that identifies is encoded;
Amplitude to the nonzero-value coefficient after the zero valued coefficients distance of swimming that each identifies in described second area is encoded; And
Encoding symbols to the nonzero-value coefficient after the zero valued coefficients distance of swimming that each identifies in described second area.
220. the equipment described in claim 219, wherein said the 5th coding method are included as the code word of at least some run lengths formation regular lengths in the described second area.
221. the equipment described in claim 219, wherein said second area coding method comprises:
Identify continuous zero valued coefficients distance of swimming back in the described second area and follow the incident of a nonzero-value coefficient in the described second area, comprise there is not the then incident of a nonzero-value coefficient of the distance of swimming of zero valued coefficients back, described sign comprises that the amplitude of the nonzero-value coefficient that identifies wherein said ending is not 1 incident;
For the amplitude that wherein is connected on the nonzero-value coefficient after the described zero valued coefficients distance of swimming that identifies is 1 incident, utilizes the 5th variable-length runlength encoding method that described incident is encoded;
1 incident for the amplitude that wherein is connected on the nonzero-value coefficient after the described zero valued coefficients distance of swimming that identifies, utilize the 5th variable-length runlength encoding method and described event identifier is encoded to each incident for the exception code of exception, and be not that the amplitude of 1 coefficient is encoded to described amplitude again; And
To encoding symbols as the nonzero-value coefficient of the end of each incident that identifies in the described second area.
222. the equipment described in claim 221, wherein said the 5th coding method are included as the code word of at least some run lengths formation regular lengths in the described second area.
223. the equipment described in claim 194,
Wherein said digital signal series is the quantization parameter series of the video data block after the conversion, and the amplitude that described conversion makes most probable occur is 0, and secondly the amplitude that occurs of most probable is 1, and
Class in the wherein said class has corresponding method, and this method comprises:
The sign amplitude is the distance of swimming and the zero valued coefficients distance of swimming of 1 coefficient;
First runlength encoding method that is utilized as at least some described run lengths and provides variable-length codes is that the length of the distance of swimming of 1 coefficient is encoded to described amplitude;
It to described amplitude the encoding symbols of 1 coefficient;
Identify arbitrary amplitude and be not 1 nonzero coefficient, and to utilize the amplitude coding method be not that the amplitude of 1 nonzero-value coefficient is encoded to amplitude;
The encoding symbols of 1 nonzero-value coefficient to described amplitude; And
Being utilized as at least some described run lengths provides second runlength encoding method of variable-length codes that the length of the described nonzero-value coefficient distance of swimming is encoded.
224. the equipment described in claim 223, wherein said utilize described first runlength encoding method to encode to comprise search first coding form, and wherein said utilize described second runlength encoding method to encode to comprise search second coding form.
225. the equipment described in claim 194,
Wherein said digital signal series is the quantization parameter series of the video data block after the conversion, and the amplitude that described conversion makes most probable occur is 0, and secondly the amplitude that occurs of most probable is 1, and
Class in the wherein said class has corresponding method, and this method comprises:
The sign nonzero-value coefficient distance of swimming and the zero valued coefficients distance of swimming comprise that any amplitude of sign is not 1 nonzero-value coefficient;
Being utilized as at least some described run lengths provides first runlength encoding method of variable-length codes that the length of the described nonzero-value coefficient distance of swimming is encoded;
Encoding symbols to described nonzero-value coefficient;
Utilizing exception code is not that 1 nonzero-value coefficient is encoded to there being arbitrary amplitude in arbitrary nonzero-value coefficient distance of swimming, and to utilize the amplitude coding method more be not that the amplitude of 1 nonzero-value coefficient is encoded to amplitude;
The encoding symbols of 1 nonzero-value coefficient to described amplitude; And
Being utilized as at least some described run lengths provides second runlength encoding method of variable-length codes that the length of the described nonzero-value coefficient distance of swimming is encoded.
226. the equipment described in claim 225, wherein said utilize described first runlength encoding method to encode to comprise search first coding form, and wherein said utilize described second runlength encoding method to encode to comprise search second coding form.
227. the equipment described in claim 194,
Wherein said digital signal series is the quantization parameter series of the video data block after the conversion, and the amplitude that described conversion makes most probable occur is 0, and secondly the amplitude that occurs of most probable is 1, and
Class in the wherein said class has corresponding method, and this method comprises:
Sign ends at the zero valued coefficients distance of swimming of nonzero coefficient, and comprising does not have then nonzero-value coefficient of the distance of swimming of zero valued coefficients back;
Being utilized as at least some described run lengths provides the runlength encoding method of variable-length codes that the length of the described zero valued coefficients distance of swimming is encoded; And
For each distance of swimming that identifies, the amplitude of described nonzero-value coefficient is encoded according to the amplitude coding method.
228. the equipment described in claim 227, wherein said corresponding method also comprises:
Encoding symbols to described nonzero-value coefficient.
229. the equipment described in claim 227, wherein said utilize described runlength encoding method to encode to comprise search coding form.
230. the equipment described in claim 194,
Wherein said digital signal series is the quantization parameter series of the video data block after the conversion, and the amplitude that described conversion makes most probable occur is 0, and secondly the amplitude that occurs of most probable is 1, and
Class in the wherein said class has corresponding method, and this method comprises:
Identify the then incident of a nonzero-value coefficient of continuous zero valued coefficients distance of swimming back, comprise there is not the then incident of a nonzero-value coefficient of the distance of swimming of zero valued coefficients back, described sign comprises that the amplitude that identifies wherein said ending nonzero-value coefficient is not 1 incident;
For the amplitude of wherein following the described nonzero-value coefficient after the described zero valued coefficients distance of swimming that identifies is 1 incident, and being utilized as at least some described incidents provides the variable-length runlength encoding method of variable-length codes that described incident is encoded; And
It for the amplitude of wherein following the described nonzero-value coefficient after the described zero valued coefficients distance of swimming that identifies 1 incident, utilize described variable-length runlength encoding method and described event identifier is encoded to each incident for the exception code of exception, and to utilize the amplitude coding method more be not that 1 amplitude is encoded to described amplitude.
231. the equipment described in claim 230, wherein said corresponding method also comprises:
Encoding symbols to described nonzero-value coefficient.
232. the equipment described in claim 230, wherein said utilize described runlength encoding method to encode to comprise search coding form.
233. the equipment described in claim 194,
Wherein said digital signal series is the quantization parameter series of the video data block after the conversion, and the amplitude that described conversion makes most probable occur is 0, and secondly the amplitude that occurs of most probable is 1, and
A class specific in the wherein said class has corresponding method, and this method comprises:
Provide breakpoint to limit then first neighboring region along the ordering of described series of second neighboring region of its back;
Utilize the first area coding method that the coefficient of described first area is encoded; And
Utilize the second area coding method that the coefficient in the described second area is encoded,
The feasible coding at least some coefficients in the described first area of coding method of wherein said first area and described second area coding method is different from the coding at least some coefficients in the described second area.
234. the equipment described in claim 233, the corresponding method of wherein said certain kinds comprises:
At least one extra breakpoint is provided, makes described series be divided into plural zone by described breakpoint with at the extra breakpoint in each zone that comprises described second area; And
Coefficient in each additional areas that is limited by corresponding extra breakpoint is encoded, and respective coding is used the region based numbering scheme that is different from employed coding method in other zone in the zone.
235. the equipment described in claim 233, wherein said break value is selected in advance.
236. the equipment described in claim 233 is wherein selected described break value according to the standard that depends on image from the finite set of predetermined breakpoint value.
237. the equipment described in claim 233, wherein can be applied to I picture data and inter frame image data block with the corresponding cataloged procedure of described certain kinds, and wherein first break value of selecting in advance is used to the I picture data, and second break value of selecting in advance is used to the inter frame image data.
238. the equipment described in claim 233, wherein said breakpoint define the bounds between described first and second zones.
239. the equipment described in claim 233, wherein said breakpoint defines the soft border between described first and second zones, make for having through the continuous nonzero value of described breakpoint or the piece of continuous null value sequence, border between described first and second zones makes described whole sequence all in described first area in the ending of described sequence.
240. the equipment described in claim 233, the coding method of wherein said first area comprises:
Identify the nonzero-value coefficient distance of swimming in the described first area and the zero valued coefficients distance of swimming in the described first area;
Being utilized as at least some described run lengths provides first runlength encoding method of variable-length codes that the length of the nonzero-value coefficient distance of swimming in the described first area is encoded;
Utilize the first amplitude coding method that the amplitude in the nonzero-value coefficient distance of swimming in the described first area is encoded; And
Being utilized as at least some described run lengths provides second runlength encoding method of variable-length codes that the length of the nonzero-value coefficient distance of swimming in the described first area is encoded.
241. the equipment described in claim 240, the coding method of wherein said first area also comprises:
Encoding symbols to the nonzero-value coefficient in the described first area.
242. the equipment described in claim 240, wherein said utilize described first runlength encoding method to encode to comprise search first coding form, and wherein said utilize described second runlength encoding method to encode to comprise search second coding form.
243. the equipment described in claim 240,
Wherein said second area coding method comprises:
Be identified at the continuous zero valued coefficients distance of swimming in the nonzero-value coefficient described second area before in the described second area, be included in the distance of swimming that nonzero-value coefficient does not have zero valued coefficients before;
Utilize the 3rd variable-length runlength encoding method that the run length of the described zero valued coefficients distance of swimming that identifies is encoded;
Amplitude to the nonzero-value coefficient after the zero valued coefficients distance of swimming that each identifies in described second area is encoded; And
Encoding symbols to the nonzero-value coefficient after the zero valued coefficients distance of swimming that each identifies in described second area.
244. the equipment described in claim 243, wherein said the 3rd coding method are included as the code word of at least some run lengths formation regular lengths in the described second area.
245. the equipment described in claim 243, wherein said second area coding method comprises:
Identify continuous zero valued coefficients distance of swimming back in the described second area and follow the incident of a nonzero-value coefficient in the described second area, comprise there is not the then incident of a nonzero-value coefficient of the distance of swimming of zero valued coefficients back, described sign comprises that the amplitude of the nonzero-value coefficient that identifies wherein said ending is not 1 incident;
For the amplitude that wherein is connected on the nonzero-value coefficient after the described zero valued coefficients distance of swimming that identifies is 1 incident, utilizes the 3rd variable-length runlength encoding method that described incident is encoded;
1 incident for the amplitude that wherein is connected on the nonzero-value coefficient after the described zero valued coefficients distance of swimming that identifies, utilize the 3rd variable-length runlength encoding method and described event identifier is encoded to each incident for the exception code of exception, and to utilize the second amplitude coding method more be not that the amplitude of 1 coefficient is encoded to described amplitude; And
To encoding symbols as the nonzero-value coefficient of the end of each incident that identifies in the described second area.
246. the equipment described in claim 245, wherein said the 3rd coding method are included as the code word of at least some run lengths formation regular lengths in the described second area.
247. equipment that is used for the orderly series of processing digital signal, the amplitude of each is taken from the limited amplitude collection that the amplitude that occurred by most probable and at least one other amplitude constitute in the described digital signal, described processing is used to represent the data volume of described digital signal and forms code word in order to minimizing, the digital signal value that the feasible possibility that occurs is bigger or the sequence of digital signal value are represented by relatively short code word, and the digital signal value that the possibility that occurs is less or the sequence of digital signal value represent that by relatively long code word described method comprises:
For first neighboring region in the series:
Identify each and be included in the incident that its value is not equal to the distance of swimming of the continuous coefficients with amplitude that most probable occurs before the distance of swimming of one or more continuous signals of the amplitude that most probable occurs, be included in the incident that its value is not equal to the coefficient that does not have the amplitude that most probable occurs before the distance of swimming of one or more continuous signals of the amplitude that most probable occurs;
For each incident that identifies, utilize the distance of swimming of the amplitude that code word occurs most probable the preceding and be not that the run length of the distance of swimming of the amplitude of most probable appearance carries out combined coding afterwards, make at least some incidents, compare with the relative less run length of possibility that occurs, utilize short code word to come the relatively large run length of the possibility that occurs encoding;
For each incident that identifies, not that each amplitude in the distance of swimming of continuous signal of the amplitude that occurs of described most probable is encoded to amplitude, described coding is according to the amplitude coding method,
Make to form the sequence that relatively short code word represents to occur relatively large value of possibility or value, and form the sequence that relatively long code word represents to occur less relatively value of possibility or value.
248. the equipment described in claim 247,
Wherein said digital signal series is the quantization parameter series of the video data block after the conversion, the amplitude that described conversion makes most probable occur is 0, and secondly the amplitude of most probable appearance is 1, make the step of described identified event identify each and comprise the incident of the zero valued coefficients distance of swimming before one or more nonzero-value coefficient distances of swimming, be included in the incident that does not have zero valued coefficients before the nonzero-value coefficient distance of swimming.
249. the equipment described in claim 248, the video data block after the wherein said conversion comprises the DC item, and wherein said DC item is encoded separately, and makes the one group non-DC quantization parameter of described digital signal series for the video data block after the conversion.
250. the equipment described in claim 248 also is included in the first area:
For each incident that identifies, to the encoding symbols of the described nonzero-value coefficient in the described nonzero-value coefficient distance of swimming.
251. the equipment described in claim 248 also comprises:
Provide and limit the then breakpoint along first neighboring region of the ordering of described series of second neighboring region of its back; Making utilizes first coding method that the coefficient of described first area is encoded, described first coding method comprises and described incident being identified, described run length to described incident carries out combined coding, and the amplitude of described nonzero-value coefficient to described incident is encoded; And
Utilize the second area coding method that the coefficient in the described second area is encoded, and
Wherein first area coding method and second area coding method make coding to the distance of swimming of at least some coefficients in the described first area or coefficient be different from the coding to the distance of swimming of at least some coefficients in the described second area or coefficient.
252. the equipment described in claim 251 also comprises:
Provide at least one extra breakpoint to make described series be divided into plural zone by described breakpoint with at the described extra breakpoint in each zone that comprises described second area; And
Coefficient in each additional areas that is limited by corresponding extra breakpoint is encoded, and respective coding is used and is different from the region based numbering scheme that is used in the coding method in other zone in the zone.
253. the equipment described in claim 251, wherein said break value is selected in advance.
254. the equipment described in claim 251 is wherein selected described break value according to the standard that depends on image from the finite set of predetermined breakpoint value.
255. the equipment described in claim 251, the wherein said second corresponding method can be applied to I picture data and inter frame image data block, and wherein first break value of selecting in advance is used to the I picture data, and second break value of selecting in advance is used to the inter frame image data.
256. the equipment described in claim 251, wherein said breakpoint define the bounds between described first and second zones.
257. the equipment described in claim 251, wherein said breakpoint defines the soft border between described first and second zones, the incident that identifies in the feasible first area piece for continuous nonzero value sequence with the described breakpoint of process, border between described first and second zones makes described whole event all in described first area in the ending of described incident.
258. the equipment described in claim 248 wherein saidly uses the multidimensional coding form to the combined coding about the run length of incident.
259. the equipment described in claim 248, wherein said identified and the number of the incident that its run length is encoded is limited, make and have only the incident (" maximum length ") that has maximum total several coefficients at the most to be identified, therefore and the maximum length incident that wherein said sign also identifies the full null event of described maximum length and ends at nonzero coefficient can be avoided escape code in the coding to the coefficient of described first area.
260. the equipment described in claim 259, wherein said first area comprise described first incident that identifies; Wherein said run length to the incident in the described first area carries out combined coding and uses first variable length decoding method, and the amplitude of wherein said non-zero magnitude to the incident in the described first area first amplitude coding method of use of encoding, described method also comprises:
Second neighboring region of qualification after the first area of the ordering of described series and the breakpoint of the 3rd neighboring region after the described second area are provided; Make and utilize second coding method that the coefficient in the described second area is encoded, described second coding method comprises:
Identify each and comprise the incident of the zero valued coefficients distance of swimming before one or more nonzero-value coefficient distances of swimming, the distance of swimming that is included in one or more nonzero-value coefficient does not have the incident of zero valued coefficients before;
For each incident that identifies in the described second area, utilize the distance of swimming of the amplitude that code word occurs most probable the preceding and be not that the run length of the distance of swimming of the amplitude of most probable appearance carries out combined coding afterwards, make at least some incidents, compare with the relative less run length of possibility that occurs, utilize short code word to come the relatively large run length of the possibility that occurs encoding, the combined coding of described run length to the incident in the described second area uses second coding method;
For each incident that identifies in the described second area, not that each amplitude in the distance of swimming of continuous signal of the amplitude that occurs of described most probable is encoded to amplitude, described coding is according to the second amplitude coding method; And
Utilize the 3rd region based numbering scheme that the coefficient in described the 3rd zone is encoded.
261. the equipment described in claim 161,
Wherein, in the coding method of described first area:
The identification of described incident comprises first kind of incident of identification, and the incident of each described first distance of swimming is to appear at the distance of swimming of continuous signal that its value in first neighboring region that is limited by described breakpoint is not equal to the value of most probable appearance;
Described formation comprises the code word of formation at described first kind of incident at the code word of the described incident that identifies, comprise and utilize first runlength encoding method that the run length of described continuous signal is encoded, and form the code word of utilizing described first runlength encoding method that described run length is encoded;
The identification of described incident also comprises second kind of incident of identification, and each described second kind of incident is the distance of swimming that appears at the continuous signal of the value with most probable appearance in the first area that is limited by described breakpoint;
Described formation comprises the code word of formation at described first kind of incident at the code word of the described incident that identifies, comprise and utilize first runlength encoding method that the run length of described continuous signal is encoded, and form the code word of utilizing described first runlength encoding method that described run length is encoded; And
Described formation also comprises at each described first kind incident that identifies at the code word of described first kind of incident that identifies, be not that a plurality of successive values in the distance of swimming of continuous signal of the amplitude that occurs of most probable carry out combined coding to amplitude, described combined coding is according to the amplitude coding method.
262. the equipment described in claim 261,
Wherein said digital signal series is the quantization parameter series of the video data block after the conversion, the amplitude that described conversion makes most probable occur is 0, and secondly the amplitude of most probable appearance is 1, makes described identified event identify the incident that each comprises the distance of swimming of one or more nonzero-value coefficient.
263. the equipment described in claim 262, the video data block after the wherein said conversion comprises the DC item, and wherein said DC item is encoded separately, and makes the one group non-DC quantization parameter of described digital signal series for the video data block after the conversion.
264. the equipment described in claim 262, wherein said combined coding to a plurality of successive values carries out combined coding to a plurality of amplitudes, and the symbol of described amplitude is encoded separately.
265. the equipment described in claim 262, wherein said combined coding to a plurality of successive values carries out combined coding to a plurality of amplitudes of the symbol that comprises amplitude, therefore for described by the successive value of combined coding, do not use independent symbolic coding.
266. the equipment described in claim 262, wherein said combined coding to a plurality of successive values uses the multidimensional coding form.
267. the equipment described in claim 262,
Wherein said identified event comprises sign, and each comprises the incident of the continuous zero valued coefficients distance of swimming before the distance of swimming of one or more continuous nonzero-value coefficient, and the distance of swimming that is included in one or more continuous nonzero-value coefficient does not have the incident of zero valued coefficients before; And
Wherein said combined coding comprise to the described distance of swimming of zero valued coefficients the preceding and described after the run length of the nonzero-value coefficient distance of swimming carry out combined coding, make at least some incidents, compare with the relative less run length of possibility that occurs, utilize short code word to come the relatively large run length of the possibility that occurs encoding.
268. the equipment described in claim 262,
Wherein said identified event comprises the run length that identifies described one or more zero valued coefficients and identifies the run length of following the one or more nonzero-value coefficient after the described zero valued coefficients distance of swimming; And
Wherein the coding of described incident being comprised utilizes first runlength encoding method that the run length of the described nonzero-value coefficient distance of swimming that identifies is encoded, and utilize second runlength encoding method that the run length of the described zero valued coefficients distance of swimming that identifies is encoded
Make at least some incidents, compare, utilize short code word the relatively large run length of possibility occurring to encoding with the relative less run length of possibility occurring.
269. the equipment described in claim 267 also comprises:
Provide breakpoint to limit then first neighboring region along the ordering of described series of second neighboring region of its back; Making utilizes first coding method that the coefficient of described first area is encoded, described first coding method comprises and described incident being identified, described run length to described incident carries out combined coding, and the amplitude of described nonzero-value coefficient to described incident is encoded; And
Utilize the second area coding method that the coefficient in the described second area is encoded, and
Coding method of wherein said first area and described second area coding method make the coding to the distance of swimming of at least some coefficients in the described first area or coefficient be different from the coding to the distance of swimming of at least some coefficients in the described second area or coefficient.
270. the equipment described in claim 269, wherein said break value is selected in advance.
271. the equipment described in claim 269 is wherein selected described break value according to the standard that depends on image from the finite set of predetermined breakpoint value.
272. the equipment described in claim 269, the wherein said second corresponding method can be applied to I picture data and inter frame image data block, and wherein first break value of selecting in advance is used to the I picture data, and second break value of selecting in advance is used to the inter frame image data.
273. the equipment described in claim 269, wherein said breakpoint define the bounds between described first and second zones.
274. the equipment described in claim 269, wherein said breakpoint defines the soft border between described first and second zones, the incident that identifies in the feasible piece for the first area that comprises the continuous nonzero value sequence of passing through described breakpoint, border between described first and second zones makes described whole event all in described first area in the ending of described incident.
275. the equipment described in claim 267 wherein saidly uses the multidimensional coding form to the combined coding about the run length of incident.
276. the equipment described in claim 267, wherein said identified and the number of the incident that its run length is encoded is limited, make and have only the incident (" maximum length ") that has maximum total several coefficients at the most to be identified, therefore and the maximum length incident that wherein said sign also identifies the full null event of described maximum length and ends at nonzero coefficient can be avoided escape code in the coding to the coefficient of described first area.
277. the equipment described in claim 161,
Wherein, in the coding method of described first area:
Described identification to incident comprises first kind of incident of identification, and the incident of each described first distance of swimming is the distance of swimming that its value is not equal to the continuous signal of the amplitude that most probable occurs;
Described formation comprises the code word of formation at described first kind of incident at the code word of the described incident that identifies, comprise the distance of swimming at the continuous signal of at least some any amplitudes that identify with the amplitude that is not equal to the most probable appearance, for each distance of swimming in described first kind of incident that identifies
Relative position and run length to the continuous coefficients of the described distance of swimming and any centre with amplitude that most probable occurs are encoded;
Identify the amplitude incident of at least one continuous signal, the amplitude incident that identifies comprises that the amplitude of ending at is not equal to the sequence of at least one continuous signal with amplitude that described secondly most probable occurs of the signal of the amplitude that next most probable occurs, determine that perhaps described amplitude incident only has the signal that amplitude is not equal to the amplitude of described secondly most probable appearance, determine that perhaps described amplitude incident only has the sequence that amplitude is the continuous signal of the amplitude that occurs of described secondly most probable, limit by the length of the sequence of at least one continuous signal and the amplitude of described ending signal with amplitude that described secondly most probable occurs at each incident that identifies of the run length of the described distance of swimming that identifies; And
Utilize at least one code word that the amplitude incident that each identifies is encoded, make at least some amplitude incidents that identifies, compare with the relative less amplitude incident of possibility occurring, utilize short code word to encode the relatively large amplitude incident of possibility occurring.
278. the equipment described in claim 277,
Wherein said digital signal series is the quantization parameter series of the video data block after the conversion, the amplitude that described conversion makes most probable occur is 0, and secondly the amplitude of most probable appearance is 1, make the sign distance of swimming identify the distance of swimming that each comprises one or more nonzero-value coefficient, and each the amplitude incident that identifies in the distance of swimming identify of making comprises that at least one amplitude that ends at greater than 1 amplitude is the sequence of 1 continuous coefficients, perhaps amplitude is greater than 1 coefficient, and perhaps having only amplitude is the sequence of 1 continuous coefficients.
279. the equipment described in claim 278, wherein said sign to the amplitude incident is at each the nonzero coefficient distance of swimming that identifies in the described series.
280. the equipment described in claim 278, described sign to the amplitude incident is less than or equal to the nonzero coefficient distance of swimming of the length of selection in advance at those run lengths that identify in the described series, and described method also comprises:
At the distance of swimming of the described run length that identifies, for each distance of swimming that identifies with big run length greater than the continuous nonzero coefficient of the described length of selecting in advance:
To the described distance of swimming that identifies and relative position and run length with any intercalary continuous coefficients of the amplitude that most probable occurs encode;
Utilization is carried out combined coding about the multidimensional coding function of described amplitude to the non-zero magnitude of described non-zero magnitude, to produce following code word, the feasible distance of swimming at least some non-zero magnitude, compare and the less relatively amplitude of possibility occurs, utilize short code word to encode the relatively large amplitude distance of swimming of possibility occurring.
281. the equipment described in claim 278, the video data block after the wherein said conversion comprises the DC item, and wherein said DC item is encoded separately, and makes the one group non-DC quantization parameter of described digital signal series for the video data block after the conversion.
282. the equipment described in claim 278, wherein said coding to the described amplitude incident that identifies comprise independent encoding symbols to described amplitude.
283. the equipment described in claim 278, wherein said coding to the described amplitude incident that identifies, it is the run length of sequence of 1 coefficient and described amplitude greater than the coding form of each right code word of the amplitude of 1 ending coefficient that use provides at described amplitude the preceding, therefore at each run length of the nonzero coefficient distance of swimming that identifies, can use different coding forms.
284. the equipment described in claim 283, wherein said coding form distributes variable-length codes to constitute by the statistical information according to the amplitude incident of measured or hypothesis.
285. the equipment described in claim 278,
The wherein said sign distance of swimming is the part of following process, described process comprises the then distance of swimming of the continuous zero valued coefficients before the distance of swimming of one or more continuous nonzero-value coefficient of a zero valued coefficients of sign back, and perhaps identifying the back does not then have zero valued coefficients before the distance of swimming of one or more continuous nonzero-value coefficient of a null value system; And
Wherein said coding to described relative position comprise to the described distance of swimming of zero valued coefficients the preceding and after the run length of the nonzero-value coefficient distance of swimming carry out combined coding, make at least some amplitude incidents, compare and the less relatively run length of possibility occurs, utilize short code word the relatively large run length of possibility occurring to encoding.
286. the equipment described in claim 278,
Wherein said sign each comprise amplitude be not the distance of swimming of one or more continuous signals of 0 be included in the described back of sign be a zero valued coefficients one or more nonzero-value coefficient run length and be identified in the run length of the one or more zero valued coefficients before the distance of swimming of described one or more nonzero-value coefficient; And
Wherein said coding to described relative position comprises:
Utilize first runlength encoding method that the run length of the nonzero-value coefficient distance of swimming that identifies is encoded, and utilize second runlength encoding method that the run length of the zero valued coefficients distance of swimming that identifies is encoded,
Make at least some amplitude incidents, compare and the less relatively run length of possibility occurs, utilize short code word the relatively large run length of possibility occurring to encoding.
287. the equipment described in claim 285 also comprises:
Provide breakpoint to limit then first neighboring region along the ordering of described series of second neighboring region of its back; Making utilizes first coding method that the coefficient of described first area is encoded, described first coding method comprises and described the distance of swimming being identified, described described relative position and run length are encoded, described sign to the amplitude incident, and described the described amplitude incident that identifies is encoded; And
Utilize the second area coding method that the coefficient in the described second area is encoded, and
Coding method of wherein said first area and described second area coding method make the coding to the distance of swimming of at least some coefficients in the described first area or coefficient be different from the coding to the distance of swimming of at least some coefficients in the described second area or coefficient.
288. the equipment described in claim 285, wherein said combined coding to described run length uses two-dimensional encoded form.
289. the equipment described in claim 161,
Wherein, in the coding method of described first area:
The identification of described incident comprises sign, and each comprises trooping of one or more continuous signals with any amplitude that is not equal to the amplitude that most probable occurs, and any intercalary distance of swimming with continuous coefficients of the value that most probable occurs, and
The coding method of wherein said first area also comprises:
Identify at least one position event and limit trooping of the described signal that identifies with any amplitude that is not equal to the amplitude that most probable occurs, and the relative position and the run length of the distance of swimming of any intercalary continuous coefficients with value that most probable occurs;
Identify at least one amplitude incident, the described incident qualification amplitude that identifies is not equal to the amplitude of signal described in the trooping of continuous signal of the amplitude that most probable occurs; And
Described position event that identifies and the described amplitude incident that identifies are carried out combined coding, the relative position and the amplitude of coming described amplitude to be not equal to the continuous signal of the amplitude that most probable occurs are carried out combined coding, described combined coding is according to the multidimensional coding function about described position event and described amplitude incident, described combined coding is arranged to and utilizes relatively short code word to represent to occur possibility bigger relative position of trooping and amplitude, and utilizes relatively long code word to represent to occur possibility less relative position of trooping and amplitude.
290. the equipment described in claim 289,
Wherein said digital signal series is the quantization parameter series of the video data block after the conversion, the amplitude that described conversion makes most probable occur is 0, secondly and the amplitude that occurs of most probable is 1, make the marker group set identifier each comprise trooping of at least one continuous nonzero-value coefficient.
291. the equipment described in claim 290, the video data block after the wherein said conversion comprises the DC item, and wherein said DC item is encoded separately, and makes the one group non-DC quantization parameter of described digital signal series for the video data block after the conversion.
292. the equipment described in claim 290,
Event identifier back, wherein said home position is the distance of swimming of the continuous zero valued coefficients before the distance of swimming of one or more continuous nonzero-value coefficient of a zero valued coefficients then, and perhaps identifying the back does not then have zero valued coefficients before the distance of swimming of one or more continuous nonzero-value coefficient of a null value system; And
Wherein said combined coding to the run length of the described distance of swimming of zero valued coefficients the preceding, after the run length and the described amplitude incident of the nonzero-value coefficient distance of swimming carry out combined coding, feasible combination at least some run lengths and amplitude incident, compare and the less relatively combination of possibility occurs, utilize short code word the relatively large combination of possibility occurring to encoding.
293. the equipment described in claim 290, wherein said combined coding comprise independent encoding symbols to the amplitude in described the trooping, and described position event and described amplitude incident are carried out combined coding.
294. the equipment described in claim 290, wherein said combined coding comprise independent encoding symbols to the amplitude in described the trooping, and described position event and described amplitude incident are carried out combined coding.
295. the equipment described in claim 290, wherein said what identify is the non-zero magnitude collection of the coefficient during described non-zero magnitude is trooped at each amplitude incident of trooping, and a plurality of continuous non-zero magnitude during therefore described combined coding is trooped to described position event and described continuous nonzero-value coefficient is carried out combined coding.
296. the equipment described in claim 290, wherein said sign amplitude incident comprises:
Trooping that each identifies, sign comprises that the amplitude of ending at is the amplitude incident of at least one continuous coefficients of the sequence of 1 continuous coefficients greater than at least one amplitude of 1 coefficient, determine that perhaps described incident only has the amplitude greater than 1, determine that perhaps described incident only has the sequence that amplitude is 1 continuous coefficients, each incident at the described run length of trooping that identifies that identifies is that the length of sequence of 1 continuous coefficients and the amplitude of described ending coefficient limit by described at least one amplitude.
297. the equipment described in claim 296, wherein saidly the described position that identifies and amplitude incident are carried out combined coding use the multidimensional coding form, it is that the run length of 1 coefficient sequence is right that this form provides at described position code and described amplitude the preceding, and described amplitude is greater than the code word of the combination of the amplitude of 1 ending coefficient.
298. the equipment described in claim 290, wherein said sign amplitude incident comprises:
Be less than or equal in advance trooping of the length selected for each length that identifies, identify the continuous non-zero magnitude of described continuous nonzero-value coefficient in trooping, make and carry out described combined coding according to the multidimensional coding method of described position event and described non-zero magnitude being carried out combined coding; And
For each length that identifies trooping greater than the described length of selecting in advance:
Sign comprises that the amplitude of ending at is the amplitude incident of at least one continuous coefficients of the sequence of 1 continuous coefficients greater than at least one amplitude of 1 coefficient, determine that perhaps described incident only has the amplitude greater than 1, determine that perhaps described incident only has the sequence that amplitude is 1 continuous coefficients, each incident at the described run length of trooping that identifies that identifies is that the length of sequence of 1 continuous coefficients and the amplitude of described ending coefficient limit by described at least one amplitude; And
According to the multidimensional coding method of described position event and described amplitude incident being carried out combined coding described position event that identifies and amplitude incident are carried out combined coding.
299. the equipment described in claim 292 also comprises:
Provide breakpoint to limit then first neighboring region along the ordering of described series of second neighboring region of its back; Making utilizes first coding method that the coefficient of described first area is encoded, described first coding method comprises and describedly identifying trooping, described described relative position and run length are encoded, described amplitude to described continuous coefficients is encoded, and described combined coding; And
Utilize the second area coding method that the coefficient in the described second area is encoded, and
Coding method of wherein said first area and described second area coding method make the coding to the distance of swimming of at least some coefficients in the described first area or coefficient be different from the coding to the distance of swimming of at least some coefficients in the described second area or coefficient.
300. the equipment described in claim 161,
Wherein said method is applied to the orderly series of a plurality of digital signals, and wherein saidly establish the statistical information that the breakpoint utilization calculates along described ordering from least one subclass of described a plurality of series, described statistical information is the information that appears at the position in the trooping of continuous signal with the value that is not that most probable occurs about the signal that the ordering along described a plurality of series has a value that is not that most probable occurs.
301. the equipment described in claim 300,
Wherein each digital signal series is the quantization parameter series of the video data block after the conversion, and the amplitude that described conversion makes most probable occur is 0, and the amplitude of secondly most probable appearance is 1.
302. the equipment described in claim 300, wherein make that at the described breakpoint that is established described second area is under the situation of dummy section, utilize the coding method of described first area that all quantization parameters are encoded, and make that at the described breakpoint that is established described first area is under the situation of dummy section, utilize described second area coding method that all quantization parameters are encoded.
303. the equipment described in claim 301, wherein said series is divided into plural zone by described breakpoint with at the extra breakpoint in each zone that comprises described second area, and described method also comprises:
The signal that appears in each additional areas that is limited by corresponding extra breakpoint is encoded, and described coding uses the coding method that is different from employed coding method in other zone.
304. the equipment described in claim 301,
The described breakpoint of wherein said establishment comprises for each point along described ordering, and the number of the series of coefficient in trooping at wherein said some place is counted.
305. the equipment described in claim 304,
Wherein said establishment breakpoint comprises definite threshold point, makes that the most of coefficient in trooping appears at described threshold point point place before, and only at the approaching best breakpoint of search in the scope of described threshold point.
306. the equipment described in claim 305,
Wherein said establishment determines at until the length of the coded data of described a plurality of series of the breakpoint of described threshold point described comprising near best breakpoint, and selects to produce the breakpoint of short coded data.
307. the equipment described in claim 305,
Wherein said threshold point is the specified point along described ordering, and the count value of number that has the series of coefficient at this some place drops to below the ratio of selecting in advance of series sum.
308. the equipment described in claim 307,
The wherein said ratio of selecting in advance is 1/ (number of the non-DC coefficient in each series).
309. the equipment described in claim 305,
The establishment of wherein said breakpoint comprises along described ordering until described threshold point determines that the slope of count value of the number of wherein said nonzero coefficient in trooping is peaked point.
310. the equipment described in claim 304,
The establishment of wherein said breakpoint comprises along described ordering determines that the slope of count value of the number of wherein said nonzero coefficient in trooping is peaked point.
311. the equipment that the orderly series of quantization parameter is encoded comprises:
The event recognition device, be used for being identified in the distance of swimming of zero range coefficient continuously of first neighboring region of the described series that limits by breakpoint along described ordering and the distance of swimming of continuous non-zero coefficient amplitude, described breakpoint limits first neighboring region and described first area second neighboring region afterwards in the described series, described event recognition device also is used for discerning the distance of swimming of zero range coefficient continuously of described second area, and described recognizer forms the zero amplitude in the described first area and the run length of non-zero magnitude, the non-zero magnitude of the non-zero run-length in the described first area, non-zero magnitude in the run length of the zero amplitude in the described second area and the described second area; And
Be coupled to the scrambler of described event recognition device, described scrambler receive the non-zero magnitude in the described first area each run length, the zero amplitude in the described first area each run length and each non-zero magnitude in the described first area and form code word at above-mentioned these data, and described scrambler is also encoded to the run length of the zero amplitude in the described second area and the non-zero magnitude in the described second area
Make described equipment form relatively short codeword table the relatively large combination of existing possibility is shown, and the relatively long codeword table of formation illustrates the less relatively combination of existing possibility.
312. the equipment described in claim 311, wherein said scrambler is to search equipment, the described equipment of searching is coupled to described event recognition device and determines code word at least some described incidents by searching at the form of the code word of the incident that identifies, and described form is stored in the storer.
313. the code word of the equipment described in claim 311, wherein said scrambler to be at least some described incident forms regular length.
314. the equipment described in claim 313, wherein the code word of each regular length comprises escape code.
315. it all is 0 indication that the equipment described in claim 311, wherein said event recognition device also form about when the amplitude of all remaining coefficients in the described series.
316. the equipment to utilizing the coding method bitstream encoded to decode, described equipment comprises:
The code word recognizer, the code word that is used for receiving each of described bit stream and discerns one group of possible code word, each code word are represented an incident, and
Be coupled to the demoder of described code word recognizer, be used for definite incident at the code word of being discerned by described code word recognizer,
Each incident of wherein utilizing the set of code words in the bit stream in the first area that is limited by breakpoint to encode is the nonzero-value coefficient distance of swimming of utilizing first runlength encoding method and the first amplitude coding method to encode, the nonzero-value coefficient distance of swimming of perhaps utilizing second runlength encoding method to encode, and each incident of wherein encoding in the second area that is limited by described breakpoint is to utilize the zero that the 3rd run length method encodes or the distance of swimming of a plurality of zero valued coefficients, the non-zero magnitude of perhaps utilizing the second amplitude coding method to encode, described breakpoint limits the first area of described continuous coefficients and the second area after the described first area
Described first, second makes that with the 3rd coding method relative short codeword table illustrates the relatively large incident of existing possibility in the described bit stream, and relatively long codeword table illustrates the less relatively incident of existing possibility.
317. the equipment described in claim 316, wherein said demoder are the equipment of searching of searching the form that is stored in the storer, described form provides the incident at least some code words in the described Codeword Sets.
318. the equipment described in claim 316 wherein utilizes the code word of regular length to represent a subclass of the incident represented with the code word in the described bit stream.
319. the equipment described in claim 318, wherein each regular length code word comprises escape code.
320. the equipment that the orderly series of quantization parameter is encoded comprises:
The event recognition device, be used for being identified in the distance of swimming of zero range coefficient continuously of first neighboring region of the described series that limits by breakpoint along described ordering and the distance of swimming of continuous non-zero coefficient amplitude, described breakpoint limits first neighboring region and described first area second neighboring region afterwards in the described series, described event recognition device also is used for discerning the distance of swimming of zero range coefficient continuously that described second area ends at the coefficient of non-zero magnitude, and described recognizer forms the zero amplitude in the described first area and the run length of non-zero magnitude, the non-zero magnitude of the non-zero run-length in the described first area, end at the run length of zero amplitude of non-zero magnitude and the non-zero magnitude in the described second area in the described second area; And
Be coupled to the scrambler of described event recognition device, described scrambler receives each run length of the non-zero magnitude in the described first area, each run length of zero amplitude in the described first area and each non-zero magnitude in the described first area and formation are at the code word of above-mentioned these data, and described scrambler is also encoded to the run length of the zero amplitude of the coefficient that ends at non-zero magnitude in the described second area, comprise that the described non-zero magnitude of indication is greater than 1 code word, and described scrambler is also encoded to the non-zero magnitude greater than 1 in the described second area
Make described equipment form relatively short codeword table the relatively large combination of existing possibility is shown, and the relatively long codeword table of formation illustrates the less relatively combination of existing possibility.
321. the equipment described in claim 320, wherein said scrambler is to search equipment, the described equipment of searching is coupled to described event recognition device and determines code word at least some described incidents by searching at the form of the code word of the incident that identifies, and described form is stored in the storer.
322. the code word of the equipment described in claim 320, wherein said scrambler to be at least some described incident forms regular length.
323. the equipment described in claim 322, wherein the code word of each regular length comprises escape code.
324. it all is 0 indication that the equipment described in claim 320, wherein said event recognition device also form about when the amplitude of all remaining coefficients in the described series.
325. the equipment to utilizing the coding method bitstream encoded to decode, described equipment comprises:
The code word recognizer, the code word that is used for receiving each of described bit stream and discerns one group of possible code word, each code word are represented an incident, and
Be coupled to the demoder of described code word recognizer, be used for definite incident at the code word of being discerned by described code word recognizer,
Each incident of wherein utilizing the set of code words in the bit stream in the first area that is limited by breakpoint to encode is the nonzero-value coefficient distance of swimming of utilizing first runlength encoding method and the first amplitude coding method to encode, the nonzero-value coefficient distance of swimming of perhaps utilizing second runlength encoding method to encode, and each incident of wherein encoding in the second area that is limited by described breakpoint is to utilize the zero that ends at nonzero-value coefficient that the 3rd run length method encodes or the distance of swimming of a plurality of zero valued coefficients, the amplitude that comprises the non-zero coefficient amplitude of indicating described ending is greater than 1 code word with at described code word greater than 1 non-zero magnitude, described amplitude greater than 1 utilizes the second amplitude coding method to encode, described breakpoint limits the first area of described continuous coefficients and the second area after the described first area
Described first, second makes that with the 3rd coding method relative short codeword table illustrates the relatively large incident of existing possibility in the described bit stream, and relatively long codeword table illustrates the less relatively incident of existing possibility.
326. the equipment described in claim 325, wherein said demoder are the equipment of searching of searching the form that is stored in the storer, described form provides at least some code words in the described Codeword Sets.
327. the equipment described in claim 325 wherein utilizes the code word of regular length to represent a subclass of the incident represented with the code word in the described bit stream.
328. the equipment described in claim 327, wherein each regular length code word comprises escape code.
329. the storer of a store data structure, described data structure provide the code word of the one group of incident that forms at the orderly series by the quantization transform coefficient of video data block,
Wherein first kind of incident in the first area that is limited by breakpoint is the nonzero-value coefficient distance of swimming, second kind of incident in the first area that is limited by described breakpoint is the zero valued coefficients distance of swimming, and the third incident in the second area that is limited by described breakpoint is the zero valued coefficients distance of swimming in the described second area, and
Wherein said breakpoint limits the first area of continuous coefficients of described series and the second area of back to back continuous coefficients,
Make the relatively short codeword table that is stored in the described data structure in memory that the relatively large incident of existing possibility is shown, and relatively long codeword table illustrate the less relatively incident of existing possibility.
330. the storer described in claim 329, wherein said data structure is taked the form of at least three forms, the first run length form that provides at the code word of the run length of described first kind of incident is provided, the second run length form and the 3rd run length form at the code word of the run length of described second kind of incident are provided.
331. the storer of a store data structure, described data structure provide the code word of the one group of incident that forms at the orderly series by the quantization transform coefficient of video data block,
Wherein first kind of incident in the first area that is limited by breakpoint is the nonzero-value coefficient distance of swimming, second kind of incident in the first area that is limited by described breakpoint is the zero valued coefficients distance of swimming, and the third incident in the second area that is limited by described breakpoint is to end at the zero valued coefficients distance of swimming of nonzero-value coefficient in the described second area, comprise about described nonzero coefficient not being 1 indication, and
Wherein said breakpoint limits the first area of continuous coefficients of described series and the second area of back to back continuous coefficients,
Make the relatively short codeword table that is stored in the described data structure in memory that the relatively large incident of existing possibility is shown, and relatively long codeword table illustrate the less relatively incident of existing possibility.
332. the storer described in claim 331, wherein said data structure is taked the form of at least three forms, the first run length form that provides at the code word of the run length of described first kind of incident is provided, provides at the second run length form of the code word of the run length of described second kind of incident and the 3rd run length form at the code word of the run length of described the third incident is provided.
CN200580019457.6A 2004-06-15 2005-06-08 Hybrid variable length coding method and device for video compression Expired - Fee Related CN101185083B (en)

Applications Claiming Priority (17)

Application Number Priority Date Filing Date Title
US10/869,229 US7454076B2 (en) 2004-06-15 2004-06-15 Hybrid variable length coding method for low bit rate video coding
US10/869,229 2004-06-15
US10/898,654 US7483584B2 (en) 2004-06-15 2004-07-22 Extended hybrid variable length coding of transform coefficients for video compression
US10/898,654 2004-07-22
US10/910,712 2004-08-03
US10/910,712 US7454073B2 (en) 2004-06-15 2004-08-03 Video compression using multiple variable length coding processes for multiple classes of transform coefficient blocks
US10/922,507 US7492956B2 (en) 2004-08-18 2004-08-18 Video coding using multi-dimensional amplitude coding and 2-D non-zero/zero cluster position coding
US10/922,508 2004-08-18
US10/922,508 US7471840B2 (en) 2004-08-18 2004-08-18 Two-dimensional variable length coding of runs of zero and non-zero transform coefficients for image compression
US10/922,507 2004-08-18
US11/069,622 2005-02-28
US11/069,622 US7499596B2 (en) 2004-08-18 2005-02-28 Amplitude coding for clustered transform coefficients
US11/069,621 2005-02-28
US11/069,620 2005-02-28
US11/069,621 US7499595B2 (en) 2004-08-18 2005-02-28 Joint amplitude and position coding for photographic image and video coding
US11/069,620 US7471841B2 (en) 2004-06-15 2005-02-28 Adaptive breakpoint for hybrid variable length coding
PCT/US2005/020110 WO2006001994A2 (en) 2004-06-15 2005-06-08 Hybrid variable length coding for video compression

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN201210244557.0A Division CN102790880B (en) 2004-06-15 2005-06-08 Hybrid variable length coding method and apparatus for video compression

Publications (2)

Publication Number Publication Date
CN101185083A true CN101185083A (en) 2008-05-21
CN101185083B CN101185083B (en) 2012-08-29

Family

ID=35460589

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200580019457.6A Expired - Fee Related CN101185083B (en) 2004-06-15 2005-06-08 Hybrid variable length coding method and device for video compression

Country Status (2)

Country Link
US (2) US7454076B2 (en)
CN (1) CN101185083B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103002275A (en) * 2011-09-13 2013-03-27 富士通株式会社 Dual-coefficient scanning method for CAVLC (context-based adaptive variable length coding)
CN103220515A (en) * 2012-01-20 2013-07-24 捷讯研究有限公司 Multiple sign bit hiding within a transform unit
CN103731155A (en) * 2013-12-31 2014-04-16 成都华日通讯技术有限公司 Time domain compression method of radio-frequency spectrum signals
CN103826132A (en) * 2009-06-18 2014-05-28 株式会社东芝 Moving image decoding device and moving image decoding method
CN101795407B (en) * 2009-01-30 2014-06-25 汤姆森许可贸易公司 Method and device for encoding a bit sequence
US9602815B2 (en) 2009-06-18 2017-03-21 Kabushiki Kaisha Toshiba Video encoding apparatus and video decoding apparatus
US9628794B2 (en) 2009-06-18 2017-04-18 Kabushiki Kaisha Toshiba Video encoding apparatus and a video decoding apparatus
CN103813167B (en) * 2012-11-13 2017-06-23 联发科技股份有限公司 One kind quantifies conversion parameter processing method and processing device
US10743028B2 (en) 2012-01-20 2020-08-11 Velos Media, Llc Multiple sign bit hiding within a transform unit

Families Citing this family (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
ATE543179T1 (en) * 2002-09-04 2012-02-15 Microsoft Corp ENTROPIC CODING BY ADJUSTING THE CODING MODE BETWEEN LEVEL AND RUNLENGTH LEVEL MODE
US7680349B2 (en) * 2004-08-18 2010-03-16 Cisco Technology, Inc. Variable length coding for clustered transform coefficients in video compression
US7242328B1 (en) * 2006-02-03 2007-07-10 Cisco Technology, Inc. Variable length coding for sparse coefficients
US7949195B2 (en) * 2007-01-16 2011-05-24 Cisco Technology, Inc. Per block breakpoint determining for hybrid variable length coding
US7796825B2 (en) 2007-02-16 2010-09-14 Cisco Technology, Inc. Losslessly improving compression of compressed image data
US8204327B2 (en) 2007-10-01 2012-06-19 Cisco Technology, Inc. Context adaptive hybrid variable length coding
US8041131B2 (en) * 2007-10-02 2011-10-18 Cisco Technology, Inc. Variable length coding of coefficient clusters for image and video compression
US8265162B2 (en) 2007-10-01 2012-09-11 Cisco Technology, Inc. Context adaptive position and amplitude coding of coefficients for video compression
US8036471B2 (en) * 2007-10-02 2011-10-11 Cisco Technology, Inc. Joint amplitude and position coding of coefficients for video compression
US8179974B2 (en) 2008-05-02 2012-05-15 Microsoft Corporation Multi-level representation of reordered transform coefficients
US8406307B2 (en) 2008-08-22 2013-03-26 Microsoft Corporation Entropy coding/decoding of hierarchically organized data
US8325796B2 (en) 2008-09-11 2012-12-04 Google Inc. System and method for video coding using adaptive segmentation
CA2745314A1 (en) 2008-12-03 2010-06-10 Nokia Corporation Switching between dct coefficient coding modes
CN102131081A (en) * 2010-01-13 2011-07-20 华为技术有限公司 Dimension-mixed coding/decoding method and device
US8934540B2 (en) 2010-07-20 2015-01-13 Cisco Technology, Inc. Video compression using multiple variable length coding methods for multiple types of transform coefficient blocks
JP5842357B2 (en) * 2011-03-25 2016-01-13 富士ゼロックス株式会社 Image processing apparatus and image processing program
US9154799B2 (en) 2011-04-07 2015-10-06 Google Inc. Encoding and decoding motion via image segmentation
US20130003859A1 (en) * 2011-06-30 2013-01-03 Qualcomm Incorporated Transition between run and level coding modes
US8737464B1 (en) 2011-07-21 2014-05-27 Cisco Technology, Inc. Adaptive quantization for perceptual video coding
US9262670B2 (en) 2012-02-10 2016-02-16 Google Inc. Adaptive region of interest
US9392272B1 (en) 2014-06-02 2016-07-12 Google Inc. Video coding using adaptive source variance based partitioning
US9578324B1 (en) 2014-06-27 2017-02-21 Google Inc. Video coding using statistical-based spatially differentiated partitioning
GB2557737B (en) 2015-07-28 2021-05-12 Halliburton Energy Services Inc Sensor data compression for downhole telemetry applications
CN116582134B (en) * 2023-07-11 2023-10-13 江苏盖亚环境科技股份有限公司 Drilling and testing integrated equipment data processing method

Family Cites Families (90)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4420771A (en) * 1981-02-09 1983-12-13 Bell Telephone Laboratories, Incorporated Technique for encoding multi-level signals
JPS61107818A (en) 1984-10-30 1986-05-26 Nec Corp Entropy coding system and its device
US4698672A (en) 1986-10-27 1987-10-06 Compression Labs, Inc. Coding system for reducing redundancy
IT1197948B (en) 1986-11-04 1988-12-21 Telettra Lab Telefon VARIABLE LENGTH CODE AND DEVICES FOR HIGH FREQUENCY TRANSMISSION
US4920426A (en) 1986-11-10 1990-04-24 Kokusai Denshin Denwa Co., Ltd. Image coding system coding digital image signals by forming a histogram of a coefficient signal sequence to estimate an amount of information
SE454734B (en) 1987-02-20 1988-05-24 Harald Brusewitz PROCEDURE AND DEVICE FOR TRANSMISSION AND RECEPTION AT VARIABLE LENGTH CODING
JP2508439B2 (en) 1987-05-29 1996-06-19 ソニー株式会社 High efficiency encoder
US5371811A (en) 1987-07-09 1994-12-06 British Telecommunications Public Limited Company Data encoding
GB8717124D0 (en) 1987-07-20 1987-08-26 British Telecomm P c m signal coding
GB8722394D0 (en) 1987-09-23 1987-10-28 British Telecomm Video coder
US4813056A (en) 1987-12-08 1989-03-14 General Electric Company Modified statistical coding of digital signals
US4858017A (en) 1988-01-22 1989-08-15 The Trustees Of Columbia University In The City Of New York System and method for hierarchal image encoding and decoding
US4985700A (en) 1988-03-01 1991-01-15 Canon Kabushiki Kaisha Variable-length coding/decoding device
US4821119A (en) 1988-05-04 1989-04-11 Bell Communications Research, Inc. Method and apparatus for low bit-rate interframe video coding
US5128758A (en) 1989-06-02 1992-07-07 North American Philips Corporation Method and apparatus for digitally processing a high definition television augmentation signal
US5179442A (en) 1989-06-02 1993-01-12 North American Philips Corporation Method and apparatus for digitally processing a high definition television augmentation signal
EP0406508B1 (en) 1989-07-04 1993-09-29 Rai Radiotelevisione Italiana Device for reducing the redundancy in blocks of digital video data in dct encoding
JPH0832039B2 (en) 1989-08-19 1996-03-27 日本ビクター株式会社 Variable length coding method and apparatus thereof
US5086488A (en) 1989-08-19 1992-02-04 Mitsubishi Denki Kabushiki Kaisha Transform coding apparatus
JPH0379182A (en) 1989-08-23 1991-04-04 Fujitsu Ltd Image encoding control system
JPH03129987A (en) 1989-10-14 1991-06-03 Sony Corp Method for coding video signal
DE69033946T2 (en) 1989-12-25 2002-11-21 Mitsubishi Electric Corp coding device
JP3013381B2 (en) 1990-03-28 2000-02-28 ソニー株式会社 Variable length data decoding device
US5291282A (en) 1990-04-19 1994-03-01 Olympus Optical Co., Ltd. Image data coding apparatus and method capable of controlling amount of codes
EP0469835B1 (en) 1990-07-31 1998-09-30 Canon Kabushiki Kaisha Image processing apparatus and method
SG43860A1 (en) 1990-09-10 1997-11-14 Mitsubishi Electric Corp Coding apparatus
JPH04185119A (en) 1990-11-20 1992-07-02 Matsushita Electric Ind Co Ltd Variable length coder
USRE35093E (en) 1990-12-03 1995-11-21 The Trustees Of Columbia University In The City Of New York Systems and methods for coding even fields of interlaced video sequences
US5253053A (en) 1990-12-31 1993-10-12 Apple Computer, Inc. Variable length decoding using lookup tables
DE69225621T2 (en) 1991-01-17 1998-11-12 Mitsubishi Electric Corp Device for coding a video signal
EP0497545B1 (en) 1991-01-29 1997-01-08 Canon Kabushiki Kaisha Image signal coding device
EP1330129A3 (en) 1991-04-10 2006-03-15 Mitsubishi Denki Kabushiki Kaisha Encoder and Decoder
JPH0541862A (en) 1991-08-03 1993-02-19 Sony Corp Variable length coding system for motion vector
JPH0568243A (en) 1991-09-09 1993-03-19 Hitachi Ltd Variable length coding controlling system
US5475501A (en) 1991-09-30 1995-12-12 Sony Corporation Picture encoding and/or decoding method and apparatus
NO175080B (en) 1992-03-11 1994-05-16 Teledirektoratets Forskningsav Procedure for encoding image data
KR0160610B1 (en) 1992-04-07 1999-01-15 강진구 Method and device for variable length image compression and decompression
JP2697479B2 (en) 1992-04-17 1998-01-14 国際電信電話株式会社 Reversible variable length coding
JPH05344490A (en) 1992-06-10 1993-12-24 Canon Inc Coding method and coder
US5226082A (en) 1992-07-02 1993-07-06 At&T Bell Laboratories Variable length decoder
US5253055A (en) 1992-07-02 1993-10-12 At&T Bell Laboratories Efficient frequency scalable video encoding with coefficient selection
US5363097A (en) 1992-09-14 1994-11-08 Industrial Technology Research Institute Direct sequential-bit variable length decoder
KR0129558B1 (en) 1992-10-26 1998-04-10 배순훈 Adaptive variable length coding method and apparatus
US5982437A (en) 1992-10-26 1999-11-09 Sony Corporation Coding method and system, and decoding method and system
US5400075A (en) * 1993-01-13 1995-03-21 Thomson Consumer Electronics, Inc. Adaptive variable length encoder/decoder
US5717394A (en) 1993-02-10 1998-02-10 Ricoh Company Ltd. Method and apparatus for encoding and decoding data
JP3446237B2 (en) 1993-04-16 2003-09-16 ソニー株式会社 Variable length code table generation method and apparatus
JP3210996B2 (en) 1993-07-30 2001-09-25 三菱電機株式会社 High efficiency coding device and high efficiency decoding device
US5479527A (en) 1993-12-08 1995-12-26 Industrial Technology Research Inst. Variable length coding system
KR0155784B1 (en) 1993-12-16 1998-12-15 김광호 Adaptable variable coder/decoder method of image data
KR970009408B1 (en) 1994-01-18 1997-06-13 대우전자 주식회사 Inter/intra table selection circuit
US5675501A (en) * 1994-03-15 1997-10-07 Kabushiki Kaisha Toshiba Method of designing semiconductor integrated circuit apparatus having no dead space
US5491480A (en) 1994-05-25 1996-02-13 Industrial Technology Research Institute Variable length decoder using serial and parallel processing
JP3220598B2 (en) 1994-08-31 2001-10-22 三菱電機株式会社 Variable length code table and variable length coding device
JPH08102943A (en) 1994-09-30 1996-04-16 Fuji Xerox Co Ltd Image coder
KR100209877B1 (en) 1994-11-26 1999-07-15 윤종용 Variable length coding encoder and decoder using multiple huffman table
KR0139161B1 (en) 1994-11-26 1998-05-15 김광호 Variable length coding & decoding apparatus using symbol code rearrange of vlc table
KR0139164B1 (en) 1994-12-19 1998-06-01 김광호 Adapted orthogonal transform coding apparatus
EP1802129A3 (en) 1995-03-15 2008-10-22 Kabushiki Kaisha Toshiba Moving picture coding and/or decoding systems
US6104754A (en) 1995-03-15 2000-08-15 Kabushiki Kaisha Toshiba Moving picture coding and/or decoding systems, and variable-length coding and/or decoding system
KR100209410B1 (en) 1995-03-28 1999-07-15 전주범 Apparatus for encoding an image signal
US5648774A (en) 1995-05-08 1997-07-15 Industrial Technology Research Institute Variable length coding with three-field codes
JP3226439B2 (en) 1995-06-02 2001-11-05 松下電器産業株式会社 Image encoding method and image decoding method
JP3992303B2 (en) 1995-06-22 2007-10-17 ソニー株式会社 Signal compression apparatus, signal expansion apparatus, signal compression method, and signal expansion method
US5740283A (en) 1995-07-06 1998-04-14 Rubin, Bednarek & Associates, Inc. Digital video compression utilizing mixed vector and scalar outputs
KR100188934B1 (en) 1995-08-28 1999-06-01 윤종용 Apparatus and method of encoding image signal
JP3355888B2 (en) 1995-09-19 2002-12-09 松下電器産業株式会社 Image coding recording and playback device
KR100304660B1 (en) 1995-09-22 2001-11-22 윤종용 Method for encoding video signals by accumulative error processing and encoder
JP3267142B2 (en) 1996-02-23 2002-03-18 ケイディーディーアイ株式会社 Variable length code generator
US5818877A (en) 1996-03-14 1998-10-06 The Regents Of The University Of California Method for reducing storage requirements for grouped data values
EP0873018B1 (en) 1996-11-06 2002-09-25 Matsushita Electric Industrial Co., Ltd. Image decoding method
JP2870515B2 (en) 1996-12-27 1999-03-17 日本電気株式会社 Variable length coding device
SE512613C2 (en) 1996-12-30 2000-04-10 Ericsson Telefon Ab L M Method and bodies for information management
ID20721A (en) 1997-02-08 1999-02-18 Matsushita Electric Ind Co Ltd QUANTITY MEASUREMENT MATRICES FOR IMMEDIATE SECURITY IMAGES
US6304607B1 (en) 1997-03-18 2001-10-16 Texas Instruments Incorporated Error resilient video coding using reversible variable length codes (RVLCS)
JP3410629B2 (en) 1997-05-21 2003-05-26 シャープ株式会社 Variable length coding circuit and variable length coding method
US6118822A (en) 1997-12-01 2000-09-12 Conexant Systems, Inc. Adaptive entropy coding in adaptive quantization framework for video signal coding systems and processes
US6111914A (en) 1997-12-01 2000-08-29 Conexant Systems, Inc. Adaptive entropy coding in adaptive quantization framework for video signal coding systems and processes
US7263127B1 (en) 1998-04-02 2007-08-28 Intel Corporation Method and apparatus for simplifying frame-based motion estimation
JP2000059234A (en) 1998-08-10 2000-02-25 Mitsubishi Electric Corp Variable length encoding processor
KR100335138B1 (en) 1998-12-30 2002-11-27 엘지정보통신주식회사 Video encoder's variable encoder and coding method using it
US6477280B1 (en) 1999-03-26 2002-11-05 Microsoft Corporation Lossless adaptive encoding of finite alphabet data
TW425776B (en) 1999-08-11 2001-03-11 Cyberlink Corp Method for generating symmetric reversible variable length code
US6445314B1 (en) 2000-03-01 2002-09-03 Cisco Technology Inc. System and method for the decoding of variable length codes
US6771828B1 (en) 2000-03-03 2004-08-03 Microsoft Corporation System and method for progessively transform coding digital data
JP4109404B2 (en) 2000-04-26 2008-07-02 松下電器産業株式会社 Encoding apparatus and encoding method
ATE325507T1 (en) * 2001-07-19 2006-06-15 Koninkl Philips Electronics Nv PROCESSING OF A COMPRESSED MEDIA SIGNAL
US6918069B2 (en) 2002-04-16 2005-07-12 Cisco Technology, Inc. Optimum threshold for FEC transponders
US7194137B2 (en) 2003-05-16 2007-03-20 Cisco Technology, Inc. Variable length coding method and apparatus for video compression
US7519229B2 (en) * 2004-03-30 2009-04-14 Apple, Inc. Video coding system providing separate coding chains for dynamically selected small-size or full-size playback

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101795407B (en) * 2009-01-30 2014-06-25 汤姆森许可贸易公司 Method and device for encoding a bit sequence
US9602815B2 (en) 2009-06-18 2017-03-21 Kabushiki Kaisha Toshiba Video encoding apparatus and video decoding apparatus
US10341676B2 (en) 2009-06-18 2019-07-02 Kabushiki Kaisha Toshiba Video encoding apparatus and a video decoding apparatus
US9628794B2 (en) 2009-06-18 2017-04-18 Kabushiki Kaisha Toshiba Video encoding apparatus and a video decoding apparatus
US11729413B2 (en) 2009-06-18 2023-08-15 Kabushiki Kaisha Toshiba Video encoding apparatus and a video decoding apparatus
US11265571B2 (en) 2009-06-18 2022-03-01 Kabushiki Kaisha Toshiba Video encoding apparatus and a video decoding apparatus
US10939133B2 (en) 2009-06-18 2021-03-02 Kabushiki Kaisha Toshiba Video encoding apparatus and a video decoding apparatus
CN103826132B (en) * 2009-06-18 2017-03-01 株式会社东芝 Moving image decoding apparatus and dynamic image decoding method
US9979980B2 (en) 2009-06-18 2018-05-22 Kabushiki Kaisha Toshiba Video encoding apparatus and a video decoding apparatus
CN103826132A (en) * 2009-06-18 2014-05-28 株式会社东芝 Moving image decoding device and moving image decoding method
US10880568B2 (en) 2009-06-18 2020-12-29 Kabushiki Kaisha Toshiba Video encoding apparatus and a video decoding apparatus
CN103002275B (en) * 2011-09-13 2016-05-04 富士通株式会社 For two coefficient scanning methods of CAVLC coding
CN103002275A (en) * 2011-09-13 2013-03-27 富士通株式会社 Dual-coefficient scanning method for CAVLC (context-based adaptive variable length coding)
US10743028B2 (en) 2012-01-20 2020-08-11 Velos Media, Llc Multiple sign bit hiding within a transform unit
CN103220515B (en) * 2012-01-20 2016-06-29 黑莓有限公司 Many sign bits in converter unit are hidden
CN103220515A (en) * 2012-01-20 2013-07-24 捷讯研究有限公司 Multiple sign bit hiding within a transform unit
CN103813167B (en) * 2012-11-13 2017-06-23 联发科技股份有限公司 One kind quantifies conversion parameter processing method and processing device
CN103731155A (en) * 2013-12-31 2014-04-16 成都华日通讯技术有限公司 Time domain compression method of radio-frequency spectrum signals

Also Published As

Publication number Publication date
CN101185083B (en) 2012-08-29
US7454076B2 (en) 2008-11-18
US20050276497A1 (en) 2005-12-15
US7483584B2 (en) 2009-01-27
US20050276487A1 (en) 2005-12-15

Similar Documents

Publication Publication Date Title
CN101185083B (en) Hybrid variable length coding method and device for video compression
US8121427B2 (en) Breakpoint determining for hybrid variable length coding and encoding the determined breakpoint
US7668382B2 (en) Block-based fast image compression
TWI556632B (en) Method and apparatus for arithmetic encoding of video, and method and apparatus for arithmetic decoding of video
CN102640498B (en) Method and device for image encoding and decoding by texture-pattern-adaptive partitioned block transform
CN1547724A (en) Lossless intraframe encoding using GOLOMB-RICE
US7471841B2 (en) Adaptive breakpoint for hybrid variable length coding
CN100345449C (en) Method of entropy coding of transformation coefficient in image/video coding
CN1951120A (en) Video coding system providing separate coding chains for dynamically selected small-size or full-size playback
CN1684495A (en) Predictive lossless coding of images and video
CN1535018A (en) Coding method of video frequency image jump over macro block
CN103004195A (en) Video compression using multiple variable length coding methods for multiple types of transform coefficient blocks
CN1238100A (en) Vector quantisation codebook generation method
JPH10126775A (en) Coding method for image signal
CN1310913A (en) Image compression
US7499596B2 (en) Amplitude coding for clustered transform coefficients
CN104780379A (en) Compression method for screen image set
Ding et al. Enable efficient compound image compression in H. 264/AVC intra coding
CN110996127B (en) Image encoding and decoding method, device and system
CN1539239A (en) Interface encoding method and apparatus
CN1628466A (en) Context-sensitive encoding and decoding of a video data stream
CA2579718C (en) Hybrid variable length coding for video compression
CN102790880B (en) Hybrid variable length coding method and apparatus for video compression
JP4215269B2 (en) Region-based scalable image coding
US7492956B2 (en) Video coding using multi-dimensional amplitude coding and 2-D non-zero/zero cluster position coding

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120829

Termination date: 20210608