JP3400428B2 - Image transmission method - Google Patents

Image transmission method

Info

Publication number
JP3400428B2
JP3400428B2 JP2000374569A JP2000374569A JP3400428B2 JP 3400428 B2 JP3400428 B2 JP 3400428B2 JP 2000374569 A JP2000374569 A JP 2000374569A JP 2000374569 A JP2000374569 A JP 2000374569A JP 3400428 B2 JP3400428 B2 JP 3400428B2
Authority
JP
Japan
Prior art keywords
signal
image
pixel
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.)
Expired - Fee Related
Application number
JP2000374569A
Other languages
Japanese (ja)
Other versions
JP2001224035A (en
Inventor
眞也 角野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
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 Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP2000374569A priority Critical patent/JP3400428B2/en
Publication of JP2001224035A publication Critical patent/JP2001224035A/en
Application granted granted Critical
Publication of JP3400428B2 publication Critical patent/JP3400428B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related 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

Description

【発明の詳細な説明】 【0001】 【発明の属する技術分野】本発明は画像伝送方法に関
し、特に符号化効率のよい符号化処理により符号化され
た画像データを適切に復号化するための情報を伝送する
方法に関するものである。 【0002】 【従来の技術】画像符号化には長い歴史があり、ITU-T
H.261、ITU-T H.263、ISO MPEG1/2 等の優れた標準化案
が確立されている。画像符号化方法を大別すると、直交
変換を使用する符号化方法と、予測関数を使用して予測
値との誤差を符号化する予測符号化方法とがある。直交
変換による符号化方法は計算が複雑であるが、少ないビ
ット数の符号化信号を得る場合では予測符号化よりも画
質が良い符号化を行うことが可能である。JPEG、MPEG等
の直交変換を用いる一般的符号化方式ではDCT (離散コ
サイン変換)を使用している。DCT を使用すると少ない
ビット数で符号化できることが知られているが、ビット
精度の高い乗算が必要であり、計算が複雑となる点と、
可逆な符号化が不可能な点とが問題となる。従って、可
逆性が要求される分野においてはDCT 演算は使用できな
いこととなっている。 【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)。 【0004】一方、画像信号を各物体毎に分離し、分離
した各物体の形状を任意形状として画像信号を扱えば、
物体単位で画像を操作したり合成することができ、効率
的な信号伝送につながることとなる。また、ビット数の
制約を受ける用途には、かかる情報を用いることによっ
て、重要な物体を選択的に優先して伝送・記録すること
も可能となる。しかし従来の技術においては、任意の形
状を有する物体を符号化することは考慮されてはいなか
った。そして、ISO MPEG4 で任意の形状を有する画像信
号の符号化の標準化が進みつつある。MPEG4では現在VM
3.0(ISO/IEC JTC1/SC29/WG11 N1277に記載)と呼ばれ
る評価モデルが作成されており、これが任意形状を有す
る画像信号を符号化することができる、現状で知られる
唯一の画像符号化手法となっている。 【0005】任意形状の画像信号は、一般に、物体の形
状を示す形状情報と、物体内部の各画素値である画素値
情報(カラー情報)とから構成される。そして、形状情
報としては、各画素値が有意である(形状内部である)
か有意でない(形状外部である)かを示す2値形状情報
や、他の画像と合成する際の各画素ごとの比率(物体が
背景を隠蔽する比率)である透過度情報を用いることが
できる。また、透過度が0%と100%の2通りしか存在しな
い場合は形状情報と透過度情報は一致するので、2値形
状情報と画素値情報の2つで任意形状の画像信号を表現
できる。 【0006】図53はこれらの情報を説明するための図
である。図53(a)に示す魚の画像を他の画像と合成す
る際に、この画像の各画素をどのような比率として用い
て合成するかを表すのが透過度情報である。図53(a)
中に点線で示す水平走査線方向の透過度情報の値を図5
3(b)に示す。魚の外部は完全に透過である。ここで
は、便宜的に透過度0を完全透過であると定義するの
で、魚の外部では透過度情報の値は0になり、これに対
して魚の内部は非0の値となる。 【0007】そこで、透過度が0と非0の2通りとし
て、透過度情報を2値化したものが図53(c)である。
図53(c)で非0の透過度となる画素は画素値情報の符
号化が必要であるが、透過度0の画素は画素値情報が不
要であるから、画素値情報符号化にとってこの2値化さ
れた透過度情報は非常に重要である。一方、図53(d)
に示すように2値情報で表現できない透過度情報の成分
はグレー・スケールと呼ばれる多値情報であり、このよ
うに多値情報として表現される形状情報は、画素値情報
と同様の波形符号化が行える。 【0008】画像符号化に際しては、空間的相関性に基
づく画面(フレーム)内符号化と、時間的相関性に基づ
く画面間(フレーム)符号化とを使い分けたり、併用し
たりすることが行われる。このうち画面間符号化を行う
場合には、近接する画面における動きを検出し、その動
きの分を動き補償することが行われる。動き補償には一
般的に動きベクトルが用いられる。前述のVM3.0 では、
画面内符号化と画面間符号化をブロック単位で適応的に
切り替え、MPEG1/2 と同様の動き補償を行って符号化効
率を向上を図っている。 【0009】上記のように、形状情報と画素値情報とか
らなる画像を符号化する場合、画像の合成に使用される
形状情報については、画素値情報の動きベクトルを使用
して形状情報の動き補償符号化を行うと、形状情報を直
接符号化するよりも符号化効率が向上することが、 ISO
/IEC JTC1/SC29/WG11 N1260 March 1996で報告されてい
る。また、動き検出・動き補償を行う際には、形状情報
を2値形状情報の成分と、多値情報成分とに分離し、多
値情報成分は画素値情報とまとめて同じ波形符号化をす
ることが効率的であると考えられ、そのように扱われて
いた。 【0010】 【発明が解決しようとする課題】以上のような、従来の
技術による画像符号化、及びそれにともなう画像復号化
においては、次のような問題点が存在した。上述のよう
に、MMR 符号化は可逆(ロスレス)符号化の代表的なも
のであるが、可逆的であるがゆえに、視覚的に重要でな
い画質劣化を許容することによって圧縮率を大幅に向上
することが不可能である。また、MMR は画面内の符号化
手法であり、画面間の相関を利用した圧縮率の向上は考
慮されていない。そして、MMR およびその改良方法であ
るMMMRにおいては、現走査線の変化点と直前の走査線の
変化点との差分しか利用しておらず、垂直方向の直線と
してのつながり(相関)の冗長が十分除去されていな
い。従って、画素値の変化が走査線に沿っている場合は
符号化効率がよいが走査線に沿っていない場合は符号化
効率が悪くなる。また、MMR やMMMRは直前の走査線の変
化点の差分値としては符号化できない画素を符号化する
ために、垂直方向の相関を全く使用しない水平符号化モ
ードを有している。この水平符号化モードも垂直方向の
相関を利用することにより、更に効率向上の余地があ
る。 【0011】さらに、従来のMMR やMMMRでは、一部のビ
ットストリームを復号化することによって階層的に画像
を再生することができず、また階層的な画像再生が可能
な他の手法では符号化効率が良くなく、符号化ビット数
が増加する欠点があり、効果的な階層的画像再生を可能
とする符号化方法は存在しなかった。また、形状情報と
画像情報とからなる画像を動き補償により符号化する場
合、従来は形状情報に対して、画像情報と同じ動きベク
トルを用いて動き補償をしていたが、例えば球体が回転
する場合に、形状は変化しないが球体に描かれた図形は
移動するように、一般には画像情報の動きベクトルと形
状情報の動きベクトルとは一致しない。従ってかかる場
合に良好な符号化を行えないことが、従来の符号化方法
の問題点であった。 【0012】また、前述のようにVM3.0 では、画面内符
号化と画面間符号化をブロック単位で適応的に切り替え
て符号化効率の向上を図るものであるが、画面内/画面
間符号化に対する判定は、MPEG1/2 における適応的切替
の場合と同様に、画素値情報に基づいて決定しており、
画素値情報と性質が大きく異なる形状情報を適切にかつ
効率よく符号化することは困難であった。本発明はかか
る点に鑑みてなされたものであり、効率良く符号化され
た符号化信号に対する適切な復号化処理を可能とする画
像伝送方法を提供することを目的とする。 【0013】 【課題を解決するための手段】本発明係る画像伝送方
法は、物体の形状を示す形状情報と、物体を構成する各
画素のカラー情報である画素値情報とを含む画像信号
の、符号化信号である画像符号化信号を伝送する画像伝
送方法であって、所定数の画素からなるブロックに対応
するようブロック化された形状情報,及び画素値情報に
対する符号化モードを識別する、符号化された識別情報
を、上記画像符号化信号に含めて伝送するデータ伝送ス
テップを含み、上記形状情報,及び画素値情報のそれぞ
れに対応する符号化モードそれぞれ、画面内符号化モ
ードと画面間符号化モードのいずれか一方の符号化モー
ドであることを特徴とするものである。 【0014】 【0015】 【発明の実施の形態】以下、本発明の実施の形態につい
て説明する。 実施の形態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値の画素値を復号化す
る。 【0016】以上の様に構成された、実施の形態1によ
る画像符号化装置についてその動作を説明する。2値の
画像信号である入力信号1が装置に入力されると、変化
画素検出器2は入力信号1を入力として、2値の画素値
が変化する画素を検出する。一方、変化画素予測器4は
メモリ3に蓄積された参照画像を読みだし、当該入力信
号における変化画素を予測する。変化画素検出器2は検
出した結果を検出変化画素として差分値計算器5に出力
し、変化画素予測器4は予測した結果を予測変化画素と
して差分値計算器5に出力する。そして、差分値計算器
5は、検出変化画素から予測変化画素を減算し、変化画
素の予測誤差に相当する差分値D を取得する。差分値計
算器5は、差分値D を差分値丸め器7に出力する。 【0017】差分値丸め器7は、予め設定されて与えら
れた許容値e と、差分値計算機5より出力された予測誤
差に相当する差分値D とを比較し、差分値D が許容値e
を超えない場合には、D-e≦x≦D+e を満足する値x であ
って、その値x を符号化した場合のビット数が最小の値
となる値x を求め、これを修正差分値D'として出力す
る。これに対して、予測誤差に相当する差分値D が許容
値e を超える場合には、許容値e に基づいて修正差分値
D'を求め、これを符号化器8に出力する。そして、修正
差分値D'は、符号化器8で符号化されて符号化信号9と
なる。 【0018】また、差分値丸め器7の出力する修正差分
値D'は、差分値加算器11にも出力される。差分値加算
器11においては、修正差分値D'が変化画素予測器4の
出力する予測変化画素と加算されることによって、画素
値の変化画素が計算され、この結果は変化画素復号器1
0に出力される。変化画素復号化器10は、変化画素予
測器4の出力が示す復号化済の画素から、差分値加算器
11から入力された変化画素の画素までの各画素につい
て、その画素値を復号化してメモリ3に記憶させる。こ
れによりメモリ3の記憶内容は参照画像として用いられ
る。 【0019】以上の動作を、図2を用いて具体的に説明
する。図2は2値画像信号のモデルとして、各画素値を
白と黒(細かい斜線)の矩型として表したものであり、
ここでは説明の簡略化のために、1画素ずつを順次処理
するものとして処理手順を説明する。図2(a)は入力信
号であり、左上から右方向へ走査を行い、右下に向けて
処理が進められることとする。1ライン(走査線)上
で、画素値が変化する(白→黒、または黒→白)画素が
変化画素である。図2(b)のPcは符号化済の最終画素、P
uは上位置の走査線における変化画素であるとし、粗い
斜線の部分ははまだ符号化されていない画素を表すもの
とする。変化画素検出器2は、図2(a)に示す入力信号
の、図2(b)に示すまだ符号化されていない部分に対し
て、画素値が変化する変化画素を調べ、変化画素として
P1を検出し、これを検出変化画素として差分値計算器5
に出力する。 【0020】一方、変化画素予測器4は、前述の方法に
よって変化画素を予測し、上位置の走査線の変化画素Pu
と同じ水平位置であろものとして、画素P0を予測し、こ
れを予測変化画素として差分値計算器5に出力する。差
分値計算器5は、検出変化画素P1と予測変化画素P0とと
の差分値として、D=1 を差分丸め器7に出力する。ここ
で、本実施の形態1の画像符号化装置の設定としては、
P0との差分値が小さいほど短い符号長の符号を割り当て
る符号化を行うものとする。そして丸め誤差の許容値e
として1が与えられていたものとする。差分値計算器に
よって求められるP1とP0の差はe 以下であるから、上述
の条件を満たす数値として、差分値丸め器7は出力は
D"=0 を出力する。その結果、変化画素が丸められて、
復号処理を受けるので、符号化及び復号化された画素値
は図2(c)のようになる。 【0021】これに対して、入力信号が図2(d)に示す
ものであった場合には、図2(e)に示すように、予測変
化画素P0と検出変化画素P1の差が示す差分値D は2 と
なるので、この場合差分値D が許容値e を超えることと
なる。そこで、差分値丸め器7は、予測誤差(差分値)
が許容範囲を超えることとならないよう、許容値e に基
づいて修正を行い、変化画素P2に対応する差分値-1を出
力する。この結果、符号化及び復号化された画素値は図
2(f)のようになる。このように、本実施の形態1の画
像符号化装置では、差分値丸め器7を備え、検出された
変化画素と予測された変化画素の差分値と、予め設定さ
れた許容値6とを用いて、許容値以下の予測誤差におい
て、該誤差(差分値)の符号長が最小となる修正差分値
を選択し、これを出力するので、若干の画質劣化を伴う
こととなるが符号化に必要なビット数を大幅に削減する
ことができる。また、本実施の形態1の画像符号化装置
において得られる符号化信号9は、通常の画像復号化装
置において復号処理が可能である。 【0022】実施の形態2.本発明の実施の形態2によ
る画像符号化装置は、当該フレームによる予測に基づく
符号化と、参照フレームにより、動き補償を伴った予測
に基づく符号化とを適応的に切り替えて処理を行うもの
である。図3は本発明の実施の形態2による画像符号化
装置の構成を示すブロック図である。同図において、2
0は動き補償器であり、符号化復号化済の参照フレーム
の画像信号に対して、動き補償を行って参照画素値を生
成する。21はモード選択器であり、当該フレームの画
像信号に基づく予測を行った場合の差分値と、参照フレ
ームの画像信号に基づく予測を行った場合の差分値とに
ついて比較を行い、符号化する際に必要なビット数が少
ない方を符号化モードとして選択する。22は切り替え
器であり、モード選択器21が選択した符号化モードに
対応する差分値を選択して出力する。符号1〜9につい
ては、図1と同様であり、説明は実施の形態1と同様で
あるので、ここでは省略する。 【0023】このように構成された本実施の形態2の画
像符号化装置についてその動作を説明する。2値の画像
信号である入力信号1が装置に入力されると、入力信号
1は変化画素検出器2に入力されるとともに、メモリ3
にも入力され、メモリ3において蓄積されることによ
り、当該フレームにおける符号化及び復号化済みの参照
画像として用いられる。変化画素検出器2は入力信号1
を入力として、2値の画素値が変化する画素を検出す
る。変化画素検出器2は検出した結果を検出変化画素と
して差分値計算器5a、及び5bに出力する。一方、変
化画素予測器4aはメモリ3に蓄積された当該フレーム
の符号化及び復号化済みの参照画像を読みだし、当該入
力信号に基づいて変化画素を予測し、その結果を予測変
化画素として差分値計算器5aに出力する。そして、差
分値計算器5aは、検出変化画素から予測変化画素を減
算し、差分値D を取得する。差分値計算器5aの出力D
は、当該フレームにおける符号化復号化済画素に基づい
て予測した変化画素の予測誤差に相当するものであっ
て、差分値計算器5aは、この差分値D をモード選択器
21と切り替え器22とに出力する。 【0024】動き補償器20は、メモリ3に蓄積された
参照フレームの符号化及び復号化済画像に対して動き補
償を行い、変化画素予測器4bはこの動き補償された画
素に基づいて当該入力信号の変化画素を予測し、その結
果を予測変化画素として差分値計算器5bに出力する。
差分値計算器5bは、検出変化画素から予測変化画素を
減算し、差分値D"を取得する。差分値計算器5bの出力
D"は、参照フレームにおける符号化復号化済画素に基づ
いて動き補償を伴って予測した変化画素の予測誤差に相
当するものであって、差分値計算器5bは、この差分値
D"をモード選択器21と切り替え器22とに出力する。 【0025】モード選択器21は差分値計算器5a、及
び5bから入力された差分値D と差分値D"とについて、
それぞれを符号化した際の符号長(符号化に必要なビッ
ト数)を比較し、より少ないビット数で符号化できる予
測手法を選択して、その識別信号を符号化モードとして
出力する。モード選択器21は差分値D を符号化した際
の符号長が短いと判定した場合には符号化モード「当該
フレーム」を、差分値D"を符号化した際の符号長が短い
と判定した場合には符号化モード「参照フレーム」を、
切り替え器22と、符号化器8aとに出力する。 【0026】切り替え器22はモード選択器21の出力
に対応して、符号化モード「当該フレーム」であれば差
分値計算器5aの出力する差分値D を、符号化モード
「参照フレーム」であれば差分値計算器5bの出力する
差分値D"を符号化器8bに出力する。符号化器8aは、
モード選択器21の選択した符号化モードを符号化し、
符号化器8bは出力された差分値を符号化して、それぞ
れ符号化信号9a、及び9bとして出力する。本実施の
形態2の画像符号化装置による符号化は、丸め誤差を伴
わないロスレス符号化であって、前述のように入力画像
信号1は変化画素までの符号化復号化された画素値とし
て、メモリ3に記憶される。 【0027】以上の動作を、図4を用いて具体的に説明
する。図4は実施の形態1において説明のために用いた
図2と同様に2値画像信号のモデルとして、各画素値を
白と黒の矩型で表したものであり、ここでも実施の形態
1と同様に、説明の簡略化のために、1画素ずつを順次
処理するものとして処理手順を説明する。同図におい
て、図4(a)は入力信号、図4(b)は参照フレームの画像
信号である。図4(c)は当該フレームに基づく予測を説
明するための図である。P1は実施の形態1と同様に、変
化画素検出器2で検出された検出変化画素である。Pcは
復号化済の最終画素位置、Puは上位置の走査線の画素値
の変化画素であるとし、粗い斜線の部分ははまだ符号化
されていない画素を表すものとする。変化画素予測器4
aは実施の形態1における変化画素の予測と同様の方法
を用いて、上位置の走査線の変化画素Puに基づいて、相
関関係を利用した予測を行い、Puと同じ水平位置にある
P0を当該フレームに基づく予測変化画素とする。 【0028】図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)は、この符号化信号を復号化して得られる復号化
結果を示す。 【0029】このように、本実施の形態2の画像符号化
装置では、メモリ3と、変化画素予測器4a、及び4b
と、差分値計算器5a及び5bと、動き補償器20とを
備えたものとしたことで、当該フレームに基づく予測
と、参照フレームに基づき動き補償を伴った予測とを行
い、それぞれの予測値と検出結果との差分値を取得し、
モード選択器21と、切り替え器22と、符号化器8
a、及び8bとを備えたものとしたことで、当該フレー
ムに基づく予測と、動き補償した参照フレームに基づく
予測との差分値を比較して、符号長が最小となるものを
選択して符号化することができるので、フレーム間の画
素相関を利用することによって、符号化に必要なビット
数を大幅に削減することができる。 【0030】なお、本実施の形態2の画像符号化装置で
は、入力信号1がブロック単位で入力されるものとし、
ブロック単位で符号化モードを選択する設定とする、す
なわちブロック単位で当該フレームによる予測に基づく
符号化と、参照フレームにより、動き補償を伴った予測
に基づく符号化とを適応的に切り替えるものとすること
ができ、上記の効果が得られる。 【0031】また、本実施の形態2の画像符号化装置で
は、変化画素検出器2、変化画素予測器4a、及び4b
では変化画素までの距離(画素数)を出力するものとし
たが、「次の画素は変化画素である」、及び「次の画素
は変化画素でない」の2種の状態を示す2値信号として
例えば「0」と「1」とを出力するものとし、差分値計
算器5a、及び5bはかかる2値信号の差分値を計算す
るものとすることもできる。ただしこの場合には、上記
のように距離を符号化するのではなく、入力信号1の各
画素に対して、差分値計算器5a、及び5bの出力を符
号化することとなる。このような設定とすることによ
り、変化画素検出器2、変化画素予測器4a、及び4b
の出力は2値となるため、符号化処理の簡便化が図り得
るという効果が得られる。 【0032】実施の形態3.本発明の実施の形態3によ
る画像復号化装置は、実施の形態2による画像符号化装
置によって効率よく符号化された符号化信号に対して、
適切な復号化を行うものである。図5は本発明の実施の
形態3による画像復号化装置の構成を示すブロック図で
ある。同図において、30a、及び30bは、図3の符
号化信号9a、及び9bに対応する符号化信号であり、
それぞれ符号化モードを符号化した信号と、差分値を符
号化した信号である。31a、及び31bは、それぞれ
符号化モードを符号化した信号と、差分値を符号化した
信号とを復号化して、予測モード信号と復号差分値とを
取得する復号化器である。32は、復号化器31aが取
得した予測モード信号に対応して、変化画素の予測値を
切り替える切り替え器である。34は復号化された画像
信号である。メモリ3、変化画素復号化器10、及び差
分値加算器11については図1と同様であり、動き補償
器20については図3と同様であって、説明はそれぞれ
実施の形態1、及び2と同様であるので、ここでは省略
する。 【0033】以上の様に構成された、図5に示す本実施
の形態3による画像復号化装置についてその動作を説明
する。実施の形態2による画像符号化装置において、選
択した符号化モードを符号化した信号9aは入力信号3
0aとして本実施の形態3の画像復号化装置に入力さ
れ、復号化器31aにおいて復号化されることによっ
て、「当該フレーム」、又は「参照フレーム」を示す予
測モード信号が取得される。復号化器31aは予測モー
ド信号を切り替え器32に出力する。また、実施の形態
2による画像符号化装置において、選択した差分値を符
号化した信号9bは入力信号30bとして本実施の形態
3の画像復号化装置に入力され、復号化器31bにおい
て復号化されることによって、復号差分値が取得され
る。復号化器31bは復号差分値を差分値加算手段11
に出力する。 【0034】一方、変化画素予測器4aはメモリ3に蓄
積された当該フレームの復号化済みの参照画像を読みだ
し、該画像信号に基づいて変化画素を予測し、その結果
を当該フレームに基づく予測変化画素として切り替え器
32に出力する。また、動き補償器20は、メモリ3に
蓄積された参照フレームの復号化済画像に対して動き補
償を行い、変化画素予測器4bはこの動き補償された画
素に基づいて当該入力信号の変化画素を予測し、その結
果を参照フレームに基づく予測変化画素として切り替え
器32に出力する。 【0035】変化画素予測器4a、及び4bからそれぞ
れの予測変化画素を出力された切り替え器22は、入力
された予測モード信号に従って切り替えを行う。従っ
て、切り替え器22は、入力された予測モード信号が
「当該フレーム」を示すものであれば変化画素予測器4
aから出力された当該フレームに基づく予測変化画素
を、入力された予測モード信号が「参照フレーム」を示
すものであれば変化画素予測器4bから出力された参照
フレームに基づく予測変化画素を選択して、差分値加算
手段11に出力する。 【0036】差分値加算手段11は、切り替え器22か
ら取得した予測変化画素に対して、復号化器31bから
取得した復号差分値を加算することによって、変化画素
を計算し、その結果を変化画素復号化器10に出力す
る。変化画素復号化器10は、変化画素予測手段4aの
予測変化画素と、差分値加算手段11から得られた変化
画素とに基づいて、その間の画素値を復号化する。この
復号化の結果はメモリ3に入力されて記憶されるととも
に、復号化された画像信号34として、本実施の形態3
の画像復号化装置から出力される。例えば、実施の形態
2において図4を用いて説明したような符号化信号を入
力信号とした場合には、図4(e)に示すような復号化結
果が得られる。 【0037】図6は、本実施の形態3の応用例による画
像復号化装置の構成を示すブロック図である。図5に示
した画像復号化装置との相違は、差分値加算手段として
11a、及び11bの2つを有し、切り替え器33は、
変化画素予測手段4a、及び4bの出力でなく、差分値
加算手段11a、及び11bの出力を切り替える構成と
なっている点である。このような構成においても、実施
の形態2による画像符号化装置より出力される符号化信
号を、その符号化の際の符号化モードに対応して、適切
に復号化することが可能となる。さらに、変化画素復号
化器10を複数備える構成とし、切り替え器の位置を該
複数の変化画素復号器10の出力を受ける位置として
も、同様の効果が得られる。 【0038】このように、本実施の形態3による画像復
号化装置では、符号化モードの符号化信号を復号化する
復号化器31aと、差分値の符号化信号を復号化する復
号化器31bと、当該フレームに基づき変化画素を予測
する変化画素予測手段4aと、参照フレームに基づき、
動き補償を伴って変化画素を予測する変化画素予測手段
4bと、予測変化画素に基づいて復号処理を行う差分値
加算手段11、及び変化画素復号化器10とを備え、復
号化器31aが取得する予測モードに応じて、切り替え
器が切り替えを行うことにより、符号化の際の符号化モ
ードに対応した予測モードにおいて、当該フレームに基
づく予測値を用いる復号化と、参照フレームに基づく予
測値を用いる復号化を適応的に切り替えて行い、実施の
形態2において効率的に符号化された符号化信号を適切
に復号化することが可能となる。 【0039】なお、実施の形態2、及び3においては、
参照フレームとして複数のフレームを準備し、3通り以
上の予測モードを用いることとすることもできる。ま
た、実施の形態3において、ブロック単位で符号化モー
ドを選択して符号化された符号化信号を処理する場合に
も、ブロック単位で信号を入力し、ブロックごとに、予
測モードを取得して符号化モードに対応した処理を行う
ことにより、適切に復号化することが可能である。 【0040】実施の形態4.本発明の実施の形態4によ
る画像符号化装置は、水平走査による予測に基づく符号
化と、垂直走査による予測に基づく符号化とを適応的に
切り替えて処理を行うものである。図7は本発明の実施
の形態4による画像符号化装置の構成を示すブロック図
である。同図において、40a、及び40bは水平走査
器であり、41a、及び41bは垂直走査器である。他
の符号については、図3と同様であり、説明は実施の形
態2と同様であるので、ここでは省略する。 【0041】このように構成された本実施の形態4の画
像符号化装置についてその動作を説明する。2値の画像
信号である入力信号1が装置に入力されると、入力信号
1は水平走査器40aによって水平方向に走査されて変
化画素検出器2aに入力され、また、垂直走査器41a
によって垂直方向に走査されて変化画素検出器2bに入
力される。さらに、入力信号1は、メモリ3にも入力さ
れ、メモリ3において蓄積されることにより、当該フレ
ームにおける符号化及び復号化済みの参照画像として用
いられる。変化画素検出器2aは水平方向に走査された
入力信号1を入力として、2値の画素値が変化する画素
を検出する。変化画素検出器2bは垂直方向に走査され
た入力信号1を入力として、2値の画素値が変化する画
素を検出する。変化画素検出器2a、及び2bは検出し
た結果を検出変化画素として差分値計算器5a、及び5
bにそれぞれ出力する。 【0042】一方、水平走査器40bは、メモリ3に蓄
積された当該フレームの符号化及び復号化済みの参照画
像を読みだし、水平方向に走査して変化画素予測器4a
に入力する。変化画素予測器4aは変化画素を予測し、
その結果を予測変化画素として差分値計算器5aに出力
する。そして、差分値計算器5aは、検出変化画素から
予測変化画素を減算し、水平方向走査による差分値Dhを
取得する。差分値計算器5aの出力Dhは、水平方向走査
により予測した変化画素の予測誤差に相当するものであ
って、差分値計算器5aは、この差分値Dhをモード選択
器21と切り替え器22とに出力する。 【0043】一方、垂直走査器41bは、メモリ3に蓄
積された当該フレームの符号化及び復号化済みの参照画
像を読みだし、垂直方向に走査して変化画素予測器4b
に入力する。変化画素予測器4bは変化画素を予測し、
その結果を予測変化画素として差分値計算器5bに出力
する。そして、差分値計算器5bは、検出変化画素から
予測変化画素を減算し、垂直方向走査による差分値Dvを
取得する。差分値計算器5bの出力Dvは、垂直方向走査
により予測した変化画素の予測誤差に相当するものであ
って、差分値計算器5bは、この差分値Dvをモード選択
器21と切り替え器22とに出力する。 【0044】モード選択器21は差分値計算器5a、及
び5bから入力された差分値Dhと差分値Dvとについて、
それぞれを符号化した際の符号長(符号化に必要なビッ
ト数)を比較し、より少ないビット数で符号化できる予
測手法を選択して、その識別信号を符号化モードとして
出力する。モード選択器21は差分値Dhを符号化した際
の符号長が短いと判定した場合には符号化モード「水平
方向」を、差分値Dvを符号化した際の符号長が短いと判
定した場合には符号化モード「垂直方向」を、切り替え
器22と、符号化器8aとに出力する。 【0045】切り替え器22はモード選択器21の出力
に対応して、符号化モード「水平方向」であれば差分値
計算器5aの出力する差分値Dhを、符号化モード「垂直
方向」であれば差分値計算器5bの出力する差分値Dvを
符号化器8bに出力する。符号化器8aは、モード選択
器21の選択した符号化モードを符号化し、符号化器8
bは出力された差分値を符号化して、それぞれ符号化信
号9a、及び9bとして出力する。本実施の形態4の画
像符号化装置による符号化は、丸め誤差を伴わないロス
レス符号化であって、前述のように入力画像信号1は変
化画素の画素までの符号化復号化された画素値として、
メモリ3に記憶される。 【0046】図8は、本実施の形態4の画像符号化装置
による、走査方向切り替えを説明するための図である。
画像信号は水平および垂直方向に相関があり、従来の技
術による画像符号化方法においてもかかる相関関係を利
用して圧縮化を図ることはなされていた。そして、従来
の技術による相関関係の利用については、例えばMMRの
場合にみられるように、水平方向、又は垂直方向のいず
れかの方向における相関関係にのみ基づいて、符号化を
行うものであった。しかし、画像を部分的に見れば水平
もしくは垂直の一方の相関が他方よりも強いことがあ
る。例えば図8の様に水平方向の相関が垂直方向の相関
よりも強い場合は、垂直方向の予測に基づくよりも水平
方向の予測のに基づく方が、画素位置の変化画素の予測
誤差が小さくなり、より符号化の効率を向上することが
可能となる。従って、画像の性質に応じて走査の方向を
変え、垂直方向の予測と水平方向の予測を切り替えるこ
とによって符号化効率を大きく向上することができる。 【0047】このように、本実施の形態4の画像符号化
装置では、水平走査器40a、及び40bと、垂直走査
器41a、及び41bと、変化画素検出器2a、及び2
bと、メモリ3と、変化画素予測器4a、及び4bと、
差分値計算器5a及び5bとを備えたものとしたこと
で、水平方向の走査による予測と、垂直方向の走査予測
とを行い、それぞれの予測値と検出結果との差分値を取
得し、モード選択器21と、切り替え器22と、符号化
器8a、及び8bとを備えたものとしたことで、水平方
向の走査による予測と、垂直方向の走査予測との差分値
を比較して、符号長が最小となるものを選択して符号化
することができるので、画像の水平相関と垂直相関とに
ついての局所的な変化を利用することによって、符号化
に必要なビット数を大幅に削減することができる。 【0048】なお、本実施の形態4の画像符号化装置に
ついても、入力信号1がブロック単位で入力されるもの
とし、ブロック単位で符号化モードを選択する設定とす
る、すなわち、ブロックごとに水平走査による予測に基
づく符号化と、垂直走査による予測に基づく符号化とを
適応的に切り替えるものとすることができ、上記の効果
が得られる。また、本実施の形態4の画像符号化装置に
ついても、実施の形態2と同様に、変化画素検出器2、
変化画素予測器4a、及び4bが変化画素までの距離
(画素数)を出力するのでなく、画素の変化状態を示す
2値信号を出力する設定とすることも可能であり、同様
に処理負担を軽減することを可能とする。 【0049】実施の形態5.本発明の実施の形態5によ
る画像復号化装置は、実施の形態4による画像符号化装
置によって効率よく符号化された符号化信号に対して、
適切な復号化を行うものである。図9は本発明の実施の
形態5による画像復号化装置の構成を示すブロック図で
ある。同図において、40b、及び41bは図7と同様
であり、他の符号は図5と同様であって、説明はそれぞ
れ実施の形態4及び実施の形態3と同様であるので、こ
こでは省略する。 【0050】以上の様に構成された、本実施の形態5に
よる画像復号化装置についてその動作を説明する。実施
の形態4による画像符号化装置において、選択した符号
化モードを符号化した信号9aは入力信号30aとして
本実施の形態5の画像復号化装置に入力され、復号化器
31aにおいて復号化されることによって、「水平方
向」、又は「垂直」を示す予測モード信号が取得され
る。復号化器31aは予測モード信号を切り替え器32
に出力する。また、実施の形態4による画像符号化装置
において、選択した差分値を符号化した信号9bは入力
信号30bとして本実施の形態5の画像復号化装置に入
力され、復号化器31bにおいて復号化されることによ
って、復号差分値が取得される。復号化器31bは復号
差分値を差分値加算手段11に出力する。 【0051】一方、水平走査器40bは、メモリ3に蓄
積された当該フレームの符号化及び復号化済みの参照画
像を読みだし、水平方向に走査して変化画素予測器4a
に入力する。変化画素予測器4aは変化画素を予測し、
その結果を予測変化画素として切り替え器22とに出力
する。一方、垂直走査器41bは、メモリ3に蓄積され
た当該フレームの符号化及び復号化済みの参照画像を読
みだし、垂直方向に走査して変化画素予測器4bに入力
する。変化画素予測器4bは変化画素を予測し、その結
果を予測変化画素として切り替え器22とに出力する。 【0052】変化画素予測器4a、及び4bからそれぞ
れの予測変化画素を出力された切り替え器22は、入力
された予測モード信号に従って切り替えを行う。従っ
て、切り替え器22は、入力された予測モード信号が
「水平方向」を示すものであれば変化画素予測器4aか
ら出力された水平方向走査に基づく予測変化画素を、入
力された予測モード信号が「垂直方向」を示すものであ
れば変化画素予測器4bから出力された垂直方向走査に
基づく予測変化画素を選択して、差分値加算手段11に
出力する。 【0053】差分値加算手段11は、切り替え器22か
ら取得した予測変化画素に対して、復号化器31bから
取得した復号差分値を加算することによって、変化画素
を計算し、その結果を変化画素復号化器10に出力す
る。変化画素復号化器10は、変化画素予測手段4aの
予測変化画素と、差分値加算手段11から得られた変化
画素とに基づいて、その間の画素値を復号化する。この
復号化の結果はメモリ3に入力されて記憶されるととも
に、復号化された画像信号34として、本実施の形態5
の画像復号化装置から出力される。 【0054】このように、本実施の形態5による画像復
号化装置では、符号化モードの符号化信号を復号化する
復号化器31aと、差分値の符号化信号を復号化する復
号化器31bと、水平方向走査に基づき変化画素を予測
する変化画素予測手段4aと、垂直方向走査に基づき変
化画素を予測する変化画素予測手段4bと、予測変化画
素に基づいて復号処理を行う差分値加算手段11、及び
変化画素復号化器10とを備え、復号化器31aが取得
する予測モードに応じて、切り替え器が切り替えを行う
ことにより、符号化の際の符号化モードに対応した予測
モードにおいて、水平方向走査に基づく予測値を用いる
復号化と、垂直方向走査に基づく予測値を用いる復号化
を適応的に切り替えて行い、実施の形態4において効率
的に符号化された符号化信号を適切に復号化することが
可能となる。 【0055】なお、本実施の形態5においては、実施の
形態3において、図5に示した構成に準じた構成を有す
る画像復号化装置として説明したが、実施の形態3にお
いて図6に示した構成に準じたものとすることも、ま
た、同実施の形態において説明したように、切り替え器
が変化画素復号化器の出力を受けるものとする構成とす
ることも可能であり、同様に適切な復号化を行うことが
できる。また、実施の形態5において、ブロック単位で
符号化モードを選択して符号化された符号化信号を処理
する場合にも、ブロック単位で信号を入力し、ブロック
ごとに、予測モードを取得して符号化モードに対応した
処理を行うことにより、適切に復号化することが可能で
ある。 【0056】実施の形態6.本発明の実施の形態6によ
る画像符号化装置は、多値画像信号を効率良く符号化す
るものである。図10は本発明の実施の形態6による画
像符号化装置の構成を示すブロック図である。同図にお
いて、入力信号1aは多値画像信号として本実施の形態
6の画像符号化装置に入力される。8a、及び8bは符
号化器である。このように、多値信号が入力され、処理
される点と、符号化器を2つ備える構成である点とが実
施の形態1と異なり、他は図1と同様であって、説明は
実施の形態1と同様であるので、ここでは省略する。 【0057】以上の様に構成された、本実施の形態6に
よる画像符号化装置についてその動作を説明する。入力
信号1aが入力されると、変化画素検出器2はこの多値
入力信号に対して、最終符号化復号化位置の画素値と、
当該位置に後続する位置の画素値とを比較し、各画素ご
とに「変化あり」又は「変化なし」の判定をする。そし
て「変化あり」と判定される画素の数である変化画素数
を計算して、変化画素数を所定の値と比較する。ここで
は所定値が60であるものとする。「変化あり」と判定
され、変化画素数が60以上となった画素を変化画素と
判断し、その変化画素の画素値と位置とを検出変化画素
として差分値計算器5、変化画素復号器10、及び符号
化器8aに出力する。 【0058】また変化画素予測器4は、メモリ3に蓄積
された当該フレームの符号化復号化済の参照画像を読み
だし、これに基づいて、変化画素を予測し、この予測を
予測変化画素として差分値計算器5、差分値加算器1
1、及び変化画素復号化手段に出力する。差分値計算器
5は検出変化画素から予測変化画素を減算して得られた
差分値を符号化器8bと、差分値加算器11とに出力す
る。差分値加算器11は、入力された予測変化画素と差
分値を加算して、変化画素復号器10に出力し、変化画
素復号化器10は、入力に基づいて変化画素までの画素
値および変化画素の画素値を復号化してメモリ3に記憶
する。符号化器8aと8bとは、それぞれ入力された変
化画素の画素値と、差分値とを符号化し、符号化信号9
a、及び9bを出力する。 【0059】このように、本実施の形態6による画像符
号化装置では、実施の形態1と同様の構成において、画
素ごとに変化の有無を調べて「変化あり」と判定される
画素の数を計算し、しきい値以上の個数の画素が「変化
あり」と判定されることとなった画素を変化画素と判断
することにより、2値画像のみでなく多値画像について
も同様の符号化を可能とすることができる。 【0060】実施の形態7.本発明の実施の形態7によ
る画像復号化装置は、実施の形態6による画像符号化装
置によって符号化された符号化信号に対して、復号化を
行って多値の画像信号を得るものである。図11は本発
明の実施の形態7による画像復号化装置の構成を示すブ
ロック図である。同図において、復号化器31aは、変
化画素の画素値を符号化した符号化信号に対して復号化
を行い、復号化器31bは、予測差分値を符号化した符
号化信号を復号化する。他は図5と同様であって、説明
は実施の形態3と同様であるので、ここでは省略する。 【0061】以上の様に構成された、本実施の形態7に
よる画像復号化装置についてその動作を説明する。実施
の形態6による画像符号化装置において、変化画素の画
素値を符号化した信号9aは入力信号30aとして本実
施の形態7の画像復号化装置に入力され、復号化器31
aにおいて復号化されることによって、復号画素値が得
られ、この復号画素値は変化画素復号化器10に入力さ
れる。また、実施の形態6による画像符号化装置におい
て、予測差分値を符号化した信号9bは入力信号30b
として本実施の形態7の画像復号化装置に入力され、復
号化器31bにおいて復号化されることによって、復号
差分値が得られ、この復号差分値は差分値加算器11に
入力される。 【0062】一方、変化画素予測器4はメモリ3に蓄積
された復号化済みの参照画像を読みだし、該画像信号に
基づいて変化画素を予測し、その結果を予測変化画素と
して変化画素復号化器10と、差分値加算器11とに出
力する。差分値加算器11は、入力された予測変化画素
と差分値とを加算して、変化画素復号器10に出力し、
変化画素復号化器10は、入力に基づいて変化画素まで
の画素値および変化画素の画素値を復号化して多値画像
信号34として出力するとともに、メモリ3に記憶す
る。このように、本実施の形態7による画像復号化装置
では、変化画素の画素値を符号化した符号化信号に対し
て復号化を行う復号化器31aと、予測差分値を符号化
した符号化信号に対して復号化を行う復号化器31bと
を備えたことで、実施の形態6による画像符号化装置に
おいて符号化された符号化信号を適切に復号化して多値
の画像信号を得ることが可能となる。 【0063】実施の形態8.本発明の実施の形態8によ
る画像符号化装置は、画像を合成する際の比率を示す透
過度信号と、画素値信号とからなる画像信号を入力信号
とし、参照画像を参照して、この入力信号を符号化する
ものである。図12は、本発明の実施の形態8による画
像符号化装置の構成を示すブロック図である。同図にお
いて、60aは画素値信号、60bは透過度信号であ
り、画像信号を構成するものであって、それぞれ本実施
の形態8の画像符号化装置に入力信号として入力され
る。61はメモリであり、参照画像として用いる符号化
及び復号化済みの画像信号等のデータを一時的に記憶す
る。62a、及び62bは、動き検出器であり、参照画
像に対して動き検出を行い、動きベクトルを出力する。
63a、及び63bは動き補償器であり、符号化復号化
済の参照フレームの画像信号に対して、動き補償を行っ
て参照画素値を生成する。64a、及び64bは、差分
値計算器であり、入力信号と、動き補償を伴った信号と
の差分を計算して差分値を出力する。65aと67bは
符号化器であり、動きベクトルの符号化を行う。67a
と65bは符号化器であり、差分値の符号化を行う。6
6aと68bは符号化信号であり、動きベクトルを符号
化したものである。67aと65bは符号化化信号であ
り、差分値を符号化したものである。 【0064】以上の様に構成された、本実施の形態8に
よる画像符号化装置についてその動作を説明する。画像
信号は、画素値信号60aと透過度信号60bとして、
本実施の形態8の画像符号化装置に入力される。ここ
で、透過度信号とは、従来技術の説明において用いた図
53(b)に示すものであって、他の画像と合成する際
に、各画素をどのような比率で合成するかを表すもので
ある。画素値信号60aは、メモリ61、動き検出器6
2a、及び差分値計算手段64aに入力され、透過度信
号60bは、メモリ61、動き検出器62b、及び差分
値計算手段64bに入力される。 【0065】動き検出器62a、及び62bは、それぞ
れ入力された信号と、メモリ61から読み出した参照画
像の有する符号化済みの画素値とについて比較をするこ
とで動き検出を行い、計算によりそれぞれの信号の動き
ベクトルを取得する。動き検出器62aで取得された画
素値信号の動きベクトルは、符号化器65a、動き補償
器63a、及びメモリ61に出力される。動き補償器6
3aは、画素値信号の動きベクトルで示される画素値を
メモリ61から読み出して画素値信号の動き補償値を差
分値計算器64aに出力する。差分値計算器64aは入
力画素値信号と、動き補償値の差分値を計算によって取
得し、これを符号化器67aに出力する。画素値信号の
動きベクトルは符号化器65aで符号化されて符号化信
号66aになり、差分値は符号化器67aで符号化され
て符号化信号68aになる。 【0066】同様に、動き検出器62bで取得された透
過度信号の動きベクトルは、符号化器67b、動き補償
器63b、及びメモリ61に出力される。動き補償器6
3bは、透過度信号の動き補償を行い、取得した動き補
償値を差分値計算器64aに出力する。そして、差分値
計算器64bは64aと同様に取得した差分値を符号化
器67aに出力する。画素値信号と同様に、透過度信号
の動きベクトルは符号化器67bで符号化されて符号化
信号68bになり、差分値は符号化器65bで符号化さ
れて符号化信号66bになる。本実施の形態8は可逆符
号化の例であり、符号化した入力信号はメモリ61に記
憶されて、後続の画像信号に対しての符号化に使用され
る(図示せず)。 【0067】このように、本実施の形態8による画像符
号化装置では、画素値信号60aの処理を行う動き検出
器62a、動き補償器63a、差分値計算器64a、符
号化器65a、及び符号化器67aと、透過度信号60
bの処理を行う動き検出器62b、動き補償器63b、
差分値計算器64b、符号化器65b、及び符号化器6
7bとを備えたことで、画素値信号60aと透過度信号
60bとのそれぞれに対して、別個に動き検出を行って
動きベクトルを取得し、動き補償を行うことが可能とな
る。 【0068】従来技術の説明において述べたように、従
来の技術による画像符号化では、形状情報と画素値情報
とからなる画像を符号化する場合、画像の合成に使用さ
れる形状情報については、符号化効率の向上のため、画
素値情報の動きベクトルを使用して形状情報の動き補償
符号化を行うものであった。従って、本実施の形態8の
入力画像信号のような信号を符号化する場合、画素値信
号の動きベクトルを用いて、透過度信号の動き補償符号
化を行うこととなる。しかし、透過度信号は物体の形状
を表す信号であるが、その動きベクトルは必ずしも画素
値信号の動きベクトルと一致するものではない。回転す
る円盤の形状は不変であるが、円盤に描かれた絵柄は移
動する場合がその例である。従って、かかる場合には画
素値信号の動きベクトルと、透過度信号の動きベクトル
との差が大きいことから、画素値信号の動きベクトルを
用いて透過度信号の動き補償を行った場合の動き誤差が
大きくなり、差分値の符号化長が長くなって符号化効率
が低下することとなる。 【0069】これに対して、本実施の形態8の画像符号
化装置は、透過度信号に対しては、画素値信号の動きベ
クトルとは別に検出した動きベクトルを用いて動き補償
することにより、入力透過度信号に対して動き補償信号
により精度良く近似することができ、動き補償誤差が小
さくなることから、符号化効率が向上する。なお、本実
施の形態8の画像符号化装置についても、入力信号がブ
ロック単位で入力されるものとし、ブロック単位で動き
補償と符号化を行う設定とすることができ、上記の効果
が得られる。 【0070】実施の形態9.本発明の実施の形態9によ
る画像符号化装置は、実施の形態8と同様に、透過度信
号と、画素値信号とからなる画像信号を入力信号とし、
参照画像を参照して、この入力信号を符号化するもので
ある。図13は、本発明の実施の形態8による画像符号
化装置の構成を示すブロック図である。同図において、
符号は図12と同じものであり、説明は実施の形態8と
同様である。本実施の形態9による画像符号化装置で
は、画素値信号60aに対する動き検出器62aが、取
得した画素値信号の動きベクトルを透過度信号60bに
対する動き検出器62bに出力し、動き検出器62b
は、入力された画素値信号の動きベクトルの近傍におい
て、透過度信号の動き検出を行う点が実施の形態8によ
る画像符号化装置との構成の相違である。また、本実施
の形態9よる画像符号化装置の動作についても、動き検
出器62aが上述の出力を行い、動き検出器62bが上
述の検出をする点以外は、実施の形態8のものと同様の
動作となる。 【0071】このように、本実施の形態9による画像符
号化装置では、実施の形態8の構成に基づき、画素値信
号60aに対する動き検出器62aが、取得した画素値
信号の動きベクトルを透過度信号60bに対する動き検
出器62bに出力し、動き検出器62bは、入力された
画素値信号の動きベクトルの近傍において、透過度信号
の動き検出を行うものとしたことで、透過度信号の動き
検出にあたり、画素値信号における動き検出の結果を用
いるものである。 【0072】画素値信号と透過度信号との動きベクトル
は、実施の形態8に示した例のように大きく異なるもの
であることもあるが、多くの画像ではほぼ一致する。そ
こで、透過度信号の動きベクトルを検出する際に、画素
値信号の動きベクトル近傍でのみ透過度信号の動きベク
トルを検出すれば、画素値信号と全く独立に行う場合に
比べて動き検出に必要な計算回数を削減することができ
る。なお、画素値信号と独立に動き検出する場合と比較
すると、選択可能な動きベクトル数が制限されているの
で透過度信号の動き補償誤差については多少増加するこ
ととなるが、その割合はわずかである。従って、本実施
の形態9の画像符号化装置では、実施の形態8と同様
に、各信号に対して適切な動き補償を行うことにより、
符号化効率の向上を図るとともに、動き検出の計算回数
を削減することができる。 【0073】なお、本実施の形態9の画像符号化装置で
は、透過度信号の動き検出にあたり、画素値信号の動き
ベクトルを用いるものとしたが、図12に示した実施の
形態8による画像符号化装置の構成に基づき、透過度信
号60bに対する動き検出器62bが、取得した透過度
信号の動きベクトルを画素値信号60aに対する動き検
出器62aに出力し、動き検出器62aは、入力された
透過度信号の動きベクトルの近傍において、画素値信号
の動き検出を行うものとして、画素値信号の動き検出に
あたり、透過度信号における動き検出の結果を用いるも
のとした構成とすることも可能であり、やはり動き検出
の計算回数の削減を図ることができる。また、設定によ
りブロック単位での符号化が可能である点は、実施の形
態8と同様である。 【0074】実施の形態10.本発明の実施の形態10
による画像符号化装置は、実施の形態8、及び9と同様
に、透過度信号と、画素値信号とからなる画像信号を入
力信号とし、参照画像を参照して、この入力信号を符号
化するものである。 【0075】図13は、本発明の実施の形態10による
画像符号化装置の構成を示すブロック図である。同図に
おいて、70は動きベクトルの差分計算器であり、動き
検出器62aから取得する画素値信号の動きベクトル
と、動き検出器62bから取得する透過度信号の動きベ
クトルとの差分ベクトルを取得する。符号化器67bは
実施の形態8では透過度信号の動きベクトルを符号化し
たが、本実施の形態10では、差分値計算器70が取得
する動きベクトルの差分ベクトルを符号化する。他の符
号は図12と同じものであり、説明は実施の形態8と同
様である。 【0076】本実施の形態10による画像符号化装置の
動作については、動き検出器62a、及び62bが動き
ベクトルを差分値計算器70に出力し、差分値計算器7
0が上述の差分ベクトルを取得して符号化器67bに出
力し、符号化器67bが動きベクトルの差分ベクトルを
符号化する点以外は、実施の形態8のものと同様の動作
となる。 【0077】このように、本実施の形態10の画像符号
化装置では、実施の形態8の画像符号化装置の構成に基
づき、動きベクトルの差分値計算器70を追加した構成
とすることで、透過度信号の動きベクトルを符号化する
代わりに、画素値信号の動きベクトルと透過度信号の動
きベクトルとの差分ベクトルを符号化する。実施の形態
9において説明したように両信号の動きベクトルは相関
がある場合が多いので、両信号の動きベクトルの差分ベ
クトルを符号化すれば、差分ベクトルの生起頻度が0ベ
クトル近傍に集中する。その結果、0ベクトル近傍の差
分ベクトルに短い符号長の符号を割り当てる可変長符号
化を行うことにより、符号化効率が向上し、より少ない
ビット数で符号化することが可能になる。 【0078】なお、本実施の形態10の画像符号化装置
では、透過度信号の動きベクトルを符号化する代わり
に、両信号の動きベクトルの差分ベクトルを符号化する
ものとしたが、差分値計算器70が取得した差分ベクト
ルを符号化器67bでなく65aに出力する構成も可能
であり、画素値信号の動きベクトルを符号化する代わり
に、両信号の動きベクトルの差分ベクトルを符号化する
ことで、同様の効果を得ることが可能となる。また、設
定によりブロック単位での符号化が可能である点は、実
施の形態8と同様である。 【0079】実施の形態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はは復号化さ
れた画像信号である。 【0080】以上の様に構成された、本実施の形態11
による画像復号化装置についてその動作を説明する。実
施の形態8による画像符号化装置において、画素値信
号、及び透過度信号それぞれの差分値を符号化した信号
68a、及び66bは、入力信号82a、及び82bと
して本実施の形態11による画像復号化装置に入力さ
れ、復号化器83a、及び83bによって復号化され、
画素値信号、及び透過度信号の復号差分値として、差分
値加算器84a、及び84bに出力される。また、実施
の形態8による画像符号化装置において、画素値信号、
及び透過度信号それぞれの動きベクトルを符号化した信
号66a、及び68bは、入力信号80a、及び80b
として本実施の形態11による画像復号化装置に入力さ
れ、復号化器81a、及び81bによって復号化され、
画素値信号、及び透過度信号の復号動きベクトルして、
動き補償器63a、及び63bに出力される。 【0081】動き補償器63a、及び63bは、それぞ
れ入力された動きベクトルで示される画素値をメモリ6
1から読み出して、動き補償を行い、動き補償値を差分
値加算器84a、及び84bに出力する。差分値加算器
84a、及び84bは、それぞれ入力された復号差分値
と動き補償値とを加算処理し、復号化された画像信号8
5a、及び85bとして出力するとともに、メモリ61
において記憶されることとなる。 【0082】このように、本実施の形態11による画像
復号化装置では、画素値信号の符号化信号の処理を行う
復号化器81a、及び復号化器83a、動き補償器63
a、差分値計算器84aと、透過度信号の符号化信号の
処理を行う復号化器81b、及び復号化器83b、動き
補償器63b、差分値計算器84bを備えたことで、画
素値信号の符号化信号80a、及び82aと、透過度信
号の符号化信号80b、及び82bとのそれぞれに対し
て、別個に復号化処理を行うことが可能となり、適切に
復号化して画像信号を得ることが可能となる。 【0083】なお、本実施の形態11による画像復号化
装置では、実施の形態8による画像符号化装置において
得られる符号化信号を復号化するものとしたが、実施の
形態9による画像符号化装置において得られる符号化信
号についても、同様に適切に復号化を行うことが可能で
ある。また、実施の形態8、又は9において、ブロック
単位で入力され、符号化された符号化信号に対しては、
ブロック単位で入力し、復号化する設定とすることによ
り適切に復号化を行えるものである。 【0084】実施の形態12.本発明の実施の形態12
による画像復号化装置は、実施の形態10による画像符
号化装置によって効率よく符号化された符号化信号に対
して、適切な復号化を行うものである。図16は、本発
明の実施の形態12による画像復号化装置の構成を示す
ブロック図である。同図において、86は動きベクトル
の差分値加算器であり、復号動きベクトルと、復号差分
動きベクトルの加算処理を行う。他の符号は図15と同
様であり、説明は実施の形態11と同様であるので、こ
こでは省略する。 【0085】以上の様に構成された、本実施の形態12
による画像復号化装置についてその動作を説明する。復
号化器81aは入力信号80aの復号化によって取得し
た画素値信号の復号動きベクトルを、動き補償器63a
に出力するとともに、動きベクトルの差分値加算器86
にも出力する。復号化器80bには、実施の形態11の
場合のように、透過度信号の動きベクトルの符号化信号
が入力されるのではなく、実施の形態10の差分動きベ
クトルの符号化信号68b(図14)が入力され、復号
化器80bは実施の形態11の場合のように復号化によ
り透過度信号の動きベクトルを取得するのではなく、差
分ベクトルを取得し、この復号差分動きベクトルを動き
ベクトルの差分値加算器86に出力する。出力される復
号差分動きベクトルは、画素値信号の動きベクトルと透
過度信号の動きベクトルとの差分ベクトルであるので、
この差分ベクトルが差分値加算器86において、画素値
信号の復号動きベクトルと加算されることにより、透過
度信号の動きベクトルが取得されることとなる。復号化
された透過度信号の動きベクトルは、動き補償器63b
に出力される。他の動作については、実施の形態11の
画像復号化装置における処理と同等となり、画素値信号
の復号信号85aと、透過度信号の復号信号85bが装
置からの出力となる。 【0086】このように、本実施の形態12の画像復号
化装置では、実施の形態11の画像復号化装置の構成に
基づき、動きベクトルの差分値加算器86を追加する構
成としたことで、復号動きベクトルと復号差分ベクトル
との加算を行うことができ、符号化信号として差分ベク
トルの符号化信号を出力する実施の形態10の出力符号
化信号を適切に復号化することが可能である。なお、実
施の形態10においてブロック単位での符号化が行われ
ていた場合にも設定により対応が可能であることは、実
施の形態11と同様である。 【0087】実施の形態13.本発明の実施の形態13
による画像符号化装置は、物体の形状および各画素の画
素値が有意であるかどうかをを示す形状信号と、画素値
信号とからなる、ブロック化された形状つき画像信号を
入力信号とし、参照画像を参照してこの入力信号を符号
化するものである。図17は、本発明の実施の形態13
による画像符号化装置の構成を示すブロック図である。
同図において、60aは画素値信号、60bは形状信号
であり、画像信号を構成するものであって、それぞれ本
実施の形態8の画像符号化装置に入力信号として入力さ
れる。69a、及び69bは復号化器であり、符号化器
67a、及び65bから出力される差分値の符号化信号
を復号化する。75a、及び75bは差分値加算器であ
り、復号化された差分値と動き補償値とを加算処理し
て、メモリ61に記憶させる。他の符号については、図
12と同様であり、説明は実施の形態8と同様であるの
で、ここでは省略する。 【0088】以上の様に構成された、本実施の形態13
による画像符号化装置についてその動作を説明する。入
力信号であるブロック化された形状つき画像信号は、画
素値信号60aと形状信号60bとして、本実施の形態
13の画像符号化装置に入力される。ここで、形状信号
とは、従来技術の説明において用いた図53に示すもの
であって、図53(c)に示す2値情報、又は図53(d)に
示す多値情報となる。多値情報である場合は、実施の形
態8における透過度信号と同様のものとなる。本実施の
形態13の画像符号化装置においては、実施の形態8と
同様の処理により、画素値信号と形状信号とがそれぞれ
符号化されて、画素値信号の動きベクトルの符号化信号
66a、画素値信号の差分値の符号化信号68a、形状
信号の動きベクトルの符号化信号66b、及び形状信号
の差分値の符号化信号68bが得られる。 【0089】実施の形態8による装置では、符号化され
た信号がメモり61に入力されていたが、本実施の形態
13では、符号化された差分値がそれぞれ復号化器69
a、及び69bで復号化されて、差分値加算器75a、
及び75bに出力され、差分値加算器75a、及び75
bにおいて、動き補償器63a、及び63bから出力さ
れた動き補償値を加算された上でメモリ61に入力され
る。従って、符号化に用いられる参照画像は、符号化及
び復号化され、動き補償値を加算されたものとなる点が
実施の形態8と異なる。 【0090】このように、本実施の形態13による画像
符号化装置では、実施の形態8による画像符号化装置の
構成に基づき、復号化器69a、及び69bと、差分値
加算器75a、及び75bとを追加する構成としたこと
で、実施の形態8と同様に、動き補償誤差を小さくする
ことによって、符号化効率の向上が図れることに加え
て、若干の処理負担の増大を伴うこととはなるが、参照
画像として符号化及び復号化され、動き補償値を加算さ
れたより適切な信号を用いることにより、一層の動き補
償誤差の減少を図ることが可能となる。なお、本実施の
形態13による画像符号化装置で出力される符号化信号
は、実施の形態8のものと同様に、実施の形態11によ
る画像復号化装置において、適切に復号化することがで
きる。 【0091】実施の形態14.本発明の実施の形態14
による画像符号化装置は、実施の形態13と同様に、形
状信号と、画素値信号とからなる画像信号を入力信号と
し、参照画像を参照して、この入力信号を符号化するも
のである。図18は、本発明の実施の形態14による画
像符号化装置の構成を示すブロック図である。同図にお
いて、符号は図17と同じものであり、説明は実施の形
態13と同様である。本実施の形態14による画像符号
化装置では、実施の形態9と同様に、画素値信号60a
に対する動き検出器62aが、取得した画素値信号の動
きベクトルを透過度信号60bに対する動き検出器62
bに出力し、動き検出器62bは、入力された画素値信
号の動きベクトルの近傍において、透過度信号の動き検
出を行う点が実施の形態13による画像符号化装置との
構成の相違である。また、本実施の形態14による画像
符号化装置の動作についても、動き検出器62aが上述
の出力を行い、動き検出器62bが上述の検出をする点
以外は、実施の形態13のものと同様の動作となる。 【0092】このように、本実施の形態14による画像
符号化装置では、実施の形態13の構成に基づき、画素
値信号60aに対する動き検出器62aが、取得した画
素値信号の動きベクトルを形状信号60bに対する動き
検出器62bに出力し、動き検出器62bは、入力され
た画素値信号の動きベクトルの近傍において、形状信号
の動き検出を行うものとしたことで、実施の形態9と同
様に形状信号の動き検出にあたり、画素値信号における
動き検出の結果を用いることとして、動き検出の計算回
数を削減できるものである。なお、形状信号の動きベク
トルの近傍において、画素値信号の動きベクトルを検出
するようにする構成とできる点は実施の形態9と同様で
あり、本実施の形態14の画像符号化装置で得られる符
号化信号が、実施の形態11による画像復号化装置で復
号化できる点は実施の形態13と同様である。 【0093】実施の形態15.本発明の実施の形態15
による画像符号化装置は、実施の形態13、及び14と
同様に、形状信号と、画素値信号とからなる画像信号を
入力信号とし、参照画像を参照して、この入力信号を符
号化するものである。図19は、本実施の形態15によ
る画像符号化装置の構成を示すブロック図である。同図
において、動きベクトルの差分計算器70は図13に示
す実施の形態10と同様である。又、符号化器67bも
実施の形態10と同様に、差分値計算器70が取得する
動きベクトルの差分ベクトルを符号化する。他の符号は
図17と同じものであり、説明は実施の形態13と同様
である。 【0094】本実施の形態15による画像符号化装置の
動作については、動き検出器62a、及び62bが動き
ベクトルを差分値計算器70に出力し、差分値計算器7
0が上述の差分ベクトルを取得して符号化器67bに出
力し、符号化器67bが動きベクトルの差分ベクトルを
符号化する点は実施の形態10と同様であり、他の動作
は実施の形態13のものと同様である。 【0095】このように、本実施の形態15の画像符号
化装置では、実施の形態13の画像符号化装置の構成に
基づき、動きベクトルの差分値計算器70を追加した構
成とすることで、形状信号の動きベクトルを符号化する
代わりに、画素値信号の動きベクトルと形状信号の動き
ベクトルとの差分ベクトルを符号化する。従って、実施
の形態10と同様に、可変長符号化を行うことにより、
一層の符号化効率の向上を図ることが可能となる。 【0096】なお、画素値信号の動きベクトルを符号化
する代わりに、差分ベクトルを符号化する設定とするこ
とも可能である点は、実施の形態10と同様である。ま
た、本実施の形態15による画像符号化装置で出力され
る符号化信号は、実施の形態10のものと同様に、実施
の形態12による画像復号化装置において、適切に復号
化することができる。 【0097】実施の形態16.本発明の実施の形態16
による画像符号化装置は、実施の形態13〜15と同様
に、形状信号と、画素値信号とからなる画像信号を入力
信号とし、参照画像を参照して、この入力信号を符号化
するものである。図20は、本発明の実施の形態16に
よる画像符号化装置の構成を示すブロック図である。同
図において、90は動き検出判定器であり、入力形状信
号60bと動き検出器62aの出力する画素値信号の動
きベクトルとを入力して、画素値信号の動きベクトルに
よる形状信号の動き補償の可否を判定し、該判定に応じ
て形状信号の動き検出器62bに動き検出を行うか否か
の指示を出力する。 【0098】以上の様に構成された、本実施の形態16
による画像符号化装置についてその動作を説明する。本
実施の形態16による画像符号化装置に入力された画素
値信号60aの処理については、動き検出器62aで取
得された画素値信号の動きベクトルが動き検出判定器9
0にも出力される点以外は、実施の形態13と同様に処
理され、画素値信号の動きベクトルの符号化信号66a
と、画素値信号の差分値の符号化信号68aとが得られ
る。 【0099】一方、入力形状信号60bについては、ま
ず動き検出判定器90に入力される。動き検出判定器9
0は、入力された画素値信号の動きベクトルを用いて入
力形状信号60bの動き補償を行い、動き補償された形
状信号と、入力された形状信号60bとを比較して、一
致しているかどうかを調べる。そして、一致していれば
動き検出器61bに対して、画素値信号の動きベクトル
を出力し、動き検出器61bは形状信号に対する動き検
出を実行せず、入力された画素値信号の動きベクトルを
もって、形状信号の動きベクトルとする。逆に、動き検
出判定器90による比較の結果が一致しなければ、動き
検出判定器90は、動き検出器61bに動き検出を行う
ように指示を出力し、動き検出器61bによる動きベク
トルの計算が行われる。形状信号についても、これ以降
の処理は実施の形態13と同様となり、符号化信号66
b、及び68bが得られる。 【0100】このように、本実施の形態16による画像
符号化装置では、実施の形態13による画像符号化装置
に、動き検出判定器90を追加する構成としたことで、
入力画素値信号の動きベクトルを用いて入力形状信号の
動き補償を行うことの可否を判定し、可能と判定する場
合には、入力形状信号に対しての動き検出を行わないこ
とにより、計算を省略することによって処理負担の低減
を図ることができる。又、不可能と判定する場合には、
実施の形態13と同様、形状信号に対しての動き検出を
行うので、符号化効率や、符号化信号の画質に影響を与
えない。なお、本実施の形態16では、動き補償された
形状信号と、入力された形状信号とが一致している場合
に形状信号に対する動き検出を行わないものとしたが、
動き補償誤差の増加による若干の符号化効率の劣化が許
容できるのであれば、判定において動き補償による誤差
が所定値以下の場合にも動き検出を行わないものとする
設定も可能であり、さらなる処理負担の低減を図ること
が可能となる。 【0101】実施の形態17.本発明の実施の形態17
による画像符号化装置は、実施の形態13〜16と同様
に、形状信号と、画素値信号とからなる画像信号を入力
信号とし、参照画像を参照して、この入力信号を符号化
するものである。図21は、本発明の実施の形態17に
よる画像符号化装置の構成を示すブロック図である。同
図において、93は切り替え判定器であり、画素値信
号、及び形状信号の動きベクトルを入力して、実施の形
態16と同様に、画素値信号の動きベクトルを用いての
形状信号の動き補償の可否の判定を行い、その判定に応
じて、切り替え器94に対する指示を行う。切り替え器
94は、切り替え判定器93の指示に対応して、差分値
計算器70に対する出力を、画素値信号の動きベクトル
とするか、形状信号の動きベクトルとするかを切り替え
る。動きベクトル用メモリ95は切り替え器94から出
力された動きベクトルを遅延させて差分検出器70に入
力するために、一時記憶を行う。他の符号は、図19と
同様であり、説明は実施の形態15と同様である。 【0102】本実施の形態17の装置の動作について
も、切り替え判定器93の判定により、差分値計算器7
0によって取得される差分動きベクトルが異なる点以外
は実施の形態15と同様となるので、その点についての
み動作の説明を行う。切り替え判定器93は、直前に符
号化した入力信号について、その画素値信号の動きベク
トルの符号化信号と、形状信号の動きベクトルとを入力
して比較することにより、直前に符号化した入力信号に
おいて、その形状信号の動きベクトルが符号化されてい
たかどうかを調べる。即ち、直前に符号化した信号を処
理することにより、符号化器67bから得られた差分動
きベクトルの符号化信号は、画素値信号の動きベクトル
と形状信号の動きベクトルとの差分ベクトルであった
か、形状信号の動きベクトル同士の差分ベクトルであっ
たかを調べる。そして、形状信号の動きベクトル同士の
差分ベクトルが符号化されていた場合には、切り替え器
94に指示を送ることによって、遅延用メモリ95に形
状信号から検出した動きベクトルを入力させる。従って
この場合、差分値計算器70は遅延用メモリ95から取
得する当該直前に符号化した形状信号の動きベクトル
と、入力形状信号から検出した動きベクトルとの差分ベ
クトルを取得し、符号化器67bは、この差分ベクトル
を符号化する。一方、直前の入力信号において、画素値
信号の動きベクトルと形状信号の動きベクトルとの差分
ベクトルが符号化されていた場合は、切り替え器94に
指示を送ることにより、実施の形態15と同様に、両信
号の動きベクトルの差分ベクトルが符号化されることと
なる。 【0103】このように、本実施の形態17の画像符号
化装置では、実施の形態15による画像符号化装置の構
成に基づいて、切り替え判定器93と、切り替え器94
と、遅延用メモリ95とを追加する構成としたことによ
り、直前に形状信号の動きベクトルが符号化されている
場合には、その動きベクトルと検出した動きベクトルと
の差分ベクトルを取得して符号化するので、相関性の高
い形状信号同士の動きベクトルの差分を用いることで符
号化効率を向上することが可能となる。なお、本実施の
形態17については、形状信号の動きベクトルについて
かかる判定と差分ベクトルの符号化を行うものとしてい
るが、画素値信号の動きベクトルについてかかる判定と
差分ベクトルの符号化を行うものとすることも可能であ
り、同様に符号化効率の向上を図ることができる。 【0104】実施の形態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を出力する。 【0105】以上の様に構成された、本実施の形態18
による画像符号化装置についてその動作を説明する。ま
ず、形状情報、透過度情報、及び画素値情報から構成さ
れる入力画像信号101が、本実施の形態18の画像符
号化装置に入力される。ここで、透過度情報と形状情報
とについて、従来技術の説明に用いた図53によって説
明する。透過度情報とは、図53(a)に示す画像を他の
画像と合成する際に、各画素をどのような比率で合成す
るかを表すものであって、基本的には図53(d)に示さ
れるような多値情報である。形状情報は、図53(c)で
示される2値の情報であって、透過度情報を0又は非0
として2値化したものであり、物体が「ある/ない」を
示す情報となる。なお、透過度情報が完全透過と完全不
透過の2通りしか存在しない場合は、上述のことから形
状情報のみで表現でき、透過度情報は不要である。従っ
て、この場合には、形状情報と画素値情報のみを符号化
または復号化すればよいこととなる。 【0106】ブロック化器102は、入力画像信号10
1に対して、形状情報・透過度情報と画素値情報との画
素値の対応関係に基づいて、複数の画素を統合してブロ
ック化し、ブロック化された形状信号103、ブロック
化された透過度信号105、及びブロック化された画素
値信号107を出力する。形状信号103は形状符号化
モード判定器110と形状符号化器112とに、透過度
信号105は透過度符号化モード判定器114と透過度
符号化器116とに、そして、画素値信号107は、画
素値符号化モード判定器118と画素値符号化器120
とに出力される。 【0107】形状符号化モード判定器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による画像符号化装置の符号化出力となる。 【0108】このように、本実施の形態18による画像
符号化装置では、入力画像信号をブロック化し、かつ形
状信号、透過度信号、及び画素値信号に分離して出力す
るブロック化器101と、各信号に適した符号化モード
を判定する符号化モード判定器110、114、及び1
18と、各信号を符号化モードに対応して符号化する符
号化器112、116、及び120と、符号化モードを
まとめて符号化するモード符号化器122とを備えたこ
とで、分離した各信号に適したモードでの符号化を行
い、その選択したモードに関する情報は、まとめて符号
化することが可能となる。形状情報、透過度情報、及び
画素値情報については、互いに相関があることが多く、
従って同じ符号化モードが選択されやすくなる。そこ
で、同じモードとなる符号が短い符号長となる可変長符
号化を行うことにより、モード符号化信号のビット数を
削減することが可能となる効果が得られる。 【0109】実施の形態19.本発明の実施の形態19
による画像符号化装置は、実施の形態18と同様に、形
状情報と、透過度情報との少なくとも一方と、画素値情
報とから構成される画像信号を入力画像信号として、各
信号に適したモードにおいて符号化するものである。図
23は、本発明の実施の形態19による画像符号化装置
の構成を示すブロック図である。同図において、形状符
号化モード判定器110は、形状信号103に適応した
符号化モードを判定し、その判定結果を符号化モードと
して形状符号化器112、及びモード符号化器122に
出力するとともに、透過度符号化モード判定器130、
及び画素値符号化モード判定器132にも出力する。そ
して、透過度符号化モード判定器130は、入力された
形状符号化モード111を参照して判定を行い、その判
定結果を符号化モードとして透過度符号化器116、及
びモード符号化器122に出力するとともに、画素値符
号化モード判定器132にも出力する。画素値符号化モ
ード判定器132は、入力された形状符号化モード11
1、及び透過度符号化モード115を参照して判定を行
う。本実施の形態19の画像符号化装置の動作について
は、上記各モード判定器の判定を除いては実施の形態1
8と同様となり、同様に、形状符号化信号113、透過
度符号化信号117、画素値符号化信号121、及びモ
ード符号化信号123が出力される。 【0110】このように、本実施の形態19による画像
符号化装置では、形状符号化モードを参照して、透過度
信号の符号化モードを判定する透過度符号化モード判定
器130と、形状符号化モード、及び透過度符号化モー
ドの双方を参照して画素値信号の符号化モードを判定す
る画素値符号化モード判定器132とを備えたことで、
選択されるモードが同じものとなりやすくする。従っ
て、モードが一致する場合に短い符号を割り当てるモー
ド符号化器122では、実施の形態18よりもさらに可
変長符号化の効率が向上してモード符号化信号のビット
数を削減することができるという効果が得られる。 【0111】実施の形態20.本発明の実施の形態20
による画像符号化装置は、実施の形態19と同様に、モ
ード符号化信号の符号化効率を向上するものである。図
24は、本発明の実施の形態20による画像符号化装置
の構成を示すブロック図である。同図において、画素値
符号化モード判定器118は、画素値信号107に適応
した符号化モードを判定し、その判定結果を符号化モー
ドとして画素値符号化器120、及びモード符号化器1
22に出力するとともに、透過度符号化モード判定器1
36、及び形状符号化モード判定器138にも出力す
る。そして、透過度符号化モード判定器136は、入力
された画素値符号化モード119を参照して判定を行
い、その判定結果を符号化モードとして透過度符号化器
116、及びモード符号化器122に出力するととも
に、形状符号化モード判定器138にも出力する。形状
符号化モード判定器138は、入力された画素値符号化
モード119、及び透過度符号化モード115を参照し
て判定を行う。本実施の形態20の画像符号化装置の動
作については、上記各モード判定器の判定を除いては実
施の形態18と同様となり、同様に、形状符号化信号1
13、透過度符号化信号117、画素値符号化信号12
1、及びモード符号化信号123が出力される。 【0112】このように、本実施の形態20による画像
符号化装置では、画素値符号化モードを参照して、透過
度信号の符号化モードを判定する透過度符号化モード判
定器136と、画素符号化モード、及び透過度符号化モ
ードの双方を参照して形状信号の符号化モードを判定す
る形状符号化モード判定器138とを備えたことで、選
択されるモードが同じものとなりやすくする。従って、
モードが一致する場合に短い符号を割り当てるモード符
号化器122では、実施の形態18よりもさらに可変長
符号化の効率が向上してモード符号化信号のビット数を
削減することができるという効果が得られる。 【0113】実施の形態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を
出力する。 【0114】以上の様に構成された、本実施の形態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を出力する。 【0115】このように、本実施の形態21による画像
復号化装置では、モード復号化器150と、形状復号化
器156、透過度復号化器158、画素値復号化器16
0、及び逆ブロック化器162を備えたことで、実施の
形態18による画像符号化装置で得られた符号化信号に
対し、適切に復号化し、又統合処理して、復号画像信号
163を得ることが可能となる。なお、本実施の形態2
1の画像復号化装置では、実施の形態18による画像符
号化装置で得られた符号化信号を復号化するものとした
が、実施の形態19、及び20による画像符号化装置で
得られた符号化信号についても、同様に適切な復号化を
行うことが可能である。 【0116】実施の形態22.本発明の実施の形態22
による画像符号化装置は、画面内/画面間符号化を入力
信号に適応して切り替えて符号化を行うものである。図
26は、本発明の実施の形態22による画像符号化装置
の構成を示すブロック図である。同図において、178
は画素値符号化の画面内/画面間符号化判定器であり、
画素値信号の符号化のモードについて、画面内、又は画
面間の判定を行い、画素値信号の符号化モード119を
出力する。138は形状符号化モード判定器であり、図
24の138に示す実施の形態20における形状符号化
モード判定器に相当する。170、及び176はスイッ
チであって、判定器178の出力に応じて切り替えら
れ、形状信号の符号化モードを決定する。172は形状
符号化の画面内/画面間符号化判定器であり、形状信号
の符号化のモードについて、画面内、又は画面間の判定
を行い、判定の結果により形状信号の符号化モード17
3を出力する。他の符号については、図22と同様であ
り、説明は実施の形態18と同様である。 【0117】以上の様に構成された、本実施の形態22
による画像符号化装置についてその動作を説明する。ま
ず、入力画像信号101が、本実施の形態22の画像符
号化装置に入力されると、ブロック化器102は実施の
形態18と同様に、ブロック化と信号の分離とを行い、
画素値信号と形状信号を出力する。分離された画素値信
号107が画素値符号化の画面内/画面間符号化判定器
178に入力されると、判定器178は画素値信号10
7に対して、画面内符号化もしくは画面間符号化のいず
れで符号化すべきかを判定し、その判定の結果を、「画
面内」、または「画面間」のいずれかを示す画素値符号
化モード119として、画素値符号化器120と、モー
ド符号化器122、及び形状符号化モード判定器138
に出力する。形状符号化モード判定器138では、スイ
ッチ170と176とが、画素値符号化モード119に
応じて切り替えられる。画素値符号化モードが「画面
内」を示す場合には判定器178に入力されないよう
に、「画面間」を示す場合には判定器178に入力され
るように切り替えられる。従って、画素値符号化モード
119が画面内符号化を示す場合、判定器138からは
画面内符号化を示す形状判定モード111が出力される
こととなる。 【0118】一方、画素値符号化モード119が画面間
符号化を示す場合は、形状信号105に対応して、当該
形状信号を画面内符号化もしくは画面間符号化のいずれ
で符号化すべきかを画面内/画面間符号化判定器172
が判定し、その判定結果が形状符号化モード111とし
て出力される。いずれの場合にも、形状符号化モード1
11は、形状符号化器112と、モード符号化器122
とに出力される。そして、画素値符号化器120、形状
符号化器112、及びモード符号化器122の動作は実
施の形態18と同様となり、各符号化信号が出力され
る。 【0119】以上の動作をすることから、本実施の形態
22による画像符号化装置では、画素値信号が画面内符
号化される場合には、形状信号は必ず画面内符号化され
ることとなる。一般に、画素値が一致しない場合には形
状も一致しないので、画素値信号が画面内符号化される
べきもの、即ち時間的に相関が少ないものである場合に
は、本実施の形態22の様に形状信号の符号化の符号化
モード数を制限しても、形状信号の符号化の符号化効率
は殆ど劣化しない。 【0120】また、はめ込み画像(合成画像)等の様に
合成の際の形状信号が一定であっても合成される画素値
が変化する場合があり、かかる場合等には画素値信号に
よって画面間符号化が選択されても、形状信号について
画面間符号化が適切であるとは限らない。本実施の形態
22の装置では、画素値信号について画面間符号化が選
択された場合には、形状信号については画面内/画面間
のいずれとするかを判定することとなるので、形状信号
の符号化は画面内符号化の符号化モードをも選択可能で
あり、形状信号の符号化において不適切な画面間符号化
を行ってしまうことによりの符号化効率が大きく劣化す
ることを防止できる。 【0121】また、形状信号もしくは画素値信号の少な
くとも一方が画面間符号化されている場合には、画面間
符号化において実行する動き補償等のために必要な多く
の付加情報が必要となる。本実施の形態22による画像
符号化装置では、形状信号のみが画面間符号化されるこ
とがないので、画素値信号について画面内符号化が選択
された場合にはビット数が節約できることとなる。一般
に、上記の付加情報については、画素値信号を画面内符
号化した場合のビット数よりは少ないが、形状信号の画
面内符号化に必要なビット数と比較すると無視できない
程度のビット数であるので、その効果も大きい。このよ
うに、本実施の形態22の画像符号化装置によれば、画
素値符号化の画面内/画面間符号化判定器178と、形
状符号化の画面内/画面間符号化判定器172を内包す
る形状符号化モード判定器138とを備えたことで、画
素値信号の符号化モードが画面内符号化の場合には形状
信号の符号化モードを画面内符号化とし、画素値信号の
符号化モードが画面間符号化の場合には、形状信号の符
号化モードについての判定を行って選択するので、画素
値信号の符号化モード119と形状信号の符号化モード
111との相関を高めてモード符号化信号のビット数の
削減を図り、かつ画面間符号化を行うという選択を抑制
することにより、動き補償のための付加情報のビット数
の抑制も可能となる。 【0122】実施の形態23.本発明の実施の形態23
による画像符号化装置は、符号化における動きベクトル
の数を入力信号に適応して切り替えて符号化を行うもの
である。図27は、本発明の実施の形態23による画像
符号化装置の構成を示すブロック図である。同図におい
て、188は画素値符号化の動きベクトル数判定器であ
り、画素値信号の符号化のモードにおいて、動きベクト
ルの数を幾つとするかの判定を行い、画素値信号の符号
化モード119を出力する。138は形状符号化モード
判定器であり、図24の138に示す実施の形態20に
おける形状符号化モード判定器に相当する。180、及
び186はスイッチであって、判定器188の出力に応
じて切り替えられ、形状信号の符号化モードを決定す
る。182は形状符号化の動きベクトル数判定器であ
り、形状信号の符号化のモードについて、動きベクトル
数を幾つとするかの判定を行い、判定の結果により形状
信号の符号化モード183を出力する。他の符号につい
ては、図22と同様であり、説明は実施の形態18と同
様である。 【0123】以上の様に構成された、本実施の形態23
による画像符号化装置についてその動作を説明する。ま
ず、入力画像信号101が、本実施の形態23の画像符
号化装置に入力されると、ブロック化器102は実施の
形態18と同様に、ブロック化と信号の分離とを行い、
画素値信号と形状信号を出力する。分離された画素値信
号107が画素値符号化の動きベクトル数判定器188
に入力されると、判定器188は画素値信号107に対
して、動きベクトル数を幾つとして符号化すべきかを判
定し、その判定の結果を、画素値符号化モード119と
して、画素値符号化器120と、モード符号化器12
2、及び形状符号化モード判定器138に出力する。 【0124】図28は動きベクトルの数について説明す
るための図である。物体の輪郭近傍では動きが複雑であ
り、ブロック毎に1個の動きベクトル(MV)を用いたの
では動き補償誤差を十分小さくすることが困難である。
かかる場合にはブロックを分割して、各分割ブロックに
対して動きベクトルを割り当てることが望ましく、この
ように画像の性質に応じて適応的に動きベクトルの数を
変更することで符号化効率が向上することが知られてい
る。従って、本実施の形態23の画像符号化装置では、
図示するようにブロック毎に1個の動きベクトル(MV
1) を用いて動き補償するか、当該ブロックを4分割し
て各分割ブロックに1個ずつ、合計4個の動きベクトル
(MV1, MV2, MV3, MV4)を用いて動き補償するかを、適
応的に切り替えるものとする。よって、判定器188で
は、動きベクトルの数を1個とするか4個とするかを判
定し、画素値信号の符号化モードとして「1」又は
「4」を上記出力する。 【0125】形状符号化モード判定器138では、スイ
ッチ180と186とが、画素値符号化モード119に
応じて切り替えられる。画素値符号化モードが「1」を
示す場合には判定器182に入力されないように、
「4」を示す場合には判定器182に入力されるように
切り替えられる。従って、画素値符号化モード119が
「1」の場合、判定器138からは動きベクトルの数と
して最小の個数である「1」の形状判定モード111が
出力されることとなる。一方、画素値符号化モード11
9が「4」を示す場合は、形状信号105に対応して、
動きベクトルの数を1個とするか4個とするかを動きベ
クトル数判定器182が判定し、その判定結果が形状符
号化モード111として出力される。いずれの場合に
も、形状符号化モード111は、形状符号化器112
と、モード符号化器122とに出力される。そして、画
素値符号化器120、形状符号化器112、及びモード
符号化器122の動作は実施の形態18と同様となり、
各符号化信号が出力される。 【0126】以上の動作をすることから、本実施の形態
23による画像符号化装置では、画素値信号が最小個数
の動きベクトルを用いて符号化される場合には、形状信
号は必ず最小個数の動きベクトルを用いて符号化される
こととなる。動きベクトル数を多くすると、動きベクト
ルを符号化するために必要な付加情報が増大するので好
ましくないこととなるので、かかる場合には形状信号符
号化のための動きベクトル数を抑制することで負担の増
大を防止するものである。このように、本実施の形態2
3の画像符号化装置によれば、画素値符号化の動きベク
トル数判定器188と、形状符号化の動きベクトル数判
定器182を内包する形状符号化モード判定器138と
を備えたことで、画素値信号の符号化モードが最小個数
の動きベクトルを用いる場合には、形状信号の符号化モ
ードを最小個数とし、画素値信号の符号化モードが多数
のベクトルを用いる場合には、形状信号の符号化モード
についての判定を行って選択するので、画素値信号の符
号化モード119と形状信号の符号化モード111との
相関を高めてモード符号化信号のビット数の削減を図る
ことが可能となり、かつ、動きベクトルの数を多くする
選択を抑制することによって、付加情報が増大するため
のビット数増加も抑制することができる。 【0127】実施の形態24.本発明の実施の形態24
による画像符号化装置は、量子化ステップの変更/非変
更を入力信号に適応して切り替えて符号化を行うもので
ある。図29は、本発明の実施の形態24による画像符
号化装置の構成を示すブロック図である。同図におい
て、198は画素値符号化の量子化ステップ変更/非変
更判定器であり、画素値信号の符号化のモードについ
て、量子化ステップの変更を行うか、又は行わないかの
判定を行い、画素値信号の符号化モード119を出力す
る。138は形状符号化モード判定器であり、図24の
138に示す実施の形態20における形状符号化モード
判定器に相当する。190、及び196はスイッチであ
って、判定器198の出力に応じて切り替えられ、形状
信号の符号化モードを決定する。192は形状符号化の
量子化ステップ変更/非変更判定器であり、形状信号の
符号化のモードについて、量子化ステップの変更を行う
か、又は行わないかの判定を行い、判定の結果により形
状信号の符号化モード193を出力する。他の符号につ
いては、図22と同様であり、説明は実施の形態18と
同様である。 【0128】以上の様に構成された、本実施の形態24
による画像符号化装置についてその動作を説明する。ま
ず、入力画像信号101が、本実施の形態24の画像符
号化装置に入力されると、ブロック化器102は実施の
形態18と同様に、ブロック化と信号の分離とを行い、
画素値信号と形状信号を出力する。分離された画素値信
号107が画素値符号化の量子化ステップ変更/非変更
判定器198に入力されると、判定器198は画素値信
号107に対して、量子化ステップの変更を行うか、又
は行わないかを判定し、その判定の結果を、「変更」、
または「非変更」のいずれかを示す画素値符号化モード
119として、画素値符号化器120と、モード符号化
器122、及び形状符号化モード判定器138に出力す
る。 【0129】形状符号化モード判定器138では、スイ
ッチ190と196とが、画素値符号化モード119に
応じて切り替えられる。画素値符号化モードが「非変
更」を示す場合には判定器192に入力されないよう
に、「変更」を示す場合には判定器192に入力される
ように切り替えられる。従って、画素値符号化モード1
19が量子化ステップを変更しないことを示す場合、判
定器138からは「非変更」を示す形状判定モード11
1が出力されることとなる。一方、画素値符号化モード
119が量子化ステップを変更することを示す場合は、
形状信号105に対応して、量子化ステップの変更を行
うか、又は行わないかを判定器192が判定し、その判
定結果が形状符号化モード111として出力される。 【0130】いずれの場合にも、形状符号化モード11
1は、形状符号化器112と、モード符号化器122と
に出力される。そして、画素値符号化器120、形状符
号化器112、及びモード符号化器122の動作は実施
の形態18と同様となり、各符号化信号が出力される。
量子化ステップの値は圧縮の度合い、すなわち符号化信
号の伝送レートに直結するものであるので、一般に画像
を符号化した符号化信号の伝送レートもしくは記録レー
トがほぼ一定となるように、伝送レートが所定の値より
大きければ量子化ステップを粗くし、逆に小さければ量
子化ステップを密にする制御が行われる。また、量子化
ステップの値は、符号化信号の画質にも直接影響するも
のなので、画素値が急峻に変化するような画像である場
合には、視覚的に振幅方向の画質劣化は検知しにくいこ
とから、量子化ステップを大きくして、圧縮率を高める
ことが可能となる。かかる画素値の変化に応じて量子化
ステップを変更することも、一般に行われる。 【0131】このような量子化ステップを変更する制御
を行う場合は、「量子化ステップが変化した」ことを示
す付加情報がブロック毎に加えられ、画像のデータとと
もに符号化される。しかしながら、量子化ステップの変
更については画素値信号と形状信号とについて同時に変
化させるべきであることが多く、画素値信号の量子化ス
テップが変更されない場合には、形状信号の量子化ステ
ップを変化させないように制限を加えても、かかる制限
による画質劣化はわずかであり、一方、量子化ステップ
の変化を示す付加情報を大きく削減することができる。 【0132】このように、本実施の形態24の画像符号
化装置によれば、画素値符号化の量子化ステップ変更/
非変更判定器198と、形状符号化の量子化ステップ変
更/非変更判定器192を内包する形状符号化モード判
定器138とを備えたことで、画素値信号の符号化モー
ドが「量子化ステップ非変更」の場合には形状信号の符
号化モードを「量子化ステップ非変更」とし、画素値信
号の符号化モードが「量子化ステップ変更」の場合に
は、形状信号の符号化モードについての判定を行って選
択するので、画素値信号の符号化モード119と形状信
号の符号化モード111との相関を高めてモード符号化
信号のビット数の削減を図ることが可能となるととも
に、量子化ステップが変更されるという選択を抑制する
ことにより、量子化ステップ変更による付加情報増大を
抑制し、ビット数の削減を図ることも可能となる。 【0133】なお、実施の形態22〜24の画像符号化
装置については、図24に示す実施の形態20に準じた
構成としたものであるが、図23に示す実施の形態19
に準じた構成とすることも可能であり、やはり、符号化
モードの相関を高めることと、付加情報の増大を抑制す
ることによるビット数削減を図ることができる。また、
図20に示す実施の形態18に準じた構成とすることも
可能であり、各信号に適した符号化を実現しつつ、ビッ
ト数削減を図ることができる。また、実施の形態22〜
24の画像符号化装置で得られた符号化信号は、実施の
形態21による画像復号化装置において適切に復号化が
可能である。また、実施の形態18〜21では入力画像
信号が、画素値情報の他に透過度情報と形状情報とから
構成されるものとし、画素値信号、透過度信号、及び形
状信号への分離を行うこととしているが、実施の形態2
2〜24では入力画像信号を画素値信号と形状信号とに
分離するものとしている。これについては、実施の形態
22〜24においても透過度情報と形状情報とが一致す
る場合には、形状情報のみを用いることが可能であり、
一方、一致しない場合には、ブロック化器の設定により
透過度情報を形状信号とすること、あるいは多値信号で
ある透過度情報を画素値情報とともにあつかうこと、と
することで、形状信号と画素値信号とを得ることができ
る。 【0134】実施の形態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を出力する。 【0135】以上の様に構成された、実施の形態25に
よる画像符号化装置についてその動作を説明する。図3
1は本実施の形態25の画像符号化装置による符号化の
動作の原理を説明するため図である。ここでは説明の簡
略化のために、1画素ずつを順次処理するものとして処
理手順を説明する。図31において、左上画素から右方
向に走査が行われ、右下の方向に符号化がなされものと
する。各画素の画素値は2値の値を有し、斜線の有無で
真偽の値(2値)を表すものとする。また、ここでは、
1ライン目と2ライン目では符号化が完了し、3ライン
目(第1の変化画素が存在するライン)を符号化するも
のとする。 【0136】変化画素は上記のような走査において、画
素値が変化する最初の画素を意味し、符号化済のライン
(走査線)上の変化画素を第2の変化画素、および第3
の変化画素とし、未符号化の走査線上の最初の変化画素
を第1の変化画素とする。従って、第2の変化画素と第
3の変化画素とから、第1の変化画素を予測し、該予測
した第1の変化画素と実際の第1の変化画素との差分値
(予測誤差)を計算すれば予測誤差は0近傍に集中する
分布となるので可変長符号化等を使用して少ないビット
数で効率よく符号化することが可能になる。 【0137】図30において、まず、入力信号201が
装置に入力される。画像入力信号201については通常
のカラー信号(画素値信号)や物体の形状または物体の
合成の比率を表す形状信号とすることができる。入力信
号201は、メモリ202a、及び202bに入力され
て一時記憶される。一方入力信号201は第1の変化画
素検出器204cにも入力され、変化画素検出器204
cは、2値の画素値が変化する画素を検出する。これが
図31の第1の変化画素である。図30において、第1
の変化画素205cは減算器208に入力される。 【0138】一方メモリ202aは、一時記憶した入力
信号201を2ライン分遅延させて参照信号203aと
して変化画素検出器204aに出力し、変化画素検出器
204aは、図31の第2の変化画素205aを検出す
る。同様に、メモリ202bは、一時記憶した入力信号
201を1ライン分遅延させて参照信号203bとして
変化画素検出器204bに出力し、変化画素検出器20
4bは、図31の第3の変化画素を検出する。図30に
おいて、変化画素205a、及び205bは変化画素予
測器207に入力される。 【0139】画像は、一般に水平および垂直方向につい
て相関を有しており、第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とを備えたことで、入力信号を遅延させ
た参照信号より検出した変化画素に基づいて、当該入力
信号の変化画素を予測し、この予測についての誤差を符
号化するものとしたことで、符号化効率の向上を図るこ
とが可能となる。 【0140】実施の形態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と同じである。 【0141】以上の様に構成された、実施の形態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と同様となる。 【0142】このように、本実施の形態26の画像符号
化装置では、メモリ216a〜bと、変化画素検出器2
04と、変化画素予測器207と、減算器208と、符
号化器210とを備えたことで、入力信号より検出した
変化画素をメモリにおいて遅延させることで参照変化画
素を取得し、この参照変化画素に基づいて、当該入力信
号の変化画素を予測し、この予測についての誤差を符号
化するものとしたことで、実施の形態25と同様に符号
化効率の向上を図ることが可能となる。 【0143】実施の形態27.本発明の実施の形態27
による画像符号化装置は、複数の画素からなる2次元画
像信号を入力し、変化画素の予測と検出を行うものであ
り、実施の形態25とは予測に用いる変化画素の取得方
法が異なるものである。本実施の形態27の画像符号化
装置は、実施の形態25による装置と同様の構成であっ
て、説明には図30を用いる。実施の形態25による画
像符号化装置では、図31を用いて説明した通り、符号
化する走査線に対して、直前1ライン、及び2ラインの
走査線における変化画素を予測に用いたものであるが、
本実施の形態27の画像符号化装置では、数ライン前の
走査線における変化画素に基づいて予測を行うものであ
る。 【0144】図33は本実施の形態27の画像符号化装
置による符号化の動作の原理を説明するため図である。
符号化を行う最下部に位置する走査線に対して、7ライ
ン、及び4ライン前の走査線において検出された第2、
及び第3の変化画素に基づき、第1の変化画素が直線上
に存在するものと予測すると、図示する予測変化画素が
得られる。この予測変化画素と、入力信号から当該走査
線において検出された第1の変化画素との予測誤差を用
いて、「予測した変化画素の1画素右」という情報を符
号化することによって、実施の形態25と同様に符号化
効率の向上が図れる。 【0145】本実施の形態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を用いた遅延
時間を変更して、同様の効果が得られる。 【0146】実施の形態28.本発明の実施の形態28
による画像符号化装置は、複数の画素からなる2次元画
像信号を入力し、変化画素の予測と検出を行うものであ
り、実施の形態25とは予測に用いる変化画素の取得方
法が異なるものである。本実施の形態28の画像符号化
装置は、図30に示す実施の形態25による装置と同様
の構成であって、符号化信号211を復号化する復号化
器を備え、この復号化器の出力する符号化及び復号化済
みの信号をいずれかのメモリに出力するものである。実
施の形態25による画像符号化装置では、図31を用い
て説明した通り、符号化する走査線に対して、1ライ
ン、及び2ライン上に位置する走査線における変化画素
を予測に用いたものであるが、本実施の形態28の画像
符号化装置では、符号化及び復号化済みの下位置にある
走査線における変化画素を予測に用いるものである。 【0147】図34は本実施の形態28の画像符号化装
置による符号化の動作の原理を説明するため図である。
符号化を行う走査線(図において、第1の変化画素が存
在するライン)に対して、4ライン上、及び3ライン下
の走査線において検出された第2、及び第3の変化画素
に基づき、第1の変化画素が直線上に存在するものと予
測すると、図示する予測変化画素が得られる。この予測
変化画素と、入力信号から当該走査線において検出され
た第1の変化画素との予測誤差を用いて、「予測した変
化画素の2画素右」という情報を符号化することによっ
て、実施の形態25、及び27と同様に符号化効率の向
上が図れる。 【0148】本実施の形態28の画像符号化装置の動作
については、メモリ202a、及び202bでの一時記
憶による遅延時間が異なる点と、符号化器210が出力
する符号化信号211が復号化されていずれかのメモリ
に入力され、相当する変化画素検出器は、この符号化及
び復号化信号より変化画素を検出する点のみが、実施の
形態25と異なる。このように、本実施の形態28によ
る画像符号化装置では、実施の形態25による画像符号
化装置に符号化信号を復号化して参照画像とする経路を
追加した構成により、同様の効果が得られる。 【0149】実施の形態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と同じである。 【0150】以上の様に構成された、実施の形態29に
よる画像符号化装置について、その動作を説明する。図
36は本実施の形態29の画像符号化装置による符号化
の動作の原理を説明するため図である。実施の形態26
では、検出された第1の変化画素を遅延させて、第2、
及び第3の変化画素を取得するものであった。これに対
して本実施の形態29による画像符号化装置では、第2
の変化画素と第3の変化画素との差を第3の変化画素に
加算して、第1の変化画素の予測値として使用するもの
である。図示するように、第2の変化画素と第3の変化
画素との差は「左へ2画素」であり、第3の変化画素に
この「左へ2画素」を加算することによって、符号化を
行う走査線(図において、第1の変化画素が存在するラ
イン)上で、同図の予測した変化画素が得られる。一方
当該符号化する走査線においては第1の変化画素が検出
され、この検出された第1の変化画素と、上記予測する
変化画素との差である「左へ1画素」を符号化すれば、
実施の形態26と同様の効果が実現できる。 【0151】図35において、入力信号201が本実施
の形態29の画像符号化装置に入力され、変化画素検出
器204によって、2値の画素値が変化する位置が検出
され、この第1の変化画素205がメモリ216と減算
器208とに出力される。メモリ216において、1ラ
イン分遅延された遅延変化画素217は図36における
第3の変化画素である。遅延変化画素217は、加算器
222に入力され、図36における、第2、及び第3の
変化画素の差分に相当する、遅延予測誤差221と加算
され、得られた予測変化画素207が減算器208に出
力される。 【0152】減算器208は、検出変化画素204と予
測変化画素207との差分を予測誤差209として、出
力し、この予測誤差209が符号化器210において符
号化され、符号化信号211が出力される。予測誤差2
09はまた、加算器224において、遅延予測誤差22
1と加算される。この結果得られる遅延予測誤差221
は前述のように第2、及び第3の変化画素の差分に相当
するものであり、メモリ220で一時記憶されることに
よって遅延されて、次回の符号化に用いられる。即ち、
図36においては、次のライン(1つ下のライン)にお
いては、遅延誤差221にである上記「左へ2画素」
と、予測誤差209である上記「左へ1画素」とが加算
された「左へ3画素」が予測値として用いられることと
なる。 【0153】このように、本実施の形態29の画像符号
化装置では、メモリ216、及び220と、変化画素検
出器204と、加算器216、及び220と、減算器2
08と、符号化器210とを備えたことで、入力信号よ
り検出した変化画素と、予測誤差とに対して、遅延処理
と加算処理を実行することによって、実施の形態26と
同様に符号化効率の向上を図ることが可能となる。な
お、実施の形態25〜29の画像符号化装置において
は、いずれも、入力をブロック単位で行い、ブロック単
位で処理することが可能である。 【0154】実施の形態30.本発明の実施の形態30
による画像復号化装置は、実施の形態25による符号化
装置の出力する符号化信号を復号化して、複数の画素か
らなる2次元画像信号を得るものである。図37は本発
明の実施の形態30による画像符号化装置の構成を示す
ブロック図である。同図において、211は入力信号で
あり、実施の形態25による画像符号化装置より出力さ
れる予測誤差の符号化信号(図30の211)である。
230は復号化器であり、符号化信号211を復号化し
て、復号予測誤差231を出力する。232は加算器で
あり、復号予測誤差231と予測変化画素207とを加
算処理して、得られた復号変化画素233を出力する。
234は画素値生成器であり、復号変化画素233と直
前に復号化した変化画素のと間に位置する画素を所定の
画素値、すなわち変化画素とならない画素の画素値とし
て、復号化した画像信号235を生成して出力する。他
の符号は図30と同様であり、説明は実施の形態25と
同様である。以上の様に構成された、本実施の形態30
による画像復号化装置について、その動作を説明する。
符号化信号211が入力されると、予測誤差を符号化し
たこの入力信号211は復号化器230で復号化され
て、その結果得られる復号予測誤差231が加算器23
2に出力される。 【0155】一方、直前に復号化された画像信号235
はメモリ202a、及び202bに入力され、実施の形
態25と同様に、変化画素の予測が行われて、変化画素
予測器206から加算器232に予測変化画素207が
出力される。加算器232は予測変化画素207に対し
て、入力された復号予測誤差231を加算することによ
って、復号変化画素233を取得し、これを画素値生成
器234に出力する。画素値生成器234は、復号変化
画素233と直前に復号化した変化画素のと間に位置す
る画素を所定の画素値、すなわち変化画素とならない画
素の画素値として、復号化した画像信号235を生成し
て出力する。このように、本実施の形態30による画像
復号化装置は、メモリ202a〜bと、変化画素検出器
204a〜bと、変化画素予測器207と、復号化器2
30と、加算器232と、画素値生成器234とを備え
たことで、予測変化画素と、復号予測誤差とを用いて、
復号変化画素を得て、これに基づいて復号画像信号23
5を得るので、実施の形態25による符号化信号を適切
に復号処理することができる。なお、本実施の形態30
では、実施の形態25の画像符号化装置による符号化信
号を復号化するものとしたが、実施の形態27、及び2
8による画像符号化装置によって得られた符号化信号を
も同様に復号化することができる。 【0156】実施の形態31.本発明の実施の形態31
による画像復号化装置は、実施の形態26による符号化
装置の出力する符号化信号を復号化して、複数の画素か
らなる2次元画像信号を得るものである。図38は本発
明の実施の形態31による画像符号化装置の構成を示す
ブロック図である。同図において、復号化器230、加
算器232、及び画素値生成器234は図37と、他は
図32と同様であり、説明は実施の形態30、及び26
と同様である。 【0157】以上の様に構成された、本実施の形態31
による画像復号化装置について、その動作を説明する。
符号化信号211が入力されると、予測誤差を符号化し
たこの入力信号211は復号化器230で復号化され
て、その結果得られる復号予測誤差231が加算器23
2に出力される。一方、直前に復号化された復号変化画
素233はメモリ216aに入力され、実施の形態26
と同様に、変化画素の予測が行われて、変化画素予測器
206から加算器232に予測変化画素207が出力さ
れる。以降の処理は、実施の形態30の場合と同様であ
る。このように、本実施の形態31による画像復号化装
置は、メモリ216a〜bと、変化画素予測器207
と、復号化器230と、加算器232と、画素値生成器
234とを備えたことで、予測変化画素と、復号予測誤
差とを用いて、復号変化画素を得て、これに基づいて復
号画像信号235を得るので、実施の形態26による符
号化信号を適切に復号処理することができる。 【0158】実施の形態32.本発明の実施の形態32
による画像復号化装置は、実施の形態29による符号化
装置の出力する符号化信号を復号化して、複数の画素か
らなる2次元画像信号を得るものである。図39は本発
明の実施の形態32による画像符号化装置の構成を示す
ブロック図である。同図において、復号化器230、加
算器232、及び画素値生成器234は図37と、他は
図35と同様であり、説明は実施の形態30、及び29
と同様である。 【0159】以上の様に構成された、本実施の形態32
による画像復号化装置について、その動作を説明する。
符号化信号211が入力されると、予測誤差を符号化し
たこの入力信号211は復号化器230で復号化され
て、その結果得られる復号予測誤差231が加算器23
2に出力される。一方、直前に復号化された復号変化画
素233はメモリ216に入力され、実施の形態29と
同様に、変化画素の予測が行われて、加算器222から
加算器232に予測変化画素207が出力される。以降
の処理は、実施の形態30の場合と同様である。 【0160】このように、本実施の形態31による画像
復号化装置は、メモリ216、及び220と、加算器2
24、222、及び232と、復号化器230と、画素
値生成器234とを備えたことで、予測変化画素と、復
号予測誤差とを用いて、復号変化画素を得て、これに基
づいて復号画像信号235を得るので、実施の形態29
による符号化信号を適切に復号処理することができる。
なお、実施の形態25〜29のいずれかの画像符号化装
置において、ブロック単位での符号化が行われていた場
合、実施の形態30〜32の画像復号化装置において、
ブロック単位での符号化信号を入力とし、ブロック単位
で処理を行うことにより、適切に処理を行うことができ
る。 【0161】実施の形態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による画像符号化装置では、予測誤差の符号
化と、変化画素の位置を示す画素数の符号化とを行い得
るものである。又、変化画素自体(位置)の符号化を行
うことにより、変化画素の個数が変化して、予測が困難
又は不可能となって、予測誤差の符号化が困難又は不可
能となる場合にも、符号化の実行が可能となるものであ
る。 【0162】以上の様に構成された、実施の形態33に
よる画像符号化装置についてその動作を説明する。図4
1は本実施の形態33の画像符号化装置による符号化の
動作の原理を説明するため図である。第2、及び第3の
変化画素からの第1の変化画素の予測は、実施の形態2
5の場合と同様である。そして本実施の形態33では、
予測変化画素を中心として、あらかじめ定められた値に
応じた予測範囲を設定する。そして、検出した第1の変
化画素が、この予測範囲にあるか否かにより、符号化の
切り替えを行うものであって、予測範囲にあれば予測誤
差を、予測範囲になければ、第1の変化画素を符号化す
る。 【0163】また、本実施の形態33では、第3の変化
画素は符号化及び復号化済みのものであるので、第1の
変化画素を符号化するためには、第3の変化画素と、第
1の変化画素との走査順番の差、すなわち、その間に存
在する画素数を符号化すれば良いこととなる。そして、
その間の画素のうち、上記の予測範囲に位置するものに
ついては、予測誤差により符号化されるものであり、除
去することが可能である。従って、第1の変化画素を符
号化するには、上記変化画素の差より、予測範囲の画素
を除いたものを符号化すれば良いこととなる。 【0164】例えば、同図における変化画素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の位置を示す情報とし
て符号化されることとなる。 【0165】入力信号201が本実施の形態33の画像
符号化装置に入力された後、メモリ202a、及び20
2bによる遅延から、減算器208による予測誤差20
9の取得までは、実施の形態25と同様に行われ、符号
化器210によって、予測誤差209の符号化信号24
7が得られる。実施の形態25ではこの符号化信号が出
力される符号化信号であったが、本実施の形態33で
は、符号化信号247はスイッチ246に出力される。
また、予測誤差209は、符号化器242と、比較器2
44とにも出力される。 【0166】一方、変化画素検出器204bで検出され
た第3の変化画素205bと、変化画素検出器204c
で検出された第1の変化画素105cとは、減算器24
0に出力され、その差分として、両者の間に存在する画
素数241が取得されて符号化器242に出力される。
符号化器242は、入力された差分241と予測誤差2
09とから、予測範囲に存在する画素を除外した画素数
符号化信号243を得て、これをスイッチ246に出力
する。比較器244は、入力された予測誤差について、
予測範囲にあるか否かを判定し、予測範囲にある場合は
スイッチ246において、予測誤差符号化信号247を
出力211とするように、又、予測範囲にない場合には
スイッチ246において、画素数符号化信号243を出
力211とするように、信号245をによって制御を行
う。 【0167】このように、本実施の形態33による画像
符号化装置では、実施の形態25による画像符号化装置
に基づいて、減算器240と、画素数の符号化器242
と、比較器244と、スイッチ246とを備えた構成と
したことで、予測誤差が定められた範囲内にあるとき
は、予測誤差の符号化信号を、範囲外にあるときは、画
素数の符号化信号を、出力する符号化信号とするので、
予測誤差が大きな場合は、変化画素の個数の変動によ
り、変化画素の予測ができない場合にも、符号化効率が
低下することを防止して、適切な符号化を実行すること
が可能となる。 【0168】実施の形態34.本発明の実施の形態34
による画像復号化装置は、実施の形態33による符号化
装置の出力する符号化信号を復号化して、複数の画素か
らなる2次元画像信号を得るものである。図42は本発
明の実施の形態34による画像符号化装置の構成を示す
ブロック図である。同図において、250はモード復号
化器であり、入力信号について予測誤差が符号化された
信号であるか、変化画素の位置(画素数)が符号化され
た信号であるかを判定し、符号化モード251を出力す
る。256は画素数復号化器であり、入力信号255を
復号化して復号化画素数257を出力する。258は加
算器であり、予測変化画素205bと復号画素数257
とを加算処理して、復号変化画素259を出力する。2
52と260とはスイッチであり、モード復号化器25
0の出力する符号化モードに対応して、入力信号と出力
信号についての切り替えを行う。他の符号は図30と同
様であり、説明は実施の形態25と同様である。以上の
様に構成された、本実施の形態34による画像復号化装
置について、その動作を説明する。符号化信号211が
入力されると、まずモード復号化器250によって、予
測誤差を符号化したものであるか、画素数を符号化した
ものであるかが判定され、その判定の結果により「予測
誤差」、又は「画素数」の符号化モードが出力され、ス
イッチ252と260との切り替えを制御する。 【0169】予測誤差が符号化されていた場合の動作
は、実施の形態30と同様となる。一方、画素数が符号
化されていた場合、スイッチ252を切り替えることに
よって、入力信号211は、復号化器256によって復
号化され、変化画素の差である画素数が復号化されて、
この復号画素数257が加算器258に出力される。加
算器258においては、復号画素数257が直前に復号
化されて得られた復号画像信号235に基づいて予測さ
れた予測変化画素と加算され、復号変化画素259が得
られる。いずれにしても、復号変化画素261に基づい
て、実施の形態30と同様に復号画像信号235が出力
される。このように、本実施の形態34による画像復号
化装置では、実施の形態30による画像復号化装置に基
づいて、モード復号化器250と、加算器258と、画
素数の復号化器256と、スイッチ252、及び260
とを備えた構成としたことで、モード復号化器250が
取得する符号化モードに対応して、スイッチ252、及
び260が切り替えられ、適切な復号化が選択的に行わ
れるので、実施の形態33において符号化された符号化
信号を適切に復号化することができる。 【0170】実施の形態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にす
ることとすれば、モード切り替えが適切に行えるので、
同実施の形態による符号化効率の向上が実現できる。 【0171】このように、本実施の形態35による画像
符号化装置、及び画像復号化装置では、実施の形態33
による画像符号化装置、又は実施の形態34による画像
復号化装置において、予測範囲の大きさを、画像信号の
大きさに対応して変更できるものとしたことで、サブサ
ンプルする場合にも、切り替えを適切に行って、符号化
効率の向上を図ることが可能となる。 【0172】実施の形態36.本発明の実施の形態36
による画像符号化装置は、物体の形状をあらわす形状信
号を符号化するものであって、画像信号より有意領域を
抽出して、効率的な符号化を行うものである。図44は
本発明の実施の形態36による画像符号化装置の構成を
示すブロック図である。同図において、401は入力信
号である2次元の形状信号である。402は有意領域抽
出器であり、入力形状信号401から有意領域を抽出し
て、有意領域信号403を出力する。404はブロック
化器であり、入力形状信号401をブロック化して、ブ
ロック化形状信号405を出力する。408はスイッチ
であり、有意領域信号403に対応して切り替えを行
う。412はブロックサイズ変更器であり、有意領域信
号403に対応して、ブロックの大きさを変更して、変
更したブロック化形状信号413を出力する。418、
及び414は符号化器であり、それぞれ有意領域信号4
03と、ブロック化形状信号413を符号化して符号化
信号419、及び415を出力する。 【0173】以上の様に構成された、本実施の形態36
による画像符号化装置についてその動作を説明する。2
次元形状信号である入力信号401が、本実施の形態3
6の画像符号化装置に入力され、有意領域抽出器402
と、ブロック化器404とに入力される。有意領域抽出
器402は、有意領域の範囲を検出して、有意領域信号
403をスイッチ408、ブロックサイズ変更器41
2、及び符号化器418に出力する。 【0174】図45は本実施の形態36の画像符号化装
置による符号化の動作の原理を説明するための図であ
る。斜線で示す部分が物体の内部の画素、すなわち有意
な画像信号が存在する画素であり、斜線部を包含する最
小の矩形、すなわち同図の太線で示す矩形が有意領域の
範囲に相当する。ブロック化器405は入力された形状
信号をブロック化して、ブロック化形状信号405をス
イッチ408に出力する。ここで、スイッチ408は、
有意領域信号403が示す有意領域の範囲に、ブロック
化形状信号405が相当するときに0Nの状態となる。
すなわち有意領域以外の場合には、ブロック化形状信号
は符号化処理をされない。スイッチがONであるとき
は、ブロック化形状信号405は、ブロックサイズ変更
器412に入力され、ブロックサイズ変更器412に入
力された有意領域信号403に対応して、有意領域を含
む最小ブロックにサイズを変更され、該変更された形状
信号413が符号化器414に出力され、符号化されて
形状信号の符号化信号415とされる。一方、有意領域
の範囲を示す有意領域信号も符号器418において符号
化され、符号化信号419が出力される。このように、
本実施の形態36による画像符号化装置では、有意領域
検出器102と、ブロックサイズ変更器412を備えた
ことで、有意領域の範囲を検出し、有意領域の範囲の内
部のみ形状信号を符号化するように形状信号のブロック
サイズを変更するので、有意領域の範囲外を符号化する
ことがなくなり形状信号の符号化効率が向上する。 【0175】実施の形態37.本発明の実施の形態37
による画像復号化装置は、実施の形態36による符号化
装置の出力する符号化信号を復号化して、2次元形状信
号を得るものである。図46は本発明の実施の形態37
による画像復号化装置の構成を示すブロック図である。
同図において、419、及び415は実施の形態36の
画像符号化装置より出力される符号化信号である。42
0は有意領域信号の復号化器、422は形状信号の復号
化器であり、それぞれの入力信号を復号化して、復号有
意領域信号421、最小ブロック化復号形状信号423
を出力する。430はブロックサイズ変更器であり、復
号有意領域信号421に対応して、ブロックの大きさを
変更して、変更した復号ブロック化形状信号431を出
力する。426はスイッチであり、有意領域信号421
に対応して切り替えを行う。432は逆ブロック化器で
あり、ブロック化形状信号427を統合して、復号形状
信号433を出力する。 【0176】以上の様に構成された、本実施の形態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で符
号化した符号化信号を正しく復号化することができる。 【0177】実施の形態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とに分離して出力する。 【0178】以上の様に構成された、本実施の形態38
による画像符号化装置についてその動作を説明する。入
力信号1が、本実施の形態38の画像符号化装置に入力
され、まず分離器において、画像信号301a、及び3
01bに分離される。ここで、信号301aは優先的に
選択された信号であって符号化器302に入力され、他
方の信号301bは第2の分離器306に出力される。
図48は本実施の形態38の画像符号化装置による符号
化の動作の原理を説明するための図である。図48(a)
において、実線の丸印の画素が画像信号301aに対応
し、破線の丸印の画素が画像信号301bに対応する。
また、図48は2値画像信号のモデルであり、斜線は真
値を示し、斜線がない丸印は偽値を表すものとする。符
号化器302は優先度の高い画像信号301aを符号化
して、得られた符号化信号303aを符号化出力とする
とともに、復号化器330にも出力する。 【0179】復号化器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を予測に基づいて再生した場合の画
質劣化が少ないこととなり、望ましい階調符号化が行い
得る。 【0180】従って、予測確率計算機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を備えたことで、予測確率の低い画素から優先的に符
号化することにより、画質劣化の少ない階層的な符号化
を付加情報なしで実現することが可能になる。 【0181】実施の形態39.本発明の実施の形態39
による画像復号化装置は、実施の形態38による符号化
装置の出力する符号化信号を復号化するものである。図
49は本発明の実施の形態39による画像復号化装置の
構成を示すブロック図である。同図において、303a
〜cは実施の形態38の画像符号化装置より出力される
符号化信号であり、310、316a、及び316bの
復号化器により、復号化され、復号信号311、317
a、及び317bとして出力される。320は予測器で
あり、画像信号311に基づいて画像信号を予測し、予
測画像信号321を出力する。312は予測確率計算器
であり、入力された予測画像信号331についての予測
確率を計算し、確率値313を出力する。322はスイ
ッチであり、確率値313に対応して切り替えを行う。 【0182】以上の様に構成された、本実施の形態39
による画像復号化装置についてその動作を説明する。符
号化信号303a〜cがそれぞれ復号化器310、31
6a、及び316bに入力され、復号化される。信号3
03aは復号化されて、復号化画像信号311は出力復
号化信号となるとともに、予測確率計算機312、及び
予測器320にも入力される。 【0183】予測器320は復号化した画像信号311
から優先度の低い画像信号321の画素値を予測する。
予測確率計算器312は、予測した画像信号321の予
測確率を計算し、各画素が復号化器316aもしくは3
16bのいずれで復号化されるべきかを判断する。ま
た、予測確率計算器312は外部から入力された優先順
位309を参照して、優先順位の低い符号化信号が伝送
または記録されているかどうかを判定する。伝送又は記
録されていないと判定すれば、符号化されていない画素
の画素値は復号化信号323として予測した画像信号3
21を出力するようにスイッチ322を切り替えるよう
制御する。また、復号化された画素については、スイッ
チ322で画像信号311、317a、または317b
のいずれか1つが選択されて、装置の出力する復号化信
号323とされる。このように、本実施の形態39によ
る画像復号化装置では、復号化器310、316a、及
び316bと、予測確率計算器312と、予測器320
とを備えたことで、予測確率と優先順位に対応した復号
化を行うので、実施の形態38による画像符号化装置で
符号化された符号化信号を適切に復号化することができ
る。 【0184】実施の形態40.本発明の実施の形態40
による画像符号化プログラム記録媒体、及び画像復号化
プログラム記録媒体は、コンピュータ等において、実施
の形態1〜39の画像符号化装置、又は画像復号化装置
を実現するものである。図50はプログラムを記録する
記録媒体の一例であるフロッピー(登録商標)ディスク
を示すものであり、図51は記録された画像符号化プロ
グラムの、図52は画像復号化プログラムの処理手順を
示すフローチャート図である。図50に示すフロッピー
ディスクに記録された、図51に示す画像符号化プログ
ラムは、パーソナルコンピュータやワークステーション
等において実行させることにより、実施の形態2による
画像符号化装置を実現する。同様に、図50に示すフロ
ッピーディスクに記録された、図52に示す画像復号化
プログラムは、パーソナルコンピュータやワークステー
ション等において実行させることにより、実施の形態3
の画像復号化装置を実現する。この場合、同実施の形態
において、図6を用いて説明した、変化画素復号化処理
の後にスイッチによる選択を行うタイプのものとなる。 【0185】このように、本実施の形態40によるプロ
グラム記録媒体は、画像符号化プログラム、又は画像復
号化プログラムを記録したものとしたことで、一般的な
パーソナルコンピュータ等のコンピュータシステムにお
いて、本発明の画像符号化装置、又は画像復号化装置を
実現することが可能となる。なお、本実施の形態40で
は、実施の形態2の画像符号化装置と、実施の形態3の
画像復号化装置を実現するプログラムを記録したものと
したが、他の実施の形態による装置も同様に実現可能で
ある。また、本実施の形態40では、記録媒体としてフ
ロッピーディスクを示したが、ICカード、CD−RO
M、光ディスク、カセットテープ等の、プログラムを記
録できる媒体であれば、同様に実施することができる。 【0186】 【発明の効果】以上のように本発明係る画像伝送方法
によれば、物体の形状を示す形状情報と、物体を構成す
る各画素のカラー情報である画素値情報とを含む画像信
号の、符号化信号である画像符号化信号を伝送する画像
伝送方法であって、所定数の画素からなるブロックに対
応するようブロック化された形状情報,及び画素値情報
に対する符号化モードを識別する、符号化された識別情
報を、上記画像符号化信号に含めて伝送するデータ伝送
ステップを含み、上記形状情報,及び画素値情報のそれ
ぞれに対応する符号化モードはそれぞれ、画面内符号化
モードと画面間符号化モードのいずれか一方の符号化モ
ードであることを特徴とするので、形状情報及び画素値
情報のそれぞれの符号化モードを画面内符号化モードと
するかあるいは画面間符号化モードとするかを、形状情
報と画素値情報とで個別に切り換えることができる符号
化処理に対応する復号化処理を、上記各情報に対する符
号化モードを識別する低ビットレートの識別情報に基づ
いて適切に行うことができる。 【0187】
DETAILED DESCRIPTION OF THE INVENTION [0001] The present invention relates to an image transmission method.
And the encoding process is particularly efficient.
The information to properly decode the decoded image data
It is about the method. [0002] 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, ISO MPEG1 / 2
Has been established. The image encoding method can be roughly classified into orthogonal
Encoding method using transform and prediction using prediction function
There is a predictive coding method for coding an error with a value. Orthogonal
Although the encoding method by transform is complicated in calculation,
When obtaining a coded signal with the number of bits,
High quality coding can be performed. JPEG, MPEG, etc.
DCT (discrete code)
Sign conversion). Less with DCT
It is known that it can be encoded by the number of bits.
High precision multiplication is required, and the calculation becomes complicated.
The problem is that reversible encoding is not possible. Therefore,
DCT operation cannot be used in fields where inversion is required.
It is supposed to be. On the other hand, predictive coding is easy to calculate.
And that reversible encoding is also possible.
You. Facsimile is a reversible image coding method.
MMR (Modified Modified Read) used in millimeters
Is famous. This is CCITTRec.T6 "Facsimilie Codi
ng Schemes and Coding Control Functions for Group
4 Facsimile Apparatus "
Change point of the pixel value of the immediately preceding scan line
The difference value in the horizontal direction from the pixel change point of the
This is a method of performing variable length coding. In addition, this MMR is further improved
MMMR (Modified MMR) is used as an evaluation model for MPEG4.
(ISO / IEC JTC / SC29 / WG11N1277, July
 1996). On the other hand, an image signal is separated for each object and separated.
