JP2001352550A - Image decoding apparatus and image decoding method - Google Patents
Image decoding apparatus and image decoding methodInfo
- Publication number
- JP2001352550A JP2001352550A JP2001105135A JP2001105135A JP2001352550A JP 2001352550 A JP2001352550 A JP 2001352550A JP 2001105135 A JP2001105135 A JP 2001105135A JP 2001105135 A JP2001105135 A JP 2001105135A JP 2001352550 A JP2001352550 A JP 2001352550A
- Authority
- JP
- Japan
- Prior art keywords
- image
- block
- statistical model
- target
- pixel
- 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.)
- Granted
Links
Landscapes
- Compression Or Coding Systems Of Tv Signals (AREA)
- Compression, Expansion, Code Conversion, And Decoders (AREA)
- Compression Of Band Width Or Redundancy In Fax (AREA)
Abstract
(57)【要約】
【課題】従来よりも一層効率良く2値画像の復号化を可
能とすること。
【解決手段】2値画像をブロック毎に符号化して得られ
た符号化データを復号化し、対象ブロックの2値画像を
得る装置であって、復号化対象である前記対象ブロック
を有する対象フレームよりも以前に復号されたフレーム
から参照2値画像を得る参照2値画像生成手段と、前記
参照2値画像から複数の画素を含む参照ブロックを得る
ブロック化手段2(802)と、前記参照ブロック中にある
前記対象ブロック中の対象画素に対応する参照画素の状
態、及び前記参照画素の周囲画素の状態に基づいて、複
数の統計モデルから統計モデルを選択する統計モデル選
択手段(803)と、前記選択された統計モデルに基づいて
前記符号化デ−タを復号化し、前記対象ブロックの2値
画像を得るエントロピー復号化手段(801)とを備えた画
像復号化装置。
(57) [Summary] [PROBLEMS] To enable more efficient decoding of a binary image than before. An apparatus for decoding encoded data obtained by encoding a binary image for each block to obtain a binary image of a target block, comprising: a target frame having the target block to be decoded; A reference binary image generating means for obtaining a reference binary image from a previously decoded frame; a blocking means 2 (802) for obtaining a reference block including a plurality of pixels from the reference binary image; Statistical model selecting means (803) for selecting a statistical model from a plurality of statistical models based on a state of a reference pixel corresponding to a target pixel in the target block and a state of surrounding pixels of the reference pixel, An image decoding apparatus comprising: an entropy decoding unit (801) for decoding the encoded data based on the selected statistical model to obtain a binary image of the target block.
Description
【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 an image, especially a binary moving image.
【0002】[0002]
【従来の技術】従来、画像を合成する際、物体の輝度の
他にアルファ値と呼ばれる物体の占有領域や透過度を示
す情報を付加する場合がある。このアルファ値は画素毎
に定められ、1では不透過もしくは占有、0では完全透
過もしくは不占有を意味する。すなわちある物体の画像
を背景画像にはめ込む際には、アルファ値が必要とな
る。以下、このアルファ値のみを持つ画像をアルファプ
レーンと呼ぶ。2. Description of the Related Art Conventionally, when synthesizing an image, information indicating an occupied area of an object and transparency, called an alpha value, may be added in addition to the luminance of the object. This alpha value is determined for each pixel, 1 means opaque or occupied, and 0 means completely transparent or occupied. That is, when fitting an image of an object to a background image, an alpha value is required. Hereinafter, an image having only this alpha value is called an alpha plane.
【0003】なお、アルファ値は、雲、すりガラスなど
の場合では、[0、1]の中間値で表す場合もあるが、
{0、1}の2値で十分な場合もある。[0003] In the case of clouds, frosted glass, etc., the alpha value may be represented by an intermediate value of [0, 1].
In some cases, the two values {0, 1} are sufficient.
【0004】一般の2値のアルファプレーンの符号化に
は、従来のファクシミリなどに使われているCCITT
による国際標準である2値画像符号化技術MR、MMR
符号化やJBIGにより標準化された符号化を用いるこ
とができる。これらを静止2値画像符号化と総称する。
静止2値画像符号化では、走査方向の上位の画素から下
位の画素を予測し、その差異をエントロピー符号化する
ことにより効率良く符号化することができる。[0004] For encoding a general binary alpha plane, CCITT used in a conventional facsimile or the like is used.
International Standard for Binary Image Coding Technology MR, MMR
Coding or coding standardized by JBIG can be used. These are collectively called still binary image coding.
In still binary image coding, low-order pixels are predicted from high-order pixels in the scanning direction, and the difference can be efficiently coded by entropy coding.
【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,
Compared to predicting a lower pixel from an upper pixel in the scanning direction and encoding the difference, the correlation obtained in advance is higher
Efficient encoding can be achieved by predicting the pixel to be encoded from the value image and encoding the difference.
【0006】しかし、従来の静止2値画像符号化では、
符号化装置、復号化装置のそれぞれで、符号化、復号化
しようとする2値画像と非常に相関が高い2値画像が得
られている場合でも、走査方向の上位と下位の相関関係
のみを利用しており、多くの符号量が必要であるといっ
た課題を有していた。However, in the conventional still binary image coding,
Even when the encoding device and the decoding device each obtain a binary image having a very high correlation with the binary image to be encoded and decoded, only the upper and lower correlations in the scanning direction are obtained. And a problem that a large amount of code is required.
【0007】本発明は、従来のこのような課題を考慮
し、従来の2値画像復号化技術を用いるよりもより一層
効率良く復号化が可能な、画像復号化装置、及び画像復
号化方法を提供することを目的とする。The present invention has been made in consideration of such a conventional problem, and provides an image decoding apparatus and an image decoding method capable of performing decoding more efficiently than using a conventional binary image decoding technique. The purpose is to provide.
【0008】[0008]
【課題を解決するための手段】請求項1記載の本発明
は、2値画像をブロック毎に符号化して得られた符号化
データを復号化し、対象ブロックの2値画像を得る画像
復号化装置において、復号化対象である前記対象ブロッ
クを有する対象フレームよりも以前に復号されたフレー
ムから参照2値画像を得る参照2値画像生成手段と、前
記参照2値画像から複数の画素を含む参照ブロックを得
る参照ブロック生成手段と、前記参照ブロック中にある
前記対象ブロック中の対象画素に対応する参照画素の状
態、及び前記参照画素の周囲画素の状態に基づいて、複
数の統計モデルから統計モデルを選択する統計モデル選
択手段と、前記選択された統計モデルに基づいて前記符
号化デ−タを復号化し、前記対象ブロックの2値画像を
得る算術復号化手段とを備えたことを特徴とする画像復
号化装置である。According to the first aspect of the present invention, there is provided an image decoding apparatus for decoding encoded data obtained by encoding a binary image for each block and obtaining a binary image of a target block. A reference binary image generating means for obtaining a reference binary image from a frame decoded before a target frame having the target block to be decoded; and a reference block including a plurality of pixels from the reference binary image. A reference block generating means for obtaining, and a state of a reference pixel corresponding to a target pixel in the target block in the reference block, and a state of surrounding pixels of the reference pixel, based on a plurality of statistical models, Statistical model selecting means for selecting, and arithmetic decoding means for decoding the encoded data based on the selected statistical model to obtain a binary image of the target block An image decoding apparatus characterized by comprising a.
【0009】又、請求項2記載の本発明は、前記参照画
素の前記周囲画素は、前記参照画素の周囲1画素範囲内
に位置する周囲画素であることを特徴とする請求項1記
載の画像復号化装置である。According to a second aspect of the present invention, 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記載の画像復
号化装置である。According to a third aspect of the present invention, in the image decoding apparatus according to the first aspect, the surrounding pixels of the reference pixel are four pixels located above, below, right and left of the reference pixel. It is.
【0011】又、請求項4記載の本発明は、前記統計モ
デル選択手段は、前記参照画素の状態及び前記参照画素
の周囲画素の状態に加えて、前記対象画素の周囲画素の
状態に基づいて、複数の統計モデルから統計モデルを選
択する統計モデル選択手段であることを特徴とする請求
項1から3のいずれか1項記載の画像復号化装置であ
る。According to a fourth aspect of the present invention, the statistical model selecting means is configured to determine, based on the state of the peripheral pixel of the target pixel, the state of the peripheral pixel of the target pixel in addition to the state of the reference pixel and the peripheral pixels of the reference pixel. 4. The image decoding device according to claim 1, wherein the image decoding device is a statistical model selecting unit that selects a statistical model from a plurality of statistical models.
【0012】又、請求項5記載の本発明は、前記対象画
素の前記周囲画素は、前記対象画素の上、左、左上、右
上に位置することを特徴とする請求項4記載の画像復号
化装置である。According to a fifth aspect of the present invention, in the image decoding apparatus according to the fourth aspect, the peripheral pixels of the target pixel are located above, left, upper left and upper right of the target pixel. Device.
【0013】又、請求項6記載の本発明は、2値画像を
ブロック毎に符号化して得られた符号化データを復号化
し、対象ブロックの2値画像を得る画像復号化方法にお
いて、復号化対象である前記対象ブロックを有する対象
フレームよりも以前に復号されたフレームから参照2値
画像を得る参照2値画像生成ステップと、前記参照2値
画像から複数の画素を含む参照ブロックを得る参照ブロ
ック生成ステップと、前記参照ブロック中にある前記対
象ブロック中の対象画素に対応する参照画素の状態、及
び前記参照画素の周囲画素の状態に基づいて、複数の統
計モデルから統計モデルを選択する統計モデル選択ステ
ップと、前記選択された統計モデルに基づいて前記符号
化デ−タを復号化し、前記対象ブロックの2値画像を得
る算術復号化ステップとを備えたことを特徴とする画像
復号化方法である。According to a sixth aspect of the present invention, there is provided an image decoding method for decoding encoded data obtained by encoding a binary image for each block to obtain a binary image of a target block. A reference binary image generating step of obtaining a reference binary image from a frame decoded earlier than a target frame having the target block as a target, and a reference block obtaining a reference block including a plurality of pixels from the reference binary image Generating a statistical model based on a state of a reference pixel corresponding to a target pixel in the target block in the reference block and a state of pixels surrounding the reference pixel, and selecting a statistical model from a plurality of statistical models; A selecting step, and an arithmetic decoding step of decoding the encoded data based on the selected statistical model to obtain a binary image of the target block. An image decoding method characterized by comprising the flop.
【0014】又、請求項7記載の本発明は、前記参照画
素の前記周囲画素は、前記参照画素の周囲1画素範囲内
に位置する周囲画素であることを特徴とする請求項6記
載の画像復号化方法である。According to a seventh aspect of the present invention, 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 the image decoding method according to claim 6, wherein the surrounding pixels of the reference pixel are four pixels located above, below, right and left of the reference pixel. It is.
【0016】又、請求項9記載の本発明は、前記統計モ
デル選択ステップは、前記参照画素の状態及び前記参照
画素の周囲画素の状態に加えて、前記対象画素の周囲画
素の状態に基づいて、複数の統計モデルから統計モデル
を選択する統計モデル選択ステップであることを特徴と
する請求項6から8のいずれか1項記載の画像復号化方
法である。According to a ninth aspect of the present invention, in the statistical model selecting step, in addition to a state of the reference pixel and a state of a pixel surrounding the reference pixel, a state of the peripheral pixel of the target pixel is determined. 9. The image decoding method according to claim 6, further comprising a statistical model selecting step of selecting a statistical model from a plurality of statistical models.
【0017】又、請求項10記載の本発明は、前記対象
画素の前記周囲画素は、前記対象画素の上、左、左上、
右上に位置することを特徴とする請求項9記載の画像復
号化方法である。According to a tenth aspect of the present invention, the peripheral pixels of the target pixel are located above, left, and upper left of the target pixel.
10. The image decoding method according to claim 9, wherein the image decoding method is positioned at the upper right.
【0018】[0018]
【発明の実施の形態】以下、本発明にかかる実施の形態
について図面を参照しながら説明する。 (実施の形態1)図1は、本発明の実施の形態である画
像符号化装置の構成を示すブロック図である。図1にお
いて、ブロック化手段1(101)は、符号化の対象と
なる画像を入力とし、入力された画像を複数画素からな
るブロックに分割する手段である。ブロック化手段2
(102)は、予め得られている参照画像を複数画素か
らなるブロックに分割する手段である。排他論理和ブロ
ック構成手段(103)は、ブロック化手段1(10
1)により分割された対象ブロックとブロック化手段2
(102)により分割された参照ブロックを走査し、そ
の画素値の排他論理和を計算し、排他論理和ブロックを
構成する手段である。排他論理和符号化手段(104)
は、排他論理和ブロックを符号化し、符号化データを出
力する手段である。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 coded as an input, and divides the input image into blocks including a plurality of pixels. Blocking means 2
(102) is a means for dividing a reference image obtained in advance into blocks consisting of a plurality of pixels. The exclusive-OR block structuring means (103) includes the blocking means 1 (10
Target block divided by 1) and blocking means 2
This means scans the reference block divided by (102), calculates an exclusive OR of the pixel values, and configures an exclusive OR block. Exclusive OR coding means (104)
Is means for encoding an exclusive OR block and outputting encoded data.
【0019】以上のように構成された本実施の形態の画
像符号化装置の動作を以下に説明すると共に、本発明の
画像符号化方法の一実施の形態の動作も同時に述べる。The operation of the image coding apparatus according to the present embodiment having the above-described configuration will be described below, and the operation of the image coding method according to an embodiment 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
01), the t + 1-th frame (1903) is set as a target binary image, and the t-th frame (1902) is set as a reference binary image. Hereinafter, in the figure, 1 is represented by black and 0 is represented by white. Like the target divided image (1905), the target binary image (1903) is divided into 8 pixels ×
It is divided into a target block of 8 pixels. Blocking means 1
(101) is not limited to the 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 8 × 8 pixel reference blocks by the blocking means 2 (102) like the reference divided image (204). In the blocking means 2 (102), 8 pixels × 8 pixels or 16 pixels
It is not limited to the division of 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 target block (2002) and the reference block (200)
1) is scanned from the upper left to the lower right, the exclusive OR of the pixel values is calculated, and the exclusive OR block (2003) is configured. An exclusive OR block (200
3) is encoded by the exclusive OR encoding means (104) using a method generally called arithmetic encoding.
The arithmetic coding is briefly described below (see “International Standard 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 sequence (2105),
According to the symbol occurrence probability model (2104), the number line from 0 to 1 (210
1), and the range (210
Shortest binary point (2103) that does not deviate from 2)
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. In step 2203, a symbol is input. At 2204, an occurrence probability model is assigned to the current range, and the range of the probability of the input symbol is set as a new range. At 2205, if the symbol is an end symbol,
At 2206, the range is represented by a binary point and the binary point is output, and at 2207, the arithmetic coding is terminated. At 2205,
If the symbol is not the end symbol, the next symbol is input at 2203. However, if the number of symbols is determined, the end symbol can be omitted.
【0025】復号化は、2進小数点からシンボル列を決
定することにより行なわれる。算術符号化は、シンボル
とシンボルの生起確率モデルが一致すればするほど、ま
た、シンボルの生起確率に偏りがあればあるほど、シン
ボル列の符号量は減少する性質をもつことが知られてい
る。また、符号化の間、生起確率モデルが変更されて
も、変更のされ方が分かっていれば、復号化できること
も知られている。Decoding is performed by determining a symbol sequence from a binary point. It is known that the arithmetic coding has such a property that the more the symbol and the occurrence probability model of the symbol match, and the more the occurrence probability of the symbol is biased, the more the code amount of the symbol sequence decreases. . It is also known that even if the occurrence probability model is changed during encoding, decoding can be performed if the way of the change is known.
【0026】排他論理和符号化手段(104)では、以
上の算術符号化と、[0、0.9)をシンボル0、
[0.9、1.0)をシンボル1とした生起確率モデル
を用いて、0と1のシンボル列である排他論理和ブロッ
クの符号列を生成し、符号データを出力する。The exclusive OR coding means (104) performs the arithmetic coding described above and converts [0, 0.9) to the symbol 0,
Using an occurrence probability model in which [0.9, 1.0) is a symbol 1, a code string of an exclusive OR block that is a symbol string of 0 and 1 is generated, and 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 approximately 9: 1. By using exclusive OR and combining arithmetic coding, efficient coding with a small code amount is possible. (Embodiment 2) FIG. 2 is a block diagram showing a configuration of an image decoding apparatus according to an embodiment of the present invention. The configuration of this embodiment will be described with reference to FIG. In FIG. 1, an exclusive OR decoding means (201) is a means for receiving encoded data as input and decoding the decoded data to obtain an exclusive OR block.
The blocking unit 2 (202) is a unit that divides a previously obtained reference image into reference blocks each including a plurality of pixels. The target block forming unit (203) is a unit that obtains a target block from the exclusive OR block obtained by the exclusive OR decoding unit (201) and the reference block obtained by the blocking unit (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, exclusive OR decoding means (201)
Are the same as [0, 0.
9) is an arithmetic coding type decoder having an occurrence probability model in which symbol 0 is symbol 0 and [0.9, 1.0) is symbol 1. A symbol sequence is generated from a binary point, which is code data, and an occurrence probability model, and 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 forming means (203) scans the exclusive OR block and the reference block, and inverts the pixel value of the reference block for the pixel of which the exclusive OR block is 1, thereby obtaining 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 approximately 9: 1. By using exclusive OR and combining arithmetic coding, efficient decoding with a small code amount is possible. (Embodiment 3) FIG. 3 is a block diagram showing a configuration of an image encoding apparatus according to an embodiment of the present invention. 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 including a plurality of pixels. The motion estimation means (305)
This is a means for searching for a block similar to the target block from the reference image and obtaining the motion vector. The motion compensation blocking unit 2 (302) 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 exclusive OR block constructing means (303) includes the blocking means 1 (3
01) scans the target block divided by the motion compensation block forming unit 2 (302) and the reference block divided by the motion compensation block generation unit 2 (302), calculates the exclusive OR of the pixel values, and configures the exclusive OR block. The exclusive OR encoding means (304) encodes the exclusive OR block and outputs encoded data.
【0032】以上のように構成された本実施の形態の画
像符号化装置の動作を以下に説明すると共に、本発明の
画像符号化方法の一実施の形態の動作も同時に述べる。The operation of the image coding apparatus according to the present embodiment configured as described above will be described below, and the operation of the image coding method according to an embodiment 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). The motion estimating means (305) calculates the motion vector to be estimated as v, the number of pixels in the target block as m, and the position of each pixel in the image as u_i (i
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), v is used to minimize the similarity s (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 blocker (302) shifts the block cut out from the reference image by the motion vector v to obtain and output the reference block. The exclusive OR block forming means (303) is an exclusive OR block forming means (103).
Is equivalent to The exclusive OR coding means (304) is equivalent to the exclusive OR coding means (104).
【0035】以上のように、本実施の形態によれば、動
き推定手段と動き補償ブロック化手段を用いて、排他論
理和ブロックのシンボル0とシンボル1の生起確率が、
9:1に比べて大きく異なるブロックを、9:1に近く
なるよう動き補償して、符号量の少ない効率的な符号化
が可能となる。 (実施の形態4)図4は、本発明の実施の形態である画
像復号化装置の構成を示すブロック図であり、同図を用
いて本実施の形態の構成を説明する。同図において、排
他論理和復号化手段(401)は、符号化データを入力
とし、復号化し排他論理和ブロックを得る手段である。
動き補償ブロック化手段2(402)は、参照画像と動
き情報を入力とし、入力された参照画像を動き情報に基
づき、複数画素からなるブロックに分割する手段であ
る。対象ブロック構成手段(403)は、排他論理和復
号化手段(401)により得られた排他論理和ブロック
と動き補償ブロック化手段(402)により得れらた参
照ブロックから、対象ブロックを得る手段である。As described above, according to the present embodiment, the occurrence probabilities of the symbols 0 and 1 of the exclusive OR block are calculated using the motion estimating means and the motion compensation blocking means.
Motion compensation is performed on blocks that are significantly different from 9: 1 so as to be close to 9: 1, and efficient coding with a small code amount can be performed. (Embodiment 4) FIG. 4 is a block diagram showing a configuration of an image decoding apparatus according to an embodiment of the present invention. The configuration of the present embodiment will be described with reference to FIG. In the figure, an exclusive OR decoding means (401) is a means for receiving coded data as input and decoding it to obtain an exclusive OR block.
The motion compensation blocking 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 forming means (403) is a 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 blocking means (402). is there.
【0036】以上のように構成された本実施の形態の画
像復号化装置の動作を以下に説明すると共に、本発明の
画像復号化方法の一実施の形態の動作も同時に述べる。The operation of the image decoding apparatus according to this 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 blocking unit 2 (402) is equivalent to the motion compensation blocking unit 2 (302). The target block configuration unit (403) is equivalent to the target block configuration unit (203).
【0038】以上のように、本実施の形態によれば、動
き推定手段と動き補償ブロック化手段を用いて、排他論
理和ブロックのシンボル0とシンボル1の生起確率が、
9:1と比べて大きく異なるブロックを、9:1に近く
なるよう動き補償して、符号量の少ない効率的な復号化
が可能となる。 (実施の形態5)図5は、本発明の実施の形態である画
像符号化装置の構成を示すブロック図であり、同図を用
いて本実施の形態の構成を説明する。As described above, according to the present embodiment, the occurrence probabilities of the symbols 0 and 1 of the exclusive OR block are calculated using the motion estimating means and the motion compensation blocking means.
Blocks that are significantly different from 9: 1 are motion compensated so as to be close to 9: 1, and efficient decoding with a small code amount can be performed. (Embodiment 5) FIG. 5 is a block diagram showing the configuration of an image coding apparatus according to an embodiment of the present invention. 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, the blocking means 1 (50
1) is a unit that receives an image to be encoded as an input and divides the input image into blocks including a plurality of pixels. The blocking unit 2 (502) is a unit that receives a reference image 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. Means. The exclusive OR encoding means (504) encodes the exclusive OR block and outputs encoded data. The reference block use determination unit (505) is a unit that compares the target block with the reference block, outputs a reference block use determination signal, and switches the subsequent processing. The target pixel coding unit (506) is a unit that codes the target block and outputs coded data.
【0040】以上のように構成された本実施の形態の画
像符号化装置の動作を以下に説明すると共に、本発明の
画像符号化方法の一実施の形態の動作も同時に述べる。The operation of the image coding apparatus according to the present embodiment configured as described above will be described below, and the operation of the image coding method according to an embodiment 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). Blocking means 2 (502) is equivalent to blocking means 2 (102). The reference block use determining means (505) uses the sum of absolute values (SAD) of the target block and the reference block, and if the sum of absolute values is equal to or greater than a certain threshold value, encodes using the target pixel coding means (506). If the sum is less than a certain threshold, switching is performed using the exclusive OR block forming means (503) and the exclusive OR coding means (504), and a reference block use determination signal is output. As the threshold value, 5 is used. The exclusive OR block forming means (503) is an exclusive OR block forming means (103).
Is equivalent to The exclusive OR coding means (504) is equivalent to the exclusive OR coding means (104). The target pixel encoding unit (506) is an exclusive OR encoding unit (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, a block whose occurrence probability of symbol 0 and symbol 1 is significantly different from that of 9: 1 by the reference block use determination means is a block having a large absolute value sum. Thinking, by changing the coding method, reduce the blocks with poor coding efficiency,
Efficient encoding with a small code amount can be performed. (Embodiment 6) FIG. 6 is a block diagram showing a configuration of an image decoding apparatus according to an embodiment of the present invention. 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 coded data as input and decoding to obtain an exclusive OR block.
Blocking means 2 (602) receives a reference image as input,
This is a means for dividing the input reference image into reference blocks each including a plurality of pixels. Target block configuration means (603)
Is a 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 use control means (604) is a means for switching the subsequent processing according to the reference block use determination signal. The target pixel decoding means (605) is a means for decoding encoded data to obtain a target block.
【0043】以上のように構成された本実施の形態の画
像復号化装置の動作を以下に説明すると共に、本発明の
画像復号化方法の一実施の形態の動作も同時に述べる。The operation of the image decoding apparatus having the above-described configuration according to the present embodiment will be described below, and the operation of the image decoding method according to an embodiment 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 unit 2 (602) is a blocking unit 2 (10
It is equivalent to 2).
【0045】対象ブロック構成手段(603)は、対象
ブロック構成手段(203)と等価である。参照ブロッ
ク利用制御手段(604)は、参照ブロック利用判定信
号により、以降の処理を、参照ブロックを利用する時
の、対象ブロック構成手段(603)とブロック化手段
2(602)と排他論理和復号化手段(601)の場合
と、参照ブロックを利用しないときの、対象画素復号化
手段(605)の場合に切り替える。The target block forming means (603) is equivalent to the target block forming means (203). Based on the reference block use determination signal, the reference block use control means (604) performs exclusive OR decoding with the target block forming means (603) and the blocking means 2 (602) when using the reference block in the subsequent processing. It is switched between the case of the decoding unit (601) and the case of the target pixel decoding unit (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) generates an occurrence probability model using [0, 0.5) as a symbol 0 and [0.5, 1.0) as a symbol 1 as in the target pixel coding (506). Which is a decoder of the arithmetic coding system. A symbol sequence is generated from a binary point, which is code data, and an occurrence probability model, and symbols are arranged in the scanning direction to form a target block.
【0047】以上のように、本実施の形態によれば、参
照ブロック利用判定手段により、シンボル0とシンボル
1の生起確率が9:1と比べて大きく異なるブロック
は、絶対値総和の大きなブロックと考え、符号化方式を
変えることで、符号化効率の悪いブロックを減少させ、
符号量の少ない効率的な復号化が可能となる。 (実施の形態7)図7は、本発明の実施の形態である画
像符号化装置の構成を示すブロック図であり、同図を用
いて本実施の形態の構成を説明する。同図において、ブ
ロック化手段1(701)は、符号化の対象となる画像
を入力とし、入力された画像を複数画素からなるブロッ
クに分割する手段である。As described above, according to the present embodiment, a block whose occurrence probability of symbol 0 and symbol 1 is significantly different from that of 9: 1 by the reference block use determining means is a block having a large absolute value sum. Thinking, by changing the coding method, reduce the blocks with poor coding efficiency,
Efficient decoding with a small code amount becomes 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. 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 and divides the input image into blocks composed of a plurality of pixels.
【0048】ブロック化手段2(702)は、参照画像
を入力とし、入力された参照画像を複数画素からなるブ
ロックに分割する手段である。統計モデル選択手段(7
03)は、符号化対象画素の位置と、参照ブロックと、
後述する統計モデルテーブルを入力とし、対象画素の参
照ブロックにおける周囲画素の状態により統計モデルテ
ーブル(704)から統計モデルを選択し、エントロピ
ー符号化手段(705)に出力する手段である。即ち、
統計モデル選択手段703は、対象ブロック中の対象画
素に対応する参照画素を含む参照ブロックにおける、そ
の参照画素の周囲画素の状態に基づいて、複数の統計モ
デルから統計モデルを選択する手段である。エントロピ
ー符号化手段(705)は、符号化対象画素の位置を統
計モデル選択手段(703)に出力し、統計モデル選択
手段(703)より出力された統計モデルに基づき、対
象ブロックをエントロピー符号化し、符号化データを出
力する手段である。The blocking unit 2 (702) receives a reference image and divides the input reference image into blocks each including a plurality of pixels. Statistical model selection means (7
03) is the position of the encoding target pixel, the reference block,
A means for receiving a statistical model table, which will be described later, as input, selecting a statistical model from the statistical model table (704) according to the state of surrounding pixels in the reference block of the target pixel, and outputting the selected statistical model to the entropy coding means (705). That is,
The statistical model selecting unit 703 is a unit that selects a statistical model from a plurality of statistical models in a reference block including a reference pixel corresponding to the target pixel in the target block, based on the state of pixels surrounding the reference pixel. The entropy encoding unit (705) outputs the position of the encoding target pixel to the statistical model selection unit (703), and entropy-encodes the target block based on the statistical model output from the statistical model selection unit (703). It is means for outputting encoded data.
【0049】以上のように構成された本実施の形態の画
像符号化装置の動作を以下に説明すると共に、本発明の
画像符号化方法の一実施の形態の動作も同時に述べる。The operation of the image coding apparatus according to this embodiment configured as described above will be described below, and the operation of an embodiment of the image coding method according to 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). Blocking means 2 (702) is equivalent to 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 the selected statistical model 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 a reference block of a 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.
【0052】周囲の状態を考えるので、まず、参照ブロ
ック(2401)を外挿して、外挿参照ブロックを作成
する。作成方法は、参照画像から周囲の画素値が得られ
れば、それを付加して外挿参照ブロック(2402)を
作成する。Since the surrounding state is considered, first, the reference block (2401) is extrapolated to create an extrapolated reference block. In the creation method, if a surrounding pixel value is obtained from the reference image, it is added to create an extrapolated 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 extrapolated reference block (2403) is created by adding the end pixels as they are. 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.
As shown in 8, the reference block (2501) is obtained by applying the reference mask (2503) to the target block (2502) by applying the target mask (2504). Reference mask (250
The pixel values at the respective positions of 3) and the target mask (2504) are represented by A, B, C, D, E, F, G, H, I, J,
Assuming K, L, and M, the index i is represented by (Equation 2). FIG. 28 shows reference pixels 2501a corresponding to the target pixels 2502a. In addition, the statistical model selecting unit 703 of the present embodiment uses the extrapolation target block created above to take into account the state of the neighboring pixels of the already encoded target pixel 2502a in the target block. In the same manner as described above, the target pixel 2502
The state of the neighboring pixel of a is obtained. This makes it possible to select a more appropriate statistical model as compared to a case where only the state of surrounding pixels in the reference block is used. Of course, a configuration using only the state 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 selecting means (70)
In 3), a statistical model is selected from the statistical model table and output to the entropy coding means (705). The entropy coding unit (705) uses an arithmetic coder like the exclusive OR coding unit (104).
As the occurrence probability model of the arithmetic encoder, the target pixel is encoded using the statistical model (704) selected by the statistical model selecting means (703).
【0056】以上のように、本実施の形態によれば、統
計モデル選択手段により、対象画素の参照ブロックにお
ける周囲画素の状態で統計モデルを切替えて用いるた
め、エントロピー符号化の効率を上げ、符号量の少ない
効率的な符号化が可能となる。 (実施の形態8)図8は、本発明の実施の形態である画
像復号化装置の構成を示すブロック図であり、同図を用
いて本実施の形態の構成を説明する。As described above, according to the present embodiment, since the statistical model is switched by the statistical model selecting means depending on the state of the surrounding pixels in the reference block of the target pixel, the entropy encoding efficiency is increased, and Efficient coding with a small amount becomes possible. (Eighth Embodiment) FIG. 8 is a block diagram showing a configuration of an image decoding apparatus according to an embodiment of the present invention. 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, the blocking means 2 (80
2) means for receiving a reference image as input and dividing the input reference image into blocks composed of a plurality of pixels. The statistical model selecting means (803) determines the position of the pixel to be encoded,
The reference block and the statistical model table are input, a statistical model is selected from the statistical model table (704) according to the state of pixels surrounding the reference block of the target pixel, and the selected statistical model is output to the entropy coding unit (705). The entropy decoding unit (801) is a unit that receives encoded data, decodes the encoded data based on a statistical model (804), and obtains a target block.
【0058】以上のように構成された本実施の形態の画
像復号化装置の動作を以下に説明すると共に、本発明の
画像復号化方法の一実施の形態の動作も同時に述べる。The operation of the image decoding apparatus according to this embodiment having the above-described configuration will be described below, and the operation of the image decoding method according to an embodiment 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 selecting means (803) is equivalent to the statistical model selecting means (703).
【0060】エントロピー復号化手段(801)では、
排他論理和復号化手段(201)と同じく、算術符号復
号化器を用いるが、算術符号化器の生起確率モデルとし
ては、統計モデル選択手段(803)で選択された統計
モデル(804)を用いる。統計モデルテーブル(80
4)は、統計モデルテーブル(704)と等価である。In the entropy decoding means (801),
An arithmetic code decoder is used in the same manner as the exclusive OR decoding means (201), but the statistical model (804) selected by the statistical model selecting means (803) is used as an 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, the statistical model selecting means switches and uses the statistical model in the state of the surrounding pixels in the reference block of the target pixel. An efficient decoding with a small amount becomes 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. 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, the blocking means 1 (90
1) is a unit that receives an image to be encoded as an input and divides the input image into blocks including a plurality of pixels. The motion estimating means (906) is a means for searching the reference image for a block similar to the target block and obtaining a motion vector thereof. Motion compensation blocking means 2 (90
2) means for receiving a reference image and motion information as input, and dividing the input reference image into blocks composed of a plurality of pixels based on the motion information. Statistical model selection means (903)
Receives a position of an encoding target pixel, a reference block, and a statistical model table, selects a statistical model from the statistical model table (904) according to the state of pixels surrounding the reference block of the target pixel, and performs entropy encoding ( 90
5) means for outputting. The entropy coding means (905) is means for entropy coding the target block based on the statistical model selected by the statistical model selecting means (903) and outputting coded data.
【0063】以上のように構成された本実施の形態の画
像符号化装置の動作を以下に説明すると共に、本発明の
画像符号化方法の一実施の形態の動作も同時に述べる。The operation of the image coding apparatus according to the present embodiment configured as described above will be described below, and the operation of the image coding method according to an embodiment 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 estimating means (906) is equivalent to the motion estimating means (305).
The motion compensation blocking unit 2 (902) is equivalent to the motion compensation blocking unit 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 the present embodiment, it is possible to increase the accuracy of the statistical model and to perform efficient encoding with a small code amount by using the motion estimating means and the motion compensation blocking means. (Embodiment 10) FIG. 10 is a block diagram showing a configuration of an image decoding apparatus according to an embodiment of the present invention. 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 blocking means 2
(1002) 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 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 a statistical model from the statistical model table (1004) according to the state of pixels surrounding the reference block of the target pixel. And output to the entropy coding means (1005). The entropy decoding unit (1001) is a unit that receives encoded data, decodes the encoded data based on a statistical model, and obtains a target block.
【0068】以上のように構成された本実施の形態の画
像復号化装置の動作を以下に説明すると共に、本発明の
画像復号化方法の一実施の形態の動作も同時に述べる。The operation of the image decoding apparatus according to 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 blocking means 2 (100
2) is equivalent to the motion compensation blocking unit 2 (402). The statistical model selecting means (1003) is equivalent to the statistical model selecting means (803). In the entropy decoding means (1001), the 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, the accuracy of the statistical model can be increased using the motion compensation blocking means 2, and efficient decoding with a small code amount can be performed. (Embodiment 11) FIG. 11 is a block diagram showing the configuration of an image coding apparatus according to an embodiment of the present invention. The configuration of the present embodiment will be described with reference to FIG.
【0071】同図において、ブロック化手段1(110
1)は、符号化の対象となる画像を入力とし、入力され
た画像を複数画素からなるブロックに分割する手段であ
る。In the figure, the blocking means 1 (110
1) is a unit that receives an image to be encoded as an input and divides the input image into blocks including a plurality of pixels.
【0072】ブロック化手段2(1102)は、参照画
像を入力とし、入力された参照画像を複数画素からなる
ブロックに分割する手段である。統計モデル選択手段
(1103)は、符号化対象画素の位置と、参照ブロッ
クと、統計モデルテーブルを入力とし、対象画素の参照
ブロックの周囲画素の状態により統計モデルテーブル
(1104)から統計モデルを選択し、エントロピー符
号化手段(1105)に出力する手段である。参照ブロ
ック利用判定手段(1105)は、対象ブロックと参照
ブロックを比較し、参照ブロック利用判定信号を出力
し、以降の処理を切り替える手段である。対象画素符号
化手段(1106)は、対象ブロックを符号化し、符号
化データを出力する手段である。エントロピー符号化手
段(1105)は、統計モデル(1104)に基づき、
対象ブロックをエントロピー符号化し、符号化データを
出力する手段である。対象画素符号化手段(1106)
は、対象ブロックを符号化し、符号化データを出力する
手段である。The blocking unit 2 (1102) is a unit that receives a reference image and divides the input reference image into blocks composed of a plurality of pixels. The statistical model selecting means (1103) receives the position of the encoding target pixel, the reference block, and the statistical model table as input, and selects a statistical model from the statistical model table (1104) according to the state of the pixels surrounding the reference block of the target pixel. And output to the entropy coding means (1105). The reference block use determination unit (1105) is a unit that compares the target block with the reference block, outputs a reference block use determination signal, and switches the subsequent processing. The target pixel encoding unit (1106) is a unit that encodes the target block and outputs encoded data. The entropy coding means (1105) is based on the statistical model (1104)
This is a means for entropy-encoding the target block and outputting encoded data. Target pixel encoding means (1106)
Is means for encoding the target block and outputting 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). Blocking means 2 (1102) is equivalent to 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 use determining means (1106) is equivalent to the reference block use 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 blocks that do not fit the statistical model are changed by the reference block use control means to reduce the blocks with poor coding efficiency by changing the coding method, and An efficient decoding with a small amount becomes 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. 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, the blocking means 2 (120
2) means for receiving a reference image as input and dividing the input reference image into blocks composed of a plurality of pixels. The statistical model selecting means (1203) receives the position of the encoding target pixel, the reference block, and the statistical model table as inputs,
This is a means for selecting a statistical model from the statistical model table (1204) according to the state of surrounding pixels of the reference block of the target pixel and outputting the selected statistical model to the entropy coding means (1205). An entropy decoding unit (1201) is a unit that receives encoded data, decodes the encoded data based on a statistical model, and obtains a target block. The reference block use determination unit (1205) is a unit that compares the target block with the reference block and switches the subsequent processing.
The target pixel decoding means (605) is a means for decoding encoded data to obtain a target block.
【0077】以上のように構成された本実施の形態の画
像復号化装置の動作を以下に説明すると共に、本発明の
画像復号化方法の一実施の形態の動作も同時に述べる。The operation of the image decoding apparatus according to 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). Blocking means 2 (1202) is equivalent to blocking means 2 (102). Statistical model selection means (12
03) is equivalent to the statistical model selecting 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 blocks that do not fit the statistical model are changed by the reference block use control means to reduce the blocks with poor coding efficiency by changing the coding method, and An efficient decoding with a small amount becomes 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. 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, the blocking means 1 (130
1) is a unit that receives an image to be encoded as an input and divides the input image into blocks including a plurality of pixels. The blocking unit 2 (1302) is a unit that receives a reference image and divides the input reference image into blocks composed of a plurality of pixels. Statistical model estimating means (130
3) 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 unit (1305) is a unit that codes pixels of the target block based on the statistical model (1304) and outputs 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). Blocking means 2 (1302) is equivalent to blocking means 2 (102). The statistical model estimating means (1303) estimates a statistical model from the reference block. FIG. 29 is an explanatory diagram of a statistical model estimating method of the statistical model estimating 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, first, the frequency Z of the symbol 0 is obtained. The frequency Z is obtained by counting the number of symbols 0 in the reference block and dividing the number by the total number of pixels 64. Frequency Z
From the conversion probability (260)
Use 1). In the conversion graph, r = 0.1. The statistical model for estimating using the occurrence probability z obtained from the conversion graph converts [0, z) into symbols 0, [z,
1.0) is symbol 1. The estimated statistical model is stored in the statistical model (1304).
【0084】エントロピー符号化手段(1305)は、
エントロピー符号化手段(102)と同様に、算術符号
化器と推定された統計モデル(1304)を用いて対象
ブロックを符号化する。The entropy coding means (1305)
Similarly to the entropy coding means (102), the current block is coded using the statistical model (1304) estimated as an arithmetic coder.
【0085】以上のように、本実施の形態によれば、統
計モデル推定手段により、参照ブロックから対象ブロッ
ク内のシンボルの統計モデルを推定することで、エント
ロピー符号化の効率を上げ、符号量の少ない効率的な符
号化が可能となる。As described above, according to the present embodiment, the statistical model estimating means estimates the statistical model of the symbol in the target block from the reference block, thereby increasing the entropy coding efficiency and increasing the code amount. Less efficient encoding is possible.
【0086】尚、本実施の形態では、対象ブロック毎に
統計モデルを生成する構成であったが、これに限らず例
えば、対象画素毎に統計モデルを生成する構成でもかま
わない。 (実施の形態14)図14は、本発明の実施の形態であ
る画像復号化装置の構成を示すブロック図であり、同図
を用いて本実施の形態の構成を説明する。In the present embodiment, the configuration is such that a statistical model is generated for each target block. However, the present invention is not limited to this. For example, a configuration for generating a statistical model for each target pixel may be used. (Embodiment 14) FIG. 14 is a block diagram showing a configuration of an image decoding apparatus according to an embodiment of the present invention. The configuration of the present embodiment will be described with reference to FIG.
【0087】同図において、ブロック化手段2(140
2)は、参照画像を入力とし、入力された参照画像を複
数画素からなるブロックに分割する手段である。統計モ
デル推定手段(1403)は、参照ブロックから対象ブ
ロックの統計モデルを推定し、統計モデル(1404)
に記憶しておく手段である。エントロピー復号化手段
(1401)は、符号化データを入力とし、統計モデル
(1404)に基づき、符号化データを復号化し、対象
ブロックを得る手段である。In the figure, the blocking means 2 (140
2) means for receiving a reference image as input and dividing the input reference image into blocks composed of a plurality of pixels. The statistical model estimating means (1403) estimates a statistical model of the target block from the reference block, and
This is a means for storing the information. The entropy decoding unit (1401) is a unit that receives encoded data, decodes the encoded data based on a statistical model (1404), and obtains a target block.
【0088】以上のように構成された本実施の形態の画
像復号化装置の動作を以下に説明すると共に、本発明の
画像復号化方法の一実施の形態の動作も同時に述べる。The operation of the image decoding apparatus according to 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)
This is equivalent to the blocking means 2 (102). The statistical model estimating means (1403) includes a statistical model estimating means (130).
It is equivalent to 3). Entropy decoding means (140
1), like the exclusive-OR decoding means (201), decode using the arithmetic code decoder and the statistical model (1404) estimated by the statistical model estimating means (1403),
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 symbol in the target block from the reference block, thereby increasing the entropy coding efficiency 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. The configuration of the present embodiment will be described with reference to FIG.
【0091】同図において、ブロック化手段1(150
1)は、符号化の対象となる画像を入力とし、入力され
た画像を複数画素からなるブロックに分割する手段であ
る。動き推定手段(1506)は、対象ブロックと類似
したブロックを参照画像中から探索し、その動きベクト
ルを得る手段である。In the figure, the blocking means 1 (150
1) is a unit that receives an image to be encoded as an input and divides the input image into blocks including a plurality of pixels. The motion estimating means (1506) is a means for searching the reference image for a block similar to the target block and obtaining a motion vector.
【0092】動き補償ブロック化手段2(1502)
は、参照画像と動き情報を入力とし、入力された参照画
像を動き情報に基づき、複数画素からなるブロックに分
割する手段である。統計モデル推定手段(1503)
は、参照ブロックから対象ブロックの統計モデルを推定
し、統計モデル(1504)に記憶しておく手段であ
る。エントロピー符号化手段(1505)は、統計モデ
ル(1504)に基づき、対象ブロックの画素を符号化
し、符号化データを出力する手段である。Motion Compensation Blocking Means 2 (1502)
Is 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 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 unit (1505) is a unit that codes pixels of the target block based on the statistical model (1504) and outputs coded data.
【0093】以上のように構成された本実施の形態の画
像符号化装置の動作を以下に説明すると共に、本発明の
画像符号化方法の一実施の形態の動作も同時に述べる。The operation of the image coding apparatus according to the present embodiment configured as described above will be described below, and the operation of the image coding method according to an embodiment 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)
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 estimating means (1506) is equivalent to the motion estimating means (305).
【0095】以上のように、本実施の形態によれば、動
き推定手段と動き補償ブロック化手段を用いて、統計モ
デル推定精度をあげ、符号量の少ない効率的な符号化が
可能となる。 (実施の形態16)図16は、本発明の実施の形態であ
る画像復号化装置の構成を示すブロック図であり、同図
を用いて本実施の形態の構成を説明する。As described above, according to the present embodiment, the statistical model estimation accuracy is improved by using the motion estimation means and the motion compensation blocking means, and efficient encoding with a small code amount can be performed. (Embodiment 16) FIG. 16 is a block diagram showing a configuration of an image decoding apparatus according to an embodiment of the present invention. 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 blocking means 2
(1602) 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 statistical model estimating means (1603) is a 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)
Takes encoded data as input and uses a statistical model (1604)
Is a means for decoding the encoded data and obtaining the target block based on.
【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 blocking means 2 (160
2) is equivalent to the motion compensation blocking unit 2 (402). The statistical model estimating means (1603) is equivalent to the statistical model estimating means (1303). The entropy decoding unit (1601) is an entropy decoding unit (14).
01).
【0099】以上のように、本実施の形態によれば、動
き補償ブロック化手段2を用いて、統計モデルの推定精
度を上げ、符号量の少ない効率的な復号化が可能とな
る。 (実施の形態17)図17は、本発明の実施の形態であ
る画像符号化装置の構成を示すブロック図であり、同図
を用いて本実施の形態の構成を説明する。As described above, according to the present embodiment, the estimation accuracy of the statistical model is increased by using the motion compensation blocking means 2, and efficient decoding with a small code amount becomes possible. (Embodiment 17) FIG. 17 is a block diagram showing a configuration of an image coding apparatus according to an embodiment of the present invention. 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, the blocking means 1 (170
1) is a unit that receives an image to be encoded as an input and divides the input image into blocks including a plurality of pixels. The blocking unit 2 (1702) is a unit that receives a reference image and divides the input reference image into blocks each including a plurality of pixels. Statistical model estimation means (170
3) 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 encoded data as input and, based on a statistical model (1704),
This is a means for decoding encoded data to obtain a target block. The reference block use determination unit (1706) is a unit that compares the target block and the reference block, outputs a reference block use determination signal, and switches the subsequent processing.
【0101】以上のように構成された本実施の形態の画
像符号化装置の動作を以下に説明すると共に、本発明の
画像符号化方法の一実施の形態の動作も同時に述べる。The operation of the image coding apparatus according to the present embodiment configured as described above will be described below, and the operation of the image coding method according to an embodiment 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)
It is equivalent to the blocking means 1 (101). Blocking means 2 (1702) is equivalent to 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 determining means (1706) is a reference block use determining 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 blocks that do not fit the statistical model are changed by the reference block use control means to reduce the blocks with low coding efficiency by changing the coding method. An efficient decoding with a small amount becomes 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. 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, the blocking means 2 (180
2) means for receiving a reference image as input and dividing the input reference image into blocks composed of a plurality of pixels. The statistical model estimating means (1803) estimates a statistical model of the target block from the reference block, and obtains a statistical model (1804).
This is a means for storing the information. The entropy decoding unit (1801) is a unit that receives encoded data, decodes the encoded data based on the statistical model (1804), and obtains a target block. The reference block use control means (1805) is a means for switching the subsequent processing according to the reference block use determination signal. The target pixel coding unit (1806) is a unit that codes the target block and outputs coded data.
【0105】以上のように構成された本実施の形態の画
像復号化装置の動作を以下に説明すると共に、本発明の
画像復号化方法の一実施の形態の動作も同時に述べる。The operation of the image decoding apparatus according to 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)
This is equivalent to the blocking means 2 (102). The statistical model estimating means (1803) includes 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)
05).
【0107】以上のように、本実施の形態によれば、参
照ブロック利用制御手段により、統計モデルに合わない
ブロックは、符号化方式を変えることで、符号化効率の
悪いブロックを減少させ、符号量の少ない効率的な復号
化が可能となる。As described above, according to the present embodiment, the blocks that do not fit the statistical model are changed by the reference block use control means to reduce the blocks with poor coding efficiency by changing the coding method. An efficient decoding with a small amount becomes possible.
【0108】一方、上述した実施の形態の何れか一つの
実施の形態に記載の各手段の全部又は一部の手段の機能
をコンピュータに実行させるためのプログラムを記録し
た磁気記録媒体や光記録媒体を作成して、これを用い
て、上記動作をコンピュータに実行させることによって
も、上記と同様の効果を発揮する。On the other hand, a magnetic recording medium or an optical recording medium storing 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. The same effect as described above can also be obtained by making the computer execute the above operation using this.
【0109】以上述べた様に、本発明の画像符号化装
置、画像復号化装置、画像符号化方法、及び画像復号化
方法では、以下の理由により、従来の2値画像符号化技
術、2値画像復号化技術を用いるよりも効率の良い符号
化と復号化が可能となる。即ち、(1)2値動画像にお
いて参照画像から対象画像を予測し、残差を排他的論理
和で表現する。 (2)相関のある他フレームの周囲画素の状態により統
計モデルを切替えることで、常時適切な統計モデルを用
いる。 (3)参照画像より統計モデルを作成することにより、
適切な統計モデルを用いる。 (4)動き補償や絶対値差の総和を用いた閾値による符
号化方式の変更により、統計モデルに合わないブロック
を減少させる。As described above, in the image encoding apparatus, the image decoding apparatus, the image encoding method, and the image decoding method of the present invention, the conventional binary image encoding technique, Encoding and decoding can be performed more efficiently than using the image decoding technique. That is, (1) a target image is predicted from a reference image in a binary moving image, and the residual is expressed by an exclusive OR. (2) An appropriate statistical model is always used by switching the statistical model according to the state of surrounding pixels of another correlated frame. (3) By creating a statistical model from a reference image,
Use an appropriate statistical model. (4) Blocks that do not fit the statistical model are 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の構
成と基本的に同じものには、同じ符号を付した。Although the reference block use determining means of the present invention has been described in the fifth embodiment with the configuration shown in FIG. 5, the present invention is not limited to this. For example, the configuration shown in FIG. 30 may be used. That is, in the case of the image encoding device shown in FIG.
The reference block use determination 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 use determination signal, and switches the subsequent processing. This is the main difference from the configuration of FIG. As a result, the reference block use determination unit 3505 uses the coding amount of the target image coding unit 506 and the coding amount of the exclusive OR coding unit 504 to perform coding by the target image coding unit 506. If the amount is smaller, the encoded data is output, and if the amount of code in the exclusive OR encoder 504 is smaller, the output is switched to output the encoded data. If the code amount in the target image coding means 506 is smaller, a reference block use determination signal is output. As described above, according to the present embodiment, the reference block use determination unit 3505 uses the code amount as a reference and switches the coded data, thereby reducing blocks with low coding efficiency and reducing the code amount. Less and more efficient encoding is possible. Note that the same reference numerals are given to basically the same components as those in FIG.
【0111】又、本発明の参照ブロック利用制御手段
は、上記実施の形態6では、図6に示す構成の場合につ
いて述べたが、これに限らず例えば、図31に示す構成
でも良い。即ち、図31に示す画像復号化装置は、図5
又は図30に示す画像符号化装置から出力された符号化
データを復号化し対象ブロックを得る対象画素復号化手
段605と、前記画像符号化装置から出力された前記参
照ブロック利用判定信号に基づいて、前記対象ブロック
構成手段603からの出力を、又は、前記対象画素復号
化手段605からの出力を対象ブロックとして出力させ
る参照ブロック利用制御手段3604とを備えた構成で
ある。これにより、従来に比べてより効率的な復号化が
行える。尚、図6の構成と基本的に同じものには、同じ
符号を付した。In the sixth embodiment, the reference block use control means of the present invention has been described with reference to the configuration shown in FIG. 6. However, the present invention is not limited to this, and may have the configuration shown in FIG. 31, for example. That is, the image decoding apparatus shown in FIG.
Alternatively, based on the target pixel decoding unit 605 that decodes the encoded data output from the image encoding device illustrated in FIG. 30 to obtain a target block, and the reference block use determination signal output from the image encoding device, A reference block use control unit 3604 for outputting an output from the target block forming unit 603 or an output from the target pixel decoding unit 605 as a target block. As a result, more efficient decoding can be performed as compared with the related art. Note that the same reference numerals are given to basically the same components as those in FIG.
【0112】又、本発明の統計モデル選択手段は、上記
実施の形態7では、統計モデルの選択結果を復号化装置
側へ出力しない構成の場合について述べたが、これに限
らず例えば、図32に示す様に、統計モデル選択手段3
703は、統計モデルの選択結果を選択結果信号として
復号化装置側へ出力する手段であっても良い。尚、図7
の構成と基本的に同じものには、同じ符号を付した。In the seventh embodiment, the statistical model selecting means of the present invention has been described in connection with a configuration in which the result of selecting a statistical model is not output to the decoding device side. However, the present invention is not limited to this. As shown in FIG.
A unit 703 may output a selection result of the statistical model as a selection result signal to the decoding device side. FIG. 7
The same reference numerals are given to the same components as those of the first embodiment.
【0113】又、本発明の画像復号化装置は、上記実施
の形態8では、統計モデルの選択結果を復号化装置側へ
出力しない構成の画像符号化装置に対応した復号化装置
である場合について述べたが、これに限らず例えば、図
33に示す構成でも良い。即ち、図33に示す画像復号
化装置は、図32に示す画像符号化装置から出力された
選択結果信号を得て、その選択結果信号に対応する統計
モデルを複数の統計モデルから選択する統計モデル選択
手段3803と、前記選択された統計モデルに基づい
て、前記画像符号化装置から出力された符号化データを
エントロピー復号化し、対象ブロックを得るエントロピ
ー復号化手段801とを備えている。これにより、従来
に比べてより効率的な復号化が行える。又、本実施の形
態の場合、図8に示す様なブロック化手段2(802)
は不要である。尚、図8の構成と基本的に同じものに
は、同じ符号を付した。In the eighth embodiment, the image decoding apparatus of the present invention is a decoding apparatus corresponding to an image coding apparatus having a configuration in which the result of selection of the statistical model is not output to the decoding apparatus. Although described above, the present invention is not limited to this. For example, the configuration shown in FIG. 33 may be used. That is, the image decoding apparatus shown in FIG. 33 obtains a 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. The image processing apparatus includes a selection unit 3803 and an entropy decoding unit 801 that performs entropy decoding on the encoded data output from the image encoding device based on the selected statistical model to obtain a target block. As a result, more efficient decoding can be performed as compared with the related art. In the case of the present embodiment, the blocking means 2 (802) as shown in FIG.
Is unnecessary. Note that the same reference numerals are given to basically the same components as those in 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 judging means of the present invention has been described with reference to the configuration shown in FIG. 11. However, the present invention is not limited to this. For example, the configuration shown in FIG. That is, in the case of the image coding apparatus shown in FIG. 34, the reference block use determination unit 3106 compares the coding amount of the target block with the coding amount of the reference block,
This 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. Thereby, the reference block use determining means 3
In 106, using the coding amount of the target image coding unit 1107 and the coding amount of the entropy coding unit 1105, if the coding amount of the target image coding unit 1107 is smaller, the coding is performed. If data is output and the code amount in the entropy coding unit 1105 is smaller, switching is performed so as to output the coded data. If the code amount in the target image coding unit 1107 is smaller, a reference block use determination signal is output. As described above, according to the present embodiment, the reference block use determination unit 31106 uses the code amount as a reference and switches the coded data, thereby reducing blocks with low coding efficiency and reducing the code amount. Less and more efficient encoding is possible. Note that the same reference numerals are given to basically the same components as those in FIG.
【0115】又、本発明の参照ブロック利用制御手段
は、上記実施の形態12では、図12に示す構成の場合
について述べたが、これに限らず例えば、図35に示す
構成でも良い。即ち、図35に示す画像復号化装置は、
図11又は図34に示した画像符号化装置から出力され
た符号化データを復号化し対象ブロックを得る対象画素
復号化手段1206と、前記画像符号化装置から出力さ
れた前記参照ブロック利用判定信号に基づいて、前記エ
ントロピー復号化手段1201からの出力を、又は、前
記対象画素復号化手段1206からの出力を対象ブロッ
クとして出力させる参照ブロック利用制御手段3205
とを備えた構成である。これにより従来に比べてより効
率的な復号化が行える。尚、図12と基本的に同じもの
には、同じ符号を付した。In the twelfth embodiment, the reference block use control means of the present invention has been described with reference to the configuration shown in FIG. 12. However, the present invention is not limited to this, and may have a configuration shown in FIG. 35, for example. That is, the image decoding apparatus shown in FIG.
The target pixel decoding unit 1206 that decodes the encoded data output from the image encoding device illustrated in FIG. 11 or 34 to obtain a target block, and the reference block use determination signal output from the image encoding device. A reference block utilization control unit 3205 for outputting the output from the entropy decoding unit 1201 or the output from the target pixel decoding unit 1206 as a target block
This is a configuration including: As a result, more efficient decoding can be performed as compared with the related art. It is to be noted that the same components as those in FIG. 12 are denoted by the same reference numerals.
【0116】又、上記実施の形態では、動画像のt+1
フレーム目を対象2値画像とし、tフレーム目を参照2
値画像とする場合について説明したが、これに限らず例
えば、同一の被写体をステレオカメラで撮影し、同時刻
における、一方のカメラにより撮影された画像を対象2
値画像とし、他方のカメラにより撮影された画像を参照
2値画像とした場合でもかまわない。この場合でも上記
と同様の効果を発揮する。Also, in the above embodiment, t + 1 of the moving image
Set the frame as the target binary image and refer to the t-th frame.
The case where the image is a value image has been described. However, the present invention is not limited to this. For example, the same object is photographed by a stereo camera, and an image photographed by one camera
It is also possible to use an image taken by the other camera as a reference binary image. Even in this case, the same effect as described above is exerted.
【0117】尚、上述した様に、本発明に関連する第1
の技術は、被符号化画像である対象2値画像を入力と
し、前記対象2値画像を複数の画素を含むブロックに分
割し、対象ブロックを得るブロック化手段1と、予め得
られている参照2値画像を複数の画素を含むブロックに
分割し、参照ブロックを得るブロック化手段2と、前記
対象ブロックと前記参照ブロックを順次走査し、両画素
値の排他論理和を検出し、排他論理和ブロックを構成す
る排他論理和ブロック構成手段と、その排他論理和の符
号列を生成して符号化データとして出力する排他論理和
符号化手段とを備えた画像符号化装置である。As described above, the first aspect related to the present invention is
According to the technique, a target binary image, which is an image to be coded, is input, the target binary image is divided into blocks including a plurality of pixels, and a blocking unit 1 that obtains a target block is provided. A blocker 2 for dividing the binary image into blocks including a plurality of pixels to obtain a reference block; sequentially scanning the target block and the reference block to detect an exclusive OR of both pixel values; An image encoding apparatus includes: an exclusive OR block forming unit that constitutes a block; and an exclusive OR encoding unit that generates a code string of the exclusive OR and outputs the encoded data as encoded data.
【0118】又、本発明に関連する第2の技術は、予め
得られている参照2値画像を複数の画素を含むブロック
に分割し、参照ブロックを得るブロック化手段2と、上
記第1の技術の画像符号化装置により符号化された前記
符号化データを復号化し排他論理和ブロックを得る排他
論理和復号化手段と、前記排他論理和ブロックと前記参
照ブロックを合成し、対象ブロックを構成する対象ブロ
ック構成手段とを備えた画像復号化装置である。Further, a second technique related to the present invention is a blocking technique that divides a reference binary image obtained in advance into blocks including a plurality of pixels and obtains a reference block. An exclusive-OR decoding means for decoding the encoded data encoded by the image coding apparatus of the technique to obtain an exclusive-OR block, and combining the exclusive-OR block and the reference block to constitute a target block An image decoding apparatus comprising: a target block forming unit.
【0119】又、本発明に関連する第3の技術は、被符
号化画像である対象2値画像を入力とし、前記対象2値
画像を複数の画素を含むブロックに分割し、対象ブロッ
クを得るブロック化手段1と、予め得られている参照2
値画像を複数の画素を含むブロックに分割し、参照ブロ
ックを得るブロック化手段2と、前記対象ブロック中の
対象画素に対応する参照画素を含む参照ブロックにおけ
る前記参照画素の周囲画素の状態に基づいて、複数の統
計モデルから統計モデルを選択する統計モデル選択手段
と、前記対象画素を前記選択された統計モデルに基づい
てエントロピー符号化し、符号化データを出力するエン
トロピー符号化手段とを備えた画像符号化装置である。A third technique related to the present invention is to input a target binary image which is an image to be coded, divide the target binary image into blocks including a plurality of pixels, and obtain a target block. Blocking means 1 and reference 2 obtained in advance
A value dividing unit that divides the value image into blocks including a plurality of pixels and obtains a reference block, based on a state of surrounding pixels of the reference pixel in the reference block including a reference pixel corresponding to the target pixel in the target block; A statistical model selecting means for selecting a statistical model from a plurality of statistical models, and entropy encoding means for entropy encoding the target pixel based on the selected statistical model and outputting encoded data. It is an encoding device.
【0120】又、本発明に関連する第4の技術は、予め
得られている参照2値画像を複数の画素を含むブロック
に分割し、参照ブロックを得るブロック化手段2と、前
記対象ブロック中の対象画素に対応する参照画素を含む
参照ブロックにおける前記参照画素の周囲画素の状態に
基づいて、複数の統計モデルから統計モデルを選択する
統計モデル選択手段と、前記選択された統計モデルに基
づいて、上記第3の技術の画像符号化装置から出力され
た符号化データをエントロピー復号化し、対象ブロック
を得るエントロピー復号化手段とを備えた画像復号化装
置である。Further, a fourth technique related to the present invention comprises a dividing means 2 for dividing a previously obtained reference binary image into blocks including a plurality of pixels to obtain a reference block; Statistical model selecting means for 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 the target pixel, based on the selected statistical model , An entropy decoding unit that entropy decodes the encoded data output from the image encoding device according to the third technique to obtain a target block.
【0121】又、本発明に関連する第5の技術は、前記
対象ブロックにもっとも類似したブロックを前記参照2
値画像から探索し、その探査結果から動き情報を得る動
き推定手段を更に備え、前記ブロック化手段2は、前記
参照2値画像を前記動き情報により動き補償して、参照
ブロックを得る動き補償ブロック化手段2であり、前記
動き情報を出力することを特徴とする上記第3の技術の
画像符号化装置である。Further, according to a fifth technique relating to the present invention, a block most similar to the target block is referred to as the reference 2.
A motion estimating unit that searches from the value image and obtains motion information from the search result, wherein the blocking unit 2 performs motion compensation on the reference binary image with the motion information to obtain a reference block The image encoding device according to the third technique, wherein the image encoding device outputs the motion information.
【0122】又、本発明に関連する第6の技術は、前記
ブロック化手段2は、前記予め得られている参照2値画
像を、上記第5の技術の画像符号化装置から出力された
前記動き情報により動き補償して参照ブロックを得る動
き補償ブロック化手段2であることを特徴とする上記第
4の技術の画像復号化装置である。According to a sixth technique relating to the present invention, the blocking means 2 converts the previously obtained reference binary image into the image output from the image encoding apparatus of the fifth technique. The image decoding apparatus according to the fourth technique, characterized in that the image decoding apparatus is a motion compensation block forming unit 2 that obtains a reference block by performing motion compensation using motion information.
【0123】又、本発明に関連する第7の技術は、前記
対象ブロックと前記参照ブロックとを比較し、その比較
結果に基づいて前記参照ブロックを利用するか否かの判
定を行い、以降の各種手段の駆動を切り替える参照ブロ
ック利用判定手段と、前記対象ブロックの画素値の符号
化列を生成して符号化データとして出力する対象画素符
号化手段とを備え、前記参照ブロック利用判定手段が参
照ブロックを利用すると判定した場合は、前記エントロ
ピー符号化手段及び前記統計モデル選択手段を駆動させ
て、前記エントロピー符号化手段から符号化データを出
力させ、又、利用しないと判定した場合は、前記対象画
素符号化手段を駆動させて、前記対象画素符号化手段か
ら符号化データを出力させ、前記参照ブロックを利用す
るか否かの判定結果を参照ブロック利用判定信号として
出力することを特徴とする上記第3の技術の画像符号化
装置である。A seventh technique related to the present invention compares the target block with the reference block, and determines whether or not to use the reference block based on the comparison result. A reference block use determining unit that switches the driving of various units; and a target pixel coding unit that generates a coded sequence of pixel values of the target block and outputs the coded data as coded data. When it is determined that the block is used, the entropy coding unit and the statistical model selection unit are driven to output coded data from the entropy coding unit. The pixel encoding means is driven to output encoded data from the target pixel encoding means, and it is determined whether or not to use the reference block. Outputting the reference block usage determination signal is an image coding apparatus of the third technology characterized.
【0124】又、本発明に関連する第8の技術は、上記
第7の技術の画像符号化装置から出力された参照ブロッ
ク利用判定信号に基づいて、前記参照ブロックを利用す
るか否かの判定を行い、以降の各種手段の駆動を切り替
える参照ブロック利用制御手段と、前記画像符号化装置
から出力された符号化データを復号化し対象ブロックを
得る対象画素復号化手段とを備え、前記参照ブロック利
用制御手段が参照ブロックを利用すると判定した場合
は、前記エントロピー復号化手段及び前記統計モデル選
択手段を駆動させて、前記エントロピー復号化手段から
対象ブロックを出力させ、又、利用しないと判定した場
合は、前記対象画素復号化手段を駆動させて、前記対象
画素復号化手段から対象ブロックを出力させる上記第4
の技術の画像復号化装置である。According to an eighth technique relating to the present invention, it is determined whether or not the reference block is to be used, based on a reference block use determination signal output from the image coding apparatus according to the seventh technique. The reference block use control means for switching the driving of the various means thereafter, and target pixel decoding means for decoding the coded data output from the image coding apparatus to obtain a target block, If the control means determines that the reference block is to be used, the entropy decoding means and the statistical model selecting means are driven to output the target block from the entropy decoding means, and if it is determined that the block is not used, Driving the target pixel decoding means to output a target block from the target pixel decoding means.
An image decoding apparatus according to the technique of (1).
【0125】又、本発明に関連する第9の技術は、被符
号化画像である対象2値画像を入力とし、対象2値画像
を複数の画素を含むブロックに分割し、対象ブロックを
得るブロック化手段1と、予め得られている参照2値画
像を複数の画素を含むブロックに分割し、参照ブロック
を得るブロック化手段2と、前記参照ブロックから対象
画素の統計モデルを生成する統計モデル生成手段と、前
記対象画素を前記生成された統計モデルに基づいてエン
トロピー符号化し、符号化データとして出力するエント
ロピー符号化手段とを備えた画像符号化装置である。A ninth technique related to the present invention is a block which receives a target binary image which is an image to be encoded, divides the target binary image into blocks including a plurality of pixels, and obtains a target block. Means for dividing, a reference binary image obtained in advance into blocks including a plurality of pixels, and a blocking means 2 for obtaining a reference block; and a statistical model generation for generating a statistical model of a target pixel from the reference block. An image encoding apparatus comprising: means; and entropy encoding means for entropy encoding the target pixel based on the generated statistical model and outputting the encoded data as encoded data.
【0126】又、本発明に関連する第10の技術は、予
め得られている参照2値画像を複数の画素を含むブロッ
クに分割し、参照ブロックを得るブロック化手段2と、
前記参照ブロックから対象画素の統計モデルを生成する
統計モデル生成手段と、上記第9の技術の画像符号化装
置から出力された符号化データを前記生成された統計モ
デルに基づいてエントロピー復号化し、対象ブロックを
得るエントロピー復号化手段とを備えた画像復号化装置
である。A tenth technique related to the present invention is a blocking means 2 for dividing a reference binary image obtained in advance into blocks including a plurality of pixels to obtain a reference block,
A statistical model generating means for generating a statistical model of the target pixel from the reference block, and entropy decoding of the encoded data output from the image encoding device according to the ninth technique based on the generated statistical model, An image decoding device comprising: an entropy decoding unit for obtaining a block.
【0127】又、本発明に関連する第11の技術は、被
符号化画像である対象2値画像を入力とし、前記対象2
値画像を複数の画素を含むブロックに分割し、対象ブロ
ックを得るステップと、予め得られている参照2値画像
を複数の画素を含むブロックに分割し、参照ブロックを
得るステップと、前記対象ブロックと前記参照ブロック
を順次走査し、両画素値の排他論理和を検出し、排他論
理和ブロックを構成するステップと、その排他論理和の
符号列を生成して符号化データとして出力するステップ
とを備えた画像符号化方法である。An eleventh technique related to the present invention is such that a target binary image which is an
Dividing the value image into blocks including a plurality of pixels to obtain a target block; dividing the 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. Image encoding method provided.
【0128】又、本発明に関連する第12の技術は、予
め得られている参照2値画像を複数の画素を含むブロッ
クに分割し、参照ブロックを得るステップと、上記第1
1の技術の画像符号化方法により符号化された前記符号
化データを入力とし、前記符号化データを復号化し排他
論理和ブロックを得るステップと、前記排他論理和ブロ
ックと前記参照ブロックを合成し、対象ブロックを構成
するステップとを備えた画像復号化方法である。According to a twelfth technique related to the present invention, a reference binary image obtained in advance is divided into blocks each including a plurality of pixels to obtain a reference block.
Inputting the encoded data encoded by the image encoding method of the first technology, decoding the encoded data to obtain an exclusive OR block, synthesizing the exclusive OR block and the reference block, And a step of configuring a target block.
【0129】又、本発明に関連する第13の技術は、被
符号化画像である対象2値画像を入力とし、前記対象2
値画像を複数の画素を含むブロックに分割し、対象ブロ
ックを得るブロックステップ1と、予め得られている参
照2値画像を複数の画素を含むブロックに分割し、参照
ブロックを得るブロック化ステップ2と、前記対象ブロ
ック中の対象画素に対応する参照画素を含む参照ブロッ
クにおける前記参照画素の周囲画素の状態に基づいて、
複数の統計モデルから統計モデルを選択する統計モデル
選択ステップと、前記対象画素を前記選択された統計モ
デルに基づいてエントロピー符号化し、符号化データを
出力するエントロピー符号化ステップとを備えた画像符
号化方法である。A thirteenth technique related to the present invention is that a target binary image which is an
Step 1 of dividing the value image into blocks including a plurality of pixels to obtain a target block, and Step 2 of dividing a previously obtained reference binary image 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,
A statistical model selecting step of selecting a statistical model from a plurality of statistical models; and an entropy encoding step of entropy encoding the target pixel based on the selected statistical model and outputting encoded data. Is the way.
【0130】又、本発明に関連する第14の技術は、予
め得られている参照2値画像を複数の画素を含むブロッ
クに分割し、参照ブロックを得るブロック化ステップ2
と、前記対象ブロック中の対象画素に対応する参照画素
を含む参照ブロックにおける前記参照画素の周囲画素の
状態に基づいて、複数の統計モデルから統計モデルを選
択する統計モデル選択ステップと、前記選択された統計
モデルに基づいて、上記第13の技術の画像符号化方法
により出力された符号化データをエントロピー復号化
し、対象ブロックを得るエントロピー復号化ステップと
を備えた画像復号化方法である。According to a fourteenth technique related to the present invention, a reference binary image obtained in advance is divided into blocks including a plurality of pixels, and a block forming step of obtaining a reference block is performed.
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 the target pixel in the target block; Entropy decoding of the encoded data output by the image encoding method of the thirteenth technique based on the statistical model obtained above to obtain a target block.
【0131】又、本発明に関連する第15の技術は、前
記対象ブロックにもっとも類似したブロックを前記参照
2値画像から探索し、その探査結果から動き情報を得る
動き推定ステップを更に備え、前記ブロック化ステップ
2は、前記参照2値画像を前記動き情報により動き補償
して、参照ブロックを得る動き補償ブロック化ステップ
2であり、前記動き情報を出力する上記第13の技術の
画像符号化方法である。A fifteenth technique related to the present invention further comprises a motion estimating step of searching the reference binary image for a block most similar to the target block, and obtaining motion information from the search result. The blocking step 2 is a motion-compensated blocking step 2 for obtaining a reference block by motion-compensating the reference binary image with the motion information, and outputting the motion information according to the thirteenth technique. It is.
【0132】又、本発明に関連する第16の技術は、前
記ブロック化ステップ2は、前記予め得られている参照
2値画像を、上記第15の技術の画像符号化方法により
出力された前記動き情報により動き補償して参照ブロッ
クを得る動き補償ブロック化ステップ2であることを特
徴とする上記第14の技術の画像復号化方法である。According to a sixteenth technique relating to the present invention, in the blocking step 2, the reference binary image obtained in advance is obtained by converting the reference binary image output by the image encoding method of the fifteenth technique. The image decoding method according to the fourteenth technique, which is a motion compensation block forming step 2 of obtaining a reference block by performing motion compensation using motion information.
【0133】又、本発明に関連する第17の技術は、前
記対象ブロックと前記参照ブロックとを比較し、その比
較結果に基づいて前記参照ブロックを利用するか否かの
判定を行い、以降の各種ステップの実行を切り替える参
照ブロック利用判定ステップと、前記対象ブロックの画
素値の符号化列を生成して符号化データとして出力する
対象画素符号化ステップとを備え、前記参照ブロック利
用判定ステップで参照ブロックを利用すると判定した場
合は、前記エントロピー符号化ステップ及び前記統計モ
デル選択ステップを実行させて、前記エントロピー符号
化ステップにより符号化データを出力させ、又、利用し
ないと判定した場合は、前記対象画素符号化ステップを
実行させて、前記対象画素符号化ステップにより符号化
データを出力させ、前記参照ブロックを利用するか否か
の判定結果を参照ブロック利用判定信号として出力する
ことを特徴とする上記第13の技術の画像符号化方法で
ある。According to a seventeenth technique related to the present invention, the target block is compared with the reference block, and whether or not the reference block is used is determined based on the comparison result. A reference block use determining step of switching execution of various steps; and a target pixel coding step of generating a coded sequence of pixel values of the target block and outputting the coded data as coded data. When it is determined that the block is used, the entropy coding step and the statistical model selecting step are executed, and the encoded data is output by the entropy coding step. Executing a pixel encoding step, and outputting encoded data in the target pixel encoding 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の技術の画像復号化方法である。According to an eighteenth technique relating to the present invention, it is determined whether or not to use the reference block based on the reference block use determination signal output by the image coding method of the seventeenth technique. And a target pixel decoding step of decoding the encoded data output by the image encoding method to obtain a target block. If the control step determines that the reference block is to be used, the entropy decoding step and the statistical model selection step are performed, and the target block is output by the entropy decoding step. , Causing the target pixel decoding step to be executed, and The outputting the block first
This is an image decoding method according to the fourth technique.
【0135】又、本発明に関連する第19の技術は、被
符号化画像である対象2値画像を入力とし、対象2値画
像を複数の画素を含むブロックに分割し、対象ブロック
を得るステップと、予め得られている参照2値画像を複
数の画素を含むブロックに分割し、参照ブロックを得る
ステップと、前記参照ブロックから対象画素の統計モデ
ルを生成するステップと、前記対象画素を前記生成され
た統計モデルに基づいてエントロピー符号化し、符号化
データとして出力するステップとを備えた画像符号化方
法である。According to a nineteenth technique related to the present invention, a target binary image, which is an image to be coded, is input, the target binary image is divided into blocks including a plurality of pixels, and a target block is obtained. Dividing a previously obtained reference binary image 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. Entropy-encoding based on the obtained statistical model and outputting the encoded data as encoded data.
【0136】又、本発明に関連する第20の技術は、予
め得られている参照2値画像を複数の画素を含むブロッ
クに分割し、参照ブロックを得るステップと、前記参照
ブロックから対象画素の統計モデルを生成するステップ
と、上記第19の技術の画像符号化方法により出力され
た符号化データを前記生成された統計モデルに基づいて
エントロピー復号化し、対象ブロックを得るステップと
を備えた画像復号化方法である。According to a twentieth technique relating to the present invention, a reference binary image obtained in advance is divided into blocks each including a plurality of pixels to obtain a reference block, and a step of obtaining a target pixel from the reference block is performed. Image decoding comprising the steps of: generating a statistical model; and entropy decoding encoded data output by the image encoding method according to the nineteenth technology based on the generated statistical model to obtain a target block. Method.
【0137】以上述べたところから明らかなように本発
明に関連する技術は、予め得られている相関が高い2値
画像から被符号化画素を予測し、その差異を符号化する
ことにより、従来の2値画像符号化・復号化技術を用い
るよりもより一層効率良く符号化・復号化が可能な、画
像符号化装置、画像復号化装置、画像符号化方法、画像
復号化方法に関するものであり、従来の2値画像符号化
技術を用いるよりも効率の良い符号化、復号化が行える
と言う長所を有する。As is apparent from the above description, the technique related to the present invention predicts a pixel to be coded from a previously obtained binary image having a high correlation, and encodes the difference to obtain a conventional image. The present invention relates to an image encoding device, an image decoding device, an image encoding method, and an image decoding method capable of encoding / decoding even more efficiently than using the binary image encoding / decoding technology. In addition, there is an advantage that coding and decoding can be performed more efficiently than using a conventional binary image coding technique.
【0138】[0138]
【発明の効果】以上述べたところから明らかなように本
発明に関連する技術は、従来の2値画像符号化技術を用
いるよりも効率の良い復号化が行えると言う長所を有す
る。As is apparent from the above description, the technology related to the present invention has an advantage that decoding can be performed more efficiently than using the conventional binary image coding technology.
【図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 apparatus according to a second embodiment of the present invention.
【図3】本発明の第3の実施の形態における画像符号化
装置のブロック図FIG. 3 is a block diagram of an image encoding device 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 apparatus according to an eighth embodiment of the present invention.
【図9】本発明の第9の実施の形態における画像符号化
装置のブロック図FIG. 9 is a block diagram of an image encoding device 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 encoding device 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 apparatus 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 sixteenth 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 apparatus 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 a diagram illustrating the principle of arithmetic coding.
【図22】算術符号化のブロック図FIG. 22 is a block diagram of arithmetic coding.
【図23】統計モデルテーブルの一部の図FIG. 23 is a diagram illustrating a part of a statistical model table;
【図24】統計モデルテーブルの一部の図FIG. 24 is a diagram showing a part of a statistical model table;
【図25】統計モデルテーブルの一部の図FIG. 25 is a partial diagram of a statistical model table;
【図26】統計モデルテーブルの一部の図FIG. 26 is a diagram illustrating a part of a statistical model table;
【図27】外挿参照ブロックの説明図FIG. 27 is an explanatory diagram of an extrapolation reference block.
【図28】統計モデルテーブルのインデックスの説明図FIG. 28 is an explanatory diagram of an index of a 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 still another embodiment of the present invention.
【図33】本発明の又別の実施の形態における画像復号
化装置のブロック図FIG. 33 is a block diagram of an image decoding apparatus according to still another embodiment of the present invention.
【図34】本発明の更に別の実施の形態における画像符
号化装置のブロック図FIG. 34 is a block diagram of an image encoding device 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.
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 Constructing Means 301 Blocking Means 1 302 Motion Compensation Block Means 2 303 exclusive OR block forming means 304 exclusive OR coding means 305 motion estimating means 401 exclusive OR decoding means 402 motion compensation blocking means 2 403 target block forming means 501 blocking means 1 502 blocking means 2 503 Exclusive OR block structuring unit 504 Exclusive OR coding unit 505 Reference block use determining unit 506 Target pixel encoding unit 601 Exclusive OR decoding unit 602 Blocking unit 2 603 Target block forming unit 604 Reference block Usage control means 605 Target pixel decoding means 701 Blocking means 1 702 Blocking means 2 703 Statistical model estimating means 704 Statistical model 705 Entropy coding means 801 Entropy decoding means 802 Blocking means 2 803 Statistical model estimating means 804 Statistical model 901 Blocking means 1 902 Motion compensation blocking means 2 903 Statistical model estimating means 904 Statistical model 905 Entropy coding means 906 Motion estimating means 1001 Entropy decoding means 1002 Motion compensation blocking means 2 1003 Statistical model selecting means 1004 Statistical model table 1101 blocking means 1 1102 blocking means 2 1103 statistical model selecting means 1104 statistical model table 1105 entropy coding means 1106 Block use determining means 1107 target pixel coding means 1201 entropy decoding means 1202 blocking means 2 1203 statistical model selecting means 1204 statistical model table 1205 reference block use control means 1206 target pixel decoding means 1301 blocking means 1 1302 blocking means 2 1303 Statistical model estimating means 1304 Statistical model 1305 Entropy coding means 1401 Entropy decoding means 1402 Blocking means 2 1403 Statistical model estimating means 1404 Statistical model 1501 Blocking means 1 1502 Motion compensation blocking 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 Means 2 1603 Statistical model estimating means 1604 Statistical model 1701 Blocking means 1 1702 Blocking means 2 1703 Statistical model estimating means 1704 Statistical model 1705 Entropy estimating means 1706 Reference block use determining means 1707 Target pixel coding means 1801 Entropy decoding means 1802 Blocking unit 2 1803 Statistical model estimation unit 1804 Statistical model 1805 Reference block use control unit 1806 Target pixel decoding unit 1901 Mask moving image 1902 Reference image 1903 Target image 1904 Reference divided image 1905 Target divided 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 sequence 201 Introduction 2202 Range initialization 2203 Symbol input 2204 Range limitation 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
Claims (10)
れた符号化データを復号化し、対象ブロックの2値画像
を得る画像復号化装置において、 復号化対象である前記対象ブロックを有する対象フレー
ムよりも以前に復号されたフレームから参照2値画像を
得る参照2値画像生成手段と、 前記参照2値画像から複数の画素を含む参照ブロックを
得る参照ブロック生成手段と、 前記参照ブロック中にある前記対象ブロック中の対象画
素に対応する参照画素の状態、及び前記参照画素の周囲
画素の状態に基づいて、複数の統計モデルから統計モデ
ルを選択する統計モデル選択手段と、 前記選択された統計モデルに基づいて前記符号化デ−タ
を復号化し、前記対象ブロックの2値画像を得る算術復
号化手段と、を備えたことを特徴とする画像復号化装
置。An image decoding apparatus for decoding coded data obtained by coding a binary image for each block to obtain a binary image of a target block, comprising: a target having the target block to be decoded. A reference binary image generating means for obtaining a reference binary image from a frame decoded before the frame; a reference block generating means for obtaining a reference block including a plurality of pixels from the reference binary image; Statistical model selecting means for selecting a statistical model from a plurality of statistical models based on a state of a reference pixel corresponding to a target pixel in the certain target block and a state of pixels surrounding the reference pixel; Arithmetic decoding means for decoding the encoded data based on a model to obtain a binary image of the target block. Apparatus.
照画素の周囲1画素範囲内に位置する周囲画素であるこ
とを特徴とする請求項1記載の画像復号化装置。2. The image decoding apparatus according to claim 1, wherein the peripheral pixels of the reference pixel are peripheral pixels located within one pixel range around the reference pixel.
照画素の上下左右に位置する4画素であることを特徴と
する請求項1記載の画像復号化装置。3. The image decoding apparatus according to claim 1, wherein the surrounding pixels of the reference pixel are four pixels located above, below, right and left of the reference pixel.
素の状態及び前記参照画素の周囲画素の状態に加えて、
前記対象画素の周囲画素の状態に基づいて、複数の統計
モデルから統計モデルを選択する統計モデル選択手段で
あることを特徴とする請求項1から3のいずれか1項記
載の画像復号化装置。4. The statistical model selecting means, in addition to a state of the reference pixel and a state of pixels surrounding the reference pixel,
The image decoding apparatus according to any one of claims 1 to 3, wherein the image decoding apparatus is a statistical model selecting unit that selects a statistical model from a plurality of statistical models based on a state of pixels surrounding the target pixel.
象画素の上、左、左上、右上に位置することを特徴とす
る請求項4記載の画像復号化装置。5. The image decoding apparatus according to claim 4, wherein the surrounding pixels of the target pixel are located above, left, upper left, and upper right of the target pixel.
れた符号化データを復号化し、対象ブロックの2値画像
を得る画像復号化方法において、 復号化対象である前記対象ブロックを有する対象フレー
ムよりも以前に復号されたフレームから参照2値画像を
得る参照2値画像生成ステップと、 前記参照2値画像から複数の画素を含む参照ブロックを
得る参照ブロック生成ステップと、 前記参照ブロック中にある前記対象ブロック中の対象画
素に対応する参照画素の状態、及び前記参照画素の周囲
画素の状態に基づいて、複数の統計モデルから統計モデ
ルを選択する統計モデル選択ステップと、 前記選択された統計モデルに基づいて前記符号化デ−タ
を復号化し、前記対象ブロックの2値画像を得る算術復
号化ステップと、を備えたことを特徴とする画像復号化
方法。6. An image decoding method for decoding coded data obtained by coding a binary image for each block to obtain a binary image of a target block, comprising: a target having the target block to be decoded. A reference binary image generating step of obtaining a reference binary image from a frame decoded earlier than a frame; a reference block generating step of obtaining a reference block including a plurality of pixels from the reference binary image; A statistical model selecting step of selecting a statistical model from a plurality of statistical models based on a state of a reference pixel corresponding to the target pixel in the certain target block, and a state of pixels surrounding the reference pixel; An arithmetic decoding step of decoding the encoded data based on a model to obtain a binary image of the target block. Picture decoding method according to.
照画素の周囲1画素範囲内に位置する周囲画素であるこ
とを特徴とする請求項6記載の画像復号化方法。7. The image decoding method according to claim 6, wherein the surrounding pixels of the reference pixel are surrounding pixels located within one pixel range around the reference pixel.
照画素の上下左右に位置する4画素であることを特徴と
する請求項6記載の画像復号化方法。8. The image decoding method according to claim 6, wherein the surrounding pixels of the reference pixel are four pixels located above, below, right and left of the reference pixel.
照画素の状態及び前記参照画素の周囲画素の状態に加え
て、前記対象画素の周囲画素の状態に基づいて、複数の
統計モデルから統計モデルを選択する統計モデル選択ス
テップであることを特徴とする請求項6から8のいずれ
か1項記載の画像復号化方法。9. The statistical model selecting step includes, based on a state of the peripheral pixel of the target pixel and a state of the peripheral pixel of the reference pixel, a statistical model from a plurality of statistical models. 9. The image decoding method according to claim 6, further comprising a step of selecting a statistical model to be selected.
対象画素の上、左、左上、右上に位置することを特徴と
する請求項9記載の画像復号化方法。10. The image decoding method according to claim 9, wherein the surrounding pixels of the target pixel are located above, left, upper left, and upper right of the target pixel.
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 |
|---|---|---|---|
| JP20234696 | 1996-07-31 | ||
| JP8-202346 | 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 true JP2001352550A (en) | 2001-12-21 |
| JP3466162B2 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 |
| 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 |
| JP2001105136A Expired - Fee Related JP3466163B2 (en) | 1996-07-31 | 2001-04-03 | Image decoding apparatus and image decoding method |
| 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 device, image decoding device, 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 |
| 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 |
| JP2001105136A Expired - Fee Related JP3466163B2 (en) | 1996-07-31 | 2001-04-03 | Image decoding apparatus and image decoding method |
Family Applications After (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2002359696A Pending JP2003235045A (en) | 1996-07-31 | 2002-12-11 | Image encoding device, image decoding device, image encoding method, image decoding method, and medium |
Country Status (1)
| Country | Link |
|---|---|
| JP (5) | JP3466058B2 (en) |
Families Citing this family (13)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6996280B1 (en) | 1998-06-09 | 2006-02-07 | 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 device and method, decoding device and method, recording medium, and program |
| CN1655620B (en) | 2004-02-09 | 2010-09-22 | 三洋电机株式会社 | Image display device |
| 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 |
| JP5234870B1 (en) * | 2013-02-08 | 2013-07-10 | ソニー株式会社 | Encoding apparatus and method, recording medium, and program |
| JP5234874B1 (en) * | 2013-02-08 | 2013-07-10 | ソニー株式会社 | Encoding apparatus and method, recording medium, and program |
| JP5234873B2 (en) * | 2013-02-08 | 2013-07-10 | ソニー株式会社 | Decoding 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 |
-
1997
- 1997-07-30 JP JP20401897A patent/JP3466058B2/en not_active Expired - Fee Related
-
2001
- 2001-04-03 JP JP2001105137A patent/JP3466164B2/en not_active Expired - Fee Related
- 2001-04-03 JP JP2001105136A patent/JP3466163B2/en not_active Expired - Fee Related
- 2001-04-03 JP JP2001105135A patent/JP3466162B2/en not_active Expired - Fee Related
-
2002
- 2002-12-11 JP JP2002359696A patent/JP2003235045A/en active Pending
Also Published As
| Publication number | Publication date |
|---|---|
| JP2001352551A (en) | 2001-12-21 |
| JP2001359106A (en) | 2001-12-26 |
| JP3466163B2 (en) | 2003-11-10 |
| JPH1098732A (en) | 1998-04-14 |
| JP3466164B2 (en) | 2003-11-10 |
| JP3466162B2 (en) | 2003-11-10 |
| JP3466058B2 (en) | 2003-11-10 |
| JP2003235045A (en) | 2003-08-22 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP6352452B2 (en) | Method and apparatus for syntactic binarization and context adaptive coding in video coding | |
| US11425386B2 (en) | Method and apparatus for range derivation in context adaptive binary arithmetic coding | |
| EP0917351B1 (en) | Picture decoder and picture decoding method | |
| JP3466163B2 (en) | Image decoding apparatus and image decoding method | |
| JPH02177766A (en) | Hierarchical encoding system for binary image | |
| US5933105A (en) | Context-based arithmetic encoding/decoding method and apparatus | |
| US6263115B1 (en) | Method and apparatus for encoding a binary shape signal | |
| JP4356240B2 (en) | Encoding apparatus and method, decoding apparatus and method | |
| JP2019140630A (en) | Video encoder, video decoder, and their program | |
| EP0929976B1 (en) | Method and apparatus for motion estimation | |
| US6240214B1 (en) | Method and apparatus for encoding a binary shape signal | |
| JP6849781B2 (en) | Image coding device, image coding method and computer program | |
| JP2697897B2 (en) | Color image encoding method and apparatus | |
| JP3228943B2 (en) | Encoding device and decoding device, their methods and image processing device | |
| JP2004172709A (en) | Image encoding device, image encoding method, image decoding device, image decoding method, and storage medium therefor | |
| JPH11272847A (en) | Apparatus and method for encoding moving image composed of multi-color images, and apparatus and method for decoding moving image composed of multi-color images | |
| JPWO1997035422A1 (en) | Encoding and decoding devices and methods thereof | |
| JPH1175070A (en) | Color picture encoding and decoding method and device therefor |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20070829 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080829 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080829 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090829 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090829 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100829 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110829 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110829 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120829 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (event 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 |