JPS6292583A - Data compressing circuit - Google Patents

Data compressing circuit

Info

Publication number
JPS6292583A
JPS6292583A JP23177885A JP23177885A JPS6292583A JP S6292583 A JPS6292583 A JP S6292583A JP 23177885 A JP23177885 A JP 23177885A JP 23177885 A JP23177885 A JP 23177885A JP S6292583 A JPS6292583 A JP S6292583A
Authority
JP
Japan
Prior art keywords
line
code word
white
encoding
immediately
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
JP23177885A
Other languages
Japanese (ja)
Inventor
Takao Oda
小田 隆男
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP23177885A priority Critical patent/JPS6292583A/en
Publication of JPS6292583A publication Critical patent/JPS6292583A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To increase the data compressing ratio and to fasten the transmitting speed by coding the blank line immediately after the line including the black picture element, with the short code word. CONSTITUTION:When an original is inserted into a reading part 1, the original size is detected, and based upon this, the corresponding code word is selected out of a memory part 32. The reading of the original is executed and by a detecting part 2 the blank line is detected which appears immediately after the line including the black picture element, a coding device 31 codes this by using the selected code word.

Description

【発明の詳細な説明】 〔概要〕 二次元符号化方式によって両信号を圧縮して送受信する
ファクシミリ装置に設けられるデータ圧縮回路であって
、黒画素を含むラインの直後に現れる白画素のみのライ
ン(以下、全白ラインと称する)を、水平モードによっ
て符号化することによって、伝送時間の短縮を図ったも
の。
[Detailed Description of the Invention] [Summary] A data compression circuit installed in a facsimile machine that transmits and receives signals by compressing both signals using a two-dimensional encoding method, in which a line containing only white pixels appears immediately after a line containing black pixels. (hereinafter referred to as an all-white line) is encoded in horizontal mode to reduce transmission time.

〔産業上の利用分野〕[Industrial application field]

本発明はファクシミリ装置に設けられるデータ圧縮回路
に関するものである。
The present invention relates to a data compression circuit provided in a facsimile machine.

ファクシミリ装置は、二次元的広がりのある画像を、た
とえば走査によって画索羊位に読み取って、電気信号に
変換して送受する装置であるが。
A facsimile machine is a device that scans a two-dimensional image, converts it into an electrical signal, and sends and receives the converted image.

通常の文書のように黒画素と白画素とによって構成され
る画像の場合には、走査によって得られる電気信号は黒
画素・白画素をそれぞれ”■” ・“0”とする2値信
号であり、その中には“1″あるいは”0”が連続して
生ずることが多い。
In the case of an image composed of black pixels and white pixels, such as a normal document, the electrical signal obtained by scanning is a binary signal with black pixels and white pixels as "■" and "0", respectively. , among which "1" or "0" often occur consecutively.

このように同一信号の連続をラン、その長さをランレン
グスと称するが、これを符号に置き換えれば、送受する
データ量を大幅に減少できる。
This series of identical signals is called a run, and its length is called a run length, but if this is replaced with a code, the amount of data to be sent and received can be significantly reduced.

このような考え方にもとづいて、ファクシミリ装置では
走査によって得た黒白の2値両信号を符号化によって圧
縮して送受している。
Based on this idea, a facsimile machine compresses both black and white binary signals obtained by scanning by encoding and transmits and receives the signals.

符号化方式については、1本のラインに注目して行う一
次元圧縮方式と複数本のラインに注目して行う二次元圧
縮方式とがあり、いずれにも現在ではCCITTの標準
の符号化方式や通信手順が用いられるようにてった。
There are two types of encoding methods: one-dimensional compression methods that focus on a single line, and two-dimensional compression methods that focus on multiple lines. Communication procedures were set to be used.

この際、ファクシミリ装置間の通信速度を更に向上する
ことが望まれている。
At this time, it is desired to further improve the communication speed between facsimile devices.

〔従来の技術〕[Conventional technology]

