JP2001197506A - Image coder and image decoder - Google Patents

Image coder and image decoder

Info

Publication number
JP2001197506A
JP2001197506A JP2000374570A JP2000374570A JP2001197506A JP 2001197506 A JP2001197506 A JP 2001197506A JP 2000374570 A JP2000374570 A JP 2000374570A JP 2000374570 A JP2000374570 A JP 2000374570A JP 2001197506 A JP2001197506 A JP 2001197506A
Authority
JP
Japan
Prior art keywords
pixel
signal
image
encoding
value
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.)
Pending
Application number
JP2000374570A
Other languages
Japanese (ja)
Inventor
Shinya Sumino
眞也 角野
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co 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
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2000374570A priority Critical patent/JP2001197506A/en
Publication of JP2001197506A publication Critical patent/JP2001197506A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T9/00Image coding
    • G06T9/004Predictors, e.g. intraframe, interframe coding

Abstract

PROBLEM TO BE SOLVED: To considerably reduce the number of bits required for coding an image signal or a shape signal without being almost accompanied with degradation in image quality. SOLUTION: The image coder of this invention is provided with a change pixel detector 2 that receives an input signal 1 and detects a pixel whose binary pixel value changes, a change pixel prediction device 4 that reads a reference image stored in a memory 3 to predict a change pixel of the input signal, a difference calculator 5 that subtracts an output of the change pixel prediction device 4 from an output of the change pixel detector 2, and a difference round- off device 7 that compares a permissible value (e) with prediction error D and outputs a value (x) with a minimum required bit number for coding with the value (x) denoted by D-e<=x<=D+e. The coder uses a difference between the detected change pixel and the predicted change pixel and a preset permissible value 6 to select a correction difference to minimize the code length of the error (difference) in the predicted error below the permissible value and outputs the selected correction difference.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、画像符号化装置及
び画像復号化装置に関し、特に、画像信号の符号化処理
における符号化効率の改善に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image encoding device and an image decoding device, and more particularly to an improvement in encoding efficiency in an image signal encoding process.

【0002】[0002]

【従来の技術】画像符号化には長い歴史があり、ITU-T
H.261、ITU-T H.263、ISO MPEG1/2 等の優れた標準化案
が確立されている。画像符号化方法を大別すると、直交
変換を使用する符号化方法と、予測関数を使用して予測
値との誤差を符号化する予測符号化方法とがある。直交
変換による符号化方法は計算が複雑であるが、少ないビ
ット数の符号化信号を得る場合では予測符号化よりも画
質が良い符号化を行うことが可能である。JPEG、MPEG等
の直交変換を用いる一般的符号化方式ではDCT (離散コ
サイン変換)を使用している。DCT を使用すると少ない
ビット数で符号化できることが知られているが、ビット
精度の高い乗算が必要であり、計算が複雑となる点と、
可逆な符号化が不可能な点とが問題となる。従って、可
逆性が要求される分野においてはDCT 演算は使用できな
いこととなっている。
2. Description of the Related Art Image coding has a long history, and ITU-T
Excellent standardization proposals such as H.261, ITU-T H.263, and ISO MPEG1 / 2 have been established. The image coding method is roughly classified into a coding method using orthogonal transform, and a prediction coding method using a prediction function to code an error from a predicted value. Although the coding method using the orthogonal transform is complicated in calculation, it is possible to perform coding with better image quality than predictive coding when obtaining a coded signal with a small number of bits. DCT (Discrete Cosine Transform) is used in a general encoding method using orthogonal transform such as JPEG and MPEG. It is known that DCT can be encoded with a small number of bits, but multiplication with high bit accuracy is required, which complicates the calculation.
The problem is that reversible encoding is not possible. Therefore, the DCT operation cannot be used in the field where reversibility is required.

【0003】これに対して予測符号化は、計算が簡単で
あり、かつ、可逆な符号化も可能であるという特徴があ
る。可逆性を有する画像符号化方法としては、ファクシ
ミリで使用されているMMR(Modified Modified Read)
が有名である。これは、CCITTRec.T6 "Facsimilie Codi
ng Schemes and Coding Control Functions for Group
4 Facsimile Apparatus"で使用されているものであっ
て、符号化済みの直前の走査線の画素値の変化点と未符
号化走査線の画素値の変化点との水平方向の差分値を可
変長符号化する手法である。また、このMMRを更に改良
したMMMR(Modified MMR)は、MPEG4の評価モデルとし
て採用されている(ISO/IEC JTC/SC29/WG11N1277, July
1996)。
[0003] On the other hand, predictive coding is characterized in that calculations are simple and lossless coding is also possible. As an image coding method having reversibility, MMR (Modified Modified Read) used in facsimile
Is famous. This is CCITTRec.T6 "Facsimilie Codi
ng Schemes and Coding Control Functions for Group
4 Facsimile Apparatus ", which uses a variable length horizontal difference value between the pixel value change point of the immediately preceding encoded scan line and the pixel value change point of the uncoded scan line. The MMMR (Modified MMR), which is a further improvement of this MMR, is adopted as an evaluation model of MPEG4 (ISO / IEC JTC / SC29 / WG11N1277, July
1996).

【0004】一方、画像信号を各物体毎に分離し、分離
した各物体の形状を任意形状として画像信号を扱えば、
物体単位で画像を操作したり合成することができ、効率
的な信号伝送につながることとなる。また、ビット数の
制約を受ける用途には、かかる情報を用いることによっ
て、重要な物体を選択的に優先して伝送・記録すること
も可能となる。しかし従来の技術においては、任意の形
状を有する物体を符号化することは考慮されてはいなか
った。そして、ISO MPEG4 で任意の形状を有する画像信
号の符号化の標準化が進みつつある。MPEG4では現在VM
3.0(ISO/IEC JTC1/SC29/WG11 N1277に記載)と呼ばれ
る評価モデルが作成されており、これが任意形状を有す
る画像信号を符号化することができる、現状で知られる
唯一の画像符号化手法となっている。
On the other hand, if the image signal is separated for each object and the shape of each separated object is handled as an arbitrary shape, and the image signal is handled,
Images can be manipulated or synthesized on a per-object basis, leading to efficient signal transmission. Also, in applications where the number of bits is restricted, by using such information, it becomes possible to selectively transmit and record important objects with priority. However, in the related art, encoding of an object having an arbitrary shape has not been considered. Then, standardization of encoding of an image signal having an arbitrary shape in ISO MPEG4 is progressing. MPEG4 now VM
An evaluation model called 3.0 (described in ISO / IEC JTC1 / SC29 / WG11 N1277) has been created, which is the only image encoding method known at present that can encode image signals having arbitrary shapes. Has become.

【0005】任意形状の画像信号は、一般に、物体の形
状を示す形状情報と、物体内部の各画素値である画素値
情報(カラー情報)とから構成される。そして、形状情
報としては、各画素値が有意である(形状内部である)
か有意でない(形状外部である)かを示す2値形状情報
や、他の画像と合成する際の各画素ごとの比率(物体が
背景を隠蔽する比率)である透過度情報を用いることが
できる。また、透過度が0%と100%の2通りしか存在しな
い場合は形状情報と透過度情報は一致するので、2値形
状情報と画素値情報の2つで任意形状の画像信号を表現
できる。
[0005] An image signal of an arbitrary shape generally includes shape information indicating the shape of an object and pixel value information (color information), which is a pixel value inside the object. As the shape information, each pixel value is significant (inside the shape)
Binary shape information indicating whether the image is insignificant (outside the shape) or transparency information indicating a ratio of each pixel (a ratio at which the object obscures the background) when combined with another image can be used. . When there are only two types of transparency, 0% and 100%, the shape information and the transparency information match, so that an image signal of an arbitrary shape can be expressed by two pieces of binary shape information and pixel value information.

【0006】図53はこれらの情報を説明するための図
である。図53(a)に示す魚の画像を他の画像と合成す
る際に、この画像の各画素をどのような比率として用い
て合成するかを表すのが透過度情報である。図53(a)
中に点線で示す水平走査線方向の透過度情報の値を図5
3(b)に示す。魚の外部は完全に透過である。ここで
は、便宜的に透過度0を完全透過であると定義するの
で、魚の外部では透過度情報の値は0になり、これに対
して魚の内部は非0の値となる。
FIG. 53 is a diagram for explaining such information. When synthesizing the image of the fish shown in FIG. 53 (a) with another image, the transparency information indicates what ratio is used by using each pixel of the image. FIG. 53 (a)
The values of the transmittance information in the horizontal scanning line direction indicated by dotted lines in FIG.
This is shown in FIG. The outside of the fish is completely transparent. Here, for convenience, transparency 0 is defined as completely transparent, so that the value of the transparency information outside the fish is 0, whereas the value inside the fish is non-zero.

【0007】そこで、透過度が0と非0の2通りとし
て、透過度情報を2値化したものが図53(c)である。
図53(c)で非0の透過度となる画素は画素値情報の符
号化が必要であるが、透過度0の画素は画素値情報が不
要であるから、画素値情報符号化にとってこの2値化さ
れた透過度情報は非常に重要である。一方、図53(d)
に示すように2値情報で表現できない透過度情報の成分
はグレー・スケールと呼ばれる多値情報であり、このよ
うに多値情報として表現される形状情報は、画素値情報
と同様の波形符号化が行える。
[0007] FIG. 53 (c) shows that the transparency information is binarized assuming that the transparency is two types of 0 and non-zero.
In FIG. 53 (c), a pixel having a non-zero transparency requires encoding of pixel value information, but a pixel having a transparency of 0 does not require pixel value information. The quantified transparency information is very important. On the other hand, FIG.
The component of the transparency information that cannot be represented by binary information is multi-valued information called gray scale, and the shape information represented as multi-valued information has the same waveform coding Can be performed.

【0008】画像符号化に際しては、空間的相関性に基
づく画面(フレーム)内符号化と、時間的相関性に基づ
く画面間(フレーム)符号化とを使い分けたり、併用し
たりすることが行われる。このうち画面間符号化を行う
場合には、近接する画面における動きを検出し、その動
きの分を動き補償することが行われる。動き補償には一
般的に動きベクトルが用いられる。前述のVM3.0 では、
画面内符号化と画面間符号化をブロック単位で適応的に
切り替え、MPEG1/2 と同様の動き補償を行って符号化効
率を向上を図っている。
In image coding, intra-screen (frame) coding based on spatial correlation and inter-screen (frame) coding based on temporal correlation are selectively used or used together. . When performing inter-picture coding, a motion in an adjacent picture is detected, and the motion is compensated for the motion. Generally, a motion vector is used for motion compensation. In VM3.0 mentioned above,
Intra-screen coding and inter-screen coding are adaptively switched in block units, and motion compensation similar to MPEG1 / 2 is performed to improve coding efficiency.

【0009】上記のように、形状情報と画素値情報とか
らなる画像を符号化する場合、画像の合成に使用される
形状情報については、画素値情報の動きベクトルを使用
して形状情報の動き補償符号化を行うと、形状情報を直
接符号化するよりも符号化効率が向上することが、 ISO
/IEC JTC1/SC29/WG11 N1260 March 1996で報告されてい
る。また、動き検出・動き補償を行う際には、形状情報
を2値形状情報の成分と、多値情報成分とに分離し、多
値情報成分は画素値情報とまとめて同じ波形符号化をす
ることが効率的であると考えられ、そのように扱われて
いた。
As described above, when an image composed of shape information and pixel value information is encoded, the shape information used for synthesizing the image is calculated using the motion vector of the pixel value information. Compensation coding can improve the coding efficiency compared to coding shape information directly.
/ IEC Reported in JTC1 / SC29 / WG11 N1260 March 1996. When performing motion detection and motion compensation, the shape information is separated into a binary shape information component and a multi-value information component, and the same waveform encoding is performed on the multi-value information component together with the pixel value information. Was considered efficient and was treated as such.

【0010】[0010]

【発明が解決しようとする課題】以上のような、従来の
技術による画像符号化、及びそれにともなう画像復号化
においては、次のような問題点が存在した。上述のよう
に、MMR 符号化は可逆(ロスレス)符号化の代表的なも
のであるが、可逆的であるがゆえに、視覚的に重要でな
い画質劣化を許容することによって圧縮率を大幅に向上
することが不可能である。また、MMR は画面内の符号化
手法であり、画面間の相関を利用した圧縮率の向上は考
慮されていない。そして、MMR およびその改良方法であ
るMMMRにおいては、現走査線の変化点と直前の走査線の
変化点との差分しか利用しておらず、垂直方向の直線と
してのつながり(相関)の冗長が十分除去されていな
い。従って、画素値の変化が走査線に沿っている場合は
符号化効率がよいが走査線に沿っていない場合は符号化
効率が悪くなる。また、MMR やMMMRは直前の走査線の変
化点の差分値としては符号化できない画素を符号化する
ために、垂直方向の相関を全く使用しない水平符号化モ
ードを有している。この水平符号化モードも垂直方向の
相関を利用することにより、更に効率向上の余地があ
る。
As described above, the following problems exist in the conventional image coding and the accompanying image decoding. As described above, MMR coding is a typical example of lossless (lossless) coding. However, since it is lossless, the compression rate is greatly improved by allowing visually insignificant image quality deterioration. It is impossible. Also, MMR is an intra-screen encoding technique, and does not consider the improvement of the compression ratio using correlation between screens. The MMR and the improved method MMMR use only the difference between the change point of the current scan line and the change point of the immediately preceding scan line, and the connection (correlation) as a straight line in the vertical direction is redundant. Not sufficiently removed. Therefore, when the change in pixel value is along the scanning line, the coding efficiency is high, but when the change is not along the scanning line, the coding efficiency is low. Also, MMR and MMMR have a horizontal encoding mode that does not use any vertical correlation in order to encode pixels that cannot be encoded as a difference value of a change point of the immediately preceding scan line. This horizontal coding mode also has room for further improvement in efficiency by utilizing the correlation in the vertical direction.

【0011】さらに、従来のMMR やMMMRでは、一部のビ
ットストリームを復号化することによって階層的に画像
を再生することができず、また階層的な画像再生が可能
な他の手法では符号化効率が良くなく、符号化ビット数
が増加する欠点があり、効果的な階層的画像再生を可能
とする符号化方法は存在しなかった。また、形状情報と
画像情報とからなる画像を動き補償により符号化する場
合、従来は形状情報に対して、画像情報と同じ動きベク
トルを用いて動き補償をしていたが、例えば球体が回転
する場合に、形状は変化しないが球体に描かれた図形は
移動するように、一般には画像情報の動きベクトルと形
状情報の動きベクトルとは一致しない。従ってかかる場
合に良好な符号化を行えないことが、従来の符号化方法
の問題点であった。
Furthermore, in the conventional MMR or MMMR, it is not possible to reproduce an image hierarchically by decoding a part of a bit stream, and encoding is performed by another method capable of hierarchical image reproduction. There is a drawback that the efficiency is low and the number of coded bits increases, and there is no coding method that enables effective hierarchical image reproduction. Further, when an image composed of shape information and image information is encoded by motion compensation, conventionally, motion compensation was performed on the shape information using the same motion vector as the image information. In such a case, the motion vector of the image information and the motion vector of the shape information generally do not coincide with each other so that the figure drawn on the sphere moves while the shape does not change. Therefore, it is a problem of the conventional encoding method that good encoding cannot be performed in such a case.

【0012】また、前述のようにVM3.0 では、画面内符
号化と画面間符号化をブロック単位で適応的に切り替え
て符号化効率の向上を図るものであるが、画面内/画面
間符号化に対する判定は、MPEG1/2 における適応的切替
の場合と同様に、画素値情報に基づいて決定しており、
画素値情報と性質が大きく異なる形状情報を適切にかつ
効率よく符号化することは困難であった。本発明はかか
る点に鑑みてなされたものであり、画像信号を効率よく
符号化することが可能である画像符号化装置、及び上記
効率的に符号化された符号化信号を適切に復号化するこ
との可能な画像復号化装置を提供することを目的とす
る。
As described above, in VM3.0, the coding efficiency is improved by adaptively switching between intra-frame coding and inter-frame coding in block units. Judgment for image conversion is determined based on pixel value information, as in the case of adaptive switching in MPEG1 / 2.
It has been difficult to properly and efficiently encode shape information having a property greatly different from that of pixel value information. The present invention has been made in view of such a point, and an image encoding apparatus capable of efficiently encoding an image signal, and appropriately decoding the efficiently encoded signal. It is an object of the present invention to provide an image decoding device capable of performing such operations.

【0013】[0013]

【課題を解決するための手段】本発明(請求項1)に係
る画像符号化装置は、2値画像信号を入力信号とし、上
記入力信号の画素値が変化する画素を符号化する画像符
号化装置であって、上記画素値の変化する画素を検出
し、上記検出した変化画素を検出変化画素として出力す
る変化画素検出手段と、符号化および復号化済みの画素
の画素値の変化する画素に基づいて、上記入力信号の変
化画素を予測し、上記予測した画素を予測画素として出
力する予測手段と、上記検出変化画素と、上記予測変化
画素とから、両者の差分を計算し、差分値Dを出力する
差分値計算手段と、予め設定された許容値と、上記差分
値Dとに基づいて定められる範囲内の値であって、か
つ、符号化した際の符号長が最小となる値であるD’を
選択して、これを修正差分値として出力する丸め手段
と、上記修正差分値D’と、上記予測した変化画素とか
ら2値画像信号を復号化する復号化手段と、上記修正差
分値D’を符号化する符号化手段とを備えたものであ
る。
An image encoding apparatus according to the present invention (claim 1) uses a binary image signal as an input signal and encodes a pixel whose pixel value changes in the input signal. An apparatus, wherein a changed pixel detecting means for detecting a pixel whose pixel value changes, and outputting the detected changed pixel as a detected changed pixel, and a pixel whose pixel value of an encoded and decoded pixel changes. A prediction unit that predicts a change pixel of the input signal and outputs the predicted pixel as a prediction pixel; a difference between the detected change pixel and the prediction change pixel; And a value within a range determined based on the preset allowable value and the difference value D, and a value that minimizes the code length when encoded. Select some D 'and correct this A rounding means for outputting a binary value, a decoding means for decoding a binary image signal from the corrected difference value D 'and the predicted changed pixel, and an encoding means for coding the corrected difference value D' It is provided with.

【0014】本発明(請求項2)に係る画像符号化装置
は、2値画像信号を入力信号とし、上記入力信号の画素
値が変化する画素を符号化する画像符号化装置であっ
て、上記画素値の変化する画素を検出し、上記検出した
変化画素を検出変化画素として出力する変化画素検出手
段と、当該フレームにおける符号化および復号化済みの
画素の、画素値の変化する画素に基づいて、上記入力信
号の変化画素を予測し、上記予測した画素を第1の予測
画素として出力する第1の予測手段と、上記検出変化画
素と上記第1の予測画素との差分を計算し、上記計算し
た差分を第1の差分値Dとして出力する第1の差分値計
算手段と、参照フレームにおける符号化および復号化済
みの画素の、画素値の変化する画素に基づき、動き補償
を伴って、上記入力信号の変化画素を予測し、上記予測
した画素を第2の予測画素として出力する第2の予測手
段と、上記検出変化画素と上記第2の予測画素との差分
を計算し、上記計算した差分を第2の差分値D”として
出力する第2の差分値計算手段と、上記第1の差分値D
と第2の上記差分値D”とに対して、それぞれを符号化
した場合の符号長を計算し、その計算結果を比較して符
号長が短い方を選択し、上記選択に対応して「第1」又
は「第2」のいずれかを符号化モードとして出力するモ
ード選択手段と、上記選択した第1の差分値D、又は第
2の差分値D”と、上記モード選択手段が出力する符号
化モードとを符号化する符号化手段とを備えたものであ
る。
An image encoding apparatus according to the present invention (claim 2) is an image encoding apparatus which receives a binary image signal as an input signal and encodes a pixel whose pixel value of the input signal changes. A pixel change means for detecting a pixel whose pixel value changes, and outputting the detected change pixel as a detected change pixel, based on the pixel whose pixel value changes, of the encoded and decoded pixels in the frame. A first predictor for predicting a changed pixel of the input signal and outputting the predicted pixel as a first predicted pixel; calculating a difference between the detected changed pixel and the first predicted pixel; A first difference value calculating unit that outputs the calculated difference as a first difference value D, and, based on a pixel whose pixel value changes, of the coded and decoded pixels in the reference frame, with motion compensation, Input above A second prediction means for predicting a changed pixel of the signal and outputting the predicted pixel as a second predicted pixel, calculating a difference between the detected changed pixel and the second predicted pixel, and calculating the calculated difference Is output as a second difference value D ″, and the first difference value D
And the second difference value D ″, calculate the code length when each is encoded, compare the calculation results and select the one with the shorter code length. A mode selecting means for outputting either the "first" or "second" as the encoding mode, the selected first differential value D or the second differential value D ", and the mode selecting means outputting Encoding means for encoding the encoding mode.

【0015】本発明(請求項3)に係る画像符号化装置
は、2次元2値画像信号を入力信号とし、上記入力信号
の画素値が変化する画素を符号化する画像符号化装置で
あって、上記画素値の変化する画素を検出し、上記検出
した変化画素を検出変化画素として出力する変化画素検
出手段と、当該画像信号を水平方向に走査することによ
って、符号化および復号化済みの画素の画素値の変化す
る画素に基づいて、上記入力信号の変化画素を予測し、
上記予測した画素を第1の予測画素として出力する第1
の予測手段と、上記検出変化画素と上記第1の予測画素
との差分を計算し、上記計算した差分を第1の差分値D
として出力する第1の差分値計算手段と、当該画像信号
を垂直方向に走査することによって、符号化および復号
化済みの画素の画素値の変化する画素に基づいて、上記
入力信号の変化画素を予測し、上記予測した画素を第2
の予測画素として出力する第2の予測手段と、上記検出
変化画素と、上記第2の予測画素の差分を計算し、上記
計算した差分を第2の差分値D"として出力する第2の
差分値計算手段と、上記第1の差分値Dと第2の上記差
分値D”とに対して、それぞれを符号化した場合の符号
長を計算し、その計算結果を比較して符号長が短い方を
選択し、上記選択に対応して「第1」又は「第2」のい
ずれかを符号化モードとして出力するモード選択手段
と、上記選択した第1の差分値D、又は第2の差分値
D”と、上記モード選択手段が出力する符号化モードと
を符号化する符号化手段とを備えたものである。
An image coding apparatus according to the present invention (claim 3) is an image coding apparatus which receives a two-dimensional binary image signal as an input signal and codes pixels whose pixel values of the input signal change. A changed pixel detecting means for detecting a pixel whose pixel value changes, and outputting the detected changed pixel as a detected changed pixel; and scanning the image signal in the horizontal direction, thereby encoding and decoding the pixels. Based on the pixel of which the pixel value changes, predict the change pixel of the input signal,
A first outputting the predicted pixel as a first predicted pixel
And a difference between the detected changed pixel and the first predicted pixel, and calculates the calculated difference as a first difference value D
A first difference value calculating unit that outputs a pixel value of the input signal based on a pixel of which the pixel value of the coded and decoded pixel changes by scanning the image signal in the vertical direction. And predicting the predicted pixel as a second
A second prediction means that outputs the predicted pixel as a predicted pixel, a second difference that calculates a difference between the detected change pixel and the second predicted pixel, and outputs the calculated difference as a second difference value D ″ Value calculating means, calculating a code length when each of the first difference value D and the second difference value D ″ is coded, and comparing the calculation results to shorten the code length. And a mode selecting means for outputting either “first” or “second” as the encoding mode in response to the selection, and the selected first difference value D or second difference Encoding means for encoding the value D "and the encoding mode output by the mode selecting means.

【0016】本発明(請求項4)に係る画像符号化装置
は、多値画像信号を入力信号とし、上記入力信号の画素
値が変化する画素を符号化する画像符号化装置であっ
て、上記画素値が所定値以上に変化する画素を検出し、
上記検出した画素を検出変化画素として出力する変化画
素検出手段と、符号化および復号化済みの画素の画素値
の変化する画素に基づいて、上記入力信号の変化画素を
予測し、上記予測した画素を予測画素として出力する予
測手段と、上記検出変化画素と上記予測画素との差分を
計算し、上記計算した差分を差分値Dとして出力する差
分値計算手段と、上記差分値Dと、上記検出変化画素の
画素値とを符号化する符号化手段と、上記差分値Dと上
記変化画素の画素値とから、多値画像信号を復号化する
復号化手段とを備えたものである。
An image encoding apparatus according to the present invention (claim 4) is an image encoding apparatus which receives a multivalued image signal as an input signal and encodes a pixel whose pixel value of the input signal changes. Detecting a pixel whose pixel value changes to a predetermined value or more,
A changed pixel detecting unit that outputs the detected pixel as a detected changed pixel, and predicts a changed pixel of the input signal based on a pixel having a changed pixel value of the coded and decoded pixel. , A difference value calculating means for calculating a difference between the detected change pixel and the predicted pixel, and outputting the calculated difference as a difference value D. An encoding unit for encoding the pixel value of the changed pixel, and a decoding unit for decoding a multi-valued image signal from the difference value D and the pixel value of the changed pixel.

【0017】本発明(請求項5)に係る画像符号化装置
は、画像を合成する際の比率を示す透過度信号と、画素
値信号とからなる画像信号を入力信号とし、参照画像を
参照して前記入力信号を符号化する画像符号化装置であ
って、上記入力信号の画素値信号と、上記参照画像の画
素値信号とを比較して、画素値信号の動きベクトルを検
出する第1の動きベクトル検出手段と、上記参照画像の
画素値信号を、上記画素値信号の動きベクトルを用いて
動き補償し、補償画素値信号を出力する第1の動き補償
手段と、上記入力信号の画素値信号と、上記補償画素値
信号とから、両者の差分を計算し、第1の差分値を出力
する第1の差分値計算手段と、上記第1の差分値を符号
化する第1の符号化手段と、上記入力信号の透過度信号
と、上記参照画像の透過度信号とを比較して、透過度信
号の動きベクトルを検出する第2の動きベクトル検出手
段と、上記参照画像の透過度信号を、上記透過度信号の
動きベクトルを用いて動き補償し、補償透過度信号を出
力する第2の動き補償手段と、上記入力信号の透過度信
号と、上記補償透過度信号とから、両者の差分値を計算
し、第2の差分値を出力する第2の差分値計算手段と、
上記第2の差分値を符号化する第2の符号化手段と、上
記画素値信号の動きベクトルと、上記透過度信号の動き
ベクトルとを符号化する第3の符号化手段を備えたもの
である。
The image coding apparatus according to the present invention (claim 5) uses an image signal consisting of a transmittance signal indicating a ratio at the time of combining images and a pixel value signal as an input signal, and refers to a reference image. An image encoding apparatus that encodes the input signal by comparing a pixel value signal of the input signal with a pixel value signal of the reference image to detect a motion vector of the pixel value signal. Motion vector detecting means, first motion compensating means for performing motion compensation on the pixel value signal of the reference image using the motion vector of the pixel value signal, and outputting a compensated pixel value signal, and pixel value of the input signal First difference value calculating means for calculating a difference between the signal and the compensated pixel value signal and outputting a first difference value; and a first encoding means for encoding the first difference value Means, a transparency signal of the input signal, and the reference image A second motion vector detecting unit that compares the transparency signal with the transparency signal to detect a motion vector of the transparency signal, and performs motion compensation on the transparency signal of the reference image using the motion vector of the transparency signal; A second motion compensating means for outputting a compensation transmittance signal; a second value for calculating a difference value between the two from the transmittance signal of the input signal and the compensation transmittance signal; and outputting a second difference value. Means for calculating the difference value of
A second encoding unit that encodes the second difference value; and a third encoding unit that encodes a motion vector of the pixel value signal and a motion vector of the transparency signal. is there.

【0018】本発明(請求項6)に係る画像符号化装置
は、請求項5に記載の画像符号化装置において、上記第
2の動きベクトル検出手段は、上記第1の動きベクトル
検出手段で検出した動きベクトルの近傍において、上記
入力信号の透過度信号と上記参照画像の透過度信号とを
比較して、透過度信号の動きベクトルを検出するものと
したものである。
According to a sixth aspect of the present invention, in the image encoding apparatus according to the fifth aspect, the second motion vector detecting means is detected by the first motion vector detecting means. The motion vector of the transmittance signal is detected by comparing the transmittance signal of the input signal and the transmittance signal of the reference image near the motion vector.

【0019】本発明(請求項7)に係る画像符号化装置
は、請求項5に記載の画像符号化装置において、上記第
1の動きベクトル検出手段は、上記第2の動きベクトル
検出手段で検出した動きベクトルの近傍において、上記
入力信号の画素値信号と上記参照画像の画素値信号とを
比較して、画素値信号の動きベクトルを検出するものと
したものである。
According to a seventh aspect of the present invention, in the image encoding apparatus according to the fifth aspect, the first motion vector detecting means is detected by the second motion vector detecting means. In the vicinity of the motion vector, the pixel value signal of the input signal is compared with the pixel value signal of the reference image to detect a motion vector of the pixel value signal.

【0020】本発明(請求項8)に係る画像符号化装置
は、請求項5に記載の画像符号化装置において、上記第
3の符号化手段は、上記画素値信号の動きベクトルと、
上記透過度信号の動きベクトルと上記画素値信号の動き
ベクトルとの差分値とを符号化するものとしたものであ
る。
[0020] In the image encoding apparatus according to the present invention (claim 8), in the image encoding apparatus according to claim 5, the third encoding means includes: a motion vector of the pixel value signal;
A difference value between the motion vector of the transmittance signal and the motion vector of the pixel value signal is encoded.

【0021】本発明(請求項9)に係る画像符号化装置
は、請求項5に記載の画像符号化装置において、上記第
3の符号化手段は、上記透過度信号の動きベクトルと、
上記透過度信号の動きベクトルと上記画素値信号の動き
ベクトルとの差分値とを符号化するものとしたものであ
る。
According to a ninth aspect of the present invention, in the image encoding apparatus of the fifth aspect, the third encoding means includes a motion vector of the transparency signal,
A difference value between the motion vector of the transmittance signal and the motion vector of the pixel value signal is encoded.

【0022】本発明(請求項10)に係る画像符号化装
置は、物体の形状および各画素の画素値が有意であるか
どうかをを示す形状信号と、画素値信号とからなる、ブ
ロック化された形状つき画像信号を入力信号とし、参照
画像を参照して上記入力信号を符号化する画像符号化装
置であって、上記入力信号の画素値信号と、上記参照画
像の画素値信号とを比較して、画素値信号の動きベクト
ルを検出する第1の動きベクトル検出手段と、上記参照
画像の画素値信号を、上記画素値信号の動きベクトルを
用いて動き補償し、補償画素値信号を出力する第1の動
き補償手段と、上記入力信号の画素値信号と、上記補償
画素値信号とから、両者の差分を計算し、第1の差分値
を出力する第1の差分値計算手段と、上記第1の差分値
を符号化する第1の符号化手段と、上記入力信号の形状
信号と、上記参照画像の形状信号とを比較して、形状信
号の動きベクトルを検出する第2の動きベクトル検出手
段と、上記参照画像の形状信号を、上記形状信号の動き
ベクトルを用いて動き補償し、補償形状信号を出力する
第2の動き補償手段と、上記入力信号の形状信号と、上
記補償形状信号とから、両者の差分値を計算し、第2の
差分値を出力する第2の差分値計算手段と、上記第2の
差分値を符号化する第2の符号化手段と、上記画素値信
号の動きベクトルと、上記形状信号の動きベクトルとを
符号化する第3の符号化手段を備えたものである。
An image coding apparatus according to the present invention (claim 10) is a block-shaped image signal comprising a shape signal indicating whether the shape of an object and a pixel value of each pixel is significant, and a pixel value signal. An image encoding apparatus that encodes the input signal with reference to a reference image, using the image signal having the shape as an input signal, and comparing a pixel value signal of the input signal with a pixel value signal of the reference image. A first motion vector detecting means for detecting a motion vector of the pixel value signal; and a motion compensation of the pixel value signal of the reference image using the motion vector of the pixel value signal, and outputting a compensated pixel value signal. First motion compensating means, a first difference value calculating means for calculating a difference between the two from the pixel value signal of the input signal and the compensated pixel value signal, and outputting a first difference value; A first encoding of the first difference value Encoding means, a shape signal of the input signal, and a shape signal of the reference image, a second motion vector detection means for detecting a motion vector of the shape signal, and a shape signal of the reference image, From the second motion compensating means for performing motion compensation using the motion vector of the shape signal and outputting a compensation shape signal, the shape signal of the input signal, and the compensation shape signal, a difference value between the two is calculated, Second difference value calculating means for outputting a second difference value, second coding means for coding the second difference value, a motion vector of the pixel value signal, and a motion vector of the shape signal And a third encoding means for encoding

【0023】本発明(請求項11)に係る画像符号化装
置は、請求項10に記載の画像符号化装置において、上
記第2の動きベクトル検出手段は、上記第1の動きベク
トル検出手段で検出した動きベクトルの近傍において、
上記入力信号の形状信号と上記参照画像の形状信号とを
比較して、形状信号の動きベクトルを検出するものとし
たものである。
[0023] In the image encoding apparatus according to the present invention (claim 11), in the image encoding apparatus according to claim 10, the second motion vector detecting means is detected by the first motion vector detecting means. In the vicinity of the calculated motion vector,
The shape signal of the input signal is compared with the shape signal of the reference image to detect a motion vector of the shape signal.

【0024】本発明(請求項12)に係る画像符号化装
置は、請求項10に記載の画像符号化装置において、上
記第1の動きベクトル検出手段は、上記第2の動きベク
トル検出手段で検出した動きベクトルの近傍において、
上記入力信号の画素値信号と上記参照画像の画素値信号
とを比較して、画素値信号の動きベクトルを検出するも
のとしたものである。
According to a twelfth aspect of the present invention, in the image encoding apparatus according to the tenth aspect, the first motion vector detecting means is detected by the second motion vector detecting means. In the vicinity of the calculated motion vector,
The pixel value signal of the input signal is compared with the pixel value signal of the reference image to detect a motion vector of the pixel value signal.

【0025】本発明(請求項13)に係る画像符号化装
置は、請求項10に記載の画像符号化装置において、上
記第3の符号化手段は、上記画素値信号の動きベクトル
と、上記形状信号の動きベクトルと上記画素値信号の動
きベクトルとの差分値とを符号化するものとしたもので
ある。
According to a thirteenth aspect of the present invention, in the image encoding apparatus according to the tenth aspect, the third encoding means includes a motion vector of the pixel value signal and the shape vector. It encodes a difference value between the motion vector of the signal and the motion vector of the pixel value signal.

【0026】本発明(請求項14)に係る画像符号化装
置は、請求項10に記載の画像符号化装置において、上
記第3の符号化手段は、上記形状信号の動きベクトル
と、上記形状信号の動きベクトルと上記画素値信号の動
きベクトルとの差分値とを符号化するものとしたもので
ある。
According to a fourteenth aspect of the present invention, in the image encoding apparatus according to the tenth aspect, the third encoding means includes a motion vector of the shape signal and the shape signal. And a difference value between the motion vector of the pixel value signal and the motion vector of the pixel value signal.

【0027】本発明(請求項15)に係る画像符号化装
置は、請求項10に記載の画像符号化装置において、上
記入力信号の形状信号が画素値が全て有意であることを
示すものであり、かつ、上記第1の動きベクトル検出手
段で検出した画素値信号の動きベクトルを用いて、参照
画像の形状信号を動き補償した補償形状信号が、画素値
が全て有意であることを示すものである場合、又は上記
入力信号の形状信号が画素値が全て有意でないことを示
すものであり、かつ、上記第1の動きベクトル検出手段
で検出した画素値信号の動きベクトルを用いて、参照画
像の形状信号を動き補償した補償形状信号が、画素値が
全て有意でないことを示すものである場合、上記第2の
ベクトル検出手段は形状信号の動きベクトルの検出を行
わず、上記第1のベクトル検出手段において検出した画
素値信号の動きベクトルをもって、上記形状信号の動き
ベクトルとするものとしたものである。
[0027] In the image coding apparatus according to the present invention (claim 15), in the image coding apparatus according to claim 10, the shape signal of the input signal indicates that all pixel values are significant. The compensation shape signal obtained by motion-compensating the shape signal of the reference image using the motion vector of the pixel value signal detected by the first motion vector detection means indicates that all pixel values are significant. In some cases, or the shape signal of the input signal indicates that the pixel values are not all significant, and the motion vector of the pixel value signal detected by the first motion vector detection means is used to generate the reference image. If the compensated shape signal obtained by motion-compensating the shape signal indicates that all pixel values are not significant, the second vector detecting means does not detect a motion vector of the shape signal, and With motion vector of the detected pixel value signal in the vector detecting means, in which it is assumed that the motion vector of the shape signal.

【0028】本発明(請求項16)に係る画像符号化装
置は、請求項10に記載の画像符号化装置において、上
記第1の動きベクトル検出手段で検出した画素値信号の
動きベクトルを用いて、参照画像の形状信号を動き補償
した補償形状信号を、上記入力信号の形状信号と比較
し、比較結果の差が予め設定された許容値を下回る場合
に、上記第1のベクトル検出手段は画素値信号の動きベ
クトルの検出を行わず、上記第2のベクトル検出手段に
おいて検出した形状信号の動きベクトルをもって、上記
画素値信号の動きベクトルとするものとしたものであ
る。
[0028] An image coding apparatus according to the present invention (claim 16) is the image coding apparatus according to claim 10, wherein the motion vector of the pixel value signal detected by the first motion vector detecting means is used. Comparing the compensated shape signal obtained by motion-compensating the shape signal of the reference image with the shape signal of the input signal, and when the difference of the comparison result is smaller than a preset allowable value, the first vector detecting means No motion vector of the value signal is detected, and the motion vector of the shape signal detected by the second vector detection means is used as the motion vector of the pixel value signal.

【0029】本発明(請求項17)に係る画像符号化装
置は、請求項10に記載の画像符号化装置において、上
記第3の符号化手段は、直前に符号化した入力信号にお
いて、該入力信号の形状信号の動きベクトルが符号化さ
れていた場合、当該直前に符号化した形状信号の動きベ
クトルと、入力信号より検出した形状信号の動きベクト
ルとの差分値を符号化するものとしたものである。
[0029] In an image encoding apparatus according to the present invention (claim 17), in the image encoding apparatus according to claim 10, the third encoding means outputs the input signal in the immediately preceding input signal. When the motion vector of the shape signal of the signal is coded, the difference value between the motion vector of the shape signal coded immediately before and the motion vector of the shape signal detected from the input signal is coded. It is.

【0030】本発明(請求項18)に係る画像符号化装
置は、請求項10に記載の画像符号化装置において、上
記第3の符号化手段は、直前に符号化した入力信号にお
いて、該入力信号の画素値信号の動きベクトルが符号化
されていた場合、当該直前に符号化した画素値信号の動
きベクトルと、入力信号より検出した画素値信号の動き
ベクトルとの差分値を符号化するものとしたものであ
る。
[0030] In the image encoding apparatus according to the present invention (claim 18), in the image encoding apparatus according to claim 10, the third encoding means outputs the input signal in the immediately preceding input signal. When the motion vector of the pixel value signal of the signal has been encoded, encodes a difference value between the motion vector of the immediately preceding pixel value signal and the motion vector of the pixel value signal detected from the input signal. It is what it was.

【0031】本発明(請求項19)に係る画像符号化装
置は、請求項10ないし18のいずれかに記載の画像符
号化装置において、上記入力信号が、複数の画像を合成
するための合成の比率を示す情報を含む透過度情報と、
画像情報とから構成されるものである場合に、上記透過
度情報を上記形状信号とし、上記画像情報を上記画素値
信号とするものとしたものである。
[0031] In the image encoding apparatus according to the present invention (claim 19), in the image encoding apparatus according to any one of claims 10 to 18, the input signal is a composite signal for synthesizing a plurality of images. Transparency information including information indicating a ratio;
When the image information is composed of image information, the transparency information is the shape signal, and the image information is the pixel value signal.

【0032】本発明(請求項20)に係る画像符号化装
置は、請求項10ないし18のいずれかに記載の画像符
号化装置において、上記入力信号が、複数の画像を合成
するための合成の比率を示す情報を含む透過度情報と、
画像情報とから構成されるものである場合に、上記透過
度情報を、形状のみを表わす2値信号と、その他の信号
である残余形状信号とに分離し、上記分離した2値信号
を上記形状信号とし、上記分離した残余形状信号と、上
記画像情報とを上記画素値信号とするものとしたもので
ある。
[0032] In the image encoding apparatus according to the present invention (claim 20), in the image encoding apparatus according to any one of claims 10 to 18, the input signal may be a synthesizing signal for synthesizing a plurality of images. Transparency information including information indicating a ratio;
In the case of being composed of image information, the transparency information is separated into a binary signal representing only a shape and a residual shape signal which is another signal, and the separated binary signal is converted into the shape signal. A signal, wherein the separated residual shape signal and the image information are used as the pixel value signal.

【0033】本発明(請求項21)に係る画像符号化装
置は、物体の各画素の画素値が有意であるかどうかを表
す形状情報と、物体の画素毎の合成の比率を表す透過度
情報の少なくとも一方と、画素値情報とから構成される
画像信号を入力画像信号とする画像符号化装置であっ
て、上記入力画像信号に対して、空間および時間的に一
致する画素を1つのグループとして統合し、ブロック化
された情報として出力するブロック化手段と、上記ブロ
ック化手段によりブロック化された上記形状情報、上記
透過度情報、および上記画素値情報のそれぞれに対し
て、所定の符号化モードの中から符号化モードを選択
し、上記選択した符号化モードにおいてそれぞれを符号
化する第1の符号化手段と、上記形状情報、上記透過度
情報、および上記画素値情報のそれぞれについての、上
記選択したモードを示すモード識別情報を、まとめて符
号化する第2の符号化手段とを備え、上記第1の符号化
手段出力と、上記第2の符号化手段出力とを符号化出力
とするものである。
The image coding apparatus according to the present invention (claim 21) is characterized in that shape information indicating whether the pixel value of each pixel of the object is significant, and transparency information indicating the combination ratio of each pixel of the object. And an image signal comprising an image signal composed of at least one of the pixel value information and the pixel value information as an input image signal, wherein pixels that spatially and temporally match the input image signal as one group. Blocking means for integrating and outputting the information as blocked information, and a predetermined encoding mode for each of the shape information, the transparency information, and the pixel value information blocked by the blocking means. A first encoding unit that selects an encoding mode from among the encoding modes, and encodes each of the encoding modes in the selected encoding mode. Second encoding means for collectively encoding the mode identification information indicating the selected mode for each of the reports, wherein the output of the first encoding means and the output of the second encoding means are provided. Are encoded outputs.

【0034】本発明(請求項22)に係る画像符号化装
置は、物体の各画素の画素値が有意であるかどうかを表
す形状情報と、物体の画素毎の合成の比率を表す透過度
情報の少なくとも一方と、画素値情報とから構成される
画像信号を入力画像信号とする画像符号化装置であっ
て、上記入力画像信号に対して、空間および時間的に一
致する画素を1つのグループとして統合し、ブロック化
された情報として出力するブロック化手段と、上記ブロ
ック化手段によりブロック化された上記形状情報、およ
び上記透過度情報のそれぞれに対して、所定の符号化モ
ードの中から符号化モードを選択し、上記選択した符号
化モードにおいてそれぞれを符号化する第1の符号化手
段と、上記第1の符号化手段において選択された符号化
モードのうちいずれかの符号化モードにおいて、上記ブ
ロック化手段によりブロック化された上記画素値情報を
符号化する第2の符号化手段と、上記形状情報、上記透
過度情報、および上記画素値情報のそれぞれについて
の、上記選択したモードを示すモード識別情報を、まと
めて符号化する第3の符号化手段とを備え、上記第1の
符号化手段出力、上記第2の符号化手段出力、及び上記
第3の符号化手段出力を符号化出力とするものである。
The image coding apparatus according to the present invention (claim 22) is characterized in that shape information indicating whether the pixel value of each pixel of the object is significant, and transparency information indicating the composition ratio of each pixel of the object. And an image signal comprising an image signal composed of at least one of the pixel value information and the pixel value information as an input image signal, wherein pixels that spatially and temporally match the input image signal as one group. Blocking means for integrating and outputting as blocked information, and the shape information and the transparency information blocked by the blocking means are coded from a predetermined coding mode. A first encoding unit that selects a mode and encodes each of the selected encoding modes, and one of the encoding modes selected by the first encoding unit. In the encoding mode, a second encoding unit that encodes the pixel value information blocked by the blocking unit, and each of the shape information, the transmittance information, and the pixel value information, A third encoding unit that encodes the mode identification information indicating the selected mode collectively, the first encoding unit output, the second encoding unit output, and the third code The output of the encoding means is an encoded output.

【0035】本発明(請求項23)に係る画像符号化装
置は、物体の各画素の画素値が有意であるかどうかを表
す形状情報と、物体の画素毎の合成の比率を表す透過度
情報の少なくとも一方と、画素値情報とから構成される
画像信号を入力画像信号とする画像符号化装置であっ
て、上記入力画像信号に対して、空間および時間的に一
致する画素を1つのグループとして統合し、ブロック化
された情報として出力するブロック化手段と、上記ブロ
ック化手段によりブロック化された上記画素値情報に対
して、所定の符号化モードの中から符号化モードを選択
し、上記選択した符号化モードにおいて符号化する第1
の符号化手段と、上記第1の符号化手段において選択さ
れた符号化モードにおいて、上記ブロック化手段により
ブロック化された上記形状情報情報、および上記透過度
情報を符号化する第2の符号化手段と、上記形状情報、
上記透過度情報、および上記画素値情報のそれぞれにつ
いての、上記選択したモードを示すモード識別情報を、
まとめて符号化する第3の符号化手段とを備え、上記第
1の符号化手段出力、上記第2の符号化手段出力、及び
上記第3の符号化手段出力を符号化出力とするものであ
る。
The image coding apparatus according to the present invention (claim 23) is characterized in that shape information indicating whether the pixel value of each pixel of the object is significant, and transparency information indicating the combination ratio of each pixel of the object. And an image signal comprising an image signal composed of at least one of the pixel value information and the pixel value information as an input image signal, wherein pixels that spatially and temporally match the input image signal as one group. Blocking means for integrating and outputting the information as blocked information, and for the pixel value information blocked by the blocking means, selecting an encoding mode from a predetermined encoding mode, Encoding in the encoded encoding mode
And second encoding for encoding the shape information information and the transparency information which are blocked by the blocking means in the encoding mode selected by the first encoding means. Means, the shape information,
The transparency information, and, for each of the pixel value information, mode identification information indicating the selected mode,
And third encoding means for encoding together, wherein the output of the first encoding means, the output of the second encoding means, and the output of the third encoding means are encoded outputs. is there.

【0036】本発明(請求項24)に係る画像符号化装
置は、請求項21ないし23のいずれかに記載の画像符
号化装置において、上記所定の符号化モードは、画面内
符号化、および画面間符号化であるものとしたものであ
る。
According to a twenty-fourth aspect of the present invention, in the image encoding apparatus according to any one of the twenty-first to twenty-third aspects, the predetermined encoding mode includes intra-screen encoding and screen encoding. It is assumed to be inter-coding.

【0037】本発明(請求項25)に係る画像符号化装
置は、請求項22または23に記載の画像符号化装置に
おいて、上記第2の符号化手段は、上記第1の符号化手
段において、上記選択した符号化モードが画面内符号化
であった場合に、画面内符号化を選択するものとしたも
のである。
According to a twenty-fifth aspect of the present invention, in the image coding apparatus according to the twenty-second or twenty-third aspect, the second coding means is the first coding means. When the selected encoding mode is intra-screen encoding, intra-frame encoding is selected.

【0038】本発明(請求項26)に係る画像符号化装
置は、請求項21ないし23のいずれかに記載の画像符
号化装置において、上記所定の符号化モードは、上記ブ
ロックごとの動きベクトルの個数であるものとしたもの
である。
According to a twenty-sixth aspect of the present invention, in the image encoding apparatus according to any one of the twenty-first to twenty-third aspects, the predetermined encoding mode is such that: It is assumed to be the number.

【0039】本発明(請求項27)に係る画像符号化装
置は、請求項22または23に記載の画像符号化装置に
おいて、上記第2の符号化手段は、上記第1の符号化手
段において、上記選択した符号化モードである動きベク
トルの個数を、上記符号化モードとして選択するものと
したものである。
The image encoding apparatus according to the present invention (claim 27) is the image encoding apparatus according to claim 22 or 23, wherein the second encoding means is the first encoding means. The number of motion vectors in the selected encoding mode is selected as the encoding mode.

【0040】本発明(請求項28)に係る画像符号化装
置は、請求項21ないし23のいずれかに記載の画像符
号化装置において、上記所定の符号化モードは、量子化
ステップ変更有、および量子化ステップ変更無であるも
のとしたものである。
[0040] According to an image coding apparatus of the present invention (claim 28), in the image coding apparatus of any one of claims 21 to 23, the predetermined coding mode includes a quantization step change, and It is assumed that there is no change in the quantization step.

【0041】本発明(請求項29)に係る画像符号化装
置は、請求項22または23に記載の画像符号化装置に
おいて、上記第2の符号化手段は、上記第1の符号化手
段において、上記選択した符号化モードが量子化ステッ
プ変更無であった場合に、量子化ステップ変更無を選択
するものとしたものである。
The image encoding apparatus according to the present invention (claim 29) is the image encoding apparatus according to claim 22 or 23, wherein the second encoding means is the first encoding means. When the selected encoding mode has no quantization step change, no quantization step change is selected.

【0042】本発明(請求項30)に係る画像符号化装
置は、複数の画素からなる2次元画像信号を入力して符
号化する画像符号化装置であって、上記2次元画像信号
に対して、所定の方向に走査することによって画素値の
変化する画素を検出し、上記検出した第1の変化画素を
出力する第1の変化画素検出手段と、符号化復号化済み
の画素に対して、所定の方向に走査することによって画
素値の変化する画素を検出し、上記検出した第2の変化
画素を出力する第2の変化画素検出手段と、符号化およ
び復号化済みの画素に対して、所定の方向に走査するこ
とによって画素値の変化する画素を検出し、上記検出し
た第3の変化画素を出力する第3の変化画素検出手段
と、上記第2の変化画素と上記第3の変化画素とに基づ
いて上記第1の変化画素を予測して、上記予測した予測
変化画素を出力する変化画素予測手段と、上記第1の変
化画素と、上記予測変化画素との差を計算して、上記計
算した変化画素差分値を出力する予測誤差計算手段と、
上記変化画素差分値を符号化して符号化信号とする予測
誤差符号化手段とを備えたものである。
An image encoding apparatus according to the present invention (claim 30) is an image encoding apparatus which inputs and encodes a two-dimensional image signal composed of a plurality of pixels. A first changed pixel detecting unit that detects a pixel whose pixel value changes by scanning in a predetermined direction, and outputs the detected first changed pixel; A second changing pixel detecting unit that detects a pixel whose pixel value changes by scanning in a predetermined direction and outputs the detected second changing pixel, and encodes and decodes a pixel, A third changing pixel detecting means for detecting a pixel whose pixel value changes by scanning in a predetermined direction and outputting the detected third changing pixel; the second changing pixel and the third changing pixel The first change based on the pixel A modified pixel predictor for predicting a pixel and outputting the predicted predicted changed pixel; calculating a difference between the first changed pixel and the predicted changed pixel; outputting the calculated changed pixel difference value Prediction error calculating means to
Prediction error encoding means for encoding the changed pixel difference value to generate an encoded signal.

【0043】本発明(請求項31)に係る画像符号化装
置は、請求項30に記載の画像符号化装置において、上
記第2の変化画素検出手段、および上記第3の変化画素
検出手段は、上記第2の変化画素、および上記第3の変
化画素の画素値を、上記第1の変化画素の画素値と同じ
ものとするものとしたものである。
The image coding apparatus according to the present invention (claim 31) is the image coding apparatus according to claim 30, wherein the second changed pixel detecting means and the third changed pixel detecting means are: The pixel values of the second changed pixel and the third changed pixel are the same as the pixel values of the first changed pixel.

【0044】本発明(請求項32)に係る画像符号化装
置は、請求項30に記載の画像符号化装置において、上
記第2の変化画素検出手段、および上記第3の変化画素
検出手段は、上記走査する所定の方向を、上記第1の変
化画素検出手段が上記走査する所定の方向と同じ方向と
するものとしたものである。
The image coding apparatus according to the present invention (claim 32) is the image coding apparatus according to claim 30, wherein the second changed pixel detecting means and the third changed pixel detecting means are: The predetermined scanning direction is the same as the predetermined scanning direction of the first changed pixel detection unit.

【0045】本発明(請求項33)に係る画像符号化装
置は、請求項30に記載の画像符号化装置において、上
記第2の変化画素を用いて予測した変化画素との差によ
って、上記第3の変化画素が符号化されているものとし
たものである。
The image coding apparatus according to the present invention (claim 33) is the image coding apparatus according to claim 30, wherein the difference between the second pixel and the changed pixel predicted by using the second changed pixel. It is assumed that three changed pixels are coded.

【0046】本発明(請求項34)に係る画像符号化装
置は、請求項30に記載の画像符号化装置において、第
2の変化画素、第3の変化画素、および第1の変化画素
が異なる走査線にあるものとしたものである。
An image coding apparatus according to the present invention (claim 34) is the image coding apparatus according to claim 30, wherein the second changed pixel, the third changed pixel, and the first changed pixel are different. It is assumed that it is on the scanning line.

【0047】本発明(請求項35)に係る画像符号化装
置は、請求項30に記載の画像符号化装置において、上
記変化画素予測手段は、上記第2の変化画素が第m走査
線のx画素目にあり、上記第3の変化画素が第n走査線の
y画素目にあるとき、上記第1の変化画素について、第k
走査線のy-(x-y)*(n-k)/(m-n)画素目であると予測する
ものとしたものである。
The image coding apparatus according to the present invention (claim 35) is the image coding apparatus according to claim 30, wherein the changed pixel predicting means is configured such that the second changed pixel is x in the m-th scanning line. In the pixel position, the third change pixel corresponds to the n-th scanning line.
When it is at the y-th pixel, the k-th pixel
It is assumed that the pixel is predicted to be the y- (xy) * (nk) / (mn) th pixel of the scanning line.

【0048】本発明(請求項36)に係る画像符号化装
置は、複数の画素からなる2次元画像信号を入力して符
号化する画像符号化装置であって、上記2次元画像信号
に対して、所定の方向に走査することによって画素値の
変化する画素を検出し、上記検出した検出変化画素を出
力する変化画素検出手段と、符号化および復号化済の画
素から変化画素を予測し、上記予測した予測変化画素を
出力する変化画素予測手段と、上記検出変化画素と、上
記予測変化画素との差を計算して、上記計算した変化画
素差分値を出力する予測誤差計算手段と、上記変化画素
差分値の値が所定値未満である場合に、上記変化画素差
分値を符号化し、差分値符号化信号を出力する予測誤差
符号化手段と、上記変化画素差分値の値が所定値以上で
ある場合に、直前に符号化した変化画素から、上記検出
変化画素までに位置する画素であって、上記予測誤差符
号化手段が符号化し得る画素位置に位置しない画素の数
を算出し、上記算出した画素数を符号化して、画素数符
号化信号を出力する画素数符号化手段とを備え、上記予
測誤差符号化手段と、上記画素数符号化手段とは、上記
差分値符号化信号と、上記画素数符号化信号とが一意に
識別可能な符号化を行うものである。
An image coding apparatus according to the present invention (claim 36) is an image coding apparatus for inputting and coding a two-dimensional image signal composed of a plurality of pixels. Detecting a pixel whose pixel value changes by scanning in a predetermined direction, changing pixel detecting means for outputting the detected detected changed pixel, and predicting a changed pixel from encoded and decoded pixels; A change pixel prediction means for outputting a predicted change pixel predicted, a prediction error calculation means for calculating a difference between the detected change pixel and the predicted change pixel, and outputting the calculated change pixel difference value; A prediction error encoding unit that encodes the changed pixel difference value when the value of the pixel difference value is smaller than a predetermined value and outputs a difference value encoded signal; In some cases, just before From the coded changed pixel, the number of pixels that are located between the detected changed pixel and the pixel positions that can be coded by the prediction error coding unit are calculated, and the calculated number of pixels is coded. And a pixel number encoding unit that outputs a pixel number encoding signal, wherein the prediction error encoding unit and the pixel number encoding unit include the difference value encoding signal and the pixel number encoding signal. Perform encoding that can be uniquely identified.

【0049】本発明(請求項37)に係る画像符号化装
置は、請求項36に記載の画像符号化装置において、上
記予測誤差符号化手段、および上記画素数符号化手段
は、上記変化画素差分値と比較する上記所定値を、当該
走査線の画素数を用いて設定するものとしたものであ
る。
The image coding apparatus according to the present invention (claim 37) is the image coding apparatus according to claim 36, wherein said prediction error coding means and said pixel number coding means are characterized by: The predetermined value to be compared with the value is set using the number of pixels of the scanning line.

【0050】本発明(請求項38)に係る画像符号化装
置は、物体を表す画素が存在する領域を表す2次元の形
状信号を入力として、上記形状信号を符号化する画像符
号化装置であって、上記入力した形状信号から、上記物
体を表す画素を包含する矩形領域である有意領域を抽出
し、上記抽出した有意領域の範囲である有意領域範囲を
出力する有意領域抽出手段と、上記形状信号を複数の画
素からなるブロックに分割するブロック化手段と、上記
ブロック化手段が出力する各ブロックごとに、上記有意
領域を含むか否かを判定し、上記有意領域を含むと判定
した場合は、少なくとも当該ブロックの上記有意領域を
符号化し、形状符号化信号を出力する形状符号化手段と
を備え、上記有意領域範囲と、上記形状符号化信号とを
符号化信号とするものである。
An image encoding apparatus according to the present invention (claim 38) is an image encoding apparatus which receives a two-dimensional shape signal representing an area where a pixel representing an object is present and encodes the shape signal. Means for extracting a significant area that is a rectangular area including pixels representing the object from the input shape signal, and outputting a significant area range that is a range of the extracted significant area; Blocking means for dividing a signal into blocks consisting of a plurality of pixels, and for each block output by the blocking means, determine whether or not to include the significant region, and if it is determined to include the significant region, And a shape encoding unit that encodes at least the significant region of the block and outputs a shape-encoded signal, wherein the significant region range and the shape-encoded signal are used as encoded signals. Than it is.

【0051】本発明(請求項39)に係る画像符号化装
置は、請求項38に記載の画像符号化装置において、上
記形状符号化手段は、上記ブロック化手段により構成さ
れた各ブロック中から、上記有意領域を含む最小の矩形
領域を抽出し、上記抽出した矩形領域の内部のみを符号
化するものとしたものである。
The image coding apparatus according to the present invention (claim 39) is the image coding apparatus according to claim 38, wherein the shape coding means comprises: The minimum rectangular area including the significant area is extracted, and only the inside of the extracted rectangular area is encoded.

【0052】本発明(請求項40)に係る画像符号化装
置は、複数の画素からなる2次元画像信号を入力として
上記2次元画像信号を符号化する画像符号化装置であっ
て、上記画像信号を少なくとも2つの画像信号に分離し
て、上記分離した画像信号を2つ以上の部分画像信号と
して出力する画像信号分離手段と、上記部分画像信号の
うち少なくとも1つを対象部分画像信号として選択し、
上記選択した対象部分画像信号を符号化して、第1の符
号化信号を出力する第1の画像信号符号化手段と、上記
第1の符号化信号を復号化した画像信号に基づいて、上
記部分画像信号のうち上記対象部分画像信号を除いた対
象外部分画像信号を予測し、上記予測が的中する確率を
計算し、上記計算した予測確率を出力する予測確率計算
手段と、上記予測確率計算手段で計算した予測確率に応
じて、復号化の優先度を決定し、上記決定した優先道に
応じた符号化方法を用いて、上記対象外部分画像信号を
を符号化する第2の画像信号符号化手段とを備えたもの
である。
An image encoding apparatus according to the present invention (claim 40) is an image encoding apparatus which encodes the two-dimensional image signal by inputting a two-dimensional image signal composed of a plurality of pixels, Is separated into at least two image signals, an image signal separating unit that outputs the separated image signals as two or more partial image signals, and at least one of the partial image signals is selected as a target partial image signal. ,
A first image signal encoding unit that encodes the selected target partial image signal and outputs a first encoded signal; and the partial image signal based on the image signal obtained by decoding the first encoded signal. Prediction probability calculating means for predicting a non-target partial image signal in the image signal excluding the target partial image signal, calculating a probability that the prediction is successful, and outputting the calculated prediction probability; and Means for determining the priority of decoding according to the prediction probability calculated by the means, and encoding the non-target partial image signal using an encoding method corresponding to the determined priority path. Encoding means.

【0053】本発明(請求項41)に係る画像符号化装
置は、請求項40に記載の画像符号化装置において、上
記第2の画像信号符号化手段は、上記予測確率が小さい
画素が優先的に復号化されるよう、上記復号化の優先度
を決定するものとしたものである。
[0053] In the image coding apparatus according to the present invention (claim 41), in the image coding apparatus according to claim 40, the second image signal coding means preferentially gives a pixel having a small prediction probability. Thus, the priority of the decoding is determined so as to be decoded.

【0054】本発明(請求項42)に係る画像符号化装
置は、請求項40に記載の画像符号化装置において、上
記予測確率計算手段は、近傍の画素値が同じ値の場合
に、上記的中する確率を大きく、近傍の画素値が異なる
値の場合に、上記的中する確率を小さくするものとした
ものである。
[0054] In the image encoding apparatus according to the present invention (claim 42), in the image encoding apparatus according to claim 40, the prediction probability calculating means is configured to execute the above-described target coding when neighboring pixel values are the same. The probability of hitting is large, and when the neighboring pixel values are different, the probability of hitting is reduced.

【0055】本発明(請求項43)に係る画像復号化装
置は、符号化信号を入力して、復号化する画像復号化装
置であって、上記符号化信号を復号化して、符号化モー
ドと、差分値とを取得し、上記取得した符号化モードを
モード信号として、上記取得した差分値を復号差分値と
して出力する復号化手段と、当該フレームにおける符号
化および復号化済みの画素の、画素値の変化する画素に
基づいて、上記入力信号の変化画素を予測し、上記予測
した画素を第1の予測画素として出力する第1の予測手
段と、参照フレームにおける符号化および復号化済みの
画素の、画素値の変化する画素に基づき、動き補償を伴
って、上記入力信号の変化画素を予測し、上記予測した
画素を第2の予測画素として出力する第2の予測手段
と、上記モード信号が当該フレーム予測を示す場合は、
上記第1の予測画素に上記復号差分値を加算し、上記モ
ード信号が参照フレーム予測を示す場合は、上記第2の
予測画素に上記復号差分値を加算する加算手段とを備
え、上記加算手段の出力を変化画素とするものである。
An image decoding apparatus according to the present invention (Claim 43) is an image decoding apparatus which receives an encoded signal and decodes the encoded signal. A decoding unit that obtains a difference value, and outputs the obtained difference value as a decoding difference value, using the obtained encoding mode as a mode signal, and a pixel of the coded and decoded pixel in the frame First prediction means for predicting a changed pixel of the input signal based on a pixel whose value changes, and outputting the predicted pixel as a first predicted pixel; and a coded and decoded pixel in a reference frame. A second prediction unit that predicts a changed pixel of the input signal based on a pixel whose pixel value changes, with motion compensation, and outputs the predicted pixel as a second predicted pixel; When indicating the frame prediction,
Adding means for adding the decoding difference value to the first prediction pixel, and when the mode signal indicates reference frame prediction, adding the decoding difference value to the second prediction pixel. Is used as the change pixel.

【0056】本発明(請求項44)に係る画像復号化装
置は、符号化信号を入力して、復号化する画像復号化装
置であって、上記符号化信号を復号化して、符号化モー
ドと、差分値とを取得し、上記取得した符号化モードを
モード信号として、上記取得した差分値を復号差分値と
して出力する復号化手段と、当該画像信号を水平方向に
走査することによって、符号化および復号化済みの画素
の画素値の変化する画素に基づいて、上記入力信号の変
化画素を予測し、上記予測した画素を第1の予測画素と
して出力する第1の予測手段と、当該画像信号を垂直方
向に走査することによって、符号化および復号化済みの
画素の画素値の変化する画素に基づいて、上記入力信号
の変化画素を予測し、上記予測した画素を第2の予測画
素として出力する第2の予測手段と、上記モード信号が
水平方向走査の予測を示す場合は、上記第1の予測画素
に上記復号差分値を加算し、上記モード信号が垂直方向
走査の予測を示す場合は、上記第2の予測画素に上記復
号差分値を加算する加算手段とを備え、上記加算手段の
出力を変化画素とするものである。
An image decoding apparatus according to the present invention (Claim 44) is an image decoding apparatus which receives an encoded signal and decodes the encoded signal. Decoding means for obtaining a difference value, outputting the obtained difference value as a decoding difference value using the obtained coding mode as a mode signal, and scanning the image signal in the horizontal direction to perform coding. First prediction means for predicting a changed pixel of the input signal based on a pixel having a changed pixel value of a decoded pixel, and outputting the predicted pixel as a first predicted pixel; Is scanned in the vertical direction to predict a changed pixel of the input signal based on a pixel whose pixel value of the coded and decoded pixel changes, and outputs the predicted pixel as a second predicted pixel Do (2) adding the decoding difference value to the first prediction pixel when the mode signal indicates the prediction of the horizontal scanning, and adding the decoding difference value when the mode signal indicates the prediction of the vertical scanning. Adding means for adding the decoded difference value to the second predicted pixel, wherein the output of the adding means is a changed pixel.

【0057】本発明(請求項45)に係る画像復号化装
置は、符号化信号を入力して、復号化する画像復号化装
置であって、上記符号化信号を復号化して、差分値と、
変化画素の画素値とを取得し、上記取得した差分値を復
号差分値として、上記取得した変化画素の画素値を復号
画素値として出力する復号化手段と、復号化済みの画素
の画素値の変化する画素に基づいて、上記入力する符号
化信号の変化画素を予測し、上記予測した画素を予測画
素として出力する予測手段と、上記復号差分値と上記予
測画素とを加算し、上記加算した結果を修正差分値とし
て出力する加算手段と、上記修正差分値と、上記復号画
素値とから、多値画像信号を復号化処理によって取得す
る画像復号化手段とを備えたものである。
An image decoding apparatus according to the present invention (claim 45) is an image decoding apparatus for receiving a coded signal and decoding the coded signal by decoding the coded signal to obtain a difference value,
A decoding unit that obtains a pixel value of the changed pixel, outputs the obtained difference value as a decoded difference value, and outputs the obtained pixel value of the changed pixel as a decoded pixel value, and a pixel value of the decoded pixel. Based on the changing pixel, predicting a changed pixel of the input coded signal, predicting means for outputting the predicted pixel as a predicted pixel, adding the decoded difference value and the predicted pixel, and The image processing apparatus further includes an adding unit that outputs a result as a corrected difference value, and an image decoding unit that obtains a multilevel image signal by a decoding process from the corrected difference value and the decoded pixel value.

【0058】本発明(請求項46)に係る画像復号化装
置は、符号化信号を入力して、復号化する画像復号化装
置であって、上記符号化信号から画素値信号の差分値を
復号化し、復号画素値差分値として出力する第1の復号
化手段と、上記符号化信号から透過度信号の差分値を復
号化し、復号透過度差分値として出力する第2の復号化
手段と、上記符号化信号から画素値信号の動きベクトル
と、透過度信号の動きベクトルとを復号化し、復号画素
値動きベクトルと、復号透過度動きベクトルとを出力す
る第3の復号化手段と、後述する参照画像の画素値信号
を、上記復号画素値動きベクトルを用いて動き補償し、
上記動き補償した結果を補償画素値信号として出力する
第1の動き補償手段と、上記復号画素値差分値と補償画
素値信号とを加算し、上記加算した結果を復号化した画
素値信号として出力するとともに、参照画像の画素値信
号として出力する第1の加算手段と、後述する参照画像
の透過度信号を、上記復号透過度動きベクトルを用いて
動き補償し、上記動き補償した結果を補償透過度信号と
して出力する第2の動き補償手段と、上記復号透過度差
分値と補償透過度信号とを加算し、上記加算した結果を
復号化した透過度信号として出力するとともに、参照画
像の透過度信号として出力する第2の加算手段とを備え
たものである。
An image decoding apparatus according to the present invention (claim 46) is an image decoding apparatus for inputting and decoding an encoded signal, and for decoding a difference value of a pixel value signal from the encoded signal. First decoding means for converting the encoded signal into a decoded pixel value difference value, outputting a decoded signal difference value from the coded signal, and outputting the decoded signal as a decoded transmittance difference value; Third decoding means for decoding the motion vector of the pixel value signal and the motion vector of the transparency signal from the encoded signal, and outputting a decoded pixel value motion vector and a decoded transparency motion vector; Of the pixel value signal is subjected to motion compensation using the decoded pixel value motion vector,
First motion compensating means for outputting the result of the motion compensation as a compensated pixel value signal, adding the decoded pixel value difference value and the compensated pixel value signal, and outputting the sum as a decoded pixel value signal And a first adding means for outputting a pixel value signal of the reference image, and a transparency signal of the reference image, which will be described later, being motion-compensated using the decoded transparency motion vector. A second motion compensating means for outputting as a degree signal, adding the decoded transmittance difference value and the compensated transmittance signal, outputting the result of the addition as a decoded transmittance signal, And a second adding means for outputting as a signal.

【0059】本発明(請求項47)に係る画像復号化装
置は、請求項46に記載の画像復号化装置において、上
記第3の復号化手段は、画素値信号の動きベクトルと、
動きベクトルの差分値とを復号化して復号画素値動きベ
クトルと復号動きベクトル差分値とを取得し、上記復号
画素値動きベクトルと復号動きベクトル差分値とを加算
して、上記復号透過度動きベクトルとするものとしたも
のである。
The image decoding apparatus according to the present invention (claim 47) is the image decoding apparatus according to claim 46, wherein the third decoding means comprises: a motion vector of a pixel value signal;
Decode the difference value of the motion vector to obtain a decoded pixel value motion vector and a decoded motion vector difference value, and add the decoded pixel value motion vector and the decoded motion vector difference value to obtain the decoded transparency motion vector. It is something that was taken.

【0060】[0060]

【発明の実施の形態】以下、本発明の実施の形態につい
て説明する。 実施の形態1.本発明の実施の形態1による画像符号化
装置は、予測符号化の実行にあたり、予め定められた範
囲内で符号化長の短い差分値を選定することにより、効
率的な符号化を行うものである。図1は本発明の実施の
形態1による画像符号化装置の構成を示すブロック図で
ある。同図において、1は入力信号であり、2値の画像
信号として画像符号化装置に入力される。2は変化画素
検出器であり、入力信号1に対して、その画素値が変化
する画素を検出し、検出変化画素として出力する。3は
メモリであり、参照画像として用いる符号化及び復号化
済みの画像信号を一時的に記憶する。4は変化画素予測
器であり、参照画像の画素値が変化する画素に基づい
て、変化画素検出器2の出力する変化画素を予測し、予
測変化画素を出力する。変化画素予測器4が用い得る予
測方法としては、例えば、2次元画像信号の垂直方向の
強い相関に基づいて、上位置の走査線の変化画素と同じ
水平位置に変化画素があると予測する代表的な予測方法
等を用いることができる。5は差分値計算器であり、変
化画素検出器2の検出する変化画素と予測器4の差分値
D を計算する。6は丸め誤差の許容値として予め設定さ
れて差分値丸め器に与えられる値e である。7は差分値
丸め器であり、許容値e によって定められる範囲内にお
いて上記差分値Dを修正し、修正差分値D'を出力する。
8は符号化器であり、差分値を符号化する。9は符号化
器8から出力される符号化信号である。11は差分値加
算器であり、差分丸め器7が出力する修正差分値D'と、
変化画素予測器4が出力する予測変化画素とを加算す
る。10は変化画素復号化器であり、差分値加算器11
の出力する加算結果を用いて2値の画素値を復号化す
る。
Embodiments of the present invention will be described below. Embodiment 1 FIG. The image coding apparatus according to the first embodiment of the present invention performs efficient coding by selecting a difference value having a short coding length within a predetermined range when performing predictive coding. is there. FIG. 1 is a block diagram illustrating a configuration of an image encoding device according to Embodiment 1 of the present invention. In FIG. 1, reference numeral 1 denotes an input signal, which is input to the image encoding device as a binary image signal. Reference numeral 2 denotes a change pixel detector which detects a pixel whose pixel value changes with respect to the input signal 1 and outputs the detected change pixel. Reference numeral 3 denotes a memory that temporarily stores encoded and decoded image signals used as reference images. Reference numeral 4 denotes a change pixel predictor which predicts a change pixel output from the change pixel detector 2 based on a pixel whose pixel value of the reference image changes, and outputs a predicted change pixel. As a prediction method that can be used by the changing pixel predictor 4, for example, based on a strong vertical correlation of a two-dimensional image signal, a representative that predicts that a changing pixel exists at the same horizontal position as a changing pixel of a scanning line at an upper position is used. For example, a predictive method can be used. Reference numeral 5 denotes a difference value calculator which calculates a difference value between the changed pixel detected by the changed pixel detector 2 and the predictor 4.
Calculate D. Reference numeral 6 denotes a value e which is preset as an allowable value of the rounding error and is provided to the difference value rounder. Reference numeral 7 denotes a difference value rounder which corrects the difference value D within a range defined by the allowable value e and outputs a corrected difference value D '.
Reference numeral 8 denotes an encoder, which encodes a difference value. Reference numeral 9 denotes an encoded signal output from the encoder 8. Reference numeral 11 denotes a difference value adder, which outputs a corrected difference value D 'output from the difference rounder 7;
The predicted change pixel output from the change pixel predictor 4 is added. Reference numeral 10 denotes a changing pixel decoder, and a difference value adder 11
The binary pixel value is decoded by using the addition result output from.

【0061】以上の様に構成された、実施の形態1によ
る画像符号化装置についてその動作を説明する。2値の
画像信号である入力信号1が装置に入力されると、変化
画素検出器2は入力信号1を入力として、2値の画素値
が変化する画素を検出する。一方、変化画素予測器4は
メモリ3に蓄積された参照画像を読みだし、当該入力信
号における変化画素を予測する。変化画素検出器2は検
出した結果を検出変化画素として差分値計算器5に出力
し、変化画素予測器4は予測した結果を予測変化画素と
して差分値計算器5に出力する。そして、差分値計算器
5は、検出変化画素から予測変化画素を減算し、変化画
素の予測誤差に相当する差分値D を取得する。差分値計
算器5は、差分値D を差分値丸め器7に出力する。差分
値丸め器7は、予め設定されて与えられた許容値e と、
差分値計算機5より出力された予測誤差に相当する差分
値D とを比較し、差分値D が許容値e を超えない場合に
は、D-e≦x≦D+e を満足する値x であって、その値x を
符号化した場合のビット数が最小の値となる値x を求
め、これを修正差分値D'として出力する。これに対し
て、予測誤差に相当する差分値D が許容値e を超える場
合には、許容値e に基づいて修正差分値D'を求め、これ
を符号化器8に出力する。そして、修正差分値D'は、符
号化器8で符号化されて符号化信号9となる。また、差
分値丸め器7の出力する修正差分値D'は、差分値加算器
11にも出力される。差分値加算器11においては、修
正差分値D'が変化画素予測器4の出力する予測変化画素
と加算されることによって、画素値の変化画素が計算さ
れ、この結果は変化画素復号器10に出力される。変化
画素復号化器10は、変化画素予測器4の出力が示す復
号化済の画素から、差分値加算器11から入力された変
化画素の画素までの各画素について、その画素値を復号
化してメモリ3に記憶させる。これによりメモリ3の記
憶内容は参照画像として用いられる。
The operation of the image coding apparatus according to the first embodiment configured as described above will be described. When an input signal 1 which is a binary image signal is input to the apparatus, the change pixel detector 2 receives the input signal 1 and detects a pixel whose binary pixel value changes. On the other hand, the changed pixel predictor 4 reads the reference image stored in the memory 3 and predicts a changed pixel in the input signal. The changed pixel detector 2 outputs the detected result to the difference value calculator 5 as a detected changed pixel, and the changed pixel predictor 4 outputs the predicted result to the difference value calculator 5 as a predicted changed pixel. Then, the difference value calculator 5 subtracts the predicted change pixel from the detected change pixel to obtain a difference value D corresponding to the prediction error of the changed pixel. The difference value calculator 5 outputs the difference value D to the difference value rounder 7. The difference value rounder 7 includes a predetermined allowable value e,
The difference value D 2 corresponding to the prediction error output from the difference value calculator 5 is compared. If the difference value D does not exceed the allowable value e, the value x satisfies De ≦ x ≦ D + e. , A value x that minimizes the number of bits when the value x is encoded is obtained and output as a modified difference value D ′. On the other hand, when the difference value D corresponding to the prediction error exceeds the allowable value e, a corrected difference value D ′ is obtained based on the allowable value e and is output to the encoder 8. Then, the modified difference value D ′ is encoded by the encoder 8 to become an encoded signal 9. The corrected difference value D ′ output from the difference value rounder 7 is also output to the difference value adder 11. In the difference value adder 11, the corrected difference value D ′ is added to the predicted change pixel output from the change pixel predictor 4 to calculate a change pixel of the pixel value. Is output. The changed pixel decoder 10 decodes the pixel value of each pixel from the decoded pixel indicated by the output of the changed pixel predictor 4 to the pixel of the changed pixel input from the difference value adder 11. It is stored in the memory 3. Thus, the content stored in the memory 3 is used as a reference image.

【0062】以上の動作を、図2を用いて具体的に説明
する。図2は2値画像信号のモデルとして、各画素値を
白と黒(細かい斜線)の矩型として表したものであり、
ここでは説明の簡略化のために、1画素ずつを順次処理
するものとして処理手順を説明する。図2(a)は入力信
号であり、左上から右方向へ走査を行い、右下に向けて
処理が進められることとする。1ライン(走査線)上
で、画素値が変化する(白→黒、または黒→白)画素が
変化画素である。図2(b)のPcは符号化済の最終画素、P
uは上位置の走査線における変化画素であるとし、粗い
斜線の部分ははまだ符号化されていない画素を表すもの
とする。変化画素検出器2は、図2(a)に示す入力信号
の、図2(b)に示すまだ符号化されていない部分に対し
て、画素値が変化する変化画素を調べ、変化画素として
P1を検出し、これを検出変化画素として差分値計算器5
に出力する。
The above operation will be specifically described with reference to FIG. FIG. 2 is a model of a binary image signal, in which each pixel value is represented by a rectangular shape of white and black (fine hatched lines).
Here, for the sake of simplicity, the processing procedure will be described assuming that one pixel is sequentially processed. FIG. 2A shows an input signal, which scans from the upper left to the right, and the process proceeds to the lower right. A pixel whose pixel value changes (white → black or black → white) on one line (scanning line) is a change pixel. Pc in FIG. 2B is the last pixel that has been encoded,
u is assumed to be a changing pixel in the scanning line at the upper position, and a coarse hatched portion represents a pixel that has not been encoded yet. The changed pixel detector 2 checks a changed pixel whose pixel value changes for a part of the input signal shown in FIG. 2A which has not been coded as shown in FIG.
P1 is detected, and this is used as a detected change pixel.
Output to

【0063】一方、変化画素予測器4は、前述の方法に
よって変化画素を予測し、上位置の走査線の変化画素Pu
と同じ水平位置であろものとして、画素P0を予測し、こ
れを予測変化画素として差分値計算器5に出力する。差
分値計算器5は、検出変化画素P1と予測変化画素P0とと
の差分値として、D=1 を差分丸め器7に出力する。ここ
で、本実施の形態1の画像符号化装置の設定としては、
P0との差分値が小さいほど短い符号長の符号を割り当て
る符号化を行うものとする。そして丸め誤差の許容値e
として1が与えられていたものとする。差分値計算器に
よって求められるP1とP0の差はe 以下であるから、上述
の条件を満たす数値として、差分値丸め器7は出力は
D"=0 を出力する。その結果、変化画素が丸められて、
復号処理を受けるので、符号化及び復号化された画素値
は図2(c)のようになる。
On the other hand, the change pixel predictor 4 predicts a change pixel by the above-described method, and changes the change pixel Pu of the upper scanning line.
Pixel P0 is predicted at the same horizontal position as above, and is output to difference value calculator 5 as a predicted change pixel. The difference value calculator 5 outputs D = 1 to the difference rounder 7 as a difference value between the detected change pixel P1 and the predicted change pixel P0. Here, the settings of the image encoding device according to the first embodiment include:
It is assumed that encoding is performed to assign a code with a shorter code length as the difference value from P0 is smaller. And the rounding error tolerance e
It is assumed that 1 has been given. Since the difference between P1 and P0 obtained by the difference value calculator is equal to or smaller than e, the difference value rounder 7 outputs
D "= 0. As a result, the changed pixel is rounded,
Since the pixel value is subjected to the decoding process, the encoded and decoded pixel values are as shown in FIG.

【0064】これに対して、入力信号が図2(d)に示す
ものであった場合には、図2(e)に示すように、予測変
化画素P0と検出変化画素P1の差が示す差分値D は2 と
なるので、この場合差分値D が許容値e を超えることと
なる。そこで、差分値丸め器7は、予測誤差(差分値)
が許容範囲を超えることとならないよう、許容値e に基
づいて修正を行い、変化画素P2に対応する差分値-1を出
力する。この結果、符号化及び復号化された画素値は図
2(f)のようになる。このように、本実施の形態1の画
像符号化装置では、差分値丸め器7を備え、検出された
変化画素と予測された変化画素の差分値と、予め設定さ
れた許容値6とを用いて、許容値以下の予測誤差におい
て、該誤差(差分値)の符号長が最小となる修正差分値
を選択し、これを出力するので、若干の画質劣化を伴う
こととなるが符号化に必要なビット数を大幅に削減する
ことができる。また、本実施の形態1の画像符号化装置
において得られる符号化信号9は、通常の画像復号化装
置において復号処理が可能である。
On the other hand, when the input signal is as shown in FIG. 2D, as shown in FIG. 2E, the difference indicated by the difference between the predicted change pixel P0 and the detected change pixel P1 is obtained. Since the value D is 2, the difference value D exceeds the allowable value e in this case. Therefore, the difference value rounder 7 calculates the prediction error (difference value)
Is corrected based on the allowable value e so as not to exceed the allowable range, and the difference value −1 corresponding to the changed pixel P2 is output. As a result, the encoded and decoded pixel values are as shown in FIG. As described above, the image encoding device according to the first embodiment includes the difference value rounder 7 and uses the difference value between the detected changed pixel and the predicted changed pixel, and the preset allowable value 6. For a prediction error equal to or less than the allowable value, a corrected difference value that minimizes the code length of the error (difference value) is selected and output. The number of necessary bits can be greatly reduced. The coded signal 9 obtained by the image coding device according to the first embodiment can be decoded by a normal image decoding device.

【0065】実施の形態2.本発明の実施の形態2によ
る画像符号化装置は、当該フレームによる予測に基づく
符号化と、参照フレームにより、動き補償を伴った予測
に基づく符号化とを適応的に切り替えて処理を行うもの
である。図3は本発明の実施の形態2による画像符号化
装置の構成を示すブロック図である。同図において、2
0は動き補償器であり、符号化復号化済の参照フレーム
の画像信号に対して、動き補償を行って参照画素値を生
成する。21はモード選択器であり、当該フレームの画
像信号に基づく予測を行った場合の差分値と、参照フレ
ームの画像信号に基づく予測を行った場合の差分値とに
ついて比較を行い、符号化する際に必要なビット数が少
ない方を符号化モードとして選択する。22は切り替え
器であり、モード選択器21が選択した符号化モードに
対応する差分値を選択して出力する。符号1〜9につい
ては、図1と同様であり、説明は実施の形態1と同様で
あるので、ここでは省略する。
Embodiment 2 The image coding apparatus according to Embodiment 2 of the present invention performs processing by adaptively switching between coding based on prediction using the frame and coding based on prediction with motion compensation using a reference frame. is there. FIG. 3 is a block diagram illustrating a configuration of an image encoding device according to Embodiment 2 of the present invention. In the figure, 2
Reference numeral 0 denotes a motion compensator, which performs motion compensation on the image signal of the encoded and decoded reference frame to generate a reference pixel value. Reference numeral 21 denotes a mode selector, which compares a difference value obtained when the prediction based on the image signal of the frame is performed with a difference value obtained when the prediction is performed based on the image signal of the reference frame, and performs encoding. Is selected as the encoding mode. Reference numeral 22 denotes a switch which selects and outputs a difference value corresponding to the encoding mode selected by the mode selector 21. Reference numerals 1 to 9 are the same as in FIG. 1 and the description is the same as in the first embodiment;

【0066】このように構成された本実施の形態2の画
像符号化装置についてその動作を説明する。2値の画像
信号である入力信号1が装置に入力されると、入力信号
1は変化画素検出器2に入力されるとともに、メモリ3
にも入力され、メモリ3において蓄積されることによ
り、当該フレームにおける符号化及び復号化済みの参照
画像として用いられる。変化画素検出器2は入力信号1
を入力として、2値の画素値が変化する画素を検出す
る。変化画素検出器2は検出した結果を検出変化画素と
して差分値計算器5a、及び5bに出力する。一方、変
化画素予測器4aはメモリ3に蓄積された当該フレーム
の符号化及び復号化済みの参照画像を読みだし、当該入
力信号に基づいて変化画素を予測し、その結果を予測変
化画素として差分値計算器5aに出力する。そして、差
分値計算器5aは、検出変化画素から予測変化画素を減
算し、差分値D を取得する。差分値計算器5aの出力D
は、当該フレームにおける符号化復号化済画素に基づい
て予測した変化画素の予測誤差に相当するものであっ
て、差分値計算器5aは、この差分値D をモード選択器
21と切り替え器22とに出力する。
The operation of the thus configured image encoding apparatus of the second embodiment will be described. When an input signal 1 which is a binary image signal is input to the apparatus, the input signal 1 is input to a changing pixel detector 2 and a memory 3
Is stored in the memory 3 and is used as an encoded and decoded reference image in the frame. The change pixel detector 2 receives the input signal 1
Is input, a pixel whose binary pixel value changes is detected. The changed pixel detector 2 outputs the detected result to the difference value calculators 5a and 5b as a detected changed pixel. On the other hand, the changed pixel predictor 4a reads out the encoded and decoded reference image of the frame stored in the memory 3, predicts the changed pixel based on the input signal, and uses the result as a predicted changed pixel to calculate the difference. Output to the value calculator 5a. Then, the difference value calculator 5a subtracts the predicted change pixel from the detected change pixel to obtain a difference value D. Output D of difference value calculator 5a
Is equivalent to the prediction error of the changed pixel predicted based on the encoded and decoded pixels in the frame, and the difference value calculator 5a compares the difference value D with the mode selector 21 and the switch 22. Output to

【0067】動き補償器20は、メモリ3に蓄積された
参照フレームの符号化及び復号化済画像に対して動き補
償を行い、変化画素予測器4bはこの動き補償された画
素に基づいて当該入力信号の変化画素を予測し、その結
果を予測変化画素として差分値計算器5bに出力する。
差分値計算器5bは、検出変化画素から予測変化画素を
減算し、差分値D"を取得する。差分値計算器5bの出力
D"は、参照フレームにおける符号化復号化済画素に基づ
いて動き補償を伴って予測した変化画素の予測誤差に相
当するものであって、差分値計算器5bは、この差分値
D"をモード選択器21と切り替え器22とに出力する。
モード選択器21は差分値計算器5a、及び5bから入
力された差分値D と差分値D"とについて、それぞれを符
号化した際の符号長(符号化に必要なビット数)を比較
し、より少ないビット数で符号化できる予測手法を選択
して、その識別信号を符号化モードとして出力する。モ
ード選択器21は差分値D を符号化した際の符号長が短
いと判定した場合には符号化モード「当該フレーム」
を、差分値D"を符号化した際の符号長が短いと判定した
場合には符号化モード「参照フレーム」を、切り替え器
22と、符号化器8aとに出力する。
The motion compensator 20 performs motion compensation on the coded and decoded image of the reference frame stored in the memory 3, and the change pixel predictor 4 b uses the input pixel based on the motion-compensated pixel. A changed pixel of the signal is predicted, and the result is output to the difference value calculator 5b as a predicted changed pixel.
The difference value calculator 5b subtracts the predicted change pixel from the detected change pixel to obtain a difference value D ". Output of the difference value calculator 5b
D "corresponds to the prediction error of the changed pixel predicted with the motion compensation based on the encoded and decoded pixels in the reference frame, and the difference value calculator 5b calculates the difference value
D "is output to the mode selector 21 and the switch 22.
The mode selector 21 compares the code length (the number of bits required for coding) of each of the difference value D and the difference value D ″ input from the difference value calculators 5a and 5b, A prediction method capable of encoding with a smaller number of bits is selected, and the identification signal is output as an encoding mode.If the mode selector 21 determines that the code length when encoding the difference value D is short, Encoding mode "this frame"
Is determined to have a short code length when the difference value D ″ is encoded, the encoding mode “reference frame” is output to the switch 22 and the encoder 8a.

【0068】切り替え器22はモード選択器21の出力
に対応して、符号化モード「当該フレーム」であれば差
分値計算器5aの出力する差分値D を、符号化モード
「参照フレーム」であれば差分値計算器5bの出力する
差分値D"を符号化器8bに出力する。符号化器8aは、
モード選択器21の選択した符号化モードを符号化し、
符号化器8bは出力された差分値を符号化して、それぞ
れ符号化信号9a、及び9bとして出力する。本実施の
形態2の画像符号化装置による符号化は、丸め誤差を伴
わないロスレス符号化であって、前述のように入力画像
信号1は変化画素までの符号化復号化された画素値とし
て、メモリ3に記憶される。
The switching unit 22 responds to the output of the mode selector 21 to change the difference value D output from the difference value calculator 5a in the encoding mode “the current frame” to the encoding mode “reference frame”. For example, the difference value D "output from the difference value calculator 5b is output to the encoder 8b.
The encoding mode selected by the mode selector 21 is encoded,
The encoder 8b encodes the output difference value and outputs the encoded difference values as encoded signals 9a and 9b, respectively. The encoding performed by the image encoding apparatus according to the second embodiment is lossless encoding that does not involve a rounding error. As described above, the input image signal 1 is stored in a memory as a pixel value that has been encoded and decoded up to a changed pixel. 3 is stored.

【0069】以上の動作を、図4を用いて具体的に説明
する。図4は実施の形態1において説明のために用いた
図2と同様に2値画像信号のモデルとして、各画素値を
白と黒の矩型で表したものであり、ここでも実施の形態
1と同様に、説明の簡略化のために、1画素ずつを順次
処理するものとして処理手順を説明する。同図におい
て、図4(a)は入力信号、図4(b)は参照フレームの画像
信号である。図4(c)は当該フレームに基づく予測を説
明するための図である。P1は実施の形態1と同様に、変
化画素検出器2で検出された検出変化画素である。Pcは
復号化済の最終画素位置、Puは上位置の走査線の画素値
の変化画素であるとし、粗い斜線の部分ははまだ符号化
されていない画素を表すものとする。変化画素予測器4
aは実施の形態1における変化画素の予測と同様の方法
を用いて、上位置の走査線の変化画素Puに基づいて、相
関関係を利用した予測を行い、Puと同じ水平位置にある
P0を当該フレームに基づく予測変化画素とする。
The above operation will be specifically described with reference to FIG. FIG. 4 is a model of a binary image signal in which each pixel value is represented by white and black rectangles, similarly to FIG. 2 used for description in the first embodiment. Similarly to the above, for simplicity of description, the processing procedure will be described assuming that one pixel is sequentially processed. 4A shows an input signal, and FIG. 4B shows an image signal of a reference frame. FIG. 4C is a diagram for explaining prediction based on the frame. P1 is a detected changed pixel detected by the changed pixel detector 2 as in the first embodiment. It is assumed that Pc is a decoded final pixel position, Pu is a pixel having a change in the pixel value of a scanning line at an upper position, and a coarse hatched portion represents a pixel that has not been encoded yet. Change pixel predictor 4
a performs prediction using a correlation based on the changed pixel Pu of the scanning line at the upper position using the same method as the prediction of the changed pixel in the first embodiment, and is at the same horizontal position as Pu.
Let P0 be a predicted change pixel based on the frame.

【0070】図4(b)の参照フレームの画像信号は、動
き補償器20による動き補償を行った後のものであると
して、変化画素予測器4bは、予測変化画素Prを取得す
る。従って、差分値計算器5aによる差分値D はP1とP0
の差である1となり、差分値計算器5bによる差分値D"
はP1とPrの差である0となる。本実施の形態2の画像符
号化装置の設定についても実施の形態1と同様に、P0と
の差分値が小さいほど短い符号長の符号を割り当てる符
号化を行うものとすると、P1とP0の差を符号化するより
もPrとP1の差を符号化する方が符号長が短くなることと
なる。従って、モード選択器21の選択は、差分値D"を
出力する「参照フレーム」となり、符号化モード「参照
フレーム」と、差分値D"とが符号化されて、本実施の形
態2の画像符号化装置の出力する符号化信号となる。図
4(e)は、この符号化信号を復号化して得られる復号化
結果を示す。
Assuming that the image signal of the reference frame in FIG. 4B has been subjected to motion compensation by the motion compensator 20, the changed pixel predictor 4b obtains a predicted changed pixel Pr. Therefore, the difference value D by the difference value calculator 5a is P1 and P0
And the difference value D "by the difference value calculator 5b.
Is 0, which is the difference between P1 and Pr. As for the setting of the image coding apparatus according to the second embodiment, similar to the first embodiment, if coding is performed to assign a code having a shorter code length as the difference value from P0 is smaller, the difference between P1 and P0 is assumed. Will result in a shorter code length when coding the difference between Pr and P1 than when coding. Therefore, the selection of the mode selector 21 results in a “reference frame” that outputs the difference value D ″, and the encoding mode “reference frame” and the difference value D ″ are encoded, and the image of the second embodiment is encoded. Fig. 4E shows a decoding result obtained by decoding the encoded signal, which is an encoded signal output from the encoding device.

【0071】このように、本実施の形態2の画像符号化
装置では、メモリ3と、変化画素予測器4a、及び4b
と、差分値計算器5a及び5bと、動き補償器20とを
備えたものとしたことで、当該フレームに基づく予測
と、参照フレームに基づき動き補償を伴った予測とを行
い、それぞれの予測値と検出結果との差分値を取得し、
モード選択器21と、切り替え器22と、符号化器8
a、及び8bとを備えたものとしたことで、当該フレー
ムに基づく予測と、動き補償した参照フレームに基づく
予測との差分値を比較して、符号長が最小となるものを
選択して符号化することができるので、フレーム間の画
素相関を利用することによって、符号化に必要なビット
数を大幅に削減することができる。なお、本実施の形態
2の画像符号化装置では、入力信号1がブロック単位で
入力されるものとし、ブロック単位で符号化モードを選
択する設定とする、すなわちブロック単位で当該フレー
ムによる予測に基づく符号化と、参照フレームにより、
動き補償を伴った予測に基づく符号化とを適応的に切り
替えるものとすることができ、上記の効果が得られる。
また、本実施の形態2の画像符号化装置では、変化画素
検出器2、変化画素予測器4a、及び4bでは変化画素
までの距離(画素数)を出力するものとしたが、「次の
画素は変化画素である」、及び「次の画素は変化画素で
ない」の2種の状態を示す2値信号として例えば「0」
と「1」とを出力するものとし、差分値計算器5a、及
び5bはかかる2値信号の差分値を計算するものとする
こともできる。ただしこの場合には、上記のように距離
を符号化するのではなく、入力信号1の各画素に対し
て、差分値計算器5a、及び5bの出力を符号化するこ
ととなる。このような設定とすることにより、変化画素
検出器2、変化画素予測器4a、及び4bの出力は2値
となるため、符号化処理の簡便化が図り得るという効果
が得られる。
As described above, in the image coding apparatus according to the second embodiment, the memory 3, the change pixel predictors 4a and 4b
, Difference value calculators 5a and 5b, and a motion compensator 20, the prediction based on the frame and the prediction with motion compensation based on the reference frame are performed. And the difference between the detection result and
Mode selector 21, switcher 22, encoder 8
a and 8b, the difference between the prediction based on the frame and the prediction based on the motion-compensated reference frame is compared, and the code having the minimum code length is selected and the code is selected. Therefore, by utilizing the pixel correlation between frames, the number of bits required for encoding can be significantly reduced. In the image coding apparatus according to the second embodiment, it is assumed that the input signal 1 is input in units of blocks and the coding mode is selected in units of blocks, that is, based on the prediction by the frame in units of blocks. By encoding and reference frame,
It is possible to adaptively switch between coding based on prediction accompanied by motion compensation, and the above-described effects are obtained.
In the image coding apparatus according to the second embodiment, the changed pixel detector 2, the changed pixel predictors 4a, and 4b output the distance (the number of pixels) to the changed pixel. Is a change pixel, and "0" is a binary signal indicating two states of "the next pixel is not a change pixel".
And "1", and the difference value calculators 5a and 5b may calculate the difference value of the binary signal. However, in this case, instead of encoding the distance as described above, the outputs of the difference value calculators 5a and 5b are encoded for each pixel of the input signal 1. With such a setting, the outputs of the changed pixel detector 2 and the changed pixel predictors 4a and 4b are binary, so that the effect that the encoding process can be simplified can be obtained.

【0072】実施の形態3.本発明の実施の形態3によ
る画像復号化装置は、実施の形態2による画像符号化装
置によって効率よく符号化された符号化信号に対して、
適切な復号化を行うものである。図5は本発明の実施の
形態3による画像復号化装置の構成を示すブロック図で
ある。同図において、30a、及び30bは、図3の符
号化信号9a、及び9bに対応する符号化信号であり、
それぞれ符号化モードを符号化した信号と、差分値を符
号化した信号である。31a、及び31bは、それぞれ
符号化モードを符号化した信号と、差分値を符号化した
信号とを復号化して、予測モード信号と復号差分値とを
取得する復号化器である。32は、復号化器31aが取
得した予測モード信号に対応して、変化画素の予測値を
切り替える切り替え器である。34は復号化された画像
信号である。メモリ3、変化画素復号化器10、及び差
分値加算器11については図1と同様であり、動き補償
器20については図3と同様であって、説明はそれぞれ
実施の形態1、及び2と同様であるので、ここでは省略
する。
Embodiment 3 The image decoding device according to the third embodiment of the present invention provides a coded signal efficiently coded by the image coding device according to the second embodiment,
It performs appropriate decryption. FIG. 5 is a block diagram illustrating a configuration of an image decoding apparatus according to Embodiment 3 of the present invention. In the figure, 30a and 30b are coded signals corresponding to the coded signals 9a and 9b in FIG.
A signal obtained by coding the coding mode and a signal obtained by coding the difference value. Decoders 31a and 31b decode a signal obtained by coding the coding mode and a signal obtained by coding the difference value to obtain a prediction mode signal and a decoded difference value. Reference numeral 32 denotes a switch that switches the predicted value of the changed pixel in accordance with the prediction mode signal acquired by the decoder 31a. 34 is a decoded image signal. The memory 3, the changing pixel decoder 10, and the difference value adder 11 are the same as those in FIG. 1, and the motion compensator 20 is the same as that in FIG. The description is omitted here because it is similar.

【0073】以上の様に構成された、図5に示す本実施
の形態3による画像復号化装置についてその動作を説明
する。実施の形態2による画像符号化装置において、選
択した符号化モードを符号化した信号9aは入力信号3
0aとして本実施の形態3の画像復号化装置に入力さ
れ、復号化器31aにおいて復号化されることによっ
て、「当該フレーム」、又は「参照フレーム」を示す予
測モード信号が取得される。復号化器31aは予測モー
ド信号を切り替え器32に出力する。また、実施の形態
2による画像符号化装置において、選択した差分値を符
号化した信号9bは入力信号30bとして本実施の形態
3の画像復号化装置に入力され、復号化器31bにおい
て復号化されることによって、復号差分値が取得され
る。復号化器31bは復号差分値を差分値加算手段11
に出力する。
The operation of the image decoding apparatus according to the third embodiment shown in FIG. 5 configured as described above will be described. In the image coding apparatus according to Embodiment 2, the signal 9a obtained by coding the selected coding mode is the input signal 3
0a is input to the image decoding apparatus according to the third embodiment, and is decoded by the decoder 31a, thereby obtaining a prediction mode signal indicating the “current frame” or the “reference frame”. The decoder 31a outputs the prediction mode signal to the switch 32. In the image encoding device according to the second embodiment, the signal 9b obtained by encoding the selected difference value is input to the image decoding device according to the third embodiment as an input signal 30b, and is decoded by the decoder 31b. As a result, a decoding difference value is obtained. The decoder 31b adds the decoded difference value to the difference value adding means 11
Output to

【0074】一方、変化画素予測器4aはメモリ3に蓄
積された当該フレームの復号化済みの参照画像を読みだ
し、該画像信号に基づいて変化画素を予測し、その結果
を当該フレームに基づく予測変化画素として切り替え器
32に出力する。また、動き補償器20は、メモリ3に
蓄積された参照フレームの復号化済画像に対して動き補
償を行い、変化画素予測器4bはこの動き補償された画
素に基づいて当該入力信号の変化画素を予測し、その結
果を参照フレームに基づく予測変化画素として切り替え
器32に出力する。
On the other hand, the changed pixel predictor 4a reads out the decoded reference image of the frame stored in the memory 3, predicts the changed pixel based on the image signal, and predicts the result based on the frame. It outputs to the switch 32 as a changed pixel. Further, the motion compensator 20 performs motion compensation on the decoded image of the reference frame stored in the memory 3, and the change pixel predictor 4b calculates a change pixel of the input signal based on the motion compensated pixel. And outputs the result to the switch 32 as a predicted change pixel based on the reference frame.

【0075】変化画素予測器4a、及び4bからそれぞ
れの予測変化画素を出力された切り替え器22は、入力
された予測モード信号に従って切り替えを行う。従っ
て、切り替え器22は、入力された予測モード信号が
「当該フレーム」を示すものであれば変化画素予測器4
aから出力された当該フレームに基づく予測変化画素
を、入力された予測モード信号が「参照フレーム」を示
すものであれば変化画素予測器4bから出力された参照
フレームに基づく予測変化画素を選択して、差分値加算
手段11に出力する。
The switching unit 22 that has output the respective predicted changed pixels from the changed pixel predictors 4a and 4b performs switching according to the input prediction mode signal. Therefore, if the input prediction mode signal indicates the “current frame”, the switch 22 changes the change pixel predictor 4.
If the input prediction mode signal indicates a "reference frame", a predicted change pixel based on the reference frame output from the change pixel predictor 4b is selected. And outputs the result to the difference value adding means 11.

【0076】差分値加算手段11は、切り替え器22か
ら取得した予測変化画素に対して、復号化器31bから
取得した復号差分値を加算することによって、変化画素
を計算し、その結果を変化画素復号化器10に出力す
る。変化画素復号化器10は、変化画素予測手段4aの
予測変化画素と、差分値加算手段11から得られた変化
画素とに基づいて、その間の画素値を復号化する。この
復号化の結果はメモリ3に入力されて記憶されるととも
に、復号化された画像信号34として、本実施の形態3
の画像復号化装置から出力される。例えば、実施の形態
2において図4を用いて説明したような符号化信号を入
力信号とした場合には、図4(e)に示すような復号化結
果が得られる。
The difference value adding means 11 calculates a changed pixel by adding the decoded difference value obtained from the decoder 31b to the predicted changed pixel obtained from the switch 22 and calculates the changed pixel. Output to the decoder 10. The changed pixel decoder 10 decodes a pixel value between the predicted changed pixel of the changed pixel prediction unit 4 a and the changed pixel obtained from the difference value adding unit 11 based on the changed pixel. The result of this decoding is input to and stored in the memory 3, and is also used as the decoded image signal 34 in the third embodiment.
Is output from the image decoding device. For example, when the coded signal described with reference to FIG. 4 in the second embodiment is used as an input signal, a decoding result shown in FIG. 4E is obtained.

【0077】図6は、本実施の形態3の応用例による画
像復号化装置の構成を示すブロック図である。図5に示
した画像復号化装置との相違は、差分値加算手段として
11a、及び11bの2つを有し、切り替え器33は、
変化画素予測手段4a、及び4bの出力でなく、差分値
加算手段11a、及び11bの出力を切り替える構成と
なっている点である。このような構成においても、実施
の形態2による画像符号化装置より出力される符号化信
号を、その符号化の際の符号化モードに対応して、適切
に復号化することが可能となる。さらに、変化画素復号
化器10を複数備える構成とし、切り替え器の位置を該
複数の変化画素復号器10の出力を受ける位置として
も、同様の効果が得られる。
FIG. 6 is a block diagram showing a configuration of an image decoding apparatus according to an application of the third embodiment. The difference from the image decoding device shown in FIG. 5 is that the switching device 33 has two difference value adding means 11a and 11b.
The point is that the output of the difference value adding means 11a and 11b is switched instead of the output of the change pixel prediction means 4a and 4b. Even in such a configuration, it is possible to appropriately decode the coded signal output from the image coding apparatus according to Embodiment 2 in accordance with the coding mode at the time of the coding. Further, a similar effect can be obtained even when a plurality of changing pixel decoders 10 are provided and the position of the switch is set to a position for receiving the outputs of the plurality of changing pixel decoders 10.

【0078】このように、本実施の形態3による画像復
号化装置では、符号化モードの符号化信号を復号化する
復号化器31aと、差分値の符号化信号を復号化する復
号化器31bと、当該フレームに基づき変化画素を予測
する変化画素予測手段4aと、参照フレームに基づき、
動き補償を伴って変化画素を予測する変化画素予測手段
4bと、予測変化画素に基づいて復号処理を行う差分値
加算手段11、及び変化画素復号化器10とを備え、復
号化器31aが取得する予測モードに応じて、切り替え
器が切り替えを行うことにより、符号化の際の符号化モ
ードに対応した予測モードにおいて、当該フレームに基
づく予測値を用いる復号化と、参照フレームに基づく予
測値を用いる復号化を適応的に切り替えて行い、実施の
形態2において効率的に符号化された符号化信号を適切
に復号化することが可能となる。
As described above, in the image decoding apparatus according to the third embodiment, the decoder 31a for decoding the coded signal in the coding mode and the decoder 31b for decoding the coded signal of the difference value A changing pixel prediction unit 4a for predicting a changing pixel based on the frame,
It comprises a changing pixel predicting unit 4b for predicting a changing pixel with motion compensation, a difference value adding unit 11 for performing a decoding process based on the predicted changing pixel, and a changing pixel decoder 10, and is obtained by the decoder 31a. In accordance with the prediction mode to be performed, the switch performs switching, in the prediction mode corresponding to the encoding mode at the time of encoding, decoding using the prediction value based on the frame, and the prediction value based on the reference frame. The decoding to be used is adaptively switched, and the coded signal efficiently coded in the second embodiment can be appropriately decoded.

【0079】なお、実施の形態2、及び3においては、
参照フレームとして複数のフレームを準備し、3通り以
上の予測モードを用いることとすることもできる。ま
た、実施の形態3において、ブロック単位で符号化モー
ドを選択して符号化された符号化信号を処理する場合に
も、ブロック単位で信号を入力し、ブロックごとに、予
測モードを取得して符号化モードに対応した処理を行う
ことにより、適切に復号化することが可能である。
In the second and third embodiments,
A plurality of frames may be prepared as reference frames, and three or more prediction modes may be used. Also, in the third embodiment, when an encoding mode is selected in units of blocks and an encoded signal is processed, a signal is input in units of blocks, and a prediction mode is acquired for each block. By performing processing corresponding to the encoding mode, it is possible to appropriately decode.

【0080】実施の形態4.本発明の実施の形態4によ
る画像符号化装置は、水平走査による予測に基づく符号
化と、垂直走査による予測に基づく符号化とを適応的に
切り替えて処理を行うものである。図7は本発明の実施
の形態4による画像符号化装置の構成を示すブロック図
である。同図において、40a、及び40bは水平走査
器であり、41a、及び41bは垂直走査器である。他
の符号については、図3と同様であり、説明は実施の形
態2と同様であるので、ここでは省略する。
Embodiment 4 The image encoding apparatus according to Embodiment 4 of the present invention performs processing by adaptively switching between encoding based on prediction by horizontal scanning and encoding based on prediction by vertical scanning. FIG. 7 is a block diagram illustrating a configuration of an image encoding device according to Embodiment 4 of the present invention. In the figure, 40a and 40b are horizontal scanners, and 41a and 41b are vertical scanners. Other symbols are the same as those in FIG. 3 and the description is the same as in the second embodiment, and thus will not be repeated here.

【0081】このように構成された本実施の形態4の画
像符号化装置についてその動作を説明する。2値の画像
信号である入力信号1が装置に入力されると、入力信号
1は水平走査器40aによって水平方向に走査されて変
化画素検出器2aに入力され、また、垂直走査器41a
によって垂直方向に走査されて変化画素検出器2bに入
力される。さらに、入力信号1は、メモリ3にも入力さ
れ、メモリ3において蓄積されることにより、当該フレ
ームにおける符号化及び復号化済みの参照画像として用
いられる。変化画素検出器2aは水平方向に走査された
入力信号1を入力として、2値の画素値が変化する画素
を検出する。変化画素検出器2bは垂直方向に走査され
た入力信号1を入力として、2値の画素値が変化する画
素を検出する。変化画素検出器2a、及び2bは検出し
た結果を検出変化画素として差分値計算器5a、及び5
bにそれぞれ出力する。
The operation of the thus configured image encoding apparatus according to the fourth embodiment will be described. When an input signal 1, which is a binary image signal, is input to the apparatus, the input signal 1 is scanned in the horizontal direction by a horizontal scanner 40a and input to a changing pixel detector 2a, and a vertical scanner 41a
Is scanned in the vertical direction and is input to the changing pixel detector 2b. Further, the input signal 1 is also input to the memory 3 and is stored in the memory 3 to be used as an encoded and decoded reference image in the frame. The change pixel detector 2a receives the input signal 1 scanned in the horizontal direction as an input, and detects a pixel whose binary pixel value changes. The change pixel detector 2b receives an input signal 1 scanned in the vertical direction as an input and detects a pixel whose binary pixel value changes. The changed pixel detectors 2a and 2b use the detection result as a detected changed pixel as the difference value calculators 5a and 5b.
b.

【0082】一方、水平走査器40bは、メモリ3に蓄
積された当該フレームの符号化及び復号化済みの参照画
像を読みだし、水平方向に走査して変化画素予測器4a
に入力する。変化画素予測器4aは変化画素を予測し、
その結果を予測変化画素として差分値計算器5aに出力
する。そして、差分値計算器5aは、検出変化画素から
予測変化画素を減算し、水平方向走査による差分値Dhを
取得する。差分値計算器5aの出力Dhは、水平方向走査
により予測した変化画素の予測誤差に相当するものであ
って、差分値計算器5aは、この差分値Dhをモード選択
器21と切り替え器22とに出力する。一方、垂直走査
器41bは、メモリ3に蓄積された当該フレームの符号
化及び復号化済みの参照画像を読みだし、垂直方向に走
査して変化画素予測器4bに入力する。変化画素予測器
4bは変化画素を予測し、その結果を予測変化画素とし
て差分値計算器5bに出力する。そして、差分値計算器
5bは、検出変化画素から予測変化画素を減算し、垂直
方向走査による差分値Dvを取得する。差分値計算器5b
の出力Dvは、垂直方向走査により予測した変化画素の予
測誤差に相当するものであって、差分値計算器5bは、
この差分値Dvをモード選択器21と切り替え器22とに
出力する。
On the other hand, the horizontal scanner 40b reads the encoded and decoded reference image of the frame stored in the memory 3 and scans it in the horizontal direction to change the pixel.
To enter. The change pixel predictor 4a predicts a change pixel,
The result is output to the difference value calculator 5a as a predicted change pixel. Then, the difference value calculator 5a subtracts the predicted change pixel from the detected change pixel to obtain a difference value Dh by horizontal scanning. The output Dh of the difference value calculator 5a corresponds to the prediction error of the changed pixel predicted by the horizontal scanning, and the difference value calculator 5a compares the difference value Dh with the mode selector 21 and the switch 22. Output to On the other hand, the vertical scanner 41b reads out the encoded and decoded reference image of the frame stored in the memory 3, scans in the vertical direction, and inputs it to the change pixel predictor 4b. The changed pixel predictor 4b predicts a changed pixel and outputs the result to the difference value calculator 5b as a predicted changed pixel. Then, the difference value calculator 5b subtracts the predicted change pixel from the detected change pixel, and obtains a difference value Dv by vertical scanning. Difference value calculator 5b
Is equivalent to the prediction error of the changed pixel predicted by the vertical scanning, and the difference value calculator 5b
The difference value Dv is output to the mode selector 21 and the switch 22.

【0083】モード選択器21は差分値計算器5a、及
び5bから入力された差分値Dhと差分値Dvとについて、
それぞれを符号化した際の符号長(符号化に必要なビッ
ト数)を比較し、より少ないビット数で符号化できる予
測手法を選択して、その識別信号を符号化モードとして
出力する。モード選択器21は差分値Dhを符号化した際
の符号長が短いと判定した場合には符号化モード「水平
方向」を、差分値Dvを符号化した際の符号長が短いと判
定した場合には符号化モード「垂直方向」を、切り替え
器22と、符号化器8aとに出力する。切り替え器22
はモード選択器21の出力に対応して、符号化モード
「水平方向」であれば差分値計算器5aの出力する差分
値Dhを、符号化モード「垂直方向」であれば差分値計算
器5bの出力する差分値Dvを符号化器8bに出力する。
符号化器8aは、モード選択器21の選択した符号化モ
ードを符号化し、符号化器8bは出力された差分値を符
号化して、それぞれ符号化信号9a、及び9bとして出
力する。
The mode selector 21 calculates the difference value Dh and the difference value Dv input from the difference value calculators 5a and 5b.
The code length (the number of bits required for encoding) when each is encoded is compared, a prediction method that can be encoded with a smaller number of bits is selected, and the identification signal is output as an encoding mode. When the mode selector 21 determines that the code length when encoding the difference value Dh is short, the mode selector 21 determines that the encoding mode is “horizontal direction” and that the code length when encoding the difference value Dv is short. Outputs the encoding mode “vertical direction” to the switching unit 22 and the encoder 8a. Switch 22
Corresponds to the output of the mode selector 21, the difference value Dh output from the difference value calculator 5 a in the coding mode “horizontal direction”, and the difference value calculator 5 b in the coding mode “vertical direction”. Is output to the encoder 8b.
The encoder 8a encodes the encoding mode selected by the mode selector 21, and the encoder 8b encodes the output difference value and outputs the difference values as encoded signals 9a and 9b, respectively.

【0084】本実施の形態4の画像符号化装置による符
号化は、丸め誤差を伴わないロスレス符号化であって、
前述のように入力画像信号1は変化画素の画素までの符
号化復号化された画素値として、メモリ3に記憶され
る。図8は、本実施の形態4の画像符号化装置による、
走査方向切り替えを説明するための図である。画像信号
は水平および垂直方向に相関があり、従来の技術による
画像符号化方法においてもかかる相関関係を利用して圧
縮化を図ることはなされていた。そして、従来の技術に
よる相関関係の利用については、例えばMMRの場合にみ
られるように、水平方向、又は垂直方向のいずれかの方
向における相関関係にのみ基づいて、符号化を行うもの
であった。しかし、画像を部分的に見れば水平もしくは
垂直の一方の相関が他方よりも強いことがある。例えば
図8の様に水平方向の相関が垂直方向の相関よりも強い
場合は、垂直方向の予測に基づくよりも水平方向の予測
のに基づく方が、画素位置の変化画素の予測誤差が小さ
くなり、より符号化の効率を向上することが可能とな
る。従って、画像の性質に応じて走査の方向を変え、垂
直方向の予測と水平方向の予測を切り替えることによっ
て符号化効率を大きく向上することができる。
The encoding by the image encoding apparatus according to the fourth embodiment is lossless encoding without rounding error.
As described above, the input image signal 1 is stored in the memory 3 as a pixel value obtained by encoding and decoding the pixels up to the changed pixel. FIG. 8 is a block diagram of the image encoding apparatus according to the fourth embodiment.
FIG. 5 is a diagram for explaining scanning direction switching. The image signal has a correlation in the horizontal and vertical directions, and even in the image coding method according to the related art, compression has been achieved by utilizing such a correlation. Then, regarding the use of the correlation according to the conventional technique, encoding is performed based on only the correlation in either the horizontal direction or the vertical direction, for example, as seen in the case of MMR. . However, when the image is partially viewed, one of the horizontal and vertical correlations may be stronger than the other. For example, when the correlation in the horizontal direction is stronger than the correlation in the vertical direction as shown in FIG. 8, the prediction error of the pixel whose pixel position is changed becomes smaller based on the prediction in the horizontal direction than on the prediction in the vertical direction. , It is possible to further improve the coding efficiency. Therefore, by changing the scanning direction according to the nature of the image and switching between the vertical prediction and the horizontal prediction, the coding efficiency can be greatly improved.

【0085】このように、本実施の形態4の画像符号化
装置では、水平走査器40a、及び40bと、垂直走査
器41a、及び41bと、変化画素検出器2a、及び2
bと、メモリ3と、変化画素予測器4a、及び4bと、
差分値計算器5a及び5bとを備えたものとしたこと
で、水平方向の走査による予測と、垂直方向の走査予測
とを行い、それぞれの予測値と検出結果との差分値を取
得し、モード選択器21と、切り替え器22と、符号化
器8a、及び8bとを備えたものとしたことで、水平方
向の走査による予測と、垂直方向の走査予測との差分値
を比較して、符号長が最小となるものを選択して符号化
することができるので、画像の水平相関と垂直相関とに
ついての局所的な変化を利用することによって、符号化
に必要なビット数を大幅に削減することができる。
As described above, in the image coding apparatus according to the fourth embodiment, the horizontal scanners 40a and 40b, the vertical scanners 41a and 41b, and the change pixel detectors 2a and 2b are used.
b, the memory 3, the change pixel predictors 4a and 4b,
With the provision of the difference value calculators 5a and 5b, prediction by horizontal scanning and scanning prediction in the vertical direction are performed, and a difference value between each predicted value and a detection result is obtained. By providing the selector 21, the switch 22, and the encoders 8a and 8b, the difference between the prediction by horizontal scanning and the prediction by vertical scanning is compared, Since the minimum length can be selected and encoded, the number of bits required for encoding is greatly reduced by utilizing local changes in the horizontal correlation and vertical correlation of an image. be able to.

【0086】なお、本実施の形態4の画像符号化装置に
ついても、入力信号1がブロック単位で入力されるもの
とし、ブロック単位で符号化モードを選択する設定とす
る、すなわち、ブロックごとに水平走査による予測に基
づく符号化と、垂直走査による予測に基づく符号化とを
適応的に切り替えるものとすることができ、上記の効果
が得られる。また、本実施の形態4の画像符号化装置に
ついても、実施の形態2と同様に、変化画素検出器2、
変化画素予測器4a、及び4bが変化画素までの距離
(画素数)を出力するのでなく、画素の変化状態を示す
2値信号を出力する設定とすることも可能であり、同様
に処理負担を軽減することを可能とする。
In the image coding apparatus according to the fourth embodiment as well, it is assumed that the input signal 1 is input in block units, and that the coding mode is selected in block units. The coding based on the prediction based on the scanning and the coding based on the prediction based on the vertical scanning can be adaptively switched, and the above-described effects are obtained. Also, in the image coding apparatus according to the fourth embodiment, similarly to the second embodiment, the changed pixel detector 2,
It is also possible that the change pixel predictors 4a and 4b do not output the distance (the number of pixels) to the change pixel but output a binary signal indicating the change state of the pixel. It is possible to reduce.

【0087】実施の形態5.本発明の実施の形態5によ
る画像復号化装置は、実施の形態4による画像符号化装
置によって効率よく符号化された符号化信号に対して、
適切な復号化を行うものである。図9は本発明の実施の
形態5による画像復号化装置の構成を示すブロック図で
ある。同図において、40b、及び41bは図7と同様
であり、他の符号は図5と同様であって、説明はそれぞ
れ実施の形態4及び実施の形態3と同様であるので、こ
こでは省略する。
Embodiment 5 An image decoding device according to the fifth embodiment of the present invention provides a coded signal efficiently coded by the image coding device according to the fourth embodiment,
It performs appropriate decryption. FIG. 9 is a block diagram showing a configuration of an image decoding apparatus according to Embodiment 5 of the present invention. In this figure, reference numerals 40b and 41b are the same as those in FIG. 7, and other reference numerals are the same as those in FIG. 5, and the description is the same as that of the fourth and third embodiments, respectively. .

【0088】以上の様に構成された、本実施の形態5に
よる画像復号化装置についてその動作を説明する。実施
の形態4による画像符号化装置において、選択した符号
化モードを符号化した信号9aは入力信号30aとして
本実施の形態5の画像復号化装置に入力され、復号化器
31aにおいて復号化されることによって、「水平方
向」、又は「垂直」を示す予測モード信号が取得され
る。復号化器31aは予測モード信号を切り替え器32
に出力する。また、実施の形態4による画像符号化装置
において、選択した差分値を符号化した信号9bは入力
信号30bとして本実施の形態5の画像復号化装置に入
力され、復号化器31bにおいて復号化されることによ
って、復号差分値が取得される。復号化器31bは復号
差分値を差分値加算手段11に出力する。
The operation of the image decoding apparatus according to the fifth embodiment configured as described above will be described. In the image coding apparatus according to the fourth embodiment, the signal 9a obtained by coding the selected coding mode is input to the image decoding apparatus according to the fifth embodiment as an input signal 30a, and is decoded by the decoder 31a. As a result, a prediction mode signal indicating “horizontal direction” or “vertical direction” is obtained. The decoder 31a switches the prediction mode signal to the switch 32
Output to In the image encoding device according to the fourth embodiment, the signal 9b obtained by encoding the selected difference value is input to the image decoding device according to the fifth embodiment as an input signal 30b, and is decoded by the decoder 31b. As a result, a decoding difference value is obtained. The decoder 31b outputs the decoded difference value to the difference value adding means 11.

【0089】一方、水平走査器40bは、メモリ3に蓄
積された当該フレームの符号化及び復号化済みの参照画
像を読みだし、水平方向に走査して変化画素予測器4a
に入力する。変化画素予測器4aは変化画素を予測し、
その結果を予測変化画素として切り替え器22とに出力
する。一方、垂直走査器41bは、メモリ3に蓄積され
た当該フレームの符号化及び復号化済みの参照画像を読
みだし、垂直方向に走査して変化画素予測器4bに入力
する。変化画素予測器4bは変化画素を予測し、その結
果を予測変化画素として切り替え器22とに出力する。
On the other hand, the horizontal scanner 40b reads the encoded and decoded reference image of the frame stored in the memory 3 and scans it in the horizontal direction to change the pixel.
To enter. The change pixel predictor 4a predicts a change pixel,
The result is output to the switch 22 as a predicted change pixel. On the other hand, the vertical scanner 41b reads out the encoded and decoded reference image of the frame stored in the memory 3, scans in the vertical direction, and inputs it to the change pixel predictor 4b. The change pixel predictor 4b predicts a change pixel and outputs the result to the switch 22 as a predicted change pixel.

【0090】変化画素予測器4a、及び4bからそれぞ
れの予測変化画素を出力された切り替え器22は、入力
された予測モード信号に従って切り替えを行う。従っ
て、切り替え器22は、入力された予測モード信号が
「水平方向」を示すものであれば変化画素予測器4aか
ら出力された水平方向走査に基づく予測変化画素を、入
力された予測モード信号が「垂直方向」を示すものであ
れば変化画素予測器4bから出力された垂直方向走査に
基づく予測変化画素を選択して、差分値加算手段11に
出力する。
The switching unit 22, which has output the respective predicted changed pixels from the changed pixel predictors 4a and 4b, switches according to the input prediction mode signal. Accordingly, if the input prediction mode signal indicates the “horizontal direction”, the switching unit 22 determines the predicted change pixel based on the horizontal scanning output from the change pixel predictor 4a and the input prediction mode signal If it indicates “vertical direction”, the predicted change pixel based on the vertical scanning output from the change pixel predictor 4 b is selected and output to the difference value adding means 11.

【0091】差分値加算手段11は、切り替え器22か
ら取得した予測変化画素に対して、復号化器31bから
取得した復号差分値を加算することによって、変化画素
を計算し、その結果を変化画素復号化器10に出力す
る。変化画素復号化器10は、変化画素予測手段4aの
予測変化画素と、差分値加算手段11から得られた変化
画素とに基づいて、その間の画素値を復号化する。この
復号化の結果はメモリ3に入力されて記憶されるととも
に、復号化された画像信号34として、本実施の形態5
の画像復号化装置から出力される。
The difference value adding means 11 calculates a changed pixel by adding the decoded difference value obtained from the decoder 31b to the predicted changed pixel obtained from the switch 22, and calculates the result as a changed pixel. Output to the decoder 10. The changed pixel decoder 10 decodes a pixel value between the predicted changed pixel of the changed pixel prediction unit 4 a and the changed pixel obtained from the difference value adding unit 11 based on the changed pixel. The result of this decoding is input to and stored in the memory 3, and is used as the decoded image signal 34 in the fifth embodiment.
Is output from the image decoding device.

【0092】このように、本実施の形態5による画像復
号化装置では、符号化モードの符号化信号を復号化する
復号化器31aと、差分値の符号化信号を復号化する復
号化器31bと、水平方向走査に基づき変化画素を予測
する変化画素予測手段4aと、垂直方向走査に基づき変
化画素を予測する変化画素予測手段4bと、予測変化画
素に基づいて復号処理を行う差分値加算手段11、及び
変化画素復号化器10とを備え、復号化器31aが取得
する予測モードに応じて、切り替え器が切り替えを行う
ことにより、符号化の際の符号化モードに対応した予測
モードにおいて、水平方向走査に基づく予測値を用いる
復号化と、垂直方向走査に基づく予測値を用いる復号化
を適応的に切り替えて行い、実施の形態4において効率
的に符号化された符号化信号を適切に復号化することが
可能となる。
As described above, in the image decoding apparatus according to the fifth embodiment, the decoder 31a for decoding the coded signal in the coding mode and the decoder 31b for decoding the coded signal of the difference value are provided. A changing pixel prediction unit 4a for predicting a changing pixel based on horizontal scanning, a changing pixel prediction unit 4b for predicting a changing pixel based on vertical scanning, and a difference value adding unit for performing a decoding process based on the predicted changing pixel 11 and the changing pixel decoder 10, and the switch performs switching in accordance with the prediction mode obtained by the decoder 31a, so that in the prediction mode corresponding to the encoding mode at the time of encoding, The decoding using the prediction value based on the horizontal scanning and the decoding using the prediction value based on the vertical scanning are adaptively switched to perform decoding efficiently. It is possible to properly decode the Goka signal.

【0093】なお、本実施の形態5においては、実施の
形態3において、図5に示した構成に準じた構成を有す
る画像復号化装置として説明したが、実施の形態3にお
いて図6に示した構成に準じたものとすることも、ま
た、同実施の形態において説明したように、切り替え器
が変化画素復号化器の出力を受けるものとする構成とす
ることも可能であり、同様に適切な復号化を行うことが
できる。また、実施の形態5において、ブロック単位で
符号化モードを選択して符号化された符号化信号を処理
する場合にも、ブロック単位で信号を入力し、ブロック
ごとに、予測モードを取得して符号化モードに対応した
処理を行うことにより、適切に復号化することが可能で
ある。
In the fifth embodiment, an image decoding apparatus having a configuration similar to the configuration shown in FIG. 5 in the third embodiment has been described. However, in the third embodiment, an image decoding apparatus shown in FIG. It is also possible to adopt a configuration that conforms to the configuration, or a configuration in which the switch receives the output of the changing pixel decoder, as described in the embodiment. Decryption can be performed. Also, in the fifth embodiment, when an encoding mode is selected in units of blocks and an encoded signal is processed, a signal is input in units of blocks, and a prediction mode is acquired for each block. By performing the processing corresponding to the encoding mode, it is possible to appropriately decode.

【0094】実施の形態6.本発明の実施の形態6によ
る画像符号化装置は、多値画像信号を効率良く符号化す
るものである。図10は本発明の実施の形態6による画
像符号化装置の構成を示すブロック図である。同図にお
いて、入力信号1aは多値画像信号として本実施の形態
6の画像符号化装置に入力される。8a、及び8bは符
号化器である。このように、多値信号が入力され、処理
される点と、符号化器を2つ備える構成である点とが実
施の形態1と異なり、他は図1と同様であって、説明は
実施の形態1と同様であるので、ここでは省略する。
Embodiment 6 FIG. The image coding apparatus according to the sixth embodiment of the present invention efficiently codes a multi-level image signal. FIG. 10 is a block diagram showing a configuration of an image encoding device according to Embodiment 6 of the present invention. In the figure, an input signal 1a is input as a multi-level image signal to the image coding apparatus according to the sixth embodiment. 8a and 8b are encoders. As described above, the point that a multi-level signal is input and processed and the point that the configuration is provided with two encoders are different from the first embodiment, and the other points are the same as those in FIG. Since it is the same as the first embodiment, the description is omitted here.

【0095】以上の様に構成された、本実施の形態6に
よる画像符号化装置についてその動作を説明する。入力
信号1aが入力されると、変化画素検出器2はこの多値
入力信号に対して、最終符号化復号化位置の画素値と、
当該位置に後続する位置の画素値とを比較し、各画素ご
とに「変化あり」又は「変化なし」の判定をする。そし
て「変化あり」と判定される画素の数である変化画素数
を計算して、変化画素数を所定の値と比較する。ここで
は所定値が60であるものとする。「変化あり」と判定
され、変化画素数が60以上となった画素を変化画素と
判断し、その変化画素の画素値と位置とを検出変化画素
として差分値計算器5、変化画素復号器10、及び符号
化器8aに出力する。
The operation of the image coding apparatus according to the sixth embodiment configured as described above will be described. When the input signal 1a is input, the changing pixel detector 2 calculates the pixel value of the final encoding / decoding position with respect to the multi-valued input signal,
The pixel value of the position subsequent to the position is compared with the pixel value, and “change” or “no change” is determined for each pixel. Then, the number of changed pixels, which is the number of pixels determined to be “changed”, is calculated, and the number of changed pixels is compared with a predetermined value. Here, it is assumed that the predetermined value is 60. A pixel which has been determined to be “changed” and whose number of changed pixels is equal to or greater than 60 is determined to be a changed pixel, and the pixel value and position of the changed pixel are used as a detected changed pixel as a difference value calculator 5 and a changed pixel decoder 10. , And to the encoder 8a.

【0096】また変化画素予測器4は、メモリ3に蓄積
された当該フレームの符号化復号化済の参照画像を読み
だし、これに基づいて、変化画素を予測し、この予測を
予測変化画素として差分値計算器5、差分値加算器1
1、及び変化画素復号化手段に出力する。差分値計算器
5は検出変化画素から予測変化画素を減算して得られた
差分値を符号化器8bと、差分値加算器11とに出力す
る。差分値加算器11は、入力された予測変化画素と差
分値を加算して、変化画素復号器10に出力し、変化画
素復号化器10は、入力に基づいて変化画素までの画素
値および変化画素の画素値を復号化してメモリ3に記憶
する。符号化器8aと8bとは、それぞれ入力された変
化画素の画素値と、差分値とを符号化し、符号化信号9
a、及び9bを出力する。このように、本実施の形態6
による画像符号化装置では、実施の形態1と同様の構成
において、画素ごとに変化の有無を調べて「変化あり」
と判定される画素の数を計算し、しきい値以上の個数の
画素が「変化あり」と判定されることとなった画素を変
化画素と判断することにより、2値画像のみでなく多値
画像についても同様の符号化を可能とすることができ
る。
The changed pixel predictor 4 reads the encoded and decoded reference image of the frame stored in the memory 3 and predicts a changed pixel based on the read reference image, and uses this prediction as a predicted changed pixel. Difference value calculator 5, Difference value adder 1
1 and output to the changing pixel decoding means. The difference value calculator 5 outputs a difference value obtained by subtracting the predicted change pixel from the detected change pixel to the encoder 8b and the difference value adder 11. The difference value adder 11 adds the input prediction change pixel and the difference value and outputs the result to the change pixel decoder 10. The change pixel decoder 10 determines the pixel value and the change up to the change pixel based on the input. The pixel value of the pixel is decoded and stored in the memory 3. The encoders 8a and 8b encode the input pixel values of the changed pixels and the difference values, respectively, and
a and 9b are output. Thus, the sixth embodiment
In the image coding apparatus according to the first embodiment, in the same configuration as in the first embodiment, the presence or absence of a change is checked for each pixel,
By calculating the number of pixels that are determined to be “changed”, and determining the pixels whose number is equal to or greater than the threshold value to be determined to be “changed” as changed pixels, not only the binary image but also multi-valued Similar encoding can be performed on an image.

【0097】実施の形態7.本発明の実施の形態7によ
る画像復号化装置は、実施の形態6による画像符号化装
置によって符号化された符号化信号に対して、復号化を
行って多値の画像信号を得るものである。図11は本発
明の実施の形態7による画像復号化装置の構成を示すブ
ロック図である。同図において、復号化器31aは、変
化画素の画素値を符号化した符号化信号に対して復号化
を行い、復号化器31bは、予測差分値を符号化した符
号化信号を復号化する。他は図5と同様であって、説明
は実施の形態3と同様であるので、ここでは省略する。
Embodiment 7 FIG. An image decoding apparatus according to the seventh embodiment of the present invention is to decode a coded signal coded by the image coding apparatus according to the sixth embodiment to obtain a multi-valued image signal. . FIG. 11 is a block diagram showing a configuration of an image decoding device according to Embodiment 7 of the present invention. In the figure, a decoder 31a decodes a coded signal obtained by coding a pixel value of a changed pixel, and a decoder 31b decodes a coded signal obtained by coding a prediction difference value. . The other parts are the same as those in FIG.

【0098】以上の様に構成された、本実施の形態7に
よる画像復号化装置についてその動作を説明する。実施
の形態6による画像符号化装置において、変化画素の画
素値を符号化した信号9aは入力信号30aとして本実
施の形態7の画像復号化装置に入力され、復号化器31
aにおいて復号化されることによって、復号画素値が得
られ、この復号画素値は変化画素復号化器10に入力さ
れる。また、実施の形態6による画像符号化装置におい
て、予測差分値を符号化した信号9bは入力信号30b
として本実施の形態7の画像復号化装置に入力され、復
号化器31bにおいて復号化されることによって、復号
差分値が得られ、この復号差分値は差分値加算器11に
入力される。
The operation of the image decoding apparatus according to the seventh embodiment, configured as described above, will be described. In the image coding apparatus according to the sixth embodiment, the signal 9a obtained by coding the pixel value of the changed pixel is input to the image decoding apparatus according to the seventh embodiment as an input signal 30a,
By decoding at a, a decoded pixel value is obtained, and this decoded pixel value is input to the changing pixel decoder 10. In the image coding apparatus according to Embodiment 6, the signal 9b obtained by coding the prediction difference value is the input signal 30b.
Is input to the image decoding apparatus according to the seventh embodiment, and is decoded by the decoder 31b to obtain a decoding difference value. The decoding difference value is input to the difference value adder 11.

【0099】一方、変化画素予測器4はメモリ3に蓄積
された復号化済みの参照画像を読みだし、該画像信号に
基づいて変化画素を予測し、その結果を予測変化画素と
して変化画素復号化器10と、差分値加算器11とに出
力する。差分値加算器11は、入力された予測変化画素
と差分値とを加算して、変化画素復号器10に出力し、
変化画素復号化器10は、入力に基づいて変化画素まで
の画素値および変化画素の画素値を復号化して多値画像
信号34として出力するとともに、メモリ3に記憶す
る。このように、本実施の形態7による画像復号化装置
では、変化画素の画素値を符号化した符号化信号に対し
て復号化を行う復号化器31aと、予測差分値を符号化
した符号化信号に対して復号化を行う復号化器31bと
を備えたことで、実施の形態6による画像符号化装置に
おいて符号化された符号化信号を適切に復号化して多値
の画像信号を得ることが可能となる。
On the other hand, the changed pixel predictor 4 reads the decoded reference image stored in the memory 3, predicts a changed pixel based on the image signal, and uses the result as a predicted changed pixel to decode the changed pixel. And a difference value adder 11. The difference value adder 11 adds the input predicted change pixel and the difference value, and outputs the result to the change pixel decoder 10.
The changing pixel decoder 10 decodes the pixel value up to the changing pixel and the pixel value of the changing pixel based on the input, outputs the decoded value as the multi-valued image signal 34, and stores it in the memory 3. As described above, in the image decoding device according to the seventh embodiment, the decoder 31a that decodes the encoded signal obtained by encoding the pixel value of the changed pixel and the encoding that encodes the prediction difference value With the provision of the decoder 31b for decoding the signal, the multi-level image signal is obtained by appropriately decoding the coded signal coded by the image coding apparatus according to the sixth embodiment. Becomes possible.

【0100】実施の形態8.本発明の実施の形態8によ
る画像符号化装置は、画像を合成する際の比率を示す透
過度信号と、画素値信号とからなる画像信号を入力信号
とし、参照画像を参照して、この入力信号を符号化する
ものである。図12は、本発明の実施の形態8による画
像符号化装置の構成を示すブロック図である。同図にお
いて、60aは画素値信号、60bは透過度信号であ
り、画像信号を構成するものであって、それぞれ本実施
の形態8の画像符号化装置に入力信号として入力され
る。61はメモリであり、参照画像として用いる符号化
及び復号化済みの画像信号等のデータを一時的に記憶す
る。62a、及び62bは、動き検出器であり、参照画
像に対して動き検出を行い、動きベクトルを出力する。
63a、及び63bは動き補償器であり、符号化復号化
済の参照フレームの画像信号に対して、動き補償を行っ
て参照画素値を生成する。64a、及び64bは、差分
値計算器であり、入力信号と、動き補償を伴った信号と
の差分を計算して差分値を出力する。65aと67bは
符号化器であり、動きベクトルの符号化を行う。67a
と65bは符号化器であり、差分値の符号化を行う。6
6aと68bは符号化信号であり、動きベクトルを符号
化したものである。67aと65bは符号化化信号であ
り、差分値を符号化したものである。
Embodiment 8 FIG. The image coding apparatus according to the eighth embodiment of the present invention uses an image signal composed of a transmittance signal indicating a ratio when combining images and a pixel value signal as an input signal, It encodes the signal. FIG. 12 is a block diagram illustrating a configuration of an image encoding device according to Embodiment 8 of the present invention. In the figure, reference numeral 60a denotes a pixel value signal, and 60b denotes a transmittance signal, which constitutes an image signal, and is input to the image encoding apparatus according to the eighth embodiment as an input signal. Reference numeral 61 denotes a memory which temporarily stores data such as an encoded and decoded image signal used as a reference image. 62a and 62b are motion detectors that perform motion detection on the reference image and output a motion vector.
63a and 63b are motion compensators, which perform motion compensation on the image signal of the encoded and decoded reference frame to generate a reference pixel value. 64a and 64b are difference value calculators that calculate the difference between the input signal and the signal with motion compensation and output the difference value. Encoders 65a and 67b encode motion vectors. 67a
And 65b are encoders for encoding the difference values. 6
6a and 68b are coded signals obtained by coding motion vectors. 67a and 65b are coded signals obtained by coding the difference values.

【0101】以上の様に構成された、本実施の形態8に
よる画像符号化装置についてその動作を説明する。画像
信号は、画素値信号60aと透過度信号60bとして、
本実施の形態8の画像符号化装置に入力される。ここ
で、透過度信号とは、従来技術の説明において用いた図
53(b)に示すものであって、他の画像と合成する際
に、各画素をどのような比率で合成するかを表すもので
ある。画素値信号60aは、メモリ61、動き検出器6
2a、及び差分値計算手段64aに入力され、透過度信
号60bは、メモリ61、動き検出器62b、及び差分
値計算手段64bに入力される。
The operation of the image coding apparatus according to the eighth embodiment configured as described above will be described. The image signal includes a pixel value signal 60a and a transmittance signal 60b.
This is input to the image encoding device according to the eighth embodiment. Here, the transmittance signal is a signal shown in FIG. 53 (b) used in the description of the related art, and represents a ratio at which each pixel is combined when combined with another image. Things. The pixel value signal 60a is stored in the memory 61, the motion detector 6
2a and the difference value calculation means 64a, and the transmittance signal 60b is input to the memory 61, the motion detector 62b, and the difference value calculation means 64b.

【0102】動き検出器62a、及び62bは、それぞ
れ入力された信号と、メモリ61から読み出した参照画
像の有する符号化済みの画素値とについて比較をするこ
とで動き検出を行い、計算によりそれぞれの信号の動き
ベクトルを取得する。動き検出器62aで取得された画
素値信号の動きベクトルは、符号化器65a、動き補償
器63a、及びメモリ61に出力される。動き補償器6
3aは、画素値信号の動きベクトルで示される画素値を
メモリ61から読み出して画素値信号の動き補償値を差
分値計算器64aに出力する。
The motion detectors 62a and 62b perform motion detection by comparing the input signal with the coded pixel value of the reference image read from the memory 61, and calculate the respective signals. Get the motion vector of the signal. The motion vector of the pixel value signal obtained by the motion detector 62a is output to the encoder 65a, the motion compensator 63a, and the memory 61. Motion compensator 6
3a reads the pixel value indicated by the motion vector of the pixel value signal from the memory 61 and outputs the motion compensation value of the pixel value signal to the difference value calculator 64a.

【0103】差分値計算器64aは入力画素値信号と、
動き補償値の差分値を計算によって取得し、これを符号
化器67aに出力する。画素値信号の動きベクトルは符
号化器65aで符号化されて符号化信号66aになり、
差分値は符号化器67aで符号化されて符号化信号68
aになる。同様に、動き検出器62bで取得された透過
度信号の動きベクトルは、符号化器67b、動き補償器
63b、及びメモリ61に出力される。動き補償器63
bは、透過度信号の動き補償を行い、取得した動き補償
値を差分値計算器64aに出力する。そして、差分値計
算器64bは64aと同様に取得した差分値を符号化器
67aに出力する。画素値信号と同様に、透過度信号の
動きベクトルは符号化器67bで符号化されて符号化信
号68bになり、差分値は符号化器65bで符号化され
て符号化信号66bになる。本実施の形態8は可逆符号
化の例であり、符号化した入力信号はメモリ61に記憶
されて、後続の画像信号に対しての符号化に使用される
(図示せず)。
The difference value calculator 64a calculates the input pixel value signal,
The difference value of the motion compensation value is obtained by calculation, and is output to the encoder 67a. The motion vector of the pixel value signal is encoded by an encoder 65a to become an encoded signal 66a,
The difference value is encoded by the encoder 67a to generate an encoded signal 68.
a. Similarly, the motion vector of the transmittance signal acquired by the motion detector 62b is output to the encoder 67b, the motion compensator 63b, and the memory 61. Motion compensator 63
b performs motion compensation on the transmittance signal and outputs the obtained motion compensation value to the difference value calculator 64a. Then, the difference value calculator 64b outputs the obtained difference value to the encoder 67a as in the case of 64a. Similarly to the pixel value signal, the motion vector of the transparency signal is encoded by an encoder 67b to become an encoded signal 68b, and the difference value is encoded by an encoder 65b to become an encoded signal 66b. The eighth embodiment is an example of lossless encoding, in which an encoded input signal is stored in a memory 61 and used for encoding a subsequent image signal (not shown).

【0104】このように、本実施の形態8による画像符
号化装置では、画素値信号60aの処理を行う動き検出
器62a、動き補償器63a、差分値計算器64a、符
号化器65a、及び符号化器67aと、透過度信号60
bの処理を行う動き検出器62b、動き補償器63b、
差分値計算器64b、符号化器65b、及び符号化器6
7bとを備えたことで、画素値信号60aと透過度信号
60bとのそれぞれに対して、別個に動き検出を行って
動きベクトルを取得し、動き補償を行うことが可能とな
る。
As described above, in the image coding apparatus according to the eighth embodiment, the motion detector 62a for processing the pixel value signal 60a, the motion compensator 63a, the difference value calculator 64a, the encoder 65a, and the code And the transmittance signal 60
b, a motion detector 62b, a motion compensator 63b,
Difference value calculator 64b, encoder 65b, and encoder 6
7b, it is possible to separately perform motion detection on each of the pixel value signal 60a and the transmittance signal 60b to obtain a motion vector, and perform motion compensation.

【0105】従来技術の説明において述べたように、従
来の技術による画像符号化では、形状情報と画素値情報
とからなる画像を符号化する場合、画像の合成に使用さ
れる形状情報については、符号化効率の向上のため、画
素値情報の動きベクトルを使用して形状情報の動き補償
符号化を行うものであった。従って、本実施の形態8の
入力画像信号のような信号を符号化する場合、画素値信
号の動きベクトルを用いて、透過度信号の動き補償符号
化を行うこととなる。しかし、透過度信号は物体の形状
を表す信号であるが、その動きベクトルは必ずしも画素
値信号の動きベクトルと一致するものではない。回転す
る円盤の形状は不変であるが、円盤に描かれた絵柄は移
動する場合がその例である。従って、かかる場合には画
素値信号の動きベクトルと、透過度信号の動きベクトル
との差が大きいことから、画素値信号の動きベクトルを
用いて透過度信号の動き補償を行った場合の動き誤差が
大きくなり、差分値の符号化長が長くなって符号化効率
が低下することとなる。
As described in the description of the prior art, in the conventional image coding, when an image composed of shape information and pixel value information is encoded, the shape information used for synthesizing the image is as follows. In order to improve coding efficiency, motion compensation coding of shape information is performed using a motion vector of pixel value information. Therefore, when encoding a signal such as the input image signal according to the eighth embodiment, the motion compensation encoding of the transparency signal is performed using the motion vector of the pixel value signal. However, although the transmittance signal is a signal indicating the shape of the object, its motion vector does not always match the motion vector of the pixel value signal. An example is the case where the shape of the rotating disk is unchanged, but the pattern drawn on the disk moves. Therefore, in such a case, since the difference between the motion vector of the pixel value signal and the motion vector of the transparency signal is large, the motion error when the motion compensation of the transparency signal is performed using the motion vector of the pixel value signal is performed. Becomes large, the coding length of the difference value becomes long, and the coding efficiency decreases.

【0106】これに対して、本実施の形態8の画像符号
化装置は、透過度信号に対しては、画素値信号の動きベ
クトルとは別に検出した動きベクトルを用いて動き補償
することにより、入力透過度信号に対して動き補償信号
により精度良く近似することができ、動き補償誤差が小
さくなることから、符号化効率が向上する。なお、本実
施の形態8の画像符号化装置についても、入力信号がブ
ロック単位で入力されるものとし、ブロック単位で動き
補償と符号化を行う設定とすることができ、上記の効果
が得られる。
On the other hand, the image coding apparatus according to the eighth embodiment performs motion compensation on the transparency signal by using a motion vector detected separately from the motion vector of the pixel value signal. The input transparency signal can be more accurately approximated by the motion compensation signal, and the motion compensation error is reduced, so that the coding efficiency is improved. In the image coding apparatus according to the eighth embodiment as well, it is assumed that the input signal is input in units of blocks, and the settings can be made such that motion compensation and coding are performed in units of blocks. .

【0107】実施の形態9.本発明の実施の形態9によ
る画像符号化装置は、実施の形態8と同様に、透過度信
号と、画素値信号とからなる画像信号を入力信号とし、
参照画像を参照して、この入力信号を符号化するもので
ある。図13は、本発明の実施の形態8による画像符号
化装置の構成を示すブロック図である。同図において、
符号は図12と同じものであり、説明は実施の形態8と
同様である。本実施の形態9による画像符号化装置で
は、画素値信号60aに対する動き検出器62aが、取
得した画素値信号の動きベクトルを透過度信号60bに
対する動き検出器62bに出力し、動き検出器62b
は、入力された画素値信号の動きベクトルの近傍におい
て、透過度信号の動き検出を行う点が実施の形態8によ
る画像符号化装置との構成の相違である。
Embodiment 9 FIG. The image coding apparatus according to the ninth embodiment of the present invention, similarly to the eighth embodiment, takes an image signal including a transmittance signal and a pixel value signal as an input signal,
This input signal is encoded with reference to a reference image. FIG. 13 is a block diagram showing a configuration of an image encoding device according to Embodiment 8 of the present invention. In the figure,
The reference numerals are the same as those in FIG. 12, and the description is the same as in the eighth embodiment. In the image coding apparatus according to the ninth embodiment, the motion detector 62a for the pixel value signal 60a outputs the obtained motion vector of the pixel value signal to the motion detector 62b for the transparency signal 60b, and the motion detector 62b
Is different from the image coding apparatus according to the eighth embodiment in that the motion detection of the transmittance signal is performed in the vicinity of the motion vector of the input pixel value signal.

【0108】また、本実施の形態9よる画像符号化装置
の動作についても、動き検出器62aが上述の出力を行
い、動き検出器62bが上述の検出をする点以外は、実
施の形態8のものと同様の動作となる。このように、本
実施の形態9による画像符号化装置では、実施の形態8
の構成に基づき、画素値信号60aに対する動き検出器
62aが、取得した画素値信号の動きベクトルを透過度
信号60bに対する動き検出器62bに出力し、動き検
出器62bは、入力された画素値信号の動きベクトルの
近傍において、透過度信号の動き検出を行うものとした
ことで、透過度信号の動き検出にあたり、画素値信号に
おける動き検出の結果を用いるものである。
The operation of the image coding apparatus according to the ninth embodiment is the same as that of the eighth embodiment except that the motion detector 62a performs the above-described output and the motion detector 62b performs the above-described detection. The operation is similar to that of the first embodiment. As described above, in the image encoding device according to the ninth embodiment, the
The motion detector 62a for the pixel value signal 60a outputs the motion vector of the acquired pixel value signal to the motion detector 62b for the transmittance signal 60b, and the motion detector 62b Since the motion detection of the transmittance signal is performed in the vicinity of the motion vector, the motion detection of the pixel value signal is used for the motion detection of the transmittance signal.

【0109】画素値信号と透過度信号との動きベクトル
は、実施の形態8に示した例のように大きく異なるもの
であることもあるが、多くの画像ではほぼ一致する。そ
こで、透過度信号の動きベクトルを検出する際に、画素
値信号の動きベクトル近傍でのみ透過度信号の動きベク
トルを検出すれば、画素値信号と全く独立に行う場合に
比べて動き検出に必要な計算回数を削減することができ
る。なお、画素値信号と独立に動き検出する場合と比較
すると、選択可能な動きベクトル数が制限されているの
で透過度信号の動き補償誤差については多少増加するこ
ととなるが、その割合はわずかである。従って、本実施
の形態9の画像符号化装置では、実施の形態8と同様
に、各信号に対して適切な動き補償を行うことにより、
符号化効率の向上を図るとともに、動き検出の計算回数
を削減することができる。
Although the motion vector between the pixel value signal and the transmittance signal may be greatly different from each other as in the example shown in the eighth embodiment, they are almost the same in many images. Therefore, when detecting the motion vector of the transparency signal, if the motion vector of the transmittance signal is detected only in the vicinity of the motion vector of the pixel value signal, it is necessary for the motion detection as compared with the case where the motion vector of the transparency signal is performed completely independently. It is possible to reduce the number of necessary calculations. As compared with the case where motion detection is performed independently of the pixel value signal, the number of selectable motion vectors is limited, so that the motion compensation error of the transmittance signal slightly increases, but the ratio is slightly small. is there. Therefore, in the image coding apparatus according to the ninth embodiment, similar to the eighth embodiment, by performing appropriate motion compensation on each signal,
The encoding efficiency can be improved, and the number of calculations for motion detection can be reduced.

【0110】なお、本実施の形態9の画像符号化装置で
は、透過度信号の動き検出にあたり、画素値信号の動き
ベクトルを用いるものとしたが、図12に示した実施の
形態8による画像符号化装置の構成に基づき、透過度信
号60bに対する動き検出器62bが、取得した透過度
信号の動きベクトルを画素値信号60aに対する動き検
出器62aに出力し、動き検出器62aは、入力された
透過度信号の動きベクトルの近傍において、画素値信号
の動き検出を行うものとして、画素値信号の動き検出に
あたり、透過度信号における動き検出の結果を用いるも
のとした構成とすることも可能であり、やはり動き検出
の計算回数の削減を図ることができる。また、設定によ
りブロック単位での符号化が可能である点は、実施の形
態8と同様である。
In the image encoding apparatus according to the ninth embodiment, the motion vector of the pixel value signal is used to detect the motion of the transparency signal. However, the image encoding apparatus according to the eighth embodiment shown in FIG. The motion detector 62b for the transparency signal 60b outputs the motion vector of the acquired transparency signal to the motion detector 62a for the pixel value signal 60a based on the configuration of the conversion device, and the motion detector 62a In the vicinity of the motion vector of the degree signal, it is also possible to perform the motion detection of the pixel value signal, and to detect the motion of the pixel value signal, it is also possible to adopt a configuration in which the result of the motion detection in the transparency signal is used, Again, the number of calculations for motion detection can be reduced. Further, it is similar to the eighth embodiment in that encoding can be performed in block units by setting.

【0111】実施の形態10.本発明の実施の形態10
による画像符号化装置は、実施の形態8、及び9と同様
に、透過度信号と、画素値信号とからなる画像信号を入
力信号とし、参照画像を参照して、この入力信号を符号
化するものである。図13は、本発明の実施の形態10
による画像符号化装置の構成を示すブロック図である。
同図において、70は動きベクトルの差分計算器であ
り、動き検出器62aから取得する画素値信号の動きベ
クトルと、動き検出器62bから取得する透過度信号の
動きベクトルとの差分ベクトルを取得する。符号化器6
7bは実施の形態8では透過度信号の動きベクトルを符
号化したが、本実施の形態10では、差分値計算器70
が取得する動きベクトルの差分ベクトルを符号化する。
他の符号は図12と同じものであり、説明は実施の形態
8と同様である。本実施の形態10による画像符号化装
置の動作については、動き検出器62a、及び62bが
動きベクトルを差分値計算器70に出力し、差分値計算
器70が上述の差分ベクトルを取得して符号化器67b
に出力し、符号化器67bが動きベクトルの差分ベクト
ルを符号化する点以外は、実施の形態8のものと同様の
動作となる。
Embodiment 10 FIG. Embodiment 10 of the present invention
, As in the eighth and ninth embodiments, takes an image signal composed of a transmittance signal and a pixel value signal as an input signal, and encodes the input signal with reference to a reference image. Things. FIG. 13 shows Embodiment 10 of the present invention.
1 is a block diagram illustrating a configuration of an image encoding device according to the present invention.
In the figure, reference numeral 70 denotes a motion vector difference calculator that obtains a difference vector between a motion vector of a pixel value signal obtained from the motion detector 62a and a motion vector of a transmittance signal obtained from the motion detector 62b. . Encoder 6
7b encodes the motion vector of the transparency signal in the eighth embodiment, but in the tenth embodiment, the difference value calculator 70b encodes the motion vector.
Encodes the difference vector of the motion vector acquired by.
Other symbols are the same as those in FIG. 12, and the description is the same as in the eighth embodiment. Regarding the operation of the image coding apparatus according to the tenth embodiment, the motion detectors 62a and 62b output the motion vector to the difference value calculator 70, and the difference value calculator 70 Gasifier 67b
, And the operation is the same as that of the eighth embodiment except that the encoder 67b encodes the difference vector of the motion vector.

【0112】このように、本実施の形態10の画像符号
化装置では、実施の形態8の画像符号化装置の構成に基
づき、動きベクトルの差分値計算器70を追加した構成
とすることで、透過度信号の動きベクトルを符号化する
代わりに、画素値信号の動きベクトルと透過度信号の動
きベクトルとの差分ベクトルを符号化する。実施の形態
9において説明したように両信号の動きベクトルは相関
がある場合が多いので、両信号の動きベクトルの差分ベ
クトルを符号化すれば、差分ベクトルの生起頻度が0ベ
クトル近傍に集中する。その結果、0ベクトル近傍の差
分ベクトルに短い符号長の符号を割り当てる可変長符号
化を行うことにより、符号化効率が向上し、より少ない
ビット数で符号化することが可能になる。
As described above, the image coding apparatus according to the tenth embodiment has a configuration in which the motion vector difference value calculator 70 is added based on the configuration of the image coding apparatus according to the eighth embodiment. Instead of encoding the motion vector of the transparency signal, a difference vector between the motion vector of the pixel value signal and the motion vector of the transparency signal is encoded. As described in the ninth embodiment, since the motion vectors of both signals often have a correlation, if the difference vector between the motion vectors of both signals is encoded, the frequency of occurrence of the difference vector is concentrated near the zero vector. As a result, by performing variable length coding in which a code having a short code length is assigned to a difference vector near the 0 vector, coding efficiency is improved, and coding can be performed with a smaller number of bits.

【0113】なお、本実施の形態10の画像符号化装置
では、透過度信号の動きベクトルを符号化する代わり
に、両信号の動きベクトルの差分ベクトルを符号化する
ものとしたが、差分値計算器70が取得した差分ベクト
ルを符号化器67bでなく65aに出力する構成も可能
であり、画素値信号の動きベクトルを符号化する代わり
に、両信号の動きベクトルの差分ベクトルを符号化する
ことで、同様の効果を得ることが可能となる。また、設
定によりブロック単位での符号化が可能である点は、実
施の形態8と同様である。
In the image coding apparatus according to the tenth embodiment, instead of coding the motion vector of the transparency signal, the difference vector between the motion vectors of the two signals is coded. It is also possible to output the difference vector obtained by the unit 70 to the encoder 65b instead of the encoder 67b. Instead of encoding the motion vector of the pixel value signal, it is possible to encode the difference vector of the motion vector of both signals. Thus, a similar effect can be obtained. Further, it is similar to the eighth embodiment in that encoding can be performed in block units by setting.

【0114】実施の形態11.本発明の実施の形態11
による画像復号化装置は、実施の形態8による画像符号
化装置によって効率よく符号化された符号化信号に対し
て、適切な復号化を行うものである。図15は本発明の
実施の形態11による画像復号化装置の構成を示すブロ
ック図である。同図において、82a、及び82bは、
図12の符号化信号68a、及び66bに対応する符号
化信号であり、画素値信号、及び透過度信号それぞれの
差分値を符号化した信号である。80a、及び80b
は、図12の符号化信号66a、及び68bに対応する
符号化信号であり、画素値信号、及び透過度信号それぞ
れの動きベクトルを符号化した信号である。83a、及
び83bは復号化器であって、画素値信号、及び透過度
信号それぞれの差分値の符号化信号を復号化して、画素
値信号、及び透過度信号の復号差分値を出力する。81
a、及び81bは復号化器であって、画素値信号、及び
透過度信号それぞれの動きベクトルの符号化信号を復号
化して、画素値信号、及び透過度信号の復号動きベクト
ルを出力する。61はメモリであり、参照画像として用
いる符号化及び復号化済みの画像信号等のデータを一時
的に記憶する。63a、及び63bは動き補償器であ
り、復号動きベクトルを用いて動き補償を行う。84
a、及び84bは差分値加算器であり、復号差分値を用
いて加算処理を行う。85a、及び85bはは復号化さ
れた画像信号である。
Embodiment 11 FIG. Embodiment 11 of the present invention
The image decoding apparatus according to the present invention performs appropriate decoding on the encoded signal efficiently encoded by the image encoding apparatus according to the eighth embodiment. FIG. 15 is a block diagram showing a configuration of an image decoding device according to Embodiment 11 of the present invention. In the figure, 82a and 82b are:
This is a coded signal corresponding to the coded signals 68a and 66b in FIG. 12, and is a signal obtained by coding a difference value between each of the pixel value signal and the transmittance signal. 80a and 80b
Is a coded signal corresponding to the coded signals 66a and 68b in FIG. 12, and is a signal obtained by coding the motion vector of each of the pixel value signal and the transmittance signal. Decoders 83a and 83b decode the coded signals of the difference values of the pixel value signal and the transmittance signal, and output decoded difference values of the pixel value signal and the transmittance signal. 81
Decoders a and 81b decode the coded signals of the motion vectors of the pixel value signal and the transparency signal, and output decoded motion vectors of the pixel value signal and the transparency signal. Reference numeral 61 denotes a memory which temporarily stores data such as an encoded and decoded image signal used as a reference image. 63a and 63b are motion compensators that perform motion compensation using decoded motion vectors. 84
Reference numerals a and 84b denote difference value adders, which perform addition processing using the decoded difference values. 85a and 85b are decoded image signals.

【0115】以上の様に構成された、本実施の形態11
による画像復号化装置についてその動作を説明する。実
施の形態8による画像符号化装置において、画素値信
号、及び透過度信号それぞれの差分値を符号化した信号
68a、及び66bは、入力信号82a、及び82bと
して本実施の形態11による画像復号化装置に入力さ
れ、復号化器83a、及び83bによって復号化され、
画素値信号、及び透過度信号の復号差分値として、差分
値加算器84a、及び84bに出力される。また、実施
の形態8による画像符号化装置において、画素値信号、
及び透過度信号それぞれの動きベクトルを符号化した信
号66a、及び68bは、入力信号80a、及び80b
として本実施の形態11による画像復号化装置に入力さ
れ、復号化器81a、及び81bによって復号化され、
画素値信号、及び透過度信号の復号動きベクトルして、
動き補償器63a、及び63bに出力される。
The eleventh embodiment configured as described above
The operation of the image decoding apparatus according to the above will be described. In the image coding apparatus according to the eighth embodiment, signals 68a and 66b obtained by coding the difference values between the pixel value signal and the transmittance signal are used as the input signals 82a and 82b in the image decoding according to the eleventh embodiment. Input to the device and decoded by decoders 83a and 83b,
The decoded difference values of the pixel value signal and the transmittance signal are output to difference value adders 84a and 84b. Further, in the image encoding device according to Embodiment 8, the pixel value signal,
66a and 68b obtained by encoding the motion vector of each of the input signals 80a and 80b
Is input to the image decoding apparatus according to the eleventh embodiment, and is decoded by the decoders 81a and 81b.
Pixel value signal, and the decoded motion vector of the transparency signal,
It is output to the motion compensators 63a and 63b.

【0116】動き補償器63a、及び63bは、それぞ
れ入力された動きベクトルで示される画素値をメモリ6
1から読み出して、動き補償を行い、動き補償値を差分
値加算器84a、及び84bに出力する。差分値加算器
84a、及び84bは、それぞれ入力された復号差分値
と動き補償値とを加算処理し、復号化された画像信号8
5a、及び85bとして出力するとともに、メモリ61
において記憶されることとなる。
The motion compensators 63a and 63b store the pixel values indicated by the input motion vectors in the memory 6 respectively.
1 and performs motion compensation, and outputs the motion compensation value to the difference value adders 84a and 84b. The difference value adders 84a and 84b respectively perform an addition process on the input decoded difference value and the motion compensation value, and
5a and 85b, and the memory 61
Will be stored.

【0117】このように、本実施の形態11による画像
復号化装置では、画素値信号の符号化信号の処理を行う
復号化器81a、及び復号化器83a、動き補償器63
a、差分値計算器84aと、透過度信号の符号化信号の
処理を行う復号化器81b、及び復号化器83b、動き
補償器63b、差分値計算器84bを備えたことで、画
素値信号の符号化信号80a、及び82aと、透過度信
号の符号化信号80b、及び82bとのそれぞれに対し
て、別個に復号化処理を行うことが可能となり、適切に
復号化して画像信号を得ることが可能となる。
As described above, in the image decoding apparatus according to the eleventh embodiment, the decoder 81a, the decoder 83a, and the motion compensator 63 for processing the coded signal of the pixel value signal.
a, a difference value calculator 84a, a decoder 81b for processing an encoded signal of a transparency signal, and a decoder 83b, a motion compensator 63b, and a difference value calculator 84b, so that a pixel value signal Of the coded signals 80a and 82a and the coded signals 80b and 82b of the transparency signal can be separately decoded, and an image signal can be obtained by performing appropriate decoding. Becomes possible.

【0118】なお、本実施の形態11による画像復号化
装置では、実施の形態8による画像符号化装置において
得られる符号化信号を復号化するものとしたが、実施の
形態9による画像符号化装置において得られる符号化信
号についても、同様に適切に復号化を行うことが可能で
ある。また、実施の形態8、又は9において、ブロック
単位で入力され、符号化された符号化信号に対しては、
ブロック単位で入力し、復号化する設定とすることによ
り適切に復号化を行えるものである。
In the image decoding apparatus according to the eleventh embodiment, the coded signal obtained by the image coding apparatus according to the eighth embodiment is decoded. Similarly, the encoded signal obtained in can be appropriately decoded. Further, in the eighth or ninth embodiment, for an encoded signal input and encoded in block units,
By inputting in block units and setting for decoding, decoding can be performed appropriately.

【0119】実施の形態12.本発明の実施の形態12
による画像復号化装置は、実施の形態10による画像符
号化装置によって効率よく符号化された符号化信号に対
して、適切な復号化を行うものである。図16は、本発
明の実施の形態12による画像復号化装置の構成を示す
ブロック図である。同図において、86は動きベクトル
の差分値加算器であり、復号動きベクトルと、復号差分
動きベクトルの加算処理を行う。他の符号は図15と同
様であり、説明は実施の形態11と同様であるので、こ
こでは省略する。
Embodiment 12 FIG. Embodiment 12 of the present invention
The image decoding apparatus according to the present invention performs appropriate decoding on the encoded signal efficiently encoded by the image encoding apparatus according to the tenth embodiment. FIG. 16 is a block diagram showing a configuration of an image decoding device according to Embodiment 12 of the present invention. In the figure, reference numeral 86 denotes a motion vector difference value adder, which performs a process of adding a decoded motion vector and a decoded difference motion vector. The other reference numerals are the same as those in FIG. 15 and the description is the same as in the eleventh embodiment.

【0120】以上の様に構成された、本実施の形態12
による画像復号化装置についてその動作を説明する。復
号化器81aは入力信号80aの復号化によって取得し
た画素値信号の復号動きベクトルを、動き補償器63a
に出力するとともに、動きベクトルの差分値加算器86
にも出力する。復号化器80bには、実施の形態11の
場合のように、透過度信号の動きベクトルの符号化信号
が入力されるのではなく、実施の形態10の差分動きベ
クトルの符号化信号68b(図14)が入力され、復号
化器80bは実施の形態11の場合のように復号化によ
り透過度信号の動きベクトルを取得するのではなく、差
分ベクトルを取得し、この復号差分動きベクトルを動き
ベクトルの差分値加算器86に出力する。出力される復
号差分動きベクトルは、画素値信号の動きベクトルと透
過度信号の動きベクトルとの差分ベクトルであるので、
この差分ベクトルが差分値加算器86において、画素値
信号の復号動きベクトルと加算されることにより、透過
度信号の動きベクトルが取得されることとなる。復号化
された透過度信号の動きベクトルは、動き補償器63b
に出力される。
The twelfth embodiment constructed as described above
The operation of the image decoding apparatus according to the above will be described. The decoder 81a converts the decoded motion vector of the pixel value signal obtained by decoding the input signal 80a into a motion compensator 63a.
And the motion vector difference value adder 86
Also output to The decoder 80b does not receive the coded signal of the motion vector of the transparency signal as in the case of the eleventh embodiment, but the coded signal 68b of the differential motion vector of the tenth embodiment (see FIG. 14) is input, and the decoder 80b obtains a difference vector instead of obtaining the motion vector of the transparency signal by decoding as in Embodiment 11, and obtains the decoded differential motion vector Is output to the difference value adder 86. Since the decoded difference motion vector to be output is a difference vector between the motion vector of the pixel value signal and the motion vector of the transparency signal,
The difference vector is added to the decoded motion vector of the pixel value signal by the difference value adder 86, so that the motion vector of the transparency signal is obtained. The motion vector of the decoded transparency signal is calculated by the motion compensator 63b.
Is output to

【0121】他の動作については、実施の形態11の画
像復号化装置における処理と同等となり、画素値信号の
復号信号85aと、透過度信号の復号信号85bが装置
からの出力となる。このように、本実施の形態12の画
像復号化装置では、実施の形態11の画像復号化装置の
構成に基づき、動きベクトルの差分値加算器86を追加
する構成としたことで、復号動きベクトルと復号差分ベ
クトルとの加算を行うことができ、符号化信号として差
分ベクトルの符号化信号を出力する実施の形態10の出
力符号化信号を適切に復号化することが可能である。な
お、実施の形態10においてブロック単位での符号化が
行われていた場合にも設定により対応が可能であること
は、実施の形態11と同様である。
The other operations are the same as the processing in the image decoding apparatus according to the eleventh embodiment. The decoded signal 85a of the pixel value signal and the decoded signal 85b of the transparency signal are output from the apparatus. As described above, the image decoding apparatus according to the twelfth embodiment has a configuration in which the motion vector difference value adder 86 is added based on the configuration of the image decoding apparatus according to the eleventh embodiment. And the decoded difference vector can be added, and the output coded signal of Embodiment 10 that outputs the coded signal of the difference vector as the coded signal can be appropriately decoded. Note that, as in the eleventh embodiment, it is possible to cope with the case where encoding is performed in block units in the tenth embodiment by setting.

【0122】実施の形態13.本発明の実施の形態13
による画像符号化装置は、物体の形状および各画素の画
素値が有意であるかどうかをを示す形状信号と、画素値
信号とからなる、ブロック化された形状つき画像信号を
入力信号とし、参照画像を参照してこの入力信号を符号
化するものである。図17は、本発明の実施の形態13
による画像符号化装置の構成を示すブロック図である。
同図において、60aは画素値信号、60bは形状信号
であり、画像信号を構成するものであって、それぞれ本
実施の形態8の画像符号化装置に入力信号として入力さ
れる。69a、及び69bは復号化器であり、符号化器
67a、及び65bから出力される差分値の符号化信号
を復号化する。75a、及び75bは差分値加算器であ
り、復号化された差分値と動き補償値とを加算処理し
て、メモリ61に記憶させる。他の符号については、図
12と同様であり、説明は実施の形態8と同様であるの
で、ここでは省略する。
Embodiment 13 FIG. Embodiment 13 of the present invention
The image coding apparatus according to the above, the shape signal indicating whether the shape of the object and the pixel value of each pixel is significant, and a pixel value signal, a block-shaped image signal having a shape as an input signal, reference This input signal is encoded with reference to an image. FIG. 17 shows Embodiment 13 of the present invention.
1 is a block diagram illustrating a configuration of an image encoding device according to the present invention.
In the figure, reference numeral 60a denotes a pixel value signal, and 60b denotes a shape signal, which constitute an image signal, and are respectively input as input signals to the image encoding apparatus according to the eighth embodiment. Decoders 69a and 69b decode the coded signals of the difference values output from the encoders 67a and 65b. Reference numerals 75a and 75b denote difference value adders, which add the decoded difference value to the motion compensation value and store the result in the memory 61. The other reference numerals are the same as those in FIG. 12 and the description is the same as in the eighth embodiment, so that the description is omitted here.

【0123】以上の様に構成された、本実施の形態13
による画像符号化装置についてその動作を説明する。入
力信号であるブロック化された形状つき画像信号は、画
素値信号60aと形状信号60bとして、本実施の形態
13の画像符号化装置に入力される。ここで、形状信号
とは、従来技術の説明において用いた図53に示すもの
であって、図53(c)に示す2値情報、又は図53(d)に
示す多値情報となる。多値情報である場合は、実施の形
態8における透過度信号と同様のものとなる。本実施の
形態13の画像符号化装置においては、実施の形態8と
同様の処理により、画素値信号と形状信号とがそれぞれ
符号化されて、画素値信号の動きベクトルの符号化信号
66a、画素値信号の差分値の符号化信号68a、形状
信号の動きベクトルの符号化信号66b、及び形状信号
の差分値の符号化信号68bが得られる。
The thirteenth embodiment configured as described above
The operation of the image coding apparatus according to the first embodiment will be described. The block-shaped image signal having a shape, which is an input signal, is input to the image encoding apparatus according to the thirteenth embodiment as a pixel value signal 60a and a shape signal 60b. Here, the shape signal is the one shown in FIG. 53 used in the description of the related art, and is the binary information shown in FIG. 53 (c) or the multi-value information shown in FIG. 53 (d). In the case of multi-value information, it is the same as the transmittance signal in the eighth embodiment. In the image coding apparatus according to the thirteenth embodiment, the pixel value signal and the shape signal are coded by the same processing as in the eighth embodiment, and the coded signal 66a of the motion vector of the pixel value signal and the pixel An encoded signal 68a of the difference value of the value signal, an encoded signal 66b of the motion vector of the shape signal, and an encoded signal 68b of the difference value of the shape signal are obtained.

【0124】実施の形態8による装置では、符号化され
た信号がメモり61に入力されていたが、本実施の形態
13では、符号化された差分値がそれぞれ復号化器69
a、及び69bで復号化されて、差分値加算器75a、
及び75bに出力され、差分値加算器75a、及び75
bにおいて、動き補償器63a、及び63bから出力さ
れた動き補償値を加算された上でメモリ61に入力され
る。従って、符号化に用いられる参照画像は、符号化及
び復号化され、動き補償値を加算されたものとなる点が
実施の形態8と異なる。
In the device according to the eighth embodiment, the coded signal is input to the memory 61. In the thirteenth embodiment, the coded difference values are supplied to the decoder 69, respectively.
a, and 69b, and the difference value adder 75a,
And 75b, and the difference value adders 75a and 75b
At b, the motion compensation values output from the motion compensators 63a and 63b are added to the sum and then input to the memory 61. Therefore, the reference image used for encoding is different from that of the eighth embodiment in that the reference image is encoded and decoded, and a motion compensation value is added.

【0125】このように、本実施の形態13による画像
符号化装置では、実施の形態8による画像符号化装置の
構成に基づき、復号化器69a、及び69bと、差分値
加算器75a、及び75bとを追加する構成としたこと
で、実施の形態8と同様に、動き補償誤差を小さくする
ことによって、符号化効率の向上が図れることに加え
て、若干の処理負担の増大を伴うこととはなるが、参照
画像として符号化及び復号化され、動き補償値を加算さ
れたより適切な信号を用いることにより、一層の動き補
償誤差の減少を図ることが可能となる。なお、本実施の
形態13による画像符号化装置で出力される符号化信号
は、実施の形態8のものと同様に、実施の形態11によ
る画像復号化装置において、適切に復号化することがで
きる。
As described above, in the image coding apparatus according to the thirteenth embodiment, based on the configuration of the image coding apparatus according to the eighth embodiment, the decoders 69a and 69b and the difference value adders 75a and 75b Is added to reduce the motion compensation error, as in the eighth embodiment, to improve the coding efficiency and to cause a slight increase in the processing load. However, by using a more appropriate signal that has been encoded and decoded as a reference image and to which a motion compensation value has been added, it is possible to further reduce the motion compensation error. The coded signal output by the image coding apparatus according to the thirteenth embodiment can be appropriately decoded by the image decoding apparatus according to the eleventh embodiment, as in the eighth embodiment. .

【0126】実施の形態14.本発明の実施の形態14
による画像符号化装置は、実施の形態13と同様に、形
状信号と、画素値信号とからなる画像信号を入力信号と
し、参照画像を参照して、この入力信号を符号化するも
のである。図18は、本発明の実施の形態14による画
像符号化装置の構成を示すブロック図である。同図にお
いて、符号は図17と同じものであり、説明は実施の形
態13と同様である。本実施の形態14による画像符号
化装置では、実施の形態9と同様に、画素値信号60a
に対する動き検出器62aが、取得した画素値信号の動
きベクトルを透過度信号60bに対する動き検出器62
bに出力し、動き検出器62bは、入力された画素値信
号の動きベクトルの近傍において、透過度信号の動き検
出を行う点が実施の形態13による画像符号化装置との
構成の相違である。
Embodiment 14 FIG. Embodiment 14 of the present invention
As in the thirteenth embodiment, the image encoding apparatus according to the first embodiment uses an image signal composed of a shape signal and a pixel value signal as an input signal, and encodes the input signal with reference to a reference image. FIG. 18 is a block diagram showing a configuration of an image encoding device according to Embodiment 14 of the present invention. In the figure, the reference numerals are the same as those in FIG. 17, and the description is the same as in the thirteenth embodiment. In the image coding apparatus according to the fourteenth embodiment, similar to the ninth embodiment, the pixel value signal 60a
, A motion detector 62a for the transmittance signal 60b
b, and the motion detector 62b differs from the image coding apparatus according to the thirteenth embodiment in that the motion detector 62b detects the motion of the transmittance signal in the vicinity of the motion vector of the input pixel value signal. .

【0127】また、本実施の形態14による画像符号化
装置の動作についても、動き検出器62aが上述の出力
を行い、動き検出器62bが上述の検出をする点以外
は、実施の形態13のものと同様の動作となる。このよ
うに、本実施の形態14による画像符号化装置では、実
施の形態13の構成に基づき、画素値信号60aに対す
る動き検出器62aが、取得した画素値信号の動きベク
トルを形状信号60bに対する動き検出器62bに出力
し、動き検出器62bは、入力された画素値信号の動き
ベクトルの近傍において、形状信号の動き検出を行うも
のとしたことで、実施の形態9と同様に形状信号の動き
検出にあたり、画素値信号における動き検出の結果を用
いることとして、動き検出の計算回数を削減できるもの
である。なお、形状信号の動きベクトルの近傍におい
て、画素値信号の動きベクトルを検出するようにする構
成とできる点は実施の形態9と同様であり、本実施の形
態14の画像符号化装置で得られる符号化信号が、実施
の形態11による画像復号化装置で復号化できる点は実
施の形態13と同様である。
The operation of the image coding apparatus according to the fourteenth embodiment is the same as that of the thirteenth embodiment except that the motion detector 62a performs the above-described output and the motion detector 62b performs the above-described detection. The operation is similar to that of the first embodiment. As described above, in the image coding apparatus according to the fourteenth embodiment, based on the configuration of the thirteenth embodiment, the motion detector 62a for the pixel value signal 60a uses the motion vector of the acquired pixel value signal as the motion for the shape signal 60b. The motion signal is output to the detector 62b, and the motion detector 62b performs the motion detection of the shape signal in the vicinity of the motion vector of the input pixel value signal. By using the result of motion detection in the pixel value signal for the detection, the number of calculations for motion detection can be reduced. Note that the configuration in which the motion vector of the pixel value signal is detected in the vicinity of the motion vector of the shape signal is similar to that of the ninth embodiment, and is obtained by the image encoding device of the fourteenth embodiment. As in the thirteenth embodiment, the coded signal can be decoded by the image decoding apparatus according to the eleventh embodiment.

【0128】実施の形態15.本発明の実施の形態15
による画像符号化装置は、実施の形態13、及び14と
同様に、形状信号と、画素値信号とからなる画像信号を
入力信号とし、参照画像を参照して、この入力信号を符
号化するものである。図19は、本実施の形態15によ
る画像符号化装置の構成を示すブロック図である。同図
において、動きベクトルの差分計算器70は図13に示
す実施の形態10と同様である。又、符号化器67bも
実施の形態10と同様に、差分値計算器70が取得する
動きベクトルの差分ベクトルを符号化する。他の符号は
図17と同じものであり、説明は実施の形態13と同様
である。
Embodiment 15 FIG. Embodiment 15 of the present invention
Is an image encoding apparatus that encodes an input image signal composed of a shape signal and a pixel value signal with reference to a reference image, as in the thirteenth and fourteenth embodiments. It is. FIG. 19 is a block diagram illustrating a configuration of an image encoding device according to Embodiment 15 of the present invention. In the figure, a motion vector difference calculator 70 is the same as that of the tenth embodiment shown in FIG. Also, the encoder 67b encodes the difference vector of the motion vector acquired by the difference value calculator 70 as in the tenth embodiment. Other symbols are the same as those in FIG. 17, and the description is the same as that of the thirteenth embodiment.

【0129】本実施の形態15による画像符号化装置の
動作については、動き検出器62a、及び62bが動き
ベクトルを差分値計算器70に出力し、差分値計算器7
0が上述の差分ベクトルを取得して符号化器67bに出
力し、符号化器67bが動きベクトルの差分ベクトルを
符号化する点は実施の形態10と同様であり、他の動作
は実施の形態13のものと同様である。このように、本
実施の形態15の画像符号化装置では、実施の形態13
の画像符号化装置の構成に基づき、動きベクトルの差分
値計算器70を追加した構成とすることで、形状信号の
動きベクトルを符号化する代わりに、画素値信号の動き
ベクトルと形状信号の動きベクトルとの差分ベクトルを
符号化する。従って、実施の形態10と同様に、可変長
符号化を行うことにより、一層の符号化効率の向上を図
ることが可能となる。
As for the operation of the image coding apparatus according to the fifteenth embodiment, the motion detectors 62a and 62b output the motion vector to the difference value calculator 70, and
0 is the same as that of the tenth embodiment in that the difference vector is obtained and output to the encoder 67b, and the encoder 67b encodes the difference vector of the motion vector. Same as 13. As described above, in the image coding apparatus according to Embodiment 15, Embodiment 13
By adding a motion vector difference value calculator 70 based on the configuration of the image encoding device of the above, instead of encoding the motion vector of the shape signal, the motion vector of the pixel value signal and the motion Encode the difference vector with the vector. Therefore, as in the tenth embodiment, by performing variable-length coding, it is possible to further improve coding efficiency.

【0130】なお、画素値信号の動きベクトルを符号化
する代わりに、差分ベクトルを符号化する設定とするこ
とも可能である点は、実施の形態10と同様である。ま
た、本実施の形態15による画像符号化装置で出力され
る符号化信号は、実施の形態10のものと同様に、実施
の形態12による画像復号化装置において、適切に復号
化することができる。
It is to be noted that, in place of encoding the motion vector of the pixel value signal, the difference vector can be encoded as in the tenth embodiment. Also, the coded signal output by the image coding apparatus according to the fifteenth embodiment can be appropriately decoded by the image decoding apparatus according to the twelfth embodiment, as in the tenth embodiment. .

【0131】実施の形態16.本発明の実施の形態16
による画像符号化装置は、実施の形態13〜15と同様
に、形状信号と、画素値信号とからなる画像信号を入力
信号とし、参照画像を参照して、この入力信号を符号化
するものである。図20は、本発明の実施の形態16に
よる画像符号化装置の構成を示すブロック図である。同
図において、90は動き検出判定器であり、入力形状信
号60bと動き検出器62aの出力する画素値信号の動
きベクトルとを入力して、画素値信号の動きベクトルに
よる形状信号の動き補償の可否を判定し、該判定に応じ
て形状信号の動き検出器62bに動き検出を行うか否か
の指示を出力する。
Embodiment 16 FIG. Embodiment 16 of the present invention
The image encoding apparatus according to the first embodiment encodes an image signal including a shape signal and a pixel value signal as an input signal and encodes the input signal with reference to a reference image, as in the thirteenth to fifteenth embodiments. is there. FIG. 20 is a block diagram illustrating a configuration of an image encoding device according to Embodiment 16 of the present invention. In the figure, reference numeral 90 denotes a motion detection determiner which inputs an input shape signal 60b and a motion vector of a pixel value signal output from the motion detector 62a, and performs motion compensation of a shape signal by the motion vector of the pixel value signal. Whether the motion is detected or not is output to the motion detector 62b of the shape signal in accordance with the determination.

【0132】以上の様に構成された、本実施の形態16
による画像符号化装置についてその動作を説明する。本
実施の形態16による画像符号化装置に入力された画素
値信号60aの処理については、動き検出器62aで取
得された画素値信号の動きベクトルが動き検出判定器9
0にも出力される点以外は、実施の形態13と同様に処
理され、画素値信号の動きベクトルの符号化信号66a
と、画素値信号の差分値の符号化信号68aとが得られ
る。一方、入力形状信号60bについては、まず動き検
出判定器90に入力される。動き検出判定器90は、入
力された画素値信号の動きベクトルを用いて入力形状信
号60bの動き補償を行い、動き補償された形状信号
と、入力された形状信号60bとを比較して、一致して
いるかどうかを調べる。そして、一致していれば動き検
出器61bに対して、画素値信号の動きベクトルを出力
し、動き検出器61bは形状信号に対する動き検出を実
行せず、入力された画素値信号の動きベクトルをもっ
て、形状信号の動きベクトルとする。逆に、動き検出判
定器90による比較の結果が一致しなければ、動き検出
判定器90は、動き検出器61bに動き検出を行うよう
に指示を出力し、動き検出器61bによる動きベクトル
の計算が行われる。形状信号についても、これ以降の処
理は実施の形態13と同様となり、符号化信号66b、
及び68bが得られる。
The sixteenth embodiment configured as described above
The operation of the image coding apparatus according to the first embodiment will be described. Regarding the processing of the pixel value signal 60a input to the image encoding device according to the sixteenth embodiment, the motion vector of the pixel value signal acquired by the motion detector 62a is
The processing is performed in the same manner as in the thirteenth embodiment, except that the pixel value signal is also output to 0.
And an encoded signal 68a of the difference value between the pixel value signals. On the other hand, the input shape signal 60b is first input to the motion detection / determination unit 90. The motion detection determiner 90 performs motion compensation on the input shape signal 60b using the motion vector of the input pixel value signal, compares the motion compensated shape signal with the input shape signal 60b, and Find out if you are. If they match, the motion vector of the pixel value signal is output to the motion detector 61b, and the motion detector 61b does not perform the motion detection on the shape signal, and uses the motion vector of the input pixel value signal. , The motion vector of the shape signal. Conversely, if the results of the comparison by the motion detection / judgment unit 90 do not match, the motion detection / judgment unit 90 outputs an instruction to the motion detector 61b to perform motion detection, and calculates the motion vector by the motion detector 61b. Is performed. For the shape signal, the subsequent processing is the same as in the thirteenth embodiment, and the encoded signal
And 68b are obtained.

【0133】このように、本実施の形態16による画像
符号化装置では、実施の形態13による画像符号化装置
に、動き検出判定器90を追加する構成としたことで、
入力画素値信号の動きベクトルを用いて入力形状信号の
動き補償を行うことの可否を判定し、可能と判定する場
合には、入力形状信号に対しての動き検出を行わないこ
とにより、計算を省略することによって処理負担の低減
を図ることができる。又、不可能と判定する場合には、
実施の形態13と同様、形状信号に対しての動き検出を
行うので、符号化効率や、符号化信号の画質に影響を与
えない。なお、本実施の形態16では、動き補償された
形状信号と、入力された形状信号とが一致している場合
に形状信号に対する動き検出を行わないものとしたが、
動き補償誤差の増加による若干の符号化効率の劣化が許
容できるのであれば、判定において動き補償による誤差
が所定値以下の場合にも動き検出を行わないものとする
設定も可能であり、さらなる処理負担の低減を図ること
が可能となる。
As described above, the image coding apparatus according to the sixteenth embodiment has a configuration in which the motion detection determination unit 90 is added to the image coding apparatus according to the thirteenth embodiment.
It is determined whether motion compensation of the input shape signal can be performed using the motion vector of the input pixel value signal, and when it is determined that motion compensation is possible, the calculation is performed by not performing motion detection on the input shape signal. By omitting it, the processing load can be reduced. If it is determined that it is impossible,
As in the thirteenth embodiment, the motion detection is performed on the shape signal, so that the coding efficiency and the image quality of the coded signal are not affected. In the sixteenth embodiment, when the shape signal subjected to the motion compensation and the input shape signal match, the motion detection for the shape signal is not performed.
If a slight decrease in coding efficiency due to an increase in the motion compensation error can be tolerated, it is possible to make a setting so that the motion detection is not performed even when the error due to the motion compensation is equal to or less than a predetermined value in the determination. The burden can be reduced.

【0134】実施の形態17.本発明の実施の形態17
による画像符号化装置は、実施の形態13〜16と同様
に、形状信号と、画素値信号とからなる画像信号を入力
信号とし、参照画像を参照して、この入力信号を符号化
するものである。図21は、本発明の実施の形態17に
よる画像符号化装置の構成を示すブロック図である。同
図において、93は切り替え判定器であり、画素値信
号、及び形状信号の動きベクトルを入力して、実施の形
態16と同様に、画素値信号の動きベクトルを用いての
形状信号の動き補償の可否の判定を行い、その判定に応
じて、切り替え器94に対する指示を行う。切り替え器
94は、切り替え判定器93の指示に対応して、差分値
計算器70に対する出力を、画素値信号の動きベクトル
とするか、形状信号の動きベクトルとするかを切り替え
る。動きベクトル用メモリ95は切り替え器94から出
力された動きベクトルを遅延させて差分検出器70に入
力するために、一時記憶を行う。他の符号は、図19と
同様であり、説明は実施の形態15と同様である。本実
施の形態17の装置の動作についても、切り替え判定器
93の判定により、差分値計算器70によって取得され
る差分動きベクトルが異なる点以外は実施の形態15と
同様となるので、その点についてのみ動作の説明を行
う。
Embodiment 17 FIG. Embodiment 17 of the present invention
The image encoding apparatus according to the present invention uses an image signal composed of a shape signal and a pixel value signal as an input signal and encodes the input signal with reference to a reference image, as in the thirteenth to sixteenth embodiments. is there. FIG. 21 is a block diagram illustrating a configuration of an image encoding device according to Embodiment 17 of the present invention. In the figure, reference numeral 93 denotes a switching determiner, which inputs a pixel value signal and a motion vector of a shape signal, and performs motion compensation of the shape signal using the motion vector of the pixel value signal as in the sixteenth embodiment. Is determined, and an instruction is given to the switch 94 in accordance with the determination. The switch 94 switches between the output to the difference value calculator 70 as the motion vector of the pixel value signal and the motion vector of the shape signal in response to the instruction of the switch determiner 93. The motion vector memory 95 temporarily stores the motion vector output from the switch 94 in order to delay and input the delayed motion vector to the difference detector 70. Other symbols are the same as those in FIG. 19, and the description is the same as that in the fifteenth embodiment. The operation of the apparatus of the seventeenth embodiment is also the same as that of the fifteenth embodiment except that the difference motion vector acquired by the difference value calculator 70 is different based on the determination of the switching determiner 93. Only the operation will be described.

【0135】切り替え判定器93は、直前に符号化した
入力信号について、その画素値信号の動きベクトルの符
号化信号と、形状信号の動きベクトルとを入力して比較
することにより、直前に符号化した入力信号において、
その形状信号の動きベクトルが符号化されていたかどう
かを調べる。即ち、直前に符号化した信号を処理するこ
とにより、符号化器67bから得られた差分動きベクト
ルの符号化信号は、画素値信号の動きベクトルと形状信
号の動きベクトルとの差分ベクトルであったか、形状信
号の動きベクトル同士の差分ベクトルであったかを調べ
る。そして、形状信号の動きベクトル同士の差分ベクト
ルが符号化されていた場合には、切り替え器94に指示
を送ることによって、遅延用メモリ95に形状信号から
検出した動きベクトルを入力させる。従ってこの場合、
差分値計算器70は遅延用メモリ95から取得する当該
直前に符号化した形状信号の動きベクトルと、入力形状
信号から検出した動きベクトルとの差分ベクトルを取得
し、符号化器67bは、この差分ベクトルを符号化す
る。一方、直前の入力信号において、画素値信号の動き
ベクトルと形状信号の動きベクトルとの差分ベクトルが
符号化されていた場合は、切り替え器94に指示を送る
ことにより、実施の形態15と同様に、両信号の動きベ
クトルの差分ベクトルが符号化されることとなる。
The switching determiner 93 inputs and compares the motion signal of the motion vector of the pixel value signal and the motion vector of the shape signal with respect to the immediately preceding input signal, thereby performing the immediately preceding encoding. Input signal
It is checked whether the motion vector of the shape signal has been encoded. That is, by processing the signal encoded immediately before, whether the encoded signal of the differential motion vector obtained from the encoder 67b is a differential vector between the motion vector of the pixel value signal and the motion vector of the shape signal, It is checked whether the motion vector of the shape signal is a difference vector. Then, if the difference vector between the motion vectors of the shape signals has been encoded, an instruction is sent to the switch 94 to cause the delay memory 95 to input the motion vector detected from the shape signal. So in this case,
The difference value calculator 70 obtains a difference vector between the motion vector of the shape signal immediately before obtained from the delay memory 95 and the motion vector detected from the input shape signal, and the encoder 67 b Encode the vector. On the other hand, when the difference vector between the motion vector of the pixel value signal and the motion vector of the shape signal has been encoded in the immediately preceding input signal, by sending an instruction to the switch 94, the same as in the fifteenth embodiment is performed. , The difference vector between the motion vectors of the two signals is encoded.

【0136】このように、本実施の形態17の画像符号
化装置では、実施の形態15による画像符号化装置の構
成に基づいて、切り替え判定器93と、切り替え器94
と、遅延用メモリ95とを追加する構成としたことによ
り、直前に形状信号の動きベクトルが符号化されている
場合には、その動きベクトルと検出した動きベクトルと
の差分ベクトルを取得して符号化するので、相関性の高
い形状信号同士の動きベクトルの差分を用いることで符
号化効率を向上することが可能となる。なお、本実施の
形態17については、形状信号の動きベクトルについて
かかる判定と差分ベクトルの符号化を行うものとしてい
るが、画素値信号の動きベクトルについてかかる判定と
差分ベクトルの符号化を行うものとすることも可能であ
り、同様に符号化効率の向上を図ることができる。
As described above, in the image coding apparatus according to the seventeenth embodiment, based on the configuration of the image coding apparatus according to the fifteenth embodiment, the switching determination unit 93 and the switching unit 94
And a delay memory 95, when a motion vector of the shape signal has been coded immediately before, a difference vector between the motion vector and the detected motion vector is obtained to code the motion vector. Therefore, the coding efficiency can be improved by using the difference between the motion vectors of the highly correlated shape signals. In the seventeenth embodiment, the determination and the encoding of the difference vector are performed for the motion vector of the shape signal, but the determination and the encoding of the difference vector are performed for the motion vector of the pixel value signal. It is also possible to improve the coding efficiency.

【0137】実施の形態18.本発明の実施の形態18
による画像符号化装置は、形状情報と、透過度情報との
少なくとも一方と、画素値情報とから構成される画像信
号を入力画像信号として、各信号に適したモードにおい
て符号化するものである。図22は、本発明の実施の形
態18による画像符号化装置の構成を示すブロック図で
ある。同図において、101は、入力される画像信号で
あり、形状情報と、透過度情報との少なくとも一方と、
画素値情報とから構成される。102はブロック化器で
あり、入力画像信号101をブロック化し、ブロック化
された形状信号103、ブロック化された透過度信号1
05、及びブロック化された画素値信号107を出力す
る。110は形状符号化モード判定器、114は透過度
符号化モード判定器、116は画素値符号化モード判定
器であり、それぞれ、形状信号103、透過度信号10
5、及び画素値信号107に対して、適切な符号化モー
ドを判定して、形状符号化モード111、透過度符号化
モード115、及び画素値符号化モード119を出力す
る。112は形状符号化器、116は透過度符号化器、
120は画素値符号化器であり、それぞれモード判定器
の判定に従って、それぞれ信号を符号化し、形状符号化
信号113、透過度符号化信号117、画素値符号化信
号121を出力する。122はモード符号化器であり、
符号化モード111、115、及び119をまとめて符
号化し、モード符号化信号123を出力する。
Embodiment 18 FIG. Embodiment 18 of the present invention
The image encoding apparatus according to the present invention encodes an image signal composed of at least one of shape information, transparency information, and pixel value information as an input image signal in a mode suitable for each signal. FIG. 22 is a block diagram illustrating a configuration of an image encoding device according to Embodiment 18 of the present invention. In FIG. 1, reference numeral 101 denotes an input image signal, and at least one of shape information and transparency information;
And pixel value information. Reference numeral 102 denotes a blocker, which blocks the input image signal 101 to form a block shape signal 103 and a block transmittance signal 1
05, and a pixel value signal 107 which is divided into blocks. 110 is a shape coding mode determiner, 114 is a transmittance coding mode determiner, and 116 is a pixel value coding mode determiner, which are a shape signal 103 and a transmittance signal 10 respectively.
5, and an appropriate encoding mode is determined for the pixel value signal 107, and the shape encoding mode 111, the transparency encoding mode 115, and the pixel value encoding mode 119 are output. 112 is a shape encoder, 116 is a transparency encoder,
Reference numeral 120 denotes a pixel value encoder, which encodes each signal according to the determination of the mode determiner, and outputs a shape encoded signal 113, a transmittance encoded signal 117, and a pixel value encoded signal 121. 122 is a mode encoder,
The encoding modes 111, 115, and 119 are collectively encoded, and a mode encoded signal 123 is output.

【0138】以上の様に構成された、本実施の形態18
による画像符号化装置についてその動作を説明する。ま
ず、形状情報、透過度情報、及び画素値情報から構成さ
れる入力画像信号101が、本実施の形態18の画像符
号化装置に入力される。ここで、透過度情報と形状情報
とについて、従来技術の説明に用いた図53によって説
明する。透過度情報とは、図53(a)に示す画像を他の
画像と合成する際に、各画素をどのような比率で合成す
るかを表すものであって、基本的には図53(d)に示さ
れるような多値情報である。形状情報は、図53(c)で
示される2値の情報であって、透過度情報を0又は非0
として2値化したものであり、物体が「ある/ない」を
示す情報となる。なお、透過度情報が完全透過と完全不
透過の2通りしか存在しない場合は、上述のことから形
状情報のみで表現でき、透過度情報は不要である。従っ
て、この場合には、形状情報と画素値情報のみを符号化
または復号化すればよいこととなる。ブロック化器10
2は、入力画像信号101に対して、形状情報・透過度
情報と画素値情報との画素値の対応関係に基づいて、複
数の画素を統合してブロック化し、ブロック化された形
状信号103、ブロック化された透過度信号105、及
びブロック化された画素値信号107を出力する。形状
信号103は形状符号化モード判定器110と形状符号
化器112とに、透過度信号105は透過度符号化モー
ド判定器114と透過度符号化器116とに、そして、
画素値信号107は、画素値符号化モード判定器118
と画素値符号化器120とに出力される。
The eighteenth embodiment configured as described above
The operation of the image coding apparatus according to the first embodiment will be described. First, an input image signal 101 including shape information, transparency information, and pixel value information is input to the image encoding device according to the eighteenth embodiment. Here, the transparency information and the shape information will be described with reference to FIG. 53 used for describing the related art. The transparency information indicates the ratio of each pixel to be combined when combining the image shown in FIG. 53 (a) with another image. ) Is multi-valued information. The shape information is binary information shown in FIG. 53 (c).
And is information indicating that the object is “present / not present”. When there are only two types of transparency information, that is, completely transparent and completely opaque, the above can be expressed only by the shape information, and the transparency information is unnecessary. Therefore, in this case, only the shape information and the pixel value information need to be encoded or decoded. Blocking device 10
2 integrates a plurality of pixels into blocks based on the correspondence between the pixel values of the shape information / transparency information and the pixel value information with respect to the input image signal 101, and forms the blocked shape signal 103; It outputs a blocked transmittance signal 105 and a blocked pixel value signal 107. The shape signal 103 is transmitted to the shape encoding mode determiner 110 and the shape encoder 112, the transparency signal 105 is transmitted to the transparency coding mode determiner 114 and the transparency encoder 116, and
The pixel value signal 107 is supplied to a pixel value encoding mode determiner 118
And the pixel value encoder 120.

【0139】形状符号化モード判定器110、透過度符
号化モード判定器114、及び画素値符号化モード判定
器118は、それぞれ入力された形状信号103、透過
度信号105、及び画素値信号107に対して、適切な
符号化モードを判定して、形状符号化モード111、透
過度符号化モード115、及び画素値符号化モード11
9を出力する。各符号化モードは、各符号化器に出力さ
れるとともに、モード符号化器122にも出力される。
形状符号化器112、透過度符号化器116、及び画素
値符号化器120は、それぞれ入力された符号化モード
に対応して、それぞれ入力された信号を出力し、形状符
号化信号113、透過度符号化信号117、及び画素値
符号化信号121を出力する。一方、モード符号化器1
22は、入力された各符号化モードをまとめて符号化
し、モード符号化信号123を出力する。形状符号化信
号113、透過度符号化信号117、画素値符号化信号
121、及びモード符号化信号123が、本実施の形態
18による画像符号化装置の符号化出力となる。
The shape coding mode determiner 110, the transmittance coding mode determiner 114, and the pixel value coding mode determiner 118 convert the input shape signal 103, transmittance signal 105, and pixel value signal 107, respectively. On the other hand, an appropriate encoding mode is determined, and the shape encoding mode 111, the transparency encoding mode 115, and the pixel value encoding mode 11 are determined.
9 is output. Each encoding mode is output to each encoder and also to the mode encoder 122.
The shape encoder 112, the transparency encoder 116, and the pixel value encoder 120 output the respective input signals corresponding to the respective input encoding modes, and output the shape encoded signal 113, It outputs a degree encoded signal 117 and a pixel value encoded signal 121. On the other hand, mode encoder 1
Reference numeral 22 collectively encodes the input encoding modes and outputs a mode encoded signal 123. The shape encoded signal 113, the transparency encoded signal 117, the pixel value encoded signal 121, and the mode encoded signal 123 are encoded outputs of the image encoding device according to the eighteenth embodiment.

【0140】このように、本実施の形態18による画像
符号化装置では、入力画像信号をブロック化し、かつ形
状信号、透過度信号、及び画素値信号に分離して出力す
るブロック化器101と、各信号に適した符号化モード
を判定する符号化モード判定器110、114、及び1
18と、各信号を符号化モードに対応して符号化する符
号化器112、116、及び120と、符号化モードを
まとめて符号化するモード符号化器122とを備えたこ
とで、分離した各信号に適したモードでの符号化を行
い、その選択したモードに関する情報は、まとめて符号
化することが可能となる。形状情報、透過度情報、及び
画素値情報については、互いに相関があることが多く、
従って同じ符号化モードが選択されやすくなる。そこ
で、同じモードとなる符号が短い符号長となる可変長符
号化を行うことにより、モード符号化信号のビット数を
削減することが可能となる効果が得られる。
As described above, in the image coding apparatus according to the eighteenth embodiment, a blocker 101 that blocks an input image signal and separates and outputs the shape signal, the transmittance signal, and the pixel value signal, Coding mode determiners 110, 114, and 1 for determining a coding mode suitable for each signal
18 and encoders 112, 116, and 120 for encoding each signal in accordance with the encoding mode, and a mode encoder 122 for encoding the encoding modes collectively. Encoding is performed in a mode suitable for each signal, and information on the selected mode can be encoded collectively. Shape information, transparency information, and pixel value information often have a correlation with each other,
Therefore, the same encoding mode is easily selected. Therefore, by performing variable-length coding in which codes having the same mode have a shorter code length, an effect is obtained in which the number of bits of a mode-coded signal can be reduced.

【0141】実施の形態19.本発明の実施の形態19
による画像符号化装置は、実施の形態18と同様に、形
状情報と、透過度情報との少なくとも一方と、画素値情
報とから構成される画像信号を入力画像信号として、各
信号に適したモードにおいて符号化するものである。図
23は、本発明の実施の形態19による画像符号化装置
の構成を示すブロック図である。同図において、形状符
号化モード判定器110は、形状信号103に適応した
符号化モードを判定し、その判定結果を符号化モードと
して形状符号化器112、及びモード符号化器122に
出力するとともに、透過度符号化モード判定器130、
及び画素値符号化モード判定器132にも出力する。そ
して、透過度符号化モード判定器130は、入力された
形状符号化モード111を参照して判定を行い、その判
定結果を符号化モードとして透過度符号化器116、及
びモード符号化器122に出力するとともに、画素値符
号化モード判定器132にも出力する。画素値符号化モ
ード判定器132は、入力された形状符号化モード11
1、及び透過度符号化モード115を参照して判定を行
う。
Embodiment 19 FIG. Embodiment 19 of the Invention
As in the eighteenth embodiment, the image encoding apparatus according to the present invention uses an image signal composed of at least one of shape information, transparency information, and pixel value information as an input image signal, Are encoded. FIG. 23 is a block diagram illustrating a configuration of an image encoding device according to Embodiment 19 of the present invention. In the figure, a shape encoding mode determiner 110 determines an encoding mode adapted to the shape signal 103, and outputs the result of the determination to the shape encoder 112 and the mode encoder 122 as an encoding mode. , The transparency encoding mode determiner 130,
And the pixel value encoding mode determiner 132. Then, the transparency coding mode determiner 130 makes a determination with reference to the input shape coding mode 111, and uses the determination result as a coding mode for the transmittance encoder 116 and the mode encoder 122. In addition to the output, it is also output to the pixel value encoding mode determiner 132. The pixel value encoding mode determiner 132 determines the input shape encoding mode 11
1 and the transparency encoding mode 115 to make the determination.

【0142】本実施の形態19の画像符号化装置の動作
については、上記各モード判定器の判定を除いては実施
の形態18と同様となり、同様に、形状符号化信号11
3、透過度符号化信号117、画素値符号化信号12
1、及びモード符号化信号123が出力される。このよ
うに、本実施の形態19による画像符号化装置では、形
状符号化モードを参照して、透過度信号の符号化モード
を判定する透過度符号化モード判定器130と、形状符
号化モード、及び透過度符号化モードの双方を参照して
画素値信号の符号化モードを判定する画素値符号化モー
ド判定器132とを備えたことで、選択されるモードが
同じものとなりやすくする。従って、モードが一致する
場合に短い符号を割り当てるモード符号化器122で
は、実施の形態18よりもさらに可変長符号化の効率が
向上してモード符号化信号のビット数を削減することが
できるという効果が得られる。
The operation of the image coding apparatus according to the nineteenth embodiment is the same as that of the eighteenth embodiment except for the determination by the mode determiners described above.
3. Transparency encoded signal 117, pixel value encoded signal 12
1 and the mode coded signal 123 are output. As described above, in the image coding apparatus according to Embodiment 19, with reference to the shape coding mode, the transparency coding mode determiner 130 that determines the coding mode of the transparency signal, the shape coding mode, And the pixel value encoding mode determiner 132 that determines the encoding mode of the pixel value signal with reference to both the transmission encoding mode and the transparency encoding mode. Therefore, in mode encoder 122 that assigns short codes when modes match, the efficiency of variable-length encoding can be further improved as compared with the eighteenth embodiment, and the number of bits of the mode-encoded signal can be reduced. The effect is obtained.

【0143】実施の形態20.本発明の実施の形態20
による画像符号化装置は、実施の形態19と同様に、モ
ード符号化信号の符号化効率を向上するものである。図
24は、本発明の実施の形態20による画像符号化装置
の構成を示すブロック図である。同図において、画素値
符号化モード判定器118は、画素値信号107に適応
した符号化モードを判定し、その判定結果を符号化モー
ドとして画素値符号化器120、及びモード符号化器1
22に出力するとともに、透過度符号化モード判定器1
36、及び形状符号化モード判定器138にも出力す
る。そして、透過度符号化モード判定器136は、入力
された画素値符号化モード119を参照して判定を行
い、その判定結果を符号化モードとして透過度符号化器
116、及びモード符号化器122に出力するととも
に、形状符号化モード判定器138にも出力する。形状
符号化モード判定器138は、入力された画素値符号化
モード119、及び透過度符号化モード115を参照し
て判定を行う。
Embodiment 20 FIG. Embodiment 20 of the present invention
The image coding apparatus according to the third embodiment improves the coding efficiency of the mode coded signal as in the nineteenth embodiment. FIG. 24 is a block diagram illustrating a configuration of an image encoding device according to Embodiment 20 of the present invention. In the figure, a pixel value coding mode determiner 118 determines a coding mode adapted to the pixel value signal 107, and uses the determination result as a coding mode as a pixel value encoder 120 and a mode encoder 1
22 and a transparency encoding mode decision unit 1
36 and the shape encoding mode determiner 138. Then, the transparency coding mode determiner 136 makes a determination with reference to the input pixel value coding mode 119, and uses the determination result as a coding mode as the transparency encoder 116 and the mode encoder 122. , And also to the shape encoding mode determiner 138. The shape coding mode determiner 138 makes a determination with reference to the input pixel value coding mode 119 and the transparency coding mode 115.

【0144】本実施の形態20の画像符号化装置の動作
については、上記各モード判定器の判定を除いては実施
の形態18と同様となり、同様に、形状符号化信号11
3、透過度符号化信号117、画素値符号化信号12
1、及びモード符号化信号123が出力される。このよ
うに、本実施の形態20による画像符号化装置では、画
素値符号化モードを参照して、透過度信号の符号化モー
ドを判定する透過度符号化モード判定器136と、画素
符号化モード、及び透過度符号化モードの双方を参照し
て形状信号の符号化モードを判定する形状符号化モード
判定器138とを備えたことで、選択されるモードが同
じものとなりやすくする。従って、モードが一致する場
合に短い符号を割り当てるモード符号化器122では、
実施の形態18よりもさらに可変長符号化の効率が向上
してモード符号化信号のビット数を削減することができ
るという効果が得られる。
The operation of the image coding apparatus according to the twentieth embodiment is the same as that of the eighteenth embodiment except for the determination by the mode determiners described above.
3. Transparency encoded signal 117, pixel value encoded signal 12
1 and the mode coded signal 123 are output. As described above, in the image coding apparatus according to Embodiment 20, the transparency coding mode determiner 136 that determines the coding mode of the transparency signal with reference to the pixel value coding mode, and the pixel coding mode , And the shape coding mode determiner 138 that determines the coding mode of the shape signal with reference to both the transmission coding mode and the transmission coding mode, so that the selected mode is likely to be the same. Therefore, in the mode encoder 122 that allocates a short code when the modes match,
The effect that the efficiency of variable-length coding is further improved as compared with the eighteenth embodiment, and the number of bits of the mode-coded signal can be reduced.

【0145】実施の形態21.本発明の実施の形態21
による画像復号化装置は、実施の形態18による画像符
号化装置によって効率よく符号化された符号化信号に対
して、適切な復号化を行うものである。図25は本発明
の実施の形態21による画像復号化装置の構成を示すブ
ロック図である。同図において、入力信号113、11
7、119、及び123は、実施の形態18による画像
符号化装置において出力される形状符号化信号113、
透過度符号化信号117、画素値符号化信号119、及
びモード符号化信号123である。150はモード復号
化器であり、モード符号化信号123を復号化して、形
状符号化モード151、透過度符号化モード153、及
び画素値符号化モード155を出力する。156は形状
復号化器、158は透過度復号化器、160は画素値復
号化器であり、それぞれ、モード復号化器150から入
力される符号化モードに応じて、形状符号化信号11
3、透過度符号化信号117、及び画素値符号化信号1
19を復号化し、形状復号化信号157、透過度復号化
信号159、及び画素値復号化信号161を出力する。
162は逆ブロック化器であり、形状復号化信号15
7、透過度復号化信号159、及び画素値復号化信号1
61を入力してこれらを統合し、復号画像信号163を
出力する。
Embodiment 21 FIG. Embodiment 21 of the present invention
The image decoding apparatus according to the present invention performs appropriate decoding on the encoded signal efficiently encoded by the image encoding apparatus according to the eighteenth embodiment. FIG. 25 is a block diagram showing a configuration of an image decoding device according to Embodiment 21 of the present invention. In the figure, input signals 113, 11
Reference numerals 7, 119, and 123 denote shape encoded signals 113 output by the image encoding apparatus according to Embodiment 18;
These are a transparency coded signal 117, a pixel value coded signal 119, and a mode coded signal 123. A mode decoder 150 decodes the mode coded signal 123 and outputs a shape coding mode 151, a transparency coding mode 153, and a pixel value coding mode 155. 156, a shape decoder; 158, a transparency decoder; 160, a pixel value decoder;
3, the transparency encoded signal 117, and the pixel value encoded signal 1
19, and outputs a shape decoded signal 157, a transmittance decoded signal 159, and a pixel value decoded signal 161.
Numeral 162 denotes an inverse blocker which outputs the shape decoded signal 15
7, the decoded transparency signal 159, and the decoded pixel value signal 1
61, these are integrated, and a decoded image signal 163 is output.

【0146】以上の様に構成された、本実施の形態21
による画像復号化装置についてその動作を説明する。本
実施の形態21による画像復号化装置に、形状符号化信
号113、透過度符号化信号117、画素値符号化信号
119、及びモード符号化信号123が入力され、それ
ぞれ、形状復号化器156、透過度復号化器158、画
素値復号化器160、及びモード復号化器150に入力
される。モード復号化器150は、モード符号化信号1
23を復号化して、形状符号化モード151、透過度符
号化モード153、及び画素値符号化モード155を、
それぞれ形状復号化器156、透過度復号化器158、
及び画素値復号化器160に出力する。形状復号化器1
56、透過度復号化器158、及び画素値復号化器16
0は、それぞれ入力された符号化モードに対応して、入
力された符号化信号を復号化し、形状復号化信号15
7、透過度復号化信号159、及び画素値復号化信号1
61を逆ブロック化器162に出力する。逆ブロック化
器162は入力された復号化信号を統合して、復号画像
信号163を出力する。
The twenty-first embodiment configured as described above
The operation of the image decoding apparatus according to the above will be described. A shape coded signal 113, a transparency coded signal 117, a pixel value coded signal 119, and a mode coded signal 123 are input to the image decoding device according to the twenty-first embodiment, and the shape decoder 156, It is input to the transparency decoder 158, the pixel value decoder 160, and the mode decoder 150. The mode decoder 150 outputs the mode encoded signal 1
23, and the shape encoding mode 151, the transparency encoding mode 153, and the pixel value encoding mode 155 are
Each of the shape decoder 156, the transparency decoder 158,
And to the pixel value decoder 160. Shape decoder 1
56, transparency decoder 158, and pixel value decoder 16
0 indicates that the input coded signal is decoded and the shape decoded signal 15
7, the decoded transparency signal 159, and the decoded pixel value signal 1
61 is output to the deblocker 162. The deblocker 162 integrates the input decoded signals and outputs a decoded image signal 163.

【0147】このように、本実施の形態21による画像
復号化装置では、モード復号化器150と、形状復号化
器156、透過度復号化器158、画素値復号化器16
0、及び逆ブロック化器162を備えたことで、実施の
形態18による画像符号化装置で得られた符号化信号に
対し、適切に復号化し、又統合処理して、復号画像信号
163を得ることが可能となる。なお、本実施の形態2
1の画像復号化装置では、実施の形態18による画像符
号化装置で得られた符号化信号を復号化するものとした
が、実施の形態19、及び20による画像符号化装置で
得られた符号化信号についても、同様に適切な復号化を
行うことが可能である。
As described above, in the image decoding apparatus according to the twenty-first embodiment, the mode decoder 150, the shape decoder 156, the transparency decoder 158, and the pixel value decoder 16
By providing 0 and the deblocker 162, the coded signal obtained by the image coding apparatus according to the eighteenth embodiment is appropriately decoded and integrated to obtain a decoded image signal 163. It becomes possible. In addition, Embodiment 2
In the first image decoding apparatus, the coded signal obtained by the image coding apparatus according to the eighteenth embodiment is decoded, but the code obtained by the image coding apparatus according to the nineteenth and twentieth embodiments is decoded. Similarly, it is possible to perform appropriate decoding on the coded signal.

【0148】実施の形態22.本発明の実施の形態22
による画像符号化装置は、画面内/画面間符号化を入力
信号に適応して切り替えて符号化を行うものである。図
26は、本発明の実施の形態22による画像符号化装置
の構成を示すブロック図である。同図において、178
は画素値符号化の画面内/画面間符号化判定器であり、
画素値信号の符号化のモードについて、画面内、又は画
面間の判定を行い、画素値信号の符号化モード119を
出力する。138は形状符号化モード判定器であり、図
24の138に示す実施の形態20における形状符号化
モード判定器に相当する。170、及び176はスイッ
チであって、判定器178の出力に応じて切り替えら
れ、形状信号の符号化モードを決定する。172は形状
符号化の画面内/画面間符号化判定器であり、形状信号
の符号化のモードについて、画面内、又は画面間の判定
を行い、判定の結果により形状信号の符号化モード17
3を出力する。他の符号については、図22と同様であ
り、説明は実施の形態18と同様である。
Embodiment 22 FIG. Twenty-second embodiment of the present invention
Is an apparatus for performing coding by switching between intra-screen / inter-screen coding according to an input signal. FIG. 26 is a block diagram illustrating a configuration of an image encoding device according to Embodiment 22 of the present invention. In the figure, 178
Is an intra-screen / inter-screen encoding determiner for pixel value encoding,
With respect to the encoding mode of the pixel value signal, a determination is made within the screen or between the screens, and the encoding mode 119 of the pixel value signal is output. Reference numeral 138 denotes a shape encoding mode determiner, which corresponds to the shape encoding mode determiner according to the twentieth embodiment shown in 138 of FIG. Switches 170 and 176 are switched according to the output of the determiner 178, and determine the encoding mode of the shape signal. Reference numeral 172 denotes a shape coding intra-screen / inter-screen coding determiner which determines a coding mode of a shape signal within a screen or between screens, and determines a coding mode 17 of a shape signal based on a result of the determination.
3 is output. Other symbols are the same as in FIG. 22, and the description is the same as in the eighteenth embodiment.

【0149】以上の様に構成された、本実施の形態22
による画像符号化装置についてその動作を説明する。ま
ず、入力画像信号101が、本実施の形態22の画像符
号化装置に入力されると、ブロック化器102は実施の
形態18と同様に、ブロック化と信号の分離とを行い、
画素値信号と形状信号を出力する。分離された画素値信
号107が画素値符号化の画面内/画面間符号化判定器
178に入力されると、判定器178は画素値信号10
7に対して、画面内符号化もしくは画面間符号化のいず
れで符号化すべきかを判定し、その判定の結果を、「画
面内」、または「画面間」のいずれかを示す画素値符号
化モード119として、画素値符号化器120と、モー
ド符号化器122、及び形状符号化モード判定器138
に出力する。
The twenty-second embodiment constructed as described above
The operation of the image coding apparatus according to the first embodiment will be described. First, when the input image signal 101 is input to the image encoding apparatus according to Embodiment 22, the blocker 102 performs blocking and signal separation similarly to Embodiment 18.
A pixel value signal and a shape signal are output. When the separated pixel value signal 107 is input to the pixel value encoding intra / inter-screen encoding determiner 178, the determiner 178 outputs the pixel value signal 10
7 is to be encoded by intra-screen encoding or inter-screen encoding, and the result of the determination is determined by pixel value encoding indicating either “intra-screen” or “inter-screen”. As the mode 119, the pixel value encoder 120, the mode encoder 122, and the shape encoding mode determiner 138
Output to

【0150】形状符号化モード判定器138では、スイ
ッチ170と176とが、画素値符号化モード119に
応じて切り替えられる。画素値符号化モードが「画面
内」を示す場合には判定器178に入力されないよう
に、「画面間」を示す場合には判定器178に入力され
るように切り替えられる。従って、画素値符号化モード
119が画面内符号化を示す場合、判定器138からは
画面内符号化を示す形状判定モード111が出力される
こととなる。
In the shape coding mode determination unit 138, the switches 170 and 176 are switched according to the pixel value coding mode 119. When the pixel value encoding mode indicates “in screen”, the input is not input to the determiner 178. When the pixel value encoding mode indicates “between screens”, the input is input to the determiner 178. Accordingly, when the pixel value encoding mode 119 indicates the intra-screen encoding, the shape determination mode 111 indicating the intra-screen encoding is output from the determiner 138.

【0151】一方、画素値符号化モード119が画面間
符号化を示す場合は、形状信号105に対応して、当該
形状信号を画面内符号化もしくは画面間符号化のいずれ
で符号化すべきかを画面内/画面間符号化判定器172
が判定し、その判定結果が形状符号化モード111とし
て出力される。いずれの場合にも、形状符号化モード1
11は、形状符号化器112と、モード符号化器122
とに出力される。そして、画素値符号化器120、形状
符号化器112、及びモード符号化器122の動作は実
施の形態18と同様となり、各符号化信号が出力され
る。
On the other hand, when the pixel value encoding mode 119 indicates inter-picture encoding, it is determined whether the shape signal should be encoded by intra-picture encoding or inter-picture encoding in response to the shape signal 105. Intra / inter-screen coding determiner 172
Is determined, and the result of the determination is output as the shape encoding mode 111. In any case, shape encoding mode 1
11 is a shape encoder 112 and a mode encoder 122
Is output to The operations of the pixel value encoder 120, the shape encoder 112, and the mode encoder 122 are the same as those in the eighteenth embodiment, and each encoded signal is output.

【0152】以上の動作をすることから、本実施の形態
22による画像符号化装置では、画素値信号が画面内符
号化される場合には、形状信号は必ず画面内符号化され
ることとなる。一般に、画素値が一致しない場合には形
状も一致しないので、画素値信号が画面内符号化される
べきもの、即ち時間的に相関が少ないものである場合に
は、本実施の形態22の様に形状信号の符号化の符号化
モード数を制限しても、形状信号の符号化の符号化効率
は殆ど劣化しない。また、はめ込み画像(合成画像)等
の様に合成の際の形状信号が一定であっても合成される
画素値が変化する場合があり、かかる場合等には画素値
信号によって画面間符号化が選択されても、形状信号に
ついて画面間符号化が適切であるとは限らない。本実施
の形態22の装置では、画素値信号について画面間符号
化が選択された場合には、形状信号については画面内/
画面間のいずれとするかを判定することとなるので、形
状信号の符号化は画面内符号化の符号化モードをも選択
可能であり、形状信号の符号化において不適切な画面間
符号化を行ってしまうことによりの符号化効率が大きく
劣化することを防止できる。
From the above operation, in the image coding apparatus according to the twenty-second embodiment, when the pixel value signal is intra-coded, the shape signal is always intra-coded. . In general, when the pixel values do not match, the shapes do not match. Therefore, when the pixel value signal is to be coded in the screen, that is, when the correlation is small in time, as in the twenty-second embodiment, Even if the number of coding modes for shape signal coding is limited, the coding efficiency of shape signal coding hardly deteriorates. Further, even when the shape signal at the time of synthesis is constant, such as an inlaid image (synthesized image), the pixel value to be synthesized may change. In such a case, inter-picture coding is performed by the pixel value signal. Even if it is selected, the inter-picture coding is not always appropriate for the shape signal. In the apparatus according to the twenty-second embodiment, when the inter-picture coding is selected for the pixel value signal, the shape signal
Since it is determined which is between the screens, the coding of the shape signal can also select the coding mode of intra-screen coding, and inappropriate inter-screen coding in the coding of the shape signal is performed. It is possible to prevent the coding efficiency from being greatly degraded due to this.

【0153】また、形状信号もしくは画素値信号の少な
くとも一方が画面間符号化されている場合には、画面間
符号化において実行する動き補償等のために必要な多く
の付加情報が必要となる。本実施の形態22による画像
符号化装置では、形状信号のみが画面間符号化されるこ
とがないので、画素値信号について画面内符号化が選択
された場合にはビット数が節約できることとなる。一般
に、上記の付加情報については、画素値信号を画面内符
号化した場合のビット数よりは少ないが、形状信号の画
面内符号化に必要なビット数と比較すると無視できない
程度のビット数であるので、その効果も大きい。このよ
うに、本実施の形態22の画像符号化装置によれば、画
素値符号化の画面内/画面間符号化判定器178と、形
状符号化の画面内/画面間符号化判定器172を内包す
る形状符号化モード判定器138とを備えたことで、画
素値信号の符号化モードが画面内符号化の場合には形状
信号の符号化モードを画面内符号化とし、画素値信号の
符号化モードが画面間符号化の場合には、形状信号の符
号化モードについての判定を行って選択するので、画素
値信号の符号化モード119と形状信号の符号化モード
111との相関を高めてモード符号化信号のビット数の
削減を図り、かつ画面間符号化を行うという選択を抑制
することにより、動き補償のための付加情報のビット数
の抑制も可能となる。
When at least one of the shape signal and the pixel value signal is inter-coded, much additional information necessary for motion compensation performed in inter-picture coding is required. In the image coding apparatus according to the twenty-second embodiment, since only the shape signal is not inter-coded, the number of bits can be reduced when intra-picture coding is selected for the pixel value signal. In general, the number of bits of the additional information is smaller than the number of bits when the pixel value signal is intra-coded, but is a bit number that cannot be ignored when compared with the number of bits required for intra-coding of the shape signal. Therefore, the effect is great. As described above, according to the image coding apparatus of Embodiment 22, the intra-screen / inter-screen coding determiner 178 for pixel value coding and the intra-screen / inter-screen coding determiner 172 for shape coding are used. With the inclusion of the shape coding mode determination unit 138 to include, when the coding mode of the pixel value signal is the intra-screen coding, the coding mode of the shape signal is set to the intra-screen coding, When the coding mode is inter-picture coding, the coding mode of the shape signal is determined by selecting the coding mode. Therefore, the correlation between the coding mode 119 of the pixel value signal and the coding mode 111 of the shape signal is increased. By reducing the number of bits of the mode-coded signal and suppressing the selection of performing inter-screen coding, the number of bits of additional information for motion compensation can be reduced.

【0154】実施の形態23.本発明の実施の形態23
による画像符号化装置は、符号化における動きベクトル
の数を入力信号に適応して切り替えて符号化を行うもの
である。図27は、本発明の実施の形態23による画像
符号化装置の構成を示すブロック図である。同図におい
て、188は画素値符号化の動きベクトル数判定器であ
り、画素値信号の符号化のモードにおいて、動きベクト
ルの数を幾つとするかの判定を行い、画素値信号の符号
化モード119を出力する。138は形状符号化モード
判定器であり、図24の138に示す実施の形態20に
おける形状符号化モード判定器に相当する。180、及
び186はスイッチであって、判定器188の出力に応
じて切り替えられ、形状信号の符号化モードを決定す
る。182は形状符号化の動きベクトル数判定器であ
り、形状信号の符号化のモードについて、動きベクトル
数を幾つとするかの判定を行い、判定の結果により形状
信号の符号化モード183を出力する。他の符号につい
ては、図22と同様であり、説明は実施の形態18と同
様である。
Embodiment 23 FIG. Embodiment 23 of the present invention
Is an image coding apparatus for performing coding by switching the number of motion vectors in coding in accordance with an input signal. FIG. 27 is a block diagram illustrating a configuration of an image encoding device according to Embodiment 23 of the present invention. In the figure, reference numeral 188 denotes a motion vector number judging unit for pixel value encoding, which judges how many motion vectors are used in a pixel value signal encoding mode, and determines a pixel value signal encoding mode. 119 is output. Reference numeral 138 denotes a shape encoding mode determiner, which corresponds to the shape encoding mode determiner according to the twentieth embodiment shown in 138 of FIG. Switches 180 and 186 are switched according to the output of the determiner 188 and determine the encoding mode of the shape signal. Reference numeral 182 denotes a shape encoding motion vector number determiner which determines the number of motion vectors for the shape signal encoding mode, and outputs a shape signal encoding mode 183 according to the determination result. . Other symbols are the same as in FIG. 22, and the description is the same as in the eighteenth embodiment.

【0155】以上の様に構成された、本実施の形態23
による画像符号化装置についてその動作を説明する。ま
ず、入力画像信号101が、本実施の形態23の画像符
号化装置に入力されると、ブロック化器102は実施の
形態18と同様に、ブロック化と信号の分離とを行い、
画素値信号と形状信号を出力する。分離された画素値信
号107が画素値符号化の動きベクトル数判定器188
に入力されると、判定器188は画素値信号107に対
して、動きベクトル数を幾つとして符号化すべきかを判
定し、その判定の結果を、画素値符号化モード119と
して、画素値符号化器120と、モード符号化器12
2、及び形状符号化モード判定器138に出力する。
The twenty-third embodiment constructed as described above
The operation of the image coding apparatus according to the first embodiment will be described. First, when the input image signal 101 is input to the image coding apparatus according to Embodiment 23, the blocker 102 performs blocking and signal separation similarly to Embodiment 18.
A pixel value signal and a shape signal are output. The separated pixel value signal 107 is used as a motion vector number determiner 188 for pixel value encoding.
Is input to the pixel value signal 107, the determiner 188 determines the number of motion vectors to be coded, and the result of the determination is set to the pixel value Encoder 120 and mode encoder 12
2 and output to the shape encoding mode determiner 138.

【0156】図28は動きベクトルの数について説明す
るための図である。物体の輪郭近傍では動きが複雑であ
り、ブロック毎に1個の動きベクトル(MV)を用いたの
では動き補償誤差を十分小さくすることが困難である。
かかる場合にはブロックを分割して、各分割ブロックに
対して動きベクトルを割り当てることが望ましく、この
ように画像の性質に応じて適応的に動きベクトルの数を
変更することで符号化効率が向上することが知られてい
る。従って、本実施の形態23の画像符号化装置では、
図示するようにブロック毎に1個の動きベクトル(MV
1) を用いて動き補償するか、当該ブロックを4分割し
て各分割ブロックに1個ずつ、合計4個の動きベクトル
(MV1, MV2, MV3, MV4)を用いて動き補償するかを、適
応的に切り替えるものとする。よって、判定器188で
は、動きベクトルの数を1個とするか4個とするかを判
定し、画素値信号の符号化モードとして「1」又は
「4」を上記出力する。
FIG. 28 is a diagram for explaining the number of motion vectors. The motion is complicated near the contour of the object, and it is difficult to sufficiently reduce the motion compensation error by using one motion vector (MV) for each block.
In such a case, it is desirable to divide the block and assign a motion vector to each divided block. Thus, the coding efficiency is improved by adaptively changing the number of motion vectors according to the properties of the image. It is known to Therefore, in the image coding apparatus according to Embodiment 23,
As shown, one motion vector (MV
1) adaptively determine whether motion compensation is to be performed by using, or to perform motion compensation using four motion vectors (MV1, MV2, MV3, MV4), each of which is divided into four blocks, one for each divided block. Shall be switched. Therefore, the determiner 188 determines whether the number of motion vectors is one or four, and outputs “1” or “4” as the encoding mode of the pixel value signal.

【0157】形状符号化モード判定器138では、スイ
ッチ180と186とが、画素値符号化モード119に
応じて切り替えられる。画素値符号化モードが「1」を
示す場合には判定器182に入力されないように、
「4」を示す場合には判定器182に入力されるように
切り替えられる。従って、画素値符号化モード119が
「1」の場合、判定器138からは動きベクトルの数と
して最小の個数である「1」の形状判定モード111が
出力されることとなる。
In the shape coding mode determination unit 138, the switches 180 and 186 are switched according to the pixel value coding mode 119. When the pixel value encoding mode indicates “1”, the pixel value encoding mode is not input to the determiner 182,
When “4” is indicated, switching is performed so as to be input to the determiner 182. Therefore, when the pixel value encoding mode 119 is “1”, the shape determination mode 111 of “1” which is the minimum number of motion vectors is output from the determiner 138.

【0158】一方、画素値符号化モード119が「4」
を示す場合は、形状信号105に対応して、動きベクト
ルの数を1個とするか4個とするかを動きベクトル数判
定器182が判定し、その判定結果が形状符号化モード
111として出力される。いずれの場合にも、形状符号
化モード111は、形状符号化器112と、モード符号
化器122とに出力される。そして、画素値符号化器1
20、形状符号化器112、及びモード符号化器122
の動作は実施の形態18と同様となり、各符号化信号が
出力される。
On the other hand, when the pixel value encoding mode 119 is "4"
When the motion vector number is determined, the motion vector number determiner 182 determines whether the number of motion vectors is one or four in accordance with the shape signal 105, and the determination result is output as the shape encoding mode 111. Is done. In any case, the shape encoding mode 111 is output to the shape encoder 112 and the mode encoder 122. And the pixel value encoder 1
20, shape encoder 112, and mode encoder 122
Is the same as that of the eighteenth embodiment, and each encoded signal is output.

【0159】以上の動作をすることから、本実施の形態
23による画像符号化装置では、画素値信号が最小個数
の動きベクトルを用いて符号化される場合には、形状信
号は必ず最小個数の動きベクトルを用いて符号化される
こととなる。動きベクトル数を多くすると、動きベクト
ルを符号化するために必要な付加情報が増大するので好
ましくないこととなるので、かかる場合には形状信号符
号化のための動きベクトル数を抑制することで負担の増
大を防止するものである。
With the above operation, in the image coding apparatus according to the twenty-third embodiment, when the pixel value signal is coded using the minimum number of motion vectors, the shape signal always has the minimum number. The encoding is performed using the motion vector. Increasing the number of motion vectors increases the amount of additional information required to encode the motion vectors, which is not preferable. In such a case, the burden is reduced by suppressing the number of motion vectors for shape signal encoding. Is prevented from increasing.

【0160】このように、本実施の形態23の画像符号
化装置によれば、画素値符号化の動きベクトル数判定器
188と、形状符号化の動きベクトル数判定器182を
内包する形状符号化モード判定器138とを備えたこと
で、画素値信号の符号化モードが最小個数の動きベクト
ルを用いる場合には、形状信号の符号化モードを最小個
数とし、画素値信号の符号化モードが多数のベクトルを
用いる場合には、形状信号の符号化モードについての判
定を行って選択するので、画素値信号の符号化モード1
19と形状信号の符号化モード111との相関を高めて
モード符号化信号のビット数の削減を図ることが可能と
なり、かつ、動きベクトルの数を多くする選択を抑制す
ることによって、付加情報が増大するためのビット数増
加も抑制することができる。
As described above, according to the image coding apparatus of the twenty-third embodiment, the motion vector number judging device 188 for pixel value encoding and the motion vector number judging device 182 for shape encoding are included. By providing the mode determiner 138, when the coding mode of the pixel value signal uses the minimum number of motion vectors, the coding mode of the shape signal is set to the minimum number, and the coding mode of the pixel value signal is many. When the vector of the pixel value signal is used, the encoding mode of the pixel value signal is determined by selecting the encoding mode of the shape signal.
19 and the coding mode 111 of the shape signal can be enhanced to reduce the number of bits of the mode coded signal, and by suppressing the selection of increasing the number of motion vectors, the additional information can be reduced. The increase in the number of bits for the increase can also be suppressed.

【0161】実施の形態24.本発明の実施の形態24
による画像符号化装置は、量子化ステップの変更/非変
更を入力信号に適応して切り替えて符号化を行うもので
ある。図29は、本発明の実施の形態24による画像符
号化装置の構成を示すブロック図である。同図におい
て、198は画素値符号化の量子化ステップ変更/非変
更判定器であり、画素値信号の符号化のモードについ
て、量子化ステップの変更を行うか、又は行わないかの
判定を行い、画素値信号の符号化モード119を出力す
る。138は形状符号化モード判定器であり、図24の
138に示す実施の形態20における形状符号化モード
判定器に相当する。190、及び196はスイッチであ
って、判定器198の出力に応じて切り替えられ、形状
信号の符号化モードを決定する。192は形状符号化の
量子化ステップ変更/非変更判定器であり、形状信号の
符号化のモードについて、量子化ステップの変更を行う
か、又は行わないかの判定を行い、判定の結果により形
状信号の符号化モード193を出力する。他の符号につ
いては、図22と同様であり、説明は実施の形態18と
同様である。
Embodiment 24 FIG. Embodiment 24 of the present invention
Is an apparatus for performing coding by switching between change / non-change of a quantization step in accordance with an input signal. FIG. 29 is a block diagram illustrating a configuration of an image encoding device according to Embodiment 24 of the present invention. In the figure, reference numeral 198 denotes a quantization step change / non-change determination unit for pixel value coding, which determines whether or not to change the quantization step for the pixel value signal coding mode. , A pixel value signal encoding mode 119 is output. Reference numeral 138 denotes a shape encoding mode determiner, which corresponds to the shape encoding mode determiner according to the twentieth embodiment shown in 138 of FIG. Switches 190 and 196 are switched according to the output of the determiner 198 to determine the encoding mode of the shape signal. Reference numeral 192 denotes a shape coding quantization step change / non-change determination unit that determines whether or not to change the quantization step for the shape signal coding mode, and determines the shape based on the result of the determination. The signal encoding mode 193 is output. Other symbols are the same as in FIG. 22, and the description is the same as in the eighteenth embodiment.

【0162】以上の様に構成された、本実施の形態24
による画像符号化装置についてその動作を説明する。ま
ず、入力画像信号101が、本実施の形態24の画像符
号化装置に入力されると、ブロック化器102は実施の
形態18と同様に、ブロック化と信号の分離とを行い、
画素値信号と形状信号を出力する。分離された画素値信
号107が画素値符号化の量子化ステップ変更/非変更
判定器198に入力されると、判定器198は画素値信
号107に対して、量子化ステップの変更を行うか、又
は行わないかを判定し、その判定の結果を、「変更」、
または「非変更」のいずれかを示す画素値符号化モード
119として、画素値符号化器120と、モード符号化
器122、及び形状符号化モード判定器138に出力す
る。
The twenty-fourth embodiment configured as described above
The operation of the image coding apparatus according to the first embodiment will be described. First, when the input image signal 101 is input to the image coding apparatus according to Embodiment 24, the blocker 102 performs blocking and signal separation similarly to Embodiment 18.
A pixel value signal and a shape signal are output. When the separated pixel value signal 107 is input to the quantization step change / non-change determination unit 198 for pixel value encoding, the determination unit 198 changes the quantization step for the pixel value signal 107, Or not to perform, and the result of the determination, "change",
Alternatively, as the pixel value encoding mode 119 indicating either “unchanged”, the pixel value is output to the pixel value encoder 120, the mode encoder 122, and the shape encoding mode determiner 138.

【0163】形状符号化モード判定器138では、スイ
ッチ190と196とが、画素値符号化モード119に
応じて切り替えられる。画素値符号化モードが「非変
更」を示す場合には判定器192に入力されないよう
に、「変更」を示す場合には判定器192に入力される
ように切り替えられる。従って、画素値符号化モード1
19が量子化ステップを変更しないことを示す場合、判
定器138からは「非変更」を示す形状判定モード11
1が出力されることとなる。
In the shape encoding mode determination unit 138, the switches 190 and 196 are switched according to the pixel value encoding mode 119. When the pixel value encoding mode indicates “unchanged”, the input is switched to the input to the determiner 192, and when the pixel value encoding mode indicates “changed”, the input is input to the determiner 192. Therefore, pixel value encoding mode 1
When 19 indicates that the quantization step is not changed, the determination unit 138 outputs the shape determination mode 11 indicating “unchanged”.
1 will be output.

【0164】一方、画素値符号化モード119が量子化
ステップを変更することを示す場合は、形状信号105
に対応して、量子化ステップの変更を行うか、又は行わ
ないかを判定器192が判定し、その判定結果が形状符
号化モード111として出力される。いずれの場合に
も、形状符号化モード111は、形状符号化器112
と、モード符号化器122とに出力される。そして、画
素値符号化器120、形状符号化器112、及びモード
符号化器122の動作は実施の形態18と同様となり、
各符号化信号が出力される。
On the other hand, if the pixel value encoding mode 119 indicates that the quantization step is to be changed, the shape signal 105
In response to the above, the determiner 192 determines whether or not to change the quantization step, and the result of the determination is output as the shape encoding mode 111. In either case, the shape encoding mode 111 is
And the mode encoder 122. The operations of the pixel value encoder 120, the shape encoder 112, and the mode encoder 122 are the same as those in Embodiment 18,
Each encoded signal is output.

【0165】量子化ステップの値は圧縮の度合い、すな
わち符号化信号の伝送レートに直結するものであるの
で、一般に画像を符号化した符号化信号の伝送レートも
しくは記録レートがほぼ一定となるように、伝送レート
が所定の値より大きければ量子化ステップを粗くし、逆
に小さければ量子化ステップを密にする制御が行われ
る。また、量子化ステップの値は、符号化信号の画質に
も直接影響するものなので、画素値が急峻に変化するよ
うな画像である場合には、視覚的に振幅方向の画質劣化
は検知しにくいことから、量子化ステップを大きくし
て、圧縮率を高めることが可能となる。かかる画素値の
変化に応じて量子化ステップを変更することも、一般に
行われる。
Since the value of the quantization step is directly related to the degree of compression, that is, the transmission rate of the coded signal, generally, the transmission rate or the recording rate of the coded signal obtained by coding an image is set to be substantially constant. If the transmission rate is higher than a predetermined value, control is performed to make the quantization step coarser, whereas if the transmission rate is lower than the predetermined value, the quantization step is made denser. Further, since the value of the quantization step directly affects the image quality of the coded signal, if the image is such that the pixel value changes sharply, it is difficult to visually detect the image quality deterioration in the amplitude direction. Therefore, it is possible to increase the quantization step and increase the compression ratio. Changing the quantization step according to such a change in the pixel value is also generally performed.

【0166】このような量子化ステップを変更する制御
を行う場合は、「量子化ステップが変化した」ことを示
す付加情報がブロック毎に加えられ、画像のデータとと
もに符号化される。しかしながら、量子化ステップの変
更については画素値信号と形状信号とについて同時に変
化させるべきであることが多く、画素値信号の量子化ス
テップが変更されない場合には、形状信号の量子化ステ
ップを変化させないように制限を加えても、かかる制限
による画質劣化はわずかであり、一方、量子化ステップ
の変化を示す付加情報を大きく削減することができる。
このように、本実施の形態24の画像符号化装置によれ
ば、画素値符号化の量子化ステップ変更/非変更判定器
198と、形状符号化の量子化ステップ変更/非変更判
定器192を内包する形状符号化モード判定器138と
を備えたことで、画素値信号の符号化モードが「量子化
ステップ非変更」の場合には形状信号の符号化モードを
「量子化ステップ非変更」とし、画素値信号の符号化モ
ードが「量子化ステップ変更」の場合には、形状信号の
符号化モードについての判定を行って選択するので、画
素値信号の符号化モード119と形状信号の符号化モー
ド111との相関を高めてモード符号化信号のビット数
の削減を図ることが可能となるとともに、量子化ステッ
プが変更されるという選択を抑制することにより、量子
化ステップ変更による付加情報増大を抑制し、ビット数
の削減を図ることも可能となる。
When such control for changing the quantization step is performed, additional information indicating that the quantization step has changed is added for each block, and is encoded together with the image data. However, it is often the case that the quantization step should be changed simultaneously for the pixel value signal and the shape signal, and if the quantization step for the pixel value signal is not changed, the quantization step for the shape signal is not changed. Even if such restrictions are applied, the image quality degradation due to such restrictions is slight, while additional information indicating a change in the quantization step can be greatly reduced.
As described above, according to the image coding apparatus of the twenty-fourth embodiment, the quantization step change / non-change determining unit 198 for pixel value coding and the quantization step change / non-change determining unit 192 for shape coding are different. With the inclusion of the shape coding mode determination unit 138 to include, when the coding mode of the pixel value signal is “quantization step non-change”, the coding mode of the shape signal is set to “quantization step non-change”. If the encoding mode of the pixel value signal is “quantization step change”, the encoding mode of the shape signal is determined and selected, so that the encoding mode 119 of the pixel value signal and the encoding of the shape signal are performed. It is possible to reduce the number of bits of the mode coded signal by increasing the correlation with the mode 111, and to suppress the selection that the quantization step is changed. That additional information increased suppression, it is also possible to reduce the number of bits.

【0167】なお、実施の形態22〜24の画像符号化
装置については、図24に示す実施の形態20に準じた
構成としたものであるが、図23に示す実施の形態19
に準じた構成とすることも可能であり、やはり、符号化
モードの相関を高めることと、付加情報の増大を抑制す
ることによるビット数削減を図ることができる。また、
図20に示す実施の形態18に準じた構成とすることも
可能であり、各信号に適した符号化を実現しつつ、ビッ
ト数削減を図ることができる。また、実施の形態22〜
24の画像符号化装置で得られた符号化信号は、実施の
形態21による画像復号化装置において適切に復号化が
可能である。また、実施の形態18〜21では入力画像
信号が、画素値情報の他に透過度情報と形状情報とから
構成されるものとし、画素値信号、透過度信号、及び形
状信号への分離を行うこととしているが、実施の形態2
2〜24では入力画像信号を画素値信号と形状信号とに
分離するものとしている。これについては、実施の形態
22〜24においても透過度情報と形状情報とが一致す
る場合には、形状情報のみを用いることが可能であり、
一方、一致しない場合には、ブロック化器の設定により
透過度情報を形状信号とすること、あるいは多値信号で
ある透過度情報を画素値情報とともにあつかうこと、と
することで、形状信号と画素値信号とを得ることができ
る。
The image coding apparatuses according to the twenty-second to twenty-fourth embodiments have a configuration similar to that of the twentieth embodiment shown in FIG. 24. However, the nineteenth embodiment shown in FIG.
It is also possible to adopt a configuration that conforms to the above, and it is also possible to increase the correlation between the encoding modes and reduce the number of bits by suppressing an increase in additional information. Also,
The configuration according to the eighteenth embodiment shown in FIG. 20 can be adopted, and the number of bits can be reduced while realizing encoding suitable for each signal. Embodiment 22 to
The coded signal obtained by the 24 image coding apparatus can be appropriately decoded by the image decoding apparatus according to Embodiment 21. In the eighteenth to twenty-first embodiments, it is assumed that an input image signal is composed of transmittance information and shape information in addition to pixel value information, and separation into a pixel value signal, a transmittance signal, and a shape signal is performed. Embodiment 2
In Nos. 2 to 24, the input image signal is separated into a pixel value signal and a shape signal. In this regard, even in Embodiments 22 to 24, if the transmittance information and the shape information match, it is possible to use only the shape information,
On the other hand, if they do not match, by setting the transparency information to a shape signal by setting the blocker, or by handling the transparency information which is a multi-value signal together with the pixel value information, the shape signal and the pixel Value signal.

【0168】実施の形態25.本発明の実施の形態25
による画像符号化装置は、複数の画素からなる2次元画
像信号を入力し、変化画素の予測と検出を行うものであ
る。図30は本発明の実施の形態25による画像符号化
装置の構成を示すブロック図である。同図において、2
01は入力信号であり、2値の画像信号として画像符号
化装置に入力される。204cは第1の変化画素検出器
であり、入力信号201に対して、その画素値が変化す
る画素を検出し、第1の検出変化画素205cとして出
力する。202a、及び202bはメモリであり、入力
信号を一時記憶することにより遅延して、参照信号20
3a、及び203bとして出力する。204a、及び2
04bは変化画素検出器であり、参照信号203a、及
び203bに対して、その画素値が変化する画素を検出
し、第2、及び第3の検出変化画素203a、及び20
3bとして出力する。206は変化画素予測器であり、
検出変化画素203a、及び203bに基づいて、第1
の変化画素検出器204cの出力する変化画素を予測
し、予測変化画素207を出力する。208は減算器で
あり、第1の変化画素205cと予測変化画素207と
の差分を取得することにより、その差分を予測誤差20
9として出力する。210は符号化器であり、予測誤差
209を符号化して、符号化信号211を出力する。
Embodiment 25 FIG. Embodiment 25 of the present invention
Is an apparatus for inputting a two-dimensional image signal composed of a plurality of pixels and predicting and detecting a changed pixel. FIG. 30 is a block diagram showing a configuration of an image encoding device according to Embodiment 25 of the present invention. In the figure, 2
An input signal 01 is input to the image encoding apparatus as a binary image signal. Reference numeral 204c denotes a first changed pixel detector, which detects a pixel whose pixel value changes with respect to the input signal 201 and outputs the detected pixel as a first detected changed pixel 205c. Reference numerals 202a and 202b denote memories that temporarily store the input signal and delay the input signal,
Output as 3a and 203b. 204a and 2
Reference numeral 04b denotes a change pixel detector which detects a pixel whose pixel value changes with respect to the reference signals 203a and 203b, and detects second and third detected change pixels 203a and 203b.
Output as 3b. 206 is a change pixel predictor;
Based on the detected change pixels 203a and 203b, the first
, And outputs a predicted changed pixel 207. A subtracter 208 obtains a difference between the first changed pixel 205c and the predicted changed pixel 207, and converts the difference into a prediction error 20.
9 is output. An encoder 210 encodes the prediction error 209 and outputs an encoded signal 211.

【0169】以上の様に構成された、実施の形態25に
よる画像符号化装置についてその動作を説明する。図3
1は本実施の形態25の画像符号化装置による符号化の
動作の原理を説明するため図である。ここでは説明の簡
略化のために、1画素ずつを順次処理するものとして処
理手順を説明する。図31において、左上画素から右方
向に走査が行われ、右下の方向に符号化がなされものと
する。各画素の画素値は2値の値を有し、斜線の有無で
真偽の値(2値)を表すものとする。また、ここでは、
1ライン目と2ライン目では符号化が完了し、3ライン
目(第1の変化画素が存在するライン)を符号化するも
のとする。変化画素は上記のような走査において、画素
値が変化する最初の画素を意味し、符号化済のライン
(走査線)上の変化画素を第2の変化画素、および第3
の変化画素とし、未符号化の走査線上の最初の変化画素
を第1の変化画素とする。従って、第2の変化画素と第
3の変化画素とから、第1の変化画素を予測し、該予測
した第1の変化画素と実際の第1の変化画素との差分値
(予測誤差)を計算すれば予測誤差は0近傍に集中する
分布となるので可変長符号化等を使用して少ないビット
数で効率よく符号化することが可能になる。
The operation of the picture coding apparatus according to Embodiment 25 constructed as above will be described. FIG.
FIG. 1 is a diagram for explaining the principle of an encoding operation performed by the image encoding device according to the twenty-fifth embodiment. Here, for the sake of simplicity, the processing procedure will be described assuming that one pixel is sequentially processed. In FIG. 31, it is assumed that scanning is performed in the right direction from the upper left pixel, and encoding is performed in the lower right direction. The pixel value of each pixel has a binary value, and the presence or absence of a diagonal line indicates a true / false value (binary). Also, here
Encoding is completed for the first and second lines, and the third line (the line where the first changed pixel exists) is to be encoded. The changed pixel means the first pixel whose pixel value changes in the scanning as described above, and the changed pixel on the encoded line (scanning line) is the second changed pixel and the third changed pixel.
, And the first changed pixel on the uncoded scan line is the first changed pixel. Therefore, the first changed pixel is predicted from the second changed pixel and the third changed pixel, and the difference value (prediction error) between the predicted first changed pixel and the actual first changed pixel is calculated. If the calculation is performed, the prediction error has a distribution concentrated around 0, so that it is possible to efficiently perform encoding with a small number of bits using variable length encoding or the like.

【0170】図30において、まず、入力信号201が
装置に入力される。画像入力信号201については通常
のカラー信号(画素値信号)や物体の形状または物体の
合成の比率を表す形状信号とすることができる。入力信
号201は、メモリ202a、及び202bに入力され
て一時記憶される。一方入力信号201は第1の変化画
素検出器204cにも入力され、変化画素検出器204
cは、2値の画素値が変化する画素を検出する。これが
図31の第1の変化画素である。図30において、第1
の変化画素205cは減算器208に入力される。一方
メモリ202aは、一時記憶した入力信号201を2ラ
イン分遅延させて参照信号203aとして変化画素検出
器204aに出力し、変化画素検出器204aは、図3
1の第2の変化画素205aを検出する。同様に、メモ
リ202bは、一時記憶した入力信号201を1ライン
分遅延させて参照信号203bとして変化画素検出器2
04bに出力し、変化画素検出器204bは、図31の
第3の変化画素を検出する。図30において、変化画素
205a、及び205bは変化画素予測器207に入力
される。
In FIG. 30, first, an input signal 201 is input to the device. The image input signal 201 can be a normal color signal (pixel value signal) or a shape signal representing the shape of the object or the composition ratio of the object. The input signal 201 is input to the memories 202a and 202b and is temporarily stored. On the other hand, the input signal 201 is also input to the first changed pixel detector 204c,
c detects a pixel whose binary pixel value changes. This is the first change pixel in FIG. In FIG. 30, the first
Are input to the subtractor 208. On the other hand, the memory 202a delays the temporarily stored input signal 201 by two lines and outputs it as a reference signal 203a to the changed pixel detector 204a.
One second change pixel 205a is detected. Similarly, the memory 202b delays the temporarily stored input signal 201 by one line and changes the input signal 201 as the reference signal 203b.
The changed pixel detector 204b outputs the third changed pixel in FIG. In FIG. 30, changed pixels 205a and 205b are input to a changed pixel predictor 207.

【0171】画像は、一般に水平および垂直方向につい
て相関を有しており、第1〜第2の変化画素はほぼ直線
上に並ぶことが多い。変化画素予測器206は、このこ
とに基づいて入力された変化画素から予測を行い、得ら
れた予測変化画素207を減算器208に出力する。減
算器208は、入力された第1の変化画素205cと予
測変化画素207との差分を取得することにより、その
差分を予測誤差209として符号化器210に出力し、
符号化器210は予測誤差209を符号化して、符号化
信号211を出力する。予測変化画素と、検出した第1
の変化画素との差分値である予測誤差は0近傍に集中す
る分布となるので、これを符号化すれば0に近い値にビ
ット数の少ない符号を割り当てる可変長符号化等を使用
して、少ないビット数で効率よく符号化することが可能
になる。このように、本実施の形態25の画像符号化装
置では、メモリ202a〜bと、変化画素検出器204
a〜cと、変化画素予測器207と、減算器208と、
符号化器210とを備えたことで、入力信号を遅延させ
た参照信号より検出した変化画素に基づいて、当該入力
信号の変化画素を予測し、この予測についての誤差を符
号化するものとしたことで、符号化効率の向上を図るこ
とが可能となる。
An image generally has a correlation in the horizontal and vertical directions, and the first and second changed pixels are often arranged substantially on a straight line. The change pixel predictor 206 performs prediction from the input change pixel based on this, and outputs the obtained prediction change pixel 207 to the subtractor 208. The subtracter 208 obtains a difference between the input first changed pixel 205c and the predicted changed pixel 207, and outputs the difference as a prediction error 209 to the encoder 210.
The encoder 210 encodes the prediction error 209 and outputs an encoded signal 211. The predicted change pixel and the first detected
Since the prediction error, which is the difference value from the change pixel of, becomes a distribution concentrated near 0, if this is coded, using a variable-length coding that assigns a code with a small number of bits to a value close to 0, Efficient encoding can be performed with a small number of bits. As described above, in the image coding apparatus according to the twenty-fifth embodiment, the memories 202a and 202b and the changed pixel detector 204
a to c, a change pixel predictor 207, a subtractor 208,
The provision of the encoder 210 predicts a changed pixel of the input signal based on the changed pixel detected from the reference signal obtained by delaying the input signal, and encodes an error in the prediction. This makes it possible to improve the coding efficiency.

【0172】実施の形態26.本発明の実施の形態26
による画像符号化装置は、複数の画素からなる2次元画
像信号を入力し、変化画素の予測と検出を行うものであ
り、実施の形態25とは予測に用いる変化画素の取得方
法が異なるものである。図32は本発明の実施の形態2
6による画像符号化装置の構成を示すブロック図であ
る。同図において、201は入力信号であり、2値の画
像信号として画像符号化装置に入力される。204は変
化画素検出器であり、入力信号201に対して、その画
素値が変化する画素を検出し、検出変化画素205とし
て出力する。216a、及び216bはメモリであり、
入力された変化画素を一時記憶することにより遅延させ
る。メモリ216aは検出変化画素205を遅延させて
参照変化画素217aを、メモリ216bは参照信号2
17aを遅延させて参照変化画素217bを出力する。
206は変化画素予測器であり、参照変化画素217
a、及び217bに基づいて変化画素を予測し、予測変
化画素207を出力する。減算器208と符号化器21
0については実施の形態25と同じである。
Embodiment 26 FIG. Embodiment 26 of the present invention
Is an apparatus for inputting a two-dimensional image signal composed of a plurality of pixels and predicting and detecting a changed pixel, and differs from the twenty-fifth embodiment in a method of acquiring a changed pixel used for prediction. is there. FIG. 32 shows Embodiment 2 of the present invention.
6 is a block diagram illustrating the configuration of an image encoding device according to No. 6. In the figure, reference numeral 201 denotes an input signal, which is input to the image encoding device as a binary image signal. Reference numeral 204 denotes a change pixel detector which detects a pixel whose pixel value changes with respect to the input signal 201 and outputs the detected pixel as a detected change pixel 205. 216a and 216b are memories,
Delaying is performed by temporarily storing the input changed pixel. The memory 216a delays the detection change pixel 205 to provide the reference change pixel 217a, and the memory 216b stores the reference change signal
17a is delayed and the reference change pixel 217b is output.
Reference numeral 206 denotes a change pixel predictor, which is a reference change pixel 217.
a) and predicts a changed pixel based on 217b and outputs a predicted changed pixel 207. Subtractor 208 and encoder 21
0 is the same as in the twenty-fifth embodiment.

【0173】以上の様に構成された、実施の形態26に
よる画像符号化装置についてその動作を説明する。実施
の形態25と同様の入力信号201が本実施の形態26
の画像符号化装置に入力され、変化画素検出器204に
よって、2値の画素値が変化する画素が検出され、検出
変化画素205がメモリ216aと減算器208とに出
力される。メモリ216aに入力された検出変化画素2
05は、1ライン分の遅延の後、参照変化画素217a
として変化画素予測器206と、メモリ216bとに出
力される。メモリ216bに入力された参照変化画素2
17aはさらに1ライン分の遅延の後、参照変化画素2
17bとして変化画素予測器206に出力される。参照
変化画素217aと217bとを実施の形態25におけ
る第2、及び第3の変化画素として扱うことにより、変
化画素予測器206は実施の形態25と同様の予測を行
うことが可能となり、予測変化画素207が得られる。
以降の処理は実施の形態25と同様となる。このよう
に、本実施の形態26の画像符号化装置では、メモリ2
16a〜bと、変化画素検出器204と、変化画素予測
器207と、減算器208と、符号化器210とを備え
たことで、入力信号より検出した変化画素をメモリにお
いて遅延させることで参照変化画素を取得し、この参照
変化画素に基づいて、当該入力信号の変化画素を予測
し、この予測についての誤差を符号化するものとしたこ
とで、実施の形態25と同様に符号化効率の向上を図る
ことが可能となる。
The operation of the image coding apparatus according to the twenty-sixth embodiment configured as described above will be described. The input signal 201 similar to that of the twenty-fifth embodiment is
, The pixel whose binary pixel value changes is detected by the change pixel detector 204, and the detected change pixel 205 is output to the memory 216 a and the subtracter 208. Detected change pixel 2 input to memory 216a
05 is a reference change pixel 217a after a delay of one line.
Is output to the change pixel predictor 206 and the memory 216b. Reference change pixel 2 input to memory 216b
17a is a reference change pixel 2 after a delay of one line
17b is output to the change pixel predictor 206. By treating the reference changed pixels 217a and 217b as the second and third changed pixels in the twenty-fifth embodiment, the changed pixel predictor 206 can perform the same prediction as in the twenty-fifth embodiment. Pixel 207 is obtained.
Subsequent processing is the same as in the twenty-fifth embodiment. As described above, in the image coding apparatus according to the twenty-sixth embodiment, the memory 2
16a-b, a changed pixel detector 204, a changed pixel predictor 207, a subtractor 208, and an encoder 210 are provided so that a changed pixel detected from an input signal is referred to by delaying in a memory. By acquiring a changed pixel, predicting a changed pixel of the input signal based on the reference changed pixel, and coding an error related to the prediction, the coding efficiency is reduced in the same manner as in the twenty-fifth embodiment. Improvement can be achieved.

【0174】実施の形態27.本発明の実施の形態27
による画像符号化装置は、複数の画素からなる2次元画
像信号を入力し、変化画素の予測と検出を行うものであ
り、実施の形態25とは予測に用いる変化画素の取得方
法が異なるものである。本実施の形態27の画像符号化
装置は、実施の形態25による装置と同様の構成であっ
て、説明には図30を用いる。実施の形態25による画
像符号化装置では、図31を用いて説明した通り、符号
化する走査線に対して、直前1ライン、及び2ラインの
走査線における変化画素を予測に用いたものであるが、
本実施の形態27の画像符号化装置では、数ライン前の
走査線における変化画素に基づいて予測を行うものであ
る。図33は本実施の形態27の画像符号化装置による
符号化の動作の原理を説明するため図である。符号化を
行う最下部に位置する走査線に対して、7ライン、及び
4ライン前の走査線において検出された第2、及び第3
の変化画素に基づき、第1の変化画素が直線上に存在す
るものと予測すると、図示する予測変化画素が得られ
る。この予測変化画素と、入力信号から当該走査線にお
いて検出された第1の変化画素との予測誤差を用いて、
「予測した変化画素の1画素右」という情報を符号化す
ることによって、実施の形態25と同様に符号化効率の
向上が図れる。
Embodiment 27 FIG. Embodiment 27 of the present invention
Is an apparatus for inputting a two-dimensional image signal composed of a plurality of pixels and predicting and detecting a changed pixel, and differs from the twenty-fifth embodiment in a method of acquiring a changed pixel used for prediction. is there. The image coding apparatus according to the twenty-seventh embodiment has the same configuration as the apparatus according to the twenty-fifth embodiment, and the description will be given with reference to FIG. In the image coding apparatus according to the twenty-fifth embodiment, as described with reference to FIG. 31, a changed pixel in one immediately preceding scan line and two scan lines immediately before a scan line to be encoded is used for prediction. But,
In the image coding apparatus according to the twenty-seventh embodiment, prediction is performed based on a changed pixel in a scanning line several lines before. FIG. 33 is a diagram for explaining the principle of the encoding operation performed by the image encoding device according to the twenty-seventh embodiment. With respect to the scanning line located at the bottom where encoding is performed, the second and third lines detected in the scanning lines 7 lines and 4 lines before
When the first changed pixel is predicted to be present on a straight line based on the changed pixel, the predicted changed pixel illustrated is obtained. Using a prediction error between the predicted changed pixel and a first changed pixel detected on the scanning line from the input signal,
By encoding the information “one pixel right of the predicted changed pixel”, the encoding efficiency can be improved as in the twenty-fifth embodiment.

【0175】本実施の形態27の画像符号化装置の動作
については、メモリ202a、及び202bでの一時記
憶による遅延時間が異なる点以外は、実施の形態25と
同様のものとなる。又、変化画素予測器206の予測に
ついては次のように演算により変化画素を予測できる。
第2の変化画素を第m ラインのx 画素目、第3の変化画
素を第n ラインのy 画素目、第1の変化画素の予測点を
第k ラインのz 画素目とし、3点が直線上に並ぶとする
ものとすると、x-y:z-y=m-n:k-nという関係が成立する
ことから、z-y=(x-y)*(k-n)/(m-n)となる。従って、z=y
-(x-y)*(n-k)/(m-n)となるので、第1の変化画素は第kラ
インのy-(x-y)*(n-k)/(m-n)画素目となる。このよう
に、本実施の形態27による画像符号化装置では、実施
の形態25による画像符号化装置と同じ構成により、設
定によってメモリ202a、及び202bを用いた遅延
時間を変更して、同様の効果が得られる。
The operation of the image coding apparatus of the twenty-seventh embodiment is the same as that of the twenty-fifth embodiment except that the delay time due to the temporary storage in the memories 202a and 202b is different. Further, with regard to the prediction by the changing pixel predictor 206, the changing pixel can be predicted by the following calculation.
The second changed pixel is the x-th pixel on the m-th line, the third changed pixel is the y-th pixel on the n-th line, and the predicted point of the first changed pixel is the z-th pixel on the k-th line. If they are arranged at the top, the relationship of xy: zy = mn: kn is established, so that zy = (xy) * (kn) / (mn). Therefore, z = y
Since-(xy) * (nk) / (mn), the first changed pixel is the y- (xy) * (nk) / (mn) pixel on the k-th line. As described above, in the image coding apparatus according to the twenty-seventh embodiment, with the same configuration as the image coding apparatus according to the twenty-fifth embodiment, the delay time using the memories 202a and 202b is changed by setting, and the same effect is obtained. Is obtained.

【0176】実施の形態28.本発明の実施の形態28
による画像符号化装置は、複数の画素からなる2次元画
像信号を入力し、変化画素の予測と検出を行うものであ
り、実施の形態25とは予測に用いる変化画素の取得方
法が異なるものである。本実施の形態28の画像符号化
装置は、図30に示す実施の形態25による装置と同様
の構成であって、符号化信号211を復号化する復号化
器を備え、この復号化器の出力する符号化及び復号化済
みの信号をいずれかのメモリに出力するものである。実
施の形態25による画像符号化装置では、図31を用い
て説明した通り、符号化する走査線に対して、1ライ
ン、及び2ライン上に位置する走査線における変化画素
を予測に用いたものであるが、本実施の形態28の画像
符号化装置では、符号化及び復号化済みの下位置にある
走査線における変化画素を予測に用いるものである。図
34は本実施の形態28の画像符号化装置による符号化
の動作の原理を説明するため図である。符号化を行う走
査線(図において、第1の変化画素が存在するライン)
に対して、4ライン上、及び3ライン下の走査線におい
て検出された第2、及び第3の変化画素に基づき、第1
の変化画素が直線上に存在するものと予測すると、図示
する予測変化画素が得られる。この予測変化画素と、入
力信号から当該走査線において検出された第1の変化画
素との予測誤差を用いて、「予測した変化画素の2画素
右」という情報を符号化することによって、実施の形態
25、及び27と同様に符号化効率の向上が図れる。
Embodiment 28 FIG. Embodiment 28 of the Invention
Is an apparatus for inputting a two-dimensional image signal composed of a plurality of pixels and predicting and detecting a changed pixel, and differs from the twenty-fifth embodiment in a method of acquiring a changed pixel used for prediction. is there. The image coding apparatus according to the twenty-eighth embodiment has the same configuration as that of the apparatus according to the twenty-fifth embodiment shown in FIG. 30, and includes a decoder for decoding the coded signal 211. And outputs the encoded and decoded signals to any of the memories. In the image coding apparatus according to the twenty-fifth embodiment, as described with reference to FIG. 31, a changed pixel in a scan line located on one line and two lines is used for prediction with respect to a scan line to be coded. However, in the image coding apparatus according to the twenty-eighth embodiment, a changed pixel in a scanning line at a lower position after coding and decoding is used for prediction. FIG. 34 is a diagram for describing the principle of the encoding operation performed by the image encoding device according to the twenty-eighth embodiment. Scanning line to be encoded (line where the first change pixel exists in the figure)
On the other hand, based on the second and third changed pixels detected on the scanning lines four lines above and three lines below, the first
Is predicted to be present on a straight line, the predicted changed pixel shown is obtained. By using the prediction error between the predicted changed pixel and the first changed pixel detected on the scanning line from the input signal, the information “two pixels to the right of the predicted changed pixel” is encoded, thereby implementing As in the case of the twenty-fifth and twenty-seventh aspects, the coding efficiency can be improved.

【0177】本実施の形態28の画像符号化装置の動作
については、メモリ202a、及び202bでの一時記
憶による遅延時間が異なる点と、符号化器210が出力
する符号化信号211が復号化されていずれかのメモリ
に入力され、相当する変化画素検出器は、この符号化及
び復号化信号より変化画素を検出する点のみが、実施の
形態25と異なる。このように、本実施の形態28によ
る画像符号化装置では、実施の形態25による画像符号
化装置に符号化信号を復号化して参照画像とする経路を
追加した構成により、同様の効果が得られる。
The operation of the image coding apparatus according to the twenty-eighth embodiment differs from that of the first embodiment in that the delay times due to the temporary storage in the memories 202a and 202b are different and the coded signal 211 output from the coder 210 is decoded. The present embodiment differs from the twenty-fifth embodiment only in that a corresponding changed pixel detector which is input to one of the memories and detects a changed pixel from the encoded and decoded signals is used. As described above, in the image coding apparatus according to the twenty-eighth embodiment, the same effect can be obtained by adding the path for decoding the coded signal to the reference image by adding the path to the image coding apparatus according to the twenty-fifth embodiment. .

【0178】実施の形態29.本発明の実施の形態29
による画像符号化装置は、複数の画素からなる2次元画
像信号を入力し、変化画素の予測と検出を行うものであ
り、実施の形態26と同様に検出した変化画素を遅延さ
せて予測に用いるものである。図35は本発明の実施の
形態29による画像符号化装置の構成を示すブロック図
である。同図において、216、及び220はメモリで
あり、入力された変化画素を一時記憶することにより遅
延させる。メモリ216は検出変化画素205を遅延さ
せて遅延変化画素217を、メモリ220は予測誤差2
09を遅延させて遅延予測誤差221を出力する。22
2、及び224は加算器であり、加算器222は、遅延
変化画素217と遅延予測誤差221を、加算器224
は、予測誤差209と遅延予測誤差221を加算処理す
る。他の符号は図32と同じであり、説明は実施の形態
26と同じである。
Embodiment 29 FIG. Embodiment 29 of the Present Invention
Is an apparatus for inputting a two-dimensional image signal composed of a plurality of pixels and predicting and detecting a changed pixel, and delays and uses the detected changed pixel for prediction as in the twenty-sixth embodiment. Things. FIG. 35 is a block diagram showing a configuration of an image encoding device according to Embodiment 29 of the present invention. In the figure, reference numerals 216 and 220 denote memories for temporarily storing input changed pixels to delay them. The memory 216 delays the detection change pixel 205 and delays the change pixel 217, and the memory 220 stores the prediction error 2
09 is delayed and a delay prediction error 221 is output. 22
Reference numerals 2 and 224 denote adders. The adder 222 outputs the delay change pixel 217 and the delay prediction error 221 to the adder 224.
Performs an addition process of the prediction error 209 and the delay prediction error 221. Other symbols are the same as those in FIG. 32, and the description is the same as in the twenty-sixth embodiment.

【0179】以上の様に構成された、実施の形態29に
よる画像符号化装置について、その動作を説明する。図
36は本実施の形態29の画像符号化装置による符号化
の動作の原理を説明するため図である。実施の形態26
では、検出された第1の変化画素を遅延させて、第2、
及び第3の変化画素を取得するものであった。これに対
して本実施の形態29による画像符号化装置では、第2
の変化画素と第3の変化画素との差を第3の変化画素に
加算して、第1の変化画素の予測値として使用するもの
である。図示するように、第2の変化画素と第3の変化
画素との差は「左へ2画素」であり、第3の変化画素に
この「左へ2画素」を加算することによって、符号化を
行う走査線(図において、第1の変化画素が存在するラ
イン)上で、同図の予測した変化画素が得られる。一方
当該符号化する走査線においては第1の変化画素が検出
され、この検出された第1の変化画素と、上記予測する
変化画素との差である「左へ1画素」を符号化すれば、
実施の形態26と同様の効果が実現できる。図35にお
いて、入力信号201が本実施の形態29の画像符号化
装置に入力され、変化画素検出器204によって、2値
の画素値が変化する位置が検出され、この第1の変化画
素205がメモリ216と減算器208とに出力され
る。メモリ216において、1ライン分遅延された遅延
変化画素217は図36における第3の変化画素であ
る。遅延変化画素217は、加算器222に入力され、
図36における、第2、及び第3の変化画素の差分に相
当する、遅延予測誤差221と加算され、得られた予測
変化画素207が減算器208に出力される。
The operation of the picture coding apparatus according to Embodiment 29 having the above structure will be described. FIG. 36 is a diagram for explaining the principle of the encoding operation performed by the image encoding device according to the twenty-ninth embodiment. Embodiment 26
Now, by delaying the detected first changed pixel, the second,
And a third changed pixel. On the other hand, in the image coding apparatus according to Embodiment 29, the second
The difference between the changed pixel and the third changed pixel is added to the third changed pixel and used as a predicted value of the first changed pixel. As shown in the figure, the difference between the second changed pixel and the third changed pixel is “two pixels to the left”, and the coding is performed by adding the “two pixels to the left” to the third changed pixel. Is obtained on the scanning line (the line where the first changed pixel exists in the figure) where the above-mentioned is performed. On the other hand, in the scan line to be encoded, a first changed pixel is detected, and "one pixel to the left" which is a difference between the detected first changed pixel and the predicted changed pixel is encoded. ,
The same effect as in the twenty-sixth embodiment can be realized. In FIG. 35, an input signal 201 is input to the image coding apparatus according to the twenty-ninth embodiment, a position where a binary pixel value changes is detected by a change pixel detector 204, and the first change pixel 205 is The data is output to the memory 216 and the subtractor 208. In the memory 216, the delay change pixel 217 delayed by one line is the third change pixel in FIG. The delay change pixel 217 is input to the adder 222,
In FIG. 36, the prediction change pixel 207 obtained by adding the delay prediction error 221 corresponding to the difference between the second and third change pixels and outputting the result is output to the subtractor 208.

【0180】減算器208は、検出変化画素204と予
測変化画素207との差分を予測誤差209として、出
力し、この予測誤差209が符号化器210において符
号化され、符号化信号211が出力される。予測誤差2
09はまた、加算器224において、遅延予測誤差22
1と加算される。この結果得られる遅延予測誤差221
は前述のように第2、及び第3の変化画素の差分に相当
するものであり、メモリ220で一時記憶されることに
よって遅延されて、次回の符号化に用いられる。即ち、
図36においては、次のライン(1つ下のライン)にお
いては、遅延誤差221にである上記「左へ2画素」
と、予測誤差209である上記「左へ1画素」とが加算
された「左へ3画素」が予測値として用いられることと
なる。
The subtractor 208 outputs the difference between the detected changed pixel 204 and the predicted changed pixel 207 as a prediction error 209, and the prediction error 209 is coded by the encoder 210, and the coded signal 211 is output. You. Prediction error 2
09 is added to the delay prediction error 22 in the adder 224.
1 is added. The resulting delay prediction error 221
Is equivalent to the difference between the second and third changed pixels as described above, is delayed by being temporarily stored in the memory 220, and is used for the next encoding. That is,
In FIG. 36, in the next line (one line below), the above “two pixels to the left” which is in the delay error 221
"3 pixels to the left" obtained by adding the "1 pixel to the left", which is the prediction error 209, is used as the prediction value.

【0181】このように、本実施の形態29の画像符号
化装置では、メモリ216、及び220と、変化画素検
出器204と、加算器216、及び220と、減算器2
08と、符号化器210とを備えたことで、入力信号よ
り検出した変化画素と、予測誤差とに対して、遅延処理
と加算処理を実行することによって、実施の形態26と
同様に符号化効率の向上を図ることが可能となる。な
お、実施の形態25〜29の画像符号化装置において
は、いずれも、入力をブロック単位で行い、ブロック単
位で処理することが可能である。
As described above, in the image coding apparatus according to the twenty-ninth embodiment, the memories 216 and 220, the changing pixel detector 204, the adders 216 and 220, and the subtractor 2
08 and the encoder 210, the delay pixel and the prediction error are subjected to delay processing and addition processing for the changed pixel detected from the input signal. It is possible to improve the efficiency. In each of the image coding apparatuses according to the twenty-fifth to twenty-ninth embodiments, input can be performed in block units, and processing can be performed in block units.

【0182】実施の形態30.本発明の実施の形態30
による画像復号化装置は、実施の形態25による符号化
装置の出力する符号化信号を復号化して、複数の画素か
らなる2次元画像信号を得るものである。図37は本発
明の実施の形態30による画像符号化装置の構成を示す
ブロック図である。同図において、211は入力信号で
あり、実施の形態25による画像符号化装置より出力さ
れる予測誤差の符号化信号(図30の211)である。
230は復号化器であり、符号化信号211を復号化し
て、復号予測誤差231を出力する。232は加算器で
あり、復号予測誤差231と予測変化画素207とを加
算処理して、得られた復号変化画素233を出力する。
234は画素値生成器であり、復号変化画素233と直
前に復号化した変化画素のと間に位置する画素を所定の
画素値、すなわち変化画素とならない画素の画素値とし
て、復号化した画像信号235を生成して出力する。他
の符号は図30と同様であり、説明は実施の形態25と
同様である。
Embodiment 30 FIG. Embodiment 30 of the present invention
An image decoding device according to the present invention decodes an encoded signal output from the encoding device according to the twenty-fifth embodiment to obtain a two-dimensional image signal including a plurality of pixels. FIG. 37 is a block diagram illustrating a configuration of an image encoding device according to Embodiment 30 of the present invention. In the figure, reference numeral 211 denotes an input signal, which is a coded signal of a prediction error output from the image coding apparatus according to Embodiment 25 (211 in FIG. 30).
A decoder 230 decodes the encoded signal 211 and outputs a decoded prediction error 231. An adder 232 performs an addition process on the decoded prediction error 231 and the predicted change pixel 207, and outputs the obtained decoded change pixel 233.
Reference numeral 234 denotes a pixel value generator, which sets a pixel located between the decoded changed pixel 233 and the previously decoded changed pixel as a predetermined pixel value, that is, a decoded image signal 235 is generated and output. Other symbols are the same as those in FIG. 30, and the description is the same as in the twenty-fifth embodiment.

【0183】以上の様に構成された、本実施の形態30
による画像復号化装置について、その動作を説明する。
符号化信号211が入力されると、予測誤差を符号化し
たこの入力信号211は復号化器230で復号化され
て、その結果得られる復号予測誤差231が加算器23
2に出力される。一方、直前に復号化された画像信号2
35はメモリ202a、及び202bに入力され、実施
の形態25と同様に、変化画素の予測が行われて、変化
画素予測器206から加算器232に予測変化画素20
7が出力される。加算器232は予測変化画素207に
対して、入力された復号予測誤差231を加算すること
によって、復号変化画素233を取得し、これを画素値
生成器234に出力する。画素値生成器234は、復号
変化画素233と直前に復号化した変化画素のと間に位
置する画素を所定の画素値、すなわち変化画素とならな
い画素の画素値として、復号化した画像信号235を生
成して出力する。
The thirtieth embodiment constructed as described above
The operation of the image decoding apparatus according to
When the encoded signal 211 is input, the input signal 211 obtained by encoding the prediction error is decoded by the decoder 230, and the resulting decoded prediction error 231 is added to the adder 23.
2 is output. On the other hand, the image signal 2 decoded immediately before
35 is input to the memories 202a and 202b, and the prediction of the changed pixel is performed in the same manner as in the twenty-fifth embodiment.
7 is output. The adder 232 obtains the decoded changed pixel 233 by adding the input decoded prediction error 231 to the predicted changed pixel 207, and outputs this to the pixel value generator 234. The pixel value generator 234 converts the decoded image signal 235 to a pixel located between the decoded changed pixel 233 and the immediately preceding changed pixel as a predetermined pixel value, that is, a pixel value of a pixel that is not a changed pixel. Generate and output.

【0184】このように、本実施の形態30による画像
復号化装置は、メモリ202a〜bと、変化画素検出器
204a〜bと、変化画素予測器207と、復号化器2
30と、加算器232と、画素値生成器234とを備え
たことで、予測変化画素と、復号予測誤差とを用いて、
復号変化画素を得て、これに基づいて復号画像信号23
5を得るので、実施の形態25による符号化信号を適切
に復号処理することができる。なお、本実施の形態30
では、実施の形態25の画像符号化装置による符号化信
号を復号化するものとしたが、実施の形態27、及び2
8による画像符号化装置によって得られた符号化信号を
も同様に復号化することができる。
As described above, the image decoding apparatus according to the thirtieth embodiment includes the memories 202a-b, the changed pixel detectors 204a-b, the changed pixel predictor 207, and the decoder 2
30, the adder 232, and the pixel value generator 234, using the predicted change pixel and the decoded prediction error,
A decoded change pixel is obtained, and the decoded image signal 23 is
5, the coded signal according to the twenty-fifth embodiment can be appropriately decoded. In the thirtieth embodiment,
In the above, the coded signal is decoded by the image coding apparatus according to the twenty-fifth embodiment.
8 can also be decoded in the same manner.

【0185】実施の形態31.本発明の実施の形態31
による画像復号化装置は、実施の形態26による符号化
装置の出力する符号化信号を復号化して、複数の画素か
らなる2次元画像信号を得るものである。図38は本発
明の実施の形態31による画像符号化装置の構成を示す
ブロック図である。同図において、復号化器230、加
算器232、及び画素値生成器234は図37と、他は
図32と同様であり、説明は実施の形態30、及び26
と同様である。
Embodiment 31 FIG. Embodiment 31 of the present invention
The image decoding apparatus according to the present invention decodes an encoded signal output from the encoding apparatus according to the twenty-sixth embodiment to obtain a two-dimensional image signal including a plurality of pixels. FIG. 38 is a block diagram illustrating a configuration of an image encoding device according to Embodiment 31 of the present invention. 37, a decoder 230, an adder 232, and a pixel value generator 234 are the same as those in FIG. 37, and the other components are the same as those in FIG. 32.
Is the same as

【0186】以上の様に構成された、本実施の形態31
による画像復号化装置について、その動作を説明する。
符号化信号211が入力されると、予測誤差を符号化し
たこの入力信号211は復号化器230で復号化され
て、その結果得られる復号予測誤差231が加算器23
2に出力される。一方、直前に復号化された復号変化画
素233はメモリ216aに入力され、実施の形態26
と同様に、変化画素の予測が行われて、変化画素予測器
206から加算器232に予測変化画素207が出力さ
れる。以降の処理は、実施の形態30の場合と同様であ
る。このように、本実施の形態31による画像復号化装
置は、メモリ216a〜bと、変化画素予測器207
と、復号化器230と、加算器232と、画素値生成器
234とを備えたことで、予測変化画素と、復号予測誤
差とを用いて、復号変化画素を得て、これに基づいて復
号画像信号235を得るので、実施の形態26による符
号化信号を適切に復号処理することができる。
The thirty-first embodiment constructed as described above
The operation of the image decoding apparatus according to
When the encoded signal 211 is input, the input signal 211 obtained by encoding the prediction error is decoded by the decoder 230, and the resulting decoded prediction error 231 is added to the adder 23.
2 is output. On the other hand, the decoded changed pixel 233 decoded immediately before is input to the memory 216a, and is stored in the memory 216a.
Similarly to the above, the changed pixel is predicted, and the changed pixel predictor 206 outputs the predicted changed pixel 207 to the adder 232. Subsequent processing is the same as that of the thirtieth embodiment. As described above, the image decoding apparatus according to the thirty-first embodiment includes the memories 216 a and 216 b and the change pixel predictor 207.
, A decoder 230, an adder 232, and a pixel value generator 234, so that a decoded changed pixel is obtained using a predicted changed pixel and a decoded prediction error, and decoding is performed based on the decoded changed pixel. Since the image signal 235 is obtained, the encoded signal according to Embodiment 26 can be appropriately decoded.

【0187】実施の形態32.本発明の実施の形態32
による画像復号化装置は、実施の形態29による符号化
装置の出力する符号化信号を復号化して、複数の画素か
らなる2次元画像信号を得るものである。図39は本発
明の実施の形態32による画像符号化装置の構成を示す
ブロック図である。同図において、復号化器230、加
算器232、及び画素値生成器234は図37と、他は
図35と同様であり、説明は実施の形態30、及び29
と同様である。
Embodiment 32 FIG. Embodiment 32 of the present invention
An image decoding apparatus according to the present invention decodes an encoded signal output from the encoding apparatus according to the twenty-ninth embodiment to obtain a two-dimensional image signal including a plurality of pixels. FIG. 39 is a block diagram showing a configuration of an image encoding device according to Embodiment 32 of the present invention. 37, a decoder 230, an adder 232, and a pixel value generator 234 are the same as those in FIG. 37, and the other components are the same as those in FIG. 35.
Is the same as

【0188】以上の様に構成された、本実施の形態32
による画像復号化装置について、その動作を説明する。
符号化信号211が入力されると、予測誤差を符号化し
たこの入力信号211は復号化器230で復号化され
て、その結果得られる復号予測誤差231が加算器23
2に出力される。一方、直前に復号化された復号変化画
素233はメモリ216に入力され、実施の形態29と
同様に、変化画素の予測が行われて、加算器222から
加算器232に予測変化画素207が出力される。以降
の処理は、実施の形態30の場合と同様である。
The thirty-second embodiment constructed as described above
The operation of the image decoding apparatus according to
When the encoded signal 211 is input, the input signal 211 obtained by encoding the prediction error is decoded by the decoder 230, and the resulting decoded prediction error 231 is added to the adder 23.
2 is output. On the other hand, the decoded changed pixel 233 decoded immediately before is input to the memory 216, and the predicted changed pixel is output from the adder 222 to the adder 232, as in the twenty-ninth embodiment. Is done. Subsequent processing is the same as that of the thirtieth embodiment.

【0189】このように、本実施の形態31による画像
復号化装置は、メモリ216、及び220と、加算器2
24、222、及び232と、復号化器230と、画素
値生成器234とを備えたことで、予測変化画素と、復
号予測誤差とを用いて、復号変化画素を得て、これに基
づいて復号画像信号235を得るので、実施の形態29
による符号化信号を適切に復号処理することができる。
なお、実施の形態25〜29のいずれかの画像符号化装
置において、ブロック単位での符号化が行われていた場
合、実施の形態30〜32の画像復号化装置において、
ブロック単位での符号化信号を入力とし、ブロック単位
で処理を行うことにより、適切に処理を行うことができ
る。
As described above, the image decoding apparatus according to the thirty-first embodiment includes the memories 216 and 220 and the adder 2
24, 222, and 232, a decoder 230, and a pixel value generator 234, a decoded changed pixel is obtained using a predicted changed pixel and a decoded prediction error, and based on the decoded changed pixel, Since the decoded image signal 235 is obtained, the embodiment 29
Can be appropriately decoded.
In the case where encoding is performed in block units in any of the image encoding apparatuses according to Embodiments 25 to 29, in the image decoding apparatus according to Embodiments 30 to 32,
Appropriate processing can be performed by inputting a coded signal in block units and performing processing in block units.

【0190】実施の形態33.本発明の実施の形態33
による画像符号化装置は、画像信号に対応して、予測誤
差、又は画素数の符号化結果を切り替えて出力するもの
である。図40は本発明の実施の形態33による画像符
号化装置の構成を示すブロック図である。同図におい
て、240は減算器であり、検出された変化画素205
bと205cとの差分241を取得する。242は符号
化器であり、差分41を符号化して、符号化信号243
を出力する。244は比較器であり、予測誤差209と
所定の値との比較を行い、その結果によりスイッチ24
6の切り替えを制御する。246はスイッチであり、符
号化信号247と243とのいずれを本実施の形態33
の画像符号化装置の出力符号化信号211とするかの切
り替えを、比較器244からの制御により行う。他の符
号は図30と同じであり、説明は実施の形態25と同じ
である。実施の形態25による画像符号化装置は、予測
誤差の符号化を行うものであったが、予測誤差が小さい
という前提で符号化を行うので、予測誤差が大きくなっ
た場合には符号化効率が低下する。かかる場合には、予
測誤差を符号化するよりも、変化画素自体(位置)を符
号化する方が、効率が良いこととなる。従って、本実施
の形態33による画像符号化装置では、予測誤差の符号
化と、変化画素の位置を示す画素数の符号化とを行い得
るものである。又、変化画素自体(位置)の符号化を行
うことにより、変化画素の個数が変化して、予測が困難
又は不可能となって、予測誤差の符号化が困難又は不可
能となる場合にも、符号化の実行が可能となるものであ
る。
Embodiment 33 FIG. Embodiment 33 of the present invention
Is an apparatus for switching and outputting an encoding result of a prediction error or the number of pixels according to an image signal. FIG. 40 is a block diagram illustrating a configuration of an image encoding device according to Embodiment 33 of the present invention. In the figure, reference numeral 240 denotes a subtractor, and the detected changed pixel 205
The difference 241 between b and 205c is obtained. Reference numeral 242 denotes an encoder, which encodes the difference 41 to generate an encoded signal 243.
Is output. Reference numeral 244 denotes a comparator for comparing the prediction error 209 with a predetermined value, and based on the result, the switch 24.
6 is controlled. Reference numeral 246 denotes a switch, which switches either one of the encoded signals 247 and 243 according to the thirty-third embodiment.
Is switched under control of the comparator 244. Other symbols are the same as those in FIG. 30, and the description is the same as in the twenty-fifth embodiment. The image encoding apparatus according to Embodiment 25 encodes a prediction error. However, since the encoding is performed on the assumption that the prediction error is small, the encoding efficiency is reduced when the prediction error increases. descend. In such a case, it is more efficient to encode the changed pixel itself (position) than to encode the prediction error. Therefore, the image encoding apparatus according to the thirty-third embodiment can encode the prediction error and encode the number of pixels indicating the position of the changed pixel. Also, by coding the changed pixels themselves (positions), the number of changed pixels changes, making prediction difficult or impossible, and in cases where prediction error coding becomes difficult or impossible. , Encoding can be performed.

【0191】以上の様に構成された、実施の形態33に
よる画像符号化装置についてその動作を説明する。図4
1は本実施の形態33の画像符号化装置による符号化の
動作の原理を説明するため図である。第2、及び第3の
変化画素からの第1の変化画素の予測は、実施の形態2
5の場合と同様である。そして本実施の形態33では、
予測変化画素を中心として、あらかじめ定められた値に
応じた予測範囲を設定する。そして、検出した第1の変
化画素が、この予測範囲にあるか否かにより、符号化の
切り替えを行うものであって、予測範囲にあれば予測誤
差を、予測範囲になければ、第1の変化画素を符号化す
る。
The operation of the image coding apparatus according to the embodiment 33 configured as described above will be described. FIG.
FIG. 1 is a diagram for explaining the principle of an encoding operation performed by the image encoding device according to the thirty-third embodiment. The prediction of the first changed pixel from the second and third changed pixels is performed according to the second embodiment.
This is the same as the case of No. 5. In the thirty-third embodiment,
A prediction range corresponding to a predetermined value is set around the prediction change pixel. Then, encoding is switched based on whether or not the detected first changed pixel is in the prediction range. If the prediction pixel is in the prediction range, the prediction error is determined. Encode the changed pixels.

【0192】また、本実施の形態33では、第3の変化
画素は符号化及び復号化済みのものであるので、第1の
変化画素を符号化するためには、第3の変化画素と、第
1の変化画素との走査順番の差、すなわち、その間に存
在する画素数を符号化すれば良いこととなる。そして、
その間の画素のうち、上記の予測範囲に位置するものに
ついては、予測誤差により符号化されるものであり、除
去することが可能である。従って、第1の変化画素を符
号化するには、上記変化画素の差より、予測範囲の画素
を除いたものを符号化すれば良いこととなる。
In the thirty-third embodiment, since the third changed pixel has already been coded and decoded, the third changed pixel must be coded and decoded in order to encode the first changed pixel. The difference in the scanning order from the first changed pixel, that is, the number of pixels existing between them, may be encoded. And
The pixels located in the above-mentioned prediction range among the pixels between them are coded by the prediction error and can be removed. Therefore, in order to encode the first changed pixel, it is sufficient to encode a pixel excluding the pixels in the prediction range from the difference between the changed pixels.

【0193】例えば、同図における変化画素A、及び変
化画素Bは、予測範囲の外にあるものであって、第1の
変化画素としてこれらの点が検出された場合の取扱いを
説明する。実施の形態25の説明と同様に、走査方向は
左上→右下として、第1の変化画素は、3*12+6=42番
目、変化画素Aは4*12+1=49番目、変化画素Bは4*12+10
=58番目になる。第3の変化画素と変化画素Aとの間に
予測範囲がないので、この両者の間にある画素数49-42=
7 が変化画素A、すなわちAの位置を示す情報として符
号化される。これに対して、変化画素Bの場合には、第
3の変化画素と変化画素Bとの間に予測範囲が含まれる
ので、この予測範囲に存在する5画素を除外して、58-4
2-5=11が変化画素B、すなわちBの位置を示す情報とし
て符号化されることとなる。入力信号201が本実施の
形態33の画像符号化装置に入力された後、メモリ20
2a、及び202bによる遅延から、減算器208によ
る予測誤差209の取得までは、実施の形態25と同様
に行われ、符号化器210によって、予測誤差209の
符号化信号247が得られる。実施の形態25ではこの
符号化信号が出力される符号化信号であったが、本実施
の形態33では、符号化信号247はスイッチ246に
出力される。また、予測誤差209は、符号化器242
と、比較器244とにも出力される。
For example, the case where the changed pixel A and the changed pixel B in the drawing are outside the prediction range and these points are detected as the first changed pixel will be described. As in the description of the twenty-fifth embodiment, the scanning direction is from upper left to lower right, the first changed pixel is 3 * 12 + 6 = 42nd, the changed pixel A is 4 * 12 + 1 = 49th, and the changed pixel is B is 4 * 12 + 10
= 58th. Since there is no prediction range between the third changed pixel and the changed pixel A, the number of pixels 49-42 =
7 is encoded as information indicating the position of the changed pixel A, that is, A. On the other hand, in the case of the change pixel B, since the prediction range is included between the third change pixel and the change pixel B, five pixels existing in the prediction range are excluded and 58-4
2-5 = 11 is coded as information indicating the change pixel B, that is, information indicating the position of B. After the input signal 201 is input to the image encoding device of the thirty-third embodiment, the memory 20
Processing from the delay by 2a and 202b to the acquisition of the prediction error 209 by the subtractor 208 is performed in the same manner as in the twenty-fifth embodiment, and the encoder 210 obtains the encoded signal 247 of the prediction error 209. In the twenty-fifth embodiment, the coded signal is an output coded signal. In the thirty-third embodiment, the coded signal 247 is output to the switch 246. Further, the prediction error 209 is calculated by the encoder 242
And to the comparator 244.

【0194】一方、変化画素検出器204bで検出され
た第3の変化画素205bと、変化画素検出器204c
で検出された第1の変化画素105cとは、減算器24
0に出力され、その差分として、両者の間に存在する画
素数241が取得されて符号化器242に出力される。
符号化器242は、入力された差分241と予測誤差2
09とから、予測範囲に存在する画素を除外した画素数
符号化信号243を得て、これをスイッチ246に出力
する。比較器244は、入力された予測誤差について、
予測範囲にあるか否かを判定し、予測範囲にある場合は
スイッチ246において、予測誤差符号化信号247を
出力211とするように、又、予測範囲にない場合には
スイッチ246において、画素数符号化信号243を出
力211とするように、信号245をによって制御を行
う。このように、本実施の形態33による画像符号化装
置では、実施の形態25による画像符号化装置に基づい
て、減算器240と、画素数の符号化器242と、比較
器244と、スイッチ246とを備えた構成としたこと
で、予測誤差が定められた範囲内にあるときは、予測誤
差の符号化信号を、範囲外にあるときは、画素数の符号
化信号を、出力する符号化信号とするので、予測誤差が
大きな場合は、変化画素の個数の変動により、変化画素
の予測ができない場合にも、符号化効率が低下すること
を防止して、適切な符号化を実行することが可能とな
る。
On the other hand, the third changed pixel 205b detected by the changed pixel detector 204b and the changed pixel detector 204c
And the first change pixel 105c detected by the subtractor 24
0, and the number of pixels 241 existing between them is obtained as a difference between the two and output to the encoder 242.
The encoder 242 calculates the difference 241 and the prediction error 2
From 09, a pixel number coded signal 243 excluding the pixels existing in the prediction range is obtained, and this is output to the switch 246. The comparator 244 calculates, for the input prediction error,
It is determined whether or not the pixel is within the prediction range. If the pixel is within the prediction range, the switch 246 outputs the prediction error coded signal 247 as the output 211. Control is performed by the signal 245 so that the encoded signal 243 becomes the output 211. As described above, in the image coding apparatus according to the thirty-third embodiment, based on the image coding apparatus according to the twenty-fifth embodiment, the subtractor 240, the encoder 242 for the number of pixels, the comparator 244, and the switch 246 are provided. With the configuration including: a coding signal that outputs a coded signal of the prediction error when the prediction error is within a predetermined range, and a coded signal of the number of pixels when the prediction error is out of the range. Since it is a signal, if the prediction error is large, it is necessary to prevent a decrease in coding efficiency and perform appropriate coding even when the change pixel cannot be predicted due to a change in the number of changed pixels. Becomes possible.

【0195】実施の形態34.本発明の実施の形態34
による画像復号化装置は、実施の形態33による符号化
装置の出力する符号化信号を復号化して、複数の画素か
らなる2次元画像信号を得るものである。図42は本発
明の実施の形態34による画像符号化装置の構成を示す
ブロック図である。同図において、250はモード復号
化器であり、入力信号について予測誤差が符号化された
信号であるか、変化画素の位置(画素数)が符号化され
た信号であるかを判定し、符号化モード251を出力す
る。256は画素数復号化器であり、入力信号255を
復号化して復号化画素数257を出力する。258は加
算器であり、予測変化画素205bと復号画素数257
とを加算処理して、復号変化画素259を出力する。2
52と260とはスイッチであり、モード復号化器25
0の出力する符号化モードに対応して、入力信号と出力
信号についての切り替えを行う。他の符号は図30と同
様であり、説明は実施の形態25と同様である。
Embodiment 34 FIG. Embodiment 34 of the Invention
The image decoding apparatus according to the present invention decodes an encoded signal output from the encoding apparatus according to the thirty-third embodiment to obtain a two-dimensional image signal including a plurality of pixels. FIG. 42 is a block diagram illustrating a configuration of an image encoding device according to Embodiment 34 of the present invention. In the figure, reference numeral 250 denotes a mode decoder, which determines whether the input signal is a signal in which a prediction error is coded or a position (the number of pixels) of a changed pixel is a coded signal. The conversion mode 251 is output. Reference numeral 256 denotes a pixel number decoder which decodes the input signal 255 and outputs a decoded pixel number 257. Reference numeral 258 denotes an adder, which includes the predicted change pixel 205b and the decoded pixel number 257.
And outputs a decoded changed pixel 259. 2
52 and 260 are switches, and the mode decoder 25
Switching between an input signal and an output signal is performed in accordance with the encoding mode in which 0 is output. Other symbols are the same as those in FIG. 30, and the description is the same as in the twenty-fifth embodiment.

【0196】以上の様に構成された、本実施の形態34
による画像復号化装置について、その動作を説明する。
符号化信号211が入力されると、まずモード復号化器
250によって、予測誤差を符号化したものであるか、
画素数を符号化したものであるかが判定され、その判定
の結果により「予測誤差」、又は「画素数」の符号化モ
ードが出力され、スイッチ252と260との切り替え
を制御する。予測誤差が符号化されていた場合の動作
は、実施の形態30と同様となる。一方、画素数が符号
化されていた場合、スイッチ252を切り替えることに
よって、入力信号211は、復号化器256によって復
号化され、変化画素の差である画素数が復号化されて、
この復号画素数257が加算器258に出力される。加
算器258においては、復号画素数257が直前に復号
化されて得られた復号画像信号235に基づいて予測さ
れた予測変化画素と加算され、復号変化画素259が得
られる。いずれにしても、復号変化画素261に基づい
て、実施の形態30と同様に復号画像信号235が出力
される。このように、本実施の形態34による画像復号
化装置では、実施の形態30による画像復号化装置に基
づいて、モード復号化器250と、加算器258と、画
素数の復号化器256と、スイッチ252、及び260
とを備えた構成としたことで、モード復号化器250が
取得する符号化モードに対応して、スイッチ252、及
び260が切り替えられ、適切な復号化が選択的に行わ
れるので、実施の形態33において符号化された符号化
信号を適切に復号化することができる。
The thirty-fourth embodiment configured as described above
The operation of the image decoding apparatus according to
When the coded signal 211 is input, whether the prediction error is coded by the mode decoder 250 first,
It is determined whether the number of pixels is coded, and a coding mode of “prediction error” or “number of pixels” is output based on the result of the determination, and switching between the switches 252 and 260 is controlled. The operation in the case where the prediction error has been encoded is the same as that in the thirty-third embodiment. On the other hand, if the number of pixels has been encoded, by switching the switch 252, the input signal 211 is decoded by the decoder 256, and the number of pixels that is the difference between changed pixels is decoded.
The decoded pixel number 257 is output to the adder 258. In the adder 258, the decoded pixel number 257 is added to the predicted change pixel predicted based on the decoded image signal 235 obtained by decoding immediately before, and the decoded change pixel 259 is obtained. In any case, a decoded image signal 235 is output based on the decoded changed pixel 261 as in the thirtieth embodiment. As described above, in the image decoding apparatus according to the thirty-fourth embodiment, based on the image decoding apparatus according to the thirtieth embodiment, the mode decoder 250, the adder 258, the pixel number decoder 256, Switches 252 and 260
In this configuration, the switches 252 and 260 are switched according to the encoding mode obtained by the mode decoder 250, and appropriate decoding is selectively performed. The coded signal coded at 33 can be properly decoded.

【0197】実施の形態35.本発明の実施の形態35
による画像符号化装置、及び画像復号化装置は、予測範
囲の設定を、画像信号に対応して変更し得るものであ
る。本実施の形態35による画像符号化装置、及び画像
復号化装置は、実施の形態33、及び34と同じ構成の
ものである。図43は本実施の形態35による符号化、
又は復号化の動作の原理を説明するため図である。図
(a)には入力画像が8×8画素で構成される場合を、ま
た図(b)には同例を1/2にサブサンプルして4×4画
素の構成としたものを示している。サブサンプルされた
ものの画素数は1/2であり、一方画素間距離は2倍と
なる。従って、サブサンプルされたものの場合は、その
予測範囲を元のものの予測範囲の1/2に相当する範囲
とすることにより、ほぼ同じ空間位置を検索することに
なる。例えば、右のサブサンプルされたものの予測範囲
として、左の元のものと同じ±2画素という範囲を使用
すると、1ラインの画素数を超えることとなってしま
い、実施の形態33、及び34において、モード切り替
えが適切に行われない。これに対して、図示するように
右のサブサンプルされたものの場合、予測範囲を1/2
にすることとすれば、モード切り替えが適切に行えるの
で、同実施の形態による符号化効率の向上が実現でき
る。
Embodiment 35 FIG. Embodiment 35 of the Present Invention
The image encoding device and the image decoding device according to the above can change the setting of the prediction range in accordance with the image signal. An image coding apparatus and an image decoding apparatus according to the thirty-fifth embodiment have the same configurations as those of the thirty-third and thirty-fourth embodiments. FIG. 43 shows encoding according to the thirty-fifth embodiment.
Alternatively, it is a diagram for explaining the principle of the decoding operation. Figure
(a) shows a case where the input image is composed of 8 × 8 pixels, and FIG. (b) shows a case where the same example is subsampled by half to form a 4 × 4 pixel. . The number of pixels of the sub-sampled pixel is 1 /, while the distance between pixels is doubled. Therefore, in the case of a subsampled one, the same spatial position is searched by setting the prediction range to a range corresponding to half of the prediction range of the original one. For example, if the same range of ± 2 pixels as the original one on the left is used as the prediction range of the subsampled one on the right, it will exceed the number of pixels in one line, and in Embodiments 33 and 34, Mode switching is not performed properly. On the other hand, as shown in FIG.
In this case, the mode can be appropriately switched, so that the coding efficiency can be improved according to the embodiment.

【0198】このように、本実施の形態35による画像
符号化装置、及び画像復号化装置では、実施の形態33
による画像符号化装置、又は実施の形態34による画像
復号化装置において、予測範囲の大きさを、画像信号の
大きさに対応して変更できるものとしたことで、サブサ
ンプルする場合にも、切り替えを適切に行って、符号化
効率の向上を図ることが可能となる。
As described above, in the image coding apparatus and the image decoding apparatus according to the thirty-fifth embodiment, the thirty-third embodiment
In the image encoding device according to the present invention, or the image decoding device according to the thirty-fourth embodiment, the size of the prediction range can be changed in accordance with the size of the image signal. Is performed appropriately, and the encoding efficiency can be improved.

【0199】実施の形態36.本発明の実施の形態36
による画像符号化装置は、物体の形状をあらわす形状信
号を符号化するものであって、画像信号より有意領域を
抽出して、効率的な符号化を行うものである。図44は
本発明の実施の形態36による画像符号化装置の構成を
示すブロック図である。同図において、401は入力信
号である2次元の形状信号である。402は有意領域抽
出器であり、入力形状信号401から有意領域を抽出し
て、有意領域信号403を出力する。404はブロック
化器であり、入力形状信号401をブロック化して、ブ
ロック化形状信号405を出力する。408はスイッチ
であり、有意領域信号403に対応して切り替えを行
う。412はブロックサイズ変更器であり、有意領域信
号403に対応して、ブロックの大きさを変更して、変
更したブロック化形状信号413を出力する。418、
及び414は符号化器であり、それぞれ有意領域信号4
03と、ブロック化形状信号413を符号化して符号化
信号419、及び415を出力する。
Embodiment 36 FIG. Embodiment 36 of the present invention
Is an apparatus for encoding a shape signal representing the shape of an object, extracting a significant region from the image signal, and performing efficient encoding. FIG. 44 is a block diagram illustrating a configuration of an image encoding device according to Embodiment 36 of the present invention. In the figure, reference numeral 401 denotes a two-dimensional shape signal which is an input signal. Reference numeral 402 denotes a significant region extractor, which extracts a significant region from the input shape signal 401 and outputs a significant region signal 403. Reference numeral 404 denotes a blocking unit which blocks the input shape signal 401 and outputs a blocked shape signal 405. A switch 408 performs switching in accordance with the significant area signal 403. A block size changer 412 changes the size of the block in response to the significant area signal 403 and outputs a changed blocked shape signal 413. 418,
And 414 are encoders, each of which has a significant area signal 4
03 and the block shape signal 413, and outputs coded signals 419 and 415.

【0200】以上の様に構成された、本実施の形態36
による画像符号化装置についてその動作を説明する。2
次元形状信号である入力信号401が、本実施の形態3
6の画像符号化装置に入力され、有意領域抽出器402
と、ブロック化器404とに入力される。有意領域抽出
器402は、有意領域の範囲を検出して、有意領域信号
403をスイッチ408、ブロックサイズ変更器41
2、及び符号化器418に出力する。
The thirty-sixth embodiment constituted as described above
The operation of the image coding apparatus according to the first embodiment will be described. 2
The input signal 401 which is a dimensional shape signal is used in the third embodiment.
6 is input to the image coding apparatus of FIG.
Is input to the blocking unit 404. The significant area extractor 402 detects the range of the significant area, and switches the significant area signal 403 to the switch 408 and the block size changer 41.
2 and output to the encoder 418.

【0201】図45は本実施の形態36の画像符号化装
置による符号化の動作の原理を説明するための図であ
る。斜線で示す部分が物体の内部の画素、すなわち有意
な画像信号が存在する画素であり、斜線部を包含する最
小の矩形、すなわち同図の太線で示す矩形が有意領域の
範囲に相当する。ブロック化器405は入力された形状
信号をブロック化して、ブロック化形状信号405をス
イッチ408に出力する。ここで、スイッチ408は、
有意領域信号403が示す有意領域の範囲に、ブロック
化形状信号405が相当するときに0Nの状態となる。
すなわち有意領域以外の場合には、ブロック化形状信号
は符号化処理をされない。
FIG. 45 is a diagram for explaining the principle of the encoding operation performed by the image encoding apparatus according to the thirty-sixth embodiment. The shaded portion is the pixel inside the object, that is, the pixel where a significant image signal exists, and the smallest rectangle including the shaded portion, that is, the rectangle shown by the thick line in FIG. The blocking unit 405 blocks the input shape signal and outputs the blocked shape signal 405 to the switch 408. Here, the switch 408 is
When the blocked shape signal 405 corresponds to the range of the significant area indicated by the significant area signal 403, the state becomes 0N.
That is, in the case of a region other than the significant region, the block shape signal is not coded.

【0202】スイッチがONであるときは、ブロック化
形状信号405は、ブロックサイズ変更器412に入力
され、ブロックサイズ変更器412に入力された有意領
域信号403に対応して、有意領域を含む最小ブロック
にサイズを変更され、該変更された形状信号413が符
号化器414に出力され、符号化されて形状信号の符号
化信号415とされる。一方、有意領域の範囲を示す有
意領域信号も符号器418において符号化され、符号化
信号419が出力される。このように、本実施の形態3
6による画像符号化装置では、有意領域検出器102
と、ブロックサイズ変更器412を備えたことで、有意
領域の範囲を検出し、有意領域の範囲の内部のみ形状信
号を符号化するように形状信号のブロックサイズを変更
するので、有意領域の範囲外を符号化することがなくな
り形状信号の符号化効率が向上する。
When the switch is ON, the block shape signal 405 is input to the block size changer 412 and corresponds to the significant area signal 403 input to the block size changer 412. The size is changed to a block, and the changed shape signal 413 is output to an encoder 414, and is coded into a coded signal 415 of a shape signal. On the other hand, a significant area signal indicating the range of the significant area is also encoded by encoder 418, and encoded signal 419 is output. Thus, the third embodiment
6, the significant region detector 102
And the block size changer 412, the range of the significant region is detected, and the block size of the shape signal is changed so that the shape signal is encoded only inside the range of the significant region. Since the outside is not coded, the coding efficiency of the shape signal is improved.

【0203】実施の形態37.本発明の実施の形態37
による画像復号化装置は、実施の形態36による符号化
装置の出力する符号化信号を復号化して、2次元形状信
号を得るものである。図46は本発明の実施の形態37
による画像復号化装置の構成を示すブロック図である。
同図において、419、及び415は実施の形態36の
画像符号化装置より出力される符号化信号である。42
0は有意領域信号の復号化器、422は形状信号の復号
化器であり、それぞれの入力信号を復号化して、復号有
意領域信号421、最小ブロック化復号形状信号423
を出力する。430はブロックサイズ変更器であり、復
号有意領域信号421に対応して、ブロックの大きさを
変更して、変更した復号ブロック化形状信号431を出
力する。426はスイッチであり、有意領域信号421
に対応して切り替えを行う。432は逆ブロック化器で
あり、ブロック化形状信号427を統合して、復号形状
信号433を出力する。
Embodiment 37 FIG. Embodiment 37 of the present invention
The image decoding apparatus according to the third embodiment decodes an encoded signal output from the encoding apparatus according to the thirty-sixth embodiment to obtain a two-dimensional shape signal. FIG. 46 shows Embodiment 37 of the present invention.
FIG. 3 is a block diagram illustrating a configuration of an image decoding device according to the first embodiment.
In the figure, 419 and 415 are coded signals output from the image coding apparatus according to the thirty-sixth embodiment. 42
0 is a decoder for a significant area signal, and 422 is a decoder for a shape signal.
Is output. A block size changer 430 changes the size of the block in accordance with the decoded significant area signal 421 and outputs the changed decoded block shape signal 431. Reference numeral 426 denotes a switch, which is a significant area signal 421.
Switching is performed according to. An inverse blocker 432 integrates the blocked shape signal 427 and outputs a decoded shape signal 433.

【0204】以上の様に構成された、本実施の形態37
による画像復号化装置についてその動作を説明する。符
号化信号419、及び415がそれぞれ復号化器42
0、及び422に入力され、復号化される。復号化器4
19は、復号有意領域信号421を、ブロックサイズ変
更器430と、スイッチ426とに出力する。一方、復
号化器422は、有意領域の範囲を含む最小ブロックで
ある最小ブロック化形状信号423をブロックサイズ変
更器430に出力する。ブロックサイズ変更器430
は、入力された復号有意領域信号に基づいて、ブロック
サイズを所定の大きさに変更し、変更されたブロック化
形状信号431として、スイッチ426に出力する。ス
イッチ426は有意領域信号421が示す有意領域の範
囲を含む信号が入力された場合のみONになり、それ以
外は有意領域の範囲外であることを示す値を出力する。
逆ブロック化器432は入力されたブロック化形状信号
と、有意領域の範囲外を示す信号とを統合して、2次元
形状信号を復号化信号433として出力する。このよう
に、本実施の形態37による画像復号化装置では、復号
化器420、及び422と、ブロックサイズ変更器43
0と、スイッチ426と、逆ブロック化器432を備え
たことで、有意領域の範囲を復号化し、それを基にして
形状信号を復号化することにより、実施の形態36で符
号化した符号化信号を正しく復号化することができる。
This embodiment is constructed as described above.
The operation of the image decoding apparatus according to the above will be described. The encoded signals 419 and 415 are respectively output from the decoder 42
0 and 422 and decoded. Decoder 4
19 outputs the decoded significant area signal 421 to the block size changer 430 and the switch 426. On the other hand, the decoder 422 outputs the minimum blocked shape signal 423 which is the minimum block including the range of the significant region to the block size changer 430. Block size changer 430
Changes the block size to a predetermined size based on the input decoded significant area signal, and outputs the changed block shape signal 431 to the switch 426. The switch 426 is turned ON only when a signal including the range of the significant region indicated by the significant region signal 421 is input, and outputs a value indicating that the signal is outside the range of the significant region otherwise.
The deblocker 432 integrates the input blocked shape signal and a signal indicating the outside of the significant region, and outputs a two-dimensional shape signal as a decoded signal 433. As described above, in the image decoding apparatus according to Embodiment 37, the decoders 420 and 422 and the block size changer 43
0, the switch 426, and the deblocker 432, the range of the significant region is decoded, and the shape signal is decoded based on the range. The signal can be decoded correctly.

【0205】実施の形態38.本発明の実施の形態38
による画像符号化装置は、予測確率に応じた符号化を行
うことで、良好な階層的符号化を実現するものである。
図47は本発明の実施の形態38による画像符号化装置
の構成を示すブロック図である。同図において、1は入
力画像信号である。300は分離器であり、入力画像信
号1を2つの画像信号301a、及び301bに分離し
て出力する。302、308a、及び308bは符号化
器であり、いずれも入力された信号を符号化して、符号
化信号を出力する。330は復号化器であり符号化信号
303aを復号化して、復号化画像信号331を出力す
る。304は予測確率計算器であり、入力された画像信
号331に基づいて、画像信号301bの画素値を予測
し、その予測についての予測確率を計算し、確率値30
5を出力する。306は第2の分離器であり、入力され
た確率値305に対応して、画像信号301bを画像信
号307aと307bとに分離して出力する。
Embodiment 38 FIG. Embodiment 38 of the Present Invention
The image coding apparatus according to the above realizes good hierarchical coding by performing coding according to the prediction probability.
FIG. 47 is a block diagram showing a configuration of an image encoding device according to Embodiment 38 of the present invention. In FIG. 1, reference numeral 1 denotes an input image signal. Reference numeral 300 denotes a separator, which separates the input image signal 1 into two image signals 301a and 301b and outputs them. Encoders 302, 308a, and 308b encode an input signal and output an encoded signal. A decoder 330 decodes the encoded signal 303a and outputs a decoded image signal 331. A prediction probability calculator 304 predicts a pixel value of the image signal 301b based on the input image signal 331, calculates a prediction probability for the prediction, and calculates a probability value 30.
5 is output. Reference numeral 306 denotes a second separator, which separates the image signal 301b into image signals 307a and 307b in accordance with the input probability value 305 and outputs the separated image signal.

【0206】以上の様に構成された、本実施の形態38
による画像符号化装置についてその動作を説明する。入
力信号1が、本実施の形態38の画像符号化装置に入力
され、まず分離器において、画像信号301a、及び3
01bに分離される。ここで、信号301aは優先的に
選択された信号であって符号化器302に入力され、他
方の信号301bは第2の分離器306に出力される。
図48は本実施の形態38の画像符号化装置による符号
化の動作の原理を説明するための図である。図48(a)
において、実線の丸印の画素が画像信号301aに対応
し、破線の丸印の画素が画像信号301bに対応する。
また、図48は2値画像信号のモデルであり、斜線は真
値を示し、斜線がない丸印は偽値を表すものとする。符
号化器302は優先度の高い画像信号301aを符号化
して、得られた符号化信号303aを符号化出力とする
とともに、復号化器330にも出力する。
The thirty-eighth embodiment constructed as described above
The operation of the image coding apparatus according to the first embodiment will be described. The input signal 1 is input to the image coding apparatus according to the thirty-eighth embodiment. First, the image signals 301a and 301
01b. Here, the signal 301a is a signal selected with priority and is input to the encoder 302, and the other signal 301b is output to the second separator 306.
FIG. 48 is a diagram for describing the principle of the encoding operation performed by the image encoding device according to the thirty-eighth embodiment. Fig. 48 (a)
In FIG. 5, the solid-line circled pixels correspond to the image signal 301a, and the dashed-line circled pixels correspond to the image signal 301b.
FIG. 48 shows a model of a binary image signal, in which oblique lines indicate true values, and circles without oblique lines indicate false values. The encoder 302 encodes the high-priority image signal 301a, outputs the obtained encoded signal 303a as an encoded output, and also outputs the encoded signal 303a to the decoder 330.

【0207】復号化器330が復号処理をした復号信号
が予測確率計算器304に入力される。予測確率計算器
304は、復号化した優先度の高い画像信号に基づい
て、優先度の低い画像信号の画素値を予測し、その予測
確率を計算する。図48(a)において、Aは隣接4方向
が偽値、Bは隣接4方向が真値であり、これに対してC
は隣接2方向が真値で、隣接2方向が偽値である。その
結果、Aは偽値、Bは真値であるという予測について確
率が高いものとなるが、Cについては真偽いずれである
かについても予測が的中する確率が低いこととなる。そ
こで、図48(a)に示すAやBよりも、Cを優先的に符
号化してやれば、図48(b)に示すようにCを復号化す
るとともに、AやBを予測に基づいて再生した場合の画
質劣化が少ないこととなり、望ましい階調符号化が行い
得る。
[0207] The decoded signal decoded by the decoder 330 is input to the prediction probability calculator 304. The prediction probability calculator 304 predicts the pixel value of the low priority image signal based on the decoded high priority image signal, and calculates the prediction probability. In FIG. 48 (a), A is a false value in four adjacent directions, and B is a true value in four adjacent directions.
Is a true value in two adjacent directions and a false value in two adjacent directions. As a result, the probability that prediction is that A is a false value and B is a true value is high, but the probability that the prediction is correct for C is low. Therefore, if C is coded with priority over A and B shown in FIG. 48 (a), C is decoded as shown in FIG. 48 (b) and A and B are reproduced based on prediction. In this case, there is little deterioration in image quality, and desired gradation encoding can be performed.

【0208】従って、予測確率計算機304が出力する
確率値305に基づいて、第2の分離器306は、入力
された画像信号301bについて確率値305が高いも
のを画像信号307aとし、それ以外を画像信号307
bとして分離し、それぞれを符号化器308a、及び3
08bに出力する。各符号化器は、それぞれ入力された
画像信号を符号化して符号化信号303b、及び303
cを出力する。以上のようにして出力された符号化信号
303a〜cはこの順番に優先度が高いものとして伝送
もしくは記録されれば、復号化に際して優先度が高い符
号化信号から順番に復号化されることによって、復号化
の過程で復号化処理が打ち切られた場合においても、画
質劣化の少ない復号化画像を得ることができる。このよ
うに、本実施の形態38の画像符号化装置では、分離器
300、及び306と、符号化器302、308a、及
び308bと、復号化器330と、予測確率計算器30
4を備えたことで、予測確率の低い画素から優先的に符
号化することにより、画質劣化の少ない階層的な符号化
を付加情報なしで実現することが可能になる。
Therefore, based on the probability value 305 output from the prediction probability calculator 304, the second separator 306 sets the image signal 301b having the higher probability value 305 as the image signal 307a and the other image signals as the image signal 307a. Signal 307
b, and each of the encoders 308a and 3
08b. Each encoder encodes the input image signal to generate encoded signals 303b and 303.
Output c. If the coded signals 303a to 303c output as described above are transmitted or recorded as having higher priority in this order, the coded signals 303a to c are decoded in order from the coded signal having higher priority in decoding. Even when the decoding process is terminated in the decoding process, a decoded image with little image quality degradation can be obtained. As described above, in the image coding apparatus according to the thirty-eighth embodiment, the separators 300 and 306, the encoders 302, 308a, and 308b, the decoder 330, and the prediction probability calculator 30
The provision of No. 4 makes it possible to implement hierarchical coding with little image quality degradation without additional information by preferentially coding pixels having a low prediction probability.

【0209】実施の形態39.本発明の実施の形態39
による画像復号化装置は、実施の形態38による符号化
装置の出力する符号化信号を復号化するものである。図
49は本発明の実施の形態39による画像復号化装置の
構成を示すブロック図である。同図において、303a
〜cは実施の形態38の画像符号化装置より出力される
符号化信号であり、310、316a、及び316bの
復号化器により、復号化され、復号信号311、317
a、及び317bとして出力される。320は予測器で
あり、画像信号311に基づいて画像信号を予測し、予
測画像信号321を出力する。312は予測確率計算器
であり、入力された予測画像信号331についての予測
確率を計算し、確率値313を出力する。322はスイ
ッチであり、確率値313に対応して切り替えを行う。
Embodiment 39 FIG. Embodiment 39 of the Present Invention
An image decoding apparatus according to the third embodiment decodes an encoded signal output from the encoding apparatus according to the thirty-eighth embodiment. FIG. 49 is a block diagram showing a configuration of an image decoding device according to Embodiment 39 of the present invention. In the figure, 303a
To c are coded signals output from the image coding apparatus according to Embodiment 38, and are decoded by the decoders 310, 316a, and 316b, and the decoded signals 311, 317
a and 317b. A predictor 320 predicts an image signal based on the image signal 311 and outputs a predicted image signal 321. A prediction probability calculator 312 calculates a prediction probability of the input predicted image signal 331 and outputs a probability value 313. A switch 322 switches according to the probability value 313.

【0210】以上の様に構成された、本実施の形態39
による画像復号化装置についてその動作を説明する。符
号化信号303a〜cがそれぞれ復号化器310、31
6a、及び316bに入力され、復号化される。信号3
03aは復号化されて、復号化画像信号311は出力復
号化信号となるとともに、予測確率計算機312、及び
予測器320にも入力される。予測器320は復号化し
た画像信号311から優先度の低い画像信号321の画
素値を予測する。予測確率計算器312は、予測した画
像信号321の予測確率を計算し、各画素が復号化器3
16aもしくは316bのいずれで復号化されるべきか
を判断する。また、予測確率計算器312は外部から入
力された優先順位309を参照して、優先順位の低い符
号化信号が伝送または記録されているかどうかを判定す
る。伝送又は記録されていないと判定すれば、符号化さ
れていない画素の画素値は復号化信号323として予測
した画像信号321を出力するようにスイッチ322を
切り替えるよう制御する。また、復号化された画素につ
いては、スイッチ322で画像信号311、317a、
または317bのいずれか1つが選択されて、装置の出
力する復号化信号323とされる。このように、本実施
の形態39による画像復号化装置では、復号化器31
0、316a、及び316bと、予測確率計算器312
と、予測器320とを備えたことで、予測確率と優先順
位に対応した復号化を行うので、実施の形態38による
画像符号化装置で符号化された符号化信号を適切に復号
化することができる。
The thirty-ninth embodiment having the structure described above
The operation of the image decoding apparatus according to the above will be described. The encoded signals 303a to 303c are supplied to decoders 310 and 31 respectively.
6a and 316b and decoded. Signal 3
03a is decoded, and the decoded image signal 311 becomes an output decoded signal, and is also input to the prediction probability calculator 312 and the predictor 320. The predictor 320 predicts the pixel value of the low priority image signal 321 from the decoded image signal 311. The prediction probability calculator 312 calculates the prediction probability of the predicted image signal 321 and calculates
It is determined whether decoding should be performed at 16a or 316b. Further, the prediction probability calculator 312 refers to the priority 309 input from the outside, and determines whether or not an encoded signal having a low priority is transmitted or recorded. If it is determined that the pixel value has not been transmitted or recorded, the control is performed such that the switch 322 is switched so that the pixel value of the pixel that has not been encoded is output as the predicted image signal 321 as the decoded signal 323. Further, for the decoded pixels, the image signals 311 and 317a,
Alternatively, any one of 317b and 317b is selected as a decoded signal 323 output from the device. As described above, in the image decoding apparatus according to the thirty-ninth embodiment, the decoder 31
0, 316a, and 316b and a predicted probability calculator 312
And the predictor 320, so that decoding corresponding to the prediction probability and the priority is performed, so that the coded signal coded by the image coding apparatus according to Embodiment 38 can be appropriately decoded. Can be.

【0211】実施の形態40.本発明の実施の形態40
による画像符号化プログラム記録媒体、及び画像復号化
プログラム記録媒体は、コンピュータ等において、実施
の形態1〜39の画像符号化装置、又は画像復号化装置
を実現するものである。図50はプログラムを記録する
記録媒体の一例であるフロッピー(登録商標)ディスク
を示すものであり、図51は記録された画像符号化プロ
グラムの、図52は画像復号化プログラムの処理手順を
示すフローチャート図である。
Embodiment 40 FIG. Embodiment 40 of the present invention
The image encoding program recording medium and the image decoding program recording medium according to the present invention realize the image encoding device or the image decoding device according to any one of Embodiments 1 to 39 in a computer or the like. 50 shows a floppy (registered trademark) disk as an example of a recording medium for recording the program. FIG. 51 is a flowchart showing a processing procedure of the recorded image encoding program, and FIG. 52 is a flowchart showing a processing procedure of the image decoding program. FIG.

【0212】図50に示すフロッピーディスクに記録さ
れた、図51に示す画像符号化プログラムは、パーソナ
ルコンピュータやワークステーション等において実行さ
せることにより、実施の形態2による画像符号化装置を
実現する。同様に、図50に示すフロッピーディスクに
記録された、図52に示す画像復号化プログラムは、パ
ーソナルコンピュータやワークステーション等において
実行させることにより、実施の形態3の画像復号化装置
を実現する。この場合、同実施の形態において、図6を
用いて説明した、変化画素復号化処理の後にスイッチに
よる選択を行うタイプのものとなる。
The image encoding program shown in FIG. 51 recorded on the floppy disk shown in FIG. 50 is executed by a personal computer, a workstation, or the like, thereby realizing the image encoding device according to the second embodiment. Similarly, the image decoding program shown in FIG. 52 recorded on the floppy disk shown in FIG. 50 is executed by a personal computer, a workstation, or the like, thereby realizing the image decoding apparatus according to the third embodiment. In this case, in this embodiment, a type in which selection by a switch is performed after the changing pixel decoding process described with reference to FIG.

【0213】このように、本実施の形態40によるプロ
グラム記録媒体は、画像符号化プログラム、又は画像復
号化プログラムを記録したものとしたことで、一般的な
パーソナルコンピュータ等のコンピュータシステムにお
いて、本発明の画像符号化装置、又は画像復号化装置を
実現することが可能となる。なお、本実施の形態40で
は、実施の形態2の画像符号化装置と、実施の形態3の
画像復号化装置を実現するプログラムを記録したものと
したが、他の実施の形態による装置も同様に実現可能で
ある。また、本実施の形態40では、記録媒体としてフ
ロッピーディスクを示したが、ICカード、CD−RO
M、光ディスク、カセットテープ等の、プログラムを記
録できる媒体であれば、同様に実施することができる。
As described above, the program recording medium according to the fortieth embodiment records an image encoding program or an image decoding program, so that the present invention can be applied to a general computer system such as a personal computer. It is possible to realize the image encoding device or the image decoding device. In the fortieth embodiment, a program for realizing the image encoding device of the second embodiment and the program for realizing the image decoding device of the third embodiment are recorded. It is feasible. Further, in the present embodiment 40, a floppy disk is shown as a recording medium, but an IC card, a CD-RO
The present invention can be similarly implemented as long as the medium can record a program, such as an M, an optical disk, and a cassette tape.

【0214】[0214]

【発明の効果】以上のように本発明(請求項1)に係る
画像符号化装置によれば、2値画像信号を入力信号と
し、上記入力信号の画素値が変化する画素を符号化する
画像符号化装置であって、上記画素値の変化する画素を
検出し、上記検出した変化画素を検出変化画素として出
力する変化画素検出手段と、符号化および復号化済みの
画素の画素値の変化する画素に基づいて、上記入力信号
の変化画素を予測し、上記予測した画素を予測画素とし
て出力する予測手段と、上記検出変化画素と、上記予測
変化画素とから、両者の差分を計算し、差分値Dを出力
する差分値計算手段と、予め設定された許容値と、上記
差分値Dとに基づいて定められる範囲内の値であって、
かつ、符号化した際の符号長が最小となる値であるD’
を選択して、これを修正差分値として出力する丸め手段
と、上記修正差分値D’と、上記予測した変化画素とか
ら2値画像信号を復号化する復号化手段と、上記修正差
分値D’を符号化する符号化手段とを備えたので、許容
値以下の予測誤差において、該誤差(差分値)の符号長
が最小となる修正差分値を選択し、これを出力すること
により、符号化に必要なビット数を削減することができ
る。
As described above, according to the image encoding apparatus of the present invention (claim 1), a binary image signal is used as an input signal, and an image in which the pixel value of the input signal changes is encoded. An encoding device, comprising: a changed pixel detecting unit that detects a pixel whose pixel value changes and outputs the detected changed pixel as a detected changed pixel; and that changes the pixel value of the coded and decoded pixel. A prediction unit that predicts a change pixel of the input signal based on a pixel, and outputs the predicted pixel as a prediction pixel; a detection change pixel; and the prediction change pixel, and calculates a difference between the two. A difference value calculating unit that outputs a value D, a value within a range determined based on a preset allowable value, and the difference value D,
And D ′, which is the value that minimizes the code length when encoded.
And a decoding means for decoding a binary image signal from the corrected difference value D 'and the predicted changed pixel, and a rounding means for outputting the corrected difference value as a corrected difference value. Encoding means for encoding a ', a selected correction difference value that minimizes the code length of the error (difference value) for a prediction error equal to or less than the allowable value, and outputs the corrected difference value to obtain a code The number of bits required for the conversion can be reduced.

【0215】本発明(請求項2)に係る画像符号化装置
によれば、2値画像信号を入力信号とし、上記入力信号
の画素値が変化する画素を符号化する画像符号化装置で
あって、上記画素値の変化する画素を検出し、上記検出
した変化画素を検出変化画素として出力する変化画素検
出手段と、当該フレームにおける符号化および復号化済
みの画素の、画素値の変化する画素に基づいて、上記入
力信号の変化画素を予測し、上記予測した画素を第1の
予測画素として出力する第1の予測手段と、上記検出変
化画素と上記第1の予測画素との差分を計算し、上記計
算した差分を第1の差分値Dとして出力する第1の差分
値計算手段と、参照フレームにおける符号化および復号
化済みの画素の、画素値の変化する画素に基づき、動き
補償を伴って、上記入力信号の変化画素を予測し、上記
予測した画素を第2の予測画素として出力する第2の予
測手段と、上記検出変化画素と上記第2の予測画素との
差分を計算し、上記計算した差分を第2の差分値D”と
して出力する第2の差分値計算手段と、上記第1の差分
値Dと第2の上記差分値D”とに対して、それぞれを符
号化した場合の符号長を計算し、その計算結果を比較し
て符号長が短い方を選択し、上記選択に対応して「第
1」又は「第2」のいずれかを符号化モードとして出力
するモード選択手段と、上記選択した第1の差分値D、
又は第2の差分値D”と、上記モード選択手段が出力す
る符号化モードとを符号化する符号化手段とを備えたの
で、当該フレームに基づく予測と、動き補償した参照フ
レームに基づく予測とを比較して、符号長が最小となる
ものを選択して符号化信号を出力することが可能とな
る。このため、フレーム間の画素相関を利用することに
よって、符号化に必要なビット数を削減することができ
る。
According to the image encoding apparatus of the present invention (claim 2), an image encoding apparatus which takes a binary image signal as an input signal and encodes a pixel whose pixel value of the input signal changes is provided. A changed pixel detecting unit that detects a pixel whose pixel value changes, and outputs the detected changed pixel as a detected changed pixel; and a coded and decoded pixel of the frame whose pixel value changes. A first prediction unit that predicts a changed pixel of the input signal based on the input signal and outputs the predicted pixel as a first predicted pixel; and calculates a difference between the detected changed pixel and the first predicted pixel. A first difference value calculating unit that outputs the calculated difference as a first difference value D, and a motion compensation based on a pixel whose pixel value changes among encoded and decoded pixels in the reference frame. And above A second predictor for predicting a changed pixel of the input signal and outputting the predicted pixel as a second predicted pixel; calculating a difference between the detected changed pixel and the second predicted pixel; A second difference value calculating unit that outputs the difference as a second difference value D ″, and a code when each of the first difference value D and the second difference value D ″ is coded Mode selection means for calculating the length, selecting the shorter code length by comparing the calculation results, and outputting either “first” or “second” as the encoding mode in response to the selection. , The selected first difference value D,
Or, since the encoding device includes encoding means for encoding the second difference value D ″ and the encoding mode output by the mode selecting means, the prediction based on the frame and the prediction based on the motion-compensated reference frame , It is possible to output a coded signal by selecting a code having a minimum code length. Therefore, by utilizing the pixel correlation between frames, the number of bits required for coding can be reduced. Can be reduced.

【0216】本発明(請求項3)に係る画像符号化装置
によれば、2次元2値画像信号を入力信号とし、上記入
力信号の画素値が変化する画素を符号化する画像符号化
装置であって、上記画素値の変化する画素を検出し、上
記検出した変化画素を検出変化画素として出力する変化
画素検出手段と、当該画像信号を水平方向に走査するこ
とによって、符号化および復号化済みの画素の画素値の
変化する画素に基づいて、上記入力信号の変化画素を予
測し、上記予測した画素を第1の予測画素として出力す
る第1の予測手段と、上記検出変化画素と上記第1の予
測画素との差分を計算し、上記計算した差分を第1の差
分値Dとして出力する第1の差分値計算手段と、当該画
像信号を垂直方向に走査することによって、符号化およ
び復号化済みの画素の画素値の変化する画素に基づい
て、上記入力信号の変化画素を予測し、上記予測した画
素を第2の予測画素として出力する第2の予測手段と、
上記検出変化画素と、上記第2の予測画素の差分を計算
し、上記計算した差分を第2の差分値D"として出力す
る第2の差分値計算手段と、上記第1の差分値Dと第2
の上記差分値D”とに対して、それぞれを符号化した場
合の符号長を計算し、その計算結果を比較して符号長が
短い方を選択し、上記選択に対応して「第1」又は「第
2」のいずれかを符号化モードとして出力するモード選
択手段と、上記選択した第1の差分値D、又は第2の差
分値D”と、上記モード選択手段が出力する符号化モー
ドとを符号化する符号化手段とを備えたので、水平方向
の走査による予測と、垂直方向の走査予測とを比較し
て、符号長が最小となるものを選択して符号化すること
が可能となる。このため、画像の水平相関と垂直相関と
についての局所的な変化を利用することによって、符号
化に必要なビット数を削減することができる。
According to the image encoding apparatus of the present invention (claim 3), there is provided an image encoding apparatus which receives a two-dimensional binary image signal as an input signal and encodes a pixel whose pixel value of the input signal changes. A pixel change means for detecting a pixel whose pixel value changes and outputting the detected change pixel as a detected change pixel; and scanning the image signal in the horizontal direction to thereby encode and decode the image signal. A first prediction unit that predicts a changed pixel of the input signal based on a pixel whose pixel value changes, and outputs the predicted pixel as a first predicted pixel; A first difference value calculating unit that calculates a difference from the first predicted pixel and outputs the calculated difference as a first difference value D, and performs encoding and decoding by scanning the image signal in the vertical direction. Converted image Based on changing pixels of the pixel value, the second prediction means for predicting a change pixel of the input signal, and outputs the pixels the prediction as a second predicted pixel,
A second difference value calculating unit that calculates a difference between the detected change pixel and the second predicted pixel, and outputs the calculated difference as a second difference value D ″; Second
Is calculated for each of the above-mentioned difference values D ″, and the calculation results are compared to select a shorter code length, and the “first” corresponding to the above selection is selected. Or a mode selecting means for outputting any one of "second" as the encoding mode, the selected first difference value D or the second difference value D ", and an encoding mode outputted by the mode selecting means. And the encoding means for encoding the horizontal scanning and the vertical scanning prediction, and it is possible to select and encode the code having the minimum code length. Therefore, the number of bits required for encoding can be reduced by using the local change in the horizontal correlation and the vertical correlation of the image.

【0217】本発明(請求項4)に係る画像符号化装置
によれば、多値画像信号を入力信号とし、上記入力信号
の画素値が変化する画素を符号化する画像符号化装置で
あって、上記画素値が所定値以上に変化する画素を検出
し、上記検出した画素を検出変化画素として出力する変
化画素検出手段と、符号化および復号化済みの画素の画
素値の変化する画素に基づいて、上記入力信号の変化画
素を予測し、上記予測した画素を予測画素として出力す
る予測手段と、上記検出変化画素と上記予測画素との差
分を計算し、上記計算した差分を差分値Dとして出力す
る差分値計算手段と、上記差分値Dと、上記検出変化画
素の画素値とを符号化する符号化手段と、上記差分値D
と上記変化画素の画素値とから、多値画像信号を復号化
する復号化手段とを備えたので、しきい値以上の画素値
の変化する位置を変化位置と判断することにより、2値
画像のみでなく多値画像についても符号化を可能とする
ことができる。
According to the image encoding apparatus of the present invention (claim 4), an image encoding apparatus which takes a multi-level image signal as an input signal and encodes a pixel of which the pixel value of the input signal changes is encoded. A changed pixel detecting unit that detects a pixel whose pixel value changes to a predetermined value or more and outputs the detected pixel as a detected changed pixel, and a pixel whose pixel value of an encoded and decoded pixel changes. Predicting means for predicting a changed pixel of the input signal and outputting the predicted pixel as a predicted pixel; calculating a difference between the detected changed pixel and the predicted pixel; and calculating the calculated difference as a difference value D A difference value calculating means for outputting; a coding means for coding the difference value D and a pixel value of the detected change pixel;
And decoding means for decoding a multi-valued image signal from the pixel value of the changed pixel and the pixel value of the changed pixel. It is possible to encode not only multi-valued images but also multi-valued images.

【0218】本発明(請求項5)に係る画像符号化装置
によれば、画像を合成する際の比率を示す透過度信号
と、画素値信号とからなる画像信号を入力信号とし、参
照画像を参照して前記入力信号を符号化する符号化装置
であって、上記入力信号の画素値信号と、上記参照画像
の画素値信号とを比較して、画素値信号の動きベクトル
を検出する第1の動きベクトル検出手段と、上記参照画
像の画素値信号を、上記画素値信号の動きベクトルを用
いて動き補償し、補償画素値信号を出力する第1の動き
補償手段と、上記入力信号の画素値信号と、上記補償画
素値信号とから、両者の差分を計算し、第1の差分値を
出力する第1の差分値計算手段と、上記第1の差分値を
符号化する第1の符号化手段と、上記入力信号の透過度
信号と、上記参照画像の透過度信号とを比較して、透過
度信号の動きベクトルを検出する第2の動きベクトル検
出手段と、上記参照画像の透過度信号を、上記透過度信
号の動きベクトルを用いて動き補償し、補償透過度信号
を出力する第2の動き補償手段と、上記入力信号の透過
度信号と、上記補償透過度信号とから、両者の差分値を
計算し、第2の差分値を出力する第2の差分値計算手段
と、上記第2の差分値を符号化する第2の符号化手段
と、上記画素値信号の動きベクトルと、上記透過度信号
の動きベクトルとを符号化する第3の符号化手段を備え
たので、透過度信号に対しては、画素値信号の動きベク
トルとは別に検出した動きベクトルを用いて動き補償す
ることにより、入力透過度信号に対して動き補償信号に
より精度良く近似することができ、動き補償誤差が小さ
くなることから、符号化効率が向上する。
According to the image coding apparatus of the present invention (claim 5), an image signal consisting of a transmittance signal indicating a ratio when combining images and a pixel value signal is used as an input signal, and a reference image is used as a reference image. A coding apparatus for coding the input signal by referring to the first and second pixel values, wherein a pixel value signal of the input signal is compared with a pixel value signal of the reference image to detect a motion vector of the pixel value signal. Motion vector detecting means, first motion compensating means for performing motion compensation on the pixel value signal of the reference image using the motion vector of the pixel value signal, and outputting a compensated pixel value signal; A first difference value calculating means for calculating a difference between the two from the value signal and the compensation pixel value signal and outputting a first difference value; and a first code for encoding the first difference value. , A transmission signal of the input signal, and the reference image. And a second motion vector detecting means for detecting a motion vector of the transparency signal by comparing the transparency signal with the transparency signal of the reference image, and performing motion compensation on the transparency signal of the reference image using the motion vector of the transparency signal. A second motion compensating means for outputting a compensated transmittance signal; and calculating a difference value between the two from the transmittance signal of the input signal and the compensated transmittance signal, and outputting a second difference value. 2, a second encoding means for encoding the second difference value, and a third encoding means for encoding the motion vector of the pixel value signal and the motion vector of the transparency signal. Since the encoding means is provided, the transparency signal is subjected to motion compensation using a motion vector detected separately from the motion vector of the pixel value signal, so that the accuracy of the input transparency signal is improved by the motion compensation signal. Good approximation, movement Since 償誤 difference is reduced, thereby improving the coding efficiency.

【0219】本発明(請求項6)に係る画像符号化装置
によれば、請求項5に記載の画像符号化装置において、
上記第2の動きベクトル検出手段は、上記第1の動きベ
クトル検出手段で検出した動きベクトルの近傍におい
て、上記入力信号の透過度信号と上記参照画像の透過度
信号とを比較して、透過度信号の動きベクトルを検出す
るものとしたので、画素値信号の動きベクトル近傍での
み透過度信号の動きベクトルが検出されることとなり、
画素値信号と全く独立に行う場合に比べて動き検出に必
要な計算回数を削減することができる。
According to the image coding apparatus of the present invention (claim 6), in the image coding apparatus of claim 5,
The second motion vector detecting means compares the transmittance signal of the input signal with the transmittance signal of the reference image in the vicinity of the motion vector detected by the first motion vector detecting means, Since the motion vector of the signal is detected, the motion vector of the transmittance signal is detected only near the motion vector of the pixel value signal,
The number of calculations required for motion detection can be reduced as compared with the case where the calculation is performed completely independently of the pixel value signal.

【0220】本発明(請求項7)に係る画像符号化装置
によれば、請求項5に記載の画像符号化装置において、
上記第1の動きベクトル検出手段は、上記第2の動きベ
クトル検出手段で検出した動きベクトルの近傍におい
て、上記入力信号の画素値信号と上記参照画像の画素値
信号とを比較して、画素値信号の動きベクトルを検出す
るものとしたので、透過度信号の動きベクトル近傍での
み画素値信号の動きベクトルが検出されることとなり、
透過度信号と全く独立に行う場合に比べて動き検出に必
要な計算回数を削減することができる。
According to the image encoding apparatus of the present invention (claim 7), in the image encoding apparatus of claim 5,
The first motion vector detecting means compares a pixel value signal of the input signal with a pixel value signal of the reference image in the vicinity of the motion vector detected by the second motion vector detecting means. Since the motion vector of the signal is detected, the motion vector of the pixel value signal is detected only near the motion vector of the transmittance signal,
The number of calculations required for motion detection can be reduced as compared to the case where the calculation is performed completely independently of the transmittance signal.

【0221】本発明(請求項8)に係る画像符号化装置
によれば、請求項5に記載の画像符号化装置において、
上記第3の符号化手段は、上記画素値信号の動きベクト
ルと、上記透過度信号の動きベクトルと上記画素値信号
の動きベクトルとの差分値とを符号化するものとしたの
で、相関性がある信号の動きベクトルの差分ベクトルが
符号化されることとなる。このため、差分ベクトルの生
起頻度が0ベクトル近傍に集中することとなり、可変長
符号化を行うことにより、符号化効率が向上し、より少
ないビット数で符号化することが可能になる。
According to the image coding apparatus of the present invention (claim 8), in the image coding apparatus of claim 5,
The third encoding means encodes the motion vector of the pixel value signal and a difference value between the motion vector of the transmittance signal and the motion vector of the pixel value signal. A difference vector of a motion vector of a certain signal is coded. For this reason, the frequency of occurrence of the difference vector is concentrated in the vicinity of the zero vector, and by performing variable length coding, coding efficiency is improved and coding can be performed with a smaller number of bits.

【0222】本発明(請求項9)に係る画像符号化装置
によれば、請求項5に記載の画像符号化装置において、
上記第3の符号化手段は、上記透過度信号の動きベクト
ルと、上記透過度信号の動きベクトルと上記画素値信号
の動きベクトルとの差分値とを符号化するものとしたの
で、相関性がある信号の動きベクトルの差分ベクトルが
符号化されることとなる。このため、差分ベクトルの生
起頻度が0ベクトル近傍に集中することとなり、可変長
符号化を行うことにより、符号化効率が向上し、より少
ないビット数で符号化することが可能になる。
According to the image coding apparatus of the present invention (claim 9), in the image coding apparatus of claim 5,
Since the third encoding means encodes the motion vector of the transparency signal and a difference value between the motion vector of the transparency signal and the motion vector of the pixel value signal, the correlation is A difference vector of a motion vector of a certain signal is encoded. For this reason, the frequency of occurrence of the difference vector is concentrated in the vicinity of the zero vector, and by performing variable length coding, coding efficiency is improved and coding can be performed with a smaller number of bits.

【0223】本発明(請求項10)に係る画像符号化装
置によれば、物体の形状および各画素の画素値が有意で
あるかどうかをを示す形状信号と、画素値信号とからな
る、ブロック化された形状つき画像信号を入力信号と
し、参照画像を参照して上記入力信号を符号化する符号
化装置であって、上記入力信号の画素値信号と、上記参
照画像の画素値信号とを比較して、画素値信号の動きベ
クトルを検出する第1の動きベクトル検出手段と、上記
参照画像の画素値信号を、上記画素値信号の動きベクト
ルを用いて動き補償し、補償画素値信号を出力する第1
の動き補償手段と、上記入力信号の画素値信号と、上記
補償画素値信号とから、両者の差分を計算し、第1の差
分値を出力する第1の差分値計算手段と、上記第1の差
分値を符号化する第1の符号化手段と、上記入力信号の
形状信号と、上記参照画像の形状信号とを比較して、形
状信号の動きベクトルを検出する第2の動きベクトル検
出手段と、上記参照画像の形状信号を、上記形状信号の
動きベクトルを用いて動き補償し、補償形状信号を出力
する第2の動き補償手段と、上記入力信号の形状信号
と、上記補償形状信号とから、両者の差分値を計算し、
第2の差分値を出力する第2の差分値計算手段と、上記
第2の差分値を符号化する第2の符号化手段と、上記画
素値信号の動きベクトルと、上記形状信号の動きベクト
ルとを符号化する第3の符号化手段を備えたので、符号
化効率の向上が図れることに加えて、参照画像として符
号化及び復号化され、動き補償値を加算されたより適切
な信号を用いることにより、一層の動き補償誤差の減少
を図ることが可能となる。
According to the image coding apparatus of the present invention (claim 10), a block comprising a shape signal indicating whether the shape of an object and a pixel value of each pixel is significant, and a pixel value signal. An encoded image signal having an image shape as an input signal, and encoding the input signal with reference to a reference image, wherein the pixel value signal of the input signal and the pixel value signal of the reference image are The first motion vector detecting means for comparing and detecting the motion vector of the pixel value signal, and the pixel value signal of the reference image are motion-compensated using the motion vector of the pixel value signal. The first to output
Motion compensating means, a first difference value calculating means for calculating a difference between the two from the pixel value signal of the input signal and the compensated pixel value signal, and outputting a first difference value; First encoding means for encoding the difference value of the input signal, and second motion vector detecting means for comparing the shape signal of the input signal and the shape signal of the reference image to detect a motion vector of the shape signal. A second motion compensator for motion-compensating the shape signal of the reference image using the motion vector of the shape signal and outputting a compensation shape signal; a shape signal of the input signal; From, the difference between the two is calculated,
Second difference value calculating means for outputting a second difference value, second coding means for coding the second difference value, a motion vector of the pixel value signal, and a motion vector of the shape signal Is provided, so that the coding efficiency can be improved, and in addition, a more appropriate signal that has been coded and decoded as a reference image and to which a motion compensation value has been added is used. This makes it possible to further reduce the motion compensation error.

【0224】本発明(請求項11)に係る画像符号化装
置によれば、請求項10に記載の画像符号化装置におい
て、上記第2の動きベクトル検出手段は、上記第1の動
きベクトル検出手段で検出した動きベクトルの近傍にお
いて、上記入力信号の形状信号と上記参照画像の形状信
号とを比較して、形状信号の動きベクトルを検出するも
のとしたので、透過度信号の動き検出にあたり、画素値
信号における動き検出の結果を用いることにより、動き
検出の計算回数を削減できる。
According to the image coding apparatus of the present invention (claim 11), in the image coding apparatus of claim 10, the second motion vector detecting means is provided with the first motion vector detecting means. In the vicinity of the motion vector detected in the above, the shape signal of the input signal and the shape signal of the reference image are compared to detect the motion vector of the shape signal. By using the result of motion detection in the value signal, the number of calculations for motion detection can be reduced.

【0225】本発明(請求項12)に係る画像符号化装
置によれば、請求項10に記載の画像符号化装置におい
て、上記第1の動きベクトル検出手段は、上記第2の動
きベクトル検出手段で検出した動きベクトルの近傍にお
いて、上記入力信号の画素値信号と上記参照画像の画素
値信号とを比較して、画素値信号の動きベクトルを検出
するものとしたので、画素値信号の動き検出にあたり、
透過度信号における動き検出の結果を用いることによ
り、動き検出の計算回数を削減できる。
According to the image encoding apparatus of the present invention (claim 12), in the image encoding apparatus of claim 10, the first motion vector detecting means is provided with the second motion vector detecting means. The pixel value signal of the input signal is compared with the pixel value signal of the reference image in the vicinity of the motion vector detected in the step (a), and the motion vector of the pixel value signal is detected. Hits the,
By using the result of motion detection in the transmittance signal, the number of calculations for motion detection can be reduced.

【0226】本発明(請求項13)に係る画像符号化装
置によれば、請求項10に記載の画像符号化装置におい
て、上記第3の符号化手段は、上記画素値信号の動きベ
クトルと、上記形状信号の動きベクトルと上記画素値信
号の動きベクトルとの差分値とを符号化するものとした
ので、形状信号の動きベクトルを符号化する代わりに、
画素値信号の動きベクトルと形状信号の動きベクトルと
の差分ベクトルが符号化される。このため、可変長符号
化を行うことにより、一層の符号化効率の向上が可能と
なる。
According to the image encoding apparatus of the present invention (claim 13), in the image encoding apparatus of claim 10, the third encoding means comprises: a motion vector of the pixel value signal; Since the difference value between the motion vector of the shape signal and the motion vector of the pixel value signal is coded, instead of coding the motion vector of the shape signal,
A difference vector between the motion vector of the pixel value signal and the motion vector of the shape signal is encoded. Therefore, by performing variable-length coding, it is possible to further improve coding efficiency.

【0227】本発明(請求項14)に係る画像符号化装
置によれば、請求項10に記載の画像符号化装置におい
て、上記第3の符号化手段は、上記形状信号の動きベク
トルと、上記形状信号の動きベクトルと上記画素値信号
の動きベクトルとの差分値とを符号化するものとしたの
で、画素値信号の動きベクトルを符号化する代わりに、
形状信号の動きベクトルと形状信号の動きベクトルとの
差分ベクトルが符号化される。このため、可変長符号化
を行うことにより、一層の符号化効率の向上が可能とな
る。
According to the image encoding apparatus of the present invention (claim 14), in the image encoding apparatus of claim 10, the third encoding means comprises: a motion vector of the shape signal; Since the difference between the motion vector of the shape signal and the motion vector of the pixel value signal is coded, instead of coding the motion vector of the pixel value signal,
A difference vector between the motion vector of the shape signal and the motion vector of the shape signal is encoded. Therefore, by performing variable-length coding, it is possible to further improve coding efficiency.

【0228】本発明(請求項15)に係る画像符号化装
置によれば、請求項10に記載の画像符号化装置におい
て、上記入力信号の形状信号が画素値が全て有意である
ことを示すものであり、かつ、上記第1の動きベクトル
検出手段で検出した画素値信号の動きベクトルを用い
て、参照画像の形状信号を動き補償した補償形状信号
が、画素値が全て有意であることを示すものである場
合、又は上記入力信号の形状信号が画素値が全て有意で
ないことを示すものであり、かつ、上記第1の動きベク
トル検出手段で検出した画素値信号の動きベクトルを用
いて、参照画像の形状信号を動き補償した補償形状信号
が、画素値が全て有意でないことを示すものである場
合、上記第2のベクトル検出手段は形状信号の動きベク
トルの検出を行わず、上記第1のベクトル検出手段にお
いて検出した画素値信号の動きベクトルをもって、上記
形状信号の動きベクトルとするものとしたので、必要性
が低い場合には、形状信号の動き検出が行われない。こ
のため処理負担を軽減することができる。
According to the image coding apparatus of the present invention (claim 15), in the image coding apparatus of claim 10, the shape signal of the input signal indicates that all pixel values are significant. And the compensation shape signal obtained by motion-compensating the shape signal of the reference image using the motion vector of the pixel value signal detected by the first motion vector detection means indicates that all the pixel values are significant. Or the shape signal of the input signal indicates that the pixel values are all insignificant, and a reference is made using the motion vector of the pixel value signal detected by the first motion vector detection means. If the compensated shape signal obtained by motion-compensating the shape signal of the image indicates that all pixel values are not significant, the second vector detection unit does not detect a motion vector of the shape signal, and With motion vector of the detected pixel value signal in the first vector detection means, since it is assumed that the motion vector of the shape signal, in the case of low needs are is not performed motion detection shape signal. For this reason, the processing load can be reduced.

【0229】本発明(請求項16)に係る画像符号化装
置によれば、請求項10に記載の画像符号化装置におい
て、上記第1の動きベクトル検出手段で検出した画素値
信号の動きベクトルを用いて、参照画像の形状信号を動
き補償した補償形状信号を、上記入力信号の形状信号と
比較し、比較結果の差が予め設定された許容値を下回る
場合に、上記第1のベクトル検出手段は画素値信号の動
きベクトルの検出を行わず、上記第2のベクトル検出手
段において検出した形状信号の動きベクトルをもって、
上記画素値信号の動きベクトルとするものとしたので、
必要性が低い場合には、形状信号の動き検出が行われな
い。このため、処理負担を軽減することができる。
According to the image encoding apparatus of the present invention (claim 16), in the image encoding apparatus of claim 10, the motion vector of the pixel value signal detected by the first motion vector detecting means is determined by And comparing the shape signal of the reference image with the shape signal of the input signal. If the difference of the comparison result is smaller than a predetermined allowable value, the first vector detecting means is used. Does not detect the motion vector of the pixel value signal, and uses the motion vector of the shape signal detected by the second vector detection means,
Since the motion vector of the pixel value signal was used,
If the necessity is low, the motion detection of the shape signal is not performed. For this reason, the processing load can be reduced.

【0230】本発明(請求項17)に係る画像符号化装
置によれば、請求項10に記載の画像符号化装置におい
て、上記第3の符号化手段は、直前に符号化した入力信
号において、該入力信号の形状信号の動きベクトルが符
号化されていた場合、当該直前に符号化した形状信号の
動きベクトルと、入力信号より検出した形状信号の動き
ベクトルとの差分値を符号化するものとしたので、直前
に形状信号の動きベクトルが符号化されている場合に
は、その動きベクトルと検出した動きベクトルとの差分
ベクトルを取得して符号化することとなる。このため、
相関性の高い形状信号同士の動きベクトルの差分を用い
ることで符号化効率を向上することが可能となる。
[0230] According to the image encoding apparatus of the present invention (claim 17), in the image encoding apparatus of claim 10, the third encoding means comprises: When the motion vector of the shape signal of the input signal has been coded, the difference value between the motion vector of the shape signal coded immediately before and the motion vector of the shape signal detected from the input signal is coded. Therefore, if the motion vector of the shape signal has been coded immediately before, a difference vector between the motion vector and the detected motion vector is obtained and coded. For this reason,
By using the difference between the motion vectors of the shape signals having high correlation, it is possible to improve the coding efficiency.

【0231】本発明(請求項18)に係る画像符号化装
置によれば、請求項10に記載の画像符号化装置におい
て、上記第3の符号化手段は、直前に符号化した入力信
号において、該入力信号の画素値信号の動きベクトルが
符号化されていた場合、当該直前に符号化した画素値信
号の動きベクトルと、入力信号より検出した画素値信号
の動きベクトルとの差分値を符号化するものとしたの
で、直前に画素値信号の動きベクトルが符号化されてい
る場合には、その動きベクトルと検出した動きベクトル
との差分ベクトルを取得して符号化することとなる。こ
のため、相関性の高い画素値信号同士の動きベクトルの
差分を用いることで符号化効率を向上することが可能と
なる。
[0231] According to the image encoding apparatus of the present invention (claim 18), in the image encoding apparatus of claim 10, the third encoding means includes: When the motion vector of the pixel value signal of the input signal has been encoded, the difference value between the motion vector of the immediately preceding pixel value signal and the motion vector of the pixel value signal detected from the input signal is encoded. Therefore, if the motion vector of the pixel value signal has been encoded immediately before, a difference vector between the motion vector and the detected motion vector is acquired and encoded. For this reason, it is possible to improve the coding efficiency by using the difference between the motion vectors of the pixel value signals having high correlation.

【0232】本発明(請求項19)に係る画像符号化装
置によれば、請求項10ないし18のいずれかに記載の
画像符号化装置において、上記入力信号が、複数の画像
を合成するための合成の比率を示す情報を含む透過度情
報と、画像情報とから構成されるものである場合に、上
記透過度情報を上記形状信号とし、上記画像情報を上記
画素値信号とするものとしたので、透過度情報を含む画
像信号に対して、符号化効率の向上を図ることが可能と
なる。
According to the image coding apparatus of the present invention (claim 19), in the image coding apparatus of any one of claims 10 to 18, the input signal is used for synthesizing a plurality of images. Since the transparency information including the information indicating the composition ratio and the image information, the transparency information is used as the shape signal, and the image information is used as the pixel value signal. In addition, it is possible to improve the coding efficiency of an image signal including transparency information.

【0233】本発明(請求項20)に係る画像符号化装
置によれば、請求項10ないし18のいずれかに記載の
画像符号化装置において、上記入力信号が、複数の画像
を合成するための合成の比率を示す情報を含む透過度情
報と、画像情報とから構成されるものである場合に、上
記透過度情報を、形状のみを表わす2値信号と、その他
の信号である残余形状信号とに分離し、上記分離した2
値信号を上記形状信号とし、上記分離した残余形状信号
と、上記画像情報とを上記画素値信号とするものとした
ので、透過度情報を含む画像信号に対して、符号化効率
の向上を図ることが可能となる。
According to the image coding apparatus of the present invention (claim 20), in the image coding apparatus of any one of claims 10 to 18, the input signal is used for synthesizing a plurality of images. In the case where the transparency information includes information indicating the combination ratio and image information, the transparency information is converted into a binary signal representing only a shape, and a residual shape signal as another signal. And the above separated 2
Since the value signal is used as the shape signal and the separated residual shape signal and the image information are used as the pixel value signal, encoding efficiency is improved for an image signal including transparency information. It becomes possible.

【0234】本発明(請求項21)に係る画像符号化装
置によれば、物体の各画素の画素値が有意であるかどう
かを表す形状情報と、物体の画素毎の合成の比率を表す
透過度情報の少なくとも一方と、画素値情報とから構成
される画像信号を入力画像信号とする画像符号化装置で
あって、上記入力画像信号に対して、空間および時間的
に一致する画素を1つのグループとして統合し、ブロッ
ク化された情報として出力するブロック化手段と、上記
ブロック化手段によりブロック化された上記形状情報、
上記透過度情報、および上記画素値情報のそれぞれに対
して、所定の符号化モードの中から符号化モードを選択
し、上記選択した符号化モードにおいてそれぞれを符号
化する第1の符号化手段と、上記形状情報、上記透過度
情報、および上記画素値情報のそれぞれについての、上
記選択したモードを示すモード識別情報を、まとめて符
号化する第2の符号化手段とを備え、上記第1の符号化
手段出力と、上記第2の符号化手段出力とを符号化出力
とするので、相関性の高い形状情報、透過度情報、及び
画素値情報について、まとめて符号化が行われることと
なる。このため、同じモードとなる符号が短い符号長と
なる可変長符号化を行うことにより、モード符号化信号
のビット数を削減することが可能となる。
According to the image encoding apparatus of the present invention (claim 21), the shape information indicating whether the pixel value of each pixel of the object is significant, and the transmission information indicating the synthesis ratio of each pixel of the object. An image coding apparatus using an image signal composed of at least one of the degree information and the pixel value information as an input image signal, wherein one pixel that spatially and temporally matches the input image signal is one. Blocking means integrated as a group and output as blocked information, and the shape information blocked by the blocking means,
A first encoding unit that selects an encoding mode from predetermined encoding modes for each of the transmittance information and the pixel value information, and encodes each of the encoding modes in the selected encoding mode; And second encoding means for collectively encoding mode identification information indicating the selected mode for each of the shape information, the transparency information, and the pixel value information. Since the output of the encoding unit and the output of the second encoding unit are encoded outputs, the shape information, the transparency information, and the pixel value information having high correlation are encoded collectively. . For this reason, by performing variable length coding in which codes having the same mode have a shorter code length, it is possible to reduce the number of bits of the mode coded signal.

【0235】本発明(請求項22)に係る画像符号化装
置によれば、物体の各画素の画素値が有意であるかどう
かを表す形状情報と、物体の画素毎の合成の比率を表す
透過度情報の少なくとも一方と、画素値情報とから構成
される画像信号を入力画像信号とする画像符号化装置で
あって、上記入力画像信号に対して、空間および時間的
に一致する画素を1つのグループとして統合し、ブロッ
ク化された情報として出力するブロック化手段と、上記
ブロック化手段によりブロック化された上記形状情報、
および上記透過度情報のそれぞれに対して、所定の符号
化モードの中から符号化モードを選択し、上記選択した
符号化モードにおいてそれぞれを符号化する第1の符号
化手段と、上記第1の符号化手段において選択された符
号化モードのうちいずれかの符号化モードにおいて、上
記ブロック化手段によりブロック化された上記画素値情
報を符号化する第2の符号化手段と、上記形状情報、上
記透過度情報、および上記画素値情報のそれぞれについ
ての、上記選択したモードを示すモード識別情報を、ま
とめて符号化する第3の符号化手段とを備え、上記第1
の符号化手段出力、上記第2の符号化手段出力、及び上
記第3の符号化手段出力を符号化出力とするので、選択
されるモードが同じものとなりやすくする。このため、
可変長符号化を行うことにより、モード符号化信号のビ
ット数を一層削減することが可能となる。
According to the image encoding apparatus of the present invention (claim 22), the shape information indicating whether the pixel value of each pixel of the object is significant and the transmission information indicating the synthesis ratio for each pixel of the object. An image coding apparatus using an image signal composed of at least one of the degree information and the pixel value information as an input image signal, wherein one pixel that spatially and temporally matches the input image signal is one. Blocking means for integrating as a group and outputting as blocked information, and the shape information blocked by the blocking means,
A first encoding unit that selects an encoding mode from predetermined encoding modes for each of the transparency information and encodes each of the encoding modes in the selected encoding mode; A second encoding unit that encodes the pixel value information blocked by the blocking unit in any one of the encoding modes selected by the encoding unit; and the shape information; A third encoding unit that collectively encodes the transparency information and the mode identification information indicating the selected mode for each of the pixel value information;
Since the output of the encoding means, the output of the second encoding means, and the output of the third encoding means are the encoded outputs, the selected mode is likely to be the same. For this reason,
By performing variable-length coding, it is possible to further reduce the number of bits of the mode-coded signal.

【0236】本発明(請求項23)に係る画像符号化装
置によれば、物体の各画素の画素値が有意であるかどう
かを表す形状情報と、物体の画素毎の合成の比率を表す
透過度情報の少なくとも一方と、画素値情報とから構成
される画像信号を入力画像信号とする画像符号化装置で
あって、上記入力画像信号に対して、空間および時間的
に一致する画素を1つのグループとして統合し、ブロッ
ク化された情報として出力するブロック化手段と、上記
ブロック化手段によりブロック化された上記画素値情報
に対して、所定の符号化モードの中から符号化モードを
選択し、上記選択した符号化モードにおいて符号化する
第1の符号化手段と、上記第1の符号化手段において選
択された符号化モードにおいて、上記ブロック化手段に
よりブロック化された上記形状情報情報、および上記透
過度情報を符号化する第2の符号化手段と、上記形状情
報、上記透過度情報、および上記画素値情報のそれぞれ
についての、上記選択したモードを示すモード識別情報
を、まとめて符号化する第3の符号化手段とを備え、上
記第1の符号化手段出力、上記第2の符号化手段出力、
及び上記第3の符号化手段出力を符号化出力とするの
で、選択されるモードが同じものとなりやすくする。こ
のため、可変長符号化を行うことにより、モード符号化
信号のビット数を一層削減することが可能となる。
According to the image coding apparatus of the present invention (claim 23), the shape information indicating whether the pixel value of each pixel of the object is significant and the transmission information indicating the synthesis ratio for each pixel of the object. An image coding apparatus that uses an image signal composed of at least one of the degree information and pixel value information as an input image signal, wherein one pixel that spatially and temporally matches the input image signal is one. Integrating as a group, blocking means for outputting as blocked information, and for the pixel value information blocked by the blocking means, select an encoding mode from a predetermined encoding mode, A first encoding unit that performs encoding in the selected encoding mode, and a block that is blocked by the blocking unit in the encoding mode selected in the first encoding unit. Second encoding means for encoding the shape information information and the transparency information, and a mode identification indicating the selected mode for each of the shape information, the transparency information and the pixel value information. And third encoding means for encoding information collectively, wherein the output of the first encoding means, the output of the second encoding means,
In addition, since the output of the third encoding means is an encoded output, the selected mode is likely to be the same. Therefore, by performing variable-length coding, the number of bits of the mode-coded signal can be further reduced.

【0237】本発明(請求項24)に係る画像符号化装
置によれば、請求項21ないし23のいずれかに記載の
画像符号化装置において、上記所定の符号化モードは、
画面内符号化、および画面間符号化であるものとしたの
で、画像信号の相関関係に基づいた符号化を行い、かつ
モード符号化信号のビット数削減を図り得る。
According to the image coding apparatus of the present invention (claim 24), in the image coding apparatus of any one of claims 21 to 23, the predetermined coding mode is:
Since intra-frame coding and inter-screen coding are assumed, coding based on the correlation between image signals can be performed, and the number of bits of the mode-coded signal can be reduced.

【0238】本発明(請求項25)に係る画像符号化装
置によれば、請求項22または23に記載の画像符号化
装置において、上記第2の符号化手段は、上記第1の符
号化手段において、上記選択した符号化モードが画面内
符号化であった場合に、画面内符号化を選択するものと
したので、画像信号の相関関係に基づいた符号化を行
い、かつ、モードを同じとすることにより、モード符号
化信号の一層のビット数削減を図り得る。
According to the image coding apparatus of the present invention (claim 25), in the image coding apparatus of claim 22 or 23, the second coding means is provided with the first coding means. In, when the selected encoding mode is intra-screen encoding, since intra-screen encoding is to be selected, encoding based on the correlation between image signals is performed, and the mode is the same. By doing so, the number of bits of the mode-coded signal can be further reduced.

【0239】本発明(請求項26)に係る画像符号化装
置によれば、請求項21ないし23のいずれかに記載の
画像符号化装置において、上記所定の符号化モードは、
上記ブロックごとの動きベクトルの個数であるものとし
たので、画像信号の性質に対応した符号化を行い、かつ
モード符号化信号のビット数削減を図り得る。
According to the image coding apparatus of the present invention (claim 26), in the image coding apparatus according to any one of claims 21 to 23, the predetermined coding mode is:
Since the number of motion vectors is assumed to be the number of motion vectors for each block, encoding corresponding to the property of the image signal can be performed, and the number of bits of the mode encoded signal can be reduced.

【0240】本発明(請求項27)に係る画像符号化装
置によれば、請求項22または23に記載の画像符号化
装置において、上記第2の符号化手段は、上記第1の符
号化手段において、上記選択した符号化モードである動
きベクトルの個数を、上記符号化モードとして選択する
ものとしたので、画像信号の性質に対応した符号化を行
い、かつ、モードを同じとすることにより、モード符号
化信号の一層のビット数削減を図り得る。
According to the image coding apparatus of the present invention (claim 27), in the image coding apparatus of claim 22 or 23, the second coding means is provided with the first coding means. In, since the number of motion vectors in the selected encoding mode is selected as the encoding mode, by performing encoding corresponding to the properties of the image signal, and by making the mode the same, The number of bits of the mode coded signal can be further reduced.

【0241】本発明(請求項28)に係る画像符号化装
置によれば、請求項21ないし23のいずれかに記載の
画像符号化装置において、上記所定の符号化モードは、
量子化ステップ変更有、および量子化ステップ変更無で
あるものとしたので、画像信号の性質に対応した符号化
を行い、かつモード符号化信号のビット数削減を図り得
る。
According to the image coding apparatus of the present invention (claim 28), in the image coding apparatus according to any one of claims 21 to 23, the predetermined coding mode is:
Since it is assumed that the quantization step has been changed and the quantization step has not been changed, it is possible to perform coding corresponding to the property of the image signal and reduce the number of bits of the mode coded signal.

【0242】本発明(請求項29)に係る画像符号化装
置によれば、請求項22または23に記載の画像符号化
装置において、上記第2の符号化手段は、上記第1の符
号化手段において、上記選択した符号化モードが量子化
ステップ変更無であった場合に、量子化ステップ変更無
を選択するものとしたので、画像信号の性質に対応した
符号化を行い、かつ、モードを同じとすることにより、
モード符号化信号の一層のビット数削減を図り得る。
According to the image coding apparatus of the present invention (claim 29), in the image coding apparatus according to claim 22 or 23, the second coding means is the first coding means. In the above, when the selected encoding mode is no quantization step change, since no quantization step change is selected, encoding corresponding to the property of the image signal is performed, and the mode is the same. By doing
The number of bits of the mode coded signal can be further reduced.

【0243】本発明(請求項30)に係る画像符号化装
置によれば、複数の画素からなる2次元画像信号を入力
して符号化する画像符号化装置であって、上記2次元画
像信号に対して、所定の方向に走査することによって画
素値の変化する画素を検出し、上記検出した第1の変化
画素を出力する第1の変化画素検出手段と、符号化復号
化済みの画素に対して、所定の方向に走査することによ
って画素値の変化する画素を検出し、上記検出した第2
の変化画素を出力する第2の変化画素検出手段と、符号
化および復号化済みの画素に対して、所定の方向に走査
することによって画素値の変化する画素を検出し、上記
検出した第3の変化画素を出力する第3の変化画素検出
手段と、上記第2の変化画素と上記第3の変化画素とに
基づいて上記第1の変化画素を予測して、上記予測した
予測変化画素を出力する変化画素予測手段と、上記第1
の変化画素と、上記予測変化画素との差を計算して、上
記計算した変化画素差分値を出力する予測誤差計算手段
と、上記変化画素差分値を符号化して符号化信号とする
予測誤差符号化手段とを備えたものとしたので、予測に
ついての誤差が符号化されることとなり、符号化効率の
向上を図ることが可能となる。
According to the image encoding apparatus of the present invention (claim 30), there is provided an image encoding apparatus for inputting and encoding a two-dimensional image signal composed of a plurality of pixels. On the other hand, a first changing pixel detecting unit that detects a pixel whose pixel value changes by scanning in a predetermined direction and outputs the detected first changing pixel, Then, a pixel whose pixel value changes by scanning in a predetermined direction is detected, and the detected second
A second changed pixel detecting unit that outputs a changed pixel, and a pixel whose pixel value changes by scanning the encoded and decoded pixels in a predetermined direction. A third changed pixel detecting means for outputting a changed pixel, and the first changed pixel is predicted based on the second changed pixel and the third changed pixel. Changing pixel predicting means for outputting;
Prediction error calculating means for calculating a difference between the changed pixel and the predicted changed pixel, and outputting the calculated changed pixel difference value; and a prediction error code for coding the changed pixel difference value to obtain an encoded signal. Since the encoding device is provided with an encoding unit, an error in prediction is encoded, and encoding efficiency can be improved.

【0244】本発明(請求項31)に係る画像符号化装
置によれば、請求項30に記載の画像符号化装置におい
て、上記第2の変化画素検出手段、および上記第3の変
化画素検出手段は、上記第2の変化画素、および上記第
3の変化画素の画素値を、上記第1の変化画素の画素値
と同じものとするもので、上記の符号化を行い、上記の
効果が得られる。
According to the image coding apparatus of the present invention (claim 31), in the image coding apparatus of claim 30, the second changed pixel detecting means and the third changed pixel detecting means are provided. Is to make the pixel values of the second changed pixel and the third changed pixel the same as the pixel values of the first changed pixel. Can be

【0245】本発明(請求項32)に係る画像符号化装
置によれば、請求項30に記載の画像符号化装置におい
て、上記第2の変化画素検出手段、および上記第3の変
化画素検出手段は、上記走査する所定の方向を、上記第
1の変化画素検出手段が上記走査する所定の方向と同じ
方向とするものとしたので、上記の符号化を行い、上記
の効果が得られる。
According to the image coding apparatus of the present invention (claim 32), in the image coding apparatus of claim 30, the second changed pixel detecting means and the third changed pixel detecting means. Since the predetermined scanning direction is set to be the same as the predetermined scanning direction of the first change pixel detecting means, the encoding is performed, and the above-described effect is obtained.

【0246】本発明(請求項33)に係る画像符号化装
置によれば、請求項30に記載の画像符号化装置におい
て、上記第2の変化画素を用いて予測した変化画素との
差によって、上記第3の変化画素が符号化されているも
のとしたので、上記の符号化を行い、上記の効果が得ら
れる。
According to the image coding apparatus of the present invention (claim 33), in the image coding apparatus of claim 30, the difference from the changed pixel predicted using the second changed pixel is Since it is assumed that the third change pixel is coded, the above-described coding is performed, and the above-described effect is obtained.

【0247】本発明(請求項34)に係る画像符号化装
置によれば、請求項30に記載の画像符号化装置におい
て、第2の変化画素、第3の変化画素、および第1の変
化画素が異なる走査線にあるものとしたので、上記の符
号化を行い、上記の効果が得られる。
According to the image coding apparatus of the present invention (claim 34), in the image coding apparatus of claim 30, the second changed pixel, the third changed pixel, and the first changed pixel. Are on different scanning lines, the above coding is performed, and the above effects can be obtained.

【0248】本発明(請求項35)に係る画像符号化装
置によれば、請求項30に記載の画像符号化装置におい
て、上記変化画素予測手段は、上記第2の変化画素が第
m走査線のx画素目にあり、上記第3の変化画素が第n走
査線のy画素目にあるとき、上記第1の変化画素につい
て、第k走査線のy-(x-y)*(n-k)/(m-n)画素目であると予
測するものとしたので、上記の符号化を行い、上記の効
果が得られる。
According to the image coding apparatus of the present invention (claim 35), in the image coding apparatus of claim 30, the changed pixel predicting means determines that the second changed pixel is the second changed pixel.
When the third change pixel is at the x-th pixel of the m-th scan line and the third change pixel is at the y-th pixel of the n-th scan line, for the first change pixel, y- (xy) * (nk) of the k-th scan line ) / (mn) pixel is predicted, so that the above coding is performed, and the above effects can be obtained.

【0249】本発明(請求項36)に係る画像符号化装
置によれば、複数の画素からなる2次元画像信号を入力
して符号化する画像符号化装置であって、上記2次元画
像信号に対して、所定の方向に走査することによって画
素値の変化する画素を検出し、上記検出した検出変化画
素を出力する変化画素検出手段と、符号化および復号化
済の画素から変化画素を予測し、上記予測した予測変化
画素を出力する変化画素予測手段と、上記検出変化画素
と、上記予測変化画素との差を計算して、上記計算した
変化画素差分値を出力する予測誤差計算手段と、上記変
化画素差分値の値が所定値未満である場合に、上記変化
画素差分値を符号化し、差分値符号化信号を出力する予
測誤差符号化手段と、上記変化画素差分値の値が所定値
以上である場合に、直前に符号化した変化画素から、上
記検出変化画素までに位置する画素であって、上記予測
誤差符号化手段が符号化し得る画素位置に位置しない画
素の数を算出し、上記算出した画素数を符号化して、画
素数符号化信号を出力する画素数符号化手段とを備え、
上記予測誤差符号化手段と、上記画素数符号化手段と
は、上記差分値符号化信号と、上記画素数符号化信号と
が一意に識別可能な符号化を行うので、予測誤差が定め
られた範囲内にあるときは、予測誤差の符号化信号を、
範囲外にあるときは、画素数の符号化信号を、出力する
符号化信号とすることとなる。このため、予測誤差が大
きな場合は、変化画素の個数の変動により、変化画素の
予測ができない場合にも、符号化効率が低下することを
防止して、適切な符号化を実行することが可能となる。
According to the image encoding apparatus of the present invention (claim 36), there is provided an image encoding apparatus for inputting and encoding a two-dimensional image signal composed of a plurality of pixels. On the other hand, a pixel whose pixel value changes by scanning in a predetermined direction is detected, and a changed pixel detecting means for outputting the detected detected changed pixel, and a changed pixel is predicted from the coded and decoded pixels. A changed pixel prediction unit that outputs the predicted predicted changed pixel, a prediction error calculation unit that calculates a difference between the detected changed pixel and the predicted changed pixel, and outputs the calculated changed pixel difference value, A prediction error encoding unit that encodes the changed pixel difference value when the value of the changed pixel difference value is less than a predetermined value, and outputs a difference value encoded signal; If it is more than Calculate the number of pixels that are located between the previously coded changed pixel and the detected changed pixel and are not located at a pixel position that can be coded by the prediction error coding unit, and calculate the calculated number of pixels. Pixel number encoding means for encoding and outputting a pixel number encoded signal,
Since the prediction error encoding unit and the pixel number encoding unit perform encoding in which the difference value encoded signal and the pixel number encoded signal can be uniquely identified, the prediction error is determined. When within the range, the encoded signal of the prediction error is
When it is out of the range, the encoded signal of the number of pixels is set as the encoded signal to be output. For this reason, when the prediction error is large, it is possible to prevent a decrease in the coding efficiency and perform appropriate coding even when the change pixel cannot be predicted due to a change in the number of the change pixels. Becomes

【0250】本発明(請求項37)に係る画像符号化装
置によれば、請求項36に記載の画像符号化装置におい
て、上記予測誤差符号化手段、および上記画素数符号化
手段は、上記変化画素差分値と比較する上記所定値を、
当該走査線の画素数を用いて設定するものとしたので、
上記の符号化を行い、上記の効果が得られる。
According to the image encoding apparatus of the present invention (claim 37), in the image encoding apparatus of claim 36, the prediction error encoding means and the pixel number encoding means are adapted to execute the change The predetermined value to be compared with the pixel difference value is
Since the setting was made using the number of pixels of the scanning line,
By performing the above coding, the above effects can be obtained.

【0251】本発明(請求項38)に係る画像符号化装
置によれば、物体を表す画素が存在する領域を表す2次
元の形状信号を入力として、上記形状信号を符号化する
画像符号化装置であって、上記入力した形状信号から、
上記物体を表す画素を包含する矩形領域である有意領域
を抽出し、上記抽出した有意領域の範囲である有意領域
範囲を出力する有意領域抽出手段と、上記形状信号を複
数の画素からなるブロックに分割するブロック化手段
と、上記ブロック化手段が出力する各ブロックごとに、
上記有意領域を含むか否かを判定し、上記有意領域を含
むと判定した場合は、少なくとも当該ブロックの上記有
意領域を符号化し、形状符号化信号を出力する形状符号
化手段とを備え、上記有意領域範囲と、上記形状符号化
信号とを符号化信号とするので、有意領域の範囲を検出
し、有意領域の範囲の内部のみ形状信号を符号化するよ
うに形状信号のブロックサイズを変更することとなる。
このため、有意領域の範囲外を符号化することがなくな
り形状信号の符号化効率が向上する。
According to the image coding apparatus of the present invention (claim 38), an image coding apparatus which inputs a two-dimensional shape signal representing an area where a pixel representing an object is present and encodes the shape signal And from the input shape signal,
A significant area extraction unit that extracts a significant area that is a rectangular area including the pixel representing the object, and outputs a significant area range that is a range of the extracted significant area; and converts the shape signal into a block including a plurality of pixels. For each of the blocking means to be divided and each block output by the blocking means,
Determining whether or not to include the significant region, and when determining to include the significant region, at least encoding the significant region of the block, and comprising a shape encoding means for outputting a shape encoded signal, Since the significant area range and the shape-encoded signal are used as encoded signals, the significant area range is detected, and the block size of the shape signal is changed so that the shape signal is encoded only inside the significant area range. It will be.
Therefore, coding outside the range of the significant region is not performed, and coding efficiency of the shape signal is improved.

【0252】本発明(請求項39)に係る画像符号化装
置によれば、請求項38に記載の画像符号化装置におい
て、上記形状符号化手段は、上記ブロック化手段により
構成された各ブロック中から、上記有意領域を含む最小
の矩形領域を抽出し、上記抽出した矩形領域の内部のみ
を符号化するものとしたので、上記の符号化を行い、符
号化効率を向上する。
According to the image coding apparatus of the present invention (claim 39), in the image coding apparatus according to claim 38, the shape coding means is provided in each block constituted by the blocking means. , The smallest rectangular area including the significant area is extracted, and only the inside of the extracted rectangular area is encoded. Therefore, the encoding is performed to improve the encoding efficiency.

【0253】本発明(請求項40)に係る画像符号化装
置によれば、複数の画素からなる2次元画像信号を入力
として上記2次元画像信号を符号化する画像符号化装置
であって、上記画像信号を少なくとも2つの画像信号に
分離して、上記分離した画像信号を2つ以上の部分画像
信号として出力する画像信号分離手段と、上記部分画像
信号のうち少なくとも1つを対象部分画像信号として選
択し、上記選択した対象部分画像信号を符号化して、第
1の符号化信号を出力する第1の画像信号符号化手段
と、上記第1の符号化信号を復号化した画像信号に基づ
いて、上記部分画像信号のうち上記対象部分画像信号を
除いた対象外部分画像信号を予測し、上記予測が的中す
る確率を計算し、上記計算した予測確率を出力する予測
確率計算手段と、上記予測確率計算手段で計算した予測
確率に応じて、復号化の優先度を決定し、上記決定した
優先道に応じた符号化方法を用いて、上記対象外部分画
像信号をを符号化する第2の画像信号符号化手段とを備
えたので、予測確率の低い画素から優先的に符号化する
ことにより、画質劣化の少ない階層的な符号化を付加情
報なしで実現することが可能になる。
According to the image encoding apparatus of the present invention (claim 40), there is provided an image encoding apparatus for encoding a two-dimensional image signal by inputting a two-dimensional image signal comprising a plurality of pixels. Image signal separating means for separating the image signal into at least two image signals and outputting the separated image signals as two or more partial image signals; and at least one of the partial image signals as a target partial image signal A first image signal encoding unit for selecting and encoding the selected target partial image signal and outputting a first encoded signal; and an image signal obtained by decoding the first encoded signal. Prediction probability calculating means for predicting a non-target partial image signal of the partial image signal excluding the target partial image signal, calculating a probability that the prediction is successful, and outputting the calculated prediction probability; A second determining unit that determines a decoding priority in accordance with the prediction probability calculated by the prediction probability calculation unit and encodes the non-target partial image signal using an encoding method corresponding to the determined priority path; Since the image signal encoding means is provided, priority is given to encoding from pixels having a low prediction probability, so that hierarchical encoding with little image quality degradation can be realized without additional information.

【0254】本発明(請求項41)に係る画像符号化装
置によれば、請求項40に記載の画像符号化装置におい
て、上記第2の画像信号符号化手段は、上記予測確率が
小さい画素が優先的に復号化されるよう、上記復号化の
優先度を決定するものとしたので、上記の符号化を行
い、上記の効果が得られる。
[0254] According to the image coding apparatus of the present invention (claim 41), in the image coding apparatus of claim 40, the second image signal coding means determines whether the pixel having the small prediction probability is a pixel having a small prediction probability. Since the priority of the decoding is determined so as to be preferentially decoded, the above-described encoding is performed, and the above-described effect is obtained.

【0255】本発明(請求項42)に係る画像符号化装
置によれば、請求項40に記載の画像符号化装置におい
て、上記予測確率計算手段は、近傍の画素値が同じ値の
場合に、上記的中する確率を大きく、近傍の画素値が異
なる値の場合に、上記的中する確率を小さくするものと
したので、上記の符号化を行い、上記の効果が得られ
る。
According to the picture coding apparatus of the present invention (claim 42), in the picture coding apparatus according to claim 40, the prediction probability calculating means is arranged such that when neighboring pixel values have the same value, The probability of hitting is large, and when the neighboring pixel values are different, the probability of hitting is small. Therefore, the above coding is performed, and the above effects are obtained.

【0256】本発明(請求項43)に係る画像復号化装
置によれば、符号化信号を入力して、復号化する画像復
号化装置であって、上記符号化信号を復号化して、符号
化モードと、差分値とを取得し、上記取得した符号化モ
ードをモード信号として、上記取得した差分値を復号差
分値として出力する復号化手段と、当該フレームにおけ
る符号化および復号化済みの画素の、画素値の変化する
画素に基づいて、上記入力信号の変化画素を予測し、上
記予測した画素を第1の予測画素として出力する第1の
予測手段と、参照フレームにおける符号化および復号化
済みの画素の、画素値の変化する画素に基づき、動き補
償を伴って、上記入力信号の変化画素を予測し、上記予
測した画素を第2の予測画素として出力する第2の予測
手段と、上記モード信号が当該フレーム予測を示す場合
は、上記第1の予測画素に上記復号差分値を加算し、上
記モード信号が参照フレーム予測を示す場合は、上記第
2の予測画素に上記復号差分値を加算する加算手段とを
備え、上記加算手段の出力を変化画素とするので、請求
項2の画像符号化装置において得られた符号化信号を適
切に復号化することができる。
[0256] According to the image decoding apparatus of the present invention (claim 43), there is provided an image decoding apparatus for receiving a coded signal and decoding the coded signal. A decoding unit that obtains a mode and a difference value, outputs the obtained difference value as a decoding difference value using the obtained coding mode as a mode signal, and a coding unit that has already coded and decoded the pixel in the frame. A first prediction unit that predicts a changed pixel of the input signal based on a pixel whose pixel value changes, and outputs the predicted pixel as a first predicted pixel; A second prediction unit that predicts a changed pixel of the input signal based on a pixel whose pixel value changes, with motion compensation, and outputs the predicted pixel as a second predicted pixel; Mo When the signal indicates the frame prediction, the decoding difference value is added to the first prediction pixel. When the mode signal indicates the reference frame prediction, the decoding difference value is added to the second prediction pixel. Since the output of the adding means is a changed pixel, the coded signal obtained by the image coding apparatus according to claim 2 can be appropriately decoded.

【0257】本発明(請求項44)に係る画像復号化装
置によれば、符号化信号を入力して、復号化する画像復
号化装置であって、上記符号化信号を復号化して、符号
化モードと、差分値とを取得し、上記取得した符号化モ
ードをモード信号として、上記取得した差分値を復号差
分値として出力する復号化手段と、当該画像信号を水平
方向に走査することによって、符号化および復号化済み
の画素の画素値の変化する画素に基づいて、上記入力信
号の変化画素を予測し、上記予測した画素を第1の予測
画素として出力する第1の予測手段と、当該画像信号を
垂直方向に走査することによって、符号化および復号化
済みの画素の画素値の変化する画素に基づいて、上記入
力信号の変化画素を予測し、上記予測した画素を第2の
予測画素として出力する第2の予測手段と、上記モード
信号が水平方向走査の予測を示す場合は、上記第1の予
測画素に上記復号差分値を加算し、上記モード信号が垂
直方向走査の予測を示す場合は、上記第2の予測画素に
上記復号差分値を加算する加算手段とを備え、上記加算
手段の出力を変化画素とするので、請求項3の画像符号
化装置において得られた符号化信号を適切に復号化する
ことができる。
According to the image decoding apparatus of the present invention (claim 44), there is provided an image decoding apparatus for receiving a coded signal and decoding the coded signal. A decoding unit that acquires a mode and a difference value, and outputs the acquired difference value as a decoding difference value by using the acquired encoding mode as a mode signal, and scanning the image signal in the horizontal direction. A first prediction unit that predicts a changed pixel of the input signal based on a pixel whose pixel value of an encoded and decoded pixel changes, and outputs the predicted pixel as a first predicted pixel; By scanning the image signal in the vertical direction, a changed pixel of the input signal is predicted based on a pixel having a changed pixel value of the encoded and decoded pixel, and the predicted pixel is determined as a second predicted pixel. Out as When the mode signal indicates the prediction of the horizontal scanning, the decoding difference value is added to the first prediction pixel, and when the mode signal indicates the prediction of the vertical scanning, And an adding means for adding the decoding difference value to the second predicted pixel, and the output of the adding means is used as a changed pixel, so that the coded signal obtained by the image coding apparatus of Can be decrypted.

【0258】本発明(請求項45)に係る画像復号化装
置によれば、符号化信号を入力して、復号化する画像復
号化装置であって、上記符号化信号を復号化して、差分
値と、変化画素の画素値とを取得し、上記取得した差分
値を復号差分値として、上記取得した変化画素の画素値
を復号画素値として出力する復号化手段と、復号化済み
の画素の画素値の変化する画素に基づいて、上記入力す
る符号化信号の変化画素を予測し、上記予測した画素を
予測画素として出力する予測手段と、上記復号差分値と
上記予測画素とを加算し、上記加算した結果を修正差分
値として出力する加算手段と、上記修正差分値と、上記
復号画素値とから、多値画像信号を復号化処理によって
取得する画像復号化手段とを備えたものとしたので、請
求項4の画像符号化装置において得られた符号化信号を
適切に復号化することができる。
[0258] According to the image decoding apparatus of the present invention (claim 45), there is provided an image decoding apparatus for receiving a coded signal and decoding the coded signal. And decoding means for obtaining the pixel value of the changed pixel, outputting the obtained difference value as a decoded difference value, and outputting the obtained pixel value of the changed pixel as a decoded pixel value. Based on the pixel whose value changes, predicting a changed pixel of the input coded signal, predicting means for outputting the predicted pixel as a predicted pixel, adding the decoded difference value and the predicted pixel, The image processing apparatus includes an adding unit that outputs a result of the addition as a corrected difference value, and an image decoding unit that obtains a multilevel image signal by a decoding process from the corrected difference value and the decoded pixel value. The image code according to claim 4, It can be properly decode the encoded signal obtained in the apparatus.

【0259】本発明(請求項46)に係る画像復号化装
置によれば、符号化信号を入力して、復号化する画像復
号化装置であって、上記符号化信号から画素値信号の差
分値を復号化し、復号画素値差分値として出力する第1
の復号化手段と、上記符号化信号から透過度信号の差分
値を復号化し、復号透過度差分値として出力する第2の
復号化手段と、上記符号化信号から画素値信号の動きベ
クトルと、透過度信号の動きベクトルとを復号化し、復
号画素値動きベクトルと、復号透過度動きベクトルとを
出力する第3の復号化手段と、後述する参照画像の画素
値信号を、上記復号画素値動きベクトルを用いて動き補
償し、上記動き補償した結果を補償画素値信号として出
力する第1の動き補償手段と、上記復号画素値差分値と
補償画素値信号とを加算し、上記加算した結果を復号化
した画素値信号として出力するとともに、参照画像の画
素値信号として出力する第1の加算手段と、後述する参
照画像の透過度信号を、上記復号透過度動きベクトルを
用いて動き補償し、上記動き補償した結果を補償透過度
信号として出力する第2の動き補償手段と、上記復号透
過度差分値と補償透過度信号とを加算し、上記加算した
結果を復号化した透過度信号として出力するとともに、
参照画像の透過度信号として出力する第2の加算手段と
を備えたので、請求項5の画像符号化装置において得ら
れた符号化信号を適切に復号化することができる。
According to the image decoding apparatus of the present invention (claim 46), there is provided an image decoding apparatus for inputting and decoding an encoded signal, wherein a difference value of a pixel value signal from the encoded signal is obtained. And outputs a decoded pixel value difference value
Decoding means, a second decoding means for decoding the difference value of the transmittance signal from the coded signal, and outputting as a decoded transmittance difference value, a motion vector of a pixel value signal from the coded signal, A third decoding unit that decodes a motion vector of the transparency signal and outputs a decoded pixel value motion vector and a decoded transparency motion vector, and a pixel value signal of a reference image described later, First motion compensating means for performing motion compensation using the above, and outputting the result of the motion compensation as a compensated pixel value signal, adding the decoded pixel value difference value and the compensated pixel value signal, and decoding the added result First addition means for outputting as a pixel value signal of the reference image and also outputting as a pixel value signal of the reference image, and a transparency signal of a reference image, which will be described later, is subjected to motion compensation using the decoded transmittance motion vector. Second motion compensating means for outputting the result of the motion compensation as a compensated transmittance signal, adding the decoded transmittance difference value and the compensated transmittance signal, and outputting the sum as a decoded transmittance signal Along with
Since the image processing apparatus includes the second addition unit that outputs the reference image as a transparency signal, the encoded signal obtained by the image encoding device according to claim 5 can be appropriately decoded.

【0260】本発明(請求項47)に係る画像復号化装
置によれば、請求項46に記載の画像復号化装置におい
て、上記第3の復号化手段は、画素値信号の動きベクト
ルと、動きベクトルの差分値とを復号化して復号画素値
動きベクトルと復号動きベクトル差分値とを取得し、上
記復号画素値動きベクトルと復号動きベクトル差分値と
を加算して、上記復号透過度動きベクトルとするものと
したので、請求項7の画像符号化装置において得られた
符号化信号を適切に復号化することができる。
According to the image decoding apparatus of the present invention (claim 47), in the image decoding apparatus of claim 46, the third decoding means comprises a motion vector of a pixel value signal, Decoding the vector difference value to obtain a decoded pixel value motion vector and a decoded motion vector difference value, and adding the decoded pixel value motion vector and the decoded motion vector difference value to obtain the decoded transparency motion vector Therefore, the encoded signal obtained by the image encoding device according to claim 7 can be appropriately decoded.

【0261】以上説明したように、本発明によれば、従
来の技術によるMMR 符号化と異なり、ロスレスの可逆符
号化においても、視覚的に重要でない画質劣化を許容す
ることによって圧縮率を大幅に向上することが可能とな
る。
As described above, according to the present invention, unlike the MMR coding according to the prior art, even in lossless lossless coding, the compression rate can be greatly increased by allowing visually insignificant image quality deterioration. It is possible to improve.

【0262】また、本発明によれば、従来の技術による
MMR が画面内、及び水平方向の相関関係のみを利用した
符号化であるのに比較して、画面間相関や垂直方向の相
関をも用いて符号化を行い得るので、符号化効率の向上
を図ることが可能となる。
Also, according to the present invention, the conventional technology
Compared to MMR, which uses only intra-screen and horizontal correlation, encoding can also be performed using inter-screen correlation and vertical correlation, thus improving coding efficiency. It becomes possible to plan.

【0263】また、本発明によれば、従来の技術による
MMR やMMMRではなし得なかった、一部のビットストリー
ムを復号化することによって階層的に画像を再生するこ
とができる符号化データを、符号化効率を低下させるこ
となく実現でき、効果的な階層的画像再生を可能とする
符号化方法を提供することができる。
Also, according to the present invention, the conventional technology
MMR and coded data that can be reproduced hierarchically by decoding a part of the bit stream, which could not be achieved by MMMR, can be realized without lowering the coding efficiency And an encoding method that enables the objective image reproduction.

【0264】また、本発明によれば、形状情報と画素値
情報とからなる画像を動き補償により符号化する場合、
それぞれに対しての動きベクトルを用いるので、従来の
技術による符号化のように、同じ動きベクトルを用いて
動き補償をすることにより、適切な符号化を行えなくな
ることを回避し得る。そしてさらに、これらの動きの相
関関係を用いることにより、符号化効率の向上を図るこ
とが可能となる。
According to the present invention, when an image consisting of shape information and pixel value information is encoded by motion compensation,
Since a motion vector is used for each of them, by performing motion compensation using the same motion vector as in the encoding according to the related art, it is possible to avoid that appropriate encoding cannot be performed. Further, by using the correlation of these motions, it is possible to improve the coding efficiency.

【0265】また、本発明によれば、形状情報と画素値
情報とからなる画像に対して、画面内符号化と画面間符
号化を適応的に切り替えて符号化する場合、それぞれの
情報の性質に応じて、かかる切り替えを行うことが可能
となり、適切かつ効率的な符号化が可能となる。同様
に、それぞれの情報の性質に応じて、動きベクトルの数
を適応的に変更し、あるいは、量子化ステップの変更の
有無を適応的に切り替えることも可能となる。
According to the present invention, when an image composed of shape information and pixel value information is encoded by adaptively switching between intra-picture encoding and inter-picture encoding, the properties of each information , Such switching can be performed, and appropriate and efficient encoding can be performed. Similarly, it is also possible to adaptively change the number of motion vectors, or to adaptively switch whether or not to change the quantization step, according to the nature of each piece of information.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の実施の形態1による画像符号化装置の
構成を示すブロック図である。
FIG. 1 is a block diagram illustrating a configuration of an image encoding device according to Embodiment 1 of the present invention.

【図2】本発明の実施の形態1による画像符号化装置の
動作原理を説明するための図である。
FIG. 2 is a diagram for explaining an operation principle of the image encoding device according to the first embodiment of the present invention.

【図3】本発明の実施の形態2による画像符号化装置の
構成を示すブロック図である。
FIG. 3 is a block diagram illustrating a configuration of an image encoding device according to a second embodiment of the present invention.

【図4】本発明の実施の形態2による画像符号化装置の
動作原理を説明するための図である。
FIG. 4 is a diagram for explaining an operation principle of an image encoding device according to a second embodiment of the present invention.

【図5】本発明の実施の形態3による画像復号化装置の
構成を示すブロック図である。
FIG. 5 is a block diagram illustrating a configuration of an image decoding device according to a third embodiment of the present invention.

【図6】本発明の実施の形態3による画像復号化装置の
他の例の構成を示すブロック図である。
FIG. 6 is a block diagram illustrating a configuration of another example of an image decoding device according to Embodiment 3 of the present invention.

【図7】本発明の実施の形態4による画像符号化装置の
構成を示すブロック図である。
FIG. 7 is a block diagram illustrating a configuration of an image encoding device according to a fourth embodiment of the present invention.

【図8】本発明の実施の形態4による画像符号化装置の
動作原理を説明するための図である。
FIG. 8 is a diagram for explaining an operation principle of an image encoding device according to a fourth embodiment of the present invention.

【図9】本発明の実施の形態5による画像復号化装置の
構成を示すブロック図である。
FIG. 9 is a block diagram illustrating a configuration of an image decoding device according to a fifth embodiment of the present invention.

【図10】本発明の実施の形態6による画像符号化装置
の構成を示すブロック図である。
FIG. 10 is a block diagram illustrating a configuration of an image encoding device according to Embodiment 6 of the present invention.

【図11】本発明の実施の形態7による画像復号化装置
の構成を示すブロック図である。
FIG. 11 is a block diagram illustrating a configuration of an image decoding device according to a seventh embodiment of the present invention.

【図12】本発明の実施の形態8による画像符号化装置
の構成を示すブロック図である。
FIG. 12 is a block diagram showing a configuration of an image encoding device according to Embodiment 8 of the present invention.

【図13】本発明の実施の形態9による画像符号化装置
の構成を示すブロック図である。
FIG. 13 is a block diagram illustrating a configuration of an image encoding device according to Embodiment 9 of the present invention.

【図14】本発明の実施の形態10による画像符号化装
置の構成を示すブロック図である。
FIG. 14 is a block diagram illustrating a configuration of an image encoding device according to Embodiment 10 of the present invention.

【図15】本発明の実施の形態11による画像復号化装
置の構成を示すブロック図である。
FIG. 15 is a block diagram showing a configuration of an image decoding device according to Embodiment 11 of the present invention.

【図16】本発明の実施の形態12による画像復号化装
置の構成を示すブロック図である。
FIG. 16 is a block diagram illustrating a configuration of an image decoding device according to a twelfth embodiment of the present invention.

【図17】本発明の実施の形態13による画像符号化装
置の構成を示すブロック図である。
FIG. 17 is a block diagram illustrating a configuration of an image encoding device according to Embodiment 13 of the present invention.

【図18】本発明の実施の形態14による画像符号化装
置の構成を示すブロック図である。
FIG. 18 is a block diagram illustrating a configuration of an image encoding device according to Embodiment 14 of the present invention.

【図19】本発明の実施の形態15による画像符号化装
置の構成を示すブロック図である。
FIG. 19 is a block diagram illustrating a configuration of an image encoding device according to Embodiment 15 of the present invention.

【図20】本発明の実施の形態16による画像符号化装
置の構成を示すブロック図である。
FIG. 20 is a block diagram illustrating a configuration of an image encoding device according to Embodiment 16 of the present invention.

【図21】本発明の実施の形態17による画像符号化装
置の構成を示すブロック図である。
FIG. 21 is a block diagram illustrating a configuration of an image encoding device according to Embodiment 17 of the present invention.

【図22】本発明の実施の形態18による画像符号化装
置の構成を示すブロック図である。
FIG. 22 is a block diagram illustrating a configuration of an image encoding device according to Embodiment 18 of the present invention.

【図23】本発明の実施の形態19による画像符号化装
置の構成を示すブロック図である。
FIG. 23 is a block diagram illustrating a configuration of an image encoding device according to Embodiment 19 of the present invention.

【図24】本発明の実施の形態20による画像符号化装
置の構成を示すブロック図である。
FIG. 24 is a block diagram illustrating a configuration of an image encoding device according to Embodiment 20 of the present invention.

【図25】本発明の実施の形態21による画像復号化装
置の構成を示すブロック図である。
FIG. 25 is a block diagram illustrating a configuration of an image decoding device according to Embodiment 21 of the present invention.

【図26】本発明の実施の形態22による画像符号化装
置の構成を示すブロック図である。
FIG. 26 is a block diagram illustrating a configuration of an image encoding device according to Embodiment 22 of the present invention.

【図27】本発明の実施の形態23による画像符号化装
置の構成を示すブロック図である。
FIG. 27 is a block diagram illustrating a configuration of an image encoding device according to Embodiment 23 of the present invention.

【図28】本発明の実施の形態23による画像符号化装
置における動きベクトルの数の選択を説明するための図
である。
FIG. 28 is a diagram for describing selection of the number of motion vectors in the image encoding device according to Embodiment 23 of the present invention.

【図29】本発明の実施の形態24による画像符号化装
置の構成を示すブロック図である。
FIG. 29 is a block diagram illustrating a configuration of an image encoding device according to Embodiment 24 of the present invention.

【図30】本発明の実施の形態25による画像符号化装
置の構成を示すブロック図である。
FIG. 30 is a block diagram illustrating a configuration of an image encoding device according to Embodiment 25 of the present invention.

【図31】本発明の実施の形態25による画像符号化装
置の動作原理を説明するための図である。
FIG. 31 is a diagram for describing an operation principle of an image coding device according to a twenty-fifth embodiment of the present invention.

【図32】本発明の実施の形態26による画像符号化装
置の構成を示すブロック図である。
FIG. 32 is a block diagram illustrating a configuration of an image encoding device according to Embodiment 26 of the present invention.

【図33】本発明の実施の形態27による画像符号化装
置の動作原理を説明するための図である。
FIG. 33 is a diagram for describing an operation principle of an image coding device according to a twenty-seventh embodiment of the present invention.

【図34】本発明の実施の形態28による画像符号化装
置の動作原理を説明するための図である。
FIG. 34 is a diagram for describing an operation principle of an image encoding device according to a twenty-eighth embodiment of the present invention.

【図35】本発明の実施の形態29による画像符号化装
置の構成を示すブロック図である。
FIG. 35 is a block diagram illustrating a configuration of an image encoding device according to Embodiment 29 of the present invention.

【図36】本発明の実施の形態29による画像符号化装
置の動作原理を説明するための図である。
FIG. 36 is a diagram for describing an operation principle of an image coding device according to a twenty-ninth embodiment of the present invention.

【図37】本発明の実施の形態30による画像復号化装
置の構成を示すブロック図である。
FIG. 37 is a block diagram illustrating a configuration of an image decoding device according to Embodiment 30 of the present invention.

【図38】本発明の実施の形態31による画像復号化装
置の構成を示すブロック図である。
FIG. 38 is a block diagram illustrating a configuration of an image decoding device according to Embodiment 31 of the present invention.

【図39】本発明の実施の形態32による画像復号化装
置の構成を示すブロック図である。
FIG. 39 is a block diagram illustrating a configuration of an image decoding device according to Embodiment 32 of the present invention.

【図40】本発明の実施の形態33による画像符号化装
置の構成を示すブロック図である。
FIG. 40 is a block diagram illustrating a configuration of an image encoding device according to Embodiment 33 of the present invention.

【図41】本発明の実施の形態33による画像符号化装
置の動作原理を説明するための図である。
FIG. 41 is a diagram for describing an operation principle of an image encoding device according to a thirty-third embodiment of the present invention.

【図42】本発明の実施の形態34による画像復号化装
置の構成を示すブロック図である。
FIG. 42 is a block diagram illustrating a configuration of an image decoding device according to Embodiment 34 of the present invention.

【図43】本発明の実施の形態35による画像符号化装
置、及び画像復号化装置における予測範囲の設定を説明
するための図である。
FIG. 43 is a diagram for describing setting of a prediction range in an image encoding device and an image decoding device according to Embodiment 35 of the present invention.

【図44】本発明の実施の形態36による画像符号化装
置の構成を示すブロック図である。
FIG. 44 is a block diagram illustrating a configuration of an image encoding device according to Embodiment 36 of the present invention.

【図45】本発明の実施の形態36による画像符号化装
置の動作原理を説明するための図である。
[Fig. 45] Fig. 45 is a diagram for describing the operation principle of the image coding device according to the embodiment 36 of the present invention.

【図46】本発明の実施の形態37による画像復号化装
置の構成を示すブロック図である。
FIG. 46 is a block diagram illustrating a configuration of an image decoding device according to a thirty-seventh embodiment of the present invention.

【図47】本発明の実施の形態38による画像符号化装
置の構成を示すブロック図である。
FIG. 47 is a block diagram illustrating a configuration of an image encoding device according to Embodiment 38 of the present invention.

【図48】本発明の実施の形態38による画像符号化装
置の動作原理を説明するための図である。
FIG. 48 is a diagram for describing an operation principle of an image encoding device according to a thirty-eighth embodiment of the present invention.

【図49】本発明の実施の形態39による画像復号化装
置の構成を示すブロック図である。
FIG. 49 is a block diagram illustrating a configuration of an image decoding device according to Embodiment 39 of the present invention.

【図50】本発明の実施の形態40による画像符号化プ
ログラム、及び画像復号化プログラムの記録媒体の一例
である、フロッピーディスクを示す図である。
FIG. 50 is a diagram illustrating a floppy disk which is an example of a recording medium of an image encoding program and an image decoding program according to Embodiment 40 of the present invention.

【図51】本発明の実施の形態40による画像符号化プ
ログラムの処理手順を示すフローチャート図である。
FIG. 51 is a flowchart showing a processing procedure of an image coding program according to Embodiment 40 of the present invention.

【図52】本発明の実施の形態40による画像復号化プ
ログラムの処理手順を示すフローチャート図である。
FIG. 52 is a flowchart showing a processing procedure of an image decoding program according to Embodiment 40 of the present invention.

【図53】画像符号化における画像の形状情報を説明す
るための図である。
FIG. 53 is a diagram for describing image shape information in image encoding.

【符号の説明】[Explanation of symbols]

1,1a,201,211,255 入力信号 2,2a,2b,204a,204b 変化画素検出器 3,61,95,202a,202b,216a,21
6b,220 メモリ 4,4a,4b 変化画素予測器 5,5a,5b 差分値計算器 6 許容値 7 差分値丸め器 8,8a,8b,65a,65b,67a,67b,2
10,242,418,414 符号化器 9,9a,9b,30a,30b,66a,66b,6
8a,68b,80a,80b,82a,82b,21
1,243,419,415 符号化信号 10 変化画素復号化器 11,11a,11b,75a,75b,84a,84
b,86 差分値加算器 20,63a,63b 動き補償器 21 モード選択器 22,32,33,50 切り替え器 31a,31b,81a,81b,83a,83b,2
30,310,316a,316b,330 復号化器 34,85a,85b,101,235 画像信号 40a,40b 水平走査器 41a,41b 垂直走査器 60a,107 画素値信号 60b,105 透過度信号(入力形状信号) 62a,62b 動き検出器 64a,64b,70 差分値計算器 90 動き検出判定器 93 切替判定器 94 切替器 102,404 ブロック化器 103 形状信号 110 形状符号化モード判定器 111,151 形状符号化モード 112 形状符号化器 113 形状符号化信号 114 透過度符号化モード判定器 115,153 透過度符号化モード 116 透過度符号化器 117 透過度符号化信号 118 画素値符号化モード判定器 119,155 画素値符号化モード 120 画素値符号化器 121 画素値符号化信号 122 モード符号化器 123 モード符号化信号 130,136 透過度符号化モード判定器 132 画素値符号化モード判定器 138 形状符号化モード判定器 150 モード復号化器 156 形状復号化器 158 透過度復号化器 160 画素値復号化器 157 形状復号化信号 159 透過度復号化信号 161 画素値復号化信号 162 逆ブロック化器 163 復号画像信号 170,176,180,186,190,196 ス
イッチ 172,178 画面内/画面間符号化判定器 173 形状符号化モード 182 形状符号化の動きベクトル数判定器 183,193 形状信号の符号化モード 188 画素値符号化の動きベクトル数判定器 192 形状符号化の量子化ステップ変更/非変更判定
器 198 画素値符号化の量子化ステップ変更/非変更判
定器 203a 第2の検出変化画素(参照信号) 203b 第3の検出変化画素(参照信号) 204c 第1の変化画素検出器 205a,205b 変化画素 205c 第1の検出変化画素 206 変化画素予測器 207 予測変化画素 208 減算器 209 予測誤差 221 遅延予測誤差 222,224,232 加算器 225 加算値 231 復号予測誤差 233 復号変化画素 234 画素値生成器 240 減算器 241 差分 243,247 符号化信号 244 比較器 246,426 スイッチ 250 モード復号化器 251 符号化モード 256 画素数復号化器 257 復号化画素数 258 加算器 252,260,408 スイッチ 300 分離器 301a,301b 画像信号 302,308a,308b 符号化器 303a 符号化信号 304,312 予測確率計算器 305 確率値 306 第2の分離器 307a,307b 画像信号分離 311,317a,317b 復号信号 313 確率値 320 予測器 322 スイッチ 331 復号化画像信号(予測画像信号) 401 入力信号(2次元の形状信号) 402 有意領域抽出器 403 有意領域信号 405 ブロック化形状信号 412 ブロックサイズ変更器 413 ブロック化形状信号 420 有意領域信号の復号化器 422 形状信号の復号化器 421 復号有意領域信号 423 最小ブロック化復号形状信号 427 ブロック化形状信号 430 ブロックサイズ変更器 431 復号ブロック化形状信号 432 逆ブロック化器 433 復号形状信号 1001,1002,1004,1006,1008〜
1020,1022〜1026,1029,1033,
1036,1038 画像符号化装置 1003,1003a,1005,1007,102
1,1030〜1032,1034,1037,103
9 画像復号化装置
1, 1a, 201, 211, 255 Input signal 2, 2a, 2b, 204a, 204b Changed pixel detector 3, 61, 95, 202a, 202b, 216a, 21
6b, 220 Memory 4, 4a, 4b Change pixel predictor 5, 5a, 5b Difference value calculator 6 Allowable value 7 Difference value rounder 8, 8a, 8b, 65a, 65b, 67a, 67b, 2
10,242,418,414 Encoder 9,9a, 9b, 30a, 30b, 66a, 66b, 6
8a, 68b, 80a, 80b, 82a, 82b, 21
1, 243, 419, 415 Coded signal 10 Changing pixel decoder 11, 11a, 11b, 75a, 75b, 84a, 84
b, 86 Difference value adder 20, 63a, 63b Motion compensator 21 Mode selector 22, 32, 33, 50 Switcher 31a, 31b, 81a, 81b, 83a, 83b, 2
30, 310, 316a, 316b, 330 Decoder 34, 85a, 85b, 101, 235 Image signal 40a, 40b Horizontal scanner 41a, 41b Vertical scanner 60a, 107 Pixel value signal 60b, 105 Transmittance signal (input shape) Signals) 62a, 62b Motion detectors 64a, 64b, 70 Difference value calculator 90 Motion detection determiner 93 Switching determiner 94 Switcher 102, 404 Blocking device 103 Shape signal 110 Shape coding mode determiner 111, 151 Shape code Encoding mode 112 shape encoder 113 shape encoded signal 114 transparency encoding mode determiner 115, 153 transparency encoding mode 116 transparency encoder 117 transparency encoded signal 118 pixel value encoding mode determiner 119, 155 pixel value encoding mode 120 pixel value encoder 121 pixels Value coded signal 122 Mode coder 123 Mode coded signal 130, 136 Transparency coding mode determiner 132 Pixel value coding mode determiner 138 Shape coding mode determiner 150 Mode decoder 156 Shape decoder 158 Transparency decoder 160 Pixel value decoder 157 Shape decoded signal 159 Transparency decoded signal 161 Pixel value decoded signal 162 Deblocker 163 Decoded image signal 170, 176, 180, 186, 190, 196 Switch 172 , 178 In-screen / inter-screen coding determiner 173 Shape coding mode 182 Shape motion vector number determiner 183,193 Shape signal coding mode 188 Motion vector number determiner for pixel value coding 192 Shape coding Quantization step change / non-change decision unit 198 Quantization of pixel value coding Step change / non-change determination unit 203a Second detection change pixel (reference signal) 203b Third detection change pixel (reference signal) 204c First change pixel detector 205a, 205b Change pixel 205c First detection change pixel 206 Changed pixel predictor 207 Predicted changed pixel 208 Subtractor 209 Prediction error 221 Delayed prediction error 222, 224, 232 Adder 225 Addition value 231 Decoding prediction error 233 Decoded change pixel 234 Pixel value generator 240 Subtractor 241 Difference 243, 247 Code Signal 244 Comparator 246, 426 Switch 250 Mode decoder 251 Encoding mode 256 Pixel number decoder 257 Number of decoded pixels 258 Adder 252, 260, 408 Switch 300 Separator 301a, 301b Image signal 302, 308a, 308b encoder 03a Encoded signal 304, 312 Prediction probability calculator 305 Probability value 306 Second separator 307a, 307b Image signal separation 311, 317a, 317b Decoded signal 313 Probability value 320 Predictor 322 Switch 331 Decoded image signal (predicted image signal ) 401 Input signal (two-dimensional shape signal) 402 Significant region extractor 403 Significant region signal 405 Blocked shape signal 412 Block size changer 413 Blocked shape signal 420 Significant region signal decoder 422 Shape signal decoder 421 Decoded significant area signal 423 Minimum blocked decoded shape signal 427 Blocked shape signal 430 Block size changer 431 Decoded blocked shape signal 432 Deblocked block 433 Decoded shape signal 1001, 1002, 1004, 1006, 1008 ~
1020, 1022 to 1026, 1029, 1033
1036, 1038 Image coding device 1003, 1003a, 1005, 1007, 102
1,1030-1032,1034,1037,103
9 Image decoding device

───────────────────────────────────────────────────── フロントページの続き (31)優先権主張番号 特願平8−210955 (32)優先日 平成8年8月9日(1996.8.9) (33)優先権主張国 日本(JP) ──────────────────────────────────────────────────続 き Continued on the front page (31) Priority claim number Japanese Patent Application No. 8-21095 (32) Priority date August 9, 1996 (August 8, 1996) (33) Priority claim country Japan (JP)

Claims (47)

【特許請求の範囲】[Claims] 【請求項1】 2値画像信号を入力信号とし、上記入力
信号の画素値が変化する画素を符号化する画像符号化装
置であって、 上記画素値の変化する画素を検出し、上記検出した変化
画素を検出変化画素として出力する変化画素検出手段
と、 符号化および復号化済みの画素の画素値の変化する画素
に基づいて、上記入力信号の変化画素を予測し、上記予
測した画素を予測画素として出力する予測手段と、 上記検出変化画素と、上記予測変化画素とから、両者の
差分を計算し、差分値Dを出力する差分値計算手段と、 予め設定された許容値と、上記差分値Dとに基づいて定
められる範囲内の値であって、かつ、符号化した際の符
号長が最小となる値であるD’を選択して、これを修正
差分値として出力する丸め手段と、 上記修正差分値D’と、上記予測した変化画素とから2
値画像信号を復号化する復号化手段と、 上記修正差分値D’を符号化する符号化手段とを備えた
ことを特徴とする画像符号化装置。
1. An image encoding apparatus which receives a binary image signal as an input signal and encodes a pixel of which the pixel value of the input signal changes, detects the pixel of which the pixel value changes, and detects the detected pixel. Changing pixel detection means for outputting a changed pixel as a detected changed pixel; and predicting a changed pixel of the input signal based on a pixel having a changed pixel value of the coded and decoded pixel, and predicting the predicted pixel. Prediction means for outputting as a pixel; a difference value calculation means for calculating a difference between the detected change pixel and the predicted change pixel to output a difference value D; a predetermined allowable value; A rounding means for selecting a value D 'which is a value within a range determined based on the value D and which has a minimum code length at the time of encoding, and outputs this as a modified difference value; And the above-mentioned corrected difference value D ' 2 from the predicted change pixels
An image coding apparatus, comprising: decoding means for decoding a value image signal; and coding means for coding the modified difference value D ′.
【請求項2】 2値画像信号を入力信号とし、上記入力
信号の画素値が変化する画素を符号化する画像符号化装
置であって、 上記画素値の変化する画素を検出し、上記検出した変化
画素を検出変化画素として出力する変化画素検出手段
と、 当該フレームにおける符号化および復号化済みの画素
の、画素値の変化する画素に基づいて、上記入力信号の
変化画素を予測し、上記予測した画素を第1の予測画素
として出力する第1の予測手段と、 上記検出変化画素と上記第1の予測画素との差分を計算
し、上記計算した差分を第1の差分値Dとして出力する
第1の差分値計算手段と、 参照フレームにおける符号化および復号化済みの画素
の、画素値の変化する画素に基づき、動き補償を伴っ
て、上記入力信号の変化画素を予測し、上記予測した画
素を第2の予測画素として出力する第2の予測手段と、 上記検出変化画素と上記第2の予測画素との差分を計算
し、上記計算した差分を第2の差分値D”として出力す
る第2の差分値計算手段と、 上記第1の差分値Dと第2の上記差分値D”とに対し
て、それぞれを符号化した場合の符号長を計算し、その
計算結果を比較して符号長が短い方を選択し、上記選択
に対応して「第1」又は「第2」のいずれかを符号化モ
ードとして出力するモード選択手段と、 上記選択した第1の差分値D、又は第2の差分値D”
と、上記モード選択手段が出力する符号化モードとを符
号化する符号化手段とを備えたことを特徴とする画像符
号化装置。
2. An image encoding apparatus which receives a binary image signal as an input signal and encodes a pixel of which the pixel value of the input signal changes, detects the pixel of which the pixel value changes, and detects the detected pixel. Changing pixel detection means for outputting a changed pixel as a detected changed pixel; and predicting a changed pixel of the input signal on the basis of a pixel having a changed pixel value among the encoded and decoded pixels in the frame. A first prediction unit that outputs the calculated pixel as a first prediction pixel, calculates a difference between the detected change pixel and the first prediction pixel, and outputs the calculated difference as a first difference value D First difference value calculating means, and, based on a pixel whose pixel value has changed in the coded and decoded pixels in the reference frame, predicting a change pixel of the input signal with motion compensation, and Picture A second prediction means for outputting a difference between the detected change pixel and the second prediction pixel, and outputting the calculated difference as a second difference value D ″. , And calculates a code length when each of the first difference value D and the second difference value D ″ is coded, and compares the calculation results to obtain a code length. Mode selecting means for selecting the shorter one and outputting either "first" or "second" as the encoding mode in response to the selection; and selecting the first difference value D or 2 difference value D ″
And an encoding means for encoding the encoding mode output by the mode selection means.
【請求項3】 2次元2値画像信号を入力信号とし、上
記入力信号の画素値が変化する画素を符号化する画像符
号化装置であって、 上記画素値の変化する画素を検出し、上記検出した変化
画素を検出変化画素として出力する変化画素検出手段
と、 当該画像信号を水平方向に走査することによって、符号
化および復号化済みの画素の画素値の変化する画素に基
づいて、上記入力信号の変化画素を予測し、上記予測し
た画素を第1の予測画素として出力する第1の予測手段
と、 上記検出変化画素と上記第1の予測画素との差分を計算
し、上記計算した差分を第1の差分値Dとして出力する
第1の差分値計算手段と、 当該画像信号を垂直方向に走査することによって、符号
化および復号化済みの画素の画素値の変化する画素に基
づいて、上記入力信号の変化画素を予測し、上記予測し
た画素を第2の予測画素として出力する第2の予測手段
と、 上記検出変化画素と、上記第2の予測画素の差分を計算
し、上記計算した差分を第2の差分値D"として出力す
る第2の差分値計算手段と、 上記第1の差分値Dと第2の上記差分値D”とに対し
て、それぞれを符号化した場合の符号長を計算し、その
計算結果を比較して符号長が短い方を選択し、上記選択
に対応して「第1」又は「第2」のいずれかを符号化モ
ードとして出力するモード選択手段と、 上記選択した第1の差分値D、又は第2の差分値D”
と、上記モード選択手段が出力する符号化モードとを符
号化する符号化手段とを備えたことを特徴とする画像符
号化装置。
3. An image encoding apparatus which receives a two-dimensional binary image signal as an input signal and encodes a pixel whose pixel value of the input signal changes, detecting the pixel whose pixel value changes, A changed pixel detecting unit that outputs the detected changed pixel as a detected changed pixel, and scans the image signal in the horizontal direction to thereby determine the input value based on the pixel whose pixel value of the coded and decoded pixel changes. A first predictor for predicting a changed pixel of the signal and outputting the predicted pixel as a first predicted pixel; calculating a difference between the detected changed pixel and the first predicted pixel; And a first difference value calculating unit that outputs the first difference value D as a first difference value D. By scanning the image signal in the vertical direction, based on a pixel whose pixel value of an encoded and decoded pixel changes, Input above A second prediction means for predicting a changed pixel of the signal and outputting the predicted pixel as a second predicted pixel; calculating a difference between the detected changed pixel and the second predicted pixel; As a second difference value D ″, and a code length when each of the first difference value D and the second difference value D ″ is encoded Mode selection means for comparing the calculation results and selecting the one having a shorter code length, and outputting either “first” or “second” as an encoding mode in response to the selection; The selected first difference value D or second difference value D ″
And an encoding means for encoding the encoding mode output by the mode selection means.
【請求項4】 多値画像信号を入力信号とし、上記入力
信号の画素値が変化する画素を符号化する画像符号化装
置であって、 上記画素値が所定値以上に変化する画素を検出し、上記
検出した画素を検出変化画素として出力する変化画素検
出手段と、 符号化および復号化済みの画素の画素値の変化する画素
に基づいて、上記入力信号の変化画素を予測し、上記予
測した画素を予測画素として出力する予測手段と、 上記検出変化画素と上記予測画素との差分を計算し、上
記計算した差分を差分値Dとして出力する差分値計算手
段と、 上記差分値Dと、上記検出変化画素の画素値とを符号化
する符号化手段と、 上記差分値Dと上記変化画素の画素値とから、多値画像
信号を復号化する復号化手段とを備えたことを特徴とす
る画像符号化装置。
4. An image encoding apparatus which receives a multi-valued image signal as an input signal and encodes a pixel of which the pixel value of the input signal changes, detects a pixel whose pixel value changes to a predetermined value or more. A changed pixel detecting unit that outputs the detected pixel as a detected changed pixel; and a predicting a changed pixel of the input signal based on a pixel having a changed pixel value of the coded and decoded pixel. A prediction unit that outputs a pixel as a prediction pixel; a difference value calculation unit that calculates a difference between the detected change pixel and the prediction pixel; and outputs the calculated difference as a difference value D; Encoding means for encoding the pixel value of the detected changed pixel; and decoding means for decoding a multi-valued image signal from the difference value D and the pixel value of the changed pixel. Image coding device.
【請求項5】 画像を合成する際の比率を示す透過度信
号と、画素値信号とからなる画像信号を入力信号とし、
参照画像を参照して前記入力信号を符号化する画像符号
化装置であって、 上記入力信号の画素値信号と、上記参照画像の画素値信
号とを比較して、画素値信号の動きベクトルを検出する
第1の動きベクトル検出手段と、 上記参照画像の画素値信号を、上記画素値信号の動きベ
クトルを用いて動き補償し、補償画素値信号を出力する
第1の動き補償手段と、 上記入力信号の画素値信号と、上記補償画素値信号とか
ら、両者の差分を計算し、第1の差分値を出力する第1
の差分値計算手段と、 上記第1の差分値を符号化する第1の符号化手段と、 上記入力信号の透過度信号と、上記参照画像の透過度信
号とを比較して、透過度信号の動きベクトルを検出する
第2の動きベクトル検出手段と、 上記参照画像の透過度信号を、上記透過度信号の動きベ
クトルを用いて動き補償し、補償透過度信号を出力する
第2の動き補償手段と、 上記入力信号の透過度信号と、上記補償透過度信号とか
ら、両者の差分値を計算し、第2の差分値を出力する第
2の差分値計算手段と、 上記第2の差分値を符号化する第2の符号化手段と、 上記画素値信号の動きベクトルと、上記透過度信号の動
きベクトルとを符号化する第3の符号化手段を備えたこ
とを特徴とする画像符号化装置。
5. An image signal comprising a transmittance signal indicating a ratio at the time of combining images and a pixel value signal is used as an input signal.
An image encoding device that encodes the input signal with reference to a reference image, comprising comparing a pixel value signal of the input signal with a pixel value signal of the reference image, and calculating a motion vector of the pixel value signal. First motion vector detecting means for detecting, first motion compensating means for performing motion compensation on the pixel value signal of the reference image using the motion vector of the pixel value signal, and outputting a compensated pixel value signal; A first calculating unit calculates a difference between the pixel value signal of the input signal and the compensated pixel value signal and outputs a first difference value.
A difference value calculating means, a first encoding means for encoding the first difference value, a transparency signal of the input signal and a transparency signal of the reference image, Second motion vector detecting means for detecting a motion vector of the reference image; and a second motion compensation unit for motion-compensating the transmittance signal of the reference image using the motion vector of the transmittance signal and outputting a compensated transmittance signal. Means, a second difference value calculating means for calculating a difference value between the two from the transmittance signal of the input signal and the compensation transmittance signal, and outputting a second difference value; An image code comprising: a second encoding unit that encodes a value; a third encoding unit that encodes a motion vector of the pixel value signal and a motion vector of the transparency signal. Device.
【請求項6】 請求項5に記載の画像符号化装置におい
て、 上記第2の動きベクトル検出手段は、 上記第1の動きベクトル検出手段で検出した動きベクト
ルの近傍において、上記入力信号の透過度信号と上記参
照画像の透過度信号とを比較して、透過度信号の動きベ
クトルを検出するものであることを特徴とする画像符号
化装置。
6. The image encoding apparatus according to claim 5, wherein said second motion vector detecting means is configured to transmit the input signal in the vicinity of the motion vector detected by said first motion vector detecting means. An image coding apparatus for comparing a signal with a transmittance signal of the reference image to detect a motion vector of the transmittance signal.
【請求項7】 請求項5に記載の画像符号化装置におい
て、 上記第1の動きベクトル検出手段は、 上記第2の動きベクトル検出手段で検出した動きベクト
ルの近傍において、上記入力信号の画素値信号と上記参
照画像の画素値信号とを比較して、画素値信号の動きベ
クトルを検出するものであることを特徴とする画像符号
化装置。
7. The image encoding apparatus according to claim 5, wherein the first motion vector detecting means includes a pixel value of the input signal in the vicinity of the motion vector detected by the second motion vector detecting means. An image coding apparatus for comparing a signal with a pixel value signal of the reference image to detect a motion vector of the pixel value signal.
【請求項8】 請求項5に記載の画像符号化装置におい
て、 上記第3の符号化手段は、 上記画素値信号の動きベクトルと、上記透過度信号の動
きベクトルと上記画素値信号の動きベクトルとの差分値
とを符号化するものであることを特徴とする画像符号化
装置。
8. The image encoding apparatus according to claim 5, wherein the third encoding unit comprises: a motion vector of the pixel value signal; a motion vector of the transparency signal; and a motion vector of the pixel value signal. An image encoding device for encoding a difference value between the image and the image.
【請求項9】 請求項5に記載の画像符号化装置におい
て、 上記第3の符号化手段は、 上記透過度信号の動きベクトルと、上記透過度信号の動
きベクトルと上記画素値信号の動きベクトルとの差分値
とを符号化するものであることを特徴とする画像符号化
装置。
9. The image encoding apparatus according to claim 5, wherein said third encoding means comprises: a motion vector of the transparency signal; a motion vector of the transparency signal; and a motion vector of the pixel value signal. An image encoding device for encoding a difference value between the image and the image.
【請求項10】 物体の形状および各画素の画素値が有
意であるかどうかをを示す形状信号と、画素値信号とか
らなる、ブロック化された形状つき画像信号を入力信号
とし、参照画像を参照して上記入力信号を符号化する画
像符号化装置であって、 上記入力信号の画素値信号と、上記参照画像の画素値信
号とを比較して、画素値信号の動きベクトルを検出する
第1の動きベクトル検出手段と、 上記参照画像の画素値信号を、上記画素値信号の動きベ
クトルを用いて動き補償し、補償画素値信号を出力する
第1の動き補償手段と、 上記入力信号の画素値信号と、上記補償画素値信号とか
ら、両者の差分を計算し、第1の差分値を出力する第1
の差分値計算手段と、 上記第1の差分値を符号化する第1の符号化手段と、 上記入力信号の形状信号と、上記参照画像の形状信号と
を比較して、形状信号の動きベクトルを検出する第2の
動きベクトル検出手段と、 上記参照画像の形状信号を、上記形状信号の動きベクト
ルを用いて動き補償し、補償形状信号を出力する第2の
動き補償手段と、 上記入力信号の形状信号と、上記補償形状信号とから、
両者の差分値を計算し、第2の差分値を出力する第2の
差分値計算手段と、 上記第2の差分値を符号化する第2の符号化手段と、 上記画素値信号の動きベクトルと、上記形状信号の動き
ベクトルとを符号化する第3の符号化手段を備えたこと
を特徴とする画像符号化装置。
10. A block-shaped image signal composed of a shape signal indicating whether the shape of an object and a pixel value of each pixel is significant and a pixel value signal is set as an input signal, and a reference image is set as a reference image. An image encoding apparatus for encoding said input signal with reference to a pixel value signal of said input signal and a pixel value signal of said reference image, wherein a motion vector of the pixel value signal is detected. 1 motion vector detecting means, first motion compensating means for performing motion compensation on the pixel value signal of the reference image using the motion vector of the pixel value signal, and outputting a compensated pixel value signal; Calculating a difference between the pixel value signal and the compensated pixel value signal, and outputting a first difference value;
A difference value calculating means, a first encoding means for encoding the first difference value, a shape signal of the input signal and a shape signal of the reference image, and a motion vector of the shape signal Second motion vector detecting means for detecting the input signal; second motion compensating means for performing motion compensation on the shape signal of the reference image using the motion vector of the shape signal; and outputting a compensated shape signal; From the shape signal of the above and the compensation shape signal,
Second difference value calculating means for calculating a difference value between the two, and outputting a second difference value; second coding means for coding the second difference value; and a motion vector of the pixel value signal And a third encoding means for encoding the motion vector of the shape signal.
【請求項11】 請求項10に記載の画像符号化装置に
おいて、 上記第2の動きベクトル検出手段は、 上記第1の動きベクトル検出手段で検出した動きベクト
ルの近傍において、上記入力信号の形状信号と上記参照
画像の形状信号とを比較して、形状信号の動きベクトル
を検出するものであることを特徴とする画像符号化装
置。
11. The image encoding apparatus according to claim 10, wherein said second motion vector detecting means includes a shape signal of said input signal in the vicinity of a motion vector detected by said first motion vector detecting means. An image encoding device for comparing a shape signal of the reference image with a shape signal of the reference image to detect a motion vector of the shape signal.
【請求項12】 請求項10に記載の画像符号化装置に
おいて、 上記第1の動きベクトル検出手段は、 上記第2の動きベクトル検出手段で検出した動きベクト
ルの近傍において、上記入力信号の画素値信号と上記参
照画像の画素値信号とを比較して、画素値信号の動きベ
クトルを検出するものであることを特徴とする画像符号
化装置。
12. The image coding apparatus according to claim 10, wherein said first motion vector detecting means includes a pixel value of said input signal in the vicinity of a motion vector detected by said second motion vector detecting means. An image coding apparatus for comparing a signal with a pixel value signal of the reference image to detect a motion vector of the pixel value signal.
【請求項13】 請求項10に記載の画像符号化装置に
おいて、 上記第3の符号化手段は、 上記画素値信号の動きベクトルと、上記形状信号の動き
ベクトルと上記画素値信号の動きベクトルとの差分値と
を符号化するものであることを特徴とする画像符号化装
置。
13. The image encoding apparatus according to claim 10, wherein said third encoding means comprises: a motion vector of said pixel value signal; a motion vector of said shape signal; and a motion vector of said pixel value signal. An image encoding apparatus for encoding a difference value between the two.
【請求項14】 請求項10に記載の画像符号化装置に
おいて、 上記第3の符号化手段は、 上記形状信号の動きベクトルと、上記形状信号の動きベ
クトルと上記画素値信号の動きベクトルとの差分値とを
符号化するものであることを特徴とする画像符号化装
置。
14. The image encoding apparatus according to claim 10, wherein said third encoding means comprises: a motion vector of the shape signal; and a motion vector of the shape signal and a motion vector of the pixel value signal. An image encoding apparatus for encoding a difference value.
【請求項15】 請求項10に記載の画像符号化装置に
おいて、 上記入力信号の形状信号が画素値が全て有意であること
を示すものであり、かつ、上記第1の動きベクトル検出
手段で検出した画素値信号の動きベクトルを用いて、参
照画像の形状信号を動き補償した補償形状信号が、画素
値が全て有意であることを示すものである場合、 又は上記入力信号の形状信号が画素値が全て有意でない
ことを示すものであり、かつ、上記第1の動きベクトル
検出手段で検出した画素値信号の動きベクトルを用い
て、参照画像の形状信号を動き補償した補償形状信号
が、画素値が全て有意でないことを示すものである場
合、 上記第2のベクトル検出手段は形状信号の動きベクトル
の検出を行わず、 上記第1のベクトル検出手段において検出した画素値信
号の動きベクトルをもって、上記形状信号の動きベクト
ルとするものであることを特徴とする画像符号化装置。
15. The image coding apparatus according to claim 10, wherein the shape signal of the input signal indicates that all pixel values are significant, and is detected by the first motion vector detecting means. If the compensated shape signal obtained by motion-compensating the shape signal of the reference image using the motion vector of the pixel value signal obtained indicates that all pixel values are significant, or the shape signal of the input signal is a pixel value Are not significant, and the compensation shape signal obtained by motion-compensating the shape signal of the reference image by using the motion vector of the pixel value signal detected by the first motion vector detection means has a pixel value Are not significant, the second vector detection means does not detect the motion vector of the shape signal, and the pixel value detected by the first vector detection means No. of with motion vector, the image coding apparatus, characterized in that it is an motion vector of the shape signal.
【請求項16】 請求項10に記載の画像符号化装置に
おいて、 上記第1の動きベクトル検出手段で検出した画素値信号
の動きベクトルを用いて、参照画像の形状信号を動き補
償した補償形状信号を、上記入力信号の形状信号と比較
し、比較結果の差が予め設定された許容値を下回る場合
に、 上記第1のベクトル検出手段は画素値信号の動きベクト
ルの検出を行わず、 上記第2のベクトル検出手段において検出した形状信号
の動きベクトルをもって、上記画素値信号の動きベクト
ルとするものであることを特徴とする画像符号化装置。
16. The image coding apparatus according to claim 10, wherein the shape signal of the reference image is motion-compensated using the motion vector of the pixel value signal detected by the first motion vector detection means. Is compared with the shape signal of the input signal, and when the difference between the comparison results is smaller than a preset allowable value, the first vector detection unit does not detect a motion vector of the pixel value signal, 2. An image coding apparatus according to claim 1, wherein the motion vector of the shape signal detected by the second vector detecting means is used as the motion vector of the pixel value signal.
【請求項17】 請求項10に記載の画像符号化装置に
おいて、 上記第3の符号化手段は、 直前に符号化した入力信号において、該入力信号の形状
信号の動きベクトルが符号化されていた場合、当該直前
に符号化した形状信号の動きベクトルと、入力信号より
検出した形状信号の動きベクトルとの差分値を符号化す
るものであることを特徴とする画像符号化装置。
17. The image encoding apparatus according to claim 10, wherein said third encoding means encodes a motion vector of a shape signal of the input signal in an input signal encoded immediately before. In this case, the image encoding apparatus encodes a difference value between the motion vector of the shape signal encoded immediately before and the motion vector of the shape signal detected from the input signal.
【請求項18】 請求項10に記載の画像符号化装置に
おいて、 上記第3の符号化手段は、 直前に符号化した入力信号において、該入力信号の画素
値信号の動きベクトルが符号化されていた場合、当該直
前に符号化した画素値信号の動きベクトルと、入力信号
より検出した画素値信号の動きベクトルとの差分値を符
号化するものであることを特徴とする画像符号化装置。
18. The image encoding apparatus according to claim 10, wherein said third encoding means encodes a motion vector of a pixel value signal of the input signal in an input signal encoded immediately before. An encoding apparatus for encoding a difference value between a motion vector of a pixel value signal encoded immediately before and a motion vector of a pixel value signal detected from an input signal.
【請求項19】 請求項10ないし18のいずれかに記
載の画像符号化装置において、 上記入力信号が、複数の画像を合成するための合成の比
率を示す情報を含む透過度情報と、画像情報とから構成
されるものである場合に、 上記透過度情報を上記形状信号とし、上記画像情報を上
記画素値信号とするものであることを特徴とする画像符
号化装置。
19. The image encoding apparatus according to claim 10, wherein the input signal includes transparency information including information indicating a combination ratio for combining a plurality of images, and image information. Wherein the transparency information is used as the shape signal and the image information is used as the pixel value signal.
【請求項20】 請求項10ないし18のいずれかに記
載の画像符号化装置において、 上記入力信号が、複数の画像を合成するための合成の比
率を示す情報を含む透過度情報と、画像情報とから構成
されるものである場合に、 上記透過度情報を、形状のみを表わす2値信号と、その
他の信号である残余形状信号とに分離し、 上記分離した2値信号を上記形状信号とし、 上記分離した残余形状信号と、上記画像情報とを上記画
素値信号とするものであることを特徴とする画像符号化
装置。
20. The image encoding apparatus according to claim 10, wherein the input signal includes transparency information including information indicating a combination ratio for combining a plurality of images, and image information. When the transmittance information is composed of the following, the transparency information is separated into a binary signal representing only the shape and a residual shape signal that is another signal, and the separated binary signal is used as the shape signal. An image coding apparatus, wherein the separated residual shape signal and the image information are used as the pixel value signal.
【請求項21】 物体の各画素の画素値が有意であるか
どうかを表す形状情報と、物体の画素毎の合成の比率を
表す透過度情報の少なくとも一方と、画素値情報とから
構成される画像信号を入力画像信号とする画像符号化装
置であって、 上記入力画像信号に対して、空間および時間的に一致す
る画素を1つのグループとして統合し、ブロック化され
た情報として出力するブロック化手段と、 上記ブロック化手段によりブロック化された上記形状情
報、上記透過度情報、および上記画素値情報のそれぞれ
に対して、所定の符号化モードの中から符号化モードを
選択し、上記選択した符号化モードにおいてそれぞれを
符号化する第1の符号化手段と、 上記形状情報、上記透過度情報、および上記画素値情報
のそれぞれについての、上記選択したモードを示すモー
ド識別情報を、まとめて符号化する第2の符号化手段と
を備え、 上記第1の符号化手段出力と、上記第2の符号化手段出
力とを符号化出力とすることを特徴とする画像符号化装
置。
21. It is composed of shape information indicating whether the pixel value of each pixel of the object is significant, at least one of transparency information indicating a composition ratio of each pixel of the object, and pixel value information. An image coding apparatus using an image signal as an input image signal, comprising: a block that integrates spatially and temporally matching pixels into one group with respect to the input image signal and outputs the grouped information. Means, for each of the shape information, the transparency information, and the pixel value information that have been blocked by the blocking means, select an encoding mode from a predetermined encoding mode, and First encoding means for encoding each in the encoding mode; and the selected mode for each of the shape information, the transparency information, and the pixel value information. Second encoding means for collectively encoding the mode identification information indicating the mode identification information, wherein the output of the first encoding means and the output of the second encoding means are encoded outputs. An image encoding device characterized by the following.
【請求項22】 物体の各画素の画素値が有意であるか
どうかを表す形状情報と、物体の画素毎の合成の比率を
表す透過度情報の少なくとも一方と、画素値情報とから
構成される画像信号を入力画像信号とする画像符号化装
置であって、 上記入力画像信号に対して、空間および時間的に一致す
る画素を1つのグループとして統合し、ブロック化され
た情報として出力するブロック化手段と、 上記ブロック化手段によりブロック化された上記形状情
報、および上記透過度情報のそれぞれに対して、所定の
符号化モードの中から符号化モードを選択し、上記選択
した符号化モードにおいてそれぞれを符号化する第1の
符号化手段と、 上記第1の符号化手段において選択された符号化モード
のうちいずれかの符号化モードにおいて、上記ブロック
化手段によりブロック化された上記画素値情報を符号化
する第2の符号化手段と、 上記形状情報、上記透過度情報、および上記画素値情報
のそれぞれについての、上記選択したモードを示すモー
ド識別情報を、まとめて符号化する第3の符号化手段と
を備え、 上記第1の符号化手段出力、上記第2の符号化手段出
力、及び上記第3の符号化手段出力を符号化出力とする
ことを特徴とする画像符号化装置。
22. The pixel information includes at least one of shape information indicating whether a pixel value of each pixel of the object is significant, transparency information indicating a composition ratio of each pixel of the object, and pixel value information. An image coding apparatus using an image signal as an input image signal, comprising: a block that integrates spatially and temporally matching pixels into one group with respect to the input image signal and outputs the grouped information. Means, for each of the shape information and the transparency information blocked by the blocking means, select an encoding mode from a predetermined encoding mode, and in the selected encoding mode, A first encoding unit that encodes the first and second blocks, and the encoding unit selects one of the encoding modes selected by the first encoding unit. Second encoding means for encoding the pixel value information blocked by a stage; mode identification information indicating the selected mode for each of the shape information, the transparency information, and the pixel value information And third encoding means for encoding the output of the first encoding means, and the output of the first encoding means, the output of the second encoding means, and the output of the third encoding means are encoded outputs. An image encoding device, characterized in that:
【請求項23】 物体の各画素の画素値が有意であるか
どうかを表す形状情報と、物体の画素毎の合成の比率を
表す透過度情報の少なくとも一方と、画素値情報とから
構成される画像信号を入力画像信号とする画像符号化装
置であって、 上記入力画像信号の各画素を、上記形状情報又は上記透
過度情報と、上記画素値情報との対応関係に基づいて、
対応する画素を1グループとしてブロック化し、ブロッ
ク化された情報として出力するブロック化手段と、 上記ブロック化手段によりブロック化された上記画素値
情報に対して、所定の符号化モードの中から符号化モー
ドを選択し、上記選択した符号化モードにおいて符号化
する第1の符号化手段と、 上記第1の符号化手段において選択された符号化モード
において、上記ブロック化手段によりブロック化された
上記形状情報情報、および上記透過度情報を符号化する
第2の符号化手段と、 上記形状情報、上記透過度情報、および上記画素値情報
のそれぞれについての、上記選択したモードを示すモー
ド識別情報を、まとめて符号化する第3の符号化手段と
を備え、上記第1の符号化手段出力、上記第2の符号化
手段出力、及び上記第3の符号化手段出力を符号化出力
とすることを特徴とする画像符号化装置。
23. The pixel information includes at least one of shape information indicating whether a pixel value of each pixel of the object is significant, transparency information indicating a composition ratio of each pixel of the object, and pixel value information. An image encoding device that uses an image signal as an input image signal, wherein each pixel of the input image signal is based on a correspondence between the shape information or the transmittance information and the pixel value information.
A blocking unit that blocks corresponding pixels as a group and outputs the information as blocked information; and encoding the pixel value information blocked by the blocking unit from a predetermined encoding mode. A first encoding unit for selecting a mode and encoding in the selected encoding mode; and the shape blocked by the blocking unit in the encoding mode selected in the first encoding unit. Information information, and second encoding means for encoding the transparency information, and for each of the shape information, the transparency information, and the pixel value information, mode identification information indicating the selected mode, A third encoding unit that encodes the output of the first encoding unit, the output of the second encoding unit, and the third encoding unit. Image encoding apparatus characterized by a coded output the Goka means output.
【請求項24】 請求項21ないし23のいずれかに記
載の画像符号化装置において、 上記所定の符号化モードは、画面内符号化、および画面
間符号化であることを特徴とする画像符号化装置。
24. The image coding apparatus according to claim 21, wherein the predetermined coding mode is intra-screen coding and inter-screen coding. apparatus.
【請求項25】 請求項22または23に記載の画像符
号化装置において、 上記第2の符号化手段は、 上記第1の符号化手段において、上記選択した符号化モ
ードが画面内符号化であった場合に、画面内符号化を選
択するものであることを特徴とする画像符号化装置。
25. The image coding apparatus according to claim 22, wherein said second coding means is said first coding means, and said selected coding mode is intra-screen coding. An image encoding apparatus for selecting intra-screen encoding when the image encoding is performed.
【請求項26】 請求項21ないし23のいずれかに記
載の画像符号化装置において、 上記所定の符号化モードは、上記ブロックごとの動きベ
クトルの個数であることを特徴とする画像符号化装置。
26. The image encoding apparatus according to claim 21, wherein the predetermined encoding mode is the number of motion vectors for each block.
【請求項27】 請求項22または23に記載の画像符
号化装置において、 上記第2の符号化手段は、 上記第1の符号化手段において、上記選択した符号化モ
ードである動きベクトルの個数を、上記符号化モードと
して選択するものであることを特徴とする画像符号化装
置。
27. The image coding apparatus according to claim 22, wherein said second coding means sets said number of motion vectors in said selected coding mode in said first coding means. , An image encoding apparatus for selecting an encoding mode.
【請求項28】 請求項21ないし23のいずれかに記
載の画像符号化装置において、 上記所定の符号化モードは、量子化ステップ変更有、お
よび量子化ステップ変更無であることを特徴とする画像
符号化装置。
28. The image encoding apparatus according to claim 21, wherein the predetermined encoding mode includes a quantization step change and no quantization step change. Encoding device.
【請求項29】 請求項22または23に記載の画像符
号化装置において、 上記第2の符号化手段は、 上記第1の符号化手段において、上記選択した符号化モ
ードが量子化ステップ変更無であった場合に、量子化ス
テップ変更無を選択するものであることを特徴とする画
像符号化装置。
29. The image encoding device according to claim 22, wherein the second encoding unit is configured to set the selected encoding mode to the first encoding unit without changing the quantization step. An image coding apparatus, wherein, when there is, the quantization step is not changed.
【請求項30】 複数の画素からなる2次元画像信号を
入力して符号化する画像符号化装置であって、 上記2次元画像信号に対して、所定の方向に走査するこ
とによって画素値の変化する画素を検出し、上記検出し
た第1の変化画素を出力する第1の変化画素検出手段
と、 符号化復号化済みの画素に対して、所定の方向に走査す
ることによって画素値の変化する画素を検出し、上記検
出した第2の変化画素を出力する第2の変化画素検出手
段と、 符号化および復号化済みの画素に対して、所定の方向に
走査することによって画素値の変化する画素を検出し、
上記検出した第3の変化画素を出力する第3の変化画素
検出手段と、 上記第2の変化画素と上記第3の変化画素とに基づいて
上記第1の変化画素を予測して、上記予測した予測変化
画素を出力する変化画素予測手段と、 上記第1の変化画素と、上記予測変化画素との差を計算
して、上記計算した変化画素差分値を出力する予測誤差
計算手段と、 上記変化画素差分値を符号化して符号化信号とする予測
誤差符号化手段とを備えたことを特徴とする画像符号化
装置。
30. An image encoding apparatus for inputting and encoding a two-dimensional image signal composed of a plurality of pixels, wherein said two-dimensional image signal is scanned in a predetermined direction to change a pixel value. A first changed pixel detecting means for detecting a pixel to be changed and outputting the detected first changed pixel; and scanning the encoded and decoded pixel in a predetermined direction to change the pixel value. A second changed pixel detecting means for detecting a pixel and outputting the detected second changed pixel; and changing the pixel value by scanning the encoded and decoded pixels in a predetermined direction. Detect pixel,
A third changed pixel detecting means for outputting the detected third changed pixel; a first changed pixel predicted based on the second changed pixel and the third changed pixel; Changed pixel prediction means for outputting a predicted changed pixel, a prediction error calculation means for calculating a difference between the first changed pixel and the predicted changed pixel, and outputting the calculated changed pixel difference value; An image encoding apparatus, comprising: a prediction error encoding unit that encodes a changed pixel difference value to generate an encoded signal.
【請求項31】 請求項30に記載の画像符号化装置に
おいて、 上記第2の変化画素検出手段、および上記第3の変化画
素検出手段は、 上記第2の変化画素、および上記第3の変化画素の画素
値を、上記第1の変化画素の画素値と同じものとするも
のであることを特徴とする画像符号化装置。
31. The image coding apparatus according to claim 30, wherein said second changed pixel detecting means and said third changed pixel detecting means are: said second changed pixel and said third changed pixel. An image coding apparatus, wherein the pixel value of a pixel is the same as the pixel value of the first changed pixel.
【請求項32】 請求項30に記載の画像符号化装置に
おいて、 上記第2の変化画素検出手段、および上記第3の変化画
素検出手段は、 上記走査する所定の方向を、上記第1の変化画素検出手
段が上記走査する所定の方向と同じ方向とするものであ
ることを特徴とする画像符号化装置。
32. The image encoding apparatus according to claim 30, wherein said second changed pixel detecting means and said third changed pixel detecting means determine the predetermined scanning direction by the first change. An image coding apparatus, wherein the pixel detecting means sets the same direction as the predetermined scanning direction.
【請求項33】 請求項30に記載の画像符号化装置に
おいて、 上記第2の変化画素を用いて予測した変化画素との差に
よって、上記第3の変化画素が符号化されているもので
あることを特徴とする画像符号化装置。
33. The image coding apparatus according to claim 30, wherein the third changed pixel is coded by a difference from a changed pixel predicted using the second changed pixel. An image encoding device, characterized in that:
【請求項34】 請求項30に記載の画像符号化装置に
おいて、 第2の変化画素、第3の変化画素、および第1の変化画
素が異なる走査線にあるものであることを特徴とする画
像符号化装置。
34. The image coding apparatus according to claim 30, wherein the second changed pixel, the third changed pixel, and the first changed pixel are on different scanning lines. Encoding device.
【請求項35】 請求項30に記載の画像符号化装置に
おいて、 上記変化画素予測手段は、 上記第2の変化画素が第m走査線のx画素目にあり、上記
第3の変化画素が第n走査線のy画素目にあるとき、 上記第1の変化画素について、第k走査線のy-(x-y)*(n-
k)/(m-n)画素目であると予測するものであることを特徴
とする画像符号化装置。
35. The image coding apparatus according to claim 30, wherein the changed pixel predicting means is configured such that the second changed pixel is located at the x-th pixel of the m-th scanning line, and the third changed pixel is located at the xth pixel. When the pixel is located at the y-th pixel of the n-th scanning line, the above-mentioned first changed pixel is calculated by y- (xy) * (n-
An image encoding device characterized by predicting that the pixel is the kth / (mn) th pixel.
【請求項36】 複数の画素からなる2次元画像信号を
入力して符号化する画像符号化装置であって、 上記2次元画像信号に対して、所定の方向に走査するこ
とによって画素値の変化する画素を検出し、上記検出し
た検出変化画素を出力する変化画素検出手段と、 符号化および復号化済の画素から変化画素を予測し、上
記予測した予測変化画素を出力する変化画素予測手段
と、 上記検出変化画素と、上記予測変化画素との差を計算し
て、上記計算した変化画素差分値を出力する予測誤差計
算手段と、 上記変化画素差分値の値が所定値未満である場合に、上
記変化画素差分値を符号化し、差分値符号化信号を出力
する予測誤差符号化手段と、 上記変化画素差分値の値が所定値以上である場合に、直
前に符号化した変化画素から、上記検出変化画素までに
位置する画素であって、上記予測誤差符号化手段が符号
化し得る画素位置に位置しない画素の数を算出し、上記
算出した画素数を符号化して、画素数符号化信号を出力
する画素数符号化手段とを備え、 上記予測誤差符号化手段と、上記画素数符号化手段と
は、上記差分値符号化信号と、上記画素数符号化信号と
が一意に識別可能な符号化を行うことを特徴とする画像
符号化装置。
36. An image encoding apparatus for inputting and encoding a two-dimensional image signal composed of a plurality of pixels, wherein the two-dimensional image signal is scanned in a predetermined direction to change a pixel value. A changed pixel detecting unit that detects a pixel to be changed and outputs the detected detected changed pixel; and a changed pixel predicting unit that predicts the changed pixel from the encoded and decoded pixels and outputs the predicted predicted changed pixel. A prediction error calculating unit that calculates a difference between the detected changed pixel and the predicted changed pixel, and outputs the calculated changed pixel difference value, when the value of the changed pixel difference value is less than a predetermined value. A prediction error encoding unit that encodes the changed pixel difference value and outputs a difference value encoded signal; and, when the value of the changed pixel difference value is equal to or greater than a predetermined value, from the immediately preceding changed pixel, Above detection change Calculate the number of pixels that are located before the pixel and are not located at a pixel position that can be encoded by the prediction error encoding unit, encode the calculated number of pixels, and output a pixel number encoded signal The prediction error encoding means and the pixel number encoding means perform encoding that enables the difference value encoded signal and the pixel number encoded signal to be uniquely identified. An image encoding device characterized by performing the following.
【請求項37】 請求項36に記載の画像符号化装置に
おいて、 上記予測誤差符号化手段、および上記画素数符号化手段
は、上記変化画素差分値と比較する上記所定値を、当該
走査線の画素数を用いて設定するものであることを特徴
とする画像符号化装置。
37. The image encoding apparatus according to claim 36, wherein the prediction error encoding unit and the pixel number encoding unit determine the predetermined value to be compared with the changed pixel difference value by using the predetermined value of the scanning line. An image coding apparatus, wherein the setting is performed using the number of pixels.
【請求項38】 物体を表す画素が存在する領域を表す
2次元の形状信号を入力として、上記形状信号を符号化
する画像符号化装置であって、 上記入力した形状信号から、上記物体を表す画素を包含
する矩形領域である有意領域を抽出し、上記抽出した有
意領域の範囲である有意領域範囲を出力する有意領域抽
出手段と、 上記形状信号を複数の画素からなるブロックに分割する
ブロック化手段と、 上記ブロック化手段が出力する各ブロックごとに、上記
有意領域を含むか否かを判定し、上記有意領域を含むと
判定した場合は、少なくとも当該ブロックの上記有意領
域を符号化し、形状符号化信号を出力する形状符号化手
段とを備え、 上記有意領域範囲と、上記形状符号化信号とを符号化信
号とすることを特徴とする画像符号化装置。
38. An image encoding apparatus which receives a two-dimensional shape signal representing a region where a pixel representing an object is present, and encodes the shape signal, wherein the object is represented from the input shape signal. Significant region extracting means for extracting a significant region which is a rectangular region including pixels, and outputting a significant region range which is a range of the extracted significant region, and dividing the shape signal into blocks each including a plurality of pixels. Means, for each block output by the blocking means, determine whether or not to include the significant area, if it is determined to include the significant area, encode at least the significant area of the block, shape An image coding apparatus, comprising: shape coding means for outputting a coded signal, wherein the significant region range and the shape coded signal are used as coded signals.
【請求項39】 請求項38に記載の画像符号化装置に
おいて、 上記形状符号化手段は、 上記ブロック化手段により構成された各ブロック中か
ら、上記有意領域を含む最小の矩形領域を抽出し、上記
抽出した矩形領域の内部のみを符号化するものであるこ
とを特徴とする画像符号化装置。
39. The image encoding device according to claim 38, wherein the shape encoding means extracts a minimum rectangular area including the significant area from each block formed by the blocking means, An image encoding apparatus for encoding only the inside of the extracted rectangular area.
【請求項40】 複数の画素からなる2次元画像信号を
入力として上記2次元画像信号を符号化する画像符号化
装置であって、 上記画像信号を少なくとも2つの画像信号に分離して、
上記分離した画像信号を2つ以上の部分画像信号として
出力する画像信号分離手段と、 上記部分画像信号のうち少なくとも1つを対象部分画像
信号として選択し、上記選択した対象部分画像信号を符
号化して、第1の符号化信号を出力する第1の画像信号
符号化手段と、 上記第1の符号化信号を復号化した画像信号に基づい
て、上記部分画像信号のうち上記対象部分画像信号を除
いた対象外部分画像信号を予測し、上記予測が的中する
確率を計算し、上記計算した予測確率を出力する予測確
率計算手段と、 上記予測確率計算手段で計算した予測確率に応じて、復
号化の優先度を決定し、上記決定した優先道に応じた符
号化方法を用いて、上記対象外部分画像信号をを符号化
する第2の画像信号符号化手段とを備えたことを特徴と
する画像符号化装置。
40. An image encoding apparatus for encoding a two-dimensional image signal by inputting a two-dimensional image signal composed of a plurality of pixels, comprising: separating the image signal into at least two image signals;
An image signal separating unit that outputs the separated image signal as two or more partial image signals; and selects at least one of the partial image signals as a target partial image signal, and encodes the selected target partial image signal. A first image signal encoding unit that outputs a first encoded signal; and a target image signal among the partial image signals, based on an image signal obtained by decoding the first encoded signal. Predicting the excluded non-target partial image signal, calculating the probability that the prediction hits, and outputting the calculated prediction probability, according to the prediction probability calculated by the prediction probability calculation means, A second image signal encoding unit that determines a decoding priority and encodes the non-target partial image signal by using an encoding method according to the determined priority path. Image sign Apparatus.
【請求項41】 請求項40に記載の画像符号化装置に
おいて、 上記第2の画像信号符号化手段は、 上記予測確率が小さい画素が優先的に復号化されるよ
う、上記復号化の優先度を決定するものであることを特
徴とする画像符号化装置。
41. The image encoding apparatus according to claim 40, wherein the second image signal encoding unit is configured to perform the decoding priority so that a pixel having a small prediction probability is preferentially decoded. An image encoding apparatus characterized in that:
【請求項42】 請求項40に記載の画像符号化装置に
おいて、 上記予測確率計算手段は、 近傍の画素値が同じ値の場合に、上記的中する確率を大
きく、近傍の画素値が異なる値の場合に、上記的中する
確率を小さくするものであることを特徴とする画像符号
化装置。
42. The image coding apparatus according to claim 40, wherein the prediction probability calculating means increases the hit probability when the neighboring pixel values are the same, and sets the neighboring pixel values to different values. In the case of (1), the probability of hitting is reduced.
【請求項43】 符号化信号を入力して、復号化する画
像復号化装置であって、 上記符号化信号を復号化して、符号化モードと、差分値
とを取得し、上記取得した符号化モードをモード信号と
して、上記取得した差分値を復号差分値として出力する
復号化手段と、 当該フレームにおける符号化および復号化済みの画素
の、画素値の変化する画素に基づいて、上記入力信号の
変化画素を予測し、上記予測した画素を第1の予測画素
として出力する第1の予測手段と、 参照フレームにおける符号化および復号化済みの画素
の、画素値の変化する画素に基づき、動き補償を伴っ
て、上記入力信号の変化画素を予測し、上記予測した画
素を第2の予測画素として出力する第2の予測手段と、 上記モード信号が当該フレーム予測を示す場合は、上記
第1の予測画素に上記復号差分値を加算し、 上記モード信号が参照フレーム予測を示す場合は、上記
第2の予測画素に上記復号差分値を加算する加算手段と
を備え、 上記加算手段の出力を変化画素とすることを特徴とする
画像復号化装置。
43. An image decoding apparatus for inputting and decoding an encoded signal, comprising decoding the encoded signal to obtain an encoding mode and a difference value, A decoding unit that outputs the obtained difference value as a decoding difference value, with the mode as a mode signal, and a coded and decoded pixel in the frame, based on a pixel whose pixel value changes, the input signal of the input signal. First predicting means for predicting a changed pixel and outputting the predicted pixel as a first predicted pixel; and motion compensation based on a pixel having a changed pixel value among coded and decoded pixels in the reference frame. A second prediction unit that predicts a change pixel of the input signal and outputs the predicted pixel as a second prediction pixel; and when the mode signal indicates the frame prediction, Adding the decoding difference value to the prediction pixel of the above, and when the mode signal indicates reference frame prediction, adding means for adding the decoding difference value to the second prediction pixel. An image decoding apparatus characterized in that the pixel is a changed pixel.
【請求項44】 符号化信号を入力して、復号化する画
像復号化装置であって、 上記符号化信号を復号化して、符号化モードと、差分値
とを取得し、上記取得した符号化モードをモード信号と
して、上記取得した差分値を復号差分値として出力する
復号化手段と、 当該画像信号を水平方向に走査することによって、符号
化および復号化済みの画素の画素値の変化する画素に基
づいて、上記入力信号の変化画素を予測し、上記予測し
た画素を第1の予測画素として出力する第1の予測手段
と、 当該画像信号を垂直方向に走査することによって、符号
化および復号化済みの画素の画素値の変化する画素に基
づいて、上記入力信号の変化画素を予測し、上記予測し
た画素を第2の予測画素として出力する第2の予測手段
と、 上記モード信号が水平方向走査の予測を示す場合は、上
記第1の予測画素に上記復号差分値を加算し、 上記モード信号が垂直方向走査の予測を示す場合は、上
記第2の予測画素に上記復号差分値を加算する加算手段
とを備え、 上記加算手段の出力を変化画素とすることを特徴とする
画像復号化装置。
44. An image decoding apparatus for inputting and decoding an encoded signal, wherein the image decoding apparatus decodes the encoded signal to acquire an encoding mode and a difference value, and A decoding unit that outputs the obtained difference value as a decoding difference value with the mode as a mode signal, and a pixel whose pixel value of the coded and decoded pixel changes by scanning the image signal in the horizontal direction. A first predicting unit that predicts a change pixel of the input signal based on the image signal and outputs the predicted pixel as a first predicted pixel; and encoding and decoding by scanning the image signal in the vertical direction. A second prediction unit that predicts a changed pixel of the input signal based on a pixel having a changed pixel value of the converted pixel, and outputs the predicted pixel as a second predicted pixel; When indicating the prediction of the directional scanning, the decoding difference value is added to the first prediction pixel. When the mode signal indicates the prediction of the vertical scanning, the decoding difference value is added to the second prediction pixel. An image decoding apparatus comprising: an adding unit for adding, wherein an output of the adding unit is a changed pixel.
【請求項45】 符号化信号を入力して、復号化する画
像復号化装置であって、 上記符号化信号を復号化して、差分値と、変化画素の画
素値とを取得し、上記取得した差分値を復号差分値とし
て、上記取得した変化画素の画素値を復号画素値として
出力する復号化手段と、 復号化済みの画素の画素値の変化する画素に基づいて、
上記入力する符号化信号の変化画素を予測し、上記予測
した画素を予測画素として出力する予測手段と、 上記復号差分値と上記予測画素とを加算し、上記加算し
た結果を修正差分値として出力する加算手段と、 上記修正差分値と、上記復号画素値とから、多値画像信
号を復号化処理によって取得する画像復号化手段とを備
えたものであることを特徴とする画像復号化装置。
45. An image decoding apparatus for inputting and decoding an encoded signal, wherein the image decoding apparatus decodes the encoded signal to obtain a difference value and a pixel value of a changed pixel. A decoding unit that outputs the pixel value of the acquired changed pixel as a decoded pixel value, using the difference value as a decoded difference value; and, based on the pixel whose pixel value of the decoded pixel changes,
A prediction unit that predicts a changed pixel of the input coded signal and outputs the predicted pixel as a predicted pixel; adds the decoded difference value and the predicted pixel; and outputs a result of the addition as a corrected difference value An image decoding apparatus comprising: an adding unit that performs a decoding process on a multi-valued image signal based on the corrected difference value and the decoded pixel value.
【請求項46】 符号化信号を入力して、復号化する画
像復号化装置であって、 上記符号化信号から画素値信号の差分値を復号化し、復
号画素値差分値として出力する第1の復号化手段と、 上記符号化信号から透過度信号の差分値を復号化し、復
号透過度差分値として出力する第2の復号化手段と、 上記符号化信号から画素値信号の動きベクトルと、透過
度信号の動きベクトルとを復号化し、復号画素値動きベ
クトルと、復号透過度動きベクトルとを出力する第3の
復号化手段と、 後述する参照画像の画素値信号を、上記復号画素値動き
ベクトルを用いて動き補償し、上記動き補償した結果を
補償画素値信号として出力する第1の動き補償手段と、 上記復号画素値差分値と補償画素値信号とを加算し、上
記加算した結果を復号化した画素値信号として出力する
とともに、参照画像の画素値信号として出力する第1の
加算手段と、 後述する参照画像の透過度信号を、上記復号透過度動き
ベクトルを用いて動き補償し、上記動き補償した結果を
補償透過度信号として出力する第2の動き補償手段と、 上記復号透過度差分値と補償透過度信号とを加算し、上
記加算した結果を復号化した透過度信号として出力する
とともに、参照画像の透過度信号として出力する第2の
加算手段とを備えたことを特徴とする画像復号化装置。
46. An image decoding apparatus for receiving an encoded signal and decoding the encoded signal, comprising: decoding a difference value of a pixel value signal from the encoded signal, and outputting the decoded value as a decoded pixel value difference value. Decoding means, a second decoding means for decoding a difference value of a transparency signal from the coded signal, and outputting as a decoded transparency difference value; a motion vector of a pixel value signal from the coded signal; Third decoding means for decoding the motion vector of the degree signal and outputting a decoded pixel value motion vector and a decoded transparency degree motion vector, and a pixel value signal of a reference image described later using the decoded pixel value motion vector. A first motion compensating unit that outputs a result of the motion compensation as a compensated pixel value signal, adds the decoded pixel value difference value and the compensated pixel value signal, and decodes the result of the addition. Pixel value First addition means for outputting as a pixel value signal of the reference image while outputting as a reference signal, and a motion compensation result of a transparency signal of the reference image described later using the decoded transparency motion vector, A second motion compensating means for outputting a decoded transmittance difference value and a compensated transmittance signal, outputting the sum as a decoded transmittance signal, and a reference image An image decoding apparatus, comprising: a second adding unit that outputs the signal as a transparency signal.
【請求項47】 請求項46に記載の画像復号化装置に
おいて、 上記第3の復号化手段は、画素値信号の動きベクトル
と、動きベクトルの差分値とを復号化して復号画素値動
きベクトルと復号動きベクトル差分値とを取得し、上記
復号画素値動きベクトルと復号動きベクトル差分値とを
加算して、上記復号透過度動きベクトルとするものであ
ることを特徴とする画像復号化装置。
47. The image decoding apparatus according to claim 46, wherein said third decoding means decodes a motion vector of the pixel value signal and a difference value of the motion vector to decode the motion vector of the pixel value signal and the decoded pixel value motion vector. An image decoding apparatus comprising: obtaining a motion vector difference value; adding the decoded pixel value motion vector and the decoded motion vector difference value to obtain the decoded transparency motion vector.
JP2000374570A 1996-05-17 2000-12-08 Image coder and image decoder Pending JP2001197506A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000374570A JP2001197506A (en) 1996-05-17 2000-12-08 Image coder and image decoder

Applications Claiming Priority (9)

Application Number Priority Date Filing Date Title
JP12297296 1996-05-17
JP19872096 1996-07-29
JP20336396 1996-08-01
JP21095596 1996-08-09
JP8-198720 1996-08-09
JP8-122972 1996-08-09
JP8-203363 1996-08-09
JP8-210955 1996-08-09
JP2000374570A JP2001197506A (en) 1996-05-17 2000-12-08 Image coder and image decoder

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP54199297A Division JP3214705B2 (en) 1996-05-17 1997-05-15 Image decoding device

Publications (1)

Publication Number Publication Date
JP2001197506A true JP2001197506A (en) 2001-07-19

Family

ID=27526978

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000374570A Pending JP2001197506A (en) 1996-05-17 2000-12-08 Image coder and image decoder

Country Status (1)

Country Link
JP (1) JP2001197506A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011139121A3 (en) * 2010-05-07 2012-03-08 한국전자통신연구원 Apparatus for encoding and decoding image by skip encoding and method for same

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011139121A3 (en) * 2010-05-07 2012-03-08 한국전자통신연구원 Apparatus for encoding and decoding image by skip encoding and method for same
US8842924B2 (en) 2010-05-07 2014-09-23 Electronics And Telecommunications Research Institute Apparatus for encoding and decoding image by skip encoding and method for same
US9002123B2 (en) 2010-05-07 2015-04-07 Electronics And Telecommunications Research Institute Apparatus for encoding and decoding image by skip encoding and method for same
US9743082B2 (en) 2010-05-07 2017-08-22 Electronics And Telecommunications Research Institute Apparatus for encoding and decoding image by skip encoding and method for same
US10218972B2 (en) 2010-05-07 2019-02-26 Electronics And Telecommunications Research Institute Apparatus for encoding and decoding image by skip encoding and method for same
US10574985B2 (en) 2010-05-07 2020-02-25 Electronics And Telecommunications Research Institute Apparatus for encoding and decoding image by skip encoding and method for same
US11323704B2 (en) 2010-05-07 2022-05-03 Electronics And Telecommunications Research Institute Apparatus for encoding and decoding image by skip encoding and method for same
US11849110B2 (en) 2010-05-07 2023-12-19 Electronics And Telecommunications Research Institute Apparatus for encoding and decoding image by skip encoding and method for same

Similar Documents

Publication Publication Date Title
JP3214705B2 (en) Image decoding device
US6542642B2 (en) Image coding process and motion detecting process using bidirectional prediction
KR20130028092A (en) Video encoding device and video decoding device
JP3214848B2 (en) Image decoding device
JP3214847B2 (en) Image decoding device
JP3214846B2 (en) Image decoding device
JP2001197506A (en) Image coder and image decoder
JP3400428B2 (en) Image transmission method
JP3872076B2 (en) Motion compensation device
JP2007202169A (en) Video decoding method and apparatus
JP4133581B2 (en) Telop synthesis device, telop synthesis method, and telop synthesis program
JPH104549A (en) Image coder and image decoder
JP2007195209A (en) Video encoding apparatus and method
KR100554632B1 (en) Shape encoding method and device for providing real-time object-based video service
JP2007166664A (en) Image encoding method and device
JPH0799645A (en) Motion vector detecting circuit
JP2007195210A (en) Video decoding method and apparatus
JP2007166662A (en) Image encoding method and device
JP2007166665A (en) Image decoding method and device
JP2007166663A (en) Image decoding method and device