JPH10229564A - Image encoder, image decoder, image encoding method and image decoding method - Google Patents

Image encoder, image decoder, image encoding method and image decoding method

Info

Publication number
JPH10229564A
JPH10229564A JP33839697A JP33839697A JPH10229564A JP H10229564 A JPH10229564 A JP H10229564A JP 33839697 A JP33839697 A JP 33839697A JP 33839697 A JP33839697 A JP 33839697A JP H10229564 A JPH10229564 A JP H10229564A
Authority
JP
Japan
Prior art keywords
image
block
decoding
encoding
frame
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
Application number
JP33839697A
Other languages
Japanese (ja)
Other versions
JP3191753B2 (en
Inventor
Taisuke Matsumoto
泰輔 松本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP33839697A priority Critical patent/JP3191753B2/en
Publication of JPH10229564A publication Critical patent/JPH10229564A/en
Application granted granted Critical
Publication of JP3191753B2 publication Critical patent/JP3191753B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

PROBLEM TO BE SOLVED: To improve encoding efficiency by adaptively selecting whether to perform encoding/decoding by a field unit or to perform encoding/decoding by a frame unit for respective blocks for shape information images as well at the time encoding/decoding input images. SOLUTION: Binary digital images divided into two-dimensional blocks constituted of plural picture elements are inputted to a frame encoding means 16 and a field encoding means 17 as input image signals for the respective blocks and an encoding processing is respectively performed. Then, the code amounts of encoded image signals from the frame encoding means 16 and the field encoding means 17 are compared by a mode judgement means 67, the encoded image signals of a less code amount are selected by a switching means 12 and a multiplex means 13 outputs mode information 149 and the encoded image signals 142 as bit stream signals 14 by multiplexing. Thus, the encoding efficiency is improved corresponding to the movement of moving images.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、ディジタル画像を
符号化/復号化する画像符号化装置/画像復号化装置、
画像符号化方法/画像復号化方法およびそれをソフトウ
ェアによって実現するためのコンピュータプログラムが
記録された記録媒体に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image encoding / decoding apparatus for encoding / decoding a digital image,
The present invention relates to an image encoding method / image decoding method and a recording medium on which a computer program for realizing the method is implemented by software.

【0002】[0002]

【従来の技術】現在インターレース構造を持つディジタ
ル画像を符号化/復号化する方法の標準勧告としてITU-
T H.262があり、NTSCなどのテレビジョン信号を効率よ
く符号化/復号化することができる。
2. Description of the Related Art At present, the standard recommendation of a method for encoding / decoding a digital image having an interlaced structure is ITU-
There is TH.262, which can efficiently encode / decode television signals such as NTSC.

【0003】また、ディジタル画像を符号化/復号化す
る際に、画素の輝度信号および色差信号値だけでなく、
物体の形状を表す形状情報信号も含めて符号化/復号化
を行なう方法がISO/IEC MPEG4の評価モデルとして採用
されている(ISO/IEC JTC/SC29/WG11 N1469 November 19
96)。
When encoding / decoding a digital image, not only the luminance signal and color difference signal value of a pixel but also
The encoding / decoding method including the shape information signal representing the shape of the object is adopted as an evaluation model of ISO / IEC MPEG4 (ISO / IEC JTC / SC29 / WG11 N1469 November 19
96).

【0004】この方法では、形状情報によって示された
有意な画素についてのみ輝度信号および色差信号の符号
化/復号化を行なうことによって符号量の効果的な削減
を行なえるだけでなく、形状情報に従って画像の合成な
どが容易に行なえるという特徴がある。
[0004] In this method, not only can the effective amount of code be reduced by encoding / decoding the luminance signal and the color difference signal only for the significant pixels indicated by the shape information, but also in accordance with the shape information. There is a feature that images can be easily synthesized.

【0005】[0005]

【発明が解決しようとする課題】上記に示したMPEG4の
評価モデルでは1フレームが2つのフィールドによって
構成されているインターレース構造を持つ画像について
は考慮されていない。そのためインタレース構造をもつ
入力画像に対しては効率の良い符号化/復号化を行うこ
とができない。
The MPEG4 evaluation model described above does not consider an image having an interlace structure in which one frame is composed of two fields. Therefore, efficient encoding / decoding cannot be performed on an input image having an interlaced structure.

【0006】また、H.262では輝度信号および色差信号
についてはインターレース構造を考慮した動き補償方法
や離散コサイン変換について考慮されているが、有意形
状を示す二値画像の符号化方法としてはダウンサンプリ
ング、アップサンプリング、画素値の変化位置の予測な
どといったH.262では考慮されていない特別な方法が使
用されているため、H.262で採用されているインターレ
ース構造に対応した符号化/復号化手段を単純に採用す
ることはできない。
In H.262, a luminance signal and a chrominance signal are considered for a motion compensation method and a discrete cosine transform in consideration of an interlace structure. However, as a coding method of a binary image showing a significant shape, downsampling is used. Encoding / decoding means corresponding to the interlace structure employed in H.262, because special methods not taken into account in H.262, such as upsampling, prediction of pixel value change positions, etc., are used. Cannot simply be adopted.

【0007】本発明は、この様な画像符号化装置/画像
復号化装置において、入力画像を符号化/復号化する際
に、形状情報画像についてもブロック毎にフィールド単
位で符号化/復号化するかフレーム単位で符号化/復号
化するかを適応的に選択することによって符号化効率の
改善を行なうことを目的とする。
According to the present invention, in such an image encoding apparatus / image decoding apparatus, when encoding / decoding an input image, the shape information image is also encoded / decoded on a field-by-block basis for each block. An object of the present invention is to improve coding efficiency by adaptively selecting whether to perform coding / decoding in units of frames.

【0008】[0008]

【課題を解決するための手段】この課題を解決するため
に本発明は、1フレームが2つのフィールドによって構
成されたインタレース構造を持つ二値ディジタル画像を
入力として、前記画像を複数画素から構成される2次元
ブロックに分割しブロック毎に符号化を行なう画像符号
化装置において、符号化処理をフィールド単位で行なう
方法とフレーム単位で行なう方法をブロック毎に判定
し、モード情報を出力するモード判定手段と、前記モー
ド情報に従ってブロック毎にフィールド単位またはフレ
ーム単位で符号化を行なう符号化手段とから構成したも
のである。
According to the present invention, a binary digital image having an interlaced structure in which one frame is composed of two fields is input and the image is composed of a plurality of pixels. In an image coding apparatus which divides into two-dimensional blocks to be coded and performs coding on a block-by-block basis, a method for performing coding processing on a field basis and a method for performing frame processing on a frame basis are determined for each block, and mode determination for outputting mode information Means and coding means for performing coding on a field basis or on a frame basis for each block in accordance with the mode information.

【0009】また、上記画像符号化装置によって符号化
した画像符号化信号から1フレームが2つのフィールド
によって構成されたインタレース構造を持つ二値ディジ
タル画像を複数画素から構成された2次元ブロック毎に
復号化する画像復号化装置において、モード情報に従っ
てブロック毎にフィールド単位またはフレーム単位で復
号化処理を行なう復号化手段とから構成するようにした
ものである。
Further, a binary digital image having an interlaced structure in which one frame is composed of two fields is converted into a two-dimensional block composed of a plurality of pixels from an image encoded signal encoded by the image encoding apparatus. An image decoding apparatus for decoding is configured to include decoding means for performing a decoding process for each block in a field unit or a frame unit according to mode information.

【0010】これにより、ブロック毎にフィールド単位
で符号化/復号化するかフレーム単位で符号化/復号化
するかを適応的に選択することによって高効率の画像符
号化装置/画像復号化装置を実現できる。
[0010] This makes it possible to provide a high-efficiency image encoding apparatus / image decoding apparatus by adaptively selecting encoding / decoding on a field basis or encoding / decoding on a frame basis for each block. realizable.

【0011】[0011]

【発明の実施の形態】本発明の請求項1記載の発明は、
二値ディジタル画像を複数画素から構成されたブロック
に分割しブロック毎に符号化を行なう画像符号化装置に
おいて、フィールド単位符号化処理とフレーム単位符号
化処理のいずれか符号化効率の良い方をブロック毎に判
定することによって、符号化効率の向上が達成できると
いう作用を有する。
BEST MODE FOR CARRYING OUT THE INVENTION
In an image coding apparatus that divides a binary digital image into blocks composed of a plurality of pixels and performs coding for each block, one of a field-based coding process and a frame-based coding process, whichever has higher coding efficiency, is used as a block. By making a determination every time, there is an effect that the coding efficiency can be improved.

【0012】請求項2に記載の発明は、画像符号化信号
から二値ディジタル画像に復号化する画像復号化装置に
おいて、フィールド単位復号化処理とフレーム単位復号
化処理をモード情報によってブロック毎に切替えること
によって、正しく復号化できるという作用を有する。
According to a second aspect of the present invention, in an image decoding apparatus for decoding a coded image signal into a binary digital image, field-based decoding processing and frame-based decoding processing are switched for each block by mode information. This has the effect that decoding can be performed correctly.

【0013】請求項3に記載の発明は、二値ディジタル
画像を符号化する際に、フィールド単位ダウンサンプリ
ング処理とフレーム単位ダウンサンプリング処理のいず
れか効率の良い方をブロック毎に判定することによっ
て、符号化効率の向上が図れるという作用を有する。
According to a third aspect of the present invention, when encoding a binary digital image, the more efficient one of a field-based downsampling process and a frame-based downsampling process is determined for each block. This has the effect that the coding efficiency can be improved.

【0014】請求項4に記載の発明は、二値ディジタル
画像を復号する際に、フィールド単位ダウンサンプリン
グ処理とフレーム単位ダウンサンプリング処理をモード
情報によってブロック毎に切替えることによって、正し
く復号化できるという作用を有する。
According to a fourth aspect of the present invention, when a binary digital image is decoded, the decoding can be correctly performed by switching between the field-based downsampling processing and the frame-based downsampling processing for each block according to mode information. Having.

【0015】請求項5に記載の発明は、二値ディジタル
画像を符号化する際に、フィールド単位動き補償とフレ
ーム単位動き補償のいずれか効率の良い方をブロック毎
に判定することによって、符号化効率の向上が図れると
いう作用を有する。
According to a fifth aspect of the present invention, when a binary digital image is coded, the more efficient one of the field-based motion compensation and the frame-based motion compensation is determined for each block, whereby the coding is performed. This has the effect of improving efficiency.

【0016】請求項6に記載の発明は、二値ディジタル
画像を復号する際に、フィールド単位動き補償とフレー
ム単位動き補償をモード情報によってブロック毎に切替
えることにより、正しく復号化できるという作用を有す
る。
[0016] The invention described in claim 6 has the effect that, when a binary digital image is decoded, the field-based motion compensation and the frame-based motion compensation are switched on a block-by-block basis according to mode information, thereby enabling correct decoding. .

【0017】請求項7に記載の発明は、二値ディジタル
画像を符号化する際に、着目画素と画素値が変化する画
素との位置関係を符号化する画像符号化装置において、
画素値の変化点の検出をフィールド単位とフレーム単位
のいずれか効率の良い方をブロック毎に判定して行なう
ことによって、符号化効率の向上が達成できるという作
用を有する。
According to a seventh aspect of the present invention, there is provided an image encoding apparatus which encodes a positional relationship between a pixel of interest and a pixel whose pixel value changes when encoding a binary digital image.
By detecting the change point of the pixel value by determining which one of the field unit or the frame unit is more efficient for each block, the encoding efficiency can be improved.

【0018】請求項8に記載の発明は、着目している画
素と画素値が変化する画素との位置関係から二値ディジ
タル画像を復号する画像復号化装置において、画素値が
変化する画素の位置の計算をフィールド単位で行なうか
フレーム単位で行なうかをモード情報によってブロック
毎に切替えることによって、正しく復号化できるという
作用を有する。
According to an eighth aspect of the present invention, there is provided an image decoding apparatus for decoding a binary digital image from a positional relationship between a pixel of interest and a pixel whose pixel value changes. By performing switching for each block on the basis of mode information as to whether to perform the calculation in units of fields or in units of frames, there is an effect that decoding can be performed correctly.

【0019】請求項9に記載の発明は、二値ディジタル
画像を符号化する際に、着目画素の画素値の確率分布を
周辺の画素の画素値の分布状態から決定し、その確率分
布に従って着目画素の画素値を符号化する画像符号化装
置において、確率分布を決定するための周辺画素値の分
布状態の調査をフィールド単位とフレーム単位のいずれ
か効率の良い方をブロック毎に判定して行うことによっ
て、符号化効率の向上が達成できるという作用を有す
る。
According to a ninth aspect of the present invention, when encoding a binary digital image, the probability distribution of the pixel value of the pixel of interest is determined from the distribution state of the pixel values of the peripheral pixels, and attention is paid in accordance with the probability distribution. In an image encoding device that encodes pixel values of pixels, a distribution state of peripheral pixel values for determining a probability distribution is checked by determining which one of a field unit and a frame unit is more efficient for each block. This has the effect that the coding efficiency can be improved.

【0020】請求項10に記載の発明は、着目画素の画
素値の確率分布を周辺の画素の画素値の分布状態から決
定し、その確率分布に従って画素値を復号化する画像復
号化装置において、確率分布を決定するための周辺画素
値の分布状態の調査をフィールド単位で行うかフレーム
単位で行うかをモード情報によってブロック毎に切り替
えることによって、正しく復号化できるという作用を有
する。
According to a tenth aspect of the present invention, there is provided an image decoding apparatus for determining a probability distribution of a pixel value of a target pixel from a distribution state of pixel values of peripheral pixels and decoding a pixel value according to the probability distribution. By switching between the field state and the frame unit for investigating the distribution state of the peripheral pixel values for determining the probability distribution on a block-by-block basis based on the mode information, the decoding can be performed correctly.

【0021】請求項11に記載の発明は、着目画素の画
素値の確率分布を動き補償予測画像の画素値の分布状態
から決定し、その確率分布に従って着目画素の画素値を
符号化する画像符号化装置において、確率分布を決定す
るための動き補償予測画像の画素値の分布状態の調査を
フィールド単位とフレーム単位のいずれか効率の良い方
をブロック毎に判定して行うことによって、符号化効率
の向上が達成できるという作用を有する。
According to an eleventh aspect of the present invention, an image code for determining a probability distribution of a pixel value of a pixel of interest from a distribution state of pixel values of a motion-compensated predicted image and encoding the pixel value of the pixel of interest in accordance with the probability distribution. In the coding apparatus, the distribution state of the pixel value of the motion-compensated prediction image for determining the probability distribution is checked by determining which one of the field unit or the frame unit is more efficient for each block, thereby performing the coding efficiency. The effect is that the improvement of the can be achieved.

【0022】請求項12に記載の発明は、着目画素の画
素値の確率分布を動き補償予測画像の画素値の分布状態
から決定し、その確率分布に従って画素値を復号化する
画像復号化装置において、確率分布を決定するための動
き補償予測画像の画素値の分布状態の調査をフィールド
単位で行うかフレーム単位で行うかをモード情報に従っ
てブロック毎に切り替えることにより、正しく復号化で
きるという作用を有する。
According to a twelfth aspect of the present invention, there is provided an image decoding apparatus for determining a probability distribution of a pixel value of a target pixel from a distribution state of a pixel value of a motion-compensated prediction image, and decoding the pixel value according to the probability distribution. Has the effect that the decoding state can be correctly decoded by switching, for each block, according to the mode information whether to investigate the distribution state of the pixel values of the motion-compensated prediction image for determining the probability distribution on a field basis or on a frame basis. .

【0023】請求項13に記載の発明は、二値ディジタ
ル画像および多値ディジタル画像をブロック毎に符号化
する際に、二値ディジタル画像の符号化処理をフィール
ド単位とフレーム単位のいずれかで行なうかの選択を、
当該ブロックの多値ディジタル画像のモード情報に従属
して行なうことによって、二値ディジタル画像のモード
情報について特別な符号を用いる必要がなく符号化効率
の向上が達成できるという作用を有する。
According to a thirteenth aspect of the present invention, when a binary digital image and a multi-level digital image are encoded for each block, encoding of the binary digital image is performed in either a field unit or a frame unit. Choice of
By performing the operation in accordance with the mode information of the multi-level digital image of the block, there is an effect that it is not necessary to use a special code for the mode information of the binary digital image, and the encoding efficiency can be improved.

【0024】請求項14に記載の発明は、画像符号化信
号から二値ディジタル画像および多値ディジタル画像を
ブロック毎に復号化する際に、二値ディジタル画像の符
号か処理をフィールド単位とフレーム単位のいずれかで
行なうかの判定を、当該ブロックの多値ディジタル画像
のモード情報に従属して行うことによって、二値ディジ
タル画像のモード情報について特別な符号を用いること
なく正しく復号化できるという作用を有する。
According to a fourteenth aspect of the present invention, when a binary digital image and a multi-level digital image are decoded for each block from an image coded signal, the coding of the binary digital image is performed in field units and frame units. By performing the determination as to which mode is to be used depending on the mode information of the multi-level digital image of the block, the effect that the mode information of the binary digital image can be correctly decoded without using a special code. Have.

【0025】請求項15に記載の発明は、二値ディジタ
ル画像および多値ディジタル画像をブロック毎に符号化
する際に、フィールド単位符号化処理とフレーム単位符
号化処理のいずれかを二値ディジタル画像の符号化処理
として判定し、判定されたモード情報を当該ブロックの
多値ディジタル画像のモード情報の判定に反映させるこ
とにより、多値ディジタル画像のモード情報について特
別な符号を用いる必要がなく符号化効率の向上が達成で
きるという作用を有する。
According to a fifteenth aspect of the present invention, when a binary digital image and a multi-level digital image are encoded for each block, one of a field-based encoding process and a frame-based encoding process is performed by a binary digital image. And the reflected mode information is reflected in the determination of the mode information of the multi-level digital image of the block, thereby eliminating the need to use a special code for the mode information of the multi-level digital image. It has the effect that improvement in efficiency can be achieved.

【0026】請求項16に記載の発明は、画像符号化信
号から二値ディジタル画像および多値ディジタル画像を
ブロック毎に復号化する際に、二値ディジタル画像のモ
ード情報を、当該ブロックの多値ディジタル画像のモー
ド情報の選択に反映させることにより、多値ディジタル
画像のモード情報について特別な符号を用いることなく
正しく復号化できるという作用を有する。
According to a sixteenth aspect of the present invention, when a binary digital image and a multilevel digital image are decoded for each block from an image coded signal, the mode information of the binary digital image By reflecting the selection in the selection of the mode information of the digital image, the mode information of the multivalued digital image can be correctly decoded without using a special code.

【0027】請求項17に記載の発明は、二値ディジタ
ル画像を複数画素から構成される2次元ブロックに分割
し、ブロック毎に符号化を行なう画像符号化方法におい
て、前記二値デジタル画像をフィールド単位で符号化す
る工程と、前記二値デジタル画像をフレーム単位で符号
化する工程と、符号化処理の結果をフィールド単位およ
びフレーム単位で符号化した符号量の大きさでブロック
毎に判定し、符号化信号を出力する工程とを具備するこ
とより、フィールド単位符号化処理とフレーム単位符号
化処理のいずれか符号化効率の良い方をブロック毎に判
定することによって、符号化効率の向上が達成できると
いう作用を有する。
According to a seventeenth aspect of the present invention, there is provided an image encoding method for dividing a binary digital image into two-dimensional blocks each including a plurality of pixels and performing encoding for each block. The step of encoding in units, the step of encoding the binary digital image in units of frames, and the result of the encoding process is determined for each block in terms of the amount of code encoded in units of fields and frames, A step of outputting a coded signal, thereby improving the coding efficiency by judging which one of the field-based coding processing and the frame-based coding processing has higher coding efficiency for each block. Has the effect of being able to.

【0028】請求項18に記載の発明は、請求項17記
載の画像符号化方法によって符号化した画像符号化信号
から二値ディジタル画像に復号化する画像復号化方法に
おいて、モード情報に従ってブロック毎にフィールド単
位またはフレーム単位で復号化処理を行なう工程を具備
することにより、フィールド単位復号化処理とフレーム
単位復号化処理をモード情報によってブロック毎に切替
えることによって、正しく復号化できるという作用を有
する。
[0028] The invention according to claim 18 is an image decoding method for decoding an image coded signal coded by the image coding method according to claim 17 into a binary digital image. The provision of the step of performing the decoding process on a field basis or on a frame basis provides an effect that the decoding can be correctly performed by switching between the field unit decoding process and the frame unit decoding process for each block based on the mode information.

【0029】請求項19に記載の発明は、本発明の請求
項1から18までの少なくとも1つを実現させるプログ
ラムが記録されているコンピュータの記録媒体に記録し
て移送することにより、独立したコンピュータシステム
で容易に実現できるという作用を有する。
According to a nineteenth aspect of the present invention, there is provided an independent computer by recording and transferring to a recording medium of a computer in which a program for realizing at least one of the first to eighteenth aspects of the present invention is recorded. It has an effect that it can be easily realized by a system.

【0030】以下、本発明の実施の形態について、図1
から図31を用いて説明する。 (実施の形態1)図1は、本発明の実施の形態1におけ
る画像符号化装置のブロック図である。同図において、
12は出力信号を切替える切替え手段、13はモード情
報及び符号化画像信号を多重化する多重化手段、16は
フレーム単位で符号化するフレーム符号化手段、17は
フィールド単位で符号化するフィールド符号化手段、6
1は画素値が変化する変化点をフィールド単位で検出す
るフィールド変化位置検出手段、62は画素値が変化す
る変化点をフレーム単位で検出するフレーム変化位置検
出手段、63は符号化済みの画素の変化点から変化点を
予測する変化位置予測手段、64は検出された変化位置
を保持するメモリ、65は検出された変化位置と予測さ
れた変化位置の差分を求める差分計算手段、66は差分
値を符号化する符号化手段、67はフィールド単位での
差分値に基づく符号化画像信号とフレーム単位での差分
値に基づく符号化画像信号を比較しフィールド単位かフ
レーム単位かのモード情報を判定するモード判定手段を
示す。
Hereinafter, an embodiment of the present invention will be described with reference to FIG.
This will be described with reference to FIG. (Embodiment 1) FIG. 1 is a block diagram of an image coding apparatus according to Embodiment 1 of the present invention. In the figure,
12 is a switching means for switching the output signal, 13 is a multiplexing means for multiplexing the mode information and the coded image signal, 16 is a frame coding means for coding on a frame basis, and 17 is a field coding for coding on a field basis. Means, 6
1 is a field change position detecting means for detecting a change point at which a pixel value changes in field units, 62 is a frame change position detecting means for detecting a change point in which a pixel value changes in frame units, and 63 is a frame change position detecting means for an encoded pixel. A change position prediction means for predicting a change point from a change point, 64 is a memory for holding the detected change position, 65 is a difference calculation means for obtaining a difference between the detected change position and the predicted change position, and 66 is a difference value Encoding means 67 for comparing the coded image signal based on the difference value in the field unit with the coded image signal based on the difference value in the frame unit to determine the mode information of the field unit or the frame unit 4 shows a mode determining means.

【0031】また、図4(a)は、8×8画素から構成
された符号化対象ブロックの例を示し、同図中の上参照
画素はすでに符号化対象ブロック上隣ブロックの最下行
に属する符号化済みの画素、左参照画素はすでに符号化
対象ブロック左隣ブロックの最右列に属する符号化済み
の画素である。この符号化対象ブロックの画素I(x,
y)においてyが奇数の画素は第1フィールドに属し、
yが偶数の画素は第2フィールドに属する。
FIG. 4A shows an example of an encoding target block composed of 8 × 8 pixels. The upper reference pixel in FIG. 4A already belongs to the lowermost row of the block immediately above the encoding target block. The coded pixel and the left reference pixel are already coded pixels belonging to the rightmost column of the left block adjacent to the current block. The pixel I (x,
In y), the pixels where y is odd belong to the first field,
Pixels with an even y belong to the second field.

【0032】以上のように構成された画像符号化装置に
ついて、以下にその動作を説明する。まず、本発明の基
本的な考え方について説明する。図中に示されていない
ブロック分割手段によって複数の画素から構成された2
次元ブロックに分割された二値ディジタル画像は、図4
(a)に例示したブロック毎に入力画像信号141とし
て、フレーム符号化手段16とフィールド符号化手段1
7に入力し、それぞれ符号化処理を行う。モード判定手
段67によりフレーム符号化手段16とフィールド符号
化手段17からの符号化画像信号の符号量を比較して符
号量の少ない方の符号化画像信号を切り替え手段12に
より選択する。多重化手段13は、モード情報149と
符号化画像信号142を多重化によりビットストリーム
信号14として出力するものである。
The operation of the image coding apparatus configured as described above will be described below. First, the basic concept of the present invention will be described. 2 composed of a plurality of pixels by block dividing means not shown in the figure.
The binary digital image divided into dimensional blocks is shown in FIG.
(A) As the input image signal 141 for each block illustrated in FIG.
7 to perform encoding processing. The mode determining means 67 compares the code amounts of the coded image signals from the frame coding means 16 and the field coding means 17, and selects the coded image signal having the smaller code amount by the switching means 12. The multiplexing means 13 outputs the bit stream signal 14 by multiplexing the mode information 149 and the coded image signal 142.

【0033】これにより、動画像の動きに応じてフィー
ルド単位符号化処理とフレーム単位符号化処理のいずれ
か符号化効率の良い方を選択することにより符号符号化
効率の向上が図れるものである。
Thus, the coding efficiency can be improved by selecting either the field-based coding process or the frame-based coding process with the higher coding efficiency in accordance with the motion of the moving image.

【0034】次に、符号化手段に画素値が変化する位置
に基づいて符号化する方法について説明する。図中に示
されていないブロック分割手段によって複数の画素から
構成された2次元ブロックに分割された二値ディジタル
画像は、図4(a)に例示したブロック毎に入力画像信
号141としてフィールド変化位置検出手段61および
フレーム変化位置検出手段62に入力される。
Next, a method of encoding by the encoding means based on the position where the pixel value changes will be described. A binary digital image divided into a two-dimensional block composed of a plurality of pixels by a block dividing unit (not shown) is used as an input image signal 141 for each block illustrated in FIG. It is input to the detecting means 61 and the frame change position detecting means 62.

【0035】フィールド変化位置検出手段61では、入
力された信号についてすでに符号化済みの着目画素Aか
ら水平方向に画素をスキャンし、左隣の画素と異なる画
素値に変化する画素の位置を同じフィールド内で検出
し、フィールド変化位置145として出力する。すなわ
ち図4(a)の例では画素Bがフィールド変化位置とな
る。これは、フィールド単位の場合は、1ライン置きに
スキャンするためである。
The field change position detection means 61 scans the input signal in the horizontal direction from the already coded pixel of interest A, and determines the position of the pixel changing to a pixel value different from that of the pixel on the left in the same field. And outputs it as the field change position 145. That is, in the example of FIG. 4A, the pixel B is the field change position. This is because in the case of a field unit, scanning is performed every other line.

【0036】フレーム変化位置検出手段62では、入力
された信号についてすでに符号化済みの着目画素Aから
水平方向に画素をスキャンし、左隣の画素と異なる画素
値に変化する画素の位置をフレーム内で検出し、フレー
ム変化位置146として出力する。すなわち図4(a)
の例では画素Cがフレーム変化位置となる。
The frame change position detecting means 62 scans the input signal in the horizontal direction from the already coded target pixel A, and determines the position of the pixel changing to a pixel value different from the pixel on the left side in the frame. And outputs it as the frame change position 146. That is, FIG.
In the example, the pixel C is a frame change position.

【0037】変化位置予測手段63では、すでに符号化
済みの画素の画素値が変化する位置から次に画素値が変
化する位置を予測し、予測変化位置として出力する。図
4(a)の例では、すでに符号化済みの画素の中で画素
Aと同様に黒画素から白画素に変化する画素は同じフィ
ールド内では画素Dであり、フレーム内では画素Eであ
る。従って画素Dと画素Aのx座標の差は0であるから
フィールド予測変化位置は画素Bとなり、また画素Eと
画素Aのx座標の差は1であるから、画素Fがフレーム
予測変化位置となる。
The change position predicting means 63 predicts the position where the pixel value of the already coded pixel changes next from the position where the pixel value changes, and outputs it as the predicted change position. In the example of FIG. 4A, among the pixels that have already been encoded, the pixel that changes from a black pixel to a white pixel like the pixel A is the pixel D in the same field and the pixel E in the frame. Therefore, since the difference between the x coordinates of the pixel D and the pixel A is 0, the field prediction change position is the pixel B, and the difference between the x coordinates of the pixel E and the pixel A is 1, so that the pixel F is different from the frame prediction change position. Become.

【0038】差分計算手段65では、変化位置検出手段
で検出された変化位置と変化位置予測手段63で予測さ
れた変化位置との差分値を求める。図4(a)の例で
は、すなわちフィールド変化検出位置Bとフィールド変
化予測位置Bの差分値0がフィールド差分値147とし
て出力され、フレーム変化検出位置Cとフレーム変化予
測位置Fの差分値−3がフレーム差分値148として出
力される。
The difference calculation means 65 calculates a difference value between the change position detected by the change position detection means and the change position predicted by the change position prediction means 63. In the example of FIG. 4A, the difference value 0 between the field change detection position B and the predicted field change position B is output as the field difference value 147, and the difference value between the frame change detection position C and the predicted frame change position F is −3. Is output as the frame difference value 148.

【0039】符号化手段66では、差分計算手段65で
計算された差分値を予め定められたハフマン符号テーブ
ルを用いて符号化する。モード判定手段67では、フィ
ールド単位で求められた符号化画像信号とフレーム単位
で求められた符号化画像信号の符号量を比較し、符号化
効率の良いモードを判定し、モード情報149として出
力する。切替え手段12では、モード情報149に従っ
てフィールド単位符号化画像信号またはフレーム単位符
号化画像信号のいずれかを選択し符号化画像信号142
として出力する。多重化手段13は、モード判定手段6
7からのモード情報149と切替え手段12で選択され
た符号化画像信号142を多重化し、ビットストリーム
信号14として出力する。
The encoding means 66 encodes the difference value calculated by the difference calculation means 65 using a predetermined Huffman code table. The mode determination means 67 compares the code amount of the coded image signal obtained in the unit of field with the code amount of the coded image signal obtained in the unit of frame, determines a mode having high coding efficiency, and outputs the mode as the mode information 149. . The switching means 12 selects either the field-based coded image signal or the frame-based coded image signal in accordance with the mode information 149, and selects the coded image signal 142
Output as The multiplexing means 13 includes the mode determination means 6
7 is multiplexed with the coded image signal 142 selected by the switching means 12 and output as the bit stream signal 14.

【0040】上記により説明した本実施の形態によれ
ば、インタレース構造を持つ二値ディジタル画像に対し
てその画像を画素値が変化する位置に基づいて符号化す
る際に、フィールド単位で画素値の変化位置を検出し符
号化する手法とフレーム単位で画素値の変化位置を検出
し符号化する手法のいずれか効率の良い方をモード判定
手段67によってブロック毎に判定し切替えることによ
って符号化効率の向上を達成することができる。
According to the above-described embodiment, when encoding a binary digital image having an interlaced structure based on the position where the pixel value changes, the pixel value is determined in units of fields. The mode determining means 67 determines and switches between the method of detecting and encoding the change position of the pixel and the method of detecting and encoding the change position of the pixel value in frame units for each block, thereby switching the encoding efficiency. Can be improved.

【0041】(実施の形態2)図2は、本発明の実施の
形態2における画像復号化装置のブロック図である。同
図において、図1に示す実施の形態1と同一の手段およ
び信号については同じ番号を付し説明を省略する。
(Embodiment 2) FIG. 2 is a block diagram of an image decoding apparatus according to Embodiment 2 of the present invention. In the figure, the same means and signals as those of the first embodiment shown in FIG.

【0042】同図において、11は信号の出力先を切替
える切替え手段、15はビットストリーム信号14を逆
多重化によりモード情報149と符号化画像信号142
に分離する逆多重化手段、70は符号化画像信号から差
分値を復号化する復号化手段、71は差分値と画素値が
変化する画素の予測位置を加算し画素値が変化する位置
を求める差分値加算手段、72は画素値の変化位置から
フィールド単位で二値画像を復号化するフィールド二値
画像復号手段73は画素値の変化位置からフレーム単位
で二値画像を復号化するフレーム二値画像復号手段、1
51は差分値信号、152は画素値の変化位置、153
は復号化された二値ディジタル画像信号、154は画素
値の変化位置の予測位置を示す。
In the figure, reference numeral 11 denotes switching means for switching the output destination of a signal, and 15 denotes a mode information 149 and an encoded image signal 142 by demultiplexing the bit stream signal 14.
Demultiplexing means 70 for decoding the difference value from the coded image signal; 71 adding the difference value and the predicted position of the pixel at which the pixel value changes to obtain a position at which the pixel value changes The difference value adding means 72 decodes a binary image on a field basis from the pixel value change position. The field binary image decoding means 73 decodes a binary image on a frame basis from the pixel value change position. Image decoding means, 1
51 is a difference value signal, 152 is a change position of a pixel value, 153
Indicates a decoded binary digital image signal, and 154 indicates a predicted position of a change position of a pixel value.

【0043】以上のように構成された画像復号化装置に
ついて、以下にその動作を説明する。逆多重化手段15
は、ビットストリーム信号14を逆多重化によりモード
情報149と符号化画像信号142に分離する。復号化
手段70では、符号化画像信号142から画素値変化す
る位置と変化する位置の予測位置との差分値を復号化
し、差分値151を出力する。
The operation of the image decoding apparatus configured as described above will be described below. Demultiplexing means 15
Separates the bit stream signal 14 into mode information 149 and an encoded image signal 142 by demultiplexing. The decoding means 70 decodes the difference value between the position where the pixel value changes and the predicted position of the changing position from the encoded image signal 142, and outputs a difference value 151.

【0044】変化位置予測手段63では、すでに復号化
されている画素の画素値が変化する位置から次に画素値
が変化する位置を予測し、予測変化位置154を出力す
る。図4(b)に例示した復号化対象ブロックでは着目
画素Aと、画素Aと同じフィールドに属し同様に黒画素
から白画素に変化するすでに復号化済みの画素Cから画
素Aと画素Cのx座標の差0から予測変化位置画素Bが
得られ、図5に例示した復号化対象ブロックでは着目画
素Eと、画素Eと同様に黒画素から白画素に変化するす
でに復号化済みの画素Gから予測変化位置画素Fが得ら
れる。
The change position predicting means 63 predicts the position where the pixel value of the already decoded pixel changes next from the position where the pixel value changes, and outputs the predicted change position 154. In the decoding target block illustrated in FIG. 4B, the pixel A of interest and the already decoded pixel C belonging to the same field as the pixel A and similarly changing from a black pixel to a white pixel have x A predicted change position pixel B is obtained from the coordinate difference 0, and in the decoding target block illustrated in FIG. 5, from the pixel E of interest and the already decoded pixel G that changes from a black pixel to a white pixel similarly to the pixel E. The predicted change position pixel F is obtained.

【0045】差分値加算手段71では、差分値と予測変
化位置の和を求め画素値変化位置152を出力する。す
なわち差分値が−1の場合、図4(a)に例示したブロ
ックでは画素Dが画素値変化位置であり、図5に例示し
たブロックでは画素Hが画素値変化位置となる。
The difference value adding means 71 calculates the sum of the difference value and the predicted change position and outputs the pixel value change position 152. That is, when the difference value is -1, the pixel D is the pixel value change position in the block illustrated in FIG. 4A, and the pixel H is the pixel value change position in the block illustrated in FIG.

【0046】切替え手段11では、モード情報149に
従って画素値変化位置152をフィールド二値画像復号
化手段72またはフレーム二値画像復号化手段73のい
ずれかに入力する。
The switching means 11 inputs the pixel value change position 152 to either the field binary image decoding means 72 or the frame binary image decoding means 73 according to the mode information 149.

【0047】フィールド二値画像復号化手段72では、
着目画素位置と画素値変化位置の間の画素を順次左隣の
画素値と同じ画素値に設定し、二値ディジタル画像を復
号化し、図4(c)に示した復号化画像を得る。同様の
作業をフィールド1、フィールド2の順に左上の画素か
ら右下の画素へと行なうことによってブロック複号化画
像を得る。
In the field binary image decoding means 72,
The pixels between the target pixel position and the pixel value change position are sequentially set to the same pixel value as the pixel value on the left side, and the binary digital image is decoded to obtain the decoded image shown in FIG. The same operation is performed from the upper left pixel to the lower right pixel in the order of field 1 and field 2 to obtain a block decrypted image.

【0048】フレーム二値画像復号化手段73では、フ
レーム構造のまま着目画素位置と画素値変化位置の間の
画素を順次左隣の画素値と同じ画素値に設定し、二値デ
ィジタル画像を復号化し図6に示した復号化画像を得
る。同様の作業を左上の画素から右下の画素へと行なう
ことによってブロック複号化画像を得る。
The frame binary image decoding means 73 sequentially sets the pixels between the pixel position of interest and the pixel value change position to the same pixel value as the pixel value on the left side in the frame structure, and decodes the binary digital image. To obtain the decoded image shown in FIG. By performing the same operation from the upper left pixel to the lower right pixel, a block decrypted image is obtained.

【0049】切替え手段12では、モード情報149に
従ってフィールド二値画像復号化手段72の出力または
フレーム二値画像復号化手段73の出力のいずれかを選
択し、二値ディジタル復号化画像信号153として出力
する。
The switching means 12 selects either the output of the field binary image decoding means 72 or the output of the frame binary image decoding means 73 according to the mode information 149, and outputs it as a binary digital decoded image signal 153. I do.

【0050】上記により説明した本実施の形態によれ
ば、インタレース構造を持つ二値ディジタル画像の画素
値が変化する位置に基づいて符号化された符号化画像信
号に対して、モード情報149及び切替え手段11、1
2を用いることにより正しく復号化することができる。
According to the embodiment described above, the mode information 149 and the mode information 149 are applied to the coded image signal coded based on the position where the pixel value of the binary digital image having the interlaced structure changes. Switching means 11, 1
2, decoding can be performed correctly.

【0051】なお、本実施の形態では出力先の切替え手
段11と入力元の切替え手段12を用いているが、切替
え手段11または切替え手段12のいずれか一方のみを
使用しても同一の効果を得ることができる。
In this embodiment, the output destination switching unit 11 and the input source switching unit 12 are used. However, the same effect can be obtained by using only one of the switching unit 11 and the switching unit 12. Obtainable.

【0052】また、図4、図5、図6では8×8画素の
ブロックを示したが任意のm×n画素から構成されたブ
ロックについて同様に実施することができる。
Although FIG. 4, FIG. 5, and FIG. 6 show blocks of 8 × 8 pixels, the present invention can be similarly applied to blocks composed of arbitrary m × n pixels.

【0053】(実施の形態3)図3は、本発明の実施の
形態3における画像復号化装置のブロック図である。同
図において、図1に示す実施の形態1、図2に示す実施
の形態2と同一の手段および信号については同じ番号を
付し説明を省略する。
(Embodiment 3) FIG. 3 is a block diagram of an image decoding apparatus according to Embodiment 3 of the present invention. In the figure, the same means and signals as those in the first embodiment shown in FIG. 1 and the second embodiment shown in FIG.

【0054】同図において、76は画素値の変化する位
置から二値画像を復元する二値画像復号化手段、77は
フィールド構造のブロック画像をフレーム構造に並べ換
えるフィールド/フレーム並べ替え手段、157は復号
化された二値ブロック画像信号を示す。
In the figure, reference numeral 76 denotes a binary image decoding means for restoring a binary image from a position where a pixel value changes, and 77 denotes a field / frame rearranging means for rearranging a block image having a field structure into a frame structure. Indicates a decoded binary block image signal.

【0055】以上のように構成された画像復号化装置に
ついて、以下にその動作を説明する。逆多重化手段15
は、ビットストリーム信号14を逆多重化によりモード
情報149と符号化画像信号142に分離する。復号化
手段70では、符号化画像信号142より差分値151
を復号化する。
The operation of the image decoding apparatus configured as described above will be described below. Demultiplexing means 15
Separates the bit stream signal 14 into mode information 149 and an encoded image signal 142 by demultiplexing. The decoding means 70 calculates the difference value 151 from the encoded image signal 142.
Is decrypted.

【0056】変化位置予測手段63では、すでに復号化
済みの二値画像の画素値が変化する位置から次に画素値
が変化する位置を予測し、予測変化位置154を出力す
る。差分値加算手段71では、差分値151と予測変化
位置154の和を求め画素値変化位置152を出力す
る。
The change position predicting means 63 predicts the next position where the pixel value changes from the position where the pixel value of the already decoded binary image changes, and outputs the predicted change position 154. The difference value adding means 71 calculates the sum of the difference value 151 and the predicted change position 154 and outputs the pixel value change position 152.

【0057】二値画像復号化手段76では、復号化済み
の着目画素と画素変化位置152の間の画素の画素値を
左隣の画素と同じ画素値に設定することにより二値画像
を復号化する。
The binary image decoding means 76 decodes the binary image by setting the pixel value of the pixel between the decoded pixel of interest and the pixel change position 152 to the same pixel value as the pixel on the left. I do.

【0058】切替え手段11では、モード情報149が
フィールドモードを示している場合画像をフィールド/
フレーム並べ換え手段77に入力し、モード情報149
がフレームモードを示している場合フィールド/フレー
ム並べ換え手段77をスキップする。
When the mode information 149 indicates the field mode, the switching means 11 switches the image to the field / mode.
The mode information 149 is input to the frame rearranging means 77.
Indicates the frame mode, the field / frame rearranging means 77 is skipped.

【0059】フィールド/フレーム並べ換え手段77で
は、図7(a)に示した2つのフィールドが連続する構
造になっているフィールド構造ブロックをライン毎に並
べ換えることによって、図7(b)に示す2つのフィー
ルドに属する画素がライン毎に交互に並ぶフレーム構造
に変換する。
The field / frame rearranging means 77 rearranges, for each line, a field structure block in which the two fields shown in FIG. The frame structure is such that pixels belonging to one field are alternately arranged for each line.

【0060】切り換え手段12では、モード情報149
に従ってフィールド/フレーム並べ替え手段77の出力
またはフィールド/フレーム並べ替え手段77をスキッ
プしてきた信号のいずれかを選択して二値ディジタル復
号化画像信号153を出力する。
In the switching means 12, the mode information 149
, The output of the field / frame rearranging unit 77 or the signal skipped by the field / frame rearranging unit 77 is selected to output the binary digital decoded image signal 153.

【0061】上記により説明した本実施の形態によれ
ば、インタレース構造を持つ二値ディジタル画像の画素
値が変化する位置に基づいて符号化された符号化画像信
号に対して、二値ディジタルブロック画像を復号化後に
モード情報149に従ってフィールド構造からフレーム
構造に並べ換え出力するか、そのまま出力するかを選択
することによって正しく二値ディジタル画像を復号化す
ることができる。
According to the above-described embodiment, a binary digital block is encoded with respect to an encoded image signal encoded based on a position where a pixel value of a binary digital image having an interlaced structure changes. The binary digital image can be decoded correctly by selecting whether to rearrange the field structure into the frame structure according to the mode information 149 after decoding and output the frame image or to output the frame image as it is.

【0062】なお、本実施の形態では出力先切替え手段
11と入力元切替え手段12を用いているが、切替え手
段11または切替え手段12のいずれか一方のみを使用
しても同一の効果を得ることができる。
In this embodiment, the output destination switching means 11 and the input source switching means 12 are used. However, the same effect can be obtained even if only one of the switching means 11 and the switching means 12 is used. Can be.

【0063】また、図7(a)、図7(b)では、8×
8画素のブロックを示したが任意のm×n画素から構成
されたブロックについて同様に実施することができる。
In FIGS. 7A and 7B, 8 ×
Although a block of eight pixels is shown, the same can be applied to a block composed of arbitrary m × n pixels.

【0064】(実施の形態4)図8は、本発明の実施の
形態4における画像符号化装置のブロック図である。同
図において、図1に示す実施の形態1および図2に示す
実施の形態2と同一の手段および信号については同じ番
号を付し説明を省略する。同図において、31は二値デ
ィジタルブロック画像をフィールド単位でダウンサンプ
リングするフィールドダウンサンプル手段、32は二値
ディジタルブロック画像をフレーム単位でダウンサンプ
リングするフレームダウンサンプル手段、33はダウン
サンプリングされた画像を符号化する符号化手段、34
はモード情報を判定しモード情報を出力するモード判定
手段を示す。
(Embodiment 4) FIG. 8 is a block diagram of an image encoding apparatus according to Embodiment 4 of the present invention. In the figure, the same means and signals as those in the first embodiment shown in FIG. 1 and the second embodiment shown in FIG. In the figure, 31 is a field down-sampling means for down-sampling a binary digital block image in field units, 32 is a frame down-sampling means for down-sampling a binary digital block image in frame units, and 33 is a down-sampled image. Encoding means for encoding, 34
Denotes a mode determining means for determining the mode information and outputting the mode information.

【0065】以上のように構成された画像符号化装置に
ついて、以下にその動作を説明する。図中に示されてい
ないブロック分割手段によって複数の画素から構成され
た2次元ブロックに分割された二値ディジタル画像は、
ブロック毎に入力画像信号110としてモード判定手段
34および切替え手段11に入力される。
The operation of the image coding apparatus configured as described above will be described below. The binary digital image divided into two-dimensional blocks composed of a plurality of pixels by block dividing means not shown in the drawing is
The input image signal 110 is input to the mode determination unit 34 and the switching unit 11 for each block.

【0066】モード判定手段34では、分散値あるいは
ライン間の相関値などを用いてフィールド単位ダウンサ
ンプリング31で処理するかまたはフレーム単位ダウン
サンプリング32で処理するかのいずれかを判定し、モ
ード情報111として出力する。ライン間の相関を用い
たフィールド単位で処理するかフレーム単位で処理する
かのモード判定の例では、フィールド単位およびフレー
ム単位で隣接するライン毎に画素値の排他的論理和演算
を行い、不一致の画素値の数の少ない方を選択するよう
にしたものである。例えば、図10(a)に示すブロッ
クを判定する場合、図11に示すように、フレーム単位
で隣接ラインを判定する場合を図11(a)に示し、フ
ィールド単位で隣接ラインを判定する場合を図11
(b)に示すが、不一致画素には”1”で示すものと
し、各々の不一致画素の総和は”7”と”3”となりフ
ィールド単位でダウンサンプル処理を行った方が有利で
あることが判る。なお、図11の左の番号は、図10
(a)のライン番号を示している。
The mode determination means 34 determines whether to perform the processing by the field-based downsampling 31 or the processing by the frame-based downsampling 32 using the variance value or the correlation value between lines. Output as In an example of mode determination of processing on a field basis or on a frame basis using correlation between lines, an exclusive OR operation of pixel values is performed on adjacent lines on a field basis and on a frame basis, and a mismatch is determined. This is to select the one with the smaller number of pixel values. For example, FIG. 11A shows a case where a block shown in FIG. 10A is determined, and FIG. 11A shows a case where an adjacent line is determined on a frame basis as shown in FIG. FIG.
As shown in (b), the unmatched pixels are indicated by “1”, and the sum of each mismatched pixel is “7” and “3”, and it is advantageous to perform the down-sampling processing in field units. I understand. The numbers on the left of FIG.
The line numbers in FIG.

【0067】切替え手段11では、モード情報111に
従って入力ブロック画像信号110をフィールドダウン
サンプル手段31またはフレームダウンサンプル手段3
2へ入力する。
The switching unit 11 converts the input block image signal 110 into the field down-sampler 31 or the frame down-sampler 3 according to the mode information 111.
Input to 2.

【0068】フィールドダウンサンプル手段31では、
入力されたブロック画像をフィールド毎にダウンサンプ
リングし、フィールドダウンサンプリング画像112と
して出力する。例えば、図10(a)に示す入力画像信
号を1/2とする場合は、2×2の画素を”1”の数
で”1”とするか”0”とするかを決定するもので、フ
ィールド単位でダウンサンプリングすると図10(c)
のようになる。フレームダウンサンプル手段31では、
入力されたブロック画像をフレーム構造のままダウンサ
ンプリングし、フレームダウンサンプリング画像113
として出力する。例えば、図10(a)に示す入力画像
信号を1/2とする場合は、2×2の画素を”1”の数
で”1”とするか”0”とするかを決定するもので、フ
レーム単位でダウンサンプリングすると図10(b)の
ようになる。
In the field down sampling means 31,
The input block image is down-sampled for each field and output as a field down-sampled image 112. For example, when the input image signal shown in FIG. 10A is halved, it is determined whether 2 × 2 pixels are set to “1” or “0” by the number of “1”. When downsampling is performed on a field basis, FIG.
become that way. In the frame down sampling means 31,
The input block image is down-sampled in the frame structure, and the frame down-sampled image 113
Output as For example, when the input image signal shown in FIG. 10A is halved, it is determined whether 2 × 2 pixels are set to “1” or “0” by the number of “1”. When downsampling is performed in frame units, the result is as shown in FIG.

【0069】切替え手段12は、モード情報111に従
ってフィールドダウンサンプリング画像112またはフ
レームダウンサンプリング画像113のいずれかを選択
し符号化手段33に入力する。符号化手段33では、入
力された二値ブロック画像を符号化し、符号化画像信号
114を出力する。多重化手段13は、モード情報11
1と符号化手段33からの符号化画像信号114を多重
化し、ビットストリーム信号14を出力する。
The switching unit 12 selects either the field down-sampled image 112 or the frame down-sampled image 113 according to the mode information 111 and inputs the selected image to the encoding unit 33. The encoding unit 33 encodes the input binary block image and outputs an encoded image signal 114. The multiplexing means 13 includes the mode information 11
1 and the coded image signal 114 from the coding unit 33 are multiplexed, and a bit stream signal 14 is output.

【0070】上記により説明した本実施の形態によれ
ば、インタレース構造を持つ二値ディジタル画像に対し
てモード判定手段34によってフィールド単位でのダウ
ンサンプリングまたはフレーム単位でのダウンサンプリ
ングのいずれか効率の良い手法を選択することによって
符号化効率の向上を達成することができる。
According to the present embodiment described above, for the binary digital image having an interlaced structure, the mode determining means 34 determines whether the efficiency of either downsampling in fields or downsampling in frames is improved. By selecting a good method, an improvement in coding efficiency can be achieved.

【0071】なお、本実施の形態では出力先切替え手段
11と入力元切替え手段12を用いているが、切替え手
段11または切替え手段12のいずれか一方のみを使用
しても同一の効果を得ることができる。
In this embodiment, the output destination switching means 11 and the input source switching means 12 are used. However, the same effect can be obtained by using only one of the switching means 11 and the switching means 12. Can be.

【0072】(実施の形態5)図9は、本発明の実施の
形態5における画像復号化装置のブロック図である。同
図において、図1に示す実施の形態1、図2に示す実施
の形態2および図11に示す実施の形態4と同一の手段
および信号については同じ番号を付し説明を省略する。
同図において、36は画像符号化信号から二値ブロック
画像を復号化する復号化手段、37は二値ブロック画像
をフィールド単位でアップサンプリングするフィールド
アップサンプル手段、38は二値ブロック画像をフレー
ム単位でアップサンプリングするフレームアップサンプ
ル手段を示す。
(Embodiment 5) FIG. 9 is a block diagram of an image decoding apparatus according to Embodiment 5 of the present invention. In the figure, the same means and signals as those in the first embodiment shown in FIG. 1, the second embodiment shown in FIG. 2, and the fourth embodiment shown in FIG.
In the figure, reference numeral 36 denotes decoding means for decoding a binary block image from an image coded signal, 37 denotes field up-sampling means for up-sampling the binary block image in field units, and 38 denotes a binary block image in frame units. Shows a frame up-sampling means for up-sampling.

【0073】以上のように構成された画像復号化装置に
ついて、以下にその動作を説明する。逆多重化手段15
は、ビットストリーム信号14を逆多重化によりモード
情報111と符号化画像信号114に分離する。復号化
手段36は、画像符号化信号114からブロック画像を
復号化し、二値ブロック復号化画像信号116を出力す
る。
The operation of the image decoding apparatus configured as described above will be described below. Demultiplexing means 15
Separates the bit stream signal 14 into mode information 111 and an encoded image signal 114 by demultiplexing. The decoding means 36 decodes the block image from the image coded signal 114 and outputs a binary block decoded image signal 116.

【0074】切替え手段11は、モード情報111に従
って二値ブロック復号化画像信号116をフィールドア
ップサンプル手段37またはフレームアップサンプル手
段38のいずれかに入力する。
The switching means 11 inputs the binary block decoded image signal 116 to either the field up sampling means 37 or the frame up sampling means 38 according to the mode information 111.

【0075】フィールドアップサンプル手段37では、
ブロック画像をフィールド毎にアップサンプリングし二
値ブロック復号化画像を出力する。
In the field up sampling means 37,
The block image is upsampled for each field and a binary block decoded image is output.

【0076】フレームアップサンプル手段38では、ブ
ロック画像をフレーム構造のままアップサンプリングし
二値ブロック復号化画像を出力する。
The frame up-sampling means 38 up-samples the block image in a frame structure and outputs a binary block decoded image.

【0077】切替え手段12では、モード情報111に
従ってフィールドアップサンプル手段37の出力または
フレームアップサンプル手段38の出力のいずれかを選
択して二値ディジタル復号化画像信号117を出力す
る。
The switching means 12 selects either the output of the field up-sampling means 37 or the output of the frame up-sampling means 38 in accordance with the mode information 111, and outputs a binary digital decoded image signal 117.

【0078】上記により説明した本実施の形態によれ
ば、インタレース構造を考慮したダウンサンプリングを
行なった符号化画像信号に対して、モード情報111、
切替え手段11および切替え手段12を用いることによ
って正しくンタレース構造を持つ二値ディジタル画像を
復号化することができる。
According to the present embodiment described above, the mode information 111, the mode information 111,
By using the switching means 11 and the switching means 12, it is possible to correctly decode a binary digital image having an interlace structure.

【0079】なお、本実施の形態では出力先切替え手段
11と入力元切替え手段12を用いているが、切替え手
段11または切替え手段12のいずれか一方のみを使用
しても同一の効果を得ることができる。
In this embodiment, the output destination switching means 11 and the input source switching means 12 are used. However, the same effect can be obtained by using only one of the switching means 11 and the switching means 12. Can be.

【0080】(実施の形態6)図12は、本発明の実施
の形態6における画像復号化装置のブロック図である。
同図において、図1に示す実施の形態1、図2に示す実
施の形態2および図11に示す実施の形態4と同一の手
段および信号については同じ番号を付し説明を省略す
る。同図において、47は符号化画像信号から二値ブロ
ック画像を復号化する復号化手段、47はブロック画像
をアップサンプリングするアップサンプル手段、48は
ブロック画像をフィールド構造からフレーム構造に並べ
換えるフィールド/フレーム並べ換え手段を示す。
(Embodiment 6) FIG.12 is a block diagram of an image decoding apparatus according to Embodiment 6 of the present invention.
In the figure, the same means and signals as those in the first embodiment shown in FIG. 1, the second embodiment shown in FIG. 2, and the fourth embodiment shown in FIG. In the figure, 47 is decoding means for decoding a binary block image from an encoded image signal, 47 is up-sampling means for up-sampling a block image, and 48 is a field / field for rearranging a block image from a field structure to a frame structure. 3 shows a frame rearranging unit.

【0081】以上のように構成された画像復号化装置に
ついて、以下にその動作を説明する。逆多重化手段15
は、ビットストリーム信号14を逆多重化によりモード
情報111と符号化画像信号114に分離する。復号化
手段46は、符号化画像信号114からブロック画像を
復号化し、二値ブロック復号化画像信号126を出力す
る。
The operation of the image decoding apparatus configured as described above will be described below. Demultiplexing means 15
Separates the bit stream signal 14 into mode information 111 and an encoded image signal 114 by demultiplexing. The decoding unit 46 decodes the block image from the encoded image signal 114 and outputs a binary block decoded image signal 126.

【0082】アップサンプル手段47は、ブロック復号
化画像信号126のアップサンプルを行なう。
Up-sampling means 47 performs up-sampling of block-decoded image signal 126.

【0083】切替え手段11は、モード情報111がフ
ィールドモードを示している場合アップサンプルされた
画像をフィールド/フレーム並べ換え手段48に入力
し、モード情報111がフレームモードを示している場
合画像をフィールド/フレーム並べ換え手段48をスキ
ップする。
The switching means 11 inputs the upsampled image to the field / frame rearranging means 48 when the mode information 111 indicates the field mode, and converts the image into the field / frame when the mode information 111 indicates the frame mode. The frame rearranging means 48 is skipped.

【0084】フィールド/フレーム並べ換え手段48で
は、図7(a)に示した2つのフィールドが各々連続す
る構造になっているフィールド構造ブロックをライン毎
に並べ換えることによって、図7(b)に示した2つの
フィールドに属する画素がライン毎に交互に並ぶフレー
ム構造に変換する。
The field / frame rearranging means 48 rearranges, for each line, a field structure block in which the two fields shown in FIG. The pixels are converted into a frame structure in which pixels belonging to the two fields are alternately arranged for each line.

【0085】切替え手段12は、モード情報111に従
ってフィールド/フレーム並べ換え手段48の出力また
はフィールド/フレーム並べ換え手段48をスキップし
てきた信号のいずれかを選択して二値ディジタル復号化
画像信号128を出力する。
The switching unit 12 selects either the output of the field / frame rearranging unit 48 or the signal skipped by the field / frame rearranging unit 48 according to the mode information 111 and outputs the binary digital decoded image signal 128. .

【0086】上記により説明した本実施の形態によれ
ば、インタレース構造を考慮したダウンサンプリングを
行なった符号化画像信号に対して、モード情報111、
切替え手段11、切替え手段12およびフィールド/フ
レーム並べ換え手段48を用いることによって正しくン
タレース構造を持つ二値ディジタル画像を復号化するこ
とができる。
According to the present embodiment described above, the mode information 111, the mode information 111,
By using the switching means 11, the switching means 12, and the field / frame rearranging means 48, a binary digital image having an interlace structure can be correctly decoded.

【0087】(実施の形態7)図13は、本発明の実施
の形態7における画像符号化装置のブロック図である。
同図において、図1に示す実施の形態1と同一の手段お
よび信号については同じ番号を付し説明を省略する。
(Embodiment 7) FIG.13 is a block diagram of an image coding apparatus according to Embodiment 7 of the present invention.
In the figure, the same means and signals as those of the first embodiment shown in FIG.

【0088】同図において、51はフィールド/フレー
ムモードを判定しモード情報を出力するモード判定手
段、52は二値ディジタル画像を符号化する符号化手
段、53はフィールド単位で動き補償を行うフィールド
動き補償手段、54はフレーム単位で動き補償を行うフ
レーム動き補償手段、56は復号化された画像を保持す
るメモリ、57は符号化画像信号から二値ディジタル画
像を復号化する復号化手段、58はフィールド単位で動
き推定を行うフィールド動き推定手段、59はフレーム
単位で動き推定を行うフレーム動き推定手段を示す。
In the figure, reference numeral 51 denotes a mode determining means for determining a field / frame mode and outputting mode information; 52, an encoding means for encoding a binary digital image; 53, a field motion for performing motion compensation on a field basis; Compensating means, 54 is a frame motion compensating means for performing motion compensation on a frame basis, 56 is a memory for holding a decoded image, 57 is a decoding means for decoding a binary digital image from an encoded image signal, and 58 is a decoding means. Field motion estimating means 59 for performing motion estimation on a field basis is a frame motion estimating means 59 for performing motion estimation on a frame basis.

【0089】以上のように構成された画像符号化装置に
ついて、以下にその動作を説明する。図中に示されてい
ないブロック分割手段によって、複数の画素から構成さ
れた2次元ブロックに分割された二値ディジタル画像
は、ブロック毎に入力画像信号131としてモード判定
手段51及び符号化手段52に入力される。
The operation of the image coding apparatus configured as described above will be described below. A binary digital image divided into a two-dimensional block composed of a plurality of pixels by a block dividing unit not shown in the drawing is input to the mode determining unit 51 and the encoding unit 52 as an input image signal 131 for each block. Is entered.

【0090】フィールド動き推定手段58では、入力画
像信号131および参照画像信号136からフィールド
毎に動き推定を行い、フィールド動きベクトル138を
出力する。フレーム動き推定手段59では、入力画像信
号131及び参照画像信号136からフレーム構造のま
ま動き推定を行い、フレーム動きベクトル139を出力
する。
The field motion estimating means 58 performs motion estimation for each field from the input image signal 131 and the reference image signal 136, and outputs a field motion vector 138. The frame motion estimating means 59 performs motion estimation with the frame structure from the input image signal 131 and the reference image signal 136, and outputs a frame motion vector 139.

【0091】図15に動き推定処理の概念図を示し以下
に説明する。メモリ56からの参照画像信号136であ
る参照画像ブロック210内を、入力画像信号131で
ある入力画像ブロック213をスキャンしながらブロッ
クマッチングを行い一番合致した検出ブロック212を
検出するもので、検出ブロック212と入力画像ブロッ
ク213との座標差である動きベクトル211を求め
る。ブロックマッチングは、対象が二値デジタル画像で
あるので、参照画像ブロック210内を順次スキャンし
て入力画像ブロック213の各画素値の例えば排他的論
理和演算により一致画素の総和が一番大きい位置を検出
ブロック212として検出するものである。
FIG. 15 shows a conceptual diagram of the motion estimation processing, which will be described below. In the reference image block 210, which is the reference image signal 136 from the memory 56, block matching is performed while scanning the input image block 213, which is the input image signal 131, to detect the best matching detection block 212. A motion vector 211 that is a coordinate difference between the input image block 212 and the input image block 213 is obtained. In the block matching, since the target is a binary digital image, the reference image block 210 is sequentially scanned, and the pixel value of the input image block 213 is subjected to, for example, an exclusive OR operation to find a position where the sum of matching pixels is the largest. This is detected as a detection block 212.

【0092】フィールド動き補償手段53では、参照画
像信号136およびフィールド動きベクトル138を用
いてフィールド毎に動き補償を行いフィールド予測画像
134を出力する。フレーム動き補償手段54では、参
照画像信号136およびフレーム動きベクトル139か
らフレーム構造のまま動き推定/動き補償を行いフレー
ム予測画像信号135を出力する。
The field motion compensation means 53 performs motion compensation for each field using the reference image signal 136 and the field motion vector 138, and outputs a field prediction image 134. The frame motion compensator 54 performs motion estimation / motion compensation with the frame structure from the reference image signal 136 and the frame motion vector 139, and outputs a frame prediction image signal 135.

【0093】モード判定手段51では、フィールド予測
画像信号134とフレーム予測画像信号135を比較
し、動き補償予測誤差がより少なくなるモードを判定
し、モード情報133として出力する。切替え手段12
(a)では、モード情報133に従ってフィールド予測
画像信号134またはフレーム予測画像信号135のい
ずれかを選択し、符号化手段52および復号化手段57
へ入力する。
The mode determination means 51 compares the field prediction image signal 134 with the frame prediction image signal 135, determines a mode in which the motion compensation prediction error is smaller, and outputs the mode as the mode information 133. Switching means 12
In (a), one of the field prediction image signal 134 and the frame prediction image signal 135 is selected according to the mode information 133, and the coding unit 52 and the decoding unit 57 are selected.
Enter

【0094】符号化手段52では、予測画像信号および
モード情報133を用いて入力画像信号131を符号化
し、符号化画像信号132を出力する。多重化手段13
は、モード情報133、符号化画像信号132および動
きベクトル140を多重化し、ビットストリーム信号1
4を出力する。
The encoding means 52 encodes the input image signal 131 using the predicted image signal and the mode information 133, and outputs an encoded image signal 132. Multiplexing means 13
Multiplexes the mode information 133, the encoded image signal 132 and the motion vector 140, and
4 is output.

【0095】復号化手段57では、符号化画像信号、予
測画像信号およびモード情報133を用いて二値ディジ
タル画像を復号化し、復号化画像信号137を出力す
る。メモリ56は、復号化画像信号137を保持し、参
照画像信号136を出力する。切替え手段12(b)で
は、モード情報133に従ってフィールド動きベクトル
138またはフレーム動きベクトル139のいずれかを
選択し動きベクトル信号140として出力する。
The decoding means 57 decodes the binary digital image using the encoded image signal, the predicted image signal and the mode information 133, and outputs a decoded image signal 137. The memory 56 holds the decoded image signal 137 and outputs a reference image signal 136. The switching means 12 (b) selects either the field motion vector 138 or the frame motion vector 139 according to the mode information 133 and outputs the selected motion vector as a motion vector signal 140.

【0096】上記により説明した本実施の形態によれ
ば、インタレース構造を持つ二値ディジタル画像に対し
てモード判定手段51によってより動き補償予測誤差が
少なくなる動き補償手段を選択することによって符号化
効率の向上を達成することができる。
According to the present embodiment described above, coding is performed on a binary digital image having an interlaced structure by selecting a motion compensator having a smaller motion compensation prediction error by the mode determiner 51. An increase in efficiency can be achieved.

【0097】(実施の形態8)図14は、本発明の実施
の形態8における画像復号化装置のブロック図である。
同図において、図1に示す実施の形態1、図2に示す実
施の形態2および図14に示す実施の形態7と同一の手
段および信号については同じ番号を付し説明を省略す
る。
(Eighth Embodiment) FIG. 14 is a block diagram of an image decoding apparatus according to the eighth embodiment of the present invention.
In the figure, the same means and signals as those in the first embodiment shown in FIG. 1, the second embodiment shown in FIG. 2, and the seventh embodiment shown in FIG.

【0098】以上のように構成された画像復号化装置に
ついて、以下にその動作を説明する。逆多重化手段15
は、ビットストリーム信号14からモード情報133、
符号化画像信号132および動きベクトル140の各信
号を、それぞれ分離して出力する。参照画像信号136
は、切替え手段11(b)によりモード情報133に従
ってフィールド動き補償手段53またはフレーム動き補
償手段54のいずれかに入力される。動きベクトル信号
140は、切替え手段11(a)によりモード情報13
3に従ってフィールド動き補償手段53またはフレーム
動き補償手段54のいずれかに入力される。
The operation of the image decoding apparatus configured as described above will be described below. Demultiplexing means 15
Are the mode information 133 from the bit stream signal 14,
Each of the encoded image signal 132 and the motion vector 140 is separated and output. Reference image signal 136
Is input to either the field motion compensation means 53 or the frame motion compensation means 54 by the switching means 11 (b) according to the mode information 133. The motion vector signal 140 is supplied to the mode information 13 by the switching means 11 (a).
According to 3, the data is input to either the field motion compensator 53 or the frame motion compensator 54.

【0099】フィールド動き補償手段53は、参照画像
信号136及び動きベクトル信号140を用いてフィー
ルド毎に動き補償を行い、フィールド予測画像信号13
4を出力する。フレーム動き補償手段54は、参照画像
信号136及び動きベクトル信号140を用いてフレー
ム構造のまま動き補償を行いフレーム予測画像信号13
5を出力する。
The field motion compensating means 53 performs motion compensation for each field using the reference image signal 136 and the motion vector signal 140, and obtains the field prediction image signal 13
4 is output. The frame motion compensator 54 performs motion compensation with the frame structure using the reference image signal 136 and the motion vector signal 140, and performs the frame prediction image signal 13
5 is output.

【0100】切替え手段12では、モード情報133に
従ってフィールド予測画像信号134またはフレーム予
測画像信号135のいずれかを選択し、復号化手段57
へ入力する。復号化手段57では、モード情報133お
よび予測画像信号を用いて符号化画像信号132を復号
化し、二値ディジタル復号化画像信号137を出力す
る。メモリ56は、復号化画像信号137を保持し参照
画像信号136を出力する。
The switching means 12 selects either the field prediction image signal 134 or the frame prediction image signal 135 in accordance with the mode information 133, and
Enter The decoding means 57 decodes the coded image signal 132 using the mode information 133 and the predicted image signal, and outputs a binary digital decoded image signal 137. The memory 56 holds the decoded image signal 137 and outputs a reference image signal 136.

【0101】上記により説明した本実施の形態8によれ
ば、インタレース構造を考慮した動き補償を行いその残
差を符号化した符号化画像信号に対して、モード情報1
33及び切り替え手段11(a)、11(b)、12を
用いることによって正しくインタレース構造を持つ二値
ディジタル画像を復号化することができる。
According to the eighth embodiment described above, the mode information 1 is applied to a coded image signal obtained by performing motion compensation in consideration of the interlace structure and coding the residual.
By using the switch 33 and the switching means 11 (a), 11 (b), and 12, a binary digital image having an interlaced structure can be correctly decoded.

【0102】なお、本実施の形態では、出力先切替え手
段11(a)、11(b)と入力元切替え手段12を用
いているが、切替え手段11(a)、11(b)または
切替え手段12のいずれか一方のみを使用しても同一の
効果を得ることができる。
In the present embodiment, the output destination switching means 11 (a) and 11 (b) and the input source switching means 12 are used, but the switching means 11 (a) and 11 (b) or the switching means The same effect can be obtained by using only one of the twelve.

【0103】(実施の形態9)図16は、本発明の実施
の形態9における画像符号化装置のブロック図である。
同図において、図1に示す実施の形態1および図2に示
す実施の形態2と同一の手段および信号については同じ
番号を付し説明を省略する。
(Embodiment 9) FIG. 16 is a block diagram of an image coding apparatus according to Embodiment 9 of the present invention.
In the figure, the same means and signals as those in the first embodiment shown in FIG. 1 and the second embodiment shown in FIG.

【0104】同図において、81はカラー画像信号から
フィールド単位で符号化するかフレーム単位で符号化す
るかをブロック毎に判定するモード判定手段、82はカ
ラーブロック画像をフィールド単位で符号化するカラー
画像フィールド符号化手段、83はカラーブロック画像
をフレーム単位で符号化するカラー画像フレーム符号化
手段、84は二値ブロック画像をフィールド単位で符号
化する二値画像フィールド符号化手段、85は二値ブロ
ック画像をフレーム単位で符号化する二値画像フレーム
符号化手段を示す。
In the figure, reference numeral 81 denotes a mode determining means for determining, on a block-by-block basis, whether to perform encoding on a field basis or on a frame basis from a color image signal, and 82 designates a color for encoding a color block image on a field basis. 83 is a color image frame encoding means for encoding a color block image on a frame basis, 84 is a binary image field encoding means for encoding a binary block image on a field basis, and 85 is a binary image field encoding means. 5 shows a binary image frame encoding unit that encodes a block image on a frame basis.

【0105】以上のように構成された画像符号化装置に
ついて、以下にその動作を説明する。カラーディジタル
画像は、図中に示されていないブロック分割手段によっ
て複数の画素から構成された2次元ブロックに分割され
カラーブロック画像161としてモード判定手段81お
よび切替え手段11(a)に入力される。
The operation of the image coding apparatus configured as described above will be described below. The color digital image is divided into a two-dimensional block composed of a plurality of pixels by a block dividing unit (not shown), and is input as a color block image 161 to the mode determining unit 81 and the switching unit 11 (a).

【0106】モード判定手段81は、入力されたカラー
ブロック画像161から画素値の分散や相関などを用い
てフィールド単位符号化またはフレーム単位符号化のい
ずれかを選択し、モード情報163として出力する。
The mode determining means 81 selects either field-based coding or frame-based coding from the input color block image 161 using the variance or correlation of pixel values, and outputs it as mode information 163.

【0107】切替え手段11(a)は、モード情報16
3に従ってカラーブロック画像161をカラー画像フィ
ールド符号化手段82またはカラー画像フレーム符号化
手段83のいずれかに入力する。また、切替え手段11
(c)は、モード情報163に従ってモード情報163
をカラー画像フィールド符号化手段82またはカラー画
像フレーム符号化手段83のいずれかに入力する。
The switching means 11 (a) outputs the mode information 16
The color block image 161 is input to either the color image field encoding means 82 or the color image frame encoding means 83 in accordance with Step 3. Switching means 11
(C) shows the mode information 163 according to the mode information 163.
Is input to either the color image field encoding means 82 or the color image frame encoding means 83.

【0108】カラー画像フィールド符号化手段82で
は、まずモード情報163を符号化し、次にカラーブロ
ック画像信号161をフィールド毎に符号化し出力す
る。カラー画像フレーム符号化手段83では、まずモー
ド情報163を符号化し、次にカラーブロック画像信号
161をフレーム構造のまま符号化し出力する。切替え
手段12(a)では、モード情報163に従ってカラー
画像フィールド符号化手段82の出力またはカラー画像
フレーム符号化手段83の出力を選択し、符号化カラー
画像信号164として出力する。
The color image field encoding means 82 first encodes the mode information 163, and then encodes and outputs the color block image signal 161 for each field. The color image frame encoding means 83 encodes the mode information 163 first, and then encodes and outputs the color block image signal 161 in the frame structure. The switching unit 12 (a) selects the output of the color image field encoding unit 82 or the output of the color image frame encoding unit 83 according to the mode information 163, and outputs it as an encoded color image signal 164.

【0109】切替え手段11(b)は、モード情報16
3に従って図中に示されていないブロック分割手段によ
って複数の画素から構成された2次元ブロックに分割さ
れた二値ブロック画像162を二値フィールド符号化手
段84または二値フレーム符号化手段85のいずれかに
入力する。
The switching means 11 (b) outputs the mode information 16
The binary block image 162 divided into a two-dimensional block composed of a plurality of pixels by a block dividing unit not shown in the drawing according to 3 is converted into a binary field encoding unit 84 or a binary frame encoding unit 85. Enter crab.

【0110】二値画像フィールド符号化手段84は、二
値ブロック画像164をフィールド毎に符号化し出力す
る。二値画像フレーム符号化手段85は、二値ブロック
画像162をフレーム構造のまま符号化し出力する。
The binary image field encoding means 84 encodes and outputs the binary block image 164 for each field. The binary image frame encoding unit 85 encodes and outputs the binary block image 162 in a frame structure.

【0111】切替え手段12(b)は、モード情報16
3に従って二値画像フィールド符号化手段84の出力ま
たは二値画像フレーム符号化手段85の出力を選択し符
号化二値画像信号165として出力する。多重化手段1
3は、符号化カラー画像信号164および符号化二値画
像信号165を多重化し、ビットストリーム信号14と
して出力する。
The switching means 12 (b) outputs the mode information 16
According to 3, the output of the binary image field encoding means 84 or the output of the binary image frame encoding means 85 is selected and output as an encoded binary image signal 165. Multiplexing means 1
3 multiplexes the coded color image signal 164 and the coded binary image signal 165, and outputs the multiplexed signal as a bit stream signal 14.

【0112】上記により説明した本実施の形態によれ
ば、インタレース構造を持つカラーディジタル画像信号
および二値ディジタル画像信号に対して、カラーディジ
タル画像のモード情報に従って二値ディジタル画像の符
号化を行うことにより、二値ディジタル画像のモード情
報を符号化する必要がなく符号化効率の向上が達成でき
る。
According to the present embodiment described above, a binary digital image is encoded with respect to a color digital image signal and a binary digital image signal having an interlaced structure according to the mode information of the color digital image. Accordingly, it is not necessary to encode the mode information of the binary digital image, and the encoding efficiency can be improved.

【0113】なお、本実施の形態では、出力先の切替え
手段11(a)、11(b)および11(c)と入力元
の切替え手段12(a)、12(b)を用いているが、
切替え手段11または切替え手段12のいずれか一方の
みを使用しても同一の効果を得ることができる。
In this embodiment, output destination switching means 11 (a), 11 (b) and 11 (c) and input source switching means 12 (a) and 12 (b) are used. ,
The same effect can be obtained even if only one of the switching means 11 and the switching means 12 is used.

【0114】(実施の形態10)図17は、本発明の実
施の形態10における画像復号化装置のブロック図であ
る。同図において、図1に示す実施の形態1、図2に示
す実施の形態2および図16に示す実施の形態9と同一
の手段および信号については同一の番号を付し説明を省
略する。同図において、88は符号化カラー画像信号1
64から符号化のモード情報163を復号化するモード
復号化判定手段、89は符号化カラー画像信号164か
らフィールド単位でカラーブロック画像を復号化するカ
ラー画像フィールド復号化手段、90は符号化カラー画
像信号164からフレーム構造のままカラーブロック画
像を復号化するカラー画像フレーム復号化手段、91は
符号化二値画像信号165からフィールド単位で二値ブ
ロック画像を復号化する二値画像フィールド復号化手
段、92は符号化二値画像信号165からフレーム単位
で二値ブロック画像を復号化する二値画像フレーム復号
化手段を示す。
(Embodiment 10) FIG.17 is a block diagram of an image decoding apparatus according to Embodiment 10 of the present invention. In the figure, the same means and signals as those in the first embodiment shown in FIG. 1, the second embodiment shown in FIG. 2, and the ninth embodiment shown in FIG. In the figure, reference numeral 88 denotes an encoded color image signal 1
Mode decoding determining means for decoding the encoding mode information 163 from 64; 89, a color image field decoding means for decoding a color block image from the encoded color image signal 164 in units of fields; 90, an encoded color image A color image frame decoding means for decoding a color block image from the signal 164 with the frame structure unchanged; 91, a binary image field decoding means for decoding a binary block image from the encoded binary image signal 165 in field units; Reference numeral 92 denotes a binary image frame decoding means for decoding a binary block image from the encoded binary image signal 165 in frame units.

【0115】以上のように構成された画像復号化装置に
ついて、以下にその動作を説明する。逆多重化手段15
は、ビットストリーム信号14より符号化カラー画像信
号164および符号化二値画像信号165を分離して出
力する。モード復号化判定手段88は、符号化カラー画
像信号164から符号化されたモード情報を分離し、符
号化カラー画像信号164を出力すると共に、分離され
たカラー画像のモード情報163を復号化する。
The operation of the image decoding apparatus configured as described above will be described below. Demultiplexing means 15
Separates the coded color image signal 164 and the coded binary image signal 165 from the bit stream signal 14 and outputs them. The mode decoding determination unit 88 separates the encoded mode information from the encoded color image signal 164, outputs the encoded color image signal 164, and decodes the mode information 163 of the separated color image.

【0116】切替え手段11(a)は、モード情報16
3に従って符号化カラー画像信号164をカラー画像フ
ィールド復号化手段89またはカラー画像フレーム復号
化手段90のいずれかに入力する。
The switching means 11 (a) outputs the mode information 16
The coded color image signal 164 is input to either the color image field decoding means 89 or the color image frame decoding means 90 in accordance with 3.

【0117】カラー画像フィールド復号化手段89は、
符号化カラー画像信号164からフィールド単位でカラ
ーブロック画像を復号化する。カラー画像フレーム復号
化手段90は、符号化カラー画像信号164からフレー
ム構造のままカラーブロック画像を復号化する。
The color image field decoding means 89
The color block image is decoded from the encoded color image signal 164 in field units. The color image frame decoding means 90 decodes the color block image from the encoded color image signal 164 while keeping the frame structure.

【0118】切替え手段12(a)は、モード情報16
3に従ってカラー画像フィールド符号化手段89の出力
またはカラー画像フレーム符号化手段90の出力のいず
れかを選択し、復号化されたカラーブロック画像168
として出力する。
The switching means 12 (a) outputs the mode information 16
3, the output of the color image field encoding means 89 or the output of the color image frame encoding means 90 is selected, and the decoded color block image 168 is selected.
Output as

【0119】切替え手段11(b)では、カラー画像の
モード情報163に従って二値符号化画像信号165を
二値画像フィールド復号化手段91または二値画像フレ
ーム復号化手段92のいずれかに入力する。
The switching means 11 (b) inputs the binary coded image signal 165 to either the binary image field decoding means 91 or the binary image frame decoding means 92 according to the color image mode information 163.

【0120】二値画像フィールド復号化手段91では、
符号化二値画像信号165からフィールド単位で二値ブ
ロック画像を復号化する。二値画像フレーム復号化手段
92では、符号化二値画像信号165からフレーム構造
のまま二値ブロック画像を復号化する。
In the binary image field decoding means 91,
A binary block image is decoded from the encoded binary image signal 165 in field units. The binary image frame decoding means 92 decodes a binary block image from the encoded binary image signal 165 while keeping the frame structure.

【0121】切替え手段12(b)では、モード情報1
63に従って二値画像フィールド復号化手段91の出力
または二値画像フレーム復号化手段92の出力のいずれ
かを選択し、復号化された二値ブロック画像169とし
て出力する。
In the switching means 12 (b), the mode information 1
According to 63, either the output of the binary image field decoding means 91 or the output of the binary image frame decoding means 92 is selected and output as a decoded binary block image 169.

【0122】上記により説明した本実施の形態によれ
ば、インタレース構造を持つカラーディジタル画像およ
び二値ディジタル画像の符号化画像信号に対して、カラ
ー画像、二値画像ともにモード復号化判定手段88で復
号化されたカラー画像のモード情報に従って復号化する
ことにより、二値画像のモード情報を用いることなく正
しく復号化することができる。
According to the present embodiment described above, the mode decoding judging means 88 for both the color image and the binary image for the encoded image signal of the color digital image and the binary digital image having the interlace structure. By decoding according to the mode information of the color image decoded in step (1), the decoding can be correctly performed without using the mode information of the binary image.

【0123】なお、本実施の形態では出力先切替え手段
11(a)、11(b)と入力元切替え手段12
(a)、12(b)を用いているが、切替え手段11ま
たは切替え手段12のいずれか一方のみを使用しても同
一の効果を得ることができる。
In the present embodiment, the output destination switching means 11 (a) and 11 (b) and the input source switching means 12
Although (a) and (b) are used, the same effect can be obtained by using only one of the switching unit 11 and the switching unit 12.

【0124】(実施の形態11)図18は、本発明の実
施の形態11における画像符号化装置のブロック図であ
る。同図において、図1に示す実施の形態1および図2
に示す実施の形態2と同一の手段および信号については
同じ番号を付し説明を省略する。同図において、93は
二値画像信号からフィールド単位で符号化するかフレー
ム単位で符号化するかをブロック毎に選択するモード判
定手段、94は二値ブロック画像をフィールド単位で符
号化する二値画像フィールド符号化手段、95は二値ブ
ロック画像をフレーム単位で符号化する二値画像フレー
ム符号化手段、96はカラーブロック画像をフィールド
単位で符号化するカラー画像フィールド符号化手段、9
7はカラーブロック画像をフレーム単位で符号化するカ
ラー画像フレーム符号化手段を示す。
(Embodiment 11) FIG. 18 is a block diagram of an image coding apparatus according to Embodiment 11 of the present invention. In the figure, the first embodiment shown in FIG.
The same means and signals as those of the second embodiment shown in FIG. In the drawing, reference numeral 93 denotes mode determination means for selecting, on a block-by-block basis, whether to perform coding on a field basis or on a frame basis from a binary image signal, and 94 designates a binary code for coding a binary block image on a field basis. Image field encoding means, 95, a binary image frame encoding means for encoding a binary block image on a frame basis, 96, a color image field encoding means for encoding a color block image on a field basis, 9
Reference numeral 7 denotes a color image frame encoding unit that encodes a color block image in frame units.

【0125】以上のように構成された画像符号化装置に
ついて、以下にその動作を説明する。二値ディジタル入
力画像信号は、図中に示されていないブロック分割手段
によって複数の画素から構成された2次元ブロックに分
割され、二値ブロック画像162としてモード判定手段
93および切替え手段11(a)に入力される。
The operation of the image coding apparatus configured as described above will be described below. The binary digital input image signal is divided into a two-dimensional block composed of a plurality of pixels by a block dividing unit not shown in the figure, and is converted into a binary block image 162 by the mode determining unit 93 and the switching unit 11 (a). Is input to

【0126】モード判定手段93は、入力された二値ブ
ロック画像162から画素値の分散や相関などを用いて
フィールド単位符号化処理またはフレーム単位符号化処
理のいずれかを判定し、モード情報170として出力す
る。
The mode determining means 93 determines one of the field unit coding process and the frame unit coding process from the input binary block image 162 by using the variance and correlation of the pixel values, etc. Output.

【0127】切替え手段11(a)は、モード情報17
0に従って二値ブロック画像162を二値画像フィール
ド符号化手段94または二値画像フレーム符号化手段9
5のいずれかに入力する。切替え手段11(c)は、モ
ード情報170に従ってモード情報を二値画像フィール
ド符号化手段94または二値画像フレーム符号化手段9
4のいずれかに入力する。
The switching means 11 (a) outputs the mode information 17
0, the binary block image 162 is converted into the binary image field encoding means 94 or the binary image frame encoding means 9.
Input to any of 5 The switching unit 11 (c) converts the mode information into the binary image field encoding unit 94 or the binary image frame encoding unit 9 according to the mode information 170.
Input to any of 4

【0128】二値画像フィールド符号化手段94では、
まずモード情報170を符号化し、次に二値ブロック画
像162をフィールド毎に符号化し出力する。二値画像
フレーム符号化手段95では、まずモード情報170を
符号化し、次に二値ブロック画像162をフレーム構造
のまま符号化し出力する。
In the binary image field encoding means 94,
First, the mode information 170 is encoded, and then the binary block image 162 is encoded and output for each field. The binary image frame encoding means 95 encodes the mode information 170 first, and then encodes and outputs the binary block image 162 in the frame structure.

【0129】切替え手段12(a)では、モード情報1
70に従って二値画像フィールド符号化手段94の出力
または二値画像フレーム符号化手段95の出力を選択
し、符号化二値画像信号171として出力する。切替え
手段11(b)は、モード情報170に従って図中に示
されていないブロック分割手段によって、複数の画素か
ら構成された2次元ブロックに分割されたカラーブロッ
ク画像161をカラーフィールド符号化手段96または
カラーフレーム符号化手段97のいずれかに入力する。
In the switching means 12 (a), the mode information 1
According to 70, the output of the binary image field encoding means 94 or the output of the binary image frame encoding means 95 is selected and output as an encoded binary image signal 171. The switching unit 11 (b) converts the color block image 161 divided into two-dimensional blocks composed of a plurality of pixels by the block dividing unit (not shown) according to the mode information 170 into the color field encoding unit 96 or It is input to one of the color frame encoding means 97.

【0130】カラー画像フィールド符号化手段96は、
カラーブロック画像161をフィールド毎に符号化し出
力する。カラー画像フレーム符号化手段97は、カラー
ブロック画像161をフレーム構造のまま符号化し出力
する。切替え手段12(b)は、モード情報170に従
ってカラー画像フィールド符号化手段96の出力または
カラー画像フレーム符号化手段97の出力を選択し符号
化カラー画像信号172として出力する。多重化手段1
3は、符号化二値画像信号171と符号化カラー画像信
号172を多重化し、ビットストリーム信号14を出力
する。
The color image field encoding means 96 comprises:
The color block image 161 is encoded and output for each field. The color image frame encoding means 97 encodes and outputs the color block image 161 in a frame structure. The switching unit 12 (b) selects the output of the color image field encoding unit 96 or the output of the color image frame encoding unit 97 according to the mode information 170 and outputs it as an encoded color image signal 172. Multiplexing means 1
3 multiplexes the coded binary image signal 171 and the coded color image signal 172 and outputs a bit stream signal 14.

【0131】上記により説明した本実施の形態によれ
ば、インタレース構造を持つカラーディジタル画像信号
および二値ディジタル画像信号に対して、二値ディジタ
ル画像のモード情報に従ってカラーディジタル画像の符
号化を行うことによりカラーディジタル画像のモード情
報を符号化する必要がなく符号化効率の向上が達成でき
る。
According to the present embodiment described above, the color digital image signal and the binary digital image signal having the interlace structure are encoded with the color digital image according to the mode information of the binary digital image. As a result, it is not necessary to encode the mode information of the color digital image, and the encoding efficiency can be improved.

【0132】なお、本実施の形態では出力先切替え手段
11(a)、11(b)および11(c)と入力元切替
え手段12(a)、12(b)を用いているが、切替え
手段11または切替え手段12のいずれか一方のみを使
用しても同一の効果を得ることができる。
In this embodiment, the output destination switching means 11 (a), 11 (b) and 11 (c) and the input source switching means 12 (a) and 12 (b) are used. The same effect can be obtained even if only one of the switching means 11 and the switching means 12 is used.

【0133】(実施の形態12)図19は、本発明の実
施の形態12における画像復号化装置のブロック図であ
る。同図において、図1に示す実施の形態1、図2に示
す実施の形態2、図16に示す実施の形態9および図1
8に示す実施の形態11と同一の手段および信号につい
ては同一の番号を付し説明を省略する。同図において、
98は符号化二値画像信号からモード情報170を復号
化するモード復号化判定手段を示す。
(Embodiment 12) FIG. 19 is a block diagram of an image decoding apparatus according to Embodiment 12 of the present invention. In the figure, the first embodiment shown in FIG. 1, the second embodiment shown in FIG. 2, the ninth embodiment shown in FIG.
The same means and signals as those of the eleventh embodiment shown in FIG. 8 are denoted by the same reference numerals and description thereof is omitted. In the figure,
Reference numeral 98 denotes a mode decoding determination unit that decodes the mode information 170 from the coded binary image signal.

【0134】以上のように構成された画像復号化装置に
ついて、以下にその動作を説明する。逆多重手段15
は、ビットストリーム信号14から符号化二値画像信号
171と符号化カラー画像信号172を分離し出力す
る。モード復号化判定手段98は、符号化二値画像信号
171から符号化二値画像信号と二値画像のモード情報
を分離し、符号化二値画像信号171を出力する共に二
値画像のモード情報170を復号化する。
The operation of the image decoding apparatus configured as described above will be described below. Inverse multiplexing means 15
Separates the coded binary image signal 171 and the coded color image signal 172 from the bit stream signal 14 and outputs them. The mode decoding determination means 98 separates the encoded binary image signal and the mode information of the binary image from the encoded binary image signal 171 and outputs the encoded binary image signal 171 and the mode information of the binary image. 170 is decrypted.

【0135】切替え手段11(a)は、モード情報17
0に従って符号化二値画像信号171を二値画像フィー
ルド復号化手段91または二値画像フレーム復号化手段
92のいずれかに入力する。
The switching means 11 (a) outputs the mode information 17
According to 0, the coded binary image signal 171 is input to either the binary image field decoding means 91 or the binary image frame decoding means 92.

【0136】二値画像フィールド復号化手段91は、符
号化二値画像信号171からフィールド単位で二値ブロ
ック画像を復号化する。二値画像フレーム復号化手段9
2は符号化二値画像信号171からフレーム構造のまま
二値ブロック画像を復号化する。
The binary image field decoding means 91 decodes a binary block image from the encoded binary image signal 171 in field units. Binary image frame decoding means 9
Numeral 2 decodes a binary block image from the encoded binary image signal 171 while keeping the frame structure.

【0137】切替え手段12(a)は、モード情報17
0に従って二値画像フィールド符号化手段91の出力ま
たは二値画像フレーム符号化手段92の出力のいずれか
を選択し、復号化された二値ブロック画像169として
出力する。
The switching means 12 (a) outputs the mode information 17
According to 0, either the output of the binary image field encoding means 91 or the output of the binary image frame encoding means 92 is selected and output as a decoded binary block image 169.

【0138】切替え手段11(b)では、二値画像のモ
ード情報170に従って符号化カラー画像信号172を
カラー画像フィールド復号化手段89またはカラー画像
フレーム復号化手段90のいずれかに入力する。
The switching means 11 (b) inputs the coded color image signal 172 to either the color image field decoding means 89 or the color image frame decoding means 90 according to the mode information 170 of the binary image.

【0139】カラー画像フィールド復号化手段89で
は、符号化カラー画像信号172からフィールド単位で
カラーブロック画像を復号化する。カラー画像フレーム
復号化手段90では、符号化カラー画像信号172から
フレーム構造のままカラーブロック画像を復号化する。
The color image field decoding means 89 decodes a color block image from the coded color image signal 172 in field units. The color image frame decoding means 90 decodes the color block image from the encoded color image signal 172 while keeping the frame structure.

【0140】切替え手段12(b)では、モード情報1
70に従ってカラー画像フィールド復号化手段89の出
力または二値画像フレーム復号化手段92の出力のいず
れかを選択し、復号化されたカラーブロック画像168
として出力する。
In the switching means 12 (b), the mode information 1
According to 70, either the output of the color image field decoding means 89 or the output of the binary image frame decoding means 92 is selected, and the decoded color block image 168 is selected.
Output as

【0141】上記により説明した本実施の形態によれ
ば、インタレース構造を持つカラーディジタル画像およ
び二値ディジタル画像の符号化画像信号に対して、カラ
ー画像、二値画像ともにモード復号化判定手段98で復
号化された二値画像のモード情報に従って復号化するこ
とにより、カラー画像のモード情報を用いることなく正
しく復号化することができる。
According to the present embodiment described above, the mode decoding judging means 98 for both the color image and the binary image for the encoded image signal of the color digital image and the binary digital image having the interlace structure. By decoding in accordance with the mode information of the binary image decoded in step (1), the decoding can be performed correctly without using the mode information of the color image.

【0142】なお、本実施の形態では出力先切替え手段
11(a)、11(b)と入力元切替え手段12
(a)、12(b)を用いているが、切替え手段11ま
たは切替え手段12のいずれか一方のみを使用しても同
一の効果を得ることができる。
In this embodiment, the output destination switching means 11 (a) and 11 (b) and the input source switching means 12
Although (a) and (b) are used, the same effect can be obtained by using only one of the switching unit 11 and the switching unit 12.

【0143】(実施の形態13)図20は本発明の実施
の形態13における画像符号化装置のブロック図であ
る。同図において図1に示す実施の形態1と同一の手段
および信号については同じ番号を付し説明を省略する。
(Embodiment 13) FIG. 20 is a block diagram of an image coding apparatus according to Embodiment 13 of the present invention. In the figure, the same means and signals as those in the first embodiment shown in FIG.

【0144】同図において187はフィールド単位で着
目画素の周辺画素の画素値の分布状態を調べるフィール
ド画素値分布調査手段、188はフレーム単位で着目画
素の周辺画素の画素値の分布状態を調べるフレーム画素
値分布調査手段、189は周辺画素値の分布状態に応じ
て着目画素の画素値の確率を決定する確率分布決定手
段、190は決定した確率分布に応じて着目画素の画素
値を算術符号化する画素値符号化手段、191はフィー
ルド単位で符号化された符号化信号とフレーム単位で符
号化された符号化信号を比較しフィールド/フレームモ
ードを判定し、モード情報を出力するモード判定手段、
192は画素値を保持するメモリを示す。
In the figure, reference numeral 187 denotes a field pixel value distribution examining means for examining the distribution of pixel values of peripheral pixels of the target pixel in field units; and 188, a frame for examining the distribution of pixel values of peripheral pixels of the target pixel in frame units. Pixel value distribution investigating means, 189 is a probability distribution determining means for determining the probability of the pixel value of the target pixel according to the distribution state of the peripheral pixel values, 190 is arithmetic coding of the pixel value of the target pixel according to the determined probability distribution A pixel value coding unit 191 that compares a coded signal coded in a field unit with a coded signal coded in a frame unit, determines a field / frame mode, and outputs mode information.
Reference numeral 192 denotes a memory that holds a pixel value.

【0145】以上のように構成された画像符号化装置に
ついて、以下にその動作を説明する。図中に示されてい
ないブロック分割手段によって複数の画素から構成され
た2次元ブロックに分割された二値ディジタル画像18
0は、まずメモリ192に入力され画素値が保持され
る。
The operation of the image coding apparatus configured as described above will be described below. A binary digital image 18 divided into two-dimensional blocks composed of a plurality of pixels by block dividing means not shown in the figure.
0 is first input to the memory 192 and the pixel value is held.

【0146】フィールド画素値分布調査手段187およ
びフレーム画素値分布調査手段188は、符号化対象画
素の周辺の画素値をメモリ192から読み出し画素値の
分布状態を決定する。図22および図23は8×8画素
に分割されたブロックを示し、画素位置Aの画素が符号
化対象画素である。また黒くハッチングされた画素は符
号化済みの画素を示す。フィールド画素値分布調査手段
187では、図22に示した画素位置B、C、Dの画素
値を符号化対象画素Aの周辺画素値として出力する。ま
た、フレーム画素値分布調査手段188では、図23に
示した画素位置B、C、Dの画素値を符号化対象画素A
の周辺画素値として出力する。
The field pixel value distribution examining means 187 and the frame pixel value distribution examining means 188 read out pixel values around the encoding target pixel from the memory 192 and determine the distribution state of the pixel values. FIGS. 22 and 23 show a block divided into 8 × 8 pixels, and the pixel at pixel position A is a pixel to be encoded. Pixels hatched in black indicate encoded pixels. The field pixel value distribution investigating unit 187 outputs the pixel values at the pixel positions B, C, and D shown in FIG. 22 as peripheral pixel values of the encoding target pixel A. Further, the frame pixel value distribution investigating unit 188 converts the pixel values at the pixel positions B, C, and D shown in FIG.
Is output as the peripheral pixel value of.

【0147】確率分布決定手段189では、フィールド
画素値分布調査手段187およびフレーム画素値分布調
査手段188で決定した周辺画素値の分布状態より、符
号化対象画素の画素値の確率分布を決定する。すなわ
ち、(B,C,D)が(黒,白,黒)であった場合、図
24の確率分布表より符号化対象画素Aが黒である確率
は0.75、白である確率は0.25とするものであ
る。
The probability distribution determining means 189 determines the probability distribution of the pixel value of the encoding target pixel from the distribution state of the peripheral pixel values determined by the field pixel value distribution investigating means 187 and the frame pixel value distribution investigating means 188. That is, when (B, C, D) is (black, white, black), the probability that the encoding target pixel A is black is 0.75 and the probability that it is white is 0 from the probability distribution table of FIG. .25.

【0148】画素値符号化手段190では、確率分布決
定手段189によって決定した確率分布に基づいて画素
値を算術符号化し、符号化画像信号を出力する。算術符
号は、シンボル系列(符号化すべきデータ系列)の発生
確率に応じて[0、1)の区間に分割していき、符号語
を算術演算により逐次的に構成し、最終的に得られた区
間内の位置を示す2進小数値をその系列の符号とするも
のである。ここで、[0、1)という記号は、0以上1
未満の区間または領域であることを示している。
The pixel value encoding means 190 arithmetically encodes pixel values based on the probability distribution determined by the probability distribution determining means 189, and outputs an encoded image signal. The arithmetic code is divided into sections [0, 1] in accordance with the probability of occurrence of a symbol sequence (data sequence to be coded), code words are sequentially formed by arithmetic operations, and finally obtained. A binary decimal value indicating a position in the section is used as the code of the series. Here, the symbol [0, 1) is 0 or more and 1
Indicates that the section or area is less than

【0149】図30に算術符号の概念図を示し説明す
る。確率分布決定手段189で求められた対象画素の周
辺画素値B、C、Dから図24の確率分布表に基づい
て、数値直線上の領域を設定していく。(表1)にその
手順を示すが、シンボル系列S=11100・・・・を
符号化した場合、周辺画素B、C、Dから対象画素の”
1”となる発生確率と”0”となる発生確率は、図24
の確率分布表から0.95と0.05である。図30に
示すとP0とP1で表現でき、対象画素が”1”の場合
はP0側の領域が選択される。
FIG. 30 shows a conceptual diagram of the arithmetic code, which will be described. Based on the probability distribution table of FIG. 24, the area on the numerical value straight line is set from the peripheral pixel values B, C, and D of the target pixel obtained by the probability distribution determination means 189. The procedure is shown in (Table 1). When the symbol sequence S = 11100... Is encoded, the peripheral pixels B, C, and D
The occurrence probability of “1” and the occurrence probability of “0” are shown in FIG.
Are 0.95 and 0.05 from the probability distribution table. In FIG. 30, it can be expressed by P0 and P1, and when the target pixel is "1", the area on the P0 side is selected.

【0150】[0150]

【表1】 [Table 1]

【0151】次に、2番目の対象画素については、1番
目のA1の領域に対して、発生確率に基づいて領域を分
割し、対象画素の画素値に応じて領域を選択していくも
のでA11の領域が選択される。以後、前対象画素の選
択した領域に対して、同様に発生確率に基づいて領域を
分割し、対象画素によりどちらかの領域を選択するもの
で、最終画素の領域の位置を示す2進小数値をその系列
の符号とするものである。
Next, for the second target pixel, the first A1 region is divided into regions based on the probability of occurrence, and the region is selected according to the pixel value of the target pixel. The area A11 is selected. Thereafter, a region is similarly divided based on the probability of occurrence with respect to the region selected by the previous target pixel, and one of the regions is selected by the target pixel. A binary decimal value indicating the position of the region of the last pixel Is the code of the series.

【0152】モード判定手段191では、フィールド単
位で画素値の分布状態を調査した確率分布に基づいて得
られた符号化画像信号と、フレーム単位で画素値の分布
状態を調査した確率分布に基づいて選られた符号化画像
信号とを1ブロック毎に比較し、符号長の短い方を選択
するフィールド/フレームモードを判定し、モード情報
185として出力する。
The mode determining means 191 is based on a coded image signal obtained based on a probability distribution obtained by examining the distribution of pixel values on a field basis and a probability distribution obtained by examining the distribution of pixel values on a frame basis. The selected coded image signal is compared for each block, a field / frame mode for selecting the shorter code length is determined, and output as mode information 185.

【0153】切替え手段12では、モード情報185に
従ってフィールド単位符号化画像信号またはフレーム単
位符号化画像信号のいずれかを選択し符号化画像信号1
86として出力する。多重化手段13は、モード情報1
85および符号化画像信号186を多重化し、ビットス
トリーム信号14として出力する。
The switching means 12 selects either the field-based coded image signal or the frame-based coded image signal according to the mode information 185, and selects the coded image signal 1
86. The multiplexing means 13 outputs the mode information 1
85 and the coded image signal 186 are multiplexed and output as the bit stream signal 14.

【0154】上記により説明した本実施の形態によれ
ば、インターレース構造を持つ二値ディジタル画像を、
周辺画素値の分布状態に応じて符号化対象画素の画素値
の確率分布を決定し算術符号化するする際に、フィール
ド単位で確率分布を決定する手法とフレーム単位で確率
分布を決定する手法のいずれか効率の良い方をモード判
定手段191によってブロック毎に判定し切替えること
によって符号化効率の向上を達成することができる。
According to the embodiment described above, a binary digital image having an interlaced structure is
When determining the probability distribution of the pixel value of the encoding target pixel according to the distribution state of the peripheral pixel value and performing arithmetic coding, a method of determining the probability distribution on a field basis and a method of determining the probability distribution on a frame basis By judging whichever is more efficient by the mode determining means 191 for each block and switching, the encoding efficiency can be improved.

【0155】なお、本実施の形態では図22,23では
8×8画素のブロックを示したが任意のm×n画素から
構成されたブロックについて同様に実施することができ
る。
In this embodiment, 8 × 8 pixel blocks are shown in FIGS. 22 and 23. However, the present invention can be similarly applied to blocks composed of arbitrary m × n pixels.

【0156】また、図22、23、24では符号化対象
画素の周辺画素としてB、C、Dの3画素を用いたが、
さらに多くの画素を用いることも可能である。
In FIGS. 22, 23, and 24, three pixels B, C, and D are used as peripheral pixels of the encoding target pixel.
It is also possible to use more pixels.

【0157】(実施の形態14)図21は、本発明の実
施の形態14における画像復号化装置のブロック図であ
る。同図において、図1に示す実施の形態1、図2に示
す実施の形態2、および図20に示す実施の形態13と
同一の手段および信号については同じ番号を付し説明を
省略する。
(Embodiment 14) FIG. 21 is a block diagram of an image decoding apparatus according to Embodiment 14 of the present invention. In this figure, the same means and signals as those in the first embodiment shown in FIG. 1, the second embodiment shown in FIG. 2, and the thirteenth embodiment shown in FIG.

【0158】同図において194は確率分布の応じて復
号化対象画像を算術復号化する画素値復号化手段、19
3は復号化された二値ディジタル画像信号を示す。
In the figure, reference numeral 194 denotes a pixel value decoding means for arithmetically decoding an image to be decoded according to a probability distribution;
Reference numeral 3 denotes a decoded binary digital image signal.

【0159】以上のように構成された画像復号化装置に
ついて、以下にその動作を説明する。逆多重化手段15
は、ビットストリーム信号14からモード情報185と
符号化画像信号186とを分離し出力する。切替え手段
11では、モード情報185に従ってメモリ192内に
保持されている既に復号化済みの画素の画素値データを
フィールド画素値分布調査手段187またはフレーム画
素値分布調査手段188に入力する。
The operation of the image decoding apparatus configured as described above will be described below. Demultiplexing means 15
Separates the mode information 185 and the encoded image signal 186 from the bit stream signal 14 and outputs the separated information. The switching unit 11 inputs the pixel value data of the already decoded pixels held in the memory 192 to the field pixel value distribution inspection unit 187 or the frame pixel value distribution inspection unit 188 according to the mode information 185.

【0160】フィールド画素値分布調査手段187で
は、図22に例示した復号化対象ブロックにおいて、画
素位置Aが復号化対象画素であるとすると、黒くハッチ
ングされた画素は既に復号化済みであり、画素位置B、
C、Dの画素値を復号化対象画素Aの周辺画素値として
出力し、また、フレーム画素値分布調査手段188で
は、図23に例示した復号化対象ブロックにおいて、同
様に復号化対象画素Aの周辺の周辺画素値として画素位
置B、C、Dの画素値を出力する。
In the field pixel value distribution examining means 187, assuming that the pixel position A is the pixel to be decoded in the decoding target block illustrated in FIG. 22, the pixels hatched in black have already been decoded. Position B,
The pixel values of C and D are output as peripheral pixel values of the decoding target pixel A, and the frame pixel value distribution examining means 188 similarly outputs the decoding target pixel A of the decoding target block illustrated in FIG. The pixel values at the pixel positions B, C, and D are output as the peripheral pixel values of the periphery.

【0161】切替え手段12では、モード情報185に
従ってフィールド単位での画素値の分布状態、または、
フレーム単位での画素値の分布状態のいずれかを確率分
布決定手段189に入力する。
In the switching means 12, the distribution of pixel values on a field basis according to the mode information 185, or
One of the distribution states of the pixel values in the frame unit is input to the probability distribution determination unit 189.

【0162】確率分布決定手段189では、フィールド
画素値分布調査手段187またはフレーム画素値分布調
査手段188で決定した周辺画素値の分布状態より、符
号化対象画素の画素値の確率分布を決定する。すなわ
ち、(B,C,D)が(黒,白,黒)であった場合、図
24の確率分布表により復号化対象画素Aが黒である確
率は0.75、白である確率は0.25となる。
The probability distribution determining means 189 determines the probability distribution of the pixel value of the encoding target pixel from the distribution state of the peripheral pixel values determined by the field pixel value distribution inspecting means 187 or the frame pixel value distribution inspecting means 188. That is, when (B, C, D) is (black, white, black), the probability that the decoding target pixel A is black is 0.75 and the probability that it is white is 0 in the probability distribution table of FIG. .25.

【0163】画素値復号化手段194では、確率分布決
定手段189によって決定した確率分布に基づいて画素
値を算術復号化により復号化し、復号化画像信号193
として出力する。また出力された復号化画像信号はメモ
リ192に入力され保持される。算術符号の復号化は、
対象画素Aの周辺画素から図24の確率分布表で決定さ
れる確率分布に基づいて領域を分割して、符号化された
領域の位置がどちら側に存在しているかにより、対象画
素の値を決定するものである。
The pixel value decoding means 194 decodes the pixel value by arithmetic decoding based on the probability distribution determined by the probability distribution determining means 189, and outputs the decoded image signal 193.
Output as The output decoded image signal is input to and held in the memory 192. The decoding of arithmetic code is
The area is divided from the peripheral pixels of the target pixel A based on the probability distribution determined by the probability distribution table of FIG. 24, and the value of the target pixel is determined based on which side the position of the encoded area exists. To decide.

【0164】上記により説明した本実施の形態によれ
ば、二値ディジタル画像の画素値を算術符号を用いて復
号化する画像復号化装置において、復号化対象画素の画
素値の確率分布を、復号化対象画素の周辺画素の画素値
の分布状態に応じて決定する際に、モード情報185お
よび切替え手段11、12を用いることによって、イン
ターレース構造を持つ画像においても正しく復号化する
ことができる。
According to the present embodiment described above, in an image decoding apparatus for decoding pixel values of a binary digital image using arithmetic codes, the probability distribution of the pixel values of the decoding target pixels is By using the mode information 185 and the switching units 11 and 12 when determining according to the distribution state of the pixel values of the peripheral pixels of the conversion target pixel, it is possible to correctly decode even an image having an interlace structure.

【0165】なお、本実施の形態では出力先切替え手段
11と入力元切替え手段12を用いているが、切替え手
段11または切替え手段12のいずれか一方のみを使用
しても同一の効果を得ることができる。
In this embodiment, the output destination switching means 11 and the input source switching means 12 are used. However, the same effect can be obtained even if only one of the switching means 11 and the switching means 12 is used. Can be.

【0166】また、図22、図23では8×8画素のブ
ロックを示したが任意のm×n画素から構成されたブロ
ックについて同様に実施することができる。
Although FIGS. 22 and 23 show a block of 8 × 8 pixels, the present invention can be similarly applied to a block composed of arbitrary m × n pixels.

【0167】さらに、図22、図23、図24では符号
化対象画素の周辺画素としてB、C、Dの3画素を用い
たがさらに多くの画素を用いることも可能である。
Further, in FIGS. 22, 23, and 24, three pixels B, C, and D are used as peripheral pixels of the encoding target pixel, but more pixels can be used.

【0168】(実施の形態15)図25は、本発明の実
施の形態15における画像符号化装置のブロック図であ
る。同図において図1に示す実施の形態1、図13に示
す実施の形態および図20に示す実施の形態13と同一
の手段および信号については同じ番号を付し説明を省略
する。
(Embodiment 15) FIG.25 is a block diagram of an image coding apparatus according to Embodiment 15 of the present invention. In this figure, the same means and signals as those in the first embodiment shown in FIG. 1, the first embodiment shown in FIG. 13 and the thirteenth embodiment shown in FIG.

【0169】同図において、51はフィールド/フレー
ムモードを判定しモード情報を出力するモード判定手
段、52は二値ディジタル画像を符号化する符号化手
段、53はフィールド単位で動き補償を行うフィールド
動き補償手段、54はフレーム単位で動き補償を行うフ
レーム動き補償手段、56は復号化された画像を保持す
るメモリ、57は符号化画像信号から二値ディジタル画
像を復号化する復号化手段、58はフィールド単位で動
き推定を行うフィールド動き推定手段、59はフレーム
単位で動き推定を行うフレーム動き推定手段、201は
フィールド単位で動き補償予測画像において符号化対象
画素と同じ位置およびその周辺の画素の画素値の分布状
態を調査するフィールド画素値分布調査手段、202は
フレーム単位で動き補償予測画像において符号化対象画
素と同じ位置およびその周辺の画素の画素値の分布状態
を調査するフレーム画素値分布調査手段、200は動き
補償予測画像信号、203は符号化画像信号を示す。
In the figure, reference numeral 51 denotes a mode determining means for determining a field / frame mode and outputting mode information; 52, an encoding means for encoding a binary digital image; 53, a field motion for performing motion compensation on a field basis; Compensating means, 54 is a frame motion compensating means for performing motion compensation on a frame basis, 56 is a memory for holding a decoded image, 57 is a decoding means for decoding a binary digital image from an encoded image signal, and 58 is a decoding means. Field motion estimating means for performing motion estimation on a field basis, 59 is a frame motion estimating means for performing motion estimation on a frame basis, 201 is a pixel at the same position as a pixel to be coded in a motion compensated prediction image on a field basis and its surrounding pixels A field pixel value distribution examination unit 202 for examining a value distribution state is provided with a motion compensation Frame pixel value distribution survey section to investigate the distribution of the same position and pixel values of neighboring pixels and coded pixel in the prediction image, 200 a motion compensated prediction picture signal, 203 denotes an encoded image signal.

【0170】以上のように構成された画像符号化装置に
ついて、以下にその動作を説明する。まず、最初に動き
推定・動き報償処理について説明する。図中に示されて
いないブロック分割手段によって、複数の画素から構成
された2次元ブロックに分割された二値ディジタル画像
は、ブロック毎に入力画像信号131としてフィールド
動き推定手段58およびフレーム動き推定手段59に入
力される。
The operation of the image coding apparatus configured as described above will be described below. First, the motion estimation / motion compensation processing will be described. A binary digital image divided into two-dimensional blocks composed of a plurality of pixels by a block dividing unit not shown in the figure is converted into an input image signal 131 for each block by a field motion estimating unit 58 and a frame motion estimating unit. 59 is input.

【0171】フィールド動き推定手段58では、入力画
像信号131および参照画像信号136からフィールド
毎に動き推定を行い、フィールド動きベクトル138を
出力する。フレーム動き推定手段59では、入力画像信
号131および参照画像信号136からフレーム構造の
まま動き推定を行い、フレーム動きベクトル139を出
力する。
The field motion estimating means 58 performs motion estimation for each field from the input image signal 131 and the reference image signal 136, and outputs a field motion vector 138. The frame motion estimating means 59 performs motion estimation with the frame structure from the input image signal 131 and the reference image signal 136, and outputs a frame motion vector 139.

【0172】フィールド動き補償手段53では、参照画
像信号136およびフィールド動きベクトル138を用
いてフィールド毎に動き補償を行いフィールド予測画像
134を出力する。フレーム動き補償手段54では、参
照画像信号136およびフレーム動きベクトル139か
らフレーム構造のまま動き推定/動き補償を行いフレー
ム予測画像信号135を出力する。
The field motion compensator 53 performs motion compensation for each field using the reference image signal 136 and the field motion vector 138, and outputs a field prediction image 134. The frame motion compensator 54 performs motion estimation / motion compensation with the frame structure from the reference image signal 136 and the frame motion vector 139, and outputs a frame prediction image signal 135.

【0173】モード判定手段51では、フィールド予測
画像信号134とフレーム予測画像信号135を比較
し、動き補償予測誤差がより少なくなるモードを判定
し、モード情報133として出力する。
The mode determination means 51 compares the field prediction image signal 134 with the frame prediction image signal 135, determines the mode in which the motion compensation prediction error is smaller, and outputs the mode as the mode information 133.

【0174】画素値復号化手段194では、モード情報
185によって選択された動き補償予測画像信号200
をフレーム画素値分布調査手段202またはフィールド
画素値分布調査手段201で画素値分布状態を調査し、
確率分布決定手段189によって決定した確率分布に基
づいて画素値を算術復号化により復号化し、復号化画像
信号204として出力する。また出力された復号化画像
信号はメモリ204に入力され保持される。切替え手段
12(c)は、フィールド動き推定手段58からの動き
ベクトル138またはフレーム動き推定手段59からの
動きベクトル139のどちらかをモード情報133に従
って出力する。
In the pixel value decoding means 194, the motion-compensated predicted image signal 200 selected by the mode information 185
The pixel value distribution state is investigated by the frame pixel value distribution investigation means 202 or the field pixel value distribution investigation means 201,
The pixel value is decoded by arithmetic decoding based on the probability distribution determined by the probability distribution determining unit 189, and is output as a decoded image signal 204. The output decoded image signal is input to the memory 204 and held. The switching unit 12 (c) outputs either the motion vector 138 from the field motion estimation unit 58 or the motion vector 139 from the frame motion estimation unit 59 according to the mode information 133.

【0175】次に、確率分布に基づいて算術符号化する
符号化処理について説明する。切替え手段12(a)で
は、モード情報133に従ってフィールド予測画像信号
134またはフレーム予測画像信号135のいずれかを
選択し、動き補償予測されて得られた動き補償予測画像
はフィールド画素値分布調査手段201、およびフレー
ム画素値分布調査手段202に入力される。
Next, an encoding process for performing arithmetic encoding based on the probability distribution will be described. The switching unit 12 (a) selects either the field prediction image signal 134 or the frame prediction image signal 135 according to the mode information 133, and the motion compensation predicted image obtained by the motion compensation prediction is a field pixel value distribution investigation unit 201. , And the frame pixel value distribution investigating means 202.

【0176】フィールド画素値分布調査手段201およ
びフレーム画素値分布調査手段202では、動き補償予
測画像信号200における符号化対象画素と同じ位置お
よびその周辺の画素の画素値を調査する。図27および
図28は8×8画素に分割されたブロックを示し、図2
7(a)および図28(a)は動き補償予測されたブロ
ック、図27(b)および図28(b)は符号化対象ブ
ロックを示す。
The field pixel value distribution investigating means 201 and the frame pixel value distribution investigating means 202 examine the pixel value of the pixel at the same position as the encoding target pixel in the motion-compensated predicted image signal 200 and its surrounding pixels. FIGS. 27 and 28 show a block divided into 8 × 8 pixels.
7 (a) and FIG. 28 (a) show motion compensated predicted blocks, and FIGS. 27 (b) and 28 (b) show coding target blocks.

【0177】フィールド画素値分布調査手段201で
は、符号化対象画素が図27(b)に示される画素Aで
あるとすると、動き補償予測ブロック内で画素Aと同じ
位置にある図27(a)の画素Bおよびフィールド単位
でその周辺画素となるCおよびDの画素値を符号化対象
画素Aの周辺画素値の分布状態として出力する。
In the field pixel value distribution examining means 201, assuming that the pixel to be encoded is the pixel A shown in FIG. 27B, the pixel A shown in FIG. And the pixel values of C and D, which are the peripheral pixels in the pixel B and the field unit, are output as the distribution state of the peripheral pixel values of the encoding target pixel A.

【0178】フレーム画素値分布調査手段202では、
符号化対象画素が図28(b)に示される画素Aである
とすると、動き補償予測ブロック内で画素Aと同じ位置
にある図28(a)の画素Bおよびフレーム単位でその
周辺画素となるCおよびDの画素値を符号化対象画素A
の周辺画素値の分布状態として出力する。
In the frame pixel value distribution investigating means 202,
Assuming that the encoding target pixel is the pixel A shown in FIG. 28 (b), the pixel becomes the pixel B of FIG. 28 (a) at the same position as the pixel A in the motion compensation prediction block and its peripheral pixels in frame units. The pixel values of C and D are converted to the pixel A to be encoded.
Is output as the distribution state of the peripheral pixel values.

【0179】確率分布決定手段189では、フィールド
画素値分布調査手段201およびフレーム画素値分布調
査手段202で決定した周辺画素値の分布状態より、符
号化対象画素の画素値の確率分布を決定する。すなわ
ち、(B,C,D)が(黒,白、黒)であった場合、図
29に示す確率分布表より符号化対象画素Aの画素値が
黒である確率は0.75、白である確率は0.25とな
る。
The probability distribution determining means 189 determines the probability distribution of the pixel value of the encoding target pixel from the distribution of the peripheral pixel values determined by the field pixel value distribution investigating means 201 and the frame pixel value distribution investigating means 202. That is, when (B, C, D) is (black, white, black), the probability that the pixel value of the encoding target pixel A is black is 0.75 from the probability distribution table shown in FIG. A certain probability is 0.25.

【0180】画素値符号化手段190では、確率分布決
定手段189によって決定した確率分布に基づいて画素
値を算出符号化し、符号化画像信号を出力する。
The pixel value encoding means 190 calculates and encodes pixel values based on the probability distribution determined by the probability distribution determining means 189, and outputs an encoded image signal.

【0181】モード判定手段191では、フィールド単
位で画素値の分布状態を調査した確率分布に基づいて得
られた符号化画像信号と、フレーム単位で画素値の分布
状態を調査した確率分布に基づいて選られた符号化画像
信号とを一ブロック毎に比較し、符号長の短い方を判定
することによってフィールド/フレームモードを決定
し、モード情報185として出力する。
The mode determining means 191 is based on a coded image signal obtained based on a probability distribution obtained by examining the distribution of pixel values on a field basis and a probability distribution obtained by examining the distribution of pixel values on a frame basis. The selected coded image signal is compared for each block, and the field / frame mode is determined by determining the shorter code length, and is output as mode information 185.

【0182】切替え手段12(b)では、モード情報1
85に従ってフィールド単位符号化画像信号またはフレ
ーム単位符号化画像信号のいずれかを選択し符号化画像
信号203として出力する。
In the switching means 12 (b), the mode information 1
In accordance with 85, either the field-based coded image signal or the frame-based coded image signal is selected and output as a coded image signal 203.

【0183】多重化手段13は、モード情報133、1
85、動きベクトル信号140および符号化画像信号2
03を多重化して、ビットストリーム信号14を出力す
る。
The multiplexing means 13 includes mode information 133, 1
85, motion vector signal 140 and encoded image signal 2
03 is multiplexed and a bit stream signal 14 is output.

【0184】上記により説明した本実施の形態によれ
ば、インターレース構造を持つ二値ディジタル画像を、
動き補償予測画像の画素値の分布状態に応じて符号化対
象画素の画素値の確率分布を決定し算術符号化するする
際に、フィールド単位で確率分布を決定する手法とフレ
ーム単位で確率分布を決定する手法のいずれか効率の良
い方をモード判定手段191によってブロック毎に判定
し切替えることによって符号化効率の向上を達成するこ
とができる。
According to the present embodiment described above, a binary digital image having an interlaced structure is
When determining the probability distribution of the pixel value of the encoding target pixel according to the distribution state of the pixel value of the motion compensated prediction image and performing arithmetic coding, a method of determining the probability distribution on a field basis and a probability distribution on a frame basis. Improvement of the coding efficiency can be achieved by judging and switching the more efficient one of the determining methods for each block by the mode determining means 191.

【0185】なお、本実施の形態では図27,28では
8×8画素のブロックを示したが任意のm×n画素から
構成されたブロックについて同様に実施することができ
る。
In this embodiment, 8 × 8 pixel blocks are shown in FIGS. 27 and 28. However, the present invention can be similarly applied to blocks composed of arbitrary m × n pixels.

【0186】また、図27、28、29では動き補償予
測画像の画素値の分布状態を調べる対象画素として画素
位置B、C、Dの3画素を用いたがさらに多くの画素を
用いることも可能である。
In FIGS. 27, 28, and 29, three pixels at pixel positions B, C, and D are used as target pixels for examining the distribution of pixel values of the motion-compensated predicted image. However, more pixels can be used. It is.

【0187】(実施の形態16)図26は、本発明の実
施の形態16における画像復号化装置のブロック図であ
る。同図において、図1に示す実施の形態1、図2に示
す実施の形態2、図20に示す実施の形態13、図21
に示す実施の形態14、および図25に示す実施の形態
15と同一の手段および信号については同じ番号を付し
説明を省略する。
(Embodiment 16) FIG. 26 is a block diagram of an image decoding apparatus according to Embodiment 16 of the present invention. In the figure, the first embodiment shown in FIG. 1, the second embodiment shown in FIG. 2, the thirteenth embodiment shown in FIG.
The same means and signals as those of the fourteenth embodiment shown in FIG. 15 and the fifteenth embodiment shown in FIG.

【0188】同図において204は復号化された二値デ
ィジタル画像信号を示す。以上のように構成された画像
復号化装置について、以下にその動作を説明する。逆多
重化手段15は、ビットストリーム信号14からモード
情報133、185、動きベクトル信号140および符
号化画像信号203を分離して出力する。動きベクトル
信号140は、切替え手段11によりモード情報133
に従ってフィールド動き補償手段53またはフレーム動
き補償手段54のいずれかに入力される。
In the figure, reference numeral 204 denotes a decoded binary digital image signal. The operation of the image decoding apparatus configured as described above will be described below. The demultiplexer 15 separates the mode information 133, 185, the motion vector signal 140, and the coded image signal 203 from the bit stream signal 14 and outputs them. The motion vector signal 140 is converted into mode information 133 by the switching means 11.
Is input to either the field motion compensation means 53 or the frame motion compensation means 54 according to

【0189】フィールド動き補償手段53は、参照画像
信号136及び動きベクトル信号140を用いてフィー
ルド毎に動き補償を行い、フィールド予測画像信号13
4を出力する。フレーム動き補償手段54は、参照画像
信号136及び動きベクトル信号140を用いてフレー
ム構造のまま動き補償を行いフレーム予測画像信号13
5を出力する。
The field motion compensating means 53 performs motion compensation for each field using the reference image signal 136 and the motion vector signal 140, and obtains the field prediction image signal 13
4 is output. The frame motion compensator 54 performs motion compensation with the frame structure using the reference image signal 136 and the motion vector signal 140, and performs the frame prediction image signal 13
5 is output.

【0190】フィールド画素値分布調査手段201で
は、図27(b)に例示した8×8画素からなる復号化
対象ブロックにおいて画素Aが復号化対象画素であると
すると、図27(a)に例示した動き補償予測ブロック
において画素Aと同じ位置の画素B、およびフィールド
単位で画素Bの周辺画素である画素CおよびDの画素値
を復号化対象画素Aの周辺画素値として出力し、また、
フレーム画素値分布調査手段202では図28(b)に
例示した8×8画素からなる復号化対象ブロックにおい
て画素Aが復号化対象画素であるとすると、図28
(a)に例示した動き補償予測ブロックにおいて画素A
と同じ位置の画素B、およびフレーム単位で画素Bの周
辺画素である画素CおよびDの画素値を復号化対象画素
Aの周辺画素値として出力する。
In the field pixel value distribution examining means 201, assuming that pixel A is a pixel to be decoded in the decoding target block consisting of 8 × 8 pixels shown in FIG. In the motion-compensated prediction block, the pixel B at the same position as the pixel A, and the pixel values of the pixels C and D, which are the peripheral pixels of the pixel B in field units, are output as the peripheral pixel values of the decoding target pixel A.
The frame pixel value distribution examining means 202 assumes that pixel A is a decoding target pixel in the decoding target block composed of 8 × 8 pixels illustrated in FIG. 28B.
The pixel A in the motion compensation prediction block illustrated in FIG.
And the pixel values of the pixels C and D, which are the peripheral pixels of the pixel B in the same position as the pixel B, are output as the peripheral pixel values of the decoding target pixel A.

【0191】切替え手段12では、モード情報185に
従ってフィールド単位での画素値の分布状態、またはフ
レーム単位での画素値の分布状態のいずれかを確率分布
決定手段189に入力する。
The switching means 12 inputs to the probability distribution determining means 189 either the distribution of pixel values on a field basis or the distribution of pixel values on a frame basis according to the mode information 185.

【0192】確率分布決定手段189では、フィールド
画素値分布調査手段201またはフレーム画素値分布調
査手段202で決定した周辺画素値の分布状態より、符
号化対象画素の画素値の確率分布を決定する。すなわ
ち、(B,C,D)が(黒,白,黒)であった場合、図
29に示す確率分布表により符号化対象画素Aが黒であ
る確率は0.75、白である確率は0.25となる。
The probability distribution determining means 189 determines the probability distribution of the pixel value of the encoding target pixel from the distribution state of the peripheral pixel values determined by the field pixel value distribution investigating means 201 or the frame pixel value distribution investigating means 202. That is, when (B, C, D) is (black, white, black), the probability that the encoding target pixel A is black is 0.75 and the probability that it is white is according to the probability distribution table shown in FIG. 0.25.

【0193】画素値復号化手段194では、確率分布決
定手段189によって決定した確率分布に基づいて画素
値を算術復号化により復号化し、復号化画像信号204
として出力すると共にメモり56に入力する。
The pixel value decoding means 194 decodes the pixel value by arithmetic decoding based on the probability distribution determined by the probability distribution determining means 189, and outputs the decoded image signal 204.
As well as input to the memory 56.

【0194】上記により説明した本実施の形態によれ
ば、二値ディジタル画像の画素値を算術復号化を用いて
復号化する画像復号化装置において、復号化対象画素の
画素値の確率分布を、動き補償予測画像の画素値の分布
状態に応じて決定する際に、モード情報185および切
替え手段11,12を用いることによって、インターレ
ース構造を持つ画像においても正しく復号化することが
できる。
According to the present embodiment described above, in an image decoding apparatus for decoding pixel values of a binary digital image using arithmetic decoding, the probability distribution of the pixel values of the decoding target pixel is calculated as follows. By using the mode information 185 and the switching units 11 and 12 when determining according to the distribution state of the pixel values of the motion-compensated predicted image, it is possible to correctly decode even an image having an interlace structure.

【0195】なお、本実施の形態では出力先切替え手段
11と入力元切替え手段12を用いているが、切替え手
段11または切替え手段12のいずれか一方のみを使用
しても同一の効果を得ることができる。
In this embodiment, the output destination switching means 11 and the input source switching means 12 are used. However, the same effect can be obtained even if only one of the switching means 11 and the switching means 12 is used. Can be.

【0196】また、図27,28では8×8画素のブロ
ックを示したが任意のm×n画素から構成されたブロッ
クについて同様に実施することができる。
Although FIGS. 27 and 28 show blocks of 8 × 8 pixels, the present invention can be similarly applied to blocks composed of arbitrary m × n pixels.

【0197】さらに、図27、28、29では符号化対
象画素の周辺画素としてB、C、Dの3画素を用いたが
さらに多くの画素を用いることも可能である。
Further, in FIGS. 27, 28 and 29, three pixels B, C and D are used as peripheral pixels of the pixel to be encoded, but more pixels can be used.

【0198】(実施の形態17)本発明は、実施の形態
1から16に示した構成をプログラムによってソフト的
に実現し、これをフロッピーディスク等の記録媒体に記
録して移送することにより、独立した他のコンピュータ
システムで容易に実施することができる。図31に、記
録媒体の例としてフロッピーディスクを示す。
(Embodiment 17) According to the present invention, the configuration shown in Embodiments 1 to 16 is realized by software using a program, and this is recorded on a recording medium such as a floppy disk and transferred, thereby achieving an independent operation. It can be easily implemented by another computer system. FIG. 31 shows a floppy disk as an example of the recording medium.

【0199】なお、この実施の形態においては、記録媒
体としてフロッピーディスクを示したが、ICカードや
CD−ROM、磁気テープ等プログラムを記録できるも
のであれば、同様に実施することができる。
In this embodiment, a floppy disk is described as a recording medium. However, the present invention can be similarly implemented as long as a program such as an IC card, a CD-ROM, and a magnetic tape can be recorded.

【0200】[0200]

【発明の効果】以上のように、本発明の効果としては、
インタレース構造を持つディジタル画像をブロック分割
しブロック毎に符号化/復号化する画像符号化装置/画
像復号化装置において、ブロック毎にフィールド構造ま
たはフレーム構造を考慮し符号化効率の良いモードを選
択することにより符号化効率の顕著な改善効果が得られ
る。
As described above, the effects of the present invention include:
In an image encoding device / image decoding device that divides a digital image having an interlaced structure into blocks and encodes / decodes each block, a mode having high encoding efficiency is selected in consideration of a field structure or a frame structure for each block. By doing so, a remarkable effect of improving the coding efficiency can be obtained.

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

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

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

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

【図4】(a)画素値の変化位置及び変化予測位置を示
す図 (b)フィールドモード復号化の画素値の変化位置及び
変化予測位置を示す図 (c)フィールドモード復号化ブロックを示す図
4A is a diagram showing a change position and a predicted change position of a pixel value. FIG. 4B is a diagram showing a change position and a predicted change position of a pixel value in field mode decoding. FIG. 4C is a diagram showing a field mode decoding block.

【図5】フレームモード復号化の画素値の変化位置及び
変化予測位置を示す図
FIG. 5 is a diagram illustrating a change position and a change prediction position of a pixel value in frame mode decoding.

【図6】フレームモード復号化ブロックを示す図FIG. 6 shows a frame mode decoding block.

【図7】(a)フィールド構造のディジタル画像ブロッ
クを示す図 (b)フレーム構造のディジタル画像ブロックを示す図
7A is a diagram showing a digital image block having a field structure. FIG. 7B is a diagram showing a digital image block having a frame structure.

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

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

【図10】アップサンプリングの処理例を示す図FIG. 10 is a diagram showing a processing example of upsampling;

【図11】ライン間の相関の処理れを示す図FIG. 11 is a diagram showing processing of correlation between lines.

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

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

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

【図15】動き推定の概念図を示す図FIG. 15 is a diagram showing a conceptual diagram of motion estimation.

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

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

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

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

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

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

【図22】フィールドモード符号化/復号化ブロックを
示す図
FIG. 22 is a view showing a field mode encoding / decoding block;

【図23】フレームモード符号化/復号化ブロックを示
す図
FIG. 23 is a diagram showing a frame mode encoding / decoding block;

【図24】画素値の確率分布表の一例を示す図FIG. 24 is a diagram showing an example of a probability distribution table of pixel values.

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

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

【図27】フィールドモード動き補償予測ブロックおよ
び符号化/復号化ブロックを示す図
FIG. 27 is a diagram showing a field mode motion compensation prediction block and an encoding / decoding block.

【図28】フレームモード動き補償予測ブロックおよび
符号化/復号化ブロックを示す図
FIG. 28 is a diagram showing a frame mode motion compensation prediction block and an encoding / decoding block.

【図29】画素値の確率分布表の一例を示す図FIG. 29 is a diagram showing an example of a probability distribution table of pixel values.

【図30】算術符号の概念図を示す図FIG. 30 is a diagram showing a conceptual diagram of an arithmetic code;

【図31】本発明の実施の形態17におけるコンピュー
タの記録媒体の一例を示す図
FIG. 31 is a diagram illustrating an example of a recording medium of a computer according to Embodiment 17 of the present invention.

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

11 出力先切替え手段 12 入力元切替え手段 13 多重化手段 15 逆多重化手段 34、51、67、81、93、191 モード判定手
段 32 フレームダウンサンプル手段 33、52 二値ブロック画像符号化手段 36、46、57、76 二値ブロック画像復号化手段 37 フィールドアップサンプル手段 38 フレームアップサンプル手段 47 アップサンプル手段 48、77 フィールド/フレーム並べ換え手段 53 フィールドブロック動き補償手段 54 フレームブロック動き補償手段 56、64、192 メモリ 58 フィールドブロック動き推定手段 59 フレームブロック動き推定手段 61 フィールド画素値変化位置検出手段 62 フレーム画素値変化位置検出手段 63 画素値変化位置予測手段 65 差分値計算手段 66 差分値符号化手段 70 差分値復号化手段 71 差分値加算手段 72、91 二値ブロック画像フィールド復号化手段 73、92 二値ブロック画像フレーム復号化手段 82、96 カラーブロック画像フィールド符号化手段 83、97 カラーブロック画像フレーム符号化手段 84、94 二値ブロック画像フィールド符号化手段 85、95 二値ブロック画像フレーム符号化手段 88、98 モード復号化手段 89 カラーブロック画像フィールド復号化手段 90 カラーブロック画像フレーム復号化手段 187、201 フィールド単位画素値分布調査手段 188、202 フレーム単位画素値分布調査手段 189 確率分布決定手段 190 算術符号化手段 194 算術復号化手段
Reference Signs List 11 output destination switching means 12 input source switching means 13 multiplexing means 15 demultiplexing means 34, 51, 67, 81, 93, 191 mode determination means 32 frame down sampling means 33, 52 binary block image encoding means 36, 46, 57, 76 Binary block image decoding means 37 Field upsampling means 38 Frame upsampling means 47 Upsampling means 48, 77 Field / frame rearranging means 53 Field block motion compensating means 54 Frame block motion compensating means 56, 64, 192 memory 58 field block motion estimating means 59 frame block motion estimating means 61 field pixel value change position detecting means 62 frame pixel value change position detecting means 63 pixel value change position predicting means 65 difference value calculating means 66 difference Value encoding means 70 Difference value decoding means 71 Difference value adding means 72, 91 Binary block image field decoding means 73, 92 Binary block image frame decoding means 82, 96 Color block image field encoding means 83, 97 Color block image frame encoding means 84, 94 Binary block image field encoding means 85, 95 Binary block image frame encoding means 88, 98 Mode decoding means 89 Color block image field decoding means 90 Color block image frame decoding Means 187, 201 Field unit pixel value distribution investigating means 188, 202 Frame unit pixel value distribution investigating means 189 Probability distribution determining means 190 Arithmetic encoding means 194 Arithmetic decoding means

Claims (19)

【特許請求の範囲】[Claims] 【請求項1】 二値ディジタル画像を複数画素から構成
される2次元ブロックに分割し、ブロック毎に符号化を
行なう画像符号化装置において、符号化処理をフィール
ド単位で行なう方法とフレーム単位で行なう方法をブロ
ック毎に判定し、モード情報を出力するモード判定手段
と、前記モード情報に従ってブロック毎にフィールド単
位またはフレーム単位で符号化を行なう符号化手段とを
具備することを特徴とする画像符号化装置。
1. An image coding apparatus for dividing a binary digital image into two-dimensional blocks composed of a plurality of pixels and performing coding on a block-by-block basis. An image coding method comprising: mode determining means for determining a method for each block and outputting mode information; and coding means for performing coding in a field unit or a frame unit for each block in accordance with the mode information. apparatus.
【請求項2】 請求項1記載の画像符号化装置によって
符号化した画像符号化信号から二値ディジタル画像に復
号化する画像復号化装置において、モード情報に従って
ブロック毎にフィールド単位またはフレーム単位で復号
化処理を行なう復号化手段を具備することを特徴とする
画像復号化装置。
2. An image decoding apparatus for decoding an image coded signal coded by the image coding apparatus according to claim 1 into a binary digital image, wherein decoding is performed on a field-by-field basis or on a frame-by-block basis according to mode information. An image decoding device comprising decoding means for performing a decoding process.
【請求項3】 二値ディジタル画像を符号化する際に、
フィールド単位でダウンサンプリングを行なうかフレー
ム単位でダウンサンプリングを行なうかをブロック毎に
判定し、モード情報を出力するモード判定手段と、前記
モード情報に従ってブロック毎にフィールド単位または
フレーム単位でダウンサンプリングを行なうダウンサン
プリング手段とを具備することを特徴とする請求項1記
載の画像符号化装置。
3. When encoding a binary digital image,
Mode determination means for determining for each block whether to perform downsampling in field units or frame units and output mode information, and perform downsampling in field units or frame units for each block in accordance with the mode information 2. The image encoding apparatus according to claim 1, further comprising downsampling means.
【請求項4】 請求項3記載の画像符号化装置によって
符号化した画像符号化信号から二値ディジタル画像に復
号化する際に、モード情報に従ってフィールド単位でア
ップサンプリングを行なうかフレーム単位でアップサン
プリングを行なうかをブロック毎に選択し、フィールド
単位またはフレーム単位でアップサンプリングを行なう
アップサンプリング手段を具備することを特徴とする請
求項2記載の画像復号化装置。
4. When decoding an image coded signal coded by the image coding apparatus according to claim 3 into a binary digital image, upsampling is performed in units of fields according to mode information or upsampling in units of frames. 3. The image decoding apparatus according to claim 2, further comprising an up-sampling unit for selecting whether to perform the above-mentioned processing for each block and performing up-sampling in a field unit or a frame unit.
【請求項5】 二値ディジタル画像を符号化する際に、
フィールド単位で動き補償を行なうかフレーム単位で動
き補償を行なうかをブロック毎に判定し、モード情報を
出力するモード判定手段と、前記モード情報に従ってブ
ロック毎にフィールド単位またはフレーム単位で動き補
償を行なう動き補償手段を具備することを特徴とする請
求項1記載の画像符号化装置。
5. A method for encoding a binary digital image, comprising:
A mode determination unit that determines whether to perform motion compensation on a field basis or on a frame basis for each block, and outputs mode information, and performs motion compensation on a field basis or on a frame basis for each block according to the mode information. 2. The image encoding apparatus according to claim 1, further comprising a motion compensation unit.
【請求項6】 請求項5記載の画像符号化装置によって
符号化した画像符号化信号から二値ディジタル画像を復
号化する際に、モード情報に従ってフィールド単位で動
き補償を行なうかフレーム単位で動き補償を行なうかを
ブロック毎に判定し、動き補償を行なう動き補償手段を
具備することを特徴とする請求項2記載の画像復号化装
置。
6. When a binary digital image is decoded from an image coded signal coded by the image coding apparatus according to claim 5, motion compensation is performed in units of fields or in units of frames according to mode information. 3. The image decoding apparatus according to claim 2, further comprising a motion compensating unit that determines, for each block, whether to perform the motion compensation and performs motion compensation.
【請求項7】 二値ディジタル画像を符号化する際に、
画素値の変化する位置の検出をフィールド単位で行なう
かフレーム単位で行なうかをブロック毎に判定し、モー
ド情報を出力するモード判定手段と、前記モード情報に
従って画素値の変化点を検出する変化点検出手段と、前
記モード情報に従って符号化済みの画素の画素値の変化
位置から前記ディジタル画像の画素値の変化位置を予測
する予測手段と、前記変化点検出手段によって検出され
た変化点の位置と前記予測手段によって予測された変化
点予測位置の差分値を符号化する差分符号化手段とを具
備することを特徴とする請求項1記載の画像符号化装
置。
7. A method for encoding a binary digital image, comprising:
Mode determination means for determining for each block whether the detection of the position where the pixel value changes is performed on a field basis or on a frame basis and outputting mode information, and a change check for detecting a pixel value change point according to the mode information Output means, prediction means for predicting a change position of a pixel value of the digital image from a change position of a pixel value of a pixel which has been encoded according to the mode information, and a position of a change point detected by the change point detection means. 2. The image encoding apparatus according to claim 1, further comprising: a difference encoding unit that encodes a difference value between the change point prediction positions predicted by the prediction unit.
【請求項8】 請求項7記載の画像符号化装置によって
符号化した画像符号化信号から二値ディジタル画像を復
号化する際に、画素値の変化点と変化点の予測位置の差
分値を復号化する差分復号化手段と、モード情報に従っ
てブロック毎に復号化済みの画素の画素値の変化点から
画素値の変化点の予測位置を予測する予測手段と、モー
ド情報に従って前記差分復号化手段によって復号化され
た差分値と前記予測手段によって予測された予測位置を
加算する加算手段とを具備し、前記加算手段の出力を画
素値の変化位置とする請求項2記載の画像復号化装置。
8. When a binary digital image is decoded from an image coded signal coded by the image coding apparatus according to claim 7, a difference value between a pixel value change point and a predicted position of the change point is decoded. Decoding means for decoding, a prediction means for predicting a predicted position of a pixel value change point from a pixel value change point of a pixel already decoded for each block according to mode information, and the difference decoding means according to mode information. 3. The image decoding apparatus according to claim 2, further comprising an adding unit that adds the decoded difference value and a predicted position predicted by the predicting unit, wherein an output of the adding unit is a change position of a pixel value.
【請求項9】 二値ディジタル画像を符号化する際に、
着目画素の周辺の符号化済み画素の画素値の分布状態の
調査をフィールド単位で行うかフレーム単位で行うかを
ブロック毎に判定しモード情報を出力するモード判定手
段と、前記モード情報に従って着目画素の画素値の確率
分布を周辺の符号化済み画素の画素値の分布状態から決
定する確率分布決定手段と、前記確率分布決定手段によ
って決定した確率分布に従って着目画素の画素値を符号
化する画素値符号化手段とを具備することを特徴とする
請求項1記載の画像符号化装置。
9. A method for encoding a binary digital image, comprising:
A mode determining unit that determines whether to investigate the distribution state of the pixel values of the coded pixels around the target pixel in units of fields or in units of frames and outputs mode information for each block, and a target pixel according to the mode information. Means for determining the probability distribution of the pixel value of the pixel from the distribution state of the pixel values of the surrounding encoded pixels, and a pixel value for encoding the pixel value of the pixel of interest according to the probability distribution determined by the probability distribution determining means 2. The image encoding apparatus according to claim 1, further comprising encoding means.
【請求項10】 請求項9記載の画像符号化装置によっ
て符号化した画像符号化信号から二値ディジタル画像を
復号化する際に、既に復号化済みの周辺画素の画素値の
分布状態の調査をモード情報に従ってブロック毎にフィ
ールド単位またはフレーム単位で行い着目画素の画素値
の確率分布を決定する確率分布決定手段と、前記確率分
布決定手段によって決定した確率分布に従って着目画素
の画素値を復号化する画素値復号化手段を具備すること
を特徴とする請求項2記載の画像復号化装置。
10. When decoding a binary digital image from an image coded signal coded by the image coding apparatus according to claim 9, the distribution state of pixel values of peripheral pixels that have already been decoded is checked. Probability distribution determining means for determining the probability distribution of the pixel value of the pixel of interest performed in units of fields or frames for each block according to the mode information, and decoding the pixel value of the pixel of interest in accordance with the probability distribution determined by the probability distribution determining means 3. The image decoding apparatus according to claim 2, further comprising a pixel value decoding unit.
【請求項11】 二値ディジタル画像を符号化する際
に、符号化済みの参照画像をもとに動き補償を行うこと
によって得られる動き補償予測画像の画素値の分布状態
の調査をフィールド単位で行うかフレーム単位で行うか
をブロック毎に判定し、モード情報を出力するモード判
定手段と、前記モード情報に従って着目画素の画素値の
確率分布を動き補償予測画像の画素値の分布状態から決
定する確率分布決定手段と、前記確率分布決定手段で決
定した確率分布に従って着目画素の画素値を符号化する
画素値符号化手段とを具備することを特徴とする請求項
1記載の画像符号化装置。
11. When encoding a binary digital image, a distribution state of pixel values of a motion-compensated predicted image obtained by performing motion compensation based on an encoded reference image is examined on a field-by-field basis. A mode determining unit that determines whether to perform the process or the process on a frame-by-block basis and outputs mode information, and determines a probability distribution of a pixel value of a target pixel from a distribution state of pixel values of a motion-compensated prediction image according to the mode information. 2. The image encoding apparatus according to claim 1, further comprising: a probability distribution determining unit; and a pixel value encoding unit that encodes a pixel value of a pixel of interest according to the probability distribution determined by the probability distribution determining unit.
【請求項12】 請求項11記載の画像符号化装置によ
って符号化した画像符号化信号から二値ディジタル画像
を復号化する際に、既に復号化済みの参照画像をもとに
動き補償を行うことによって得られる動き補償予測画像
の画素値の分布状態の調査をブロック毎にモード情報に
従ってブロック毎にフィールド単位またはフレーム単位
で行い着目画素の画素値の確率分布を決定する確率分布
決定手段と、前記確率分布決定手段によって決定した確
率分布に従って着目画素の画素値を復号化する画素値復
号化手段とを具備することを特徴とする請求項2記載の
画像復号化装置。
12. When a binary digital image is decoded from an image coded signal coded by the image coding apparatus according to claim 11, motion compensation is performed based on a decoded reference image. A probability distribution determining means for examining the distribution state of the pixel values of the motion-compensated predicted image obtained according to the mode information on a block-by-block basis on a block-by-field basis or on a frame-by-frame basis to determine the probability distribution of the pixel value of the pixel of interest 3. The image decoding apparatus according to claim 2, further comprising: a pixel value decoding unit that decodes a pixel value of a pixel of interest according to the probability distribution determined by the probability distribution determination unit.
【請求項13】 ディジタルカラー画像および前記カラ
ー画像の有意形状を示す二値ディジタル画像をブロック
毎に符号化する際に、ディジタルカラー画像の符号化処
理をフィールド単位で行なうかフレーム単位で行なうか
ブロック毎に判定し、モード情報を出力するモード判定
手段と、前記モード情報に従って当該ブロックの二値デ
ィジタル画像の符号化処理をフィールド単位でまたはフ
レーム単位で行なう二値ディジタル画像符号化手段とを
具備することを特徴とする請求項1記載の画像符号化装
置。
13. Encoding a digital color image and a binary digital image showing a significant shape of the color image for each block, the encoding process of the digital color image is performed on a field basis or on a frame basis. A mode determination unit for determining each time and outputting mode information; and a binary digital image coding unit for performing a coding process of a binary digital image of the block in a field unit or a frame unit in accordance with the mode information. The image encoding device according to claim 1, wherein:
【請求項14】 請求項13記載の画像符号化装置によ
って符号化した画像符号化信号からディジタルカラー画
像および前記カラー画像の有意形状を示す二値ディジタ
ル画像を復号化する際に、二値ディジタル画像の復号化
処理をディジタルカラー画像の当該ブロックのモード情
報に応じてフィールド単位またはフレーム単位で行なう
二値ディジタル画像復号化手段を具備することを特徴と
する請求項2記載の画像復号化装置。
14. A binary digital image when decoding a digital color image and a binary digital image showing a significant shape of the color image from an image encoded signal encoded by the image encoding device according to claim 13. 3. An image decoding apparatus according to claim 2, further comprising a binary digital image decoding means for performing the decoding processing in units of fields or frames in accordance with the mode information of the block of the digital color image.
【請求項15】 ディジタルカラー画像および前記カラ
ー画像の有意形状を示す二値ディジタル画像ブロック毎
に符号化する際に、二値ディジタル画像の符号化処理を
フィールド単位で行なうかフレーム単位で行なうかをブ
ロック毎に判定し、モード情報を出力するモード判定手
段と、前記モード情報に従ってディジタルカラー画像の
当該ブロックの符号化処理をフィールド単位またはフレ
ーム単位で行なう二値ディジタル画像符号化手段と、前
記モード情報に従って多値ディジタル画像の当該ブロッ
クの符号化処理をフィールド単位またはフレーム単位で
行なうディジタルカラー画像符号化手段とを具備するこ
とを特徴とする請求項1記載の画像符号化装置。
15. Encoding of a digital color image and a binary digital image block showing a significant shape of the color image, whether the encoding process of the binary digital image is performed on a field basis or on a frame basis. Mode determining means for determining for each block and outputting mode information; binary digital image encoding means for performing encoding processing of the block of the digital color image in field units or frame units in accordance with the mode information; 2. An image encoding apparatus according to claim 1, further comprising: a digital color image encoding means for encoding the block of the multi-valued digital image in units of fields or frames in accordance with the following.
【請求項16】 請求項15記載の画像符号化装置によ
って符号化した画像符号化信号からディジタルカラー画
像および前記カラー画像の有意形状を示す二値ディジタ
ル画像を復号化する際に、モード情報に従って二値ディ
ジタル画像の復号化をブロック毎にフィールド単位また
はフレーム単位で行なう二値ディジタル画像復号化手段
と、当該ブロックのディジタルカラー画像の復号化を前
記モード情報に従ってフィールド単位またはフレーム単
位で行なうディジタルカラー画像復号化手段とを具備す
ることを特徴とする請求項2記載の画像復号化装置。
16. A method for decoding a digital color image and a binary digital image showing a significant shape of the color image from an image encoded signal encoded by the image encoding device according to claim 15, according to mode information. Binary digital image decoding means for decoding a value digital image for each block in field units or frame units, and a digital color image for decoding the digital color image of the block in field units or frame units in accordance with the mode information 3. The image decoding apparatus according to claim 2, further comprising a decoding unit.
【請求項17】 二値ディジタル画像を複数画素から構
成される2次元ブロックに分割し、ブロック毎に符号化
を行なう画像符号化方法において、前記二値デジタル画
像をフィールド単位で符号化する工程と、前記二値デジ
タル画像をフレーム単位で符号化する工程と、符号化処
理の結果をフィールド単位およびフレーム単位で符号化
した符号量の大きさでブロック毎に判定し、符号化信号
を出力する工程とを具備することを特徴とする画像符号
化装置。
17. An image encoding method for dividing a binary digital image into two-dimensional blocks composed of a plurality of pixels, and performing encoding for each block, wherein the binary digital image is encoded in units of fields. Encoding the binary digital image in units of frames, and determining the result of the encoding process for each block based on the amount of code encoded in units of fields and frames, and outputting an encoded signal. An image encoding device comprising:
【請求項18】 請求項17記載の画像符号化方法によ
って符号化した画像符号化信号から二値ディジタル画像
に復号化する画像復号化方法において、モード情報に従
ってブロック毎にフィールド単位またはフレーム単位で
復号化処理を行なう工程を具備することを特徴とする画
像復号化方法。
18. An image decoding method for decoding an image coded signal coded by the image coding method according to claim 17 into a binary digital image, wherein decoding is performed on a block-by-field basis or on a frame-by-block basis according to mode information. An image decoding method comprising a step of performing a decoding process.
【請求項19】 コンピュータの記録媒体であり、請求
項1から請求項18の少なくとも1つを実現するプログ
ラムを記録している記録媒体。
19. A recording medium for a computer, which records a program that implements at least one of claims 1 to 18.
JP33839697A 1996-12-12 1997-12-09 Image encoding device, image decoding device, image encoding method, image decoding method Expired - Fee Related JP3191753B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP33839697A JP3191753B2 (en) 1996-12-12 1997-12-09 Image encoding device, image decoding device, image encoding method, image decoding method

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP33176296 1996-12-12
JP8-331762 1996-12-12
JP33839697A JP3191753B2 (en) 1996-12-12 1997-12-09 Image encoding device, image decoding device, image encoding method, image decoding method

Publications (2)

Publication Number Publication Date
JPH10229564A true JPH10229564A (en) 1998-08-25
JP3191753B2 JP3191753B2 (en) 2001-07-23

Family

ID=26573954

Family Applications (1)

Application Number Title Priority Date Filing Date
JP33839697A Expired - Fee Related JP3191753B2 (en) 1996-12-12 1997-12-09 Image encoding device, image decoding device, image encoding method, image decoding method

Country Status (1)

Country Link
JP (1) JP3191753B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003092301A1 (en) * 2002-04-26 2003-11-06 Sony Corporation Coding device and method, decoding device and method, recording medium, and program
KR100667806B1 (en) * 2005-07-07 2007-01-12 삼성전자주식회사 Method and apparatus for video encoding and decoding
JP2009290901A (en) * 2009-09-07 2009-12-10 Nippon Telegr & Teleph Corp <Ntt> Image coding apparatus, method and program, and computer-readable recording medium with program recorded thereon
CN110545435A (en) * 2018-05-28 2019-12-06 深信服科技股份有限公司 desktop pixel coding method and device based on probability model and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5658033B2 (en) 2007-09-02 2015-01-21 エルジー エレクトロニクス インコーポレイティド Video signal processing method and apparatus

Cited By (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8488669B2 (en) 2002-04-26 2013-07-16 Sony Corporation Coding device and method, decoding device and method, recording medium, and program
KR100952649B1 (en) 2002-04-26 2010-04-13 소니 주식회사 Coding device and method
WO2003092301A1 (en) * 2002-04-26 2003-11-06 Sony Corporation Coding device and method, decoding device and method, recording medium, and program
US9532068B2 (en) 2002-04-26 2016-12-27 Sony Corporation Coding device and method, decoding device and method, recording medium, and program
US8509311B2 (en) 2002-04-26 2013-08-13 Sony Corporation Coding device and method, decoding device and method, recording medium, and program
KR100969345B1 (en) * 2002-04-26 2010-07-09 소니 주식회사 Decoding device and method
US7778331B2 (en) 2002-04-26 2010-08-17 Sony Corporation Coding device and method, decoding device and method, recording medium, and program
US8509312B2 (en) 2002-04-26 2013-08-13 Sony Corporation Coding device and method, decoding device and method, recording medium, and program
US8320467B2 (en) 2002-04-26 2012-11-27 Sony Corporation Coding device and method, decoding device and method, recording medium, and program
US8325820B2 (en) 2002-04-26 2012-12-04 Sony Corporation Coding device and method, decoding device and method, recording medium, and program
US8477854B2 (en) 2002-04-26 2013-07-02 Sony Corporation Coding device and method, decoding device and method, recording medium, and program
US8483280B2 (en) 2002-04-26 2013-07-09 Sony Corporation Coding device and method, decoding device and method, recording medium, and program
US9088784B2 (en) 2002-04-26 2015-07-21 Sony Corporation Coding device and method, decoding device and method, recording medium, and program
US8693550B2 (en) 2002-04-26 2014-04-08 Sony Corporation Coding device and method, decoding device and method, recording medium, and program
US8654862B2 (en) 2002-04-26 2014-02-18 Sony Corporation Coding device and method, decoding device and method, recording medium, and program
US8571116B2 (en) 2002-04-26 2013-10-29 Sony Corporation Coding device and method, decoding device and method, recording medium, and program
US8611430B2 (en) 2002-04-26 2013-12-17 Sony Corporation Coding device and method, decoding device and method, recording medium, and program
US8619875B2 (en) 2002-04-26 2013-12-31 Sony Corporation Coding device and method, decoding device and method, recording medium, and program
US8649442B2 (en) 2002-04-26 2014-02-11 Sony Corporation Coding device and method, decoding device and method, recording medium, and program
KR100667806B1 (en) * 2005-07-07 2007-01-12 삼성전자주식회사 Method and apparatus for video encoding and decoding
JP2007020187A (en) * 2005-07-07 2007-01-25 Samsung Electronics Co Ltd Video encoding and decoding methods and apparatuses
JP4643736B2 (en) * 2009-09-07 2011-03-02 日本電信電話株式会社 Video encoding apparatus, video encoding method, video encoding program, and computer-readable recording medium recording the program
JP2009290901A (en) * 2009-09-07 2009-12-10 Nippon Telegr & Teleph Corp <Ntt> Image coding apparatus, method and program, and computer-readable recording medium with program recorded thereon
CN110545435A (en) * 2018-05-28 2019-12-06 深信服科技股份有限公司 desktop pixel coding method and device based on probability model and storage medium
CN110545435B (en) * 2018-05-28 2023-05-12 深信服科技股份有限公司 Table top pixel coding method, device and storage medium based on probability model

Also Published As

Publication number Publication date
JP3191753B2 (en) 2001-07-23

Similar Documents

Publication Publication Date Title
KR100413153B1 (en) Picture encoder and picture decoder
US7408990B2 (en) Efficient motion vector coding for video compression
US5210605A (en) Method and apparatus for determining motion vectors for image sequences
US6198768B1 (en) Video encoding apparatus and video decoding apparatus
US6735345B2 (en) Efficient macroblock header coding for video compression
EP1442603B1 (en) Spatial scalable compression scheme using spatial sharpness enhancement techniques
US5398068A (en) Method and apparatus for determining motion vectors for image sequences
KR100318060B1 (en) Digital image replenishment method, image processing device and data recording medium
RU2004119839A (en) COMPENSATION FOR GLOBAL MOVEMENT FOR VIDEO IMAGES
KR100883603B1 (en) Method and apparatus for decoding video signal using reference pictures
US6259738B1 (en) Video encoding apparatus and video decoding apparatus
JPH11239351A (en) Moving image coding method, decoding method, encoding device, decoding device and recording medium storing moving image coding and decoding program
JP3191753B2 (en) Image encoding device, image decoding device, image encoding method, image decoding method
US6263115B1 (en) Method and apparatus for encoding a binary shape signal
JP2012513141A (en) Method and apparatus for predicting and encoding motion parameters of video picture sequences
KR100423719B1 (en) Apparatus and method for interpolating binary pictures, using context probability table
EP0923250A1 (en) Method and apparatus for adaptively encoding a binary shape signal
JP2008245311A (en) Method and apparatus for decoding image
JP2004343788A (en) Video encoding apparatus, video decoding apparatus and recording medium with video encoded data recorded thereon
JPH1141471A (en) Method for encoding image, method for encoding/decoding image, device for encoding image and device for encoding/ decoding image
JPH11168728A (en) Predictive coding method and decoding method
JP2004320808A (en) Image coding apparatus
JP2004320807A (en) Image coding and apparatuses decoding
JP2008011564A (en) Image encoding device and image decoding device

Legal Events

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

Free format text: PAYMENT UNTIL: 20090525

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20100525

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20110525

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20110525

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20120525

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20120525

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20130525

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20130525

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees