CN102256126A - Method for coding mixed image - Google Patents
Method for coding mixed image Download PDFInfo
- Publication number
- CN102256126A CN102256126A CN2011102001787A CN201110200178A CN102256126A CN 102256126 A CN102256126 A CN 102256126A CN 2011102001787 A CN2011102001787 A CN 2011102001787A CN 201110200178 A CN201110200178 A CN 201110200178A CN 102256126 A CN102256126 A CN 102256126A
- Authority
- CN
- China
- Prior art keywords
- coding
- rsq
- residual error
- vision
- mix
- 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.)
- Pending
Links
Images
Landscapes
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
The invention discloses a method for coding a mixed image with higher coding efficiency. In the method, a residual scalar quantization (RSQ) mode is used in the interframe coding of a mixed image, according to a principle that rate distortion cost is minimum, each transformation unit (TU) adaptively selects a discrete cosine transform (DCT) mode or the RSQ mode, and a bit is used for expressing the selection; and residual errors obtained after interframe prediction are directly quantized in the RSQ mode, and a step of transforming codes is omitted.
Description
Technical field
The invention belongs to the technical field of image processing, relate to a kind of coding method of vision-mix particularly.
Background technology
In existing technology, the coding of vision-mix roughly can be divided into following three classes.
1. based on the method for image encoding:
This method still adopts traditional coding framework to come vision-mix is encoded, but adopt different quantization steps at different zones, for the piece that comprises literal and chart content, the coding back rebuilds effect can be very fuzzy, so reduce quantization step when quantizing these pieces, be its overabsorption bit, make the quality of its reconstruction as well as possible.But for fixing bit number, if the bit that has been literal and the overabsorption of figure table block, the bit number that distributed of natural image piece will correspondingly reduce so, so on the whole, this method still can not reach good effect.
2. based on the method for hierarchical coding:
This method adopts the mixed light bar phantom to compress.It is divided into piece image or image block the plane layer of foreground layer, background layer and a binary system operator.The plane layer of this binary system operator shows that each pixel of image or image block belongs to foreground layer or background layer, and this binary system operator plane can be compressed with JBIG standard or JBIG2 standard.And the foreground layer and the background layer that pass through after the data filling algorithm blurs can compress with traditional image encoding framework.Paper " Compressing compound documents " (The Document and Image Compression Handbook, M.Barni, Ed.New York:Marcel-Dekker, 2005.) this method proposed, and prove that by experiment this method compares with traditional encoding and decoding framework, can obtain very big gain.But this method has some shortcomings: at first gain depends on promptly how image is divided into prospect and background by the algorithm of cutting apart to a great extent.The second, if the effect of coding can be damaged in the hole that splits without any processing.The 3rd, the textcolor of the background layer of encoding respectively and the text shape of binary system operator also can reduce the efficient of coding.So this method still can not satisfy demands of applications well
3. block-based coding method:
This method can be divided into two classes:
A kind of is the character of utilizing the spatial domain, as statistics with histogram, and gradient, the numbers of color etc. can be divided into the present encoding piece a kind of in several classes, as text, chart, natural image etc.Different then classifications is compressed to be applicable to their statistical property, as shown in Figure 1 with different coding frameworks.
Another kind is to consider that the histogram of literal in the vision-mix and chart is more sparse, is the form of base color and concordance list with it in Time Domain Decomposition, i.e. Base color and Index map (BCIM) pattern.
Although block-based coding method has obtained good gain than above-mentioned two kinds of technology, but all this coding methods all have a common ground at present, it is exactly the correlation of only having considered the space, promptly only part in the frame is improved, and ignored the correlation of time, the characteristics of interframe encode are not taken into account, do not designed encoding scheme at the vision-mix of interframe encode.
Summary of the invention
Technology of the present invention is dealt with problems and is: overcome the deficiencies in the prior art, the coding method of the higher vision-mix of a kind of code efficiency is provided.
Technical solution of the present invention is: the coding method of this vision-mix, with RSQ (Residual scalar quantization, the residual error scalar quantization) pattern is used for the interframe encode of vision-mix: according to the principle of rate distortion costs minimum, each TU (Transform unit, converter unit) selects DCT (Discrete cosine transform adaptively, discrete cosine transform) pattern or RSQ pattern, and represent this selection with a bit; The RSQ pattern is that the residual error that will obtain behind the inter prediction quantizes.
Because the invention solves the problem that vision-mix is not suitable for transition coding, and because can be littler through resulting residual error behind the inter prediction, so can be higher for the interframe encode efficient of vision-mix.
Description of drawings
Fig. 1 shows existing RSQ pattern, promptly utilizes the block-based coding method of spatial domain character;
Fig. 2 shows the flow chart according to the coding method of vision-mix of the present invention.
Embodiment
The coding method of this vision-mix, with RSQ (Residual scalar quantization, the residual error scalar quantization) pattern is used for the interframe encode of vision-mix: according to the principle of rate distortion costs minimum, each TU (Transform unit, converter unit) selects DCT (Discrete cosine transform adaptively, discrete cosine transform) pattern or RSQ pattern, and represent this selection with a bit; The RSQ pattern is that the residual error that will obtain behind the inter prediction directly quantizes, and skips the step of transition coding.
When transmission RSQ coding, adopt the row sequential scanning, and distribute context for it.
As shown in Figure 2, the coding method of this vision-mix may further comprise the steps:
(1) for the luminance component among the PU, obtain its prediction piece, and then subtract each other with original value and to obtain residual error, residual block is carried out the division of different size, obtain TU (Transform Unit, converter unit);
(2) residual error among the current TU is quantized;
(3) TU after will quantizing is sent to decoding end;
(4) each TU of decoding end carries out inverse quantization;
(5) TU is combined as PU, carries out addition with the predicted value of the current PU that obtains that passes through motion compensation, obtains the reconstruction value of PU, and then rebuilds current CU (Coding Unit, coding unit).
Preferably, quantification employing formula: C (S)=sign (the S) * max in the step (2) (0, floor (| S|/Q+1-Z), wherein S is an input signal, and floor is downward bracket function, and Q is a quantization step, and Z is the adjusting parameter of presetting.
Preferably, what the transmission in the step (3) was different with the HM standard is without zig-zag sequential scanning residual error, but scans each residual error coefficient successively by raster scan order, then transmission successively.
Preferably, the inverse quantization in the step (4) adopt formula: R (x)=sign (x) * round (q * | x|+p), wherein round is the round function, and q, p are the Control Parameter of the conversion along with quantization parameter.
The above; it only is preferred embodiment of the present invention; be not that the present invention is done any pro forma restriction, every foundation technical spirit of the present invention all still belongs to the protection range of technical solution of the present invention to any simple modification, equivalent variations and modification that above embodiment did.
Claims (6)
1. the coding method of vision-mix, it is characterized in that: the interframe encode that residual error scalar quantization RSQ pattern is used for vision-mix: according to the principle of rate distortion costs minimum, each converter unit TU selects discrete cosine transform DCT pattern or RSQ pattern adaptively, and represents this selection with a bit; The RSQ pattern is that the residual error that will obtain behind the inter prediction quantizes.
2. method according to claim 1 is characterized in that: when transmission RSQ coding, adopt the row sequential scanning, and be its distributing independent context.
3. the coding method of vision-mix is characterized in that: may further comprise the steps:
(1) for the luminance component among the predicting unit PU, obtain its prediction piece, and then subtract each other with original value and to obtain residual error, residual block is carried out the division of different size, obtain converter unit TU;
(2) residual error among the current TU is quantized;
(3) TU after will quantizing is sent to decoding end;
(4) each TU of decoding end carries out inverse quantization;
(5) TU is combined as PU, carries out addition with the predicted value of the current PU that obtains that passes through motion compensation, obtains the reconstruction value of PU, and then rebuilds the coding unit CU of present encoding unit.
4. method according to claim 3 is characterized in that: quantification employing formula: C (S)=sign (the S) * max in the step (2) (0, floor (| S|/Q+1-Z), wherein S is an input signal, floor is downward bracket function, and Q is a quantization step, and Z is the adjusting parameter of presetting.
5. method according to claim 3 is characterized in that: the transmission in the step (3) is to scan each residual error coefficient successively by raster scan order, then transmission successively.
6. method according to claim 4, it is characterized in that: inverse quantization employing formula: R (x)=sign (the x) * round in the step (4) (q * | x|+p), wherein round is the round function, and q, p are the Control Parameter of the conversion along with quantization parameter.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011102001787A CN102256126A (en) | 2011-07-14 | 2011-07-14 | Method for coding mixed image |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011102001787A CN102256126A (en) | 2011-07-14 | 2011-07-14 | Method for coding mixed image |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102256126A true CN102256126A (en) | 2011-11-23 |
Family
ID=44983073
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2011102001787A Pending CN102256126A (en) | 2011-07-14 | 2011-07-14 | Method for coding mixed image |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102256126A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102447907A (en) * | 2012-01-31 | 2012-05-09 | 北京工业大学 | Coding method for video sequence of HEVC (high efficiency video coding) |
CN104521232A (en) * | 2012-07-02 | 2015-04-15 | 韩国电子通信研究院 | Method and apparatus for coding/decoding image |
CN107465923A (en) * | 2016-06-06 | 2017-12-12 | 谷歌公司 | Adaptive overlapping block prediction in the video coding of variable block length |
CN109324778A (en) * | 2018-12-04 | 2019-02-12 | 深圳市华星光电半导体显示技术有限公司 | Compensate table compression method |
US10298955B2 (en) | 2012-08-23 | 2019-05-21 | Microsoft Technology Licensing, Llc | Non-transform coding |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1754389A (en) * | 2003-01-08 | 2006-03-29 | 苹果电脑有限公司 | Method and apparatus for improved coding mode selection |
CN1846446A (en) * | 2003-09-03 | 2006-10-11 | 汤姆森许可贸易公司 | Process and arrangement for encoding video pictures |
CN101009839A (en) * | 2006-01-23 | 2007-08-01 | 三星电子株式会社 | Method for video encoding or decoding based on orthogonal transform and vector quantization, and apparatus thereof |
CN101305610A (en) * | 2005-10-19 | 2008-11-12 | 飞思卡尔半导体公司 | System and method of coding mode decision for video encoding |
-
2011
- 2011-07-14 CN CN2011102001787A patent/CN102256126A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1754389A (en) * | 2003-01-08 | 2006-03-29 | 苹果电脑有限公司 | Method and apparatus for improved coding mode selection |
CN1846446A (en) * | 2003-09-03 | 2006-10-11 | 汤姆森许可贸易公司 | Process and arrangement for encoding video pictures |
CN101305610A (en) * | 2005-10-19 | 2008-11-12 | 飞思卡尔半导体公司 | System and method of coding mode decision for video encoding |
CN101009839A (en) * | 2006-01-23 | 2007-08-01 | 三星电子株式会社 | Method for video encoding or decoding based on orthogonal transform and vector quantization, and apparatus thereof |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102447907A (en) * | 2012-01-31 | 2012-05-09 | 北京工业大学 | Coding method for video sequence of HEVC (high efficiency video coding) |
US10419765B2 (en) | 2012-07-02 | 2019-09-17 | Electronics And Telecommunications Research Institute | Method and apparatus for coding/decoding image |
US9843809B2 (en) | 2012-07-02 | 2017-12-12 | Electronics And Telecommunications Research | Method and apparatus for coding/decoding image |
US10045031B2 (en) | 2012-07-02 | 2018-08-07 | Electronic And Telecommunications Research | Method and apparatus for coding/decoding image |
US10187643B2 (en) | 2012-07-02 | 2019-01-22 | Electronics And Telecommunications Research | Method and apparatus for encoding and decoding image |
US10187644B2 (en) | 2012-07-02 | 2019-01-22 | Electronics And Telecommunications Research | Method and apparatus for coding/decoding image |
CN104521232A (en) * | 2012-07-02 | 2015-04-15 | 韩国电子通信研究院 | Method and apparatus for coding/decoding image |
US10554983B2 (en) | 2012-07-02 | 2020-02-04 | Electronics And Telecommunications Research Institute | Method and apparatus for coding/decoding image |
US10554982B2 (en) | 2012-07-02 | 2020-02-04 | Electronics And Telecommunications Research Institute | Method and apparatus for coding/decoding image |
US10298955B2 (en) | 2012-08-23 | 2019-05-21 | Microsoft Technology Licensing, Llc | Non-transform coding |
CN107465923A (en) * | 2016-06-06 | 2017-12-12 | 谷歌公司 | Adaptive overlapping block prediction in the video coding of variable block length |
CN107465923B (en) * | 2016-06-06 | 2020-09-25 | 谷歌有限责任公司 | Adaptive overlapped block prediction in variable block size video coding |
CN109324778A (en) * | 2018-12-04 | 2019-02-12 | 深圳市华星光电半导体显示技术有限公司 | Compensate table compression method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104995919B (en) | For most end significant coefficient it is position encoded in context reduction device and method | |
CN104041035B (en) | Lossless coding and coherent signal method for expressing for composite video | |
CN101682770B (en) | Adaptive coding of video block prediction mode | |
CN106068648B (en) | The quantization of the evolution pixel of video block in palette decoding mode | |
CN101911702B (en) | Method and device for quantization of video module coefficient for CABAC supported video coding process | |
CN101252686B (en) | Undamaged encoding and decoding method and system based on interweave forecast | |
CN104685876B (en) | For 4 in video coding:2:The decoded piece flag (CBF) of 2 sample formats decodes | |
CN104067524B (en) | Context-adaptive entropy coding with the initialization value set simplified | |
CN101132534B (en) | Context-based adaptive variable length coding for adaptive block transforms | |
CN100488254C (en) | Entropy coding method and decoding method based on text | |
CN101895756B (en) | Method and system for coding, decoding and reconstructing video image blocks | |
CN108353167A (en) | The sign information of coded video data | |
CN105474647A (en) | Processing bitstream constraints relating to inter-layer prediction types in multi-layer video coding | |
CN108141608A (en) | The improvement video intra-frame prediction combined with the relevant prediction in position is used for video coding | |
CN103782598A (en) | Fast encoding method for lossless coding | |
CN102204251A (en) | Video coding using transforms bigger than 4x4 and 8x8 | |
CN105379270A (en) | Inter-color component residual prediction | |
CN104205835B (en) | The context of most end position decoding is exported for video coding | |
CN106464919A (en) | Profile, tier, level for the 0-th output layer set in video coding | |
CN103621082A (en) | Quantization in video coding | |
CN101981934A (en) | Methods, devices and systems for parallel video encoding and decoding | |
CN104126303A (en) | Unified partitioning structures and signaling methods for high efficiency video coding | |
CN102835107A (en) | Super-block for high performance video coding | |
CN102256126A (en) | Method for coding mixed image | |
CN105791868B (en) | The method and apparatus of Video 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 | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20111123 |