JP3466162B2 - Image decoding apparatus and image decoding method - Google Patents

Image decoding apparatus and image decoding method

Info

Publication number
JP3466162B2
JP3466162B2 JP2001105135A JP2001105135A JP3466162B2 JP 3466162 B2 JP3466162 B2 JP 3466162B2 JP 2001105135 A JP2001105135 A JP 2001105135A JP 2001105135 A JP2001105135 A JP 2001105135A JP 3466162 B2 JP3466162 B2 JP 3466162B2
Authority
JP
Japan
Prior art keywords
block
image
pixel
statistical model
target
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
JP2001105135A
Other languages
Japanese (ja)
Other versions
JP2001352550A (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 JP2001105135A priority Critical patent/JP3466162B2/en
Publication of JP2001352550A publication Critical patent/JP2001352550A/en
Application granted granted Critical
Publication of JP3466162B2 publication Critical patent/JP3466162B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide an image encoding device, an image decoding device, an image encoding method, and an image decoding method which can perform encoding and decoding more efficiently than when conventional binary image encoding and decoding technologies are used by predicting encoded pixels from a previously obtained binary image having high correlation and encoding their differences, and providing a medium in which programs for making a compute execute those operations are recorded. SOLUTION: This device is provided with a block dividing means 1(101) which inputs an object binary image to be encoded and divides the object binary image into blocks containing pixels to obtain an object block, a block dividing means 2(102) which divides the previously obtained reference binary image into blocks containing pixels to obtain a reference block, an exclusive OR block constituting means (103) which scans the said object block and reference block in order to detect exclusive OR between both pixel values and constitute an exclusive OR block, and an exclusive OR encoding means (104) which generates a code sequence of the exclusive OR and outputs it as encoded data.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、画像、特に2値動
画像の伝送・蓄積に利用出来る、画像復号化装置、及び
画像復号化方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image decoding apparatus and an image decoding method which can be used for transmitting and storing images, especially binary moving images.

【0002】[0002]

【従来の技術】従来、画像を合成する際、物体の輝度の
他にアルファ値と呼ばれる物体の占有領域や透過度を示
す情報を付加する場合がある。このアルファ値は画素毎
に定められ、1では不透過もしくは占有、0では完全透
過もしくは不占有を意味する。すなわちある物体の画像
を背景画像にはめ込む際には、アルファ値が必要とな
る。以下、このアルファ値のみを持つ画像をアルファプ
レーンと呼ぶ。
2. Description of the Related Art Conventionally, when synthesizing an image, in addition to the brightness of an object, there is a case where information called an alpha value indicating an occupied area of the object and a transparency is added. The alpha value is determined for each pixel, and 1 means opaque or occupied, and 0 means completely transparent or unoccupied. That is, when the image of a certain object is embedded in the background image, the alpha value is required. Hereinafter, an image having only this alpha value is called an alpha plane.

【0003】なお、アルファ値は、雲、すりガラスなど
の場合では、[0、1]の中間値で表す場合もあるが、
{0、1}の2値で十分な場合もある。
In the case of clouds, frosted glass, etc., the alpha value may be represented by an intermediate value of [0, 1],
In some cases, a binary value of {0, 1} is sufficient.

【0004】一般の2値のアルファプレーンの符号化に
は、従来のファクシミリなどに使われているCCITT
による国際標準である2値画像符号化技術MR、MMR
符号化やJBIGにより標準化された符号化を用いるこ
とができる。これらを静止2値画像符号化と総称する。
静止2値画像符号化では、走査方向の上位の画素から下
位の画素を予測し、その差異をエントロピー符号化する
ことにより効率良く符号化することができる。
CCITT, which has been used in conventional facsimiles, is used for encoding general binary alpha planes.
Binary image coding technology MR, MMR
Encoding or encoding standardized by JBIG can be used. These are collectively called still binary image coding.
In still binary image coding, it is possible to efficiently code by predicting a lower pixel from a higher pixel in the scanning direction and entropy coding the difference.

【0005】[0005]

【発明が解決しようとする課題】動画像の連続する2枚
のアルファプレーンのように2値動画像では、連続する
フレーム間で相関を利用することが出来る。すなわち、
走査方向の上位の画素から下位の画素を予測し、その差
異を符号化するよりも、予め得られている相関が高い2
値画像から被符号化画素を予測し、その差異を符号化し
た方が効率良く符号化することができる。
In a binary moving image such as two continuous alpha planes of a moving image, correlation can be used between consecutive frames. That is,
The correlation obtained in advance is higher than that of predicting the lower pixel from the upper pixel in the scanning direction and encoding the difference.
It is more efficient to predict the coded pixel from the value image and code the difference.

【0006】しかし、従来の静止2値画像符号化では、
符号化装置、復号化装置のそれぞれで、符号化、復号化
しようとする2値画像と非常に相関が高い2値画像が得
られている場合でも、走査方向の上位と下位の相関関係
のみを利用しており、多くの符号量が必要であるといっ
た課題を有していた。
However, in the conventional still binary image coding,
Even if each of the encoding device and the decoding device obtains a binary image having a very high correlation with the binary image to be encoded or decoded, only the upper and lower correlations in the scanning direction are shown. However, it has a problem that a large amount of code is required.

【0007】本発明は、従来のこのような課題を考慮
し、従来の2値画像復号化技術を用いるよりもより一層
効率良く復号化が可能な、画像復号化装置、及び画像復
号化方法を提供することを目的とする。
The present invention, in consideration of the above problems of the prior art, provides an image decoding apparatus and an image decoding method capable of performing decoding more efficiently than using the conventional binary image decoding technique. The purpose is to provide.

【0008】[0008]

【課題を解決するための手段】請求項1記載の本発明
は、動画像の各フレームの透過度情報を示す2値画像を
ブロック毎に符号化して得られた符号化データを復号化
し、対象ブロックの2値画像を得る画像復号化装置にお
いて、復号化対象である前記対象ブロックを有する対象
フレームよりも以前に復号化されたフレームから、参照
2値画像である参照ブロックを得る参照ブロック生成手
段と、記対象ブロック中の対象画素に対応する前記参
照ブロック中にある参照画素の状態、及び前記参照画素
の周囲画素の状態に基づいて、複数の統計モデルから統
計モデルを選択する統計モデル選択手段と、前記選択さ
れた統計モデルに基づいて前記符号化デ−タを復号化
し、前記対象ブロックの2値画像を得る算術復号化手段
と、を備えたことを特徴とする画像復号化装置である。
The present invention according to claim 1 decodes coded data obtained by coding a binary image showing the transparency information of each frame of a moving image for each block, In an image decoding device for obtaining a binary image of a block , refer to a frame decoded before a target frame having the target block as a decoding target .
A reference block generation means for obtaining a reference block is a binary image, the ginseng corresponding to the target pixel in the previous SL target block
Statistical pixel selection means for selecting a statistical model from a plurality of statistical models based on the states of reference pixels in the illumination block and the states of pixels surrounding the reference pixel, and the code based on the selected statistical model. An image decoding device comprising: an arithmetic decoding means for decoding the encoded data to obtain the binary image of the target block.

【0009】又、請求項2記載の本発明は、前記参照画
素の前記周囲画素は、前記参照画素の周囲1画素範囲内
に位置する周囲画素であることを特徴とする請求項1記
載の画像復号化装置である。
The present invention according to claim 2 is characterized in that the peripheral pixel of the reference pixel is a peripheral pixel located within one pixel range around the reference pixel. It is a decoding device.

【0010】又、請求項3記載の本発明は、前記参照画
素の前記周囲画素は、前記参照画素の上下左右に位置す
る4画素であることを特徴とする請求項1記載の画像復
号化装置である。
The present invention according to claim 3 is the image decoding apparatus according to claim 1, characterized in that the peripheral pixels of the reference pixel are four pixels which are located above and below and to the left and right of the reference pixel. Is.

【0011】又、請求項4記載の本発明は、前記統計モ
デル選択手段は、前記参照画素の状態及び前記参照画素
の周囲画素の状態に加えて、前記対象画素の周囲画素の
状態に基づいて、複数の統計モデルから統計モデルを選
択する統計モデル選択手段であることを特徴とする請求
項1から3のいずれか1項記載の画像復号化装置であ
る。
According to the present invention of claim 4, the statistical model selecting means is based on the states of the peripheral pixels of the target pixel in addition to the states of the reference pixels and the peripheral pixels of the reference pixels. The image decoding apparatus according to any one of claims 1 to 3, wherein the image decoding apparatus is a statistical model selection unit that selects a statistical model from a plurality of statistical models.

【0012】又、請求項5記載の本発明は、前記対象画
素の前記周囲画素は、前記対象画素の上、左、左上、右
上に位置することを特徴とする請求項4記載の画像復号
化装置である。
The present invention according to claim 5 is characterized in that the peripheral pixels of the target pixel are located above, to the left, to the upper left and to the upper right of the target pixel. It is a device.

【0013】又、請求項6記載の本発明は、動画像の各
フレームの透過度情報を示す2値画像をブロック毎に符
号化して得られた符号化データを復号化し、対象ブロッ
クの2値画像を得る画像復号化方法において、復号化対
象である前記対象ブロックを有する対象フレームよりも
以前に復号化されたフレームから参照2値画像を得る参
照2値画像生成ステップと、前記参照2値画像から複数
の画素を含む参照ブロックを得る参照ブロック生成ステ
ップと、記対象ブロック中の対象画素に対応する前記
参照ブロック中にある参照画素の状態、及び前記参照画
素の周囲画素の状態に基づいて、複数の統計モデルから
統計モデルを選択する統計モデル選択ステップと、前記
選択された統計モデルに基づいて前記符号化デ−タを復
号化し、前記対象ブロックの2値画像を得る算術復号化
ステップと、を備えたことを特徴とする画像復号化方法
である。
According to the present invention of claim 6 , each of the moving images is
In an image decoding method of decoding a coded data obtained by coding a binary image indicating frame transparency information for each block to obtain a binary image of the target block, the target block to be decoded is a reference binary image generating step of obtaining a reference binary image from the decoded frame even prior to the target frame having a reference block generating step of obtaining a reference block containing a plurality of pixels from the reference binary image, before Symbol The above corresponding to the target pixel in the target block
A statistical model selecting step of selecting a statistical model from a plurality of statistical models based on a state of reference pixels in a reference block and states of pixels surrounding the reference pixel; and the code based on the selected statistical model. And an arithmetic decoding step of decoding the encoded data to obtain a binary image of the target block.

【0014】又、請求項7記載の本発明は、前記参照画
素の前記周囲画素は、前記参照画素の周囲1画素範囲内
に位置する周囲画素であることを特徴とする請求項6記
載の画像復号化方法である。
Further, according to the present invention of claim 7, the peripheral pixel of the reference pixel is a peripheral pixel located within one pixel range around the reference pixel. This is a decoding method.

【0015】又、請求項8記載の本発明は、前記参照画
素の前記周囲画素は、前記参照画素の上下左右に位置す
る4画素であることを特徴とする請求項6記載の画像復
号化方法である。
The present invention according to claim 8 is characterized in that the surrounding pixels of the reference pixel are four pixels located above, below, to the left and right of the reference pixel. Is.

【0016】又、請求項9記載の本発明は、前記統計モ
デル選択ステップは、前記参照画素の状態及び前記参照
画素の周囲画素の状態に加えて、前記対象画素の周囲画
素の状態に基づいて、複数の統計モデルから統計モデル
を選択する統計モデル選択ステップであることを特徴と
する請求項6から8のいずれか1項記載の画像復号化方
法である。
Further, in the present invention according to claim 9, the statistical model selecting step is based on the states of the peripheral pixels of the target pixel, in addition to the states of the reference pixel and the peripheral pixels of the reference pixel. 9. The image decoding method according to any one of claims 6 to 8, which is a statistical model selection step of selecting a statistical model from a plurality of statistical models.

【0017】又、請求項10記載の本発明は、前記対象
画素の前記周囲画素は、前記対象画素の上、左、左上、
右上に位置することを特徴とする請求項9記載の画像復
号化方法である。
According to the present invention of claim 10, the surrounding pixels of the target pixel are above, left, upper left,
The image decoding method according to claim 9, wherein the image decoding method is located at the upper right.

【0018】[0018]

【発明の実施の形態】以下、本発明にかかる実施の形態
について図面を参照しながら説明する。 (実施の形態1)図1は、本発明の実施の形態である画
像符号化装置の構成を示すブロック図である。図1にお
いて、ブロック化手段1(101)は、符号化の対象と
なる画像を入力とし、入力された画像を複数画素からな
るブロックに分割する手段である。ブロック化手段2
(102)は、予め得られている参照画像を複数画素か
らなるブロックに分割する手段である。排他論理和ブロ
ック構成手段(103)は、ブロック化手段1(10
1)により分割された対象ブロックとブロック化手段2
(102)により分割された参照ブロックを走査し、そ
の画素値の排他論理和を計算し、排他論理和ブロックを
構成する手段である。排他論理和符号化手段(104)
は、排他論理和ブロックを符号化し、符号化データを出
力する手段である。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to the drawings. (Embodiment 1) FIG. 1 is a block diagram showing a configuration of an image coding apparatus according to an embodiment of the present invention. In FIG. 1, a blocking unit 1 (101) is a unit that receives an image to be encoded as an input and divides the input image into blocks each including a plurality of pixels. Blocking means 2
(102) is a unit that divides the reference image obtained in advance into blocks each including a plurality of pixels. The exclusive OR block forming means (103) is a block forming means 1 (10).
Target block divided by 1) and blocking means 2
This is means for scanning the reference block divided by (102), calculating the exclusive OR of the pixel values thereof, and forming an exclusive OR block. Exclusive-OR encoding means (104)
Is a means for encoding the exclusive OR block and outputting the encoded data.

【0019】以上のように構成された本実施の形態の画
像符号化装置の動作を以下に説明すると共に、本発明の
画像符号化方法の一実施の形態の動作も同時に述べる。
The operation of the image coding apparatus of the present embodiment configured as described above will be described below, and the operation of one embodiment of the image coding method of the present invention will be described at the same time.

【0020】即ち、図19の人物のマスク動画像(19
01)のt+1フレーム目(1903)を対象2値画像
とし、tフレーム目(1902)を参照2値画像とす
る。以後、図では1を黒で、0を白で表している。対象
2値画像(1903)は対象分割画像(1905)のよ
うに、ブロック化手段1(101)によって、8画素×
8画素の対象ブロックに分割される。ブロック化手段1
(101)では、8画素×8画素や16画素×16画素
の分割に限るものでない。
That is, the mask moving image (19
The t + 1th frame (1903) of 01) is the target binary image, and the tth frame (1902) is the reference binary image. Hereinafter, in the figure, 1 is represented by black and 0 is represented by white. The target binary image (1903) is divided into 8 pixels × by the blocking unit 1 (101) like the target divided image (1905).
It is divided into target blocks of 8 pixels. Blocking means 1
(101) is not limited to division of 8 pixels × 8 pixels or 16 pixels × 16 pixels.

【0021】参照2値画像(1902)は参照分割画像
(204)のように、ブロック化手段2(102)によ
って、8画素×8画素の参照ブロックに分割される。ブ
ロック化手段2(102)では、8画素×8画素や16
画素×16画素の分割に限るものでない。
The reference binary image (1902) is divided into reference blocks of 8 pixels × 8 pixels by the blocking means 2 (102) like the reference divided image (204). In the block forming means 2 (102), 8 pixels × 8 pixels or 16 pixels
The division is not limited to pixels × 16 pixels.

【0022】図20の対象ブロック(2002)は、対
象分割画像(1905)の中のブロックの一つである。
参照ブロック(2001)は対象ブロック(2002)
に対応する参照分割画像(1904)の中のブロックで
ある。排他論理和ブロック構成手段(103)によっ
て、対象ブロック(2002)と参照ブロック(200
1)は左上から右下へ走査され、画素値の排他論理和を
計算し、排他論理和ブロック(2003)が構成され
る。0と1の羅列である排他論理和ブロック(200
3)は、一般に算術符号化と呼ばれる手法を用いて、排
他論理和符号化手段(104)において符号化される。
以下に算術符号化を簡単に説明する(”マルチメディア
符号化の国際標準”、第3章 算術符号化、安田 浩、丸
善株式会社、参照)。
The target block (2002) in FIG. 20 is one of the blocks in the target divided image (1905).
The reference block (2001) is the target block (2002)
Is a block in the reference divided image (1904) corresponding to. The exclusive OR block configuration means (103) causes the target block (2002) and the reference block (200).
1) is scanned from the upper left to the lower right, the exclusive OR of pixel values is calculated, and the exclusive OR block (2003) is configured. Exclusive OR block (200
3) is encoded by the exclusive OR encoding means (104) using a method generally called arithmetic encoding.
A brief description of arithmetic coding is given below (see "International Standards for Multimedia Coding", Chapter 3, Arithmetic Coding, Hiroshi Yasuda, Maruzen Co., Ltd.).

【0023】図21は、算術符号化の原理を説明する図
である。算術符号化では、シンボル列(2105)と、
シンボルの生起確率モデル(2104)により、シンボ
ル列(2105)の順に、0から1の数直線(210
1)を限定し、後に何を続けても得られた範囲(210
2)から外れないもっとも短い2進小数点(2103)
を、符号化データとして出力する。
FIG. 21 is a diagram for explaining the principle of arithmetic coding. In arithmetic coding, a symbol string (2105)
By the symbol occurrence probability model (2104), the number line (210
The range obtained by limiting (1) and continuing (210)
2) The shortest binary point (2103)
Is output as encoded data.

【0024】図22に算術符号化のフローチャートを示
す。2201で算術符号化をはじめる。2202で範囲
を0から1に初期設定する。2203でシンボルを入力
する。2204で、現在の範囲に生起確率モデルを割り
当て、入力されたシンボルの確率の範囲を新しい範囲と
する。2205で、シンボルが終了シンボルであれば、
2206で、範囲を2進小数点で表し、2進小数点を出
力し、2207で算術符号化を終了する。2205で、
シンボルが終了シンボルでなければ、2203で次のシ
ンボルを入力する。但し、シンボルの個数が決まってい
れば、終了シンボルは省略できる。
FIG. 22 shows a flowchart of arithmetic coding. At 2201, arithmetic coding is started. At 2202, the range is initialized from 0 to 1. At 2203, the symbol is input. At 2204, the occurrence probability model is assigned to the current range, and the range of the probability of the input symbol is set as the new range. At 2205, if the symbol is the ending symbol,
At 2206, the range is represented by a binary point, the binary point is output, and at 2207, the arithmetic coding ends. 2205,
If the symbol is not the end symbol, the next symbol is input at 2203. However, if the number of symbols is fixed, the end symbol can be omitted.

