JPS61105174A - Facsimile equipment - Google Patents

Facsimile equipment

Info

Publication number
JPS61105174A
JPS61105174A JP22255885A JP22255885A JPS61105174A JP S61105174 A JPS61105174 A JP S61105174A JP 22255885 A JP22255885 A JP 22255885A JP 22255885 A JP22255885 A JP 22255885A JP S61105174 A JPS61105174 A JP S61105174A
Authority
JP
Japan
Prior art keywords
signal
run
line
code
black
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
JP22255885A
Other languages
Japanese (ja)
Inventor
Asao Watanabe
渡辺 朝雄
Sadasuke Kurabayashi
倉林 定助
Shin Tsuda
津田 伸
Ryo Muto
武藤 量
Yuzo Kato
雄三 加藤
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP22255885A priority Critical patent/JPS61105174A/en
Publication of JPS61105174A publication Critical patent/JPS61105174A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To obtain a facsimile unit which can efficiently read and encode by using a program control means such as microprocessor for compressing coding and controlling a reading part. CONSTITUTION:When a reading starting signal 18-a is sent out from an AND gate 18, reading part starts reading one line and sends binary picture signal 9-b to line buffer 10 in synchronism with a writing clock 9-a from reading part 9. An F/F-13 becomes OFF when the one line reading operation is started, and when the reading operation is completed, i.e. when all information of one line of 2048 bits is written in the line buffer 10, it becomes ON. A controller 21 controls the sequence of the entire facsimile equipment and also makes signal conversion for the binary picture signals stored in the line buffer 10.

Description

【発明の詳細な説明】 本発明は、送信するための原稿(以下、送信原(以下、
2値画像信号という)の持つ冗長度を除去し、帯域圧縮
した信号を伝送するファクンミIJ装#に関するもので
ある。手 一般に、ガクシミ’)装置は画像伝送用機器として提供
されているが、その利用状況をみると、文書−伝票等に
記載されている文字、記号等(以下、文字と言う)を伝
送するために利用しCいる溝が多い。このような場合は
、画像そのものを伝送するというより、文字記号等の情
報を伝送していると宵える。例えば、太字の°A”も細
字のA”も共に1A1を表わすものであるから、このよ
う彦文字を伝送する場合、受信側に畦文字の意味が伝わ
れば良い。一般に、送信原稿か゛ら得られた2値両像信
号には前記a竿、太字を表わす線幅信号が含゛!れでい
るから、前記線幅信号を伝送するだめの時間が必要とk
る。従って、前記!s@信号を削除すればMA前記二値
画像信号の伝送時間を短縮する番が出来る。よって、前
記文書、伝票等の如く文字清報が主体となっている原稿
を送信する場合は、送信原稿から得られた2値11ii
像信号を、時間をかけて忠実に伝送するよりも、文字情
報の各部分の位置と、その長ざに関する清報のみを送信
する事によって、前記文字情報の意味を迅速に伝送する
方が得策と言える。(@記各線分の位置とその長さが前
1e文字情報を決定し、前記文字情報に任意の幅を附加
する事によって太字にする墨も細字にする事も可能とな
る)。そして、受信−において前記削除された線幅信号
と大略等しい信号を所定の位置に挿入する墨てよって送
信原稿を大略同一な受信画イ象を得る事が出来る。本発
明のファクシミリ装置は、このような点1こ看目したも
ので、前記送信原稿の走査によって得られた2イ一°I
I!lI像信号から、−fず、前記文字情報における前
記線幅信号の一部若しくは全部(後述の黒ランA)を削
除する。次に、従来用いられている圧阿処理(例えば後
述するWy l e  の符号化コードによる1学兄う
ンレングス符号化処珂)を行なう。従って、従来よゆ圧
縮効果が高いので前記2皺画像1g号の伝送時間が更に
短縮される。次に1前記伝送信号を受信側で受信した時
、該受信側において、m16ti削除された線幅信号の
位置に任意の幅を有する線幅信号を附加し、受信画像を
作成するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention provides a document for transmission (hereinafter referred to as a transmission source).
The present invention relates to a Fakunmi IJ system that removes the redundancy of a binary image signal and transmits a band-compressed signal. In general, gakushimi') devices are provided as image transmission equipment, but looking at their usage, they are used to transmit characters, symbols, etc. (hereinafter referred to as characters) written on documents, slips, etc. There are many grooves that are used for C. In such a case, it seems that information such as characters and symbols is being transmitted rather than the image itself. For example, both the bold ``A'' and the thin ``A'' represent 1A1, so when transmitting the ``hiko'' character, it is only necessary to convey the meaning of the ``hiko'' character to the receiving side. Generally, the binary double-image signal obtained from the transmitted original includes the line width signal representing the a-line and bold text. Therefore, sufficient time is required to transmit the line width signal.
Ru. Therefore, the above! If the s@ signal is deleted, the transmission time of the MA binary image signal can be shortened. Therefore, when transmitting a manuscript that mainly consists of text information such as the above-mentioned documents and slips, the binary 11ii obtained from the transmitted manuscript
Rather than faithfully transmitting image signals over time, it is better to quickly transmit the meaning of the text information by sending only brief information about the location and length of each part of the text information. I can say that. (The position and length of each line segment determines the character information in the previous 1e, and by adding an arbitrary width to the character information, it is possible to make bold ink or thin ink.) Then, in reception, by inserting a signal approximately equal to the deleted line width signal at a predetermined position, it is possible to obtain approximately the same received image of the transmitted original. The facsimile machine of the present invention is designed to take into account the above point 1, and the facsimile machine of the present invention is designed to take into account the 2 points obtained by scanning the transmission document.
I! From the II image signal, -f, part or all of the line width signal (black run A to be described later) in the character information is deleted. Next, a conventionally used compression process (for example, a one-length encoding process using a Wyle encoding code, which will be described later) is performed. Therefore, since the compression effect is higher than that of the conventional method, the transmission time of the two-fold image No. 1g is further shortened. Next, when the transmission signal 1 is received at the receiving side, a line width signal having an arbitrary width is added to the position of the line width signal from which m16ti has been deleted, and a received image is created.

以下、図面に従って本発明の説明を行なう。The present invention will be explained below with reference to the drawings.

@1図fal #′i、本発明の7アク7ミリ装置にお
・叶る送信1!横の走査方法、・萬1図ら)〜(J)は
、前4e走査によって得られた2値画像信号の圧縮方法
等−・Cついて II!Iを追って1己叙した。もので
ある。
@1 figure fal #'i, Transmission 1 that can be applied to the 7mm device of the present invention! Horizontal scanning method, ・Yan 1 figure et al.) ~ (J), compression method of binary image signal obtained by previous 4e scanning, etc. II! Following I, I wrote a self-description. It is something.

