JPS6220474A - Encoding system for picture information - Google Patents

Encoding system for picture information

Info

Publication number
JPS6220474A
JPS6220474A JP15833185A JP15833185A JPS6220474A JP S6220474 A JPS6220474 A JP S6220474A JP 15833185 A JP15833185 A JP 15833185A JP 15833185 A JP15833185 A JP 15833185A JP S6220474 A JPS6220474 A JP S6220474A
Authority
JP
Japan
Prior art keywords
run
main scanning
line
encoding
length
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP15833185A
Other languages
Japanese (ja)
Inventor
Tatsuo Takaoka
達夫 高岡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP15833185A priority Critical patent/JPS6220474A/en
Publication of JPS6220474A publication Critical patent/JPS6220474A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve an encoding rate greatly by encoding run-length encoded data of one line further shortly when the same data succeeds in the run-length encoded data. CONSTITUTION:A picture signal outputted by a scanner 1 is encoded on run- length basis by an encoding and decoding part 6. The obtained code data is compart at intervals of one main scanning line and when main scanning lines having the same contents succeed, the code data of the scanning lines are stored in a succeeding line memory 7 and storage address information on the code data of the main scanning line in the succeeding line memory 7 and the number of the succeeding data are stored in a page memory 8 instead of run-length codes. Further, a section code CDD is inserted right after the run-length code of a main scanning line right before the succeeding main scanning line so as to identify normal run-length codes from its storage address information and the number of succeeding codes.

Description

【発明の詳細な説明】 [技術分野] 本発明は、画情報の符号化方式に関する。[Detailed description of the invention] [Technical field] The present invention relates to an encoding method for image information.

[従来技術] 一般に、画情報は非常に情報量が大きく、かつ、情報の
冗長度が大きいので、画情報を記憶したり伝送したりす
る画情報の処理装置においては、情報の冗長度を圧縮す
る符号化方式を適用して、画情報の情報量を圧縮してい
る。
[Prior Art] In general, image information has a very large amount of information and a high degree of redundancy, so image information processing devices that store and transmit image information compress the redundancy of the information. The amount of image information is compressed by applying this encoding method.

例えば、画情報を伝送するファクシミリ装置においては
、ccIrT(国際電信電話諮問委員会)の勧告によっ
て、標準的な一次元符号化方式および二次元符号化方式
が定められており、これによって、標準的な原稿の1枚
の情報量が175以下に圧縮され、標準原稿1枚の伝送
時間が1分以下に短縮されている。
For example, for facsimile machines that transmit image information, standard one-dimensional and two-dimensional encoding systems have been established in accordance with the recommendations of the ccIrT (International Telegraph and Telephone Consultative Committee). The amount of information per standard original document is compressed to less than 175, and the transmission time for one standard original document is reduced to less than 1 minute.

しかしながら、従来の画情報の符号化方式は、基本的に
画像読取装置から出力された画情報を符号化した時点で
終了し、その符号化処理によって得られた符号データを
蓄積あるいは伝送しているので、主走査線相互の関係を
利用した符号化はなされておらず、そのため、符号化率
が比較的低いという問題があった。
However, conventional image information encoding methods basically end when the image information output from the image reading device is encoded, and the encoded data obtained through the encoding process is stored or transmitted. Therefore, encoding using the relationship between the main scanning lines is not performed, and as a result, there is a problem in that the encoding rate is relatively low.

[目的コ 本発明は、上述した従来技術の問題を解決するためにな
されたものであり、符号化率が向上した画情報の符号化
方式を提供することを目的としている。
[Purpose] The present invention has been made to solve the problems of the prior art described above, and it is an object of the present invention to provide an encoding method for image information with an improved encoding rate.

[構成コ 本発明は、この目的を達成するために、ランレンス符号
を主走査線単位で比較し、同じ内容の主走査線が連続す
るときは、その連続する直前の主走査線のランレングス
符号の直後に所定の区切り符号を配置したのちに、その
連続数と当該主走査線におけるランレングス符号の内容
をあらわす情報を、ランレングス符号に代えて出力して
いる。
[Configuration] In order to achieve this object, the present invention compares run-length codes for each main scanning line, and when main scanning lines with the same content are consecutive, the run-length code of the immediately preceding main scanning line is compared. After placing a predetermined delimiter code immediately after, information representing the number of consecutive delimiters and the content of the run-length code in the main scanning line is output instead of the run-length code.

以下、添付図面を参照しながら、本発明の実施例を詳細
に説明する。
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

第1図は、本発明の一実施例にかかるファクシミリ装置
を示したものである。
FIG. 1 shows a facsimile machine according to an embodiment of the present invention.

同図において、スキャナ1は送信原稿の画像を所定の解
像度で読み取るものであり、このスキャナ1から出力さ
れる画信号は、バッファ2を介してパスライン3に出力
される。また、プロッタ4は受信画像を記録出力するも
のであり、その記録信号は、パスライン3からバッファ
5を介してプロッタ4に加えられている。
In the figure, a scanner 1 reads an image of a transmitted document at a predetermined resolution, and an image signal outputted from the scanner 1 is outputted to a pass line 3 via a buffer 2. The plotter 4 records and outputs the received image, and its recording signal is applied to the plotter 4 from the pass line 3 via the buffer 5.

符号化復号化部6は、スキャナ1から出力された画信号
をランレングス符号化するとともに、それによって得ら
れた符号データを主走査線毎に比較し、同じ内容の主走
査線が連続するときには、その主走査線の符号データを
連続ラインメモリ7に記憶し、この連続ラインメモリ7
におけるその主走査線の符号データの記憶番地情報と、
連続数とを、ランレングス符号に代えてページメモリ8
に記憶する。また1通常のランレングス符号とその記憶
番地情報および連続数とを識別するために、その連続す
る主走査線の直前の主走査線のランレングス符号の直後
に、区切り符号CODを挿入している。
The encoding/decoding unit 6 performs run-length encoding on the image signal output from the scanner 1, and compares the encoded data obtained thereby for each main scanning line. , stores the code data of the main scanning line in the continuous line memory 7, and stores the code data of the main scanning line in the continuous line memory 7.
storage address information of the code data of the main scanning line in ,
The consecutive numbers are replaced with run-length codes in page memory 8.
to be memorized. In addition, 1. In order to identify the normal run-length code, its storage address information, and the consecutive number, a delimiter code COD is inserted immediately after the run-length code of the main scanning line immediately before the consecutive main scanning lines. .

連続ラインメモリ7は、第2図に示したように、最大ラ
イン長の記憶容量をもつラインメモリLMと。
As shown in FIG. 2, the continuous line memory 7 is a line memory LM having a storage capacity of the maximum line length.

おのおののラインメモリLHを識別するための記憶番地
情報ADDを、複数個連続的に配置して構成してメモリ
テーブルを形成し、さらに、このメモリテーブルを複数
個(例えばページメモリに記憶可能な原稿枚数)配置し
た構成をもつ。また、例えば記憶番地情報ADDを1バ
イト(=8ビット)のデータとすると、1つのメモリテ
ーブルには256個のラインメモリLMが配置されてい
る。
A memory table is formed by consecutively arranging a plurality of pieces of memory address information ADD for identifying each line memory LH, and furthermore, a plurality of pieces of this memory table (for example, documents that can be stored in the page memory Number of sheets) It has an arranged configuration. Further, for example, if the storage address information ADD is 1 byte (=8 bits) data, 256 line memories LM are arranged in one memory table.

ページメモリ8は、標準原稿に対応したランレングス符
号を、多数枚分記憶できる容量を備えたメモリである。
The page memory 8 is a memory having a capacity capable of storing run-length codes corresponding to standard originals for a large number of sheets.

システム制御部9は、マイクロプロセッサ、その制御プ
ログラム等を記憶したメモリおよび周辺装置からなり、
このファクシミリ装置の各要素を適正に制御してファク
シミリ装置全体を適切に作動するものであり、モデム1
0は、送信情報を所定の変調方式で変調するとともに、
受信信号を元の情報に復調するものである。このモデム
1oと伝送回線(例えば公衆電話回線等)は、網制御装
置11を介して接続されている。
The system control unit 9 consists of a microprocessor, a memory storing its control program, etc., and peripheral devices.
Each element of this facsimile machine is properly controlled to operate the facsimile machine as a whole, and the modem 1
0 modulates the transmission information using a predetermined modulation method, and
It demodulates the received signal to the original information. This modem 1o and a transmission line (for example, a public telephone line) are connected via a network control device 11.

なお、このファクシミリ装置の符号化復号化系を除く各
部は、従来と同様な構成なので、その詳細な説明は省略
する。
It should be noted that each part of this facsimile apparatus except for the encoding/decoding system has the same structure as the conventional one, and therefore, detailed explanation thereof will be omitted.

以上の構成で、まず、符号化復号化部6による符号化処
理について説明する。
With the above configuration, encoding processing by the encoding/decoding section 6 will be described first.

この場合、例えばオペレータがスキャナ1に送信原稿を
セットしたのちに、操作部(図示路)から送信開始を指
令入力すると、システム制御部9は、スキャナ1を作動
するとともに、1枚目の原稿の画情報を符号化するよう
に、符号化復号化部6に指令する。
In this case, for example, when the operator sets a document to be transmitted on the scanner 1 and then inputs a command to start transmission from the operation section (path shown), the system control section 9 activates the scanner 1 and starts scanning the first document. The encoding/decoding unit 6 is instructed to encode the image information.

これにより、符号化復号化部6は、第3図に示したよう
な符号化処理を実行する。
Thereby, the encoding/decoding unit 6 executes encoding processing as shown in FIG.

すなわち、まず、内容が同一な主走査線(以下ラインと
いう)の連続数を記憶するためのカウンタmと、処理し
たライン数を記憶するためのカウンタnをそれぞれ1と
Oに初期設定しく処理101)、ラインの内容を比較す
るために、符号化ラインと直前のラインのランレングス
符号を記憶するバッファBFI、BF2をそれぞれクリ
アする(処理102)。
That is, first, a counter m for storing the number of consecutive main scanning lines (hereinafter referred to as lines) with the same content and a counter n for storing the number of processed lines are initialized to 1 and O, respectively (step 101). ), buffers BFI and BF2 that store the run-length codes of the encoded line and the immediately preceding line are cleared, respectively, in order to compare the contents of the lines (process 102).

そして、バッファBF1の記憶内容をバッファBF2に
移したのち(処理103)、カウンタnをインクリメン
トして次のラインのための準備をしく処理104)、カ
ウンタnの値に基づいて1ペ一ジ分の符号化処理を終了
したかどうかを判別する(判断105)。
Then, after moving the memory contents of buffer BF1 to buffer BF2 (process 103), the counter n is incremented to prepare for the next line (process 104), and one page is transferred based on the value of counter n. It is determined whether the encoding process has been completed (determination 105).

この判断105の結果がNoの場合、n番目のラインの
画情報をバッファ2およびパスライン3を介して入力し
く処理106)、そのラインのデータをランレングス符
号化する符号化処理107を実行したのちに、その結果
得られた1ライン分のランレングス符号をバッファBF
1に記憶する(処理107)。
If the result of this judgment 105 is No, the image information of the n-th line is input via the buffer 2 and the pass line 3 (process 106), and the encoding process 107 is executed to run-length encode the data of that line. Later, the resulting run-length code for one line is stored in the buffer BF.
1 (process 107).

そして、バッファBFIとバッファBF2を比較する(
判断109)。両者が等しくてこの判断109の結果が
YESになる場合は、同じ内容のラインが連続している
ので、カウンタmをインクリメントして(処理110)
、処理103へと復帰する。
Then, compare buffer BFI and buffer BF2 (
Judgment 109). If both are equal and the result of this judgment 109 is YES, the lines with the same content are consecutive, so the counter m is incremented (process 110).
, the process returns to step 103.

また、判断109の結果がNOになる場合は、カウンタ
mの値を1と比較する(判断111)。この判断111
の結果がYESになる場合は、同一の内容のラインが連
続しなかった場合なので、そのときのバッファBF2の
内容をページメモリ8の空き領域の先頭に追加する(処
理112)。
Further, if the result of the determination 109 is NO, the value of the counter m is compared with 1 (determination 111). This judgment 111
If the result is YES, this means that lines with the same content are not consecutive, so the content of the buffer BF2 at that time is added to the beginning of the free area of the page memory 8 (process 112).

一方、判断111の結果がNOになる場合は、同一の内
容のラインがmラインだけ連続した直後の状態なので、
連続ラインメモリ7において、このときシステム制御部
9から通知された送信原稿のページ数に対応したメモリ
テーブルの空き領域の先頭ラインメモリLMに記憶する
(処理113)とともに。
On the other hand, if the result of judgment 111 is NO, it means that the same content has just continued for m lines.
In the continuous line memory 7, it is stored in the first line memory LM of the free area of the memory table corresponding to the number of pages of the transmission document notified from the system control unit 9 at this time (processing 113).

その記憶したラインメモリLMに対応した記憶番地情報
ADDを抽出する。
The storage address information ADD corresponding to the stored line memory LM is extracted.

そして、区切り符号CDD、記憶番地情報ADDおよび
カウンタmの値を、ページメモリ8の空き領域の先頭に
追加しく処理114)、処理103に復帰する。
Then, the delimiter code CDD, the storage address information ADD, and the value of the counter m are added to the beginning of the free area of the page memory 8 (step 114), and the process returns to step 103.

以上の処理を繰り返し実行し、判断105で1ペ一ジ分
の符号化処理の終了が判別されると、この処理を終了す
るとともに、lパー2分の符号化処理を終了したことを
システム制御部9に通知する。
The above process is repeatedly executed, and when it is determined in judgment 105 that the encoding process for one page has been completed, this process is terminated, and the system control also indicates that the encoding process for 1/2 minutes has been completed. Notify Department 9.

これにより、システム制御部9は、スキャナ1に後続の
原稿がセットされている場合は、スキャナ1を作動させ
るとともに、符号化復号化部6に2枚目の原稿を符号化
するように指令する。
As a result, if a subsequent document is set in the scanner 1, the system control section 9 operates the scanner 1 and instructs the encoding/decoding section 6 to encode the second document. .

したがって、上述した符号化処理が繰り返し実行される
とともに、このときには、連続ラインメモリ7における
メモリテーブルは、2枚目の送信原稿に対応するものが
選択される。
Therefore, the above-described encoding process is repeatedly executed, and at this time, the memory table in the continuous line memory 7 that corresponds to the second transmission document is selected.

以上の動作は、スキャナ1にセットされている送信原稿
の画像が全て読み取られるまで、順次繰り返し実行され
る。
The above operations are sequentially and repeatedly performed until all images of the transmission document set on the scanner 1 are read.

なお、スキャナ1からは原稿のサイズ情報がシステム制
御部9に通知されており、システム制御部9は、予め符
号化復号化部6にこのサイズ情報を通知している。これ
により、上述した処理105におけるページ終了の判断
基準に、このサイズ情報に対応した総ライン数が用いら
れる。
Note that the scanner 1 notifies the system control section 9 of the size information of the document, and the system control section 9 notifies the encoding/decoding section 6 of this size information in advance. As a result, the total number of lines corresponding to this size information is used as the criterion for determining the end of a page in the process 105 described above.

このようにして全ての送信原稿の画情報が符号化されて
連続ラインメモリ7およびページメモリ8に蓄積される
と、システム制御部9は、網制御装置11によってオペ
レータから指令された宛先を発呼し、回線が設定される
と、所定の伝送制御手順を実行するとともに、画情報の
伝送に先立って連続ラインメモリ7の記憶内容を宛先端
末に対して伝送し、それを終了すると、ページメモリ8
の記憶内容を宛先端末に対して伝送する。
When the image information of all transmitted documents is encoded and stored in the continuous line memory 7 and page memory 8 in this way, the system control unit 9 sends a call to the destination instructed by the operator using the network control device 11. When the line is set up, a predetermined transmission control procedure is executed, and the contents stored in the continuous line memory 7 are transmitted to the destination terminal before transmitting the image information.
The stored contents are transmitted to the destination terminal.

受信端末(すなわち宛先端末)は、送信端末と同様な構
成すなわち第1図に示したファクシミリ装置であり、そ
のシステム制御部9は、送信端末から画情報の伝送に先
立って伝送されて(るデータを順次連続ラインメモリ7
に記憶し、その後に伝送されてくる画情報をページメモ
リ8に一旦記憶する。
The receiving terminal (that is, the destination terminal) has the same configuration as the sending terminal, that is, the facsimile machine shown in FIG. Sequential continuous line memory 7
The image information transmitted thereafter is temporarily stored in the page memory 8.

このようにして、画情報の受信を終了すると。In this way, the reception of image information is completed.

システム制御部9は、符号化復号化部6に、まず1枚目
の受信情報を元の画情報に復号するように指令する。こ
れにより、符号化復号化部6は、第4図に示した処理に
よって受信情報を元の画情報に復号する。
The system control section 9 instructs the encoding/decoding section 6 to first decode the received information of the first image into the original image information. Thereby, the encoding/decoding unit 6 decodes the received information into the original image information by the process shown in FIG.

すなわち、まず、処理したライン数を記憶するためのカ
ウンタnをOに初期設定する(処理201)。
That is, first, a counter n for storing the number of processed lines is initialized to O (process 201).

そして、カウンタnをインクリメントしたのち(処理2
02)、その値に基づいて1ページの処理が終了したか
どうかを判別する(判断203)。
Then, after incrementing the counter n (processing 2
02), based on the value, it is determined whether the processing of one page has been completed (determination 203).

この判断の結果がNOの場合、ページメモリ8から。番
目のラインのデータを入力しく処理204)、その先頭
の符号が区切り符号CDDであるかどうかを判別する(
判断205)。
If the result of this judgment is NO, from the page memory 8. Process 204) to input the data of the th line, and determine whether the first code is the delimiter code CDD (
Judgment 205).

さて、ここでページメモリ8におけるデータの記憶状態
を考えると、第5図に示したように、同じ内容が連続し
ていない部分のデータは、ライン終了信号EOLに続い
て当該ラインに対応したランレングス符号(コード)が
複数個記憶されている。
Now, considering the storage state of data in the page memory 8, as shown in FIG. A plurality of length codes are stored.

また、同じ内容が連続している部分のデータは、ライン
終了信号EOLに続いて区切り符号CODが配置され、
さらに、1バイトの記憶番地情報ADDおよび1バイト
のカウンタmすなわちラインの連続数が連続して配置さ
れている。
In addition, for data in parts where the same content is continuous, a delimiter code COD is placed following the line end signal EOL,
Furthermore, 1-byte storage address information ADD and a 1-byte counter m, ie, the number of consecutive lines, are arranged consecutively.

そこで、判断205の結果がNOの場合は、通常の復号
化処理206を実行し、これによって復号された画情報
を、パスライン3を介してバッファ5に記憶させ、その
後、処理202に復帰する。なお、このバッファ5に記
憶された画情報は、プロッタ4によって適宜なタイミン
グに読み込まれて、記録される。
Therefore, if the result of the judgment 205 is NO, the normal decoding process 206 is executed, the image information decoded by this is stored in the buffer 5 via the pass line 3, and then the process returns to the process 202. . The image information stored in the buffer 5 is read by the plotter 4 at an appropriate timing and recorded.

また、判断205の結果がYESの場合は、区切り符号
CODの直後の1バイト目のデータすなわちメモリテー
ブルの記憶番地情報ADDを、変数1にセットしく処理
207)、区切り符号CDDの直後の2バイト目のデー
タすなわち連続数をカウンタkに、その連続数から1を
引いた値を補正値iにそれぞれセットする(処理208
)。
If the result of the judgment 205 is YES, the first byte of data immediately after the delimiter COD, that is, the storage address information ADD of the memory table, is set to variable 1 (207), and the 2 bytes immediately after the delimiter CDD are processed. The eye data, that is, the consecutive number, is set to a counter k, and the value obtained by subtracting 1 from the consecutive number is set to a correction value i (process 208
).

そして、連続ラインメモリ7において、そのときにシス
テム制御部9から通知されているページ数に対応したメ
モリテーブルで、変数1の値に対応した記憶番地情報A
DDのラインメモリLMに記憶されている1ライン分の
ランレングス符号を読み出して、これを元の画情報に復
号し、その画情報をパスライン3を介してバッファ5に
記憶させる(処理209)。
Then, in the continuous line memory 7, the memory address information A corresponding to the value of the variable 1 is stored in the memory table corresponding to the number of pages notified from the system control unit 9 at that time.
The run length code for one line stored in the line memory LM of the DD is read out, decoded into original image information, and the image information is stored in the buffer 5 via the pass line 3 (processing 209). .

そしてこの処理209を、カウンタkをデクリメントし
ながら(処理210)、このカウンタにの値がOになる
まで(判断211の結果がNOになるまで)、繰り返し
実行する。これにより、同じ内容の画情報が、連続する
ライン数だけ繰り返して復号される。
Then, this process 209 is repeatedly executed while decrementing the counter k (process 210) until the value of this counter becomes O (until the result of judgment 211 becomes NO). As a result, image information having the same content is repeatedly decoded for the number of consecutive lines.

そして、この連続した画情報の出力を終了すると、カウ
ンタnに補正値jを加えて処理したライン数を補正しく
処理212)、処理202に復帰する。
When the output of this continuous image information is finished, the correction value j is added to the counter n to correctly correct the number of processed lines (step 212), and the process returns to step 202.

以上の処理を繰り返し実行し、判断203で1ペ一ジ分
の復号化処理の終了が判別されると、この処理を終了す
るとともに、1ペ一ジ分の復号化処理を終了したことを
システム制御部9に通知する。
The above process is repeatedly executed, and when it is determined in judgment 203 that the decoding process for one page has been completed, this process is terminated, and the system also indicates that the decoding process for one page has been completed. The control unit 9 is notified.

これにより、システム制御部9は、ページメモリ8に後
続の受信情報が記憶されている場合は、符号化復号化部
6に2枚目の原稿を復号化するように指令する。
As a result, the system control unit 9 instructs the encoding/decoding unit 6 to decode the second document if the subsequent received information is stored in the page memory 8.

したがって、上述した符号化処理が繰り返し実行される
とともに、このときには、連続ラインメモリ7における
メモリテーブルは、2枚目の送信原稿に対応するものが
選択される。
Therefore, the above-described encoding process is repeatedly executed, and at this time, the memory table in the continuous line memory 7 that corresponds to the second transmission document is selected.

以上の動作は、ページメモリ8に記憶されている情報が
全て復号化されるまで、順次繰り返し実行される。
The above operations are sequentially and repeatedly executed until all the information stored in the page memory 8 is decoded.

なお、システム制御部9には、伝送制御手順において送
信される原稿のサイズが、送信端末側から通知されてお
り、システム制御部9は、予め符号化復号化部6にこの
サイズ情報を通知している。
Note that the system control unit 9 is notified of the size of the document to be transmitted in the transmission control procedure from the sending terminal side, and the system control unit 9 notifies the encoding/decoding unit 6 of this size information in advance. ing.

これにより、上述した処理203におけるページ終了の
判断基準に、このサイズ情報に対応した総ライン数が用
いられる。
As a result, the total number of lines corresponding to this size information is used as the criterion for determining the end of a page in the process 203 described above.

このようにして、連続ラインメモリ7およびページメモ
リ8に記憶されている受信情報が、元の画情報に復号さ
れて、プロッタ4により記録出力される。なお、当然の
ことながら、この復号化された画情報をページメモリ8
の空き領域に再度蓄積することもできる。
In this way, the received information stored in the continuous line memory 7 and the page memory 8 is decoded into the original image information, and the plotter 4 records and outputs the original image information. Note that, as a matter of course, this decoded image information is stored in the page memory 8.
It can also be stored again in the free space.

以上のように、1ライン分のランレングス符号化データ
が同一のものが連続すると、このランレングス符号デー
タをまとめてさらに短く符号化しているので、例えば、
第6図に示したように、原稿DDに形成される余白部A
あるいは空白部B、もしくは、縦横罫線が引いである部
分Cにおける空白部等が、非常に短い符号に変換される
As mentioned above, when the same run-length encoded data for one line continues, the run-length encoded data is collectively encoded to make it shorter, so for example,
As shown in FIG. 6, the margin area A formed on the document DD
Alternatively, a blank part B or a blank part in a part C where vertical and horizontal ruled lines are drawn is converted into a very short code.

とくに、上述したファクシミリ装置で、送信原稿として
用いられる書画情報は、余白や空白が比較的多く存在し
ているので、本発明による伝送時間短縮の効果が大きい
In particular, in the above-described facsimile machine, since the calligraphic information used as a transmission document has relatively many margins and blank spaces, the present invention has a great effect in reducing the transmission time.

なお、上述した実施例においては、同一内容のライン数
を記憶するカウンタmを1バイトに設定したため、連続
数は256までしか管理できないが、このカウンタmの
値を適宜に設定することによって、この管理可能な連続
数を増加することができる。また、256よりも連続数
が大きくなるような場合は、上述した符号化処理で、連
続数が256を越えた場合、同様の符号化処理を繰り返
し実行すればよい。
In the above embodiment, the counter m that stores the number of lines with the same content is set to 1 byte, so the number of consecutive lines can only be managed up to 256. However, by setting the value of the counter m appropriately, this can be managed. The number of consecutive sequences that can be managed can be increased. Furthermore, if the number of consecutive sequences is greater than 256, the above-mentioned encoding process may be used, and if the number of consecutive sequences exceeds 256, the same encoding process may be repeatedly executed.

同様にして、ラインテーブルにおける記憶番地情報AD
Dの桁数を増加することにより、より多くの同一内容が
連続する部分に対して同様の符号化処理が可能になる。
Similarly, storage address information AD in the line table
By increasing the number of digits of D, similar encoding processing can be performed on more consecutive parts of the same content.

なお、上述した実施例では、本発明をファクシミリ装置
に適用したが、本発明は他の装置、例えば画像ファイル
システム等にも、同様にして適用できる。
In the above-described embodiment, the present invention is applied to a facsimile machine, but the present invention can be similarly applied to other devices such as an image file system.

[効果] 以上説明したように、本発明によれば、ランレンス符号
を主走査線単位で比較し、同じ内容の主走査線が連続す
るときは、その連続する直前の主走査線のランレングス
符号の直後に所定の区切り符号を配置したのちに、その
連続数と当該主走査線におけるランレングス符号の内容
をあらわす情報を2ランレングス符号に代えて出力して
いるので、その連続する部分の符号の長さが格段に短く
なり、符号化率を格段に向上できるという利点を得る。
[Effect] As explained above, according to the present invention, run-length codes are compared for each main scanning line, and when main scanning lines with the same content are consecutive, the run-length code of the immediately preceding main scanning line is compared. After placing a predetermined delimiter code immediately after , information representing the consecutive number and the content of the run-length code in the main scanning line is output instead of a 2-run length code, so the code of the continuous part This has the advantage that the length of is significantly shortened and the coding rate can be significantly improved.

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

第1図は本発明の一実施例にかかるファクシミリ装置を
示したブロック図、第2図はラインテーブルの一例を示
した信号配置図、第3図は符号化処理の一例を示したフ
ローチャート、第4図は復号化処理の一例を示したフロ
チャート、第5図は符号化されたデータの一例を示した
信号配置図、第6図は原稿の一例を示した平面図である
。 6・・・符号化復号化部、7・・・連続ラインメモリ、
8・・・ページメモリ。 r′ ・\5 代理人 弁理士  紋 1) 誠、ソ 又 第3図
FIG. 1 is a block diagram showing a facsimile apparatus according to an embodiment of the present invention, FIG. 2 is a signal arrangement diagram showing an example of a line table, FIG. 3 is a flowchart showing an example of encoding processing, and FIG. FIG. 4 is a flowchart showing an example of decoding processing, FIG. 5 is a signal arrangement diagram showing an example of encoded data, and FIG. 6 is a plan view showing an example of a document. 6... Encoding/decoding unit, 7... Continuous line memory,
8...Page memory. r' ・\5 Agent Patent Attorney Crest 1) Makoto, Somata Figure 3

Claims (2)

【特許請求の範囲】[Claims] (1)画像読取装置から出力される画情報を順次ランレ
グス符号に変換するとともに、このランレグス符号を主
走査線単位で比較し、同じ内容の主走査線が連続すると
きは、その連続する直前の主走査線のランレングス符号
の直後に所定の区切り符号を配置したのちに、その連続
数と当該主走査線におけるランレングス符号の内容をあ
らわす情報を、ランレングス符号に代えて出力すること
を特徴とする画情報の符号化方式。
(1) The image information output from the image reading device is sequentially converted into run-leg codes, and the run-leg codes are compared in units of main scanning lines. When main scanning lines with the same content are consecutive, the immediately preceding consecutive main scanning lines are A feature is that after placing a predetermined delimiter code immediately after the run-length code of the main scanning line, information representing the number of consecutive delimiters and the content of the run-length code in the main scanning line is output instead of the run-length code. An encoding method for image information.
(2)特許請求の範囲第1項記載において、前記符号化
された画情報は第1の記憶手段に記憶されるとともに、
前記ランレングス符号の内容をあらわす情報は、そのラ
ンレングス符号を記憶した第2の記憶手段における当該
ランレングス符号の記憶番地に対応した情報であること
を特徴とする画情報の符号化方式。
(2) In claim 1, the encoded image information is stored in a first storage means, and
An image information encoding method characterized in that the information representing the content of the run-length code is information corresponding to a storage address of the run-length code in a second storage means that stores the run-length code.
JP15833185A 1985-07-19 1985-07-19 Encoding system for picture information Pending JPS6220474A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15833185A JPS6220474A (en) 1985-07-19 1985-07-19 Encoding system for picture information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15833185A JPS6220474A (en) 1985-07-19 1985-07-19 Encoding system for picture information

Publications (1)

Publication Number Publication Date
JPS6220474A true JPS6220474A (en) 1987-01-29

Family

ID=15669302

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15833185A Pending JPS6220474A (en) 1985-07-19 1985-07-19 Encoding system for picture information

Country Status (1)

Country Link
JP (1) JPS6220474A (en)

Similar Documents

Publication Publication Date Title
JPH07264417A (en) Image coding method
JPH0828820B2 (en) Image data coding circuit
JPS6220474A (en) Encoding system for picture information
JP2549503B2 (en) Facsimile machine
KR0128667B1 (en) Mh code decoding device
JP2535926B2 (en) Image transmission method
JPH03198463A (en) Facsimile broadcasting receiver
KR960012540B1 (en) Image processing apparatus of facsimile
JPH06101792B2 (en) Image data combiner
JPS59219071A (en) Picture coding transmission system
JP2566818B2 (en) Facsimile machine compression / decompression control method
JPH02298118A (en) Facsimile data compressor
JPH0420308B2 (en)
JPS6310873A (en) Facsimile equipment
JPS6065670A (en) Picture information transmitting system
JPS61105172A (en) Line skip type facsimile equipment
JPS6243260A (en) Facsimile equipment
JPH03155271A (en) Image communication equipment
JPH07288631A (en) Image mail equipment
JPS6132665A (en) Compression decoding method for binary picture information
JPS62209969A (en) Control system for frame size of image information
JPS6358428B2 (en)
JPH0254675A (en) Information file equipment
JPS60154773A (en) Facsimile transmission equipment
JPH03210822A (en) Coding/decoding method