【0025】復号化は、2進小数点からシンボル列を決
定することにより行なわれる。算術符号化は、シンボル
とシンボルの生起確率モデルが一致すればするほど、ま
た、シンボルの生起確率に偏りがあればあるほど、シン
ボル列の符号量は減少する性質をもつことが知られてい
る。また、符号化の間、生起確率モデルが変更されて
も、変更のされ方が分かっていれば、復号化できること
も知られている。
Decoding is performed by determining the symbol sequence from the binary point. It is known that arithmetic coding has the property that the code amount of a symbol string decreases as the symbols and the occurrence probability models of the symbols match and the occurrence probabilities of the symbols are biased. . It is also known that even if the occurrence probability model is changed during encoding, it can be decoded if the way of change is known.

【0026】排他論理和符号化手段(104)では、以
上の算術符号化と、[0、0.9)をシンボル0、
[0.9、1.0)をシンボル1とした生起確率モデル
を用いて、0と1のシンボル列である排他論理和ブロッ
クの符号列を生成し、符号データを出力する。
In the exclusive OR encoding means (104), the above arithmetic encoding and [0, 0.9) are performed for the symbol 0,
Using the occurrence probability model in which [0.9, 1.0) is the symbol 1, the code string of the exclusive OR block that is the symbol string of 0 and 1 is generated and the code data is output.

【0027】以上のように、本実施の形態では、マスク
動画像のような場合、対象ブロックと参照ブロックとの
排他論理和のシンボル0とシンボル1の生起確率は、お
よそ9:1になることを利用して、排他論理和と算術符
号化を組み合わせることにより、符号量の少ない効率的
な符号化が可能である。 (実施の形態2)図2は、本発明の実施の形態である画
像復号化装置の構成を示すブロック図であり、同図を用
いて本実施の形態の構成を説明する。同図において、排
他論理和復号化手段(201)は、符号化データを入力
とし、復号化し排他論理和ブロックを得る手段である。
ブロック化手段2(202)は、予め得られている参照
画像を複数画素からなる参照ブロックに分割する手段で
ある。対象ブロック構成手段(203)は、排他論理和
復号化手段(201)により得られた排他論理和ブロッ
クとブロック化手段(202)により得られた参照ブロ
ックから、対象ブロックを得る手段である。
As described above, in the present embodiment, in the case of a mask moving image, the occurrence probability of the symbol 0 and the symbol 1 of the exclusive OR of the target block and the reference block is about 9: 1. It is possible to perform efficient encoding with a small code amount by combining the exclusive OR with the arithmetic encoding by using the. (Embodiment 2) FIG. 2 is a block diagram showing a configuration of an image decoding apparatus according to an embodiment of the present invention, and the configuration of the present embodiment will be described with reference to FIG. In the figure, an exclusive OR decoding means (201) is means for receiving encoded data and decoding it to obtain an exclusive OR block.
The blocking unit 2 (202) is a unit that divides a reference image obtained in advance into reference blocks composed of a plurality of pixels. The target block constructing means (203) is means for obtaining the target block from the exclusive OR block obtained by the exclusive OR decoding means (201) and the reference block obtained by the blocking means (202).

【0028】以上のように構成された本実施の形態の画
像復号化装置の動作を以下に説明すると共に、本発明の
画像復号化方法の一実施の形態の動作も同時に述べる。
The operation of the image decoding apparatus of the present embodiment configured as described above will be described below, and the operation of one embodiment of the image decoding method of the present invention will be described at the same time.

【0029】即ち、排他論理和復号化手段(201)
は、排他論理和符号化(104)と同じく[0、0.
9)をシンボル0、[0.9、1.0)をシンボル1と
した生起確率モデルをもつ算術符号化方式の復号化器で
ある。符号データである2進小数点と生起確率モデルか
らシンボル列を生成し、シンボルを走査方向に並べて排
他論理和ブロックを構成する。
That is, the exclusive OR decoding means (201)
Is the same as the exclusive OR encoding (104) [0, 0.
9) is a decoder of an arithmetic coding system having an occurrence probability model in which the symbol 0 is set to 9) and the symbol 1 is set to [0.9, 1.0). A symbol string is generated from the binary point which is the code data and the occurrence probability model, and the symbols are arranged in the scanning direction to form an exclusive OR block.

【0030】ブロック化手段2(202)は、ブロック
化手段2(102)と等価である。対象ブロック構成手
段(203)では、排他論理和ブロックと参照ブロック
を走査し、排他論理和ブロックが1の画素は、参照ブロ
ックの画素値を反転させ、対象ブロックを得る。
The blocking means 2 (202) is equivalent to the blocking means 2 (102). The target block constructing means (203) scans the exclusive OR block and the reference block, and the pixel having the exclusive OR block of 1 inverts the pixel value of the reference block to obtain the target block.

【0031】以上のように、本実施の形態では、マスク
動画像のような場合、対象ブロックと参照ブロックとの
排他論理和のシンボル0とシンボル1の生起確率は、お
よそ9:1になることを利用して、排他論理和と算術符
号化を組み合わせることにより、符号量の少ない効率的
な復号化が可能である。 (実施の形態3)図3は、本発明の実施の形態である画
像符号化装置の構成を示すブロック図であり、同図を用
いて本実施の形態の構成を説明する。同図において、ブ
ロック化手段1(301)は、符号化の対象となる画像
を入力とし、入力された画像を複数画素からなるブロッ
クに分割する手段である。動き推定手段(305)は、
対象ブロックと類似したブロックを参照画像中から探索
し、その動きベクトルを得る手段である。動き補償ブロ
ック化手段2(302)は、参照画像と動き情報を入力
とし、入力された参照画像を動き情報に基づき、複数画
素からなるブロックに分割する手段である。排他論理和
ブロック構成手段(303)は、ブロック化手段1(3
01)により分割された対象ブロックと動き補償ブロッ
ク化手段2(302)により分割された参照ブロックを
走査し、その画素値の排他論理和を計算し、排他論理和
ブロックを構成する手段である。排他論理和符号化手段
(304)は、排他論理和ブロックを符号化し、符号化
データを出力する手段である。
As described above, in the present embodiment, in the case of a mask moving image, the occurrence probability of the symbol 0 and the symbol 1 of the exclusive OR of the target block and the reference block is about 9: 1. It is possible to perform efficient decoding with a small code amount by combining the exclusive OR and the arithmetic coding by using the. (Embodiment 3) FIG. 3 is a block diagram showing a configuration of an image coding apparatus according to an embodiment of the present invention, and the configuration of the present embodiment will be described with reference to FIG. In the figure, a blocking unit 1 (301) is a unit that receives an image to be encoded as an input and divides the input image into blocks composed of a plurality of pixels. The motion estimation means (305)
This is a means for searching a block similar to the target block in the reference image and obtaining its motion vector. The motion compensation block formation unit 2 (302) is a unit that receives a reference image and motion information and divides the input reference image into blocks of a plurality of pixels based on the motion information. The exclusive OR block construction means (303) is a block formation means 1 (3
This is a means for scanning the target block divided by 01) and the reference block divided by the motion compensation block formation means 2 (302), calculating the exclusive OR of the pixel values thereof, and forming an exclusive OR block. The exclusive OR encoding means (304) is means for encoding the exclusive OR block and outputting the encoded data.

【0032】以上のように構成された本実施の形態の画
像符号化装置の動作を以下に説明すると共に、本発明の
画像符号化方法の一実施の形態の動作も同時に述べる。
The operation of the image coding apparatus of the present embodiment configured as described above will be described below, and the operation of one embodiment of the image coding method of the present invention will be described at the same time.

【0033】まず、ブロック化手段1(301)は、ブ
ロック化手段1(101)と等価である。動き推定手段
(305)は、推定する動きベクトルをv、対象ブロッ
ク内の画素数をm、各画素の画像中の位置をu_i(i
は1からm)、対象画像中の位置xの画素値をA
(x)、参照画像中の位置xの画素値をB(x)とする
と、(数1)を用いて、類似度s(v)が最小となるv
をある定めれた範囲から検出し、vを動きベクトルとし
て出力する。
First, the blocking means 1 (301) is equivalent to the blocking means 1 (101). A motion estimating means (305) is a motion vector to be estimated, v is the number of pixels in the target block, and u_i (i is the position of each pixel in the image.
Is 1 to m), and the pixel value at the position x in the target image is A
(X), assuming that the pixel value at the position x in the reference image is B (x), the similarity s (v) is minimized v using (Equation 1).
Is detected from a predetermined range, and v is output as a motion vector.

【0034】[0034]

【数1】 動き補償ブロック化手段(302)は、参照画像から切
り出すブロックを、動きベクトルvだけずらして、参照
ブロックを得、出力する。排他論理和ブロック構成手段
(303)は、排他論理和ブロック構成手段(103)
と等価である。排他論理和符号化手段(304)は、排
他論理和符号化手段(104)と等価である。
[Equation 1] The motion compensation block formation means (302) shifts the block cut out from the reference image by the motion vector v, obtains the reference block, and outputs it. The exclusive OR block configuration means (303) is an exclusive OR block configuration means (103).
Is equivalent to The exclusive OR encoding means (304) is equivalent to the exclusive OR encoding means (104).

【0035】以上のように、本実施の形態によれば、動
き推定手段と動き補償ブロック化手段を用いて、排他論
理和ブロックのシンボル0とシンボル1の生起確率が、
9:1に比べて大きく異なるブロックを、9:1に近く
なるよう動き補償して、符号量の少ない効率的な符号化
が可能となる。 (実施の形態4)図4は、本発明の実施の形態である画
像復号化装置の構成を示すブロック図であり、同図を用
いて本実施の形態の構成を説明する。同図において、排
他論理和復号化手段(401)は、符号化データを入力
とし、復号化し排他論理和ブロックを得る手段である。
動き補償ブロック化手段2(402)は、参照画像と動
き情報を入力とし、入力された参照画像を動き情報に基
づき、複数画素からなるブロックに分割する手段であ
る。対象ブロック構成手段(403)は、排他論理和復
号化手段(401)により得られた排他論理和ブロック
と動き補償ブロック化手段(402)により得れらた参
照ブロックから、対象ブロックを得る手段である。
As described above, according to this embodiment, the occurrence probabilities of the symbol 0 and the symbol 1 of the exclusive OR block are calculated by using the motion estimation means and the motion compensation block formation means.
It is possible to perform efficient coding with a small code amount by performing motion compensation on a block that is significantly different from 9: 1 so as to be close to 9: 1. (Embodiment 4) FIG. 4 is a block diagram showing a configuration of an image decoding apparatus according to an embodiment of the present invention, and the configuration of the present embodiment will be described with reference to FIG. In the figure, an exclusive OR decoding means (401) is means for receiving encoded data and decoding it to obtain an exclusive OR block.
The motion compensation block formation unit 2 (402) is a unit that receives a reference image and motion information and divides the input reference image into blocks composed of a plurality of pixels based on the motion information. The target block constructing means (403) is means for obtaining a target block from the exclusive OR block obtained by the exclusive OR decoding means (401) and the reference block obtained by the motion compensation block forming means (402). is there.

【0036】以上のように構成された本実施の形態の画
像復号化装置の動作を以下に説明すると共に、本発明の
画像復号化方法の一実施の形態の動作も同時に述べる。
The operation of the image decoding apparatus of the present embodiment configured as described above will be described below, and the operation of one embodiment of the image decoding method of the present invention will be described at the same time.

【0037】即ち、排他論理和復号化手段(401)
は、排他論理和復号化手段(201)と等価である。動
き補償ブロック化手段2(402)は、動き補償ブロッ
ク化手段2(302)と等価である。対象ブロック構成
手段(403)は、対象ブロック構成手段(203)と
等価である。
That is, exclusive OR decoding means (401)
Is equivalent to the exclusive OR decoding means (201). The motion compensation block formation means 2 (402) is equivalent to the motion compensation block formation means 2 (302). The target block composing means (403) is equivalent to the target block composing means (203).

【0038】以上のように、本実施の形態によれば、動
き推定手段と動き補償ブロック化手段を用いて、排他論
理和ブロックのシンボル0とシンボル1の生起確率が、
9:1と比べて大きく異なるブロックを、9:1に近く
なるよう動き補償して、符号量の少ない効率的な復号化
が可能となる。 (実施の形態5)図5は、本発明の実施の形態である画
像符号化装置の構成を示すブロック図であり、同図を用
いて本実施の形態の構成を説明する。
As described above, according to this embodiment, the occurrence probabilities of the symbol 0 and the symbol 1 of the exclusive OR block are calculated by using the motion estimation means and the motion compensation block formation means.
It is possible to perform efficient decoding with a small code amount by performing motion compensation on a block that is significantly different from 9: 1 so as to be close to 9: 1. (Embodiment 5) FIG. 5 is a block diagram showing a configuration of an image coding apparatus according to an embodiment of the present invention, and the configuration of the present embodiment will be described with reference to FIG.

【0039】同図において、ブロック化手段1(50
1)は、符号化の対象となる画像を入力とし、入力され
た画像を複数画素からなるブロックに分割する手段であ
る。ブロック化手段2(502)は、参照画像を入力と
し、入力された参照画像を複数画素からなるブロックに
分割する手段である。排他論理和ブロック構成手段(5
03)は、ブロック化手段1(501)により分割され
た対象ブロックとブロック化手段2(502)により分
割された参照ブロックを走査し、その画素値の排他論理
和を計算し、排他論理和ブロックを構成する手段であ
る。排他論理和符号化手段(504)は、排他論理和ブ
ロックを符号化し、符号化データを出力する手段であ
る。参照ブロック利用判定手段(505)は、対象ブロ
ックと参照ブロックを比較し、参照ブロック利用判定信
号を出力し、以降の処理を切り替える手段である。対象
画素符号化手段(506)は、対象ブロックを符号化
し、符号化データを出力する手段である。
In the figure, blocking means 1 (50
1) is a means that receives an image to be encoded as an input and divides the input image into blocks each including a plurality of pixels. The blocking unit 2 (502) is a unit that receives a reference image as an input and divides the input reference image into blocks each including a plurality of pixels. Exclusive OR block construction means (5
03) scans the target block divided by the blocking unit 1 (501) and the reference block divided by the blocking unit 2 (502), calculates the exclusive OR of the pixel values, and calculates the exclusive OR block. Is a means of configuring. The exclusive OR encoding means (504) is means for encoding the exclusive OR block and outputting the encoded data. The reference block usage determining means (505) is means for comparing the target block with the reference block, outputting a reference block usage determining signal, and switching the subsequent processing. The target pixel encoding means (506) is means for encoding the target block and outputting the encoded data.

【0040】以上のように構成された本実施の形態の画
像符号化装置の動作を以下に説明すると共に、本発明の
画像符号化方法の一実施の形態の動作も同時に述べる。
The operation of the image coding apparatus of the present embodiment configured as described above will be described below, and the operation of one embodiment of the image coding method of the present invention will be described at the same time.

【0041】まず、ブロック化手段1(501)は、ブ
ロック化手段1(101)と等価である。ブロック化手
段2(502)は、ブロック化手段2(102)と等価
である。参照ブロック利用判定手段(505)では、対
象ブロックと参照ブロックの絶対値総和(SAD)を用
いて、絶対値総和がある閾値以上なら対象画素符号化手
段(506)を用いて符号化し、絶対値総和がある閾値
未満なら排他論理和ブロック構成手段(503)と排他
論理和符号化手段(504)を用いて符号化するように
切り替え、参照ブロック利用判定信号を出力する。閾値
としては、5を用いる。排他論理和ブロック構成手段
(503)は、排他論理和ブロック構成手段(103)
と等価である。排他論理和符号化手段(504)は、排
他論理和符号化手段(104)と等価である。対象画素
符号化手段(506)は、排他論理和符号化手段(50
4)とほぼ等しく、入力が対象ブロックであり、[0、
0.5)をシンボル0、[0.5、1.0)をシンボル
1とした生起確率モデルを用いた算術符号化器である。
First, the blocking means 1 (501) is equivalent to the blocking means 1 (101). The blocking means 2 (502) is equivalent to the blocking means 2 (102). The reference block use determining means (505) uses the absolute value sum (SAD) of the target block and the reference block, and if the absolute value sum is greater than or equal to a threshold value, encodes it using the target pixel encoding means (506) to obtain the absolute value. If the total sum is less than a certain threshold value, switching is performed so that the exclusive OR block forming means (503) and the exclusive OR encoding means (504) are used for encoding, and a reference block use determination signal is output. 5 is used as the threshold value. The exclusive OR block configuration means (503) is an exclusive OR block configuration means (103).
Is equivalent to The exclusive OR encoding means (504) is equivalent to the exclusive OR encoding means (104). The target pixel encoding means (506) is an exclusive OR encoding means (50
4), the input is the target block, and [0,
This is an arithmetic encoder using an occurrence probability model in which 0.5) is a symbol 0 and [0.5, 1.0) is a symbol 1.

