CN102984523A - Multi-directional intra-frame forecast encoding and decoding method and device - Google Patents
Multi-directional intra-frame forecast encoding and decoding method and device Download PDFInfo
- Publication number
- CN102984523A CN102984523A CN2012105465379A CN201210546537A CN102984523A CN 102984523 A CN102984523 A CN 102984523A CN 2012105465379 A CN2012105465379 A CN 2012105465379A CN 201210546537 A CN201210546537 A CN 201210546537A CN 102984523 A CN102984523 A CN 102984523A
- Authority
- CN
- China
- Prior art keywords
- pixel
- reference pixel
- coding
- prediction
- frame
- 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
Links
Images
Landscapes
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
The invention discloses an intra-frame forecast encoding and decoding method and a device. The method comprises the following steps that an encoding end selects a reference pixel required for executing intra-frame forecast of a set intra-frame forecast direction according to the set intra-frame forecast direction for an input intra-frame forecast unit; the forecast unit is forecasted with the reference pixel according to the set forecast direction; a pixel forecast value of the forecast unit is obtained; the pixel forecast value is filtered by the selected reference pixel; all forecast directions are traversed; entropy encoding is conducted on the optimal forecast direction; and a decoding end resolves an intra-frame forecast mode and adopts a intra-frame forecast method same as that of the encoding end to obtain an intra-frame forecast value.
Description
Technical field
The present invention relates to multimedia video encoding and decoding technique field, relate in particular to a kind of multidirectional infra-frame prediction decoding method and device.
Background technology
Have four kinds of redundancies in video sequence: time domain is redundant, and the spatial domain is redundant, visual redundancy, coding redundancy.For front two kinds of redundancies, we generally adopt Predicting Technique to reduce this redundancy.By the difference of prediction mode, the predictive mode of predicting unit can be divided into infra-frame prediction and inter prediction.Wherein, infra-frame prediction refers to only utilize the spatial information (si) of present frame to carry out predictive coding; Inter prediction then refers to, utilizes the time-domain information of consecutive frame to carry out predictive coding.In general, the accuracy of inter prediction will be far above infra-frame prediction, but for also not having time-domain information or can not find in time domain for the encoding block of match block, infra-frame prediction just seems and is even more important.For example, for the first frame of a sequence, the perhaps random access point in the cataloged procedure, they can not be with reference to the information on the time domain, and can only adopt the information of present frame to carry out infra-frame prediction.And the coding efficiency of the frame of sequence the first frame or random access point is even more important to the coding efficiency of whole sequence.Because they, can affect the right coding of subsequent frame as the references object of follow-up inter prediction.So infra-prediction techniques has very consequence in Video coding exactly.
In existing announced video encoding standard, as H.264, AVS 1.0, its frame mode only has at most 9 kinds, and (direction prediction adds a kind of DC pattern in 8, and as shown in Figure 2), the infra-frame prediction block size is 16x16 to the maximum.Yet in efficient video coding standard and AVS standard A VS2.0 of future generation, coding unit (Coding Unit, CU) is the elementary cell of Video coding.The employing four fork recurrence partition modes of coding unit, the coding unit maximum can reach 64x64(shown in Fig. 1 (a)), and no longer be 16x16.In each coding unit, give a forecast, change quantization, entropy coding, reprocessing be with coding.Wherein coding unit is when giving a forecast, and coding unit can be divided into the predicting unit (Prediction Unit, PU) of different sizes, and predicting unit is the elementary cell of prediction.The division of intraprediction unit is shown in Fig. 1 (b) in the coding unit.The size maximum of intra-frame prediction block can reach 64x64, and minimum is 8x8, also no longer is the 16x16 in the standard in the past.If still adopt 9 kinds of predictive modes in the intra-frame prediction block of 64x64, the accuracy of prediction can't be guaranteed.
Summary of the invention
In order to overcome the deficiency of prior art structure, the invention provides a kind of multidirectional infra-frame prediction decoding method and device.
The embodiment of the invention discloses a kind of infra-frame prediction decoding method, may further comprise the steps: coding side:
For an intraprediction unit of input, according to the intra prediction direction of setting, be chosen as the required reference pixel of infra-frame prediction of carrying out this direction;
Use described reference pixel to described predicting unit, predict that by the prediction direction of setting obtain the pixel predictors of predicting unit, described pixel predictors is carried out filtering by selected reference pixel and obtained;
Travel through all prediction direction, the prediction direction of optimum is carried out the entropy coding;
Decoding end:
Adopt the inverse process parse for frame inner estimation mode of described coding side entropy coding;
For an intraprediction unit of input, according to the intra prediction direction of setting, be chosen as the required reference pixel of infra-frame prediction of carrying out this direction;
Use described reference pixel to described predicting unit, predict that by the prediction direction of setting obtain the pixel predictors of predicting unit, described pixel predictors is carried out filtering by selected reference pixel and obtained.
Further, as preferably, the intra prediction direction that sets each pixel by predicting unit is prolonged and intersecting of encoded pixels, related pixel is namely elected reference pixel as around the extended line.
Further, as preferably, a predicting unit is used 33 direction predictions and a DC prediction.
Further, as preferably, it is 8 parts that described 33 direction predictions are specially the angular divisions that will depart from level or vertical direction, departs from the angle alpha=[3 of level or vertical direction, 7,12,18,24,31,38,45]/180*pi.
Further, as preferably, adopt 1/32 directional precision, the pixel distance l=[2 of described angle deviating level or vertical direction, 4,7,10,14,19,25,32].
Further, as preferably, adopt straight line and 3 ~ 4 pixels reference pixel place straight-line intersection around of this direction by location of pixels to be predicted to carry out filtering and obtain.
Further, as preferably, described filtering is specially: the 4tap filtering interpolation, this 4tap interpolation filter coefficient value is respectively [32-k, 64-k, 32+k, k]/128, wherein k be the reference image vegetarian refreshments of the straight line of location of pixels to be predicted and the straight-line intersection left side, reference pixel place or top from the distance of straight line and the reference pixel place straight-line intersection of location of pixels to be predicted, the span of k is [0,32].
Further, as preferably, when the straight line of location of pixels to be predicted and reference pixel place straight-line intersection are the point of a whole pixel, namely k be 0 or the filter of 32,4tap be degenerated to the filter of a 3tap, filter coefficient is [1,2,1].
Further, as preferably, described entropy coding is specially: described intra prediction direction is carried out binaryzation, then entropy is encoded, intra prediction direction is sorted by the probability that occurs order from high to low, the direction that probability is high is distributed short code word, the direction that probability of occurrence is low is distributed relatively long code word.
On the other hand, the embodiment of the invention also provides a kind of multi-direction infra-frame prediction coding and decoding device, and this device comprises:
Coding side reference pixel selected cell selects to carry out the needed reference pixel of forecasting process according to predictive mode;
Coding side predicting unit predicted value acquiring unit according to the position at prediction direction and current predict pixel place, is selected the prediction needed reference pixel of current pixel value and carries out the filtering interpolation process to obtain predicted value;
Coding side cost function calculation unit calculates the coding cost of each predictive mode, selects the predictive mode of coding Least-cost as final coding mode;
Coding side intra prediction mode entropy coding unit carries out entropy coding, output code flow with the optimum code pattern that coding side obtains;
Decoding end intra prediction mode entropy decoding unit, the inverse process parse for frame inner estimation mode that adopts described coding side entropy to encode is resolved from code stream and is obtained intra prediction mode;
Decoding end cost function calculation unit calculates the decoding cost of each predictive mode, and the predictive mode of selective decompression Least-cost is as final decoding schema;
Decoding end reference pixel selected cell selects to carry out the needed reference pixel of forecasting process according to predictive mode;
Decoding end predicting unit predicted value acquiring unit according to the position at prediction direction and current predict pixel place, is selected the prediction needed reference pixel of current pixel value and carries out the filtering interpolation process to obtain predicted value.
Preferably, described reference pixel selected cell is selected according to the needs of current predictive mode.Current prediction direction each pixel by predicting unit prolongs and intersecting of encoded pixels, and related pixel is namely elected reference pixel as around the extended line.
Preferably, described predicting unit predicted value acquiring unit adopts straight line and 3 ~ 4 pixels reference pixel place straight-line intersection A around of this direction by location of pixels to be predicted to carry out filtering and obtain.Described filter is the interpolation filter of a 4tap, the coefficient of filter and reference image vegetarian refreshments and A point distance dependent.Described 4tap filter coefficient value is respectively [32-k, 64-k, 32+k, k]/128, and wherein k is that A selects the distance that the reference image vegetarian refreshments of the left side/top is ordered from A, and the span of k is [0,32].When the A point is the point of a whole pixel, namely k be 0 or the filter of 32,4tap be degenerated to the filter of a 3tap, filter coefficient is [1,2,1].
Preferably, described predictive mode entropy coding unit by the probability that occurs order ordering from high to low, distributes short code word to the direction that probability is high to intra prediction direction, and the direction that probability of occurrence is low is distributed relatively long code word.
Preferably, the present invention with embodiment in, described decoding end predictive mode resolution unit is resolved the bit in the code stream, obtains the dual code of intra prediction mode, obtains corresponding intra prediction mode according to this dual code.
On the one hand, the embodiment of the invention also provides a kind of realization system of multi-direction intraframe predictive coding again, and this system comprises:
Encoder is used at cataloged procedure, to a predicting unit, obtains the predicted value under its all predictive modes, and calculates the coding cost of each predictive mode, selects optimum coding mode to carry out entropy coding, output code flow;
Decoder is used at decode procedure, at first carries out the entropy decoding, obtains its intra prediction mode, with this intra prediction mode current predicting unit is predicted to obtain predicted value.
The present invention is by being increased to prediction direction 34 kinds (33 kinds of direction predictions and 1 DC pattern), and designed the method for reference pixel selection, interpolation filter and direction encoding in the multi-direction prediction, solve large-sized prediction precision of prediction and do not reached the problem of requirement.The present invention can obtain more accurately predicted value, thereby has reduced the residual error of prediction, can improve 5.1% code efficiency.
Description of drawings
When considered in conjunction with the accompanying drawings, by the following detailed description of reference, can more completely understand better the present invention and learn easily wherein many advantages of following, but accompanying drawing described herein is used to provide a further understanding of the present invention, consist of a part of the present invention, illustrative examples of the present invention and explanation thereof are used for explaining the present invention, do not consist of to improper restriction of the present invention, wherein:
Fig. 1 (a) is that AVS2 prior art coding unit is divided schematic diagram.
Fig. 1 (b) is that another prior art predicting unit of AVS2 is divided schematic diagram.
Fig. 2 is direction prediction schematic diagram in the prior art frame.
Fig. 3 (a) is the multidirectional intra-frame predictive encoding method flow chart of the embodiment of the invention.
Fig. 3 (b) is the multidirectional infra-frame prediction coding/decoding method of embodiment of the invention flow chart.
Fig. 4 is that reference pixel obtains schematic diagram in the multidirectional infra-frame prediction coding/decoding method of the embodiment of the invention.
Fig. 5 is direction prediction schematic diagram in the multidirectional intra-frame predictive encoding method of the embodiment of the invention.
Fig. 6 is filtering interpolation schematic diagram in the multidirectional intra-frame predictive encoding method of the embodiment of the invention.
Fig. 7 is embodiment of the invention binaryzation schematic diagram.
Fig. 8 (a) is the multi-direction intraframe predictive coding apparatus structure of embodiment of the invention schematic diagram.
Fig. 8 (b) is the multi-direction infra-frame prediction decoding device of embodiment of the invention structural representation.
Embodiment
Describe with reference to Fig. 1-8 pair embodiments of the invention.
For above-mentioned purpose, feature and advantage can be become apparent more, the present invention is further detailed explanation below in conjunction with the drawings and specific embodiments.
Shown in Fig. 3 (a), a kind of intra-frame predictive encoding method may further comprise the steps:
S31, for a predicting unit of coding side, the current predictive mode of initialization is-1, and the sequence number of current predictive mode is added 1;
S32, predict needed reference pixel for described Intra prediction mode selection;
S33, obtain the predicted value of predicting unit with the prediction of described reference pixel;
S34, calculate the coding cost of described intra prediction mode, select the coding mode of current optimum;
If the sequence number of the described intra prediction mode of S35 more than or equal to set point, is then carried out S36, otherwise jumps to S31;
S36, the described optimal frames inner estimation mode of coding output to code stream with it.
Shown in Fig. 3 (b), a kind of infra-frame prediction coding/decoding method may further comprise the steps:
S37, for an intraprediction unit of decoding end, resolve the intra prediction mode that obtains current predicting unit;
S38, predict needed reference pixel for described Intra prediction mode selection;
S39, obtain the predicted value of predicting unit with the prediction of described reference pixel.
For coding side, the set point of described intra prediction mode is 34, and its direction as shown in Figure 5.Be illustrated in figure 4 as reference pixel and obtain schematic diagram.Be illustrated in figure 6 as middle filtering interpolation schematic diagram.Be binaryzation schematic diagram and scheme such as Fig. 7 and table 1.
The coding of table 1. intra-frame encoding mode
| Index | |
0 | 0 | |
1 | 3 | |
2 | 33 | |
3 | 29 | |
4 | 25 | |
5 | 21 | |
6 | 17 | |
7 | 13 | |
8 | 9 | |
9 | 2 | |
10 | 8 | |
11 | 12 | |
12 | 16 | |
13 | 20 | |
14 | 24 | |
15 | 28 | |
16 | 32 | |
17 | 5 | |
18 | 30 | |
19 | 26 | |
20 | 22 | |
21 | 18 |
22 | 14 |
23 | 10 |
24 | 6 |
25 | 1 |
26 | 7 |
27 | 11 |
28 | 15 |
29 | 19 |
30 | 23 |
31 | 27 |
32 | 31 |
33 | 4 |
Preferably, the current prediction direction of the employing of reference pixel each pixel by predicting unit prolongs and intersecting of encoded pixels, related pixel around the extended line.
Preferably, the pixel predictors on the direction of intra-frame prediction block adopts straight line and 3-4 pixel reference pixel place straight-line intersection A around of this direction by location of pixels to be predicted to carry out filtering and obtain.Described filter is the interpolation filter of a 4tap, the coefficient of filter and reference image vegetarian refreshments and A point distance dependent.Described 4tap filter coefficient value is respectively [32-k, 64-k, 32+k, k]/128, and wherein k is that A selects the distance that the reference image vegetarian refreshments of the left side/top is ordered from A, and the span of k is [0,32].When the A point is the point of a whole pixel, namely k be 0 or the filter of 32,4tap be degenerated to the filter of a 3tap, filter coefficient is [1,2,1].
Shown in Fig. 8 (a), be the multi-direction intraframe predictive coding apparatus structure of embodiment of the invention schematic diagram, this device comprises:
Coding side reference pixel selected cell 81 is used for predicting needed reference pixel for a kind of Intra prediction mode selection of the predicting unit of coding side;
Coding side predicting unit predicted value acquiring unit 82 is used for adopting described intra prediction mode that each pixel of described predicting unit is obtained predicted value;
Coding side cost function calculation unit 83 be used for to calculate adopts the coding cost of described intra prediction mode coding, with the intra prediction mode of selecting the coding Least-cost as optimal prediction modes;
Coding side intra prediction mode entropy coding unit 84 is used for described optimal prediction modes is carried out binaryzation and entropy coding, and outputs to code stream.
Shown in Fig. 8 (b), be the multi-direction infra-frame prediction decoding device of embodiment of the invention structural representation, this device comprises:
Decoding end intra prediction mode resolution unit 85, the bit for resolving code stream obtains intra prediction mode;
Decoding end reference pixel selected cell 86 is used for predicting needed reference pixel for a kind of Intra prediction mode selection of the predicting unit of coding side;
Decoding end predicting unit predicted value acquiring unit 87 is used for adopting described intra prediction mode that each pixel of described predicting unit is obtained predicted value.
Preferably, described reference pixel selected cell is selected according to the needs of current predictive mode.Current prediction direction each pixel by predicting unit prolongs and intersecting of encoded pixels, and related pixel is namely elected reference pixel as around the extended line.
Preferably, described predicting unit predicted value acquiring unit adopts straight line and 3 ~ 4 pixels reference pixel place straight-line intersection A around of this direction by location of pixels to be predicted to carry out filtering and obtain.Described filter is the interpolation filter of a 4tap, the coefficient of filter and reference image vegetarian refreshments and A point distance dependent.Described 4tap filter coefficient value is respectively [32-k, 64-k, 32+k, k]/128, and wherein k is that A selects the distance that the reference image vegetarian refreshments of the left side/top is ordered from A, and the span of k is [0,32].When the A point is the point of a whole pixel, namely k be 0 or the filter of 32,4tap be degenerated to the filter of a 3tap, filter coefficient is [1,2,1].
Preferably, described predictive mode entropy coding unit by the probability that occurs order ordering from high to low, distributes short code word to the direction that probability is high to intra prediction direction, and the direction that probability of occurrence is low is distributed relatively long code word.The allocative decision of its code word is shown in Fig. 1 and table 1.
Preferably, described decoding end predictive mode resolution unit is resolved the bit in the code stream, obtains the dual code of intra prediction mode, obtains corresponding intra prediction mode according to this dual code.
Again on the one hand, the embodiment of the invention also provides a kind of realization system of multi-direction intraframe predictive coding, described multi-direction intraframe predictive coding system comprises: encoder, be used at cataloged procedure, to a predicting unit, obtain the predicted value under its all predictive modes, and calculate the coding cost of each predictive mode, select optimum coding mode to carry out entropy coding, output code flow; Decoder is used at decode procedure, at first carries out the entropy decoding, obtains its intra prediction mode, with this intra prediction mode current predicting unit is predicted to obtain predicted value.
Preferably, the kind of the intra prediction mode of described encoder trial is 34 kinds; Needs according to predictive mode in the forecasting process are selected reference pixel; The filter that obtains employing 4tap of predicted value, filter coefficient is [32-k, 64-k, 32+k, k]/128; The dual code of optimal prediction modes is carried out the entropy coding, and dual code adopts and blocks variable length code, and code length is that the probability of optimum code pattern is determined according to this coding mode.
Preferably, described decoder is resolved intra prediction mode in the code stream; Use this intra prediction mode, adopt the method identical with coding side to obtain predicted value.
Experimental result:
The embodiment of the invention is in the reference software of RD1.0(AVS2 standard) upper completing technology realization.In experiment, adopt the universal test condition of AVS2, testing length is the 2s sequence, full I frame configuration.Experiment porch is Intel (R) Xeon (R) CPU [email protected] 2.79GHZ23.9G internal memory.The coding efficiency of the multi-direction intra-frame predictive encoding method among the present invention is adopted in table 2 expression.1080p, WVGA, WQVGA, 720p represent that respectively resolution is the test order of 1920x1080,832x480,416x240,1280x720.The tolerance of coding efficiency adopts BD-rate, and namely the code check in the situation of same-code quality is saved.From experimental result, adopt embodiment of the invention such scheme, with respect to the original encoding device, when the same-code quality, on average save 5.1% code check.
Table 2. Performance Ratio
Those skilled in the art can also recognize that various illustrative components, blocks (illustrative logicalblock), unit and step that the embodiment of the invention is listed can pass through electronic hardware, computer software, or both combinations realize.Be the clear replaceability (interchangeability) of showing hardware and software, above-mentioned various illustrative components (illustrative components), unit and step have been described their function generally.Such function is to realize depending on the designing requirement of specific application and whole system by hardware or software.Those skilled in the art can be for every kind of specific application, and can make ins all sorts of ways realizes described function, but this realization should not be understood to exceed the scope of embodiment of the invention protection.
Various illustrative logical block described in the embodiment of the invention, or the unit can pass through general processor, digital signal processor, application-specific integrated circuit (ASIC) (ASIC), field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or the design of above-mentioned any combination realizes or operates described function.General processor can be microprocessor, and alternatively, this general processor also can be any traditional processor, controller, microcontroller or state machine.Processor also can realize by the combination of calculation element, for example digital signal processor and microprocessor, multi-microprocessor, Digital Signal Processor Core of one or more microprocessors associatings, or any other similarly configuration realize.
Method described in the embodiment of the invention or the step of algorithm can directly embed hardware, the software module of processor execution or the two combination.Software module can be stored in the storage medium of other arbitrary form in RAM memory, flash memory, ROM memory, eprom memory, eeprom memory, register, hard disk, moveable magnetic disc, CD-ROM or this area.Exemplarily, storage medium can be connected with processor so that processor can be from storage medium reading information, and can deposit write information to storage medium.Alternatively, storage medium can also be integrated in the processor.Processor and storage medium can be arranged among the ASIC, and ASIC can be arranged in the user terminal.Alternatively, processor and storage medium also can be arranged in the different parts in the user terminal.
In one or more exemplary designs, the described above-mentioned functions of the embodiment of the invention can realize in hardware, software, firmware or this three's combination in any.If realize in software, these functions can be stored on the medium with computer-readable, or are transmitted on the medium of computer-readable with one or more instructions or code form.The computer-readable medium comprises the computer storage medium and is convenient to so that allow computer program transfer to other local communication medium from a place.Storage medium can be the useable medium that any general or special computer can access.For example, such computer readable media can include but not limited to RAM, ROM, EEPROM, CD-ROM or other optical disc storage, disk storage or other magnetic storage device, or other anyly can be used for carrying or storage can be read by general or special computer or general or special processor the program code of form with instruction or data structure and other medium.In addition, any connection can suitably be defined as the computer-readable medium, for example, if software is by a coaxial cable, optical fiber computer, twisted-pair feeder, Digital Subscriber Line (DSL) or also being comprised in the defined computer-readable medium with wireless way for transmittings such as infrared, wireless and microwave from a web-site, server or other remote resource.Described video disc (disk) and disk (disc) comprise Zip disk, radium-shine dish, CD, DVD, floppy disk and Blu-ray Disc, and disk is usually with the magnetic duplication data, and video disc carries out the optical reproduction data with laser usually.Above-mentioned combination also can be included in the computer-readable medium.
Although more than described the specific embodiment of the present invention, but those skilled in the art is to be understood that, these embodiments only illustrate, those skilled in the art can carry out various omissions, replacement and change to the details of said method and system in the situation that does not break away from principle of the present invention and essence.For example, merge the said method step, then belong to scope of the present invention thereby carry out the identical function of essence according to the identical method of essence to realize the identical result of essence.Therefore, scope of the present invention is only limited by appended claims.
Claims (10)
1. an infra-frame prediction decoding method is characterized in that, may further comprise the steps:
Coding side:
For an intraprediction unit of input, according to the intra prediction direction of setting, be chosen as the required reference pixel of infra-frame prediction of carrying out this direction;
Use described reference pixel to described predicting unit, predict that by the prediction direction of setting obtain the pixel predictors of predicting unit, described pixel predictors is carried out filtering by selected reference pixel and obtained;
Travel through all prediction direction, the prediction direction of optimum is carried out the entropy coding;
Decoding end:
Adopt the inverse process parse for frame inner estimation mode of described coding side entropy coding;
For an intraprediction unit of input, according to the intra prediction direction of setting, be chosen as the required reference pixel of infra-frame prediction of carrying out this direction;
Use described reference pixel to described predicting unit, predict that by the prediction direction of setting obtain the pixel predictors of predicting unit, described pixel predictors is carried out filtering by selected reference pixel and obtained.
2. described infra-frame prediction decoding method according to claim 1 is characterized in that, the intra prediction direction that sets each pixel by predicting unit is prolonged and intersecting of encoded pixels, and related pixel is namely elected reference pixel as around the extended line.
3. root described infra-frame prediction decoding method according to claim 1 is characterized in that, a predicting unit is used 33 direction predictions and a DC prediction.
4. root described infra-frame prediction decoding method according to claim 3 is characterized in that it is 8 parts that described 33 direction predictions are specially the angular divisions that will depart from level or vertical direction, departs from the angle alpha=[3 of level or vertical direction, 7,12,18,24,31,38,45]/180*pi.
5. root described infra-frame prediction decoding method according to claim 4 is characterized in that, adopts 1/32 directional precision, the pixel distance l=[2 of described angle deviating level or vertical direction, 4,7,10,14,19,25,32].
6. root described infra-frame prediction decoding method according to claim 1 is characterized in that, adopts straight line and 3 ~ 4 pixels reference pixel place straight-line intersection around of this direction by location of pixels to be predicted to carry out filtering and obtain.
7. root described infra-frame prediction decoding method according to claim 6, it is characterized in that, described filtering is specially: the 4tap filtering interpolation, this filter coefficient value is respectively [32-k, 64-k, 32+k, k]/128, wherein k be the reference image vegetarian refreshments of the straight line of location of pixels to be predicted and the straight-line intersection left side, reference pixel place or top from the distance of straight line and the reference pixel place straight-line intersection of location of pixels to be predicted, the span of k is [0,32].
8. root according to claim 6 or 7 described infra-frame prediction decoding methods, it is characterized in that, when the straight line of location of pixels to be predicted and reference pixel place straight-line intersection are the point of a whole pixel, be that k is 0 or 32, the filter of 4tap is degenerated to the filter of a 3tap, filter coefficient is [1,2,1].
9. root is according to claim 1 to the described infra-frame prediction decoding method of 7 any one, it is characterized in that, described entropy coding is specially: described intra prediction direction is carried out binaryzation, then entropy is encoded, intra prediction direction is sorted by the probability that occurs order from high to low, the direction that probability is high is distributed short code word, the direction that probability of occurrence is low is distributed relatively long code word.
10. multi-direction infra-frame prediction coding and decoding device, this device comprises:
Coding side reference pixel selected cell selects to carry out the needed reference pixel of forecasting process according to predictive mode;
Coding side predicting unit predicted value acquiring unit according to the position at prediction direction and current predict pixel place, is selected the prediction needed reference pixel of current pixel value and carries out the filtering interpolation process to obtain predicted value;
Coding side cost function calculation unit calculates the coding cost of each predictive mode, selects the predictive mode of coding Least-cost as final coding mode;
Coding side intra prediction mode entropy coding unit carries out entropy coding, output code flow with the optimum code pattern that coding side obtains;
Decoding end intra prediction mode entropy decoding unit, the inverse process parse for frame inner estimation mode that adopts described coding side entropy to encode is resolved from code stream and is obtained intra prediction mode;
Decoding end cost function calculation unit calculates the decoding cost of each predictive mode, and the predictive mode of selective decompression Least-cost is as final decoding schema;
Decoding end reference pixel selected cell selects to carry out the needed reference pixel of forecasting process according to predictive mode;
Decoding end predicting unit predicted value acquiring unit according to the position at prediction direction and current predict pixel place, is selected the prediction needed reference pixel of current pixel value and carries out the filtering interpolation process to obtain predicted value.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210546537.9A CN102984523B (en) | 2012-12-14 | 2012-12-14 | A kind of multidirectional infra-frame prediction decoding method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210546537.9A CN102984523B (en) | 2012-12-14 | 2012-12-14 | A kind of multidirectional infra-frame prediction decoding method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102984523A true CN102984523A (en) | 2013-03-20 |
CN102984523B CN102984523B (en) | 2015-12-09 |
Family
ID=47858212
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210546537.9A Active CN102984523B (en) | 2012-12-14 | 2012-12-14 | A kind of multidirectional infra-frame prediction decoding method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102984523B (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103248892A (en) * | 2013-05-07 | 2013-08-14 | 北京大学 | Method and device for intra-frame prediction |
CN105594213A (en) * | 2013-07-15 | 2016-05-18 | 三星电子株式会社 | Method for improving intra-prediction of diagonal mode in video coding |
WO2016119666A1 (en) * | 2015-01-26 | 2016-08-04 | 同济大学 | Image coding/decoding method and apparatus |
CN110166773A (en) * | 2019-06-25 | 2019-08-23 | 浙江大华技术股份有限公司 | Intra-frame prediction method, method for video coding, video process apparatus, storage medium |
CN110545435A (en) * | 2018-05-28 | 2019-12-06 | 深信服科技股份有限公司 | desktop pixel coding method and device based on probability model and storage medium |
US10666971B2 (en) | 2015-01-26 | 2020-05-26 | Xi'an Zhongxing New Software Co., Ltd | Method and device for image coding and method and device for image decoding |
WO2020181579A1 (en) * | 2019-03-12 | 2020-09-17 | 北京大学深圳研究生院 | Coding and decoding methods and devices based on intra-frame prediction and filter |
WO2020181990A1 (en) * | 2019-03-12 | 2020-09-17 | Zhejiang Dahua Technology Co., Ltd. | Systems and methods for image coding |
WO2020182125A1 (en) * | 2019-03-12 | 2020-09-17 | FG Innovation Company Limited | Device and method for coding video data |
CN112040228A (en) * | 2018-09-16 | 2020-12-04 | 华为技术有限公司 | Method and apparatus for prediction |
CN113473135A (en) * | 2021-05-26 | 2021-10-01 | 北京大学 | Intra-frame prediction method, device and medium for non-linear texture |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101361370A (en) * | 2005-11-30 | 2009-02-04 | 株式会社东芝 | Image encoding/image decoding method and image encoding/image decoding apparatus |
CN101895751A (en) * | 2010-07-06 | 2010-11-24 | 北京大学 | Method and device for intra-frame prediction and intra-frame prediction-based encoding/decoding method and system |
CN102484704A (en) * | 2009-08-17 | 2012-05-30 | 三星电子株式会社 | Method and apparatus for encoding video, and method and apparatus for decoding video |
CN102595120A (en) * | 2011-01-14 | 2012-07-18 | 华为技术有限公司 | Airspace predication coding method, decoding method, device and system |
US20120207398A1 (en) * | 2011-02-10 | 2012-08-16 | Sony Corporation | Image coding device, image decoding device, methods thereof, and programs |
CN102665078A (en) * | 2012-05-08 | 2012-09-12 | 北方工业大学 | Intra prediction mode decision based on direction vector for HEVC (High Efficiency Video Coding) |
-
2012
- 2012-12-14 CN CN201210546537.9A patent/CN102984523B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101361370A (en) * | 2005-11-30 | 2009-02-04 | 株式会社东芝 | Image encoding/image decoding method and image encoding/image decoding apparatus |
CN102484704A (en) * | 2009-08-17 | 2012-05-30 | 三星电子株式会社 | Method and apparatus for encoding video, and method and apparatus for decoding video |
CN101895751A (en) * | 2010-07-06 | 2010-11-24 | 北京大学 | Method and device for intra-frame prediction and intra-frame prediction-based encoding/decoding method and system |
CN102595120A (en) * | 2011-01-14 | 2012-07-18 | 华为技术有限公司 | Airspace predication coding method, decoding method, device and system |
US20120207398A1 (en) * | 2011-02-10 | 2012-08-16 | Sony Corporation | Image coding device, image decoding device, methods thereof, and programs |
CN102665078A (en) * | 2012-05-08 | 2012-09-12 | 北方工业大学 | Intra prediction mode decision based on direction vector for HEVC (High Efficiency Video Coding) |
Cited By (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103248892A (en) * | 2013-05-07 | 2013-08-14 | 北京大学 | Method and device for intra-frame prediction |
CN105594213A (en) * | 2013-07-15 | 2016-05-18 | 三星电子株式会社 | Method for improving intra-prediction of diagonal mode in video coding |
US11082718B2 (en) | 2015-01-26 | 2021-08-03 | Xi'an Zhongxing New Software Co., Ltd | Method and device for coding image and method and device for decoding image |
WO2016119666A1 (en) * | 2015-01-26 | 2016-08-04 | 同济大学 | Image coding/decoding method and apparatus |
US10666971B2 (en) | 2015-01-26 | 2020-05-26 | Xi'an Zhongxing New Software Co., Ltd | Method and device for image coding and method and device for image decoding |
CN110545435A (en) * | 2018-05-28 | 2019-12-06 | 深信服科技股份有限公司 | desktop pixel coding method and device based on probability model and storage medium |
CN114143539B (en) * | 2018-09-16 | 2023-08-04 | 华为技术有限公司 | Method and apparatus for prediction |
US11647185B2 (en) | 2018-09-16 | 2023-05-09 | Huawei Technologies Co., Ltd. | Method and apparatus for filtering with directional prediction |
CN114143539A (en) * | 2018-09-16 | 2022-03-04 | 华为技术有限公司 | Method and apparatus for prediction |
CN112040228A (en) * | 2018-09-16 | 2020-12-04 | 华为技术有限公司 | Method and apparatus for prediction |
US11451774B2 (en) | 2019-03-12 | 2022-09-20 | Peking University Shenzhen Graduate School | Intra-prediction-based encoding and decoding method, apparatus and filter |
WO2020182125A1 (en) * | 2019-03-12 | 2020-09-17 | FG Innovation Company Limited | Device and method for coding video data |
US11425374B2 (en) | 2019-03-12 | 2022-08-23 | FG Innovation Company Limited | Device and method for coding video data |
WO2020181990A1 (en) * | 2019-03-12 | 2020-09-17 | Zhejiang Dahua Technology Co., Ltd. | Systems and methods for image coding |
WO2020181579A1 (en) * | 2019-03-12 | 2020-09-17 | 北京大学深圳研究生院 | Coding and decoding methods and devices based on intra-frame prediction and filter |
US11943437B2 (en) | 2019-03-12 | 2024-03-26 | FG Innovation Company Limited | Device and method for coding video data |
CN110166773B (en) * | 2019-06-25 | 2021-08-31 | 浙江大华技术股份有限公司 | Intra-frame prediction method, video encoding method, video processing apparatus, and storage medium |
CN110166773A (en) * | 2019-06-25 | 2019-08-23 | 浙江大华技术股份有限公司 | Intra-frame prediction method, method for video coding, video process apparatus, storage medium |
CN113473135A (en) * | 2021-05-26 | 2021-10-01 | 北京大学 | Intra-frame prediction method, device and medium for non-linear texture |
CN113473135B (en) * | 2021-05-26 | 2023-09-01 | 北京大学 | Intra-frame prediction method, device and medium for nonlinear texture |
Also Published As
Publication number | Publication date |
---|---|
CN102984523B (en) | 2015-12-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102984523B (en) | A kind of multidirectional infra-frame prediction decoding method and device | |
CN103220529B (en) | A kind of implementation method of coding and decoding video loop filtering | |
JP6530467B2 (en) | Method and apparatus for encoding and decoding | |
CN113196769B (en) | Encoding and decoding information related to motion information predictors | |
CN103248892A (en) | Method and device for intra-frame prediction | |
CN103139564A (en) | Methods for encoding/decoding of video using common merging candidate set of asymmetric partitions | |
CN102857764A (en) | Device and method for intra prediction mode processing | |
CN113056910B (en) | Motion vector predictor index coding for video coding | |
CN106464878A (en) | Method of alternative transform for data compression | |
KR20170069917A (en) | Method and apparatus for encoding and decoding an information indicating a prediction method of an intra skip mode | |
KR20200090776A (en) | Encoding and decoding methods, and corresponding devices | |
CN113366836A (en) | Size dependent cross-component linear model | |
JP7448558B2 (en) | Methods and devices for image encoding and decoding | |
CN101790096B (en) | Encoding and decoding method and device based on double prediction | |
CN113573066B (en) | Video coding method and device | |
KR20190013908A (en) | Interframe predictive coding method and apparatus | |
WO2017214920A1 (en) | Intra-frame prediction reference pixel point filtering control method and device, and coder | |
JP2022177179A (en) | video encoding and decoding | |
CN110166774B (en) | Intra-frame prediction method, video encoding method, video processing apparatus, and storage medium | |
CN110049322A (en) | Method, apparatus, electronic equipment and the storage medium of model selection | |
CN113542737A (en) | Encoding mode determining method and device, electronic equipment and storage medium | |
US10397609B2 (en) | Method and apparatus for predicting residual | |
CN111988627B (en) | Video encoding and decoding method and device | |
CN113573067B (en) | Video coding method and device | |
CN112868231B (en) | Video encoding and decoding |
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 |