If the image signal is handled with the shape of each object as an arbitrary shape,
Images can be manipulated and composited on an object-by-object basis, improving efficiency
Signal transmission. Also, the number of bits
For applications that are restricted, using this information
Transmission and recording of important objects selectively
Is also possible. However, in the prior art, any shape
Coding of objects with shape is not considered
Was. An image signal having an arbitrary shape in ISO MPEG4
Standardization of signal coding is in progress. MPEG4 now VM
3.0 (described in ISO / IEC JTC1 / SC29 / WG11 N1277)
Evaluation model is created, which has an arbitrary shape
Known to be able to encode image signals
This is the only image coding method. [0005] An image signal of an arbitrary shape generally has the shape of an object.
Shape information indicating the shape and the pixel value that is each pixel value inside the object
Information (color information). And shape information
As a report, each pixel value is significant (inside the shape)
Binary shape information indicating whether it is insignificant (outside the shape)
Or the ratio of each pixel when combining with other images (object
Using the transparency information, which is the ratio of hiding the background)
it can. Also, there are only two types of transmittance, 0% and 100%.
The shape information and the transparency information match, so
Represents an image signal of an arbitrary shape with two pieces of shape information and pixel value information
it can. FIG. 53 is a diagram for explaining such information.
It is. The image of the fish shown in FIG. 53 (a) is combined with another image.
When using each pixel of this image as what ratio
Transparency information indicates whether or not the images are combined. 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
Defines a transparency of 0 as completely transparent for convenience.
Therefore, outside the fish, the value of the transparency information is 0,
Then, the inside of the fish becomes a non-zero value. Therefore, two kinds of transmittance, 0 and non-zero, are used.
FIG. 53 (c) shows the transparency information binarized.
In FIG. 53 (c), pixels having a non-zero transmittance are symbols of pixel value information.
However, the pixel value information of a pixel having a transparency of 0 is not
It is important to encode the pixel value information
The transmitted transmittance information is very important. On the other hand, FIG.
The components of transparency information that cannot be represented by binary information as shown in
Is multi-valued information called gray scale.
Shape information expressed as multi-valued information is pixel value information
Waveform encoding similar to the above. In image coding, spatial correlation is used.
Based on intra-frame (frame) coding and temporal correlation
Use and use inter-frame (frame) coding
Or to be done. Of these, inter-screen coding is performed.
In this case, the motion on the adjacent screen is detected and
Motion compensation is performed for the current moment. One for motion compensation
Generally, a motion vector is used. In VM3.0 mentioned above,
Intra- and inter-screen coding adaptively in block units
Switching, performs motion compensation similar to that of MPEG1 / 2, and
The rate is being improved. As described above, the shape information and the pixel value information
Used to encode images when encoding
For shape information, use motion vector of pixel value information
And then perform motion compensation coding of the shape information,
ISO encoding is more efficient than tangent encoding
/ IEC JTC1 / SC29 / WG11 N1260 Reported in March 1996
You. Also, when performing motion detection and motion compensation, the shape information
Is separated into a binary shape information component and a multi-valued information component.
The value information component performs the same waveform encoding together with the pixel value information.
Is considered to be efficient and treated as such
Was. [0010] SUMMARY OF THE INVENTION As described above,
Technology-based image coding and associated image decoding
Has the following problems. As mentioned above
In addition, MMR coding is a typical example of lossless coding.
However, because it is reversible, it is not visually important.
Greatly improves the compression ratio by allowing for poor image quality
It is impossible to do. In addition, MMR encodes in-screen
This is a method of improving the compression ratio using correlation between screens.
Not considered. And MMR and its improvement method
In an MMMR, the change point of the current scan line
Only the difference from the change point is used, and the vertical straight line
Redundancy of connection (correlation) has not been sufficiently removed
No. Therefore, if the pixel value changes along the scan line,
Encode if coding efficiency is good but not along scanline
Efficiency gets worse. Also, MMR or MMMR is the change of the immediately preceding scan line.
Encode a pixel that cannot be encoded as the difference value
Horizontal coding mode that does not use vertical correlation at all.
Have a code. This horizontal encoding mode is also
There is room for further efficiency improvement by using correlation.
You. Further, in the conventional MMR and MMMR, some
Hierarchically by decoding the stream
Cannot be played back, and hierarchical image playback is possible
In other methods, the coding efficiency is not good,
Has the disadvantage of increasing the number of images, enabling effective hierarchical image playback.
Does not exist. Also, the shape information and
When encoding an image consisting of image information by motion compensation
Conventionally, the same motion vector as image information is used for shape information.
Motion compensation using torque, but for example, the sphere rotates
Shape, the shape does not change, but the shape drawn on the sphere is
In general, motion vectors and shapes of image information
It does not match the motion vector of the state information. Therefore such a place
That good coding cannot be performed
Was a problem. Also, as described above, in VM3.0,
Adaptive switching between coding and inter-screen coding in block units
To improve coding efficiency, but within the screen / screen
Judgment for inter-coding is adaptive switching in MPEG1 / 2
As in the case of, it is determined based on the pixel value information,
Appropriately and appropriately form information whose properties differ greatly from pixel value information
It has been difficult to code efficiently. The present invention
This has been done in view of the
Image that enables appropriate decoding of the encoded signal
It is an object to provide an image transmission method. [0013] Means for Solving the Problems The present inventionToSuch image transmission method
The law isIndicates the shape of the objectShape information and, Each object
Pixel color informationImage signal including pixel value information
Is an encoded signal ofImage transmission for transmitting image encoded signals
Sending method,Supports blocks consisting of a predetermined number of pixels
To doBlocked shape information and pixel value information
Encoded identification information that identifies the encoding mode for
Is included in the image coded signal and transmitted.
Each of the above shape information and pixel value information
Encoding mode corresponding toToRespectively,In-screen encoding mode
Mode or inter-screen coding mode
Is characterized byThings. [0014] [0015] BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, embodiments of the present invention will be described.
Will be explained. Embodiment 1 FIG. Image coding according to Embodiment 1 of the present invention
The device performs a predetermined range in performing the predictive coding.
By selecting a difference value with a short coding length within the box,
It performs rate coding. FIG. 1 shows an embodiment of the present invention.
FIG. 3 is a block diagram showing a configuration of an image encoding device according to Embodiment 1.
is there. In the figure, reference numeral 1 denotes an input signal, which is a binary image
The signal is input to the image encoding device as a signal. 2 is a change pixel
Detector whose pixel value changes with respect to input signal 1
Is detected and output as a detected change pixel. 3 is
Encoding and decoding that is a memory and used as a reference image
The stored image signal is temporarily stored. 4 is change pixel prediction
The pixel value of the reference image changes based on
To predict the changed pixel output from the changed pixel detector 2,
Output the measured change pixel. The prediction that the change pixel predictor 4 can use
As a measurement method, for example, the vertical direction of a two-dimensional image signal is
Based on strong correlation, same as the change pixel of the upper scan line
Typical prediction method for predicting that there is a changing pixel at the horizontal position
Etc. can be used. Numeral 5 is a difference value calculator.
Value of the changed pixel detected by the transformed pixel detector 2 and the difference value of the predictor 4
Calculate D. 6 is preset as a rounding error tolerance.
Is the value e given to the difference value rounder. 7 is the difference value
It is a rounder, within the range defined by the tolerance e.
Then, the difference value D is corrected, and a corrected difference value D ′ is output.
Reference numeral 8 denotes an encoder, which encodes a difference value. 9 is encoding
This is an encoded signal output from the device 8. 11 is the difference value addition
A modified difference value D ′ output from the difference rounder 7,
Add the predicted changed pixel output from the changed pixel predictor 4
You. Reference numeral 10 denotes a changing pixel decoder, and a difference value adder 11
Decodes the binary pixel value using the addition result output from
You. According to the first embodiment configured as described above.
The operation of the image encoding apparatus will be described. Binary
When an input signal 1, which is an image signal, is input to the device, a change occurs.
The pixel detector 2 receives an input signal 1 as an input and outputs a binary pixel value.
Are detected. On the other hand, the change pixel predictor 4
The reference image stored in the memory 3 is read out, and the input
Predict the changing pixels in the signal. The changed pixel detector 2 detects
The output result is output to the difference value calculator 5 as a detected change pixel.
Then, the changed pixel predictor 4 regards the result of the prediction as a predicted changed pixel.
And outputs it to the difference value calculator 5. And the difference value calculator
5 subtracts the predicted change pixel from the detected change pixel, and
The difference value D corresponding to the raw prediction error is obtained. Difference value meter
The arithmetic unit 5 outputs the difference value D to the difference value rounding unit 7. The difference value rounder 7 is provided with a preset value.
The allowable value e and the prediction error output from the difference value calculator 5
The difference value D corresponding to the difference is compared with the difference value D, and the difference value D becomes the allowable value e.
If it does not exceed the value x, the value x satisfies D-e ≦ x ≦ D + e.
Is the smallest number of bits when the value x is encoded
And outputs it as a modified difference value D '
You. On the other hand, the difference value D corresponding to the prediction error is
If the difference exceeds the value e, the corrected difference value is calculated based on the allowable value e.
D ′ is obtained and output to the encoder 8. And fix
The difference value D ′ is encoded by the encoder 8 and
Become. The corrected difference output from the difference value rounder 7
The value D ′ is also output to the difference value adder 11. Addition of difference value
The modified difference value D ′ of the change pixel predictor 4
The pixel is added by adding the predicted change pixel to be output.
The changing pixel of the value is calculated and the result is the changing pixel decoder 1
Output to 0. The changing pixel decoder 10 performs the changing pixel prediction.
From the decoded pixel indicated by the output of the measuring instrument 4, a difference value adder
11 to the input change pixel.
Then, the pixel value is decoded and stored in the memory 3. This
As a result, the content stored in the memory 3 is used as a reference image.
You. The above operation will be specifically described with reference to FIG.
I do. FIG. 2 shows each pixel value as a model of a binary image signal.
It is represented as a rectangle of white and black (fine diagonal lines)
Here, for simplicity of explanation, one pixel at a time is sequentially processed.
The processing procedure will be described. Figure 2 (a) shows the input signal
Scans from the upper left to the right and moves to the lower right
Processing shall proceed. On one line (scanning line)
The pixel whose pixel value changes (white → black or black → white)
It is a changed pixel. Pc in FIG. 2B is the last pixel that has been encoded,
u is the change pixel in the upper scan line, and
Shaded area indicates pixels that have not been encoded yet
And The changing pixel detector 2 receives the input signal shown in FIG.
Of the unencoded part shown in FIG. 2 (b)
To determine the changing pixel whose pixel value changes,
P1 is detected, and this is used as a detected change pixel.
Output to On the other hand, the change pixel predictor 4 uses the above-described method.
Therefore, the change pixel is predicted, and the change pixel Pu of the scanning line at the upper position is predicted.
Predict pixel P0 as if it were at the same horizontal position as
This is output to the difference value calculator 5 as a predicted change pixel. difference
The value calculator 5 calculates the detected change pixel P1 and the predicted change pixel P0
D = 1 is output to the difference rounder 7 as the difference value of. here
Then, the settings of the image encoding device according to the first embodiment include:
A code with a shorter code length is assigned as the difference value from P0 is smaller.
Encoding. And the rounding error tolerance e
It is assumed that 1 has been given. To the difference value calculator
Since the difference between P1 and P0 is less than or equal to e,
The difference value rounder 7 outputs
D "= 0. As a result, the changed pixel is rounded,
Because the pixel is subjected to the decoding process, the encoded and decoded pixel values
Is as shown in FIG. On the other hand, the input signal is shown in FIG.
If it is, the prediction change is performed as shown in FIG.
The difference value D indicated by the difference between the conversion pixel P0 and the detection change pixel P1 is 2
In this case, the difference value D exceeds the allowable value e.
Become. Therefore, the difference value rounder 7 calculates the prediction error (difference value)
To avoid exceeding the allowable range.
And the difference value -1 corresponding to the changed pixel P2 is output.
Power. As a result, the encoded and decoded pixel values are
It looks like 2 (f). Thus, the image of the first embodiment is
The image coding apparatus includes a difference value rounder 7 and detects
The difference value between the changed pixel and the predicted changed pixel is
Using the tolerance 6 obtained, the prediction error less than the tolerance is used.
And the corrected difference value that minimizes the code length of the error (difference value)
Is selected, and this is output.
In some cases, greatly reduce the number of bits required for encoding
be able to. Further, the image encoding apparatus according to the first embodiment
The encoded signal 9 obtained in
The decoding process is possible in the device. Embodiment 2 FIG. According to Embodiment 2 of the present invention
Image encoding device based on the prediction by the frame
Prediction with motion compensation by coding and reference frame
That performs processing by adaptively switching between encoding based on
It is. FIG. 3 is a diagram showing image coding according to the second embodiment of the present invention.
FIG. 2 is a block diagram illustrating a configuration of the device. In the figure, 2
0 is a motion compensator, which is a coded and decoded reference frame.
Motion compensation for the image signal of
To achieve. Reference numeral 21 denotes a mode selector, which is an image of the frame.
The difference value when the prediction based on the image signal is performed and the reference frame
And the difference value when prediction is performed based on the
The number of bits required for encoding is small.
Select the one without the encoding mode. 22 is switching
To the encoding mode selected by the mode selector 21.
Select and output the corresponding difference value. About symbols 1-9
1 and the description is the same as that of the first embodiment.
Since there is, it is omitted here. The image of the second embodiment thus configured is
The operation of the image encoding device will be described. Binary image
When an input signal 1, which is a signal, is input to the apparatus, the input signal
1 is input to the change pixel detector 2 and the memory 3
Is also input to the memory 3 and stored in the memory 3.
Coded and decoded reference in the frame
Used as an image. The change pixel detector 2 receives the input signal 1
Is used as an input to detect a pixel whose binary pixel value changes
You. The changed pixel detector 2 uses the detection result as a detected changed pixel.
And outputs it to the difference value calculators 5a and 5b. On the other hand,
The coded pixel predictor 4a calculates the corresponding frame stored in the memory 3.
Read the encoded and decoded reference image of
The change pixel is predicted based on the force signal, and the result is predicted and changed.
It is output to the difference value calculator 5a as a converted pixel. And the difference
The value calculator 5a subtracts the predicted change pixel from the detected change pixel.
To obtain the difference value D. Output D of difference value calculator 5a
Is based on the encoded and decoded pixels in the frame.
Is equivalent to the prediction error of the changed pixel
The difference value calculator 5a uses the difference value D as a mode selector
21 and a switch 22. The motion compensator 20 is stored in the memory 3
Motion compensation is performed on the encoded and decoded images of the reference frame.
The change pixel estimator 4b compensates for this motion-compensated image.
The change pixel of the input signal is predicted based on the
The result is output to the difference value calculator 5b as a predicted change pixel.
The difference value calculator 5b calculates a predicted change pixel from the detected change pixel.
Subtraction is performed to obtain a difference value D ". Output of the difference value calculator 5b
D "is based on the encoded and decoded pixels in the reference frame.
To the prediction error of the changed pixel predicted with motion compensation.
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 includes a difference value calculator 5a,
Difference value D and difference value D "input from
The code length when encoding each (bits required for encoding)
Number of bits), and can be encoded with fewer bits.
Measurement method and use that identification signal as the encoding mode
Output. When the mode selector 21 encodes the difference value D
If it is determined that the code length of the
The code length when encoding the frame "" and the difference value D "is short
If it is determined that the encoding mode "reference frame",
It outputs to the switch 22 and the encoder 8a. The switch 22 is the output of the mode selector 21
Corresponding to the encoding mode "the frame",
The difference value D output from the value calculator 5a is converted into an encoding mode
If it is a "reference frame", the difference value calculator 5b outputs
The difference value D "is output to the encoder 8b. The encoder 8a
The encoding mode selected by the mode selector 21 is encoded,
The encoder 8b encodes the output difference values, and
And output as encoded signals 9a and 9b. Of this implementation
Encoding by the image encoding apparatus according to mode 2 involves rounding errors.
Lossless coding, and the input image
The signal 1 is a pixel value which is coded and decoded up to the change pixel.
And stored in the memory 3. The above operation will be specifically described with reference to FIG.
I do. FIG. 4 is used for explanation in the first embodiment.
Each pixel value is represented as a model of a binary image signal as in FIG.
It is represented by white and black rectangles, and here also the embodiment
Similarly to 1, for simplicity of description, one pixel at a time
The processing procedure will be described as processing. Smell
4 (a) is an input signal, and FIG. 4 (b) is an image of a reference frame.
Signal. FIG. 4C illustrates prediction based on the frame.
It is a figure for clarification. P1 is the same as in the first embodiment.
It is a detection change pixel detected by the conversion pixel detector 2. Pc
Decoded final pixel position, Pu is the pixel value of the upper scan line
And the coarse shaded area is still encoded.
It is assumed that it represents a pixel that has not been processed. Change pixel predictor 4
a is a method similar to the method of predicting a changed pixel in the first embodiment.
, Based on the change pixel Pu of the scanning line at the upper position,
Predicts using the relationship and is at the same horizontal position as Pu
Let P0 be a predicted change pixel based on the frame. The image signal of the reference frame shown in FIG.
After the motion compensation by the compensator 20
Then, the changed pixel predictor 4b acquires the predicted changed pixel Pr.
You. 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. Image code according to the second embodiment
As for the setting of the encoding device, P0 and
Code that assigns a code with a shorter code length as the difference value of
Encoding, the difference between P1 and P0 is encoded.
Also, encoding the difference between Pr and P1 reduces the code length.
Become. Therefore, the selection of the mode selector 21 changes the difference value D "
It becomes the "reference frame" to be output, and the encoding mode "reference
The frame "and the difference value D" are encoded, and
It becomes a coded signal output from the image coding device of state 2. Figure
4 (e) is a decoding obtained by decoding this encoded signal.
The results are shown. As described above, the image coding of the second embodiment
In the device, the memory 3 and the change pixel predictors 4a and 4b
And the difference value calculators 5a and 5b and the motion compensator 20
Prediction based on the frame
And prediction with motion compensation based on the reference frame.
The difference between each predicted value and the detection result,
Mode selector 21, switcher 22, encoder 8
a and 8b, the frame
Prediction based on the motion-compensated reference frame
By comparing the difference value with the prediction, the one with the minimum code length
You can select and encode,
By using elementary correlation, the bits required for encoding
The number can be greatly reduced. The image coding apparatus according to the second embodiment uses
Indicates that the input signal 1 is input in block units,
Set the coding mode to be selected in block units.
That is, based on prediction by the frame in units of blocks
Prediction with motion compensation by coding and reference frame
Adaptively switch between encoding based on
And the above effects can be obtained. Further, in the image coding apparatus according to the second embodiment,
Are changed pixel detector 2, changed pixel predictors 4a and 4b
Now, let's output the distance (number of pixels) to the changed pixel.
However, "the next pixel is a change pixel" and "the next pixel
Is not a change pixel. "
For example, “0” and “1” are output, and the difference value
The arithmetic units 5a and 5b calculate the difference value between the binary signals.
It can also be. However, in this case,
Instead of encoding the distance as in
The output of the difference value calculators 5a and 5b is
Will be encoded. With such a setting,
Change pixel detector 2, change pixel predictors 4a and 4b
Output is binary, so that the encoding process can be simplified.
The effect is obtained. Embodiment 3 FIG. According to the third embodiment of the present invention.
The image decoding device according to the second embodiment
For an encoded signal efficiently encoded by
It performs appropriate decryption. FIG. 5 shows an embodiment of the present invention.
FIG. 24 is a block diagram illustrating a configuration of an image decoding device according to a third embodiment.
is there. In the figure, reference numerals 30a and 30b denote the symbols in FIG.
Encoded signals corresponding to the encoded signals 9a and 9b,
A signal obtained by encoding the encoding mode and a difference value are encoded.
Signal. 31a and 31b are respectively
Encoded signal of encoding mode and difference value encoded
And decoding the prediction signal and the decoded difference value.
The decoder to get. 32 is taken by the decoder 31a.
According to the obtained prediction mode signal, the predicted value of the changed pixel is
It is a switching device for switching. 34 is the decoded image
Signal. The memory 3, the changing pixel decoder 10, and the difference
1 is the same as that of FIG.
The device 20 is the same as that of FIG.
Since it is similar to the first and second embodiments, the description is omitted here.
I do. The present embodiment shown in FIG.
The operation of the image decoding apparatus according to Embodiment 3 will be described.
I do. In the image coding apparatus according to Embodiment 2,
The signal 9a obtained by encoding the selected encoding mode is the input signal 3
0a is input to the image decoding apparatus of the third embodiment.
And decoded by the decoder 31a.
To indicate “the frame” or “reference frame”.
A measurement mode signal is obtained. The decoder 31a operates in the prediction mode.
Output to the switch 32. Also, the embodiment
2, the selected difference value is encoded.
In this embodiment, the decoded signal 9b is used as the input signal 30b.
3 and is inputted to the decoder 31b.
Decrypted to obtain a decryption difference value.
You. The decoder 31b adds the decoded difference value to the difference value adding means 11
Output to On the other hand, the change pixel predictor 4a stores
Read the decoded reference image of the frame
And predicting a changed pixel based on the image signal.
As a predicted change pixel based on the frame
32. In addition, the motion compensator 20 stores
Motion compensation is performed on the decoded image of the stored reference frame.
The change pixel estimator 4b compensates for this motion-compensated image.
The change pixel of the input signal is predicted based on the
The result as a predicted change pixel based on the reference frame
Output to the device 32. From the change pixel predictors 4a and 4b, respectively.
The switch 22 that outputs the predicted change pixel is input to the switch 22.
Switching is performed according to the predicted mode signal thus set. Follow
Then, the switch 22 determines that the input prediction mode signal is
If it indicates “the frame”, the change pixel predictor 4
predicted change pixel based on the frame output from a
Indicates that the input prediction mode signal indicates a `` reference frame ''.
If it is, the reference output from the change pixel predictor 4b
Select the predicted change pixel based on the frame and add the difference value
Output to the means 11. The difference value adding means 11 is provided with a switch 22
The predicted change pixel obtained from the
By adding the obtained decoding difference values, the changed pixel
And outputs the result to the changing pixel decoder 10.
You. The changing pixel decoder 10 outputs the changing pixel predicting means 4a.
Predicted change pixel and change obtained from difference value adding means 11
Based on the pixels, the pixel values between them are decoded. this
The result of decoding is input to the memory 3 and stored.
In the third embodiment, as the decoded image signal 34,
Is output from the image decoding device. For example, in the embodiment
In FIG. 2, the coded signal described with reference to FIG.
In the case of a force signal, the decoding result as shown in FIG.
Fruit is obtained. FIG. 6 shows an image according to an application example of the third embodiment.
It is a block diagram which shows the structure of an image decoding apparatus. As shown in FIG.
The difference from the image decoding device that has been
11a and 11b, and the switch 33 is
Instead of the outputs of the change pixel prediction means 4a and 4b,
A configuration for switching the outputs of the adding means 11a and 11b;
It is a point that has become. Even in such a configuration,
Signal output from the image coding apparatus according to the second embodiment.
Signal in accordance with the encoding mode at the time of encoding.
Can be decoded. Further, changing pixel decoding
And a switching device.
As a position to receive the outputs of the plurality of changing pixel decoders 10
Has the same effect. As described above, the image restoration according to the third embodiment is performed.
In the encoding device, the encoded signal in the encoding mode is decoded.
A decoder 31a for decoding a coded signal of the difference value;
Predicts a changed pixel based on the encoder 31b and the frame
Pixel prediction means 4a,
Change pixel prediction means for predicting change pixels with motion compensation
4b and a difference value for performing a decoding process based on the predicted change pixel
An adder 11 and a changing pixel decoder 10 are provided.
Switching according to the prediction mode acquired by the encoder 31a
The encoder switches, so that the encoding mode at the time of encoding is changed.
In the prediction mode corresponding to the
Decoding using a predicted value based on
The decoding using the measured values is adaptively switched and performed.
Appropriate coded signal efficiently coded in form 2
Can be decoded. In the second and third embodiments,
Prepare a plurality of frames as reference frames.
The above prediction mode may be used. Ma
Also, in the third embodiment, the coding mode is
To process an encoded signal that has been encoded by selecting
Input a signal in block units, and
Acquire measurement mode and perform processing corresponding to encoding mode
Thus, it is possible to perform decoding appropriately. Embodiment 4 FIG. According to Embodiment 4 of the present invention.
Image encoding apparatus, the code based on the prediction by horizontal scanning
And encoding based on prediction by vertical scanning
The processing is performed by switching. FIG. 7 shows an embodiment of the present invention.
Block diagram showing the configuration of an image encoding device according to Embodiment 4.
It is. In the same figure, 40a and 40b are horizontal scanning
And 41a and 41b are vertical scanners. other
Are the same as those in FIG.
Since it is the same as the state 2, it is omitted here. The image of the fourth embodiment thus configured is
The operation of the image encoding device will be described. Binary image
When an input signal 1, which is a signal, is input to the apparatus, the input signal
1 is changed by being horizontally scanned by the horizontal scanner 40a.
Is input to the converted pixel detector 2a and the vertical scanner 41a
Scans in the vertical direction and enters the changing pixel detector 2b.
Is forced. Further, the input signal 1 is also input to the memory 3.
And stored in the memory 3, the frame
As encoded and decoded reference images in the
Can be. The changing pixel detector 2a is scanned in the horizontal direction
Pixel whose binary pixel value changes with input signal 1 as input
Is detected. The change pixel detector 2b is scanned in the vertical direction.
An image in which a binary pixel value changes with the input signal 1
Detect element. The change pixel detectors 2a and 2b detect
The difference value calculators 5a, 5
b. On the other hand, the horizontal scanner 40b stores the data in the memory 3.
The encoded and decoded reference image of the frame
The image is read out, scanned in the horizontal direction, and changed pixel predictor 4a
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.
I do. Then, the difference value calculator 5a calculates the difference
Subtract the predicted change pixel and calculate the difference value Dh
get. The output Dh of the difference value calculator 5a is horizontal scanning.
Is equivalent to the prediction error of the changed pixel predicted by
Therefore, the difference value calculator 5a selects the difference value Dh in the mode.
To the switch 21 and the switch 22. On the other hand, the vertical scanner 41b stores the data in the memory 3.
The encoded and decoded reference image of the frame
The image is read and scanned in the vertical direction to change the pixel predictor 4b.
To enter. The change pixel predictor 4b predicts a change pixel,
The result is output to the difference value calculator 5b as a predicted change pixel.
I do. Then, the difference value calculator 5b calculates the difference
Subtract the predicted change pixel and calculate the difference value Dv by the vertical scanning.
get. The output Dv of the difference value calculator 5b is vertical scanning
Is equivalent to the prediction error of the changed pixel predicted by
Accordingly, the difference value calculator 5b selects the mode of the difference value Dv.
To the switch 21 and the switch 22. The mode selector 21 includes a difference value calculator 5a,
And the difference value Dv and the difference value Dv input from
The code length when encoding each (bits required for encoding)
Number of bits), and can be encoded with fewer bits.
Measurement method and use that identification signal as the encoding mode
Output. When the mode selector 21 encodes the difference value Dh
If it is determined that the code length of the
Direction is determined to be short when the difference value Dv is encoded.
Switch the encoding mode "vertical direction"
To the encoder 22 and the encoder 8a. The switch 22 is an output of the mode selector 21
Corresponding to the encoding mode "horizontal direction", the difference value
The difference value Dh output from the calculator 5a is converted into the encoding mode “vertical
Direction ”, the difference value Dv output from the difference value calculator 5b is
Output to the encoder 8b. The encoder 8a selects the mode
The encoding mode selected by the encoder 21 is encoded, and the
b encodes the output difference values, and encodes each encoded signal.
Output as Nos. 9a and 9b. Image of Embodiment 4
The encoding by the image encoding device is performed without loss
Input image signal 1 as described above.
As the pixel value of the encoded pixel up to the pixel of the
Stored in the memory 3. FIG. 8 shows an image coding apparatus according to the fourth embodiment.
FIG. 6 is a diagram for explaining switching of the scanning direction according to FIG.
The image signal is correlated in the horizontal and vertical directions.
This correlation can also be used in image coding by
Compression had been used. And conventional
Regarding the use of correlation by the technology of
Horizontal or vertical, as is sometimes the case
Encoding based solely on the correlation in one of the directions
Was to do. However, if you look at the image partially,
Or one of the vertical correlations may be stronger than the other.
You. For example, as shown in FIG. 8, the correlation in the horizontal direction is the correlation in the vertical direction.
Stronger than horizontal based on vertical prediction
Based on the prediction of the direction, the prediction of the change pixel of the pixel position
The error is smaller, and the encoding efficiency can be further improved.
It becomes possible. Therefore, depending on the nature of the image,
Switch between vertical and horizontal predictions.
Thus, the coding efficiency can be greatly improved. As described above, the image coding of the fourth embodiment
In the apparatus, horizontal scanners 40a and 40b and vertical scanning
Detectors 41a and 41b and change pixel detectors 2a and 2
b, the memory 3, the change pixel predictors 4a and 4b,
Having difference value calculators 5a and 5b
The prediction by horizontal scanning and the prediction by vertical scanning
And calculate the difference between the predicted value and the detection result.
And a mode selector 21, a switch 22,
By having the containers 8a and 8b,
Difference between prediction by vertical scanning and prediction by vertical scanning
And select the code with the smallest code length to encode
The horizontal and vertical correlation of the image
Encoding by taking advantage of local changes in
, The number of bits required for the operation can be greatly reduced. The image coding apparatus according to the fourth embodiment has
Also, input signal 1 is input in block units
And set the encoding mode to be selected in block units.
In other words, block-by-block prediction based on horizontal scanning
And coding based on prediction by vertical scanning.
The above effects can be adaptively switched
Is obtained. In addition, the image coding apparatus of the fourth embodiment
Also, as in the second embodiment, the changed pixel detector 2
The change pixel predictors 4a and 4b calculate the distance to the change pixel.
(Pixel number) is output instead of pixel
It is also possible to set to output a binary signal.
It is possible to reduce the processing load. Embodiment 5 According to Embodiment 5 of the present invention
The image decoding apparatus according to the fourth embodiment
For an encoded signal efficiently encoded by
It performs appropriate decryption. FIG. 9 shows an embodiment of the present invention.
FIG. 24 is a block diagram illustrating a configuration of an image decoding device according to Embodiment 5.
is there. In the same figure, 40b and 41b are the same as in FIG.
, And other symbols are the same as those in FIG.
Since this is the same as Embodiments 4 and 3,
It is omitted here. In the fifth embodiment configured as described above,
The operation of the image decoding apparatus according to the first embodiment will be described. Implementation
In the image coding apparatus according to aspect 4, the selected code
A signal 9a obtained by encoding the encoding mode is used as an input signal 30a.
Input to the image decoding apparatus according to the fifth embodiment,
31a, the "horizontal direction"
A prediction mode signal indicating “direction” or “vertical” is acquired.
You. The decoder 31a switches the prediction mode signal to the switch 32
Output to Further, the image coding apparatus according to Embodiment 4
, The signal 9b obtained by encoding the selected difference value is input
A signal 30b is input to the image decoding apparatus according to the fifth embodiment.
And decoded by the decoder 31b.
Thus, a decoding difference value is obtained. The decoder 31b decodes
The difference value is output to the difference value adding means 11. On the other hand, the horizontal scanner 40b stores the data in the memory 3.
The encoded and decoded reference image of the frame
The image is read out, scanned in the horizontal direction, and changed pixel predictor 4a
To enter. The change pixel predictor 4a predicts a change pixel,
The result is output to the switch 22 as a predicted change pixel.
I do. On the other hand, the vertical scanner 41 b is stored in the memory 3.
Read the encoded and decoded reference image of the frame
Start, scan in the vertical direction and input to the change pixel predictor 4b
I do. The change pixel predictor 4b predicts a change pixel, and
The result is output to the switch 22 as a predicted change pixel. Each of the change pixel predictors 4a and 4b
The switch 22 that outputs the predicted change pixel is input to the switch 22.
Switching is performed according to the predicted mode signal thus set. Follow
Then, the switch 22 determines that the input prediction mode signal is
If it indicates "horizontal direction", the change pixel predictor 4a
The predicted change pixel based on the horizontal scan output from
The input prediction mode signal indicates "vertical direction".
To the vertical scanning output from the change pixel predictor 4b.
And selects the predicted change pixel based on the
Output. The difference value adding means 11 is provided with a switch 22
The predicted change pixel obtained from the
By adding the obtained decoding difference values, the changed pixel
And outputs the result to the changing pixel decoder 10.
You. The changing pixel decoder 10 outputs the changing pixel predicting means 4a.
Predicted change pixel and change obtained from difference value adding means 11
Based on the pixels, the pixel values between them are decoded. this
The result of decoding is input to the memory 3 and stored.
In the fifth embodiment, the decoded image signal 34 is
Is output from the image decoding device. As described above, the image restoration according to the fifth embodiment is performed.
In the encoding device, the encoded signal in the encoding mode is decoded.
A decoder 31a for decoding a coded signal of the difference value;
Predicts a change pixel based on the horizontal encoder and the encoder 31b
Pixel predicting means 4a that changes based on vertical scanning.
Pixel predicting means 4b for predicting a transformed pixel,
Difference value adding means 11 for performing a decoding process based on a prime,
With the changing pixel decoder 10 and obtained by the decoder 31a.
Switcher switches according to the prediction mode to be changed
This allows prediction corresponding to the encoding mode at the time of encoding.
Mode uses predicted values based on horizontal scanning
Decoding and decoding using predicted values based on vertical scanning
Is adaptively switched, and the efficiency is improved in the fourth embodiment.
To properly decode the encoded signal
It becomes possible. In the fifth embodiment, the implementation
Embodiment 3 has a configuration similar to the configuration shown in FIG.
Although the image decoding apparatus has been described as
Therefore, the configuration shown in FIG.
Further, as described in the embodiment, the switching device
Receive the output of the changing pixel decoder.
It is also possible to perform appropriate decoding as well.
it can. Further, in the fifth embodiment, in units of blocks,
Select an encoding mode and process the encoded signal
When inputting a signal in block units,
For each, the prediction mode was acquired and the encoding mode was supported.
By performing the processing, it is possible to decrypt properly
is there. Embodiment 6 FIG. According to the sixth embodiment of the present invention.
Image encoding apparatus efficiently encodes a multi-level image signal.
Things. FIG. 10 shows an image according to the sixth embodiment of the present invention.
FIG. 2 is a block diagram illustrating a configuration of an image encoding device. In the figure
In this embodiment, the input signal 1a is a multi-valued image signal according to the present embodiment.
6 image encoding apparatus. 8a and 8b are symbols
It is an encoder. In this way, multi-level signals are input and processed.
And the configuration with two encoders.
Unlike Embodiment 1, the rest is the same as FIG.
Since it is the same as the first embodiment, the description is omitted here. In the sixth embodiment configured as described above,
The operation of the image coding apparatus according to the first embodiment will be described. input
When the signal 1a is input, the changing pixel detector 2 detects the multi-value
For the input signal, the pixel value of the final encoding / decoding position,
Compare the pixel value of the position following the position with the pixel value, and
At this time, it is determined that there is "change" or "no change". Soshi
The number of pixels that are determined to be "changed"
Is calculated, and the number of changed pixels is compared with a predetermined value. here
Is a predetermined value of 60. Judge as "changed"
The pixel whose number of changed pixels is 60 or more is referred to as a changed pixel.
Judge and detect the pixel value and position of the changed pixel
The difference value calculator 5, the changing pixel decoder 10, and the code
Output to the converter 8a. The change pixel predictor 4 stores the data in the memory 3.
Read the encoded and decoded reference image of the frame
However, based on this, the change pixel is predicted, and this prediction is
Difference value calculator 5 and difference value adder 1 as predicted change pixels
1 and output to the changing pixel decoding means. Difference value calculator
5 is obtained by subtracting the predicted change pixel from the detected change pixel.
The difference value is output to the encoder 8b and the difference value adder 11.
You. The difference value adder 11 calculates a difference between the input predicted change pixel and
The added value is output to the changed pixel decoder 10 to obtain the changed image.
The elementary decoder 10 calculates the pixels up to the change pixel based on the input.
The value and the pixel value of the changed pixel are decoded and stored in the memory 3.
I do. The encoders 8a and 8b respectively transmit the input transforms.
The pixel value of the coded pixel and the difference value are coded and the coded signal 9
a and 9b are output. As described above, the image code according to the sixth embodiment
In the decoding device, in the same configuration as in the first embodiment,
It is judged as "changed" by checking the presence or absence of change for each element
Calculate the number of pixels, and if the number of pixels above the threshold is
Pixels that are determined to be "Yes" are determined to be changed pixels
By doing so, not only binary images but also multi-valued images
Can also enable similar encoding. Embodiment 7 FIG. According to the seventh embodiment of the present invention.
The image decoding apparatus according to the sixth embodiment
Decoding of the encoded signal encoded by
To obtain a multi-valued image signal. Fig. 11
Showing the configuration of an image decoding apparatus according to Embodiment 7 of the present invention.
It is a lock figure. In the figure, a decoder 31a has a
Decoding of the coded signal obtained by coding the pixel value of the coded pixel
And the decoder 31b outputs a code obtained by encoding the prediction difference value.
Decode the encoded signal. Others are the same as FIG.
Are the same as in the third embodiment, and a description thereof will not be repeated. According to the seventh embodiment configured as described above,
The operation of the image decoding apparatus according to the first embodiment will be described. Implementation
In the image coding apparatus according to the sixth aspect, the image of the changed pixel is
The signal 9a obtained by encoding the prime value is used as the input signal 30a.
Input to the image decoding apparatus according to the seventh embodiment,
a, a decoded pixel value is obtained.
The decoded pixel value is input to the changing pixel decoder 10.
It is. Also, in the image encoding device according to the sixth embodiment,
The signal 9b obtained by encoding the prediction difference value is the input signal 30b
Is input to the image decoding apparatus according to the seventh embodiment.
By being decoded in the encoder 31b,
A difference value is obtained, and the decoded difference value is sent to the difference value adder 11.
Is entered. On the other hand, the change pixel predictor 4 accumulates in the memory 3
Read out the decoded reference image, and
And predicts the changed pixel based on the result.
Output to the change pixel decoder 10 and the difference value adder 11
Power. The difference value adder 11 receives the predicted change pixel
And the difference value, and outputs the result to the changing pixel decoder 10.
The changing pixel decoder 10 performs processing up to the changing pixel based on the input.
Of the pixel value of the pixel and the pixel value of the changed pixel
It is output as a signal 34 and stored in the memory 3.
You. As described above, the image decoding apparatus according to the seventh embodiment
Now, for the coded signal obtained by coding the pixel value of the changed pixel,
Decoder 31a that performs decoding by decoding, and encodes the prediction difference value
And a decoder 31b for decoding the encoded signal thus obtained.
, The image encoding device according to Embodiment 6
Multi-valued by properly decoding the encoded signal
Can be obtained. Embodiment 8 FIG. According to Embodiment 8 of the present invention.
The image coding apparatus which transmits the image indicates a ratio at which the image is synthesized.
An image signal consisting of an excessive signal and a pixel value signal is input to an input signal.
And encode this input signal with reference to the reference image
Things. FIG. 12 shows an image according to the eighth embodiment of the present invention.
FIG. 2 is a block diagram illustrating a configuration of an image encoding device. In the figure
60a is a pixel value signal, and 60b is a transmittance signal.
And constitute the image signal.
Input as an input signal to the image encoding apparatus according to aspect 8.
You. Reference numeral 61 denotes a memory, which is an encoding used as a reference image.
And temporarily store decoded data such as image signals.
You. Reference numerals 62a and 62b denote motion detectors.
Perform motion detection on the image and output a motion vector.
63a and 63b are motion compensators, which perform coding and decoding.
Motion compensation for the image signal of the
To generate a reference pixel value. 64a and 64b are differences
A value calculator that calculates the input signal and the signal with motion compensation
Is calculated and a difference value is output. 65a and 67b
An encoder that encodes a motion vector. 67a
And 65b are encoders for encoding the difference values. 6
6a and 68b are coded signals for coding motion vectors.
It is a thing. 67a and 65b are encoded signals.
That is, the difference value is encoded. In the eighth embodiment configured as described above,
The operation of the image coding apparatus according to the first embodiment will be described. image
The signals are 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 diagram used in the description of the related art.
53 (b), when combining with another image
Represents the ratio of each pixel to be synthesized.
is there. The pixel value signal 60a is stored in the memory 61, the motion detector 6
2a and the difference value calculation means 64a.
The signal 60b includes a memory 61, a motion detector 62b, and a difference
It is input to the value calculation means 64b. The motion detectors 62a and 62b are respectively
And the input image and the reference image read from the memory 61.
Comparison with the coded pixel values of the image.
And motion detection, and calculate the motion of each signal.
Get a vector. Image acquired by the motion detector 62a
The motion vector of the raw signal is calculated by the encoder 65a
Is output to the device 63 a and the memory 61. Motion compensator 6
3a represents the pixel value indicated by the motion vector of the pixel value signal.
Read from the memory 61 and calculate the motion compensation value of the pixel value signal.
The value is output to the value calculator 64a. The difference value calculator 64a is
The difference between the input pixel value signal and the motion compensation value is obtained by calculation.
And outputs it to the encoder 67a. Pixel value signal
The motion vector is encoded by the encoder 65a, and
The difference value is encoded by the encoder 67a.
To be a coded signal 68a. Similarly, the transparency obtained by the motion detector 62b is obtained.
The motion vector of the excessive signal is calculated by the encoder 67b,
Output to the device 63b and the memory 61. Motion compensator 6
3b performs motion compensation of the transparency signal and obtains the obtained motion compensation.
The compensation value is output to the difference value calculator 64a. And the difference value
The calculator 64b encodes the acquired difference value in the same manner as 64a.
Output to the container 67a. Like the pixel value signal, the transmittance signal
Is encoded by the encoder 67b.
The difference value is encoded by the encoder 65b.
To become a coded signal 66b. In the eighth embodiment, a reversible code
This is an example of encoding, and the encoded input signal is stored in the memory 61.
Remembered and used for encoding for subsequent image signals
(Not shown). As described above, the image code according to the eighth embodiment
In the encoding device, motion detection is performed to process the pixel value signal 60a.
Unit 62a, motion compensator 63a, difference value calculator 64a, code
The encoder 65a, the encoder 67a, and the transmission signal 60
b, a motion detector 62b, a motion compensator 63b,
Difference value calculator 64b, encoder 65b, and encoder 6
7b, the pixel value signal 60a and the transmittance signal
60b, and perform motion detection separately
It is possible to acquire motion vectors and perform motion compensation.
You. As described in the description of the prior art,
In image coding according to the conventional technology, shape information and pixel value information are used.
When encoding an image consisting of
Image information to improve coding efficiency.
Motion compensation of shape information using motion vector of prime information
Encoding. Therefore, in the eighth embodiment,
When encoding a signal such as an input image signal, the pixel value signal
Motion compensation code of the transparency signal using the motion vector
Will be performed. However, the transmission signal is
, But the motion vector is not necessarily the pixel
It does not match the motion vector of the value signal. Rotate
The shape of the disk is unchanged, but the pattern drawn on the disk is
Is an example. Therefore, in such a case,
The motion vector of the raw signal and the motion vector of the transparency signal
Is large, the motion vector of the pixel value signal is
The motion error when performing motion compensation of the transparency signal using
And the coding length of the difference value becomes longer, resulting in higher coding efficiency.
Will decrease. On the other hand, the image code of the eighth embodiment
The coding device calculates the motion value of the pixel value signal for the transmittance signal.
Motion compensation using motion vectors detected separately from the vector
By doing so, the motion compensation signal
Can be approximated with higher accuracy, and the motion compensation error is small.
As a result, the coding efficiency is improved. In addition, the real
Also in the image coding apparatus according to Embodiment 8, the input signal is
It is input in lock units and moves in block units.
Compensation and coding can be set, and the above effects
Is obtained. Embodiment 9 According to Embodiment 9 of the present invention.
The image coding apparatus according to the third embodiment has the
And an image signal consisting of a pixel value signal as an input signal,
This input signal is encoded with reference to a reference image.
is there. FIG. 13 shows an image code according to the eighth embodiment of the present invention.
FIG. 2 is a block diagram illustrating a configuration of a conversion apparatus. In the figure,
The reference numerals are the same as those in FIG.
The same is true. In the image coding apparatus according to the ninth embodiment,
Is obtained by the motion detector 62a for the pixel value signal 60a.
The motion vector of the obtained pixel value signal is converted into a transmittance signal 60b.
Output to the motion detector 62b
Is near the motion vector of the input pixel value signal.
According to the eighth embodiment, the motion detection of the transmission signal is performed.
This is a difference from the configuration of the image encoding apparatus. In addition, this implementation
As for the operation of the image coding apparatus according to the ninth embodiment, the motion detection
The output unit 62a performs the output described above, and the motion detector 62b
Except for detecting the predicate, the same as that of the eighth embodiment is used.
Operation. As described above, the image code according to the ninth embodiment
In the encoding device, based on the configuration of the eighth embodiment, the pixel value signal
The pixel value obtained by the motion detector 62a for the
The motion vector of the signal is used for motion detection with respect to the transmittance signal 60b.
Output to the output unit 62b, and the motion detector 62b outputs
In the vicinity of the motion vector of the pixel value signal, the transmittance signal
The motion of the transmission signal
For the detection, use the result of motion detection in the pixel value signal.
Is what it is. Motion vector between pixel value signal and transmittance signal
Are significantly different from those in the example shown in Embodiment 8.
, But almost match in many images. So
Here, when detecting the motion vector of the transmittance signal,
Motion vector of the transparency signal only in the vicinity of the motion vector of the value signal.
Is detected, it can be performed completely independently of the pixel value signal.
The number of calculations required for motion detection can be reduced
You. Compared to the case of detecting motion independently of the pixel value signal
Then, the number of selectable motion vectors is limited
The motion compensation error of the transmission signal increases slightly.
But the proportion is small. Therefore, this implementation
In the image coding apparatus according to the ninth embodiment, the same as in the eighth embodiment
In addition, by performing appropriate motion compensation for each signal,
In addition to improving coding efficiency, the number of calculations for motion detection
Can be reduced. Note that the image coding apparatus of the ninth embodiment uses
Is the motion of the pixel value signal when detecting the motion of the transmittance signal.
Although the vector is used, in the embodiment shown in FIG.
Based on the configuration of the image encoding apparatus according to mode 8, the transmission signal
The motion detector 62b for the signal 60b
The motion vector of the signal is used to detect the motion of the pixel value signal 60a.
Output to the output unit 62a, and the motion detector 62a outputs
In the vicinity of the motion vector of the transparency signal, the pixel value signal
Motion detection of the pixel value signal
The result of motion detection in the transparency signal is used
It is also possible to adopt a configuration with
Can be reduced. Also, depending on the settings
The point that coding in block units is possible is
Same as state 8. Embodiment 10 FIG. Embodiment 10 of the present invention
Is the same as in Embodiments 8 and 9.
Input an image signal consisting of a transmittance signal and a pixel value signal.
This input signal is signed with reference to the reference image as a force signal.
It becomes something. FIG. 13 shows a tenth embodiment of the present invention.
FIG. 2 is a block diagram illustrating a configuration of an image encoding device. In the figure
70 is a motion vector difference calculator.
Motion vector of pixel value signal obtained from detector 62a
And the motion vector of the transmittance signal acquired from the motion detector 62b.
Get the difference vector with the vector. The encoder 67b
In the eighth embodiment, the motion vector of the transparency signal is encoded.
However, in the tenth embodiment, the difference value calculator 70
The difference vector of the motion vector to be encoded is encoded. Other marks
The symbols are the same as in FIG. 12, and the description is the same as in Embodiment 8.
It is like. The image encoding apparatus according to the tenth embodiment
Regarding the operation, the motion detectors 62a and 62b
The vector is output to the difference value calculator 70, and the difference value calculator 7
0 obtains the above difference vector and outputs it to the encoder 67b.
And the encoder 67b calculates the difference vector of the motion vector
Except for encoding, the operation is the same as that of the eighth embodiment.
Becomes As described above, the image code of the tenth embodiment
The encoding device is based on the configuration of the image encoding device of the eighth embodiment.
And a configuration in which a motion vector difference value calculator 70 is added
To encode the motion vector of the transparency signal
Instead, the motion vector of the pixel value signal and the
The difference vector from the current vector is encoded. Embodiment
As described in Section 9, the motion vectors of both signals are correlated.
In many cases, there is a difference vector between the motion vectors of both signals.
If the vector is encoded, the frequency of occurrence of the difference vector is zero.
Concentrate near the kutor. As a result, the difference around the 0 vector
Variable length code that assigns short code length code to minute vector
Encoding improves coding efficiency and reduces
It becomes possible to encode by the number of bits. The image encoding apparatus according to the tenth embodiment
Now, instead of encoding the motion vector of the transparency signal
And encode the difference vector between the motion vectors of both signals
But the difference vector obtained by the difference value calculator 70
Output to the encoder 65b instead of the encoder 67b
Instead of encoding the motion vector of the pixel value signal
And encode the difference vector between the motion vectors of both signals
Thereby, the same effect can be obtained. In addition,
The fact that coding in block units is possible by
This is the same as Embodiment 8. Embodiment 11 FIG. Embodiment 11 of the present invention
Is an image decoding apparatus according to the eighth embodiment.
Coded signal efficiently coded by the coding device
Thus, appropriate decoding is performed. FIG.
A block diagram showing a configuration of the image decoding apparatus according to the eleventh embodiment.
FIG. In the figure, 82a and 82b are:
Codes corresponding to the encoded signals 68a and 66b in FIG.
Signal of the pixel value signal and the transmittance signal.
This is a signal obtained by encoding the difference value. 80a and 80b
Corresponds to the encoded signals 66a and 68b in FIG.
These are coded signals, each of which is a pixel value signal and a transmittance signal.
This is a signal obtained by encoding these motion vectors. 83a, and
And 83b are decoders, each of which has a pixel value signal and a transmittance.
Decode the coded signal of the difference value of each signal, and
A value signal and a decoded difference value of the transmittance signal are output. 81
a and 81b are decoders, which are pixel value signals, and
Decode the motion signal coded signal of each transparency signal
Into the pixel value signal and the decoding motion vector of the transparency signal.
Output file. 61 is a memory used as a reference image
Data such as encoded and decoded image signals
To remember. 63a and 63b are motion compensators.
Then, motion compensation is performed using the decoded motion vector. 84
Reference numerals a and 84b denote difference value adders, which use decoded difference values.
And performs an addition process. 85a and 85b are decrypted
Image signal. The eleventh embodiment configured as described above
The operation of the image decoding apparatus according to the above will be described. Real
In the image coding apparatus according to Embodiment 8, the pixel value signal
Signal that encodes the difference value of the signal
68a and 66b are input signals 82a and 82b and
And input to the image decoding apparatus according to the eleventh embodiment.
And decoded by decoders 83a and 83b,
The difference between the pixel value signal and the decoded difference value of the transmittance signal is
It is output to value adders 84a and 84b. Also implemented
In the image coding apparatus according to aspect 8, the pixel value signal;
Signal that encodes the motion vector of each
Nos. 66a and 68b are input signals 80a and 80b
As input to the image decoding apparatus according to the eleventh embodiment.
And decoded by 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. The motion compensators 63a and 63b are respectively
The pixel value indicated by the inputted motion vector is stored in the memory 6.
1 to perform motion compensation and calculate the motion compensation value as a difference.
Output to the value adders 84a and 84b. Difference value adder
84a and 84b are input decoding difference values, respectively.
And the motion compensation value are added, and the decoded image signal 8
5a and 85b, and the memory 61
Will be stored. As described above, the image according to the eleventh embodiment is
The decoding device processes the encoded signal of the pixel value signal.
Decoder 81a, decoder 83a, motion compensator 63
a, the difference value calculator 84a, and the
Decoders 81b and 83b that perform processing, motion
With the provision of the compensator 63b and the difference value calculator 84b,
The coded signals 80a and 82a of the prime value signal and the transparency signal
Signal coded signals 80b and 82b, respectively.
It is possible to perform the decryption process separately,
It is possible to obtain an image signal by decoding. The image decoding according to the eleventh embodiment
In the image encoding apparatus according to Embodiment 8,
Although the obtained coded signal is to be decoded,
Encoded signal obtained in image encoding apparatus according to mode 9
Can be properly decoded in the same way.
is there. Also, in Embodiment 8 or 9,
For a coded signal input and coded in units,
By inputting and decoding each block,
Thus, the decoding can be appropriately performed. Embodiment 12 FIG. Embodiment 12 of the present invention
The image decoding apparatus according to the tenth embodiment
Coded signal efficiently coded by the coding device
Then, appropriate decoding is performed. FIG.
15 shows a configuration of an image decoding apparatus according to Embodiment 12 of the present invention.
It is a block diagram. In the figure, reference numeral 86 denotes a motion vector
Is a difference value adder, and a decoded motion vector and a decoded difference
Perform motion vector addition processing. Other symbols are the same as in FIG.
Since the description is the same as that of the eleventh embodiment,
It is omitted here. The twelfth embodiment configured as described above
The operation of the image decoding apparatus according to the above will be described. Return
The encoder 81a obtains by decoding the input signal 80a.
The decoded motion vector of the pixel value signal
And the motion vector difference value adder 86
Also output to The decoder 80b includes the
Coded signal of the motion vector of the transparency signal as if
Is not input, but the difference motion vector of the tenth embodiment is used.
The encoded signal 68b (FIG. 14) of the vector is input and decoded.
The decoder 80b performs decoding as in the eleventh embodiment.
Instead of obtaining the motion vector of the
Get the minute vector and move the decoded differential motion vector
It outputs to the vector difference value adder 86. Output
The signal difference motion vector is the same as the motion vector of the pixel value signal.
Since it is a difference vector from the motion vector of the excessive signal,
This difference vector is used as the pixel value in the difference value adder 86.
Addition to the decoded motion vector of the signal results in transmission
A motion vector of the degree signal is obtained. Decryption
The motion vector of the transmitted transmittance signal is calculated by the motion compensator 63b.
Is output to Other operations are described in the eleventh embodiment.
It is equivalent to the processing in the image decoding device, and the pixel value signal
And a decoded signal 85b of the transparency signal.
Output from the device. As described above, the image decoding of the twelfth embodiment
In the decoding device, the configuration of the image decoding device of the eleventh embodiment
Based on this configuration, a motion vector difference value adder 86 is added.
The decoded motion vector and the decoded difference vector
And the difference vector as an encoded signal.
Embodiment 10 Output Code of Embodiment 10 for Outputting an Encoded Signal of Torr
The decoded signal can be appropriately decoded. The actual
In Embodiment 10, coding is performed in block units.
That it is possible to deal with
This is the same as Embodiment 11. Embodiment 13 FIG. Embodiment 13 of the present invention
The image coding device based on
Shape signal indicating whether the prime value is significant, and pixel value
Signal into a block-shaped image signal
Use this as an input signal and refer to the reference image to sign this input signal.
It becomes something. 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, 60a is a pixel value signal, 60b is a shape signal
And constitute the image signal.
Input as an input signal to the image coding apparatus of the eighth embodiment.
It is. 69a and 69b are decoders, and
Encoded signals of difference values output from 67a and 65b
Is decrypted. 75a and 75b are difference value adders.
Add the decoded difference value and the motion compensation value.
And store it in the memory 61. Figure for other symbols
The description is the same as that of the eighth embodiment.
Here, the description is omitted. The thirteenth embodiment configured as described above
The operation of the image coding apparatus according to the first embodiment will be described. Entering
The block-shaped image signal, which is a force signal, is
In the present embodiment, the prime value signal 60a and the shape signal 60b
13 image encoding devices. Where the shape signal
Is the one shown in FIG. 53 used in the description of the prior art.
And the binary information shown in FIG. 53 (c) or the binary information shown in FIG.
It becomes the multi-value information shown. If it is multi-valued information, the form
It is the same as the transmittance signal in state 8. Of this implementation
In the image coding apparatus according to the thirteenth embodiment,
By the same processing, the pixel value signal and the shape signal
Encoded signal of motion vector of pixel value signal
66a, encoded signal 68a of difference value of pixel value signal, shape
Encoded signal 66b of signal motion vector and shape signal
Is obtained. In the apparatus according to the eighth embodiment, the encoded
Signal is input to the memory 61.
In 13, the encoded difference values are supplied to the decoders 69, respectively.
a, and 69b, and the difference value adder 75a,
And 75b, and the difference value adders 75a and 75b
b, output from the motion compensators 63a and 63b.
The added motion compensation value is input to the memory 61 after being added.
You. Therefore, the reference image used for encoding is
Is decoded and the motion compensation value is added.
This is different from the eighth embodiment. As described above, the image according to the thirteenth embodiment is
In the encoding device, the image encoding device according to Embodiment 8
Based on the configuration, the decoders 69a and 69b and the difference value
A configuration in which adders 75a and 75b are added
Thus, as in the eighth embodiment, the motion compensation error is reduced.
In addition to improving coding efficiency,
Therefore, the processing load will be slightly increased.
The image is encoded and decoded, and the motion compensation value is added.
The use of a more appropriate signal
The compensation error can be reduced. Note that this implementation
Encoded signal output by image encoding apparatus according to aspect 13
Is similar to that of the eighth embodiment.
Image decoding device, it is possible to perform appropriate decoding.
Wear. Embodiment 14 FIG. Embodiment 14 of the present invention
Is an image encoding device similar to that of the thirteenth embodiment.
An image signal composed of a shape signal and a pixel value signal is defined as an input signal.
Then, the input signal is encoded with reference to a reference image.
It is. FIG. 18 is a view according to Embodiment 14 of the present invention.
FIG. 2 is a block diagram illustrating a configuration of an image encoding device. In the figure
And the reference numerals are the same as those in FIG.
The same as in embodiment 13. Image code according to Embodiment 14
In the image forming apparatus, the pixel value signal 60a
Is detected by the motion detector 62a.
Motion detector 62 for the transmission signal 60b.
b, and the motion detector 62b outputs the input pixel value signal.
In the vicinity of the motion vector of the signal,
The point that the output is performed is different from that of the image coding apparatus according to the thirteenth embodiment.
This is a difference in configuration. In addition, the image according to the fourteenth embodiment
As for the operation of the encoding device, the motion detector 62a
And the motion detector 62b performs the above detection.
Otherwise, the operation is the same as that of the thirteenth embodiment. As described above, the image according to the fourteenth embodiment is
In the encoding device, based on the configuration of the thirteenth embodiment,
The motion detector 62a for the value signal 60a
Move the motion vector of the raw signal to the shape signal 60b
The motion detector 62b outputs to the detector 62b.
In the vicinity of the motion vector of the pixel value signal
The same as the ninth embodiment.
In the motion detection of the shape signal,
Using the results of motion detection,
The number can be reduced. The motion vector of the shape signal
Detects motion vector of pixel value signal near tor
The point which can be configured to be
And a code obtained by the image coding apparatus of the fourteenth embodiment.
The decoded signal is decoded by the image decoding apparatus according to the eleventh embodiment.
It can be encoded in the same manner as in the thirteenth embodiment. Embodiment 15 FIG. Embodiment 15 of the present invention
Image encoding apparatus according to Embodiments 13 and 14,
Similarly, an image signal composed of a shape signal and a pixel value signal is
Use this as the input signal, refer to the reference image,
Is to be encoded. FIG. 19 shows a structure according to the fifteenth embodiment.
1 is a block diagram illustrating a configuration of an image encoding device. Same figure
In FIG. 13, the motion vector difference calculator 70 is shown in FIG.
This is the same as Embodiment 10. Also, the encoder 67b
As in the tenth embodiment, the difference value calculator 70 acquires
Encode the difference vector of the motion vector. Other signs are
This is the same as FIG. 17, and the description is the same as that of the thirteenth embodiment.
It is. The image coding apparatus according to the fifteenth embodiment
Regarding the operation, the motion detectors 62a and 62b
The vector is output to the difference value calculator 70, and the difference value calculator 7
0 obtains the above difference vector and outputs it to the encoder 67b.
And the encoder 67b calculates the difference vector of the motion vector
Encoding is the same as in the tenth embodiment.
Is the same as that of the thirteenth embodiment. As described above, the image code of the fifteenth embodiment
In the encoding device, the configuration of the image encoding device of the thirteenth embodiment is
And a motion vector difference value calculator 70 is added.
To encode the motion vector of the shape signal
Instead, the motion vector of the pixel value signal and the motion of the shape signal
Encode the difference vector with the vector. Therefore, the implementation
By performing variable-length coding in the same manner as in Embodiment 10,
It is possible to further improve the coding efficiency. The motion vector of the pixel value signal is encoded.
Instead of encoding the difference vector.
This is the same as in the tenth embodiment. Ma
The image output by the image coding apparatus according to the fifteenth embodiment.
The coded signal is the same as that in the tenth embodiment.
In the image decoding apparatus according to the twelfth aspect, decoding is performed appropriately.
Can be Embodiment 16 FIG. Embodiment 16 of the present invention
Are the same as those in Embodiments 13 to 15.
Input an image signal consisting of a shape signal and a pixel value signal
This input signal is encoded by referring to the reference image as a signal.
Is what you do. FIG. 20 shows Embodiment 16 of the present invention.
FIG. 2 is a block diagram showing a configuration of an image encoding device according to the first embodiment. same
In the figure, reference numeral 90 denotes a motion detection determiner,
No. 60b and the motion of the pixel value signal output from the motion detector 62a.
The motion vector of the pixel value signal.
The motion compensation of the shape signal by the
Whether or not to perform motion detection on the shape signal motion detector 62b
Output instructions. The sixteenth embodiment configured as described above
The operation of the image coding apparatus according to the first embodiment will be described. Book
Pixel input to image encoding apparatus according to Embodiment 16
The processing of the value signal 60a is performed by the motion detector 62a.
The motion vector of the obtained pixel value signal is used as a motion detection
The processing is the same as in the thirteenth embodiment, except that the
And the motion vector coded signal 66a of the pixel value signal
And an encoded signal 68a of a difference value of the pixel value signal are obtained.
You. On the other hand, regarding the input shape signal 60b,
Input to the motion detection determiner 90. Motion detection judgment unit 9
0 is input using the motion vector of the input pixel value signal.
The motion of the force shape signal 60b is compensated, and the motion compensated
By comparing the shape signal with the input shape signal 60b,
Find out if you are. And if they match
The motion vector of the pixel value signal is supplied to the motion detector 61b.
Is output, and the motion detector 61b detects the motion of the shape signal.
Output without executing the motion vector of the input pixel value signal.
Thus, the motion vector of the shape signal is used. Conversely, motion detection
If the result of the comparison by the outgoing judgment unit 90 does not match,
The detection determiner 90 performs a motion detection on the motion detector 61b.
And outputs a motion vector by the motion detector 61b.
The calculation of torr is performed. For shape signals,
Is the same as that of the thirteenth embodiment,
b and 68b are obtained. As described above, the image according to the sixteenth embodiment is
In the encoding device, the image encoding device according to Embodiment 13
In addition, by adopting a configuration in which a motion detection determiner 90 is added,
Using the motion vector of the input pixel value signal,
When it is determined whether or not motion compensation can be performed,
In this case, do not perform motion detection for the input shape signal.
By reducing calculation, the processing load can be reduced
Can be achieved. If it is determined that it is impossible,
Similar to the thirteenth embodiment, the motion detection for the shape signal is performed.
Effect on the coding efficiency and the image quality of the coded signal.
I can't. In Embodiment 16, motion compensation is performed.
When the shape signal matches the input shape signal
Motion detection for the shape signal was not performed.
A slight decrease in coding efficiency due to an increase in motion compensation error is allowed.
If possible, the error due to motion compensation in the decision
Even if is less than a predetermined value, motion detection is not performed.
Can be set, further reducing the processing load
Becomes possible. Embodiment 17 FIG. Embodiment 17 of the present invention
Are the same as those in the thirteenth to sixteenth embodiments.
Input an image signal consisting of a shape signal and a pixel value signal
This input signal is encoded by referring to the reference image as a signal.
Is what you do. FIG. 21 shows Embodiment 17 of the present invention.
FIG. 2 is a block diagram showing a configuration of an image encoding device according to the first embodiment. same
In the figure, reference numeral 93 denotes a switching decision unit, which is a pixel value signal.
Input the motion vector of the signal and the shape signal, and
Similarly to the state 16, the motion vector of the pixel value signal is used.
Judge whether motion compensation of shape signal is possible and respond to the judgment.
Then, an instruction to the switch 94 is issued. Switch
94 is a difference value corresponding to the instruction of the switching judgment unit 93.
The output to the calculator 70 is the motion vector of the pixel value signal.
Or motion vector of shape signal
You. The motion vector memory 95 is output from the switch 94.
The input motion vector is delayed and input to the difference detector 70.
A temporary memory is used to save power. The other symbols are those in FIG.
The description is the same as that of the fifteenth embodiment. Operation of the device in the seventeenth embodiment
Also, the difference value calculator 7
Except that the difference motion vector obtained by 0 is different
Is the same as in the fifteenth embodiment.
Only the operation will be described. The switch judging device 93 outputs
Of the pixel value signal of the decoded input signal
Input coded signal of motion and motion vector of shape signal
To compare the input signal
The motion vector of the shape signal is coded.
Find out if it is. That is, the signal encoded immediately before is processed.
By processing, the differential motion obtained from the encoder 67b is obtained.
The coded signal of the motion vector is the motion vector of the pixel value signal.
And the motion vector of the shape signal
Or the difference vector between the motion vectors of the shape signals.
Find out what is. Then, the motion vectors of the shape signal
If the difference vector has been encoded, the switch
By sending an instruction to the memory 94, the
The motion vector detected from the state signal is input. Therefore
In this case, the difference value calculator 70 reads from the delay memory 95.
The motion vector of the shape signal coded immediately before
And the motion vector detected from the input shape signal.
And the encoder 67b calculates the difference vector
Is encoded. On the other hand, in the immediately preceding input signal, the pixel value
Difference between signal motion vector and shape signal motion vector
If the vector has been encoded, switch 94
By transmitting the instruction, as in the fifteenth embodiment,
The difference vector of the motion vector of the signal is encoded
Become. As described above, the image code of the seventeenth embodiment
In the encoding apparatus, the configuration of the image encoding apparatus according to Embodiment 15 is described.
Based on the result, a switching decision unit 93 and a switching unit 94
And a delay memory 95 are added.
Immediately before the motion vector of the shape signal is coded.
In that case, the motion vector and the detected motion vector
The difference vector of
By using the difference between motion vectors of different shape signals,
It is possible to improve the coding efficiency. Note that this implementation
Regarding form 17, regarding the motion vector of the shape signal
Such judgment and encoding of the difference vector are performed.
However, such a determination is made for the motion vector of the pixel value signal.
It is also possible to encode the difference vector.
Thus, the coding efficiency can be similarly improved. Embodiment 18 FIG. Embodiment 18 of the present invention
Image encoding device, the shape information and the transparency information
An image signal composed of at least one of the
Signal as an input image signal, in a mode suitable for each signal.
Is encoded. FIG. 22 shows an embodiment of the present invention.
FIG. 24 is a block diagram illustrating a configuration of an image encoding device according to aspect 18.
is there. In FIG. 1, reference numeral 101 denotes an input image signal.
Yes, at least one of shape information and transparency information,
And pixel value information. 102 is a blocker
Yes, block the input image signal 101 and block
Shape signal 103, blocked transparency signal 1
05, and a pixel value signal 107 that is blocked
You. 110 is a shape encoding mode determiner, 114 is transmittance
An encoding mode determiner 116 determines a pixel value encoding mode.
And a shape signal 103 and a transmittance signal 10 respectively.
5, and an appropriate encoding mode for the pixel value signal 107.
Is determined, the shape encoding mode 111, the transparency encoding
The mode 115 and the pixel value encoding mode 119 are output.
You. 112 is a shape encoder, 116 is a transparency encoder,
Reference numeral 120 denotes a pixel value encoder, each of which is a mode determination unit.
According to the judgment of the above, each signal is encoded and shape encoded
Signal 113, transparency encoded signal 117, pixel value encoded signal
No. 121 is output. 122 is a mode encoder,
The encoding modes 111, 115, and 119 are collectively
And outputs a mode coded signal 123. The eighteenth embodiment configured as described above
The operation of the image coding apparatus according to the first embodiment will be described. Ma
, And consists of shape information, transparency information, and pixel value information.
The input image signal 101 is an image code according to the eighteenth embodiment.
Input to the decoding device. Here, the transparency information and the shape information
Is explained with reference to FIG.
I will tell. Transparency information refers to the image shown in FIG.
When combining with the image, what ratio is used to combine each pixel
This is basically shown in FIG. 53 (d).
Is multi-valued information. The shape information is shown in FIG.
The binary information shown, where the transparency information is 0 or non-zero.
The object is "present / not present"
Information. Note that if the transparency information is completely transparent and completely
If there are only two types of transmission,
It can be expressed only by state information, and does not require transparency information. Follow
In this case, only the shape information and pixel value information are encoded.
Alternatively, decoding may be performed. The block generator 102 receives the input image signal 10
1, the image of shape information / transparency information and pixel value information
Multiple pixels are integrated and blocked based on the correspondence
And block signal 103, block
Transparency signal 105 and blocked pixels
The value signal 107 is output. Shape signal 103 is shape coded
The mode determiner 110 and shape encoder 112
The signal 105 is transmitted by the transparency coding mode determiner 114 and the transparency.
To the encoder 116 and the pixel value signal 107
Prime value encoding mode determiner 118 and pixel value encoder 120
Is output to Shape coding mode determiner 110, transparency code
Coding mode determiner 114 and pixel value coding mode determination
The detector 118 receives the input shape signal 103,
For the degree signal 105 and the pixel value signal 107,
The encoding mode is determined, and the shape encoding mode 111
Excessive encoding mode 115 and pixel value encoding mode 11
9 is output. Each encoding mode is output to each encoder.
At the same time, it is also output to the mode encoder 122.
Shape encoder 112, transparency encoder 116, and pixel
The value encoder 120 outputs the input encoding mode.
Outputs the input signals corresponding to the
Encoding signal 113, transparency encoding signal 117, and pixel value
An encoded signal 121 is output. On the other hand, mode encoder 1
22: Encodes each input encoding mode collectively
Then, the mode encoding signal 123 is output. Shape coded signal
No. 113, the transmittance coded signal 117, the pixel value coded signal
121 and the mode coded signal 123
18 is the encoded output of the image encoding device. As described above, the image according to the eighteenth embodiment is
In the encoding device, the input image signal is divided into blocks and
Signal, transmittance signal, and pixel value signal.
And a coding mode suitable for each signal
Encoding mode determiners 110, 114, and 1
18 and a code for coding each signal according to the coding mode.
Encoders 112, 116, and 120 and the encoding mode
And a mode encoder 122 for collectively encoding.
Performs encoding in a mode suitable for each separated signal.
Information about the selected mode is collectively
Can be realized. Shape information, transparency information, and
Pixel value information is often correlated with each other,
Therefore, the same encoding mode is easily selected. There
In the variable mode, the code in the same mode has a shorter code length
By performing coding, the number of bits of the mode-coded signal can be reduced.
The effect of being able to reduce is obtained. Embodiment 19 FIG. Embodiment 19 of the Invention
The image coding apparatus according to
State information and / or transparency information, and pixel value information.
The image signal composed of the
The encoding is performed in a mode suitable for the signal. Figure
23 is an image coding apparatus according to Embodiment 19 of the present invention.
FIG. 3 is a block diagram showing the configuration of FIG. In FIG.
The encoding mode determiner 110 is adapted to the shape signal 103
The encoding mode is determined, and the determination result is referred to as the encoding mode.
To the shape encoder 112 and the mode encoder 122
Output, and the transparency encoding mode determiner 130,
And the pixel value encoding mode determiner 132. So
Then, the transparency encoding mode determination unit 130
A determination is made with reference to the shape encoding mode 111, and the determination is made.
The transmission result is used as the encoding mode with the transparency encoder 116,
Output to the mode encoder 122 and the pixel value code.
It is also output to the encryption mode determiner 132. Pixel value encoding mode
The mode determiner 132 receives the input shape encoding mode 11
1 and the transparency encoding mode 115 to make a determination.
U. Operation of image encoding apparatus according to Embodiment 19
Are the same as those of the first embodiment except for the judgments of the respective mode judgment units.
8, and the shape encoded signal 113, the transmission
Degree encoded signal 117, pixel value encoded signal 121, and
The code encoded signal 123 is output. As described above, the image according to the nineteenth embodiment is obtained.
In the encoding device, referring to the shape encoding mode,
Transparency coding mode determination to determine signal coding mode
130, a shape encoding mode, and a transparency encoding mode.
The encoding mode of the pixel value signal with reference to both
With the provision of the pixel value encoding mode determiner 132
The selected mode is likely to be the same. Follow
To assign a shorter code if the modes match.
In code encoder 122, it is more possible than in Embodiment 18.
The efficiency of variable-length coding has been
The effect that the number can be reduced is obtained. Embodiment 20 FIG. Embodiment 20 of the present invention
The image coding apparatus according to
It is intended to improve the coding efficiency of a code-coded signal. Figure
24 is an image coding apparatus according to Embodiment 20 of the present invention.
FIG. 3 is a block diagram showing the configuration of FIG. In FIG.
The encoding mode determiner 118 adapts to the pixel value signal 107.
Of the selected encoding mode, and the result of the
Pixel value encoder 120 and mode encoder 1
22 and a transparency encoding mode decision unit 1
36, and also output to the shape encoding mode decision unit 138.
You. Then, the transparency encoding mode determiner 136 receives the input
A determination is made with reference to the pixel value encoding mode 119 that has been set.
The result of the decision is used as the encoding mode as a transparency encoder.
116 and the mode encoder 122
, And also output to the shape encoding mode determiner 138. shape
The encoding mode determiner 138 determines whether or not the input pixel value has been encoded.
Mode 119 and the transparency encoding mode 115.
To make a judgment. Operation of the image coding apparatus according to the twentieth embodiment
The actual operation is the same except for the judgment of each mode judgment unit.
This is the same as the eighteenth embodiment.
13, the transmittance coded signal 117, the pixel value coded signal 12
1 and the mode coded signal 123 are output. Thus, the image according to the twentieth embodiment is
In the encoding device, referring to the pixel value encoding mode,
Transparency encoding mode judgment to determine the encoding mode of the degree signal
136, a pixel encoding mode, and a transparency encoding mode.
The encoding mode of the shape signal with reference to both
With the shape encoding mode determiner 138,
The selected modes are likely to be the same. Therefore,
Mode code that assigns a short code if the modes match
In the encoder 122, the variable length is further
The coding efficiency is improved and the number of bits of the mode
The effect that reduction can be obtained is obtained. Embodiment 21 FIG. Embodiment 21 of the present invention
The image decoding apparatus according to the
Coded signal efficiently coded by the coding device
Then, appropriate decoding is performed. FIG. 25 shows the present invention.
Showing the configuration of an image decoding apparatus according to Embodiment 21 of the present invention.
It is a lock figure. In the figure, input signals 113, 11
7, 119 and 123 are images according to the eighteenth embodiment.
Shape encoded signal 113 output from the encoding device,
The transparency coded signal 117, the pixel value coded signal 119, and
And the mode encoded signal 123. 150 is mode decoding
And decodes the mode coded signal 123 to form
Coding mode 151, transparency coding mode 153, and
And the pixel value encoding mode 155 is output. 156 is the shape
A decoder 158 is a transparency decoder, and 160 is a pixel value decoder.
And input from the mode decoder 150, respectively.
Depending on the encoding mode applied, the shape encoded signal 11
3, the transparency encoded signal 117, and the pixel value encoded signal 1
19, shape-decoded signal 157, transparency decoding
The signal 159 and the decoded pixel value signal 161 are output.
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 the decoded image signal 163 is
Output. The twenty-first embodiment configured as described above
The operation of the image decoding apparatus according to the above will be described. Book
The image decoding apparatus according to the twenty-first embodiment has
No. 113, the transmittance coded signal 117, the pixel value coded signal
119 and the mode coded signal 123 are input,
The shape decoder 156, the transparency decoder 158,
Input to prime value decoder 160 and mode decoder 150
Is done. The mode decoder 150 outputs the mode encoded signal 1
23, the shape encoding mode 151, the transparency code
Encoding mode 153 and pixel value encoding mode 155,
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 corresponds to the input coding mode.
The input coded signal is decoded, and the shape decoded signal 15 is decoded.
7, the decoded transparency signal 159, and the decoded pixel value signal 1
61 is output to the deblocker 162. Reverse blocking
The unit 162 integrates the input decoded signal and generates a decoded image.
The signal 163 is output. As described above, the image according to the twenty-first embodiment is
In the decoding device, a mode decoder 150 and shape decoding
156, transparency decoder 158, pixel value decoder 16
0 and the provision of the deblocker 162,
To the encoded signal obtained by the image encoding apparatus according to aspect 18.
On the other hand, the decoded image signal is appropriately decoded and integrated.
163 can be obtained. In addition, Embodiment 2
In the first image decoding apparatus, the image code according to the eighteenth embodiment is used.
The encoded signal obtained by the encoding device shall be decoded.
Is the image encoding apparatus according to Embodiments 19 and 20,
Similarly, appropriate decoding is performed on the obtained encoded signal.
It is possible to do. Embodiment 22 FIG. Twenty-second embodiment of the present invention
Image encoding device inputs intra / inter-frame encoding
The coding is performed by switching according to the signal. Figure
26 is an image coding apparatus according to Embodiment 22 of the present invention.
FIG. 3 is a block diagram showing the configuration of FIG. In the figure, 178
Is an intra-screen / inter-screen encoding determiner for pixel value encoding,
Regarding the encoding mode of the pixel value signal,
The determination between the surfaces is performed, and the encoding mode 119 of the pixel value signal is set.
Output. Reference numeral 138 denotes a shape encoding mode determiner.
24, shape encoding in embodiment 20 shown in 138
It corresponds to a mode determiner. 170 and 176 are switches.
Switch according to the output of the decision unit 178.
Thus, the coding mode of the shape signal is determined. 172 is the shape
It is an in-screen / inter-screen coding determiner for coding, and a shape signal
The intra-screen or inter-screen for the encoding mode of
Is performed, and the coding mode 17 of the shape signal is determined based on the result of the determination.
3 is output. Other symbols are the same as in FIG.
The description is the same as that of the eighteenth embodiment. The twenty-second embodiment constructed as described above
The operation of the image coding apparatus according to the first embodiment will be described. Ma
First, the input image signal 101 corresponds to the image code of the twenty-second embodiment.
When input to the decoding device, the blocker 102
Blocking and signal separation are performed as in Embodiment 18.
A pixel value signal and a shape signal are output. Separated pixel value signal
No. 107 is an intra-screen / inter-screen coding determiner for pixel value coding
When input to the pixel value signal 178, the decision unit 178
7 for either intra-screen coding or inter-screen coding
It is determined whether encoding should be performed based on the
Pixel value code indicating either “in-plane” or “between screens”
As the encoding mode 119, the pixel value encoder 120 and the mode
Encoder 122 and shape encoding mode determiner 138
Output to The shape encoding mode determiner 138
Switches 170 and 176 are in the pixel value encoding mode 119.
Can be switched accordingly. If the pixel value encoding mode is "Screen
If "inside" is indicated, it should not be input to the decision unit 178.
In the case where “between screens” is indicated, the
Can be switched. Therefore, the pixel value encoding mode
When 119 indicates intra-frame encoding, the decision unit 138 outputs
A shape determination mode 111 indicating intra-screen encoding is output
It will be. On the other hand, the pixel value encoding mode 119 is
In the case of indicating the encoding, the corresponding
Whether the shape signal is coded within the screen or between screens
Intra / inter-screen encoding determiner 172 as to whether encoding should be performed by
Is determined, and the determination result is set as the shape encoding mode 111.
Output. In any case, shape encoding mode 1
11 is a shape encoder 112 and a mode encoder 122
Is output to Then, the pixel value encoder 120, the shape
The operations of the encoder 112 and the mode encoder 122 are actual.
As in the eighteenth embodiment, each encoded signal is output
You. Since the above operation is performed, the present embodiment
22, the pixel value signal is converted to an intra-screen code.
When encoded, the shape signal is always encoded in the screen.
The Rukoto. Generally, when pixel values do not match,
Since the states do not match, the pixel value signal is encoded in the screen
Power, that is, when the correlation is small in time,
Is the encoding of the shape signal encoding as in the twenty-second embodiment.
Even if the number of modes is limited, the coding efficiency of shape signal coding
Hardly deteriorates. Also, as in the case of an inset image (composite image),
Pixel value to be synthesized even if shape signal during synthesis is constant
May change. In such a case, the pixel value signal
Therefore, even if inter-picture coding is selected, the shape signal
Inter-picture coding is not always appropriate. This embodiment
22, the inter-picture coding is selected for the pixel value signal.
If selected, the shape signal is within / between screens
The shape signal
Encoding can also select the encoding mode of intra-screen encoding.
Yes, inappropriate inter-screen coding in shape signal coding
Will greatly reduce the coding efficiency.
Can be prevented. Further, when the shape signal or the pixel value signal is small,
If at least one is inter-coded,
Many necessary for motion compensation etc. performed in encoding
Additional information is required. Image according to the twenty-second embodiment
In the encoding device, only the shape signal is inter-coded.
In-screen encoding is selected for pixel value signal
In this case, the number of bits can be saved. General
For the additional information, the pixel value signal is
Less than the number of bits when
Cannot be ignored compared to the number of bits required for intra-plane coding
Since the number of bits is of the order, the effect is also great. This
As described above, according to the image coding apparatus of the twenty-second embodiment, the
An intra-screen / inter-screen encoding determiner 178 for prime value encoding;
Includes in-screen / inter-screen coding determiner 172 for shape coding
By providing the shape encoding mode determiner 138
Shape when the encoding mode of the raw signal is intra-screen encoding
The encoding mode of the signal is set to intra-screen encoding, and the pixel value signal
When the encoding mode is inter-screen encoding, the shape signal encoding
Since the decision is made by making a decision about the
Value signal encoding mode 119 and shape signal encoding mode
111 to increase the number of bits of the mode-coded signal.
Reduce the selection and suppress the selection to perform inter-screen coding
The number of bits of additional information for motion compensation
Can also be suppressed. Embodiment 23 FIG. Embodiment 23 of the present invention
Is a motion vector in encoding.
That performs encoding by switching the number of
It is. FIG. 27 shows an image according to Embodiment 23 of the present invention.
FIG. 2 is a block diagram illustrating a configuration of an encoding device. Smell
188 is a motion vector number determiner for pixel value encoding.
Motion vector in the pixel value signal encoding mode.
The number of pixels is determined, and the sign of the pixel value signal is determined.
The conversion mode 119 is output. 138 is a shape encoding mode
24 is a determinator, which is different from the twentieth embodiment shown at 138 in FIG.
It corresponds to a shape encoding mode determiner in the present embodiment. 180, and
And 186 are switches which respond to the output of the decision unit 188.
To determine the coding mode of the shape signal.
You. Reference numeral 182 denotes a motion vector number determiner for shape encoding.
The motion vector for the shape signal encoding mode
Judge how many numbers to make
The signal encoding mode 183 is output. About other signs
The description is the same as that of FIG.
It is like. The twenty-third embodiment constructed as described above
The operation of the image coding apparatus according to the first embodiment will be described. Ma
First, the input image signal 101 corresponds to the image code of the twenty-third embodiment.
When input to the decoding device, the blocker 102
Blocking and signal separation are performed as in Embodiment 18.
A pixel value signal and a shape signal are output. Separated pixel value signal
Reference numeral 107 denotes a motion vector number determiner 188 for pixel value encoding.
Are input to the pixel value signal 107,
To determine how many motion vectors to encode.
And the result of the determination is referred to as a pixel value encoding mode 119.
Then, the pixel value encoder 120 and the mode encoder 12
2 and output to the shape encoding mode determiner 138. FIG. 28 illustrates the number of motion vectors.
FIG. The motion is complicated near the contour of the object.
Using one motion vector (MV) per block
Then, it is difficult to make the motion compensation error sufficiently small.
In such a case, the block is divided and
It is desirable to assign a motion vector to
The number of motion vectors adaptively according to the nature of the image
It is known that the coding efficiency can be improved by changing
You. Therefore, in the image coding apparatus according to Embodiment 23,
As shown, one motion vector (MV
1) Use motion compensation or divide the block into four
One for each divided block, for a total of four motion vectors
(MV1, MV2, MV3, MV4)
Shall be switched accordingly. Therefore, in the decision unit 188
Determines whether the number of motion vectors is one or four.
And the encoding mode of the pixel value signal is “1” or
"4" is output as above. In the shape encoding mode determination unit 138, the switch
Switches 180 and 186 switch to the pixel value encoding mode 119.
Can be switched accordingly. Pixel value encoding mode is "1"
In such a case, in order not to be input to the determiner 182,
When "4" is indicated, it is input to the decision unit 182.
Can be switched. Therefore, the pixel value encoding mode 119 is
In the case of “1”, the number of motion vectors is
Then, the shape determination mode 111 of “1” which is the minimum number is
Will be output. On the other hand, pixel value encoding mode 11
When 9 indicates “4”, corresponding to the shape signal 105,
It is determined whether the number of motion vectors is one or four.
And the result of the determination is
It is output as the encryption mode 111. In any case
Also, the shape encoding mode 111
And the mode encoder 122. And the picture
Prime value encoder 120, shape encoder 112, and mode
The operation of the encoder 122 is the same as in Embodiment 18, and
Each encoded signal is output. Since the above operation is performed, the present embodiment
23, the number of pixel value signals is the minimum number.
When encoding using the motion vector of
Signal is always coded using the minimum number of motion vectors
It will be. Increasing the number of motion vectors increases the motion vector
The additional information needed to encode the
In such a case, the shape signal
Increased burden by suppressing the number of motion vectors for encoding
It is to prevent large. Thus, the second embodiment
According to the image coding apparatus of FIG.
And a motion vector count for shape encoding.
A shape encoding mode determination unit 138 including a constant unit 182;
The minimum number of pixel value signal encoding modes
When using the motion vector of
Code mode and the number of encoding modes of the pixel value signal
Is used, the shape mode encoding mode
Is selected by making a judgment about the pixel value signal.
Between the encoding mode 119 and the encoding mode 111 of the shape signal.
Increase the correlation to reduce the number of bits in the mode-coded signal
And increase the number of motion vectors
Suppressing selection increases additional information
Can be suppressed from increasing. Embodiment 24 FIG. Embodiment 24 of the present invention
The image coding apparatus according to
The encoding is performed by switching the modification according to the input signal.
is there. FIG. 29 is a diagram showing an image code according to Embodiment 24 of the present invention.
It is a block diagram which shows the structure of an encoding device. Smell
198 is a quantization step change / non-change of the pixel value coding.
And determines the encoding mode of the pixel value signal.
Whether to change the quantization step or not
Judgment is performed, and the encoding mode 119 of the pixel value signal is output.
You. Reference numeral 138 denotes a shape encoding mode determiner, which is shown in FIG.
138 is the shape encoding mode in the twentieth embodiment.
It corresponds to a determiner. 190 and 196 are switches
Therefore, it is switched according to the output of the determiner 198,
Determine the encoding mode of the signal. 192 is the shape encoding
It is a quantizer step change / non-change determiner that determines the shape signal.
Change the quantization step for the encoding mode
Or not, and determine
The signal mode 193 is output. Other signs
22 is the same as that in FIG.
The same is true. The twenty-fourth embodiment configured as described above
The operation of the image coding apparatus according to the first embodiment will be described. Ma
First, the input image signal 101 corresponds to the image code of the twenty-fourth embodiment.
When input to the decoding device, the blocker 102
Blocking and signal separation are performed as in Embodiment 18.
A pixel value signal and a shape signal are output. Separated pixel value signal
No. 107 changes / non-changes the quantization step of pixel value coding
When input to the determiner 198, the determiner 198 outputs the pixel value signal.
Change the quantization step for signal 107, or
Is not performed, and the result of the determination is
Or pixel value encoding mode indicating either "no change"
119, the pixel value encoder 120 and the mode encoding
To the shaper 122 and the shape coding mode determiner 138
You. In the shape encoding mode determination unit 138, the switch
Switches 190 and 196 are set to the pixel value encoding mode 119.
Can be switched accordingly. If the pixel value encoding mode is
If "update" is indicated, the input is not input to the decision unit 192.
In the case where "change" is indicated, it is input to the decision unit 192.
Can be switched. Therefore, pixel value encoding mode 1
If 19 indicates that the quantization step should not be changed,
The shape determination mode 11 indicating “unchanged” from the integrator 138
1 will be output. On the other hand, pixel value encoding mode
If 119 indicates to change the quantization step,
The quantization step is changed according to the shape signal 105.
The determination unit 192 determines whether or not to perform the determination.
The fixed result is output as the shape encoding mode 111. In each case, the shape encoding mode 11
1 is a shape encoder 112, a mode encoder 122,
Is output to Then, the pixel value encoder 120, the shape code
The operations of the encoder 112 and the mode encoder 122 are implemented.
In this case, each encoded signal is output.
The value of the quantization step is the degree of compression,
Is generally linked to the transmission rate of the
Transmission rate or recording rate of an encoded signal
The transmission rate must be higher than the specified value so that the
If it is large, the quantization step is coarse, and if it is small, the amount
Control for increasing the densification step is performed. Also, quantization
The step value also directly affects the quality of the encoded signal.
Therefore, if the image is such that the pixel value changes sharply,
In this case, image quality degradation in the amplitude direction is difficult to detect visually.
From the above, increase the quantization step to increase the compression ratio
It becomes possible. Quantization according to such a change in pixel value
Changing the steps is also commonly done. Control for Changing the Quantization Step
Indicates that the quantization step has changed.
Additional information is added for each block, and the image data and
Are also encoded. However, changes in the quantization step
For further changes, the pixel value signal and the shape signal are changed simultaneously.
Of the pixel value signal.
If the step is not changed, the quantization step of the shape signal is
Even if restrictions are added so as not to change the
Image quality degradation is slight, while the quantization step
Can be greatly reduced. As described above, the image code of the twenty-fourth embodiment
According to the quantization device, the quantization step of the pixel value encoding is changed /
A non-change decision unit 198 and a quantization step change
Shape encoding mode determination including a change / non-change determination unit 192
And the encoding mode of the pixel value signal.
If the quantization mode is "No change of quantization step",
Set the encoding mode to "No quantization step change", and
When the coding mode of the signal is "change quantization step"
Determines the encoding mode of the shape signal and selects
The encoding mode 119 of the pixel value signal and the shape signal.
Mode coding by increasing the correlation with the coding mode 111 of the signal
It is possible to reduce the number of bits of the signal
Suppress the choice that the quantization step is changed
As a result, additional information can be increased by changing the quantization step.
It is also possible to suppress the number of bits and reduce the number of bits. Note that the image coding of the twenty-second to twenty-fourth embodiments
The device is in accordance with the twentieth embodiment shown in FIG.
Although the configuration is different from that of the nineteenth embodiment shown in FIG.
It is also possible to adopt a configuration according to
Increasing mode correlation and suppressing increase in additional information
By doing so, the number of bits can be reduced. Also,
A configuration according to the eighteenth embodiment shown in FIG.
It is possible to perform encoding suitable for each signal and
Can be reduced. Embodiment 22 to
The coded signal obtained by the image coding device of FIG.
Appropriate decoding can be performed in the image decoding apparatus according to aspect 21.
It is possible. In Embodiments 18 to 21, the input image
The signal is derived from transparency information and shape information in addition to pixel value information.
The pixel value signal, the transmittance signal, and the shape
Although the separation into the state signals is performed, the second embodiment
In 2 to 24, the input image signal is converted into a pixel value signal and a shape signal.
It shall be separated. About this, the embodiment
Even in 22 to 24, the transparency information and the shape information match.
In this case, it is possible to use only the shape information,
On the other hand, if they do not match, the setting of the blocker
Use transparency information as a shape signal or multi-valued signal
Dealing with certain transparency information together with pixel value information,
In this way, the shape signal and the pixel value signal can be obtained.
You. Embodiment 25 FIG. Embodiment 25 of the present invention
Is a two-dimensional image composed of a plurality of pixels.
Inputs image signals and predicts and detects changed pixels.
You. FIG. 30 is a diagram showing image coding according to the twenty-fifth embodiment of the present invention.
FIG. 2 is a block diagram illustrating a configuration of the device. In the figure, 2
01 is an input signal, which is an image code as a binary image signal.
Input to the gasifier. 204c is a first change pixel detector
And the pixel value changes with respect to the input signal 201.
Pixel as the first detected change pixel 205c.
Power. 202a and 202b are memories,
Delayed by temporarily storing the signal, the reference signal 20
Output as 3a and 203b. 204a and 2
Reference numeral 04b denotes a change pixel detector, which includes a reference signal 203a and a reference signal 203a.
And the pixel whose pixel value changes are detected for
And the second and third detection change pixels 203a and 203a
Output as 3b. 206 is a change pixel predictor;
Based on the detected change pixels 203a and 203b, the first
The changed pixel output from the changed pixel detector 204c
Then, a predicted change pixel 207 is output. 208 is a subtractor
Yes, the first changed pixel 205c and the predicted changed pixel 207
Is obtained, the difference is calculated as the prediction error 20
9 is output. 210 is an encoder, which has a prediction error
209, and outputs an encoded signal 211. In the twenty-fifth embodiment configured as described above,
The operation of the image coding apparatus according to the first embodiment will be described. FIG.
Reference numeral 1 denotes encoding of the image by the image encoding apparatus according to Embodiment 25.
It is a figure for explaining the principle of operation. Here is a brief explanation
For the sake of simplicity, it is assumed that each pixel is processed sequentially.
The management procedure will be described. In FIG. 31, from the upper left pixel to the right
Scanning is performed in the lower right direction.
I do. The pixel value of each pixel has a binary value.
It represents a true / false value (binary). Also, here
Encoding is completed in the first and second lines, and three lines
Encoding the eye (the line where the first change pixel is)
And [0136] In the above-described scanning, the changed pixel is not
The first pixel whose prime value changes, which is a coded line
The changed pixel on the (scanning line) is a second changed pixel and a third changed pixel.
And the first changed pixel on the uncoded scan line
Is the first change pixel. Therefore, the second change pixel and the second change pixel
And the first changed pixel is predicted from the three changed pixels.
Difference value between the calculated first changed pixel and the actual first changed pixel
If (prediction error) is calculated, the prediction error is concentrated near 0
Fewer bits using variable length coding etc. because of distribution
It is possible to perform efficient encoding by using numbers. In FIG. 30, first, the input signal 201 is
Input to the device. Normal for image input signal 201
Color signal (pixel value signal), object shape or object
It can be a shape signal representing the ratio of synthesis. Input signal
No. 201 is input to the memories 202a and 202b.
Is temporarily stored. On the other hand, the input signal 201 is the first change image.
The change pixel detector 204 is also input to the elementary detector 204c.
c detects a pixel whose binary pixel value changes. This is
It is a first change pixel of FIG. In FIG. 30, the first
Are input to the subtractor 208. On the other hand, the memory 202a stores the temporarily stored input data.
The signal 201 is delayed by two lines to obtain a reference signal 203a.
And outputs it to the changed pixel detector 204a.
204a detects the second change pixel 205a in FIG.
You. Similarly, the memory 202b stores the temporarily stored input signal.
201 is delayed by one line as a reference signal 203b.
The output to the changed pixel detector 204b is output to the changed pixel detector 20b.
4b detects the third change pixel in FIG. In FIG.
In this case, the changed pixels 205a and 205b are
Input to the measuring instrument 207. [0139] Generally, the image is displayed in the horizontal and vertical directions.
And the first and second changed pixels are substantially straight lines.
Often lined up. The change pixel predictor 206
Prediction based on the input changed pixels based on
The predicted change pixel 207 is output to the subtractor 208. Decrease
The arithmetic unit 208 and the input first change pixel 205c are
By acquiring the difference from the measured pixel 207,
The difference is output to the encoder 210 as a prediction error 209,
Encoder 210 encodes prediction error 209 and encodes
The signal 211 is output. The predicted change pixel and the first detected
The prediction error, which is the difference value with the changed pixel, is concentrated near 0.
If this is coded, it will be closer to 0.
Use variable-length coding that assigns codes with a small number of bits
Can be efficiently encoded with a small number of bits
become. As described above, the image coding apparatus according to the twenty-fifth embodiment is described.
The memory 202a-b and the change pixel detector 204
a to c, a change pixel predictor 207, a subtractor 208,
By providing the encoder 210, the input signal can be delayed.
Based on the changed pixel detected from the reference signal
Predict the changing pixels of the signal and note the error in this prediction.
Encoding to improve coding efficiency.
It becomes possible. Embodiment 26 FIG. Embodiment 26 of the present invention
Is a two-dimensional image composed of a plurality of pixels.
Inputs image signals and predicts and detects changed pixels.
Embodiment 25 is different from Embodiment 25 in how to acquire a changed pixel used for prediction.
The law is different. FIG. 32 shows Embodiment 2 of the present invention.
6 is a block diagram illustrating a configuration of an image encoding device according to Embodiment 6.
You. In the figure, reference numeral 201 denotes an input signal, which is a binary image.
The image signal is input to the image encoding device. 204 is strange
A pixel detector for the input signal 201,
Pixels whose prime value changes are detected and detected as detected change pixels 205.
Output. 216a and 216b are memories,
Delay by temporarily storing the input changed pixels
You. The memory 216a delays the detection change pixel 205
The reference change pixel 217a is stored in the memory 216b by the reference signal 2
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 217b to predict a changed pixel,
The pixel 207 is output. Subtractor 208 and encoder 21
0 is the same as in the twenty-fifth embodiment. In the twenty-sixth embodiment configured as described above,
The operation of the image coding apparatus according to the first embodiment will be described. Implementation
An input signal 201 similar to that of the twenty-fifth embodiment is
Is input to the image encoding device of
Therefore, a pixel whose binary pixel value changes is detected,
The changed pixel 205 is output to the memory 216a and the subtractor 208.
Is forced. Detected change pixel 2 input to memory 216a
05 is a reference change pixel 217a after a delay of one line.
To the change pixel predictor 206 and the memory 216b.
Is forced. 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. reference
The changing pixels 217a and 217b are described in Embodiment 25.
By treating them as the second and third changed pixels,
Pixel prediction unit 206 performs the same prediction as in the twenty-fifth embodiment.
And a predicted change pixel 207 is obtained.
Subsequent processing is the same as in the twenty-fifth embodiment. As described above, the image code of the twenty-sixth embodiment
In the conversion device, the memories 216a and 216b and the changed pixel detector 2
04, a change pixel predictor 207, a subtractor 208,
With the provision of the encoder 210, detection is performed from the input signal.
Reference change image by delaying change pixel in memory
To obtain the input signal based on the reference change pixel.
The change pixel of the signal and sign the error for this prediction
In the same manner as in Embodiment 25,
It is possible to improve the conversion efficiency. Embodiment 27 FIG. Embodiment 27 of the present invention
Is a two-dimensional image composed of a plurality of pixels.
Inputs image signals and predicts and detects changed pixels.
Embodiment 25 is different from Embodiment 25 in how to acquire a changed pixel used for prediction.
The law is different. Image coding according to the twenty-seventh embodiment
The device has the same configuration as the device according to the twenty-fifth embodiment.
FIG. 30 is used for the description. Image according to Embodiment 25
In the image coding apparatus, as described with reference to FIG.
Of one line and two lines immediately before
The change pixel in the scan line is used for prediction,
In the image coding apparatus according to the twenty-seventh embodiment,
The prediction is performed based on the changed pixels in the scanning line.
You. FIG. 33 shows an image coding apparatus according to the twenty-seventh embodiment.
FIG. 7 is a diagram for explaining the principle of the encoding operation by the unit.
For the scan line located at the bottom to perform encoding, 7 lines
And the second detected in the scan line four lines before,
And the first changed pixel is on a straight line based on
Is predicted to exist, the predicted change pixel shown in FIG.
can get. From the predicted change pixel and the input signal,
Using the prediction error with the first changed pixel detected in the line
Information "one pixel to the right of the predicted changed pixel"
By encoding, encoding is performed in the same manner as in Embodiment 25.
Efficiency can be improved. Operation of image coding apparatus according to the twenty-seventh embodiment
Is temporarily stored in the memories 202a and 202b.
Embodiment 25 is the same as Embodiment 25 except that
It will be similar. In addition, the change pixel predictor 206
Then, a changed pixel can be predicted by calculation as follows.
The second changed pixel is the x-th pixel on the m-th line, and the third changed image
To the y-th pixel of the n-th line and the predicted point of the first changed pixel
Assume that the 3rd point is aligned on the straight line with the z-th pixel on the k-th line
Then, the relation x-y: z-y = m-n: k-n holds
Therefore, z−y = (x−y) * (k−n) / (m−n). Therefore, z = y
-(x-y) * (n-k) / (m-n), the first changed pixel is the k-th
The y- (x-y) * (n-k) / (m-n) pixel of the pixel. like this
In the image coding apparatus according to Embodiment 27,
The configuration is the same as that of the image coding apparatus according to the twenty-fifth embodiment.
Delay using the memories 202a and 202b
The same effect can be obtained by changing the time. Embodiment 28 FIG. Embodiment 28 of the Invention
Is a two-dimensional image composed of a plurality of pixels.
Inputs image signals and predicts and detects changed pixels.
Embodiment 25 is different from Embodiment 25 in how to acquire a changed pixel used for prediction.
The law is different. Image coding according to the twenty-eighth embodiment
The device is the same as the device according to the twenty-fifth embodiment shown in FIG.
Configuration for decoding the encoded signal 211
And the encoded and decoded output of the decoder
Only one signal is output to one of the memories. Real
The image coding apparatus according to Embodiment 25 uses FIG.
As described above, one line corresponds to the scan line to be encoded.
Pixel in a scanning line located on two lines
Is used for prediction, but the image of Embodiment 28
In the encoding device, the encoded and decoded
A changed pixel on a scanning line is used for prediction. FIG. 34 shows an image coding apparatus according to the twenty-eighth embodiment.
FIG. 7 is a diagram for explaining the principle of the encoding operation by the unit.
A scan line to be encoded (in the figure, a first change pixel exists)
4 lines above and 3 lines below
And third changed pixels detected in the scan line
It is assumed that the first changed pixel exists on a straight line based on
Then, the predicted change pixel shown in the figure is obtained. This prediction
Changed pixel and detected in the scan line from the input signal
Using the prediction error with the first changed pixel,
By encoding the information “two pixels to the right of the
Thus, as in the case of Embodiments 25 and 27, the coding efficiency is improved.
I can go up. Operation of Image Coding Apparatus in Embodiment 28
Is temporarily stored in the memories 202a and 202b.
The delay time differs depending on the memory, and the encoder 210 outputs
The encoded signal 211 to be decoded is decoded
And the corresponding change pixel detector
Only the point of detecting a changed pixel from the
Different from the form 25. Thus, according to the twenty-eighth embodiment,
An image coding apparatus according to the twenty-fifth embodiment
Path for decoding a coded signal to a reference image
With the added configuration, a similar effect can be obtained. Embodiment 29 FIG. Embodiment 29 of the Present Invention
Is a two-dimensional image composed of a plurality of pixels.
Inputs image signals and predicts and detects changed pixels.
The changed pixel detected in the same manner as in Embodiment 26 is delayed.
Is used for prediction. FIG. 35 shows an embodiment of the present invention.
FIG. 28 is a block diagram showing the configuration of an image encoding device according to aspect 29.
It is. In the figure, 216 and 220 are memories
Yes, it is delayed by temporarily storing the input changed pixels.
Extend. The memory 216 delays the detected change pixel 205.
The delay change pixel 217 is stored in the memory 220 and the prediction error 2
09 is delayed and a delay prediction error 221 is output. 22
2, and 224 are adders, and the adder 222 is a delay unit.
The change pixel 217 and the delay prediction error 221 are added to an adder 224.
Adds the prediction error 209 and the delay prediction error 221
You. Other symbols are the same as those in FIG.
Same as 26. In the twenty-ninth embodiment configured as described above,
The operation of the image encoding apparatus according to the first embodiment will be described. Figure
Numeral 36 denotes encoding by the image encoding apparatus according to the twenty-ninth embodiment.
FIG. 4 is a diagram for explaining the principle of the operation of FIG. Embodiment 26
Now, by delaying the detected first changed pixel, the second,
And a third changed pixel. Against this
In the image coding apparatus according to the twenty-ninth embodiment, the second
The difference between the changed pixel and the third changed pixel is defined as the third changed pixel.
To be added and used as the predicted value of the first changed pixel
It is. As shown, the second change pixel and the third change pixel
The difference from the pixel is “two pixels to the left” and the third changed pixel
By adding the “two pixels to the left”, the encoding is
The scanning line to be performed (in the figure, the line where the first changed pixel exists)
In), the predicted changed pixel in FIG. on the other hand
The first change pixel is detected in the scan line to be encoded.
And the detected first changed pixel and the prediction
By encoding "one pixel to the left" which is the difference from the change pixel,
The same effect as in the twenty-sixth embodiment can be realized. In FIG. 35, the input signal 201 is
Input to the image coding apparatus according to aspect 29,
204 detects the position where the binary pixel value changes
The first changed pixel 205 is subtracted from the memory 216.
And output to the device 208. In the memory 216, one lane
The delay change pixel 217 delayed by IN is shown in FIG.
This is the third change pixel. The delay change pixel 217 is an adder
222, and the second and third
Addition to delay prediction error 221 corresponding to difference of changed pixels
The obtained predicted change pixel 207 is output to the subtractor 208.
Is forced. The subtracter 208 predicts the detected change pixel 204 and
The difference from the measured pixel 207 is output as the prediction error 209.
This prediction error 209 is encoded by the encoder 210.
And the encoded signal 211 is output. Prediction error 2
09 is added to the delay prediction error 22 in the adder 224.
1 is added. Resulting delay prediction error 221
Corresponds to the difference between the second and third changed pixels as described above.
Is temporarily stored in the memory 220.
Therefore, it is delayed and used for the next encoding. That is,
In FIG. 36, the next line (one line below)
In addition, the above-mentioned “two pixels to the left” in the delay error 221
And the above "one pixel to the left" which is the prediction error 209 is added.
That the “3 pixels to the left” is used as the predicted value
Become. As described above, the image code of the twenty-ninth embodiment
In the digitizing device, the memories 216 and 220 and the changed pixel detection
Output unit 204, adders 216 and 220, and subtractor 2
08 and the encoder 210, the input signal
Delay processing for the detected changed pixels and the prediction error
And the addition process, the embodiment 26
Similarly, it is possible to improve the coding efficiency. What
In the image coding apparatuses according to Embodiments 25 to 29,
Input in block units,
It is possible to process by the order. Embodiment 30 FIG. Embodiment 30 of the present invention
The image decoding device according to
Decode the encoded signal output from the device to
To obtain a two-dimensional image signal. Fig. 37
30 shows a configuration of an image coding apparatus according to Embodiment 30 of the present invention.
It is a block diagram. In the figure, 211 is an input signal
And output from the image coding apparatus according to Embodiment 25.
30 is a coded signal (211 in FIG. 30) of a prediction error to be performed.
A decoder 230 decodes the coded signal 211.
Thus, a decoding prediction error 231 is output. 232 is an adder
Yes, the decoding prediction error 231 and the prediction change pixel 207 are added.
The arithmetic processing is performed, and the obtained decoded change pixel 233 is output.
Reference numeral 234 denotes a pixel value generator, which is directly connected to the decoded changed pixel 233.
Pixels located between the previously decoded change pixels are
Pixel value, that is, the pixel value of a pixel that is not a changed pixel
Then, a decoded image signal 235 is generated and output. other
Are the same as those in FIG.
The same is true. Embodiment 30 configured as above
The operation of the image decoding apparatus according to
When the encoded signal 211 is input, the prediction error is encoded.
The input signal 211 is decoded by the decoder 230.
The resulting decoded prediction error 231 is
2 is output. On the other hand, the image signal 235 decoded immediately before
Are input to the memories 202a and 202b, and the
As in state 25, the prediction of the changed pixel is performed and the changed pixel is predicted.
The predicted change pixel 207 is sent from the predictor 206 to the adder 232.
Is output. The adder 232 adds the predicted change pixel 207 to
By adding the input decoding prediction error 231
Thus, the decoding change pixel 233 is obtained, and this is used to generate a pixel value.
Output to the device 234. The pixel value generator 234 calculates the decoding change
Located between pixel 233 and the previously decoded change pixel.
Pixel is a predetermined pixel value, that is, an image that does not become a changed pixel.
A decoded image signal 235 is generated as a raw pixel value.
Output. Thus, the image according to the thirtieth embodiment is
The decoding device comprises memories 202a-b, a changing pixel detector
204a-b, a change pixel predictor 207, and a decoder 2
30, an adder 232, and a pixel value generator 234.
By using the prediction change pixel and the decoding prediction error,
A decoded change pixel is obtained, and the decoded image signal 23 is
5 so that the coded signal according to
Can be decrypted. In the thirtieth embodiment,
Now, the encoded signal by the image encoding apparatus of the twenty-fifth embodiment is
Is decrypted, but according to Embodiments 27 and 2
8 to obtain an encoded signal obtained by the image encoding apparatus.
Can be similarly decoded. Embodiment 31 FIG. Embodiment 31 of the present invention
The image decoding apparatus according to
Decode the encoded signal output from the device to
To obtain a two-dimensional image signal. FIG. 38 shows the present invention.
30 shows a configuration of an image coding apparatus according to Embodiment 31 of the present invention.
It is a block diagram. Referring to FIG.
The arithmetic unit 232 and the pixel value generator 234 are shown in FIG.
This is the same as FIG. 32, and the description is given in the embodiments 30 and 26.
Is the same as 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 prediction error is encoded.
The input signal 211 is decoded by the decoder 230.
The resulting decoded prediction error 231 is
2 is output. On the other hand, the decoded changed image decoded immediately before
The element 233 is input to the memory 216a,
In the same manner as described above, the prediction of the changed pixel is
The predicted change pixel 207 is output from the adder 232 to the adder 232.
It is. Subsequent processing is the same as in the thirtieth embodiment.
You. Thus, the image decoding apparatus according to the thirty-first embodiment is described.
The memory 216a-b and the change pixel predictor 207
, A decoder 230, an adder 232, and a pixel value generator
234, the prediction change pixel and the decoding prediction error
Using the difference, a decoded changed pixel is obtained, and
Since the signal image signal 235 is obtained, the code
The decoded signal can be appropriately decoded. Embodiment 32 FIG. Embodiment 32 of the present invention
The image decoding device according to
Decode the encoded signal output from the device to
To obtain a two-dimensional image signal. FIG. 39 shows the present invention
32 shows a configuration of an image coding apparatus according to Embodiment 32 of the present invention.
It is a block diagram. Referring to FIG.
The arithmetic unit 232 and the pixel value generator 234 are shown in FIG.
The description is similar to that of FIG.
Is the same as 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 prediction error is encoded.
The input signal 211 is decoded by the decoder 230.
The resulting decoded prediction error 231 is
2 is output. On the other hand, the decoded changed image decoded immediately before
The element 233 is input to the memory 216,
Similarly, the prediction of the changed pixel is performed, and the
The predicted change pixel 207 is output to the adder 232. Or later
Is similar to that of the thirtieth embodiment. As described above, the image according to the thirty-first embodiment is
The decoding device comprises memories 216 and 220 and adder 2
24, 222, and 232, the decoder 230, and the pixel
With the provision of the value generator 234, the prediction change pixel and the decoding
The decoding change pixel is obtained using the signal prediction error and
Therefore, a decoded image signal 235 is obtained according to the twenty-ninth embodiment.
Can be appropriately decoded.
It should be noted that any one of the image coding apparatuses
If encoding was performed in block units in
In the case of the image decoding apparatus according to Embodiments 30 to 32,
Input the coded signal in block units, and
Processing can be performed properly by
You. Embodiment 33 FIG. Embodiment 33 of the present invention
The image encoding device according to
Output by switching the encoding result of the difference or the number of pixels
It is. FIG. 40 shows an image code according to Embodiment 33 of the present invention.
It is a block diagram which shows the structure of an encoding device. Smell
Reference numeral 240 denotes a subtractor, which detects the changed pixel 205
The difference 241 between b and 205c is obtained. 242 is a sign
And encodes the difference 41 to generate an encoded signal 243
Is output. 244 is a comparator, which has a prediction error 209 and
A comparison with a predetermined value is performed, and a switch 24
6 is controlled. Reference numeral 246 denotes a switch.
Either of the coded signals 247 and 243 is
Whether to use the output coded signal 211 of the image coding device
The switching is performed under the control of the comparator 244. Other marks
The symbols are the same as in FIG. 30, and the description is the same as in the twenty-fifth embodiment.
It is. An image coding apparatus according to Embodiment 25 performs prediction
The error was coded, but the prediction error was small.
The encoding is performed on the assumption that
In such a case, the coding efficiency decreases. In such a case,
Rather than encoding the measurement error, the change pixel itself (position) is marked.
Encoding is more efficient. Therefore, this implementation
In the image coding apparatus according to aspect 33, the code of the prediction error
And encoding the number of pixels indicating the position of the changed pixel.
Things. In addition, encoding of the changed pixel itself (position) is performed.
Changes the number of changed pixels, making prediction difficult
Or impossible, making prediction error coding difficult or impossible
Encoding, it is possible to perform encoding.
You. In the thirty-third embodiment configured as described above,
The operation of the image coding apparatus according to the first embodiment will be described. FIG.
Reference numeral 1 denotes encoding of the image by the image encoding apparatus according to Embodiment 33.
It is a figure for explaining the principle of operation. Second and third
The prediction of the first changed pixel from the changed pixel is performed according to the second embodiment.
This is the same as the case of No. 5. In the thirty-third embodiment,
Predetermined values centered on predicted change pixels
Set the corresponding prediction range. Then, the detected first change
Depending on whether or not the pixel is in the prediction range,
The switch is performed, and if it is within the prediction range,
If the difference is not in the prediction range, encode the first changed pixel
You. In the thirty-third embodiment, the third change
Since the pixels are already coded and decoded, the first
To encode the change pixel, a third change pixel and a
The difference in the scanning order from the one changed pixel, that is,
It suffices to encode the number of existing pixels. And
Of the pixels in between, those located in the above prediction range
This is encoded by the prediction error.
It is possible to leave. Therefore, the first changed pixel is
In order to encode, the pixels in the prediction range
That is, it is only necessary to encode the code excluding. For example, the change pixel A in FIG.
Pixel B is outside the prediction range, and
What to do if these points are detected as changed pixels
explain. As described in the twenty-fifth embodiment, the scanning direction is
From upper left to lower right, the first change pixel is 3 * 12 + 6 = 42
Eye, change pixel A is 4 * 12 + 1 = 49th, change pixel B is 4 * 12 + 10
= 58th. Between the third changed pixel and the changed pixel A
Since there is no prediction range, the number of pixels between them is 49-42 =
7 is a change pixel A, that is, information indicating the position of A.
Is encoded. On the other hand, in the case of the change pixel B,
The prediction range is included between the changed pixel 3 and the changed pixel B.
So, excluding 5 pixels in this prediction range,
2-5 = 11 is changed pixel B, that is, information indicating the position of B.
Will be encoded. The input signal 201 is the image of the thirty-third embodiment.
After being input to the encoding device, the memories 202a and 20
From the delay due to 2b, the prediction error 20
9 is performed in the same manner as in the twenty-fifth embodiment.
Signal 210 of the prediction error 209 by the
7 is obtained. In Embodiment 25, this encoded signal is output.
Although the encoded signal was input,
, The encoded signal 247 is output to the switch 246.
Further, the prediction error 209 is calculated by the encoder 242 and the comparator 2
44. On the other hand, when the change pixel detector 204b detects
The third changed pixel 205b and the changed pixel detector 204c
Is subtracted from the first change pixel 105c detected by the subtractor 24.
0, and the difference between them is
The prime number 241 is obtained and output to the encoder 242.
The encoder 242 calculates the difference 241 and the prediction error 2
09 and the number of pixels excluding pixels existing in the prediction range
Obtain coded signal 243 and output it to switch 246
I do. The comparator 244 calculates, for the input prediction error,
It is determined whether it is in the prediction range or not.
In the switch 246, the prediction error coded signal 247 is
Output 211 and if not in prediction range
The switch 246 outputs the pixel number encoded signal 243.
Control is performed by the signal 245 so that the force 211 is set.
U. As described above, the image according to the thirty-third embodiment is
In the encoding device, the image encoding device according to Embodiment 25 is used.
, A subtractor 240 and a pixel number encoder 242
And a configuration including a comparator 244 and a switch 246.
The prediction error is within the specified range
Indicates that the coded signal of the prediction error is out of range.
Since the encoded signal of the prime number is the encoded signal to be output,
If the prediction error is large, the
Coding efficiency can be reduced even when the changing pixel cannot be predicted.
Perform proper encoding to prevent degradation
Becomes possible. Embodiment 34 FIG. Embodiment 34 of the Invention
The image decoding apparatus according to
Decode the encoded signal output from the device to
To obtain a two-dimensional image signal. Fig. 42
34 shows a configuration of an image coding apparatus according to Embodiment 34 of the present invention.
It is a block diagram. In the figure, reference numeral 250 denotes mode decoding.
The prediction error is coded for the input signal
Signal or the position of the changing pixel (number of pixels) is encoded
It is determined whether the signal is an encoded signal and the encoding mode 251 is output.
You. 256 is a pixel number decoder which converts the input signal 255
It decodes and outputs the decoded pixel number 257. 258 is added
A prediction change pixel 205b and the number of decoded pixels 257
And outputs a decoded changed pixel 259. 2
52 and 260 are switches, and the mode decoder 25
Input signal and output corresponding to the encoding mode that outputs 0
Switching of signals is performed. Other symbols are the same as in FIG.
The description is the same as that of the twenty-fifth embodiment. More than
Image decoding apparatus according to the thirty-fourth embodiment
The operation of the device will be described. The encoded signal 211 is
When input, the mode decoder 250 first
Encodes the measurement error or encodes the number of pixels
Are determined, and the result of the determination
The coding mode of “error” or “number of pixels” is output.
The switching between the switches 252 and 260 is controlled. Operation when prediction error is coded
Is the same as in the thirtieth embodiment. On the other hand, the number of pixels
The switch 252
Therefore, the input signal 211 is decoded by the decoder 256.
And the number of pixels, which is the difference between the changed pixels, is decoded,
The decoded pixel number 257 is output to the adder 258. Addition
In the arithmetic unit 258, the number of decoded pixels 257 is
Predicted based on the decoded image signal 235 obtained by
The decoded change pixel 259 is obtained by adding the
Can be In any case, based on the decoded change pixel 261
Thus, the decoded image signal 235 is output as in the thirtieth embodiment.
Is done. As described above, image decoding according to the thirty-fourth embodiment.
The decoding apparatus is based on the image decoding apparatus according to Embodiment 30.
The mode decoder 250, the adder 258, and the
Prime decoder 256 and switches 252 and 260
And the mode decoder 250
The switch 252 and the switch 252 correspond to the encoding mode to be acquired.
And 260 are switched, and appropriate decoding is selectively performed.
Therefore, the encoding coded in Embodiment 33
The signal can be properly decoded. Embodiment 35 FIG. Embodiment 35 of the Present Invention
The image encoding device and the image decoding device according to
Box settings can be changed according to the image signal.
You. Image coding apparatus and image according to Embodiment 35
The decoding apparatus has the same configuration as in Embodiments 33 and 34.
Things. FIG. 43 shows encoding according to the 35th embodiment,
Alternatively, it is a diagram for explaining the principle of the decoding operation. Figure
(a) shows the case where the input image is composed of 8 × 8 pixels, and
FIG. 4 (b) shows a sub-sampled version of the same example, and
The configuration is shown. Subsampled
Is 1/2, while the distance between pixels is doubled.
You. Therefore, if it is subsampled,
The measurement range is defined as a range equivalent to 1/2 of the prediction range of the original one.
Search results in searching for almost the same spatial location.
You. For example, the right subsampled prediction range and
Use the same range of ± 2 pixels as the original one on the left.
Then, it will exceed the number of pixels in one line,
In Embodiments 33 and 34, the mode switching is
Not done properly. On the other hand, as shown
If it is subsampled, reduce the prediction range by half
In that case, mode switching can be performed properly,
Improvement of the coding efficiency according to the embodiment can be realized. As described above, the image according to the thirty-fifth embodiment is
In an encoding device and an image decoding device, a thirty-third embodiment
Encoding apparatus, or an image according to the thirty-fourth embodiment.
In the decoding device, the size of the prediction range is
By changing the size according to the size,
In the case of sample
It is possible to improve the efficiency. Embodiment 36 FIG. Embodiment 36 of the present invention
The image encoding device based on
And encodes a significant area from the image signal.
Extraction and efficient encoding are performed. FIG.
A configuration of an image coding apparatus according to Embodiment 36 of the present invention
FIG. Referring to FIG.
The signal is a two-dimensional shape signal. 402 is a significant area extraction
A significant region extracted from the input shape signal 401
And outputs a significant area signal 403. 404 is a block
The input shape signal 401 is divided into blocks and
The locked shape signal 405 is output. 408 is a switch
And switching is performed in response to the significant area signal 403.
U. Reference numeral 412 denotes a block size changer, which outputs a significant area signal.
Change the size of the block in response to
A further blocked shape signal 413 is output. 418,
And 414 are encoders, each of which has a significant area signal 4
03 and the block shape signal 413
The signals 419 and 415 are output. The thirty-sixth embodiment configured 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 and input to the image coding apparatus of FIG.
Is input to the blocking unit 404. Extract significant area
The detector 402 detects the range of the significant region and outputs the significant region signal.
403 is a switch 408, a block size changer 41
2 and output to the encoder 418. FIG. 45 shows an image coding apparatus according to the thirty-sixth embodiment.
FIG. 4 is a diagram for explaining the principle of encoding operation by
You. The shaded area indicates the pixels inside the object,
Pixel that contains a clear image signal, and
A small rectangle, that is, a rectangle shown by a bold line in FIG.
Corresponds to the range. Blocker 405 is the input shape
The signal is blocked and the blocked shape signal 405 is scanned.
Output to switch 408. Here, the switch 408 is
A block is set in the range of the significant area indicated by the significant area signal 403.
The state becomes 0N when the converted shape signal 405 corresponds.
That is, in the case of a region other than the significant region, the block shape signal
Is not coded. When the switch is ON
Changes the block size signal 405 to the block size
Input to the block size changer 412.
The significant region is included in response to the significant region signal 403 input.
Size changed to the smallest block, and the changed shape
The signal 413 is output to the encoder 414,
The encoded signal 415 is the shape signal. On the other hand, significant area
The significant region signal indicating the range of
And an encoded signal 419 is output. in this way,
In the image coding apparatus according to Embodiment 36, the significant area
Including the detector 102 and the block size changer 412
By detecting the range of the significant region,
Block shape signal so that only the part encodes the shape signal
Encode outside of the significant area because the size is changed
And the coding efficiency of the shape signal is improved. Embodiment 37 FIG. Embodiment 37 of the present invention
The image decoding apparatus according to
The encoded signal output from the device is decoded, and the two-dimensional shape signal is decoded.
Issue. 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 same figure, 419 and 415 of the thirty-sixth embodiment
This is an encoded signal output from the image encoding device. 42
0 is a decoder for the significant area signal, and 422 is a decoder for the shape signal
Which decodes each input signal and
Region signal 421, minimum-blocked decoded shape signal 423
Is output. 430 is a block size changer.
In response to the signal significant area signal 421, the block size is
And outputs the changed decoded block shape signal 431.
Power. Reference numeral 426 denotes a switch, which is a significant area signal 421.
Switching is performed according to. 432 is a deblocker
Yes, the block shape signal 427 is integrated and the decoded shape
The signal 433 is output. This embodiment is constructed as described above.
The operation of the image decoding apparatus according to the above will be described. Mark
The decoded signals 419 and 415 are output from the decoder 42, respectively.
0 and 422 and decoded. Decoder 4
19 converts the decoded significant area signal 421 into a block size
Output to the switch 430 and the switch 426. On the other hand,
The encoder 422 is the smallest block including the range of the significant region.
A certain minimum block shape signal 423 is changed in block size.
Output to the changer 430. Block size changer 430
Is a block based on the input decoded significant area signal.
Change the size to a predetermined size and change the block
The signal is output to the switch 426 as the shape signal 431. S
The switch 426 indicates the range of the significant area indicated by the significant area signal 421.
Turns on only when a signal including
Outside is a value indicating that the value is outside the range of the significant region.
The deblocker 432 outputs the input blocked shape signal.
And the signal indicating the outside of the significant area are integrated to obtain a two-dimensional
The shape signal is output as a decoded signal 433. like this
In the image decoding apparatus according to the thirty-seventh embodiment, the decoding
Modifiers 420 and 422 and a block size changer 43
0, switch 426, and deblocker 432
As a result, the range of the significant area is decoded, and based on that,
By decoding the shape signal, the code
The encoded signal thus encoded can be correctly decoded. Embodiment 38 FIG. Embodiment 38 of the Invention
Image encoding device performs encoding according to the prediction probability.
Thus, good hierarchical coding is realized.
FIG. 47 shows an image coding apparatus according to Embodiment 38 of the present invention.
FIG. 3 is a block diagram showing the configuration of FIG. In FIG.
This is a force image signal. Reference numeral 300 denotes a separator, which is an input image signal.
No. 1 is separated into two image signals 301a and 301b.
Output. 302, 308a, and 308b are encoded
Each of which encodes an input signal and encodes
And output the conversion signal. 330 is a decoder which is an encoded signal
303a, and outputs a decoded image signal 331.
You. Reference numeral 304 denotes a prediction probability calculator, which receives an input image signal.
No. 331 to predict the pixel value of the image signal 301b
Calculate the prediction probability for the prediction, and calculate the probability value 30
5 is output. 306 is a second separator, which is input and
In response to the probability value 305, the image signal
Nos. 307a and 307b are output separately. The thirty-eighth embodiment constructed as described above
The operation of the image coding apparatus according to the first embodiment will be described. Entering
Force signal 1 is input to the image encoding apparatus according to the thirty-eighth embodiment.
First, in the separator, the image signals 301a and 301
01b. Here, the signal 301a is given priority
The selected signal is input to the encoder 302,
The other signal 301b is output to the second separator 306.
FIG. 48 shows a code obtained by the image coding apparatus according to the embodiment 38.
It is a figure for explaining the principle of operation of conversion. Fig. 48 (a)
, The solid circle pixel corresponds to the image signal 301a
A pixel indicated by a broken circle corresponds to the image signal 301b.
FIG. 48 shows a model of a binary image signal.
A circle with no hatching indicates a false value. Mark
The encoder 302 encodes a high-priority image signal 301a.
Then, the obtained encoded signal 303a is used as an encoded output.
At the same time, it also outputs to the decoder 330. [0179] A decoded signal that has been decoded by the decoder 330
Is input to the prediction probability calculator 304. Predicted probability calculator
304 is based on the decoded high-priority image signal
To predict the pixel value of the low priority image signal,
Calculate the probability. In FIG. 48 (a), A is four adjacent directions
Is a false value, and B is a true value in four adjacent directions, whereas C is
Is a true value in two adjacent directions and a false value in two adjacent directions. That
As a result, it is confirmed that A is a false value and B is a true value.
Rate is high, but C is true or false
Also, the probability that the prediction is correct is low. So
Here, C is given priority over A and B shown in FIG.
After the encoding, C is decoded as shown in FIG.
While playing back A and B based on prediction
The quality degradation is small, and the desired gradation encoding is performed.
obtain. Therefore, the prediction probability calculator 304 outputs
Based on the probability value 305, the second separator 306
The probability value 305 is high for the
Is the image signal 307a, and the other is the image signal 307a.
b, and each of the encoders 308a and 3
08b. Each encoder has its own input
The image signal is encoded to generate encoded signals 303b and 303.
Output c. The coded signal output as described above
303a to 303c are transmitted in this order as having the highest priority.
Or, if recorded, a code with a higher priority for decoding
Decoding by decoding in order from the encoded signal
Even if the decoding process is aborted in the process of
A decoded image with little quality degradation can be obtained. This
As described above, in the image coding apparatus according to the thirty-eighth embodiment, the separator
300 and 306, encoders 302, 308a, and
308b, a decoder 330, and a prediction probability calculator 30
4 means that pixels with low prediction probability are preferentially signed.
And hierarchical coding with less image quality degradation
Can be realized without additional information. Embodiment 39 FIG. Embodiment 39 of the Present Invention
The image decoding apparatus according to
It decodes the encoded signal output from the device. Figure
Reference numeral 49 denotes an image decoding apparatus according to Embodiment 39 of the present invention.
FIG. 3 is a block diagram illustrating a configuration. In the figure, 303a
To c are output from the image coding apparatus according to the thirty-eighth embodiment.
A coded signal, of 310, 316a, and 316b.
The decoded signals 311 and 317 are decoded by the decoder.
a and 317b. 320 is a predictor
Yes, the image signal is predicted based on the image signal 311 and the prediction is performed.
The measurement image signal 321 is output. 312 is a prediction probability calculator
And the prediction of the input predicted image signal 331
The probability is calculated and a probability value 313 is output. 322 is Sui
And performs switching in accordance with the probability value 313. The thirty-ninth embodiment configured as described above
The operation of the image decoding apparatus according to the above will be described. Mark
The decoded 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 is output
Signal, and a prediction probability calculator 312;
It is also input to the predictor 320. The predictor 320 outputs the decoded image signal 311
, The pixel value of the low-priority image signal 321 is predicted.
The prediction probability calculator 312 calculates the prediction of the predicted image signal 321.
Calculate the measurement probability, and determine whether each pixel is
16b to determine which should be decoded. Ma
In addition, the prediction probability calculator 312 calculates the priority order input from the outside.
Referring to the order 309, an encoded signal with a lower priority is transmitted.
Or, it is determined whether or not it is recorded. Transmission or note
If it is determined that the pixel has not been recorded,
Is the image signal 3 predicted as the decoded signal 323
Switch 322 to output 21
Control. For decoded pixels, the switch
The image signal 311, 317a, or 317b is
Is selected, and the decoded signal output from the device is selected.
No. 323. Thus, according to the thirty-ninth embodiment.
In an image decoding apparatus, decoders 310, 316a, and
And 316b, a prediction probability calculator 312, and a predictor 320
And decryption corresponding to the prediction probability and priority
Therefore, the image encoding apparatus according to Embodiment 38
The encoded signal can be decoded properly
You. Embodiment 40 FIG. Embodiment 40 of the present invention
RECORDING MEDIUM FOR IMAGE ENCODING PROGRAM USED BY IMAGE
The program recording medium is implemented on a computer, etc.
Encoding apparatus or image decoding apparatus according to the first to third aspects.
Is realized. FIG. 50 records the program
Floppy (registered trademark) disk as an example of a recording medium
FIG. 51 shows the recorded image encoding process.
FIG. 52 shows the processing procedure of the image decoding program.
It is a flowchart figure shown. Floppy shown in FIG.
The image encoding program shown in FIG.
Ram is a personal computer or workstation
And so on, according to the second embodiment.
An image encoding device is realized. Similarly, the flow chart shown in FIG.
Image decoding shown in FIG. 52 recorded on a oppey disk
The program can be used on personal computers and workstations.
Embodiment 3
Is realized. In this case, the same embodiment
In FIG. 6, the changing pixel decoding process described with reference to FIG.
After that, it is of a type that performs selection by a switch. As described above, the process according to the fortieth embodiment is performed.
The gram recording medium stores an image encoding program or an image decoding program.
Recording of the encryption program
Computer systems such as personal computers
The image encoding device or the image decoding device of the present invention.
It can be realized. Note that, in the present forty embodiment,
Are the image encoding device according to the second embodiment and the image encoding device according to the third embodiment.
A program for realizing an image decoding device is recorded.
However, devices according to other embodiments can be realized similarly.
is there. Also, in the fortieth embodiment, a file is used as a recording medium.
I showed a floppy disk, IC card, CD-RO
Write programs such as M, optical disk, cassette tape, etc.
The present invention can be similarly implemented as long as the medium can be recorded. [0186] The present invention has been described above.ToSuch an image transmission method
According toThe shape information indicating the shape of the object and the
Image signal including pixel value information which is color information of each pixel.
Image transmitting an image coded signal, which is the coded signal of the signal
A transmission method for transmitting a block of a predetermined number of pixels.
To respondBlocked shape information and pixel value information
Encoded identification information that identifies the encoding mode for
Information is included in the above-mentioned image encoded signal and transmitted.Data transmission
Including the steps, the shape information and the pixel value information
The encoding modes corresponding to each are in-screen encoding
Mode or inter-screen coding mode.
CharacterSoShape information and pixel values
Each encoding mode of information is defined as an intra-screen encoding mode.
Whether to use the inter-picture coding mode
Code that can be individually switched between the report and the pixel value information
Decryption processing corresponding to thethe aboveMark for each information
Low bit rate to identify the encryption modeBased on identification information
And can be performed appropriately. [0187]

【図面の簡単な説明】 【図1】本発明の実施の形態1による画像符号化装置の
構成を示すブロック図である。 【図2】本発明の実施の形態1による画像符号化装置の
動作原理を説明するための図である。 【図3】本発明の実施の形態2による画像符号化装置の
構成を示すブロック図である。 【図4】本発明の実施の形態2による画像符号化装置の
動作原理を説明するための図である。 【図5】本発明の実施の形態3による画像復号化装置の
構成を示すブロック図である。 【図6】本発明の実施の形態3による画像復号化装置の
他の例の構成を示すブロック図である。 【図7】本発明の実施の形態4による画像符号化装置の
構成を示すブロック図である。 【図8】本発明の実施の形態4による画像符号化装置の
動作原理を説明するための図である。 【図9】本発明の実施の形態5による画像復号化装置の
構成を示すブロック図である。 【図10】本発明の実施の形態6による画像符号化装置
の構成を示すブロック図である。 【図11】本発明の実施の形態7による画像復号化装置
の構成を示すブロック図である。 【図12】本発明の実施の形態8による画像符号化装置
の構成を示すブロック図である。 【図13】本発明の実施の形態9による画像符号化装置
の構成を示すブロック図である。 【図14】本発明の実施の形態10による画像符号化装
置の構成を示すブロック図である。 【図15】本発明の実施の形態11による画像復号化装
置の構成を示すブロック図である。 【図16】本発明の実施の形態12による画像復号化装
置の構成を示すブロック図である。 【図17】本発明の実施の形態13による画像符号化装
置の構成を示すブロック図である。 【図18】本発明の実施の形態14による画像符号化装
置の構成を示すブロック図である。 【図19】本発明の実施の形態15による画像符号化装
置の構成を示すブロック図である。 【図20】本発明の実施の形態16による画像符号化装
置の構成を示すブロック図である。 【図21】本発明の実施の形態17による画像符号化装
置の構成を示すブロック図である。 【図22】本発明の実施の形態18による画像符号化装
置の構成を示すブロック図である。 【図23】本発明の実施の形態19による画像符号化装
置の構成を示すブロック図である。 【図24】本発明の実施の形態20による画像符号化装
置の構成を示すブロック図である。 【図25】本発明の実施の形態21による画像復号化装
置の構成を示すブロック図である。 【図26】本発明の実施の形態22による画像符号化装
置の構成を示すブロック図である。 【図27】本発明の実施の形態23による画像符号化装
置の構成を示すブロック図である。 【図28】本発明の実施の形態23による画像符号化装
置における動きベクトルの数の選択を説明するための図
である。 【図29】本発明の実施の形態24による画像符号化装
置の構成を示すブロック図である。 【図30】本発明の実施の形態25による画像符号化装
置の構成を示すブロック図である。 【図31】本発明の実施の形態25による画像符号化装
置の動作原理を説明するための図である。 【図32】本発明の実施の形態26による画像符号化装
置の構成を示すブロック図である。 【図33】本発明の実施の形態27による画像符号化装
置の動作原理を説明するための図である。 【図34】本発明の実施の形態28による画像符号化装
置の動作原理を説明するための図である。 【図35】本発明の実施の形態29による画像符号化装
置の構成を示すブロック図である。 【図36】本発明の実施の形態29による画像符号化装
置の動作原理を説明するための図である。 【図37】本発明の実施の形態30による画像復号化装
置の構成を示すブロック図である。 【図38】本発明の実施の形態31による画像復号化装
置の構成を示すブロック図である。 【図39】本発明の実施の形態32による画像復号化装
置の構成を示すブロック図である。 【図40】本発明の実施の形態33による画像符号化装
置の構成を示すブロック図である。 【図41】本発明の実施の形態33による画像符号化装
置の動作原理を説明するための図である。 【図42】本発明の実施の形態34による画像復号化装
置の構成を示すブロック図である。 【図43】本発明の実施の形態35による画像符号化装
置、及び画像復号化装置における予測範囲の設定を説明
するための図である。 【図44】本発明の実施の形態36による画像符号化装
置の構成を示すブロック図である。 【図45】本発明の実施の形態36による画像符号化装
置の動作原理を説明するための図である。 【図46】本発明の実施の形態37による画像復号化装
置の構成を示すブロック図である。 【図47】本発明の実施の形態38による画像符号化装
置の構成を示すブロック図である。 【図48】本発明の実施の形態38による画像符号化装
置の動作原理を説明するための図である。 【図49】本発明の実施の形態39による画像復号化装
置の構成を示すブロック図である。 【図50】本発明の実施の形態40による画像符号化プ
ログラム、及び画像復号化プログラムの記録媒体の一例
である、フロッピーディスクを示す図である。 【図51】本発明の実施の形態40による画像符号化プ
ログラムの処理手順を示すフローチャート図である。 【図52】本発明の実施の形態40による画像復号化プ
ログラムの処理手順を示すフローチャート図である。 【図53】画像符号化における画像の形状情報を説明す
るための図である。 【符号の説明】 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 画像復号化装置
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram illustrating a configuration of an image encoding device according to Embodiment 1 of the present invention. FIG. 2 is a diagram for explaining an operation principle of the image encoding device according to the first embodiment of the present invention. FIG. 3 is a block diagram illustrating a configuration of an image encoding device according to a second embodiment of the present invention. FIG. 4 is a diagram for explaining an operation principle of an image encoding device according to a second embodiment of the present invention. FIG. 5 is a block diagram illustrating a configuration of an image decoding device according to a third embodiment of the present invention. 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. FIG. 7 is a block diagram illustrating a configuration of an image encoding device according to a fourth embodiment of the present invention. FIG. 8 is a diagram for explaining an operation principle of an image encoding device according to a fourth embodiment of the present invention. FIG. 9 is a block diagram illustrating a configuration of an image decoding device according to a fifth embodiment of the present invention. FIG. 10 is a block diagram illustrating a configuration of an image encoding device according to Embodiment 6 of the present invention. FIG. 11 is a block diagram illustrating a configuration of an image decoding device according to a seventh embodiment of the present invention. FIG. 12 is a block diagram showing a configuration of an image encoding device according to Embodiment 8 of the present invention. FIG. 13 is a block diagram illustrating a configuration of an image encoding device according to Embodiment 9 of the present invention. FIG. 14 is a block diagram illustrating a configuration of an image encoding device according to Embodiment 10 of the present invention. FIG. 15 is a block diagram showing a configuration of an image decoding device according to Embodiment 11 of the present invention. FIG. 16 is a block diagram illustrating a configuration of an image decoding device according to a twelfth embodiment of the present invention. FIG. 17 is a block diagram illustrating a configuration of an image encoding device according to Embodiment 13 of the present invention. FIG. 18 is a block diagram illustrating a configuration of an image encoding device according to Embodiment 14 of the present invention. FIG. 19 is a block diagram illustrating a configuration of an image encoding device according to Embodiment 15 of the present invention. FIG. 20 is a block diagram illustrating a configuration of an image encoding device according to Embodiment 16 of the present invention. FIG. 21 is a block diagram illustrating a configuration of an image encoding device according to Embodiment 17 of the present invention. FIG. 22 is a block diagram illustrating a configuration of an image encoding device according to Embodiment 18 of the present invention. FIG. 23 is a block diagram illustrating a configuration of an image encoding device according to Embodiment 19 of the present invention. FIG. 24 is a block diagram illustrating a configuration of an image encoding device according to Embodiment 20 of the present invention. FIG. 25 is a block diagram illustrating a configuration of an image decoding device according to Embodiment 21 of the present invention. FIG. 26 is a block diagram illustrating a configuration of an image encoding device according to Embodiment 22 of the present invention. FIG. 27 is a block diagram illustrating a configuration of an image encoding device according to Embodiment 23 of the present invention. 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. FIG. 29 is a block diagram illustrating a configuration of an image encoding device according to Embodiment 24 of the present invention. FIG. 30 is a block diagram illustrating a configuration of an image encoding device according to Embodiment 25 of the present invention. 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. FIG. 32 is a block diagram illustrating a configuration of an image encoding device according to Embodiment 26 of the present invention. 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. 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. FIG. 35 is a block diagram illustrating a configuration of an image encoding device according to Embodiment 29 of the present invention. 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. FIG. 37 is a block diagram illustrating a configuration of an image decoding device according to Embodiment 30 of the present invention. FIG. 38 is a block diagram illustrating a configuration of an image decoding device according to Embodiment 31 of the present invention. FIG. 39 is a block diagram illustrating a configuration of an image decoding device according to Embodiment 32 of the present invention. FIG. 40 is a block diagram illustrating a configuration of an image encoding device according to Embodiment 33 of the present invention. 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. FIG. 42 is a block diagram illustrating a configuration of an image decoding device according to Embodiment 34 of the present invention. 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. FIG. 44 is a block diagram illustrating a configuration of an image encoding device according to Embodiment 36 of the present invention. [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. FIG. 46 is a block diagram illustrating a configuration of an image decoding device according to a thirty-seventh embodiment of the present invention. FIG. 47 is a block diagram illustrating a configuration of an image encoding device according to Embodiment 38 of the present invention. 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. FIG. 49 is a block diagram illustrating a configuration of an image decoding device according to Embodiment 39 of the present invention. FIG. 50 is a diagram illustrating a floppy disk as an example of a recording medium of an image encoding program and an image decoding program according to Embodiment 40 of the present invention. FIG. 51 is a flowchart showing a processing procedure of an image coding program according to Embodiment 40 of the present invention. FIG. 52 is a flowchart showing a processing procedure of an image decoding program according to Embodiment 40 of the present invention. FIG. 53 is a diagram for describing image shape information in image encoding. [Description of Signs] 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 adders 20, 63a, 63b Motion compensator 21 Mode selectors 22, 32, 33, 50 Switchers 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 Transparency 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 Blocker 103 Shape signal 110 Shape encoding mode determiner 111, 151 Shape code Encoding mode 112 shape encoder 113 shape encoded signal 114 transmittance encoding mode determiner 115,153 transmittance encoding mode 116 transmittance encoder 117 transmittance encoded signal 118 pixel value encoding mode determiner 119, 155 Pixel value encoding mode 120 Pixel value encoder 121 Pixel value encoded signal 1 2 mode encoder 123 mode encoded signals 130 and 136 transmittance encoding mode determiner 132 pixel value encoding mode determiner 138 shape encoding mode determiner 150 mode decoder 156 shape decoder 158 transparency decoding Unit 160 pixel value decoder 157 shape decoded signal 159 transparency decoded signal 161 pixel value decoded signal 162 inverse blocker 163 decoded image signal 170,176,180,186,190,196 switch 172,178 / Inter-frame coding determiner 173 shape coding mode 182 shape coding motion vector number determiner 183,193 shape signal coding mode 188 pixel value coding motion vector number determiner 192 shape coding quantization step Change / non-change determiner 198 Quantization step change / non-change determiner 20 for pixel value encoding a second detected changed pixel (reference signal) 203b third detected changed pixel (reference signal) 204c first changed pixel detector 205a, 205b changed pixel 205c first detected changed pixel 206 changed pixel predictor 207 predicted change Pixel 208 Subtractor 209 Prediction error 221 Delay prediction error 222, 224, 232 Adder 225 Addition value 231 Decoding prediction error 233 Decoding change pixel 234 Pixel value generator 240 Subtractor 241 Difference 243, 247 Coded signal 244 Comparator 246, 426 Switch 250 Mode decoder 251 Encoding mode 256 Pixel number decoder 257 Decoding pixel number 258 Adder 252, 260, 408 Switch 300 Separator 301a, 301b Image signal 302, 308a, 308b Encoder 303a Encoding Signals 304 and 312 Predicted probability calculator 3 05 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 region signal 423 Minimum blocked decoded shape Signal 427 Blocked Shape Signal 430 Block Size Changer 431 Decoded Blocked Shape Signal 432 Deblocker 433 Decoded Shape Signal 1001, 1002, 1004, 1006, 1008
1020, 1022 to 1026, 1029, 1033
1036, 1038 Image coding devices 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) 早期審理対象出願   ────────────────────────────────────────────────── ─── Continuation of front page    (31) No. of priority claim No. 8-210955 (32) Priority date August 9, 1996 (August 8, 1996) (33) Priority claim country Japan (JP)    Application for early examination