【0042】以上のように、本実施の形態によれば、参
照ブロック利用判定手段により、シンボル0とシンボル
1の生起確率が9:1と比べて大きく異なるブロック
は、絶対値総和の大きなブロックと考え、符号化方式を
変えることで、符号化効率の悪いブロックを減少させ、
符号量の少ない効率的な符号化が可能となる。 (実施の形態6)図6は、本発明の実施の形態である画
像復号化装置の構成を示すブロック図であり、同図を用
いて本実施の形態の構成を説明する。同図において、排
他論理和復号化手段(601)は、符号化データを入力
とし、復号化し排他論理和ブロックを得る手段である。
ブロック化手段2(602)は、参照画像を入力とし、
入力された参照画像を複数画素からなる参照ブロックに
分割する手段である。対象ブロック構成手段(603)
は、排他論理和復号化手段(601)により得られた排
他論理和ブロックとブロック化手段(602)により得
られた参照ブロックから、対象ブロックを得る手段であ
る。参照ブロック利用制御手段(604)は、参照ブロ
ック利用判定信号により、以降の処理を切り替える手段
である。対象画素復号化手段(605)は、符号化デー
タを復号化し対象ブロックを得る手段である。
As described above, according to the present embodiment, the reference block use determining means determines that a block in which the occurrence probabilities of symbol 0 and symbol 1 are significantly different from 9: 1 is a block having a large sum of absolute values. Thinking and changing the coding method, reduce the blocks with poor coding efficiency,
Efficient coding with a small code amount is possible. (Embodiment 6) FIG. 6 is a block diagram showing a configuration of an image decoding apparatus according to an embodiment of the present invention, and the configuration of the present embodiment will be described with reference to FIG. In the figure, an exclusive OR decoding means (601) is a means for receiving encoded data and decoding it to obtain an exclusive OR block.
The blocking means 2 (602) receives the reference image as an input,
It is a means for dividing the input reference image into reference blocks composed of a plurality of pixels. Target block configuration means (603)
Is means for obtaining a target block from the exclusive OR block obtained by the exclusive OR decoding means (601) and the reference block obtained by the blocking means (602). The reference block usage control means (604) is a means for switching the subsequent processing according to the reference block usage determination signal. The target pixel decoding means (605) is a means for decoding the encoded data to obtain a target block.

【0043】以上のように構成された本実施の形態の画
像復号化装置の動作を以下に説明すると共に、本発明の
画像復号化方法の一実施の形態の動作も同時に述べる。
The operation of the image decoding apparatus of the present embodiment configured as described above will be described below, and the operation of one embodiment of the image decoding method of the present invention will be described at the same time.

【0044】即ち、排他論理和復号化手段(601)
は、排他論理和復号化手段(201)と等価である。ブ
ロック化手段2(602)は、ブロック化手段2(10
2)と等価である。
That is, exclusive OR decoding means (601)
Is equivalent to the exclusive OR decoding means (201). The blocking means 2 (602) is the blocking means 2 (10
It is equivalent to 2).

【0045】対象ブロック構成手段(603)は、対象
ブロック構成手段(203)と等価である。参照ブロッ
ク利用制御手段(604)は、参照ブロック利用判定信
号により、以降の処理を、参照ブロックを利用する時
の、対象ブロック構成手段(603)とブロック化手段
2(602)と排他論理和復号化手段(601)の場合
と、参照ブロックを利用しないときの、対象画素復号化
手段(605)の場合に切り替える。
The target block constructing means (603) is equivalent to the target block constructing means (203). The reference block use control means (604) performs exclusive OR decoding with the target block forming means (603), the blocking means 2 (602), and the subsequent block processing when the reference block is used, in accordance with the reference block use determination signal. Switching is made between the case of the encoding means (601) and the case of the target pixel decoding means (605) when the reference block is not used.

【0046】対象画素復号化手段(605)は、対象画
素符号化(506)と同じく[0、0.5)をシンボル
0、[0.5、1.0)をシンボル1とした生起確率モ
デルをもつ、算術符号化方式の復号化器である。符号デ
ータである2進小数点と生起確率モデルからシンボル列
を生成し、シンボルを走査方向に並べて対象ブロックを
構成する。
The target pixel decoding means (605) uses the occurrence probability model in which [0, 0.5) is the symbol 0 and [0.5, 1.0) is the symbol 1 as in the target pixel encoding (506). It is a decoder of an arithmetic coding system having. A symbol string is generated from the binary point which is the code data and the occurrence probability model, and the symbols are arranged in the scanning direction to form the target block.

【0047】以上のように、本実施の形態によれば、参
照ブロック利用判定手段により、シンボル0とシンボル
1の生起確率が9:1と比べて大きく異なるブロック
は、絶対値総和の大きなブロックと考え、符号化方式を
変えることで、符号化効率の悪いブロックを減少させ、
符号量の少ない効率的な復号化が可能となる。 (実施の形態7)図7は、本発明の実施の形態である画
像符号化装置の構成を示すブロック図であり、同図を用
いて本実施の形態の構成を説明する。同図において、ブ
ロック化手段1(701)は、符号化の対象となる画像
を入力とし、入力された画像を複数画素からなるブロッ
クに分割する手段である。
As described above, according to the present embodiment, the reference block use determining means determines that a block in which the occurrence probabilities of symbol 0 and symbol 1 are significantly different from 9: 1 is a block having a large sum of absolute values. Thinking and changing the coding method, reduce the blocks with poor coding efficiency,
Efficient decoding with a small code amount is possible. (Embodiment 7) FIG. 7 is a block diagram showing a configuration of an image coding apparatus according to an embodiment of the present invention, and the configuration of the present embodiment will be described with reference to FIG. In the figure, a blocking unit 1 (701) is a unit that receives an image to be encoded as an input and divides the input image into blocks each including a plurality of pixels.

【0048】ブロック化手段2(702)は、参照画像
を入力とし、入力された参照画像を複数画素からなるブ
ロックに分割する手段である。統計モデル選択手段(7
03)は、符号化対象画素の位置と、参照ブロックと、
後述する統計モデルテーブルを入力とし、対象画素の参
照ブロックにおける周囲画素の状態により統計モデルテ
ーブル(704)から統計モデルを選択し、エントロピ
ー符号化手段(705)に出力する手段である。即ち、
統計モデル選択手段703は、対象ブロック中の対象画
素に対応する参照画素を含む参照ブロックにおける、そ
の参照画素の周囲画素の状態に基づいて、複数の統計モ
デルから統計モデルを選択する手段である。エントロピ
ー符号化手段(705)は、符号化対象画素の位置を統
計モデル選択手段(703)に出力し、統計モデル選択
手段(703)より出力された統計モデルに基づき、対
象ブロックをエントロピー符号化し、符号化データを出
力する手段である。
The blocking means 2 (702) is a means for inputting a reference image and dividing the input reference image into blocks each having a plurality of pixels. Statistical model selection means (7
03) is the position of the pixel to be encoded, the reference block,
It is a means for inputting a statistical model table to be described later, selecting a statistical model from the statistical model table (704) according to the states of surrounding pixels in the reference block of the target pixel, and outputting it to the entropy coding means (705). That is,
The statistical model selection unit 703 is a unit that selects a statistical model from a plurality of statistical models based on the states of pixels around the reference pixel in the reference block including the reference pixel corresponding to the target pixel in the target block. The entropy coding unit (705) outputs the position of the pixel to be coded to the statistical model selection unit (703), entropy-codes the target block based on the statistical model output from the statistical model selection unit (703), It is a means for outputting encoded data.

【0049】以上のように構成された本実施の形態の画
像符号化装置の動作を以下に説明すると共に、本発明の
画像符号化方法の一実施の形態の動作も同時に述べる。
The operation of the image coding apparatus of the present embodiment configured as described above will be described below, and the operation of one embodiment of the image coding method of the present invention will be described at the same time.

【0050】まず、ブロック化手段1(701)は、ブ
ロック化手段1(101)と等価である。ブロック化手
段2(702)は、ブロック化手段2(102)と等価
である。
First, the blocking means 1 (701) is equivalent to the blocking means 1 (101). The blocking means 2 (702) is equivalent to the blocking means 2 (102).

【0051】統計モデル選択手段(703)では、複数
の統計モデルの中から統計モデルを選択し、エントロピ
ー符号化手段(705)に出力する。統計モデルテーブ
ル(2301)は、図23〜図26に示すように、対象
画素の参照ブロックにおける周囲画素の各状態にインデ
ックスを割り当て、各インデックスに統計モデルを割り
当てたテーブルである。各状態とインデックスの対応は
図27、図28で説明する。
The statistical model selecting means (703) selects a statistical model from a plurality of statistical models and outputs it to the entropy coding means (705). As shown in FIGS. 23 to 26, the statistical model table (2301) is a table in which an index is assigned to each state of surrounding pixels in the reference block of the target pixel, and a statistical model is assigned to each index. The correspondence between each state and the index will be described with reference to FIGS. 27 and 28.

【0052】周囲の状態を考えるので、まず、参照ブロ
ック(2401)を外挿して、外挿参照ブロックを作成
する。作成方法は、参照画像から周囲の画素値が得られ
れば、それを付加して外挿参照ブロック(2402)を
作成する。
Since the surrounding state is considered, first, the reference block (2401) is extrapolated to create an extrapolated reference block. As for the creation method, if the surrounding pixel values are obtained from the reference image, they are added to create the extrapolation reference block (2402).

【0053】得られなければ、端の画素をそのまま付加
して、外挿参照ブロック(2403)を作成する。同様
に対象ブロックから、外挿対象ブロックを作成する。対
象画素の参照ブロックにおける周囲画素の状態は、図2
8のように、参照ブロック(2501)に参照マスク
(2503)を、対象ブロック(2502)に対象マス
ク(2504)をかけて得られる。参照マスク(250
3)と対象マスク(2504)のそれぞれの位置の画素
の値を、A、B、C、D、E、F、G、H、I、J、
K、L、Mとすると、インデックスiは(数2)で表わ
される。又、図28に、対象画素2502aに対応する
参照画素に符号2501aを付して示した。又、本実施
の形態の統計モデル選択手段703は、対象ブロックに
おける既に符号化された対象画素2502aの近傍画素
の状態をも加味するために、上記作成された外挿対象ブ
ロックを用いて、上記と同様にして、対象画素2502
aの近傍画素の状態を得る。これにより、参照ブロック
における周囲画素の状態のみを用いる場合に比べて、よ
り一層適切な統計モデルの選択が行える。勿論、参照ブ
ロックにおける周囲画素の状態のみを用いる構成でもか
まわない。
If not obtained, the extra pixels are added as they are to create an extrapolation reference block (2403). Similarly, an extrapolation target block is created from the target block. The state of the surrounding pixels in the reference block of the target pixel is shown in FIG.
8, the reference block (2501) is obtained by applying the reference mask (2503) and the target block (2502) is obtained by applying the target mask (2504). Reference mask (250
3) and the pixel values at the respective positions of the target mask (2504) are A, B, C, D, E, F, G, H, I, J,
Assuming K, L, and M, the index i is represented by (Equation 2). Further, in FIG. 28, reference numeral 2501a is attached to the reference pixel corresponding to the target pixel 2502a. In addition, the statistical model selection unit 703 of the present embodiment uses the extrapolation target block created above in order to take into consideration the states of the neighboring pixels of the target pixel 2502a already encoded in the target block. Similarly to the target pixel 2502
Get the states of neighboring pixels of a. As a result, a more appropriate statistical model can be selected as compared with the case where only the states of the surrounding pixels in the reference block are used. Of course, a configuration using only the states of surrounding pixels in the reference block may be used.

【0054】[0054]

【数2】 このとき、統計モデルテーブル(2301)のインデッ
クスのiの統計モデルが選択される。
[Equation 2] At this time, the statistical model of the index i of the statistical model table (2301) is selected.

【0055】以上のように、統計モデル選択手段(70
3)では、統計モデルテーブルから統計モデルを選択
し、エントロピー符号化手段(705)に出力する。エ
ントロピー符号化手段(705)では、排他論理和符号
化手段(104)と同じく、算術符号化器を用いるが、
算術符号化器の生起確率モデルとしては、統計モデル選
択手段(703)で選択された統計モデル(704)を
用いて、対象画素を符号化する。
As described above, the statistical model selection means (70
In 3), a statistical model is selected from the statistical model table and output to the entropy coding means (705). The entropy encoding means (705) uses an arithmetic encoder like the exclusive OR encoding means (104),
As the occurrence probability model of the arithmetic encoder, the statistical pixel (704) selected by the statistical model selecting means (703) is used to encode the target pixel.

【0056】以上のように、本実施の形態によれば、統
計モデル選択手段により、対象画素の参照ブロックにお
ける周囲画素の状態で統計モデルを切替えて用いるた
め、エントロピー符号化の効率を上げ、符号量の少ない
効率的な符号化が可能となる。 (実施の形態8)図8は、本発明の実施の形態である画
像復号化装置の構成を示すブロック図であり、同図を用
いて本実施の形態の構成を説明する。
As described above, according to the present embodiment, since the statistical model is switched and used by the statistical model selection means in the state of the surrounding pixels in the reference block of the target pixel, the efficiency of entropy coding is improved and the code is It enables efficient coding with a small amount. (Embodiment 8) FIG. 8 is a block diagram showing a configuration of an image decoding apparatus according to an embodiment of the present invention, and the configuration of the present embodiment will be described with reference to FIG.

【0057】同図において、ブロック化手段2(80
2)は、参照画像を入力とし、入力された参照画像を複
数画素からなるブロックに分割する手段である。統計モ
デル選択手段(803)は、符号化対象画素の位置と、
参照ブロックと、統計モデルテーブルを入力とし、対象
画素の参照ブロックの周囲画素の状態により統計モデル
テーブル(704)から統計モデルを選択し、エントロ
ピー符号化手段(705)に出力する手段である。エン
トロピー復号化手段(801)は、符号化データを入力
とし、統計モデル(804)に基づき、符号化データを
復号化し、対象ブロックを得る手段である。
In the figure, blocking means 2 (80
2) is a means for inputting a reference image and dividing the input reference image into blocks each including a plurality of pixels. The statistical model selection means (803) is a position of the encoding target pixel,
It is a means for inputting a reference block and a statistical model table, selecting a statistical model from the statistical model table (704) according to the states of pixels surrounding the reference block of the target pixel, and outputting it to the entropy coding means (705). The entropy decoding means (801) is means for receiving the encoded data and decoding the encoded data based on the statistical model (804) to obtain the target block.

【0058】以上のように構成された本実施の形態の画
像復号化装置の動作を以下に説明すると共に、本発明の
画像復号化方法の一実施の形態の動作も同時に述べる。
The operation of the image decoding apparatus of the present embodiment configured as described above will be described below, and the operation of one embodiment of the image decoding method of the present invention will be described at the same time.

【0059】まず、ブロック化手段2(802)は、ブ
ロック化手段2(102)と等価である。統計モデル選
択手段(803)は、統計モデル選択手段(703)と
等価である。
First, the blocking means 2 (802) is equivalent to the blocking means 2 (102). The statistical model selection means (803) is equivalent to the statistical model selection means (703).

【0060】エントロピー復号化手段(801)では、
排他論理和復号化手段(201)と同じく、算術符号復
号化器を用いるが、算術符号化器の生起確率モデルとし
ては、統計モデル選択手段(803)で選択された統計
モデル(804)を用いる。統計モデルテーブル(80
4)は、統計モデルテーブル(704)と等価である。
In the entropy decoding means (801),
An arithmetic code decoder is used like the exclusive OR decoding means (201), but the statistical model (804) selected by the statistical model selection means (803) is used as the occurrence probability model of the arithmetic encoder. . Statistical model table (80
4) is equivalent to the statistical model table (704).

【0061】以上のように、本実施の形態によれば、統
計モデル選択手段により、対象画素の参照ブロックにお
ける周囲画素の状態で統計モデルを切替えて用いるた
め、エントロピー符号化の効率を上げ、符号量の少ない
効率的な復号化が可能となる。 (実施の形態9)図9は、本発明の実施の形態である画
像符号化装置の構成を示すブロック図であり、同図を用
いて本実施の形態の構成を説明する。
As described above, according to the present embodiment, since the statistical model is switched and used by the statistical model selection means depending on the state of the surrounding pixels in the reference block of the target pixel, the efficiency of entropy coding is improved and the coding is performed. A small amount of efficient decoding is possible. (Embodiment 9) FIG. 9 is a block diagram showing a configuration of an image coding apparatus according to an embodiment of the present invention, and the configuration of the present embodiment will be described with reference to FIG.

【0062】同図において、ブロック化手段1(90
1)は、符号化の対象となる画像を入力とし、入力され
た画像を複数画素からなるブロックに分割する手段であ
る。動き推定手段(906)は、対象ブロックと類似し
たブロックを参照画像中から探索し、その動きベクトル
を得る手段である。動き補償ブロック化手段2(90
2)は、参照画像と動き情報を入力とし、入力された参
照画像を動き情報に基づき、複数画素からなるブロック
に分割する手段である。統計モデル選択手段(903)
は、符号化対象画素の位置と、参照ブロックと、統計モ
デルテーブルを入力とし、対象画素の参照ブロックの周
囲画素の状態により統計モデルテーブル(904)から
統計モデルを選択し、エントロピー符号化手段(90
5)に出力する手段である。エントロピー符号化手段
(905)は、統計モデル選択手段(903)で選択さ
れた統計モデルに基づき、対象ブロックをエントロピー
符号化し、符号化データを出力する手段である。
In the figure, blocking means 1 (90
1) is a means that receives an image to be encoded as an input and divides the input image into blocks each including a plurality of pixels. The motion estimation means (906) is means for searching a block similar to the target block in the reference image and obtaining the motion vector thereof. Motion compensation block forming means 2 (90
2) is a means for inputting a reference image and motion information, and dividing the input reference image into blocks composed of a plurality of pixels based on the motion information. Statistical model selection means (903)
Is the position of the pixel to be encoded, the reference block, and the statistical model table as input, selects the statistical model from the statistical model table (904) according to the states of the surrounding pixels of the reference block of the target pixel, and entropy encoding means ( 90
It is a means for outputting to 5). The entropy coding means (905) is means for entropy coding the target block based on the statistical model selected by the statistical model selection means (903) and outputting the coded data.

【0063】以上のように構成された本実施の形態の画
像符号化装置の動作を以下に説明すると共に、本発明の
画像符号化方法の一実施の形態の動作も同時に述べる。
The operation of the image coding apparatus of the present embodiment configured as described above will be described below, and the operation of one embodiment of the image coding method of the present invention will be described at the same time.

【0064】まず、ブロック化手段1(901)は、ブ
ロック化手段1(101)と等価である。動き推定手段
(906)は、動き推定手段(305)と等価である。
動き補償ブロック化手段2(902)は、動き補償ブロ
ック化手段2(302)と等価である。
First, the blocking means 1 (901) is equivalent to the blocking means 1 (101). The motion estimation means (906) is equivalent to the motion estimation means (305).
The motion compensation blocking means 2 (902) is equivalent to the motion compensation blocking means 2 (302).

