JPH0787507B2 - Image transmitter - Google Patents
Image transmitterInfo
- Publication number
- JPH0787507B2 JPH0787507B2 JP60017019A JP1701985A JPH0787507B2 JP H0787507 B2 JPH0787507 B2 JP H0787507B2 JP 60017019 A JP60017019 A JP 60017019A JP 1701985 A JP1701985 A JP 1701985A JP H0787507 B2 JPH0787507 B2 JP H0787507B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- code
- scanning line
- image
- line
- 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.)
- Expired - Lifetime
Links
Landscapes
- Editing Of Facsimile Originals (AREA)
- Facsimiles In General (AREA)
Description
【発明の詳細な説明】 〈技術分野〉 本発明は画像信号を送信する画像送信装置に関し、特に
画像信号を記憶する記憶手段を備えた画像送信装置に関
する。Description: TECHNICAL FIELD The present invention relates to an image transmitting apparatus for transmitting an image signal, and more particularly to an image transmitting apparatus including a storage unit for storing an image signal.
〈従来技術〉 従来、かかる画像送信装置として画像メモリ付きのフア
クシミリ装置が知られている。<Prior Art> Conventionally, a facsimile device with an image memory is known as such an image transmitting device.
画像メモリは同一の画像データを種々の相手先に送信す
る場合や、送信の際、相手先とつながらなかった場合に
は原稿画像を装置に記憶させることができるので極めて
有用である。The image memory is extremely useful when the same image data is transmitted to various destinations, or the original image can be stored in the apparatus when it is not connected to the destination at the time of transmission.
しかしながら、複数の交信先の記録走査線密度が異なる
場合、同一の画像データを送ったにも拘らず、記録画像
が長く伸びたり、縮んだりしてしまうことがある。However, when the recording scan line densities of a plurality of communication destinations are different, the recorded image may be elongated or contracted in spite of sending the same image data.
〈目 的〉 本発明は、上述の如き問題点に鑑み、記憶手段に記憶さ
れた複数頁分の画像信号の走査線密度を、たとえ、夫々
の頁の走査線密度がちがっていても、送信先に応じて高
速に変換できる画像送信装置の提供を目的としている。<Objective> In view of the above problems, the present invention transmits the scanning line densities of the image signals for a plurality of pages stored in the storage unit even if the scanning line densities of the respective pages are different. It is an object of the present invention to provide an image transmitting device that can perform high-speed conversion according to the above.
本発明は、この目的を達成するため、複数の走査線密度
で一ライン毎に読み取り可能な読取手段と、前記読取手
段により読み取られた画像信号をライン毎に符号化する
符号化手段と、前記符号化手段によりライン毎に符号化
された画像信号をライン間の区切りを示す区切リデータ
とともに複数頁分記憶する第一の記憶手段と、前記第一
の記憶手段に記憶された複数頁分の画像信号の夫々の頁
の走査線密度を示すデータを記憶する第二の記憶手段
と、前記画像信号の送信先から走査線密度を指定する信
号を受信する受信手段と、画像送信に先立つ前手順によ
り、前記第二の記憶手段に記憶されたデータにより示さ
れる走査線密度が前記受信手段により受信された信号に
より指定された走査線密度より高いと判別されると、前
記送信先から指定された走査線密度に合う様に前記第一
の記憶手段に記憶された画像信号を前記区切りデータに
応じて間引いて送信する画像信号送信手段と、前記画像
信号送信手段により一頁分の画像信号の送信終了後に次
の頁の走査線密度が送信済の頁の走査線密度と同じか否
かを前記第二の記憶手段に記憶された送信済の頁の走査
線密度と次の頁の走査線密度を示すデータに基づいて判
別する判別手段と、前記判別手段により次の頁の走査線
密度が送信済の頁の走査線密度と同じと判別された場
合、次の頁を同一走査線密度で送信することを示す手順
信号を送信し、同じでないと判別された場合、前手順を
もう一度行なうことを示す手順信号を送信する手順信号
送信手段とを設けたものである。In order to achieve this object, the present invention provides a reading unit that can read line by line at a plurality of scanning line densities, an encoding unit that encodes an image signal read by the reading unit for each line, and First storage means for storing a plurality of pages of image signals encoded line by line by the encoding means together with delimiter data indicating delimiters between lines, and images for a plurality of pages stored in the first storage means The second storage means for storing the data indicating the scanning line density of each page of the signal, the receiving means for receiving the signal designating the scanning line density from the destination of the image signal, by the pre-procedure prior to the image transmission When it is determined that the scanning line density indicated by the data stored in the second storage means is higher than the scanning line density designated by the signal received by the receiving means, the scanning line density designated by the destination is specified. Image signal transmission means for thinning and transmitting the image signal stored in the first storage means according to the delimiter data so as to match the scanning line density, and the image signal for one page by the image signal transmission means. After the transmission is completed, it is determined whether the scanning line density of the next page is the same as the scanning line density of the transmitted page. The scanning line density of the transmitted page and the scanning line of the next page stored in the second storage means. When the discriminating means for discriminating on the basis of the data indicating the density and the scanning line density of the next page are discriminated to be the same as the scanning line density of the transmitted page by the discriminating means, the next page is scanned with the same scanning line density. A procedure signal transmitting means for transmitting a procedure signal indicating that the procedure is to be transmitted and transmitting a procedure signal indicating that the pre-procedure is performed again when it is determined that they are not the same.
〈実施例〉 以下、本発明を実現するファクシミリ装置の一実施例を
詳細に説明する。<Embodiment> An embodiment of a facsimile apparatus for realizing the present invention will be described in detail below.
(機構系) 第1図にフアクシミリ装置の断面図を示す。図において
は41はCCD固体ラインイメージセンサ、42は結像レン
ズ、43はミラー、44は原稿照明用ランプ、45は原稿給紙
ローラ、46は原稿排紙ローラ、47は原稿給紙トレー、31
は給紙トレー上の原稿の有無を検出する原稿検出センサ
である。(Mechanical System) FIG. 1 shows a sectional view of the facsimile machine. In the figure, 41 is a CCD solid line image sensor, 42 is an image forming lens, 43 is a mirror, 44 is an original illumination lamp, 45 is an original feeding roller, 46 is an original discharging roller, 47 is an original feeding tray, 31
Is a document detection sensor that detects the presence or absence of a document on the paper feed tray.
又、34はロール紙収納カバー、35はロール紙、36は原稿
及び記録紙の排紙トレー、37はカッター、38はロール紙
排出ローラ、39はロール紙搬送ローラ、40は記録ヘツ
ド、33はカバー34の開閉を検出するロール紙カバーセン
サである。Further, 34 is a roll paper storage cover, 35 is roll paper, 36 is an original and recording paper discharge tray, 37 is a cutter, 38 is a roll paper discharge roller, 39 is a roll paper conveying roller, 40 is a recording head, and 33 is a recording head. A roll paper cover sensor that detects opening / closing of the cover 34.
図において原稿読取時には、原稿給紙トレー47上の原稿
がローラ45、46で搬送される。読取位置Pでランプ44に
より原稿は照射され、その反射光がミラー43、レンズ42
を介してイメージセンサ41上に結像され、イメージセン
サ41は画像を電気信号に変換する。In the figure, at the time of reading the original, the original on the original feeding tray 47 is conveyed by rollers 45 and 46. The original is illuminated by the lamp 44 at the reading position P, and the reflected light is reflected by the mirror 43 and the lens 42.
An image is formed on the image sensor 41 via the, and the image sensor 41 converts the image into an electric signal.
一方記録時にはロール紙35がローラ39とヘツド40に挟持
されて搬送されると同時に感熱ロール紙35上にヘツド40
により画像が形成される。そして一頁分の記録が終了す
るとカツタ37によりロール紙35はカツトされ、排紙トレ
ー36上にローラ38により排出される。On the other hand, at the time of recording, the roll paper 35 is nipped by the roller 39 and the head 40 and conveyed, and at the same time, the head 40 is put on the heat-sensitive roll paper 35.
An image is formed by. When the recording for one page is completed, the roll paper 35 is cut by the cutter 37 and discharged onto the paper discharge tray 36 by the roller 38.
(基本ブロツク) 第2図(A)は本実施例のフアクシミリ装置の基本制御
ブロツク図である。図において1は原稿画像を読取り電
気的画像信号に変換する読取部、3,5,7,はその一つの態
様として前記画像信号を一時貯えるバツフアとして機能
するランダムアクセスメモリ(以下RAM)、9は画像信
号を数ページ分貯える画像メモリとして機能するフアー
ストインフアーストアウトRAM(以下FIFORAM)、11はMP
U23の動作プログラムを格納したリードオンリーメモリ
(以下ROM)、13はMPUの動作に必要なフラグ、データ等
を格納するRAM、15は入力キー、表示器等を有する操作
部、17は感熱紙上にコピー画像、受信画像、管理データ
を記録する記録部、19は送信データを変調し、受信デー
タを復調するモデム、20は電話器、21は通信回線22をモ
デム19或は電話器20に接続制御する網制御ユニツト(以
下NCU)、25は原稿画像の他に発信時刻、発信元の名称
を画像データとして送信したり、通信管理データを記録
したりする為の文字フオントを格納している文字発生器
(以下CG)、23はシステム全体をコントロールするMPU
である。MPU23として本実施例では16bitのデータバス24
と、最大4メガバイトまでのメモリ空間を直接アクセス
することが可能なインテル社製8086を用いている。(Basic Block) FIG. 2 (A) is a basic control block diagram of the facsimile machine of this embodiment. In the figure, reference numeral 1 is a reading unit for reading an original image and converting it into an electric image signal, and 3, 5, 7, as one mode thereof, a random access memory (hereinafter referred to as RAM) functioning as a buffer for temporarily storing the image signal, 9 is Fast-in-fast-out RAM (hereinafter FIFORAM) that functions as an image memory that stores image signals for several pages, 11 MP
Read-only memory (hereinafter ROM) that stores the operation program of U23, 13 is a RAM that stores the flags and data necessary for MPU operation, 15 is an operation unit that has input keys and a display, and 17 is a thermal paper. A recording unit for recording copy images, received images and management data, 19 a modem for modulating transmission data and demodulating the received data, 20 a telephone, 21 a communication line 22 for controlling connection of the modem 19 or the telephone 20. A network control unit (NCU), 25 is a character generator that stores character fonts for transmitting the transmission time, the name of the transmission source as image data, and recording communication management data in addition to the original image. Container (hereinafter CG), 23 is an MPU that controls the entire system
Is. In this embodiment, as the MPU 23, a 16-bit data bus 24
And, Intel 8086 that can directly access the memory space of up to 4 megabytes is used.
このMPUを用いたことによるメリツトは、16bitのデータ
バスを有しているため、符号化された画像データの取扱
いが容易になった。例えばラン・レングスコードで2048
bitのデータを扱うためには12bitのデータが必要で、8b
itのMPUを用いるとアクセスを2回行わなければならな
いが、16bitならば1回のアクセスで済んでしまう。Since the Merit using this MPU has a 16-bit data bus, it is easy to handle encoded image data. For example, run length code 2048
12bit data is required to handle bit data, 8b
If you use it's MPU, you have to access it twice, but if it is 16 bits, you only need to access it once.
又、大容量のメモリ空間を直接アクセスできるので、シ
ステムのメモリを画像メモリとして用いて同報の機能を
持たせることが可能とたなった。従来の装置では外付け
のメモリユニツト、又は装置内であってもMPUがバスを
介して直接アクセスのできないようなメモリを用いて画
像メモリとして同報機能を持たせていたが回路の複雑
化、装置の大型化等の問題があった。Also, since a large capacity memory space can be directly accessed, it has become possible to use the system memory as an image memory to provide a broadcasting function. In the conventional device, an external memory unit was used, or a memory that could not be accessed directly by the MPU via the bus was used even within the device, but the broadcast function was provided as an image memory. There was a problem such as an increase in size.
(MPUの機能) MPU23の基本機能には第2図(B)に示すように6種が
ある。以下、各機能について説明する。(Function of MPU) There are six basic functions of the MPU 23, as shown in Fig. 2 (B). Each function will be described below.
エンコード機能 (ラン・レングス→MH、MRコード変換、その他) a)ラン・レングス→MHコード変換 エンコードを行う際にはまず、読取部1へ1ライン読取
命令を出す。すると読取部1は読取った1ライン分の画
像データをラン・レングスコードに変換し、RAM3へと書
込む、そしてMPU23はRAM3からラン・レングスコードを
読出し、それを用いてROM11内のコード変換テーブルを
ひいてきて、MHコードへ変換する。変換テーブルはROM1
1上に展開され、ラン・レングスコードをアドレスとし
てそのアドレスの示すランに対応するMHコードデータが
書込まれている。MHコードデータに構成を第3図の示
す。Encoding function (Run length → MH, MR code conversion, etc.) a) Run length → MH code conversion When performing encoding, first issue a 1-line read command to the reading unit 1. Then, the reading unit 1 converts the read image data of one line into a run length code and writes the run length code into the RAM3, and the MPU23 reads the run length code from the RAM3 and uses it to read the code conversion table in the ROM11. To convert to MH code. Conversion table is ROM1
MH code data corresponding to the run indicated by the address is written with the run length code as the address. The structure of the MH code data is shown in FIG.
第3図(A)において、上位12bitに左づめでMHコード
が入る。またMHコードは可変長符号であるため、下位4b
itにそのMHコードのコード長情報を入れてコード長の認
識を行わせている。上位12bitにMHコード割り当ててい
るがMHコード表には、最長13bitのコードが存在してい
る。それに対処するために、コード長が13bitのコード
に注目すると全てのコードの先頭(MSB)は“0"で始ま
っていることがわかる。そこで、変換テーブル中のデー
タは先頭の“0"を除いた12bitをMHコードとし、データ
長“13"の情報を付加している。そして、変換テーブル
をひいてデータ調が“13"である場合にはMPUがコードの
先頭に“0"を付加するという方法を用いている。In FIG. 3 (A), the MH code is entered in the upper 12 bits on the left. Since the MH code is a variable length code, the lower 4b
The code length information of the MH code is put in it to recognize the code length. Although the MH code is assigned to the upper 12 bits, there is a maximum 13-bit code in the MH code table. In order to deal with this, focusing on codes with a code length of 13 bits, it can be seen that the beginning (MSB) of all codes starts with "0". Therefore, in the data in the conversion table, 12 bits excluding the leading "0" are used as the MH code, and information of the data length "13" is added. Then, when the data tone is "13" by drawing the conversion table, the MPU adds "0" to the beginning of the code.
このようにすべてのMHコードとそのコード長がすべて16
bitの中に収まるので、16bitのMPU(マイクロ・プロセ
ツシング・ユニツト)での処理が容易となり、高速にMH
コードを探すことができる。Thus all MH codes and their code lengths are all 16
Since it fits in a bit, processing with a 16-bit MPU (micro processing unit) becomes easy, and high-speed MH
You can find the code.
b)ラン・レングス→MRコード変換 MRコードへの変換はCCITTのT4勧告に示されている基本
フローを参考にMPU23で行っているが、その基本フロー
中最も頻度が高く、また重要な項目として“画素の白/
黒反転の検出”がある。そこでその検出を容易に行なえ
るように読取部がRAM3へ書込むデータをランレングス・
コード化している。b) Run length → MR code conversion The conversion to MR code is performed by MPU23 with reference to the basic flow shown in CCITT's T4 recommendation. The most frequent and important items in the basic flow are as follows. “Pixel white /
There is "black inversion detection." Therefore, the reading unit writes run-length data to RAM3 so that the detection can be performed easily.
It is coded.
ランレングス・コードによりMRコードへの変換する為の
プログラムフローを第3図(B)に示し、パラメータb1
の決定サブルーチンを第3図(C)に示す。The program flow for converting to the MR code by the run length code is shown in Fig. 3 (B), and the parameter b1
FIG. 3 (C) shows the decision subroutine of.
第3図(B)においてまずパラメータa0,b1を0に初期
化し、対象ラインの次のランレングス・コードを読出す
ことにより、a1を決定し、b1を第3図(C)のルーチン
で決定した後、b2を参照ラインの次のRLコードを呼び出
して決めている。そしてT4勧告のMR符号化ルーチンでMR
符号が決められると同時にパラメータa0の次の値が決ま
る。In FIG. 3 (B), parameters a0 and b1 are first initialized to 0, and the run length code next to the target line is read to determine a1, and b1 is determined by the routine in FIG. 3 (C). After that, b2 is determined by calling the RL code next to the reference line. Then, the MR encoding routine recommended by T4
At the same time that the sign is decided, the next value of the parameter a0 is decided.
第3図(c)ではパラメータb1がa0より右側の対象ライ
ンにおいて、a0とは色(白,黒)の異なる最初の色の変
化点であるという勧告の定義に従い、決定される。In FIG. 3 (c), the parameter b1 is determined according to the definition of the recommendation that a0 is the change point of the first color different from a0 in the target line on the right side of a0.
このようにMRコードへの変換がランレングス・コードか
ら行なわれるので生の画像データから変換するのに比べ
て極めて高速かつ容易に行えるものである。Since the conversion to the MR code is performed from the run length code in this way, it is extremely fast and easy compared to the conversion from the raw image data.
c)CGコード→MHコード変換 本装置では、読取部で読取った画像データとの他にキヤ
ラクタ等の情報をMHコードに変換して画像データとして
送信する機能を有しているが、その方法は、まずCGコー
ドで、CG25からCGコードに対応する生データをひいてき
て、それをラン・レングスコードに変換し、更にMHコー
ドに変換して送信している。変換テーブル出力をラン・
レングスコードではなく、生データにしたのは、ラン・
レングスでテーブルを作るとコード数が多くなり、大き
なCGテーブルが必要となってしまうので、生データにし
てCG25の容量の削減を図るためである、また生データを
用いることにより、G2モード等の非圧縮モードでの伝送
の場合復号化が要らなくなるというメリツトもある。c) CG code → MH code conversion This device has a function of converting information such as charactor into MH code and transmitting it as image data in addition to the image data read by the reading unit. , First, with CG code, the raw data corresponding to the CG code is fetched from CG25, converted to run length code, and further converted to MH code for transmission. Run conversion table output
The run data is not the length code but the raw data.
If you create a table with a length, the number of codes will increase, and a large CG table will be required. This is to reduce the capacity of the CG25 by making it raw data. Also, by using raw data, G2 mode etc. There is also a merit that decoding is not required in the case of transmission in the non-compressed mode.
d)EOLの取扱い G3モードの送受において画像データはライン同期の形態
を用いており、そのためのライン同期信号としてEOL(E
nd OF Line)を設定している。EOLは連続する11ケの
“0"プラス1(MRの場合は更に1又は0がつく。)で構
成されている。d) Handling of EOL In G3 mode transmission / reception, image data uses a line synchronization form, and as a line synchronization signal therefor, EOL (EOL (E
nd OF Line) is set. EOL consists of 11 consecutive "0" s plus 1 (1 or 0 is added in case of MR).
MPU23は1ラインのエンド検出毎に、画像データにこのE
OLを付加して送出を行うが、このEOLを付加する際に、
送信ラインの電送時間の計算を行い、それが最小伝送時
間未満であった場合には、フィルビツトを挿入して最小
伝送時間になる様にしてからEOLを付加している。実際
の送信ではMHコードは一時FIFORAM99に蓄積され、MPUは
そのRAM9からコードを読出して送信を行っている。そし
て、最小伝送時間の計算及びフイルビツトの挿入は、MP
U23はRAM9からコードを読出し、送信する際に行われて
いる。そのため、RAM9から読出しを行う時のライン終了
信号EOL検出が重要な問題となってくる。そこで本装置
ではRAM9からの読出し時のEOL検出の簡単化及びEOL送出
の簡単化のために以下の様な方法を用いている。 The MPU23 adds this E to the image data for each line end detection.
The OL is added and sent, but when adding this EOL,
The transmission time of the transmission line is calculated, and if it is less than the minimum transmission time, a fill bit is inserted to make it the minimum transmission time and then EOL is added. In the actual transmission, the MH code is temporarily stored in the FIFORAM 99, and the MPU reads the code from the RAM 9 and transmits it. Then, the calculation of the minimum transmission time and the insertion of the file bit are performed by MP
U23 is performed when reading the code from RAM9 and transmitting it. Therefore, the detection of the line end signal EOL when reading from the RAM 9 becomes an important problem. Therefore, this device uses the following methods to simplify EOL detection and EOL transmission when reading from RAM9.
まずEOL取扱いの基本思想として (1)EOLの付加はRAM9への書込時に行う。First, as a basic idea of handling EOL (1) EOL is added when writing to RAM9.
(2)RAM9からの読出し時のEOL検出は2バイト連続0
で行う。(2) EOL detection when reading from RAM9 is 0 for 2 consecutive bytes
Done in.
(3)RAM9からのデータを送出時には2バイト連続の0
のうち、2バイト目の0は送出しない。(3) When sending out data from RAM9, 0 of 2 consecutive bytes
Of these, 0 of the 2nd byte is not transmitted.
の3点がある。以下2つのケースに場合分けで説明をし
てみる。There are three points. The two cases will be described below, depending on the case.
ラインの最終データ中の“1"が最終バイト中に存在する
場合のRAM9内のデータ及びEOLの記憶形態を第4図に示
す。図において最終バイトA目のDTは画像データであ
る。バイトAにはデータDTの後0をつめ、バイトB、C
はすべて0とし、Dバイト目に1Xを挿入する。ただし、
バイトAに挿入した0の数により、Dバイト目の1Xの前
の0の数を下表の如く変更する。FIG. 4 shows the storage form of the data and EOL in the RAM 9 when "1" in the final data of the line exists in the final byte. In the figure, DT of the last byte A is image data. Byte A is padded with 0 after data DT, bytes B, C
Is set to 0, and 1X is inserted at the D byte. However,
Depending on the number of 0s inserted in byte A, the number of 0s before 1X of the Dth byte is changed as shown in the table below.
この様にメモリ中のEOLの0を1バイト分除いて送出し
ても11個の0を確保できる。 In this way, 11 0s can be secured even if EOL 0s in the memory are sent after removing 1 byte.
次に最終バイト中にラインの最終データ中の“1"が存在
しない場合のRAM9内のデータ及びEOLの記憶形態を第5
図に示す。図に示す様に最終バイトAに含まれるデータ
DTが全て0の時はバイトAの残りにすべて0挿入し、次
のバイトBにも0を挿入する。そしてバイトCにはバイ
トAに挿入した0の数nを11から引いた数の0を挿入し
た後1×を入れる。Next, the storage form of the data and EOL in the RAM 9 when there is no "1" in the last data of the line in the last byte is
Shown in the figure. Data contained in the last byte A as shown in the figure
When DT is all 0s, all 0s are inserted in the rest of byte A, and 0s are also inserted in the next byte B. Then, in the byte C, the number n of 0s inserted in the byte A is subtracted from 11 and 0s are inserted, and then 1 × is inserted.
MHコードには最後に連続する0が4以上のものは存在し
ないので、Aバイト目に挿入される0の数で4以下は考
慮していない。 Since there is no last consecutive 0 or more 4 in the MH code, the number of 0s inserted in the A byte is not considered to be 4 or less.
また、白ラインスキツプ伝送を考えて、全白の判断基準
として、1ライン全て白データであった場合には2バイ
ト目の0を“01"(ヘキサ表示)として区別している。Further, considering white line skip transmission, as a judgment criterion for all white, when 1 line is all white data, 0 of the second byte is distinguished as "01" (hexadecimal display).
以上の様なフオーマツトでFIFORAM9に書込むことによ
り、RAM9からの読出し時のEOL検出は2バイト連続の0
又は1バイト0と“01"(ヘキサ)で容易に行なえる。
さらに読出したデータの送出を行う際に、2バイト目の
0(又は“01")を削除することにより簡単にEOLの送出
を行うこともできる。2バイト目の0の削除は行わなく
てもEOLの送出は可能であるが、削除することにより不
必要なデータの送出を行うことを防止して、伝送時間を
短くできる。By writing to FIFORAM9 with the above format, EOL detection at the time of reading from RAM9 is 0 for 2 consecutive bytes.
Or it can be easily done with 1 byte 0 and "01" (hex).
Further, when the read data is transmitted, the EOL can be easily transmitted by deleting the 0 (or "01") of the second byte. EOL can be sent without deleting the second byte 0, but by deleting it, unnecessary data can be prevented from being sent and the transmission time can be shortened.
デコード機能 (MH,MRコード→ランレングスコード) a)MHコード→ランレングスコード変換 エンコードの方法はFIFORAM9からMHコードを取り出して
きて、MH→ランレングス変換テーブルを用いて、デコー
ドを行うのであるが、テーブルのひき方は先に説明した
ランレングス→MHコード変換方法とは多少異なってい
る。Decoding function (MH, MR code → run length code) a) MH code → run length code conversion The encoding method is to fetch the MH code from FIFORAM9 and perform decoding using the MH → run length conversion table. , The way of drawing the table is slightly different from the run length → MH code conversion method described above.
第6図にMHコードからランレングスコードへの変換フロ
ーを示し、第7図にテーブルを示す。第6図のフローか
ら明らかな様にMHコードを1bitづつサーチしてゆき、0
ならば現在のアドレスポインタの示すアドレスのデー
タ、“1"ならばその次のアドレスのデータを見る。そし
てMBSが“1"ならばそのデータはランレングス、“0"な
らばアドレスレポインタへそのデータを書込み、次のサ
ーチのために使う。つまり、MSBが“1"のデータ(8で
始まるデータ)を見つけるまでは1bitづつMHコードをサ
ーチしてゆくのである。第7図にMHコード黒“0000111"
のサーチ例を示す。図より前述のコードは“黒12"のラ
ンレングスコードであることがわかる。FIG. 6 shows a conversion flow from MH code to run length code, and FIG. 7 shows a table. As is clear from the flow of FIG. 6, the MH code is searched bit by bit and 0
If so, the data at the address indicated by the current address pointer is checked, and if "1", the data at the next address is checked. If the MBS is "1", the data is run length, and if the MBS is "0", the data is written to the address pointer and used for the next search. That is, the MH code is searched bit by bit until the MSB finds "1" data (data starting with 8). MH code black "0000111" in Fig. 7.
The search example of From the figure, it can be seen that the above code is a run length code of "black 12".
そして変換テーブルは黒と白のコードで別のものにして
いる。その理由はMHコードが黒と白の異なるランレング
スで同一のものが存在するためである。And the conversion table is made different by the code of black and white. The reason is that the same MH code exists in different run lengths of black and white.
b)MRコード→ランレングス変換 変換テーブルを用いてMH→ランレングス変換と同様のテ
ーブルサーチ方法を行うのであるが、MSB=1のデータ
はランレングスコードではなく、プログラムの飛び先ア
ドレスが書き込まれている。そしてその飛び先で、その
MRコードに対応した処理を行い、ランレングスコードを
生成している。b) MR code → run length conversion A table search method similar to MH → run length conversion is performed using a conversion table, but the MSB = 1 data is not the run length code, but the jump destination address of the program is written. ing. And at the destination,
The processing corresponding to the MR code is performed and the run length code is generated.
MRコード化は2次元圧縮による符号化方式のため、1つ
のMRコードに対応するランレングスコードは存在しな
い。前ラインのデータをもとにMRコードを用いてランレ
ングスコードを作らなければならないので、テーブルに
はプログラムの飛び先アドレスが書き込まれているので
ある。第8図(A)にMRコード“000011"のテーブルサ
ーチ例を示す。Since MR encoding is a two-dimensional compression encoding method, there is no run length code corresponding to one MR code. Since the run length code must be created using the MR code based on the data of the previous line, the jump destination address of the program is written in the table. FIG. 8 (A) shows an example of a table search for MR code "000011".
(最小伝送時間の計算及びFillの挿入、削除) G3送信時に1ライン分のデータの後にEOLを付加して送
出しているが、この時送出した1ライン分のデータの伝
送時間を計算し、それが最小伝送時間未満であればFill
ビツト(データ0)を挿入し、最小伝送時間以上にして
からEOLを付加している。(Calculation of minimum transmission time and insertion / deletion of Fill) When G3 is sent, EOL is added after 1 line of data, and the transmission time of 1 line of data sent at this time is calculated. Fill if it is less than the minimum transmission time
Bit (data 0) is inserted and EOL is added after the minimum transmission time or more.
本装置では送出したデータが最小伝送時間以上か否かの
判断を、最小伝送時間と伝送レートから送出データのバ
イト数に換算して、送出バイト数がこの換算バイト数以
上か否かにより行っている。This device judges whether the transmitted data is more than the minimum transmission time, by converting it from the minimum transmission time and the transmission rate to the number of bytes of the transmission data, and it is judged whether the number of transmission bytes is more than this converted number of bytes. There is.
最小伝送時間内の伝送バイト数は 最小伝送時間を10ms、 伝送レートを9600Bpsとすると、 となる。If the minimum transmission time is 10ms and the transmission rate is 9600Bps, the number of transmission bytes within the minimum transmission time is Becomes
そしてFillビツトはバイト単位で挿入している。And the Fill bit is inserted byte by byte.
本装置ではG3モードでの送信・受信データ及びメモリ蓄
積されるデータは必ずFIFORAM9を介して転送される。RA
M9に画像データとしては無為信号であるFillビツトを記
憶させるとRAM9を無駄使いすることになる。In this device, transmission / reception data in G3 mode and data stored in the memory are always transferred via the FIFORAM 9. RA
If the M9 stores the Fill bit, which is an unnecessary signal as image data, the RAM 9 is wasted.
又、Fillビツトの数はメモリ送信を行う際の相手機の能
力により変化する為、メモリ蓄積時には考えうる最大の
最小伝送時間とデータスピードから算出した最大数のFi
llビツトを挿入しなければならなくなる。Also, since the number of Fill bits changes depending on the capacity of the other device when transmitting to the memory, the maximum number of Fis calculated from the maximum and minimum transmission time and data speed that can be considered during memory storage.
You'll have to insert ll bits.
そこで本実施例ではG3モード送信時及びメモリ蓄積時に
はFIFORAM9には全くFillビツトを挿入せずに、送信時に
FIFORAM9から読出した後、Fillビツトを挿入して送出し
ている。Therefore, in this embodiment, at the time of G3 mode transmission and memory accumulation, the Fill bit is not inserted into the FIFORAM9 at all, and at the time of transmission.
After reading from the FIFORAM9, the Fill bit is inserted and transmitted.
また受信時には3バイト以上の0が連続した場合、3バ
イト目以降の0のバイトはRAM9へ書込まないという方法
を用いている。In addition, at the time of reception, when 3 or more bytes of 0s continue, the method of not writing the 0th byte after the 3rd byte to the RAM 9 is used.
(フアイン→標準変換) 本実施例ではFIFORAM9にMHコードで蓄積された画像デー
タを送信する際にフアイン→標準変換する機能を有して
いる。フアインと標準を比較してみると、主走査方向の
線密度は8pel/mmと等しく、副走査方向の線密度はフア
イン7.7line/mm、標準3.85line/mmとフアインに対し標
準は1/2になっている。FIFORAM9に蓄積されたデータはE
OLで1ラインの区切りがつけられているため、ラインの
判断は容易にできる。そこで本装置ではFIFORAM9のデー
タを送信する際に1ラインおきに送信することによりフ
アイン→標準(走査線密度)変換を行なっている。(Fine to standard conversion) In this embodiment, there is a function to perform fine to standard conversion when transmitting the image data accumulated in the MH code to the FIFORAM 9. When comparing the fine and standard, the line density in the main scanning direction is equal to 8 pel / mm, the line density in the sub scanning direction is 7.7 line / mm, and the standard is 3.85 line / mm, which is 1/2 the standard for fine. It has become. The data stored in FIFORAM9 is E
Lines can be easily judged because one line is separated by OL. Therefore, in this apparatus, when the data in the FIFORAM 9 is transmitted, every other line is transmitted to perform fine-to-standard (scan line density) conversion.
第8図(B)に走査線密度変換を行う場合と、行なわな
い場合のモデム19からデータ要求インタラプトを受けた
場合の処理フローチヤートを示す。FIG. 8 (B) shows a processing flow chart when a data request interrupt is received from the modem 19 when the scanning line density conversion is performed and when it is not performed.
まずインタラプトが入ると、FIFORAM9から、現在の読出
アドレスポインタのデータを呼び出す。データがEOLで
ない場合には、モデムへそのデータを出力した後、ポイ
ンタを+1として、データ転送を繰り返す。EOLが検出
されると、先に述べた如く、RAM9内のEOLを送信用のEOL
(CCITT勧告)に変換し、その後、フイルビツトの付加
必要ならばフイルを付加し、EOL、フイルをモデムへ出
力する。そしてフアイン→標準変換が必要か否か判断さ
れ、必要ない場合はポインタを+1して一ラインのデー
タ読出を終了する。一方走査線密度の変換が必要な場合
には次のEOLまでアドレスポインタを歩進し、一ライン
分のデータを削除したのち、メインルーチンへ戻る。First, when an interrupt occurs, the data of the current read address pointer is called from the FIFORAM9. If the data is not EOL, the data is output to the modem, the pointer is set to +1 and the data transfer is repeated. When the EOL is detected, the EOL in RAM9 is sent to the EOL for transmission as described above.
(CCITT recommendation), then add a bit bit, add a file if necessary, and output EOL and file to the modem. Then, it is determined whether fine-to-standard conversion is necessary, and if not, the pointer is incremented by 1 and the data reading for one line is completed. On the other hand, if the scanning line density conversion is required, the address pointer is stepped to the next EOL to delete one line of data, and then the process returns to the main routine.
(ラン・レングス→生データ変換) G2モードにおけるメモリ送信時にFIFORAM9にMHコードで
蓄積されたデータを生データで送信しなければならな
い。本装置ではそのデータ変換をソフトウエアにより行
っているが、MHコードから直接生データへ変換するのは
かなり困難である。そこで、先に述べたデコード機能を
利用し、MHコードを1度ランレングスコードに変換し、
さらにそれを生データに変換するという方法を用いてプ
ログラムの簡略化を図っている。(Run length → Raw data conversion) When transmitting memory in G2 mode, the data stored in FI code in FIFORAM9 must be transmitted as raw data. This device performs the data conversion by software, but it is quite difficult to directly convert MH code to raw data. Therefore, by using the decoding function described above, the MH code is once converted into a run length code,
Furthermore, the program is simplified by the method of converting it into raw data.
ランレングスコードから生データへの変換は例えば第8
図(C)に示す如く行っている。For example, the conversion from run length code to raw data is No. 8
It is performed as shown in FIG.
即ち、RLCコードを読出し、RLCが黒データならば“1"を
ラインメモリへ出力し、RLCが0になるまで繰り返す。R
LCが白データならば“0"をラインメモリへ出力し同様に
RLCが0になるまで繰り返すことによりRL→RAWの変換が
行われる。That is, the RLC code is read, and if RLC is black data, "1" is output to the line memory and the process is repeated until RLC becomes 0. R
If LC is white data, output “0” to line memory and
RL → RAW conversion is performed by repeating until RLC becomes 0.
(ソフトウエアによるB4→A4縮小) 本実施例では2048bitの受光素子を有する読取部1を用
いて読取りを行っている。そのため8pel/mmでB4巾の原
稿の送信を行うことが可能である。しかし(相手機がA4
巾の記録能力しか持たない場合)B4のデータ(2048bi
t)をA4のデータ(1728bit)へ変換して送信する必要性
がある。通常の原稿送信の場合にはその処理を読取部1
で光学的又は電気的な手段を用いて行っているが、メモ
リ送信を考えた場合、データの流れから考えても読取部
1の縮小機能を利用することは不可能である。そこで本
実施例ではソフトウエアによる縮小を行っている。ま
ず、RAM9にMHコードで蓄積されているデータをデコード
機能を用いてランレングスコードに変換した後、1ライ
ンの主走査方向に縮小処理を施し、再びMHコード(G2の
場合は生データ)へ変換し、モデムへ転送する。(B4 → A4 reduction by software) In this embodiment, reading is performed using the reading unit 1 having a 2048-bit light receiving element. Therefore, it is possible to send B4 width originals at 8 pel / mm. But (the other machine is A4
B4 data (2048bi if only recording width is available)
It is necessary to convert t) to A4 data (1728bit) before sending. In the case of normal document transmission, the processing is performed by the reading unit 1.
However, if the memory transmission is considered, it is impossible to use the reduction function of the reading unit 1 from the viewpoint of the data flow. Therefore, in this embodiment, reduction is performed by software. First, the data stored in MH code in RAM9 is converted to run length code by using the decoding function, then reduced in the main scanning direction of one line, and converted to MH code (raw data in the case of G2) again. Convert and transfer to modem.
尚、副走査方向の縮小は先に述べた様に1ライン単位で
データを間引くことにより行っている。The reduction in the sub-scanning direction is performed by thinning out the data in units of one line as described above.
ランレングスコードでのB4→A4へのドツトと数の変換を
第8図(D),(E),(F)を用いて説明する。The conversion from B4 to A4 in the run length code and the conversion of numbers will be described with reference to FIGS. 8 (D), (E) and (F).
B4の一主走査ラインのドツト数は2048ドツト、A4は1728
ドツトである。これを因数分解すると32×26:27×26で3
2:27の比率になる。そこでB4の2048ドツトのデータを32
ドツトづつ64個のブロツクに分ける。そして1ブロツク
32ドツトについて、これから5ドツトを間引いて27ドツ
トに変換すれば良い訳である。第8図(D)に1ブロツ
ク32ドツトを示す。この図の斜線を引いた6,13,19,26,3
2番目の各ドツトを間引けば、主走査方向にほぼ均等な
密度で間引くことができる。The number of dots in one main scanning line of B4 is 2048 dots, and that of A4 is 1728
That's right. Factoring this, 32 × 2 6 : 27 × 2 6 3
The ratio is 2:27. Therefore, the data of 2048 dots of B4 is 32
Divide each into 64 blocks. And 1 block
For 32 dots, 5 dots will be thinned out to 27 dots. FIG. 8 (D) shows 32 dots per block. 6,13,19,26,3 hatched in this figure
By thinning out the second dots, it is possible to thin out the dots in the main scanning direction at a substantially uniform density.
第8図(E)にこの変換を行う為のフローチヤートを示
す。フローチヤートの説明を容易にする為に例えば第8
図(F)の如きデータ即ちランレングスコードで白8,黒
5,白15,黒4という32ドツトコードを27ドツトに変換す
る例を説明する。FIG. 8 (E) shows a flow chart for performing this conversion. To facilitate the explanation of the flow chart, for example,
Data as shown in Fig. (F), that is, run length code: white 8, black
An example of converting 32 dot codes of 5, white 15 and black 4 into 27 dots will be described.
まずSP1で1ラインのトータルRLカウンタTCNT、32ドツ
トカウンタTRL、変換後のランレングスコードSRLを0に
設定し、32ドツト中の間引き数カウンタMCを5に、間引
きするアドレスを示すMAを6に設定する。First, in SP1, set the 1-line total RL counter TCNT, the 32-dot counter TRL, and the converted run-length code SRL to 0, set the decimation number counter MC in 5 to 32, and the MA indicating the decimation address to 6. Set.
そしてSP2でRAM9から最初のRLコード白8を呼び出す、
そしてSP3でTCNT、TRLは共に8に設定される。TRL=8
はMA=6より大きいので白8のデータRLCは白7のデー
タRLCに変換される(SP5)。And call the first RL code white 8 from RAM9 in SP2,
Then, in SP3, both TCNT and TRL are set to 8. TRL = 8
Is larger than MA = 6, the data RLC of white 8 is converted to the data RLC of white 7 (SP5).
RLC=白7でSRLは0なのでSP10でMAが13に、SP10でMCが
4となり、再びSP4に戻る。今度はTRL=8はMA=13より
小さいのでSP16に進み、SPLは白7にセツトされ、TCNT
は2048より小さいので、SP2に戻り次のRLC=黒5が呼び
出され、TCNT,TRLは共に13となる。TRLはMA=13と等し
いのでSP6でRLCは黒4となる。そしてSP8でSRL=白7と
RLC=黒4の色が異なるのでSP9でラインメモリへ白7の
データが出力されると共にSRLは0にリセツトされる。
更にMAは19にMCは3にセツトされ、再びSP4に戻り、SP1
6に進む。今度はSRLにRLC=黒4がセツトされる。そし
て次のRLC=白15が呼び出され、TCNT,TRLは28にセツト
される。28はMA=19より大きいので、RLC=白15は白14
に変換され、SP8でSRL=黒4とRLC=白14の白が比較さ
れ、黒4のデータがラインメモリへ出力され、SRLは0
にリセツトされる。Since RLC = White 7 and SRL is 0, MA becomes 13 at SP10, MC becomes 4 at SP10, and returns to SP4 again. This time TRL = 8 is smaller than MA = 13, so proceed to SP16, SPL is set to white 7, TCNT
Is smaller than 2048, the process returns to SP2, the next RLC = black 5 is called, and both TCNT and TRL become 13. Since TRL is equal to MA = 13, RLC is black 4 at SP6. And at SP8, SRL = White 7
Since the color of RLC = black 4 is different, the data of white 7 is output to the line memory at SP9 and SRL is reset to 0.
Furthermore, MA is set to 19 and MC is set to 3. Then, it returns to SP4 and SP1.
Go to 6. This time, RLC = Black 4 is set in SRL. Then the next RLC = white 15 is called and TCNT and TRL are set to 28. 28 is larger than MA = 19, so RLC = white 15 is white 14
Is converted to SRL = black 4 and RLC = white 14 is compared in SP8, the data of black 4 is output to the line memory, and SRL is 0.
To be reset.
そして、MAは26にMCは2にセツトされる。ステツプSP4
でTRL=28はMA=26よりまだ大きいので、白14のデータ
は更に白13に変換され、この時SRLは0なので、SP8,SP9
の判断及び出力を行わずに、SP10,11でMAを32に、MCを
1にセツトする。And MA is set to 26 and MC is set to 2. Step SP4
Since TRL = 28 is still larger than MA = 26, the data of white 14 is further converted to white 13, and SRL is 0 at this time, so SP8, SP9
Set MA to 32 and MC to 1 in SP10 and 11 without judging and outputting.
再びSP4に戻り、今度はMA=32の方がTRL=28より大きい
ので、SP16でSRLに白13がセツトされる。そして次のRLC
=黒4を呼出したのちSP9で白13が出力され、同様にし
てその後黒3が出力される。Returning to SP4 again, this time MA = 32 is greater than TRL = 28, so SP13 sets white 13 to SRL. And the next RLC
= After calling black 4, white 13 is output at SP9, and then black 3 is output in the same manner.
以上のように、第8図(F)の上段の白8,黒5,白15,黒
4のデータは下段の白7,黒4,白13,黒3のランレングス
コードにほぼ均等に変換されるのである。As described above, the data of white 8, black 5, white 15, and black 4 in the upper part of FIG. 8 (F) is converted into the run length codes of white 7, black 4, white 13, and black 3 in the lower part almost evenly. Is done.
尚、ステツプSP13,SP14,SP15は1ブロツク32ドツトの処
理が終了した際のMC,MA及びTRLの初期化を示し、特にSP
15はランレングスコードがブロツク間にまたがる場合の
調整機能も有している。又、SP18は1ラインの最後のラ
ンレングスコードのラインメモリへの出力を示してい
る。Note that steps SP13, SP14, and SP15 indicate the initialization of MC, MA, and TRL when the processing of one block and 32 dots is completed.
The 15 also has an adjustment function when the run length code spans between blocks. SP18 shows the output of the last run length code of one line to the line memory.
このようにしてランレングスコードのままで、主走査ド
ツトの変換が可能となる。In this way, main scan dots can be converted with the run length code as it is.
(動作モード) 本実施例の画像データの送受及び転送に関する動作モー
ドは下表に示す様に非常に多くのモードがある。以下各
モードにおけるデータの流れ及び符号形態について図を
用いて説明を行う。(Operation Mode) As shown in the table below, there are a great number of operation modes relating to transmission / reception and transfer of image data in this embodiment. The data flow and code form in each mode will be described below with reference to the drawings.
まず本装置が前記の14通りの動作モードM1〜M14を決定
する際に用いるMPU23の判断アルゴリズムのフローチヤ
ートを第9図(a)〜(c)に示す。 First, FIGS. 9 (a) to 9 (c) show flow charts of the judgment algorithm of the MPU 23 used when the present apparatus determines the above-mentioned 14 operation modes M1 to M14.
本実施例では、第10図の操作パネル50上のスタート・キ
ー51、ワンタツチダイヤルキー54、短縮ダイヤルキー5
3、メモリーキー52により起動がおこなわれる。In this embodiment, the start key 51, the one touch dial key 54, and the speed dial key 5 on the operation panel 50 shown in FIG. 10 are used.
3. Start up with the memory key 52.
更に第2図の原稿の有無を検出センサー31、電話器のフ
ツクのON/OFF状態を検出するセンサー32及びロール紙カ
バーセンサ33の出力により判断・分岐がおこなわれる。Further, judgment / branching is performed based on the outputs of the sensor 31 for detecting the presence / absence of the document in FIG. 2, the sensor 32 for detecting the ON / OFF state of the hook of the telephone, and the roll paper cover sensor 33.
さらにフアクシミリ通信のメツセージ(画像データ)通
信に先立つ前手順信号の通信により相手機のモーダがG3
モードがG2モードかを知ることができる。同時に相手機
が、MRの符号化機能をもっているかMHの符号化機能だけ
しかもっていないかも知ることができる。In addition, the communication of the pre-procedure signal prior to the message (image data) communication of the fax communication allows the other device's mode to be G3.
You can know if the mode is G2 mode. At the same time, it is possible to know whether the partner machine has the MR coding function or only the MH coding function.
また、自機の画像メモリの使用状態により、メツセージ
通信の際にFIFORAM9が使用できるか否かが判定できる。
RAM9にメモリ蓄積がされていれば、RAM9の使用は不可で
あり、メモリ蓄積がされてなければ、RAM9の使用は可で
ある。Further, it is possible to determine whether or not the FIFORAM 9 can be used at the time of message communication based on the usage state of the image memory of the own device.
If the memory is stored in the RAM 9, the RAM 9 cannot be used, and if the memory is not stored, the RAM 9 can be used.
本フローにより決定された14通りの動作モードについて
はM1〜M14の項番号が付記されている。The 14 operation modes determined by this flow are added with item numbers M1 to M14.
まず、スタートキーが押された場合には第9図(a)に
示す如く、受話器がオフフツクか、オンフツクかがチエ
ツクされ、オンフツクの場合には原稿が送信位置にあれ
ば原稿コピーモードM14に移行し、原稿がなくてロール
紙カバーが閉じている場合にはロール紙のカツターが動
作し、カバーが開いている場合にはロール紙を所定量送
る。First, when the start key is pressed, as shown in FIG. 9 (a), the receiver checks whether it is off-hook or on-hook. If it is on-hook, the original copy mode M14 is entered if the original is at the transmission position. If there is no original and the roll paper cover is closed, the roll paper cutter operates, and if the cover is open, the roll paper is fed by a predetermined amount.
一方、オフフツクの場合には原稿があれば送信モードと
なり、相手機のモードとRAM9の使用の可否に応じてM1,M
2,M3,M6へ移行する。又オフフツクで原稿が無ければ第
9図(b)の受信モードの振り分けルーチンへ移行す
る。第9図(b)では相手機モードと、RAM9の可否に応
じてM7〜M11が夫々選択される。On the other hand, in the case of off-hook, if there is a document, the transmission mode is set, and M1, M
Move to 2, M3, M6. If the document is off-hook and there is no document, the process proceeds to the receiving mode sorting routine of FIG. 9 (b). In FIG. 9B, M7 to M11 are selected according to the partner machine mode and the availability of RAM9.
第9図(c)はメモリキー52が押された場合のモード振
り分けルーチンを示している。FIG. 9C shows a mode allocation routine when the memory key 52 is pressed.
メモリーキー52が押されるとソフトウエアのタイマーが
起動し、このタイマー中に原稿が読取部1に置かれる
と、メモリ蓄積モードM12に移行し、RAM9に原稿の画像
データが貯えられる。When the memory key 52 is pressed, a software timer is activated, and when a document is placed on the reading section 1 during this timer, the memory storage mode M12 is entered and the image data of the document is stored in the RAM 9.
原稿が読取部1に置かれない場合でスタートキー51が押
されると、この時オンフツクならばRAM9内の画像データ
が記録部17で記録されるメモリーコピーモードM13に移
行する。If the start key 51 is pressed when the document is not placed on the reading unit 1, if the document is on-hook at this time, the image data in the RAM 9 is transferred to the memory copy mode M13 in which the recording unit 17 records the image data.
又、この時オフフツクならばメモリ送信モードへ移行す
る。ワンタツチキー54、短縮ダイヤルキー53が押された
場合には、フツクの状態に拘わらずメモリ送信モードへ
移行する。メモリ送信モードは相手機がG2又はG3機であ
るかに応じて、G3メモリ送信モードM4,又はG2メモリ送
信モードM5に振り分けられる。If it is off-hook at this time, the memory transmission mode is entered. When the one-touch key 54 or the speed dial key 53 is pressed, the memory transmission mode is entered regardless of the hook state. The memory transmission mode is classified into a G3 memory transmission mode M4 or a G2 memory transmission mode M5 depending on whether the partner machine is a G2 or G3 machine.
又メモリ・キーが押下されて、原稿が読取部に置かれず
他に何のキー操作もない場合には表示器55(第10図)に
RAM9内の画像データの蓄積量を表示し、ソフトウエアタ
イマのタイムオーバーを持ってスタンバイモードに戻
る。If the memory key is pressed and the document is not placed on the reading section and there is no other key operation, the display 55 (Fig. 10) is displayed.
Displays the amount of image data stored in RAM9 and returns to the standby mode when the software timer times out.
以下に各モードM1〜M14に応じた画像データの流れを以
下に説明する。The flow of image data according to each mode M1 to M14 will be described below.
(モードM1) G3原稿送信、MH,RAM9使用可 モードM1の画像データの流れを第11図を参照して説明す
る。(Mode M1) G3 Original Transmission, MH, RAM9 Available The flow of image data in mode M1 will be described with reference to FIG.
読取部1はMPU23からの読取命令により、1ライン分の
画像データをランレングスコードRLに変換してRAM3へ書
込む。そしてMPU23はRAM3のデータをそのまま2本のラ
インバツフアRAM5,RAM7へ1ラインづつ交互に転送し
て、その2本のラインバツフアから読出したランレング
スコードRLをMHコードにエンコードしてFIFORAM9へ書込
む。そしてMPU23はモデム19からのデータ要求インタラ
プトに対し、FIFORAM9からMHコードを1バイトづつモデ
ムへ転送する。又この時、1ライン毎に最小転送時間の
計算を行いフイルビツトの挿入を行う。The reading unit 1 converts the image data for one line into a run length code RL and writes the run length code RL in the RAM 3 in response to a read command from the MPU 23. Then, the MPU 23 transfers the data in the RAM 3 to the two line buffers RAM 5 and RAM 7 as they are, alternately by one line, and encodes the run length code RL read from the two line buffers into the MH code and writes it into the FIFORAM 9. Then, in response to the data request interrupt from the modem 19, the MPU 23 transfers the MH code from the FIFORAM 9 byte by byte to the modem. At this time, the minimum transfer time is calculated for each line and the file bit is inserted.
又、画像の先頭に付加する発信元、発信時刻等のキヤラ
クタ情報はCG25から出力される生画像データ25を生デー
タ→MHコードへの変換機能を用いてFIFORAM9へ転送して
いる。Character information such as the originator and origination time added to the beginning of the image is transferred to the FIFORAM 9 using the conversion function of the raw image data 25 output from the CG 25 to the raw data → MH code.
図中の読取部1→RAM3とモデム19→NCU21の場合を除い
て他の全てのデータ転送はMPU23のバス24を介して行わ
れている。Except for the case of the reading unit 1 → RAM 3 and the modem 19 → NCU 21 in the figure, all other data transfers are performed via the bus 24 of the MPU 23.
モデム19からのデータ要求インタラプトは、電送レート
により、インタラプト間隔が変わる。データ転送はバイ
ト単位で行われているので、9600bpsの場合は8/9600=
0.83×10-3sec毎にインタラプトが発生している。The interrupt interval of the data request interrupt from the modem 19 changes depending on the transmission rate. Since data transfer is done in byte units, 8/9600 = 9600bps
An interrupt occurs every 0.83 × 10 -3 sec.
又、RAM3からRAM5,RAM7へのデータ転送が終了した時点
でMPU23は、読取部に対し読取命令を出力する。MPU23が
エンコード処理ENC、及びインタラプト処理をしている
間に読取部1で原稿の読取及び生データ→ランレングス
データ変換が行われる。Further, when the data transfer from RAM3 to RAM5, RAM7 is completed, the MPU 23 outputs a read command to the reading unit. While the MPU 23 is performing the encoding process ENC and the interrupt process, the reading unit 1 reads the document and converts the raw data to the run length data.
(モードM2) G3原稿送信、MR,RAM9使用可 第12図(A)に画像データの流れを示す。データの流れ
はモードM1の場合とほぼ同様である。異なる点はENC23
−1の後のコードがMRコードになることである。しか
し、CG25からのデータはMHコードでENC23−1から出力
される。たとえば24×16ドツトの文字を先頭に付加する
場合は24ライン分のデータはMHコードで送信される。(Mode M2) G3 original transmission, MR, RAM9 available Figure 12 (A) shows the flow of image data. The data flow is almost the same as in mode M1. The difference is ENC23
The code after -1 is the MR code. However, the data from CG25 is output from ENC23-1 in MH code. For example, if a 24 × 16 dot character is added to the beginning, 24 lines of data will be sent in MH code.
第12図(B)にCGデータをMHで、画像データはMRでRAM9
に貯える為のプログラムを示す。まずCGデータのライン
数Lを初期化し、先頭から各ラインのデータを呼び出
し、生データからランレングスRLコードへRLコードから
MHコードへ変換し、各ライン毎にRAM9へ貯える。Figure 12 (B) shows CG data in MH and image data in MR in RAM9.
Show the program to store in. First, the line number L of CG data is initialized, the data of each line is called from the beginning, and from raw data to run length RL code From RL code
Convert to MH code and store in RAM9 for each line.
そして24ラインについて終了すると今度はRAM5又は7か
らRLコードの画データを読出し、第3図(B),(C)
のMR符号化ルーチンに従い、各ラインをMRコードに直
し、RAM9に貯えるものである。When 24 lines are completed, the image data of the RL code is read from RAM 5 or 7 this time, and shown in FIGS. 3 (B) and (C).
According to the MR encoding routine of, each line is converted into an MR code and stored in RAM9.
(モードM3) G3原稿送信、MH,RAM9使用不可 画像データの流れを第13図に示す。第11図のRAM9が使用
可能な場合と異なり、ラインバツフアとして用いていた
RAM7とMHコードのバツフアメモリとして用いている。従
ってラインバツフアもRAM5、1本だけとなり、エンコー
ダENC23−1も一ライン分のデータしか扱えないのでRAM
9が使用不可な場合にはMR送信は行えない。(Mode M3) G3 original transmission, MH, RAM9 unusable Figure 13 shows the flow of image data. Unlike the case where RAM9 in Fig. 11 can be used, it was used as a line buffer.
It is used as a buffer memory for RAM7 and MH code. Therefore, the line buffer is only one RAM5, and the encoder ENC23-1 can handle only one line of data.
If 9 is unavailable, MR transmission cannot be performed.
この理由はMR符号化をおこなうには、現符号化ライン
と、参照ラインの2ライン分のラインバツフアが必要に
なるからである。The reason for this is that in order to carry out MR coding, a line buffer for two lines of the current coded line and the reference line is required.
(モードM4) G3メモリ送信 MH‥‥第14図の(A),(B),(C) モードM4の場合の画像データの流れを第14図(A)に示
す。FIFORAM9にはフアインモード又は標準モード読み取
った画像データがMHコードの形で記憶されている。ま
た、その画像データの各種情報が第21図に示す如く、そ
の頁の先頭にラベルとして記憶されている。情報として
はその画像データの読取サイズ(主走査ドツト数)SZ、
フアインか標準か(走査線密度)F/S、その頁のEOLの数
PLN等がある。(Mode M4) G3 memory transmission MH ... (A), (B), (C) of FIG. 14 The flow of image data in the case of mode M4 is shown in FIG. 14 (A). Image data read in the fine mode or the standard mode is stored in the FIFORAM 9 in the form of MH code. Further, various information of the image data is stored as a label at the head of the page as shown in FIG. As information, the read size of the image data (the number of main scanning dots) SZ,
Fine or standard (scan line density) F / S, number of EOLs on that page
There are PLN etc.
そこで、相手機の記録紙のサイズが、読取サイズSZより
小さい場合、前述した主走査ドツト数変換を行なう必要
が有、又、フアインモードでRAM9に記憶しているにも拘
らず、相手機が標準モードしか持たない場合には前述し
た走査線密度変換を行う必要がある。Therefore, if the size of the recording paper of the partner machine is smaller than the reading size SZ, it is necessary to perform the main scanning dot number conversion described above.Although it is stored in RAM9 in the fine mode, the partner machine is the standard. When only the mode is provided, it is necessary to perform the above-mentioned scanning line density conversion.
第14図(B)はその振り分けレーチンを示すものであ
る。第14図(B)においてまずEOLのカウンタEOCを0に
セツトし、前手順にて相手機の記録紙サイズASZをセン
スする。そしてラベルSZと比較し、ASZがSZよりも大き
いか、等しければ、モードM4−1又はM4−2を選択す
る。この場合は主走査ドツト数の変換を要さない。FIG. 14 (B) shows the distribution letin. In FIG. 14B, first, the EOL counter EOC is set to 0, and the recording sheet size ASZ of the partner machine is sensed in the previous procedure. Then, as compared with the label SZ, if ASZ is greater than or equal to SZ, the mode M4-1 or M4-2 is selected. In this case, conversion of the number of main scanning dots is not required.
又、ASZがSZよりも小さい場合にはモードM4−3,M4−4
が選択される。この場合は主走査ドツト数の変換を要す
る。If ASZ is smaller than SZ, mode M4-3, M4-4
Is selected. In this case, it is necessary to convert the number of main scanning dots.
そして、相手機にフアインの記録モードが無く、RAM9に
フアインモードで記憶されている場合には更に副走査線
密度の変換を要し、モードM4−2、又はM4−4が選択さ
れる。When the partner machine does not have the fine recording mode and the fine recording mode is stored in the RAM 9, further conversion of the sub-scanning line density is required, and the mode M4-2 or M4-4 is selected.
即ち、M4−1は主走査ドツト数変換、副走査密度変換を
共に必要としない。M4−2は副走査密度変換だけを必要
とし、M4−3は主走査ドツト数変換だけを必要とする。
又、M4−4は両変換共に必要である。That is, M4-1 does not require both main scanning dot number conversion and sub-scanning density conversion. M4-2 requires only sub-scan density conversion and M4-3 requires only main-scan dot number conversion.
Also, M4-4 requires both conversions.
各モードのデータの流れについて詳細な説明は後述する
が、1ラインの送信が終了すると、モードM4−1,4−3
ではEOLカウンタEOCを+1し、M4−2,4−4ではEOCを+
2する。そしてEOCがRAM9内のその頁のEOL数を示すPLN
と一致した頁エンドサブルーチンへ移行する。A detailed description of the data flow in each mode will be given later, but when the transmission of one line is completed, the mode M4-1, 4-3
In EOL counter EOC + 1, M4-2, 4-4 EOC +
I will do 2. And EOC is PLN which shows the number of EOL of the page in RAM9.
To the page end subroutine which coincides with.
頁エンドサブルチーンは第14図(C)に示され、RAM9内
に一連の頁と共に記憶されたグループの最終頁の示すラ
ベルGEを見て、その頁がグループの最終頁ならば、相手
機へ送信の終りを示すEOPを出力し、送信をおわる。一
方、グループの最終頁でなければ次ページSZ、F/Sを読
出し、F/S、SZが前頁と同じならば、同一モードで次頁
も送ることを示すMPS信号を出力する。違い場合には前
手順をもう一度始めから行うことを示すEOM信号を相手
機に送るのである。The page end sub-routine is shown in FIG. 14 (C), and the label GE shown in the last page of the group stored in RAM 9 together with the series of pages is checked. The EOP indicating the end of the transmission is output and the transmission ends. On the other hand, if it is not the last page of the group, the next page SZ and F / S are read out, and if F / S and SZ are the same as the previous page, the MPS signal indicating that the next page is also sent in the same mode is output. If there is a difference, the EOM signal indicating that the previous procedure is to be started again is sent to the other device.
以下にM4−1〜M4−4の各モードの画像データの流れを
説明する。The flow of image data in each mode of M4-1 to M4-4 will be described below.
(M4−1) 主走査ドツト、副走査線密度変換なし RAM9内の画像データはFill23−3でフイルビツトを付加
され、モデル19を介してNCU21から送出される。又、CG2
5の出力生データはENC23−1でMHコード化され直接Fill
へ転送されない。(M4-1) Main scanning dots, sub-scanning line density conversion-free image data in RAM9 is added with fill bits by Fill23-3 and sent from NCU21 via model 19. Also, CG2
5 output raw data is MH coded by ENC23-1, and direct fill
Not transferred to.
(M4−2) 副走査線密度変換有 MPU23はRAM9のMH出力をMHコードのままでF/S23−4でフ
アインから標準への変換、即ち一ラインおきのデータの
削除し、RAM3,5,7へ出力する。RAM3,5,7内のMHのデータ
はFill23−3でフイルビツトを付加され、モデム19に転
送される。又、CG25の出力生データもENC23−1及びRAM
3,5,7を介してFill23−3へ出力される。(M4-2) With sub-scanning line density conversion MPU23 converts the fine MH output of RAM9 to standard with F / S23-4, that is, deletes data every other line, RAM3, 5, Output to 7. The MH data in the RAMs 3, 5, and 7 is added with a fill bit by the Fill 23-3 and transferred to the modem 19. Also, output raw data of CG25 is ENC23-1 and RAM
It is output to Fill23-3 via 3,5,7.
(M4−3) 主走査ドツト数変換有 MPU23はRAM9よりMHの画像データを抜き出し、DEC23−2
でランレングスコードRLに変換し、RLの状態でB4→A4の
変換を行う。そしてENC23−1で再びMHコードに戻しFiF
oメモリとして用いられるRAM3,5,7へ出力する。その後F
ill23−3でフイルビツトを付加され、モデム19に転送
される。CG25の出力生データもENC23−1でMHコードに
直された後RAM3,5,7を介してFill23−3へ転送される。(M4-3) With main scanning dot number conversion MPU23 extracts MH image data from RAM9, and DEC23-2
Convert to run length code RL with and convert B4 to A4 in the state of RL. Then at ENC23-1, return to MH code again and FiF
o Output to RAM3,5,7 used as memory. Then F
A file bit is added in ill23-3 and transferred to the modem 19. Output raw data of CG25 is also converted to MH code by ENC23-1, and then transferred to Fill23-3 via RAM3, 5, and 7.
(M4−4) 両変換有 MPU23はFIFORAM9内のMHのデータをMHのままF/S変換し、
更にDEC23−2ランレングスコードRLに直した後、B4/A4
変換し、変換されたランレングスコードRLをENC23−1
でMHコードに戻し、RAM3,5,7へ転送する。CG25の出力も
同様にENC23−1、RAM3,5,7を介してFillに転送され
る。(M4-4) With both conversions MPU23 performs F / S conversion of MH data in FIFORAM9 as MH.
After converting to DEC23-2 run length code RL, B4 / A4
Convert and convert the converted run length code RL to ENC23-1
Return to MH code with and transfer to RAM3,5,7. Similarly, the output of CG25 is transferred to Fill via ENC23-1, RAM3, 5, and 7.
(モードM5) G2メモリ送信‥‥第15図 MPU23はFIFORAM9からMHコードをぬき出しランレングス
コードRLにデコードし、さらに生データRAWへ変換して
1ラインずつ交互にRAM5,7へ転送する。そして順次RAM
5,7から生データをぬき出し、モデム19へ転送する。ま
た、フアインから標準へのモード変換を行う場合にはRA
M9とDEC23−2の間でF/S23−4を、縮小を行う場合には
2つのDEC23−2の間でB4/A423−5変換を施す。(Mode M5) G2 memory transmission ... Fig. 15 The MPU23 extracts the MH code from the FIFORAM9, decodes it into the run length code RL, converts it to raw data RAW, and transfers it to the RAM5, 7 alternately line by line. And sequentially RAM
The raw data is extracted from 5, 7 and transferred to the modem 19. Also, when performing mode conversion from fine to standard, RA
F / S23-4 is applied between M9 and DEC23-2, and B4 / A423-5 conversion is applied between two DEC23-2 when reduction is performed.
CG25の出力データは生データRAWの形でRAW5,7を介して
モデム19へ転送される。ただし、その際CG25のデータ
は、走査線を間引かないで、副走査方向7.7line/mmで送
出することにより、文字サイズをG3モードに較べてタテ
に2倍している。これは、G2はアナログ伝送のため、伝
送による画質の劣化が大きいので、G2モードでも発信元
情報が確実に読み取れるようにするために行っているの
である。The output data of CG25 is transferred to the modem 19 via RAW5,7 in the form of raw data RAW. However, at that time, the data of CG25 is sent out at 7.7 line / mm in the sub-scanning direction without skipping the scanning lines, thereby doubling the character size vertically as compared with the G3 mode. This is done to ensure that the source information can be read even in the G2 mode because the image quality of the G2 is greatly deteriorated due to the analog transmission of the G2.
(モードM6) G2原稿送信‥‥第16図 データの転送は全て生データの形態で行われる。読取部
1はMPU23からの読取命令により、1ライン分の画像デ
ータを生データでRAM3へ書込む。そしてMPU23はRAM3の
データをそのまま2本のラインバツフアRAM5、RAM7〜1
ラインづつ交互に転送する。そしてモデルからデータ要
求インタラプトに対し、生データを1バイトずつRAM5又
はRAM7からモデル19へ転送する。(Mode M6) G2 original transmission ... Fig. 16 All data is transferred in the form of raw data. The reading unit 1 writes the image data for one line as raw data into the RAM 3 in response to a read command from the MPU 23. Then, the MPU23 uses the data of RAM3 as it is for two line buffer RAM5, RAM7-1.
Transfer lines line by line. Then, in response to the data request interrupt from the model, the raw data is transferred byte by byte from the RAM 5 or RAM 7 to the model 19.
また、画像の先頭に付加する発信元記録等のキヤラクタ
情報は、CG25から生データのままRAM5,7へ転送してい
る。Character information such as a sender record added to the beginning of the image is transferred from the CG 25 to the RAMs 5 and 7 as raw data.
また、G2モードの場合RAM5,RAM7には、同期信号を含め
て、1728bitの画像データが書き込まれる。この同期信
号に対応する画信号はMPU23が作成している。In the G2 mode, 1728-bit image data including a synchronization signal is written in RAM5 and RAM7. The image signal corresponding to this synchronizing signal is created by the MPU 23.
(モードM7,M8) G3受信MRモード、 RAM9使用可(不可)‥‥第17図 MPU23はMRコードを回線より、NCU21、モデム19を介して
受取ると、まずフイルビツトの削除を行い、RAM9にデー
タがない場合RAM9へ、RAM9にデータがある場合RAM3へMR
コードのまま転送する。そしてRAM9又は3より順次MRコ
ードをぬき出し、ランレングスコードRLヘデコードした
後1ラインずつ交互にRAM5,RAM7へ転送する。また同時
にそのランレングスコードRLは記録部17へ転送され、記
録が行われる。デコードしたランレングスコードRLをRA
M5,RAM7へ転送し、蓄えておくのは、MRコード化する際
の前ライン情報として使用するためである。(Mode M7, M8) G3 reception MR mode, RAM9 can be used (impossible) ... Fig. 17 When the MPU23 receives the MR code from the line via NCU21 and modem 19, first the file bit is deleted and the data is stored in RAM9. If there is no, go to RAM9, if there is data in RAM9, go to RAM3 MR
Transfer the code as it is. Then, the MR code is sequentially extracted from the RAM 9 or 3 and decoded to the run length code RL, and then transferred line by line to the RAM 5 and the RAM 7 alternately. At the same time, the run length code RL is transferred to the recording unit 17 and recorded. RA of decoded run length code RL
The reason why the data is transferred to M5 and RAM7 and stored is that it is used as previous line information when MR coding is performed.
(モードM9,M10) G3受信MHモード RAM使用可(不可)‥‥第18図 MPU23はMHコードを、回線よりNCU21、モデル19を介して
受取ると、まずフイルビツトの削除を行い、RAM9が使用
可ならばRAM9へ、不可ならばRAM3,5,7へMHコードのまま
転送する。そしてRAM9又は3,5,7より順次MHコードをぬ
き出し、ランレングスコードRLへ変換し、記録部17へ転
送して記録する。(Modes M9, M10) G3 reception MH mode RAM can be used (impossible) ... Fig. 18 When the MPU23 receives the MH code from the line via the NCU21 and model 19, first the file bit is deleted and RAM9 can be used. If so, transfer to RAM9, if not possible, transfer to MH3,5,7 as MH code. Then, the MH code is sequentially removed from the RAM 9 or 3, 5, and 7, converted into a run length code RL, transferred to the recording unit 17, and recorded.
(モードM11) G2受信‥‥第19図 G2モードでは非圧縮生データが送られてくるので、MPU2
3は生データを回線よりNCU21、モデム19を介して受取る
と、1ラインづつ交互にラインバツフアRAM5,RAM7へ転
送する。そして、RAM5,RAM7より順次生データをぬきと
り、記録部17へ転送し、記録する。(Mode M11) G2 reception ... Fig. 19 Since uncompressed raw data is sent in G2 mode, MPU2
When the raw data 3 receives the raw data from the line through the NCU 21 and the modem 19, the raw data is transferred to the line buffer RAMs 5 and 7 alternately line by line. Then, the raw data is sequentially removed from the RAM5 and RAM7, transferred to the recording unit 17, and recorded.
また、RAM5,RAM7にはモデム19で復調された1ライン分
の画信号1728bitが書き込まれる。この中には同期信号
を復調して得られた画信号も含まれているので、MPU23
は記録部17へ転送する際は前記同期信号に対応した画信
号を除いて伝送している。The image signal 1728 bits for one line demodulated by the modem 19 is written in the RAM5 and RAM7. This includes the image signal obtained by demodulating the synchronization signal, so the MPU23
When transmitting to the recording unit 17, the image signal corresponding to the sync signal is excluded.
(モードM12) メモリ蓄積‥‥第20図 FIFORAM9にはMHコードで蓄積するまではモードM1とほぼ
同様で、異なる点はCG25からのデータが無い点と、RAM9
へ転送する際にRAM13からページの先頭にフアイン管理
用のラベルLBを付加することである。(Mode M12) Memory storage ・ ・ ・ Fig. 20 FIFORAM9 is almost the same as mode M1 until it is stored in MH code, except that there is no data from CG25, and RAM9
This is to add the label LB for fine management to the beginning of the page from the RAM 13 when transferring to.
ここでラベルについて説明しておく。Here, the label will be described.
ラベルは第21図に示す様に24byteで構成されている。1
〜3バイト目にはそのラベルのついたデータが最終ペー
ジであることを示すLPMと次ページの先頭アドレスがど
こにあるかを示すNPAがある。4バイト目にはページ毎
の情報が入る。4バイト目のMSBにはデータをページ単
位だけでなくグループ単位に分けた場合そのグループの
最終ページか否かの情報GEが入る。F/Sには、走査線密
度が標準(3.85本/mm)か、フアイン(7.7本/mm)から
のデータが入る。The label consists of 24 bytes as shown in Fig. 21. 1
At the 3rd byte, there is an LPM indicating that the labeled data is the last page and an NPA indicating where the start address of the next page is. Information for each page is entered in the 4th byte. In the 4th byte MSB, when the data is divided into not only page units but also group units, information GE indicating whether or not it is the last page of the group is entered. The data from the standard (3.85 lines / mm) or fine (7.7 lines / mm) scanning line density is stored in the F / S.
MDにはRAM9内のデータがMH,MR,RL,RAW又はASCIIコード
の内どの形態で記憶されているかの情報が入る。SZには
RAM9内のデータが読取幅A4からB4かA3かの情報が入る。The MD stores information indicating in which form the data in the RAM 9 is stored as MH, MR, RL, RAW or ASCII code. In SZ
Information on whether the data in RAM9 is read width A4 to B4 or A3 is entered.
5バイト目はGPCで、データをグループ分けした場合の
グループ内でのページ番号を示す。6〜9バイト目には
ページの総ライン数PLNが、10〜14バイト目にはメモリ
蓄積を行った時の時刻が入り、10バイト目には「分」、
11バイト目は「時」、12バイト目は「日」、13バイト目
は「月」、14バイト目は「年」が記憶される。更に第15
〜24バイト目には、そのページのフアイル名PFNがコー
ドで、それぞれ入る。The fifth byte is the GPC, which indicates the page number within the group when the data is divided into groups. The 6th to 9th bytes contain the total line number PLN of the page, the 10th to 14th bytes contain the time when the memory was stored, and the 10th byte contains "minutes".
The 11th byte stores "hour", the 12th byte stores "day", the 13th byte stores "month", and the 14th byte stores "year". Further 15th
At the 24th byte, the file name PFN of the page is entered as a code.
そして、メモリ送信、メモリコピー時にはこのラベル内
の情報をもとにモードの決定、情報の付加等を行うので
あるが、時刻データに関してメモリコピー時はラベル内
の情報によりメモリ蓄積時の時刻をヘツダとして印字
し、メモリ送信時はラベルLB内の情報を無視して送信時
刻を送出する。時刻指定送信をおこなった場合、受信画
像上に印字された時刻はRAM9に蓄積された時刻でなく、
実際に送信がおこなわれた時刻になる様に考慮したもの
である。Then, at the time of memory transmission and memory copy, the mode is determined and the information is added based on the information in this label. Is printed, the information in the label LB is ignored during memory transmission and the transmission time is sent. When time specified transmission is performed, the time printed on the received image is not the time stored in RAM9,
This is taken into consideration so that the actual time of transmission is reached.
また、一度RAM9に蓄積された画像データ及びラベルLB
は、オペレータのマニユアル操作及び自動でクリアされ
る。自動クリアのフローは第22図は様になっている。In addition, the image data and label LB once stored in RAM9
Is cleared by the manual operation of the operator and automatically. The flow of automatic clearing is shown in Fig. 22.
尚、メモリクリアはメモリコピー後には行われない。Note that memory clear is not performed after memory copy.
(モードM13) メモリコピー‥‥第23図(A) MPU23はDRAM9よりMHコードを順次ぬきとり、ランレング
スコードに変換して記録部17へ転送し記録を行う。ま
た、ヘツダ情報はMPUを介して文字コードから生データ
へ変換し、記録部17へ転送し、記録する。ヘツダ中の時
刻は、RAM9に記憶されたフアイル管理用ラベルLB中にあ
るメモリ蓄積の行われた時刻がCG25により画像に変換さ
れ記録部17で記録される。(Mode M13) Memory copy ... Fig. 23 (A) The MPU 23 sequentially removes the MH code from the DRAM 9, converts it to a run length code, and transfers it to the recording unit 17 for recording. In addition, the header information is converted from a character code into raw data via the MPU, transferred to the recording unit 17, and recorded. As the time during the header, the time at which the memory storage in the file management label LB stored in the RAM 9 is performed is converted into an image by the CG 25 and recorded in the recording unit 17.
第23図(B)に時刻管理サブルーチンを示す。まず送信
モードの場合には、MPU23が管理する時計27(第1図)
の日付及び時刻データをCG25へ出力し、送信時刻を画像
と共に送信する。又同時に通信管理用RAM13へ送信先のT
ELNOと共に時刻を記憶させる。又、メモリコピー時には
ラベル内の日付時刻データTDをCG25へ出力する。メモリ
蓄積時には前記時計の日付時刻データをRAM9へデータTD
として出力する。又、受信時には前記時計27のデータを
前記RAM13へ相手先のTELNOと共に記憶させる。尚、原稿
コピーモードの場合には時刻データは何ら関与しない。FIG. 23 (B) shows a time management subroutine. First, in the transmission mode, the clock 27 managed by the MPU 23 (Fig. 1)
The date and time data of is output to CG25, and the transmission time is transmitted together with the image. At the same time, the T
Memorize the time with ELNO. Also, the date and time data TD in the label is output to the CG25 when copying the memory. When the memory is stored, the date and time data of the above clock is stored in RAM9 as data TD
Output as. Also, at the time of reception, the data of the clock 27 is stored in the RAM 13 together with the other party's TELNO. In the case of the manuscript copy mode, the time data has no influence.
(モードM14) 原稿コピー‥‥第24図 読取部1はMPU23からの読取命令を受取る1ライン分の
データを生データRAWの形でRAM3へ書込む。そしてMPU23
はRAM3から順次生データをぬき出し、記録部17へ転送し
記録する。CG25の出力データは生データの形で記録部17
へ転送され記録される。(Mode M14) Original copy ... Fig. 24 The reading unit 1 writes the data for one line which receives the read command from the MPU 23 to the RAM 3 in the form of raw data RAW. And MPU23
Sequentially extracts the raw data from the RAM 3, transfers it to the recording unit 17, and records it. The CG25 output data is recorded in the form of raw data in the recording unit 17
Will be transferred to and recorded.
この様に、RAM9が圧縮符号化された画像信号を記憶し
て、MPU23は符号化された画像信号のままで走査線密度
を変換しているので、密度変換に伴う処理ひいては送信
処理を高速化でき、送信に要する時間を短縮化でき、送
信に要する時間に短縮できる。In this way, the RAM 9 stores the compression-encoded image signal, and the MPU 23 converts the scanning line density with the encoded image signal as it is. Therefore, the processing associated with the density conversion and the transmission processing can be speeded up. Therefore, the time required for transmission can be shortened, and the time required for transmission can be shortened.
<効果> 以上説明した様に、本発明によれば、複数頁分の画像信
号を記憶手段に記憶することにより送信のための操作を
簡易化するとともに、たとえ、夫々の走査線密度がちが
っていても、記憶手段に記憶された複数頁分の画像信号
の走査線密度を送信先に応じて高速に変換することがで
きる。<Effect> As described above, according to the present invention, the operation for transmission is simplified by storing the image signals for a plurality of pages in the storage means, and even if the scanning line densities are different from each other. However, the scanning line densities of the image signals for a plurality of pages stored in the storage unit can be converted at high speed according to the destination.
第1図は本実施例のフアクシミリ装置の断面図、第2図
(A)は本実施例のフアクシミリ装置の基本制御ブロツ
ク図、第2図(B)は第2図(A)のMPU23の基本機能
を示す図、第3図(A)は第2図(A)のROM11内のMH
コードデータの構成を示す図、第3図(B),(C)は
ランレングスコードからMRコードへの変換フローチヤー
ト図、第4図,第5図はRAM9内のEOLの構成を示す図、
第6図はMHコードからランレングスコードへの変換フロ
ーチヤート図、第7図はMHコードをランレングスコード
へ変換する場合のサーチ例を示す図、第8図(A)はMR
コードをランレングスコードへ変換する場合のサーチ例
を示す図、第8図(B)はモデム19からデータ要求イン
タラプトを受けた場合のMPU23の処理フローチヤートを
示す図、第8図(C)はランレングスコードから生デー
タへの変換フローチヤート図、第8図(D),(E),
(F)はB4からA4へのドツト数の変換の説明図、第9図
(a),(b),(c)はMPU23の14通りの動作モード
を決定する為のフローチヤート図、第10図は操作部50の
平面図、第11図はモードM1の画像データの流れを示す
図、第12図(A)はモードM2の画像データの流れを示す
図、第12図(B)はCGデータをMHコード、画像データは
MRコードでRAM9に貯える為のフローチヤート、第13図は
モードM3の画像データの流れを示す図、第14図(A)は
モードM4の画像データの流れを示す図、第14図(B)は
モードM4に相手機に応じて更にモードM4−1〜M4−4に
振り分けるフローチヤート図、第14図(C)は頁エンド
サブルーチンを示す図、第15図はモードM5の画像データ
の流れを示す図、第16図はモードM6の画像データの流れ
の示す図、第17図はモードM7,M8の画像データの流れを
示す図、第18図はモードM9,M10の画像データの流れを示
す図、第19図はモードM11の画像データの流れを示す
図、第20図はモードM12の画像データの流れを示す図、
第21図はRAM9への画像データの蓄積時にページの先頭に
付けられるフアイル管理用ラベルの構成を示す図、第22
図はRAM9内の画像データを自動クリアするフローチヤー
ト図、第23図(A)はモードM13の画像データの流れを
示す図、第23図(B)は時刻管理サブルーチンを示す
図、第24図はモードM14の画像データの流れを示す図で
ある。 図において、1は読取部、3,5,7はRAM、9は画像メモリ
といて使用されるFIFORAM、23はMPU、25はCGを夫々示
す。FIG. 1 is a sectional view of the facsimile machine of this embodiment, FIG. 2 (A) is a basic control block diagram of the facsimile machine of this embodiment, and FIG. 2 (B) is the basic of the MPU 23 of FIG. 2 (A). Figure showing function, Figure 3 (A) is MH in ROM 11 of Figure 2 (A)
FIG. 3 is a diagram showing the structure of code data, FIG. 3 (B) and (C) are flow charts for converting run length code to MR code, and FIGS. 4 and 5 are diagrams showing the structure of EOL in RAM9.
Fig. 6 is a flow chart for converting MH code to run length code. Fig. 7 is a diagram showing a search example when converting MH code to run length code. Fig. 8 (A) is MR
FIG. 8 (B) is a diagram showing a search example in the case of converting a code into a run length code, FIG. 8 (B) is a diagram showing a processing flow chart of the MPU 23 when receiving a data request interrupt from the modem 19, and FIG. Conversion chart from run-length code to raw data, Fig. 8 (D), (E),
(F) is an explanatory diagram of the conversion of the dot number from B4 to A4, and FIGS. 9 (a), (b), and (c) are flow charts for determining the 14 operation modes of the MPU 23, and FIG. FIG. 11 is a plan view of the operation unit 50, FIG. 11 is a diagram showing a flow of image data in the mode M1, FIG. 12 (A) is a diagram showing a flow of image data in the mode M2, and FIG. 12 (B) is a CG. Data is MH code, image data is
Flow chart for storing in RAM9 by MR code, FIG. 13 shows a flow of image data in mode M3, FIG. 14 (A) shows a flow of image data in mode M4, FIG. 14 (B) Is a flow chart for mode M4 and further distributes modes M4-1 to M4-4 according to the partner's machine. FIG. 14 (C) shows a page end subroutine. FIG. 15 shows the flow of image data in mode M5. FIG. 16 is a diagram showing the flow of image data in mode M6, FIG. 17 is a diagram showing the flow of image data in modes M7 and M8, and FIG. 18 is a diagram showing the flow of image data in modes M9 and M10. FIG. 19 is a diagram showing the flow of image data in mode M11, FIG. 20 is a diagram showing the flow of image data in mode M12,
FIG. 21 is a diagram showing the structure of a file management label attached to the top of a page when image data is stored in the RAM 9, FIG.
Fig. 23 is a flow chart for automatically clearing the image data in RAM9. Fig. 23 (A) is a diagram showing the flow of image data in mode M13. Fig. 23 (B) is a diagram showing a time management subroutine. Fig. 24 FIG. 13 is a diagram showing a flow of image data in mode M14. In the figure, 1 is a reading unit, 3, 5, 7 are RAMs, 9 is a FIFORAM used as an image memory, 23 is an MPU, and 25 is a CG.
───────────────────────────────────────────────────── フロントページの続き (72)発明者 高橋 政共 東京都大田区下丸子3丁目30番2号 キヤ ノン株式会社内 (72)発明者 吉野 元章 東京都大田区下丸子3丁目30番2号 キヤ ノン株式会社内 (72)発明者 上野 康秀 東京都大田区下丸子3丁目30番2号 キヤ ノン株式会社内 (72)発明者 渡辺 経寛 東京都大田区下丸子3丁目30番2号 キヤ ノン株式会社内 (72)発明者 大戸 庸生 東京都大田区下丸子3丁目30番2号 キヤ ノン株式会社内 (72)発明者 小野 健 東京都大田区下丸子3丁目30番2号 キヤ ノン株式会社内 (72)発明者 三浦 滋夫 東京都大田区下丸子3丁目30番2号 キヤ ノン株式会社内 (56)参考文献 特開 昭58−138162(JP,A) 特開 昭59−223057(JP,A) 特開 昭59−188272(JP,A) 特開 昭57−97271(JP,A) ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Masakyo Takahashi 3-30-2 Shimomaruko, Ota-ku, Tokyo Canon Inc. (72) Inventor Motoaki Yoshino 3-30-2 Shimomaruko, Ota-ku, Tokyo Canon Inc. (72) Inventor Yasuhide Ueno 3-30-2 Shimomaruko, Ota-ku, Tokyo Canon Inc. (72) Inventor Nobuhiro Watanabe 3-30-2 Shimomaruko, Ota-ku, Tokyo Canon Inc. Company (72) Inventor Yosei Oto 3-30-2 Shimomaruko, Ota-ku, Tokyo Canon Inc. (72) Inventor Ken Ken Ono 3-30-2 Shimomaruko, Ota-ku, Tokyo Canon Inc. (72) ) Inventor Shigeo Miura 3-30-2 Shimomaruko, Ota-ku, Tokyo Canon Inc. (56) Reference JP-A-58-138162 (JP, A) JP-A-59-223057 (JP, A) JP 59-188272 (JP, A) JP 57-97271 (JP, A)
Claims (1)
可能な読取手段と、 前記読取手段により読み取られた画像信号をライン毎に
符号化する符号化手段と、 前記符号化手段によりライン毎に符号化された画像信号
をライン間の区切りを示す区切リデータとともに複数頁
分記憶する第一の記憶手段と、 前記第一の記憶手段に記憶された複数頁分の画像信号の
夫々の頁の走査線密度を示すデータを記憶する第二の記
憶手段と、 前記画像信号の送信先から走査線密度を指定する信号を
受信する受信手段と、 画像送信に先立つ前手順により、前記第二の記憶手段に
記憶されたデータにより示される走査線密度が前記受信
手段により受信された信号により指定された走査線密度
より高いと判別されると、前記送信先から指定された走
査線密度に合う様に前記第一の記憶手段に記憶された画
像信号を前記区切りデータに応じて間引いて送信する画
像信号送信手段と、 前記画像信号送信手段により一頁分の画像信号の送信終
了後に次の頁の走査線密度が送信済の頁の走査線密度と
同じか否かを前記第二の記憶手段に記憶された送信済の
頁の走査線密度と次の頁の走査線密度を示すデータに基
づいて判別する判別手段と、 前記判別手段により次の頁の走査線密度が送信済の頁の
走査線密度と同じと判別された場合、次の頁を同一走査
線密度で送信することを示す手順信号を送信し、同じで
ないと判別された場合、前手順をもう一度行なうことを
示す手順信号を送信する手順信号送信手段とを有するこ
とを特徴とする画像送信装置。1. A reading unit capable of reading each line with a plurality of scanning line densities, an encoding unit for encoding the image signal read by the reading unit for each line, and each line for the encoding unit. A first storage unit for storing a plurality of pages of the image signal encoded together with the delimiter re-data indicating the delimiters between the lines, and the respective pages of the image signals for the plurality of pages stored in the first storage unit. Second storage means for storing data indicating a scanning line density, receiving means for receiving a signal designating a scanning line density from a destination of the image signal, and the second storage by a pre-procedure prior to image transmission. When it is determined that the scanning line density indicated by the data stored in the means is higher than the scanning line density specified by the signal received by the receiving means, the scanning line density specified by the destination is met. An image signal transmitting unit that thins out and transmits the image signal stored in the first storage unit according to the delimiter data, and the next page after the image signal transmitting unit finishes transmitting one page of the image signal. Whether the scanning line density of the same is the same as the scanning line density of the transmitted page based on the data indicating the scanning line density of the transmitted page and the scanning line density of the next page stored in the second storage means. And a procedure for transmitting the next page at the same scanning line density when the scanning line density of the next page is determined to be the same as the scanning line density of the transmitted page by the determining means. An image transmitting apparatus comprising: a procedure signal transmitting means for transmitting a signal and, if it is determined that they are not the same, transmitting a procedure signal indicating that the pre-procedure is performed again.
Priority Applications (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60017019A JPH0787507B2 (en) | 1985-01-31 | 1985-01-31 | Image transmitter |
| GB08602220A GB2172464B (en) | 1985-01-31 | 1986-01-30 | Image transmission apparatus |
| US07/243,231 US4845569A (en) | 1985-01-31 | 1988-09-07 | Image transmission or encoding apparatus |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60017019A JPH0787507B2 (en) | 1985-01-31 | 1985-01-31 | Image transmitter |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS61176255A JPS61176255A (en) | 1986-08-07 |
| JPH0787507B2 true JPH0787507B2 (en) | 1995-09-20 |
Family
ID=11932278
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP60017019A Expired - Lifetime JPH0787507B2 (en) | 1985-01-31 | 1985-01-31 | Image transmitter |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0787507B2 (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH01133469A (en) * | 1987-11-18 | 1989-05-25 | Ricoh Co Ltd | Facsimile data processing method |
| JPH02134980A (en) * | 1988-11-15 | 1990-05-23 | Nec Corp | Device for thinning stored facsimile code |
| JPH02134979A (en) * | 1988-11-15 | 1990-05-23 | Nec Corp | Device for thinning stored facsimile code |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS58138162A (en) * | 1982-02-12 | 1983-08-16 | Hitachi Ltd | Facsimile storage conversion method |
| JPS59188272A (en) * | 1983-04-09 | 1984-10-25 | Ricoh Co Ltd | fax machine |
| JPS59223057A (en) * | 1983-06-01 | 1984-12-14 | Canon Inc | Image processing device |
-
1985
- 1985-01-31 JP JP60017019A patent/JPH0787507B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPS61176255A (en) | 1986-08-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4772955A (en) | Data communication apparatus | |
| US4845569A (en) | Image transmission or encoding apparatus | |
| GB2173968A (en) | Method and apparatus for image transmission | |
| EP0621720B1 (en) | Facsimile apparatus and method of outputting results of facsimile communication | |
| JPH0787507B2 (en) | Image transmitter | |
| JPH0831933B2 (en) | Image transmitter | |
| JPH088630B2 (en) | Image transmitter | |
| JPH08298554A (en) | Image communication device and method | |
| JPH06105945B2 (en) | Image transmitter | |
| JP2626773B2 (en) | Facsimile machine | |
| JPS61179676A (en) | Encoding method | |
| JPS61176250A (en) | image transmitting device | |
| JPS61176268A (en) | Picture transmitter | |
| JP2566905B2 (en) | Image transmission method | |
| JPS61176267A (en) | Picture transmitter | |
| JPS61176292A (en) | Variable length code storage method | |
| JP2745447B2 (en) | Facsimile communication method | |
| JPS61176252A (en) | Picture transmitter | |
| JPH0646757B2 (en) | Image transmitter | |
| JP2002158855A (en) | Communicating method for picture data, transmission device and reception device | |
| JPS61176269A (en) | image transmitting device | |
| JPH06340151A (en) | Image output device | |
| KR950009645B1 (en) | Facsimile Polyphonic Continuous Transmission Method | |
| JP3236173B2 (en) | Data communication device | |
| JPH07143345A (en) | Image transmission method and image recording method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| EXPY | Cancellation because of completion of term |