CN105681809B - For the motion compensation process of double forward prediction units - Google Patents
For the motion compensation process of double forward prediction units Download PDFInfo
- Publication number
- CN105681809B CN105681809B CN201610091950.9A CN201610091950A CN105681809B CN 105681809 B CN105681809 B CN 105681809B CN 201610091950 A CN201610091950 A CN 201610091950A CN 105681809 B CN105681809 B CN 105681809B
- Authority
- CN
- China
- Prior art keywords
- pixel
- predicted picture
- motion compensation
- compensation process
- prediction units
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/50—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
- H04N19/503—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
- H04N19/51—Motion estimation or motion compensation
- H04N19/573—Motion compensation with multiple frame prediction using two or more reference frames in a given prediction direction
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/60—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
- H04N19/61—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding in combination with predictive coding
- H04N19/615—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding in combination with predictive coding using motion compensated temporal filtering [MCTF]
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
The embodiment of the invention provides a kind of motion compensation process for double forward prediction units.This method specifically includes that acquisition for predicting two of current image block initial forward-predicted picture blocks, chooses the pixel on described two initial forward-predicted picture blocks;The direction x and the y directional derivative that the pixel on the forward-predicted picture block is calculated using gradient calculation formula calculate the deviant of the pixel on the forward-predicted picture block by training window;According to the direction x of the pixel on the forward-predicted picture block, y directional derivative and deviant, the position of the pixel on the forward-predicted picture block is adjusted.The motion compensation process for double forward prediction units that the embodiment of the present invention proposes can further improve the prediction effect of forecast image block on the basis of not increasing code rate, improve the accuracy of forecast image block, to improve the forecast quality of current image block, the code efficiency of double forward prediction units is improved.
Description
Technical field
The present invention relates to technical field of video coding more particularly to a kind of motion compensation sides for double forward prediction units
Method.
Background technique
With the extensive use of multimedia technology and the increasingly expansion of multi-medium data, video coding technique it is important
Property increasingly highlights.Modern coding techniques are using processes such as hybrid encoding frames, including prediction, transformation, quantization and entropy coding.Prediction
Coding includes intra prediction and inter-prediction, the former is using the image block built of laying equal stress on encoded in same frame image to current
The image block to be encoded is predicted that the latter is the image using the encoded other frames built of laying equal stress on to the figure currently to be encoded
As being predicted.Wherein, the temporal correlation of video sequence is utilized in inter prediction encoding, eliminates spatial redundancy, is current
Very important link in video coding framework.
The method that double forward motion compensations are introduced in latest generation video encoding standard (HEVC) is configured in Lowdelay
Under, when predicting PU (PredictionUnit, current prediction unit), encoder can be searched for obtain two forecast image blocks, and
Using the weighted value of the two forecast image blocks as the predicted value of current PU.In the prior art, there are no a kind of pair of prognostic charts
As block carries out method of the fine tuning of Pixel-level further to promote forecast quality.
Summary of the invention
The embodiment provides a kind of motion compensation process for double forward prediction units, to improve prognostic chart
As the accuracy of block.
To achieve the goals above, this invention takes following technical solutions.
A kind of motion compensation process for double forward prediction units, comprising:
Two forward-predicted picture blocks for predicting current image block are obtained, described two forward-predicted picture blocks are chosen
On pixel;
The direction x and the y directional derivative of the pixel on the forward-predicted picture block are calculated using gradient calculation formula,
The deviant of the pixel on the forward-predicted picture block is calculated by training window;
According to the direction x of the pixel on the forward-predicted picture block, y directional derivative and deviant, to the forward direction
The position of pixel on forecast image block is adjusted.
Further, the acquisition chooses described two for predicting two forward-predicted picture blocks of current image block
Pixel on a forward-predicted picture block, comprising:
Choose the pixel p on described two forward-predicted picture blocks1[i, j] and p0[i, j], if pixel p0[i, j's]
Optimum prediction pixel adjusted is p'0[i, j], pixel p'0[i, j] is relative to pixel p0The offset of [i, j] is (vx,
vy), if pixel p0The optimum prediction pixel adjusted of [i, j] is p'1[i, j], pixel p'1[i, j] is relative to pixel
Point p1The offset of [i, j] is (- vx,-vy);
According to Taylor's single order expansion formula, p'1[i, j] and p'0The estimated value calculation formula of [i, j] is as follows:
p'0[i,j]≈p0[i,j]+vx·Ix0+vy·Iy0
p'1[i,j]≈p1[i,j]-vx·Ix1-vy·Iy1
Ix0,Iy0Indicate pixel p0The direction x of [i, j] and y directional derivative, Ix1,Iy1Indicate pixel p1The side x of [i, j]
To with y directional derivative.
Further, the x that the pixel on the forward-predicted picture block is calculated using gradient calculation formula
Direction and y directional derivative, comprising:
I is calculated by following gradient calculation formulax1,Ix0,Iy1,Iy0:
Ix0=(p0[i+Δ,j]-p0[i-Δ,j])/2
Ix1=(p1[i+Δ,j]-p1[i-Δ,j])/2
Iy0=(p0[i,j+Δ]-p0[i,j-Δ])/2
Iy1=(p1[i,j+Δ]-p1[i,j-Δ])/2
Δ indicates preset image element interpolation precision, p in formula0[i+Δ,j]、p0[i-Δ,j]、p1[i+Δ,j]、p1
[i-Δ,j]、p0[i,j+Δ]、p0[i,j-Δ]、p1[i,j+Δ]、p1[i, j- Δ] is obtained by DCT interpolation filter interpolation respectively
It arrives.
Further, the deviant that the pixel on the forward-predicted picture block is calculated by training window,
Include:
Respectively with pixel p1[i, j] and p0Certain contiguous range opens a trained window around [i, j], utilizes least square
Method solves deviant vx,vy。
Wherein windowing training calculates calculation method specifically:
Δ [i, j]=p'0[i,j]-p'1[i,j]
=(p0[i,j]+vx[i,j]·Ix0[i,j]+vy[i,j]·Iy0[i,j])
-(p1[i,j]-vx[i,j]·Ix1[i,j]-vy[i,j]·Iy1[i,j])
By opening a window, training is askedMinimum value obtains optimal offset m in, wherein
det1=s3s5-s2s6,det2=s1s6-s3s4, det=s1s5-s2s4;
Wherein, Ω indicates the training window region choose when least square operation.
Further, it is described according to the direction x of the pixel on the forward-predicted picture block, y directional derivative and partially
Shifting value is adjusted the position of the pixel on the forward-predicted picture block, comprising:
As unit of 2x2 pixel, with the offset of the positional shift mean value of adjacent four pixels as a whole, to phase
The positional shift value of adjacent 4 pixels carries out mean filter, and mean filter calculation formula is as follows:
vx_average=(vx1+vx2+vx3+vx4)/4
vy_average=(vy1+vy2+vy3+vy4)/4
(v in above-mentioned formulax1, vy1)、(vx2, vy2)、(vx3, vy3)、(vx4, vy4) it is respectively adjacent four pixels
Positional shift value.
According to Taylor's single order expansion formula, after the adjustment of positional shift value, two initial pixel point p1[i, j] and p0[i,j]
Adjustment are as follows:
p'0[i,j]≈p0[i,j]+vx_average·Ix0+vy_average·Iy0
p'1[i,j]≈p1[i,j]-vx_average·Ix1-vy_average·Iy1
Further, the method further include:
The final predicted value of corresponding pixel points in the current image block adjusts are as follows:
Ppre[i, j]=(p'1[i,j]+p'0[i,j])/2
It is completed according to the coding using the current image block after the motion compensation process for double forward prediction units
RD cost afterwards, to determine whether using the motion compensation process for double forward prediction units.
As can be seen from the technical scheme provided by the above-mentioned embodiment of the present invention, the embodiment of the present invention propose for before double
To the motion compensation process of predicting unit by Taylor expansion and high-precision gradient calculating process, in original image prediction block
On the basis of be furthermore achieved Pixel-level predicted value fine tuning, can further be improved on the basis of not increasing code rate pre-
The prediction effect of altimetric image block, improves the accuracy of forecast image block, to improve the forecast quality of current image block, improves double
The code efficiency of forward prediction unit.
The additional aspect of the present invention and advantage will be set forth in part in the description, these will become from the following description
Obviously, or practice through the invention is recognized.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, required use in being described below to embodiment
Attached drawing be briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this
For the those of ordinary skill of field, without any creative labor, it can also be obtained according to these attached drawings other
Attached drawing.
Fig. 1 is a kind of realization principle signal of motion compensation process for double forward direction PU provided in an embodiment of the present invention
Figure;
Fig. 2 is a kind of process flow diagram of the motion compensation process for double forward direction PU provided in an embodiment of the present invention;
Fig. 3 is that the positional shift value of adjacent 4 pixels of one kind provided in an embodiment of the present invention is filtered schematic diagram.
Specific embodiment
Embodiments of the present invention are described below in detail, the example of the embodiment is shown in the accompanying drawings, wherein from beginning
Same or similar element or element with the same or similar functions are indicated to same or similar label eventually.Below by ginseng
The embodiment for examining attached drawing description is exemplary, and for explaining only the invention, and is not construed as limiting the claims.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singular " one " used herein, " one
It is a ", " described " and "the" may also comprise plural form.It is to be further understood that being arranged used in specification of the invention
Diction " comprising " refer to that there are the feature, integer, step, operation, element and/or component, but it is not excluded that in the presence of or addition
Other one or more features, integer, step, operation, element, component and/or their group.It should be understood that when we claim member
Part is " connected " or when " coupled " to another element, it can be directly connected or coupled to other elements, or there may also be
Intermediary element.In addition, " connection " used herein or " coupling " may include being wirelessly connected or coupling.Wording used herein
"and/or" includes one or more associated any cells for listing item and all combinations.
Those skilled in the art of the present technique are appreciated that unless otherwise defined, all terms used herein (including technology art
Language and scientific term) there is meaning identical with the general understanding of those of ordinary skill in fields of the present invention.Should also
Understand, those terms such as defined in the general dictionary, which should be understood that, to be had and the meaning in the context of the prior art
The consistent meaning of justice, and unless defined as here, it will not be explained in an idealized or overly formal meaning.
In order to facilitate understanding of embodiments of the present invention, it is done by taking several specific embodiments as an example below in conjunction with attached drawing further
Explanation, and each embodiment does not constitute the restriction to the embodiment of the present invention.
Technical problems to be solved of the embodiment of the present invention be to double forward-predicted picture blocks carry out Pixel-level fine tuning with into
One step promotes forecast quality.By Taylor expansion and high-precision gradient calculating process, the embodiment of the present invention is in original image
The predicted value fine tuning of Pixel-level is furthermore achieved on the basis of prediction block, is further improved on the basis of not increasing code rate
The prediction effect of prediction block improves the code efficiency of double forward prediction units.
A kind of realization principle schematic diagram such as Fig. 1 of motion compensation process for double forward direction PU provided in an embodiment of the present invention
Shown, specific process flow is as shown in Fig. 2, include following processing step:
Step S210, according to Taylor's single order expansion formula, optimum prediction pixel p' is calculated1[i, j] and p'0[i, j's]
Estimated value.
For double forward direction PU, search for obtain two for predicting current image block using block-based motion estimation algorithm
Initial forward-predicted picture block, before this two initial forward-predicted picture blocks are all located at current image block on a timeline
Face.
The pixel p of corresponding position on the forward-predicted picture block initial for two1[i, j] and p0[i, j], it is assumed that this hair
The bright pixel p for needing to solve0The optimum prediction pixel adjusted of [i, j] is p'0[i, j], pixel p'0[i, j] is located at
Pixel p0Near [i, j], relative to initial position p0The offset of [i, j] is (vx, vy).The pixel p for needing to solve1[i,j]
Optimum prediction pixel adjusted be p'1[i, j], pixel p'1[i, j] is located at pixel p1Near [i, j], relative to
Home position p1The offset of [i, j] is (- vx,-vy)。
According to Taylor's single order expansion formula, p'1[i, j] and p'0The estimated value of [i, j] is shown below:
p'0[i,j]≈p0[i,j]+vx·Ix0+vy·Iy0
p'1[i,j]≈p1[i,j]-vx·Ix1-vy·Iy1
Ix0,Iy0Indicate pixel p0The direction x of [i, j] and y directional derivative, Ix1,Iy1Indicate pixel p1The side x of [i, j]
To with y directional derivative.
Step S220, derivative value I is calculated by gradient calculation formulax1,Ix0,Iy1,Iy0。
In order to which p' is calculated1[i, j] and p'0[i, j] needs to respectively obtain Ix1,Ix0,Iy1,Iy0And vx,vy.In order to
High-precision gradient value is calculated, the embodiment of the present invention uses high-precision image element interpolation scheme, passes through following gradient
Calculation formula calculates Ix1,Ix0,Iy1,Iy0:
Ix0=(p0[i+Δ,j]-p0[i-Δ,j])/2
Ix1=(p1[i+Δ,j]-p1[i-Δ,j])/2
Iy0=(p0[i,j+Δ]-p0[i,j-Δ])/2
Iy1=(p1[i,j+Δ]-p1[i,j-Δ])/2
Δ indicates preset image element interpolation precision in formula.Wherein, p0[i+Δ,j]、p0[i-Δ,j]、p1[i+Δ,
j]、p1[i-Δ,j]、p0[i,j+Δ]、p0[i,j-Δ]、p1[i,j+Δ]、p1[i, j- Δ] can be respectively by DCT (Discrete
Cosine Transform, discrete cosine transform) interpolation filter interpolation obtains.
1/12 location of pixels pixel value is calculated using image interpolation method, this programme uses 8 ladder degree filtering interpolations
The position gradient value of original predictive pixel, interpolation filter system is calculated according to original predictive pixel present position in device
Number is as follows:
Whole location of pixels: { -8,19, -40,0,43, -20,12, -6 }
1/4 location of pixels: { -8,12, -16, -32,56, -16,12, -8 }
1/2 location of pixels: { 0,4,8, -52,52, -8, -4,0 }
3/4 location of pixels: { 8, -12,16, -56,32,16, -12,8 }
Step S230, deviant v is calculated by training windowx,vy。
For predicted value p' adjusted1[i, j] and p'0[i, j], it is believed that difference value is the smaller the better, basic herein
On, respectively with pixel p1[i, j] and p0Certain contiguous range (such as 5x5 range) opens a trained window around [i, j], utilizes
Least square method solves deviant vx,vy。
Wherein windowing training calculates calculation method specifically:
Δ [i, j]=p'0[i,j]-p'1[i,j]
=(p0[i,j]+vx[i,j]·Ix0[i,j]+vy[i,j]·Iy0[i,j])
-(p1[i,j]-vx[i,j]·Ix1[i,j]-vy[i,j]·Iy1[i,j])
By opening a window, training is askedOptimal deviant can be calculated in minimum value, and with pixel total optimization in window
Optimal offset of the offset as current pixel, more robust effect can be obtained.Wherein,
det1=s3s5-s2s6,det2=s1s6-s3s4, det=s1s5-s2s4;
Wherein, Ω indicates the training window region choose when least square operation.
In practical applications, p'1[i, j] is relative to p1[i, j] positional shift can also be expressed as (scale*vx, scale*
vy), wherein scale indicates p1Reference frame where [i, j] and present frame distance and p0Reference frame and present frame distance where [i, j]
The ratio between.
Step S240, the positional shift of adjacent four pixels is filtered
To avoid the case where pixel prediction effect in part is deteriorated after this patent method, we are to adjacent 4 pixels
Deviant vx,vyPass through the displacement trim values after filtering processing as a whole.
As unit of 2x2 pixel, with the offset of the positional shift mean value of adjacent four pixels as a whole, to phase
The positional shift value of adjacent 4 pixels carries out mean filter, and Fig. 3 is adjacent 4 pixels of one kind provided in an embodiment of the present invention
Positional shift value be filtered schematic diagram.Mean filter calculation method specifically:
vx_average=(vx1+vx2+vx3+vx4)/4
vy_average=(vy1+vy2+vy3+vy4)/4
(v in above-mentioned formulax1, vy1)、(vx2, vy2)、(vx3, vy3)、(vx4, vy4) it is respectively adjacent four pixels
Positional shift value.
According to Taylor's single order expansion formula, after the adjustment of positional shift value, two initial prediction pixel point p1[i, j] and
p0[i, j] adjustment are as follows:
p'0[i,j]≈p0[i,j]+vx_average·Ix0+vy_average·Iy0
p'1[i,j]≈p1[i,j]-vx_average·Ix1-vy_average·Iy1
The final predicted value of corresponding pixel points in current image block adjusts are as follows:
Ppre[i, j]=(p'1[i,j]+p'0[i,j])/2
Step S250, increase coding maker positions at different levels.After the predicted value adjustment of each pixel, with RD
(rate-distortion cost, rate distortion) cost is that principle determines whether present encoding unit uses in the embodiment of the present invention
Scheme.
Flag and PU grades of the flag that CTU (coding tree unit) grade is arranged shows whether current CTU or PU uses the present invention
The motion compensation process of proposition.
Method specifically:
Coding side uses two schemes to carry out motion compensation each CTU respectively, and a kind of scheme is proposed by the present invention
Motion compensation process, another kind is using the original encoding scheme of encoder, using RD cost as index after the completion of two schemes coding
Optimal motion compensated schemes are selected, if compensation scheme RD cost proposed by the present invention is lower, CTU grades of flag bits are set as 1,
Otherwise it is set as 0.For the flag bit with bit stream to decoder, decoder selects corresponding mode to be solved after decoding the flag bit
Code end motion compensation.Wherein,
RD-cost=R+ λ * D
Bit needed for the current CTU of R presentation code, D indicate the pixel value deviation between reconstruct CTU and original CT U, and λ is constant,
It is determined by encoder.
In addition, one will be increased for the PU predicted in the CTU using AMVP mode when CTU grades of flag bits are 1
Flag bit shows whether the PU uses motion compensated schemes proposed by the present invention.
The present invention is integrated on HEVC reference software HM12.0, for HEVC universal test sequence, testing time 2s's
Under the conditions of, the lower performance realized of Lowdelay configuration is as shown in table 1.
Experimental data shows that this programme Y-component on HM12.0 platform can obtain average 1.3% performance gain, right
It is become apparent in the sequence performance boost with texture-rich and slight movement, such as BQsquare, this algorithm can be under the sequence
Obtain 3.9% performance gain.
Although can be equally applicable to it should be noted that the present invention is integrated in HEVC reference software HM12.0 with it
Other encoding and decoding platforms, such as H.264/AVC, AVS2 etc..
Performance data of 1 algorithm of table under different cycle tests
In conclusion the motion compensation process for double forward prediction units that the embodiment of the present invention proposes passes through Taylor's exhibition
It opens and high-precision gradient calculating process, the predicted value of Pixel-level is furthermore achieved on the basis of original image prediction block
Fine tuning can further improve the prediction effect of forecast image block on the basis of not increasing code rate, improve forecast image block
Accuracy improve the code efficiency of double forward prediction units to improve the forecast quality of current image block.
Those of ordinary skill in the art will appreciate that: attached drawing is the schematic diagram of one embodiment, module in attached drawing or
Process is not necessarily implemented necessary to the present invention.
As seen through the above description of the embodiments, those skilled in the art can be understood that the present invention can
It realizes by means of software and necessary general hardware platform.Based on this understanding, technical solution of the present invention essence
On in other words the part that contributes to existing technology can be embodied in the form of software products, the computer software product
It can store in storage medium, such as ROM/RAM, magnetic disk, CD, including some instructions are used so that a computer equipment
(can be personal computer, server or the network equipment etc.) executes the certain of each embodiment or embodiment of the invention
Method described in part.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment
Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for device or
For system embodiment, since it is substantially similar to the method embodiment, so describing fairly simple, related place is referring to method
The part of embodiment illustrates.Apparatus and system embodiment described above is only schematical, wherein the conduct
The unit of separate part description may or may not be physically separated, component shown as a unit can be or
Person may not be physical unit, it can and it is in one place, or may be distributed over multiple network units.It can root
According to actual need that some or all of the modules therein is selected to achieve the purpose of the solution of this embodiment.Ordinary skill
Personnel can understand and implement without creative efforts.
The foregoing is only a preferred embodiment of the present invention, but scope of protection of the present invention is not limited thereto,
In the technical scope disclosed by the present invention, any changes or substitutions that can be easily thought of by anyone skilled in the art,
It should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be with scope of protection of the claims
Subject to.
Claims (6)
1. a kind of motion compensation process for double forward prediction units characterized by comprising
Two forward-predicted picture blocks for predicting current image block are obtained, are chosen on described two forward-predicted picture blocks
Pixel;
The direction x and the y directional derivative that the pixel on the forward-predicted picture block is calculated using gradient calculation formula, are passed through
Training window calculates the deviant of the pixel on the forward-predicted picture block;
According to the direction x of the pixel on the forward-predicted picture block, y directional derivative and deviant, to the forward prediction
The position of pixel on image block is adjusted;
Increase coding maker positions at different levels, after the predicted value adjustment of each pixel, using rate distortion RD cost as principle
Determine present encoding unit whether using the motion compensation process for double forward prediction units.
2. the motion compensation process according to claim 1 for double forward prediction units, which is characterized in that described obtains
It takes in two forward-predicted picture blocks of prediction current image block, chooses the pixel on described two forward-predicted picture blocks
Point, comprising:
Choose the pixel p on described two forward-predicted picture blocks1[i, j] and p0[i, j], if pixel p0The adjustment of [i, j]
Optimum prediction pixel afterwards is p'0[i, j], pixel p'0[i, j] is relative to pixel p0The offset of [i, j] is (vx, vy),
If pixel p0The optimum prediction pixel adjusted of [i, j] is p'1[i, j], pixel p'1[i, j] is relative to pixel p1
The offset of [i, j] is (- vx,-vy);
According to Taylor's single order expansion formula, p'1[i, j] and p'0The estimated value calculation formula of [i, j] is as follows:
p'0[i,j]≈p0[i,j]+vx·Ix0+vy·Iy0
p'1[i,j]≈p1[i,j]-vx·Ix1-vy·Iy1
Ix0,Iy0Indicate pixel p0The direction x of [i, j] and y directional derivative, Ix1,Iy1Indicate pixel p1The direction x of [i, j] and y
Directional derivative.
3. the motion compensation process according to claim 2 for double forward prediction units, which is characterized in that the benefit
The direction x and the y directional derivative of the pixel on the forward-predicted picture block are calculated with gradient calculation formula, comprising:
I is calculated by following gradient calculation formulax1,Ix0,Iy1,Iy0:
Ix0=(p0[i+Δ,j]-p0[i-Δ,j])/2
Ix1=(p1[i+Δ,j]-p1[i-Δ,j])/2
Iy0=(p0[i,j+Δ]-p0[i,j-Δ])/2
Iy1=(p1[i,j+Δ]-p1[i,j-Δ])/2
Δ indicates preset image element interpolation precision, p in formula0[i+Δ,j]、p0[i-Δ,j]、p1[i+Δ,j]、p1[i-
Δ,j]、p0[i,j+Δ]、p0[i,j-Δ]、p1[i,j+Δ]、p1[i, j- Δ] is obtained by DCT interpolation filter interpolation respectively.
4. the motion compensation process according to claim 3 for double forward prediction units, which is characterized in that described is logical
Cross the deviant for training window to calculate the pixel on the forward-predicted picture block, comprising:
Respectively with pixel p1[i, j] and p0Certain contiguous range opens a trained window around [i, j], is asked using least square method
Solve deviant vx,vy;
Wherein windowing training calculates calculation method specifically:
Θ [i, j]=p'0[i,j]-p'1[i,j]
≈(p0[i,j]+vx[i,j]·Ix0[i,j]+vy[i,j]·Iy0[i,j])
-(p1[i,j]-vx[i,j]·Ix1[i,j]-vy[i,j]·Iy1[i,j])
By opening a window, training is askedMinimum value obtains optimal offset m in, wherein
det1=s3s5-s2s6,det2=s1s6-s3s4, det=s1s5-s2s4;
Wherein, Ω indicates the training window region choose when least square operation.
5. the motion compensation process according to claim 4 for double forward prediction units, which is characterized in that the root
According to the direction x of the pixel on the forward-predicted picture block, y directional derivative and deviant, to the forward-predicted picture block
On the position of pixel be adjusted, comprising:
As unit of 2x2 pixel, with the offset of the positional shift mean value of adjacent four pixels as a whole, to adjacent 4
The positional shift value of a pixel carries out mean filter, and mean filter calculation formula is as follows:
vx_average=(vx1+vx2+vx3+vx4)/4
vy_average=(vy1+vy2+vy3+vy4)/4
(v in above-mentioned formulax1, vy1)、(vx2, vy2)、(vx3, vy3)、(vx4, vy4) be respectively adjacent four pixels position it is inclined
Shifting value:
According to Taylor's single order expansion formula, after the adjustment of positional shift value, two initial pixel point p1[i, j] and p0[i, j] adjustment
Are as follows:
p'0[i,j]≈p0[i,j]+vx_average·Ix0+vy_average·Iy0
p'1[i,j]≈p1[i,j]-vx_average·Ix1-vy_average·Iy1。
6. the motion compensation process according to claim 5 for double forward prediction units, which is characterized in that the side
Method further include:
The final predicted value of corresponding pixel points in the current image block adjusts are as follows:
Ppre[i, j]=(p'1[i,j]+p'0[i,j])/2
After the completion of the coding using the current image block after the motion compensation process for double forward prediction units
RD cost, to determine whether using the motion compensation process for double forward prediction units.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610091950.9A CN105681809B (en) | 2016-02-18 | 2016-02-18 | For the motion compensation process of double forward prediction units |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610091950.9A CN105681809B (en) | 2016-02-18 | 2016-02-18 | For the motion compensation process of double forward prediction units |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105681809A CN105681809A (en) | 2016-06-15 |
CN105681809B true CN105681809B (en) | 2019-05-21 |
Family
ID=56304681
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610091950.9A Active CN105681809B (en) | 2016-02-18 | 2016-02-18 | For the motion compensation process of double forward prediction units |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105681809B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108337513B (en) * | 2017-01-20 | 2021-07-23 | 浙江大学 | Intra-frame prediction pixel generation method and device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101766030A (en) * | 2007-07-31 | 2010-06-30 | 三星电子株式会社 | Use video coding and the coding/decoding method and the equipment of weight estimation |
CN102742272A (en) * | 2010-01-18 | 2012-10-17 | 索尼公司 | Image processing device, method, and program |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1982532A2 (en) * | 2006-02-02 | 2008-10-22 | Thomson Licensing | Method and apparatus for motion estimation using combined reference bi-prediction |
-
2016
- 2016-02-18 CN CN201610091950.9A patent/CN105681809B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101766030A (en) * | 2007-07-31 | 2010-06-30 | 三星电子株式会社 | Use video coding and the coding/decoding method and the equipment of weight estimation |
CN102742272A (en) * | 2010-01-18 | 2012-10-17 | 索尼公司 | Image processing device, method, and program |
Non-Patent Citations (1)
Title |
---|
Overview of HEVC High-Level Syntax and Reference Picture Management;Rickard sjoberg,Ying Chen;《IEEE AND TRANSACTIONS ON CIRCUITS AND SYSTEMS FOR VIDEO TECHNOLOGY》;20121231;第22卷(第12期);全文 |
Also Published As
Publication number | Publication date |
---|---|
CN105681809A (en) | 2016-06-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101573984B (en) | Method and apparatus for estimating motion vector using plurality of motion vector predictors, encoder, decoder, and decoding method | |
CN100463527C (en) | Multi view point video image parallax difference estimating method | |
CN101816183B (en) | Method and apparatus for inter prediction encoding/decoding an image using sub-pixel motion estimation | |
KR101443169B1 (en) | Method, apparatus and device for obtaining video image motion information and template construction method | |
CN101790092B (en) | Intelligent filter designing method based on image block encoding information | |
TW201739252A (en) | Method and apparatus of video coding with affine motion compensation | |
CN101243691B (en) | Method and apparatus for estimating motion based on block | |
CA2450246A1 (en) | Moving picture coding/decoding method and device using multiple reference frames for motion estimation | |
CN110312132A (en) | A kind of decoding method, device and its equipment | |
BR112012025307B1 (en) | METHOD OF INTERPOLING AN IMAGE, EQUIPMENT FOR INTERPOLATING AN IMAGE, AND COMPUTER-READABLE RECORDING MEDIA | |
NO313440B1 (en) | Motion compensation for digital video signals with line jumps | |
WO2012045225A1 (en) | System and method for low complexity motion vector derivation | |
KR19990015907A (en) | Motion vector coding method and device therefor | |
Zhang et al. | Multiple linear regression for high efficiency video intra coding | |
WO2002071741A2 (en) | A device and method for performing half-pixel accuracy fast search in video coding | |
CN110177282A (en) | A kind of inter-frame prediction method based on SRCNN | |
WO2007069487A1 (en) | Compression-encoding method of multi-viewpoint images, and decoding method | |
CN102316323B (en) | Rapid binocular stereo-video fractal compressing and uncompressing method | |
CN104519363B (en) | Video encoding/decoding, corresponding computer program and video coding/decoding apparatus | |
CN105681809B (en) | For the motion compensation process of double forward prediction units | |
CN101931739A (en) | Absolute error sum estimation system and method | |
CN108521573A (en) | A kind of distributed video compressed sensing decoding method | |
EP2571273A2 (en) | Method for encoding and decoding video and apparatus for encoding and decoding video using expanded block filtering | |
CN102263952B (en) | Quick fractal compression and decompression method for binocular stereo video based on object | |
KR101601848B1 (en) | Apparatus and method for generating inter prediction frame and reference frame interpolation apparatus and method therefor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |