CN103024397A - Method and device for determining time domain motion vector predictor - Google Patents
Method and device for determining time domain motion vector predictor Download PDFInfo
- Publication number
- CN103024397A CN103024397A CN2013100050576A CN201310005057A CN103024397A CN 103024397 A CN103024397 A CN 103024397A CN 2013100050576 A CN2013100050576 A CN 2013100050576A CN 201310005057 A CN201310005057 A CN 201310005057A CN 103024397 A CN103024397 A CN 103024397A
- Authority
- CN
- China
- Prior art keywords
- image
- reference picture
- correspondence
- block
- affiliated
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
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/30—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using hierarchical techniques, e.g. scalability
-
- 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/513—Processing of motion vectors
- H04N19/517—Processing of motion vectors by encoding
- H04N19/52—Processing of motion vectors by encoding by predictive encoding
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
The invention provides a method for determining time domain motion vector predictor and can improve effect of acquiring time domain motion vector predictor of a currently processed picture block. The method includes determining a picture corresponding to the current picture block from a picture set according to picture information of a reference picture of the current picture block, or determining a reference picture of the current picture block from the picture set according to the picture information of the picture corresponding to the current picture block; determining a corresponding picture block of the corresponding picture according to the current picture block; determining the time domain motion vector predictor of the current picture block according to the reference picture and the corresponding picture block, wherein the picture information comprises any one kind of picture types, picture order count POC relation between the current block and the belonging picture, belonging layers in multiple layers of codes or belonging looks in multi-look codes, the picture types include long-term types and short-term types, the POC relation includes identical POC and different POC, the belonging layers include basic layer and reinforcing layers, and the belonging looks include basic looks and dependency looks.
Description
Technical field
The present invention relates to video field, and more specifically, relate to the method and apparatus of determining the time-domain motion vector predicted value.
Background technology
At present, the method that known a kind of image is processed, according to when the image block of pre-treatment (below, the abbreviation current block) motion vector (MV, Motion Vector :) in reference picture, find the corresponding blocks corresponding with current block, according to this corresponding blocks, determine the motion vector predictor (MVP, Motionvector predictor) of current block.At coding side, deduct this MVP with the MV of current block and obtain difference, this difference is encoded.In decoding end, code stream decoded obtain this difference, according to this difference and this MVP, determine the MV of current block.
MVP comprises time-domain motion vector predicted value (TMVP, Temporal MV Predictor), namely, time domain reference image block (being also referred to as corresponding blocks or corresponding picture block) according to current block, the MVP that obtains, so-called time domain refers to that the image at current block place and the image at corresponding blocks place are in the different time position at the time shaft of video sequence, this position adopts image sequence numbering (POC, Picture Order Count) to represent.The time domain of MV is apart from the distance between the image that refers to reference picture and current block place, the i.e. difference of image POC.
In obtaining the process of TMVP, if the time domain of the MV of the correspondence image piece of the time domain distance of the MV of current block and current block relates to the convergent-divergent of MV apart from may be different.This convergent-divergent process is shown in following formula 1:
CurrMV=d/D*colMV formula 1
D=POC(currRefPic)-POC(currPic)
d=POC(colRefPic)-POC(colPic)
Here, currMV represents the TMVP of the current block that need to obtain, and colMV represents the TMV of the time domain reference block of current block, and the time domain reference block is also referred to as corresponding blocks (colBlock, co-located Block).D represents current block (currBlock, current Block) the time domain distance of MV, D equals the POC difference of reference picture (currRefPic, current Reference Picture) with the present image (currPic, current Picture) at current block place of current block.D represents the time domain distance of the MV of corresponding blocks, and the MV(that d equals corresponding blocks is colMV) the POC difference of the reference picture (colRefPic, co-locatedReference Picture) that points to and the image at corresponding blocks place.Here, the image at corresponding blocks place is called as correspondence image (colPic co-located picture).Fig. 1 shows the schematic diagram of relation of the reference picture of the reference picture of present image, correspondence image, present image and correspondence image.
In the prior art, reference picture is divided into two types of long-term long-term and short-term short-term.
If the reference picture type of colRefPic and currRefPic all is short-term, carries out so the MV convergent-divergent and obtain TMVP, i.e. currMV=d/D*colMV.If the reference picture type of colRefPic and currRefPic all is long-term, currMV=colMV so, this moment, zoom factor was 1.If the reference picture type of colRefPic and currRefPic is different, then can't obtain currMV.
For example, if the reference picture type of colRefPic is short-term, the reference picture type of currRefPic is long-term, and then d/D is a very little value (leveling off to zero), and therefore, the TMVP of the current block that obtains does not have reference value.
Again for example, if the reference picture type of colRefPic is long-term, the reference picture type of currRefPic is short-term, and then d/D is a very large value (levels off to infinity), and same, the TMVP of the current block that obtains does not have reference value.
Summary of the invention
The embodiment of the invention provides a kind of method, device and equipment of definite time-domain motion vector predicted value, can improve the effect of obtaining when the time-domain motion vector predicted value of the image block of pre-treatment.
First aspect, a kind of method of definite time-domain motion vector predicted value is provided, the method comprises: according to the image information of the reference picture of current image block, from image collection, determine the correspondence image of this current image block, wherein, this image information comprises following arbitrary information: image type, and the numbering of the image sequence between the affiliated image of this current block POC relation, affiliated layer in hierarchical coding or in looking coding more under look, this image type is divided into long-term type and short-term type, it is identical different with POC that this POC relation is divided into POC, should under layer be divided into basic layer and enhancement layer, look under this to be divided into and substantially look and dependence is looked; Or according to the image information of the correspondence image of current image block, from this image collection, determine the reference picture of this current image block, wherein, this image information comprises following arbitrary information: image type, and the affiliated image of this current block between image sequence numbering POC relation, in hierarchical coding image affiliated layer or in looking coding more under look, this image type is divided into long-term type and short-term type, it is identical different with POC that this POC relation is divided into POC, should under layer be divided into basic layer and enhancement layer, look under this to be divided into and substantially look and dependence is looked; Determine the correspondence image piece of this current image block in this correspondence image; According to this reference picture and this correspondence image piece, determine the time-domain motion vector predicted value of this current image block.
In a kind of possible execution mode, this current image block is to rely on the view picture, this image collection comprises with this dependence looks corresponding the image of substantially looking, or this current image block is the image block in the enhancement layer image, and this image collection comprises the image of the basic layer corresponding with this enhancement layer image.
In conjunction with first aspect and the possible execution mode of the first, in the possible execution mode of the second, image information according to the reference picture of current image block, from this image collection, determine the correspondence image of this current image block, comprising: according to the image type of the reference picture of current image block, from this image collection, determine the correspondence image of this current image block, so that the image type of the image type of this correspondence image and this reference picture is different; Or concern according to the POC between this image reference picture and this current block of current image block, from this image collection, determine the correspondence image of this current image block, so that the POC relation between the relation of the POC between the affiliated image this correspondence image and this current block and the affiliated image this reference picture and this current block is different; Or according to the affiliated layer of the reference picture of current image block, from this image collection, determine the correspondence image of this current image block, so that the affiliated layer of this correspondence image and this reference picture affiliated layer is different; Or according to looking under the reference picture of current image block, from this image collection, determine the correspondence image of this current image block so that this correspondence image under look with this reference picture under look different.
In conjunction with first aspect, the execution mode that the execution mode that the first is possible and the second are possible, in the third possible execution mode, comprise at least two the first alternative images in this image collection, wherein, the type of this first alternative image and the image type of this reference picture are different, or the relation of the POC between the affiliated image this first alternative image and this current block, and the relation of the POC between the affiliated image this reference picture and this current block is different, or the affiliated layer of this first alternative image is different with the affiliated layer of this reference picture, or this first alternative image under look with this reference picture under look different, and this is according to the image information of the reference picture of current image block, from this image collection, determine the correspondence image of this current image block, comprise: according to the image information of the reference picture of current image block, from these at least two the first alternative images, determine the image of the call number minimum in this image collection, as the correspondence image of this current image block.
In conjunction with first aspect, the execution mode that the first is possible, the execution mode that the second is possible and the third possible execution mode, in the 4th kind of possible execution mode, this image collection comprises at least one second alternative image and at least one the 3rd alternative image, wherein, the image type of this second alternative image and the 3rd alternative image is different, or the relation of the POC between the affiliated image this second alternative image and this current block, and the relation of the POC between the affiliated image the 3rd alternative image and this current block is different, or the affiliated layer of this second alternative image is different with the affiliated layer of the 3rd alternative image, or this second alternative image under look with the 3rd alternative image under look different, and the method also comprises: from this image collection, determine predicted picture, this predicted picture comprises second an alternative image and the 3rd an alternative image, and this predicted picture is used for determining the correspondence image of this current image block each image block of band of living in; And should from this image collection, determine the correspondence image of this current image block according to the type of this reference picture, comprising: from this predicted picture, determine the correspondence image of this current image block.
In conjunction with first aspect, possible execution mode, the third possible execution mode and the 4th kind of possible execution mode of execution mode, the second that the first is possible, in the 5th kind of possible execution mode, this image collection comprises at least two the second alternative images, and/or this image collection comprises at least two the 3rd alternative images, and should be from this image collection, determine predicted picture, comprise: from this image collection, determine predicted picture, this predicted picture comprises the image of the call number minimum in this image collection in these at least two the second alternative images; And/or from this image collection, determine predicted picture, this predicted picture comprises the image of the call number minimum in this image collection in these at least two the 3rd alternative images.
In conjunction with first aspect, possible execution mode, the third possible execution mode, the 4th kind of possible execution mode and the 5th kind of possible execution mode of execution mode, the second that the first is possible, in the 6th kind of possible execution mode, the method comprises: from this image collection, determine target image, as the correspondence image of each image block in this current image block band of living in; And this is according to the image information of the correspondence image of current image block, from this image collection, determine the reference picture of this current image block, comprise: according to the image type of the correspondence image of current image block, from this image collection, determine the reference picture of this current image block, so that the image type of the image type of this reference picture and this correspondence image is different; Or concern according to the POC between this image correspondence image and this current block of current image block, from this image collection, determine the reference picture of this current image block, so that the POC relation between the relation of the POC between the affiliated image this reference picture and this current block and the affiliated image this correspondence image and this current block is different; Or according to the affiliated layer of the correspondence image of current image block, from this image collection, determine the reference picture of this current image block, so that the affiliated layer of this reference picture and this correspondence image affiliated layer is different; Or according to looking under the correspondence image of current image block, from this image collection, determine the reference picture of this current image block so that this reference picture under look with this correspondence image under look different.
In conjunction with first aspect, the execution mode that the first is possible, the execution mode that the second is possible, the execution mode that the third is possible, the 4th kind of possible execution mode, the 5th kind of possible execution mode and the 6th kind of possible execution mode, in the 7th kind of possible execution mode, comprise at least two the 4th alternative images in this image collection, wherein, the type of the 4th alternative image and the image type of this reference picture are different, or the 4th POC relation between the affiliated image alternative image and this current block, and the relation of the POC between the affiliated image this reference picture and this current block is different, or the affiliated layer of the 4th alternative image is different with the affiliated layer of this reference picture, or the 4th alternative image under look with this reference picture under look different, and should be according to the image information of this correspondence image, from this image collection, determine the reference picture of this current image block, comprise: according to the image information of this correspondence image, from these at least two the 4th alternative images, determine the image of the call number minimum in this image collection, as the reference picture of this current image block.
In conjunction with first aspect, the execution mode that the first is possible, the execution mode that the second is possible, the execution mode that the third is possible, the 4th kind of possible execution mode, the 5th kind of possible execution mode, the 6th kind of possible execution mode and the 7th kind of possible execution mode, in the 8th kind of possible execution mode, the affiliated image of this current image block is bidirectional predictive picture, this correspondence image is bidirectional predictive picture, and should be according to this reference picture and this correspondence image piece, determine the time-domain motion vector predicted value of this current image block, comprise: according to the image information of this correspondence image, determine the motion vector of this correspondence image piece; According to the motion vector of this reference picture and this correspondence image piece, determine the time-domain motion vector predicted value of this current image block.
In conjunction with first aspect, the execution mode that the first is possible, the execution mode that the second is possible, the execution mode that the third is possible, the 4th kind of possible execution mode, the 5th kind of possible execution mode, the 6th kind of possible execution mode, the 7th kind of possible execution mode and the 8th kind of possible execution mode, in the 9th kind of possible execution mode, should determine the motion vector of this correspondence image piece, further comprise: when the image type of this correspondence image is long-term type, if the reference picture of this current image block comes from the first reference picture list of the affiliated image of this current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of this correspondence image piece belongs to the first reference picture list of this correspondence image, if the reference picture of this current image block comes from the second reference picture list of the affiliated image of this current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of this correspondence image piece belongs to the second reference picture list of this correspondence image; Maybe when the POC of the POC of this correspondence image and the affiliated image of this current image block is identical, if the reference picture of this current image block comes from the first reference picture list of the affiliated image of this current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of this correspondence image piece belongs to the first reference picture list of this correspondence image, if the reference picture of this current image block comes from the second reference picture list of the affiliated image of this current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of this correspondence image piece belongs to the second reference picture list of this correspondence image; Maybe when the affiliated layer of this correspondence image is basic layer, if the reference picture of this current image block comes from the first reference picture list of the affiliated image of this current image block, then determine the motion vector of correspondence image piece, so that belonging to the image of this correspondence image, the image of the motion vector points of this correspondence image piece belongs to the first reference picture list, if the reference picture of this current image block comes from the second reference picture list of the affiliated image of this current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of this correspondence image piece belongs to the second reference picture list of this correspondence image; Maybe under this correspondence image, be considered as basic apparent time, if the reference picture of this current image block comes from the first reference picture list of the affiliated image of this current image block, then determine the motion vector of correspondence image piece, so that the image of this correspondence image of the motion vector points of this correspondence image piece belongs to the first reference picture list, if the reference picture of this current image block comes from the second reference picture list of the affiliated image of this current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of this correspondence image piece belongs to the second reference picture list of this correspondence image.
Second aspect, a kind of method of definite time-domain motion vector predicted value is provided, and the method comprises: determine reference picture and the correspondence image of current image block, wherein, the affiliated image of this current image block is bidirectional predictive picture, and this correspondence image is bidirectional predictive picture; Determine the correspondence image piece of this current image block in this correspondence image; Image information according to this correspondence image, determine the motion vector of this correspondence image piece, this image information comprises following arbitrary information: image type, and the affiliated image of this current block between image sequence numbering POC relation, the affiliated layer in hierarchical coding or in looking coding more under look, this image type is divided into long-term type and short-term type, it is identical different with POC that this POC relation is divided into POC, should under layer be divided into basic layer and enhancement layer, look under this to be divided into and substantially look and dependence is looked; According to the motion vector of this reference picture and this correspondence image piece, determine the time-domain motion vector predicted value of this current image block.
In a kind of possible execution mode, the motion vector that this determines this correspondence image piece further comprises:
When the image type of this correspondence image is long-term type, if the reference picture of this current image block comes from the first reference picture list of the affiliated image of this current image block, then determine the motion vector of correspondence image piece, so that the image of this correspondence image of the motion vector points of this correspondence image piece belongs to the first reference picture list, if the reference picture of this current image block comes from the second reference picture list of the affiliated image of this current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of this correspondence image piece belongs to the second reference picture list of this correspondence image; Maybe when the POC of the POC of this correspondence image and the affiliated image of this current image block is identical, if the reference picture of this current image block comes from the first reference picture list of the affiliated image of this current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of this correspondence image piece belongs to the first reference picture list of this correspondence image, if the reference picture of this current image block comes from the second reference picture list of the affiliated image of this current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of this correspondence image piece belongs to the second reference picture list of this correspondence image; Maybe when the affiliated layer of this correspondence image is basic layer, if the reference picture of this current image block comes from the first reference picture list of the affiliated image of this current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of this correspondence image piece belongs to the first reference picture list of this correspondence image, if the reference picture of this current image block comes from the second reference picture list of the affiliated image of this current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of this correspondence image piece belongs to the second reference picture list of this correspondence image; Maybe under this correspondence image, be considered as basic apparent time, if the reference picture of this current image block comes from the first reference picture list of the affiliated image of this current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of this correspondence image piece belongs to the first reference picture list of this correspondence image, if the reference picture of this current image block comes from the second reference picture list of the affiliated image of this current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of this correspondence image piece belongs to the second reference picture list of this correspondence image.
The third aspect provides a kind of device of definite time-domain motion vector predicted value, and this device comprises:
Determining unit, be used for the image information according to the reference picture of current image block, from image collection, determine the correspondence image of this current image block, wherein, this image information comprises following arbitrary information: image type, and the affiliated image of this current block between image sequence numbering POC relation, the affiliated layer in hierarchical coding or in looking coding more under look, this image type is divided into long-term type and short-term type, it is identical and POC is different that this POC relation is divided into POC; Or be used for image information according to the correspondence image of current image block, from this image collection, determine the reference picture of this current image block, wherein, this image information comprises following arbitrary information: image type, and the affiliated image of this current block between image sequence numbering POC relation, in hierarchical coding image affiliated layer or in looking coding more under arbitrary information in looking, this image type is divided into long-term type and short-term type, and it is identical different with POC that this POC relation is divided into POC; Processing unit is used for determining that this current image block is at the correspondence image piece of this correspondence image; Be used for determining the time-domain motion vector predicted value of this current image block according to this reference picture and this correspondence image piece.
In a kind of possible execution mode, this current image block is to rely on the view picture, this image collection comprises with this dependence looks corresponding the image of substantially looking, or this current image block is the image block in the enhancement layer image, and this image collection comprises the image of the basic layer corresponding with this enhancement layer image.
In conjunction with the third aspect and the possible execution mode of the first, in the possible execution mode of the second, this determining unit specifically is used for the image type according to the reference picture of current image block, from this image collection, determine the correspondence image of this current image block, so that the image type of the image type of this correspondence image and this reference picture is different; Or be used for concerning according to the POC between this image reference picture and this current block of current image block, from this image collection, determine the correspondence image of this current image block, so that the POC relation between the relation of the POC between the affiliated image this correspondence image and this current block and the affiliated image this reference picture and this current block is different; Or be used for affiliated layer according to the reference picture of current image block, from this image collection, determine the correspondence image of this current image block, so that the affiliated layer of this correspondence image and this reference picture affiliated layer is different; Or be used for from this image collection, determining the correspondence image of this current image block according to looking under the reference picture of current image block so that this correspondence image under look with this reference picture under look different.
In conjunction with the third aspect, the execution mode that the execution mode that the first is possible and the second are possible, in the third possible execution mode, comprise at least two the first alternative images in this image collection, wherein, the type of this first alternative image and the image type of this reference picture are different, or the relation of the POC between the affiliated image this first alternative image and this current block, and the relation of the POC between the affiliated image this reference picture and this current block is different, or the affiliated layer of this first alternative image is different with the affiliated layer of this reference picture, or this first alternative image under look with this reference picture under look different, and this determining unit specifically is used for the image information according to this reference picture, from these at least two the first alternative images, determine the image of the call number minimum in this image collection, as the correspondence image of this current image block.
In conjunction with the third aspect, the execution mode that the first is possible, the execution mode that the second is possible and the third possible execution mode, in the 4th kind of possible execution mode, this image collection comprises at least one second alternative image and at least one the 3rd alternative image, wherein, the image type of this second alternative image and the 3rd alternative image is different, or the relation of the POC between the affiliated image this second alternative image and this current block, and the relation of the POC between the affiliated image the 3rd alternative image and this current block is different, or the affiliated layer of this second alternative image is different with the affiliated layer of the 3rd alternative image, or this second alternative image under look with the 3rd alternative image under look different, and this determining unit also is used for from this image collection, determine predicted picture, this predicted picture comprises second an alternative image and the 3rd an alternative image, and this predicted picture is used for determining the correspondence image of this current image block each image block of band of living in; Be used for from this predicted picture, determine the correspondence image of this current image block.
In conjunction with the third aspect, possible execution mode, the third possible execution mode and the 4th kind of possible execution mode of execution mode, the second that the first is possible, in the 5th kind of possible execution mode, this image collection comprises at least two the second alternative images, and/or this image collection comprises at least two the 3rd alternative images, and this determining unit specifically is used for from this image collection, determine predicted picture, this predicted picture comprises the image of the call number minimum in this image collection in these at least two the second alternative images; And/or be used for from this image collection, determine predicted picture, this predicted picture comprises the image of the call number minimum in this image collection in these at least two the 3rd alternative images.
In conjunction with the third aspect, possible execution mode, the third possible execution mode, the 4th kind of possible execution mode and the 5th kind of possible execution mode of execution mode, the second that the first is possible, in the 6th kind of possible execution mode, this determining unit specifically is used for from this image collection, determine target image, as the correspondence image of each image block in this current image block band of living in; Be used for the image type according to the correspondence image of current image block, from this image collection, determine the reference picture of this current image block, so that the image type of the image type of this reference picture and this correspondence image is different; Or be used for concerning according to the POC between this image correspondence image and this current block of current image block, from this image collection, determine the reference picture of this current image block, so that the POC relation between the relation of the POC between the affiliated image this reference picture and this current block and the affiliated image this correspondence image and this current block is different; Or be used for affiliated layer according to the correspondence image of current image block, from this image collection, determine the reference picture of this current image block, so that the affiliated layer of this reference picture and this correspondence image affiliated layer is different; Or be used for from this image collection, determining the reference picture of this current image block according to looking under the correspondence image of current image block so that this reference picture under look with this correspondence image under look different.
In conjunction with the third aspect, the execution mode that the first is possible, the execution mode that the second is possible, the execution mode that the third is possible, the 4th kind of possible execution mode, the 5th kind of possible execution mode and the 6th kind of possible execution mode, in the 7th kind of possible execution mode, comprise at least two the 4th alternative images in this image collection, wherein, the type of the 4th alternative image and the image type of this reference picture are different, or the 4th POC relation between the affiliated image alternative image and this current block, and the relation of the POC between the affiliated image this reference picture and this current block is different, or the affiliated layer of the 4th alternative image is different with the affiliated layer of this reference picture, or the 4th alternative image under look with this reference picture under look different, and this determining unit specifically is used for the image information according to this correspondence image, from these at least two the 4th alternative images, determine the image of the call number minimum in this image collection, as the reference picture of this current image block.
In conjunction with the third aspect, possible execution mode, the third possible execution mode, the 4th kind of possible execution mode, the 5th kind of possible execution mode, the 6th kind of possible execution mode and the 7th kind of possible execution mode of execution mode, the second that the first is possible, in the 8th kind of possible execution mode, the affiliated image of this current image block is bidirectional predictive picture, this correspondence image is bidirectional predictive picture, and this processing unit is determined the motion vector of this correspondence image piece specifically for the image information according to this correspondence image; Be used for the motion vector according to this reference picture and this correspondence image piece, determine the time-domain motion vector predicted value of this current image block.
In conjunction with the third aspect, the execution mode that the first is possible, the execution mode that the second is possible, the execution mode that the third is possible, the 4th kind of possible execution mode, the 5th kind of possible execution mode, the 6th kind of possible execution mode, the 7th kind of possible execution mode and the 8th kind of possible execution mode, in the 9th kind of possible execution mode, this processing unit specifically is used for when the image type of this correspondence image is long-term type, if the reference picture of this current image block comes from the first reference picture list of the affiliated image of this current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of this correspondence image piece belongs to the first reference picture list of this correspondence image, if the reference picture of this current image block comes from the second reference picture list of the affiliated image of this current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of this correspondence image piece belongs to the second reference picture list of this correspondence image; Or be used for POC when the POC of this correspondence image and the affiliated image of this current image block when identical, if the reference picture of this current image block comes from the first reference picture list of the affiliated image of this current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of this correspondence image piece belongs to the first reference picture list of this correspondence image, if the reference picture of this current image block comes from the second reference picture list of the affiliated image of this current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of this correspondence image piece belongs to the second reference picture list of this correspondence image; Or be used for when the affiliated layer of this correspondence image is basic layer, if the reference picture of this current image block comes from the first reference picture list of the affiliated image of this current image block, then determine the motion vector of correspondence image piece, so that belonging to the image of this correspondence image, the image of the motion vector points of this correspondence image piece belongs to the first reference picture list, if the reference picture of this current image block comes from the second reference picture list of the affiliated image of this current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of this correspondence image piece belongs to the second reference picture list of this correspondence image; Or be used under this correspondence image, being considered as basic apparent time, if the reference picture of this current image block comes from the first reference picture list of the affiliated image of this current image block, then determine the motion vector of correspondence image piece, so that the image of this correspondence image of the motion vector points of this correspondence image piece belongs to the first reference picture list, if the reference picture of this current image block comes from the second reference picture list of the affiliated image of this current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of this correspondence image piece belongs to the second reference picture list of this correspondence image.
Fourth aspect provides a kind of device of definite time-domain motion vector predicted value, and this device comprises: determining unit, be used for determining reference picture and the correspondence image of current image block, wherein, the affiliated image of this current image block is bidirectional predictive picture, and this correspondence image is bidirectional predictive picture; Be used for determining that this current image block is at the correspondence image piece of this correspondence image; Processing unit, be used for the image information according to this correspondence image, determine the motion vector of this correspondence image piece, this image information comprises following arbitrary information: image type, and the affiliated image of this current block between image sequence numbering POC relation, the affiliated layer in hierarchical coding or in looking coding more under look, this image type is divided into long-term type and short-term type, it is identical different with POC that this POC relation is divided into POC, should under layer be divided into basic layer and enhancement layer, look under this to be divided into and substantially look and dependence is looked; Be used for the motion vector according to this reference picture and this correspondence image piece, determine the time-domain motion vector predicted value of this current image block.
In a kind of possible execution mode, this processing unit specifically is used for when the image type of this correspondence image is long-term type, if the reference picture of this current image block comes from the first reference picture list of the affiliated image of this current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of this correspondence image piece belongs to the first reference picture list of this correspondence image, if the reference picture of this current image block comes from the second reference picture list of the affiliated image of this current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of this correspondence image piece belongs to the second reference picture list of this correspondence image; Or be used for POC when the POC of this correspondence image and the affiliated image of this current image block when identical, if the reference picture of this current image block comes from the first reference picture list of the affiliated image of this current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of this correspondence image piece belongs to the first reference picture list of this correspondence image, if the reference picture of this current image block comes from the second reference picture list of the affiliated image of this current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of this correspondence image piece belongs to the second reference picture list of this correspondence image; Or be used for when the affiliated layer of this correspondence image is basic layer, if the reference picture of this current image block comes from the first reference picture list of the affiliated image of this current image block, then determine the motion vector of correspondence image piece, so that belonging to the image of this correspondence image, the image of the motion vector points of this correspondence image piece belongs to the first reference picture list, if the reference picture of this current image block comes from the second reference picture list of the affiliated image of this current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of this correspondence image piece belongs to the second reference picture list of this correspondence image; Or be used under this correspondence image, being considered as basic apparent time, if the reference picture of this current image block comes from the first reference picture list of the affiliated image of this current image block, then determine the motion vector of correspondence image piece, so that the image of this correspondence image of the motion vector points of this correspondence image piece belongs to the first reference picture list, if the reference picture of this current image block comes from the second reference picture list of the affiliated image of this current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of this correspondence image piece belongs to the second reference picture list of this correspondence image.
According to the embodiment of the invention method and apparatus of domain motion vector predictor really, by selecting reference picture and the correspondence image of current block, make the reference picture of current block and the image type of correspondence image, and the relation of the POC between the affiliated image block of current block, under the layer or described look different, can improve the effect that the reference picture that makes this current block and the reference picture of this correspondence image piece belong to identical reference picture type, thereby, in the different situation of time domain distance of the motion vector of the time domain distance of the motion vector of current block and this corresponding blocks, can improve the effect of the time-domain motion vector predicted value of obtaining current block.
Description of drawings
In order to be illustrated more clearly in the technical scheme of the embodiment of the invention, the below will do to introduce simply to the accompanying drawing of required use in the embodiment of the invention, apparently, below described accompanying drawing only be some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the schematic diagram of an example of relation of the reference picture of the reference picture of expression present image, correspondence image, present image and correspondence image.
Fig. 2 is the indicative flowchart of determining according to an embodiment of the invention the method for time-domain motion vector predicted value.
Fig. 3 is the indicative flowchart of determining according to another embodiment of the present invention the method for time-domain motion vector predicted value.
Fig. 4 is another routine schematic diagram of relation of the reference picture of the reference picture of expression present image, correspondence image, present image and correspondence image.
Fig. 5 is the again schematic diagram of an example of relation of the reference picture of the reference picture of expression present image, correspondence image, present image and correspondence image.
Fig. 6 is the schematic block diagram of determining according to an embodiment of the invention the device of time-domain motion vector predicted value.
Fig. 7 is the schematic block diagram of determining according to another embodiment of the present invention the device of time-domain motion vector predicted value.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
The basic principle of Video coding compression is to utilize the correlation between spatial domain, time domain and the code word, as far as possible removal redundancy.In adopting block-based mixed video coding framework, realize the Video coding compression by steps such as prediction (comprising infra-frame prediction and inter prediction), conversion, quantification, entropy codings.In this coding framework, video sequence sequence comprises a series of images picture, and image is further divided into band (being also referred to as section) slice, and slice is divided into piece block again.Video coding begins from left to right from top to bottom the processing of encoding of delegation of delegation take piece as unit from the position, the upper left corner of picture.For the ease of understanding, in the following description, take image block as object, the process of Video coding or decoding is described.
Fig. 2 shows according to the embodiment of the invention indicative flowchart of the method 100 of domain motion vector predictor really.And the subject of implementation of the method 100 can be coding side, also can be decoding end, and the present invention also is not particularly limited.As shown in Figure 2, the method 100 comprises:
S110, image information according to the reference picture of current image block, from image collection, determine the correspondence image of this current image block, wherein, this image information comprises following arbitrary information: image type, and the affiliated image of this current block between image sequence numbering POC relation, the affiliated layer in hierarchical coding or in looking coding more under look, this image type is divided into long-term type and short-term type, it is identical different with POC that this POC relation is divided into POC, should under layer be divided into basic layer and enhancement layer, look under this to be divided into and substantially look and dependence is looked; Or
Image information according to the correspondence image of current image block, from this image collection, determine the reference picture of this current image block, wherein, this image information comprises following arbitrary information: image type, and the affiliated image of this current block between image sequence numbering POC relation, in hierarchical coding image affiliated layer or in looking coding more under look, this image type is divided into long-term type and short-term type, it is identical different with POC that this POC relation is divided into POC, should under layer be divided into basic layer and enhancement layer, look under this to be divided into and substantially look and dependence is looked;
S120 determines the correspondence image piece of this current image block in this correspondence image;
S130 according to this reference picture and this correspondence image piece, determines the time-domain motion vector predicted value of this current image block.
And this current image block is to rely on the view picture, and this image collection comprises with this dependence looks corresponding the image of substantially looking, or
This current image block is the image block in the enhancement layer image, and this image collection comprises the image of the basic layer corresponding with this enhancement layer image.
Specifically, according to the embodiment of the invention method of domain motion vector predictor really, can be applicable to comprise look coding techniques and hierarchical coding technology etc. more can be from the image collection that comprises a plurality of reference pictures (or movable information of this reference picture) (in other words, image list) selects a reference picture in, and utilize this reference picture to determine to work as the technology of movable information of the image block of pre-treatment.
For example, in looking coding more, comprise substantially and look (base view) and (dependent view) looked in dependence.Substantially look absolute coding, compatible existing video encoding standard, dependence is looked to utilize and is looked a Predicting Technique and encode with reference to substantially looking, namely, substantially look to be taken as and rely on the reference look and look (in other words, the image that dependence is looked can be with the image substantially looked as the reference image), so that being looked, dependence carries out predictive coding.Have very strong correlation between looking and substantially looking owing to rely on, rely on to look and choose the probability of substantially regarding as reference very large, this has a large amount of image blocks to choose in looking to come from the image of substantially looking as reference picture with regard to meaning to rely on.
Similarly, in hierarchical coding or scalable coding, comprise basic layer and enhancement layer.Basic layer absolute coding, compatible existing video encoding standard, enhancement layer utilizes the basic layer of inter-layer prediction Technical Reference to encode, namely, the reference layer that basic layer is taken as enhancement layer (in other words, the image of enhancement layer can be with the image of basic layer as the reference image), so that enhancement layer is carried out predictive coding.Owing to have very strong correlation between enhancement layer and the basic layer, enhancement layer chooses basic layer probability as a reference very large, and this just means that having a large amount of image blocks to choose in the enhancement layer comes from the image of basic layer as reference picture.
For the ease of understanding, in the following description, with in looking coding, use more according to the embodiment of the invention really the method for domain motion vector predictor describe as example.
And in embodiments of the present invention, this basic view picture uses the reference picture of short-term type to encode, and this basic tomographic image uses the reference picture of short-term type to encode.
Specifically, reference picture (in other words, the occupation mode of reference picture) can be divided into two kinds of long-term long-term and short-term short-term.Long-term refers to, for example, because static background can not change for a long time, and so that on time shaft, also can be used as the reference of present image with the larger image of the distance of present image.And relative long-term, short-term refers to that the front and back distance of two width of cloth images on time shaft is nearer, correlation is higher, and is better as the effect of reference image, therefore, usually uses the reference picture of short-term to encode.
Below, for convenience of explanation, in embodiments of the present invention, for the coding of substantially looking and rely on the image in looking, for example, inter prediction encoding process (comprising MCP and MV prediction) uses the reference picture of short-term type to encode, equally, for the coding of the image in basic layer and the enhancement layer, for example, the inter prediction encoding process, comprise MCP and MV prediction, use the reference picture of short-term type to encode.
To when the image block (current image block of pre-treatment, below for convenience of explanation, be called for short current block) when carrying out coding-decoding operation, current block comprises two or more motion vectors, can utilize these motion vectors, from comprise two or more reference pictures, obtain a plurality of reference blocks, thereby, for example, can be according to this reference block, determine the predicted value (MVP, MV predictor) of the motion vector of current block.
For saving the encoding bit overhead to the motion vector of current block, adopt the method for MV prediction+coded prediction difference to carry out.At first obtain the predicted value of the motion vector of current block by the MV Predicting Technique, then, determine the MV of current block and the difference of this MV predicted value, at last this difference is encoded.Obtain the process of predicted value of the motion vector of current block by the MV Predicting Technique, in Code And Decode, carry out in an identical manner, to obtain identical MV predicted value, realize the coupling of Code And Decode.
The predicted value of motion vector comprises the predicted value (TMVP, Temporal MVpredictor) of time-domain motion vector.The predicted value of time-domain motion vector is that the time domain reference picture according to current block (is also referred to as, correspondence image) the MV value of obtaining, so-called time domain refers to that the image at current block place and the reference picture of current block are in the different time position at the time shaft of video sequence, and the POC(Picture Order Count of image is adopted in this position) represent.The time domain of MV is apart from the distance on time shaft, the i.e. difference of image POC between the image at the reference picture that refers to the MV sensing and current block place.
Obtain the TMVP process and relate to the reference picture of current block and the selection of correspondence image, and the convergent-divergent of MV, in obtaining the TMVP process, if the time domain of the MV of the correspondence image piece of the time domain distance of the MV of current block and current block is different apart from possibility, the convergent-divergent that relates to MV, this convergent-divergent process as shown in Equation 1.
Need to prove, for example look in the coding more, because may coming from other, looks the reference picture of current block, reference picture may have identical POC with the image at current block place, for example, the dependence in a certain moment is looked with the image of substantially looking has identical POC(namely, it is that POC is identical that POC closes), occurring divisor in the MV convergent-divergent process that therefore may cause relating in the TMVP acquisition process is zero situation, namely, POC (currRefPic)-POC (currPic)=0, for avoiding this situation, to come from reference picture that difference looks and be used as long-term and process, and for example, rely on and look and to come from the reference picture substantially looked as long-term.
In embodiments of the present invention, at S 110, coding side or decoding end (below, for convenience of explanation, coding side is example as subject of implementation, describes) can from the image list (image collection) that comprises at least two reference pictures, determine currRefPic and colPic.
Need to prove that above-mentioned image collection can be to be made of a plurality of image list, can only be an image list (in other words image collection) also, and the present invention also is not particularly limited.For example, for forward prediction image (P-slice, Prediction slice), this reference set is an image list, and comprises two image list for this image collection of bidirectional predictive picture (B-slice, Bi-prediction slice).
In embodiments of the present invention, can at first determine currRefPic, again according to the type of currRefPic, determine colPic(namely, situation 1), also can at first determine colPic, again according to the type of colPic, determine currRefPic(namely, situation 2).Below, respectively above two kinds of situations are described.
Situation 1
Specifically, for example, coding side (or decoding end) can from reference picture list (image collection), determine that an image is as the reference picture currRefPic of current block.
Alternatively, coding side can from reference picture list, determine that the image of call number minimum is as currRefPic.
The method that should be understood that the above definite currRefPic that enumerates only is the exemplary explanation, and the present invention is not limited thereto, and can determine that arbitrary image in the reference picture list is as currRefPic.
And coding side (or decoding end) can use method same as the prior art to obtain this reference picture list.
Need to prove, can obtain identical TMVP in order to make coding side with decoding end, to realize the coupling of Code And Decode, need to guarantee coding side and the identical currRefPic of decoding end selection.Therefore, can stipulate that coding side and decoding end are according to identical rules selection currRefPic, also can be after coding side be determined currRefPic, the currRefPic(of its selection of notice decoding end for example, the notice decoding end is as the call number of image in reference picture list of this currRefPic), thus make decoding end select identical currRefPic.
Thereafter, coding side can according to the image information of reference picture (image type, and this image of this current block between image sequence numbering POC relation, in hierarchical coding affiliated layer or in looking coding more under arbitrary information in looking) from reference picture list, determine colPic.
Situation a
Alternatively, in embodiments of the present invention, according to the image information of the reference picture of current image block, from this image collection, determine the correspondence image of this current image block, comprising:
According to the image type of the reference picture of current image block, from this image collection, determine the correspondence image of this current image block, so that the image type of the image type of this correspondence image and this reference picture is different.
Specifically, for example, coding side can be from the attribute information of currRefPic, and the image type of determining currRefPic is long-term or short-term.
If currRefPic is long-term, then making colPic is short-term.If currRefPic is short-term, then making colPic is long-term.
Specifically, as mentioned above, look in the coding more, will come from other reference pictures of looking (specifically, being substantially to look) and be considered as long-term, the reference picture that will come from when forward sight is considered as short-term.
Therefore, for example, if the currRefPic that selects is short-term, and colPic is long-term, represents that then colPic comes from the reference picture of substantially looking.Be generally short-term and as mentioned above, substantially look (being colPic) employed colRefPic when coding, that is to say that the colRefPic of the corresponding blocks colBlock among the colPic is short-term.Thereby currRefPic and colRefPic are short-term, can improve the effect of obtaining TMVP.
Again for example, if the currRefPic that selects is long-term, and colPic is short-term, represents that then colPic is the reference picture that comes from when forward sight (dependence is looked).And can reference come from the image that other look (substantially looking) when the image (being colPic) of forward sight is common when encoding, that is, the colRefPic of the colBlock among the colPic is generally long-term.Thereby currRefPic and colRefPic are long-term usually, can improve the effect of obtaining TMVP.
Situation b
Alternatively, in embodiments of the present invention, according to the image information of the reference picture of current image block, from this image collection, determine the correspondence image of this current image block, comprising:
Concern according to the POC between this image reference picture and this current block of current image block, from this image collection, determine the correspondence image of this current image block, so that the POC relation between the relation of the POC between the affiliated image this correspondence image and this current block and the affiliated image this reference picture and this current block is different
Specifically, for example, coding side can be determined the POC of currRefPic from the attribute information of currRefPic, and, can be from the POC of the affiliated image currPic of current block, thus can determine the relation of the POC of the POC of currRefPic and currPic.
If the POC of currRefPic is identical with the POC of currPic, then make the POC of the POC of colPic and currPic different, if the POC of the POC of currRefPic and currPic is different, then make the POC of colPic identical with the POC of currPic.
Specifically, in the prior art, if the POC of a certain image (currRefPic or colPic) is identical with the POC of currPic, representing then that this image comes from looks or basic layer substantially, the image type that represents this image is long-term, if the POC of a certain image (currRefPic or colPic) and the POC of currPic are different, represent that then this image comes from dependence and looks or enhancement layer, the image type that represents this image is short-term.Vice versa, namely, if the image type of a certain image (currRefPic or colPic) is short-term, then represent this image POC and the POC of currPic different, if the image type of a certain image (currRefPic or colPic) is long-term, represent that then the POC of this image is identical with the POC of currPic.
Therefore, for example, if the POC of the currRefPic that selects and the POC of currPic are different, the image type that then represents currRefPic is short-term, if and the POC of colPic is identical with the POC of currPic, then the colPic image type is long-term, that is, expression colPic comes from the reference picture of substantially looking.Be generally short-term and as mentioned above, substantially look (being colPic) employed colRefPic when coding, that is to say that the colRefPic of the corresponding blocks colBlock among the colPic is short-term.Thereby currRefPic and colRefPic are short-term, can improve the effect of obtaining TMVP.
Again for example, if the POC of the currRefPic that selects is identical with the POC of currPic, then the currRefPic of expression selection is long-term, if and the POC of the POC of currRefPic and currPic is different, represent that then colPic is short-term, that is, expression colPic is the reference picture that comes from when forward sight (dependence is looked).And can reference come from the image that other look (substantially looking) when the image (being colPic) of forward sight is common when encoding, that is, the colRefPic of the colBlock among the colPic is generally long-term.Thereby currRefPic and colRefPic are long-term usually, can improve the effect of obtaining TMVP.
Situation c
Alternatively, in embodiments of the present invention, according to the image information of the reference picture of current image block, from this image collection, determine the correspondence image of this current image block, comprising:
According to the affiliated layer of the reference picture of current image block, from this image collection, determine the correspondence image of this current image block, so that the affiliated layer of this correspondence image and this reference picture affiliated layer is different.
Specifically, if the currRefPic of current block comes from the current layer (enhancement layer), represent that then currRefPic is short-term, at this moment, select to come from the image (long-term) of basic layer as colPic.Come from basic layer owing to come from the reference picture of image (comprising this colPic) selection when coding of basic layer, that is, this reference picture is short-term.Therefore, the colRefPic of the corresponding blocks colBlock among the colPic is short-term, that is, colRefPic and currRefPic are short-term.
If the currRefPic of current block comes from basic layer, represent that then currRefPic is long-term, at this moment, select the interior image (short-term) of current layer (enhancement layer) as colPic.Owing to can utilizing inter prediction usually when encoding, the reference picture in the current layer chooses basic layer as a reference; therefore; the colRefPic of the colBlock of colPic comes from basic layer (for long-term) usually, that is, colRefPic and currRefPic are long-term.
Situation d
Alternatively, in embodiments of the present invention, according to the image information of the reference picture of current image block, from this image collection, determine the correspondence image of this current image block, comprising:
According to looking under the reference picture of current image block, from this image collection, determine the correspondence image of this current image block so that this correspondence image under look with this reference picture under look different.
Specifically, if the currRefPic of current block comes from forward sight (dependence is looked), represent that then currRefPic is short-term, at this moment, select to come from the image (long-term) substantially looked as colPic.Come from substantially and look owing to come from reference picture that the image (comprising this colPic) substantially looked selects when coding, that is, this reference picture is short-term.Therefore, the colRefPic of the corresponding blocks colBlock among the colPic is short-term, that is, colRefPic and currRefPic are short-term.
If the currRefPic of current block comes from substantially look, represent that then currRefPic is long-term, at this moment, select to work as the interior image (short-term) of forward sight (dependence is looked) as colPic.Owing to substantially regard as reference when the reference picture in the forward sight can utilize inter prediction to choose usually when encoding; therefore; the colRefPic of the colBlock of colPic comes from substantially and looks (for long-term) usually, that is, colRefPic and currRefPic are long-term.
Optionally, comprise at least two the first alternative images in this image collection, wherein, the type of this first alternative image and the image type of this reference picture are different, or
POC relation between the affiliated image this first alternative image and this current block, and the relation of the POC between the affiliated image this reference picture and this current block is different, or
The affiliated layer of this first alternative image is different with the affiliated layer of this reference picture, or
Look under this first alternative image with this reference picture under look different, and
This from this image collection, determines the correspondence image of this current image block according to the image information of the reference picture of current image block, comprising:
According to the image information of the reference picture of current image block, from these at least two the first alternative images, determine the image of the call number minimum in this image collection, as the correspondence image of this current image block.
Specifically, be first kind image (image type short-term or long-term at definite currRefPic, it is identical or different closing with POC between the affiliated image of this current block, affiliated layer is basic layer or enhancement layer, under be considered as substantially looking or relying on looking) after, need to from the first image list, select Second Type image (type and first kind image are different) as colPic, at this moment, if comprise a plurality of (at least two) Second Type image in the first image list (namely, the first alternative image), then can be from this a plurality of first alternative image, select an image as colPic, for example, can select the image of call number minimum in a plurality of first alternative image, as colPic, namely, can from reference picture list, seek the different image of type and currRefPic according to reference picture index order number from small to large, as colPic.
Like this, because call number is less, represents this image more near present image, thereby can further improve the effect of the embodiment of the invention.
Should be understood that above enumerating, select the image of call number minimum in the Second Type image, only be the exemplary explanation as colPic, the present invention is not limited thereto, also can with any one first alternative image of selection as colPic.
Need to prove, can obtain identical TMVP in order to make coding side with decoding end, to realize the coupling of Code And Decode, need to guarantee coding side and the identical colPic of decoding end selection.Therefore, can stipulate coding side and decoding end according to identical rules selection colPic, also can be after coding side be determined colPic, the colPic of its selection of notice decoding end, thus make decoding end select identical colPic.
According to the method for obtaining the time-domain motion vector predicted value of the embodiment of the invention, by at first determining currRefPic and then definite colPic.Can get access to different colPic for different image blocks, preferably adaptability is arranged, help to obtain better compression coding performance.
Alternatively, this image collection comprises at least one second alternative image and at least one the 3rd alternative image, and wherein, the image type of this second alternative image and the 3rd alternative image is different, or
POC relation between the affiliated image this second alternative image and this current block, and the relation of the POC between the affiliated image the 3rd alternative image and this current block is different, or
The affiliated layer of this second alternative image is different with the affiliated layer of the 3rd alternative image, or
Look under this second alternative image with the 3rd alternative image under look different, and
The method also comprises:
From this image collection, determine predicted picture, this predicted picture comprises second an alternative image and the 3rd an alternative image, this predicted picture is used for determining the correspondence image of this current image block each image block of band of living in; And
This from this image collection, determines the correspondence image of this current image block according to the type of this reference picture, comprising:
From this predicted picture, determine the correspondence image of this current image block.
Specifically, in embodiments of the present invention, for example, comprise at least three images (at least one first kind image and at least two Second Type images at reference picture list, or, at least one Second Type image and at least two first kind images) situation under, can be in advance from this first image list, select a first kind image and a Second Type image, consist of new reference picture list (predicted picture).
After having determined currRefPic as mentioned above, can, according to the image type of this currRefPic, obtain the different colPic of type of type and currRefPic in this predicted picture.Because this predicted picture has comprised first kind image and Second Type image (namely, the image of short-term image and long-term, or with the affiliated image of this current block between POC close be identical image and and the affiliated image of this current block between POC to close be different image, or image and affiliated layer that affiliated layer is basic layer are the image of enhancement layer, or under the image that is considered as substantially looking and under be considered as relying on the image of looking), therefore, no matter currRefPic is first kind image or Second Type image, all can obtain the different colPic of type and currRefPic.Thereby, can improve encoding-decoding efficiency.
Alternatively, in embodiments of the present invention, the method also comprises:
From this image collection, determine the reference picture of the second image block, wherein, this second image block is in same band with this current image block;
According to the type of the reference picture of this second image block, from this predicted picture, determine the correspondence image of this second image block, so that the type of the reference picture of the type of the correspondence image of this this second image block and this second image block is different.
Specifically, because each image block of same slice can use identical correspondence image, therefore, obtaining when being in the TMVP of the second image block of same slice with current block, can reuse this this predicted picture, thereby, the complexity of processing reduced.
Alternatively, this image collection comprises at least two the second alternative images, and/or
This image collection comprises at least two the 3rd alternative images, and
Should from this image collection, determine predicted picture, comprise:
From this image collection, determine predicted picture, this predicted picture comprises the image of the call number minimum in this image collection in these at least two the second alternative images; And/or
From this image collection, determine predicted picture, this predicted picture comprises the image of the call number minimum in this image collection in these at least two the 3rd alternative images.
Specifically, selected predicted picture can be the image of call number minimum in the image of call number minimum in the first kind image and/or this at least two Second Type images.
Like this, because call number is less, represents this image more near present image, thereby can further improve the effect of the embodiment of the invention.
Situation 2
Alternatively, the method comprises:
From this image collection, determine target image, as the correspondence image of each image block in this current image block band of living in; And
This from this image collection, determines the reference picture of this current image block according to the image information of the correspondence image of current image block, comprising:
According to the image type of the correspondence image of current image block, from this image collection, determine the reference picture of this current image block, so that the image type of the image type of this reference picture and this correspondence image is different; Or
Concern according to the POC between this image correspondence image and this current block of current image block, from this image collection, determine the reference picture of this current image block, so that the POC relation between the relation of the POC between the affiliated image this reference picture and this current block and the affiliated image this correspondence image and this current block is different; Or
According to the affiliated layer of the correspondence image of current image block, from this image collection, determine the reference picture of this current image block, so that the affiliated layer of this reference picture and this correspondence image affiliated layer is different; Or
According to looking under the correspondence image of current image block, from this image collection, determine the reference picture of this current image block so that this reference picture under look with this correspondence image under look different.
Specifically, because each image block of same slice can use identical correspondence image, therefore, for example, coding side (or decoding end) can from reference picture list, determine that an image is as the correspondence image colPic(target image of each image block in the current block slice of living in).
Alternatively, can from reference picture list, determine that the image of call number minimum is as colPic.
The method that should be understood that the above definite colPic that enumerates only is the exemplary explanation, and the present invention is not limited thereto, and can determine that arbitrary image in the reference picture list is as colPic.
Need to prove, can obtain identical TMVP in order to make coding side with decoding end, to realize the coupling of Code And Decode, need to guarantee coding side and the identical colPic of decoding end selection.Therefore, can stipulate that coding side and decoding end are according to identical rules selection colPic, also can be after coding side be determined colPic, the colPic(of its selection of notice decoding end for example, the notice decoding end is as the call number of image in the first image list of this colPic), thus make decoding end select identical colPic.
Thereafter, coding side can according to the image information of correspondence image (image type, and this image of this current block between image sequence numbering POC relation, in hierarchical coding affiliated layer or in looking coding more under arbitrary information in looking) from reference picture list, determine currRefPic.
Situation e
Alternatively, in embodiments of the present invention, according to the image information of the correspondence image of current image block, from this image collection, determine the reference picture of this current image block, comprising:
According to the image type of the correspondence image of current image block, from this image collection, determine the reference picture of this current image block, so that the image type of the image type of this reference picture and this correspondence image is different.
Specifically, for example, coding side can be from the attribute information of colPic, and the image type of determining colPic is long-term or short-term.
If colPic is long-term, then making currRefPic is short-term.If colPic is short-term, then making currRefPic is long-term.
Specifically, as mentioned above, look in the coding more, will come from other correspondence image of looking (specifically, being substantially to look) and be considered as long-term, the correspondence image that will come from when forward sight is considered as short-term.
Therefore, for example, if the colPic that selects is short-term, and currRefPic is long-term, represents that then colPic is the correspondence image that comes from when forward sight (dependence is looked).And can reference come from the image that other look (substantially looking) when the image (being colPic) of forward sight is common when encoding, that is, the colRefPic of the colBlock among the colPic is generally long-term.Thereby colPic and colRefPic are long-term usually, can improve the effect of obtaining TMVP.
Again for example, if the colPic that selects is long-term, and currRefPic is short-term, represents that then colPic comes from the correspondence image of substantially looking.Substantially look (being colPic) employed colRefPic when coding and be generally short-term, that is to say that the colRefPic of the corresponding blocks colBlock among the colPic is short-term.Thereby colPic and colRefPic are short-term, can improve the effect of obtaining TMVP.
Situation f
Alternatively, in embodiments of the present invention, according to the image information of the correspondence image of current image block, from this image collection, determine the reference picture of this current image block, comprising:
Concern according to the POC between this image correspondence image and this current block of current image block, from this image collection, determine the reference picture of this current image block, so that the POC relation between the relation of the POC between the affiliated image this reference picture and this current block and the affiliated image this correspondence image and this current block is different
Specifically, for example, coding side can be determined the POC of colPic from the attribute information of colPic, and, can be from the POC of the affiliated image currPic of current block, thus can determine the relation of the POC of the POC of colPic and currPic.
If the POC of colPic is identical with the POC of currPic, then make the POC of the POC of currRefPic and currPic different, if the POC of the POC of colPic and currPic is different, then make the POC of currRefPic identical with the POC of currPic.
Specifically, in the prior art, if the POC of a certain image (currRefPic or colPic) is identical with the POC of currPic, representing then that this image comes from looks or basic layer substantially, the image type that represents this image is long-term, if the POC of a certain image (currRefPic or colPic) and the POC of currPic are different, represent that then this image comes from dependence and looks or enhancement layer, the image type that represents this image is short-term.Vice versa, namely, if the image type of a certain image (currRefPic or colPic) is short-term, then represent this image POC and the POC of currPic different, if the image type of a certain image (currRefPic or colPic) is long-term, represent that then the POC of this image is identical with the POC of currPic.
Therefore, for example, if the POC of the POC of the colPic that selects and currPic is different, the image type that then represents colPic is short-term, and if the POC of currRefPic is identical with the POC of currPic, then the currRefPic image type is long-term.And as mentioned above, rely on and to look (being colPic) employed colRefPic when coding and usually come from and substantially look, that is to say that the colRefPic of the corresponding blocks colBlock among the currRefPic is long-term.Thereby colPic and colRefPic are long-term, can improve the effect of obtaining TMVP.
Again for example, if the POC of the colPic that selects is identical with the POC of currPic, then the colPic of expression selection is long-term, if and the POC of the POC of colPic and currPic is different, represent that then currRefPic is short-term, that is, expression currRefPic is the correspondence image that comes from when forward sight (dependence is looked).And the image of substantially looking (being colPic) uses the reference picture of short-term when coding, that is, the colRefPic of the colBlock among the colPic is generally short-term.Thereby colPic and colRefPic are short-term usually, can improve the effect of obtaining TMVP.
Situation g
Alternatively, in embodiments of the present invention, according to the image information of the correspondence image of current image block, from this image collection, determine the reference picture of this current image block, comprising:
According to the affiliated layer of the correspondence image of current image block, from this image collection, determine the reference picture of this current image block, so that the affiliated layer of this reference picture and this correspondence image affiliated layer is different.
Specifically, if the colPic of current block comes from the current layer (enhancement layer), represent that then colPic is short-term, at this moment, select to come from the image (long-term) of basic layer as currRefPic.Owing to the interior correspondence image of current layer can utilize inter prediction to choose basic layer as a reference when encoding usually; therefore; the colRefPic of the colBlock of colPic comes from basic layer (for long-term) usually, that is, colRefPic and colPic are long-term.
If the colPic of current block comes from basic layer, represent that then colPic is long-term, at this moment, select the interior image (short-term) of current layer (enhancement layer) as currRefPic.Come from basic layer owing to come from the reference picture of image (comprising this colPic) selection when coding of basic layer, that is, this reference picture is short-term.Therefore, the colRefPic of the corresponding blocks colBlock among the colPic is short-term, that is, colRefPic and colPic are short-term.
Situation h
Alternatively, in embodiments of the present invention, according to the image information of the correspondence image of current image block, from this image collection, determine the reference picture of this current image block, comprising:
According to looking under the correspondence image of current image block, from this image collection, determine the reference picture of this current image block so that this reference picture under look with this correspondence image under look different.
Specifically, if the colPic of current block comes from forward sight (dependence is looked), represent that then colPic is short-term, at this moment, select to come from the image (long-term) substantially looked as currRefPic.Substantially regard as reference owing to when encoding, usually utilizing inter prediction to choose when the correspondence image in the forward sight; therefore; the colRefPic of colBlock among the colPic comes from substantially and looks (for long-term) usually, that is, colRefPic and colPic are long-term.
If the colPic of current block comes from substantially look, represent that then colPic is long-term, at this moment, select to work as the interior image (short-term) of forward sight (dependence is looked) as currRefPic.Come from substantially and look owing to come from reference picture that the image (comprising this colPic) substantially looked selects when coding, that is, this reference picture is short-term.Therefore, the colRefPic of the corresponding blocks colBlock among the colPic is short-term, that is, colRefPic and colPic are short-term.
Optionally, comprise at least two the 4th alternative images in this image collection, wherein, the type of the 4th alternative image and the image type of this reference picture are different, or
POC relation between the affiliated image the 4th alternative image and this current block, and the relation of the POC between the affiliated image this reference picture and this current block is different, or
The affiliated layer of the 4th alternative image is different with the affiliated layer of this reference picture, or
Look under the 4th alternative image with this reference picture under look different, and
This from this image collection, determines the reference picture of this current image block according to the image information of this correspondence image, comprising:
According to the image information of this correspondence image, from these at least two the 4th alternative images, determine the image of the call number minimum in this image collection, as the reference picture of this current image block.
Specifically, be first kind image (image type short-term or long-term at definite colPic, it is identical or different closing with POC between the affiliated image of this current block, affiliated layer is basic layer or enhancement layer, under be considered as substantially looking or relying on looking) after, need to from reference picture list, select Second Type image (type and first kind image are different) as currRefPic, at this moment, if comprise a plurality of (at least two) Second Type image in the reference picture list (namely, the 4th alternative image), then can be from this a plurality of the 4th alternative image, select an image as currRefPic, for example, can select the image of call number minimum in a plurality of the 4th alternative image, as currRefPic, that is, can seek the different image of type and colPic from reference picture list according to reference picture index order number from small to large is currRefPic.
Like this, because call number is less, represents this image more near present image, thereby can further improve the effect of the embodiment of the invention.
Should be understood that above enumerating, select the image of call number minimum in the 4th alternative image, only is the exemplary explanation as currRefPic, and the present invention is not limited thereto, also can with select any one second alternative image as currRefPic.
According to the method for obtaining the time-domain motion vector predicted value of the embodiment of the invention, by the colPic of at first definite current block, and then the currRefPic of definite current block.Because the colPic of each image block is identical in the same slice, therefore, determined currRefPic is also identical, once determines to get final product in same slice, can effectively reduce the processing complexity.In addition, all image blocks among the whole slice all use same colPic, can effectively reduce taking cache resources.
According to the embodiment of the invention method of domain motion vector predictor really, by selecting reference picture and the correspondence image of current block, make the reference picture of current block and the image type of correspondence image, and the relation of the POC between the affiliated image block of current block, under the layer or described look different, can improve the effect that the reference picture that makes this current block and the reference picture of this correspondence image piece belong to identical reference picture type, thereby, in the different situation of time domain distance of the motion vector of the time domain distance of the motion vector of current block and this corresponding blocks, can improve the effect of the time-domain motion vector predicted value of obtaining current block.
Should understand, more than enumerated the image information according to the image in the image collection, from this image collection, determine reference picture and the correspondence image of current image block, so that the image type of the reference picture of current block and correspondence image, and the affiliated image block of current block between POC relation, affiliated layer or describedly look different embodiment, but the present invention is not limited thereto.Other adopt the image information according to the image in the image collection, determine reference picture and the correspondence image of current image block, and the embodiment of effect that obtains the time-domain motion vector predicted value of current block with raising all falls into protection scope of the present invention.
For example, if the correspondence image of the current block of selecting is short-term, then representing this correspondence image comes from when forward sight or current layer (non-substantially look or substantially increase), if deserve forward sight or current layer do not use substantially look or basic layer as a reference, and the reference picture of use short-term, be that colRefPic is short-term, then can select the image of short-term as currRefPic.
Again for example, when substantially looking or layer uses the reference picture of long-term substantially, if the currRefPic that selects is long-term, and colPic is long-term, represents that then colPic comes from the reference picture of substantially looking.And as mentioned above, substantially look (being colPic) when coding employed colRefPic be long-term, that is to say that the colRefPic of the corresponding blocks colBlock among the colPic is long-term.Thereby currRefPic and colRefPic are long-term, can improve the effect of obtaining TMVP.
And in embodiments of the present invention, relying on to look to have one also can have a plurality ofly, and current block can be with reference to the image of substantially looking, the image that also can look with reference to other dependences.Equally, enhancement layer can have one also can have a plurality ofly, and current block can be with reference to the image of basic layer, also can be with reference to the image of other enhancement layers.
At S120, can determine the correspondence image piece of this current image block in this correspondence image, and, determine that the process of corresponding picture block and method can be same as the prior art, here, for fear of giving unnecessary details, the description thereof will be omitted.
At S130, can be according to this reference picture and this correspondence image piece, determine the time-domain motion vector predicted value of this current image block, specifically, can obtain the motion vector MV of this correspondence picture block, and, if the time domain of the MV of the correspondence image piece of the time domain distance of the MV of current block and current block is apart from different, then can according to this reference picture and this correspondence image piece, utilize above-mentioned formula 1 to carry out the convergent-divergent of MV.
Alternatively, in embodiments of the present invention, the affiliated image of this current image block is bidirectional predictive picture, and this correspondence image is bidirectional predictive picture, and
This determines the time-domain motion vector predicted value of this current image block according to this reference picture and this correspondence image piece, comprising:
According to the image information of this correspondence image, determine the motion vector of this correspondence image piece;
According to the motion vector of this reference picture and this correspondence image piece, determine the time-domain motion vector predicted value of this current image block.
And the motion vector that this determines this correspondence image piece further comprises:
When the image type of this correspondence image is long-term type, if the reference picture of this current image block comes from the first reference picture list of the affiliated image of this current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of this correspondence image piece belongs to the first reference picture list of this correspondence image, if the reference picture of this current image block comes from the second reference picture list of the affiliated image of this current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of this correspondence image piece belongs to the second reference picture list of this correspondence image; Or
When the POC of the POC of this correspondence image and the affiliated image of this current image block is identical, if the reference picture of this current image block comes from the first reference picture list of the affiliated image of this current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of this correspondence image piece belongs to the first reference picture list of this correspondence image, if the reference picture of this current image block comes from the second reference picture list of the affiliated image of this current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of this correspondence image piece belongs to the second reference picture list of this correspondence image; Or
When the affiliated layer of this correspondence image is basic layer, if the reference picture of this current image block comes from the first reference picture list of the affiliated image of this current image block, then determine the motion vector of correspondence image piece, so that belonging to the image of this correspondence image, the image of the motion vector points of this correspondence image piece belongs to the first reference picture list, if the reference picture of this current image block comes from the second reference picture list of the affiliated image of this current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of this correspondence image piece belongs to the second reference picture list of this correspondence image; Or
Under this correspondence image, be considered as basic apparent time, if the reference picture of this current image block comes from the first reference picture list of the affiliated image of this current image block, then determine the motion vector of correspondence image piece, so that the image of this correspondence image of the motion vector points of this correspondence image piece belongs to the first reference picture list, if the reference picture of this current image block comes from the second reference picture list of the affiliated image of this current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of this correspondence image piece belongs to the second reference picture list of this correspondence image.
Specifically, in the prior art, when obtaining TMVP, specify that to have call number be that 0 reference picture is as the reference picture of current block.For B-slice, can select two reference pictures, be respectively that the middle call number of the first reference picture list (list 0) and the second reference picture list (list 1) is 0 reference picture.
And the correspondence image of current block comprises two MV, that is, and and colMV_L0 and colMV_L1, and utilize list corresponding to colPic to select predicted value as MV of colMV_L1 among the colMV_L0.If colPic comes from list 0, then select to point to the collMV_L1 of list 1; If colPic comes from list 1, then select to point to the colMV_L0 of list 0.
The situation that is not equal to the POC of present image at the POC of for example colPic (is before or after colPic is positioned at present image, colPic comes from the image when forward sight in other words) under, there are certain corresponding relation in the list that colPic is corresponding and the currMV of current block, namely, the list of colPic is that list 1 explanation colPic is positioned at after the present image, at this moment, the colMV_L0 that points to list 0 may pass present image, this that is to say, the currMV correlation of colMV_L0 and current block is higher, therefore selects colMV_L0.
But, if colPic come from substantially look or basic layer (namely, the image type of colPic is long-term, or the POC of colPic is identical with the POC of this currPic), at this moment, the relation of not determining between the list that colPic is corresponding and the current block currMV is helpless to select suitable colMV to be used for calculating the currMV of current block.On the contrary, if the reference picture of the current block of selecting from tabulation different with the tabulation of the colMV sensing of selection, can have a strong impact on obtaining of TMVP.
Therefore, in embodiments of the present invention, list that can be corresponding according to current block, select colMV, and, because after the reference picture currRefPic of current block determines, can according to currRefPic from list, determine list and the reference key in this list of the correspondence of current block.
Specifically, if list corresponding to current block is list 0(the first reference picture list), then the colMV_L0 of list 0 is pointed in selection.
If the list that current block is corresponding is list 1(the second reference picture list), then the collMV_L1 of list 1 is pointed in selection.
Like this, current block has identical POC with corresponding blocks and identical MV direction is arranged, and both MV correlations are higher, help to improve the TMVP precision of prediction.
Fig. 3 shows according to the embodiment of the invention indicative flowchart of the method 200 of domain motion vector predictor really.And the subject of implementation of the method 200 can be coding side, also can be decoding end, and the present invention also is not particularly limited.As shown in Figure 3, the method 200 comprises:
S210 determines reference picture and the correspondence image of current image block, and wherein, the affiliated image of this current image block is bidirectional predictive picture, and this correspondence image is bidirectional predictive picture;
S220 determines the correspondence image piece of this current image block in this correspondence image;
S230, image information according to this correspondence image, determine the motion vector of this correspondence image piece, this image information comprises following arbitrary information: image type, and the affiliated image of this current block between image sequence numbering POC relation, the affiliated layer in hierarchical coding or in looking coding more under arbitrary information in looking, this image type is divided into long-term type and short-term type, it is identical different with POC that this POC relation is divided into POC, should under layer be divided into basic layer and enhancement layer, look under this to be divided into and substantially look and dependence is looked;
S240 according to the motion vector of this reference picture and this correspondence image piece, determines the time-domain motion vector predicted value of this current image block.
And in embodiments of the present invention, the motion vector that this determines this correspondence image piece further comprises:
When the image type of this correspondence image is long-term type, if the reference picture of this current image block comes from the first reference picture list of the affiliated image of this current image block, then determine the motion vector of correspondence image piece, so that the image of this correspondence image of the motion vector points of this correspondence image piece belongs to the first reference picture list, if the reference picture of this current image block comes from the second reference picture list of the affiliated image of this current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of this correspondence image piece belongs to the second reference picture list of this correspondence image; Or
When the POC of the POC of this correspondence image and the affiliated image of this current image block is identical, if the reference picture of this current image block comes from the first reference picture list of the affiliated image of this current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of this correspondence image piece belongs to the first reference picture list of this correspondence image, if the reference picture of this current image block comes from the second reference picture list of the affiliated image of this current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of this correspondence image piece belongs to the second reference picture list of this correspondence image; Or
When the affiliated layer of this correspondence image is basic layer, if the reference picture of this current image block comes from the first reference picture list of the affiliated image of this current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of this correspondence image piece belongs to the first reference picture list of this correspondence image, if the reference picture of this current image block comes from the second reference picture list of the affiliated image of this current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of this correspondence image piece belongs to the second reference picture list of this correspondence image; Or
Under this correspondence image, be considered as basic apparent time, if the reference picture of this current image block comes from the first reference picture list of the affiliated image of this current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of this correspondence image piece belongs to the first reference picture list of this correspondence image, if the reference picture of this current image block comes from the second reference picture list of the affiliated image of this current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of this correspondence image piece belongs to the second reference picture list of this correspondence image.
Specifically, in the prior art, when obtaining TMVP, specify that to have call number be that 0 reference picture is as the reference picture of current block.For B-slice, can select two reference pictures, be respectively that the middle call number of the first reference picture list (list 0) and the second reference picture list (list1) is 0 reference picture.
And the correspondence image of current block comprises two MV, that is, and and colMV_L0 and colMV_L1, and utilize list corresponding to colPic to select predicted value as MV of colMV_L1 among the colMV_L0.If colPic comes from list 0, then select to point to the collMV_L1 of list 1; If colPic comes from list 1, then select to point to the colMV_L0 of list 0.
As shown in Figure 4, the situation that is not equal to the POC of present image at the POC of for example colPic (is before or after colPic is positioned at present image, colPic comes from the image when forward sight in other words) under, there are certain corresponding relation in the list that colPic is corresponding and the currMV of current block, namely, the list of colPic is that list 1 explanation colPic is positioned at after the present image, at this moment, the colMV_L0 that points to list 0 may pass present image, this that is to say, the currMV correlation of colMV_L0 and current block is higher, therefore selects colMV_L0.
But, as shown in Figure 5, if colPic come from substantially look or basic layer (namely, the image type of colPic is long-term, or the POC of colPic is identical with the POC of this currPic), at this moment, the relation of not determining between the list that colPic is corresponding and the current block currMV is helpless to select suitable colMV to be used for calculating the currMV of current block.On the contrary, if the reference picture of the current block of selecting from tabulation different with the tabulation of the colMV sensing of selection, can have a strong impact on obtaining of TMVP.
Therefore, in embodiments of the present invention, if coming from, substantially looks or basic layer (that is, the image type of colPic is long-term, or the POC of colPic is identical with the POC of this currPic) colPic, list that then can be corresponding according to current block, select colMV, and, because after the reference picture currRefPic of current block determines, can according to currRefPic from list, determine list and the reference key in this list of the correspondence of current block.
Specifically, if list corresponding to current block is list 0(the first reference picture list), then the colMV_L0 of list 0 is pointed in selection.
If the list that current block is corresponding is list 1(the second reference picture list), then the collMV_L1 of list 1 is pointed in selection.
Like this, current block has identical POC with corresponding blocks and identical MV direction is arranged, and both MV correlations are higher, help to improve the TMVP precision of prediction.
Should understand, more than enumerated, if coming from, substantially looks or basic layer colPic, list that then can be corresponding according to current block, select colMV, but the present invention is not limited thereto, comes from the situation of forward sight (dependence is looked) or current layer (enhancement layer) at colPic, list that also can be corresponding according to current block selects colMV.
More than, in conjunction with Fig. 1 to Fig. 5 the really method of domain motion vector predictor of the embodiment of the invention has been described, below, in conjunction with Fig. 6 and Fig. 7 the really device of domain motion vector predictor of the embodiment of the invention is described.
Fig. 6 shows according to the embodiment of the invention schematic block diagram of the device 300 of domain motion vector predictor really.As shown in Figure 6, this device 300 comprises:
Determining unit 310, be used for the image information according to the reference picture of current image block, from image collection, determine the correspondence image of this current image block, wherein, this image information comprises following arbitrary information: image type, and the numbering of the image sequence between the affiliated image of this current block POC relation, affiliated layer in hierarchical coding or in looking coding more under look, this image type is divided into long-term type and short-term type, it is identical different with POC that this POC relation is divided into POC, should under layer be divided into basic layer and enhancement layer, look under this to be divided into and substantially look and dependence is looked; Or
Be used for the image information according to the correspondence image of current image block, from this image collection, determine the reference picture of this current image block, wherein, this image information comprises following arbitrary information: image type, and the affiliated image of this current block between image sequence numbering POC relation, in hierarchical coding image affiliated layer or in looking coding more under look, this image type is divided into long-term type and short-term type, it is identical different with POC that this POC relation is divided into POC, should under layer be divided into basic layer and enhancement layer, look under this to be divided into and substantially look and dependence is looked;
Be used for determining the time-domain motion vector predicted value of this current image block according to this reference picture and this correspondence image piece.
Alternatively, this current image block is to rely on the view picture, and this image collection comprises with this dependence looks corresponding the image of substantially looking, or
This current image block is the image block in the enhancement layer image, and this image collection comprises the image of the basic layer corresponding with this enhancement layer image.
Alternatively, these determining unit 310 concrete image types that are used for according to the reference picture of current image block from this image collection, are determined the correspondence image of this current image block, so that the image type of the image type of this correspondence image and this reference picture is different; Or
Be used for concerning according to the POC between this image reference picture and this current block of current image block, from this image collection, determine the correspondence image of this current image block, so that the POC relation between the relation of the POC between the affiliated image this correspondence image and this current block and the affiliated image this reference picture and this current block is different; Or
Be used for the affiliated layer according to the reference picture of current image block, from this image collection, determine the correspondence image of this current image block, so that the affiliated layer of this correspondence image is different with the affiliated layer of this reference picture; Or
Be used for from this image collection, determining the correspondence image of this current image block according to looking under the reference picture of current image block so that this correspondence image under look with this reference picture under look different.
Alternatively, comprise at least two the first alternative images in this image collection, wherein, the type of this first alternative image and the image type of this reference picture are different, or
POC relation between the affiliated image this first alternative image and this current block, and the relation of the POC between the affiliated image this reference picture and this current block is different, or
The affiliated layer of this first alternative image is different with the affiliated layer of this reference picture, or
Look under this first alternative image with this reference picture under look different, and
These determining unit 310 concrete image informations that are used for according to this reference picture from these at least two the first alternative images, are determined the image of the call number minimum in this image collection, as the correspondence image of this current image block.
Alternatively, this image collection comprises at least one second alternative image and at least one the 3rd alternative image, and wherein, the image type of this second alternative image and the 3rd alternative image is different, or
POC relation between the affiliated image this second alternative image and this current block, and the relation of the POC between the affiliated image the 3rd alternative image and this current block is different, or
The affiliated layer of this second alternative image is different with the affiliated layer of the 3rd alternative image, or
Look under this second alternative image with the 3rd alternative image under look different, and
This determining unit 310 also is used for from this image collection, determines predicted picture, and this predicted picture comprises second an alternative image and the 3rd an alternative image, and this predicted picture is used for determining the correspondence image of this current image block each image block of band of living in;
Be used for from this predicted picture, determine the correspondence image of this current image block.
Alternatively, this image collection comprises at least two the second alternative images, and/or
This image collection comprises at least two the 3rd alternative images, and
This determining unit 310 specifically is used for from this image collection, determines predicted picture, and this predicted picture comprises the image of the call number minimum in this image collection in these at least two the second alternative images; And/or
Be used for from this image collection, determine predicted picture, this predicted picture comprises the image of the call number minimum in this image collection in these at least two the 3rd alternative images.
Alternatively, this determining unit 310 is concrete for from this image collection, determines target image, as the correspondence image of each image block in this current image block band of living in;
Be used for the image type according to the correspondence image of current image block, from this image collection, determine the reference picture of this current image block, so that the image type of the image type of this reference picture and this correspondence image is different; Or
Be used for concerning according to the POC between this image correspondence image and this current block of current image block, from this image collection, determine the reference picture of this current image block, so that the POC relation between the relation of the POC between the affiliated image this reference picture and this current block and the affiliated image this correspondence image and this current block is different; Or
Be used for the affiliated layer according to the correspondence image of current image block, from this image collection, determine the reference picture of this current image block, so that the affiliated layer of this reference picture is different with the affiliated layer of this correspondence image; Or
Be used for from this image collection, determining the reference picture of this current image block according to looking under the correspondence image of current image block so that this reference picture under look with this correspondence image under look different.
Alternatively, comprise at least two the 4th alternative images in this image collection, wherein, the type of the 4th alternative image and the image type of this reference picture are different, or
POC relation between the affiliated image the 4th alternative image and this current block, and the relation of the POC between the affiliated image this reference picture and this current block is different, or
The affiliated layer of the 4th alternative image is different with the affiliated layer of this reference picture, or
Look under the 4th alternative image with this reference picture under look different, and
These determining unit 310 concrete image informations that are used for according to this correspondence image from these at least two the 4th alternative images, are determined the image of the call number minimum in this image collection, as the reference picture of this current image block.
Alternatively, the affiliated image of this current image block is bidirectional predictive picture, and this correspondence image is bidirectional predictive picture, and
This processing unit 320 is concrete for the image informations according to this correspondence image, determines the motion vector of this correspondence image piece;
Be used for the motion vector according to this reference picture and this correspondence image piece, determine the time-domain motion vector predicted value of this current image block.;
Alternatively, this processing unit 320 is concrete for when the image type of this correspondence image is long-term type, if the reference picture of this current image block comes from the first reference picture list of the affiliated image of this current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of this correspondence image piece belongs to the first reference picture list of this correspondence image, if the reference picture of this current image block comes from the second reference picture list of the affiliated image of this current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of this correspondence image piece belongs to the second reference picture list of this correspondence image; Or
Be used for POC when the POC of this correspondence image and the affiliated image of this current image block when identical, if the reference picture of this current image block comes from the first reference picture list of the affiliated image of this current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of this correspondence image piece belongs to the first reference picture list of this correspondence image, if the reference picture of this current image block comes from the second reference picture list of the affiliated image of this current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of this correspondence image piece belongs to the second reference picture list of this correspondence image; Or
Be used for when the affiliated layer of this correspondence image is basic layer, if the reference picture of this current image block comes from the first reference picture list of the affiliated image of this current image block, then determine the motion vector of correspondence image piece, so that belonging to the image of this correspondence image, the image of the motion vector points of this correspondence image piece belongs to the first reference picture list, if the reference picture of this current image block comes from the second reference picture list of the affiliated image of this current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of this correspondence image piece belongs to the second reference picture list of this correspondence image; Or
Be used under this correspondence image, being considered as basic apparent time, if the reference picture of this current image block comes from the first reference picture list of the affiliated image of this current image block, then determine the motion vector of correspondence image piece, so that the image of this correspondence image of the motion vector points of this correspondence image piece belongs to the first reference picture list, if the reference picture of this current image block comes from the second reference picture list of the affiliated image of this current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of this correspondence image piece belongs to the second reference picture list of this correspondence image.
According to the embodiment of the invention really the device 300 of domain motion vector predictor as the embodiment of the invention subject of implementation of the method 100 of domain motion vector predictor really, can be corresponding to the coding side in the method for the embodiment of the invention or decoding end, and, each unit among Fig. 6 in the device 300 of definite time-domain motion vector predicted value is module and above-mentioned other operations and/or function, be respectively applied to realize each flow process of the method 100 among Fig. 2, for simplicity, do not repeat them here.
According to the embodiment of the invention device of domain motion vector predictor really, by selecting reference picture and the correspondence image of current block, make the reference picture of current block and the image type of correspondence image, and the relation of the POC between the affiliated image block of current block, maybe this looks different affiliated layer, can improve the effect that the reference picture that makes this current block and the reference picture of this correspondence image piece belong to identical reference picture type, thereby, in the different situation of time domain distance of the motion vector of the time domain distance of the motion vector of current block and this corresponding blocks, can improve the effect of the time-domain motion vector predicted value of obtaining current block.
Fig. 7 shows according to the embodiment of the invention schematic block diagram of the device 400 of domain motion vector predictor really.As shown in Figure 7, this device 400 comprises:
Determining unit 410, for reference picture and the correspondence image of determining current image block, wherein, the affiliated image of this current image block is bidirectional predictive picture, this correspondence image is bidirectional predictive picture;
Be used for determining that this current image block is at the correspondence image piece of this correspondence image;
Be used for the motion vector according to this reference picture and this correspondence image piece, determine the time-domain motion vector predicted value of this current image block.
Alternatively, this processing unit 420 is concrete for when the image type of this correspondence image is long-term type, if the reference picture of this current image block comes from the first reference picture list of the affiliated image of this current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of this correspondence image piece belongs to the first reference picture list of this correspondence image, if the reference picture of this current image block comes from the second reference picture list of the affiliated image of this current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of this correspondence image piece belongs to the second reference picture list of this correspondence image; Or
Be used for POC when the POC of this correspondence image and the affiliated image of this current image block when identical, if the reference picture of this current image block comes from the first reference picture list of the affiliated image of this current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of this correspondence image piece belongs to the first reference picture list of this correspondence image, if the reference picture of this current image block comes from the second reference picture list of the affiliated image of this current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of this correspondence image piece belongs to the second reference picture list of this correspondence image; Or
Be used for when the affiliated layer of this correspondence image is basic layer, if the reference picture of this current image block comes from the first reference picture list of the affiliated image of this current image block, then determine the motion vector of correspondence image piece, so that belonging to the image of this correspondence image, the image of the motion vector points of this correspondence image piece belongs to the first reference picture list, if the reference picture of this current image block comes from the second reference picture list of the affiliated image of this current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of this correspondence image piece belongs to the second reference picture list of this correspondence image; Or
Be used under this correspondence image, being considered as basic apparent time, if the reference picture of this current image block comes from the first reference picture list of the affiliated image of this current image block, then determine the motion vector of correspondence image piece, so that the image of this correspondence image of the motion vector points of this correspondence image piece belongs to the first reference picture list, if the reference picture of this current image block comes from the second reference picture list of the affiliated image of this current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of this correspondence image piece belongs to the second reference picture list of this correspondence image.
According to the embodiment of the invention really the device 400 of domain motion vector predictor as the embodiment of the invention subject of implementation of the method 200 of domain motion vector predictor really, can be corresponding to the coding side in the method for the embodiment of the invention or decoding end, and, each unit among Fig. 7 in the device 400 of definite time-domain motion vector predicted value is module and above-mentioned other operations and/or function, be respectively applied to realize each flow process of the method 200 among Fig. 3, for simplicity, do not repeat them here.
Should be understood that herein term " and/or ", only be a kind of incidence relation of describing affiliated partner, can there be three kinds of relations in expression, for example, A and/or B can represent: individualism A exists A and B, these three kinds of situations of individualism B simultaneously.In addition, character "/" represents that generally forward-backward correlation is to liking a kind of relation of "or" herein.
Should understand, in various embodiment of the present invention, the size of the sequence number of above-mentioned each process does not also mean that the priority of execution sequence, and the execution sequence of each process should determine with its function and internal logic, and should not consist of to the implementation process of the embodiment of the invention any restriction.
Those of ordinary skills can recognize, unit and the algorithm steps of each example of describing in conjunction with embodiment disclosed herein can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are carried out with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.The professional and technical personnel can specifically should be used for realizing described function with distinct methods to each, but this realization should not thought and exceeds scope of the present invention.
The those skilled in the art can be well understood to, and is the convenience described and succinct, and the specific works process of the system of foregoing description, device and unit can with reference to the corresponding process among the preceding method embodiment, not repeat them here.
In several embodiment that the application provides, should be understood that disclosed system, apparatus and method can realize by another way.For example, device embodiment described above only is schematic, for example, the division of described unit, only be that a kind of logic function is divided, during actual the realization other dividing mode can be arranged, for example a plurality of unit or assembly can in conjunction with or can be integrated into another system, or some features can ignore, or do not carry out.Another point, the shown or coupling each other discussed or direct-coupling or communication connection can be by some interfaces, indirect coupling or the communication connection of device or unit can be electrically, machinery or other form.
Described unit as separating component explanation can or can not be physically to separate also, and the parts that show as the unit can be or can not be physical locations also, namely can be positioned at a place, perhaps also can be distributed on a plurality of network element.Can select according to the actual needs wherein some or all of unit to realize the purpose of present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in the processing unit, also can be that the independent physics of unit exists, and also can be integrated in the unit two or more unit.
If described function realizes with the form of SFU software functional unit and during as independently production marketing or use, can be stored in the computer read/write memory medium.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words or the part of this technical scheme can embody with the form of software product, this computer software product is stored in the storage medium, comprise that some instructions are with so that a computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out all or part of step of the described method of each embodiment of the present invention.And aforesaid storage medium comprises: the various media that can be program code stored such as USB flash disk, portable hard drive, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD.
The above; be the specific embodiment of the present invention only, but protection scope of the present invention is not limited to this, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of described claim.
Claims (24)
1. the method for a definite time-domain motion vector predicted value is characterized in that, described method comprises:
Image information according to the reference picture of current image block, from image collection, determine the correspondence image of described current image block, wherein, described image information comprises following arbitrary information: image type, and the affiliated image of described current block between image sequence numbering POC relation, the affiliated layer in hierarchical coding or in looking coding more under look, described image type is divided into long-term type and short-term type, it is identical different with POC that described POC relation is divided into POC, layer is divided into basic layer and enhancement layer under described, looks under described to be divided into and substantially looks and dependence is looked; Or
Image information according to the correspondence image of current image block, from image collection, determine the reference picture of described current image block, wherein, described image information comprises following arbitrary information: image type, and the numbering of the image sequence between the affiliated image of described current block POC relation, in hierarchical coding the affiliated layer of image or in looking coding more under look, described image type is divided into long-term type and short-term type, it is identical different with POC that described POC relation is divided into POC, layer is divided into basic layer and enhancement layer under described, looks under described to be divided into and substantially looks and dependence is looked;
Determine the correspondence image piece of described current image block in described correspondence image;
According to described reference picture and described correspondence image piece, determine the time-domain motion vector predicted value of described current image block.
2. method according to claim 1 is characterized in that, described current image block is the image block that relies in the view picture, and described image collection comprises with described dependence looks corresponding the image of substantially looking, or
Described current image block is the image block in the enhancement layer image, and described image collection comprises the image of the basic layer corresponding with described enhancement layer image.
3. method according to claim 1 and 2 is characterized in that, the image information of described reference picture according to current image block from described image collection, is determined the correspondence image of described current image block, comprising:
According to the image type of the reference picture of current image block, from described image collection, determine the correspondence image of described current image block, so that the image type of the image type of described correspondence image and described reference picture is different; Or
Concern according to the POC between affiliated image reference picture and described current block of current image block, from described image collection, determine the correspondence image of described current image block, so that the POC relation between the relation of the POC between the affiliated image described correspondence image and described current block and the affiliated image described reference picture and described current block is different; Or
According to the affiliated layer of the reference picture of current image block, from described image collection, determine the correspondence image of described current image block, so that the affiliated layer of described correspondence image and described reference picture affiliated layer is different; Or
According to looking under the reference picture of current image block, from described image collection, determine the correspondence image of described current image block so that described correspondence image under look with described reference picture under look different.
4. method according to claim 3 is characterized in that, comprises at least two the first alternative images in the described image collection, and wherein, the type of described the first alternative image and the image type of described reference picture are different, or
POC relation between the affiliated image described the first alternative image and described current block, and the relation of the POC between the affiliated image described reference picture and described current block is different, or
The affiliated layer of described the first alternative image is different with the affiliated layer of described reference picture, or
Look under described the first alternative image with described reference picture under look different, and
The image information of described reference picture according to current image block from described image collection, is determined the correspondence image of described current image block, comprising:
According to the image information of the reference picture of current image block, from described at least two the first alternative images, determine the image of the call number minimum in described image collection, as the correspondence image of described current image block.
5. method according to claim 3 is characterized in that, described image collection comprises at least one second alternative image and at least one the 3rd alternative image, and wherein, the image type of the described second alternative image and described the 3rd alternative image is different, or
POC relation between the affiliated image described the second alternative image and described current block, and the relation of the POC between the affiliated image described the 3rd alternative image and described current block is different, or
The affiliated layer of described the second alternative image is different with the affiliated layer of described the 3rd alternative image, or
Look under described the second alternative image with described the 3rd alternative image under look different, and
Described method also comprises:
From described image collection, determine predicted picture, described predicted picture comprises second an alternative image and the 3rd an alternative image, described predicted picture is used for determining the correspondence image of described current image block each image block of band of living in; And
Described type according to described reference picture from described image collection, is determined the correspondence image of described current image block, comprising:
From described predicted picture, determine the correspondence image of described current image block.
6. method according to claim 5 is characterized in that, described image collection comprises at least two the second alternative images, and/or
Described image collection comprises at least two the 3rd alternative images, and
Describedly from described image collection, determine predicted picture, comprising:
From described image collection, determine predicted picture, described predicted picture comprises the image of the call number minimum in described image collection in described at least two the second alternative images; And/or
From described image collection, determine predicted picture, described predicted picture comprises the image of the call number minimum in described image collection in described at least two the 3rd alternative images.
7. method according to claim 3 is characterized in that, described method comprises:
From described image collection, determine target image, as the correspondence image of each image block in the described current image block band of living in; And
The image information of described correspondence image according to current image block from described image collection, is determined the reference picture of described current image block, comprising:
According to the image type of the correspondence image of current image block, from described image collection, determine the reference picture of described current image block, so that the image type of the image type of described reference picture and described correspondence image is different; Or
Concern according to the POC between affiliated image correspondence image and described current block of current image block, from described image collection, determine the reference picture of described current image block, so that the POC relation between the relation of the POC between the affiliated image described reference picture and described current block and the affiliated image described correspondence image and described current block is different; Or
According to the affiliated layer of the correspondence image of current image block, from described image collection, determine the reference picture of described current image block, so that the affiliated layer of described reference picture and described correspondence image affiliated layer is different; Or
According to looking under the correspondence image of current image block, from described image collection, determine the reference picture of described current image block so that described reference picture under look with described correspondence image under look different.
8. method according to claim 7 is characterized in that, comprises at least two the 4th alternative images in the described image collection, and wherein, the type of described the 4th alternative image and the image type of described correspondence image are different, or
POC relation between the affiliated image described the 4th alternative image and described current block, and the relation of the POC between the affiliated image described correspondence image and described current block is different, or
The affiliated layer of described the 4th alternative image is different with the affiliated layer of described reference picture, or
Look under described the 4th alternative image with described reference picture under look different, and
Described image information according to described correspondence image from described image collection, is determined the reference picture of described current image block, comprising:
According to the image information of described correspondence image, from described at least two the 4th alternative images, determine the image of the call number minimum in described image collection, as the reference picture of described current image block.
9. each described method in 8 according to claim 1 is characterized in that the affiliated image of described current image block is bidirectional predictive picture, and described correspondence image is bidirectional predictive picture, and
Described according to described reference picture and described correspondence image piece, determine the time-domain motion vector predicted value of described current image block, comprising:
According to the image information of described correspondence image, determine the motion vector of described correspondence image piece;
According to the motion vector of described reference picture and described correspondence image piece, determine the time-domain motion vector predicted value of described current image block.
10. method according to claim 9 is characterized in that, described image information according to described correspondence image is determined specifically to comprise the motion vector of described correspondence image piece:
When the image type of described correspondence image is long-term type, if the reference picture of described current image block comes from the first reference picture list of the affiliated image of described current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of described correspondence image piece belongs to the first reference picture list of described correspondence image, if the reference picture of described current image block comes from the second reference picture list of the affiliated image of described current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of described correspondence image piece belongs to the second reference picture list of described correspondence image; Or
When the POC of the POC of described correspondence image and the affiliated image of described current image block is identical, if the reference picture of described current image block comes from the first reference picture list of the affiliated image of described current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of described correspondence image piece belongs to the first reference picture list of described correspondence image, if the reference picture of described current image block comes from the second reference picture list of the affiliated image of described current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of described correspondence image piece belongs to the second reference picture list of described correspondence image; Or
When the affiliated layer of described correspondence image is basic layer, if the reference picture of described current image block comes from the first reference picture list of the affiliated image of described current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of described correspondence image piece belongs to the first reference picture list of described correspondence image, if the reference picture of described current image block comes from the second reference picture list of the affiliated image of described current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of described correspondence image piece belongs to the second reference picture list of described correspondence image; Or
Under described correspondence image, be considered as basic apparent time, if the reference picture of described current image block comes from the first reference picture list of the affiliated image of described current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of described correspondence image piece belongs to the first reference picture list of described correspondence image, if the reference picture of described current image block comes from the second reference picture list of the affiliated image of described current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of described correspondence image piece belongs to the second reference picture list of described correspondence image.
11. the method for a definite time-domain motion vector predicted value is characterized in that, described method comprises:
Determine reference picture and the correspondence image of current image block, wherein, the affiliated image of described current image block is bidirectional predictive picture, and described correspondence image is bidirectional predictive picture;
Determine the correspondence image piece of described current image block in described correspondence image;
Image information according to described correspondence image, determine the motion vector of described correspondence image piece, described image information comprises following arbitrary information: image type, and the affiliated image of described current block between image sequence numbering POC relation, the affiliated layer in hierarchical coding or in looking coding more under look, described image type is divided into long-term type and short-term type, it is identical different with POC that described POC relation is divided into POC, layer is divided into basic layer and enhancement layer under described, looks under described to be divided into and substantially looks and dependence is looked;
According to the motion vector of described reference picture and described correspondence image piece, determine the time-domain motion vector predicted value of described current image block.
12. method according to claim 11 is characterized in that, described image information according to described correspondence image is determined specifically to comprise the motion vector of described correspondence image piece:
When the image type of described correspondence image is long-term type, if the reference picture of described current image block comes from the first reference picture list of the affiliated image of described current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of described correspondence image piece belongs to the first reference picture list of described correspondence image, if the reference picture of described current image block comes from the second reference picture list of the affiliated image of described current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of described correspondence image piece belongs to the second reference picture list of described correspondence image; Or
When the POC of the POC of described correspondence image and the affiliated image of described current image block is identical, if the reference picture of described current image block comes from the first reference picture list of the affiliated image of described current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of described correspondence image piece belongs to the first reference picture list of described correspondence image, if the reference picture of described current image block comes from the second reference picture list of the affiliated image of described current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of described correspondence image piece belongs to the second reference picture list of described correspondence image; Or
When the affiliated layer of described correspondence image is basic layer, if the reference picture of described current image block comes from the first reference picture list of the affiliated image of described current image block, then determine the motion vector points of correspondence image piece, so that the image of the motion vector of described correspondence image piece belongs to the first reference picture list of described correspondence image, if the reference picture of described current image block comes from the second reference picture list of the affiliated image of described current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of described correspondence image piece belongs to the second reference picture list of described correspondence image; Or
Under described correspondence image, be considered as basic apparent time, if the reference picture of described current image block comes from the first reference picture list of the affiliated image of described current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of described correspondence image piece belongs to the first reference picture list of described correspondence image, if the reference picture of described current image block comes from the second reference picture list of the affiliated image of described current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of described correspondence image piece belongs to the second reference picture list of described correspondence image.
13. the device of a definite time-domain motion vector predicted value is characterized in that, described device comprises:
Determining unit, be used for the image information according to the reference picture of current image block, from image collection, determine the correspondence image of described current image block, wherein, described image information comprises following arbitrary information: image type, and the numbering of the image sequence between the affiliated image of described current block POC relation, affiliated layer in hierarchical coding or in looking coding more under look, described image type is divided into long-term type and short-term type, it is identical different with POC that described POC relation is divided into POC, layer is divided into basic layer and enhancement layer under described, looks under described to be divided into and substantially looks and dependence is looked; Or
Be used for the image information according to the correspondence image of current image block, from image collection, determine the reference picture of described current image block, wherein, described image information comprises following arbitrary information: image type, and the numbering of the image sequence between the affiliated image of described current block POC relation, in hierarchical coding the affiliated layer of image or in looking coding more under look, described image type is divided into long-term type and short-term type, it is identical different with POC that described POC relation is divided into POC, layer is divided into basic layer and enhancement layer under described, looks under described to be divided into and substantially looks and dependence is looked;
Processing unit is used for determining that described current image block is at the correspondence image piece of described correspondence image;
Be used for according to described reference picture and described correspondence image piece, determine the time-domain motion vector predicted value of described current image block.
14. device according to claim 13 is characterized in that, described current image block is to rely on the view picture, and described image collection comprises with described dependence looks corresponding the image of substantially looking, or
Described current image block is the image block in the enhancement layer image, and described image collection comprises the image of the basic layer corresponding with described enhancement layer image.
15. according to claim 13 or 14 described devices, it is characterized in that, described determining unit specifically is used for the image type according to the reference picture of current image block, from described image collection, determine the correspondence image of described current image block, so that the image type of the image type of described correspondence image and described reference picture is different; Or
Be used for concerning according to the POC between affiliated image reference picture and described current block of current image block, from described image collection, determine the correspondence image of described current image block, so that the POC relation between the relation of the POC between the affiliated image described correspondence image and described current block and the affiliated image described reference picture and described current block is different; Or
Be used for the affiliated layer according to the reference picture of current image block, from described image collection, determine the correspondence image of described current image block, so that the affiliated layer of described correspondence image is different with the affiliated layer of described reference picture; Or
Be used for from described image collection, determining the correspondence image of described current image block according to looking under the reference picture of current image block so that described correspondence image under look with described reference picture under look different.
16. device according to claim 15 is characterized in that, comprises at least two the first alternative images in the described image collection, wherein, the type of described the first alternative image and the image type of described reference picture are different, or
POC relation between the affiliated image described the first alternative image and described current block, and the relation of the POC between the affiliated image described reference picture and described current block is different, or
The affiliated layer of described the first alternative image is different with the affiliated layer of described reference picture, or
Look under described the first alternative image with described reference picture under look different, and
Described determining unit specifically is used for the image information according to described reference picture, from described at least two the first alternative images, determines the image of the call number minimum in described image collection, as the correspondence image of described current image block.
17. device according to claim 15 is characterized in that, described image collection comprises at least one second alternative image and at least one the 3rd alternative image, and wherein, the image type of the described second alternative image and described the 3rd alternative image is different, or
POC relation between the affiliated image described the second alternative image and described current block, and the relation of the POC between the affiliated image described the 3rd alternative image and described current block is different, or
The affiliated layer of described the second alternative image is different with the affiliated layer of described the 3rd alternative image, or
Look under described the second alternative image with described the 3rd alternative image under look different, and
Described determining unit also is used for from described image collection, determine predicted picture, described predicted picture comprises second an alternative image and the 3rd an alternative image, and described predicted picture is used for determining the correspondence image of described current image block each image block of band of living in;
Be used for from described predicted picture, determine the correspondence image of described current image block.
18. device according to claim 17 is characterized in that, described image collection comprises at least two the second alternative images, and/or
Described image collection comprises at least two the 3rd alternative images, and
Described determining unit specifically is used for from described image collection, determines predicted picture, and described predicted picture comprises the image of the call number minimum in described image collection in described at least two the second alternative images; And/or
Be used for from described image collection, determine predicted picture, described predicted picture comprises the image of the call number minimum in described image collection in described at least two the 3rd alternative images.
19. device according to claim 15 is characterized in that, described determining unit specifically is used for from described image collection, determines target image, as the correspondence image of each image block in the described current image block band of living in;
Be used for the image type according to the correspondence image of current image block, from described image collection, determine the reference picture of described current image block, so that the image type of the image type of described reference picture and described correspondence image is different; Or
Be used for concerning according to the POC between affiliated image correspondence image and described current block of current image block, from described image collection, determine the reference picture of described current image block, so that the POC relation between the relation of the POC between the affiliated image described reference picture and described current block and the affiliated image described correspondence image and described current block is different; Or
Be used for the affiliated layer according to the correspondence image of current image block, from described image collection, determine the reference picture of described current image block, so that the affiliated layer of described reference picture is different with the affiliated layer of described correspondence image; Or
Be used for from described image collection, determining the reference picture of described current image block according to looking under the correspondence image of current image block so that described reference picture under look with described correspondence image under look different.
20. device according to claim 19 is characterized in that, comprises at least two the 4th alternative images in the described image collection, wherein, the type of described the 4th alternative image and the image type of described reference picture are different, or
POC relation between the affiliated image described the 4th alternative image and described current block, and the relation of the POC between the affiliated image described reference picture and described current block is different, or
The affiliated layer of described the 4th alternative image is different with the affiliated layer of described reference picture, or
Look under described the 4th alternative image with described reference picture under look different, and
Described determining unit specifically is used for the image information according to described correspondence image, from described at least two the 4th alternative images, determines the image of the call number minimum in described image collection, as the reference picture of described current image block.
21. each described device in 20 is characterized in that the affiliated image of described current image block is bidirectional predictive picture according to claim 13, described correspondence image is bidirectional predictive picture, and
Described processing unit specifically is used for the image information according to described correspondence image, determines the motion vector of described correspondence image piece;
Be used for the motion vector according to described reference picture and described correspondence image piece, determine the time-domain motion vector predicted value of described current image block.
22. device according to claim 21, it is characterized in that, described processing unit specifically is used for when the image type of described correspondence image is long-term type, if the reference picture of described current image block comes from the first reference picture list of the affiliated image of described current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of described correspondence image piece belongs to the first reference picture list of described correspondence image, if the reference picture of described current image block comes from the second reference picture list of the affiliated image of described current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of described correspondence image piece belongs to the second reference picture list of described correspondence image; Or
Be used for POC when the POC of described correspondence image and the affiliated image of described current image block when identical, if the reference picture of described current image block comes from the first reference picture list of the affiliated image of described current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of described correspondence image piece belongs to the first reference picture list of described correspondence image, if the reference picture of described current image block comes from the second reference picture list of the affiliated image of described current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of described correspondence image piece belongs to the second reference picture list of described correspondence image; Or
Be used for when the affiliated layer of described correspondence image is basic layer, if the reference picture of described current image block comes from the first reference picture list of the affiliated image of described current image block, then determine the motion vector of correspondence image piece, so that belonging to the image of described correspondence image, the image of the motion vector points of described correspondence image piece belongs to the first reference picture list, if the reference picture of described current image block comes from the second reference picture list of the affiliated image of described current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of described correspondence image piece belongs to the second reference picture list of described correspondence image; Or
Be used under described correspondence image, being considered as basic apparent time, if the reference picture of described current image block comes from the first reference picture list of the affiliated image of described current image block, then determine the motion vector of correspondence image piece, so that the image of the described correspondence image of the motion vector points of described correspondence image piece belongs to the first reference picture list, if the reference picture of described current image block comes from the second reference picture list of the affiliated image of described current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of described correspondence image piece belongs to the second reference picture list of described correspondence image.
23. the device of a definite time-domain motion vector predicted value is characterized in that, described device comprises:
Determining unit, for reference picture and the correspondence image of determining current image block, wherein, the affiliated image of described current image block is bidirectional predictive picture, described correspondence image is bidirectional predictive picture;
Be used for determining that described current image block is at the correspondence image piece of described correspondence image;
Processing unit, be used for the image information according to described correspondence image, determine the motion vector of described correspondence image piece, described image information comprises following arbitrary information: image type, and the affiliated image of described current block between image sequence numbering POC relation, the affiliated layer in hierarchical coding or in looking coding more under look, described image type is divided into long-term type and short-term type, it is identical different with POC that described POC relation is divided into POC, layer is divided into basic layer and enhancement layer under described, looks under described to be divided into and substantially looks and dependence is looked;
Be used for the motion vector according to described reference picture and described correspondence image piece, determine the time-domain motion vector predicted value of described current image block.
24. device according to claim 23, it is characterized in that, described processing unit specifically is used for when the image type of described correspondence image is long-term type, if the reference picture of described current image block comes from the first reference picture list of the affiliated image of described current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of described correspondence image piece belongs to the first reference picture list of described correspondence image, if the reference picture of described current image block comes from the second reference picture list of the affiliated image of described current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of described correspondence image piece belongs to the second reference picture list of described correspondence image; Or
Be used for POC when the POC of described correspondence image and the affiliated image of described current image block when identical, if the reference picture of described current image block comes from the first reference picture list of the affiliated image of described current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of described correspondence image piece belongs to the first reference picture list of described correspondence image, if the reference picture of described current image block comes from the second reference picture list of the affiliated image of described current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of described correspondence image piece belongs to the second reference picture list of described correspondence image; Or
Be used for when the affiliated layer of described correspondence image is basic layer, if the reference picture of described current image block comes from the first reference picture list of the affiliated image of described current image block, then determine the motion vector of correspondence image piece, so that belonging to the image of described correspondence image, the image of the motion vector points of described correspondence image piece belongs to the first reference picture list, if the reference picture of described current image block comes from the second reference picture list of the affiliated image of described current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of described correspondence image piece belongs to the second reference picture list of described correspondence image; Or
Be used under described correspondence image, being considered as basic apparent time, if the reference picture of described current image block comes from the first reference picture list of the affiliated image of described current image block, then determine the motion vector of correspondence image piece, so that the image of the described correspondence image of the motion vector points of described correspondence image piece belongs to the first reference picture list, if the reference picture of described current image block comes from the second reference picture list of the affiliated image of described current image block, then determine the motion vector of correspondence image piece, so that the image of the motion vector points of described correspondence image piece belongs to the second reference picture list of described correspondence image.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310005057.6A CN103024397B (en) | 2013-01-07 | 2013-01-07 | Method and device for determining time domain motion vector predictor |
PCT/CN2013/082017 WO2014106388A1 (en) | 2013-01-07 | 2013-08-22 | Method and device for determining temporal motion vector predictor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310005057.6A CN103024397B (en) | 2013-01-07 | 2013-01-07 | Method and device for determining time domain motion vector predictor |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103024397A true CN103024397A (en) | 2013-04-03 |
CN103024397B CN103024397B (en) | 2015-07-08 |
Family
ID=47972469
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310005057.6A Active CN103024397B (en) | 2013-01-07 | 2013-01-07 | Method and device for determining time domain motion vector predictor |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN103024397B (en) |
WO (1) | WO2014106388A1 (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103237213A (en) * | 2013-04-08 | 2013-08-07 | 华为技术有限公司 | Method for coding videos, method for decoding videos and related devices |
WO2014106388A1 (en) * | 2013-01-07 | 2014-07-10 | 华为技术有限公司 | Method and device for determining temporal motion vector predictor |
CN104301734A (en) * | 2013-07-15 | 2015-01-21 | 华为技术有限公司 | Method and apparatus for processing image |
CN105122816A (en) * | 2013-04-05 | 2015-12-02 | 夏普株式会社 | Decoding of inter-layer reference picture set and reference picture list construction |
CN105144714A (en) * | 2013-04-09 | 2015-12-09 | 联发科技股份有限公司 | Method and apparatus of disparity vector derivation in 3d video coding |
CN105850126A (en) * | 2013-12-24 | 2016-08-10 | 株式会社Kt | Method and apparatus for encoding/decoding multilayer video signal |
CN106464902A (en) * | 2014-06-20 | 2017-02-22 | 高通股份有限公司 | Temporal motion vector prediction (tmvp) indication in multi-layer codecs |
CN110381323A (en) * | 2018-04-12 | 2019-10-25 | 福州瑞芯微电子股份有限公司 | Frame motion vector information lossless compressibility and method are assisted based on inter-prediction |
US10602161B2 (en) | 2014-03-24 | 2020-03-24 | Kt Corporation | Multilayer video signal encoding/decoding method and device |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3846471A4 (en) | 2018-08-31 | 2022-02-23 | SZ DJI Technology Co., Ltd. | Encoding method, decoding method, encoding apparatus, and decoding apparatus |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090304083A1 (en) * | 2003-12-31 | 2009-12-10 | Institute Of Computing Technology Chinese Academy Of Sciences | Method for obtaining image reference block in a code of mode of fixed reference frame number |
CN101841712A (en) * | 2010-04-28 | 2010-09-22 | 广西大学 | B-frame expansion direct mode oriented to panoramic video coding |
US20120008688A1 (en) * | 2010-07-12 | 2012-01-12 | Mediatek Inc. | Method and Apparatus of Temporal Motion Vector Prediction |
CN102769748A (en) * | 2012-07-02 | 2012-11-07 | 华为技术有限公司 | Motion vector prediction method, device and system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103024397B (en) * | 2013-01-07 | 2015-07-08 | 华为技术有限公司 | Method and device for determining time domain motion vector predictor |
-
2013
- 2013-01-07 CN CN201310005057.6A patent/CN103024397B/en active Active
- 2013-08-22 WO PCT/CN2013/082017 patent/WO2014106388A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090304083A1 (en) * | 2003-12-31 | 2009-12-10 | Institute Of Computing Technology Chinese Academy Of Sciences | Method for obtaining image reference block in a code of mode of fixed reference frame number |
CN101841712A (en) * | 2010-04-28 | 2010-09-22 | 广西大学 | B-frame expansion direct mode oriented to panoramic video coding |
US20120008688A1 (en) * | 2010-07-12 | 2012-01-12 | Mediatek Inc. | Method and Apparatus of Temporal Motion Vector Prediction |
CN102769748A (en) * | 2012-07-02 | 2012-11-07 | 华为技术有限公司 | Motion vector prediction method, device and system |
Cited By (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014106388A1 (en) * | 2013-01-07 | 2014-07-10 | 华为技术有限公司 | Method and device for determining temporal motion vector predictor |
CN105122816A (en) * | 2013-04-05 | 2015-12-02 | 夏普株式会社 | Decoding of inter-layer reference picture set and reference picture list construction |
WO2014166319A1 (en) * | 2013-04-08 | 2014-10-16 | 华为技术有限公司 | Video coding method, video decoding method, and related apparatus |
CN103237213B (en) * | 2013-04-08 | 2016-03-30 | 华为技术有限公司 | Method for video coding and video encoding/decoding method and relevant apparatus |
CN103237213A (en) * | 2013-04-08 | 2013-08-07 | 华为技术有限公司 | Method for coding videos, method for decoding videos and related devices |
CN105144714A (en) * | 2013-04-09 | 2015-12-09 | 联发科技股份有限公司 | Method and apparatus of disparity vector derivation in 3d video coding |
CN105144714B (en) * | 2013-04-09 | 2019-03-29 | 寰发股份有限公司 | Three-dimensional or multi-view video coding or decoded method and device |
CN104301734B (en) * | 2013-07-15 | 2017-11-17 | 华为技术有限公司 | The method and apparatus for handling image |
CN104301734A (en) * | 2013-07-15 | 2015-01-21 | 华为技术有限公司 | Method and apparatus for processing image |
CN105850126B (en) * | 2013-12-24 | 2019-03-26 | 株式会社Kt | Method and apparatus for being encoded/decoded to multi-layer video signal |
US10178392B2 (en) | 2013-12-24 | 2019-01-08 | Kt Corporation | Method and apparatus for encoding/decoding multilayer video signal |
US10187641B2 (en) | 2013-12-24 | 2019-01-22 | Kt Corporation | Method and apparatus for encoding/decoding multilayer video signal |
CN105850126A (en) * | 2013-12-24 | 2016-08-10 | 株式会社Kt | Method and apparatus for encoding/decoding multilayer video signal |
US10602161B2 (en) | 2014-03-24 | 2020-03-24 | Kt Corporation | Multilayer video signal encoding/decoding method and device |
US10708606B2 (en) | 2014-03-24 | 2020-07-07 | Kt Corporation | Multilayer video signal encoding/decoding method and device |
CN106464902A (en) * | 2014-06-20 | 2017-02-22 | 高通股份有限公司 | Temporal motion vector prediction (tmvp) indication in multi-layer codecs |
CN106464902B (en) * | 2014-06-20 | 2019-11-01 | 高通股份有限公司 | The method and apparatus of coded video information |
CN110381323A (en) * | 2018-04-12 | 2019-10-25 | 福州瑞芯微电子股份有限公司 | Frame motion vector information lossless compressibility and method are assisted based on inter-prediction |
CN110381323B (en) * | 2018-04-12 | 2021-10-26 | 福州瑞芯微电子股份有限公司 | Inter-frame prediction-based lossless compression system and method for assisting frame motion vector information |
Also Published As
Publication number | Publication date |
---|---|
CN103024397B (en) | 2015-07-08 |
WO2014106388A1 (en) | 2014-07-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103024397B (en) | Method and device for determining time domain motion vector predictor | |
US11134266B2 (en) | Method and device for encoding a sequence of images and method and device for decoding a sequence of images | |
US10404993B2 (en) | Picture prediction method and related apparatus | |
US20240276008A1 (en) | Moving picture coding method, moving picture coding apparatus, moving picture decoding method, moving picture decoding apparatus, and moving picture coding and decoding apparatus | |
US11516498B2 (en) | Image encoding/decoding apparatus and method | |
US10057597B2 (en) | Method and apparatus for encoding and decoding motion vector based on reduced motion vector predictor candidates | |
US9961364B2 (en) | Method and apparatus of temporal motion vector prediction | |
CN113767638B (en) | Symmetric motion vector difference codec | |
CN100512444C (en) | Calculation method for predicted motion vector | |
RU2795888C1 (en) | Method, apparatus and device for coding and decoding | |
CN104301734B (en) | The method and apparatus for handling image |
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 |