【0065】統計モデル選択手段(903)は、統計モ
デル選択手段(703)と等価である。統計モデルテー
ブル(904)は、統計モデルテーブル(704)と等
価である。エントロピー符号化手段(905)では、エ
ントロピー符号化手段(705)と等価である。
The statistical model selecting means (903) is equivalent to the statistical model selecting means (703). The statistical model table (904) is equivalent to the statistical model table (704). The entropy coding means (905) is equivalent to the entropy coding means (705).

【0066】以上のように、本実施の形態によれば、動
き推定手段と動き補償ブロック化手段を用いて、統計モ
デル精度をあげ、符号量の少ない効率的な符号化が可能
となる。 (実施の形態10)図10は、本発明の実施の形態であ
る画像復号化装置の構成を示すブロック図であり、同図
を用いて本実施の形態の構成を説明する。
As described above, according to this embodiment, the motion estimation means and the motion compensation block forming means can be used to improve the accuracy of the statistical model and enable efficient encoding with a small code amount. (Embodiment 10) FIG. 10 is a block diagram showing a configuration of an image decoding apparatus according to an embodiment of the present invention, and the configuration of the present embodiment will be described with reference to FIG.

【0067】同図において、動き補償ブロック化手段2
(1002)は、参照画像と動き情報を入力とし、入力
された参照画像を動き情報に基づき、複数画素からなる
ブロックに分割する手段である。統計モデル選択手段
(1003)は、符号化対象画素の位置と、参照ブロッ
クと、統計モデルテーブルを入力とし、対象画素の参照
ブロックの周囲画素の状態により統計モデルテーブル
(1004)から統計モデルを選択し、エントロピー符
号化手段(1005)に出力する手段である。エントロ
ピー復号化手段(1001)は、符号化データを入力と
し、統計モデルに基づき、符号化データを復号化し、対
象ブロックを得る手段である。
In the figure, the motion compensation block forming means 2
(1002) is a means for inputting a reference image and motion information, and dividing the input reference image into blocks composed of a plurality of pixels based on the motion information. The statistical model selection means (1003) receives the position of the encoding target pixel, the reference block, and the statistical model table as input, and selects the statistical model from the statistical model table (1004) according to the states of the surrounding pixels of the reference block of the target pixel. And outputs it to the entropy coding means (1005). The entropy decoding unit (1001) is a unit that receives the encoded data and decodes the encoded data based on the statistical model to obtain the target block.

【0068】以上のように構成された本実施の形態の画
像復号化装置の動作を以下に説明すると共に、本発明の
画像復号化方法の一実施の形態の動作も同時に述べる。
The operation of the image decoding apparatus of the present embodiment configured as described above will be described below, and the operation of one embodiment of the image decoding method of the present invention will be described at the same time.

【0069】即ち、動き補償ブロック化手段2(100
2)は、動き補償ブロック化手段2(402)と等価で
ある。統計モデル選択手段(1003)は、統計モデル
選択手段(803)と等価である。エントロピー復号化
手段(1001)では、エントロピー復号化手段(80
1)と等価である。統計モデルテーブル(1004)
は、統計モデルテーブル(704)と等価である。
That is, the motion compensation block forming means 2 (100
2) is equivalent to the motion compensation blocking means 2 (402). The statistical model selection means (1003) is equivalent to the statistical model selection means (803). The entropy decoding means (1001) has an entropy decoding means (80
It is equivalent to 1). Statistical model table (1004)
Is equivalent to the statistical model table (704).

【0070】以上のように、本実施の形態によれば、動
き補償ブロック化手段2を用いて、統計モデルの精度を
上げ、符号量の少ない効率的な復号化が可能となる。 (実施の形態11)図11は、本発明の実施の形態であ
る画像符号化装置の構成を示すブロック図であり、同図
を用いて本実施の形態の構成を説明する。
As described above, according to the present embodiment, by using the motion compensation block formation means 2, the accuracy of the statistical model can be improved and efficient decoding with a small code amount can be performed. (Embodiment 11) FIG. 11 is a block diagram showing a configuration of an image coding apparatus according to an embodiment of the present invention, and the configuration of the present embodiment will be described with reference to FIG.

【0071】同図において、ブロック化手段1(110
1)は、符号化の対象となる画像を入力とし、入力され
た画像を複数画素からなるブロックに分割する手段であ
る。
In the figure, blocking means 1 (110
1) is a means that receives an image to be encoded as an input and divides the input image into blocks each including a plurality of pixels.

【0072】ブロック化手段2(1102)は、参照画
像を入力とし、入力された参照画像を複数画素からなる
ブロックに分割する手段である。統計モデル選択手段
(1103)は、符号化対象画素の位置と、参照ブロッ
クと、統計モデルテーブルを入力とし、対象画素の参照
ブロックの周囲画素の状態により統計モデルテーブル
(1104)から統計モデルを選択し、エントロピー符
号化手段(1105)に出力する手段である。参照ブロ
ック利用判定手段(1105)は、対象ブロックと参照
ブロックを比較し、参照ブロック利用判定信号を出力
し、以降の処理を切り替える手段である。対象画素符号
化手段(1106)は、対象ブロックを符号化し、符号
化データを出力する手段である。エントロピー符号化手
段(1105)は、統計モデル(1104)に基づき、
対象ブロックをエントロピー符号化し、符号化データを
出力する手段である。対象画素符号化手段(1106)
は、対象ブロックを符号化し、符号化データを出力する
手段である。
Blocking means 2 (1102) is a means for inputting a reference image and dividing the input reference image into blocks composed of a plurality of pixels. The statistical model selection means (1103) receives the position of the encoding target pixel, the reference block, and the statistical model table as input, and selects the statistical model from the statistical model table (1104) according to the states of the surrounding pixels of the reference block of the target pixel. And outputs it to the entropy coding means (1105). The reference block utilization determining means (1105) is a means for comparing the target block with the reference block, outputting a reference block utilization determining signal, and switching the subsequent processing. The target pixel encoding means (1106) is means for encoding the target block and outputting the encoded data. The entropy coding means (1105) is based on the statistical model (1104),
This is means for entropy-encoding the target block and outputting the encoded data. Target pixel encoding means (1106)
Is a means for encoding the target block and outputting the encoded data.

【0073】以上のように構成された本実施の形態の画
像符号化装置の動作を以下に説明すると共に、本発明の
画像符号化方法の一実施の形態の動作も同時に述べる。
The operation of the image coding apparatus of the present embodiment configured as described above will be described below, and the operation of one embodiment of the image coding method of the present invention will be described at the same time.

【0074】まず、ブロック化手段1(1101)は、
ブロック化手段1(101)と等価である。ブロック化
手段2(1102)は、ブロック化手段2(102)と
等価である。統計モデル選択手段(1103)は、統計
モデル選択(703)と等価である。統計モデルテーブ
ル(1104)は、統計モデルテーブル(704)と等
価である。エントロピー符号化手段(1105)は、エ
ントロピー符号化手段(705)と等価である。参照ブ
ロック利用判定手段(1106)は、参照ブロック利用
判定手段(505)と等価である。対象画素復号化手段
(1107)は、対象画素復号化手段(605)と等価
である。
First, the blocking means 1 (1101)
It is equivalent to the blocking means 1 (101). The blocking means 2 (1102) is equivalent to the blocking means 2 (102). The statistical model selection means (1103) is equivalent to the statistical model selection (703). The statistical model table (1104) is equivalent to the statistical model table (704). The entropy coding means (1105) is equivalent to the entropy coding means (705). The reference block usage determining means (1106) is equivalent to the reference block usage determining means (505). The target pixel decoding means (1107) is equivalent to the target pixel decoding means (605).

【0075】以上のように、本実施の形態によれば、参
照ブロック利用制御手段により、統計モデルに合わない
ブロックは、符号化方式を変えることで、符号化効率の
悪いブロックを減少させ、符号量の少ない効率的な復号
化が可能となる。 (実施の形態12)図12は、本発明の実施の形態であ
る画像復号化装置の構成を示すブロック図であり、同図
を用いて本実施の形態の構成を説明する。
As described above, according to the present embodiment, the reference block utilization control means changes the coding method for blocks that do not match the statistical model, thereby reducing the blocks having poor coding efficiency and reducing the coding. A small amount of efficient decoding is possible. (Embodiment 12) FIG. 12 is a block diagram showing a configuration of an image decoding apparatus according to an embodiment of the present invention, and the configuration of the present embodiment will be described with reference to FIG.

【0076】同図において、ブロック化手段2(120
2)は、参照画像を入力とし、入力された参照画像を複
数画素からなるブロックに分割する手段である。統計モ
デル選択手段(1203)は、符号化対象画素の位置
と、参照ブロックと、統計モデルテーブルを入力とし、
対象画素の参照ブロックの周囲画素の状態により統計モ
デルテーブル(1204)から統計モデルを選択し、エ
ントロピー符号化手段(1205)に出力する手段であ
る。エントロピー復号化手段(1201)は、符号化デ
ータを入力とし、統計モデルに基づき、符号化データを
復号化し、対象ブロックを得る手段である。参照ブロッ
ク利用判定手段(1205)は、対象ブロックと参照ブ
ロックを比較し、以降の処理を切り替える手段である。
対象画素復号化手段(605)は、符号化データを復号
化し対象ブロックを得る手段である。
In the figure, blocking means 2 (120
2) is a means for inputting a reference image and dividing the input reference image into blocks each including a plurality of pixels. The statistical model selection means (1203) receives the position of the pixel to be encoded, the reference block, and the statistical model table as input,
It is a means for selecting a statistical model from the statistical model table (1204) according to the states of the surrounding pixels of the reference block of the target pixel and outputting it to the entropy coding means (1205). The entropy decoding means (1201) is means for inputting encoded data and decoding the encoded data based on a statistical model to obtain a target block. The reference block use determining means (1205) is means for comparing the target block with the reference block and switching the subsequent processing.
The target pixel decoding means (605) is a means for decoding the encoded data to obtain a target block.

【0077】以上のように構成された本実施の形態の画
像復号化装置の動作を以下に説明すると共に、本発明の
画像復号化方法の一実施の形態の動作も同時に述べる。
The operation of the image decoding apparatus of the present embodiment configured as described above will be described below, and the operation of one embodiment of the image decoding method of the present invention will be described at the same time.

【0078】まず、エントロピー復号化手段(120
1)は、エントロピー復号化手段(801)と等価であ
る。ブロック化手段2(1202)は、ブロック化手段
2(102)と等価である。統計モデル選択手段(12
03)は、統計モデル選択手段(703)と等価であ
る。統計モデルテーブル(1204)は、統計モデルテ
ーブル(704)と等価である。参照ブロック利用制御
手段(1205)は、参照ブロック利用制御手段(60
4)と等価である。対象画素復号化手段(1206)
は、対象画素復号化手段(605)と等価である。
First, the entropy decoding means (120
1) is equivalent to the entropy decoding means (801). The blocking means 2 (1202) is equivalent to the blocking means 2 (102). Statistical model selection means (12
03) is equivalent to the statistical model selection means (703). The statistical model table (1204) is equivalent to the statistical model table (704). The reference block use control means (1205) is a reference block use control means (60).
It is equivalent to 4). Target pixel decoding means (1206)
Is equivalent to the target pixel decoding means (605).

【0079】以上のように、本実施の形態によれば、参
照ブロック利用制御手段により、統計モデルに合わない
ブロックは、符号化方式を変えることで、符号化効率の
悪いブロックを減少させ、符号量の少ない効率的な復号
化が可能となる。 (実施の形態13)図13は、本発明の実施の形態であ
る画像符号化装置の構成を示すブロック図であり、同図
を用いて本実施の形態の構成を説明する。
As described above, according to the present embodiment, the reference block use control means changes the coding method for blocks that do not match the statistical model, thereby reducing the blocks with poor coding efficiency and reducing the coding. A small amount of efficient decoding is possible. (Embodiment 13) FIG. 13 is a block diagram showing a configuration of an image coding apparatus according to an embodiment of the present invention, and the configuration of the present embodiment will be described with reference to FIG.

【0080】同図において、ブロック化手段1(130
1)は、符号化の対象となる画像を入力とし、入力され
た画像を複数画素からなるブロックに分割する手段であ
る。ブロック化手段2(1302)は、参照画像を入力
とし、入力された参照画像を複数画素からなるブロック
に分割する手段である。統計モデル推定手段(130
3)は、参照ブロックから対象ブロックの統計モデルを
推定し、統計モデル(1304)に記憶しておく手段で
ある。エントロピー符号化手段(1305)は、統計モ
デル(1304)に基づき、対象ブロックの画素を符号
化し、符号化データを出力する手段である。
In the figure, blocking means 1 (130
1) is a means that receives an image to be encoded as an input and divides the input image into blocks each including a plurality of pixels. The blocking unit 2 (1302) is a unit that receives a reference image as an input and divides the input reference image into blocks each including a plurality of pixels. Statistical model estimation means (130
3) is means for estimating the statistical model of the target block from the reference block and storing it in the statistical model (1304). The entropy coding means (1305) is means for coding the pixels of the target block based on the statistical model (1304) and outputting the coded data.

【0081】以上のように構成された本実施の形態の画
像符号化装置の動作を以下に説明すると共に、本発明の
画像符号化方法の一実施の形態の動作も同時に述べる。
The operation of the image coding apparatus of the present embodiment configured as described above will be described below, and the operation of one embodiment of the image coding method of the present invention will be described at the same time.

【0082】即ち、ブロック化手段1(1301)は、
ブロック化手段1(101)と等価である。ブロック化
手段2(1302)は、ブロック化手段2(102)と
等価である。統計モデル推定手段(1303)では、参
照ブロックから統計モデルを推定する。図29は、統計
モデル推定手段(1303)の統計モデル推定方法の説
明図である。
That is, the blocking means 1 (1301)
It is equivalent to the blocking means 1 (101). The blocking means 2 (1302) is equivalent to the blocking means 2 (102). The statistical model estimation means (1303) estimates a statistical model from the reference block. FIG. 29 is an explanatory diagram of the statistical model estimation method of the statistical model estimation means (1303).

【0083】統計モデル推定はまず、シンボル0の頻度
Zを求める。頻度Zは参照ブロック内のシンボル0の数
を数え、それを総画素数64で割って得られる。頻度Z
から、シンボル0の生起確率へは、変換グラフ(260
1)を用いる。変換グラフにおいて、r=0.1とす
る。変換グラフから得られる生起確率zを用いて、推定
する統計モデルは、[0、z)をシンボル0、[z、
1.0)をシンボル1とする。推定された統計モデルは
統計モデル(1304)に蓄える。
In the statistical model estimation, the frequency Z of the symbol 0 is first obtained. The frequency Z is obtained by counting the number of symbols 0 in the reference block and dividing it by the total number of pixels 64. Frequency Z
From the occurrence probability of symbol 0 to the conversion graph (260
1) is used. In the conversion graph, r = 0.1. The statistical model to be estimated using the occurrence probability z obtained from the transformation graph is [0, z) as the symbols 0, [z,
1.0) is the symbol 1. The estimated statistical model is stored in the statistical model (1304).

【0084】エントロピー符号化手段(1305)は、
エントロピー符号化手段(102)と同様に、算術符号
化器と推定された統計モデル(1304)を用いて対象
ブロックを符号化する。
The entropy coding means (1305)
Similar to the entropy coding means (102), the target block is coded using the statistical model (1304) estimated as the arithmetic coder.

【0085】以上のように、本実施の形態によれば、統
計モデル推定手段により、参照ブロックから対象ブロッ
ク内のシンボルの統計モデルを推定することで、エント
ロピー符号化の効率を上げ、符号量の少ない効率的な符
号化が可能となる。
As described above, according to the present embodiment, the statistical model estimation means estimates the statistical model of the symbols in the target block from the reference block, thereby improving the efficiency of entropy coding and reducing the code amount. Less efficient encoding is possible.

【0086】尚、本実施の形態では、対象ブロック毎に
統計モデルを生成する構成であったが、これに限らず例
えば、対象画素毎に統計モデルを生成する構成でもかま
わない。 (実施の形態14)図14は、本発明の実施の形態であ
る画像復号化装置の構成を示すブロック図であり、同図
を用いて本実施の形態の構成を説明する。
In this embodiment, the statistical model is generated for each target block, but the present invention is not limited to this. For example, a statistical model may be generated for each target pixel. (Embodiment 14) FIG. 14 is a block diagram showing a configuration of an image decoding apparatus according to an embodiment of the present invention, and the configuration of the present embodiment will be described with reference to FIG.

【0087】同図において、ブロック化手段2(140
2)は、参照画像を入力とし、入力された参照画像を複
数画素からなるブロックに分割する手段である。統計モ
デル推定手段(1403)は、参照ブロックから対象ブ
ロックの統計モデルを推定し、統計モデル(1404)
に記憶しておく手段である。エントロピー復号化手段
(1401)は、符号化データを入力とし、統計モデル
(1404)に基づき、符号化データを復号化し、対象
ブロックを得る手段である。
In the figure, blocking means 2 (140
2) is a means for inputting a reference image and dividing the input reference image into blocks each including a plurality of pixels. The statistical model estimation means (1403) estimates the statistical model of the target block from the reference block, and the statistical model (1404)
It is a means to store in. The entropy decoding means (1401) is means for receiving the encoded data as input and decoding the encoded data based on the statistical model (1404) to obtain the target block.

【0088】以上のように構成された本実施の形態の画
像復号化装置の動作を以下に説明すると共に、本発明の
画像復号化方法の一実施の形態の動作も同時に述べる。
The operation of the image decoding apparatus of the present embodiment configured as described above will be described below, and the operation of one embodiment of the image decoding method of the present invention will be described at the same time.

【0089】即ち、ブロック化手段2(1402)は、
ブロック化手段2(102)と等価である。統計モデル
推定手段(1403)は、統計モデル推定手段(130
3)と等価である。エントロピー復号化手段(140
1)は、排他論理和復号化手段(201)と同様に、算
術符号復号化器と統計モデル推定手段(1403)で推
定された統計モデル(1404)を用いて、復号化し、
対象ブロックを得る。
That is, the blocking means 2 (1402)
It is equivalent to the blocking means 2 (102). The statistical model estimating means (1403) is a statistical model estimating means (130).
It is equivalent to 3). Entropy decoding means (140
1) is decoded by using the arithmetic model decoder and the statistical model (1404) estimated by the statistical model estimating means (1403) similarly to the exclusive OR decoding means (201),
Get the target block.

【0090】以上のように、本実施の形態によれば、統
計モデル推定手段により、参照ブロックから対象ブロッ
ク内のシンボルの統計モデルを推定することで、エント
ロピー符号化の効率を上げ、符号量の少ない効率的な復
号化が可能となる。 (実施の形態15)図15は、本発明の実施の形態であ
る画像符号化装置の構成を示すブロック図であり、同図
を用いて本実施の形態の構成を説明する。
As described above, according to the present embodiment, the statistical model estimating means estimates the statistical model of the symbols in the target block from the reference block, thereby improving the efficiency of entropy coding and reducing the code amount. Less efficient decoding is possible. (Embodiment 15) FIG. 15 is a block diagram showing a configuration of an image coding apparatus according to an embodiment of the present invention, and the configuration of the present embodiment will be described with reference to FIG.

【0091】同図において、ブロック化手段1(150
1)は、符号化の対象となる画像を入力とし、入力され
た画像を複数画素からなるブロックに分割する手段であ
る。動き推定手段(1506)は、対象ブロックと類似
したブロックを参照画像中から探索し、その動きベクト
ルを得る手段である。
In the figure, blocking means 1 (150
1) is a means that receives an image to be encoded as an input and divides the input image into blocks each including a plurality of pixels. The motion estimating means (1506) is means for searching a block similar to the target block in the reference image and obtaining the motion vector thereof.

【0092】動き補償ブロック化手段2(1502)
は、参照画像と動き情報を入力とし、入力された参照画
像を動き情報に基づき、複数画素からなるブロックに分
割する手段である。統計モデル推定手段(1503)
は、参照ブロックから対象ブロックの統計モデルを推定
し、統計モデル(1504)に記憶しておく手段であ
る。エントロピー符号化手段(1505)は、統計モデ
ル(1504)に基づき、対象ブロックの画素を符号化
し、符号化データを出力する手段である。
Motion compensation block forming means 2 (1502)
Is a means for inputting a reference image and motion information, and dividing the input reference image into blocks composed of a plurality of pixels based on the motion information. Statistical model estimation means (1503)
Is a means for estimating the statistical model of the target block from the reference block and storing it in the statistical model (1504). The entropy coding means (1505) is means for coding the pixels of the target block based on the statistical model (1504) and outputting the coded data.

【0093】以上のように構成された本実施の形態の画
像符号化装置の動作を以下に説明すると共に、本発明の
画像符号化方法の一実施の形態の動作も同時に述べる。
The operation of the image coding apparatus of the present embodiment configured as described above will be described below, and the operation of one embodiment of the image coding method of the present invention will be described at the same time.

【0094】即ち、ブロック化手段1(1501)は、
ブロック化手段1(101)と等価である。動き補償ブ
ロック化手段2(1502)は、動き補償ブロック化手
段2(302)と等価である。統計モデル推定手段(1
504)は、統計モデル推定手段(1303)と等価で
ある。エントロピー符号化手段(1503)は、エント
ロピー符号化手段(1305)と等価である。動き推定
手段(1506)は、動き推定手段(305)と等価で
ある。
That is, the blocking means 1 (1501) is
It is equivalent to the blocking means 1 (101). The motion compensation blocking means 2 (1502) is equivalent to the motion compensation blocking means 2 (302). Statistical model estimation means (1
504) is equivalent to the statistical model estimating means (1303). The entropy coding means (1503) is equivalent to the entropy coding means (1305). The motion estimation means (1506) is equivalent to the motion estimation means (305).

【0095】以上のように、本実施の形態によれば、動
き推定手段と動き補償ブロック化手段を用いて、統計モ
デル推定精度をあげ、符号量の少ない効率的な符号化が
可能となる。 (実施の形態16)図16は、本発明の実施の形態であ
る画像復号化装置の構成を示すブロック図であり、同図
を用いて本実施の形態の構成を説明する。
As described above, according to this embodiment, it is possible to increase the accuracy of statistical model estimation by using the motion estimation means and the motion compensation block formation means, and to perform efficient encoding with a small code amount. (Embodiment 16) FIG. 16 is a block diagram showing a configuration of an image decoding apparatus according to an embodiment of the present invention, and the configuration of the present embodiment will be described with reference to FIG.

【0096】同図において、動き補償ブロック化手段2
(1602)は、参照画像と動き情報を入力とし、入力
された参照画像を動き情報に基づき、複数画素からなる
ブロックに分割する手段である。統計モデル推定手段
(1603)は、参照ブロックから対象ブロックの統計
モデルを推定し、統計モデル(1604)に記憶してお
く手段である。エントロピー復号化手段(1601)
は、符号化データを入力とし、統計モデル(1604)
に基づき、符号化データを復号化し、対象ブロックを得
る手段である。
In the figure, the motion compensation block forming means 2
(1602) is a means for inputting a reference image and motion information, and dividing the input reference image into blocks composed of a plurality of pixels based on the motion information. The statistical model estimating means (1603) is means for estimating the statistical model of the target block from the reference block and storing it in the statistical model (1604). Entropy decoding means (1601)
Is a statistical model (1604) using the encoded data as input.
Is a means for decoding encoded data to obtain a target block.

【0097】以上のように構成された本実施の形態の画
像復号化装置の動作を以下に説明すると共に、本発明の
画像復号化方法の一実施の形態の動作も同時に述べる。
The operation of the image decoding apparatus of the present embodiment configured as described above will be described below, and the operation of one embodiment of the image decoding method of the present invention will be described at the same time.

【0098】即ち、動き補償ブロック化手段2(160
2)は、動き補償ブロック化手段2(402)と等価で
ある。統計モデル推定手段(1603)は、統計モデル
推定手段(1303)と等価である。エントロピー復号
化手段(1601)は、エントロピー復号化手段(14
01)と等価である。
That is, the motion compensation block forming means 2 (160
2) is equivalent to the motion compensation blocking means 2 (402). The statistical model estimating means (1603) is equivalent to the statistical model estimating means (1303). The entropy decoding means (1601) is an entropy decoding means (14
It is equivalent to 01).

【0099】以上のように、本実施の形態によれば、動
き補償ブロック化手段2を用いて、統計モデルの推定精
度を上げ、符号量の少ない効率的な復号化が可能とな
る。 (実施の形態17)図17は、本発明の実施の形態であ
る画像符号化装置の構成を示すブロック図であり、同図
を用いて本実施の形態の構成を説明する。
As described above, according to the present embodiment, it is possible to increase the estimation accuracy of the statistical model by using the motion compensation block formation means 2 and perform efficient decoding with a small code amount. (Embodiment 17) FIG. 17 is a block diagram showing a configuration of an image coding apparatus according to an embodiment of the present invention, and the configuration of the present embodiment will be described with reference to FIG.

【0100】同図において、ブロック化手段1(170
1)は、符号化の対象となる画像を入力とし、入力され
た画像を複数画素からなるブロックに分割する手段であ
る。ブロック化手段2(1702)は、参照画像を入力
とし、入力された参照画像を複数画素からなるブロック
に分割する手段である。統計モデル推定手段(170
3)は、参照ブロックから対象ブロックの統計モデルを
推定し、統計モデル(1704)に記憶しておく手段で
ある。エントロピー復号化手段(1701)は、符号化
データを入力とし、統計モデル(1704)に基づき、
符号化データを復号化し、対象ブロックを得る手段であ
る。参照ブロック利用判定手段(1706)は、対象ブ
ロックと参照ブロックを比較し、参照ブロック利用判定
信号を出力し、以降の処理を切り替える手段である。
In the figure, blocking means 1 (170
1) is a means that receives an image to be encoded as an input and divides the input image into blocks each including a plurality of pixels. The blocking unit 2 (1702) is a unit that receives a reference image as an input and divides the input reference image into blocks each including a plurality of pixels. Statistical model estimation means (170
3) is means for estimating the statistical model of the target block from the reference block and storing it in the statistical model (1704). The entropy decoding means (1701) receives the encoded data as an input, and based on the statistical model (1704),
It is a means for decoding the encoded data to obtain the target block. The reference block usage determining means (1706) is means for comparing the target block with the reference block, outputting a reference block usage determining signal, and switching the subsequent processing.

【0101】以上のように構成された本実施の形態の画
像符号化装置の動作を以下に説明すると共に、本発明の
画像符号化方法の一実施の形態の動作も同時に述べる。
The operation of the image coding apparatus of the present embodiment configured as described above will be described below, and the operation of one embodiment of the image coding method of the present invention will be described at the same time.

【0102】即ち、ブロック化手段1(1701)は、
ブロック化手段1(101)と等価である。ブロック化
手段2(1702)は、ブロック化手段2(102)と
等価である。統計モデル推定手段(1703)は、統計
モデル推定手段(1303)と等価である。エントロピ
ー符号化手段(1705)は、エントロピー符号化手段
(1305)と等価である。参照ブロック利用判定手段
(1706)は、参照ブロック利用判定手段(505)
と等価である。対象画素復号化手段(1707)は、対
象画素復号化手段(605)と等価である。
That is, the blocking means 1 (1701) is
It is equivalent to the blocking means 1 (101). The blocking means 2 (1702) is equivalent to the blocking means 2 (102). The statistical model estimating means (1703) is equivalent to the statistical model estimating means (1303). The entropy coding means (1705) is equivalent to the entropy coding means (1305). The reference block use determination means (1706) is a reference block use determination means (505).
Is equivalent to The target pixel decoding means (1707) is equivalent to the target pixel decoding means (605).

【0103】以上のように、本実施の形態によれば、参
照ブロック利用制御手段により、統計モデルに合わない
ブロックは、符号化方式を変えることで、符号化効率の
悪いブロックを減少させ、符号量の少ない効率的な復号
化が可能となる。 (実施の形態18)図18は、本発明の実施の形態であ
る画像復号化装置の構成を示すブロック図であり、同図
を用いて本実施の形態の構成を説明する。
As described above, according to the present embodiment, the reference block utilization control means changes the coding method for blocks that do not match the statistical model, thereby reducing the blocks with poor coding efficiency and A small amount of efficient decoding is possible. (Embodiment 18) FIG. 18 is a block diagram showing a configuration of an image decoding apparatus according to an embodiment of the present invention, and the configuration of the present embodiment will be described with reference to FIG.

【0104】同図において、ブロック化手段2(180
2)は、参照画像を入力とし、入力された参照画像を複
数画素からなるブロックに分割する手段である。統計モ
デル推定手段(1803)は、参照ブロックから対象ブ
ロックの統計モデルを推定し、統計モデル(1804)
に記憶しておく手段である。エントロピー復号化手段
(1801)は、符号化データを入力とし、統計モデル
(1804)に基づき、符号化データを復号化し、対象
ブロックを得る手段である。参照ブロック利用制御手段
(1805)は、参照ブロック利用判定信号により、以
降の処理を切り替える手段である。対象画素符号化手段
(1806)は、対象ブロックを符号化し、符号化デー
タを出力する手段である。
In the figure, blocking means 2 (180
2) is a means for inputting a reference image and dividing the input reference image into blocks each including a plurality of pixels. The statistical model estimation means (1803) estimates the statistical model of the target block from the reference block, and the statistical model (1804)
It is a means to store in. The entropy decoding means (1801) is a means for receiving the encoded data and decoding the encoded data based on the statistical model (1804) to obtain the target block. The reference block usage control means (1805) is a means for switching the subsequent processing according to the reference block usage determination signal. The target pixel encoding means (1806) is means for encoding the target block and outputting the encoded data.

【0105】以上のように構成された本実施の形態の画
像復号化装置の動作を以下に説明すると共に、本発明の
画像復号化方法の一実施の形態の動作も同時に述べる。
The operation of the image decoding apparatus of the present embodiment configured as described above will be described below, and the operation of one embodiment of the image decoding method of the present invention will be described at the same time.

【0106】即ち、ブロック化手段2(1802)は、
ブロック化手段2(102)と等価である。統計モデル
推定手段(1803)は、統計モデル推定手段(130
3)と等価である。エントロピー復号化手段(180
1)は、エントロピー復号化手段(1401)と等価で
ある。参照ブロック利用制御手段(1805)は、参照
ブロック利用制御手段(604)と等価である。対象画
素復号化手段(1806)は、対象画素復号化手段(6
05)と等価である。
That is, the blocking means 2 (1802)
It is equivalent to the blocking means 2 (102). The statistical model estimating means (1803) is a statistical model estimating means (130).
It is equivalent to 3). Entropy decoding means (180
1) is equivalent to the entropy decoding means (1401). The reference block use control means (1805) is equivalent to the reference block use control means (604). The target pixel decoding means (1806) is a target pixel decoding means (6
It is equivalent to 05).

【0107】以上のように、本実施の形態によれば、参
照ブロック利用制御手段により、統計モデルに合わない
ブロックは、符号化方式を変えることで、符号化効率の
悪いブロックを減少させ、符号量の少ない効率的な復号
化が可能となる。
As described above, according to the present embodiment, the reference block use control means changes the coding method for blocks that do not match the statistical model, thereby reducing the blocks with poor coding efficiency and A small amount of efficient decoding is possible.

【0108】一方、上述した実施の形態の何れか一つの
実施の形態に記載の各手段の全部又は一部の手段の機能
をコンピュータに実行させるためのプログラムを記録し
た磁気記録媒体や光記録媒体を作成して、これを用い
て、上記動作をコンピュータに実行させることによって
も、上記と同様の効果を発揮する。
On the other hand, a magnetic recording medium or an optical recording medium recording a program for causing a computer to execute the functions of all or some of the means described in any one of the above-described embodiments. Also, the same effect as described above can be achieved by creating the above and causing the computer to execute the above operation.

【0109】以上述べた様に、本発明の画像符号化装
置、画像復号化装置、画像符号化方法、及び画像復号化
方法では、以下の理由により、従来の2値画像符号化技
術、2値画像復号化技術を用いるよりも効率の良い符号
化と復号化が可能となる。即ち、(1)2値動画像にお
いて参照画像から対象画像を予測し、残差を排他的論理
和で表現する。 (2)相関のある他フレームの周囲画素の状態により統
計モデルを切替えることで、常時適切な統計モデルを用
いる。 (3)参照画像より統計モデルを作成することにより、
適切な統計モデルを用いる。 (4)動き補償や絶対値差の総和を用いた閾値による符
号化方式の変更により、統計モデルに合わないブロック
を減少させる。
As described above, in the image coding device, the image decoding device, the image coding method, and the image decoding method of the present invention, the conventional binary image coding technique and binary image coding technique are used for the following reasons. It enables more efficient encoding and decoding than using image decoding technology. That is, (1) the target image is predicted from the reference image in the binary moving image, and the residual is expressed by exclusive OR. (2) An appropriate statistical model is always used by switching the statistical model according to the states of surrounding pixels of another frame having a correlation. (3) By creating a statistical model from the reference image,
Use an appropriate statistical model. (4) The number of blocks that do not fit the statistical model is reduced by changing the coding method using a threshold value that uses motion compensation or the sum of absolute value differences.

【0110】尚、本発明の参照ブロック利用判定手段
は、上記実施の形態5では、図5に示す構成の場合につ
いて述べたが、これに限らず例えば、図30に示す構成
でも良い。即ち、図30に示す画像符号化装置の場合、
参照ブロック利用判定手段3505は、対象ブロックの
符号化量と、参照ブロックの符号化量を比較し、参照ブ
ロック利用判定信号を出力し、以降の処理を切り替える
手段である。この点が、図5の構成との主な相違点であ
る。これにより、参照ブロック利用判定手段3505で
は、対象画像符号化手段506での符号化量と、排他論
理和符号化手段504での符号化量を用いて、対象画像
符号化手段506での符号化量の方が少なければ、その
符号化データを出力し、排他論理和符号化手段504で
の符号量の方が少なければ、その符号化データを出力す
る様に切り替える。又、対象画像符号化手段506での
符号量の方が少なければ、参照ブロック利用判定信号を
出力するものである。以上の様に、本実施の形態によれ
ば、参照ブロック利用判定手段3505により、符号量
を基準として利用し、符号化データを切り替えることに
より、符号化効率の悪いブロックを減少させ、符号量の
少ないより効率的な符号化が可能となる。尚、図5の構
成と基本的に同じものには、同じ符号を付した。
The reference block use determining means of the present invention has been described in the fifth embodiment with respect to the configuration shown in FIG. 5, but the present invention is not limited to this and may have the configuration shown in FIG. 30, for example. That is, in the case of the image encoding device shown in FIG.
The reference block usage determining unit 3505 is a unit that compares the coding amount of the target block with the coding amount of the reference block, outputs a reference block usage determining signal, and switches subsequent processes. This is the main difference from the configuration of FIG. As a result, the reference block use determining unit 3505 uses the encoding amount in the target image encoding unit 506 and the encoding amount in the exclusive OR encoding unit 504 to perform encoding in the target image encoding unit 506. If the amount is smaller, the encoded data is output, and if the amount of code in the exclusive OR encoding means 504 is smaller, the encoded data is output. If the code amount in the target image coding means 506 is smaller, the reference block utilization determination signal is output. As described above, according to the present embodiment, the reference block use determining unit 3505 uses the code amount as a reference and switches the coded data to reduce the blocks with poor coding efficiency and reduce the code amount. Fewer and more efficient encodings are possible. Note that the same reference numerals are given to those basically the same as the configuration of FIG.

【0111】又、本発明の参照ブロック利用制御手段
は、上記実施の形態6では、図6に示す構成の場合につ
いて述べたが、これに限らず例えば、図31に示す構成
でも良い。即ち、図31に示す画像復号化装置は、図5
又は図30に示す画像符号化装置から出力された符号化
データを復号化し対象ブロックを得る対象画素復号化手
段605と、前記画像符号化装置から出力された前記参
照ブロック利用判定信号に基づいて、前記対象ブロック
構成手段603からの出力を、又は、前記対象画素復号
化手段605からの出力を対象ブロックとして出力させ
る参照ブロック利用制御手段3604とを備えた構成で
ある。これにより、従来に比べてより効率的な復号化が
行える。尚、図6の構成と基本的に同じものには、同じ
符号を付した。
Further, although the reference block use control means of the present invention has been described in the sixth embodiment with respect to the configuration shown in FIG. 6, the configuration is not limited to this and may be the configuration shown in FIG. 31, for example. That is, the image decoding apparatus shown in FIG.
Alternatively, based on a target pixel decoding unit 605 that obtains a target block by decoding the coded data output from the image coding apparatus illustrated in FIG. 30, and the reference block use determination signal output from the image coding apparatus, This is a configuration including a reference block use control unit 3604 that causes the output from the target block configuration unit 603 or the output from the target pixel decoding unit 605 to be output as a target block. As a result, decoding can be performed more efficiently than in the past. Note that the same reference numerals are given to those basically the same as the configuration of FIG.

【0112】又、本発明の統計モデル選択手段は、上記
実施の形態7では、統計モデルの選択結果を復号化装置
側へ出力しない構成の場合について述べたが、これに限
らず例えば、図32に示す様に、統計モデル選択手段3
703は、統計モデルの選択結果を選択結果信号として
復号化装置側へ出力する手段であっても良い。尚、図7
の構成と基本的に同じものには、同じ符号を付した。
In the seventh embodiment, the statistical model selecting means of the present invention has been described for the case where the statistical model selection result is not output to the decoding device. However, the present invention is not limited to this. As shown in FIG.
703 may be means for outputting the selection result of the statistical model as a selection result signal to the decoding device side. Incidentally, FIG.
Components that are basically the same as the configuration of 1 are assigned the same reference numerals.

【0113】又、本発明の画像復号化装置は、上記実施
の形態8では、統計モデルの選択結果を復号化装置側へ
出力しない構成の画像符号化装置に対応した復号化装置
である場合について述べたが、これに限らず例えば、図
33に示す構成でも良い。即ち、図33に示す画像復号
化装置は、図32に示す画像符号化装置から出力された
選択結果信号を得て、その選択結果信号に対応する統計
モデルを複数の統計モデルから選択する統計モデル選択
手段3803と、前記選択された統計モデルに基づい
て、前記画像符号化装置から出力された符号化データを
エントロピー復号化し、対象ブロックを得るエントロピ
ー復号化手段801とを備えている。これにより、従来
に比べてより効率的な復号化が行える。又、本実施の形
態の場合、図8に示す様なブロック化手段2(802)
は不要である。尚、図8の構成と基本的に同じものに
は、同じ符号を付した。
Further, in the case where the image decoding apparatus of the present invention is a decoding apparatus corresponding to the image coding apparatus of the configuration which does not output the selection result of the statistical model to the decoding apparatus side in the above-mentioned Embodiment 8. Although described, the configuration is not limited to this and may be the configuration shown in FIG. That is, the image decoding apparatus shown in FIG. 33 obtains the selection result signal output from the image encoding apparatus shown in FIG. 32, and selects a statistical model corresponding to the selection result signal from a plurality of statistical models. It is provided with a selection unit 3803 and an entropy decoding unit 801 that entropy-decodes the encoded data output from the image encoding device based on the selected statistical model to obtain a target block. As a result, decoding can be performed more efficiently than in the past. Further, in the case of the present embodiment, the blocking means 2 (802) as shown in FIG.
Is unnecessary. In addition, the same reference numerals are given to those basically the same as the configuration of FIG.

【0114】又、本発明の参照ブロック利用判定手段
は、上記実施の形態11では、図11に示す構成の場合
について述べたが、これに限らず例えば、図34に示す
構成でも良い。即ち、図34に示す画像符号化装置の場
合、参照ブロック利用判定手段3106は、対象ブロッ
クの符号化量と、参照ブロックの符号化量とを比較し、
参照ブロック利用判定信号を出力し、以降の処理を切り
替える手段である。この点が、図11の構成との主な相
違点である。これにより、参照ブロック利用判定手段3
106では、対象画像符号化手段1107での符号化量
と、エントロピー符号化手段1105での符号化量を用
いて、対象画像符号化手段1107での符号化量の方が
少なければ、その符号化データを出力し、エントロピー
符号化手段1105での符号量の方が少なければ、その
符号化データを出力する様に切り替える。又、対象画像
符号化手段1107での符号量の方が少なければ、参照
ブロック利用判定信号を出力するものである。以上の様
に、本実施の形態によれば、参照ブロック利用判定手段
31106により、符号量を基準として利用し、符号化
データを切り替えることにより、符号化効率の悪いブロ
ックを減少させ、符号量の少ないより効率的な符号化が
可能となる。尚、図11の構成と基本的に同じものに
は、同じ符号を付した。
In the eleventh embodiment, the reference block use determining means of the present invention has been described with respect to the configuration shown in FIG. 11, but the configuration is not limited to this, and the configuration shown in FIG. 34 may be used. That is, in the case of the image coding apparatus shown in FIG. 34, the reference block use determining unit 3106 compares the coding amount of the target block with the coding amount of the reference block,
It is a means for outputting a reference block use determination signal and switching the subsequent processing. This is the main difference from the configuration of FIG. As a result, the reference block use determining unit 3
In 106, if the coding amount in the target image coding unit 1107 is smaller than the coding amount in the target image coding unit 1107 and the coding amount in the entropy coding unit 1105, the coding is performed. When the data is output and the code amount in the entropy coding unit 1105 is smaller, the coded data is output. If the code amount in the target image encoding means 1107 is smaller, the reference block utilization determination signal is output. As described above, according to the present embodiment, the reference block usage determining unit 31106 uses the code amount as a reference and switches the coded data to reduce the blocks with low coding efficiency and reduce the code amount. Fewer and more efficient encodings are possible. Note that the same reference numerals are given to those basically the same as the configuration of FIG.

【0115】又、本発明の参照ブロック利用制御手段
は、上記実施の形態12では、図12に示す構成の場合
について述べたが、これに限らず例えば、図35に示す
構成でも良い。即ち、図35に示す画像復号化装置は、
図11又は図34に示した画像符号化装置から出力され
た符号化データを復号化し対象ブロックを得る対象画素
復号化手段1206と、前記画像符号化装置から出力さ
れた前記参照ブロック利用判定信号に基づいて、前記エ
ントロピー復号化手段1201からの出力を、又は、前
記対象画素復号化手段1206からの出力を対象ブロッ
クとして出力させる参照ブロック利用制御手段3205
とを備えた構成である。これにより従来に比べてより効
率的な復号化が行える。尚、図12と基本的に同じもの
には、同じ符号を付した。
Further, although the reference block use control means of the present invention has been described in the above-mentioned Embodiment 12 in the case of the configuration shown in FIG. 12, the configuration is not limited to this, and the configuration shown in FIG. That is, the image decoding apparatus shown in FIG.
The target pixel decoding means 1206 for decoding the encoded data output from the image coding apparatus shown in FIG. 11 or 34 to obtain a target block, and the reference block use determination signal output from the image coding apparatus. Based on this, the reference block use control means 3205 that causes the output from the entropy decoding means 1201 or the output from the target pixel decoding means 1206 to be output as a target block.
It has a configuration including and. As a result, decoding can be performed more efficiently than in the conventional case. Note that the same reference numerals are basically attached to the same components as those in FIG.

【0116】又、上記実施の形態では、動画像のt+1
フレーム目を対象2値画像とし、tフレーム目を参照2
値画像とする場合について説明したが、これに限らず例
えば、同一の被写体をステレオカメラで撮影し、同時刻
における、一方のカメラにより撮影された画像を対象2
値画像とし、他方のカメラにより撮影された画像を参照
2値画像とした場合でもかまわない。この場合でも上記
と同様の効果を発揮する。
In the above embodiment, the moving image t + 1
Use the frame binary as the target binary image and refer to the t frame
Although the case of using the value image has been described, the present invention is not limited to this. For example, the same subject is photographed by a stereo camera, and the images photographed by one camera at the same time are targeted.
The value image may be used and the image captured by the other camera may be used as the reference binary image. Even in this case, the same effect as described above is exhibited.

【0117】尚、上述した様に、本発明に関連する第1
の技術は、被符号化画像である対象2値画像を入力と
し、前記対象2値画像を複数の画素を含むブロックに分
割し、対象ブロックを得るブロック化手段1と、予め得
られている参照2値画像を複数の画素を含むブロックに
分割し、参照ブロックを得るブロック化手段2と、前記
対象ブロックと前記参照ブロックを順次走査し、両画素
値の排他論理和を検出し、排他論理和ブロックを構成す
る排他論理和ブロック構成手段と、その排他論理和の符
号列を生成して符号化データとして出力する排他論理和
符号化手段とを備えた画像符号化装置である。
As described above, the first aspect related to the present invention
In this technique, a target binary image that is an image to be coded is input, the target binary image is divided into blocks including a plurality of pixels, and a block forming unit 1 that obtains the target block and a reference obtained in advance are provided. The binary image is divided into blocks including a plurality of pixels, the block forming means 2 for obtaining a reference block, the target block and the reference block are sequentially scanned, the exclusive OR of both pixel values is detected, and the exclusive OR is obtained. The image encoding device includes an exclusive-or block forming unit that forms a block, and an exclusive-or encoding unit that generates a code string of the exclusive-OR and outputs it as encoded data.

【0118】又、本発明に関連する第2の技術は、予め
得られている参照2値画像を複数の画素を含むブロック
に分割し、参照ブロックを得るブロック化手段2と、上
記第1の技術の画像符号化装置により符号化された前記
符号化データを復号化し排他論理和ブロックを得る排他
論理和復号化手段と、前記排他論理和ブロックと前記参
照ブロックを合成し、対象ブロックを構成する対象ブロ
ック構成手段とを備えた画像復号化装置である。
A second technique related to the present invention is to divide a pre-obtained reference binary image into blocks including a plurality of pixels to obtain a reference block, and a block forming means 2 described above. An exclusive OR decoding unit for decoding the coded data encoded by the image encoding device of the technology to obtain an exclusive OR block, and the exclusive OR block and the reference block are combined to form a target block. An image decoding apparatus including a target block configuration unit.

【0119】又、本発明に関連する第3の技術は、被符
号化画像である対象2値画像を入力とし、前記対象2値
画像を複数の画素を含むブロックに分割し、対象ブロッ
クを得るブロック化手段1と、予め得られている参照2
値画像を複数の画素を含むブロックに分割し、参照ブロ
ックを得るブロック化手段2と、前記対象ブロック中の
対象画素に対応する参照画素を含む参照ブロックにおけ
る前記参照画素の周囲画素の状態に基づいて、複数の統
計モデルから統計モデルを選択する統計モデル選択手段
と、前記対象画素を前記選択された統計モデルに基づい
てエントロピー符号化し、符号化データを出力するエン
トロピー符号化手段とを備えた画像符号化装置である。
A third technique related to the present invention receives a target binary image which is an image to be coded, divides the target binary image into blocks including a plurality of pixels, and obtains the target block. Blocking means 1 and reference 2 obtained in advance
Blocking means 2 for dividing a value image into blocks including a plurality of pixels to obtain a reference block, and a state of pixels around the reference pixel in a reference block including a reference pixel corresponding to a target pixel in the target block An image including: a statistical model selecting unit that selects a statistical model from a plurality of statistical models; and an entropy encoding unit that entropy-encodes the target pixel based on the selected statistical model and outputs encoded data. It is an encoding device.

【0120】又、本発明に関連する第4の技術は、予め
得られている参照2値画像を複数の画素を含むブロック
に分割し、参照ブロックを得るブロック化手段2と、前
記対象ブロック中の対象画素に対応する参照画素を含む
参照ブロックにおける前記参照画素の周囲画素の状態に
基づいて、複数の統計モデルから統計モデルを選択する
統計モデル選択手段と、前記選択された統計モデルに基
づいて、上記第3の技術の画像符号化装置から出力され
た符号化データをエントロピー復号化し、対象ブロック
を得るエントロピー復号化手段とを備えた画像復号化装
置である。
Further, a fourth technique related to the present invention is to divide a previously obtained reference binary image into blocks including a plurality of pixels to obtain a reference block, and a block forming means 2 and the target block. A statistical model selecting means for selecting a statistical model from a plurality of statistical models based on states of pixels surrounding the reference pixel in a reference block including a reference pixel corresponding to the target pixel; and based on the selected statistical model. An image decoding apparatus including: an entropy decoding unit that entropy-decodes encoded data output from the image encoding apparatus of the third technique to obtain a target block.

【0121】又、本発明に関連する第5の技術は、前記
対象ブロックにもっとも類似したブロックを前記参照2
値画像から探索し、その探査結果から動き情報を得る動
き推定手段を更に備え、前記ブロック化手段2は、前記
参照2値画像を前記動き情報により動き補償して、参照
ブロックを得る動き補償ブロック化手段2であり、前記
動き情報を出力することを特徴とする上記第3の技術の
画像符号化装置である。
Further, in the fifth technique related to the present invention, the block most similar to the target block is referred to in the reference 2
The motion compensation block further includes a motion estimation unit that searches for a value image and obtains motion information from the search result, and the blocking unit 2 motion-compensates the reference binary image with the motion information to obtain a reference block. The image encoding device according to the third technique, which is the encoding unit 2 and outputs the motion information.

【0122】又、本発明に関連する第6の技術は、前記
ブロック化手段2は、前記予め得られている参照2値画
像を、上記第5の技術の画像符号化装置から出力された
前記動き情報により動き補償して参照ブロックを得る動
き補償ブロック化手段2であることを特徴とする上記第
4の技術の画像復号化装置である。
Further, in a sixth technique related to the present invention, the blocking means 2 outputs the previously obtained reference binary image from the image encoding device of the fifth technique. The image decoding apparatus according to the above-mentioned fourth technique, which is a motion-compensation block forming unit 2 that obtains a reference block by performing motion compensation based on motion information.

【0123】又、本発明に関連する第7の技術は、前記
対象ブロックと前記参照ブロックとを比較し、その比較
結果に基づいて前記参照ブロックを利用するか否かの判
定を行い、以降の各種手段の駆動を切り替える参照ブロ
ック利用判定手段と、前記対象ブロックの画素値の符号
化列を生成して符号化データとして出力する対象画素符
号化手段とを備え、前記参照ブロック利用判定手段が参
照ブロックを利用すると判定した場合は、前記エントロ
ピー符号化手段及び前記統計モデル選択手段を駆動させ
て、前記エントロピー符号化手段から符号化データを出
力させ、又、利用しないと判定した場合は、前記対象画
素符号化手段を駆動させて、前記対象画素符号化手段か
ら符号化データを出力させ、前記参照ブロックを利用す
るか否かの判定結果を参照ブロック利用判定信号として
出力することを特徴とする上記第3の技術の画像符号化
装置である。
The seventh technique related to the present invention compares the target block with the reference block, determines whether or not to use the reference block based on the comparison result, and The reference block use determining unit refers to the reference block use determining unit that includes a reference block use determining unit that switches driving of various units, and a target pixel encoding unit that generates a coded sequence of pixel values of the target block and outputs the coded data as encoded data. When it is determined that the block is used, the entropy coding unit and the statistical model selection unit are driven to output the coded data from the entropy coding unit, and when it is determined that the block is not used, the target The pixel coding means is driven, the coded data is output from the target pixel coding means, and it is determined whether or not the reference block is used. Outputting the reference block usage determination signal is an image coding apparatus of the third technology characterized.

【0124】又、本発明に関連する第8の技術は、上記
第7の技術の画像符号化装置から出力された参照ブロッ
ク利用判定信号に基づいて、前記参照ブロックを利用す
るか否かの判定を行い、以降の各種手段の駆動を切り替
える参照ブロック利用制御手段と、前記画像符号化装置
から出力された符号化データを復号化し対象ブロックを
得る対象画素復号化手段とを備え、前記参照ブロック利
用制御手段が参照ブロックを利用すると判定した場合
は、前記エントロピー復号化手段及び前記統計モデル選
択手段を駆動させて、前記エントロピー復号化手段から
対象ブロックを出力させ、又、利用しないと判定した場
合は、前記対象画素復号化手段を駆動させて、前記対象
画素復号化手段から対象ブロックを出力させる上記第4
の技術の画像復号化装置である。
Further, an eighth technique related to the present invention determines whether or not to use the reference block based on a reference block use determination signal output from the image encoding device of the seventh technique. And a target pixel decoding unit that decodes the encoded data output from the image encoding device to obtain a target block, and uses the reference block. When the control means determines to use the reference block, the entropy decoding means and the statistical model selection means are driven to output the target block from the entropy decoding means, and when it is determined that the reference block is not used, The fourth step of driving the target pixel decoding means to output the target block from the target pixel decoding means
It is an image decoding device of the technology of.

【0125】又、本発明に関連する第9の技術は、被符
号化画像である対象2値画像を入力とし、対象2値画像
を複数の画素を含むブロックに分割し、対象ブロックを
得るブロック化手段1と、予め得られている参照2値画
像を複数の画素を含むブロックに分割し、参照ブロック
を得るブロック化手段2と、前記参照ブロックから対象
画素の統計モデルを生成する統計モデル生成手段と、前
記対象画素を前記生成された統計モデルに基づいてエン
トロピー符号化し、符号化データとして出力するエント
ロピー符号化手段とを備えた画像符号化装置である。
The ninth technique related to the present invention is a block in which a target binary image which is an encoded image is input, and the target binary image is divided into blocks including a plurality of pixels to obtain a target block. And a blocking means 2 for dividing a previously obtained reference binary image into blocks including a plurality of pixels to obtain a reference block, and a statistical model generation for generating a statistical model of a target pixel from the reference block. And an entropy coding unit that entropy-codes the target pixel based on the generated statistical model and outputs the coded data as an entropy coding unit.

【0126】又、本発明に関連する第10の技術は、予
め得られている参照2値画像を複数の画素を含むブロッ
クに分割し、参照ブロックを得るブロック化手段2と、
前記参照ブロックから対象画素の統計モデルを生成する
統計モデル生成手段と、上記第9の技術の画像符号化装
置から出力された符号化データを前記生成された統計モ
デルに基づいてエントロピー復号化し、対象ブロックを
得るエントロピー復号化手段とを備えた画像復号化装置
である。
The tenth technique related to the present invention is a block forming means 2 for obtaining a reference block by dividing a reference binary image obtained in advance into blocks containing a plurality of pixels.
Statistical model generation means for generating a statistical model of the target pixel from the reference block, and coded data output from the image coding device of the ninth technique are entropy-decoded based on the generated statistical model, And an entropy decoding unit for obtaining blocks.