Claims (1)

(57)【特許請求の範囲】 【請求項1】 物体の形状を示す形状情報と、物体を構
成する各画素のカラー情報である画素値情報とを含む画
像信号の、符号化信号である画像符号化信号を伝送する
画像伝送方法であって、所定数の画素からなるブロックに対応するよう ブロック
化された形状情報,及び画素値情報に対する符号化モー
ドを識別する、符号化された識別情報を、上記画像符号
化信号に含めて伝送するデータ伝送ステップを含み、 上記形状情報,及び画素値情報のそれぞれに対応する符
号化モードはそれぞれ、画面内符号化モードと画面間符
号化モードのいずれか一方の符号化モードであることを
特徴とする画像伝送方法。
(57) [Claims] [Claim 1] Shape information indicating the shape of an object, and the object
An image transmission method for transmitting an image coded signal that is an encoded signal of an image signal including pixel value information that is color information of each pixel to be formed, wherein the block corresponds to a block including a predetermined number of pixels. Transmitting the encoded identification information for identifying the encoding mode for the encoded shape information and the pixel value information by including the encoded identification information in the image encoded signal. each encoding mode corresponding to each of the intra coding mode and inter marks
An image transmission method, which is one of the encoding modes .
JP2000374569A 1996-05-17 2000-12-08 Image transmission method Expired - Fee Related JP3400428B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000374569A JP3400428B2 (en) 1996-05-17 2000-12-08 Image transmission method

