EP0631442A2

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

Abstract

In the video coding and decoding apparatuses, prediction errors and motion vectors are coded in block units even if the motion vectors suffer from transmission error while they are being coded, without damaging other blocks whose motion vectors have been successfully coded. As a result, image deterioration resulted from a transmission error can be limited within a block whose motion vector suffers from the transmission error.

EP0631442A2, drawing sheet 1
Sheet 1 of 27

Term

Term ended

Projected expiry passed 23 June 2014, 12.3 years ago.

  1. Priority
  2. Filed
  3. Published
  4. Projected expiry
  5. Today

49 claims: 12 independent, 37 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 for storing motion vectors of all blocks in the reference frame;a motion vector detection means for detecting a motion vector of each block in the target frame based on the reference frame;a differential motion vector detection means for detecting a differential motion vector between a motion vector detected by said motion vector detection means and a motion vector of a corresponding block in the reference frame;a differential motion vector coding means 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. 3
    A motion picture coding apparatus for coding a prediction error and further coding a motion vector used for obtaining the prediction error, comprising:a block division means for dividing a target frame into a plurality of blocks, said target frame being a frame to be coded;a motion vector detection means for detecting a motion vector of each block in the target frame to a corresponding block in a reference frame, said reference frame being a former target frame;a prediction error coding means 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 for decoding said prediction error, thereby reproducing a block having the detected motion vector;a frame memory means for holding all reproduced blocks for the reference frame and for sequentially storing blocks reproduced by said local decoding means;a motion vector storage means for storing motion vectors of all blocks in the reference frame;a differential motion vector detection means for detecting a differential motion vector between a motion vector detected by said motion vector detection means and a motion vector of a corresponding block in the reference frame;and a differential motion vector coding means 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, wherein said motion vector detection means detects a motion vector based on the reference frame held in said frame memory means, and the coded differential motion vector is multiplexed with the coded prediction error, thereby being outputted on a transmission path.
  3. 5
    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 for storing motion vectors of all blocks in the reference frame;a motion vector detection means for detecting a motion vector of each block in the target frame based on the reference frame;a differential motion vector detection means for detecting a differential motion vector between a motion vector detected by said motion vector detection means and a motion vector of a corresponding block in the reference frame;and a coding means 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 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.
  4. 10
    A motion picture coding apparatus for coding a prediction error and further coding a motion vector used for obtaining the prediction error, comprising:a block division means for dividing a target frame into a plurality of blocks, said target frame being a frame to be coded;a motion vector detection means for detecting a motion vector of each block in the target frame to a corresponding block in a reference frame, said reference frame being a former target frame;a prediction error coding means 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 for decoding said prediction error, thereby reproducing a block having the detected motion vector;a frame memory means for holding all reproduced blocks for the reference frame and for sequentially storing blocks reproduced by said local decoding means;a motion vector storage means for storing motion vectors of all blocks in the reference frame;a differential motion vector detection means for detecting a differential motion vector between a motion vector detected by said motion vector detection means and a motion vector of a corresponding block in the reference frame;a coding means 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;and a multiplexer means 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, wherein said motion vector detection means detects the motion vectors based on the reference frame held in the frame memory means.
  5. 14
    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 for storing motion vectors of all blocks in the reference frame;a differential motion vector decoding means for decoding a coded differential motion vector, thereby obtaining a differential motion vector;and a motion vector addition means for adding the differential motion vector obtained by said differential motion vector decoding means 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.
  6. 18
    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 motion vector and 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 code distinction means fordistinguishing 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 for decoding a motion vector which has been coded with a fixed length code, thereby outputting a motion vector;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;a motion vector storage means for storing motion vectors of all blocks in the reference frame;and a motion vector addition means for adding the differential motion vector outputted from said variable length decoding means and motion vectors of corresponding blocks in the reference frame, 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.
  7. 26
    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;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;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. 28
    A motion picture coding method for coding a prediction error and further coding a motion vector used for obtaining the prediction error, said motion picture coding method comprising the steps of:dividing a target frame into a plurality of blocks, said target frame being a frame to be coded;detecting a motion vector of each block in the target frame to a corresponding block in a reference frame, said reference frame being a former target frame;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 and sequentially storing blocks reproduced in the decoding step to the temporary storage unit;storing motion vectors of all blocks in the reference frame to a memory;detecting a differential motion vector between a motion vector detected by said motion vector detection step and a second motion vector of a corresponding block in the reference frame stored in the memory;and coding the differential motion vector detected, wherein the step of detecting a motion vector is based on the reference frame held in the memory, and the coded differential motion vector is multiplexed with the coded prediction error, thereby outputting on a transmission path.
  9. 30
    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;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;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.
  10. 34
    A motion picture coding method for coding a prediction error and further coding a motion vector used for obtaining the prediction error, said motion picture coding method comprising the steps of:dividing a target frame into a plurality of blocks, said target frame being a frame to be coded;detecting a motion vector of each block in the target frame to a corresponding block in a reference frame, said reference frame being a former target frame;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 and sequentially storing blocks reproduced in the decoding step to the temporary storage unit;storing motion vectors of all blocks in the reference frame to a memory;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;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;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, wherein the step of detecting a motion vector is based on the reference frame held in the memory.
  11. 38
    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;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.
  12. 42
    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 and a coded 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: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;decoding a differential motion vector which has been coded with a variable length code, thereby outputting a differential motion vector;storing motion vectors of all blocks in the reference frame to a memory;and adding the differential motion vector outputted in the first decoding step and motion vectors of corresponding blocks in the reference frame, 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.