CN102984523B - A kind of multidirectional infra-frame prediction decoding method and device - Google Patents

A kind of multidirectional infra-frame prediction decoding method and device Download PDF

Info

Publication number
CN102984523B
CN102984523B CN201210546537.9A CN201210546537A CN102984523B CN 102984523 B CN102984523 B CN 102984523B CN 201210546537 A CN201210546537 A CN 201210546537A CN 102984523 B CN102984523 B CN 102984523B
Authority
CN
China
Prior art keywords
prediction
pixel
reference pixel
coding
infra
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.)
Active
Application number
CN201210546537.9A
Other languages
Chinese (zh)
Other versions
CN102984523A (en
Inventor
马思伟
余琴
赵亮
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.)
Peking University
Original Assignee
Peking University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Peking University filed Critical Peking University
Priority to CN201210546537.9A priority Critical patent/CN102984523B/en
Publication of CN102984523A publication Critical patent/CN102984523A/en
Application granted granted Critical
Publication of CN102984523B publication Critical patent/CN102984523B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of infra-frame prediction decoding method and device, the method comprises the following steps: coding side, for an intraprediction unit of input, according to the intra prediction direction of setting, be chosen as the reference pixel needed for infra-frame prediction performing this direction; Use described reference pixel to described predicting unit, predict 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 is obtained; Travel through all prediction direction, entropy code is carried out to the prediction direction of optimum.Decoding end, parse for frame inner estimation mode, adopts the intra-frame prediction method identical with coding side to obtain intra prediction value.

Description