Applications Claiming Priority (9)

Application Number Priority Date Filing Date Title
JP12297296 1996-05-17
JP8-122972 1996-05-17
JP8-198720 1996-07-29
JP19872096 1996-07-29
JP20336396 1996-08-01
JP8-203363 1996-08-01
JP8-210955 1996-08-09
JP21095596 1996-08-09
JP2000374569A JP3400428B2 (en) 1996-05-17 2000-12-08 Image transmission method

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 (2)

Publication Number Publication Date
JP2001224035A JP2001224035A (en) 2001-08-17
JP3400428B2 true JP3400428B2 (en) 2003-04-28

Family

ID=27526977

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000374569A Expired - Fee Related JP3400428B2 (en) 1996-05-17 2000-12-08 Image transmission method

Country Status (1)

Country Link
JP (1) JP3400428B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2457882C (en) * 2001-08-23 2009-06-02 Polycom, Inc. System and method for video error concealment

Also Published As

Publication number Publication date
JP2001224035A (en) 2001-08-17

Similar Documents

Publication Publication Date Title
JP3214705B2 (en) Image decoding device
KR100355324B1 (en) Picture encoder and picture decoder
US6542642B2 (en) Image coding process and motion detecting process using bidirectional prediction
EP1059812B1 (en) Methods and apparatus for context-based inter/intra coding mode selection
US5926225A (en) Image coder which includes both a short-term frame memory and long-term frame memory in the local decoding loop
US6674910B1 (en) Apparatus and method for image-compression encoding and decoding using adaptive transform
KR20080068678A (en) Dynamic image encoding device and dynamic image decoding device
EP2161937A1 (en) Video encoding method, decoding method, device thereof, program thereof, and recording medium containing the program
JP3400428B2 (en) Image transmission method
JP3214848B2 (en) Image decoding device
JP3214847B2 (en) Image decoding device
JP3214846B2 (en) Image decoding device
JP2001197506A (en) Image coder and image decoder
JP4571173B2 (en) Video decoding device
JP4875187B2 (en) Video decoding device
JP2006254485A (en) Moving image decoder
JP2003102017A (en) Moving image encoder and decoder

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees