CA2227062C

Image encoding apparatus, image decoding apparatus, image encoding method, image decoding method, image encoding program recording medium and image decoding program recording medium

Abstract

Image signals or shape signals are encoded more efficiently than conversion techniques. A changed-picture element detector (2) receives an input signal (1) and detects such a picture element that changes in binary picture element value. A changed-picture element predictor (4) reads a reference image stored in a memory (3) and predicts changed picture elements of the input signal (1). A differential value calculator (5) subtracts the output of the predictor (4) from the output of the detector (2) and a differential value rounding device (7) compares an allowance value (e) with a predicted error (D) and outputs a minimum value (x) (D-exD+e) at which the number of bits required for the encoding using the value (x) becomes the smallest. An encoder (8) encodes the output of the device (7) into an encoded signal (9) and a differential value adder (11) calculates a changed-picture element by adding the output of the device (7) to the predicted picture element predicted by the predictor (4). A changed-picture element decoder (10) decodes each picture element value from the decoded picture elements specified by the predictor (4) to the changed-picture elements and stores the decoded picture element values in the memory (3).

CA2227062C, drawing sheet 1
Sheet 1 of 44

Term

Term ended

Expired 15 May 2017, 9.4 years ago.

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

56 claims: 29 independent, 27 dependent

  1. 1
    CA 02227062 1998-01-16 -196Scope of Claim 1. An image encoding apparatus which receives two-valued image signals as input signals and encodes pixels of the input signals changing the pixel values, comprising:change pixel detection means for detecting the pixels changing the pixel values and outputting the result as the detected change pixels;prediction means for predicting change pixels of the input signals based on the pixels changing the pixel values of already encoded and decoded pixels and outputting the result as predicted pixels;difference value calculation means for calculating from the detected change pixels and the predicted change pixels the difference therebetween and outputting the same as difference values D;rounding means for selecting D' which is in the range determined based on the given tolerance value and the difference value D and which has the minimum code length when it should be encoded and outputting it as modified difference value;decoding means for decoding the two-valued image signal from the modified difference values D' and the predicted change pixels;and encoding means for encoding the modified difference values D' . CA 02227062 1998-01-16 -197-
  2. 2
    Ar. image encoding apparatus which receives two-valued image signals as input signals and encodes pixels of the input signals changing the pixel values, comprising:change pixel detection means for detecting the pixels changing the pixel values and outputting the result as the detected change pixels ;1st prediction means for predicting change pixels of the input signals based on the pixels changing the pixel values of already encoded and decoded pixels in the frames and outputting the result as 1st predicted pixels;1st difference value calculation means for calculating from the detected change pixels and the 1st predicted change pixels the differences therebetween and outputting the same as 1st difference values D;2nd prediction means for predicting change pixels of the input signals, along with the motion compensation, based on the pixels changing the pixel values of already encoded and decoded pixels in reference frames and outputting the result as 2nd predicted pixels;2nd difference value calculation means for calculating the differences between the detected change pixels and the 2nd predicted change pixels and outputting the same as 2nd difference values D' ' ;mode selection means for calculating the code lengths of the first and second difference values D' and D'' when respectively CA 02227062 2001-12-20 -198encoded, selecting the value having the shorter code length by carparing the calculated results, and outputting a first identification signal or a second identification signal depending cn the selection, as an encoding mode;and encoding means for encoding the selected first or second difference values D' or D r and the encoded mode output by the mode selection means.
  3. 3
    An image encoding apparatus which receives two-dimensional two-valued image signals as input signals and encodes pixels of the input signals changing the pixel values, comprising:change pixel detection means for detecting the pixels changing the pixel values and outputting the result as the detected change pixels;1st prediction means for predicting change pixels of the input signals based on the pixels changing the pixel values of already encoded and decoded pixels by horizontally scanning the image signals and outputting the result as 1st predicted pixels;1st difference value calculation means for calculating the differences between the detected change pixels and the 1st predicted pixels and outputting the same as 1st difference values D;2nd prediction means for predicting change pixels of the input signals based on the pixels changing the pixel values of already encoded and decoded pixels by scanning the image signals in the vertical direction and outputting the result as 2nd predicted CA 02227062 2001-12-20 499pixels;2nd difference value calculation means for calculating the differences between the detected change pixels and the 2nd predicted pixels and outputting the same as 2nd difference values D;mode selection means for calculating the code lengths of ths first and seaend difference values D' and D when respectively encoded, selectiixj the value having the shorter code length by ccnparing the calculated results, and cutputting a first identification signal or a seoend. identification signal depending on the selection as an encoding mode;and encoding means for encoding the selected first or second difference values D' or D' ', and the encoded mode output by the mode selection means.
  4. 4
    An image encoding apparatus which receives multi-valued image signals as input signals and encodes pixels of the input signals changing the pixel values, comprising:change pixel detection means for detecting the pixels changing the pixel values to a value above the given value and outputting the result as the detected change pixels;prediction means for predicting change pixels of the input signals based on the pixels changing the pixel values of already encoded and decoded pixels and outputting the result as predicted pixels;difference value calculation means for calculating the CA 02227062 1998-01-16 -200difference between the detected change pixels and the predicted pixels and outputting the same as a difference value D;encoding means for encoding the difference values D and the pixel values of the detected change pixel;and decoding means for decoding the multi-valued image signal from the difference values D and the pixel values of the detected change pixel.
  5. 5
    An image encoding apparatus, which receives a transparency signal indicating the ratio for the image synthesis and a pixel value signal as input signals, and encodes the input signal referring to a reference image, comprising:1st motion vector detection means for detecting motion vectors of the pixel value signal by comparing the pixel value signal of the input signal and the pixel value signal of the reference image;1st motion compensation means for motion-compensating the pixel value signal of the reference image using the motion vectors of the pixel value signal, and outputting a compensated pixel value signal;1st difference value calculation means for calculating from the pixel value signal of the input signal and the compensated pixel value signal the difference therebetween, and outputting the same as 1st difference values;1st encoding means for encoding the 1st difference values;2nd motion vector detection means for detecting motion vectors CA 02227062 1998-01-16 -201of the transparency signal by comparing the transparency signal of the input signal and the transparency signal of the reference image;2nd motion compensation means for motion-compensating the transparency signal of the reference image using the motion vectors of the transparency signal, and outputting the same as a compensated transparency signal;2nd difference value calculation means for calculating from the transparency signal of the input signal and the compensated transparency signal the difference therebetween, and outputting the same as 2nd difference values;2nd encoding means for encoding the 2nd difference values;and 3rd encoding means for encoding the motion vectors of the pixel value signal and the motion vectors of the transparency signal.
  6. 10
    ta image encoding apparatus, which receives image signals with blocked shapes consisting of shape signals indicating the shapes of objects and whether the pixel value of pixels are significant or not and pixel value signals as input signals, and encodes the input signals referring to reference images, comprising:1st motion vector detection means for detecting motion vectors of the pixel value signal by comparing the pixel value signal of the input signal and the pixel value signal of the reference image;CA 02227062 1998-01-16 -203lst notion compensation means for motion-compensating the pixel value signal of the reference image using the motion vectors of the pixel value signal, and outputting the same as a compensated pixel value signal;1st difference value calculation means for calculating from the pixel value signal of the input signal and the compensated pixel value signal the difference therebetween, and outputting the same as 1st difference values;1st encoding means for encoding the 1st difference values;2nd motion vector detection means for detecting motion vectors of the shape signal by comparing the shape signal of the input signal and the shape signal of the reference image;2nd motion compensation means for motion-compensating the shape signal of the reference image using the motion vectors of the shape signal, and outputting the same as a compensated shape signal;2nd difference value calculation means for calculating from the shape signal of the input signal and the compensated shape signal the difference therebetween, and outputting the same as 2nd difference values;2nd encoding means for encoding the 2nd difference values;and 3rd encoding means for encoding the motion vectors of the pixel value signal and the motion vectors of the shape signal.
  7. 19
    An image encoding apparatus according to any of claims 10 to 18 wherein, when the input signal consists of transparency information indicating a synthesis ratio for synthesizing a plurality of images, and the image information, as the transparency information regarded is the shape signal and as the image information regarded is the pixel value signal.
  8. 20
    An image encoding apparatus according to any of claims 10 to 18 wherein, when the input signal consists of transparency information indicating a synthesis ratio for synthesizing a plurality of images and the image information, the transparency information is separated into a two-valued signal representing only the shape and the other remaining signal, and then the two-valued signal is regarded as the above shape signal, and the separated remaining shape signal and the image information are regarded as the pixel value signal.
  9. 21
    An image encoding apparatus which receives the image signal which consists of at least either the shape information indicating whether pixel values of respective pixels of an object are significant or not, or the transparency information indicating the synthesis ratio for respective pixels of the object, and of the CA 02227062 1998-01-16 -208image information, as input image signal, comprising:blocking means for integrating pixels which spacially and temporally coincide with the input image signal into a group and outputting the group as blocked information;1st encoding means for selecting an encoding mode from the given set of encoding modes for each piece of shape information formed into blocks by the blocking means, the transparency information and the pixel value information, and encoding each piece of information in each selected encoding mode;2nd encoding means for collectively encoding all modeidentifying information each of which indicates the selected mode for each piece of shape information, the transparency information and the pixel value information;and the output of the 1st encoding means and the output of the 2nd encoding means being output as coded outputs.
  10. 22
    An image encoding apparatus which receives the image signal which consists of at least either the shape information indicating whether or not pixel values of respective pixels of an object are significant, or the transparency information indicating the synthesis ratio for respective pixels of the object, and the pixel value information, as input image signal, comprising:blocking means for integrating pixels which spacially and temporally coincide with the input image signal into a group and outputtinçj the group as blocked information;CA 02227062 1998-01-16 -209lst encoding means for selecting an encoding mode from the given set of encoding modes for each piece of shape information formed into blocks by the blocking means and the transparency information, and encoding each piece of information in each selected encoding mode ;2nd encoding means for encoding the pixel value information which is clocked by the blocking means in either of the encoding modes selected by the 1st encoding means;and 3rd encoding means for collectively encoding all modeidentifying information each of which indicates the selected mode for each piece of shape information, the transparency information and the pixel value information.
  11. 23
    An image encoding apparatus which receives the image signal which consists of at least either the shape information indicating whether or not pixel values of respective pixels of an object are significant, or the transparency information indicating the synthesis ratio for respective pixels of the object as the input image information, and the pixel value information, as input image signal, comprising:blocking means for integrating pixels which spacially and temporally coincide with the input image signal into a group and outputting the group as blocked information;1st encoding means for selecting an encoding mode from the given set of encoding modes for each piece of pixel value information CA 02227062 1998-01-16 -210formed into blocks by the blocking means, and encoding each piece of information in each selected encoding mode;2nd encoding means for encoding the shape information and the transparency information formed into blocks by the blocking means;and 3rd encoding means for collectively encoding all modeidentifying information each of which indicates the selected mode for the shape information, the transparency information and the pixel value information.
  12. 24
    An image encoding apparatus according to any of claims 21 to 23 wherein, the given encoding modes are the intra-frame encoding and the inter-frame encoding.
  13. 25
    An image encoding apparatus according to any of claims 21 to 23 wherein, the 2nd encoding means selects the intra-frame encoding when the selected encoding mode is the intra-frame encoding mode in the 1st encoding means.
  14. 26
    An image encoding apparatus according to any of claims 21 to 23 wherein, the given encoding modes are the number of motion vectors of each of the blocks. CA 02227062 2001-12-20 -211-
  15. 27
    An image encoding apparatus according to any of claims 22 to 23 wherein, the 2nd encoding means selects the number of motion vectors of each of the blocks which is the encoding mode selected in the 1st encoding means as the encoding mode.
  16. 28
    An image encoding apparatus according to any of claims 21 to 23 wherein, the given encoding modes are the changing of the quantizing step and the non-changing of the quantizing step.
  17. 29
    An image encoding apparatus according to any of claims 22 to 23 wherein, the 2nd encoding means selects the non-changing of the quantizing step when the 1st encoding means selects the nonchanging of the quantizing step.
  18. 30
    An image encoding apparatus which encodes twodimensional image signals consisting of a plurality of input pixels and outputs the encoded signals, comprising:1 st change pixel detection means for detecting the pixels changing the pixel values by scanning in the given direction on pixels within a first range constituting the two-dimensional image signal and outputting the result as the detected 1 st change pixels;CA 02227062 2001-12-20 -2122 nd change pixel detection means for detecting the pixels changing the pixel values by scanning in the given direction on pixels within a second range different from the first range, constituting the two-dimensional image signals or decoding image signals obtained by decoding the encoded signals and outputting the result as the detected 2 nd change pixels;3 rd change pixel detection means for detecting the pixels changing the pixel values by scanning in the given direction on pixels within a third range different, from the first and the second ranges, constituting the two-dimensional image signals or decoded image signals obtained by decoding the encoded signals and outputting the result as the detected 3 rd change pixels;change pixel prediction means for predicting the 1 st change pixels based on the 1 st and 2 nd change pixels and outputting the result as predicted change pixels;prediction error calculation means for calculating the differences between the. detected 1 st change pixels and predicted change pixels, and cutputting difference values of change pixels;and prediction error encoding means for encoding the difference values of change pixels.
  19. 36
    An image encoding apparatus which receives two-dimensional image signals consisting of a plurality of pixels as input signals and encodes the image signals, comprising:change pixel detection means for detecting the pixels changing the pixel values by scanning the two-dimensional image signal in the given direction to output the result as the detected change pixels;CA 02227062 1998-01-16 -214change pixel prediction means for predicting change pixels based on encoded and decoded pixels and outputting the result as predicted change pixels;prediction error calculation means for calculating the differences between the detected change pixels and the predicted change pixels, and outputting difference values of change pixels;prediction error encoding means for encoding the difference value of change pixels and outputting it as a difference value encoded signal, when the difference value of change pixels is less than the given value;and pixel number encoding means for calculating the number of the pixels which are positioned between the immediately previous encoded change pixel· and the detected change pixel and are not positioned at the pixel· position which the prediction error encoding means can encode, and encoding the calculated pixel number, and outputting the pixel number encoded signal, when the difference value of changed pixels is equal to or larger than the given value, the prediction error encoding means and the pixel number encoding means performing encodings in which the encoded signal and the pixel number encoded signal are uniquely identifiable thereby to output the prediction error encoded signal when the prediction error is within the given range and to output the pixel number encoded signal when the prediction error is beyond the given range as the output encoded signal·. CA 02227062 1998-01-16 -215-
  20. 38
    to image encoding apparatus which receives two-dimensional shape signals indicating the area where the pixels representing an object exist as input and encodes the shape signals, comprising:significant area extracting means for extracting the significant area which contains the pixels representing an object from the shape signal to output a significant area range representing the range covering the extracted significant area;blocking means for dividing the shape signal into blocks having a plurality of pixels;shape encoding means for judging whether the blocks output by the blocking means contain the significant area each by each, and encoding at least the significant area of the block to output a shape encoded signal when it is judged that the block contains the significant area;and the significant area range and the shape encoded signal being made as encoded signal, thereby the range of the significant area is detected and the block size of the shape signal is changed so that only the inside of the significant area of the shape signal is encoded. CA 02227062 1998-01-16 -216-
  21. 40
    An image encoding apparatus which receives two-dimensional image signals consisting of a plurality of pixels as input signals and encodes the two-dimensional image signals, comprising:image signal separation means for separating the image signal into at least 2 image signals, and outputting the separated image signals as two or more partial image signals;1st image signal encoding means for selecting at least one of the partial image signals as target partial image signals and encoding the selected target partial image signal and outputting the result as 1st encoded signal;prediction probability calculating means for predicting the non-target partial image signals which are the partial image signal other than the target partial image signal, and calculating the probability that the prediction comes true, and outputting the calculated prediction probability;and 2nd image signal encoding means for determining the degree of priority of decoding based on the prediction probability calculated by the prediction probability calculation means , and encoding the CA 02227062 1998-01-16 217· non-target partial image signal using the encoding method based on the determined degree of priority.
  22. 43
    An image decoding apparatus which receives the encoded signals and decodes the same, comprising:decoding means for decoding the encoded signal to obtain the encoded mode and the difference value, and outputting the obtained encoding mode as a mode signal and the obtained difference value as a decoded difference value;1st prediction means for predicting the change pixel of the input signal based on the pixel changing the pixel value among the already encoded and decoded pixels in the frame, and outputting the predicted pixels as 1st predicted pixels;CA 02227062 1998-01-16 -2182nd prediction means for predicting the change pixel of the input signal, with the motion compensation, based on the pixel changing the pixel value among the already encoded and decoded pixels in the reference frame, and outputting the predicted pixels as 2nd predicted pixels;addition means for adding the decoded difference value to the 1st predicted pixel when the mode signal indicates the prediction of the particular frame, and adding the decoded difference value to the 2nd predicted pixel when the mode signal indicates the prediction of reference frame;and the output of the addition means being made the change pixel.
  23. 44
    An image decoding apparatus which receives encoded signals and decodes the same, comprising:decoding means for decoding the encoded signal to obtain the encoded mode and the difference value, and outputting the obtained encoding mode as a mode signal and the obtained difference value as a decoded difference value;1st prediction means for predicting the change pixel of the input signal, based on the pixel changing the pixel value among the already encoded and decoded pixels, by horizontally scanning the image signal, and outputting the predicted pixels as 1st predicted pixels;2nd prediction means for predicting the change pixel of the input signal, with the motion compensation, based on the pixel CA 02227062 1998-01-16 -219changing the pixel value among the already encoded and decoded pixels, by scanning the image signal in the vertical direction, and outputting the predicted pixels as 2nd predicted pixels;addition means for adding the decoded difference value to the 1st predicted pixel when the mode signal indicates the prediction by the horizontal scanning, and adding the decoded difference value to the 2nd predicted pixel when the mode signal indicates the prediction by the vertical scanning;and the output of the addition means being made the change pixel.
  24. 45
    An image decoding apparatus which receives encoded signals and decodes the same, comprising:decoding means for decoding the encoded signal, obtaining the difference value and the pixel value of the change pixel, and outputting the obtained difference value as a decoded difference value and the obtained change pixel as decoded pixel;prediction means for predicting the change pixel of the input encoded signal, based on the pixel changing the pixel value among the already decoded pixels, and outputting the predicted pixels as predicted pixels;addition means for adding the decoded difference value to the predicted pixel and outputting the calculated result as a modified difference value;and image decoding means for obtaining multi-valued signals by a decoding process from the modified difference values and the CA 02227062 1998-01-16 -220decoded pixel values.
  25. 46
    An image decoding apparatus which receives encoded signals and decodes the same, comprising:1st decoding means for decoding the encoded signal to obtain the difference value of the pixel value signal, and outputting the obtained difference value as a decoded pixel value difference value;2nd decoding means for decoding the encoded signal to obtain the difference value of the transparency signal, and outputting the obtained difference value as a decoded transparency difference value;3rd decoding means for decoding the encoded signal to obtain the motion vectors of the pixel value signal and the motion vectors of the transparency signal, and outputting the decoded pixel value motion vectors and the decoded pixel value motion vectors;1st motion compensation means for compensating the pixel value signal of a reference image described below using the encoded pixel value motion vectors, and outputting the result of the motion compensation as a compensated pixel value signal;1st addition means for adding the decoded pixel value difference value and the compensated pixel value signal to output the result of the addition as a decoded pixel value signal as well as a pixel value of a reference image;2nd motion compensation means for compensating the CA 02227062 2001-05-02 -221transparency signal of a reference image described-below using the decoded transparency motion vectors, and outputting the result of the motion compensation as a compensated transparency signal;and 2nd addition means for adding the decoded transparency difference value and compensated transparency outputting the result of the addition as a decoded transparency signal as well as a transparency signal of
  26. 48
    An image decoding apparatus which receives an encoded signal and decodes the encoded signal, comprising:first decoding means for decoding the encoded signal to obtain a difference value of a pixel value signal and outputting the obtained difference value as a decoded difference pixel value;CA 02227062 2001-05-02 -222third decoding means for decoding the encoded signal to obtain a pixel value motion vector and a shape signal motion vector and outputting these motion vectors as a decoded pixel value motion vector and a decoded shape motion vector, respectively;first motion compensation means for compensating a pixel value signal of a reference image using the decoded pixel value motion vector and outputting the result of the motion compensation as the compensated pixel value signal;first calculation means for adding the decoded difference pixel value signal and the compensated pixel value signal and outputting the result of the addition as a decoded pixel value signal;second motion compensation means for compensating a shape signal of the reference image using the decoded shape motion vector, and for outputting the result of the motion compensation as a compensated shape signal;and second decoding means for decoding the encoded signal with reference to the compensated shape signal and outputting the decoded signal as a decoded shape signal.
  27. 51
    An image decoding apparatus which receives an encoded signal and decodes the encoded signal, comprising:first decoding means for decoding the encoded signal to obtain a difference value of a pixel value signal and outputting the obtained difference value as a decoded difference pixel valuer- third decoding means for decoding the encoded signal to obtain a pixel value motion vector and a shape signal motion vector and outputting these motion vectors as a decoded pixel value motion vector and a decoded shape motion vector, respectively;first motion compensation means for compensating a pixel value signal of a reference image using the decoded pixel value motion vector and outputting the result of the CA 02227062 2001-05-02 -224motion compensation as the compensated pixel value signal;first calculation means for adding the decoded difference pixel value signal and the compensated pixel value signal and outputting the result of the addition as a decoded pixel value signal;second motion compensation means for compensating a shape signal of the reference image using the decoded shape motion vector and outputting the result of the motion compensation as a compensated shape signal;and second decoding means for decoding the encoded signal with reference to the compensated shape signal and outputting the decoded signal as a decoded shape signal, wherein said third decoding means decodes the pixel value motion vector and a difference value between the pixel value motion vector and the shape motion vector to obtain a decoded pixel value motion vector and a decoded motion vector difference value and adds the decoded pixel value motion vector and the decoded motion vector difference value to obtain a decoded shape signal motion vector.
  28. 52
    An image decoding apparatus which receives an encoded signal and decodes the encoded signal, comprising:first decoding means for decoding the input encoded signal to obtain mode identifying information indicating respective encoding modes for the shape information and for the pixel value information;CA 02227062 2001-05-02 second decoding means for decoding, according to the -225obtained mode identifying information, blocked shape information and blocked pixel value information, respectively;and reverse blocking means for integrating the blocked shape information and the blocked pixel value information which are output from the second decoding means to obtain a decoded image signal.
  29. 54
    An image decoding apparatus which receives an encoded signal and decodes the encoded signal to output a two-dimensional shape signal representing an area where pixels constituting an object exist, comprising:significant area decoding means for decoding the encoded signal to obtain a rectangular area which includes the area where the pixels constituting the object exist and outputting the obtained rectangular area as a significant area;shape decoding means for decoding the encoded signal to output a decoded block shape signal corresponding to respective blocks each comprising a plurality of pixels;and reverse blocking means for integrating the decoded CA 02227062 2001-05-02 -226block shape signals corresponding to the respective blocks to constitute the two-dimensional shape signal and outputting the two-dimensional shape signal as a decoded shape signal;wherein said shape decoding means extracts the minimum rectangular area containing the significant area from the block for each block, and outputs the decoded shape signal corresponding to rectangular area. the inside of the extracted minimum
  30. 55
    A method for transmitting a coded image signal which is obtained by coding an image signal including a shape information and a pixel value information, comprising:a step for transmitting coded identifying information for identifying respective coding modes for shape information and for pixel value information, which are blocked so as to correspond to an area as a coding processing unit, said coded identifying information being included in said coded image signal, and wherein said coding modes for shape information and for the pixel value information, are selected among prescribed coding modes.
Independent claims30