従来の二次元符号化方式たとえばCCITTによる標準
の二次元符号化方式は、原画像データの画素間の二次元
的関係から1表1に示すような9種類の符号化モードを
定め、それぞれの符号化モードに対し表記のような符号
語を割り当てるものである。
Conventional two-dimensional encoding method For example, the standard two-dimensional encoding method by CCITT defines nine types of encoding modes as shown in Table 1 based on the two-dimensional relationship between pixels of original image data, and each code is This method assigns code words such as the notation to each conversion mode.

表  】 符号化モード  符号語 バス(P )    0001 水平(H)    001+MI +M2  (*)垂
直(V (01’)   1 垂直(VRft))   011 垂直(VR(21)   000011垂直(Vl?(
31)   0000011垂直(vL+t))   
010 垂直(VL(2))   000010垂直(νL(3
))   0000010(注* M、お びM2は、
それぞれ白および黒の一次元MH符号語を示す) 〔発明が解決しようとする問題点〕 前記従来例によると、第3図に例示するように。
Table] Encoding mode Code word bus (P) 0001 Horizontal (H) 001+MI +M2 (*) Vertical (V (01') 1 Vertical (VRft)) 011 Vertical (VR (21) 000011 Vertical (Vl?()
31) 0000011 vertical (vL+t))
010 Vertical (VL(2)) 000010 Vertical (νL(3)
)) 0000010 (Note* M, and M2 are
[Problems to be Solved by the Invention] According to the conventional example, as illustrated in FIG. 3.

符号化ラインが全白ラインで直前のライン(参照ライン
)が全白ラインでない場合には、符号化ラインの符号化
モードは多数のパスモードPが連続したあと最後だけが
垂直モード■(0)になる。
If the encoded line is an all-white line and the previous line (reference line) is not an all-white line, the encoding mode of the encoded line is vertical mode after many successive pass modes P (0). become.

表記のように、パスモードPの符号語は“0001”で
4ビツト、また垂直モードV(0)の符号語は“1nで
1ビツトであるから、たとえばパスモードが20回続く
と、そのラインの符号語のビット長は。
As shown in the notation, the code word for pass mode P is ``0001'', which is 4 bits, and the code word for vertical mode V(0) is ``1n,'' which is 1 bit. Therefore, for example, if the pass mode continues 20 times, that line The bit length of the codeword is .

4 X20+ 1 =81 となり、参照ラインにおける白画素から黒画素または黒
画素から白画素の変化点の数に応じて、その直後の全白
ラインの符号語のビット長が増加するという問題点があ
る。
4 X20+ 1 = 81, and there is a problem that the bit length of the code word of the immediately following all-white line increases depending on the number of points of change from white pixels to black pixels or from black pixels to white pixels in the reference line. .

したがって1本発明はデータ圧縮率を従来例以上に高め
、伝送時間を短縮することを目的とするものである。
Therefore, one object of the present invention is to increase the data compression rate more than the conventional example and shorten the transmission time.

〔問題点を解決するための手段〕[Means for solving problems]

第1図は本発明の原理図であり。 FIG. 1 is a diagram showing the principle of the present invention.

1は、用紙上に書かれている黒白画像を画素単位に走査
によって読み取る#、k @り部。
Reference numeral 1 denotes a #, k @ri unit that reads a black and white image written on paper by scanning it pixel by pixel.

2は、読取り部1によって得られた2値両信号から、黒
画素を含むラインの直後に現れる全白ラインを検出する
検出部。
Reference numeral 2 denotes a detection unit that detects an all-white line that appears immediately after a line containing black pixels from the binary signals obtained by the reading unit 1.

3は、検出部2によって検出された全白ラインを、水平
モードによって符号化する第一の符号化部。
3 is a first encoding unit that encodes the all-white line detected by the detection unit 2 in a horizontal mode.

4は、検出部2によって検出された全白ラインを除く他
のラインを標準の符号化方式によって符号化する第二の
符号化部。
A second encoding unit 4 encodes lines other than the all-white line detected by the detection unit 2 using a standard encoding method.

5は、第一の符号化部3によって符号化された両信号と
、第二の符号化部4によって符号化された両信号とを、
ラインの順に選択して出力する選択回路(MPX)であ
る。
5, both signals encoded by the first encoding section 3 and both signals encoded by the second encoding section 4,
This is a selection circuit (MPX) that selects and outputs lines in order.

〔作用〕[Effect]

すなわち、黒画素を含むラインの直後に現れる全白ライ
ンは全て水平モードによって符号化し。
That is, all white lines that appear immediately after lines containing black pixels are encoded in horizontal mode.

これを除く他のラインは、従来例と同様に標準の符号化
方式によって符号化するものである。
Other lines except this one are encoded using the standard encoding method as in the conventional example.

たとえば、短辺を主走査方向としてΔ4サイズの原稿を
8画素/mmの主走査線密度で読み取る場合。
For example, when reading a Δ4 size document with the short side in the main scanning direction at a main scanning line density of 8 pixels/mm.

全白ラインのランレングスは1728である。一方。The run length of the all-white line is 1728. on the other hand.

水平モードの符号語は “001 +Ml +M2 ” で表され、M+はランレングスが1728の白ラン用符
号語“010011011’とランレングスが0の白ラ
ン用符号語″001.101.01”との和であり、M
2はランレングスが0の黒ラン用符号語“0OOO11
0111”であるから、全部で30ビツト長で表される
The horizontal mode code word is expressed as “001 +Ml +M2”, where M+ is the combination of the white run code word “010011011” with a run length of 1728 and the white run code word “001.101.01” with a run length of 0. sum, M
2 is the code word for black run with run length 0 “0OOO11
0111'', it is represented by a total length of 30 bits.

すなわち、前記のように20(11i1のバスモードを
含むラインの場合における81ビツトに比べて、非常に
短い符号で表すことができ、したがって、1ペ一ジ全体
ではデータ圧縮率を非常に高め1内偵号の送信速度を大
幅に向上することができる。
In other words, compared to the 81 bits in the case of a line including the 20 (11i1) bus mode as described above, it can be represented by a much shorter code, and therefore the data compression rate for one page as a whole can be greatly increased. The transmission speed of internal reconnaissance signals can be greatly improved.

〔実施例〕〔Example〕

第2図は実施例の構成図であり。 FIG. 2 is a configuration diagram of the embodiment.

検出部2は、読取り部1によって得られる2値両信号を
調べて、当該ラインが全白ラインであるか否かを識別す
る識別部21.  当該ラインの直前のラインが前白ラ
インであったか否かを記憶しておく識別記憶部22.お
よび識別部21の識別結果と識別記憶部22の記憶内容
とから、当該ラインが黒画素を含むラインの直後に現れ
る全白ラインであるか否かを判別する判別部23から構
成している。
The detection unit 2 examines the binary signals obtained by the reading unit 1 and identifies whether the line in question is an all-white line or not. Identification storage unit 22 that stores whether the line immediately before the line is the front white line. and a discriminating section 23 that discriminates from the discriminating result of the discriminating section 21 and the storage contents of the discriminating storage section 22 whether or not the line in question is an all-white line that appears immediately after a line containing black pixels.

また第一の符号化部3は、符号器31.および全白ライ
ンを水平モードによって符号化した場合の全体の符号語
を、原稿のサイズによって決まるランレングス毎に予め
記憶しておく符号語記憶部32とから構成している。
Further, the first encoding unit 3 includes an encoder 31. and a code word storage section 32 that stores in advance the entire code word when an all-white line is encoded in the horizontal mode for each run length determined by the size of the document.

すなわち、原稿を読取り部1に挿入すると、読取り部1
に設けられる図示省略の検知器によって原稿サイズが検
知され、これに基づいて1図示省略の制御部は原稿サイ
ズに対応する符号語を符号語記憶部32の中から選択す
る。
That is, when a document is inserted into the reading section 1, the reading section 1
The document size is detected by a detector (not shown) provided in the document, and based on this, a control section (not shown) selects a code word corresponding to the document size from the code word storage section 32 .

原稿の読取りがおこなわれ、検出部2によって黒画素を
含むラインの直後に現れる全白ラインが検出されると、
符号器31は、これを制御部によって選択された符号語
を使用して符号化する。
When a document is read and the detection unit 2 detects a completely white line that appears immediately after a line containing black pixels,
The encoder 31 encodes this using the code word selected by the control unit.

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

以上説明したように2本発明によれば、黒画素を含むラ
インの直後に現れる全白ラインを従来例より短い符号語
によって符号化するので、データ圧縮率を畠めデータ伝
送速度を大幅に向上することができる。
As explained above, according to the present invention, an all-white line that appears immediately after a line containing black pixels is encoded with a code word shorter than that of the conventional example, thereby increasing the data compression rate and significantly improving the data transmission speed. can do.

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

第1図は本発明の原理図。 第2図は実施例の構成図。 第3図は従来例の説明図である。 図中。 1は読取り部、     2は検出部。 3は第一・の符号化部、  4は第二の符号化部。 原理図 第1図 第3図 FIG. 1 is a diagram showing the principle of the present invention. FIG. 2 is a configuration diagram of the embodiment. FIG. 3 is an explanatory diagram of a conventional example. In the figure. 1 is the reading section, 2 is the detection section. 3 is the first encoding unit, and 4 is the second encoding unit. Principle diagram Figure 1 Figure 3

Claims (1)

【特許請求の範囲】 走査によって得られる画素単位の2値両信号を二次元符
号化方式による符号化モードと符号語とを使用して圧縮
するデータ圧縮回路において、黒画素を含むラインの直
後に現れる白画素のみのラインを検出する検出部(2)
と、 前記検出されたラインを水平モードによって符号化する
符号化部(3)とを設けたことを特徴とするデータ圧縮
回路。
[Claims] In a data compression circuit that compresses a pixel-by-pixel binary signal obtained by scanning using a two-dimensional encoding mode and a code word, immediately after a line containing a black pixel, Detection unit (2) that detects lines with only white pixels appearing
and an encoding unit (3) that encodes the detected line in a horizontal mode.
JP23177885A 1985-10-17 1985-10-17 Data compressing circuit Pending JPS6292583A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23177885A JPS6292583A (en) 1985-10-17 1985-10-17 Data compressing circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23177885A JPS6292583A (en) 1985-10-17 1985-10-17 Data compressing circuit

Publications (1)

Publication Number Publication Date
JPS6292583A true JPS6292583A (en) 1987-04-28

Family

ID=16928884

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23177885A Pending JPS6292583A (en) 1985-10-17 1985-10-17 Data compressing circuit

Country Status (1)

Country Link
JP (1) JPS6292583A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0370823A2 (en) * 1988-11-24 1990-05-30 Canon Kabushiki Kaisha Method and apparatus for encoding images

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6097777A (en) * 1983-11-01 1985-05-31 Nec Corp Facsimile equipment

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6097777A (en) * 1983-11-01 1985-05-31 Nec Corp Facsimile equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0370823A2 (en) * 1988-11-24 1990-05-30 Canon Kabushiki Kaisha Method and apparatus for encoding images

Similar Documents

Publication Publication Date Title
US4682215A (en) Coding system for image processing apparatus
US4796092A (en) Image processing with compression encoding
US4543612A (en) Facsimile system
US6301018B1 (en) Communication apparatus that combines plural images into one page for transmission
EP0469716B1 (en) Image processing apparatus
JPS6292583A (en) Data compressing circuit
JPH041552B2 (en)
JPS6382062A (en) Facsimile coding system
JPS61186074A (en) Coding processing system
JPS61105172A (en) Line skip type facsimile equipment
JPS6243260A (en) Facsimile equipment
JPH0884229A (en) Image forming device
JPH06245084A (en) Processor for picture data
JPS58136172A (en) Facsimile code transmission method
JPS61232776A (en) Encoding circuit
JPH06101793B2 (en) Data encoder
JPS61251276A (en) Picture data encoding system
JPH03210823A (en) Coding/decoding method
JPS61128678A (en) Image information processing system
JPS63242063A (en) Picture information two-dimension coding system
JPS61208328A (en) Transmitting device for binary and multi-value mixed data
JPH02134980A (en) Device for thinning stored facsimile code
JPS63131779A (en) Facsimile encoding and decoding device
JPS63108870A (en) Facsimile transmission system
JPS58138178A (en) Picture signal encoding system