A kind of multidirectional infra-frame prediction decoding method and device
Technical field
The present invention relates to multimedia video encoding and decoding technique field, particularly relate to a kind of multidirectional infra-frame prediction decoding method and device.
Background technology
There are four kinds of redundancies in the video sequence: temporal redundancy, spatial redundancy, visual redundancy, coding redundancy.For first two redundancy, 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 that the spatial information (si) only utilizing present frame carries 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 far above infra-frame prediction, but for the encoding block also not having time-domain information or can not find match block in time domain, infra-frame prediction just seems and is even more important.Such as, for the first frame of a sequence, or the random access point in cataloged procedure, they can not with reference to the information in time domain, and can only adopt the information of present frame to carry out infra-frame prediction.And the coding efficiency of coding efficiency to whole sequence of the frame of sequence first frame or random access point is even more important.Because they are as the references object of follow-up inter prediction, the coding that subsequent frame is right can be affected.Therefore infra-prediction techniques has very consequence in Video coding exactly.
In existing announced video encoding standard, as H.264, AVS1.0, its frame mode only has at most 9 kinds, and (in 8, direction prediction adds a kind of DC pattern, and as shown in Figure 2), the size of intra-frame prediction block is 16x16 to the maximum.But in efficient video coding standard and AVS standard A VS2.0 of future generation, coding unit (CodingUnit, CU) is the elementary cell of Video coding.Recurrence partition mode is pitched in the employing four of coding unit, and the maximum 64x64(that reaches of coding unit is as Suo Shi Fig. 1 (a)), and be no longer 16x16.In each coding unit, give a forecast, change quantization, entropy code, reprocessing with coding.Wherein coding unit is when giving a forecast, and coding unit can be divided into the predicting unit (PredictionUnit, PU) of different size, and predicting unit is the elementary cell of prediction.In coding unit, the division of intraprediction unit is as shown in Fig. 1 (b).The size of intra-frame prediction block is maximum reaches 64x64, and minimum is 8x8, is also no longer the 16x16 in the past in standard.If still adopt 9 kinds of predictive modes in the intra-frame prediction block of 64x64, the accuracy of prediction cannot 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, comprise the following steps: coding side:
For an intraprediction unit of input, according to the intra prediction direction of setting, be chosen as the reference pixel needed for infra-frame prediction performing this direction;
Use described reference pixel to described predicting unit, predict 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 is obtained;
Travel through all prediction direction, entropy code is carried out to the prediction direction of optimum;
Decoding end:
Adopt the inverse process parse for frame inner estimation mode of described coding side entropy code;
For an intraprediction unit of input, according to the intra prediction direction of setting, be chosen as the reference pixel needed for infra-frame prediction performing this direction;
Use described reference pixel to described predicting unit, predict 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 is obtained.
Further, as preferably, extend with encoded pixel by set intra prediction direction by each pixel of predicting unit crossing, namely the pixel involved by around extended line elects reference pixel as.
Further, as preferably, 33 direction predictions and a DC prediction are used to a predicting unit.
Further, as preferably, the angular divisions that 33 described direction predictions are specially departing from level or vertical direction is 8 parts, departs from angle alpha=[3,7,12,18,24,31,38, the 45]/180*pi of horizontal or vertical direction.
Further, as preferably, the directional precision of 1/32 is adopted, the pixel distance l=[2,4,7,10,14,19,25,32] of described angle deviating horizontal or vertical direction.
Further, as preferably, adopt this direction to carry out filtering by 3 ~ 4 pixels around the straight line of location of pixels to be predicted and reference pixel place straight-line intersection and obtain.
Further, as preferably, described filtering is specially: 4tap filtering interpolation, this 4tap interpolation filter coefficients value is respectively [32-k, 64-k, 32+k, k]/128, wherein k is the straight line of location of pixels to be predicted and the straight line of the reference image vegetarian refreshments of the straight-line intersection left side, reference pixel place or top from location of pixels to be predicted and the distance of reference pixel place straight-line intersection, and 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 an Integer Pel time, 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 code is specially: carry out binaryzation to described intra prediction direction, then entropy code, to intra prediction direction by the probability occurred order sequence from high to low, shorter code word is distributed in the direction high to probability, and relatively long code word is distributed in the direction low to probability of occurrence.
On the other hand, the embodiment of the present invention additionally 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 perform the reference pixel required for forecasting process according to predictive mode;
Coding side predicting unit predicted value acquiring unit, according to the position at prediction direction and current predictive pixel place, selects the reference pixel of prediction required for current pixel value and performs filtering interpolation process to obtain predicted value;
Coding side cost function calculation unit, calculates the Coding cost of each predictive mode, and the predictive mode selecting Coding cost minimum is as final coding mode;
Coding side intra prediction mode entropy code unit, the optimum code pattern obtained by coding side carries out entropy code, output code flow;
Decoding end intra prediction mode entropy decoding unit, adopts the inverse process parse for frame inner estimation mode of described coding side entropy code to resolve from code stream and obtains 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 perform the reference pixel required for forecasting process according to predictive mode;
Decoding end predicting unit predicted value acquiring unit, according to the position at prediction direction and current predictive pixel place, selects the reference pixel of prediction required for current pixel value and performs filtering interpolation process to obtain predicted value.
Preferably, described reference pixel selected cell is selected according to the needs of current prediction mode.Current predictive direction is by each pixel prolongation of predicting unit and the crossing of encoded pixel, and namely pixel involved around extended line elects reference pixel as.
Preferably, described predicting unit predicted value acquiring unit, adopts this direction to carry out filtering by 3 ~ 4 pixels around the straight line of location of pixels to be predicted and reference pixel place straight-line intersection A and obtains.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 the distance of reference image vegetarian refreshments from A point of the A point left side/top, and the span of k is [0,32].When A point is the point of an Integer Pel time, 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 code unit is to intra prediction direction by the probability occurred order sequence from high to low, and shorter code word is distributed in the direction high to probability, and relatively long code word is distributed in the direction low to probability of occurrence.
Preferably, in the present invention with in embodiment, described decoding end predictive mode resolution unit resolves the bit in 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, what the embodiment of the present invention additionally provided a kind of multi-direction intraframe predictive coding realizes system, and this system comprises:
Encoder, in an encoding process, to a predicting unit, obtains the predicted value under its all predictive mode, and calculates the Coding cost of each predictive mode, selects optimum coding mode to carry out entropy code, output code flow;
Decoder, in decode procedure, first carries out entropy decoding, obtains its intra prediction mode, carries out prediction obtain predicted value with this intra prediction mode to current prediction unit.
The present invention is by being increased to prediction direction 34 kinds (33 kinds of direction predictions and 1 DC pattern), and devise that reference pixel in multi-direction prediction is selected, the method for interpolation filter and direction encoding, solve the problem that large-sized prediction precision of prediction does not reach requirement.The present invention can obtain predicted value more accurately, thus reduces the residual error of prediction, can improve the code efficiency of 5.1%.
Accompanying drawing explanation
When considered in conjunction with the accompanying drawings, by referring to detailed description below, more completely can understand the present invention better and easily learn wherein many adjoint advantages, but accompanying drawing described herein is used to provide a further understanding of the present invention, form a part of the present invention, schematic description and description of the present invention, for explaining the present invention, does not form inappropriate limitation of the present invention, wherein:
Fig. 1 (a) is AVS2 prior art coding unit division schematic diagram.
Fig. 1 (b) is another prior art predicting unit of AVS2 division schematic diagram.
Fig. 2 is direction prediction schematic diagram in prior art frame.
Fig. 3 (a) is the multidirectional intra-frame predictive encoding method flow chart of the embodiment of the present invention.
Fig. 3 (b) is the embodiment of the present invention multidirectional infra-frame prediction coding/decoding method flow chart.
Fig. 4 is that in the multidirectional infra-frame prediction coding/decoding method of the embodiment of the present invention, reference pixel obtains schematic diagram.
Fig. 5 is direction prediction schematic diagram in the multidirectional intra-frame predictive encoding method of the embodiment of the present invention.
Fig. 6 is filtering interpolation schematic diagram in the multidirectional intra-frame predictive encoding method of the embodiment of the present invention.
Fig. 7 is embodiment of the present invention binaryzation schematic diagram.
Fig. 8 (a) is the embodiment of the present invention multi-direction intraframe predictive coding apparatus structure schematic diagram.
Fig. 8 (b) is the embodiment of the present invention multi-direction infra-frame prediction decoding device structural representation.
Embodiment
Be described with reference to Fig. 1-8 pairs of embodiments of the invention.
For enabling above-mentioned purpose, feature and advantage become apparent more, and below in conjunction with the drawings and specific embodiments, the present invention is further detailed explanation.
As shown in Fig. 3 (a), a kind of intra-frame predictive encoding method, comprises the following steps:
S31, a predicting unit for coding side, initialization current prediction mode is-1, and the sequence number of current prediction mode is added 1;
S32, for described Intra prediction mode selection prediction required for reference pixel;
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 is more than or equal to set point, then performs S36, otherwise jump to S31;
S36, described optimal frames inner estimation mode of encoding, outputted to code stream.
As shown in Figure 3 (b), a kind of infra-frame prediction coding/decoding method, comprises the following steps:
S37, an intraprediction unit for decoding end, resolve the intra prediction mode obtaining current prediction unit;
S38, for described Intra prediction mode selection prediction required for reference pixel;
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 reference pixel and obtain schematic diagram.Be illustrated in figure 6 middle filtering interpolation schematic diagram.If Fig. 7 and table 1 is binaryzation schematic diagram and scheme.
The coding of table 1. intra-frame encoding mode
IntraLumaPredMode 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, each pixel prolongation of predicting unit and the crossing of encoded pixel are passed through, pixel involved around extended line in the employing current predictive direction of reference pixel.
Preferably, the pixel predictors on a direction of intra-frame prediction block, adopts this direction to carry out filtering by 3-4 pixel around the straight line of location of pixels to be predicted and reference pixel place straight-line intersection A and obtains.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 the distance of reference image vegetarian refreshments from A point of the A point left side/top, and the span of k is [0,32].When A point is the point of an Integer Pel time, namely k be 0 or the filter of 32,4tap be degenerated to the filter of a 3tap, filter coefficient is [1,2,1].
As shown in Figure 8 (a), be the embodiment of the present invention multi-direction intraframe predictive coding apparatus structure schematic diagram, this device comprises:
Coding side reference pixel selected cell 81, for the reference pixel of a kind of Intra prediction mode selection prediction of the predicting unit for coding side;
Coding side predicting unit predicted value acquiring unit 82, obtains predicted value for adopting described intra prediction mode to each pixel in described predicting unit;
Coding side cost function calculation unit 83, for calculating the Coding cost adopting described intra prediction mode coding, using the intra prediction mode selecting Coding cost minimum as optimal prediction modes;
Coding side intra prediction mode entropy code unit 84, for carrying out binaryzation and entropy code to described optimal prediction modes, and outputs to code stream.
As shown in Figure 8 (b) shows, be the embodiment of the present invention multi-direction infra-frame prediction decoding device structural representation, this device comprises:
Decoding end intra prediction mode resolution unit 85, for resolving the bit in code stream, obtains intra prediction mode;
Decoding end reference pixel selected cell 86, for the reference pixel of a kind of Intra prediction mode selection prediction of the predicting unit for coding side;
Decoding end predicting unit predicted value acquiring unit 87, obtains predicted value for adopting described intra prediction mode to each pixel in described predicting unit.
Preferably, described reference pixel selected cell is selected according to the needs of current prediction mode.Current predictive direction is by each pixel prolongation of predicting unit and the crossing of encoded pixel, and namely pixel involved around extended line elects reference pixel as.
Preferably, described predicting unit predicted value acquiring unit, adopts this direction to carry out filtering by 3 ~ 4 pixels around the straight line of location of pixels to be predicted and reference pixel place straight-line intersection A and obtains.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 the distance of reference image vegetarian refreshments from A point of the A point left side/top, and the span of k is [0,32].When A point is the point of an Integer Pel time, 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 code unit is to intra prediction direction by the probability occurred order sequence from high to low, and shorter code word is distributed in the direction high to probability, and relatively long code word is distributed in the direction low to probability of occurrence.The allocative decision of its code word as shown in figure 1 and table 1.
Preferably, described decoding end predictive mode resolution unit resolves the bit in 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, what the embodiment of the present invention additionally provided a kind of multi-direction intraframe predictive coding realizes system, described multi-direction intraframe predictive coding system comprises: encoder, for in an encoding process, to a predicting unit, obtain the predicted value under its all predictive mode, and calculate the Coding cost of each predictive mode, optimum coding mode is selected to carry out entropy code, output code flow; Decoder, in decode procedure, first carries out entropy decoding, obtains its intra prediction mode, carries out prediction obtain predicted value with this intra prediction mode to current prediction unit.
Preferably, the kind of the intra prediction mode of described encoder trial is 34 kinds; In forecasting process according to predictive mode need select reference pixel; The acquisition of predicted value adopts the filter of 4tap, and filter coefficient is [32-k, 64-k, 32+k, k]/128; Carry out entropy code to the dual code of optimal prediction modes, dual code adopts and blocks variable length code, and the probability that code length is optimum code pattern according to this coding mode is determined.
Preferably, described decoder resolves intra prediction mode in code stream; Use this intra prediction mode, adopt the method identical with coding side to obtain predicted value.
Experimental result:
The embodiment of the present invention is in the reference software of RD1.0(AVS2 standard) upper completing technology realization.In an experiment, adopt the universal test condition of AVS2, testing length is 2s sequence, full I frame configuration.Experiment porch is Intel (R) Xeon (R) CPUX56602.80GHZ2.79GHZ23.9G internal memory.Table 2 represents the coding efficiency of the multi-direction intra-frame predictive encoding method adopted in the present invention.1080p, WVGA, WQVGA, 720p represent that resolution is the test sequence of 1920x1080,832x480,416x240,1280x720 respectively.The tolerance of coding efficiency adopts BD-rate, and the code check namely when same-code quality is saved.From experimental result, adopt embodiment of the present invention such scheme, relative to original encoding device, when same-code quality, the code check of average saving 5.1%.
Table 2. Performance comparision
Those skilled in the art can also recognize that various illustrative components, blocks (illustrativelogicalblock), unit and step that the embodiment of the present invention is listed can pass through electronic hardware, computer software, or both combinations realize.For the replaceability (interchangeability) of clear displaying hardware and software, above-mentioned various illustrative components (illustrativecomponents), unit and step have universally described their function.Such function is the designing requirement realizing depending on specific application and whole system by hardware or software.Those skilled in the art for often kind of specifically application, can use the function described in the realization of various method, but this realization can should not be understood to the scope exceeding embodiment of the present invention protection.
Various illustrative logical block described in the embodiment of the present invention, or 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 be realized by the combination of calculation element, such as digital signal processor and microprocessor, multi-microprocessor, and a Digital Signal Processor Core combined by one or more microprocessor, or other similar configuration any realizes.
The software module that method described in the embodiment of the present invention or the step of algorithm directly can embed hardware, processor performs or the combination of both.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, with make processor can from storage medium reading information, and write information can be deposited to storage medium.Alternatively, storage medium can also be integrated in processor.Processor and storage medium can be arranged in ASIC, and ASIC can be arranged in user terminal.Alternatively, processor and storage medium also can be arranged in the different parts in user terminal.
In one or more exemplary design, the above-mentioned functions described by the embodiment of the present invention can realize in the combination in any of hardware, software, firmware or this three.If realized in software, these functions can store on the medium with computer-readable, or are transmitted on the medium of computer-readable with one or more instruction or code form.Computer readable medium comprises computer storage medium and is convenient to make to allow computer program transfer to the communication medium in other place from a place.Storage medium can be that any general or special computer can the useable medium of access.Such as, 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 may be used for carrying or store the medium that can be read the program code of form with instruction or data structure and other by general or special computer or general or special processor.In addition, any connection can be properly termed computer readable medium, such as, if software is by a coaxial cable, optical fiber computer, twisted-pair feeder, Digital Subscriber Line (DSL) or being also comprised in defined computer readable medium with wireless way for transmittings such as such as infrared, wireless and microwaves 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 magnetic duplication data, and video disc carries out optical reproduction data with laser usually.Above-mentioned combination also can be included in computer readable medium.
Although the foregoing describe 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, when not departing from principle of the present invention and essence, can carry out various omission, replacement and change to the details of said method and system.Such as, merge said method step, thus then belong to scope of the present invention according to the function that the method that essence is identical performs essence identical to realize the identical result of essence.Therefore, scope of the present invention is only defined by the appended claims.