【0127】又、本発明に関連する第11の技術は、被
符号化画像である対象2値画像を入力とし、前記対象2
値画像を複数の画素を含むブロックに分割し、対象ブロ
ックを得るステップと、予め得られている参照2値画像
を複数の画素を含むブロックに分割し、参照ブロックを
得るステップと、前記対象ブロックと前記参照ブロック
を順次走査し、両画素値の排他論理和を検出し、排他論
理和ブロックを構成するステップと、その排他論理和の
符号列を生成して符号化データとして出力するステップ
とを備えた画像符号化方法である。
The eleventh technique related to the present invention uses as an input a target binary image which is a coded image, and
Dividing a value image into blocks including a plurality of pixels to obtain a target block; dividing a reference binary image obtained in advance into blocks including a plurality of pixels to obtain a reference block; And the reference block are sequentially scanned, an exclusive OR of both pixel values is detected, an exclusive OR block is formed, and a code string of the exclusive OR is generated and output as encoded data. This is a provided image encoding method.

【0128】又、本発明に関連する第12の技術は、予
め得られている参照2値画像を複数の画素を含むブロッ
クに分割し、参照ブロックを得るステップと、上記第1
1の技術の画像符号化方法により符号化された前記符号
化データを入力とし、前記符号化データを復号化し排他
論理和ブロックを得るステップと、前記排他論理和ブロ
ックと前記参照ブロックを合成し、対象ブロックを構成
するステップとを備えた画像復号化方法である。
A twelfth technique related to the present invention is to divide a reference binary image obtained in advance into blocks containing a plurality of pixels to obtain a reference block, and the first technique.
The coded data coded by the image coding method of the first technology is input, the step of decoding the coded data to obtain an exclusive OR block, and synthesizing the exclusive OR block and the reference block, And a step of configuring a target block.

【0129】又、本発明に関連する第13の技術は、被
符号化画像である対象2値画像を入力とし、前記対象2
値画像を複数の画素を含むブロックに分割し、対象ブロ
ックを得るブロックステップ1と、予め得られている参
照2値画像を複数の画素を含むブロックに分割し、参照
ブロックを得るブロック化ステップ2と、前記対象ブロ
ック中の対象画素に対応する参照画素を含む参照ブロッ
クにおける前記参照画素の周囲画素の状態に基づいて、
複数の統計モデルから統計モデルを選択する統計モデル
選択ステップと、前記対象画素を前記選択された統計モ
デルに基づいてエントロピー符号化し、符号化データを
出力するエントロピー符号化ステップとを備えた画像符
号化方法である。
The thirteenth technique related to the present invention uses as an input a target binary image which is a coded image, and
Block step 1 of dividing a value image into blocks including a plurality of pixels to obtain a target block, and block step 2 of dividing a reference binary image obtained in advance into blocks including a plurality of pixels to obtain a reference block And, based on the state of the surrounding pixels of the reference pixel in a reference block including a reference pixel corresponding to the target pixel in the target block,
Image coding including a statistical model selection step of selecting a statistical model from a plurality of statistical models, and an entropy coding step of entropy coding the target pixel based on the selected statistical model and outputting coded data. Is the way.

【0130】又、本発明に関連する第14の技術は、予
め得られている参照2値画像を複数の画素を含むブロッ
クに分割し、参照ブロックを得るブロック化ステップ2
と、前記対象ブロック中の対象画素に対応する参照画素
を含む参照ブロックにおける前記参照画素の周囲画素の
状態に基づいて、複数の統計モデルから統計モデルを選
択する統計モデル選択ステップと、前記選択された統計
モデルに基づいて、上記第13の技術の画像符号化方法
により出力された符号化データをエントロピー復号化
し、対象ブロックを得るエントロピー復号化ステップと
を備えた画像復号化方法である。
The fourteenth technique related to the present invention is to divide a previously obtained reference binary image into blocks including a plurality of pixels to obtain a reference block.
And a statistical model selecting step of selecting a statistical model from a plurality of statistical models based on a state of pixels surrounding the reference pixel in a reference block including a reference pixel corresponding to a target pixel in the target block; An image decoding method including an entropy decoding step of entropy-decoding encoded data output by the image encoding method of the thirteenth technique based on the statistical model to obtain a target block.

【0131】又、本発明に関連する第15の技術は、前
記対象ブロックにもっとも類似したブロックを前記参照
2値画像から探索し、その探査結果から動き情報を得る
動き推定ステップを更に備え、前記ブロック化ステップ
2は、前記参照2値画像を前記動き情報により動き補償
して、参照ブロックを得る動き補償ブロック化ステップ
2であり、前記動き情報を出力する上記第13の技術の
画像符号化方法である。
The fifteenth technique related to the present invention further comprises a motion estimation step of searching a block most similar to the target block from the reference binary image and obtaining motion information from the search result. The block formation step 2 is a motion compensation block formation step 2 in which the reference binary image is motion-compensated with the motion information to obtain a reference block, and the motion encoding is output according to the thirteenth technique. Is.

【0132】又、本発明に関連する第16の技術は、前
記ブロック化ステップ2は、前記予め得られている参照
2値画像を、上記第15の技術の画像符号化方法により
出力された前記動き情報により動き補償して参照ブロッ
クを得る動き補償ブロック化ステップ2であることを特
徴とする上記第14の技術の画像復号化方法である。
According to a sixteenth technique related to the present invention, in the blocking step 2, the previously obtained reference binary image is output by the image encoding method of the fifteenth technique. The image decoding method according to the fourteenth technique described above, which is a motion compensation block formation step 2 for obtaining a reference block by motion compensation based on motion information.

【0133】又、本発明に関連する第17の技術は、前
記対象ブロックと前記参照ブロックとを比較し、その比
較結果に基づいて前記参照ブロックを利用するか否かの
判定を行い、以降の各種ステップの実行を切り替える参
照ブロック利用判定ステップと、前記対象ブロックの画
素値の符号化列を生成して符号化データとして出力する
対象画素符号化ステップとを備え、前記参照ブロック利
用判定ステップで参照ブロックを利用すると判定した場
合は、前記エントロピー符号化ステップ及び前記統計モ
デル選択ステップを実行させて、前記エントロピー符号
化ステップにより符号化データを出力させ、又、利用し
ないと判定した場合は、前記対象画素符号化ステップを
実行させて、前記対象画素符号化ステップにより符号化
データを出力させ、前記参照ブロックを利用するか否か
の判定結果を参照ブロック利用判定信号として出力する
ことを特徴とする上記第13の技術の画像符号化方法で
ある。
The seventeenth technique related to the present invention compares the target block with the reference block, determines whether or not to use the reference block based on the comparison result, and A reference block use determination step that switches execution of various steps, and a target pixel encoding step that generates an encoded string of pixel values of the target block and outputs the encoded string as encoded data, are referred to in the reference block use determination step. If it is determined that the block is used, the entropy coding step and the statistical model selection step are executed, the encoded data is output by the entropy coding step, and if it is determined that the block is not used, the target The pixel coding step is executed, and the coded data is output by the target pixel coding step. Is the thirteenth image coding method of the technology and outputs whether the determination result using the reference block as a reference block usage determination signal.

【0134】又、本発明に関連する第18の技術は、上
記第17の技術の画像符号化方法により出力された参照
ブロック利用判定信号に基づいて、前記参照ブロックを
利用するか否かの判定を行い、以降の各種ステップの実
行を切り替える参照ブロック利用制御ステップと、前記
画像符号化方法により出力された符号化データを復号化
し対象ブロックを得る対象画素復号化ステップとを備
え、前記参照ブロック利用制御ステップが参照ブロック
を利用すると判定した場合は、前記エントロピー復号化
ステップ及び前記統計モデル選択ステップを実行させ
て、前記エントロピー復号化ステップにより対象ブロッ
クを出力させ、又、利用しないと判定した場合は、前記
対象画素復号化ステップを実行させて、前記対象画素復
号化ステップにより対象ブロックを出力させる上記第1
4の技術の画像復号化方法である。
An eighteenth technique related to the present invention determines whether or not to use the reference block, based on a reference block use determination signal output by the image coding method of the seventeenth technique. And a target pixel decoding step of decoding the coded data output by the image coding method to obtain a target block, and using the reference block. When it is determined that the control step uses the reference block, the entropy decoding step and the statistical model selection step are executed, the target block is output by the entropy decoding step, and when it is determined that the reference block is not used, , Executing the target pixel decoding step, and executing the target pixel decoding step The outputting the block first
4 is an image decoding method of the fourth technology.

【0135】又、本発明に関連する第19の技術は、被
符号化画像である対象2値画像を入力とし、対象2値画
像を複数の画素を含むブロックに分割し、対象ブロック
を得るステップと、予め得られている参照2値画像を複
数の画素を含むブロックに分割し、参照ブロックを得る
ステップと、前記参照ブロックから対象画素の統計モデ
ルを生成するステップと、前記対象画素を前記生成され
た統計モデルに基づいてエントロピー符号化し、符号化
データとして出力するステップとを備えた画像符号化方
法である。
The nineteenth technique related to the present invention is a step of obtaining a target block by inputting a target binary image which is a coded image and dividing the target binary image into blocks including a plurality of pixels. Dividing a reference binary image obtained in advance into blocks including a plurality of pixels to obtain a reference block; generating a statistical model of the target pixel from the reference block; and generating the target pixel Image encoding method based on the generated statistical model and outputting as encoded data.

【0136】又、本発明に関連する第20の技術は、予
め得られている参照2値画像を複数の画素を含むブロッ
クに分割し、参照ブロックを得るステップと、前記参照
ブロックから対象画素の統計モデルを生成するステップ
と、上記第19の技術の画像符号化方法により出力され
た符号化データを前記生成された統計モデルに基づいて
エントロピー復号化し、対象ブロックを得るステップと
を備えた画像復号化方法である。
The twentieth technique related to the present invention is a step of dividing a reference binary image obtained in advance into blocks including a plurality of pixels to obtain a reference block, and a target pixel of the reference pixel from the reference block. Image decoding including a step of generating a statistical model, and a step of entropy-decoding coded data output by the image coding method of the nineteenth technique based on the generated statistical model to obtain a target block It is a method of conversion.

【0137】以上述べたところから明らかなように本発
明に関連する技術は、予め得られている相関が高い2値
画像から被符号化画素を予測し、その差異を符号化する
ことにより、従来の2値画像符号化・復号化技術を用い
るよりもより一層効率良く符号化・復号化が可能な、画
像符号化装置、画像復号化装置、画像符号化方法、画像
復号化方法に関するものであり、従来の2値画像符号化
技術を用いるよりも効率の良い符号化、復号化が行える
と言う長所を有する。
As is clear from the above description, the technique related to the present invention is a conventional technique which predicts a pixel to be encoded from a binary image having a high correlation obtained in advance and encodes the difference between them. The present invention relates to an image encoding device, an image decoding device, an image encoding method, and an image decoding method, which can perform encoding / decoding more efficiently than using the binary image encoding / decoding technology of. However, it has an advantage that encoding and decoding can be performed more efficiently than using the conventional binary image encoding technique.

【0138】[0138]

【発明の効果】以上述べたところから明らかなように本
発明に関連する技術は、従来の2値画像符号化技術を用
いるよりも効率の良い復号化が行えると言う長所を有す
る。
As is apparent from the above description, the technique related to the present invention has an advantage that decoding can be performed more efficiently than using the conventional binary image coding technique.

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

【図1】本発明の第1の実施の形態における画像符号化
装置のブロック図
FIG. 1 is a block diagram of an image encoding device according to a first embodiment of the present invention.

【図2】本発明の第2の実施の形態における画像復号化
装置のブロック図
FIG. 2 is a block diagram of an image decoding device according to a second embodiment of the present invention.

【図3】本発明の第3の実施の形態における画像符号化
装置のブロック図
FIG. 3 is a block diagram of an image coding apparatus according to a third embodiment of the present invention.

【図4】本発明の第4の実施の形態における画像復号化
装置のブロック図
FIG. 4 is a block diagram of an image decoding apparatus according to a fourth embodiment of the present invention.

【図5】本発明の第5の実施の形態における画像符号化
装置のブロック図
FIG. 5 is a block diagram of an image encoding device according to a fifth embodiment of the present invention.

【図6】本発明の第6の実施の形態における画像復号化
装置のブロック図
FIG. 6 is a block diagram of an image decoding apparatus according to a sixth embodiment of the present invention.

【図7】本発明の第7の実施の形態における画像符号化
装置のブロック図
FIG. 7 is a block diagram of an image encoding device according to a seventh embodiment of the present invention.

【図8】本発明の第8の実施の形態における画像復号化
装置のブロック図
FIG. 8 is a block diagram of an image decoding device according to an eighth embodiment of the present invention.

【図9】本発明の第9の実施の形態における画像符号化
装置のブロック図
FIG. 9 is a block diagram of an image coding apparatus according to a ninth embodiment of the present invention.

【図10】本発明の第10の実施の形態における画像復
号化装置のブロック図
FIG. 10 is a block diagram of an image decoding apparatus according to a tenth embodiment of the present invention.

【図11】本発明の第11の実施の形態における画像符
号化装置のブロック図
FIG. 11 is a block diagram of an image coding apparatus according to an eleventh embodiment of the present invention.

【図12】本発明の第12の実施の形態における画像復
号化装置のブロック図
FIG. 12 is a block diagram of an image decoding apparatus according to a twelfth embodiment of the present invention.

【図13】本発明の第13の実施の形態における画像符
号化装置のブロック図
FIG. 13 is a block diagram of an image encoding device according to a thirteenth embodiment of the present invention.

【図14】本発明の第14の実施の形態における画像復
号化装置のブロック図
FIG. 14 is a block diagram of an image decoding device according to a fourteenth embodiment of the present invention.

【図15】本発明の第15の実施の形態における画像符
号化装置のブロック図
FIG. 15 is a block diagram of an image encoding device according to a fifteenth embodiment of the present invention.

【図16】本発明の第16の実施の形態における画像復
号化装置のブロック図
FIG. 16 is a block diagram of an image decoding apparatus according to a 16th embodiment of the present invention.

【図17】本発明の第17の実施の形態における画像符
号化装置のブロック図
FIG. 17 is a block diagram of an image encoding device according to a seventeenth embodiment of the present invention.

【図18】本発明の第18の実施の形態における画像復
号化装置のブロック図
FIG. 18 is a block diagram of an image decoding device according to an eighteenth embodiment of the present invention.

【図19】マスク動画像における参照画像と対象画像の
FIG. 19 is a diagram of a reference image and a target image in a mask moving image.

【図20】排他論理和ブロック構成の説明図FIG. 20 is an explanatory diagram of an exclusive OR block configuration.

【図21】算術符号化の原理の説明図FIG. 21 is an explanatory diagram of the principle of arithmetic coding.

【図22】算術符号化のブロック図FIG. 22 is a block diagram of arithmetic coding.

【図23】統計モデルテーブルの一部の図FIG. 23 is a diagram of a part of the statistical model table.

【図24】統計モデルテーブルの一部の図FIG. 24 is a diagram of a part of the statistical model table.

【図25】統計モデルテーブルの一部の図FIG. 25 is a diagram of a part of the statistical model table.

【図26】統計モデルテーブルの一部の図FIG. 26 is a diagram of a part of the statistical model table.

【図27】外挿参照ブロックの説明図FIG. 27 is an explanatory diagram of an extrapolation reference block.

【図28】統計モデルテーブルのインデックスの説明図FIG. 28 is an explanatory diagram of indexes of the statistical model table.

【図29】頻度−生起確率の変換グラフの説明図FIG. 29 is an explanatory diagram of a frequency-occurrence probability conversion graph.

【図30】本発明の別の実施の形態における画像符号化
装置のブロック図
FIG. 30 is a block diagram of an image encoding device according to another embodiment of the present invention.

【図31】本発明の別の実施の形態における画像復号化
装置のブロック図
FIG. 31 is a block diagram of an image decoding apparatus according to another embodiment of the present invention.

【図32】本発明の又別の実施の形態における画像符号
化装置のブロック図
FIG. 32 is a block diagram of an image encoding device according to another embodiment of the present invention.

【図33】本発明の又別の実施の形態における画像復号
化装置のブロック図
FIG. 33 is a block diagram of an image decoding apparatus according to another embodiment of the present invention.

【図34】本発明の更に別の実施の形態における画像符
号化装置のブロック図
FIG. 34 is a block diagram of an image coding apparatus according to still another embodiment of the present invention.

【図35】本発明の更に別の実施の形態における画像復
号化装置のブロック図
FIG. 35 is a block diagram of an image decoding apparatus according to still another embodiment of the present invention.

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

