JPH06311372A - Data compression method and device for binary picture - Google Patents

Data compression method and device for binary picture

Info

Publication number
JPH06311372A
JPH06311372A JP6021051A JP2105194A JPH06311372A JP H06311372 A JPH06311372 A JP H06311372A JP 6021051 A JP6021051 A JP 6021051A JP 2105194 A JP2105194 A JP 2105194A JP H06311372 A JPH06311372 A JP H06311372A
Authority
JP
Japan
Prior art keywords
pixel
data
binary image
image
data compression
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
JP6021051A
Other languages
Japanese (ja)
Other versions
JP3230122B2 (en
Inventor
Takahiro Motomiya
隆広 本宮
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.)
NEC Engineering Ltd
Original Assignee
NEC Engineering 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 NEC Engineering Ltd filed Critical NEC Engineering Ltd
Priority to JP02105194A priority Critical patent/JP3230122B2/en
Publication of JPH06311372A publication Critical patent/JPH06311372A/en
Application granted granted Critical
Publication of JP3230122B2 publication Critical patent/JP3230122B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Image Processing (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

PURPOSE:To attain adaptive coding in response to property of a picture by generating reference data of Markov model coding in a form including the result of area discrimination in response to a structural statistic quantity from a binary picture. CONSTITUTION:An area discrimination section 11 discriminates at which area a j-th noticed picture element Xi,j of a 1st line of an input picture is in existence. Picture element period data from a period arithmetic operation section 16 and an estimate density L*i,j from a change point Vi,j estimate density arithmetic operation section 15 calculated by a dispersion arithmetic operation section 14 are used. The discrimination content indicates whether an object picture element is a flat part of a picture or a contour, a part with a period of picture element or without the period. Whether or not the picture is a part with a period of picture element is immediately discriminated by an output from a period arithmetic operation section 16, then the discrimination is a major operation of the discrimination section 11. Thus, the adaptive Markov model coding is performed in response to the property of the picture, then adaptive coding in response to the property of the picture is executed.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、二値画像の符号化方法
および装置に関し、特に、文書書画、線図形、網点画、
写真などが混在した二値画像を対象としたデータ圧縮方
法および装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a binary image coding method and apparatus, and more particularly, to a document drawing, line drawing, halftone dot drawing,
The present invention relates to a data compression method and device for a binary image in which photographs and the like are mixed.

【0002】[0002]

【従来の技術】各画素が"0"または"1"で表わされる二
値画像を符号化する標準的な方法として、G3ファクシ
ミリにおけるMH(Modefied Huffman)符号化やMR(Mod
efiedREAD, Modefied Relative Element Address Desig
nate)符号化があり、これらは国際規格としてCCIT
T(国際電信電話諮問委員会)において制定されてい
る。これらMH符号化やMR符号化は、事務文書などの
ファクシミリ伝送には適しているが、テキスト、線図
形、網点画、写真などが混在する二値画像(混在二値画
像)を高精細度で伝送するためには不十分であり、また
画像データベース検索などにおいてユーザ端末に画像を
表示するという用途への適用には向いていない。
2. Description of the Related Art As a standard method for encoding a binary image in which each pixel is represented by "0" or "1", MH (Mode fied Huffman) encoding or MR (Mod
efiedREAD, Modefied Relative Element Address Desig
nate) encoding, which is CCIT as an international standard.
Established by T (International Telegraph and Telephone Advisory Committee). Although these MH coding and MR coding are suitable for facsimile transmission of office documents, etc., binary images (mixed binary images) in which text, line graphics, halftone dots, photographs and the like are mixed are provided with high definition. It is insufficient for transmission, and is not suitable for application to display an image on a user terminal in image database search and the like.

【0003】そこで、二値静止画像データを対象とし、
テキストや線図形と網点画や写真とが混在する場合であ
っても高いデータ圧縮率での符号化が可能であり、かつ
ユーザ端末側での階層的(プログレッシブ)な表示が可
能である符号化方式として、JBIG(Joint Bi-level
Image coding experts Group)方式が国際標準規格とし
て提案されている。JBIG符号化方式による二値画像
データ圧縮装置は、概略的には、近接10画素を参照す
る二値マルコフモデルによってモデル化を行なう部分
と、エントロピ符号化を行なう符号化器とによって構成
される。エントロピ符号化としては、算術符号化が採用
されており、Qコード及びMelコードに基づいて開発
されたQMコード(以下、QM−Codeと表記する)
を標準符号として用いることが決まっている。以下、図
11および図12を用いて、JBIG方式についてさら
に説明する。
Therefore, targeting binary still image data,
Encoding with a high data compression rate is possible even when text and line graphics are mixed with halftone dot drawings and photographs, and hierarchical display is possible on the user terminal side. As a method, JBIG (Joint Bi-level
The Image coding experts Group) method has been proposed as an international standard. A binary image data compression apparatus based on the JBIG encoding method is roughly configured by a portion that is modeled by a binary Markov model that refers to adjacent 10 pixels and an encoder that performs entropy encoding. As entropy coding, arithmetic coding is adopted, and a QM code developed based on Q code and Mel code (hereinafter referred to as QM-Code).
Has been decided to be used as the standard code. The JBIG method will be further described below with reference to FIGS. 11 and 12.

【0004】図11は、JBIG方式による従来の二値
画像データ圧縮装置を示している。ここでは、画像の左
上から逐次的に画素の走査を行うラスタスキャンによっ
て、入力二値画像の走査が行なわれているものとする。
図中、xi,jは第iラインのj番目に入力される画素
(注目画素)を示している。この装置には、画像の相関
を計算する相関演算部91と、相関の強い画素について
その位置を変更させる画素移動位置決定部92と、マル
コフモデル符号化における参照データを生成する参照デ
ータ作成部93と、実際に符号化を行なうQMコーダ9
4とによって構成されており、QMコーダ94の出力が
符号化出力となる。この装置では、注目画素xi,jがQ
Mコーダ94によって符号化される場合、参照データ作
成部93から出力される参照データに基づいてマルコフ
モデル符号化が行われる。また、マルコフモデル符号化
の参照データとして、符号化しようとする注目画素x
i,jに近接する10個の画素(近接10画素)を用いて
いる。図12は、注目画素xi, jとその近接10画素と
の位置関係を示している。また、この装置では、参照デ
ータについて、その参照する画素位置を画像の相関に応
じて1画素だけ変更できるよう考慮されている。その変
更方法は、周辺画素を用いて相関演算部91で演算され
たデータに基づき、画素移動位置決定部92によって、
上記近接10画素のうちの図12に示される位置Aの画
素を相関の強い別の画素位置の画素(置換画素)に置き
換えようとするものである。すなわち、画素Aの代りに
置換画素を使用して参照データを作成しようとすもので
ある。ただし、置換画素の位置の情報は、符号化側から
復号化側に伝達する必要がある。
FIG. 11 shows a conventional binary image data compression apparatus based on the JBIG method. Here, it is assumed that the input binary image is scanned by raster scanning in which pixels are sequentially scanned from the upper left of the image.
In the figure, x i, j represents the j-th pixel (target pixel) input on the i-th line. This apparatus includes a correlation calculation unit 91 that calculates a correlation of images, a pixel movement position determination unit 92 that changes the position of a pixel having a strong correlation, and a reference data creation unit 93 that generates reference data in Markov model coding. And the QM coder 9 that actually encodes
4 and the output of the QM coder 94 becomes the encoded output. In this device, the pixel of interest x i, j is Q
When encoded by the M coder 94, the Markov model encoding is performed based on the reference data output from the reference data creation unit 93. In addition, as the reference data of the Markov model encoding, the pixel of interest x to be encoded is
Ten pixels adjacent to i, j (ten adjacent pixels) are used. FIG. 12 shows the positional relationship between the pixel of interest x i, j and its 10 adjacent pixels. Further, in this apparatus, it is considered that the reference pixel position of the reference data can be changed by one pixel according to the correlation of the image. The changing method is based on the data calculated by the correlation calculating unit 91 using the peripheral pixels, by the pixel moving position determining unit 92,
The pixel at the position A shown in FIG. 12 among the 10 adjacent pixels is to be replaced with a pixel (replacement pixel) at another pixel position having a strong correlation. That is, the replacement data is used instead of the pixel A to create the reference data. However, the information on the position of the replacement pixel needs to be transmitted from the encoding side to the decoding side.

【0005】[0005]

【発明が解決しようとする課題】ところで、QM−co
deを用いてマルコフモデル符号化を行う従来のJBI
G方式には、以下に述べるような、解決すべき課題があ
る。
By the way, QM-co
Conventional JBI for Markov model coding using de
The G method has problems to be solved as described below.

【0006】(1) マルコフモデル符号化の参照データと
して近接10画素を利用するので、文書書画や線図形の
ような二値画像の圧縮効率は高いが、誤差拡散法を用い
た疑似中間調画像に対する圧縮効率が低い。
(1) Since the adjacent 10 pixels are used as the reference data for the Markov model coding, the compression efficiency of a binary image such as a document drawing or a line drawing is high, but a pseudo halftone image using the error diffusion method is used. Compression efficiency is low.

【0007】(2) 参照データの近接10画素のうち1画
素だけが相関の強い画素位置の画素と置換されることが
可能であるが、これだけでは、網点画像および組織ディ
ザ法を用いた疑似中間調画像のような二値画像データが
特定の周期を有している画像に対して、十分有効ではな
い。すなわちこれら特定の周期を有する二値画像データ
では、注目画素xi,jから特定の周期だけ離れた複数の
画素が注目画素と強い相関を有しており、1画素だけの
画素位置変更では不十分である。
(2) It is possible to replace only one pixel out of the ten adjacent pixels of the reference data with the pixel at the pixel position having a strong correlation. However, with this alone, the pseudo image using the halftone image and the tissue dither method is used. It is not sufficiently effective for an image in which binary image data such as a halftone image has a specific period. That is, in the binary image data having these specific periods, a plurality of pixels that are apart from the target pixel x i, j by a specific period have a strong correlation with the target pixel, and it is not possible to change the pixel position of only one pixel. It is enough.

【0008】(3) 参照データの画素位置変更において、
画像のライン単位でのみ画素位置の移動が可能となって
いる。しかし文書書画と疑似中間調画像が混在する場
合、1つのラインの中で文書書画と疑似中間調画像が混
在するのが一般的であり、このような場合には参照デー
タの画素位置変更ができない。
(3) In changing the pixel position of the reference data,
The pixel position can be moved only in line units of the image. However, when document texts and pseudo-halftone images coexist, it is general that document texts and pseudo-halftone images coexist in one line. In such a case, the pixel position of the reference data cannot be changed. .

【0009】(4) 画素位置変更を行なう際、画素の移動
位置を求めるため、周辺画素との相関やマルコフモデル
エントロピを計算する必要がある。これらの演算処理
は、計算量が膨大である上に、データを一時的に蓄積す
るための大容量のメモリを必要とすることから、実現す
る際にコスト的なあるいはシステム的な大きな負担を伴
う。
(4) When the pixel position is changed, it is necessary to calculate the correlation with surrounding pixels and the Markov model entropy in order to obtain the moving position of the pixel. Since these arithmetic processes require a large amount of calculation and also require a large-capacity memory for temporarily storing data, they impose a heavy cost or system burden on implementation. .

【0010】本発明の目的は、二値画像データの種別に
よらず、混在画像を含む二値画像データ全般に関して効
率の良くデータ圧縮を行なうことのできる方法および装
置を提供することにある。
It is an object of the present invention to provide a method and apparatus capable of efficiently performing data compression on general binary image data including mixed images regardless of the type of binary image data.

【0011】[0011]

【課題を解決するための手段】本発明二値画像のデータ
圧縮方法は、入力二値画像から画像統計量を求める第1
のステップと、前記画像統計量に応じて前記入力二値画
像の領域判定を行ない領域判定データを生成する第2の
ステップと、マルコフモデル符号化における参照データ
を生成する第3のステップとを有し、前記参照データが
前記領域判定データに対応する第1のデータ部分と前記
第1のデータ部分以外のデータ部分である第2のデータ
部分とによって構成される。
SUMMARY OF THE INVENTION A binary image data compression method according to the present invention is a first method for obtaining image statistics from an input binary image.
, A second step of performing area determination of the input binary image according to the image statistics and generating area determination data, and a third step of generating reference data in Markov model encoding. However, the reference data is composed of a first data portion corresponding to the area determination data and a second data portion which is a data portion other than the first data portion.

【0012】本発明の二値画像のデータ圧縮装置は、入
力二値画像から画像統計量を算出する画像統計量演算手
段と、前記画像統計量に応じて前記入力二値画像の領域
判定を行ない領域判定データを生成する領域判定手段
と、マルコフモデル符号化における参照データを生成す
る参照データ生成手段とを有し、前記参照データが前記
領域判定データに対応する第1のデータ部分と前記第1
のデータ部分以外のデータ部分である第2のデータ部分
とによって構成される。
A binary image data compression apparatus of the present invention performs image statistic calculation means for calculating an image statistic from an input binary image, and performs area determination of the input binary image according to the image statistic. Area determination means for generating area determination data, and reference data generation means for generating reference data in Markov model coding, wherein the reference data corresponds to the area determination data and the first data portion and the first
And a second data portion that is a data portion other than the data portion of.

【0013】[0013]

【作用】本発明の二値画像のデータ圧縮方法では、入力
二値画像から画像の構造的な統計量を求め、この統計量
に応じて入力二値画像の領域判定を行ない、マルコフモ
デル符号化における参照データをこの領域判定の結果を
含む形態で作成するので、画像の性質に応じた適応的な
マルコフモデル符号化を行なうことが可能となる。その
結果、符号化済みの近接画素のみを参照データとして符
号化を行なう従来の場合に比べ、大幅なデータ圧縮が実
現される。入力二値画像を適当なブロックに分けて領域
判定を行なうことも可能であるが、非ブロック符号化で
あるマルコフモデル符号化との適合性を考慮すると、領
域判定が入力二値画像の各画素ごとに行なわれることが
好ましい。
According to the binary image data compression method of the present invention, the structural statistical amount of the image is obtained from the input binary image, the region of the input binary image is determined according to this statistical amount, and the Markov model coding is performed. Since the reference data in 1 is created in a form that includes the result of this area determination, it is possible to perform adaptive Markov model coding according to the property of the image. As a result, a large amount of data compression is realized as compared with the conventional case in which only encoded adjacent pixels are used as reference data for encoding. It is also possible to divide the input binary image into appropriate blocks for region determination, but considering compatibility with Markov model encoding, which is non-block encoding, the region determination is performed for each pixel of the input binary image. It is preferable to carry out every time.

【0014】本発明の二値画像のデータ圧縮方法は、マ
ルコフモデル符号化に使用される参照データを作成する
ものであるが、参照データの作成に引続き、この参照デ
ータを用いて入力二値画像のマルコフモデル符号化を行
なう第4のステップを設けることにより、適応的な参照
データを使用した符号化が行なわれることとなって、高
いデータ圧縮率での混在画像の符号化を行なうことが可
能となる。画素ごとに領域判定が行なわれる場合には、
第4のステップは、上述した参照データを使用し各画素
領域のマルコフ状態を区別して各画素のマルコモデル符
号化を行なうものとすることが望ましく、このようにす
ることによって、より高い圧縮率でのデータ符号化が達
成される。
The binary image data compression method of the present invention creates reference data used for Markov model coding. Following the creation of reference data, an input binary image is created using this reference data. By providing the fourth step of performing the Markov model encoding, the adaptive reference data is used for encoding, and it is possible to encode the mixed image at a high data compression rate. Becomes When area determination is performed for each pixel,
In the fourth step, it is desirable to perform the Marco model coding of each pixel by distinguishing the Markov state of each pixel region using the above-mentioned reference data, and by doing so, at a higher compression rate. Data encoding is achieved.

【0015】本発明の二値画像のデータ圧縮方法におい
て、参照データは、領域判定データに対応する第1のデ
ータ部分と第1のデータ部分以外のデータ部分である第
2のデータ部分とによって構成されている。この第2の
データ部分も、領域判定データに応じて適応的に決定さ
れることが望ましい。具体的には、第2のデータ部分の
候補となるべき複数のデータの中から、領域判定データ
に応じて選択を行ない、第2のデータ部分とすることが
できる。このような第2のデータ部分の例として、注
目画素の近接する符号化済みの画素の画素値のみで構成
されているもの、符号化済みの画素から算出された注
目画素の推定濃度値と、注目画素に対して強い相関を有
する符号化済みの1つの画素値、および注目画素に近接
する画素の画素値とを組み合わせたもの、さらには、
符号化済みの画素から算出された注目画素の推定濃度値
と、注目画素に対して強い相関を有する符号化済みの複
数の画素値、および注目画素に近接する画素の画素値と
を組み合わせたもの、などを挙げることができる。第2
のデータ部分をどのように構成するかは、入力二値画像
としてどのような画像を主として取り扱うか、所望のデ
ータ圧縮率、必要なハードウェアあるいはソフトウェア
の量などに応じて決定される。
In the binary image data compression method of the present invention, the reference data is composed of a first data portion corresponding to the area determination data and a second data portion which is a data portion other than the first data portion. Has been done. It is desirable that this second data portion also be adaptively determined according to the area determination data. Specifically, the second data portion can be selected from a plurality of data that should be candidates for the second data portion according to the area determination data. As an example of such a second data portion, the second pixel is composed only of the pixel values of the coded pixels adjacent to the pixel of interest, the estimated density value of the pixel of interest calculated from the coded pixels, A combination of one encoded pixel value having a strong correlation with the pixel of interest and the pixel value of a pixel adjacent to the pixel of interest, and further,
A combination of the estimated density value of the target pixel calculated from the coded pixels, a plurality of coded pixel values that have a strong correlation with the target pixel, and the pixel values of pixels that are close to the target pixel , And so on. Second
How to configure the data portion of is determined depending on what kind of image is mainly treated as an input binary image, a desired data compression rate, the required amount of hardware or software, and the like.

【0016】本発明の二値画像のデータ圧縮方法におい
て、領域判定の基準として何を取り上げるかは適宜に定
めることができる。しかし、マルコフモデル符号化の性
質を考慮し、参照データがより適応的なものとなるよう
にするため、注目画素が画像の輪郭部にあるのか平坦
部にあるのか、入力二値画像中に周期構造があるのか
ないのか、などを判定するようにすることが好ましい。
In the binary image data compression method of the present invention, what is taken as a criterion for area determination can be appropriately determined. However, in order to make the reference data more adaptive in consideration of the properties of Markov model coding, whether the pixel of interest is in the contour part or the flat part of the image, the period in the input binary image is It is preferable to determine whether or not there is a structure.

【0017】本発明の二値画像のデータ圧縮装置では、
入力二値画像から画像の構造的な統計量を求める画像統
計量演算手段と、この統計量に応じて入力二値画像の領
域判定を行なう領域判定手段と、マルコフモデル符号化
における参照データをこの領域判定の結果を含む形態で
作成する参照データ生成手段とを有するので、画像の性
質に応じた適応的なマルコフモデル符号化を行なうこと
が可能となる。その結果、符号化済みの近接画素のみを
参照データとして符号化を行なう従来のデータ圧縮装置
を使用する場合に比べ、大幅なデータ圧縮が実現され
る。入力二値画像を適当なブロックに分けて領域判定を
行なうことも可能であるが、非ブロック符号化であるマ
ルコフモデル符号化との適合性を考慮すると、領域判定
が入力二値画像の各画素ごとに行なわれることが好まし
い。
In the binary image data compression apparatus of the present invention,
An image statistic calculating means for obtaining a structural statistic of an image from an input binary image, an area determining means for determining an area of the input binary image according to the statistic, and reference data in Markov model coding Since it has a reference data generation means that is created in a form that includes the result of region determination, it is possible to perform adaptive Markov model coding according to the nature of the image. As a result, a large amount of data compression is realized as compared with the case of using a conventional data compression device that encodes only adjacent pixels that have already been encoded as reference data. It is also possible to divide the input binary image into appropriate blocks for region determination, but considering compatibility with Markov model encoding, which is non-block encoding, the region determination is performed for each pixel of the input binary image. It is preferable to carry out every time.

【0018】本発明の二値画像のデータ圧縮装置は、マ
ルコフモデル符号化に使用される参照データを作成する
ものであるが、さらに、この参照データを用いて入力二
値画像のマルコフモデル符号化を行なう符号化手段を設
けることにより、適応的な参照データを使用した符号化
が行なわれることとなって、高いデータ圧縮率での混在
画像の符号化を画像入力から一貫して行なうことが可能
となる。画素ごとに領域判定が行なわれる場合には、符
号化手段は、上述した参照データを使用し各画素領域の
マルコフ状態を区別して各画素のマルコモデル符号化を
行なうものとすることが望ましく、このようにすること
によって、より高い圧縮率でのデータ符号化が達成され
る。
The binary image data compression apparatus of the present invention creates reference data used for Markov model coding. Further, the Markov model coding of the input binary image is performed using this reference data. By providing the encoding means for performing, the encoding using the adaptive reference data is performed, and the encoding of the mixed image with a high data compression rate can be performed consistently from the image input. Becomes When the region determination is performed for each pixel, it is desirable that the encoding unit uses the above-mentioned reference data to distinguish the Markov state of each pixel region and perform the Marco model encoding of each pixel. By doing so, data encoding with a higher compression rate is achieved.

【0019】[0019]

【実施例】次に、図面を参照して本発明の実施例を説明
する。図1は、本発明の一実施例の二値画像データ圧縮
装置の構成を示すブロック図である。
Embodiments of the present invention will now be described with reference to the drawings. FIG. 1 is a block diagram showing the configuration of a binary image data compression apparatus according to an embodiment of the present invention.

【0020】この二値画像データ圧縮装置は、入力され
る二値画像データから画像統計量を算出する画像統計量
演算部10と、算出された画像統計量に基づいて画素ご
とに入力した二値画像を領域判定する領域判定部11
と、マルコフモデル符号化における参照データを生成す
る参照データ作成部12と、参照データを参照してマル
コフモデル符号化を行なうQMコーダ13とによって構
成されている。画像統計量演算部10は画像統計量演算
手段であり、領域判定部11は領域判定手段であり、参
照データ作成部12は参照データ生成手段であり、そし
てQMコーダ13は符号化手段である。画像統計量演算
部10には、分散演算部14と推定濃度値演算部15と
周期演算部16が設けられている。QMコーダ13の出
力がこの装置の符号化出力である。また、参照データ作
成部12で参照データを生成する場合、領域判定部11
での領域判定結果に応じた領域判定データが、参照デー
タに付加されるようになっている。この装置に入力され
る二値画像の走査方法は、画像の左上部分から逐次走査
を行なうラスタスキャン方法となっている。xi,jは、
画像の第i番目のラインの第j番目の画素を表わしてい
る。
This binary image data compression apparatus includes an image statistic calculator 10 for calculating an image statistic from input binary image data, and a binary value input for each pixel based on the calculated image statistic. Area determination unit 11 for determining an area of an image
, A reference data creation unit 12 that generates reference data in Markov model coding, and a QM coder 13 that performs Markov model coding by referring to the reference data. The image statistic calculator 10 is an image statistic calculator, the region determiner 11 is a region determiner, the reference data generator 12 is a reference data generator, and the QM coder 13 is an encoder. The image statistic calculator 10 is provided with a variance calculator 14, an estimated density value calculator 15, and a cycle calculator 16. The output of the QM coder 13 is the encoded output of this device. When the reference data creation unit 12 generates reference data, the area determination unit 11
The area determination data corresponding to the area determination result in (1) is added to the reference data. The binary image scanning method input to this apparatus is a raster scanning method in which sequential scanning is performed from the upper left portion of the image. x i, j is
It represents the j-th pixel in the i-th line of the image.

【0021】分散演算部14は、注目画素xi,jを符号
化する場合に、すでに符号化された近接10画素の変化
点を算出し、その変化点の数Vi,jを出力するものであ
る。具体的には、注目画素xi,jに対し、図2の太実線
で囲まれた10個の近接画素を対象とし、これら近接画
素相互間の12本の境界の両側で画素値が異なっている
かを判定し、画素値が異なっている境界の数を変化点数
i,jとして出力するものである。近接画素相互間の境
界は、図において太破線で示されている。
When the pixel of interest x i, j is coded, the variance calculating unit 14 calculates the change points of the 10 adjacent pixels that have already been coded, and outputs the number V i, j of the change points. Is. Specifically, for the target pixel x i, j , 10 adjacent pixels surrounded by the thick solid line in FIG. 2 are targeted, and the pixel values are different on both sides of 12 boundaries between these adjacent pixels. It is determined whether there is a difference, and the number of boundaries having different pixel values is output as the number of change points V i, j . The boundaries between adjacent pixels are indicated by thick broken lines in the figure.

【0022】図3は、分散演算部14の構成例を示して
いる。分散演算部14は、入力画像データを3ライン分
蓄積することによって注目画素xi,jに対する近接10
画素(図示斜線で表わされた画素)を格納するラインメ
モリ21と、近接画素相互間の境界にそれぞれ対応する
12個の排他的OR回路221〜2212と、排他的OR
回路221〜2212の出力のうち"1"であるものの数を
数える加算器23とによって構成されている。各排他的
OR回路には、対応する境界の両側に位置する画素の値
が入力する。例えば、1番目の排他的OR回路221
は、画素xi-2,j -1とxi-2,jの値が入力する。これら画
素xi-2,j-1とxi-2,jの値が相互に異なれば排他的OR
回路221の出力は"1"となり、同じであれば出力は"
0"となる。同様にして他の排他的OR回路222〜22
12の出力も、対応する境界の両側で画素値が異なるとき
に"1"となるから、"1"となっている排他的OR回路の
数を加算器23で計数することにより、変化点数(分散
値)Vi,jが求められることになる。
FIG. 3 shows an example of the configuration of the distributed arithmetic unit 14. The variance calculating unit 14 accumulates the input image data for three lines to determine the proximity 10 to the pixel of interest x i, j .
A line memory 21 for storing pixels (pixels indicated by diagonal lines in the figure), 12 exclusive OR circuits 22 1 to 22 12 respectively corresponding to boundaries between adjacent pixels, and exclusive OR
It is configured by an adder 23 that counts the number of the outputs of the circuits 22 1 to 22 12 that are "1". The values of pixels located on both sides of the corresponding boundary are input to each exclusive OR circuit. For example, the values of the pixels x i-2, j -1 and x i-2, j are input to the first exclusive OR circuit 22 1 . If the values of these pixels x i-2, j-1 and x i-2, j are different from each other, exclusive OR
The output of the circuit 22 1 is "1", and if they are the same, the output is "1".
0 ". Similarly, the other exclusive OR circuits 22 2 to 22 22
The output of 12 also becomes "1" when the pixel values are different on both sides of the corresponding boundary. Therefore, by counting the number of exclusive OR circuits having "1" by the adder 23, the number of change points ( The variance value V i, j will be obtained.

【0023】推定濃度値演算部15は、注目画素xi,j
の周辺の画素であって符号化済みの画素の値から、注目
画素xi,jを推定し、推定濃度値L* i,jとして出力する
ものである。推定濃度値L* i,jを求めるための計算式の
一例を以下に示す。また推定濃度値L* i,jは、例えば5
ビットの値として表わされる。
The estimated density value calculator 15 determines the pixel of interest x i, j
The pixel of interest x i, j is estimated from the values of the coded pixels which are the pixels around the pixel and is output as the estimated density value L * i, j . An example of a calculation formula for obtaining the estimated density value L * i, j is shown below. The estimated concentration value L * i, j is, for example, 5
Represented as a bit value.

【0024】[0024]

【数1】 ここで、xi-m,j-nは、注目画素xi,jを含まない符号化
済の周辺画素であり、その画素値は"0"または"1"であ
る。(1)式のLi,jを求めるときに使用する周辺画素の配
置の一例が図4に示されている。図示太実線内にある3
6個の画素が、Li,jの算出に使用される。
[Equation 1] Here, x im, jn is a coded peripheral pixel that does not include the target pixel x i, j , and its pixel value is “0” or “1”. FIG. 4 shows an example of an arrangement of peripheral pixels used when obtaining L i, j in the equation (1). 3 within the thick solid line
Six pixels are used to calculate L i, j .

【0025】図5は、推定濃度値演算部15の構成例を
示すブロック図である。推定濃度値演算部15は、入力
画像データを5ライン分蓄積することによって注目画素
i, jに対する上述の周辺36画素(図示斜線で表わさ
れた画素)を格納するラインメモリ31と、これら周辺
36画素の画素値を加算し式(1)に応じててLi,jを算出
する加算器32と、算出されたLi,jの値を蓄積するラ
インメモリ33と、式(2)に応じて推定濃度値L* i,j
算出する演算器34とによって構成されている。
FIG. 5 is a block diagram showing an example of the structure of the estimated density value calculator 15. The estimated density value calculation unit 15 stores the input image data for five lines to store the above-mentioned 36 peripheral pixels (pixels indicated by diagonal lines in the figure) for the pixel of interest x i, j , and these line memories 31. An adder 32 that adds pixel values of 36 peripheral pixels to calculate L i, j according to the equation (1), a line memory 33 that accumulates the calculated value of L i, j , and an equation (2) And an arithmetic unit 34 for calculating the estimated density value L * i, j in accordance with the above.

【0026】周期演算部16は、符号化済の周辺画素か
ら画素の周期性を求め、その求められた画素周期データ
を出力するものである。図6は、周期演算部16の構成
の一例を示すブロック図である。注目画素xi,jの値が
最下位ビット(LSB)に逐次入力する8段のシフトレ
ジスタ41が設けられており、このシフトレジスタ41
の最上位ビット(MSB)側の2ビットの出力は、周期
2画素のたたみ込み系列P2i,jを算出するための第1
の排他的OR回路421に接続されている。シフトレジ
スタの最上位側から数えて次の2ビットの出力と第1の
排他的OR回路421の出力とは、周期4画素のたたみ
込み系列P4i,jを算出するための第2の排他的OR回
路422に入力する。そして、シフトレジスタの最下位
側4ビットの出力と第2の排他的OR回路422の出力
とは、周期8画素のたたみ込み系列P8i,jを算出する
ための第3の排他的OR回路423に接続されている。
The period calculator 16 obtains the periodicity of the pixel from the encoded peripheral pixels and outputs the obtained pixel period data. FIG. 6 is a block diagram showing an example of the configuration of the period calculator 16. An 8-stage shift register 41 for sequentially inputting the value of the pixel of interest x i, j to the least significant bit (LSB) is provided.
The 2-bit output on the most significant bit (MSB) side of the first is the first for calculating the convolution sequence P2 i, j of two pixels in the period.
Connected to the exclusive OR circuit 42 1 . The output of the next 2-bit counted from the most significant side of the shift register and the output of the first exclusive OR circuit 42 1 are the second exclusive for calculating the convolutional sequence P4 i, j of period 4 pixels. Input to the logical OR circuit 42 2 . Then, the output of the least significant 4 bits of the shift register and the output of the second exclusive OR circuit 42 2 are the third exclusive OR circuit for calculating the convolution series P8 i, j of the period of 8 pixels. It is connected to 42 3.

【0027】周期4画素のたたみ込みP4i,jと周期8
画素のたたみ込み系列P8i,jは、それぞれ、シフトレ
ジスタ43,44に入力し、これらシフトレジスタ43,
44の出力側には、各たたみ込み系列P4i,j,P8i,j
中での変化点数をカウントするための変化点カウンタ4
5,46が設けられている。すなわち変化点カウンタ4
5は、P4i,jからP4i,j-7までのビット列における変
化点の数を算出する。これら変化点カウンタ45,46
の出力は、それぞれ3ビット幅である。そして、各変化
点カウンタ45,46ごとに、その変化点カウンタから
の3ビットの出力が入力するAND回路47,48が設
けられ、さらにこれらAND回路47,48の出力が入
力するAND回路49が設けられている。最後のAND
回路49の出力Pi,jは、画素に周期があるか否を示す
ものであって、Pi,jが"0"であれば画素に周期がある
ことを示し、"1"であれば画素に周期がないことを示し
ている。また、周期8画素側のAND回路の出力はP4
/8信号である。このP4/8信号の値は、画素の周期
を示すものであって、"0"であれば8画素周期を示
し、"1"であれば4画素周期を示す。結局、この周期演
算部16は、たたみ込み系列P4i,j,P8i,jにおいて
連続4画素あるいは8画素分のあいだ変化点がない場合
には、それぞれ、画素xi,jに対応する画素系列が4画
素あるいは8画素の周期を有していると判断することに
なる。
Convolution P4 i, j of period 4 pixels and period 8
The convolution series P8 i, j of pixels are input to the shift registers 43 and 44, respectively.
On the output side of 44, each convolutional sequence P4 i, j , P8 i, j
Change point counter 4 for counting the number of change points in
5,46 are provided. That is, the change point counter 4
5 calculates the number of change points in the bit string from P4 i, j to P4 i, j-7 . These change point counters 45, 46
The outputs of are each 3 bits wide. Then, for each of the change point counters 45 and 46, AND circuits 47 and 48 to which the 3-bit output from the change point counter is input are provided, and an AND circuit 49 to which the outputs of these AND circuits 47 and 48 are input is provided. It is provided. Last AND
The output P i, j of the circuit 49 indicates whether or not the pixel has a cycle. When P i, j is “0”, it indicates that the pixel has a cycle, and when it is “1”. This indicates that the pixel has no cycle. Further, the output of the AND circuit on the side of the 8 pixel period is P4.
/ 8 signal. The value of the P4 / 8 signal indicates the period of the pixel, and "0" indicates the 8-pixel period, and "1" indicates the 4-pixel period. After all, if there is no change point between consecutive 4 pixels or 8 pixels in the convolutional series P4 i, j , P8 i, j , the period calculating unit 16 respectively determines the pixel corresponding to the pixel x i, j. It will be determined that the sequence has a period of 4 pixels or 8 pixels.

【0028】次に、領域判定部11について説明する。
領域判定部11は、入力画像の第iラインのj番目の注
目画素xi,jに対し、その画素xi,jがどのような領域中
にあるのかを判定するものである。この判定には、分散
演算部14で算出された変化点数Vi,j、推定濃度値演
算部15で算出された推定濃度値L* i,j、および周期演
算部16で算出された画素周期データが使用される。ま
た判定の内容は、対象とする画素が画像中の平坦部分に
あるか輪郭部分にあるかということと、画素周期の存在
する部分にあるか画素周期の存在しない部分にあるかと
いうことである。ここで画素周期の存在する部分にある
かどうかは周期演算部16からの出力によって直ちに判
るから、結局、平坦部分にあるか輪郭部分にあるかの判
定を行なうことが領域判定部11の主要な動作となる。
Next, the area determination unit 11 will be described.
The area determination unit 11 determines, for the j-th target pixel x i, j of the i- th line of the input image, what area the pixel x i, j is in. For this determination, the number of change points V i, j calculated by the variance calculation unit 14, the estimated density value L * i, j calculated by the estimated density value calculation unit 15, and the pixel cycle calculated by the cycle calculation unit 16 The data is used. The contents of the determination are whether the target pixel is in the flat portion or the contour portion in the image, and whether it is in the portion having the pixel period or in the portion having no pixel period. . Here, since it is immediately known from the output from the period calculation unit 16 whether or not it is in the portion where the pixel period is present, the region determination unit 11 mainly determines whether it is in the flat portion or the contour portion. It will work.

【0029】図7は、領域判定部11の要部の構成の一
例を示すブロック図である。この領域判定部11には、
推定濃度値演算部15から入力する推定濃度値L* i,j
格納するラインメモリ51と、ラインメモリ51に蓄積
された推定濃度値L* i,jのうの最大値L* maxおよび最小
値L* minをそれぞれ検出する最大値検出部52および最
小値検出部53が設けられている。また、最大値L* max
と最小値L* minとの差を算出する減算器54と、減算器
54の出力と第1のしきい値Th1とを比較する第1の
比較器55と、分散演算部14からの変化点数Vi,j
第2のしきい値Th2とを比較する第2の比較器56と
が設けられている。第1の比較器55の出力は、L* max
−L* min>Th1の場合に"1"となり、それ以外の場合
に"0"となる。第2の比較器56の出力は、Vi,j>T
2の場合に"0"となり、それ以外の場合に"1"とな
る。さらに、推定濃度値L* i,jが第3および第4のしき
い値Th3,Th4の間にあるかどうかを判定する濃度領
域分離部57が設けられている。濃度領域分離部57の
出力は、Th3<L* i,j≦Th4の場合に"1"となり、そ
れ以外の場合には"0"となる。第2の比較器56および
濃度領域分離部57の出力はAND回路58に入力し、
第1の比較器55およびAND回路58の出力がOR回
路59に入力する。OR回路59の出力Ai,jは平坦部
であるか輪郭部であるかを表わすものであって、Ai,j
が"0"であれば平坦部に、"1"であれば輪郭部に注目画
素が存在していることを示している。
FIG. 7 is a block diagram showing an example of the configuration of the main part of the area determination section 11. The area determination unit 11 includes
A line memory 51 that stores the estimated density value L * i, j input from the estimated density value calculation unit 15, and a maximum value L * max and a minimum of the estimated density value L * i, j accumulated in the line memory 51. A maximum value detection unit 52 and a minimum value detection unit 53 that detect the value L * min are provided. Also, the maximum value L * max
And a minimum value L * min , the subtracter 54 calculates the difference, the first comparator 55 that compares the output of the subtractor 54 with the first threshold value Th 1, and the change from the variance calculator 14 A second comparator 56 is provided which compares the score V i, j with the second threshold Th 2 . The output of the first comparator 55 is L * max
-L * min> "1" next to the case of Th 1, becomes "0" in other cases. The output of the second comparator 56 is V i, j > T
In case of h 2 , it becomes “0”, and in other cases, it becomes “1”. Further, there is provided a concentration area separation unit 57 which determines whether or not the estimated concentration value L * i, j is between the third and fourth threshold values Th 3 and Th 4 . The output of the density region separation unit 57, Th 3 <L * i, becomes "1" when the j ≦ Th 4, the otherwise becomes "0". The outputs of the second comparator 56 and the density region separation unit 57 are input to the AND circuit 58,
The outputs of the first comparator 55 and the AND circuit 58 are input to the OR circuit 59. The output A i of the OR circuit 59, j is a which represents whether the contour is a planar portion, A i, j
"0" indicates that the target pixel exists in the flat portion, and "1" indicates that the target pixel exists in the contour portion.

【0030】次に、領域判定部11での領域判定の手順
について説明する。本実施例の装置では、注目画素x
i,jをQMコーダ13で符号化する場合、まず、領域判
定部11においてこの注目画素xi,jの領域判定が行な
われる。変化点数Vi,j、推定濃度値L* i,j、および画
素周期データが入力した領域判定部11では、画素単位
に領域判定を行なっていく。まず、注目画素xi,jの推
定濃度値L* i,jおよび符号化済の周辺画素の推定濃度値
* i-m,j-n(m=0,1,..., n=0,1,..., ただしm
2+n2≠0)の中での最大値L* maxと最小値L* minを求
め、最大値L* maxと最小値L* minとの差を求める。そし
て、その差について次の判定条件に従って画素の領域を
判定する。第1の比較器55の出力が、この判定結果に
対応する。
Next, the procedure of area determination by the area determination unit 11 will be described. In the device of this embodiment, the pixel of interest x
When i, j is encoded by the QM coder 13, the area determination unit 11 first determines the area of the target pixel x i, j . The area determination unit 11 to which the number of change points V i, j , the estimated density value L * i, j , and the pixel cycle data are input, performs area determination on a pixel-by-pixel basis. First, the estimated density value L * i, j of the target pixel x i, j and the estimated density value L * im, jn (m = 0,1, ..., N = 0,1, ..., but m
2 + n 2 ≠ 0), the maximum value L * max and the minimum value L * min are calculated, and the difference between the maximum value L * max and the minimum value L * min is calculated. Then, for the difference, the pixel area is determined according to the following determination conditions. The output of the first comparator 55 corresponds to this determination result.

【0031】[0031]

【数2】 この判定条件で平坦部候補であると判定された画素は、
誤差拡散法、組織ディザ法を用いて二値化された疑似中
間調画像の濃度平坦部、もしくは解像度の高い細かい網
点、文字背景、太い線、及び、文字の中等の領域にある
画素である。そして、輪郭部であると判定された画素
は、文字、線図形、解像度の低い粗い網点、疑似中間調
画像の輪郭部等の領域にある画素である。
[Equation 2] Pixels determined to be flat part candidates under this determination condition are
Pixels in the density flat part of the pseudo-halftone image binarized using the error diffusion method or the tissue dither method, or the high resolution fine halftone dots, the character background, the thick line, and the area in the middle of the character, etc. . The pixels determined to be the contour portion are pixels in areas such as characters, line graphics, coarse halftone dots with low resolution, and the contour portion of the pseudo halftone image.

【0032】ところで、疑似中間調画像の濃度平坦部の
特徴としては、上述の判定条件のような推定濃度値の変
化量(L* max−L* min)が小さくなる特徴のほかに、白
と黒との変化点数が大きくなるという特徴がある。これ
は、写真などの中間調画像の平坦部を二値化した場合
に、白と黒の画素が均等に分散し、白又は黒の孤立点が
多数発生するためである。白と黒との変化点数が大きく
する領域を平坦部と扱うことは、以後の符号化に支障を
きたすので、このような領域を、平坦部と判定される領
域から削除し、輪郭部として扱う必要がある。そこで、
平坦部候補であると判定された注目画素xi,jの中から
二値画像のテクスチャ領域を削除するために、近接10
画素の変化点数を用いて領域判定の補正を行なう。具体
的には、平坦部候補であると判定された場合に、予め第
2から第4までのしきい値Th2〜Th4を定めておいた
上で、分散演算部14で求められた変化点数Vi,jと、
濃度推定値L* i,jとを使用し、以下の判定条件によって
平坦部と輪郭部との分離を行なう。
By the way, as the characteristic of the density flat portion of the pseudo-halftone image, in addition to the characteristic that the change amount (L * max- L * min ) of the estimated density value becomes small as in the above-mentioned determination condition, white It has the feature that the number of change points with black becomes large. This is because when a flat portion of a halftone image such as a photograph is binarized, white and black pixels are evenly distributed, and many white or black isolated points are generated. Treating an area where the number of change points between white and black is large as a flat portion hinders subsequent encoding. Therefore, such an area is deleted from the area determined to be a flat portion and treated as a contour portion. There is a need. Therefore,
In order to delete the texture area of the binary image from the target pixel x i, j which is determined to be the flat part candidate, the proximity 10
The area determination is corrected using the number of change points of the pixel. Specifically, if it is determined that the flat part candidates, on which had been set a threshold Th 2 to TH 4 from previously second to fourth, obtained by the variance calculating section 14 changes Points V i, j ,
Using the estimated density value L * i, j , the flat portion and the contour portion are separated according to the following determination conditions.

【0033】[0033]

【数3】 このようにして、画素xi,jが輪郭部に属するのか、平
坦部に属するのかが判定されたことになり、判定結果A
i,jが出力されることになる。
[Equation 3] In this way, it is determined whether the pixel x i, j belongs to the contour portion or the flat portion, and the determination result A
i, j will be output.

【0034】続いて領域判定部11は、周期演算部16
からの画素周期データに基づき、輪郭部と平坦部のそれ
ぞれを画素周期の有無で区別する。その結果、二値画像
が、画素単位で下記I〜IVの4種類の領域に分割され
る。
Subsequently, the area determination section 11 is provided with a cycle calculation section 16
On the basis of the pixel cycle data from 1), the contour portion and the flat portion are distinguished by the presence or absence of the pixel period. As a result, the binary image is divided into the following four types of regions I to IV on a pixel-by-pixel basis.

【0035】(I) 画素周期有、かつ平坦部 → 組織デ
ィザ画像、細かい網点: (II) 画素周期無、かつ平坦部 → 誤差拡散画像、背
景、太い線及び文字の中: (III) 画素周期有、かつ輪郭部 → 粗い網点: (IV) 画素周期無、かつ輪郭部 → 文字、線図形、疑似
中間調画像の輪郭部:
(I) Pixel periodicity and flat part → texture dither image, fine halftone dots: (II) Pixel periodless and flat part → error diffusion image, background, thick lines and characters: (III) Pixel Periodic and outline part → Coarse halftone dots: (IV) No pixel period and outline part → Character, line figure, pseudo halftone image outline part:

【0036】このようにして領域判定部11において、
各画素ごとに領域判定が行なわれ、領域判定の結果は判
定データとして参照データ作成部12に送られる。
In this way, in the area judging section 11,
The area determination is performed for each pixel, and the result of the area determination is sent to the reference data creating unit 12 as the determination data.

【0037】次に、参照データ作成部12について説明
する。参照データ作成部12は、マルコフモデル符号化
における参照データを生成するものであり、参照データ
作成部12には、入力画素信号および領域判定部11か
らの判定データのほか、周期演算部16から画素の周期
を表わす信号P4/8が入力し、推定濃度値演算部15
から推定濃度値L* i,jが入力している。生成される参照
データの構成の一例が図8に示されている。図示される
参照データは、12ビット幅であり、領域判定データ2
ビット、注目画素xi,jの近接6画素の画素データ計6
ビット、適応データ4ビットによって構成されている。
領域判定データの各ビットは、それぞれ、平坦部/輪郭
部を表わすデータと、画素周期の有無を表わすデータで
ある。近接6画素は、図9の太実線内で表わされる画素
(xi-2,j,xi-1,j-1,xi-1,j,x i-1,j+1,xi,j-2,x
i,j-1)であり、領域判定の結果如何によらず参照デー
タに含められるものである。以下、この近接6画素のこ
とを固定参照画素データと呼ぶことにする。一方、適応
データは、領域判定の結果によってその内容が変化する
データである。すなわち、領域判定データが上述のI〜
IVの場合のいずれかに応じ、以下のようなデータとな
る。
Next, the reference data creating section 12 will be described.
To do. The reference data creation unit 12 uses the Markov model encoding
To generate reference data in
Whether the input pixel signal and area determination unit 11 is included in the creation unit 12
In addition to the judgment data from
Signal P4 / 8 indicating the
Estimated concentration value L from* i, jIs typing. Generated reference
An example of the data structure is shown in FIG. Illustrated
The reference data is 12 bits wide, and the area determination data 2
Bit, pixel of interest xi, jPixel data of 6 pixels close to each other 6
Bits and adaptive data 4 bits.
Each bit of the area determination data is a flat part / contour
Data that indicates the part and data that indicates the presence or absence of a pixel cycle.
is there. The 6 adjacent pixels are the pixels represented by the thick solid line in FIG.
(Xi-2, j, xi-1, j-1, xi-1, j, x i-1, j + 1, xi, j-2, x
i, j-1), Regardless of the result of the area determination.
Is included in the data. Below, this 6-pixel proximity
And will be referred to as fixed reference pixel data. Meanwhile, adaptation
The content of the data changes depending on the area determination result.
The data. That is, the area determination data is I to
Depending on the case of IV, the data will be as follows.
It

【0038】[0038]

【表1】 ここで、固定参照画素以外の近接4画素とは、例えば画
素xi-1,j-2、xi-2,j -1、xi-2,j+1、xi-1,j+2であ
る。また周期画素は、符号化済の周辺画素からの画像の
周期性の解析した場合に、注目画素xi,jとの周期相関
の強い画素のことである。kは0〜4の整数であり、周
期相関の強さに応じて、周期画素として採用する画素の
数が変化するようになっている。さらに、推定濃度値L
* i,jの量子化データは、符号化済みの周辺画素の情報を
状態圧縮したものである。
[Table 1] Here, the four adjacent pixels other than the fixed reference pixels are, for example, pixels x i-1, j-2 , x i-2, j -1 , x i-2, j + 1 , x i-1, j +. Is 2 . The periodic pixel is a pixel having a strong periodic correlation with the pixel of interest x i, j when the periodicity of the image from the encoded peripheral pixels is analyzed. k is an integer of 0 to 4, and the number of pixels used as the periodic pixels changes according to the strength of the periodic correlation. Furthermore, the estimated concentration value L
* The quantized data of i, j is the state-compressed information of the coded peripheral pixels.

【0039】次に、参照データ作成部12の具体的な構
成例について、図10を用いて説明する。この参照デー
タ作成部12は、kが0〜1の場合に対応するものであ
って、領域判定部11からの領域判定データ(2ビッ
ト)と、固定参照画素データ(6ビット)と、濃度推定
値L* i,j(5ビット幅)と、信号P4/8と、固定参照
画素以外の近接画素データ(xi-2,j-1,xi-2,j+1,x
i-1,j-2,xi-1,j+2,xi,j- 4,xi,j-8)とを入力とす
る。このうち領域判定データと固定参照画素データは、
そのままの形で参照データ作成部12から出力される。
そして、参照データ作成部12には、濃度推定値L* i,j
をさらに量子化する第1および第2の量子化器61,6
2、信号P4/8に応じて画素xi,j-4とxi,j-8のいず
れかを選択するセレクタ63、および領域判定データの
値に応じて適応データを生成する適応データ選択部64
とによって構成されている。第1および第2の量子化器
61,62は、それぞれ、濃度推定値L* i,jを3ビット
幅の値L** i,jおよび4ビット幅の値L*** i,jに変換す
るものである。セレクタ63は、信号P4/8が"0"の
場合に画素xi,j-8を選択し、"1"であれば画素xi,j-4
を選択するように構成されている。一方、適応データ選
択部64は、Pi,jとAi,jの値に応じて、以下のように
入力信号を選択するように構成されている。ここでx
i,j-4/xi,j-8は、x i,j-4とxi,j-8の中からセレクタ
63によって選択されたものを示している。
Next, the specific structure of the reference data creation unit 12 will be described.
An example will be described with reference to FIG. This reference day
The data creating unit 12 corresponds to the case where k is 0 to 1.
The area determination data (2 bits
,), Fixed reference pixel data (6 bits), and density estimation
Value L* i, j(5-bit width), signal P4 / 8, fixed reference
Proximity pixel data other than pixel (xi-2, j-1, xi-2, j + 1, x
i-1, j-2, xi-1, j + 2, xi, j- Four, xi, j-8) And enter
It Of these, the area determination data and the fixed reference pixel data are
The reference data creation unit 12 outputs the data as it is.
Then, the reference data creation unit 12 displays the estimated density value L* i, j
First and second quantizers 61 and 6 for further quantizing
2. Pixel x according to the signal P4 / 8i, j-4And xi, j-8Nozu
Selector 63 for selecting one of
Adaptive data selection unit 64 for generating adaptive data according to a value
It is composed of and. First and second quantizer
61 and 62 are estimated density values L, respectively.* i, j3 bits
Width value L** i, jAnd a 4-bit wide value L*** i, jConvert to
It is something. In the selector 63, the signal P4 / 8 is "0".
If pixel xi, j-8Is selected, and if "1", pixel xi, j-4
Is configured to select. On the other hand, adaptive data selection
The selecting unit 64 is Pi, jAnd Ai, jDepending on the value of
It is configured to select an input signal. Where x
i, j-4/ Xi, j-8Is x i, j-4And xi, j-8Selector from
The one selected by 63 is shown.

【0040】[0040]

【表2】 このように参照データ作成部12を構成することによ
り、参照データに、領域判定部11での領域判定結果に
応じた領域判定データが加えられ、また、領域判定デー
タに応じて適応的に近接画素のデータあるいは周辺画素
の状態を表わすデータが付加されることになる。参照デ
ータ作成部12から出力される参照データはQMコーダ
13に入力し、これにより、QMコーダ13において、
参照データにしたがって、注目画素xi,jの符号化が行
なわれることになる。
[Table 2] By configuring the reference data creation unit 12 in this way, the region determination data according to the region determination result in the region determination unit 11 is added to the reference data, and the adjacent pixels are adaptively adjusted according to the region determination data. Data or data representing the state of peripheral pixels is added. The reference data output from the reference data creation unit 12 is input to the QM coder 13, whereby the QM coder 13
The pixel of interest x i, j is encoded according to the reference data.

【0041】以上の説明から明らかなように、本実施例
では、画像の構造的な統計量を求めて画像の画素単位で
領域判定を行ない、画素ごとの領域判定結果に応じて画
素ごとに適応的なマルコフモデル符号化が行なわれる。
このため、参照データとして符号化済の近接画素のみを
使用する従来のJBIG符号化方式に比べ、データ圧縮
率が大幅に改善される。領域判定データに応じてマルコ
フモデル符号化の参照データを切り替えるので、線図形
などの単純な二値画像であるか、組織ディザ法や誤差拡
散法による疑似中間調画像であるかに応じ、最適な符号
化を施すことが可能となり、全体的なデータ圧縮率の改
善が図ることができる。また、画像のラインの途中であ
っても参照データの切り替えを行なうことが可能なの
で、入力二値画像の種別を問わないという利点もある。
さらに、画像の構造的な統計量の算出は、周辺画素との
相関の算出やマルコフモデルエントロピを画素毎に算出
することに比べ、簡単に行なえる処理であって必要とす
るハードウェアも小規模である。したがって、従来法に
比べコストの低減も図ることができる。
As is clear from the above description, in this embodiment, the structural statistic of the image is obtained and the region determination is performed for each pixel of the image, and the pixel determination is performed for each pixel according to the region determination result for each pixel. Markov model coding is performed.
Therefore, the data compression rate is significantly improved as compared with the conventional JBIG encoding method that uses only the adjacent pixels that have already been encoded as reference data. Since the reference data for Markov model coding is switched according to the region determination data, it is optimal depending on whether it is a simple binary image such as a line figure or a pseudo halftone image by the tissue dither method or the error diffusion method. Encoding can be performed, and the overall data compression rate can be improved. Further, since it is possible to switch the reference data even in the middle of the line of the image, there is an advantage that the type of the input binary image does not matter.
Further, the calculation of the structural statistic of an image is a process that can be easily performed and requires a small amount of hardware as compared with the calculation of the correlation with the surrounding pixels and the calculation of the Markov model entropy for each pixel. Is. Therefore, the cost can be reduced as compared with the conventional method.

【0042】次に、本実施例に関して行なったシミュレ
ーションの結果について説明する。このシミュレーショ
ンは、高精細カラー標準画像SCID(Standard Color
Image Data)のポートレイトを16分の1に縮小しそ
の輝度成分を誤差拡散法によって二値化した画像512
×640画素と、CCITTのテストチャートNo.7
から512×640画素を切り出した画像とを左右に並
べて構成した1024×640画素の混在画像によって
行なった。このシミュレーション用混在画像を領域判定
すると、画素周期が無しで平坦部である領域と、画素周
期が無しで輪郭部である領域の2領域に分割された。そ
こで、上述した12ビットの参照データから画素周期の
有無を表わすビットPi,jを削除した参照データを使用
した。すなわちこの参照データは、領域判定データ1ビ
ット、適応データ4ビット、固定参照画素6ビットの合
計11ビットからなる。この参照データを用いて2
11(=2048通り)の状態からなるマルコフモデルを適用
した。つまり、混在画像に対する本発明の有効性を検証
するため、状態数を211通りに限定した。
Next, the result of the simulation performed for this embodiment will be described. This simulation is a high-definition color standard image SCID (Standard Color
An image 512 obtained by reducing the portrait of (Image Data) to 1/16 and binarizing the luminance component by the error diffusion method.
X640 pixels and CCITT test chart No. 7
The image was obtained by cutting out 512 × 640 pixels from the above image and a mixed image of 1024 × 640 pixels was arranged side by side. When this mixed image for simulation was subjected to region determination, it was divided into two regions, a region that is a flat portion without a pixel period and a region that is a contour portion without a pixel period. Therefore, reference data in which the bit P i, j representing the presence or absence of a pixel period is deleted from the above-mentioned 12-bit reference data is used. That is, this reference data is composed of 1 bit of area determination data, 4 bits of adaptive data, and 6 bits of fixed reference pixels, for a total of 11 bits. 2 using this reference data
The Markov model consisting of 11 (= 2048 ways) states was applied. That is, in order to verify the effectiveness of the present invention for mixed images, the number of states is limited to 2 11 ways.

【0043】そして、参照データとして近接11画素を
用いる従来の方法による場合(モデルI)、領域判定デ
ータ1ビットと近接10画素を参照データとして用いる
場合(モデルII)、領域判定データ1ビットと近接6画
素と適応データ4ビットとを参照データとして用いる場
合(モデルIII)のそれぞれについて、下記式により、
マルコフモデルエントロピHを求めた。ここで、モデル
IIとモデルIIIは、本発明の範囲に含まれるものであ
る。
Then, in the case of a conventional method using 11 pixels of proximity as reference data (model I), when 1 bit of area determination data and 10 pixels of proximity are used as reference data (model II), 1 bit of area determination data and proximity. For each of the case where 6 pixels and 4 bits of adaptive data are used as reference data (Model III),
The Markov model entropy H was calculated. Where the model
II and model III are within the scope of the invention.

【0044】[0044]

【数4】 (3)式において、Siは参照データの状態、xjは二値画
像のシンボル、P(Si)は状態Siの出現確率、P(xj
i)は状態Siのとき上記シンボルxjが出現する条件付
確率である。各モデルでのマルコフモデルエントロピH
は、それぞれ次のとおりであった。
[Equation 4] In equation (3), S i is the state of the reference data, x j is the symbol of the binary image, P (S i ) is the probability of appearance of the state S i , and P (x j |
S i ) is the conditional probability that the symbol x j appears in the state S i . Markov model entropy H in each model
Were as follows:

【0045】 モデルI :H=0.335ビット/画素. モデルII :H=0.328ビット/画素. モデルIII :H=0.297ビット/画素. 従来の方法によるモデルIと本発明の方法によるモデル
IIのマルコフモデルエントロピHを相互に比較すること
によって、画素ごとに領域判定を行ない領域判定の結果
に応じて状態分けを行なうことの効果が確認された。ま
た、モデルIIとモデルIIIのマルコフモデルエントロピ
Hを比較することによって、領域判定データに従って参
照データを適応的に切り替えることの効果が確認でき
た。本発明に基づき適応的に参照データを生成するモデ
ルIIIによれば、従来法によるモデルIと比較してマル
コフモデルエントロピHが約11%削減できた。このこ
とは、マルコフモデル符号化の圧縮率が約11%改善さ
れることを意味している。
Model I: H = 0.335 bits / pixel. Model II: H = 0.328 bits / pixel. Model III: H = 0.297 bits / pixel. Model I according to the conventional method and model according to the method of the present invention
By comparing the Markov model entropy H of II with each other, the effect of performing the region determination for each pixel and performing the state classification according to the result of the region determination was confirmed. Further, by comparing the Markov model entropy H of the model II and the model III, the effect of adaptively switching the reference data according to the region determination data was confirmed. According to the model III which adaptively generates the reference data based on the present invention, the Markov model entropy H can be reduced by about 11% as compared with the model I by the conventional method. This means that the compression rate of Markov model coding is improved by about 11%.

【0046】次に、周期特性を有する画像に対するシミ
ュレーションを行なった。上述の高精細カラー標準画像
SCIDのポートレイトを16分の1に縮小し、その輝
度成分を組織ディザ法によって二値化した512×64
0画素の画像を作成してシミュレーション用の画像とし
た。このシミュレーション用の画像を領域判定した結
果、画素周期が有って平坦部である領域と、画素周期が
有って輪郭部である領域のの2領域に分割された。そこ
で、参照データとして、領域判定データ1ビット、適応
データ4ビット、固定参照画素6ビットの合計11ビッ
トからなるものを用いることとした。領域判定データと
しては上述のAi,jで表わされるデータを使用した。参
照データが11ビットなので上述のシミュレーションと
同様に、マルコフモデルの状態数は211である。つま
り、周期特性を有する画像に対する本発明の有効性を検
証するため、状態数を211通りに限定した。
Next, a simulation was performed on an image having a periodic characteristic. The portrait of the above-described high-definition color standard image SCID is reduced to 1/16 and its luminance component is binarized by the tissue dither method.
An image of 0 pixels was created and used as an image for simulation. As a result of the area determination of the image for simulation, it was divided into two areas, that is, a flat area having a pixel cycle and an outline area having a pixel cycle. Therefore, as reference data, area determination data of 1 bit, adaptive data of 4 bits, and fixed reference pixel of 6 bits, which is a total of 11 bits, are used. As the area determination data, the data represented by A i, j described above was used. Since the reference data is 11 bits, the number of states of the Markov model is 2 11 as in the above simulation. That is, in order to verify the effectiveness of the present invention for images having periodic characteristics, the number of states was limited to 2 11 ways.

【0047】そして、近接10画素及び周期画素1画素
を参照データとして用いる従来の方法による場合(モデ
ルIV)と、本発明の方法に基づき領域判定1データビッ
トと近接6画素と適応データ4ビットとを参照データと
して用いる場合(モデルV)のそれぞれの場合につい
て、マルコフモデルエントロピHを(3)式によって求め
た。ただし、適応データとしては、周期画素1画素及び
推定濃度値L* i,jの3ビット量子化データを用いた。得
られた結果を以下に示す。
Then, in the case of the conventional method using 10 adjacent pixels and 1 periodic pixel as reference data (model IV), 1 data bit for area determination, 6 adjacent pixels and 4 bits of adaptive data based on the method of the present invention. The Markov model entropy H was calculated by the equation (3) for each of the cases where is used as reference data (model V). However, as the adaptive data, 3-bit quantized data of one periodic pixel and the estimated density value L * i, j was used. The results obtained are shown below.

【0048】 モデルIV :H=0.176ビット/画素. モデルV :H=0.160ビット/画素. 本発明に基づくモデルVによれば、従来の方法によるモ
デルIVの場合に比べ、マルコフモデルエントロピHを約
9%削減できた。このことは、モデルVによれば、マル
コフモデル符号化の圧縮率が約9%改善されることを意
味している。また、上述の実施例によれば、周期画素と
して採用する画素の数kを0からまでで任意に選択する
ことができる。そこで、kを2とした場合(モデルV
I)、すなわち4ビットの適応データの構成を、周期画
素2画素及び推定濃度値L* i,jの2ビット量子化データ
とした場合のマルコフモデルエントロピーHを求めた。
その結果、H=0.142ビット/画素となり、モデルI
Vで代表される従来の方法に比ベて、モデルVIではマル
コフモデルエントロピが約19%削減できた。このよう
に、周期特性を有する画像については、参照データにお
ける適応データとして、相関の強い周期画素を数画素用
いることにより、マルコフモデル符号化の圧縮率が大幅
に向上することがわかった。
Model IV: H = 0.176 bits / pixel. Model V: H = 0.160 bits / pixel. According to the model V according to the present invention, the Markov model entropy H can be reduced by about 9% as compared with the case of the model IV by the conventional method. This means that according to model V, the compression rate of Markov model coding is improved by about 9%. Further, according to the above-described embodiment, the number k of pixels used as the periodic pixels can be arbitrarily selected from 0 to. Therefore, when k is set to 2 (model V
I), that is, when the structure of the 4-bit adaptive data is 2-bit quantized data of two periodic pixels and the estimated density value L * i, j , the Markov model entropy H was obtained.
As a result, H = 0.142 bits / pixel, and the model I
Compared with the conventional method represented by V, the model VI reduced Markov model entropy by about 19%. As described above, it was found that for an image having a periodic characteristic, the compression rate of Markov model coding is significantly improved by using several pixels having a strong correlation as adaptive data in the reference data.

【0049】[0049]

【発明の効果】以上説明したように本発明の二値画像の
データ圧縮方法は、入力二値画像から画像の構造的な統
計量を求め、この統計量に応じて入力二値画像の領域判
定を行ない、マルコフモデル符号化における参照データ
をこの領域判定の結果を含む形態で作成することによ
り、画像の性質に応じた適応的なマルコフモデル符号化
が行なわれることになって、符号化済みの近接画素のみ
を参照データとして符号化を行なう従来の場合に比べ、
小さなハードウェア規模で、大幅なデータ圧縮を実現す
ることができるという効果がある。また本発明の二値画
像のデータ圧縮装置は、入力二値画像から画像の構造的
な統計量を求める画像統計量演算手段と、この統計量に
応じて入力二値画像の領域判定を行なう領域判定手段
と、マルコフモデル符号化における参照データをこの領
域判定の結果を含む形態で作成する参照データ生成手段
とを設けることにより、画像の性質に応じた適応的なマ
ルコフモデル符号化を行なわれるので、従来のデータ圧
縮装置を使用する場合に比べ、小さなハードウェア量で
大幅なデータ圧縮が実現できるという効果がある。
As described above, in the binary image data compression method of the present invention, the structural statistical amount of an image is obtained from the input binary image, and the area of the input binary image is determined according to this statistical amount. By creating the reference data in the Markov model coding in a form including the result of this area determination, adaptive Markov model coding according to the property of the image is performed, and Compared to the conventional case where only neighboring pixels are encoded as reference data,
There is an effect that a large amount of data compression can be realized with a small hardware scale. Further, the binary image data compression apparatus of the present invention is an image statistic calculating means for obtaining a structural statistic of an image from an input binary image, and an area for performing an area determination of the input binary image according to the statistic. By providing the determining means and the reference data generating means for creating the reference data in the Markov model encoding in the form including the result of the area determination, the adaptive Markov model encoding according to the property of the image is performed. As compared with the case of using the conventional data compression device, there is an effect that a large amount of data compression can be realized with a small amount of hardware.

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

【図1】本発明の一実施例の二値画像データ圧縮装置の
構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a binary image data compression device according to an embodiment of the present invention.

【図2】分散の演算に用いる符号化済の近接10画素を
示す図である。
FIG. 2 is a diagram showing coded adjacent 10 pixels used for variance calculation.

【図3】分散演算部の構成を示すブロック図である。FIG. 3 is a block diagram showing a configuration of a distributed arithmetic unit.

【図4】推定濃度値の演算に使用する周辺画素の一例を
示す図である。
FIG. 4 is a diagram showing an example of peripheral pixels used for calculation of an estimated density value.

【図5】推定濃度値演算部の構成を示すブロック図であ
る。
FIG. 5 is a block diagram showing a configuration of an estimated density value calculation unit.

【図6】周期演算部の構成を示すブロック図である。FIG. 6 is a block diagram showing a configuration of a period calculation unit.

【図7】領域判定部の要部の構成を示すブロック図であ
る。
FIG. 7 is a block diagram showing a configuration of a main part of an area determination unit.

【図8】マルコフデータ符号化における参照データ構成
の一例を示す図である。
FIG. 8 is a diagram showing an example of a reference data configuration in Markov data encoding.

【図9】参照データにおける固定参照画素の例を示す図
である。
FIG. 9 is a diagram showing an example of fixed reference pixels in reference data.

【図10】参照データ作成部の要部の構成を示すブロッ
ク図である。
FIG. 10 is a block diagram showing a configuration of a main part of a reference data creation unit.

【図11】JBIG方式による従来の二値画像データ圧
縮装置を示すブロック図である。
FIG. 11 is a block diagram showing a conventional binary image data compression device based on the JBIG method.

【図12】マルコフモデル符号化における参照画素位置
を示す図である。
FIG. 12 is a diagram illustrating reference pixel positions in Markov model coding.

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

10 画像統計量演算部 11 領域判定部 12 参照データ作成部 13 QMコーダ 14 分散演算部 15 推定濃度値演算部 16 周期演算部 21,31,33,51 ラインメモリ 23,32 加算器 34 演算器 41,43,44 シフトレジスタ 45,46 変化点カウンタ 52 最大値検出部 53 最小値検出部 54 減算器 57 濃度領域分離部 61,62 量子化器 63 セレクタ 64 適応データ選択部 10 image statistic calculation unit 11 area determination unit 12 reference data creation unit 13 QM coder 14 variance calculation unit 15 estimated density value calculation unit 16 cycle calculation unit 21, 31, 33, 51 line memory 23, 32 adder 34 calculator 41 , 43, 44 Shift register 45, 46 Change point counter 52 Maximum value detection unit 53 Minimum value detection unit 54 Subtractor 57 Density region separation unit 61, 62 Quantizer 63 Selector 64 Adaptive data selection unit

Claims (14)

【特許請求の範囲】[Claims] 【請求項1】 二値画像のデータ圧縮方法であって、入
力二値画像から画像統計量を求める第1のステップと、
前記画像統計量に応じて前記入力二値画像の領域判定を
行ない領域判定データを生成する第2のステップと、マ
ルコフモデル符号化における参照データを生成する第3
のステップとを有し、前記参照データが前記領域判定デ
ータに対応する第1のデータ部分と前記第1のデータ部
分以外のデータ部分である第2のデータ部分とによって
構成される二値画像のデータ圧縮方法。
1. A data compression method of a binary image, the first step of obtaining an image statistic from an input binary image,
A second step of performing area determination of the input binary image according to the image statistics and generating area determination data, and a third step of generating reference data in Markov model coding
Of the binary image composed of the first data portion corresponding to the area determination data and the second data portion which is a data portion other than the first data portion. Data compression method.
【請求項2】 前記参照データを用いて前記入力二値画
像のマルコフモデル符号化を行なう第4の工程をさらに
有する請求項1に記載の二値画像のデータ圧縮方法。
2. The binary image data compression method according to claim 1, further comprising a fourth step of performing Markov model coding of the input binary image using the reference data.
【請求項3】 前記領域判定が前記入力二値画像の画素
ごとに行なわれる請求項1に記載の二値画像のデータ圧
縮方法。
3. The binary image data compression method according to claim 1, wherein the region determination is performed for each pixel of the input binary image.
【請求項4】 前記参照データを使用し各画素領域のマ
ルコフ状態を区別して前記画素のマルコフモデル符号化
を行なう第4のステップをさらに有する請求項3に記載
の二値画像のデータ圧縮方法。
4. The binary image data compression method according to claim 3, further comprising a fourth step of performing the Markov model coding of the pixel by distinguishing the Markov state of each pixel region using the reference data.
【請求項5】 前記第3のステップにおいて、複数のデ
ータの中から前記領域判定データに応じて選択を行なう
ことにより前記第2のデータ部分が生成される請求項4
に記載の二値画像のデータ圧縮方法。
5. The second data portion is generated in the third step by selecting from a plurality of data according to the area determination data.
A method of compressing binary image data according to.
【請求項6】 前記第2のデータ部分が、注目画素に近
接する符号化済みの画素の画素値のみで構成されている
請求項5に記載の二値画像のデータ圧縮方法。
6. The binary image data compression method according to claim 5, wherein the second data portion is composed only of pixel values of coded pixels adjacent to the pixel of interest.
【請求項7】 前記第2のデータ部分が、符号化済みの
画素から算出された注目画素の推定濃度値と、前記注目
画素に対して強い相関を有する符号化済みの画素の1つ
の画素値、および前記注目画素に近接する画素の画素値
とを組み合わせたものである請求項5に記載の二値画像
のデータ圧縮方法。
7. The pixel value of the encoded pixel having a strong correlation with the estimated density value of the pixel of interest calculated from the encoded pixel and the pixel value of the second data portion. And a pixel value of a pixel adjacent to the pixel of interest are combined, and the data compression method of the binary image according to claim 5.
【請求項8】 前記第2のデータ部分が、符号化済みの
画素から算出された注目画素の推定濃度値と、前記注目
画素に対して強い相関を有する符号化済みの複数の画素
の画素値、および前記注目画素に近接する画素の画素値
とを組み合わせたものである請求項5に記載の二値画像
のデータ圧縮方法。
8. The second data portion is a pixel value of a plurality of coded pixels having a strong correlation with the estimated density value of the pixel of interest calculated from the coded pixels and the pixel of interest. And a pixel value of a pixel adjacent to the pixel of interest are combined, and the data compression method of the binary image according to claim 5.
【請求項9】 前記領域判定が、注目画素が画像の輪郭
部に存在するのか平坦部に存在するのかを判定するもの
である請求項3に記載の二値画像のデータ圧縮方法。
9. The binary image data compression method according to claim 3, wherein the area determination is for determining whether the pixel of interest is present in a contour portion or a flat portion of the image.
【請求項10】 前記領域判定が、前記入力二値画像中
の周期構造の有無を判定するものである請求項3に記載
の二値画像のデータ圧縮方法。
10. The binary image data compression method according to claim 3, wherein the region determination is for determining the presence or absence of a periodic structure in the input binary image.
【請求項11】 二値画像のデータ圧縮装置であって、
入力二値画像から画像統計量を算出する画像統計量演算
手段と、前記画像統計量に応じて前記入力二値画像の領
域判定を行ない領域判定データを生成する領域判定手段
と、マルコフモデル符号化における参照データを生成す
る参照データ生成手段とを有し、前記参照データが前記
領域判定データに対応する第1のデータ部分と前記第1
のデータ部分以外のデータ部分である第2のデータ部分
とによって構成される二値画像のデータ圧縮装置。
11. A binary image data compression apparatus, comprising:
Image statistic calculating means for calculating an image statistic from an input binary image, area determining means for performing area determination of the input binary image according to the image statistic, and area determining means, and Markov model encoding And a first data portion in which the reference data corresponds to the area determination data and the first data portion.
And a second data portion that is a data portion other than the data portion of the binary image data compression apparatus.
【請求項12】 前記参照データを用いて前記入力二値
画像のマルコフモデル符号化を行なう符号化手段をさら
に有する請求項11に記載の二値画像のデータ圧縮装
置。
12. The binary image data compression apparatus according to claim 11, further comprising an encoding unit that performs Markov model encoding of the input binary image using the reference data.
【請求項13】 前記領域判定手段が前記入力二値画像
の画素ごとに領域判定を行なうものである請求項11に
記載の二値画像のデータ圧縮装置。
13. The binary image data compression apparatus according to claim 11, wherein the area determination means determines an area for each pixel of the input binary image.
【請求項14】 前記参照データを使用し各画素領域の
マルコフ状態を区別して前記画素のマルコフモデル符号
化を行なう符号化手段をさらに有する請求項13に記載
の二値画像のデータ圧縮装置。
14. The binary image data compression apparatus according to claim 13, further comprising coding means for distinguishing the Markov state of each pixel region using the reference data and performing Markov model coding of the pixel.
JP02105194A 1993-02-26 1994-02-18 Data compression method and apparatus for binary image Expired - Lifetime JP3230122B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP02105194A JP3230122B2 (en) 1993-02-26 1994-02-18 Data compression method and apparatus for binary image

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP5-37979 1993-02-26
JP3797993 1993-02-26
JP02105194A JP3230122B2 (en) 1993-02-26 1994-02-18 Data compression method and apparatus for binary image

Publications (2)

Publication Number Publication Date
JPH06311372A true JPH06311372A (en) 1994-11-04
JP3230122B2 JP3230122B2 (en) 2001-11-19

Family

ID=26358064

Family Applications (1)

Application Number Title Priority Date Filing Date
JP02105194A Expired - Lifetime JP3230122B2 (en) 1993-02-26 1994-02-18 Data compression method and apparatus for binary image

Country Status (1)

Country Link
JP (1) JP3230122B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013026661A (en) * 2011-07-15 2013-02-04 Axell Corp Image data encoding method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013026661A (en) * 2011-07-15 2013-02-04 Axell Corp Image data encoding method

Also Published As

Publication number Publication date
JP3230122B2 (en) 2001-11-19

Similar Documents

Publication Publication Date Title
JP3108479B2 (en) Encoding / decoding method and apparatus therefor
Baharav et al. Watermarking of dither halftoned images
EP0738070B1 (en) Image processing method and apparatus
EP0392701A2 (en) Image reduction apparatus
EP0613290B1 (en) Method and apparatus for binary image data compression
US5159468A (en) Image reduction system
US5136396A (en) Image encoding method
KR20030096438A (en) Picture encoder, picture decoder, picture encoding method, picture decoding method, and medium
US5271072A (en) Image reduction of binary images using filtering processing
EP0858210A1 (en) Image processing apparatus
US5655032A (en) Coding method and apparatus therefor
WO1996017469A1 (en) Methods performing 2-dimensional maximum differences coding and decoding during real-time facsimile image compression and apparatus
JP2007306513A (en) Method and device for image data compression
Martins et al. Lossless, near-lossless, and refinement coding of bilevel images
JP4371026B2 (en) Printing system and printer
JP3966117B2 (en) Image processing apparatus, image encoding apparatus, image printing apparatus, and methods thereof
JP2000125111A (en) Picture compression method, picture restoration method, picture compression device, picture reader, picture compression program storage medium and picture restoration program storage medium
JP3230122B2 (en) Data compression method and apparatus for binary image
JP3139460B2 (en) Method and apparatus for encoding binary document image
JPH04238462A (en) Picture processor
US5684603A (en) Coding apparatus for bi-level images halftoned with error diffusion algorithm
JP3085932B2 (en) Apparatus for generating predicted image using mask and apparatus for compressing, transmitting and restoring binary image using the same
JP3320282B2 (en) Multi-value image processing device
JPH1155528A (en) Image coder
Deng et al. Low-bit-rate image coding using sketch image and JBIG

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20080914

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20080914

Year of fee payment: 7

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

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

Free format text: PAYMENT UNTIL: 20080914

Year of fee payment: 7

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20080914

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20090914

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20090914

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20100914

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20110914

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20120914

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20130914

Year of fee payment: 12

EXPY Cancellation because of completion of term