JPH01202069A - Compression system for binary document image data - Google Patents

Compression system for binary document image data

Info

Publication number
JPH01202069A
JPH01202069A JP63025786A JP2578688A JPH01202069A JP H01202069 A JPH01202069 A JP H01202069A JP 63025786 A JP63025786 A JP 63025786A JP 2578688 A JP2578688 A JP 2578688A JP H01202069 A JPH01202069 A JP H01202069A
Authority
JP
Japan
Prior art keywords
image data
document image
dots
scanning line
binary document
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.)
Pending
Application number
JP63025786A
Other languages
Japanese (ja)
Inventor
Hiroshi Uno
宇野 裕志
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 Corp
Original Assignee
NEC Corp
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 Corp filed Critical NEC Corp
Priority to JP63025786A priority Critical patent/JPH01202069A/en
Publication of JPH01202069A publication Critical patent/JPH01202069A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To highly efficiently compress image data obtained by compressing a binary image with 8 dots/mm horizontal scanning line density to (1/an integer) times and binary document image data with (1/an integer) times the 8 dots/mm horizontal scanning line density by providing a magnification multiplication part to the prestage of a modified Huffman coded table. CONSTITUTION:The magnification multiplication part 3 is provided to the prestage of the modified Huffman coded table part 4 and the compression system is constituted of a while run/black run detecting part 2, the magnification multiplication part 3, the modified Huffman coded table part 4, and an whole encoder control part 6. Consequently, image data obtained by compressing a binary image with 8 dots/mm horizontal scanning line density to (1/an integer) times and binary document image data with (1/an integer) times the 8 dots/mm horizontal scanning line density are highly accurately compressed.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は二値文書画像データの圧縮方式に関するもので
ある。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a compression method for binary document image data.

〔従来の技術〕[Conventional technology]

従来、この種の二値文書画像データの圧縮方式としては
、モディファイドハフマン方式がある。
Conventionally, as a compression method for this type of binary document image data, there is a modified Huffman method.

そして、この方式は、CCITTのファクシミリ用テス
トチャート8枚を水平方向8ドット/mm、垂直方向7
.7ドット/mmで、デジタル化したデータを対象に、
白黒ランレングスの統計をとり、各ランの発生確率に基
づいてハフマン符号を構成したものである。
This method uses 8 CCITT facsimile test charts at 8 dots/mm in the horizontal direction and 7 dots/mm in the vertical direction.
.. Targeting digitized data at 7 dots/mm,
A Huffman code is constructed based on the probability of occurrence of each run by taking statistics on black and white run lengths.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来の二値文書画像データの圧縮方式における
モディファイドハフマン方式では、特定の走査線密度の
二値文書画像に対し圧縮効率が最大になるようにランレ
ングス符号が構成されているため、異なった走査線密度
の二値文書画像データあるいは同じ走査線密度の画像デ
ータであっても縮小された二値文書画像データに対して
は、白ラン・黒うyの発生確率が、モディファイドハフ
マン方式で想定した白ラン・黒ランの発生確率と異なる
ため、圧縮効率が下がるという課題があった。
In the Modified Huffman method of the conventional binary document image data compression method described above, the run-length code is configured to maximize the compression efficiency for a binary document image with a specific scanning line density. For binary document image data with scanning line density or reduced binary document image data even with the same scanning line density, the probability of occurrence of white runs and black spots is estimated using the modified Huffman method. Since the probability of occurrence of white runs and black runs is different, there is a problem that compression efficiency decreases.

〔課題を解決するための手段〕[Means to solve the problem]

本発明の二値文書画像データの圧縮力・式は、モディフ
ァイドハフマン符号化テーブルの前段に倍率乗算部を有
し、水平方向走査線密度8ドツト/鴎の二値文書画像デ
ータの(1/整数)倍の縮小画像データおよび水平方向
走査線密度8ドツ) 、/ rmの(1/整数)倍の走
査線密度の二値文書画像データを高能率に圧縮する手段
を備えてなるものである。
The compression force/formula for binary document image data of the present invention has a magnification multiplier in the front stage of the modified Huffman encoding table, and has a horizontal scanning line density of 8 dots/(1/integer) of the binary document image data of seagull. ) times reduced image data and binary document image data with a horizontal scanning line density of 8 dots) and (1/integer) times the scanning line density of /rm.

〔作用〕[Effect]