101 ブロック化手段1 102 ブロック化手段2 103 排他論理和ブロック構成手段 104 排他論理和符号化手段 201 排他論理和復号化手段 202 ブロック化手段2 203 対象ブロック構成手段 301 ブロック化手段1 302 動き補償ブロック化手段2 303 排他論理和ブロック構成手段 304 排他論理和符号化手段 305 動き推定手段 401 排他論理和復号化手段 402 動き補償ブロック化手段2 403 対象ブロック構成手段 501 ブロック化手段1 502 ブロック化手段2 503 排他論理和ブロック構成手段 504 排他論理和符号化手段 505 参照ブロック利用判定手段 506 対象画素符号化手段 601 排他論理和復号化手段 602 ブロック化手段2 603 対象ブロック構成手段 604 参照ブロック利用制御手段 605 対象画素復号化手段 701 ブロック化手段1 702 ブロック化手段2 703 統計モデル推定手段 704 統計モデル 705 エントロピー符号化手段 801 エントロピー復号化手段 802 ブロック化手段2 803 統計モデル推定手段 804 統計モデル 901 ブロック化手段1 902 動き補償ブロック化手段2 903 統計モデル推定手段 904 統計モデル 905 エントロピー符号化手段 906 動き推定手段 1001 エントロピー復号化手段 1002 動き補償ブロック化手段2 1003 統計モデル選択手段 1004 統計モデルテーブル 1101 ブロック化手段1 1102 ブロック化手段2 1103 統計モデル選択手段 1104 統計モデルテーブル 1105 エントロピー符号化手段 1106 参照ブロック利用判定手段 1107 対象画素符号化手段 1201 エントロピー復号化手段 1202 ブロック化手段2 1203 統計モデル選択手段 1204 統計モデルテーブル 1205 参照ブロック利用制御手段 1206 対象画素復号化手段 1301 ブロック化手段1 1302 ブロック化手段2 1303 統計モデル推定手段 1304 統計モデル 1305 エントロピー符号化手段 1401 エントロピー復号化手段 1402 ブロック化手段2 1403 統計モデル推定手段 1404 統計モデル 1501 ブロック化手段1 1502 動き補償ブロック化手段2 1503 エントロピー符号化手段 1504 統計モデル推定手段 1505 統計モデル 1506 動き推定手段 1601 エントロピー復号化手段 1602 動き補償ブロック化手段2 1603 統計モデル推定手段 1604 統計モデル 1701 ブロック化手段1 1702 ブロック化手段2 1703 統計モデル推定手段 1704 統計モデル 1705 エントロピー推定手段 1706 参照ブロック利用判定手段 1707 対象画素符号化手段 1801 エントロピー復号化手段 1802 ブロック化手段2 1803 統計モデル推定手段 1804 統計モデル 1805 参照ブロック利用制御手段 1806 対象画素復号化手段 1901 マスク動画像 1902 参照画像 1903 対象画像 1904 参照分割画像 1905 対象分割画像 2001 参照ブロック 2002 対象ブロック 2003 排他論理和ブロック 2101 数直線 2102 範囲 2103 2進小数点 2104 生起確率モデル 2105 シンボル列 2201 はじめ 2202 範囲初期化 2203 シンボル入力 2204 範囲限定 2205 おわり判定 2206 2進小数点出力 2207 おわり 2301 統計モデルテーブル 2401 参照ブロック 2402 外挿参照ブロック 2403 外挿参照ブロック 2501 参照ブロック 2502 対象ブロック 2503 参照マスク 2503 対象マスク 2601 変換グラフ 101 Blocking means 1 102 blocking means 2 103 exclusive OR block constructing means 104 exclusive OR encoding means 201 exclusive OR decoding means 202 blocking means 2 203 Target block configuration means 301 Blocking means 1 302 motion compensation blocking means 2 303 exclusive OR block construction means 304 exclusive OR encoding means 305 Motion estimation means 401 exclusive OR decoding means 402 motion compensation blocking means 2 403 Target block configuration means 501 Blocking means 1 502 Blocking means 2 503 Exclusive OR block constructing means 504 Exclusive-OR encoding means 505 Reference block usage determining means 506 Target Pixel Encoding Means 601 Exclusive-OR decoding means 602 blocking means 2 603 Target block configuration means 604 Reference block utilization control means 605 Target pixel decoding means 701 Blocking means 1 702 blocking means 2 703 Statistical model estimation means 704 Statistical model 705 Entropy coding means 801 Entropy decoding means 802 blocking means 2 803 Statistical model estimation means 804 Statistical model 901 Blocking means 1 902 Motion compensation blocking means 2 903 Statistical model estimation means 904 Statistical model 905 Entropy coding means 906 motion estimation means 1001 Entropy decoding means 1002 motion compensation blocking means 2 1003 Statistical model selection means 1004 Statistical model table 1101 Blocking means 1 1102 Blocking means 2 1103 Statistical model selection means 1104 Statistical model table 1105 Entropy coding means 1106 Reference block usage determining means 1107 Target pixel encoding means 1201 Entropy decoding means 1202 Blocking means 2 1203 Statistical model selection means 1204 Statistical model table 1205 Reference block utilization control means 1206 Target pixel decoding means 1301 Blocking means 1 1302 blocking means 2 1303 Statistical model estimation means 1304 Statistical model 1305 Entropy coding means 1401 Entropy decoding means 1402 Blocking means 2 1403 Statistical model estimation means 1404 Statistical model 1501 Blocking means 1 1502 Motion compensation block forming means 2 1503 Entropy coding means 1504 Statistical model estimation means 1505 Statistical model 1506 motion estimation means 1601 Entropy decoding means 1602 Motion compensation block forming means 2 1603 Statistical model estimation means 1604 Statistical model 1701 Blocking means 1 1702 Blocking means 2 1703 Statistical model estimation means 1704 Statistical model 1705 Entropy estimation means 1706 Reference block use determination means 1707 Target pixel encoding means 1801 Entropy decoding means 1802 Blocking means 2 1803 Statistical model estimation means 1804 Statistical model 1805 Reference block utilization control means 1806 Target pixel decoding means 1901 mask moving image 1902 Reference image 1903 Target image 1904 Reference split image 1905 Target split image 2001 Reference Block 2002 Target block 2003 Exclusive OR block 2101 number line 2102 range 2103 binary point 2104 Occurrence probability model 2105 symbol string 2201 beginning 2202 Range initialization 2203 symbol input 2204 Limited range 2205 End judgment 2206 binary point output 2207 End 2301 Statistical model table 2401 Reference block 2402 extrapolation reference block 2403 Extrapolation reference block 2501 reference block 2502 Target block 2503 Reference mask 2503 Target mask 2601 conversion graph

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) H04N 7/24 - 7/68 H04N 1/41 - 1/419 ─────────────────────────────────────────────────── ─── Continuation of front page (58) Fields surveyed (Int.Cl. 7 , DB name) H04N 7/ 24-7/68 H04N 1/41-1/419

Claims (10)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】動画像の各フレームの透過度情報を示す
値画像をブロック毎に符号化して得られた符号化データ
を復号化し、対象ブロックの2値画像を得る画像復号化
装置において、 復号化対象である前記対象ブロックを有する対象フレー
ムよりも以前に復号化されたフレームから、参照2値画
像である参照ブロックを得る参照ブロック生成手段と、 記対象ブロック中の対象画素に対応する前記参照ブロ
ック中にある参照画素の状態、及び前記参照画素の周囲
画素の状態に基づいて、複数の統計モデルから統計モデ
ルを選択する統計モデル選択手段と、 前記選択された統計モデルに基づいて前記符号化デ−タ
を復号化し、前記対象ブロックの2値画像を得る算術復
号化手段と、を備えたことを特徴とする画像復号化装
置。
1. Two indicating transparency information of each frame of a moving image.
In an image decoding apparatus that decodes coded data obtained by coding a value image for each block and obtains a binary image of the target block, the decoding is performed before the target frame having the target block to be decoded. Reference binary image from the converted frame
A reference block generation means for obtaining a reference block, which is an image, the reference Bro corresponding to the target pixel in the previous SL target block
Statistical pixel selection means for selecting a statistical model from a plurality of statistical models based on the state of reference pixels present in the reference pixel and the states of pixels surrounding the reference pixel, and the code based on the selected statistical model. An image decoding device, comprising: an arithmetic decoding unit for decoding the encoded data to obtain a binary image of the target block.
【請求項2】 前記参照画素の前記周囲画素は、前記参
照画素の周囲1画素範囲内に位置する周囲画素であるこ
とを特徴とする請求項1記載の画像復号化装置。
2. The image decoding apparatus according to claim 1, wherein the peripheral pixel of the reference pixel is a peripheral pixel located within a range of one pixel around the reference pixel.
【請求項3】 前記参照画素の前記周囲画素は、前記参
照画素の上下左右に位置する4画素であることを特徴と
する請求項1記載の画像復号化装置。
3. The image decoding apparatus according to claim 1, wherein the peripheral pixels of the reference pixel are four pixels located on the upper, lower, left and right sides of the reference pixel.
【請求項4】 前記統計モデル選択手段は、前記参照画
素の状態及び前記参照画素の周囲画素の状態に加えて、
前記対象画素の周囲画素の状態に基づいて、複数の統計
モデルから統計モデルを選択する統計モデル選択手段で
あることを特徴とする請求項1から3のいずれか1項記
載の画像復号化装置。
4. The statistical model selection means, in addition to the state of the reference pixel and the states of pixels surrounding the reference pixel,
The image decoding apparatus according to claim 1, wherein the image decoding apparatus is a statistical model selection unit that selects a statistical model from a plurality of statistical models based on the states of pixels surrounding the target pixel.
【請求項5】 前記対象画素の前記周囲画素は、前記対
象画素の上、左、左上、右上に位置することを特徴とす
る請求項4記載の画像復号化装置。
5. The image decoding apparatus according to claim 4, wherein the peripheral pixels of the target pixel are located above, to the left, to the upper left, and to the upper right of the target pixel.
【請求項6】動画像の各フレームの透過度情報を示す
値画像をブロック毎に符号化して得られた符号化データ
を復号化し、対象ブロックの2値画像を得る画像復号化
方法において、 復号化対象である前記対象ブロックを有する対象フレー
ムよりも以前に復号化されたフレームから参照2値画像
を得る参照2値画像生成ステップと、 前記参照2値画像から複数の画素を含む参照ブロックを
得る参照ブロック生成ステップと、 記対象ブロック中の対象画素に対応する前記参照ブロ
ック中にある参照画素の状態、及び前記参照画素の周囲
画素の状態に基づいて、複数の統計モデルから統計モデ
ルを選択する統計モデル選択ステップと、 前記選択された統計モデルに基づいて前記符号化デ−タ
を復号化し、前記対象ブロックの2値画像を得る算術復
号化ステップと、を備えたことを特徴とする画像復号化
方法。
6. Two indicating transparency information of each frame of a moving image
An image decoding method for decoding a coded data obtained by coding a value image for each block to obtain a binary image of a target block, in which decoding is performed before a target frame having the target block to be decoded a reference binary image generating step of obtaining a reference binary image from reduction frame, the reference block generating step of obtaining a reference block containing a plurality of pixels from the reference binary image, corresponding to the target pixel in the previous SL target block To the reference block
The state of the reference pixel in the reference pixel, and the state of the surrounding pixels of the reference pixel, statistical model selection step of selecting a statistical model from a plurality of statistical models, the code based on the selected statistical model And an arithmetic decoding step of decoding the encoded data to obtain the binary image of the target block.
【請求項7】 前記参照画素の前記周囲画素は、前記参
照画素の周囲1画素範囲内に位置する周囲画素であるこ
とを特徴とする請求項6記載の画像復号化方法。
7. The image decoding method according to claim 6, wherein the peripheral pixel of the reference pixel is a peripheral pixel located within one pixel range around the reference pixel.
【請求項8】 前記参照画素の前記周囲画素は、前記参
照画素の上下左右に位置する4画素であることを特徴と
する請求項6記載の画像復号化方法。
8. The image decoding method according to claim 6, wherein the peripheral pixels of the reference pixel are four pixels located on the upper, lower, left and right sides of the reference pixel.
【請求項9】 前記統計モデル選択ステップは、前記参
照画素の状態及び前記参照画素の周囲画素の状態に加え
て、前記対象画素の周囲画素の状態に基づいて、複数の
統計モデルから統計モデルを選択する統計モデル選択ス
テップであることを特徴とする請求項6から8のいずれ
か1項記載の画像復号化方法。
9. The statistical model selecting step selects a statistical model from a plurality of statistical models based on the states of the surrounding pixels of the target pixel in addition to the states of the reference pixels and the surrounding pixels of the reference pixel. 9. The image decoding method according to claim 6, which is a statistical model selecting step to be selected.
【請求項10】 前記対象画素の前記周囲画素は、前記
対象画素の上、左、左上、右上に位置することを特徴と
する請求項9記載の画像復号化方法。
10. The image decoding method according to claim 9, wherein the peripheral pixels of the target pixel are located above, to the left, to the upper left, and to the upper right of the target pixel.
JP2001105135A 1996-07-31 2001-04-03 Image decoding apparatus and image decoding method Expired - Fee Related JP3466162B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001105135A JP3466162B2 (en) 1996-07-31 2001-04-03 Image decoding apparatus and image decoding method

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP8-202346 1996-07-31
JP20234696 1996-07-31
JP2001105135A JP3466162B2 (en) 1996-07-31 2001-04-03 Image decoding apparatus and image decoding method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP20401897A Division JP3466058B2 (en) 1996-07-31 1997-07-30 Image decoding apparatus and image decoding method

Publications (2)

Publication Number Publication Date
JP2001352550A JP2001352550A (en) 2001-12-21
JP3466162B2 true JP3466162B2 (en) 2003-11-10

Family

ID=26513319

Family Applications (5)

Application Number Title Priority Date Filing Date
JP20401897A Expired - Fee Related JP3466058B2 (en) 1996-07-31 1997-07-30 Image decoding apparatus and image decoding method
JP2001105136A Expired - Fee Related JP3466163B2 (en) 1996-07-31 2001-04-03 Image decoding apparatus and image decoding method
JP2001105137A Expired - Fee Related JP3466164B2 (en) 1996-07-31 2001-04-03 Image encoding device, image decoding device, image encoding method, image decoding method, and medium
JP2001105135A Expired - Fee Related JP3466162B2 (en) 1996-07-31 2001-04-03 Image decoding apparatus and image decoding method
JP2002359696A Pending JP2003235045A (en) 1996-07-31 2002-12-11 Image encoding apparatus, image decoding apparatus, image encoding method, image decoding method, and medium

Family Applications Before (3)

Application Number Title Priority Date Filing Date
JP20401897A Expired - Fee Related JP3466058B2 (en) 1996-07-31 1997-07-30 Image decoding apparatus and image decoding method
JP2001105136A Expired - Fee Related JP3466163B2 (en) 1996-07-31 2001-04-03 Image decoding apparatus and image decoding method
JP2001105137A Expired - Fee Related JP3466164B2 (en) 1996-07-31 2001-04-03 Image encoding device, image decoding device, image encoding method, image decoding method, and medium

Family Applications After (1)

Application Number Title Priority Date Filing Date
JP2002359696A Pending JP2003235045A (en) 1996-07-31 2002-12-11 Image encoding apparatus, image decoding apparatus, image encoding method, image decoding method, and medium

Country Status (1)

Country Link
JP (5) JP3466058B2 (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1999065226A1 (en) * 1998-06-09 1999-12-16 Matsushita Electric Industrial Co., Ltd. Image encoder, image decoder, character checker, and data storage medium
JP2003319391A (en) 2002-04-26 2003-11-07 Sony Corp Encoding apparatus and method, decoding apparatus and method, recording medium, and program
CN1655620B (en) 2004-02-09 2010-09-22 三洋电机株式会社 Image display apparatus
US7720295B2 (en) 2004-06-29 2010-05-18 Sanyo Electric Co., Ltd. Method and apparatus for coding images with different image qualities for each region thereof, and method and apparatus capable of decoding the images by adjusting the image quality
JP4656912B2 (en) 2004-10-29 2011-03-23 三洋電機株式会社 Image encoding device
JP2006129248A (en) * 2004-10-29 2006-05-18 Sanyo Electric Co Ltd Image encoding and decoding method and apparatus thereof
KR101924249B1 (en) * 2011-08-25 2018-11-30 톰슨 라이센싱 Hierarchical entropy encoding and decoding
JP5215495B2 (en) * 2012-08-21 2013-06-19 ソニー株式会社 Decoding apparatus and method, recording medium, and program
JP5234874B1 (en) * 2013-02-08 2013-07-10 ソニー株式会社 Encoding apparatus and method, recording medium, and program
JP5234870B1 (en) * 2013-02-08 2013-07-10 ソニー株式会社 Encoding apparatus and method, recording medium, and program
JP5234872B1 (en) * 2013-02-08 2013-07-10 ソニー株式会社 Encoding apparatus and method, recording medium, and program
JP5234871B2 (en) * 2013-02-08 2013-07-10 ソニー株式会社 Decoding apparatus and method, recording medium, and program
JP5234873B2 (en) * 2013-02-08 2013-07-10 ソニー株式会社 Decoding apparatus and method, recording medium, and program

Also Published As

Publication number Publication date
JPH1098732A (en) 1998-04-14
JP3466058B2 (en) 2003-11-10
JP2001359106A (en) 2001-12-26
JP3466163B2 (en) 2003-11-10
JP2003235045A (en) 2003-08-22
JP2001352551A (en) 2001-12-21
JP3466164B2 (en) 2003-11-10
JP2001352550A (en) 2001-12-21

Similar Documents

Publication Publication Date Title
US5594504A (en) Predictive video coding using a motion vector updating routine
KR100355324B1 (en) Picture encoder and picture decoder
US7447371B2 (en) Method and apparatus for encoding and decoding motion vectors
RU2444856C2 (en) Method of encoding video signal and method of decoding, apparatus for realising said methods and data media storing programmes for realising said methods
JP3466162B2 (en) Image decoding apparatus and image decoding method
KR100266124B1 (en) Methods, apparatuses and program recording media for image coding and image decoding
US5933105A (en) Context-based arithmetic encoding/decoding method and apparatus
JP2000224593A (en) Method and device for interpolating frame and recording medium recording the method
US6263115B1 (en) Method and apparatus for encoding a binary shape signal
JP2002290243A (en) Coding method, coder, decoding method, and decoder
JP4356240B2 (en) Encoding apparatus and method, decoding apparatus and method
JP4415186B2 (en) Moving picture coding apparatus, moving picture decoding apparatus, codec apparatus, and program
EP0929976B1 (en) Method and apparatus for motion estimation
JP2000299866A (en) Method for encoding image
JP2003125408A (en) Image coder, image decoder, its method, image coding program, and image decoding program
JPH06225274A (en) Picture coding/decoding device
JP3249961B2 (en) Image decoding method
JP3232079B2 (en) Image decoding method
JP2000261812A (en) Image coder and decoder
JP3232078B2 (en) Image decoding method
JP2018182394A (en) Video encoding apparatus
JP2002101419A (en) Image encoding method and image encoding device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070829

Year of fee payment: 4

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080829

Year of fee payment: 5

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080829

Year of fee payment: 5

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090829

Year of fee payment: 6

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090829

Year of fee payment: 6

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100829

Year of fee payment: 7

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110829

Year of fee payment: 8

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110829

Year of fee payment: 8

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120829

Year of fee payment: 9

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130829

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees