JPH04196872A - Encoding system - Google Patents
Encoding systemInfo
- Publication number
- JPH04196872A JPH04196872A JP2327507A JP32750790A JPH04196872A JP H04196872 A JPH04196872 A JP H04196872A JP 2327507 A JP2327507 A JP 2327507A JP 32750790 A JP32750790 A JP 32750790A JP H04196872 A JPH04196872 A JP H04196872A
- Authority
- JP
- Japan
- Prior art keywords
- image data
- code
- data
- line
- document data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000007906 compression Methods 0.000 claims abstract description 25
- 230000006835 compression Effects 0.000 claims abstract description 18
- 238000000034 method Methods 0.000 claims description 8
- 238000006243 chemical reaction Methods 0.000 description 8
- 230000006837 decompression Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 6
- 238000004891 communication Methods 0.000 description 5
- 238000013144 data compression Methods 0.000 description 2
- 238000001514 detection method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 230000006870 function Effects 0.000 description 1
Abstract
Description
【発明の詳細な説明】
(概 要)
本発明は符号化方式に関し、
文書データをイメージデータに変換し圧縮する際の処理
時間を短縮することを目的とし、文書データをイメージ
データに変換しラインバッファに書込むイメージデータ
変換部と、該ラインバッファのデータを順次符号化する
圧縮部と、改頁コード処理部とを有し、該イメージデー
タ変換部は、該文書データ中に改頁コードを検出したと
き、該改頁コード以降の余白部分を通知し、且つ該圧縮
部による該頁の符号化処理を終了させるものであり、該
改頁コード処理部は、通知された該余白部分の全ライン
を所定の全白ライン符号に符号化するものであり、文書
データをイメージデータに変換し符号化する際、改頁コ
ード以降の余白部分は直接全白ライン符号に変換して圧
縮するように構成する。[Detailed Description of the Invention] (Summary) The present invention relates to an encoding method, and aims to reduce the processing time when converting document data to image data and compressing it. The image data converter includes an image data converter that writes to a buffer, a compressor that sequentially encodes data in the line buffer, and a page break code processor, and the image data converter converts the page break code into the document data. When detected, the page break code processing unit notifies the blank space after the page break code and causes the compression unit to finish the encoding process of the page, and the page break code processing unit decodes all of the notified blank space. It encodes lines into a predetermined all-white line code, and when converting document data to image data and encoding, the margin after the page break code is directly converted to an all-white line code and compressed. Configure.
本発明は、符号化方式の改良に関する。 The present invention relates to improvements in encoding methods.
近年、コンピュータで作成された文書データをファクシ
ミリ通信で相手先に転送するファクシミリ装置が実現し
ている。In recent years, facsimile devices have been realized that transfer document data created on a computer to a destination via facsimile communication.
このファクシミリ装置は、コンピュータから文書データ
を受信しながら、イメージデータに変換しデータ圧縮を
行って送信するように構成されているため、圧縮処理の
高速化が必要とされる。Since this facsimile device is configured to receive document data from a computer, convert it into image data, compress the data, and transmit the data, it is necessary to speed up the compression process.
〔従来の技術] 第3図は従来例の構成図である。[Conventional technology] FIG. 3 is a configuration diagram of a conventional example.
第3図は、パーソナルコンピュータPC30に接続され
たファクシミリ装置FAX 31が、PC30から文書
データを受信して、相手先FAX 32にファクシミリ
送信する構成例を示したもので、FAX 31は、文書
データを転送単位に受信しつつ、文書データ中の文字コ
ードをイメージデータに変換し、データ圧縮を行って送
信する。FIG. 3 shows an example of a configuration in which a facsimile device FAX 31 connected to a personal computer PC30 receives document data from the PC30 and transmits it by facsimile to a destination FAX 32. While receiving data in units of transfer, character codes in the document data are converted to image data, data is compressed, and then transmitted.
図中、FAX 31のラインバッファ5は、原稿の読取
り、受信出力等に使用されるもので、変換部6は、少な
くとも1行分の文書データを受信し、キャラクタジェネ
レータCG 7を参照しつつ、文字コードをイメージデ
ータに変換してラインバッファ5に書込む。また、圧縮
復元部4は、ラインバッファ5のイメージデータを参照
し、ライン順次に圧縮して圧縮データメモリ9に格納す
る。In the figure, a line buffer 5 of a FAX 31 is used for reading a document, receiving and outputting the document, and a converter 6 receives at least one line of document data, and while referring to a character generator CG 7, The character code is converted into image data and written to the line buffer 5. Further, the compression/decompression unit 4 refers to the image data in the line buffer 5, compresses the image data line by line, and stores it in the compressed data memory 9.
そして、1行分の変換が終わると、次の行のデータ転送
をPC30に要求する。When the conversion for one line is completed, a request is made to the PC 30 to transfer data for the next line.
なお、ラインバッファ5へのイメージデータの書込みに
際し、変換部6は、所定の文書形式に基づき、用紙サイ
ズ、行数9桁数に応じた所定位置にイメージデータを書
込むとともに、余白部分には白データを書込み(クリア
)し、圧縮復元部4は、用紙サイズ分の全ラインについ
て圧縮処理を行う。Note that when writing image data to the line buffer 5, the conversion unit 6 writes the image data in a predetermined position according to the paper size and the number of 9-digit lines based on a predetermined document format, and also writes the image data in the margin area. The white data is written (cleared), and the compression/decompression unit 4 performs compression processing on all lines corresponding to the paper size.
以上のごとく、FAX 31は、PC30より文書デー
タを受信しつつイメージデータに変換し、且つ圧縮して
、通信制御部IOを通じFAX 32に送信する。As described above, the FAX 31 receives document data from the PC 30, converts it into image data, compresses it, and transmits it to the FAX 32 through the communication control unit IO.
ファクシミリ装置のデータ圧縮処理は所定用紙分の全ラ
インについて行われる。The data compression process of the facsimile machine is performed for all lines of a predetermined sheet of paper.
文書データをイメージデータに変換し圧縮する際も同様
で、文書データ中に改頁コードが検出された場合、以後
の余白ラインは全白ライン(1ラインすべて白)のイメ
ージデータに変換されて圧縮処理が行われている。The same applies when converting document data to image data and compressing it. If a page break code is detected in the document data, the subsequent margin lines are converted to image data with all white lines (one line is all white) and compressed. Processing is taking place.
コンピュータからの文書データの受信は、この圧縮処理
に同期して転送単位で受信しており、改頁コードがあっ
ても、以後の余白部分の圧縮処理が終了するまで次の行
を受信することはできない。Document data is received from the computer in transfer units in synchronization with this compression process, and even if there is a page break code, the next line will not be received until the margin compression process is completed. I can't.
本発明は、上記課題に鑑み、改頁コード受信以後の処理
を改善して文書データの受信処理時間を短縮する符号化
方式を提供することを目的とする。SUMMARY OF THE INVENTION In view of the above problems, it is an object of the present invention to provide an encoding method that improves the processing after receiving a page break code and shortens the processing time for receiving document data.
第1図本発明の原理図において、
6aはイメージデータ変換部で、文書データ中に改頁コ
ードを検出したとき、改頁コード以降の余白部分を通知
し、その頁の圧縮処理を終了させる。In FIG. 1, a diagram showing the principle of the present invention, 6a is an image data converter, which, when detecting a page break code in document data, notifies it of the margin after the page break code, and ends the compression process for that page.
12は改頁コード処理部で、通知された余白部分の全ラ
インを所定の全白ライン符号に符号化して前ラインまで
の圧縮データに付加する。Reference numeral 12 denotes a page break code processing unit which encodes all the lines of the notified blank area into a predetermined all-white line code and adds it to the compressed data up to the previous line.
16は圧縮部で、イメージデータ変換部6aで変換され
たイメージデータをライン順次で符号化し、圧縮する。A compression unit 16 encodes and compresses the image data converted by the image data conversion unit 6a line-sequentially.
[作 用]
イメージデータ変換部6aは、受信した文書データ中の
文字コードをイメージデータに変換してラインバッファ
5に書込み、圧縮部16は、このラインバッファ5のデ
ータをライン順次で符号化して圧縮する。[Function] The image data conversion section 6a converts the character code in the received document data into image data and writes it into the line buffer 5, and the compression section 16 encodes the data in the line buffer 5 line sequentially. Compress.
文書データ中に改頁コードが検出されると、イメージデ
ータ変換部6aは、圧縮部16によるその頁の圧縮処理
を終了させるとともに、改頁コード処理部12に通知す
る。When a page break code is detected in the document data, the image data conversion unit 6a causes the compression unit 16 to finish the compression process for that page, and notifies the page break code processing unit 12.
これにより、改頁コード処理部12は、余白部分の全ラ
インを所定の全白ライン符号(1ラインすべて白である
ことを示す符号)に変換する。As a result, the page break code processing unit 12 converts all lines in the margin portion into a predetermined all-white line code (a code indicating that one line is all white).
以上のごとく、改頁コード以降の余白部分は、イメージ
データに変換して圧縮するのではな(、直接全白ライン
符号に変換するため、大幅に圧縮時間が短縮され、従っ
て受信時間が短縮される。As mentioned above, the blank space after the page break code is not compressed by converting it to image data (it is directly converted to an all-white line code, which greatly shortens the compression time and therefore the reception time. Ru.
[実施例] 本発明の実施例を図を用いて詳細に説明する。[Example] Embodiments of the present invention will be described in detail with reference to the drawings.
第2図は一実施例の構成図である。図中、3はfF部(
インタフェース部)で、接続されたコンピュータから文
書データを受信する。FIG. 2 is a block diagram of one embodiment. In the figure, 3 is the fF section (
The interface unit) receives document data from the connected computer.
6aはイメージデータ変換部で、受信した文書データ中
の文字コードをイメージデータに変換し、ラインバッフ
ァ5に書込むとともに、改頁コードが検出された場合は
、改頁コードの行に文字コードがあればその行をイメー
ジデータに変換してラインバッファ5に書込みした後、
なければ直ちに、余白ライン数をメモリ13に格納して
プロセッサCPU8に割込み等で通知する。6a is an image data conversion unit that converts the character code in the received document data into image data and writes it to the line buffer 5. If a page break code is detected, the character code is written in the line of the page break code. If so, convert that line to image data and write it to line buffer 5, then
If not, the number of blank lines is immediately stored in the memory 13 and notified to the processor CPU 8 by an interrupt or the like.
12は改頁コード処理部で、改頁コード検出通知を受け
ると、メモ1月3内に設定された余白ライン数分、所定
の余白ライン符号を圧縮データメモリ9に格納する。Reference numeral 12 denotes a page break code processing unit which, upon receiving the page break code detection notification, stores predetermined margin line codes in the compressed data memory 9 for the number of margin lines set in the memo January 3.
13はメモリで、全白ライン符号1文書影式情報が予め
格納されており、またイメージデータ変換部6aにより
、改頁コード以降の余白ライン数が格納される。Reference numeral 13 denotes a memory in which all-white line code 1 document shadow type information is stored in advance, and the number of margin lines after the page break code is stored by the image data converter 6a.
なお、読取部1.記録部2.圧縮復元部4.ラインバッ
ファ5、プロセッサCPU 8 、通信制御部IO1操
作部11は、ファクシミリ通信を行うためのFAX部、
図示破線で囲まれた部分が文書データの受信部分であり
、全図を通じて同一符号は同一対象物を表す。Note that the reading unit 1. Recording section 2. Compression/decompression unit 4. The line buffer 5, the processor CPU 8, and the communication control unit IO1 operation unit 11 include a FAX unit for performing facsimile communication;
The part surrounded by the broken line in the figure is the receiving part of the document data, and the same reference numerals represent the same objects throughout the figures.
ここで、全白ライン符号は、符号方式によって異なるが
、ファクシミリ装置で使用されるMH符号化方式によれ
ば、A4サイズの場合、のごとく規定されている。なお
、後半12ビツトは1ラインの終わりを示すEOLであ
る。Here, the all-white line code differs depending on the coding system, but according to the MH coding system used in facsimile machines, it is defined as follows in the case of A4 size. Note that the latter 12 bits are EOL indicating the end of one line.
この全白ライン符号を予めメモ1月3に格納しておき、
これを参照して余白ライン数分の全白ライン符号を圧縮
データメモリ9中の前ラインの圧縮データに続いて格納
する。Store this all-white line code in advance in the memo January 3,
Referring to this, all white line codes corresponding to the number of blank lines are stored in the compressed data memory 9 following the compressed data of the previous line.
以上の構成によって、以下に示すような文書データの受
信処理が行われる。なお、文書形式情報は予め設定され
ているものとする。With the above configuration, the following document data reception processing is performed. Note that it is assumed that the document format information is set in advance.
接続されたコンピュータより、IF部3を通じて少なく
とも1行分以上の文書データを受信すると、イメージデ
ータ変換部6aにより、先頭行までの余白部分に続いて
、先頭行の文字コードがイメージデータに変換され、ラ
イン順次にラインバッファ5に書込まれるとともに、圧
縮復元部4によって圧縮処理が開始される。When at least one line of document data is received from the connected computer through the IF section 3, the image data converting section 6a converts the character code of the first line, following the margin up to the first line, into image data. , are sequentially written into the line buffer 5, and the compression/decompression unit 4 starts compression processing.
この際、イメージデータ変換部6aは、書込みしたライ
ン数を計数しておく。At this time, the image data converter 6a counts the number of written lines.
そして、1行分の文書データの圧縮処理が終了すると、
次の行のデータを受信し、順次イメージデータへの変換
および圧縮処理を行う。When the compression process for one line of document data is completed,
The next row of data is received and sequentially converted to image data and compressed.
ここで、文書データ中に改頁コードが検出されると、イ
メージデータ変換部6aは、その行に文字コードがあれ
ば、その行をイメージデータに変換してラインバッファ
5に書込みした後、なければ直ちに、圧縮復元部4に書
込みしたライン数を設定してその頁の圧縮処理を終了さ
せ、残る余白ライン数をメモ1月3に設定して、cpu
sに割込む。Here, when a page break code is detected in the document data, the image data converter 6a converts the line into image data if there is a character code, writes it to the line buffer 5, and then converts the line into image data. Immediately set the number of written lines in the compression/decompression unit 4, finish the compression process for that page, set the number of remaining margin lines in the memo 3, and
Interrupt into s.
これにより、改頁コード処理部12が起動され、改頁コ
ード処理部12はメモ1月3より全白ライン符号および
余白ライン数を取り出し、余白ライン数分の全白ライン
符号を前ラインの圧縮データに続いて圧縮データメモリ
9に格納する。As a result, the page break code processing section 12 is started, and the page break code processing section 12 extracts the all-white line code and the number of margin lines from the memo January 3, and compresses the all-white line code for the number of margin lines from the previous line. Following the data, it is stored in the compressed data memory 9.
全白ライン符号の格納が終わると、イメージデータ変換
部6aに処理が返り、次の頁の文書データの送信をコン
ピュータに要求する。When the storage of the all-white line code is completed, the process returns to the image data converter 6a, and requests the computer to transmit the document data of the next page.
以上のごとく、改頁コード検出以降の余白ラインはイメ
ージデータに変換して圧縮するのではなく、直接全白ラ
イン符号に変換して圧縮データメモリ9に格納するので
、圧縮処理時間が大幅に短縮され、次の頁の受信に速や
かに移行できて受信時間が短縮される。As described above, the margin lines after the page break code is detected are not converted to image data and compressed, but are directly converted to all-white line code and stored in the compressed data memory 9, which greatly reduces the compression processing time. The next page can be received quickly, and the reception time is shortened.
〔発明の効果〕 ”
以上説明したように、本発明は、文書データをイメージ
データに変換し圧縮する際、改頁コードが存在すれば、
以降の余白はイメージデータに展開せず直接前白ライン
の圧縮データに変換するもので、データ圧縮の処理時間
が短縮され、圧縮しつつ受信する場合は文書データの受
信時間が短縮されるという効果を奏する。[Effects of the Invention] ” As explained above, the present invention can convert document data into image data and compress it if a page break code exists.
The following margins are directly converted to compressed data of the front white line without being expanded into image data, which shortens the data compression processing time, and if the document data is received while being compressed, the reception time of the document data is shortened. play.
第1図は本発明の原理図、第2図は一実施例の構成図、
第3図は従来例の構成図である。
図中、1は読取部、2は記録部、3はIF部、4は圧縮
復元部、5はラインバッファ、6は変換部、6aはイメ
ージデータ変換部、7はキャラクタジェネレータCG、
8はプロセッサCPU 、 9は圧縮データメモリ、
10は通信制御部、11は操作部、12は改頁コード処
理部、13はメモリ、16は圧縮部で第2図Fig. 1 is a principle diagram of the present invention, Fig. 2 is a configuration diagram of an embodiment,
FIG. 3 is a block diagram of a conventional example. In the figure, 1 is a reading section, 2 is a recording section, 3 is an IF section, 4 is a compression/decompression section, 5 is a line buffer, 6 is a conversion section, 6a is an image data conversion section, 7 is a character generator CG,
8 is a processor CPU, 9 is a compressed data memory,
10 is a communication control unit, 11 is an operation unit, 12 is a page break code processing unit, 13 is a memory, and 16 is a compression unit.
Claims (1)
5)に書込むイメージデータ変換部(6a)と、該ライ
ンバッファのデータを順次符号化する圧縮部(16)と
、改頁コード処理部(12)とを有し、該イメージデー
タ変換部(6a)は、該文書データ中に改頁コードを検
出したとき、該改頁コード以降の余白部分を通知し、且
つ該圧縮部による該頁の符号化処理を終了させるもので
あり、 該改頁コード処理部(12)は、通知された該余白部分
の全ラインを所定の全白ライン符号に符号化するもので
あり、 文書データをイメージデータに変換し符号化する際、改
頁コード以降の余白部分は直接全白ライン符号に変換し
て圧縮することを特徴とする符号化方式。[Claims] Document data is converted to image data and line buffer (
5); a compression unit (16) that sequentially encodes the data in the line buffer; and a page break code processing unit (12); 6a) is for, when a page break code is detected in the document data, notifying the margin area after the page break code and terminating the encoding process of the page by the compression unit; The code processing unit (12) encodes all the lines of the notified blank area into a predetermined all-white line code, and when converting document data into image data and encoding it, it encodes all lines after the page break code. An encoding method characterized by directly converting and compressing blank areas into all-white line code.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2327507A JP2985288B2 (en) | 1990-11-28 | 1990-11-28 | Coding method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2327507A JP2985288B2 (en) | 1990-11-28 | 1990-11-28 | Coding method |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH04196872A true JPH04196872A (en) | 1992-07-16 |
JP2985288B2 JP2985288B2 (en) | 1999-11-29 |
Family
ID=18199908
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2327507A Expired - Fee Related JP2985288B2 (en) | 1990-11-28 | 1990-11-28 | Coding method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2985288B2 (en) |
-
1990
- 1990-11-28 JP JP2327507A patent/JP2985288B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2985288B2 (en) | 1999-11-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4922437A (en) | Image information processing apparatus | |
US5369505A (en) | Image processing apparatus | |
US4800440A (en) | Digital image signal coding/decoding circuit with buffer memory storing reference line as compression codes | |
JP3269970B2 (en) | Method and apparatus for compressing and decompressing digital image signals | |
JPH04196872A (en) | Encoding system | |
EP0469716A2 (en) | Image processing apparatus | |
JP3674644B2 (en) | Data generator for printing | |
JPS60119170A (en) | Connecting device of facsimile | |
JPS59223057A (en) | Image processing device | |
JPH0278373A (en) | Picture data transmission equipment | |
JP3053191B2 (en) | Image compression coding device | |
JPH0844875A (en) | Encoding processor | |
JPH0695729B2 (en) | MR encoding device | |
JPH11313182A (en) | Image forming device | |
JPH04373248A (en) | Facsimile management report output method | |
JPH10224225A (en) | Method and device for selecting data compression automatically | |
JP3164261B2 (en) | Facsimile communication connection device | |
JP2878430B2 (en) | Communication terminal device | |
JPH0832814A (en) | Facsimile equipment | |
JP3313463B2 (en) | Image processing device | |
JPH0494267A (en) | Mr decoder | |
JPH0254675A (en) | Information file equipment | |
JPH0946491A (en) | Electrophotographic recorder and facsimile equipment using the recorder | |
JPS60254280A (en) | Picture processor | |
JPS6331272A (en) | Restoring system in picture extension |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
LAPS | Cancellation because of no payment of annual fees |