本発明においては、モディファイドハフマン符号化テー
ブルの前段に倍率乗算部を設けることにより、水平方向
走査線密度8ドツト/fiの二値画像を(1/整数)倍
に縮小した画像データおよび水平走査方向8ドツト/謀
の(1/整数)倍の走査線密度の二値文書画像データに
対し、モディファイドハフマン符号化テーブルを利用し
て高能率に圧縮する。
In the present invention, by providing a magnification multiplication section before the modified Huffman encoding table, image data obtained by reducing a binary image with a horizontal scanning line density of 8 dots/fi to (1/integer) times and a horizontal scanning direction Binary document image data with a scanning line density of (1/integer) times 8 dots/plot is compressed with high efficiency using a modified Huffman encoding table.

〔実施例〕〔Example〕

以下、図面に基づき本発明の実施例を詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail based on the drawings.

図は本発明の一実施例を示すブロック図である。The figure is a block diagram showing one embodiment of the present invention.

図において、1は二値文書画像データ101を入力とす
る入力バッファ部、2はこの入力バッファ部1からの二
値文書イメージデータ102を入力とする白ラン・黒ラ
ン検出部、3はこの白ラン・黒ラン検出部2からの白ラ
ン・嬰ランデータ103を入力とし縮小された二値文書
画像あるいはモディファイドハフマン方式と異なった走
査線密度の二値文書画像の白ラン・黒ランの発生確率を
モディファイドハフマン方式の白ラン・黒ラン発生確率
に近づけるための倍率乗算部、4はこの倍率乗算部3か
らの白ラン・黒ラン被符号化データ104を入力とする
モディファイドハフマン符号化テーブル部、5はこのモ
ディファイドハフマン符号化テーブル部4からの白ラン
・黒ラン符号化データ105 &入力とする送信バッフ
ァ部、6はこれら各部を制御するエンコーダ全体制御部
で、これらはエンコーダ部7を構成している。なお、1
06は白ラン命黒ラン符号化データを示し、107はエ
ンコーダ全体制御信号を示す。
In the figure, 1 is an input buffer unit that receives binary document image data 101, 2 is a white run/black run detection unit that receives binary document image data 102 from input buffer unit 1, and 3 is a white run/black run detection unit that receives binary document image data 102 from input buffer unit 1. Occurrence probability of white run/black run in a binary document image reduced by inputting the white run/young run data 103 from the run/black run detection unit 2 or in a binary document image with a scanning line density different from the modified Huffman method 4 is a modified Huffman encoding table unit which inputs the white run/black run encoded data 104 from the magnification multiplication unit 3; Reference numeral 5 denotes a transmission buffer section for receiving the white run/black run encoded data 105 & input from the modified Huffman encoding table section 4, and 6 is an overall encoder control section that controls each of these sections, which constitute the encoder section 7. ing. In addition, 1
06 indicates the white run/black run encoded data, and 107 indicates the entire encoder control signal.

そして、モディファイドハフマン符号化テーブル部4の
前段に倍率乗算部3を有し、また、白ラン・黒ラン検出
部2と倍率乗算部3およびモディファイドハフマン符号
化テーブル部4ならびにエンコーダ全体制御部6は、水
平方向走査線密度8ドツト/瓢の二値文書画像データの
(1/整数)倍の縮小画像データおよび水平方向走査線
密度8ドツト/諺の(1/!I数)倍の走査線密度の二
値文書画像データを高能率に圧縮する手段を構成してい
る。
A magnification multiplication section 3 is provided before the modified Huffman encoding table section 4, and a white run/black run detection section 2, a magnification multiplication section 3, a modified Huffman encoding table section 4, and an overall encoder control section 6 are provided. , reduced image data with a horizontal scanning line density of 8 dots/(1/integer) times the binary document image data of gourd, and horizontal scanning line density of 8 dots/(1/!I number) times the proverbial scanning line density. This constitutes means for compressing binary document image data with high efficiency.

8はエンコーダ部7における送信バッファ5からの白ラ
ン・黒ラン符号化データ108を入力とする受信バッフ
ァ部、9はこの受信バッファ部8からの白ジン・黒ラン
被符号化データ109を入力とするそデイファイドハフ
マン復号化テーブル部、10はこのモディファイドハフ
マン復号化テーブル部9からの復号化二値文書画像デー
タ110を入力とする白ラン・黒ラン検出部、11はこ
の白ラン・黒ラン検出部10からの復元化二値文書画像
データ111を入力とする倍率補正部、12はこれら各
部を制御するデコーダ全体制御部で、これらはデコーダ
部13を構成している。なお、112ハ二値文書画像デ
ータを示し、113はデコーダ全体制御信号を示す。
Reference numeral 8 denotes a reception buffer section which inputs the white run/black run encoded data 108 from the transmission buffer 5 in the encoder section 7, and 9 receives the white run/black run encoded data 109 from the reception buffer section 8. There is a defined Huffman decoding table section, 10 is a white run/black run detection section which receives the decoded binary document image data 110 from the modified Huffman decoding table section 9, and 11 is a white run/black run detection section. A magnification correction section receives the restored binary document image data 111 from the detection section 10, and 12 is a decoder overall control section that controls each of these sections, and these constitute a decoder section 13. Note that 112 indicates binary document image data, and 113 indicates a decoder overall control signal.

つぎにこの図に示す実施例の動作を説明する。Next, the operation of the embodiment shown in this figure will be explained.

ここでは、被符号化画像データとして、水平方向8トリ
ト/■、垂直方向7.7ドット/mmでデジタル化した
データを縦、横それぞれ■倍縮小したものについて説明
する。
Here, as image data to be encoded, data digitized at 8 dots/mm in the horizontal direction and 7.7 dots/mm in the vertical direction, and reduced by a factor of 1 in both the vertical and horizontal directions will be described.

まず、エンコーダ部70入カバッファ部1に入力された
被符号化画像データである二値文書画像データ101は
、白ラン・黒ラン検出部2により白ラン・黒ランに分断
される。そして、倍率乗算部3では捧縮小された画像デ
ータの白ラン・黒ランの発生確率をモディファイドハフ
マン符号の白ラン・黒ランの発生確率に近づけるため、
白ラン・黒ランの長さをそれぞれ2倍し、白ラン・黒ラ
ン被符号化データ104とする。この白ラン・黒ラン被
符号化データ104はモディファイドハフマン符号化テ
ーブル部4にて符号化され、送信バッファ部5を経てデ
コーダ部13の受信バッファ部8へと送信される。ここ
で、エンコーダ全体制御部6は、エンコーダ内部の各機
能ブロックの全体制御を行う機能を有する。
First, binary document image data 101, which is image data to be encoded, input to the input buffer section 1 of the encoder section 70 is divided into white runs and black runs by the white run/black run detection section 2. Then, in the magnification multiplication unit 3, in order to bring the probability of occurrence of white runs and black runs in the reduced image data closer to the probability of occurrence of white runs and black runs in the modified Huffman code,
The lengths of the white run and black run are each doubled to obtain white run and black run encoded data 104. This white run/black run encoded data 104 is encoded in the modified Huffman encoding table unit 4 and transmitted to the reception buffer unit 8 of the decoder unit 13 via the transmission buffer unit 5. Here, the encoder overall control section 6 has a function of performing overall control of each functional block inside the encoder.

つぎに、デコーダ部13は、エンコーダ部Tにて符号化
された画像データを元の二値文書画像データ101に復
元する機能を有する。
Next, the decoder unit 13 has a function of restoring the image data encoded by the encoder unit T to the original binary document image data 101.

エンコーダ部7より送られてきた白ラン・黒ラン符号化
データ106 (10B)は、受信バッファ部8に一時
蓄えられ、デコーダ全体制御部12の指示に従い、モデ
ィファイドハフマン復号化テーブル部9に入力後復号化
され、復号化二値文書画像データ110となる。そして
、この復号化二値文書画像データ110は、白ラン・黒
ラン検出部10にて白ラン・黒ランに分断され、倍率補
正部11で凭倍することにより、二値文書画像データ1
12に復元される。
The white run/black run encoded data 106 (10B) sent from the encoder section 7 is temporarily stored in the reception buffer section 8, and after being input to the modified Huffman decoding table section 9 according to instructions from the decoder overall control section 12. It is decoded and becomes decoded binary document image data 110. Then, this decoded binary document image data 110 is divided into white runs and black runs by the white run/black run detection unit 10, and is multiplied by the magnification correction unit 11, so that the binary document image data 1
Restored to 12.

デコーダ全体制御部12はデコーダ部13内の各機能ブ
ロックの全体制御を行う機能を有する。
The decoder overall control section 12 has a function of performing overall control of each functional block within the decoder section 13.

なお、ここでは、W倍に縮小された文書画像データにつ
いて説明したが、本発明はこれに限定されるものではな
く、本方式は倍率乗算部3および倍率補正部110倍率
を変えることにょシ、整数倍に縮小された水平方向走査
線密度8ドツト/−の二値文書画像データに対しても適
用可能である。
Note that although the document image data reduced by a factor of W has been described here, the present invention is not limited to this, and the present method involves changing the magnification of the magnification multiplication section 3 and the magnification correction section 110. It is also applicable to binary document image data with a horizontal scanning line density of 8 dots/- that has been reduced by an integral number.

さらに、水平方向走査線密度8ドツト/閣の(k整数)
倍の走査線密度の二値文書画像データについても適用可
能である。
Furthermore, the horizontal scanning line density is 8 dots/k integer
It is also applicable to binary document image data with double the scanning line density.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、モディファイドハフマン
符号化テーブルの前段に倍率乗算部を設けることにより
、水平方向走査線密度8ドツト/鶴の二値画像を(1/
整数)倍に縮小した画像データおよび水平走査方向8ド
ット/mmの(1/整数)倍の走査線密度の二値文書画
像データに対し、モディファイドハフマン符号化テーブ
ルを利用して高能率に圧縮することができる効果がある
As explained above, the present invention provides a magnification multiplier before the modified Huffman encoding table to convert a binary image of a horizontal scanning line density of 8 dots/tsuru to (1/
A modified Huffman encoding table is used to highly efficiently compress image data that has been reduced to 1/integer) times the image data and binary document image data that has a scanning line density of 8 dots/mm in the horizontal scanning direction (1/integer) times. There is an effect that can be done.

【図面の簡単な説明】[Brief explanation of the drawing]

図は本発明の一実施例を示すブロック図である。 2・・・・白ラン・黒ラン検出部、3・・・・倍率乗算
部、4・・・・モディファイドハフマン符号化テーブル
部、6・・・・エンコーダ全体制御部。
The figure is a block diagram showing one embodiment of the present invention. 2... White run/black run detection section, 3... Magnification multiplication section, 4... Modified Huffman encoding table section, 6... Encoder overall control section.

Claims (1)

【特許請求の範囲】[Claims] 二値文書画像データの圧縮方式において、モディファイ
ドハフマン符号化テーブルの前段に倍率乗算部を有し、
水平方向走査線密度8ドット/mmの二値文書画像デー
タの(1/整数)倍の縮小画像データおよび水平方向走
査線密度8ドット/mmの(1/整数)倍の走査線密度
の二値文書画像データを高能率に圧縮する手段を備えて
なることを特徴とする二値文書画像データの圧縮方式。
In a compression method for binary document image data, a magnification multiplication unit is provided before the modified Huffman encoding table,
Reduced image data that is (1/integer) times the binary document image data with a horizontal scanning line density of 8 dots/mm and binary document image data that is (1/integer) times the horizontal scanning line density of 8 dots/mm. A compression method for binary document image data, characterized by comprising means for compressing document image data with high efficiency.
JP63025786A 1988-02-08 1988-02-08 Compression system for binary document image data Pending JPH01202069A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63025786A JPH01202069A (en) 1988-02-08 1988-02-08 Compression system for binary document image data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63025786A JPH01202069A (en) 1988-02-08 1988-02-08 Compression system for binary document image data

Publications (1)

Publication Number Publication Date
JPH01202069A true JPH01202069A (en) 1989-08-15

Family

ID=12175514

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63025786A Pending JPH01202069A (en) 1988-02-08 1988-02-08 Compression system for binary document image data

Country Status (1)

Country Link
JP (1) JPH01202069A (en)

Similar Documents

Publication Publication Date Title
US4679094A (en) Method for compression and transmission of video information
JPH08280020A (en) Digital video signal encoder
JPH08280021A (en) Run length coding method
JP3217507B2 (en) Image compression device
JP2003333347A (en) Method and apparatus for compressing binary image data, and apparatus and apparatus for compressing binary image data
JP2668900B2 (en) High efficiency coding device
JPH02170672A (en) Compressing and expanding system for binary document picture data
JPS6214578A (en) Code converting system for facsimile signal
KR900004962B1 (en) Image transmission system
JP2833362B2 (en) Image signal expansion device
JPS63280576A (en) Compression coding method
JPH03124182A (en) Cell abort compensation picture decoding system
JPS63214091A (en) Coding processing system
JP2907428B2 (en) Data converter
JPH01108861A (en) Picture coder
JP2002209209A (en) Image companding system
JP2696869B2 (en) Image coding device
JP2629239B2 (en) Decoding device and decoding method
JPH0322751B2 (en)
JPH0358572A (en) Data compressing system
JPS63108870A (en) Facsimile transmission system
JPH07162689A (en) Picture encoding device
JPS63260364A (en) Code converting method for facsimile picture signal
JPS5957578A (en) Data compressing system by extended one-dimensional code
JPS63117562A (en) Image data coding system