EP0631442B1

Video coding and decoding apparatuses with an improved motion vector coding method

Abstract

This record has no abstract on file.

EP0631442B1, drawing sheet 1
Sheet 1 of 27

Term

Term ended

Expired 23 June 2014, 12.3 years ago.

  1. Priority
  2. Filed
  3. Granted
  4. Expired
  5. Today

35 claims: 11 independent, 24 dependent

  1. 1
    A motion picture coding apparatus for dividing each frame which forms a motion picture into a plurality of blocks, for coding a prediction error in each of the blocks between a target frame and a reference frame, said target frame being a frame to be coded and said reference frame being a frame that precedes said target frame, and for further coding a motion vector to be used for obtaining the prediction error, said motion picture coding apparatus comprising:a motion vector storage means (11c) for storing motion vectors of all blocks in the reference frame;a motion vector detection means (113) for detecting a motion vector of each block in the target frame based on the reference frame;a differential motion vector detection means (11d) for detecting a differential motion vector between a motion vector detected by said motion vector detection means (113) and a motion vector of a corresponding block in the reference frame;a differential motion vector coding means (11e) for coding the differential motion vector detected, the coded differential motion vector being multiplexed with the coded prediction error and outputted on a transmission path.
  2. 4
    A motion picture coding apparatus for dividing each frame which forms a motion picture into a plurality of blocks, for coding a prediction error in each of the blocks between a target frame and a reference frame, said target frame being a frame to be coded and said reference frame being a frame that precedes said target frame, and for further coding a motion vector to be used for obtaining the prediction error, said motion picture coding apparatus comprising:a motion vector storage means (11c) for storing motion vectors of all blocks in the reference frame;a motion vector detection means (113) for detecting a motion vector of each block in the target frame based on the reference frame;a differential motion vector detection means (11d) for detecting a differential motion vector between a motion vector detected by said motion vector detection means (113) and a motion vector of a corresponding block in the reference frame;and a coding means (143) for coding a differential motion vector when a differential motion vector is equal or smaller than a predetermined threshold and for coding a motion vector when the differential motion vector is greater than the predetermined threshold,    wherein the coded prediction error, one of the coded differential motion vector and the coded motion vector, and information indicating which one of the differential motion vector and the motion vector has been coded are multiplexed together and then outputted on a transmission path.wherein the coded prediction error, one of the coded differential motion vector and the coded motion vector, and information indicating which one of the differential motion vector and the motion vector has been coded are multiplexed together and then outputted on a transmission path.
  3. 9
    The motion picture coding apparatus according to any of claims 4 to 8, further comprising:a block division means (112) for dividing a target frame into a plurality of blocks, said target frame being a frame to be coded;a prediction error coding means (118) for coding a difference between a block having a detected motion vector and a corresponding block in the reference frame, said difference being said prediction error;a local decoding means (119) for decoding said prediction error, thereby reproducing a block having the detected motion vector;a frame memory means (114) for holding all reproduced blocks for the reference frame and for sequentially storing blocks reproduced by said local decoding means (119);a multiplexer means (144) for multiplexing one of the coded differential motion vector and the coded motion vector with information indicating which one of the differential motion vector and the motion vector has been coded, and the coded prediction error, thereby being outputted on the transmission path.
  4. 10
    A motion picture decoding apparatus for decoding a coded prediction error for each block between a target frame and a reference frame, said target frame being a frame to be decoded and said reference frame being a frame that precedes said target frame, and for further decoding a coded differential motion vector between each block in the target frame and a corresponding block in the reference frame, said motion picture decoding apparatus comprising:a motion vector storage means (193) for storing motion vectors of all blocks in the reference frame;a differential motion vector decoding means (192) for decoding a coded differential motion vector, thereby obtaining a differential motion vector;and a motion vector addition means (128) for adding the differential motion vector obtained by said differential motion vector decoding means (192) and a motion vector of a corresponding block in the reference frame, thereby obtaining a motion vector to be used for decoding the prediction error.
  5. 14
    The motion picture decoding apparatus according to any of claims 10 to 13, further comprising:a code distinction means (191) for distinguishing a fixed length coded motion vector from a variable length coded differential motion vector, based on a code distinction information sent from a motion picture coding apparatus;a fixed length decoding means (192a) for decoding a motion vector which has been coded with a fixed length code, thereby outputting a motion vector;wherein the differential motion vector decoding means (192) comprises a variable length decoding means for decoding a differential motion vector which has been coded with a variable length code, thereby outputting a differential motion vector;and    wherein the motion vector outputted from said fixed length decoding means and the motion vector obtained by said motion vector addition means are used for decoding the prediction error.
  6. 17
    The motion picture decoding means of any of claims 14 to 16 as dependent from claim 10 or 11, further comprising:an error detection means (221) for detecting a presence of an error in one of a coded differential motion vector and a coded motion vector;a prevention means for preventing said motion vector storage means (193) and said motion vector addition means (128) from processing a differential motion vector, when the differential motion vector has been detected to have an error;and an amendment means (222) for, when a presence of an error has been detected, storing to said motion vector storage means (193) a motion vector of a predetermined block instead of a motion vector having the error, said predetermined block being stored in said motion vector storage means (193).
  7. 19
    A motion picture coding method for dividing each frame which forms a motion picture into a plurality of blocks, for coding a prediction error in each of the blocks between a target frame and a reference frame, said target frame being a frame to be coded and said reference frame being a frame that precedes said target frame, and for further coding a motion vector to be used for obtaining the prediction error, said motion picture coding method comprising the steps of:storing motion vectors of all blocks in the reference frame to a memory (11c);detecting a motion vector of each block in the target frame to a corresponding block in the reference frame;detecting a differential motion vector between a motion vector detected by said motion vector detection step and a motion vector of a corresponding block in the reference frame stored in the memory (11c);and coding the differential motion vector detected,    wherein the coded differential motion vector is multiplexed with the coded prediction error, thereby outputting on a transmission path.
  8. 22
    A motion picture coding method for dividing each frame which forms a motion picture into a plurality of blocks, for coding a prediction error in each of the blocks between a target frame and a reference frame, said target frame being a frame to be coded and said reference frame being a frame that precedes said target frame, and for further coding a motion vector to be used for obtaining the prediction error, said motion picture coding method comprising the steps of:storing motion vectors of all blocks in the reference frame to a memory (11c);detecting a motion vector of each block in the target frame to a corresponding block in the reference frame;detecting a differential motion vector between a first motion vector detected by said motion vector detection step and a motion vector of a corresponding block in the reference frame stored in the memory (11c);and coding a differential motion vector when a differential motion vector is equal or smaller than a predetermined threshold and coding a motion vector when the differential motion vector is greater than the predetermined threshold,    wherein the coded prediction error, one of the coded difference motion vector and the coded motion vector, and information indicating which one of the differential motion vector and the motion vector has been coded are multiplexed together and then outputted on a transmission path.
  9. 26
    The motion picture coding method according to any of claims 22 to 25, further comprising the steps of:dividing said target frame into a plurality of blocks;coding a difference between a block having a detected motion vector and a corresponding block in the reference frame, said difference being said prediction error;decoding said prediction error, thereby reproducing a block having the detected motion vector;storing all reproduced blocks for the reference frame to a temporary storage unit (114) and sequentially storing blocks reproduced in the decoding step to the temporary storage unit (114);and multiplexing one of the coded differential motion vector and the coded motion vector with information indicating which one of the differential motion vector and the motion vector has been coded, and the coded prediction error, thereby outputting on the transmission path.
  10. 27
    A motion picture decoding method for decoding a coded prediction error for each block between a target frame and a reference frame, said target frame being a frame to be decoded and said reference frame being a frame that precedes said target frame, and for further decoding a coded differential motion vector between each block in the target frame and a corresponding block in the reference frame, said motion picture decoding method comprising the steps of:storing motion vectors of all blocks in the reference frame to a memory (11c);decoding a coded differential motion vector, thereby obtaining a differential motion vector;and adding the differential motion vector obtained in the decoding step and a motion vector of a corresponding block in the reference frame, thereby obtaining a motion vector to be used for decoding the prediction error.
  11. 31
    The motion picture decoding method according to any of claims 27 to 30, further comprising the steps of:distinguishing a fixed length coded motion vector from a variable length coded differential motion vector, based on a code distinction information contained in a coded motion picture;decoding a motion vector which has been coded with a fixed length code, thereby outputting a motion vector;wherein the step of decoding the differential motion vector comprises the step of decoding the differential motion vector which has been coded with a variable length code, thereby outputting the differential motion vector;and    wherein the motion vector outputted in the first decoding step and the motion vector obtained from the adding step are used for decoding the prediction error.
  12. 34
    The motion picture decoding method of any of claims 31 to 33 as dependent from claim 27 or 28, further comprising the steps of:detecting a presence of an error in one of a coded differential motion vector and a coded motion vector;preventing the motion vector storing step and the motion vector adding step from processing a differential motion vector, when the differential motion vector has been detected to have an error;and when a presence of an error has been detected, amending a motion vector having the error by storing a motion vector of a predetermined block to said motion vector storing step.