CN102377992B - Method and device for obtaining predicted value of motion vector - Google Patents
Method and device for obtaining predicted value of motion vector Download PDFInfo
- Publication number
- CN102377992B CN102377992B CN201010247275.7A CN201010247275A CN102377992B CN 102377992 B CN102377992 B CN 102377992B CN 201010247275 A CN201010247275 A CN 201010247275A CN 102377992 B CN102377992 B CN 102377992B
- Authority
- CN
- China
- Prior art keywords
- motion vector
- current block
- position coordinates
- predicted value
- decoding
- 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
- 238000000034 method Methods 0.000 title claims abstract description 48
- 238000005284 basis set Methods 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 4
- 238000002474 experimental method Methods 0.000 description 3
- 239000000654 additive Substances 0.000 description 2
- 230000000996 additive effect Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- NUHSROFQTUXZQQ-UHFFFAOYSA-N isopentenyl diphosphate Chemical compound CC(=C)CCO[P@](O)(=O)OP(O)(O)=O NUHSROFQTUXZQQ-UHFFFAOYSA-N 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 238000013139 quantization Methods 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
Images
Landscapes
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
The invention discloses a method and device for obtaining a predicted value of a motion vector. The technical scheme provided by the embodiment of the invention is as follows: the method comprises the following steps of: obtaining position coordinates and a motion vector of more than one encoded/decoded block neighboring a current block; obtaining association parameters of the motion vector and the position coordinates in accordance with the preset congruent relationship between the motion vector and the position coordinates, and the position coordinates and the motion vector of more than one encoded/decoded block; and obtaining a predicted value of the motion vector of the current block in accordance with the preset congruent relationship between the motion vector and the position coordinates, and the position coordinates of the current block and the association parameters of the motion vector and the motion vector. The embodiment disclosed by the invention can be applied to the video image encoding and decoding process, such as H. 264/AVC and the like.
Description
Technical field
The present invention relates to encoding video pictures technology, relate in particular to a kind of acquisition methods and device of predicted value of motion vector.
Background technology
At present, mainly adopt the inter prediction technology of motion compensation to encode to video image.Coding side is in the time encoding to the current block in present frame, first from the video frame image of having encoded, obtain the prediction piece that current block is corresponding, then calculate the residual values between prediction piece and current block, this residual values is encoded, and the residual values after coding and the motion vector of current block are write to code stream in the lump send to decoding end; Decoding end decodes described residual values and motion vector from the code stream receiving, and obtains according to this motion vector the prediction piece that current block is corresponding, according to current block described in the residual values decoding and reconstituting of described prediction piece and decoding acquisition.
In order to improve coding quality, reduce the shared bit number of encoding motion vector, coding side can be encoded to the motion vector difference of current block (difference of the predicted value of the motion vector of current block and the motion vector of current block), decoding end decodes described motion vector difference from the code stream receiving, and obtains the motion vector of current block according to the predicted value of this motion vector difference and motion vector.
In the prior art, the method that coding side/decoding end is obtained the predicted value of the motion vector of current block can comprise: coding side/decoding end is obtained the above coded block/motion vector of decoding block adjacent with current block; Coding side/decoding end is obtained the intermediate value of the motion vector of decoding block of a described above coded block adjacent with current block/as the predicted value of the motion vector of described current block.
But, if the object in scene is nonrigid (the tangible sell of one's property life of object, for example: movement direction of object be near or during away from camera lens), the method of the predicted value of the motion vector of current block that what prior art provided obtain cannot be obtained the predicted value of motion vector more exactly, thereby causes the problem that code efficiency is lower.
Summary of the invention
Embodiments of the invention provide a kind of acquisition methods and device of predicted value of motion vector, can improve the code efficiency to non-rigid object.
On the one hand, provide a kind of acquisition methods of predicted value of motion vector, having comprised: obtained above position coordinates and the motion vector of coding/decoding piece adjacent with current block; According to the corresponding relation of the motion vector setting in advance and position coordinates, and described above position coordinates and the motion vector of coding/decoding piece, obtain the Relation Parameters of motion vector and position coordinates; According to the corresponding relation of the described motion vector setting in advance and position coordinates, and the Relation Parameters of the position coordinates of described current block and described motion vector and position coordinates, obtain the predicted value of the motion vector of described current block.
On the other hand, provide a kind of acquisition device of predicted value of motion vector, having comprised:
The first acquisition module, for obtaining above position coordinates and the motion vector of coding/decoding piece adjacent with current block;
The second acquisition module, the motion vector setting in advance for basis and the corresponding relation of position coordinates, and described the first acquisition module obtain one above position coordinates and the motion vector of coding/decoding piece, obtain the Relation Parameters of motion vector and position coordinates;
The 3rd acquisition module, for according to described in the motion vector that sets in advance and the corresponding relation of position coordinates, and the motion vector that obtains of the position coordinates of described current block and described the second acquisition module and the Relation Parameters of position coordinates, obtain the predicted value of the motion vector of described current block.
The acquisition methods of the predicted value of the motion vector that the embodiment of the present invention provides and device, obtain the predicted value of the motion vector of current block according to the corresponding relation of the motion vector setting in advance and position coordinates, the predicted value of this motion vector is more accurate, be conducive to non-rigid object image to be encoded, improved code efficiency and coding quality.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
The acquisition methods flow chart one of the predicted value of the motion vector that Fig. 1 provides for the embodiment of the present invention;
The current block that Fig. 2 provides for the embodiment of the present invention and the schematic diagram one of coding/decoding piece;
The current block that Fig. 3 provides for the embodiment of the present invention and the schematic diagram two of coding/decoding piece;
The acquisition methods flowchart 2 of the predicted value of the motion vector that Fig. 4 provides for the embodiment of the present invention;
The acquisition methods flow chart 3 of the predicted value of the motion vector that Fig. 5 provides for the embodiment of the present invention;
The structural representation one of the acquisition device of the predicted value of the motion vector that Fig. 6 provides for the embodiment of the present invention;
The structural representation two of the acquisition device of the predicted value of the motion vector that Fig. 7 provides for the embodiment of the present invention;
The structural representation of coding module in the acquisition device of the predicted value of the motion vector that Fig. 8 provides for the embodiment of the present invention shown in Fig. 7;
The structural representation of decoder module in the acquisition device of the predicted value of the motion vector that Fig. 9 provides for the embodiment of the present invention shown in Fig. 7;
Figure 10 is for adopting the acquisition methods of predicted value of the motion vector that provides of the embodiment of the present invention and device to be compared with the prior art the result schematic diagram one of experiment;
Figure 11 is for adopting the acquisition methods of predicted value of the motion vector that provides of the embodiment of the present invention and device to be compared with the prior art the result schematic diagram two of experiment;
Figure 12 is for adopting the acquisition methods of predicted value of the motion vector that provides of the embodiment of the present invention and device to be compared with the prior art the result schematic diagram three of experiment.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Based on the embodiment in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
In order to solve the problem that prior art is lower to the code efficiency of non-rigid object, the embodiment of the present invention provides a kind of acquisition methods and device of predicted value of motion vector.
As shown in Figure 1, the acquisition methods of the predicted value of the motion vector that the embodiment of the present invention provides, comprising:
In the present embodiment, step 101 can be chosen arbitrarily a coding/decoding piece above from the adjacent piece of coding/decoding of current block, obtains this position coordinates and motion vector of coding/decoding piece; Also can be according to the piece of the coding/decoding selection rule setting in advance, from the adjacent piece of coding/decoding of current block, choose a coding/decoding piece above, obtain this position coordinates and motion vector of coding/decoding piece, for example: can set in advance coding/decoding piece selection rule is to choose the current block left side piece of coding/decoding of the top and the coded block of upside leftmost, as shown in Figure 2, if current block is E, step 101 can according to this coding/decoding piece selection rule choose A and B, obtain position coordinates and the motion vector of A and B.Certainly,, in actual use procedure, step 101 also can be chosen coding/decoding piece by other means, every kind of situation is not repeated one by one herein.
Further, if in step 101, coding side has been chosen arbitrarily more than one coded block, obtain this position coordinates and motion vector of coding/decoding piece, choose the consistency of piece in order to ensure decoding end and coding side, make that between coding side and the result of decoding end subsequent treatment, error is less, accuracy is higher, coding side need to send to decoding end by the relevant information of selected coded block, to make decoding end to choose corresponding decoding block according to the relevant information of this coded block, obtain this position coordinates and motion vector of decoding block.
The present embodiment not to current block and the size of coding/decoding piece limit, the size of the piece of coding/decoding that step 101 is chosen can be identical with the size of current block, for example: as shown in Figure 2, current block E is identical with the size of the adjacent piece of coding/decoding A, B, C, is 4 × 4; Also can with the varying in size of current block, for example: as shown in Figure 3, current block is E (16 × 16), and the piece of coding/decoding that E is adjacent is A (8 × 4), B (4 × 8) and C (16 × 8), and A, B, C and E vary in size.
In the present embodiment, the unit length that can be using the size of smallest blocks in the present frame at current block place as position coordinates, step 101 is obtained an above position coordinates for coding/decoding piece according to this unit length.For example: if the size of smallest blocks is 4 × 4 in the present frame at current block place, can 4 × 4 be the unit lengths of position coordinates system, first 4 × 4 the position coordinates in this coordinate system is (0,0), the coordinate of second 4 × 4 is (1,0), by that analogy.
Certainly, these are only for example, in actual use procedure, position coordinates system setting unit length by other means does not repeat every kind of situation herein one by one.
In the present embodiment, the corresponding relation of motion vector and position coordinates can be as shown in formula (1):
Wherein, x, y are position coordinates; MV
xfor the motion vector components of x coordinate direction, MV
yfor the motion vector components of y coordinate direction;
with f be the Relation Parameters of motion vector and position coordinates; I, j are random natural number.
In order to reduce amount of calculation, save encoding and decoding resources, the corresponding relation of motion vector and position coordinates also can be as shown in formula (2):
Wherein, x, y are position coordinates; MV
xfor the motion vector components of x coordinate direction, MV
yfor the motion vector components of y coordinate direction;
with f be the Relation Parameters of motion vector and position coordinates; I, j are random natural number.
The present embodiment is with the corresponding relation of motion vector and position coordinates as shown in formula (1), and i=j=1 is that example describes.
In the present embodiment, if step 101 has been chosen N the coding/decoding piece adjacent with current block, and to obtain the individual position coordinates of coding/decoding piece of this N be (x
n, y
n), the individual motion vector of coding/decoding piece of this N is (MV
x, n, MV
y, n), wherein, 1 <=n <=N; Step 102 can comprise:
1, obtain motion vector components in x direction and the Relation Parameters of position coordinates.
First, by the individual N x direction position coordinates x of coding/decoding piece
nwith motion vector components MV
x, nbring formula (1) into and obtain the following formula (3) in x direction:
Then, described formula (3) is out of shape, obtains formula (4), obtain motion vector components in x direction and the Relation Parameters of position coordinates according to following formula (4).
Wherein,
2, obtain motion vector components in y direction and the Relation Parameters of position coordinates.
Referring to the step of Relation Parameters of obtaining motion vector components in x direction and position coordinates, repeat no more herein.
In the present embodiment, the predicted value PMV of the motion vector of current block, can obtain by following formula (5):
PMV
x=a
1x′+b
1y′+c (5)
PMV
y=d
1x′+e
1y′+f
Wherein, x ', the position coordinates that y ' is current block, a
1, b
1, c, d
1, e
1with f be the motion vector that obtains of step 102 and the Relation Parameters of position coordinates.
The acquisition methods of the predicted value of the motion vector that the embodiment of the present invention provides both can be applied in coding side, also can be applied in decoding end.
Alternatively, when the acquisition methods of the predicted value of the motion vector providing when the embodiment of the present invention is applied in coding side, as shown in Figure 4, after step 103, can also comprise:
The target prediction value that the predicted value of the motion vector that first, coding side obtains according to rate distortion criterion determining step 103 is motion vector.
In the present embodiment, the optimization formula of rate distortion criterion is as shown in formula (6):
J(PMV
i)=D(PMV
i)+λ·R(PMV
i) (6)
Wherein, PMV
irepresent to adopt the predicted value of the motion vector of the current block that i kind method (comprising the acquisition methods of the predicted value of the motion vector that the embodiment of the present invention provides) obtains, J (PMV
i) representation rate distortion cost, D (PMV
i) expression distortion, R (PMV
i) bit number that presentation code information (comprising coding mode, motion vector, reference frame and difference signal etc.) takies, λ represents Lagrange multiplier.
If the predicted value of the motion vector of the current block obtaining according to step 103 is calculated the J (PMV obtaining by formula (6)
i) minimum, the target prediction value that the predicted value of the motion vector that determining step 103 is obtained is motion vector; Otherwise the predicted value of the motion vector that step 103 is obtained is not the target prediction value of motion vector.
Then, coding side obtains the motion vector difference of current block, this motion vector difference is encoded, wherein, the difference of the target prediction value of the motion vector that motion vector difference is current block and motion vector.
It should be noted that, in some coding situations, consider code efficiency, motion vector that can be using the target prediction value of the motion vector of current block as this current block, does not encode to this motion vector difference.
Alternatively, in order to make the target prediction value of the motion vector that the predicted value of motion vector of the current block that decoding end can determining step 103 obtains is current block, the present embodiment can also comprise that coding side sends indication and obtain according to the corresponding relation of the motion vector setting in advance and position coordinates the step of the information of the predicted value of the motion vector of current block to decoding end.
In the present embodiment, the predicted value of the motion vector of current block is obtained in indication information according to the corresponding relation of the motion vector setting in advance and position coordinates can be the identification information of frame rank, whether the present frame that the identification information of this frame rank is used to indicate current block place obtains the predicted value of the motion vector of current block according to the corresponding relation of the motion vector setting in advance and position coordinates, as shown in table 1:
Table 1
Wherein, in the time that being 1, UseZoomingPMV represents that the present frame at current block place obtains the predicted value of the motion vector of current block according to the corresponding relation of the motion vector setting in advance and position coordinates; In the time that being 0, UseZoomingPMV represents that the present frame at current block place for example, obtains the predicted value of the motion vector of current block according to additive method (asking the method for the motion vector intermediate value of more than one coded block).
The predicted value of the motion vector of current block is obtained in indication information according to the corresponding relation of the motion vector setting in advance and position coordinates can be also the identification information of piece rank, the identification information of this piece rank is used to indicate current block and whether obtains according to the corresponding relation of the motion vector setting in advance and position coordinates the predicted value of the motion vector of current block, as shown in table 2:
Table 2
Wherein, in the time that being 1, Zoom_PMV_flag represents that current block obtains the predicted value of the motion vector of current block according to the corresponding relation of the motion vector setting in advance and position coordinates; In the time that being 0, Zoom_PMV_flag represents that current block for example, obtains the predicted value of the motion vector of current block according to additive method (asking the method for the motion vector intermediate value of more than one coded block).
Certainly, the information that indication is obtained the predicted value of the motion vector of current block according to the corresponding relation of the motion vector setting in advance and position coordinates in actual use procedure also can represent by other means, every kind of situation is not repeated one by one herein.
Alternatively, when the acquisition methods of the predicted value of the motion vector providing when the embodiment of the present invention is applied in decoding end, as shown in Figure 5, after step 103, can also comprise:
First, decoding end is obtained the information of the predicted value of the motion vector of current block, the target prediction value that the predicted value of the motion vector that determining step 103 is obtained is motion vector according to the corresponding relation of the motion vector setting in advance and position coordinates according to the indication comprising in the code stream receiving.
Particularly, if the information that indication is obtained the predicted value of the motion vector of current block according to the corresponding relation of the motion vector that sets in advance and position coordinates is the identification information of frame rank as shown in table 1 and/or the identification information of piece rank as shown in table 2, and the identification information of the identification information of described frame rank and/or piece rank is 1, the target prediction value that the predicted value of the motion vector that decoding end determining step 103 is obtained is motion vector.
Then, the motion vector difference of the current block comprising in the target prediction value of the motion vector that decoding end is obtained according to step 103 and the code stream receiving, decoding obtains the motion vector of described current block, the difference of the motion vector that wherein, described motion vector difference is current block and the target prediction value of described motion vector.
It should be noted that, if do not comprise motion vector difference in code stream, the target prediction value of the motion vector of current block is the motion vector of this current block.
The acquisition methods of the predicted value of the motion vector that the embodiment of the present invention provides, obtain the predicted value of the motion vector of current block according to the corresponding relation of the motion vector setting in advance and position coordinates, the predicted value of this motion vector is more accurate, be conducive to non-rigid object image to be encoded, improved code efficiency and coding quality.
As shown in Figure 6, the embodiment of the present invention also provides a kind of acquisition device of predicted value of motion vector, comprising:
The first acquisition module 601, for obtaining above position coordinates and the motion vector of coding/decoding piece adjacent with current block;
The second acquisition module 602, the motion vector setting in advance for basis and the corresponding relation of position coordinates, and described the first acquisition module 601 obtain one above position coordinates and the motion vector of coding/decoding piece, obtain the Relation Parameters of motion vector and position coordinates;
The 3rd acquisition module 603, for according to described in the motion vector that sets in advance and the corresponding relation of position coordinates, and the motion vector that obtains of the position coordinates of described current block and described the second acquisition module 602 and the Relation Parameters of position coordinates, obtain the predicted value of the motion vector of described current block.
Further, as shown in Figure 7, the acquisition methods of the predicted value of the motion vector that the embodiment of the present invention provides can also comprise:
Further, as shown in Figure 8, described coding module 604 can comprise:
First determines submodule 6041, for the target prediction value of determining that according to rate distortion criterion the predicted value of the motion vector that described the 3rd acquisition module 603 obtains is motion vector;
Further, as shown in Figure 9, described decoder module 605 can comprise:
Second determines submodule 6051, obtain the information of the predicted value of the motion vector of current block according to the corresponding relation of the motion vector setting in advance and position coordinates for the indication comprising according to the code stream that receives, the target prediction value that the predicted value of determining the motion vector that described the 3rd acquisition module 603 obtains is motion vector;
Decoding submodule 6052, for according to described second determine the definite motion vector of submodule 6051 target prediction value and described in the motion vector difference of the current block that comprises of the code stream that receives, decoding obtains the motion vector of described current block, wherein, the motion vector that described motion vector difference is current block and described second is determined the difference of the target prediction value of the definite motion vector of submodule 6051.
Further, as shown in Figure 7, the acquisition methods of the predicted value of the motion vector that the embodiment of the present invention provides can also comprise:
Sending module 606, for sending the information of obtaining the predicted value of the motion vector of current block according to the corresponding relation of the motion vector setting in advance and position coordinates of indicating to decoding end.
It should be noted that, in actual use procedure, multiple modules that the acquisition device of the predicted value of the motion vector that the embodiment of the present invention as shown in Fig. 6-Fig. 9 provides is above divided, also can there is module or the Implement of Function Module of similar functions with described multiple modules by one, not repeat herein.
Described in the acquisition methods of the predicted value of the motion vector that the concrete methods of realizing of the acquisition device of the predicted value of the motion vector that the embodiment of the present invention provides can provide referring to the embodiment of the present invention, repeat no more herein.
The acquisition device of the predicted value of the motion vector that the embodiment of the present invention provides, obtain the predicted value of the motion vector of current block according to the corresponding relation of the motion vector setting in advance and position coordinates, the predicted value of this motion vector is more accurate, be conducive to non-rigid object image to be encoded, improved code efficiency and coding quality
In order to make those skilled in the art can more clearly understand the acquisition methods of predicted value of the motion vector that the embodiment of the present invention provides and the beneficial effect that device brings, describe below by concrete experimental data.
Adopt BD Bitrate, BD PSNR[2] represent that Video coding gains.BD Bitrate negative value represents to adopt technology for encoding code check of the present invention to decline; BD PSNR PSNR after representing to adopt the present invention to encode increases.Experimental result is if table 3 is with as shown in Figure 10 to 12.
Table 3
Known according to above-mentioned experimental result, for the sequence of non-rigid scene, compared with prior art, recovering video quality PSNR when identical, the code check of the technical scheme that the embodiment of the present invention provides on average declines 3.97%; Under same code check condition, the recovery video quality of the technical scheme that the embodiment of the present invention provides on average can improve 0.2005dB.
The acquisition methods of the predicted value of the motion vector that the embodiment of the present invention provides and device can expanded application as H.264/AVC wait in video image encoding and decoding process.
The software module that the method for describing in conjunction with embodiment disclosed herein or the step of algorithm can directly use hardware, processor to carry out, or the combination of the two is implemented.Software module can be placed in the storage medium of any other form known in random asccess memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited to this, any be familiar with those skilled in the art the present invention disclose technical scope in; can expect easily changing or replacing, within all should being encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should described be as the criterion with the protection range of claim.
Claims (12)
1. an acquisition methods for the predicted value of motion vector, is characterized in that, comprising:
Obtain above position coordinates and the motion vector of coding/decoding piece adjacent with current block;
According to the corresponding relation of the motion vector setting in advance and position coordinates, and described above position coordinates and the motion vector of coding/decoding piece, obtain the Relation Parameters of motion vector and position coordinates;
According to the corresponding relation of the described motion vector setting in advance and position coordinates, and the Relation Parameters of the position coordinates of described current block and described motion vector and position coordinates, obtain the predicted value of the motion vector of described current block.
2. method according to claim 1, is characterized in that, described in the motion vector that sets in advance and the corresponding relation of position coordinates comprise:
Or,
3. method according to claim 1, is characterized in that, also comprises:
Adopt the predicted value of described motion vector to encode to the motion vector of described current block; Or,
Adopt the predicted value decoding of described motion vector to obtain the motion vector of described current block.
4. method according to claim 3, is characterized in that, the predicted value of the described motion vector of described employing is encoded and comprised the motion vector of described current block:
Determine according to rate distortion criterion the target prediction value that the predicted value of described motion vector is motion vector;
Obtain the motion vector difference of described current block, this motion vector difference is encoded, wherein, the difference of the motion vector that described motion vector difference is current block and the target prediction value of described motion vector.
5. method according to claim 3, is characterized in that, the motion vector that the predicted value decoding of the described motion vector of described employing obtains described current block comprises:
According to the indication information comprising in the code stream receiving, the target prediction value that the predicted value of determining described motion vector is motion vector; Described indication information is used to indicate the predicted value of obtaining the motion vector of current block according to the corresponding relation of the motion vector setting in advance and position coordinates;
According to the target prediction value of described motion vector and described in the motion vector difference of the current block that comprises in the code stream that receives, decoding obtains the motion vector of described current block, the difference of the motion vector that wherein, described motion vector difference is current block and the target prediction value of described motion vector.
6. method according to claim 1, is characterized in that, also comprises:
Send indication information to decoding end, described indication information is the predicted value of the motion vector of current block is obtained in indication information according to the corresponding relation of the motion vector setting in advance and position coordinates.
7. according to the method described in claim 5 or 6, it is characterized in that, the information that described indication is obtained the predicted value of the motion vector of current block according to the corresponding relation of the motion vector setting in advance and position coordinates comprises:
The identification information of frame rank, whether the present frame that is used to indicate described current block place obtains the predicted value of the motion vector of current block according to the corresponding relation of the motion vector setting in advance and position coordinates; And/or,
The identification information of piece rank, the corresponding relation that is used to indicate the described current block motion vector whether basis sets in advance and position coordinates obtains the predicted value of the motion vector of current block.
8. an acquisition device for the predicted value of motion vector, is characterized in that, comprising:
The first acquisition module, for obtaining above position coordinates and the motion vector of coding/decoding piece adjacent with current block;
The second acquisition module, the motion vector setting in advance for basis and the corresponding relation of position coordinates, and described the first acquisition module obtain one above position coordinates and the motion vector of coding/decoding piece, obtain the Relation Parameters of motion vector and position coordinates;
The 3rd acquisition module, for according to described in the motion vector that sets in advance and the corresponding relation of position coordinates, and the motion vector that obtains of the position coordinates of described current block and described the second acquisition module and the Relation Parameters of position coordinates, obtain the predicted value of the motion vector of described current block.
9. device according to claim 8, is characterized in that, also comprises:
Coding module, encodes to the motion vector of described current block for the predicted value that adopts the motion vector that described the 3rd acquisition module obtains; Or,
Decoder module, for adopting the predicted value decoding of the motion vector that described the 3rd acquisition module obtains to obtain the motion vector of described current block.
10. device according to claim 9, is characterized in that, described coding module comprises:
First determines submodule, for the target prediction value of determining that according to rate distortion criterion the predicted value of the motion vector that described the 3rd acquisition module obtains is motion vector;
Coding submodule, for obtaining the motion vector difference of described current block, this motion vector difference is encoded, and wherein, the motion vector that described motion vector difference is current block and described first is determined the difference of the target prediction value of the definite motion vector of submodule.
11. devices according to claim 9, is characterized in that, described decoder module comprises:
Second determines submodule, obtain the information of the predicted value of the motion vector of current block according to the corresponding relation of the motion vector setting in advance and position coordinates for the indication comprising according to the code stream that receives, the target prediction value that the predicted value of determining the motion vector that described the 3rd acquisition module obtains is motion vector;
Decoding submodule, for according to described second determine the definite motion vector of submodule target prediction value and described in the motion vector difference of the current block that comprises of the code stream that receives, decoding obtains the motion vector of described current block, wherein, the motion vector that described motion vector difference is current block and described second is determined the difference of the target prediction value of the definite motion vector of submodule.
12. devices according to claim 8, is characterized in that, also comprise:
Sending module, for sending the information of obtaining the predicted value of the motion vector of current block according to the corresponding relation of the motion vector setting in advance and position coordinates of indicating to decoding end.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010247275.7A CN102377992B (en) | 2010-08-06 | 2010-08-06 | Method and device for obtaining predicted value of motion vector |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010247275.7A CN102377992B (en) | 2010-08-06 | 2010-08-06 | Method and device for obtaining predicted value of motion vector |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102377992A CN102377992A (en) | 2012-03-14 |
CN102377992B true CN102377992B (en) | 2014-06-04 |
Family
ID=45795880
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201010247275.7A Active CN102377992B (en) | 2010-08-06 | 2010-08-06 | Method and device for obtaining predicted value of motion vector |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102377992B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102883161B (en) * | 2012-09-19 | 2015-09-30 | 华为技术有限公司 | The processing method of Video coding and decoding and device |
CN103338372A (en) * | 2013-06-15 | 2013-10-02 | 浙江大学 | Method and device for processing video |
CN109274974B (en) | 2015-09-29 | 2022-02-11 | 华为技术有限公司 | Method and device for image prediction |
WO2017147765A1 (en) * | 2016-03-01 | 2017-09-08 | Mediatek Inc. | Methods for affine motion compensation |
CN109905714B (en) * | 2017-12-08 | 2022-12-27 | 华为技术有限公司 | Inter-frame prediction method and device and terminal equipment |
CN114727114B (en) * | 2018-09-21 | 2024-04-09 | 华为技术有限公司 | Method and device for determining motion vector |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
FR2833797B1 (en) * | 2001-12-19 | 2004-02-13 | Thomson Licensing Sa | METHOD FOR ESTIMATING THE DOMINANT MOVEMENT IN A SEQUENCE OF IMAGES |
KR100907847B1 (en) * | 2004-07-20 | 2009-07-14 | 퀄컴 인코포레이티드 | Method and apparatus for motion vector prediction in temporal video compression |
EP1755342A1 (en) * | 2005-08-19 | 2007-02-21 | Thomson Licensing | Method and apparatus for iteratively calculating a set of global motion parameters for a picture sequence from block motion vectors |
KR101356735B1 (en) * | 2007-01-03 | 2014-02-03 | 삼성전자주식회사 | Mothod of estimating motion vector using global motion vector, apparatus, encoder, decoder and decoding method |
-
2010
- 2010-08-06 CN CN201010247275.7A patent/CN102377992B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN102377992A (en) | 2012-03-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102377992B (en) | Method and device for obtaining predicted value of motion vector | |
WO2016050051A1 (en) | Image prediction method and relevant device | |
CN100566413C (en) | A kind of self-adaptive interpolation process method and coding/decoding module | |
WO2021004152A1 (en) | Image component prediction method, encoder, decoder, and storage medium | |
CN103327325B (en) | The quick self-adapted system of selection of intra prediction mode based on HEVC standard | |
CN103096053B (en) | A kind of decoding method of pattern conversion and device | |
US9648340B2 (en) | Method and device for encoding/decoding motion vector | |
CN102752588B (en) | Video encoding and decoding method using space zoom prediction | |
CN111031319B (en) | Local illumination compensation prediction method, terminal equipment and computer storage medium | |
US20190098312A1 (en) | Image prediction method and related device | |
RU2009116239A (en) | GEOMETRIC DOMESTIC PREDICTION | |
EP3094091A1 (en) | Coding and decoding method and device | |
CA2692250A1 (en) | Video encoding and decoding methods using residual prediction, and corresponding apparatuses | |
WO2014108093A1 (en) | Method for encoding/decoding depth image and apparatus thereof | |
KR20150034696A (en) | Method of video coding by prediction of the partitioning of a current block, method of decoding, coding and decoding devices and computer programs corresponding thereto | |
US20180199058A1 (en) | Video encoding and decoding method and device | |
JP2023123784A (en) | Chroma intra prediction method and apparatus, and computer storage medium | |
US20130202047A1 (en) | Apparatus and method for video encoding/decoding | |
US20130259126A1 (en) | Method and apparatus for video encoding/decoding of encoding/decoding block filter information on the basis of a quadtree | |
CN104488268A (en) | Spatial prediction with increased number of possible coding modes | |
US20150063455A1 (en) | Methods and apparatuses for predicting depth quadtree in three-dimensional video | |
US20150016511A1 (en) | Image compression apparatus and method | |
CN103281532B (en) | A kind of quantization method of adjustment based on motion strength detection and system | |
CN104104947A (en) | Video coding method and device | |
CN103997635B (en) | The synthesis viewpoint distortion prediction method of free viewpoint video and coding method |
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 |