Claims (6)

1. an infra-frame prediction decoding method, is characterized in that, comprises the following steps:
Coding side:
For an intraprediction unit of input, according to the intra prediction direction of setting, be chosen as the reference pixel needed for infra-frame prediction performing this direction;
Use described reference pixel to described predicting unit, predict 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 is obtained, particularly:
33 direction predictions and a DC prediction are used to a predicting unit; Wherein, 33 described direction predictions are specially:
Be 8 parts by the angular divisions departing from level or vertical direction, depart from angle alpha=[3,7,12,18,24,31,38, the 45]/180*pi of horizontal or vertical direction; Adopt the directional precision of 1/32, the pixel distance l=[2,4,7,10,14,19,25,32] of described angle deviating horizontal or vertical direction;
Travel through all prediction direction, entropy code is carried out to the prediction direction of optimum; Wherein: described entropy code is specially:
Carry out binaryzation to described intra prediction direction, then entropy code, to intra prediction direction by the probability occurred order sequence from high to low, shorter code word is distributed in the direction high to probability, and relatively long code word is distributed in the direction low to probability of occurrence;
Decoding end:
Adopt the inverse process parse for frame inner estimation mode of described coding side entropy code;
For an intraprediction unit of input, according to the intra prediction direction of setting, be chosen as the reference pixel needed for infra-frame prediction performing this direction;
Use described reference pixel to described predicting unit, predict 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 is obtained.
2. infra-frame prediction decoding method according to claim 1, is characterized in that, extend with encoded pixel by set intra prediction direction by each pixel of predicting unit crossing, namely the pixel involved by around extended line elects reference pixel as.
3. piece according to claim 1 infra-frame prediction decoding method, is characterized in that, adopts this direction to carry out filtering by 3 ~ 4 pixels around the straight line of location of pixels to be predicted and reference pixel place straight-line intersection and obtains.
4. piece according to claim 3 infra-frame prediction decoding method, it is characterized in that, described filtering is specially: 4tap filtering interpolation, this filter coefficient value is respectively [32-k, 64-k, 32+k, k]/128, wherein k is the straight line of location of pixels to be predicted and the straight line of the reference image vegetarian refreshments of the straight-line intersection left side, reference pixel place or top from location of pixels to be predicted and the distance of reference pixel place straight-line intersection, and the span of k is [0,32].
5. infra-frame prediction decoding method piece according to claim 3 or 4, 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 an Integer Pel time, namely k is 0 or 32, the filter of 4tap is degenerated to the filter of a 3tap, filter coefficient is [1,2,1].
6. a multi-direction infra-frame prediction coding and decoding device, this device comprises:
Coding side reference pixel selected cell, selects to perform the reference pixel required for forecasting process according to predictive mode;
Coding side predicting unit predicted value acquiring unit, according to the position at prediction direction and current predictive pixel place, selects the reference pixel of prediction required for current pixel value and performs filtering interpolation process to obtain predicted value; Particularly:
33 direction predictions and a DC prediction are used to a predicting unit; Wherein, 33 described direction predictions are specially:
Be 8 parts by the angular divisions departing from level or vertical direction, depart from angle alpha=[3,7,12,18,24,31,38, the 45]/180*pi of horizontal or vertical direction; Adopt the directional precision of 1/32, the pixel distance l=[2,4,7,10,14,19,25,32] of described angle deviating horizontal or vertical direction;
Coding side cost function calculation unit, calculates the Coding cost of each predictive mode, and the predictive mode selecting Coding cost minimum is as final coding mode;
Coding side intra prediction mode entropy code unit, the optimum code pattern obtained by coding side carries out entropy code, output code flow; Wherein: described entropy code is specially:
Carry out binaryzation to described intra prediction direction, then entropy code, to intra prediction direction by the probability occurred order sequence from high to low, shorter code word is distributed in the direction high to probability, and relatively long code word is distributed in the direction low to probability of occurrence;
Decoding end intra prediction mode entropy decoding unit, adopts the inverse process parse for frame inner estimation mode of described coding side entropy code to resolve from code stream and obtains 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 perform the reference pixel required for forecasting process according to predictive mode;
Decoding end predicting unit predicted value acquiring unit, according to the position at prediction direction and current predictive pixel place, selects the reference pixel of prediction required for current pixel value and performs filtering interpolation process to obtain predicted value.
CN201210546537.9A 2012-12-14 2012-12-14 A kind of multidirectional infra-frame prediction decoding method and device Active CN102984523B (en)

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 CN102984523A (en) 2013-03-20
CN102984523B true 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)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103248892A (en) * 2013-05-07 2013-08-14 北京大学 Method and device for intra-frame prediction
US20150016516A1 (en) * 2013-07-15 2015-01-15 Samsung Electronics Co., Ltd. Method for intra prediction improvements for oblique modes in video coding
WO2016119666A1 (en) * 2015-01-26 2016-08-04 同济大学 Image coding/decoding method and apparatus
CN105828080B (en) 2015-01-26 2020-02-14 同济大学 Image coding and decoding method and device
CN110545435B (en) * 2018-05-28 2023-05-12 深信服科技股份有限公司 Table top pixel coding method, device and storage medium based on probability model
PT3847815T (en) * 2018-09-16 2023-12-26 Huawei Tech Co Ltd Method and apparatus for prediction
US11425374B2 (en) 2019-03-12 2022-08-23 FG Innovation Company Limited Device and method for coding video data
CN109862371A (en) * 2019-03-12 2019-06-07 北京大学深圳研究生院 A kind of decoding method based on intra prediction, device and filter
CN110072112B (en) * 2019-03-12 2023-05-12 浙江大华技术股份有限公司 Intra-frame prediction method, encoder and storage device
CN110166773B (en) * 2019-06-25 2021-08-31 浙江大华技术股份有限公司 Intra-frame prediction method, video encoding method, video processing apparatus, and storage medium
CN113473135B (en) * 2021-05-26 2023-09-01 北京大学 Intra-frame prediction method, device and medium for nonlinear texture

Citations (5)

* Cited by examiner, † Cited by third party
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
CN102665078A (en) * 2012-05-08 2012-09-12 北方工业大学 Intra prediction mode decision based on direction vector for HEVC (High Efficiency Video Coding)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012169762A (en) * 2011-02-10 2012-09-06 Sony Corp Image coding device, image decoding device, methods thereof, and programs

Patent Citations (5)

* Cited by examiner, † Cited by third party
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
CN102665078A (en) * 2012-05-08 2012-09-12 北方工业大学 Intra prediction mode decision based on direction vector for HEVC (High Efficiency Video Coding)

Also Published As

Publication number Publication date
CN102984523A (en) 2013-03-20

Similar Documents

Publication Publication Date Title
CN102984523B (en) A kind of multidirectional infra-frame prediction decoding method and device
TWI759389B (en) Low-complexity sign prediction for video coding
JP5855013B2 (en) Video coding method and apparatus
US20160073107A1 (en) Method and apparatus for video encoding/decoding using intra prediction
TW201729595A (en) Improved video intra-prediction using position-dependent prediction combination for video coding
TW201640894A (en) Overlapped motion compensation for video coding
TW202021343A (en) Decoder, Encoder and Associated Method and Computer Program
JP2015532552A (en) Predictive mode information upsampling for scalable video coding
CN113196769B (en) Encoding and decoding information related to motion information predictors
CN113056910B (en) Motion vector predictor index coding for video coding
CN101610417A (en) A kind of image filling method, device and equipment
CN103248892A (en) Method and device for intra-frame prediction
KR20200090776A (en) Encoding and decoding methods, and corresponding devices
JP2019521555A (en) Method and apparatus for decoding a block of intra-predicted pictures and corresponding coding method and apparatus
JP7448558B2 (en) Methods and devices for image encoding and decoding
CN104956676A (en) Inter-layer syntax prediction control
JP2022523697A (en) Inter-prediction in geometric divisions with adaptive number regions
CN101790096B (en) Encoding and decoding method and device based on double prediction
JP2022544157A (en) Adaptive resolution management predictive rescaling
JP2022544159A (en) Adaptive resolution management using subframes
KR20210094046A (en) Adaptive block update of unavailable reference frames using explicit and implicit signaling
JP2021524708A (en) Video encoders, video decoders and corresponding methods
EP4145827A1 (en) Encoding and decoding method and apparatus, and device therefor
CN113542737A (en) Encoding mode determining method and device, electronic equipment and storage medium
JP7321345B2 (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