第1[i!!1falに示した1は、文字を主体とした
送窟原稿の1例であり、2は走査@群を示す。
1st [i! ! 1 shown in 1fal is an example of a cave manuscript mainly consisting of characters, and 2 indicates a scan @ group.

前記走査線群2を構成する走査線2−+、2−2.2−
3の走査は、先ず走査@2−IK沿って左端から右端へ
走査し、次に走査線2−2に沿って左端から右端へ走査
する。更に、走査J12−5、それに続く走査線(不図
示)についても前述と同様にして走査するものである′
、第1図tblの2値画像信号は、前記走査#i!2−
1tC119って走査した場合の信号を表わし、黒地の
部分1−11等の信号を黒レベル3で、白地、の部分1
−2の信号を白レベル6で表わしたものである。
Scanning lines 2-+, 2-2.2- constituting the scanning line group 2
3, first scans from the left end to the right end along the scan @2-IK, and then scans from the left end to the right end along the scan line 2-2. Furthermore, scan J12-5 and subsequent scan lines (not shown) are also scanned in the same manner as described above.
, the binary image signal of FIG. 1 tbl is the scan #i! 2-
1tC119 represents the signal when scanning, and the signal of the black background part 1-11 etc. is set to black level 3, and the white background part 1
-2 signal is expressed with a white level of 6.

先ず、走査線2−1に沿って左端から走査を開始すると
、文字Aの部分では黒レベル3に属する黒ラン5a、3
a’が得られ、以下開部にして文字Bで?ラン3bが、
文字Cで黒ラン3Cが文字りで黒ラン3d、3d’が、
文字Eで蝉ラン3eが文字P゛で黒ランSfが、文字G
で勇ラン5gが、文字Hで黒ラン5h、5Wがそれぞれ
得られる。前記書黒う/の;司には白VペルVC、%す
る白ランが存在し、これらを注から白ランd−1,4−
2、・・・・・・ルー12とする。前記熱ラン5a〜s
kI、日ラン4−1〜4−12ンCち・ける各々7)情
報量(ビットタび略号は表1の遡りである。
First, when scanning starts from the left end along the scanning line 2-1, the black runs 5a, 3 belonging to the black level 3 are found in the portion of the letter A.
A' is obtained, and the following is an opening and the letter B? Run 3b is
The black run 3C in the letter C is the black run 3d, 3d' in the letter C,
The cicada run 3e is the letter E, the black run Sf is the letter P'', and the letter G
If you use the letter H, you will get a brave run of 5g, and if you use the letter H, you will get a black run of 5h and 5W. In the above-mentioned book, there are white V per VC, % white run, and from the note, white run d-1, 4-
2,......Rule 12. Said heat run 5a-s
kI, day run 4-1 to 4-12, each 7) information amount (bits and symbols are from Table 1).

表1 従って、前記情報の全情報量は、黒ランのビットと白ラ
ンのビットとの総和であるから、全部で140ビツトと
なる。第1 @ telは、表1に示した略号〔黒ラン
をBで表わし、白ランをWで表わした。前記B又はWの
後に記されている数字は、情報量(ビット)を示す。従
って前記2値画像信号を視覚的(分かり易く表現己てい
る〕を、第1図(′b)に示した走査経過(左から右へ
)K従って配列したものである。
Table 1 Therefore, since the total amount of information is the sum of the black run bits and the white run bits, it is 140 bits in total. The first @ tel is the abbreviation shown in Table 1 [black run is represented by B, white run is represented by W. The number written after B or W indicates the amount of information (bits). Accordingly, the binary image signals are visually arranged according to the scanning sequence (from left to right) shown in FIG. 1('b).

第1図+aは、第1図(C)り示した前記略号に基いて
前記圧縮処理(Weleの符号化コードによる1次元ラ
ンレングス符号化処理)を行った伝送符号である。ここ
で、1次元ランレングス符号化処理とは、前記2値画像
信号における前記黒ラン及び白ランの連続する長さく以
下ラン長と言う)を、2進級で符号化して表わすことに
よし、全ビット数を減少させる帯域圧縮方法であり、W
yleの符号化コードとは、第2図に示した方法による
前記2値画像信号の符号化を言う。(符号化の方法とし
ては、この他VcHu f fman附号、Golor
nb  符号等が提案されているが、ここでは割愛する
。)第1図1dlの左上端に記載した+10110は第
1図(elの左上端に記載したWt5と対応し、第1図
(dlの前記1j0110に続く010は第1図tel
の前記W15に続(Bxと対応する。そして、以下同様
にして対応するものである。従って、第1図1dlの符
号+ 10110.010、・・・・・・は第1図1d
lの略号W15、B3、・・・・・・をそれぞれ符号化
したものである。ここで、前記Wyleの符号化コード
について説明する。第2図に示したWyleの符号化コ
ードにおいて、符号化コードはアドレス(符号長とバイ
アスを決定するコード)の次に、リマイ;゛ダ(ラン長
を決定するコード)を附加したものである。例えば、前
記黒ラン5a(略号B3)は3ビツトであるから、これ
を符号化するKは「白又は黒のラン長」の欄における「
3」の右側を見ればよく、アドレスが「0」、リマイン
ダが[+oJであるからl”otoJとなる。同様にし
て10ピツトを符号化するとi+oo’01.15ビツ
ト(例えば前記略号W15)yk符号化すると1101
10(第2図では省略している)となる。このようKし
て第1図telの略号(2値画偉信号)は第1図1dl
の伝送符号に変換することができる。(本発明において
言う「Wyleの符号化コード」は、「白又は黒のラン
長」の1025〜1152、Ma r g i nの部
分で、「アドレス」の右端にそれぞれ「O」を1つずつ
加えて10ビツトと成している)Wyleの符号化コー
ドによって変換てれた前記伝送符号の情報量はO又は1
が幾つあるかという事になる。従って、@1図1dlK
おける全情報量は91ビツトとなり、@1図1cJの1
40ビツトと比較すると圧縮されている事が分かる。−
膜圧圧縮率は、1ライン分の全ピット数÷圧縮処理後の
全ビット数で表わされるから、前記圧縮率は140÷9
1=154となる。
FIG. 1+a is a transmission code that has been subjected to the compression process (one-dimensional run-length encoding process using Wele's encoding code) based on the abbreviations shown in FIG. 1(C). Here, the one-dimensional run-length encoding process means that the continuous length of the black run and white run in the binary image signal (hereinafter referred to as run length) is encoded and expressed in a binary scale. It is a band compression method that reduces the number of bits, and W
The yle encoding code refers to encoding of the binary image signal by the method shown in FIG. (Other encoding methods include VcHu fman, Golor
Although nb codes and the like have been proposed, they are omitted here. ) The +10110 written at the upper left corner of FIG. 1 1dl corresponds to Wt5 written at the upper left corner of FIG.
Continuing from W15 (corresponds to Bx), and the following corresponds in the same way.Therefore, the code +10110.010 of 1dl in FIG. 1 is 1d in FIG.
The abbreviations W15, B3, . . . of l are encoded, respectively. Here, the Wyle encoding code will be explained. In Wyle's encoding code shown in Figure 2, the encoding code is an address (a code that determines the code length and bias) followed by a remitter (a code that determines the run length). . For example, since the black run 5a (abbreviation B3) is 3 bits, the K used to encode it is the "white or black run length" column.
If you look at the right side of "3", the address is "0" and the reminder is [+oJ, so it becomes l"otoJ. Similarly, if you encode 10 pits, you will get i+oo'01.15 bits (for example, the above abbreviation W15) yk When encoded, it becomes 1101
10 (omitted in FIG. 2). In this way, the abbreviation of tel (binary image signal) in Figure 1 is 1dl in Figure 1.
transmission code. (The "Wyle encoding code" referred to in the present invention is the "white or black run length" 1025 to 1152, the Margin part, and one "O" at the right end of the "address". In addition, the amount of information of the transmission code converted by the Wyle encoding code is O or 1.
The question is how many there are. Therefore, @1 figure 1 dlK
The total amount of information in @1 is 91 bits, which is 1 in Figure 1cJ.
If you compare it with 40 bits, you can see that it is compressed. −
The film pressure compression ratio is expressed as the total number of pits for one line divided by the total number of bits after compression processing, so the compression ratio is 140÷9.
1=154.

なお@1図は)の伝送符号(おいて、先頭ブロック(左
上に示し九110j10)は常く白ランと見なし、かつ
、白ランと黒ランは交互に表わされるので、前記伝送符
号には白ランと黒ランを識別するための識別信号を必要
としない。従って、第1図(山の伝送符号を電気信号に
変えて伝送すれば、受信側において、まず第1図1cl
の各コードが白ラン又は黒う/の何ビットから成ってい
るかについて判別し〔第1図1cl ) 、次〈前記判
別によって2値画儂信号を作り〔@1図5》〕、そして
前記2値画像信号に基ずいて再生画情〔@1図1a3に
等しい二を得るものである。
In addition, the first block (9110j10 shown in the upper left) is always regarded as a white run, and the white run and black run are alternately represented, so the transmission code has a white There is no need for an identification signal to distinguish between runs and black runs.Therefore, if the transmission code shown in Figure 1 (mountain) is changed to an electrical signal and transmitted, the receiving side will first see Figure 1 1cl.
It is determined how many bits of white run or black / each code consists of (Figure 1, 1cl), and then a binary image signal is created by the above determination [@1, Figure 5], and the above 2 Based on the value image signal, the reproduced image information [@1, which is equal to 2 in FIG. 1a3, is obtained.

ここで、第1図(句の略号(2値ij偉信号)を第1図
1clの伝送符号に変換することを便宜上信号変換人と
呼ぶことにする。(これは、従来の符号変換に属する)
Here, for convenience, we will call the conversion of the phrase abbreviation (binary ij signal) in Figure 1 to the transmission code of Figure 1 1cl. (This belongs to the conventional code conversion. )
.

@1図(alの文字は、はぼ一定の幅を有する線分の組
合わせKよって成るものであるから、前記黒ランのビッ
トは前記線分の方向(傾き)Kよって変化する。従って
、前記黒ランは、縦(図の上下)又は斜め方向を向いた
部分を表わすため比較的短い黒ランから成る信号(黒ラ
ンAとする)と、横方向(図の左右)を向いた線分を表
わすため比較的長い黒ランから成る信号(黒ランBとす
る)の2通りに分ける事ができる。
@Figure 1 (The character "al" is made up of a combination K of line segments having a constant width, so the bit of the black run changes depending on the direction (inclination) K of the line segment. Therefore, The black runs include a signal consisting of a relatively short black run (referred to as black run A) to represent a part facing vertically (up and down in the figure) or diagonally, and a line segment facing in the horizontal direction (left and right in the figure). can be divided into two types: a signal consisting of a relatively long black run (referred to as black run B).

前記黒ランAと黒ランBとの曾値K>いて、上の@(M
AX)を9ビツト、下の 値(MIN)を5ビツトとし
、黒ランAを9ビツト未満3ビット以上の範囲にある黒
ラン、黒ランBは前記以外の黒ラン(3ビツト未満又は
9ビツト以上)とすれば、第1図1cl Kおける略号
BS、BAは黒ランA略号B9は黒ランBとな石。
The value K of the black run A and the black run B>, and the above @(M
AX) is 9 bits, the lower value (MIN) is 5 bits, black run A is a black run in the range of less than 9 bits and 3 bits or more, and black run B is a black run other than the above (less than 3 bits or 9 bits). above), then the abbreviations in Figure 1 1cl K are BS, BA is black run A, abbreviation B9 is black run B, and so on.

@1図(−は、第1図1clの全情報(黒ランと白ラン
から成る)から黒ランAの情報だけを除去したものであ
ゆ、連続する白ラン(例えばW15とW2)が存在して
いた事になる。
@Figure 1 (- indicates that only the information on black run A is removed from all the information in Figure 1 1cl (consisting of black runs and white runs), and there are consecutive white runs (for example, W15 and W2). It turns out that it was.

@1図げ)は、@1図telの略号を前記Wyleの符
号化コードに従って符号化し、更に1各コードの最初に
白ランを表わす0又は黒ランBを表わす1の識別ビット
(*印を附した0又は1)を附加した伝送符号である。
@1 figure) encodes the abbreviation of @1 figure tel according to Wyle's encoding code, and furthermore, 1 At the beginning of each code, an identification bit of 0 representing a white run or 1 representing a black run B (marked with *) is encoded. It is a transmission code to which a 0 or 1) is added.

前記識別ビットは、黒ランにのみを選択的に除去した事
により、白ランと黒ランBとを識別する必要が生じたた
めに符加されたものである。従って、第1図if) K
おける伝送符号の情報量は、前記識別ビットを加えて7
4ビツトとなる。次(、第1図げ)の伝送符号を電気信
号〈変えて伝送し、受信側で受信する。前記受信した信
号によって、まず、前記識別ビットの付された符号ブロ
ック(例えばff110+10)が白ランのラン長を表
わしているのか黒ランBのラン長を表わしているのかを
区別する。
The identification bit was added because it became necessary to distinguish between the white run and the black run B by selectively removing only the black run. Therefore, Fig. 1 if) K
The amount of information of the transmission code in
It becomes 4 bits. The next transmission code (see Figure 1) is changed into an electrical signal, transmitted, and received by the receiving side. Based on the received signal, it is first determined whether the code block to which the identification bit is attached (for example, ff110+10) represents the run length of the white run or the run length of the black run B.

次に、前記符号を復号して各ランのラン長を決定する〔
第1図(0から@1図+e+へ〕と共に1白ランが2個
連続し九場合、前記連続した白ランの間に黒ランに(受
信側で任意に挿入する黒ランで、前記黒ランNの代りと
なる。ここでは3ビツトとする)を挿入〔第1図1cl
から第1図すへ〕する。前記挿入される黒ランには予め
適当なラン長に定めたもの(受信記録画像における線分
の幅に対応し、一般的な原稿の線幅から考えて約15f
iと設定する)であゆ、伝送前の黒ランAの部分が受信
側で黒うyNになる。具体的に述べると、第1図(句と
lclの2値画像信号における黒ラン入は、伝送前にお
いて3 a = 5 c = 3 d = S d’ 
= 3 f = 5 g = 5h=sh′=Bs、5
pl=se=Bao関係〔第1図1d ) [あったが
、受信側で黒ランに(=B S )に置き替えられるた
め、Sa=3g’=5c=Sd=5d’=36=5f=
Sg=3b=5W=85に統一されて第1図(φの如き
略号に変換される。従って、第1図げ)の伝送符号を電
気信号に変えて伝送すれば、受信側において、まず第1
図(0の各コードが白ラン又は黒ランBの何ビットから
成っているかくついて判別し〔第1図1e)〕、次に1
前記判別し九信号における連続し九白ランの中間に前記
黒ランNを挿入しく第1図り〕、これから2値画儂信号
を作り〔@1図開缶K大略等しい〕、そして前記2値画
像信号に基いて再生画f象〔第1図1alに大略等しい
〕を得る鳴のである。ここで、第1図1clの略号(2
@画像信号)を第1図彬)の略号に変えると共に:、t
41図(flの伝送符号に変換する事を、便宜上信号変
換Bと呼ぶことくする。(これは、   ′本発明に採
用した符号変換に属する)、前記信号変換Bは、黒ラン
Aのビットを単(揃えただけであるから、受信側で再生
した2値画像信号は黒ランにの選び方によって前記走査
方向(左右)K短縮又は伸長を生じる。
Next, the code is decoded to determine the run length of each run [
Figure 1 (from 0 to Figure 1 + e+) and 9 consecutive 1 white runs, a black run between the consecutive white runs (a black run inserted arbitrarily on the receiving side, the black run Insert (replaces N.Here it is 3 bits) [Figure 1 1cl
to Figure 1]. The black run to be inserted has an appropriate run length determined in advance (corresponding to the width of the line segment in the received recorded image, and considering the line width of a typical original, approximately 15 f).
i), the black run A before transmission becomes black yN on the receiving side. Specifically, in Figure 1 (black run in the binary image signal of phrase and lcl is 3 a = 5 c = 3 d = S d' before transmission)
= 3 f = 5 g = 5h=sh'=Bs, 5
pl=se=Bao relationship [Figure 1 1d] [However, since it is replaced by black run (=B S ) on the receiving side, Sa=3g'=5c=Sd=5d'=36=5f=
If Sg = 3b = 5W = 85 and the transmission code shown in Figure 1 (converted to an abbreviation such as φ. Therefore, Figure 1) is changed to an electrical signal and transmitted, the receiving side will first receive the 1
Figure 1 (determine how many bits of white run or black run B each code of 0 consists of [Figure 1 1e)], then 1
Insert the black run N between consecutive nine white runs in the discriminated nine signals (Figure 1), create a binary image signal from this [@ Figure 1, open can K is approximately equal], and then generate the binary image. Based on the signal, a reproduced image (approximately the same as 1al in FIG. 1) is obtained. Here, the abbreviation (2
@Image signal) is changed to the abbreviation of 彬) in Figure 1 and:, t
Fig. 41 (conversion to fl transmission code will be referred to as signal conversion B for convenience. (This belongs to the code conversion adopted in the present invention). The signal conversion B converts the bits of black run A. Since the binary image signals reproduced on the receiving side are simply aligned, the binary image signal reproduced on the receiving side is shortened or expanded in the scanning direction (left and right) depending on how the black runs are selected.

〔第1図1alが140ビツトであるのく対して@1図
(−は158ビツトになっている〕。この点を改良し、
前記走査方向(左右)のビットが変化しないようKする
ためKは、第1図に)の略号から、単に黒ランλを抜き
取って第11ffi te+の如き略号を作るのではな
く、抜き取るべき黒ラン入の前後にある白ランで、黒ラ
ンAと黒ランにとの差を予め加減しておけば良い。具体
的(述べると、まず第1図1c)の黒ラン5i、5eは
共に4ビツト(Bm)であるから、前記黒ランにと同一
なビットにするため、1つの黒ビットを差し引いて3ビ
ツト(B3)と成す。次に、前記1つの黒ビットを白ビ
ットと見なし、これを前記黒ランAg’、5eの前(場
合により、後でも良い)にある白ランA−2、A−7に
加える。(第1図1alが得られる)、そして黒ランA
を除去すれば第1図伽ンの略号を得る。第1図1alf
i、第1図(5)の略号を前記Wylaの符号化コード
(従って符号化し、更に、各コードの最初にO又は1の
前記識別ビットを加えた伝送符号である。
[Figure 1 1al is 140 bits, whereas Figure 1 (- is 158 bits]).Improved this point,
In order to prevent the bits in the scanning direction (left and right) from changing, K is the black run to be extracted, rather than simply extracting the black run λ from the abbreviation shown in Figure 1 to create an abbreviation such as 11th ffi te+. It is sufficient to adjust the difference between black run A and black run in advance using the white runs before and after the input. Specifically, since black runs 5i and 5e in FIG. 1c are both 4 bits (Bm), one black bit is subtracted to make them the same bits as the black runs. (B3). Next, the one black bit is regarded as a white bit and is added to the white runs A-2 and A-7 before (or after) the black runs Ag' and 5e. (Figure 1 1al is obtained), and black run A
By removing , we obtain the abbreviation in Figure 1. Figure 1 1alf
i is a transmission code in which the abbreviation in FIG.

従って、この場合の伝送符号の情報量は74ビツトとな
る。第1図1alの伝送符号を電気信号(変えて伝送す
れば、受信側において、まず、@1図(i)の各コード
が白ラン又は黒ランBの何ビットから成っているかくつ
いて判別し〔第1図(5)、次(、前記判別した信号に
おける連続した白う7の中間に前記黒ランにを挿入しく
一1図1i) ) 、これから2値画像信号を作り〔第
1図(加〕に大略等しい、弄 そして前記2値画像信号に基いて着生画像〔′@1図(
alK大略等しい〕を得るものである。
Therefore, the information amount of the transmission code in this case is 74 bits. If the transmission code in Figure 1 1al is changed to an electrical signal and transmitted, the receiving side first determines how many bits of white run or black run B each code in Figure 1 (i) consists of. [Figure 1 (5), Next (, insert the black run between the consecutive white spots 7 in the discriminated signal - Figure 1 i)) From this, create a binary image signal [Figure 1 ( Based on the binary image signal, the epiphyte image ['@1 (Fig.
alK approximately equal].

ここで、第1図(clの略号(2値Im偉信号)を第1
図(旬の略号1ζ変えると共(、第1図+00伝送符号
に変換する事を、便宜上、信号変換Cと呼ぶことにする
。(これは、本発明に採用した符号変換に属する)、前
記信号変換Cによれば、−走査における全ビット数が第
1図1alの略号と同じく1A0ビットとな抄、前記黒
ランにを適当に選ぺば前記走査方向(左右)K短縮又は
伸長する事がない。
Here, in Fig. 1 (abbreviation of cl (binary Im signal)
For convenience, the conversion to the +00 transmission code will be referred to as signal conversion C (this belongs to the code conversion adopted in the present invention). According to signal conversion C, the total number of bits in -scanning is 1A0 bits, which is the same as the abbreviation in FIG. There is no.

第1図1c)の略号(2値画儂信号)は140ビツト、
@1図(fl並びに第1図+1+の伝送符号は共K”7
4ビツトであるから、前記圧縮率は140÷74=18
9とな抄、前記ランレングス符号化処理だけKよる圧縮
率(tSa)と比較すると約2λ7%((154−t 
)x 1o O中22.7%〕の圧縮率向上がみられる
。このように1前配信号変換B又は前記信号変換Cを用
いた本発明のファクシミリ装置は、従来のランレングス
符号化処理(前記信号変換A)よ抄も更に圧縮率を高め
る事が出来るものである0次に、本発明のファクシミリ
装置について、具体的な説明を行なう。
The abbreviation (binary picture signal) in Fig. 1 1c) is 140 bits,
@Figure 1 (The transmission codes for fl and +1+ in Figure 1 are both K”7
Since it is 4 bits, the compression ratio is 140÷74=18
9 and Nasho, when compared with the compression rate (tSa) by K for the run-length encoding process, it is approximately 2λ7% ((154-t
) x 1o O by 22.7%]. As described above, the facsimile apparatus of the present invention using the 1-predistribution signal conversion B or the signal conversion C can further increase the compression rate compared to the conventional run-length encoding processing (the signal conversion A). Next, a detailed explanation will be given of the facsimile apparatus of the present invention.

@ARにおいて、駆動部5はパルスモータとその駈 駆動回路から成り、後述する原稿区動信号19−aKよ
って、前記−査線群201ラン分ずつ原稿1を紙送炒す
る。送信原稿1は、前記駆動部5によって、駆動される
送抄ローラ6と該送りローラ6に対向して設けられた抑
圧ローラ6′とKよって挟持搬送される。
In @AR, the drive section 5 is composed of a pulse motor and its canter drive circuit, and feeds the document 1 by the scan line group 201 runs in response to a document movement signal 19-aK, which will be described later. The original to be transmitted 1 is held and conveyed by the paper feed roller 6 driven by the drive section 5 and the suppression rollers 6' and K provided opposite to the feed roller 6.

送信原稿1に記載されている文字7等の映像は、光学系
8によって読取り部費(例えば、COD。
Images such as characters 7 written on the transmission document 1 are read by an optical system 8 (for example, COD).

フォトダイオードアレイ等のイメージセンナとその駆動
回路により構成される)K結像する。読取り部9では、
後述の読取抄開始信号18−aKより1ライン分の走査
を開始する。前記走査によって1ライン分の画偉、信号
を読み取ると共に、填1図知に示した2値画像信号に変
換すると、該2値画像信号は、書き込みクロック9−a
、ORゲート11、出力11−1を経たゲート信号に応
じ、信号線9−bを介してラインバッファ10に書き込
まれる。この時、該書き込みクロック?−aはカウンタ
12°により計数される。1ラインの全清latヲ20
 a aビットとすると、カウンタ12は204Bを計
数した時に、キャリイ信号12−a遜 を掃出するように構成きれる。前記キャリイ信号12−
aは、バッファー・フルー7ラグフリツグ・ycxyy
’(以下fと記す)130セツト端子に入力されている
。また、F/F′13のリセット端子には、前記の読取
り開始信号1B−3が入力されている0以上の構成1(
kいて、アンドゲート1Bから読み取り開始信号18−
aが送出されると、読み取り部が1ラインの読取り動作
を開始し、読み取り部9からの書き込みクロック9− 
a K同期して、2値画像信号9−bをライン・バッフ
ァ1゜に送出する。P/F′−13#−1:、1ライン
の読み取り動作が開始した時1cOPF状態となり、読
み取秒動作が終了した時、すなわちラインバッファ10
に2018ビツトの1ラインの全情報が書き込まレタ時
く、ON状態となる。ラインバッファ1゜は、前記読取
り部9の読み取り速度(前記2値画像信号の内容に関係
なく大略一定である)と、コントローラ21の符号化処
理速度(前記2値画イ象信号の内容によって大幅に変化
する)との速度差を緩衝し、前記2@画像信号の伝達を
円滑〈行なうために設けたものであり、ここでは1つの
ラインバッファを用いた具体例を示したが、2つのライ
/バッファを交互に用いれば、さらに効率が上がること
は、司知の事実である。
(composed of an image sensor such as a photodiode array and its driving circuit) forms an image. In the reading section 9,
Scanning for one line is started from a reading/shaping start signal 18-aK, which will be described later. When the image signal for one line is read by the scanning and converted into a binary image signal as shown in Figure 1, the binary image signal is converted to a write clock 9-a.
, OR gate 11, and output 11-1, the signal is written into line buffer 10 via signal line 9-b. At this time, the write clock? -a is counted by a counter 12°. 1 line full clean latwo 20
If the aa bit is used, the counter 12 can be configured to sweep out the carry signal 12-a when it counts 204B. The carry signal 12-
a is buffer full 7 lag fritz ycxyy
' (hereinafter referred to as f) is input to the 130 set terminal. Further, the reset terminal of F/F'13 has 0 or more configuration 1(
k, read start signal 18- from AND gate 1B
When a is sent out, the reading section starts reading one line, and the write clock 9- from the reading section 9 is sent.
a Binary image signal 9-b is sent to line buffer 1° in synchronization with K. P/F'-13#-1: When the reading operation of one line starts, it becomes the 1cOPF state, and when the reading second operation ends, that is, the line buffer 10
When all the information of one line of 2018 bits is written, it becomes ON state. The line buffer 1° is controlled by the reading speed of the reading section 9 (which is approximately constant regardless of the content of the binary image signal) and the encoding processing speed of the controller 21 (which varies greatly depending on the content of the binary image signal). This buffer is provided to smooth the transmission of the image signal by buffering the speed difference between It is a well-known fact that efficiency can be further improved by using /buffers alternately.

コントローラ21は、ファクシミリ装置全体のシーケン
スの制御を行なうと共に、前記ラインバッファ10に記
憶された2#L画像信号に対して、第1図の説明で述べ
た信号変換B又はCを行なう。
The controller 21 controls the entire sequence of the facsimile machine, and also performs the signal conversion B or C described in the explanation of FIG. 1 on the 2#L image signal stored in the line buffer 10.

前記コントローラは、マイクロコンピュータノホか、ハ
ードワイヤ屋制御論理回路によっても実現される。
The controller may be realized by a microcomputer or a hardwired control logic circuit.

なお、コントローラ21は、本発明のファクシミリ装置
において、最も重要な部分であるからデコーダ20と共
に後で詳しく述べる事にする。
Note that since the controller 21 is the most important part in the facsimile apparatus of the present invention, it will be described in detail later along with the decoder 20.

コントa−ラ21で作られた伝送符号は、21−Cのデ
ーp −ハ、Xを介してFirst In First
 (jutメ (以後F IKと記す)会モリ24に蓄えられる。ノー
メモリ 前記F’IP(Jf:++は、コントローラ21による
伝送符号の送出速度と、後述する変復調装置(以後モデ
ムと記す)28による伝送符号の送出速度との速度差を
緩衝するために設けられたものである。PIF&メモリ
の特性に関しては、たとえば米国のFajrchild
社の製品でMOS  LSI3351のカタログに詳細
に記述されており、周知ゆであるので、ここでは説明は
割愛する。コントローラ21は、FiFoメモリ24に
おけるPIぬ−INPUT READY ! 子(以後
FYRJ)Yと記す)からのF IRDYセンス信号2
m−a。
The transmission code created by the controller 21 is transmitted to the First In First
The F'IP (Jf: ++) is stored in the memory 24 (hereinafter referred to as FIK). This is provided to buffer the speed difference with the transmission speed of the transmission code. Regarding the characteristics of PIF & memory, for example, Fajrchild of the United States
Since it is well known and is described in detail in the MOS LSI3351 catalog of the company's product, a detailed explanation will be omitted here. The controller 21 inputs the PI input in the FiFo memory 24! FIRDY sense signal 2 from child (hereinafter referred to as FYRJ)
m-a.

ANDゲート22を経友信号22−af:v4べる。The AND gate 22 is passed to the friend signal 22-af:v4.

この時、PIF□メモリが清杯であれば、FI几1) 
YはOF’?、FIFOメそりにデータを記憶する余地
があれば1;’IRDYはONとなる。従ってコントク
ーラ21は、FIRDY  ONの時に、伝達符号をデ
ータバス21−Cを介してFIFOメモリ24に書き込
む。〔このとき、書き込みクロックはシフトイン信号2
3−aによりFIFO速 伝欅符号は、ou、を端子から信号線24−bを介して
パラレルインシリアルアウトシフトレジスタ25に送ら
れる。前記シフトレジスタ25は、24−bを介して人
力された8ピツトノ(ラレルの伝送符号を、出力lm2
5−aを介して、モデム28に:順次送出を行なう、モ
デム2Bは、送信クロック28−bK:同期して前記シ
フトレジスタ25より順次伝送符号を取り出す。前記送
信クロック28−すは、同時に8mカウンタ21に人力
され、計数される。8道カワンタ27は、8つ計数する
毎にキャリイ信号27−aを送出する。前記キャリイ信
号27−aは、前記シフトレジスタ25のLOAD端子
に入力されている。この構成によりモデノ・28が8ビ
ツトの伝送符号を送出終了する毎に、シフトレジスタ2
5に、新しい8ビツトの伝送符号がFIFOメモリ2A
より出力される。
At this time, if the PIF□ memory is full, FI□1)
Y is OF'? , if there is room to store data in the FIFO memory, 1; 'IRDY is turned ON. Therefore, the control cooler 21 writes the transmission code to the FIFO memory 24 via the data bus 21-C when FIRDY ON. [At this time, the write clock is shift-in signal 2
3-a, the FIFO speed transmission code is sent from the terminal ou to the parallel-in-serial-out shift register 25 via the signal line 24-b. The shift register 25 outputs the 8-pitono transmission code (lm2) inputted manually through the shift register 24-b.
5-a to the modem 28: The modem 2B sequentially transmits the transmission codes from the shift register 25 in synchronization with the transmission clock 28-bK. The transmission clock 28 is simultaneously input to the 8m counter 21 and counted. The 8-way kawanta 27 sends out a carry signal 27-a every time it counts eight. The carry signal 27-a is input to the LOAD terminal of the shift register 25. With this configuration, every time the Modeno 28 finishes transmitting an 8-bit transmission code, the shift register 2
5, the new 8-bit transmission code is transferred to FIFO memory 2A.
It is output from

また前記キャリイ信号27−ati、ディレィ回路26
にも入力式れており、該ディレィ回路26の出力26−
ali、FIFOメモリ240’/7トアクト(以後S
Oと記す)端子に入力されている。
In addition, the carry signal 27-ati and the delay circuit 26
Also, the output 26- of the delay circuit 26
ali, FIFO memory 240'/7 act (hereinafter S
(denoted as O) terminal.

この構成により、シフトレジスタ25が、新しい8ビツ
トの伝送符号をラッチした後に%PIF(Jメモリにシ
フトアウト信号26−aが与えられる。
With this configuration, after the shift register 25 latches a new 8-bit transmission code, the shift-out signal 26-a is applied to the %PIF (J memory).

モデム2Bは、不図示の変復調回路とレベル調節回路か
ら成っている。前記シフトレジスタ25から出力線25
−aを介して取り込まれた伝送符号は、まず、モデム2
8における不図示の前記変復調回路だ入力され変調が行
なわれる。ファクシミリ装置は電話回線を通じて画像信
号を伝送するものであり、電話回線の伝送可能な鳩波数
帯域は一般に300Hz7)、らaaK)iZとnツt
lAル。しカシ、シフトレジスタ25からの伝送符号1
c#′i直流つま17(J)fZの伽合が含まれており
、このままでは電話回線で符号を伝送する事が出来ない
。そこで、搬送11Ft数を電話回線で伝送可能な周波
数に設定し、前記搬送筒波数を前記伝送符号で変調すれ
ば前記伝送符合を電話回線で伝送することが可能となる
。(搬送笥波at−異にするがラジオのAM変A”、F
MR@と大略同じ原理である。更KPM変調、その他の
変謂万式を採用する事もでき゛  る。)また、前記符
号の伝送に際して、相手側との信号の受授(例えば伝送
符号を受信したという確認信号を前記伝送符号の送信側
が受信する)があるため、相手側からの変調された送信
信号を復調する必要を受信したという確認信号を前記伝
送符号の送信側が受信する)があるため、相手側からの
変調された送信信号を復調する必要を生じる場合がある
。不図示の前記変復調回路は、前述の変調、復調を行な
い、シフトレジスタ25からの符号を伝送可能な信号に
変換すると共に、相手側から送られた信号を復調するも
のである。不図示の前記変復調回路の出力は不図示の前
記レベル調節回路に入力される。不図示の前記レベル調
節回路は、変調された伝送符号の出力過大によって発生
する電話回線網へのA、相手側から送られる信号の入力
過大(よって発生する当該装置への悪影響、同様に出力
過少、入力過少によって発生するトラブル等を防止する
ために設けられたものである。このように、モデム28
においては、シフトレジスタ25から送られた伝送符号
の変調、相手側から送られて来た信号の復調、伝送符号
等のレベル調節を行なって電話口IsKよる信号の授受
を円滑に行わしめるものである。そして出力線28−a
から符号化された信号を送出する。
The modem 2B consists of a modulation/demodulation circuit and a level adjustment circuit (not shown). Output line 25 from the shift register 25
-a, the transmission code taken in via modem 2
The signal is input to the modulation/demodulation circuit (not shown) at 8 and modulation is performed. A facsimile machine transmits an image signal through a telephone line, and the frequency band that can be transmitted by a telephone line is generally 300Hz7), raaaK)iZ and ntt.
lAru. Shikashi, transmission code 1 from shift register 25
The code contains a combination of c#'i DC output 17(J)fZ, and as it is, the code cannot be transmitted over the telephone line. Therefore, by setting the carrier 11Ft number to a frequency that can be transmitted over a telephone line and modulating the carrier number with the transmission code, it becomes possible to transmit the transmission code over the telephone line. (Carrying wave at - radio AM variation A", F
The principle is roughly the same as MR@. It is also possible to employ KPM modulation and other variations. ) Also, when transmitting the code, since signals are exchanged with the other party (for example, the transmitting side of the transmission code receives a confirmation signal that the transmission code has been received), the modulated transmission signal from the other party Since the sending side of the transmission code receives a confirmation signal indicating that it has received the need to demodulate the transmission code, it may be necessary to demodulate the modulated transmission signal from the other side. The modulation/demodulation circuit (not shown) performs the above-mentioned modulation and demodulation, converts the code from the shift register 25 into a transmittable signal, and demodulates the signal sent from the other party. The output of the modulation/demodulation circuit (not shown) is input to the level adjustment circuit (not shown). The level adjustment circuit (not shown) is capable of controlling A to the telephone line network caused by excessive output of the modulated transmission code, excessive input of the signal sent from the other party (thus causing an adverse effect on the device, and similarly insufficient output). , is provided to prevent troubles caused by insufficient input.In this way, the modem 28
The system modulates the transmission code sent from the shift register 25, demodulates the signal sent from the other party, and adjusts the level of the transmission code, etc., to ensure smooth transmission and reception of signals by the telephone IsK. be. and output line 28-a
The encoded signal is sent from

次に、コン)o−ラ21の内部構成図を図dに示す。ま
た、コントローラ中のCPUである1nte11080
0内部構成図を図5に示す。コントローラ21は、米国
1nte1社のマイクロコンピュータ6080・21−
dを中心に、ROM(31品名8316以下同様)、2
l−eSR人M(8101)21−fl 5TATU8
  LATCH(8212)21−1.パスドライバー
(11212)21−gs21−h、21−t、及びク
ロックパルス発生器2l−kKよ抄構成される。また、
第5図におけるI A−a、  15−a、 22−a
は第4図の21− o Kよって代表されている。前記
コン)a−ラの基本動作及びCPU内部における動作に
関しては、1nte1社の8080 Microcom
puter 8ystemsUser’s Manua
l  等の文献に詳細に示されてお9、又8080のン
7トウエアに関しては1nie1社の8080人sse
mbly Language Progra−ing 
Manual等の文献に詳細に示されているので、ここ
では詳細な説明は割愛する。コントローラ21と、外部
I10とのインターフェイスについて以下に説明する。
Next, an internal configuration diagram of the controller 21 is shown in FIG. d. Also, the CPU in the controller is 1nte11080
0 internal configuration diagram is shown in FIG. The controller 21 is a microcomputer 6080.21- manufactured by 1nte1 in the United States.
Mainly d, ROM (31 product names 8316 and below), 2
l-eSR person M (8101) 21-fl 5TATU8
LATCH (8212) 21-1. It is composed of path drivers (11212) 21-gs21-h, 21-t, and clock pulse generators 2l-kK. Also,
IA-a, 15-a, 22-a in Figure 5
is represented by 21-oK in FIG. Regarding the basic operation of the controller and the operation inside the CPU, the 8080 Microcom of 1nte1 Co., Ltd.
puter 8systemsUser's Manua
8080 software is detailed in the literature such as 9, and the 8080 person sse of 1nie1 company.
mbly Language Programming
Since it is shown in detail in the literature such as Manual, detailed explanation will be omitted here. The interface between the controller 21 and the external I10 will be described below.

アドレス・パス21−bはデコーダ20に入力され各積
重」選択信号がつくられる。各積重」とデコーダ出力と
の関係を以下の通り表2に示す。
Address path 21-b is input to decoder 20 to generate each stack selection signal. The relationship between each stack and the decoder output is shown in Table 2 below.

表2 表2のように、各デコーダ出力は各々ゲートを通って各
I10 K対する制御信号を作る。例えば、第3図にお
いて、駆動部5に与えられる原楕駆動信号−19−al
a、前記の駆動部選択信号20−Cとコントローラ21
からのW凡信号21−aがANDゲート19で論理AN
Dがとられた結果作られるものである6次に各ゲートに
より作成される以上の構成により、前記1ライン分の情
報処理が進行し、更に第3図のコントローラ21から原
稿駆動信号19−aが、駆動部5に入力されると前記送
a−−ツ6と押圧クーラ6′が送信原稿1を、副走査方
向(図の上又は下)K1247分だけ送って〔第8図1
aliC示した走査線2−1から走査線2−2へ〕次の
1ライン(走゛査線2−2)を読取り部9で読み取る。
Table 2 As shown in Table 2, each decoder output passes through a gate to generate a control signal for each I10K. For example, in FIG. 3, the original elliptical drive signal -19-al given to the drive unit 5
a. The drive section selection signal 20-C and the controller 21
The W signal 21-a from the AND gate 19 is logically AN
D is created as a result of taking the 6th order.Through the above configuration created by each gate, the information processing for one line proceeds, and furthermore, the document drive signal 19-a is sent from the controller 21 in FIG. is input to the drive section 5, the feed a--2 and the pressure cooler 6' feed the transmitted document 1 by a distance of K1247 in the sub-scanning direction (up or down in the figure) [Fig.
From scanning line 2-1 to scanning line 2-2 shown by aliC] The next line (scanning line 2-2) is read by the reading section 9.

以下同様にして走査を行ない、送信原稿1の企画を走査
する。
Thereafter, scanning is performed in the same manner, and the plan of the transmitted original 1 is scanned.

第6図(加、a311GcJに示した7a−チャートは
、前記コントローラ21においておこなわれる前記記号
変換B、Cの情報処理過糧を表わし、第65四両 は走査線の??端が黒う/の時の処理方法を現わす。
The 7a-chart shown in Figure 6 (Canada, a311GcJ) represents the information processing error of the symbol conversions B and C performed in the controller 21, and the ?? end of the scanning line in the 65th car is black. Shows the processing method when .

また、第7図に示した経路表は、tIC6図(2)のフ
ローチャートに従って処理をしてゆく際の処理経路を表
わしたもので、*が右偶の経路を足って処理される事を
表わしている。さらに、第8図1alは、=t ン) 
ts −9内部のROMzl−eを、第8図b)はRA
M21−fの内部メモリマツプをそれぞれ示している。
In addition, the route table shown in Figure 7 represents the processing route when processing is performed according to the flowchart in tIC6 Figure (2), and * is processed by adding the right even route. It represents. Furthermore, FIG. 8 1al is =t n)
ts-9 internal ROMzl-e, Figure 8b) is RA
The internal memory maps of M21-f are shown respectively.

まず、第6図(a)K用いられている記号の説明を以下
〈行なう。
First, the symbols used in FIG. 6(a)K will be explained below.

RL:11Sビツト ラン長カウンタ 2l−f−イ(
第8図に示す) ML:16ビツト、白ラン長レジスタ 2l−f−り(
′M8図に示す) BL:16ビツト 黒ラン長レジスタ 2l−f−ハ(
) LCNT:16ビツト ラインカウンタ 2l−f−ホ
(−) D:新データメモリ 2l−d−イ(第5図に示す) MOD:旧データメモリ 21d−口(第5図に示す) B:黒ビットを表わす(=1)ROM中のプルグラムの
中に記憶されている W:白ビットを表わす(=ダ) MIN :定数(=3)ROM中のプログラムの中に記
憶されている MAX:定数(=9) BR:aビット演算結果メモリ 2l−f−二(第8図
に示す) DIS:@別ビットメモリ2l−d−ハ(第5図に示す
) さらに、第6図葎)における「=二の記号はサブ・ルー
チンを表わしている。m と〔=3](ついては@6図
(bl、Iclにそれぞれ説明されている。但し@6図
1c)に示したE]j口1口利1サブ、ルーチンは第6
図−の中で記述されてないので、以下に簡単に説明する
。#サブ・ルーチンは、前記の第2図で説明した、W7
1e  の符合化手法により、RLに記憶されているデ
ータを第2図に示すWy I e  符号に変換し、前
記FIFOメそり24に8ビット単位で送出する仕事を
おこなう。FIPOメモリ24には、第1図+r+で示
される様式の伝送符号が記憶されることKなる。前記W
y I eの符号化手法(対する詳細な説明は、Wyl
e  の符号化手法そのものかWyl、e  の論文(
H,Wyle eta1″Reduced−time 
facsimle transmission by 
digital codig”IRJi: Trans
、Com−9,P215(1961−09))  に詳
細に記述されておりコントローラ21またはそれと同等
の機能を持つ装置によって容易に実現式れることは明ら
かであるので、ここでに説明を割愛する。なお、第6図
1alにおける(注1)で省略する黒ラン八、ラン長(
RL)がMINくRL≧M入Xの条件を満たす黒ランで
あり、(注2)で行なう演算は整数最算であり、(注3
)にかいては第6図(イ)の下に示した例の如く各ライ
ンの両端の黒は必らず送信するものである。
RL: 11S bit Run length counter 2l-f-i (
(shown in Figure 8) ML: 16 bits, white run length register 2l-f-ri (
(shown in figure M8) BL: 16 bits Black run length register 2l-f-c (
) LCNT: 16-bit line counter 2l-f-ho (-) D: New data memory 2l-d-i (shown in Figure 5) MOD: Old data memory 21d-port (shown in Figure 5) B: Black Represents a bit (=1) W stored in the program in the ROM: Represents a white bit (=Da) MIN: Constant (=3) MAX stored in the program in the ROM: Constant ( =9) BR: a bit operation result memory 2l-f-2 (shown in Figure 8) DIS: @separate bit memory 2l-d-c (shown in Figure 5) Furthermore, "=" in Figure 6) The second symbol represents a subroutine. 1 sub, routine is 6th
Since it is not described in the figure, it will be briefly explained below. #The subroutine is W7, which was explained in Fig. 2 above.
1e encoding method, the data stored in the RL is converted into the WyIe code shown in FIG. 2, and the data is sent to the FIFO memory 24 in 8-bit units. The FIPO memory 24 stores transmission codes in the format shown by +r+ in FIG. Said W
y I e encoding method (detailed explanation is given in Wyl
Is it the encoding method of e itself or Wyl, e's paper (
H,Wyle eta1″Reduced-time
facsimle transmission by
digital codig"IRJi: Trans
, Com-9, P215 (1961-09)), and it is obvious that it can be easily realized by the controller 21 or a device having an equivalent function, so the explanation will be omitted here. In addition, the black run 8 and run length (note 1) omitted in Figure 6 1al are
RL) is a black run that satisfies the condition of MIN × RL ≧ M input X, the operation performed in (Note 2) is an integer maximum, and (Note 3
), the black at both ends of each line is always transmitted, as shown in the example shown at the bottom of FIG. 6(a).

次に、第7図の説明及び、第6図(alのフローチャー
トの動作説明のため忙、第7図の2値画壕信号のうち*
印のついた2埴画像信号1ラインを考えてその処理を説
明する。第6図1alと第7図において、まず経路29
からスタートする。1ラインの処理を行なうKあたり、
初期の設定として、WL。
Next, I will explain Fig. 7 and explain the operation of the flowchart in Fig. 6 (al).
The processing will be explained by considering one line of the marked two-color image signal. In FIG. 6 1al and FIG. 7, first, route 29
Start from. Per K, which processes one line,
As an initial setting, WL.

BL、BRK劇を書き込む。またLCNTに負の1ライ
ンのビット数を、すなわちこの場合には(−L(S)を
書き込む。次K 几aad Hit  サブ・ルーチン
を実行する。〔第6図ゎ)参照〕。ここで号 は、コントロー521はラインバッファ選択信東20−
aを出すことで、まずANDゲート15を通してライン
バッファ10の1ビツトを2値画像信号15−aとして
取り込み、該1ビツトを新データとシテ新データメーv
−リI)(21−d−イ)K書き込む。次KLCNTの
内容に+1を加算する。
Write BL, BRK plays. Also, write the negative bit number of one line, in this case (-L(S)) to LCNT. Next, execute the K-ad-Hit subroutine (see FIG. 6). Here, the controller 521 is the line buffer selection Shinto 20-
By outputting a, one bit of the line buffer 10 is first taken in as a binary image signal 15-a through the AND gate 15, and the one bit is combined with new data and the new data image v.
-I) (21-d-I) Write K. Next, add +1 to the contents of KLCNT.

以上で°dサブ・ルーチンの仕事を終了する。次に、R
Lに1を書き込むう次に経路30に進みDの内容をMO
Dzl−(’、−口に書き込んでから、経路31で、 
Mサブ・ルーチンを実行する。その後MUD(21−d
−口)とD(2f−d−イ)の内容が等しいか否かを判
断する。この場合には、MOD’qDとなるので経路3
3を通り、次にMOI)=Wか否かを判断する。
This completes the work of the °d subroutine. Next, R
Write 1 to L, then proceed to route 30 and MO the contents of D.
Dzl-(', - after writing in the mouth, on route 31,
Execute M subroutine. After that, MUD (21-d
- 口) and D (2f-d-i) are determined to be equal. In this case, it becomes MOD'qD, so route 3
3, and then it is determined whether MOI)=W.

この場合KFiYESなので、経路37を通って、WL
KRLの内容(この場合RL= 1である)を書き込み
、その後RLには1を書き込んでLCNT=ダか否かを
判断する。LCNT=−1tなのでNOとなり経路50
を通って、経路30に戻る。
In this case, KFiYES, so go through route 37 and WL
The contents of KRL (in this case RL=1) are written, and then 1 is written to RL to determine whether LCNT=da or not. Since LCNT=-1t, it is NO and the route is 50.
and return to route 30.

そこで、D21−d−1の内容をMUD(21−d−口
)K書き込みWサブ・ルーチンタ を実行する。その後MOD=Dかを判断する。姿度はY
ESなので経路32礁り、RLK2を書込みLCNT=
ダかを判断する。LCNT=−1sなのでNOとな抄、
経路35を通って経路31に戻り前記の動作をくり返す
、そして、16ビツトからなる1ライン分の2値画償信
号の左端から数えて6番目のデータがD(21−d−イ
)K15番目のデータがMOD (z 1−d−口)K
書き込まれ、RL=a、LCNT=−1oとなった時に
1MUD=Dかの判断がNOとなり、経路53を通って
経路34へ進む。次KMOD=Wかの判断はNOなので
、経路36へと進む。ここで、RLは! CMIN)く
RL(=j)<9 (MAX)の条件を満たしているの
で、YESとなり経路38へ進む、ここで、(RL−M
IN)の整数計算をおこない、その差をBR(21−f
−二)CIFき込む。次KWL=gか否かの判断を行な
う。この判断は、現在RL(21−f−イ)に七〇ラン
長を記憶されている黒ランが、1ラインの左端くある黒
ランであるか否かを判断するためにおこなう。
Therefore, the contents of D21-d-1 are written to the MUD (21-d-port) and the W subroutine is executed. After that, it is determined whether MOD=D. Posture is Y
Since it is ES, route 32 is lost, write RLK2 and LCNT=
judge whether it is wrong or not. Since LCNT=-1s, NO and Nasho,
Return to path 31 through path 35 and repeat the above operation, and the sixth data counted from the left end of the binary compensation signal for one line consisting of 16 bits is D(21-d-i)K15. The th data is MOD (z 1-d-mouth)K
When the data is written and RL=a and LCNT=-1o, the determination as to whether 1MUD=D becomes NO, and the process proceeds to path 34 via path 53. Since the determination as to whether the next KMOD=W is NO, the process proceeds to route 36. Here, RL is! Since the condition of (RL-M
IN), and calculate the difference as BR(21-f
-2) Incorporate CIF. Next, it is determined whether KWL=g or not. This determination is made to determine whether the black run whose length is currently 70 runs stored in RL (21-f-i) is the black run at the left end of one line.

ここではWL=1であるので、経路−〇へと進む。Since WL=1 here, the process proceeds to route -0.

次にLCNT=〆か否かの判断を行なう。この判断は、
RL(21−f−口)Kそのラン長が記憶されている黒
う、ンが1ラインの右端(ある黒ランか否かを判別する
ために行なう、ここではLCNT==−10なので経路
42へと進む、そしてBL(21−f −ノー ) I
/c96tilF!込!、WLK(WLの内容)と(B
Rの内容/2)を加えた結果全書き込む、この場合B′
FL=1なので整数計算の結果1未満が切捨てられWL
=1+工=1となる。
Next, it is determined whether LCNT=〆. This judgment is
RL (21-f-port) K The black run length whose run length is memorized is the right end of one line (this is done to determine whether it is a certain black run or not. Here, LCNT==-10, so route 42 and proceed to BL (21-f-no) I
/c96tilF! Including! , WLK (contents of WL) and (B
The contents of R/2) are added and the entire result is written, in this case B'
Since FL=1, the result of integer calculation is rounded down to WL
= 1 + engineering = 1.

次にBRが奇数か否かの判断を行なう。BR=1なので
YESとなり経路45へ進みWL(21−f−口)K1
+1=2を書き込む、その後BRKダを書き込み経路4
8へ進む。次にBL8 (21−d−Is)[W(+=
ダ)を書き込み、RL(21−f−イ)にWL(21−
f−口)の内容を書き込んだ後tc  原石]■サブ・
ルーチンへ進む。
Next, it is determined whether BR is an odd number or not. Since BR=1, it is YES and proceeds to route 45 WL (21-f-exit) K1
Write +1=2, then write BRK da path 4
Proceed to step 8. Next, BL8 (21-d-Is) [W(+=
Write WL (21-f-i) to RL (21-f-i).
After writing the contents of f-mouth) tc raw stone] ■ Sub・
Proceed to routine.

〔第6図1cl参照〕。[See Figure 6 1cl].

[ロロこ=10ナプ嗜ルーチンでは、ますRL=/か否
かの判断をおこなう。この場合、KL=2であるので次
KDI8(21−d−ハ)の内容(この場合には白ラン
を示す情報fがDI8に記憶されている)をFIFOメ
セリ24に送出し、次にm述oRL**!alサブ・ル
ーチンを実行する。
[In the Roroko = 10 Napaku routine, it is determined whether or not Masu RL = /. In this case, since KL=2, the contents of the next KDI8 (21-d-c) (in this case, information f indicating a white run is stored in DI8) are sent to the FIFO memory 24, and then m Statement oRL**! Execute the al subroutine.

以上でgサブ・ルーチンの処理を終了 して、メイン−70−に戻る。This completes the processing of the g subroutine. Then, return to main-70-.

次に、BL8(21−d−ハ)にB(=1)を書き込み
、その自答t−FIFOメモリ24に送出し、次に、前
述のRL**!llt$サブ・ルーチンを実行する。そ
して、RL(21−f−イ)に(B几+1)を書き込み
、次KBR(21−f−二)と、BL(21−f−ハ)
K各々メを書き込んだ後LCNT=メか否かを判断する
。LCNT==10なのでNOとtLシ、経路51を通
って経路50へ戻る。そして経路51−経路32−経路
35t10回< lKしたffl、RL=11、I、C
N’l’=/、MOD−D=/となりた状態で、経路3
4に進む。久KMOD=Wか否かの判断をして、Y18
となるので経路57を通フてRL(21−f−イ)の内
容をWL(21−f−a)K書き込み、RL(21−f
−イ)Klを書き込みI、CN’l’=メかの判断をし
、YB8なので経路49を通って経路48へ進む。
Next, write B (=1) to BL8 (21-d-c), send it to the self-answer t-FIFO memory 24, and then write the above-mentioned RL**! Execute the llt$ subroutine. Then, write (B + 1) to RL (21-f-i), then write KBR (21-f-2) and BL (21-f-c).
After writing each of K, it is determined whether LCNT=Me or not. Since LCNT==10, NO and tL are returned to route 50 via route 51. And route 51-route 32-route 35t10 times < lK ffl, RL=11, I, C
With N'l'=/, MOD-D=/, route 3
Proceed to step 4. Y18 after determining whether KMOD=W or not.
Therefore, the contents of RL (21-f-a) are written to WL (21-f-a)K through path 57, and RL (21-f
-B) Write Kl and judge whether I or CN'l'=Me, and since it is YB8, proceed through route 49 to route 48.

次に、前述と同じ動作をくり返す。今回は、WL=11
、BL−〆のため、白のランだけが島1]ナプψルーチ
ンによfiRL変換送出される。
Then repeat the same action as above. This time, WL=11
, BL-〆, only the white run is fiRL-converted and sent by the island 1] nap ψ routine.

そして、経路52へ進み、MOD、、−Dか否かの判断
はYB8であるので、経路54を通って1ライyの処理
が終了する。
Then, the process proceeds to route 52, and since the determination as to whether it is MOD, .

以上説明してきた1ライy分02値画儂信号の処理過程
の他に他025通に02値−儂信号に対する処理過程を
117図に示した前述したように、前述の説明の中での
、メモリへの書き込み、読み出し動作、演算旭理、大小
判断、一致の判断等、コントローラ21内部での具体的
な処理動作については、前記1ntel社の2冊のU@
erk Ma+nual にFl−mK記述されている
ので、ここでは説明を割愛する。
In addition to the processing process for the 1-ray y-minute 02-value image signal that has been explained above, the processing process for the 02-value image signal is shown in Figure 117. Regarding the specific processing operations inside the controller 21, such as writing to memory, reading operations, calculations, size judgment, match judgment, etc., please refer to the two books published by 1ntel.
Since Fl-mK is described in erk Ma+nual, the explanation is omitted here.

また、コントクー221に1以上説明してき九〇PUよ
抄も、嘔らに上位のCPU(処理速度、処11a能O点
で1ntel 808Ωよルも優れているもの−)を用
いれば、OCR技術では既知の技術で6ゐ劃め処理をお
こなう事ができ、該側め処理によりて画情報の線巾を(
前記信号変換Cをおこなう前K)一定にしておけば、I
!lr記信号変換Cの適用可能な範囲奪更に広げること
ができる。
In addition, as I have explained more than once in Kontoku 221, 90 PUs can also be used with OCR technology if you use a high-end CPU (one that is as good as 1ntel 808Ω in terms of processing speed and processing speed of 11a). It is possible to perform 6-sided trimming processing using known technology, and the line width of image information can be reduced (
Before performing the signal conversion C), if K) is kept constant, I
! The applicable range of signal conversion C can be further expanded.

以上説明した如く、本発明のファクタきり装置は、前記
黒うンムに適当な処理を加える亭によって情報の伝送時
間を大幅に短縮する事が出来るものでるる。しかし、送
信原稿が画像情報から成り立っている場合は、前記イぎ
号変換B、Cや前記細め処理を施すと、受信側での≦信
記鎌画像が大幅に劣化する。このため、画像情報を含む
送信原稿に対しては、前記画像の劣化を防ぐ意味で前記
信号変換B、Cを適用するか否かくついて適宜選択しな
ければならない。送信原稿が画像情報を含み前記信号変
換B、Ct行なう事が不適当な場合は前記閾値をOK(
MAX=MIN=O)設定する事ができる。(前記黒ラ
ン人がなくなり、すべての白ランと黒ランが伝送される
。これは、前記信号変換人を行なう事になる)。これに
より、伝送時間は長くなるが、画質が向上する。
As explained above, the factor cutting device of the present invention can significantly shorten the information transmission time by applying appropriate processing to the above-mentioned black numbers. However, if the transmission document is made up of image information, if the above-mentioned key conversions B and C or the above-mentioned thinning processing are performed, the ≦Shinki Kama image on the receiving side will be significantly degraded. For this reason, it is necessary to appropriately select whether or not to apply the signal conversions B and C to a transmission document containing image information in order to prevent image deterioration. If the transmitted document contains image information and it is inappropriate to perform the signal conversion B and Ct, set the threshold value to OK (
MAX=MIN=O) can be set. (The black run is gone and all the white and black runs are transmitted. This will do the signal converter). This increases the transmission time, but improves the image quality.

このように、本発明のファクシミリ装置は、大略一定の
線幅から成る文字、記号等の伝送時間を短縮するのみな
らず、前記細め処理を行なって異った線幅から成る文字
、記号等についても、迅速な伝送が可能となる。
As described above, the facsimile device of the present invention not only reduces the transmission time for characters, symbols, etc. having a substantially constant line width, but also reduces the transmission time for characters, symbols, etc. having different line widths by performing the thinning process. Also, rapid transmission becomes possible.

また、前記黒ラン人と黒ランBとの閾値(M人X1ML
N)を過当な値に設定すれば、通常の画像情報を伝送す
る事もできる。
In addition, the threshold value between the black run person and black run B (M people x 1 ML
If N) is set to an appropriate value, normal image information can also be transmitted.

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

第1図偵1は文字を主体とした送信原稿の正面図、第1
図(blは第1図(alの送信原稿を走査して得た2値
画像信号、第1図(e)は第2図の2値画像信号の略号
、第1図(dlは第1図(C1の略号に基いて圧縮処理
した伝送符号、第1図telは第1図(C1の略号に信
号変換Bを施した略号、第1図(flは第1図(e)の
略号に基いて圧縮処理を行ない、束に識別符号を先馴に
附加した伝送符号、第1図(−は第1図(f)の伝送符
号を受信して第1図(elの略号に戻し更に、連続する
白ランの関に黒ラン人を加えた略号、第1図(h)は、
第1図1c)り略号に偏り変換Cを施した略号、第1図
(i)は、第1図(hlの略号に基いて圧縮処理を行な
い、更に識別符号を先頭に附加した伝送符号、嬉1図(
j)は、第1図(1)の伝送符号を受信して第1図(h
lの略号に戻し更K、連続する白ランのに 関に黒ラン加を加えた略号、第2図は、Wy l e 
。 ω 符号化コード婁、第5図は本発明によるファクシミリ装
置の回路構成図、第4図は、コントローラの構成図、m
s図は、CPUの内部構成図、第6図(allは、コン
トローラで行われる清報処理のフローチャート図、第6
図Φ)は、第6図TalにおけるRaadBit  の
7CI−チャート図、第6図(clは第6図(alにお
けるSen  RLの7a−f+−)図、第6図(d)
は、走査線の両端が黒ランの時の処理説明図、*71f
lに、第6図(al〜(cl〕y a −5−q  )
OMの内部メモリマツプ図、第8図(b)tiR人Mの
内部メモリマツプ図、である。 なお、図において、 1は送信源4115は駆動部 6は送りローラ      ◇は押圧ローラ8は光学系
       9はlIi!4Lり部10はラインバッ
ファ  11はORゲート12はカウンタ 13はバッファフルフラグフリッグフロップ14.15
.17.18.19.22.23はANL)ゲー116
はNOT@@     20はデコーダ21はj7トa
−ラ    21−dはCP U (8080)21−
CはROM21−fは8人M 24はFIFOメモリ  25はシフトレジスタ26F
iディレィ回路   27は81カウンタ28はモデム である 特許出願人  キャノン株式会社 68 図 (久ジ <b) 手続補正書印発) 昭和60年11月 5日 1、事件の表示 昭和60年10月4日付提出の特許願(5)後記号なし
2、発明の名称 3、補正をする者 事件との関係     特許出願人 住所 東京都大田区下丸子3−30−2居所 〒146
東京都大田区下丸子3−30−25、補正の対象 明  細  書 6、補正の内容 明細書の全文を別紙のとおり補正する。 明   細   書 1、発明の名称 ファクシミリ装置 2、特許請求の範囲 送信原稿画像を読み取る読取手段。 読取手段により得られたz値化画像信号を取り込み順次
送信用符号に圧縮符号化する符号化プログラムと、前記
読取手段の動作を制御する制御プログラムを格納したプ
ログラムメモリを有するプログラム制御手段、 圧縮符号化された送信用符号を一時格納する符号メモリ
、 前記符号メモリから読み出したデータを送信の為に変調
する変調手段、 より成ることを特徴とするファクシミリ装置。 3、発明の詳細な説明 く挟f杼分竹ン 本発明は、送信するための原稿(以下、送信原稿という
)を走査し、得られた白又は黒の信号(以下 2値画像
信号という)の持つ冗長度を除去し、帯域圧縮した信号
を伝送するファクシミリ装置に関するものである。 〈従来技術〉 従来、たとえば、特開昭49−49520号公報に示す
如きファクシミリ装置が知られている。 かかる装置は読取った画信号をランレングス符号化し、
更に圧縮した符号に変換する一連の処理をハードウェア
で行っていた。その為に複雑な回路を必要としていた。 又、読取部の制御についてもハードウェアで行っていた
為に圧縮符号化と、読取部の制御の同期関係も複雑とな
る。 C目的〉 本発明は上述の如き従来技術の欠点に鑑み、ブイクロプ
ロセッサ等のプログラム制御手段を圧縮符−号化処理と
読取部制御に用いることにより、効率良く読取り、及び
符号化処理を実行できるファクシミリ装置の提供を目的
としている。 て実施例〉 以下、本発明の一実施例を図面に従い詳細に説明する。 第1図(1)は1本実施例のファクシミリ装置における
送信原稿の走査方法、第1図(b)〜(j)は、前記走
査によって得られた2 (a画像値号の圧縮方法等につ
いて、順を追って記載したものである。 第1図(&)に示した1は、文字を主体とした送信原稿
の1例であり、2は走査線群を示す。 前記走査線群2を構成する走査線2−1゜2−2.2−
3の走査は、先ず走査線2−1に沿って左端から右端へ
走査し1次に走査線2−2に沿って左端から右端へ走査
する。更に、走査線2−3.それに続く走査線(不図示
)についても前述と同様にして走査するものである。 第1図(b)の2値画像信号は、前記走査線2−1に沿
って走査した場合の信号を表わし。 黒地の部分1−1等の信号を黒レベル3で。 白地の部分1−2の信号を自レベル4で表わしたもので
ある。 先ず、走査線2−1に沿って左端から走査を開始すると
、文字Aの部分では黒レベル3に属する黒ラン3a、3
aiが得られ、以下同様にして文字Bで黒ラン3bが、
文字Cで黒ラン3cが文字りで黒ラン3d・、3d′が
、文字Eで黒ラン3eが文字Fで黒ラン3fが1文字G
で黒ラン3gが1文学上で黒ラン3h、3h′がそれぞ
れ得られる。前記各黒ランの間には自レベルに属する白
ランが存在し、これらを左から白ラン4−1.4−2.
−−−−4−12とする。前記黒ラン3 a〜3 h′
、白ラン4−1−4−12における各々の情報量(ビッ
ト)及び略号は表1の表    1 従って、#記情報の全ffI報量は9黒ランのビットと
白ランのビットとの総和であるから。 全部で140ビツトとなる。第1図(C)は、表1に示
した略号〔黒ランをBで表わし、白ランをWで表わした
。前記B又はWの後に記されている数字は、すh報証(
ビット)を示す、従って前記2値画像信号を視覚的に分
かり易く表現している〕を、第1図(b)に示した走査
経過(左から右へ)に従って配列したものである。 第1図(d)は、第1図(C)に示した前記略号に基い
て前記圧縮処理(Weleの符号化コードによる1次元
ランレングス符号化処理)を行った伝送符号である。こ
こで、1次元ランレングス符号化処理とは、前記2値画
像信号における前記黒ラン及び白ランの連続する長さく
以下ラン長と言う)を、2進級で符号化して表わすこと
により、全ビット数を減少させる帯域圧縮方法であり、
Wyleの符号化コードとは、第2図に示した方法によ
る前記2値画像信号の符号化を言う、(符号化の方法と
しては、この他にHuffman符号、Golomb符
号等が提案されているが、ここでは割愛する。)第1図
(cl)の左上端に記載した110110は第1図(C
)の左上端に記載したW15と対応し、第1図(d)の
前記110110に続く010は第1図(C)の前記W
15に続<83と対応する。そして、以下同様にして対
応するものである。したがって、第1図(d)の符号1
10110.010.−−−−は第1図(C)の略号W
 i 5 、 B 3、−−−一をそれぞれ符号化した
ものである。ここで、前記W y 1 eの符号化コー
ドについて説明する。第2図に示したWyleの符号化
コードにおいて、符号化コードはアドレス(符号長とバ
イアスを決定するコード)の次に、リマインダ(ラン長
を決定するコード)を附加したものである0例えば、前
記黒ラン3a(略号B3)は3ビツトであるから、これ
を符号化するには「白または黒のラン長」の欄における
「3」の右側を見ればよく、ア°Fレスが「0」、リマ
インダが「10」であるからro l OJとなる。同
様にして10ビツトを符号化すると110001.15
ビツト(例えば前記略号W15)を符号化すると110
110 (第2図では省略している)となる。 このようにして第1図(C)の略号(2値画像信号)は
第1図(d)の伝送符号に変換することができる。(本
発明において言うrWyleの符号化コード」は、「白
又は黒のラン長」の1025〜1152、M a r 
g i nの部分で。 「アドレス」の右端にそれぞれrOJを1つずつ加えて
lOビットと成している。)Wyleの符号化コードに
よって変換された前記伝送符号の情報量はO又は1が幾
つあるかという事になる。従って、第1図(d)におけ
る全情報量は91ビツトとなり、第1m(C)の140
ビツトと比較すると圧縮されている事が分かる。 一般に圧縮率は、1ライン分の全ピット数÷圧縮処理後
の全ビット数で表わされるから。 前記圧縮率は140÷91−1.54となる。 なおi1図(d)の伝送符号において、先頭ブロック(
左上に示した110110)は常に白ランと見なし、か
つ、自テンと黒テンは交互に表わされるので、前記伝送
符号には白ランと黒ランを識別するための識別信号を必
要としない、従って、第1図(d)の伝送符号を電気信
号に変えて伝送すれば、受信側において、まず第1図(
d)の各コードが自ラン又は黒ランの何ビットから成っ
ているかについて判別し〔第1図(C))、次に前記判
別によって2値画像信号を作り〔第1図(b))、そし
て前記2値画像信号に基づいて再生画像〔第1図(a)
に等しい〕を得るものである。 ここで、tJSt図(C)の略号(z値画像信号)を第
1図(cl)の伝送符号に変換することを便宜上信号変
換Aと呼ぶことにする。(これは。 従来の符号変換に属する)。 第1図(&)の文字は、はぼ一定の幅を有する線分の組
合わせによって成るものであるから。 前記黒ランのビットは前記線分の方向(傾き)によって
変化する。従って、前記黒ランは、縦(図の上下)又は
斜め方向を向いた部分を表わすため比較的短い黒ランか
ら成る信号(黒ランAとする)と、横方向(図の左右)
を向いた線分を表わすため比較的長い黒ランから成る信
号(黒ランBとする)の2iliTlりに分ける事がで
きる。 前記黒ランAと黒ランBとの閾値において、上ノ値(M
AX)@9ビット、下ノ値(MIN)を3ビツトとし、
黒ランAを9ビツト未満3ビット以上の範囲にある黒ラ
ン、黒ランBは前記以外の黒ラン(3ビツト未満又は9
ビツト以上)とすれば、第1図(C)における略号B3
.B4は黒ランA略号B9は黒ランBとなる。 第1図(e)は、第1図(c)の全情報(黒テンと白ラ
ンから成る)から黒ランAの情報だけを除去したもので
あり、連続する白ラン(例えばW15とW2)が存在し
ていた事になる。 第1図(f)は、第1図(6)の略号を前記WYleの
符号化コードに従って符号化し、更に、各コードの最初
に白ランを表わすO又は黒ランBを表わす1の識別ビッ
ト(木目を附したO又はl)を附加した伝送符号である
。前記識別ビットは、黒ランAのみを選択的に除去した
事により、白ランと黒ランBとを識別する必要が生じた
ために符加されたものである。従って、第1図(f)に
おける伝送符号の情報量は、前記識−別ビットを加えて
74ビツトとなる1次に、第1図(f)の伝送符号を電
気信号に変えて伝送し、受@側で受信する。前記受信し
た信号によって、まず、#記al別ビットの付木 された符号ブロック(g4えば0110110)が白テ
ンのラン長を表わしているのか黒ランBのラン長を表わ
しているのかを区別する。 次に、前記符号を復号して各ランのラン長を決定する(
第1図(f)から第1図Ce)へ〕と共に、白ランが2
個連続した場合、前記連続した自テンの間に黒ランK(
受信側で任意に挿入する黒ランで、前記黒ランA(7代
りとなる。 ここでは3ビツトとする)を挿入〔第1図(e)から第
1図(g)へ〕する、前記挿入される黒ランには予め適
当なラン長に定めたもの(受信記録画像における線分の
幅に対応し、一般的な原稿の線幅から考えて約0.5 
m mと設定する)であり、伝送前の黒ランAの部分が
受信側で黒ランにになる。具体的に述べると、第1図(
b)と(C)の2値画像信号における黒ランAは。 伝送前において3ax3cx3dx3d′x3f=3g
=3h=3h’−83,3m−3e−84の関係〔第1
図(C)〕にあったが、受信側で黒ラン八′(−B3)
に置き替えられるため。 3ILx3asa3csw3dx3d’m3ex3fx
3g==3h噛3h′雛B3に統一されて第1図(g)
の如き略号に変換される。従うて、第1図CF>の伝送
符号を!気信号に変えて伝送すれば、受信側において、
まず第1図(f)の各コードが白テン又は黒ランBの何
ビットから成っているかについて′#別し〔第1m (
e))、次に、前記判別した信号における連続した百ラ
ンの中間に前記黒ランにを挿入し〔第1図(g))、 
これから2値画像信号毫作り〔第1図(b)に大略等し
い〕、そして前記2値画像信号に基づいて再生画像〔第
1図(a)に大略等しい〕を得るものである。 ここで、第1図(c)の略号(2(1画像(3号)を第
1図(e)の略号に変えると共に、第1図(f)の伝送
符号に変換する事を、便宜上信号変換Bと呼ぶことにす
る。前記信号変換Bは、黒ランAのビットを単に揃えた
だけであるから、受信側で再生した2値画像信号は黒ラ
ンNの選び方によって前記走査方向(左右)に短縮又は
伸長を生じる。 〔第1図(C)が140ビツトであるのに対して第1図
(g)は138ビツトになっている〕、この点を改良し
、前記走査方向(左右)のビットが変化しないようにす
るためには、第1図(C)の略号から、単に黒ランAを
抜き取りで第11!1i(e)の如き略号を作るのでは
なく、抜き取るべき黒ランAの#後にある白ランで、黒
ランAと黒テンA′との差を予め加減しておけば良い、
A体的に述べると、まず第1図(c)の黒テン3g:、
3eは共に4ピツト(B4)であるから、前記黒ラン八
′と同一なビットにするため、1つの黒ビットを差し引
いて3ピッ1−(B3)と威す1次に、前記1つの黒ビ
ットを白ビットと見なし、これを前記黒ラン3a、3e
の前(場合により、後でも良い)にある白ラン4−2.
4−7に加える。(第1図(j)が得られる)、そして
黒ランAを除去すれば第1図(h)の略号を得る。第1
図(i)は、第1図(h)の略号を前記Wyleの符号
化コードに従って符号化し、更に、各フードの最初に0
又はlの前記識別ビットを加えた伝送符号である。従っ
て、この場合の伝送符号の情報量は74ビツトとなる。 第1図(+)の伝送符号を電気信号に変えて伝送すれば
、受信側において、まず、第1図(1)の各コードが白
ラン又は黒ランBの何ビットから成っているかについて
判別し〔第1図(h)、次に、前記判別した信号におけ
る連続した白ランの中間に前記黒ランにを挿入し〔第1
図(i))、これから2値画像信号を作り〔第1図(h
)〕に大略等しい、そして前記2値画像信号に基づいて
再生画像〔第1図(&)に大略等しい〕を得るものであ
る。 ここで、第1図(e)の略号(2偵画像信号)を第1図
(h)の略号に変えると共に、第1図(i)の伝送符号
に変換する事を、便宜上、信号変換Cと呼ぶ事にする。 前記信号変換Cによれば、−走査における全ビット数が
第1図(C)の略号と同じ<140ビツトとなり、前記
黒う/にを適当に選べば前記走査方向(左右)に短縮又
は伸長する事がない、第1図(C)の略号(z値画像信
号)は140ビツト、第1図(f)並びに第1図(i)
の伝送符号は共に74ビツトであるから、前記圧縮率は
140÷74−1.89となり、前記ランレングス符号
化処理だけによる圧縮率(1,54)と比較すると約の
圧縮率向上がみられる。このように、前記信号変換B又
は前記信号変換Cを用いた本実施例のファクシミリ装置
は、従来のランレングス符号化処理(前記信号変換A)
よりも更に圧縮率を高める事が出来るものである0次に
、本実施例のファクシミリ装置について、具体的なa 
IJIを行なう。 第3図において、駆動部5はパルスモータとその駆動回
路から成り、後述する原稿駆動信号19−aによって、
前記走査線群2の1ライン分ずつ原稿lを−送りする。 送信原稿lは、前記駆動部5によって、駆動される送り
ローラ6と該送りローラ6に対向して設けられた押圧ロ
ーラ6′とによって挟持搬送される。 送信原稿lに記載されている文字7等の映像は、光学系
8によって読取り部9(例えば。 COD、  フォトダイオードアレイ等のイメージセン
サとその駆動回路により構成される)に結像する。読取
り部9では、後述の読取り開始信号18−aによりlラ
イフ分の走査を開始する。前記走査によって1ライン分
の画像信号を読み取ると共に、第1図(b)に示した2
値画像信号に変換すると、該2値画像信号は、書き込み
クロック9−a、ORゲート11、出力11−aを経た
ゲート信号に応じ、信号線9−bを介してラインバッフ
ァ10に書き込まれる。この時、該1.!き込みクロッ
ク9−aはカウンタ12により21敗される。lライン
の全情報量を2048ビツトとすると、カウンタ12は
2048を計数した時に、キャリイ信号12−&を送出
するように構成される。前記キャリイ信号12−aは、
バッファー・フル番フラグフリップ拳フロップ(以下F
/Fと記す)13のセット端子に入力されている。また
、 F/F13のリセット端子には、前記の読取り開始
信号18−aが入力されている6以上の構成において、
7ンドゲート18から読み取り開始信号18−aが送出
されると、読み取り部が1ラインの読取り動作を開始し
、読み取り部9からの書き込みクロック9−aに同期し
て、2値画像信号9−bをライン参へソファlOに送出
する。F/F−13は、lラインの読み取り動作が開始
した時にOFF状態となり、読み取り動作が終了した時
、すなわちラインバッファ10に2048ビツトの1ラ
インの全情報が書き込まれた時に、ON状75となる。 ラインバッファlOは、前記読取り部9の読み取り速度
(前記2値画像信号の内容に関係なく大略一定である)
と、コントローラ21の符号化処理速度(前記2値画像
信号の内容によって大幅に変化する)との速度差を緩衝
し、前記2値画像信号の伝達を円滑に行なうために設け
たものであり、ここでは1つのラインバッファを用いた
具体例を示したが、2つのラインバッファを交互に用い
れば、さらに効率が上がることは1周知の事実である。 コントローラ21は、ファクシミリ装置全体のシーケン
スの制御を行なうと共に、前記ラインバッファ10に記
憶された2値画像信号に対して、第1図の説明で述べた
信号変換B又はCを行なう、前記コントローラは、マイ
クロコンピュータのほか、ハードワイヤ型制御論理回路
によっても実現される。 なお、コントローラ21は、本発明のファクシミリ装置
において、最も重要な部分であるからデコーダ20と共
に後で詳しく述へる$にする。 コントローラ21で作られた伝送符号は、21−Cのデ
ータ・パスを介してFirst  InFirst  
Out (以後FIFOと記す)メモリ24に蓄えられ
る。前記FIFOメモリは、コントローラ21による伝
送符号の送出速度と、後述する変復調装@(以後モデム
と記す)28による伝送符号の送出速度との速度差を緩
衝する為に設けられたものである。FIFOメモリの特
性に関しては、例えば米国のFai rchi ld 
 社の製品でMOS  LSI3351のカタログに詳
細に記述されており、周知であるのでここでは説明は割
愛する。コントローラ21は、FIFOメモ1J24に
お1t6FIFo  INPUTREADY端子(以後
FYRDYと記す)からのFIRDYセンス信号24−
a、ANDゲート22を経た信号22−aを調べる。こ
の時、FIFOメモリが満杯であれば、FIRDYはO
FF、FIFOメモリにデータを記憶する余地があれば
FIRDYはONとなる。従ってコントローラ21は、
FIRDY  ONの時に。 伝達符号をデータバス21−Cを介してFIFOメモリ
24に書き込む、〔この時、書き込みクロックはシフト
イン信号23−aによりFIFOメ+1Jcr+5)I
IFT  N(以1ksIと記t)端子に与えられる。 )FIFOメそりに記憶された伝送符号は、out端子
から信号線24−すを介してパラレルインシリアルアウ
トシフトレジスタ25に送られる。前記シフトレジスタ
25は、24−bを介して入力された8ビツトパラレル
の伝送符号を、i力線25−aを介して、モデム28に
順次送出を行なう、モデム28は、送信クロック28−
bに同期して前記シフトレジスタ25より順次伝送符号
を取り出す、前記送信クロック28−bは、同時に8進
カウンタ27に入力され計数される。8aカウンタ27
は、8つ計数する毎にキャリイ信号27−aを送出する
。前記キャリイ信号27−aは、前記シフトレジスタ2
5のLOAD端子に入力されている。この構成によりモ
デム28が8ビツトの伝送符号を送出終了する毎に、シ
フトレジスタ25に、新しい8ビツトの伝送符号がFI
FOメモリ24より出力される。また前記キャリイ信号
27−&は、ディレィ回路26にも入力されており、該
ディレィ回路26の出力26−aは、FIFOメモリ2
4のシフトアウト(以後SOと記す)端子に入力されて
いる。この構成により、シフトレジスタ25が。 新しい8ビツトの伝送符号をラッチした後に、FIFO
メそりにシフトアウト信号26−aが与えられる。モデ
ム28は、不図示の変復調回路とレベル調節回路から成
っている。前記シフトレジスタ25から出力線25−a
を介して取り込まれた伝送符号は、まず、モデム28に
おける不図示の前記変復調回路に入力され変調が行なわ
れる。ファクシミリ装置は電話回線を通じて画像信号を
伝送するものであり、電話回線の伝送可能な周波数帯域
は一般に300Hzから3.4 K Hzとなっている
。しかし、シフトレジスタ25からの伝送符号には直流
つまりOHzの信号が含まれており、このままでは電話
回線で符号を伝送する事が出来ない、そこで、搬送周波
数を電話回線で伝送可能な周波数に設定し、前記搬送周
波数を前記伝送符号で変調すれば前記伝送符号を電話回
線で伝送することが可能となる。(搬送周波数を異にす
るがラジオのAM変調、FMyR調と大略同じ原理であ
る。更にPM変調、その他の変調方式を採用する事もで
きる。)また、前記符号の伝送に際して、相手側との信
号の授受(例えば伝送符号を受信したという確認信号を
前記伝送符号の送信側が受信する)があるため、相手側
からの変調された送信信号を復調する必要を受信したと
いう確認信号を前記伝送符号の送信側が受信する)があ
るため、相手側からの変調された送信信号を復調する必
要を生じる場合がある。不図示の前記変復調回路は、前
述の変調、復調を行ない、シフトレジスタ25からの符
号を伝送可能な信号に変換すると共に、相手側から送ら
れた0号を復調するものである。不図示の前記変復調回
路の出力は不図示の1iij記レベルし!節回路に入力
される。不図示の前記レベル調節回路は、変調された伝
送符号の出力過大によって発生する電話回線網への悪影
響、相手側から送られる信号の入力過大によって発生す
る当該装置への悪影響、同様に出力過少、入力過少によ
って発生するトラブル等を防止するために設けられたも
のである。このように、モデム28においては、シフト
レジスタ25から送られた伝送符号の変調、相手側から
送られて来た信号の復調、伝送符号等のレベル調節を行
なって電話回線による信号の授受を円滑に行わしめるも
のである。そして出力線28−aから符号化された信号
を送出する。 次に、コントローラ21の内部構成図を図4に示す、ま
た、コントローラ中のCPUであるi nt e 18
080の内部構成図を図5に示す、コントローラ21は
、米国1nte1社のマイクロコンピュータ8080−
21−dを中心に、ROM(製品名8316以下同様)
 、 21−e、 RAM(8101) 21−f、5
TATUS  LATCH(8212)21−1.バス
ドライバー(a212) 21−g、21−h、21−
i、およびクロックパルス発生器21−kにより構成さ
れる。また。 第3図における14−a、 15−a、 22−*は第
4図の21−oによって代表されている。前記コントロ
ーラの基本動作及びCPU内部における動作に関しては
。 1nte1社の8080Microcomputer 
 SystemsLJ56r′S Manual等の文
献に詳細に示されており、又8080のソフトウェアに
間しては1nte1社の8080As semb ly
 Language Programmi ngMan
ual等の文献に詳細に示されているので。 ここでは詳細な説明は割愛する。コントローラ21と、
外部I10とのイイターフエイスについて以下に説明す
る。アドレス書バス21−bはデコーダ20に入力され
各種I10選択信号がつくられる。各種I10とデコー
ダ出力との関係を以下の通り表2に示す。 表  2 表2のように、各デコーダ出方各々ゲートを通って各I
10に対する制御信号を作る0例えば。 第3図において、駆動部5に与えられる原稿駆動信号−
19−aは、前記の駆動部選択信号20−cとコントロ
ーラ21からのWR信号21−aがANDゲー)19−
c論理ANDがとられた結果作られるものである0次に
各ゲートにより作成されるI10制御制御先もとめたも
のを表3に示す。 以上の構成により、前記1947分の情報処理が進行し
、更に第3図のコントローラ21から原稿駆動信号19
−aが、駆動部5に入力されると前記送りローラ6と押
圧ローラ6′が送信原稿lを、副走査方向(図の上又は
下)に1ライン分だけ送って〔wIJ1図(a)に示し
た走査線2−1から走査線?−2へ〕次の1ライン(走
査線2−2)を読取り部9で読み取る。以下同様にして
走査を行ない、送信原稿1の全面を走査する。 第6図(a)、(b)、(c)に示したフローチャート
は、前記コントローラ21においておこなわれる前記記
号変換B、Cの情報処理過程を表わし、第6図(d)は
走査線の両端が黒ランの時の処理方法を表わす、また、
第7図に示した経路衣は、第6図(&)のフローチャー
トに従って処理をしてゆく際の処理経路を表わしたもの
で、木が右側の経路を辿って処理される事を表わしてい
る。更に、第8図(a)は、コントローラ内部のROM
2 L−eを、第8図(b)はRAM21−fの内部メ
モリマツプをそれぞれ示している。 まず、第6図(L)に用いられている記号の説明を以下
に行なう。 RL:16ビツト ラン長カウンタ 2l−f−イ(第
8図に示す) ML:16ビツト 白ラン長レジスタ 2l−f−口(
第8図に示す) BL:16ビツト 黒ラン長レジスタ 2l−f−ハ(
第8図に示す) LCNT:16ビツト ラインカウンタ 2l−f−ホ
(第8図に示す) D=1新データメモリ 2l−d−イ(第5図に示す) MOD:旧データメモリ 2l−d−口(第5図に示す
) B:黒ビットを表わす(= l)ROM中のプログラム
の中に記憶されている W:白ビットを表わす(=O) MIN=定数(=3)ROM中のプログラムの中に記憶
されている MAX:定数(=9) BR:8ビツト演算結果メモリ 2l−f−二(第8図
に示す) D工S:識別ビットメモリ21−d−ハ(第5図に示す
) さらに、第6図(a)における口=二コの記号はサブ・
ルーチンを表わしている。 ea    +t  とロロロロ]]コについては第6
図(b)、(c)にそれぞれ説明されている。但し第6
図(C)に示したロロコロロロロサブ・ルーチンは第6
図(a)の中で記述されてないので、以下に簡単に説明
する。該サブ自ルーチンは、前記の第2図で説明した、
W y l eの符号化手法により、RLに記憶されて
いるデータを第2図に示すWyle符号に変換し、前記
FIFOメモリ24に8ビット単位で送出する仕事を行
う、FIFOメモリ24には、第1図(i)で示される
様式の伝送符号が記憶されることになる。前記Wyle
の符号化手法に対する詳細な説明は、Wyleの符号化
手法そのものがWyleの論文(l(。 Wyle  etal”Reducedtimefac
simle  transmiSsionby  di
gital  codIg″IRETranS、Com
−9,P215 (1961−09))に詳細に記述さ
れておりコントローラ21又はそれと同等の機能を持つ
装置によって容易に実現されることは明らかであるので
、ここでは説明を割愛する。なお、第6図(a)におけ
る(注1)で省略する黒ランは、ラン長(RL) がM
I N≦RL<MAXの条件を満たす黒ランであり、(
注2)で行なう演算は整数演算であり、(注3)におい
ては第6図(d)の下に示した例の如く各ラインの両端
の黒は必ず送信するものである。 次に、第7図の説明及び、第6図(a)のフローチャー
トの動作説明のために、第7図の2値画像信号のうち*
印のついたz値画像信号lラインを考えてその処理を説
明する。第6図C&)と第7図において まず経路29
からスタートする。1ラインの処理を行なうにあたり、
初期の設定として、WL、BL、BRにOを書き込む、
またI、CNTに負の1ラインのビットpを、すなわち
の場合には(−16)を書き込む0次にRead  B
itサブ・ルーチンを実行する。〔第6図(b)参照〕
、ここでは コントローラ21はライ/バッファ選択信
号20−aを出すことで、まずANDゲート15を通し
てライン、<ツファ10の1ビツトを2値画像信号15
−aとして取り込み、該lビットを新データとして新デ
ータメモリD(21−d−イ)に書き込む0次にLCN
Tの内容に+1を加算する0以上で  ea    i
tサブ・ルーチンの仕事を終了する6次に、RLに1を
書!込む0次に経路30に進みDの内容をMOD21−
d−口に書き込んでから、経路31で、    ea 
   it  サブ・ルーチンを実行する。ソノ後MO
D (21−d−1))、!=D(21−d−イ)の内
容が等しいか否かを判断する。この場合には、MOD≠
Dとなるので経路33を通り、次にMOD=Wか否かを
判断する。この場合にはYESなので、経路37を通っ
て、WLにRLの内容(この場合RL= 1である)を
書き込み、その後RLには1を書き込んでLCNT=0
か否かを判断する。LCNT=−14なのでNoとなり
経路50を通って、経路30に戻る。そこで、D21−
d−1の内容をMOD(21−d−口)に書き込みea
d   it  サブ・ルーチンを実行する。その後M
OD=Dかを判断する。今度はYESなので経路32を
通り、R1,に2を書込みLCNT= Oかを判断する
。 I、CNT=−13なのでNoとなり、経路35を
通って経路31に戻り前記の動作をくり返す、そして、
16ビツトからなる1ライン分の2値画像信号の左端か
ら数えて6番目のデータがD(2L−d−イ)に、5番
目のデータがMODC21−d−口)に古き込まれ、R
L=4.LCNT=−10となった時に、MOD=Dか
の判断がNoとなり。 経路33を通って経路34へ進む0次にMOD;Wかの
判断はNOなので、経路36へと進む      ゛こ
こでRLは3 (MIN)<RL (= 4)≦9(M
AX)の条件を満たしているので、YESとなり経路3
8へ進む、ここで(RL−MIN)の整数計算を行い、
その差をBR(21−f−二)に書き込む0次にWL=
Oか否かの判断を行う、この判断は、現在RL(21−
f−イ)にそのラン長を記憶されている黒う/が、1ラ
インの左端にある黒ランであるか否かを判断するために
行う、ここではWL、、lであるので。 経路40へと進む0次にLCNT=Oか否かのl!鴫断
を行う、この判断は、RL(21−f−口)にそのラン
長が記憶されている黒ランが1ラインの右端にある黒ラ
ンか否かを判別する為に行う、ここではLCNT=−1
0なので経路42へと進む、そしてBL(21−f−ハ
)にOを書き込み、WLに(WLの内容)と(BRの内
容/2)を加えた結果を書き込む、この場合BR=1な
ので整数計算の結果1未満が切捨てられWL= 1十壺
=1となる。 次にBRが奇数か否かの判断を行う、BR=1なのでY
ESとなり経路45へ進み、WL(21−f−口)に1
+1 =2を書き込む、その後BRにOを書き込み経路
48へ進む0次にDLS (21−d−ハ)にW(=O
)を書き込み、RL(21,−f−イ)にWL(21−
f−口)の内容を書き込んだ後に  en=]ロコサブ
・ルーチンへ進む、〔第6図(C) 参照〕。 enコCコサブール−チンでは、まず RL=Oか否かの判断を行う、この場合RL−2である
ので次にDIS(21−d−ハ)の内容(この場合には
白ランを示す情報′がDISに記憶されている)をFI
FOメモリ24に送出し、次に前述の口[ロロロロロサ
ブ・ルーチンを実行する6以上でC1四ロ]ロコサブ舎
ルーチンの処理を終了して、メイン会フローに戻る。 次に、DLS (21−d−ハ)にEC=1)を書き込
み、その内容をFIFOメモリ24に送出し1次に、前
述のロロコロロ]ロサブ。 ルーチンを実行する。モしてRL(21−f−イ)に(
BR+1)を書き込み、次に、BR(21−f−二)と
、BL (21−f−ハ)に各々Oを書き込んだ後LC
NT=αか否かを判断する。LCNT=−10なのでN
oとなり、経路51を通って経路30へ戻る。そして経
路31−経路32−経路35を10回くり返した後、R
L= 11.LCNT−0,Mop=o=Oとなった状
態で経路34に進む0次にMOD=Wか否かの判断をし
て、YESとなるので経路37を通ってRL(21−f
−イ)の内容をWL(21−f−口)に書き込み、RL
(21−f−イ)に1を書き込みLCNT= Oかの判
断をし、YESなので経路49を通って経路48へ進む
。 次に、前述と同じ動作をくり返す、今回は、WL=11
.BL=Qのため、白のランだけがeロコロコサブ・ル
ーチンによりRL 変換送出される。そして、経路52へ進み、MOD=D
か否かの判断はYESであるので、経路54を通って1
ラインの処理が終了する。 以上説明してきた1ライン分の2値画像信号の処理過程
の他に他の23通りの2 (m画像信号に対する処理過
程を@7図に示した前述したように、前述の説明の中で
の、メモリへの書き込み、読み出し動作、演算処理、大
小判断、一致の判断等、コントローラ21内部での具体
的な処理動作については、前記1nte1社の2冊のユ
ーザーズマニュアルに詳細に記述されているので、ここ
では説明を割愛する。 又、コントローラ?■に、以と説明してきたCPUより
も、さらに上位のCPU(処理速度。 処理機能の点で1nte18080よりも優れているも
の)を用いれば、OCR技術では既知の技術である細め
処理を行うことができ、該細め処理によって画情報の線
巾を(前記信号変換Cを行う前に)一定にしておけば、
前記信号変換Cの適用可能な範囲をさらに広げることが
できる。 く効果〉 以上の如く1本発明のファクシミリ装置は送信原稿画像
を読み取る読取手段(読取部a)、読取手段により得ら
れた2値化画像信号を取り込み順次送信用符号に圧縮符
号化する符号化プログラムと、前記読取手段の動作を制
御する制御プログラムを格納したプログラムメモリを有
するプログラム制御手段(コントローラ21)、圧縮符
号化された送信用符号を一時格納する符号メモリ(FI
FOメそり24)、前記符号メモリから読み出したデー
タを送信の為に変調する変調半没(モデム28)より成
るものである。 かかる構成により、従来複雑なハードウェア回路が必要
であった符号化処理回路を簡略化できると共に、符号化
方式の変更はプログラムの変更だけで対処できる。更に
読取部の制御をもプログラム制御手段で実行することに
より、符号化と密接な関係をもつ読取を正確なタイミン
グで実行することができるものである。 4、図面の簡単な説明 第1図C&)は文字を主体とした送信原稿の正面図、第
1図(b)は第1図(a)の送信原稿を走査して得た2
値画像信号、第1図(C)は第2図の2値画像信号の略
号、m1図(d)は第1図(C)の略号に基づいて圧縮
処理した伝送符号、第1図(e)は第1図(c)の略号
に信号変換Bを施した略号、第1図(f)は第1図(e
)の略号に基づいて圧縮処理を行ない、更に識別符号を
先頭に附加した伝送符号、第1図(g)は第1図(f)
の伝送符号を受信して第1図(e)の略号に戻し更に、
J!I統する白ランの間に黒ランAを加えた略号、第1
rI!1(h)は、第1図(C)の略号に信号変換Cを
施した略号、第1図(i)は、第1図(h)の略号に基
づいて圧縮処理を行ない、更に識別符号を先頭に附加し
た伝送符号、第1図N)は、第1図(i)の伝送符号を
受信して第1図(h)の略号に戻し更に、連続する白テ
ンの間に黒ランA゛を加えた略号、第2図は、Wyle
の符号化コード囚、第3図は4:発明によるファクンミ
リ装置の回路構成図、第4図はコントローラの構成図、
第5図は、cpuの内部構成図 、1m6図(a)は、
コントローラで行われる情報処理のフローチャート図、
第6図(b)は第6図(a)におけるRead  Bi
tのフローチャート図、第6図(C)は、第6図(&)
における5enRLのフローチャート図、WIJ6図(
d)は、走査線の両端が黒ランの時の処理説明図、第7
図は、第6図(a)〜(C)のフローチャートに従った
情報処理の処理経路図、第8図(&)は、ROMの内部
メモリマツプ図、第8図(b)はRAMの内部メモリマ
ツプ図、である。 なお1図において。 1 ・・・ 送信原稿 5 ・・・ 駆動部 6 ・・・ 送りローラ 6 ・・・ 押圧ローラ 8 ・・・ 光学系 9 ・・・ 読取り部 lO・・・ ラインバッファ 11 ・・・ ORゲート 12 ・・・ カウンタ 13 ・・・ バッファフルプラグフリップフロップ1
4.15,17,18,19,22.23  ・・・A
NDゲート 16 ・・・ NOT回路 20 ・・・ デコーダ 21 ・・・ コントローラ 21−d  ・  CPU(8080)21−e  −
・−ROM 21−f ・・・ RAM 24 ・・・ FIFOメモリ 25 ・・・ シフトレジスタ 26 ・・・ ディレィ回路 27 ・・・ 8進カウンタ 28 ・・・ モデム  である。
Figure 1: Figure 1 is a front view of the transmitted manuscript, which mainly consists of text.
Figure 1 (bl is the binary image signal obtained by scanning the transmitted original in Figure 1 (al), Figure 1 (e) is the abbreviation for the binary image signal in Figure 2, Figure 1 (dl is the symbol in Figure 1) (Transmission code compressed based on the abbreviation of C1, tel in FIG. 1 is the abbreviation of signal conversion B applied to the abbreviation of C1, FIG. 1 (fl is based on the abbreviation of FIG. 1(e)) After receiving the transmission code in which an identification code is preliminarily added to the bundle, the transmission code shown in Fig. 1 (- is shown in Fig. 1 (f) is received and converted back to the abbreviation of el in Fig. The abbreviation in Figure 1 (h) is the abbreviation of the term "White Run" plus "Black Run".
FIG. 1(i) is a transmission code in which compression processing is performed based on the abbreviation in FIG. 1(hl) and an identification code is added to the beginning. Happy 1st figure (
j) receives the transmission code of FIG. 1(1) and transmits the transmission code of FIG. 1(h
The abbreviation is changed back to the abbreviation of l, and the abbreviation is changed to K, and the black run is added to the consecutive white runs.
. ω encoding code, FIG. 5 is a circuit configuration diagram of a facsimile apparatus according to the present invention, FIG. 4 is a configuration diagram of a controller, m
s is an internal configuration diagram of the CPU, FIG.
Figure Φ) is a 7CI-chart diagram of RaadBit in Figure 6 Tal, Figure 6 (cl is 7a-f+- of Sen RL in Figure 6 (al), Figure 6 (d)
is an explanatory diagram of the process when both ends of the scanning line are black runs, *71f
Figure 6 (al~(cl)y a -5-q)
FIG. 8(b) is an internal memory map diagram of OM, and FIG. 8(b) is an internal memory map diagram of tiR person M. In the figure, 1 is the transmission source 4115, the drive unit 6 is the feed roller, ◇ is the pressure roller 8 is the optical system, and 9 is lIi! 4L circuit 10 is a line buffer 11 is an OR gate 12 is a counter 13 is a buffer full flag flip-flop 14.15
.. 17.18.19.22.23 is ANL) Game 116
is NOT@@20 is decoder 21 is j7toa
-La 21-d is CPU (8080)21-
C is ROM21-f is 8 M24 is FIFO memory 25 is shift register 26F
i-delay circuit 27 is 81 counter 28 is modem Patent applicant Canon Co., Ltd. 68 Figure (Kuji <b) Procedural amendment stamped) November 5, 1985 1, case display October 4, 1985 Patent application submitted on date (5) No suffix 2, title of invention 3, relationship with the case of the person making the amendment Patent applicant address Address: 3-30-2 Shimomaruko, Ota-ku, Tokyo Address: 146
3-30-25, Shimomaruko, Ota-ku, Tokyo, the entire text of Statement of the Subject of Amendment 6 and Statement of Contents of Amendment shall be amended as attached. Description 1, Title of the Invention Facsimile device 2, Claims Reading means for reading the image of the transmitted manuscript. A program control means having a program memory storing an encoding program for capturing a z-valued image signal obtained by a reading means and sequentially compression-encoding it into a code for transmission, and a control program for controlling the operation of the reading means, a compression code. 1. A facsimile device comprising: a code memory that temporarily stores encoded transmission codes; and a modulation unit that modulates data read from the code memory for transmission. 3. Detailed Description of the Invention The present invention scans a document to be transmitted (hereinafter referred to as a transmission document) and obtains a white or black signal (hereinafter referred to as a binary image signal). This invention relates to a facsimile machine that removes redundancy and transmits a band-compressed signal. <Prior Art> Conventionally, a facsimile machine as disclosed in, for example, Japanese Unexamined Patent Publication No. 49-49520 has been known. Such a device performs run-length encoding on the read image signal,
Furthermore, a series of processing to convert the data into compressed code was performed in hardware. This required a complex circuit. Furthermore, since the control of the reading section is performed by hardware, the synchronization relationship between compression encoding and the control of the reading section becomes complicated. Purpose C> In view of the drawbacks of the prior art as described above, the present invention efficiently executes reading and encoding processes by using program control means such as a microprocessor for compression encoding processing and reading unit control. The purpose is to provide a facsimile machine that can. Embodiment> Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings. FIG. 1 (1) shows a method of scanning a transmitted document in the facsimile machine of this embodiment, and FIGS. , are described in order. 1 shown in FIG. Scanning line 2-1゜2-2.2-
3 scans first from the left end to the right end along the scanning line 2-1, and then from the left end to the right end along the scanning line 2-2. Furthermore, scanning line 2-3. The subsequent scanning lines (not shown) are also scanned in the same manner as described above. The binary image signal in FIG. 1(b) represents a signal obtained when scanning is performed along the scanning line 2-1. Signal of black background part 1-1 etc. at black level 3. The signal of the white portion 1-2 is expressed at its own level 4. First, when scanning starts from the left end along the scanning line 2-1, the black runs 3a, 3 belonging to the black level 3 are found in the portion of the letter A.
ai is obtained, and in the same way, black run 3b with letter B is
In the letter C, the black run 3c is a letter, and the black run 3d, 3d' is the letter E, and the black run 3e is the letter F, and the black run 3f is the letter G.
So black run 3g is obtained on one literature, and black run 3h and 3h' are obtained respectively. Between each of the black runs, there are white runs belonging to the own level, and these are arranged as white runs 4-1, 4-2, .
-----4-12. Said black run 3 a to 3 h'
, white run 4-1-4-12, the amount of information (bits) and abbreviations for each are shown in Table 1. Therefore, the total amount of ffI information for # information is the sum of the 9 black run bits and the white run bit. Because it is. There are 140 bits in total. FIG. 1(C) shows the abbreviations shown in Table 1 (black runs are represented by B, white runs are represented by W). The number written after B or W above is
bits), thus visually representing the binary image signal in an easy-to-understand manner.] are arranged according to the scanning progress (from left to right) shown in FIG. 1(b). FIG. 1(d) shows a transmission code that has been subjected to the compression process (one-dimensional run-length encoding process using Wele's encoding code) based on the abbreviations shown in FIG. 1(C). Here, the one-dimensional run-length encoding process means that all bits of the binary image signal are encoded and expressed in a binary scale (hereinafter referred to as run length). It is a bandwidth compression method that reduces the number of
The Wyle encoding code refers to the encoding of the binary image signal using the method shown in FIG. 2 (other encoding methods such as Huffman code and Golomb code have been proposed). , omitted here.) 110110 written at the upper left corner of Fig. 1 (cl) is shown in Fig. 1 (C
), and 010 following the 110110 in FIG. 1(d) corresponds to the W15 in FIG. 1(C).
15 followed by <83. And, the same applies hereafter. Therefore, reference numeral 1 in FIG. 1(d)
10110.010. ----- is the abbreviation W in Figure 1 (C)
i 5 , B 3 , ---1 are respectively encoded. Here, the encoding code of W y 1 e will be explained. In the Wyle encoding code shown in FIG. 2, the encoding code is an address (a code that determines the code length and bias) followed by a reminder (a code that determines the run length). For example, The black run 3a (abbreviation B3) is 3 bits, so to encode it, just look at the right side of "3" in the "white or black run length" column, and if the address is "0". ”, and the reminder is “10”, so it becomes ro l OJ. Similarly, when 10 bits are encoded, it becomes 110001.15
When a bit (for example, the abbreviation W15) is encoded, it is 110
110 (omitted in FIG. 2). In this way, the abbreviation (binary image signal) shown in FIG. 1(C) can be converted into the transmission code shown in FIG. 1(d). (The rWyle encoding code in the present invention refers to the "white or black run length" of 1025 to 1152, M a r
In the gin part. One rOJ is added to each right end of the "address" to form IO bits. ) The amount of information in the transmission code converted by the Wyle encoding code is how many O's or 1's there are. Therefore, the total amount of information in Fig. 1(d) is 91 bits, which is 140 bits in the 1st m(C).
If you compare it with bit, you can see that it is compressed. Generally, the compression ratio is expressed as the total number of pits for one line divided by the total number of bits after compression processing. The compression ratio is 140÷91-1.54. Note that in the transmission code of i1 figure (d), the first block (
110110) shown in the upper left is always regarded as a white run, and since the self-number and black numbers are displayed alternately, the transmission code does not require an identification signal to distinguish between the white run and the black run. , if the transmission code shown in Figure 1(d) is changed to an electrical signal and transmitted, the receiving side will first receive the transmission code shown in Figure 1(d).
Determine how many bits of the own run or black run each code in d) consists of (FIG. 1 (C)), and then create a binary image signal by the above determination (FIG. 1 (B)), Then, based on the binary image signal, a reproduced image [Fig. 1(a)
equal to]. Here, for convenience, converting the abbreviation (z-value image signal) in the tJSt diagram (C) to the transmission code in FIG. 1 (cl) will be referred to as signal conversion A. (This belongs to traditional code conversion). This is because the character shown in FIG. 1 (&) is made up of a combination of line segments with approximately constant width. The bits of the black run change depending on the direction (inclination) of the line segment. Therefore, the black runs are a signal consisting of a relatively short black run (referred to as black run A) to represent a vertical (top and bottom of the figure) or diagonal direction, and a horizontal direction (left and right of the figure).
In order to represent a line segment facing , a signal consisting of a relatively long black run (referred to as black run B) can be divided into 2iliTl. In the threshold values of black run A and black run B, the upper value (M
AX) @9 bits, lower value (MIN) is 3 bits,
Black run A is a black run in the range of less than 9 bits and 3 bits or more, and black run B is a black run other than the above (less than 3 bits or 9 bits or more).
bit or more), then the abbreviation B3 in Figure 1(C)
.. B4 is a black run A, and B9 is a black run B. FIG. 1(e) is the result of removing only the information on black run A from all the information in FIG. 1(c) (consisting of black runs and white runs), and the information on consecutive white runs (for example, W15 and W2) is removed. This means that there existed. In FIG. 1(f), the abbreviations in FIG. 1(6) are encoded according to the WYle encoding code, and furthermore, at the beginning of each code, there is an identification bit (O representing a white run or 1 representing a black run B) ( This is a transmission code with a grained O or l) added. The identification bit was added because it became necessary to distinguish between the white run and the black run B after selectively removing only the black run A. Therefore, the information amount of the transmission code in FIG. 1(f) becomes 74 bits by adding the above-mentioned identification bit.The transmission code in FIG. 1(f) is converted into an electrical signal and transmitted. Receive on the receiving@ side. Depending on the received signal, first, it is determined whether the code block (for example, 0110110) marked with #marked bits represents the run length of white ten or the run length of black run B. . Next, the code is decoded to determine the run length of each run (
From Figure 1 (f) to Figure 1 Ce)], the white run is 2
black run K (
In the black run that is inserted arbitrarily on the receiving side, the black run A (instead of 7, here it is 3 bits) is inserted [from Figure 1 (e) to Figure 1 (g)]. The black runs to be printed have an appropriate run length determined in advance (corresponding to the width of the line segment in the received recorded image, and approximately 0.5
The black run A portion before transmission becomes a black run on the receiving side. To be more specific, Figure 1 (
Black run A in the binary image signals of b) and (c) is. 3ax3cx3dx3d'x3f=3g before transmission
=3h=3h'-83, 3m-3e-84 relationship [first
Figure (C)], but the receiving side made a black run 8' (-B3).
Because it is replaced by . 3ILx3asa3csw3dx3d'm3ex3fx
3g = = 3h bite 3h' Hatchling B3 Figure 1 (g)
It is converted to an abbreviation such as . Therefore, the transmission code of Fig. 1 CF>! If you change it to an air signal and transmit it, on the receiving side,
First, let's determine how many bits of white ten or black run B each code in FIG.
e)), then insert the black run between consecutive 100 runs in the discriminated signal [FIG. 1(g)),
From this, a binary image signal is generated (approximately equivalent to FIG. 1(b)), and a reproduced image (approximately equivalent to FIG. 1(a)) is obtained based on the binary image signal. Here, for convenience, we change the abbreviation (2 (1 image (3)) in Figure 1(c) to the abbreviation in Figure 1(e) and convert it to the transmission code in Figure 1(f). This will be referred to as conversion B. Since the signal conversion B simply aligns the bits of the black run A, the binary image signal reproduced on the receiving side will be changed in the scanning direction (left and right) depending on how the black run N is selected. [Fig. 1(C) is 140 bits, while Fig. 1(g) is 138 bits], this point has been improved, and the scanning direction (left and right) is In order to prevent the bits from changing, instead of simply extracting the black run A from the abbreviations in FIG. You can adjust the difference between black run A and black run A' in advance with the white run after #.
To describe it in terms of A-body, first, black marten 3g in Figure 1(c):
3e are both 4 pits (B4), so in order to make the same bit as the black run 8', one black bit is subtracted to make it 3 pits 1-(B3). The bit is regarded as a white bit, and this is the black run 3a, 3e.
White run 4-2. before (possibly after).
Add to 4-7. (Fig. 1(j) is obtained), and if black run A is removed, the abbreviation shown in Fig. 1(h) is obtained. 1st
In FIG. 1(i), the abbreviations in FIG. 1(h) are encoded according to Wyle's encoding code, and 0 is added at the beginning of each hood.
or a transmission code to which l identification bits are added. Therefore, the information amount of the transmission code in this case is 74 bits. If the transmission code in Figure 1 (+) is changed to an electrical signal and transmitted, the receiving side first determines how many bits of white run or black run B each code in Figure 1 (1) consists of. [FIG. 1(h)] Next, the black run is inserted between consecutive white runs in the discriminated signal [the first
Figure (i)), create a binary image signal from this [Figure 1 (h
)], and a reproduced image [approximately equal to (&) in FIG. 1] is obtained based on the binary image signal. Here, for convenience, we will change the abbreviation (secondary image signal) in FIG. 1(e) to the abbreviation in FIG. 1(h) and convert it to the transmission code in FIG. 1(i). I will call it. According to the signal conversion C, the total number of bits in -scanning becomes <140 bits, which is the same as the abbreviation in FIG. There is nothing to do, the abbreviation (z-value image signal) in Figure 1(C) is 140 bits, Figure 1(f) and Figure 1(i)
Since both transmission codes are 74 bits, the compression ratio is 140÷74-1.89, which shows an improvement in the compression ratio of about 1.54 when compared to the compression ratio (1,54) obtained only by the run-length encoding process. . In this way, the facsimile apparatus of this embodiment using the signal conversion B or the signal conversion C performs the conventional run-length encoding process (the signal conversion A).
It is possible to further increase the compression rate.
Perform IJI. In FIG. 3, the drive section 5 consists of a pulse motor and its drive circuit, and is driven by a document drive signal 19-a, which will be described later.
The original l is fed one line at a time in the scanning line group 2. The transmission document l is nipped and conveyed by a feed roller 6 driven by the drive section 5 and a pressure roller 6' provided opposite to the feed roller 6. An image of characters 7 and the like written on the transmission document 1 is imaged by an optical system 8 on a reading unit 9 (for example, composed of an image sensor such as a COD or a photodiode array and its driving circuit). The reading section 9 starts scanning for one life in response to a reading start signal 18-a, which will be described later. By the scanning, one line worth of image signals is read, and the two lines shown in FIG. 1(b) are read.
When converted into a value image signal, the binary image signal is written to the line buffer 10 via the signal line 9-b in response to a gate signal that has passed through the write clock 9-a, the OR gate 11, and the output 11-a. At this time, 1. ! The read clock 9-a is defeated by 21 by the counter 12. Assuming that the total amount of information on the l line is 2048 bits, the counter 12 is configured to send out a carry signal 12-& when it counts 2048 bits. The carry signal 12-a is
Buffer full number flag flip fist flop (F
/F) is input to the set terminal 13. Further, in the configuration of six or more in which the reading start signal 18-a is inputted to the reset terminal of the F/F 13,
When the read start signal 18-a is sent from the seventh gate 18, the reading section starts reading one line, and in synchronization with the write clock 9-a from the reading section 9, the binary image signal 9-b is output. is sent to the sofa lO to the line reference. The F/F-13 goes into the OFF state when the reading operation of 1 line starts, and turns into the ON state 75 when the reading operation is finished, that is, when all the information of one line of 2048 bits has been written to the line buffer 10. Become. The line buffer lO is the reading speed of the reading section 9 (which is approximately constant regardless of the content of the binary image signal).
and the encoding processing speed of the controller 21 (which varies greatly depending on the content of the binary image signal), and is provided to buffer the speed difference between the encoder and the encoding processing speed of the controller 21, and to smoothly transmit the binary image signal. Although a specific example using one line buffer has been shown here, it is a well-known fact that efficiency can be further improved if two line buffers are used alternately. The controller 21 controls the entire sequence of the facsimile machine, and also performs the signal conversion B or C described in the explanation of FIG. 1 on the binary image signal stored in the line buffer 10. , can be realized not only by microcomputers but also by hardwired control logic circuits. Note that since the controller 21 is the most important part in the facsimile apparatus of the present invention, it will be described in detail later together with the decoder 20. The transmission code created by the controller 21 is transmitted to the First InFirst through the data path of 21-C.
Out (hereinafter referred to as FIFO) is stored in the memory 24. The FIFO memory is provided to buffer the speed difference between the transmission code transmission speed by the controller 21 and the transmission code transmission speed by the modulation/demodulation device (hereinafter referred to as modem) 28, which will be described later. Regarding the characteristics of FIFO memory, for example, Fairchild in the United States
Since it is a product of the company and is described in detail in the MOS LSI3351 catalog and is well known, a detailed explanation will be omitted here. The controller 21 sends the FIRDY sense signal 24- from the 1t6FIFo INPUTREADY terminal (hereinafter referred to as FYRDY) to the FIFO memory 1J24.
a, examine the signal 22-a that has passed through the AND gate 22; At this time, if the FIFO memory is full, FIRDY is set to O.
If there is room to store data in the FF or FIFO memory, FIRDY is turned ON. Therefore, the controller 21
At the time of FIRDY ON. Write the transmission code to the FIFO memory 24 via the data bus 21-C. [At this time, the write clock is set to the FIFO memory +1Jcr+5)I by the shift-in signal 23-a.
It is applied to the IFT N (hereinafter referred to as 1ksI) terminal. ) The transmission code stored in the FIFO memory is sent from the out terminal to the parallel-in serial out shift register 25 via the signal line 24-. The shift register 25 sequentially sends the 8-bit parallel transmission code inputted through the input signal 24-b to the modem 28 through the i-line 25-a.
The transmission clock 28-b, which sequentially takes out transmission codes from the shift register 25 in synchronization with the transmission clock 28-b, is simultaneously input to the octal counter 27 and counted. 8a counter 27
sends out a carry signal 27-a every time it counts eight. The carry signal 27-a is transmitted to the shift register 2.
It is input to the LOAD terminal of No.5. With this configuration, each time the modem 28 finishes transmitting an 8-bit transmission code, a new 8-bit transmission code is stored in the shift register 25.
It is output from the FO memory 24. The carry signal 27-& is also input to the delay circuit 26, and the output 26-a of the delay circuit 26 is sent to the FIFO memory 2.
It is input to the shift out (hereinafter referred to as SO) terminal of No. 4. With this configuration, the shift register 25. After latching the new 8-bit transmission code, the FIFO
A shift out signal 26-a is applied to the memory. The modem 28 consists of a modulation/demodulation circuit and a level adjustment circuit (not shown). Output line 25-a from the shift register 25
The transmission code taken in via the modem 28 is first input to the modulation/demodulation circuit (not shown) in the modem 28 and modulated. A facsimile device transmits an image signal through a telephone line, and the frequency band that can be transmitted by the telephone line is generally from 300 Hz to 3.4 KHz. However, the transmission code from the shift register 25 contains a direct current or OHz signal, and the code cannot be transmitted over a telephone line as it is. Therefore, the carrier frequency is set to a frequency that can be transmitted over a telephone line. However, if the carrier frequency is modulated with the transmission code, the transmission code can be transmitted over a telephone line. (Although the carrier frequency is different, the principle is roughly the same as radio AM modulation and FMyR modulation. Furthermore, PM modulation and other modulation methods can also be adopted.) In addition, when transmitting the above code, Because signals are exchanged (for example, the sending side of the transmission code receives a confirmation signal indicating that the transmission code has been received), the transmission code receives a confirmation signal indicating that it has received the need to demodulate the modulated transmission signal from the other party. (received by the transmitter), it may be necessary to demodulate the modulated transmission signal from the other party. The modulation/demodulation circuit (not shown) performs the above-mentioned modulation and demodulation, converts the code from the shift register 25 into a transmittable signal, and demodulates the 0 code sent from the other party. The output of the modulation/demodulation circuit (not shown) is at the level 1iij (not shown)! input into the node circuit. The level adjustment circuit (not shown) is configured to prevent an adverse effect on the telephone line network caused by an excessive output of a modulated transmission code, an adverse effect on the device caused by an excessive input of a signal sent from the other party, an insufficient output, This is provided to prevent troubles caused by insufficient input. In this way, the modem 28 modulates the transmission code sent from the shift register 25, demodulates the signal sent from the other party, and adjusts the level of the transmission code, etc., to smoothly transmit and receive signals over the telephone line. It shall be carried out accordingly. Then, the encoded signal is sent out from the output line 28-a. Next, the internal configuration diagram of the controller 21 is shown in FIG.
The internal configuration diagram of 080 is shown in FIG. 5. The controller 21 is a microcomputer 8080-
Mainly 21-d, ROM (product name 8316 and below)
, 21-e, RAM (8101) 21-f, 5
TATUS LATCH (8212) 21-1. Bus driver (a212) 21-g, 21-h, 21-
i, and a clock pulse generator 21-k. Also. 14-a, 15-a, and 22-* in FIG. 3 are represented by 21-o in FIG. Regarding the basic operation of the controller and the operation inside the CPU. 1nte1 company's 8080 Microcomputer
SystemsLJ56r'S Manual and other documents provide detailed information, and 8080 software is provided by 1nte1's 8080As sembly.
Language ProgrammingMan
As detailed in the literature of ual et al. A detailed explanation will be omitted here. controller 21;
The interface with the external I10 will be explained below. The address bus 21-b is input to the decoder 20, and various I10 selection signals are generated. The relationship between various I10 and decoder output is shown in Table 2 below. Table 2 As shown in Table 2, each decoder outputs each I
For example, 0 makes a control signal for 10. In FIG. 3, the document drive signal given to the drive unit 5 -
19-a is an AND game of the drive section selection signal 20-c and the WR signal 21-a from the controller 21).
Table 3 shows the I10 control destination created by each gate of the 0th order, which is created as a result of the c logical AND. With the above configuration, the information processing for the 1947 minutes is progressed, and the document drive signal 19 is sent from the controller 21 in FIG.
-a is input to the drive unit 5, the feed roller 6 and the pressure roller 6' feed the transmission document l by one line in the sub-scanning direction (up or down in the figure) [wIJ1 (a) Scanning lines from scanning line 2-1 shown in ? -2] The next line (scanning line 2-2) is read by the reading section 9. Thereafter, scanning is performed in the same manner, and the entire surface of the transmission document 1 is scanned. The flowcharts shown in FIGS. 6(a), (b), and (c) represent the information processing process of the symbol conversions B and C performed in the controller 21, and FIG. 6(d) shows the information processing process at both ends of the scanning line. represents the processing method when there is a black run, and
The path shown in Figure 7 represents the processing route when processing is performed according to the flowchart in Figure 6 (&), and represents that the tree is processed by following the path on the right. . Furthermore, FIG. 8(a) shows the ROM inside the controller.
2Le and FIG. 8(b) show the internal memory map of the RAM 21-f, respectively. First, the symbols used in FIG. 6(L) will be explained below. RL: 16 bits Run length counter 2l-f-i (shown in Figure 8) ML: 16 bits White run length register 2l-f-i (shown in Figure 8)
(shown in Figure 8) BL: 16 bits Black run length register 2l-f-c (
LCNT: 16-bit line counter 2l-f-ho (shown in Fig. 8) D=1 new data memory 2l-d-i (shown in Fig. 5) MOD: Old data memory 2l-d - Mouth (as shown in Figure 5) B: Represents a black bit (=l) Stored in the program in the ROM W: Represents a white bit (=O) MIN=Constant (=3) Stored in the program in the ROM MAX stored in the program: constant (=9) BR: 8-bit operation result memory 2l-f-2 (shown in Figure 8) D: identification bit memory 21-d-c (shown in Figure 5) (shown in Figure 6(a)) Furthermore, the symbol for 口=niko in Figure 6(a) is a sub-
It represents a routine. Regarding ea +t and lololoro]]ko, the sixth
This is explained in Figures (b) and (c), respectively. However, the sixth
The RoroCoroRororo subroutine shown in Figure (C) is the 6th subroutine.
Since it is not described in Figure (a), it will be briefly explained below. The subroutine is as explained in FIG. 2 above.
The FIFO memory 24 has the task of converting the data stored in the RL into the Wyle code shown in FIG. 2 using the Wyle encoding method and transmitting it to the FIFO memory 24 in 8-bit units. A transmission code in the format shown in FIG. 1(i) will be stored. Said Wyle
For a detailed explanation of the encoding method, please refer to Wyle's paper (l(.
SIMLE TRANSMISION BY DI
digital codIg″IRETranS, Com
9, P. 215 (1961-09)), and it is obvious that it can be easily realized by the controller 21 or a device having an equivalent function, so a description thereof will be omitted here. Note that the black runs omitted in (Note 1) in Fig. 6(a) have run lengths (RL) of M
It is a black run that satisfies the condition of IN≦RL<MAX, and (
The calculations performed in Note 2) are integer calculations, and in Note 3, the black at both ends of each line is always transmitted, as shown in the example shown at the bottom of Figure 6(d). Next, in order to explain FIG. 7 and explain the operation of the flowchart in FIG. 6(a), * of the binary image signals in FIG.
The processing will be explained by considering the marked z-value image signal l line. In Figure 6 C&) and Figure 7, first route 29
Start from. When processing one line,
As an initial setting, write O to WL, BL, and BR.
Also, write the negative 1 line bit p to I, CNT, that is, (-16) in the case of 0th order Read B
Execute the it subroutine. [See Figure 6(b)]
, here, the controller 21 outputs the line/buffer selection signal 20-a, and first selects 1 bit of the line < 10 through the AND gate 15 as the binary image signal 15
-a, and write the l bit as new data to new data memory D (21-d-i).
Add +1 to the contents of T ea i
t Finish the work of the subroutine 6 Next, write 1 to RL! 0 Next, go to route 30 and change the contents of D to MOD21-
d- After writing in the mouth, on route 31, ea
it Executes the subroutine. MO after sono
D (21-d-1)),! It is determined whether the contents of =D (21-d-i) are equal. In this case, MOD≠
Since it becomes D, it passes through route 33, and then it is determined whether MOD=W or not. In this case, the answer is YES, so write the contents of RL (in this case RL = 1) to WL via path 37, then write 1 to RL and set LCNT = 0.
Determine whether or not. Since LCNT=-14, the result is No, and the process returns to route 30 via route 50. Therefore, D21-
Write the contents of d-1 to MOD (21-d-port)ea
Execute the d it subroutine. Then M
Determine whether OD=D. This time, the answer is YES, so it passes through route 32, writes 2 to R1, and determines whether LCNT=O. Since I, CNT=-13, the result is No, and the process returns to path 31 through path 35 and repeats the above operation, and
The 6th data counting from the left end of the binary image signal for 1 line consisting of 16 bits is stored in D (2L-d-i), the 5th data is stored in MODC 21-d-port), and R
L=4. When LCNT=-10, the judgment as to whether MOD=D becomes No. Proceed to route 34 through route 33 0th order MOD; Since the judgment of W is NO, proceed to route 36 ゛Here, RL is 3 (MIN) < RL (= 4) ≦ 9 (M
Since the conditions of AX) are met, the answer is YES and route 3
Proceed to 8, here perform integer calculation of (RL-MIN),
Write the difference to BR (21-f-2) 0th order WL =
A judgment is made as to whether or not the current RL (21-
This is done in order to judge whether the black run length whose run length is stored in f-a) is the black run at the left end of one line.Here, it is WL,,l. l of whether LCNT=O or not in the 0th order proceeding to route 40! This judgment is made to determine whether the black run whose run length is stored in RL (21-f-) is the black run at the right end of one line. =-1
Since it is 0, proceed to route 42, write O to BL (21-f-c), and write the result of adding (contents of WL) and (contents of BR/2) to WL. In this case, BR = 1, so As a result of integer calculation, the numbers less than 1 are rounded down and WL=10 tsubo=1. Next, determine whether BR is an odd number or not.Since BR=1, Y
Become ES, proceed to route 45, and take 1 to WL (21-f-exit).
Write +1 = 2, then write O to BR Proceed to path 48 0 Next, write W (=O
) and write WL(21-
After writing the contents of en=], proceed to the loco subroutine [see FIG. 6(C)]. In the encoC subroutine, first it is determined whether RL=O or not.In this case, it is RL-2, so next, the content of DIS (21-d-c) (in this case, information indicating white run) is determined. ’ is stored in DIS) as FI
The process is then sent to the FO memory 24, and then the processing of the above-mentioned mouth [C1 4 RO when 6 or more is 6 or more to execute the loco subroutine] is completed, and the process returns to the main session flow. Next, write EC=1) in the DLS (21-d-c), send the contents to the FIFO memory 24, and then perform the above-mentioned ROROCOLORO] ROSAB. Run the routine. RL (21-f-i) (
Write BR+1), then write O to BR (21-f-2) and BL (21-f-c), and then write LC.
Determine whether NT=α. Since LCNT=-10, N
o, and returns to route 30 via route 51. After repeating route 31 - route 32 - route 35 10 times, R
L=11. With LCNT-0, Mop=o=O, proceed to route 34. Next, it is determined whether MOD=W or not. Since it is YES, proceed through route 37 and proceed to RL (21-f
- Write the contents of b) to WL (21-f-guchi) and RL
It writes 1 to (21-f-i) and judges whether LCNT=O, and since it is YES, it proceeds to route 48 via route 49. Next, repeat the same operation as above, this time, WL=11
.. Since BL=Q, only the white run is RL converted and sent by the e LocoRoco subroutine. Then, proceed to route 52 and MOD=D
Since the determination as to whether or not
Line processing ends. In addition to the processing process for the binary image signal for one line that has been explained above, there are other 23 types of processing process for the 2 (m image signal) shown in Figure @7. The specific processing operations inside the controller 21, such as writing to memory, reading operations, arithmetic processing, size judgment, and match judgment, are described in detail in the two user's manuals of 1nte1. , I will omit the explanation here.Also, if you use a CPU (processing speed, which is superior to 1nte 18080 in terms of processing functions) that is even higher than the CPU explained below for the controller, it will be possible to perform OCR. In the art, it is possible to perform thinning processing, which is a known technique, and if the line width of the image information is made constant by the thinning processing (before performing the signal conversion C),
The applicable range of the signal conversion C can be further expanded. Effects> As described above, the facsimile apparatus of the present invention includes a reading means (reading section a) for reading a transmitted original image, and an encoding system that takes in a binary image signal obtained by the reading means and sequentially compresses and encodes it into a code for transmission. A program control means (controller 21) having a program memory storing a program and a control program for controlling the operation of the reading means, a code memory (FI
FO memory 24), a modulator (modem 28) that modulates the data read from the code memory for transmission. With this configuration, the encoding processing circuit, which conventionally required a complicated hardware circuit, can be simplified, and the encoding method can be changed simply by changing the program. Furthermore, by controlling the reading section using the program control means, reading, which is closely related to encoding, can be performed at accurate timing. 4. Brief explanation of the drawings Figure 1C&) is a front view of the transmitted manuscript mainly consisting of text, and Figure 1(b) is a front view of the transmitted manuscript of Figure 1(a) obtained by scanning the transmitted manuscript.
Figure 1 (C) is the abbreviation for the binary image signal in Figure 2, m1 (d) is the transmission code compressed based on the abbreviation in Figure 1 (C), Figure 1 (e ) is the abbreviation in Fig. 1(c) that has undergone signal conversion B, and Fig. 1(f) is the abbreviation in Fig. 1(e).
), and an identification code is added to the beginning of the transmission code, Figure 1(g) is the same as Figure 1(f)
receiving the transmission code and returning it to the abbreviation shown in FIG. 1(e);
J! An abbreviation with a black run A added between the white runs leading to I, 1st
rI! 1(h) is a symbol obtained by applying signal conversion C to the symbol in FIG. 1(C), and FIG. 1(i) is a symbol obtained by performing compression processing based on the symbol in FIG. The transmission code with ``N'' added to the beginning, Figure 1N), receives the transmission code of Figure 1(i) and returns it to the abbreviation of Figure 1(h). Abbreviations with ゛ added, Figure 2 are Wyle
Figure 3 is a circuit configuration diagram of the facun milli device according to the invention, Figure 4 is a configuration diagram of the controller,
Figure 5 is the internal configuration diagram of the CPU, and Figure 1m6 (a) is
A flowchart diagram of information processing performed by the controller,
Figure 6(b) is the Read Bi in Figure 6(a).
Flow chart diagram of t, Figure 6 (C) is Figure 6 (&)
5enRL flowchart diagram, WIJ6 diagram (
d) is a processing explanatory diagram when both ends of the scanning line are black runs, No. 7
The figure is a processing route diagram of information processing according to the flowcharts in Figures 6 (a) to (C), Figure 8 (&) is an internal memory map diagram of the ROM, and Figure 8 (b) is an internal memory map diagram of the RAM. Figure. In addition, in Figure 1. 1... Transmission document 5... Drive section 6... Feed roller 6... Press roller 8... Optical system 9... Reading section lO... Line buffer 11... OR gate 12... ... Counter 13 ... Buffer full plug flip-flop 1
4.15, 17, 18, 19, 22.23...A
ND gate 16 ... NOT circuit 20 ... Decoder 21 ... Controller 21-d ・CPU (8080) 21-e -
-ROM 21-f... RAM 24... FIFO memory 25... Shift register 26... Delay circuit 27... Octal counter 28... Modem.

Claims (1)

【特許請求の範囲】[Claims] (1)送信原稿の走査によつて得た2つの明るさを表わ
す2値画像信号、前記2値画像信号の内、一方の信号の
一部若しくは全部を削除して送信する事を特徴とするフ
ァクシミリ装置。
(1) A binary image signal representing two levels of brightness obtained by scanning a transmission document, characterized in that one of the binary image signals is partially or completely deleted before being transmitted. facsimile machine.
JP22255885A 1985-10-04 1985-10-04 Facsimile equipment Pending JPS61105174A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22255885A JPS61105174A (en) 1985-10-04 1985-10-04 Facsimile equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22255885A JPS61105174A (en) 1985-10-04 1985-10-04 Facsimile equipment

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP5024177A Division JPS53135218A (en) 1977-04-30 1977-04-30 Facsimile equipment

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP1135238A Division JPH0671312B2 (en) 1989-05-29 1989-05-29 Fax machine

Publications (1)

Publication Number Publication Date
JPS61105174A true JPS61105174A (en) 1986-05-23

Family

ID=16784330

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22255885A Pending JPS61105174A (en) 1985-10-04 1985-10-04 Facsimile equipment

Country Status (1)

Country Link
JP (1) JPS61105174A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5162909A (en) * 1974-11-30 1976-05-31 Comtec Kk
JPS5261424A (en) * 1975-11-17 1977-05-20 Olympus Optical Co Ltd Encode system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5162909A (en) * 1974-11-30 1976-05-31 Comtec Kk
JPS5261424A (en) * 1975-11-17 1977-05-20 Olympus Optical Co Ltd Encode system

Similar Documents

Publication Publication Date Title
US4193097A (en) Facsimile apparatus
JPS61105174A (en) Facsimile equipment
JPH0671312B2 (en) Fax machine
JPH0320102B2 (en)
JPS61176254A (en) Picture transmitter
JPH0497650A (en) Print system for remote facsimile equipment
JP2574609B2 (en) Facsimile machine
KR0128667B1 (en) Mh code decoding device
JP2941836B2 (en) Image processing device
JPS61284173A (en) Facsimile equipment using transmission and reception in common
JPS61176255A (en) Picture transmitter
JPH03183267A (en) Facsimile communication system
JPS6243260A (en) Facsimile equipment
JPH0442665A (en) Facsimile equipment
JPS59117368A (en) Composite facsimile device
JPS61176270A (en) Picture transmitter
JPH02222262A (en) Facsimile equipment
JPS6037673B2 (en) Image signal transmission method
JPS61176269A (en) Picture transmitter
JPS61179676A (en) Coding method
JP2000165630A (en) Image data communication method
JPS61176250A (en) Picture transmitter
JPH04351167A (en) Facsimile equipment
JPH01292963A (en) Facsimile equipment
JPS61176285A (en) Picture transmitter