CN101043630B - Motion picture encoding and decoding devices - Google Patents

Motion picture encoding and decoding devices Download PDF

Info

Publication number
CN101043630B
CN101043630B CN 200710103420 CN200710103420A CN101043630B CN 101043630 B CN101043630 B CN 101043630B CN 200710103420 CN200710103420 CN 200710103420 CN 200710103420 A CN200710103420 A CN 200710103420A CN 101043630 B CN101043630 B CN 101043630B
Authority
CN
China
Prior art keywords
motion vector
field
chroma
chroma motion
pixel
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.)
Expired - Lifetime
Application number
CN 200710103420
Other languages
Chinese (zh)
Other versions
CN101043630A (en
Inventor
中川章
三好秀诚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from JP2003289350A external-priority patent/JP3791922B2/en
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Publication of CN101043630A publication Critical patent/CN101043630A/en
Application granted granted Critical
Publication of CN101043630B publication Critical patent/CN101043630B/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Abstract

The present invention provides a motion picture coding and decoding device. When a prediction is made between fields with different parity, the predicative efficiency of a chrominance vector is improved by adaptively switching the generation of a chrominance motion vector depending on a encoding/decoding field parity (top/bottom) and a reference field parity (top/bottom), and the coding efficiency is improved accordingly.

Description

Motion picture encoding apparatus and moving picture decoding equipment
The application be that September 5, application number in 2003 are 03156610.3 the applying date, denomination of invention divides an application for the Chinese invention patent application of " motion picture encoding apparatus and moving picture decoding equipment ".
Invention field
The present invention relates to have motion picture encoding apparatus and the moving picture decoding equipment of predictive mode between the field.
Background technology
Usually, the motion image data volume is very large.Therefore, motion image data is transferred to receiving equipment from transmitting apparatus, or when being stored in it in memory device, is carrying out the high efficiency coding to moving image.At this, " high efficiency coding " is one the particular data string converted to another serial data, and compress the cataloged procedure of its data volume.
Two types motion image data is arranged: a kind of mainly is to be made of frame, and another kind mainly is to be made of the field.Below the main prior art of describing the contraction Field image.
As the high-efficiency encoding method of motion image data, frame/field prediction coding is known.
Fig. 1 is the structured flowchart of frame/field prediction encoding device.
This coding method has utilized a plurality of sections of motion image data very high this phenomenon of relevance each other on time orientation.Below the rough operation of describing as shown in Figure 1.The difference image that subtracter 39 generates between input original image and the predicted picture, orthogonal transform unit 31, quantifying unit 32 and 40 pairs of difference images of coefficient entropy coding unit are encoded.Inverse quantization unit 33 and inverse orthogonal transformation unit 34 are reproduced from the difference image of quantifying unit 32 outputs.The predicted picture that uses when then, decoded picture generation unit 35 utilizes reproduction difference image that decoded picture generation unit 35 reproduces and coding is decoded to coded image.Decoded picture memory cell 36 storing reproduction images.Subsequently, motion vector computation unit 37 calculates the motion vector between reproduced images and the follow-up input picture, predicted picture generation unit 38 use motion vector generation forecast images.The motion vector that generates is encoded by vector entropy coding unit 41, and exports through MUX 42 with the code coefficient data of coefficient entropy coding unit 40 codings.In other words, because in motion image data, usually exist very high similitude between frame/field data of particular moment and frame/field data subsequently, the predictive coding method has been utilized this characteristic between frame/field.For example, in the data transmission system that adopts predictive coding method between frame/field, transmitting apparatus produces the motion vector data of the skew between expression previous frame/field and target frame/field, and utilize predicted picture in the target frame that its motion vector data generates by previous frame/field picture/field and the differential data between the true picture in target frame/field, and motion vector data and differential data transmission to receiving equipment.Receiving equipment is according to the image in the motion vector data that receives and the differential data reproduction target frame/field.
The summary of frame/field prediction coding so far, has been described with reference to figure 1.Next descriptor frame predictive coding and field prediction are encoded.
Fig. 2 and 3 has shown at ISO/IEC MPEG-2/MPEG-4 (following be called respectively " MPEG-2 " and " MPEG-4 ") and ITU-TH.264/ISO/IEC MPEG-4 Part10 FCD (advanced video coding (AVC) (" JointFinal Committee Draft (JFCD) of Joint VideoSpecification (ITU-T REC; 14496-10 AVC H.264|ISO/IEC "), JVT-D157, or ISO/IEC JTC1/SO29/WG11 MPEG02/N492, in July, 2002, Klagenfurt, AT) the common field picture coded format of using in (hereinafter referred to as " AVC FCD "), wherein ITU-T and ISO/IEC are in August, 2002 common standard.Particularly, each frame is made of two fields: top (top field) He Dichang (bottom field).What Fig. 2 showed is luminance pixel and chroma pixel position separately and the affiliated field of each pixel.As shown in Figure 2, odd number brightness line belongs to the field, top such as the first brightness line 50a, the 3rd brightness line 50b, the 5th brightness line 50c, the 7th brightness line 50d etc.; Even number brightness line belongs to field, the end such as the second brightness line 51a, the 4th brightness line 51b, the 6th brightness line 51c, the 8th brightness line 51d etc.Equally, the odd number chroma line belongs to the field, top such as the first chroma line 52a, the 3rd chroma line 52b etc., and the even number chroma line belongs to field, the end such as the second chroma line 53a, the 4th chroma line etc.
Each field, top represents different images constantly with field, the end.Next with reference to figure 3 describe top and field, the end time/space disposes.
In Fig. 3 and later each figure, technology of the present invention relates to the vertical component of motion vector.Therefore, in this manual, reveal competence pixel component not, for simplicity, all horizontal components of motion vector are assumed to be 0.But, for problem and the effect of the present invention that shows prior art, accurately shown brightness in each and the position relationship between the colourity.
In Fig. 3, the longitudinal axis and transverse axis represent respectively location of pixels and the time of each interior vertical component.Among Fig. 3 because in the field of the horizontal component of each image not the location change, so do not show and do not describe its horizontal pixel component yet.
As shown in Figure 3, the location of pixels of chromatic component depart from luminance component the field in location of pixels 1/4th vertical pixels.This is because when frame is made of field, top and two of fields, the end, has formed location of pixels relation as shown in Figure 2.If based on the NTSC form, then the time interval between adjacent top and field, the end (64a:65a, 65a:64b, etc.) is approximately 1/60 second.The time interval between between two continuous fields, top (64a:64b, etc.) or two continuous fields, the end (65a:65b, etc.) is approximately 1/30 second.
Next frame predictive coding pattern and the field prediction thereof of the field picture that adopts among MPEG-2 and the AVC FCD are described.
Fig. 4 has shown the method for utilizing two continuous field (adjacent field, top and field, the end) structure frames in frame prediction mode.
As shown in Figure 4, frame is to be made of two fields continuous in time (field, top and field, the end).
Fig. 5 has shown frame prediction mode.
In Fig. 5, supposed as shown in Figure 4 by two continuous fields (top and field, the end) reconstruct each frame, such as 84a, 84b, 84c etc.In this frame prediction mode, to being encoded by top and the frame that consists of of field, the end of will encoding.As the reference image, two continuous (field, top and a field, the end) being used as reference by storage consists of a reference frame, is used for predicting the target frame that will encode.Then, according to flow process shown in Figure 1 this two two field picture is encoded.In the motion vector method for expressing of this frame predictive coding pattern, zero vector, i.e. (0,0) expression is positioned at the pixel of the same space position.Particularly, the location of pixels 81 of motion vector (0,0) expression frame 1 84a that belongs to the luminance pixel 82 of frame 2 84b.
Next the field prediction coding mode is described.
Fig. 6 has shown the Forecasting Methodology of predictive mode between the field.
In the predictive mode on the scene, the coding target is field at the bottom of input as original image one top (94a, 94b, etc.) or (95a, 95b, etc.).Field, top or the field, the end of storage can be used as reference picture in the past.In this case, it has been generally acknowledged that the parity of original graph image field and identical original graph image field and the reference diagram image field of namely meaning of parity of reference field all are field, top or field, the end.For example, in the prediction 90 between the field with same parity shown in Figure 6, original graph image field 94b and reference field 94a are the fields, top.Equally, it has been generally acknowledged that the parity of the parity of original graph image field and reference field different mean in original image and the reference field one for top another is field, the end.For example, in the prediction 91 between not like parity field shown in Figure 6, the original graph image field is field, end 95a and the reference diagram image field is a top 94a.Then, according to flow process shown in Figure 1 these original images and reference field are encoded.
In the frame pattern and field mode of prior art, come calculating kinematical vector according to the location of pixels in each frame/field.Here describe when motion vector calculating method and the pixel corresponding method of motion vector to the timing prior art.
Defined the coordinate system of the frame/field picture of extensive use in MPEG-2 coding, MPEG-1 coding, the AVC FCD coding etc. among Fig. 7.White circle among Fig. 7 is the pixel definition position in target frame/field.In the coordinate system of this frame/field picture, initial point (0,0) is appointed as in the upper left corner, and sequentially to horizontal and vertical pixel definition position designated value 1,2,3 etc.Particularly, be positioned at the coordinate of pixel of n horizontal level and m upright position for (n, m).Equally also stipulated the coordinate of the position between the pixel.Particularly, be positioned in the horizontal direction apart from pixel 1.5 pixels in the upper left corner with the position 180 of black circle mark among Fig. 7, on the position of 2 pixels, the coordinate of position 180 can be expressed as (1.5,2) in vertical direction.In field picture, only has in vertical direction a half-pix of two field picture.But, even in this case, according to the location of pixels in each, with the coordinate of the same manner definition pixel shown in Figure 7.
Next the definition of the motion vector between the field is described with coordinate system shown in Figure 7.
Fig. 8 has shown the Traditional calculating methods of the motion vector between the respective pixel between the field.Motion vector need to determine the position of coded fields and the position of reference field.Between these 2, determine motion vector.So, but calculation code field coordinate 201 (X s, Y s) and reference field coordinate 202 (X d, Y d) between motion vector.In the conventional method of the motion vector between the pixel of calculating between two fields, no matter coded fields or reference field are field, top or field, the end, all use same procedure described below to come calculating kinematical vector.Particularly, coded fields coordinate 201 (X s, Y s) and reference field coordinate 202 (X d, Y d) input to motion vector computation unit 200, and provide (X d-X s, Y d-Y s) as the motion vector 203 between these 2.
Fig. 9 has shown the conventional method of the pixel that motion vector between calculated field is pointed.In this case, suppose to come calculating kinematical vector with method shown in Figure 8.The calculating of reference frame/field coordinate needs position and the motion vector of coded frame/field.In situation shown in Figure 9, be assumed to be coded fields coordinate 212 (X s, Y s) provided motion vector 211 (X, Y), then can use motion vector 212 (X, Y) and coded fields coordinate 212 (X s, Y s) come computing reference field coordinate.In the Traditional calculating methods of the motion vector between the field between the respective pixel, coming position, computing reference field with following identical method, and no matter coded fields or reference field are top or field, the end.Particularly, motion vector 211 (X, Y) and coded fields coordinate 212 (X s, Y s) input to pixel corresponding unit 210, provide coordinate (X s+ X, Y s+ Y) as a reference coordinate 213.
What concern between this vector and location of pixels determines to be equally applicable to luminance component and chromatic component.In being both the MPEG-1/MPEG-2/AVC FCD of common dynamic image encoding method, only the vector of luminance component to be encoded, the vector of chromatic component calculates by dwindling luminance component.Particularly, in AVC FCD, because the Vertical number of pixels of chromatic component and Horizontal number of pixels are respectively luminance component half,, regulation obtains to calculate the motion vector of the predict pixel of chromatic component so should accurately narrowing down to half to the motion vector of luminance component.
Figure 10 has shown the conventional method of calculating chroma motion vector with brightness movement vector.
Particularly, if brightness movement vector 221 and chroma motion vector 222 are respectively (MV_x, MV_y) and (MVC_x, MVC_y), then chroma motion vector generation unit 220 can calculate according to following formula chroma motion vector 222.
(MVC_x,MVC_y)=(MV_x/2,MV_y/2) (1)
No matter motion vector is be used to having same parity or have prediction between the not like parity field, can using this Traditional calculating methods.
In AVC FCD, as the precision of the motion vector of luminance component, can use the precision of 1/4 pixel.Therefore, as the result of formula (1), as the precision of the motion vector of chromatic component, can use the vector with 1/8 pixel precision, namely be accurate to the decimal fraction precision.
Figure 11 has shown the computational methods of the interpolating pixel of the chromatic component that defines among the AVC FCD.
In Figure 11, Hei Quan and white circle represent respectively integer pixel and interpolating pixel.At this, the horizontal coordinate of interpolating pixel G 256 is by with α: the ratio internal point of division A 250 of 1-α and each horizontal coordinate between the C 252 obtain, and vertical coordinate can be by with β: the ratio internal point of division A 250 of 1-β and each vertical coordinate between the B 251 obtain.At this, α and β are the values between 0 and 1.Can be as follows with being positioned at integer pixel A 250, B 251, C 252 and D 253 around the interpolating pixel G 256 and α and β rough calculation by the interpolating pixel G 256 of these positions definition.G=(1-α)·(1-β)·A+(1-α)·β·B+α·(1-β)·C+α·β·D (2)
Chromatic component interpolating pixel computational methods according to method shown in Figure 11 are an example, also can use other computational methods.
In the situation of this coding mode, different with reference field at the original graph image field, namely in the prediction that has between the not like parity field, its zero vector separately of the motion vector of luminance component and the motion vector of chromatic component is uneven in the definition of AVC FCD.Particularly, predicted by the chromatic component motion vector of luminance component motion vector computation if use according to traditional definition, then will depart from reference to the locus pixel of luminance component.This situation is described below with reference to Figure 12.In Figure 12, suppose that field, top 130, field, the end 131 and field 132, top are continuous in time.At this, utilize top 130 to be encoded in field, the end 131.In this interfield coding, vertical motion vector of same line is set to zero in each.Therefore, if zero vector (0,0) is assigned to the second-line luminance pixel 133a that belongs to field, the end 131, this pixel can be predicted by the pixel 135a in the field, top 130.Same, when giving the first-line chroma pixel 133a that belongs to field, the end 131 zero vector (0,0), this pixel can be predicted by the pixel 137a in the First Line of the chromatic component that pushes up field 130.Equally, the luminance pixel 133b and the chroma pixel 134b that belong in the 3rd line that pushes up field 132 can be predicted by the pixel 137b in the second line of the pixel 135b in the 3rd line of brightness in the field, the end and colourity respectively.Because preferably chroma motion vector is arranged essentially parallel to brightness movement vector, if brightness movement vector is kept intact, then chroma pixel 134a and 134b should be predicted by position 136a and 136b respectively.
As previously mentioned, explained in not parallel this fact of zero vector that has between not like parity field brightness and colourity in the prediction.In the situation of AVC FCD, this fact is brought following point for the prediction between the different field of all parities.Figure 13 and 14 has shown these problems.Problem in the AVC FCD situation is described below.In the explanation below, for the purpose of simple, in all cases, the horizontal component of motion vector is set as zero.
Figure 13 has shown when reference field and coded fields are respectively field, the end and top, has calculated the caused problem of chroma motion vector with brightness movement vector.In AVC FCD, from equation (1) as seen, be half of luminance component because stipulated the vertical and horizontal pixel number of chromatic component, so be used for calculating the motion vector of colorimetric prediction pixel should narrow down to the luminance component motion vector half.This and motion vector are for interframe, have between the field of same parity, and the prediction that still has between not like parity field is irrelevant.
Explained later the problem that when the brightness movement vector between different with the parity fields calculates chroma motion vector, causes.In Figure 13, the coded fields top field brightness pixel 140 in the First Line has predictive vector (0,1), so it specifies the reference field luminance pixel position, field, the end 141 in the second line to be predicted value.
At this, according to equation (1), can calculate the chroma motion vector that belongs to same and be (0,1/2).If predict that as the predicted value of the top of the coded fields in a First Line chroma pixel 142 then location of pixels 143 is used as predicted value with motion vector (0,1/2), its pixel from the First Line of end reference field chromatic component moves down half-pixel.
At this, brightness movement vector (0,1) and chrominance vector (0,1/2) are uneven.Preferably use end reference field colorimetric prediction location of pixels 145, applied the chroma motion vector that is parallel to brightness movement vector in this position.
Figure 14 has shown when reference field and coded fields are respectively top and field, the end, has used the caused problem of brightness movement vector calculating chroma motion vector.Such as Figure 13, shown in Figure 14, the end coded fields luminance pixel 150 in the First Line has predictive vector (0,1), so it points to reference top field brightness location of pixels 151 in the second line as predicted value.
At this, calculate the chroma motion vector that belongs to same according to equation (1) and be (0,1/2).If predict that as the predicted value of end coded fields chroma pixel 152 then location of pixels 153 is used as predicted value with motion vector (0,1/2), its reference field chroma pixel position, top 153 skew half-pixels from First Line.
At this, brightness movement vector (0,1) and chrominance vector (0,1/2) are not parallel.Preferably use top reference field colorimetric prediction location of pixels 155, applied the chroma motion vector that is parallel to brightness movement vector in this position.
As mentioned above, if the parity of reference field is different from the parity of coded fields, then according to traditional Forecasting Methodology, will be with reference to the pixel that is positioned at the luminance component position of spatially departing from the chromatic component position, and, not only be zero vector but also for all vector generation forecast images, in predicted picture, be positioned at the position that the pixel of luminance component position spatially departs from chromatic component.Notice that in the above description, say that vector is parallel or not parallel in the situation of the time orientation of considering brightness movement vector and chroma motion vector, namely the time orientation from the coded fields to the reference field is comprised in the motion vector.Also be like this in the following explanation.
Summary of the invention
One object of the present invention is to provide a kind of motion picture encoding apparatus and moving picture decoding equipment, and it can improve the forecasting efficiency of chromatic component in the coding between different field picture, and therefore improves code efficiency.
Motion picture encoding apparatus of the present invention is used for the motion image signal that is made of a plurality of fields is carried out motion compensation between the field, this equipment comprises: a plurality of chroma motion vector generation units, and it uses brightness movement vector to generate chroma motion vector in motion picture encoding apparatus; Selected cell, it utilizes reference field and the coded fields parity separately of motion vector, selects to be used for generating a chroma motion vector generation unit of chrominance vector.The chroma motion vector generation unit of being selected by selected cell generates the colorimetric prediction vector according to the motion vector information of monochrome information.
Moving picture decoding equipment of the present invention is used for the motion image signal that is made of a plurality of fields is carried out motion compensation between the field, and it comprises: a plurality of chroma motion vector generation units, and it generates chroma motion vector by brightness movement vector; And selected cell, it utilizes the parity of reference field of motion vector and the parity of coded fields, selects to be used for generating a chroma motion vector generation unit of chrominance vector.The chroma motion vector generation unit of being selected by selected cell generates the colorimetric prediction vector according to the motion vector information of monochrome information.
According to the present invention, owing to used according to the parity of coding/decoding field and reference field and by the chroma motion vector that proper method generates, solved field, top and the configuration of field, the end or the deviation of the different chroma motion vectors that cause of the method for salary distribution owing to luminance pixel and chroma pixel.
In addition, by the present invention, even for the different field of parity, also can obtain to be parallel to the chroma motion vector of brightness movement vector, can solve in conventional method the problem of reference pixel position skew between the luminance component and chromatic component.
Description of drawings
Fig. 1 has shown the configuration of inter prediction encoding equipment;
Fig. 2 has shown the separately position of brightness and chroma pixel and the field under each pixel;
Fig. 3 has shown brightness and chroma pixel vertical time and locus separately in the field picture;
Fig. 4 has shown the relation of frame encoding mode midfield and frame;
Fig. 5 has shown the Forecasting Methodology of inter prediction encoding pattern;
Fig. 6 has shown the Forecasting Methodology of predictive coding pattern between the field;
Fig. 7 has shown the coordinate of field picture;
A Traditional calculating methods of motion vector between the respective pixel between Fig. 8 has shown;
Fig. 9 has shown the Traditional calculating methods of motion vector indication pixel;
Figure 10 has shown the Traditional calculating methods of using brightness movement vector calculating chroma motion vector;
Figure 11 has shown the computational methods of the interpolating pixel of chromatic component;
Figure 12 has shown the principle of traditional Direct Model, in order to explain the null vector between the different field of parity;
Figure 13 has shown when reference field and coded fields are respectively field, the end and top, has used brightness movement vector to calculate the caused problem of chroma motion vector;
Figure 14 has shown when reference field and coded fields are respectively top and field, the end, has used the caused problem of brightness movement vector calculating chroma motion vector;
Figure 15 has shown the method for using brightness movement vector generation chroma motion vector among the present invention;
Figure 16 has shown the operation of a preferred embodiment of the first chroma motion vector generation unit of the present invention;
Figure 17 has shown the operation of a preferred embodiment of the second chroma motion vector generation unit of the present invention;
Figure 18 has shown the operation of a preferred embodiment of the 3rd chroma motion vector generation unit of the present invention;
Figure 19 has shown the operation of a preferred embodiment of selected cell of the present invention;
Figure 20 has shown when reference field and coded fields are respectively field, the end and top, has used brightness movement vector to calculate example of the present invention of chroma motion vector;
Figure 21 has shown when reference field and coded fields are respectively top and field, the end, uses example of the present invention of brightness movement vector calculating chroma motion vector;
Figure 22 has shown the operation of another preferred embodiment of the first chroma motion vector generation unit of the present invention;
Figure 23 has shown the operation of another preferred embodiment of the second chroma motion vector generation unit of the present invention; And
Figure 24 has shown the operation of another preferred embodiment of the 3rd chroma motion vector generation unit of the present invention.
The preferred embodiment explanation
Coding principle among the present invention is at first described.
Motion picture encoding apparatus of the present invention is used for the motion image signal that is made of a plurality of fields is carried out motion compensation between the field, and this equipment comprises: a plurality of chroma motion vector generation units are used for using brightness movement vector to generate chroma motion vector; Selected cell utilizes reference field and the coded fields parity separately of motion vector, selects to be used for generating a chroma motion vector generation unit of chrominance vector.The chroma motion vector generation unit of being selected by selected cell generates the colorimetric prediction vector according to the motion vector information of monochrome information.
If the chroma motion vector from the coded fields to the reference field is parallel to the brightness movement vector from the coded fields to the reference field, then the spatial deviation of brightness movement vector equates with the spatial deviation of chroma motion vector, namely, relation between the locus of brightness movement vector and chroma motion vector is maintained, and the misalignment between disappears.
Herein importantly, in conventional method, even be parallel to chroma motion vector according to the mathematical expression brightness movement vector, but when these vectors were mapped to concerning between the luminance pixel that consists of each and between the chroma pixel, each vector was also not parallel.
A plurality of chroma motion vector generation units comprise following three types.
When reference field and coded fields had identical parity, selected cell was selected the first chroma motion vector generation unit.When reference field and coded fields were respectively top and field, the end, selected cell was selected the second chroma motion vector generation unit.When reference field and coded fields were respectively field, the end and top, selected cell was selected the 3rd chroma motion vector generation unit.
The method that calculating is parallel to the chroma motion vector of brightness movement vector depends on coded fields parity and the reference field parity of brightness movement vector.These computational methods are variant in following three kinds of situations: a kind of situation is that the coded fields parity is identical with the reference field parity, a kind of situation is that coded fields and reference field are respectively field, top and field, the end, and also having a kind of situation is that coded fields and reference field are respectively field, the end and field, top.Therefore, in the present invention, from the chroma motion vector generation unit of three types, select one of the best to calculate the chroma motion vector that is parallel to brightness movement vector according to coded fields and reference field.
Particularly, if the reference field parity is identical with the coded fields parity, the following calculating chroma motion vector of the first chroma motion vector generation unit then, suppose value " 1 " take vector component represent as unit field picture a luminance pixel vertical displacement brightness movement vector and represent as unit that take the value " 1 " of vector component the chroma motion vector of vertical displacement of a chroma pixel of field picture is respectively MVy and MVCy.
MVCy=MVy/2 (3)
If reference field parity and coded fields parity are respectively field, top and field, the end, the following calculating chroma motion vector of the second chroma motion vector generation unit then, suppose value " 1 " take vector component represent as unit field picture a luminance pixel vertical displacement brightness movement vector and represent as unit that take the value " 1 " of vector component the chroma motion vector of vertical displacement of a chroma pixel of field picture is respectively MVy and MVCy.
MVCy=MVy/2+0.25 (4)
If reference field parity and coded fields parity are respectively field, the end and field, top, the following calculating chroma motion vector of the 3rd chroma motion vector generation unit then, suppose value " 1 " take vector component represent as unit field picture a luminance pixel vertical displacement brightness movement vector and represent as unit that take the value " 1 " of vector component the chroma motion vector of vertical displacement of a chroma pixel of field picture is respectively MVy and MVCy.
MVCy=MVy/2-0.25 (5)
Sometimes, the unit of brightness and chrominance vector changes according to its definition.As undefined situation in: during when brightness movement vector component change value " 4 ", brightness movement vector represents the displacement of a brightness campaign pixel, and when chroma motion vector component change value " 8 ", chroma motion vector represents the displacement of a colourity motion pixel, if the reference field parity is identical with the coded fields parity, then the following calculating chroma motion vector of the first chroma motion vector generation unit supposes that brightness movement vector and chroma motion vector are respectively MVy and MVCy.
MVCy=Mvy (6)
In identical definition, if the parity of reference field and coded fields is respectively field, top and field, the end, then the following calculating chroma motion vector of the second chroma motion vector generation unit supposes that brightness movement vector and chroma motion vector are respectively MVy and MVCy.
MVCy=MVy+2 (7)
In identical definition, if the parity of reference field and coded fields is respectively field, the end and field, top, then the following calculating chroma motion vector of the 3rd chroma motion vector generation unit supposes that brightness movement vector and chroma motion vector are respectively MVy and MVCy.
MVCy=MVy-2 (8)
Moving picture decoding equipment of the present invention has the function identical with motion picture encoding apparatus basically, and in the same manner operation.
Below the preferred embodiment of main description encoding equipment.This encoding device has above-mentioned configuration.Because the present invention relates to the vertical component of motion vector, for simplicity, the horizontal component of supposing all motion vectors is 0.At this, decoding device has the configuration identical with encoding device.
Below hypothesis has adopted AVC FCD and has described the preferred embodiments of the present invention.
Figure 15 has shown the method for using brightness movement vector calculating chroma motion vector.The preferred embodiment that uses brightness movement vector to generate the equipment of chroma motion vector in field prediction comprises chroma motion vector generation unit and selected cell of three types.
Operation of the present invention shown in Figure 15 is described below.Suppose that at first given brightness movement vector 231 is (MV_x, MV_y).This luminance vector is input to the first all chroma motion vector generation units 233, the second chroma motion vector generation unit 234 and the 3rd chroma motion vector generation unit 235.Then, their output separately is input to selected cell 230.Selected cell 230 bases are about the coded fields parity 237 of input motion vector and the information of reference field parity 238 thereof, select in the output of first, second, and third chroma motion vector generation unit, and it is output as chroma motion vector 232 (MVC_x, MVC_y).
Figure 16 has shown the operation of the first chroma motion vector generation unit.In the preferred embodiment, brightness movement vector 261 (MV_x, MV_y) is input to the first chroma motion vector generation unit 260, exports first candidate's chroma motion vector 262 (MVC1_x, MVC1_y).Chroma motion vector generation unit 260 uses brightness movement vector 261 following calculating first candidate's chroma motion vectors 262.
(MVC1_x,MVC1_y)=(MV_x/2,MV_y/2) (9)
Then, the first candidate's chroma motion vector 262 that calculates is exported to selected cell.
Figure 17 has shown the operation of the second chroma motion vector generation unit.In the preferred embodiment, brightness movement vector 271 (MV_x, MV_y) is input to the second chroma motion vector generation unit 270, exports second candidate's chroma motion vector 272 (MVC2_x, MVC2_y).Chroma motion vector generation unit 270 uses brightness movement vector 271 following calculating second candidate's chroma motion vectors 272.
(MVC2_x,MVC2_y)=(MV_x/2,MV_y/2+1/4) (10)
Then, the second candidate's chroma motion vector 272 that calculates is exported to selected cell.
Figure 18 has shown the operation of the 3rd chroma motion vector generation unit.In the preferred embodiment, brightness movement vector 281 (MV_x, MV_y) is input to the 3rd chroma motion vector generation unit 280, exports the 3rd candidate's chroma motion vector 282 (MVC3_x, MVC3_y).Chroma motion vector generation unit 280 uses brightness movement vector 281 following calculating the 3rd candidate's chroma motion vectors 282.
(MVC3_x,MVC3_y)=(MV_x/2,MV_y/2-1/4) (11)
Then, the 3rd candidate's chroma motion vector 282 that calculates is exported to selected cell.
Figure 19 has shown the operation of a preferred embodiment of selected cell 240 of the present invention.At first, in the preferred embodiment, service condition judgement table 241 is judged coded fields parity 247 and the reference field parity 248 thereof of motion vector, and exports the selection information 249 of the chroma motion vector generation unit that will select.In the preferred embodiment, if reference field is identical with coded fields, then this condition judgment table 241 is used for the selection information that first candidate's chroma motion vector 244 is selected in the output expression.If reference field and coded fields are respectively field, top and field, the end, then condition judgment table 241 is used for the selection information that the second chrominance vector candidate 245 is selected in the output expression.If reference field and coded fields are respectively field, the end and field, top, then condition judgment table 241 is used for the selection information that the 3rd chrominance vector candidate 246 is selected in the output expression.
In this case, first, second or the 3rd candidate's chroma motion vector 244,245 and 246 are connected respectively to 282 among 272 and Figure 18 among 262 among Figure 16, Figure 17.Then, selector 243 is according to one in selection information 249 selection first, second, and third candidate's chroma motion vectors 244,245 and 246, and output (MVC_x, MVC_y) is as its chroma motion vector 242.
Figure 20 has shown that of the present invention is respectively to use luminance vector to calculate the operation of chrominance vector in field, the end and the situation of pushing up the field in reference field and coded fields.In example shown in Figure 20, suppose to predict that the brightness movement vector (MV_x, MV_y) of top coded fields pixel 160 is (0,1).In this situation, field brightness location of pixels 161 is with prediction luminance pixel 160 at the bottom of the selection reference field.The computational process of the chroma motion vector will be used for predicting top coded fields chroma pixel 162 is described below with reference to Figure 15.
At first, reference field and coded fields are respectively field, the end and field, top among Figure 20.In this case, select selection information 249 about the 3rd candidate's chroma motion vector with condition judgment table 241 shown in Figure 19.According to equation (11), the 3rd candidate's chroma motion vector is calculated as follows.
(MVC3_x,MVC3_y)=(MV_x/2,MV_y/2-1/4)
=(0/2,1/2-1/4)
=(0,1/4) (12)
Then, export this value as chroma motion vector shown in Figure 19 242.If this vector (0,1/4) puts on top coded fields chroma pixel 162, then reference field chroma pixel position, the end 163 is used as predicted value.Among Figure 20, the vertical positional relationship between the pixel is corresponding to the vertical positional relationship between the actual pixels.Can be clear that from Figure 20 brightness movement vector (0,1) and chroma motion vector (0,1/4) are parallel to each other.Therefore, brightness and the color error ratio between the chromatic component as traditional problem can be resolved in the present invention.
Equally, Figure 21 has shown that of the present invention is respectively the operation of using luminance vector calculating chrominance vector in the situation of top and field, the end in reference field and coded fields.
In example shown in Figure 21, suppose to predict that the brightness movement vector (MV_x, MV_y) of end coded fields pixel 170 is (0,1).In this situation, select reference field luminance pixel position, top 171 with prediction luminance pixel 170.The computational process of the chroma motion vector will be used for predicting end coded fields chroma pixel 172 is described below with reference to Figure 15.
At first, reference field and coded fields are respectively field, top and field, the end among Figure 21.In this case, select selection information 249 about second candidate's chroma motion vector with condition judgment table 241 shown in Figure 19.According to equation (10), the second chroma motion vector of candidate is calculated as follows.
(MVC2_x,MVC2_y)=(MV_x/2,MV_y/2+1/4)
=(0/2,1/2+1/4)
=(0,3/4) (13)
Then, export this value as chroma motion vector shown in Figure 19 242.If this vector (0,3/4) puts on end coded fields chroma pixel 172, then top reference field chroma pixel position 173 is used as predicted position.Among Figure 21, the vertical positional relationship between the pixel is corresponding to the vertical positional relationship between the actual pixels.Can be clear that from Figure 21 brightness movement vector (0,1) and chroma motion vector (0,3/4) are parallel to each other.Therefore, brightness and the misalignment between the chromatic component as traditional problem can be resolved in the present invention.
Although in the example shown in Figure 20 and 21, described the prediction of specific vector, in the prediction between the field of other parities, also can realize not having between brightness and the colourity prediction of misalignment by using the preferred embodiment.
When the reference field parity was identical with the coded fields parity, this misalignment did not occur.Therefore, from traditional brightness movement vector shown in Figure 10, select the result of the of the present invention first chroma motion vector generation unit 233 identical with 220 configurations of chroma motion vector generation unit, and this result is used as chroma motion vector 232.Because in this case, the chroma motion vector that the present invention calculates is with traditional identical, the description of just having omitted the preferred embodiment here.
In another aspect of this invention, equation (9), (10) and (11) change according to the unit of brightness and chroma motion vector.
Figure 22 to 24 has shown another embodiment of the first chroma motion vector generation unit of the present invention, the second chroma motion vector generation unit and the 3rd chroma motion vector generation unit.
As undefined situation in: when the value of brightness movement vector changes " 4 ", brightness movement vector represents the displacement of a brightness campaign pixel, and when the value of chroma motion vector changes " 8 ", chroma motion vector represents the displacement of a colourity motion pixel, and chroma motion vector generation unit 260a uses following calculated candidate the first chroma motion vector 262a of brightness movement vector 261a.
(MVC1_x,MVC1_y)=(MV_x,MV_y) (14)
Then, the first candidate's chroma motion vector 262a that calculates is exported to selected cell.
Chroma motion vector generation unit 270a uses the following calculating second candidate's chroma motion vector 272a of brightness movement vector 271a.
(MVC2_x,MVC2_y)=(MV_x,MV_y+2) (15)
Then, the second candidate's chroma motion vector 272a that calculates is exported to selected cell.
Chroma motion vector generation unit 280a uses following calculating the 3rd candidate's chroma motion vector 282a of brightness movement vector 281a.
(MVC3_x,MVC3_y)=(MV_x,MV_y-2) (16)
Then, the 3rd candidate's chroma motion vector 282a that calculates is exported to selected cell.
Although described the preferred embodiment supposes that it has adopted AVC FCD, this is a preferred embodiment, and the coded format of field picture is not limited to this.
According to the present invention, in the different field of parity, also can calculate the chroma motion vector that is parallel to brightness movement vector, therefore can solve the problem that has deviation as reference pixel position between the brightness of traditional problem and the chromatic component.

Claims (2)

1. dynamic image encoding method, this dynamic image encoding method carries out motion compensated prediction and the processing of execution coding between the field to motion image signal, each frame in the described motion image signal is made of 2 fields and the Vertical number of pixels of chromatic component and half that Horizontal number of pixels is respectively luminance component, it is characterized in that
When the value of vector component is established the luminance component motion vector of movement in vertical direction of a pixel of luminance component of expression field picture as MVy take 4 as unit, the value of vector component is take the 8 chromatic component motion vectors of movement in vertical direction of a pixel of chromatic component of establishing the expression field picture as unit during as MVCy, utilize the reference field of motion vector and the parity of coded fields, select to generate a chroma motion vector generation method of chroma motion vector, wherein:
When the parity of reference field and coded fields is identical, select the first chroma motion vector generation method to come to calculate chroma motion vector according to MVCy=MVy,
When the parity of reference field and coded fields is respectively field, top and field, the end, select the second chroma motion vector generation method to come to calculate chroma motion vector according to MVCy=MVy+2, and
When the parity of reference field and coded fields is respectively field, the end and field, top, select the 3rd chroma motion vector generation method to come to calculate chroma motion vector according to MVCy=MVy-2.
2. dynamic image encoding device, this dynamic image encoding device carries out motion compensated prediction and the processing of execution coding between the field to motion image signal, each frame in the described motion image signal is made of 2 fields and the Vertical number of pixels of chromatic component and half that Horizontal number of pixels is respectively luminance component, it is characterized in that this dynamic image encoding device has following unit:
The first chroma motion vector generation unit, the second chroma motion vector generation unit and the 3rd chroma motion vector generation unit are respectively applied to use brightness movement vector to generate chroma motion vector;
Selected cell, when the value of vector component is established the luminance component motion vector of movement in vertical direction of a pixel of luminance component of expression field picture as MVy take 4 as unit, the value of vector component is take the 8 chromatic component motion vectors of movement in vertical direction of a pixel of chromatic component of establishing the expression field picture as unit during as MVCy, utilize the reference field of motion vector and the parity of coded fields, selection is used for generating a chroma motion vector generation unit of chroma motion vector, wherein:
When the parity of reference field and coded fields was identical, described selected cell selected the first chroma motion vector generation unit to calculate chroma motion vector according to MVCy=MVy;
When the parity of reference field and coded fields was respectively field, top and field, the end, described selected cell selected the second chroma motion vector generation unit to calculate chroma motion vector according to MVCy=MVy+2; And
When the parity of reference field and coded fields was respectively field, the end and field, top, described selected cell selected the 3rd chroma motion vector generation unit to calculate chroma motion vector according to MVCy=MVy-2.
CN 200710103420 2002-09-06 2003-09-05 Motion picture encoding and decoding devices Expired - Lifetime CN101043630B (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
JP261427/2002 2002-09-06
JP2002261427 2002-09-06
JP2003289350A JP3791922B2 (en) 2002-09-06 2003-08-07 Moving picture decoding apparatus and method
JP289350/2003 2003-08-07

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CNB031566103A Division CN1324904C (en) 2002-09-06 2003-09-05 Kinematic image coder and decoder

Publications (2)

Publication Number Publication Date
CN101043630A CN101043630A (en) 2007-09-26
CN101043630B true CN101043630B (en) 2013-03-27

Family

ID=36773690

Family Applications (7)

Application Number Title Priority Date Filing Date
CN 200510130222 Expired - Lifetime CN100502513C (en) 2002-09-06 2003-09-05 Motion picture encoding device and motion picture decoding method
CN 200510130221 Expired - Lifetime CN100502512C (en) 2002-09-06 2003-09-05 Motion picture encoding device and method
CN 200710103419 Expired - Lifetime CN101043629B (en) 2002-09-06 2003-09-05 Motion picture encoding method and devices thereof
CN 200710103417 Expired - Lifetime CN101043627B (en) 2002-09-06 2003-09-05 Motion picture encoding device and motion picture decoding devices
CN 200710103418 Expired - Lifetime CN101043628B (en) 2002-09-06 2003-09-05 Motion picture encoding and decoding devices
CN 200710103420 Expired - Lifetime CN101043630B (en) 2002-09-06 2003-09-05 Motion picture encoding and decoding devices
CN 200510130223 Pending CN1791225A (en) 2002-09-06 2003-09-05 Motion picture encoding device and motion picture decoding device

Family Applications Before (5)

Application Number Title Priority Date Filing Date
CN 200510130222 Expired - Lifetime CN100502513C (en) 2002-09-06 2003-09-05 Motion picture encoding device and motion picture decoding method
CN 200510130221 Expired - Lifetime CN100502512C (en) 2002-09-06 2003-09-05 Motion picture encoding device and method
CN 200710103419 Expired - Lifetime CN101043629B (en) 2002-09-06 2003-09-05 Motion picture encoding method and devices thereof
CN 200710103417 Expired - Lifetime CN101043627B (en) 2002-09-06 2003-09-05 Motion picture encoding device and motion picture decoding devices
CN 200710103418 Expired - Lifetime CN101043628B (en) 2002-09-06 2003-09-05 Motion picture encoding and decoding devices

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN 200510130223 Pending CN1791225A (en) 2002-09-06 2003-09-05 Motion picture encoding device and motion picture decoding device

Country Status (1)

Country Link
CN (7) CN100502513C (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101170707B (en) * 2007-11-08 2012-08-08 华为技术有限公司 Image format conversion and recovery method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1140958A (en) * 1994-09-23 1997-01-22 Lg电子株式会社 Half-pixel motion compensation controller accepting MPEG2
EP0863675A2 (en) * 1997-03-07 1998-09-09 General Instrument Corporation Motion estimation and compensation of video object planes for interlaced digital video
EP0955607A2 (en) * 1998-05-07 1999-11-10 Sarnoff Corporation Method and apparatus for adaptively scaling motion vector information
US6108039A (en) * 1996-05-23 2000-08-22 C-Cube Microsystems, Inc. Low bandwidth, two-candidate motion estimation for interlaced video

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0520765B1 (en) * 1991-06-25 1999-05-12 Canon Kabushiki Kaisha Movement vector detecting method/apparatus and encoding method/apparatus using such method/apparatus
EP0585051B1 (en) * 1992-08-21 2001-03-07 Canon Kabushiki Kaisha Image processing method and apparatus
JP3381077B2 (en) * 1992-12-04 2003-02-24 ソニー株式会社 Video decoding device
US6259741B1 (en) * 1999-02-18 2001-07-10 General Instrument Corporation Method of architecture for converting MPEG-2 4:2:2-profile bitstreams into main-profile bitstreams

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1140958A (en) * 1994-09-23 1997-01-22 Lg电子株式会社 Half-pixel motion compensation controller accepting MPEG2
US6108039A (en) * 1996-05-23 2000-08-22 C-Cube Microsystems, Inc. Low bandwidth, two-candidate motion estimation for interlaced video
EP0863675A2 (en) * 1997-03-07 1998-09-09 General Instrument Corporation Motion estimation and compensation of video object planes for interlaced digital video
EP0955607A2 (en) * 1998-05-07 1999-11-10 Sarnoff Corporation Method and apparatus for adaptively scaling motion vector information

Also Published As

Publication number Publication date
CN100502513C (en) 2009-06-17
CN101043628B (en) 2010-12-15
CN1784017A (en) 2006-06-07
CN100502512C (en) 2009-06-17
CN101043629B (en) 2011-01-26
CN101043630A (en) 2007-09-26
CN1791225A (en) 2006-06-21
CN101043628A (en) 2007-09-26
CN1801943A (en) 2006-07-12
CN101043629A (en) 2007-09-26
CN101043627A (en) 2007-09-26
CN101043627B (en) 2010-12-08

Similar Documents

Publication Publication Date Title
US9544609B2 (en) Motion picture encoding device and motion picture decoding device
CN101043630B (en) Motion picture encoding and decoding devices
CA2591655C (en) A device and method for providing inter-field motion compensation for chrominance motion vectors while decoding motion pictures

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
CX01 Expiry of patent term
CX01 Expiry of patent term

Granted publication date: 20130327