JPH0332279A - Encoding system for facsimile equipment - Google Patents

Encoding system for facsimile equipment

Info

Publication number
JPH0332279A
JPH0332279A JP1167638A JP16763889A JPH0332279A JP H0332279 A JPH0332279 A JP H0332279A JP 1167638 A JP1167638 A JP 1167638A JP 16763889 A JP16763889 A JP 16763889A JP H0332279 A JPH0332279 A JP H0332279A
Authority
JP
Japan
Prior art keywords
encoding
line
dimensional
code
run 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
JP1167638A
Other languages
Japanese (ja)
Inventor
Noboru Yoneda
米田 昇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP1167638A priority Critical patent/JPH0332279A/en
Publication of JPH0332279A publication Critical patent/JPH0332279A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve efficiency for encoding and to accelerate the speed of communication by executing two-dimensional encoding only concerning the first change picture element position of each encoding line. CONSTITUTION:A detecting means 111 detects the change picture element position of each line and inputs the first change picture element position of each line to an encoding deciding means 131. The encoding deciding means 131 compares the first change picture element position, which is stored in a storing means 121, of the referring line with this inputted first change picture element position of the encoding line. For example, when difference between these respective change picture element positions is within a prescribed value, it is judged that the two-dimensional encoding can be executed. In such a case, an encoding means 141 executes the two-dimensional encoding to the first change picture element position, which is detected by the detecting means 111, of the encoding line. Thus, the encoding can be efficiently executed.

Description

【発明の詳細な説明】 〔目 次〕 概要 産業上の利用分野 従来の技術 発明が解決しようとする課題 課題を解決するための手段 作用 実施例 ■。[Detailed description of the invention] 〔table of contents〕 overview Industrial applications Conventional technology Problems that the invention aims to solve Means to solve problems action Example ■.

■。■.

実施例と第1図との対応関係 実施例の構成及び動作 (i)ファクシミリ装置の全体構成 作 (ii)符号化処理 (iii )復号化処理 ■、実施例のまとめ 動 ■1発明の変形態様 発明の効果 〔1既  要〕 G3ファクシミリ装置において、各ラインの先頭にある
白画素を効率良く符号化するようにしたファクシミリ装
置の符号化方式に関し、通信速度の高速化と装置の低価
格化を目的とし、送信原稿の各符号化ラインについて変
化画素位置の検出を行う検出手段と、参照ラインの最初
の変化画素位置を格納する格納手段と、検出手段で検出
した各符号化ラインの最初の変化画素位置と、格納手段
の格納値とを比較して二次元符号化が可能かどうかの判
定を行う符号化判定手段と、検出手段で検出した変化画
素位置が入力され、各符号化ラインの最初の変化画素位
置に対して二次元符号化が可能な場合には二次元符号化
を行い、この符号化ラインの他の変化画素位置に対して
は一次元符号化を行う符号化手段とを備え、各符号化ラ
インの最初の変化画素位置についてのみ二次元符号化を
行うように構成する。
Correspondence between the embodiment and FIG. 1 Structure and operation of the embodiment (i) Overall structure of the facsimile machine (ii) Encoding process (iii) Decoding process ■ Summary of the embodiment ■1 Modifications of the invention Effects of the Invention [1 Already Required] Regarding the encoding method of the G3 facsimile machine, which efficiently encodes the white pixel at the beginning of each line, it is possible to increase the communication speed and reduce the cost of the device. a detection means for detecting a changed pixel position for each encoded line of a transmitted document; a storage means for storing the first changed pixel position of a reference line; and a first change in each encoded line detected by the detection means. An encoding determination means compares the pixel position with the value stored in the storage means to determine whether two-dimensional encoding is possible, and the changed pixel position detected by the detection means is input, and encoding means that performs two-dimensional encoding when two-dimensional encoding is possible for the changed pixel position of this encoding line, and performs one-dimensional encoding for other changed pixel positions of this encoding line. , so that two-dimensional encoding is performed only on the first changed pixel position of each encoding line.

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

本発明は、G3ファクシくり装置において、各ラインの
先頭にある白画素を効率良く符号化するようにしたフア
ツジ5り装置の符号化方式に関するものである。
The present invention relates to an encoding system for a G3 facsimile machine that efficiently encodes white pixels at the beginning of each line.

近年、G3ファクシミリ装置カバ1′−及しており、低
価格化が要求されている。そのため、従来パードウ玉ア
によって実現されていた機能を極力削減し、これと同等
の機能をファクシ處り装置を制御しているプロセッサ上
のソフトウェア処理によって実現することにより、簡単
なハードウェア槽底による低価格化が期待されている。
In recent years, G3 facsimile machine covers 1' have become popular, and there is a demand for lower prices. Therefore, by reducing the functions that were conventionally achieved by the Pardo machine as much as possible, and by realizing the same functions by software processing on the processor that controls the facsimile machine, we have created a simple hardware system. Lower prices are expected.

一方、このような低価格のフアツジくり装置においても
高性能化が要求されており、特に回線の使用コストを低
減するために、画情報の圧縮効率を上げて通信時間を短
縮する工夫が必要である。
On the other hand, even such low-cost fudging equipment is required to have higher performance, and in particular, in order to reduce line usage costs, it is necessary to improve the compression efficiency of image information and shorten communication time. be.

〔従来の技術〕[Conventional technology]

G3ファクシミリ装置の符号化方式は、CCITT勧告
T、4により標準化された一次元符号化方式と二次元符
号化方式とが一般的である。
The encoding methods of G3 facsimile machines generally include one-dimensional encoding methods and two-dimensional encoding methods standardized by CCITT Recommendations T and 4.

1±L二炊五笠号囮去穴 一次元符号化方式では、白画素数を表す白ランレングス
符号と黒画素数を表す黒ランレングス符号を交互に組み
合わせて1ラインのデータを構成する。全てのデータラ
インは白ランの符号で始まり、もし実際のラインが黒ラ
ンで始まっている場合には長さOの白ランから始まる。
In the 1±L Nikai Gokasa decoy hole one-dimensional encoding method, one line of data is constructed by alternately combining a white run length code representing the number of white pixels and a black run length code representing the number of black pixels. All data lines begin with the sign of a white run, or if the actual line begins with a black run, then with a white run of length O.

また、符号には2種類すなわちターくネイティング符号
語とメークアップ符号語とがある。0から63画素まで
のランレングスは適当なり−ミネイティング符号語だけ
で符号化される。一方、64画素以上のランレングスは
、初めにそのランレングスと等しいかあるいはそれより
短いランレングスを表すメークアップ符号語で符号化さ
れる。
There are also two types of codes: tarnishing codewords and makeup codewords. Run lengths from 0 to 63 pixels are encoded with only the appropriate or ending codeword. On the other hand, run lengths of 64 pixels or more are first encoded with a makeup code word representing a run length that is equal to or shorter than the run length.

その後、実際のランレングスとメークアップ符号語によ
って表されたランレングスとの差を表すターミネイティ
ング符号語が続く。
This is followed by a terminating codeword that represents the difference between the actual runlength and the runlength represented by the makeup codeword.

更に、最初のデータラインの前及び各ラインのデータの
後ろにはライン終端を表すライン終端符号EOL (チ
ータフオーマy 11;! llo O0000000
001’”)が付加される。また、1ラインのデータと
ライン終端符号EOLの間にフィルFILLを挿入する
ことができる。このF、IL、LはデータフォーマツI
・が“0“°の可変長信号列である冗長なデータであり
、復号の対象とならないが、規格上の時間調整等に使用
される。
Furthermore, before the first data line and after the data of each line, there is a line termination code EOL (Cheetah for my 11;!llo O0000000) indicating the end of the line.
001'") is added. Also, a fill FILL can be inserted between one line of data and the line end code EOL. These F, IL, and L are
・This is redundant data that is a variable length signal string of “0”°, and is not subject to decoding, but is used for time adjustment etc. according to the standard.

1ページの終了は6つの連続したライン終端符号EOI
4’構威される制′IH復帰符号RTCで示される。
The end of one page is six consecutive line termination codes EOI
4' The configured control is indicated by the IH return code RTC.

1ム上二次元葺号北1ム一 二次元符号化方式は、現ラインすなわち符号化ライン上
の各変化画素の位置が符号化ラインか符号化ラインの直
前に位置する参照ライン上の対)hする参照画素の位置
に対応して符号化される逐次符号イヒ方式である。符号
化ラインが符号化された後、符号化ラインは次の符号化
ラインの参Ilqラインとなる。
In the two-dimensional encoding method, the position of each changing pixel on the current line, that is, the encoding line, is on the encoding line or on the reference line located immediately before the encoding line). This is a sequential coding method in which coding is performed in accordance with the position of a reference pixel. After a coding line is coded, the coding line becomes a reference Ilq line for the next coding line.

変化画素とはその色すなわち白か黒かが同一走査線上の
直前の画素の色と異なる画素と定義される。ao l 
 al +  aZ +  bl +  bZを以下の
ように定義する。
A changed pixel is defined as a pixel whose color, ie, white or black, is different from the color of the immediately preceding pixel on the same scanning line. ao l
al + aZ + bl + bZ is defined as follows.

ao :符号化ライン上の参照または起点変化画素 al :符号化ライン上でaoより右の最初の変化画素 a2 ;符号化ライン上でalより右の最初の変化画素 bI :aoより右でaoと反対の色を持つ参照ライン
上で最初の変化画素 b2 :参照ライン上です、より右の最初の変化画素 また、二次元符号化には、■バスモード、■垂直モード
、■水平モードの3つの符号化モードがある。
ao: Reference or origin change pixel on the encoding line al: First change pixel to the right of ao on the encoding line a2; First change pixel to the right of al on the encoding line bI: To the right of ao and with ao The first change pixel on the reference line with the opposite color b2: The first change pixel to the right of the reference line There are encoding modes.

■パスモード: alの左側にb2が存在する場合にバスモードで符号化
される。このモードで符号化されたときに、次の符号化
に備えて、aoはb2の直下の符号化ライン上の画素に
設定される。
■Pass mode: When b2 exists on the left side of al, it is encoded in bus mode. When encoding in this mode, ao is set to a pixel on the encoding line immediately below b2 in preparation for the next encoding.

■垂直モード alとす、の相対位置が3画素以下の場合に垂直モード
で符号化される。垂直モード符号化の後、aoの位置は
alに移される。
(2) Vertical mode If the relative position between al and al is 3 pixels or less, encoding is performed in vertical mode. After vertical mode encoding, the position of ao is moved to al.

■水平モード: このモードでは、ランレングスa。a、及びao2の両
方を符号語H+M (ao at ) +M (ao2
)を用いて符号化する。ここで、HはCCITT勧告T
、  4の二次元符号表(図示せず)による水平モード
符号である。M (ao al )及びM(alaz)
はそれぞれランao a、及びat azの長さと色を
示す一次元符号である。水平モート符号化の後、aoの
位置はa2に移される。
■Horizontal mode: In this mode, the run length is a. a, and ao2 as the code word H+M (ao at ) +M (ao2
). Here, H is CCITT recommendation T
, 4 is a horizontal mode code based on a two-dimensional code table (not shown). M (ao al) and M (alaz)
are one-dimensional codes indicating the length and color of runs ao a and at az, respectively. After horizontal mote encoding, the position of ao is moved to a2.

全ての符号化されたラインの最後にライン終端符号EO
Lが付加される。E OLO後には次のラインには一次
元符号化方式あるいは二次元符号化方式のどららが使用
されるかを示す付加ビットが続く。例えば、次のライン
が一次元符号化方式である場合にはE OL + 1を
用い、次のラインが二次元符号化方式である場合にはE
OL+0を用いる。尚、ページの最初のラインの前には
EOL+1を用いる。
End-of-line code EO at the end of every encoded line
L is added. After E OLO, the next line contains additional bits indicating whether one-dimensional or two-dimensional encoding is used. For example, if the next line is a one-dimensional encoding method, use E OL + 1, and if the next line is a two-dimensional encoding method, use E OL + 1.
Use OL+0. Note that EOL+1 is used before the first line of the page.

一次元符号化方式と同様に、lラインのデータとEOL
との間にはフィルFILLを挿入することができる。ま
た、1ページの終了は、6つの連続した(EOL+1)
で構成される制御復帰符号RTCで示される。
Similar to the one-dimensional encoding method, l-line data and EOL
A fill FILL can be inserted between. Also, the end of one page is six consecutive (EOL+1)
It is indicated by a control return code RTC consisting of:

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

ところで、ソフトウェア処理によって一次元符号化を行
う場合、ランレングスカウンタすなわち画素の色と長さ
(ランレングス)を検出する処理と、検出されたランレ
ングスに対応した符号に置き換えるための一次元符号テ
ーブルと、符号変換処理とにより簡単に実現できる。そ
のため、安価な1チツプマイコン上で実現できるが、二
次元符号化方式に比べ圧縮効率が劣るため、通信速度の
高速化が遠戚できないという問題点があった。
By the way, when one-dimensional encoding is performed by software processing, there is a run-length counter, that is, a process that detects the color and length of a pixel (run length), and a one-dimensional code table for replacing the detected run length with a code corresponding to the detected run length. This can be easily realized by code conversion processing. Therefore, although it can be implemented on an inexpensive one-chip microcomputer, the compression efficiency is inferior to that of the two-dimensional encoding method, so there is a problem that it is not possible to increase the communication speed even remotely.

一方、二次元符号化をソフトウェア処理だけで実現する
場合、参照ラインと符号化ラインの両方の変化画素位置
及び相対距離の演算が各変化画素点毎に必要となり、処
理が複雑になると共に処理時間がかかるため実用的でな
い。そのため、処理を高速化するためにはハードウェア
の補助が必要となり、装置の低価格化を遠戚できないと
いう問題点があった。
On the other hand, when two-dimensional encoding is realized only by software processing, it is necessary to calculate the changed pixel position and relative distance of both the reference line and the encoded line for each changed pixel point, which increases the complexity of the process and increases the processing time. It is not practical because it costs a lot of money. Therefore, in order to speed up the processing, hardware assistance is required, and there is a problem that it is not possible to reduce the price of the device.

本発明は、このような点にかんがみて創作されたもので
あり、通信速度の高速化と装置の低価格化を実現するこ
とができるファクシミリ装置の符号化方式を提供するこ
とを目的としている。
The present invention has been created in view of the above points, and an object of the present invention is to provide an encoding method for a facsimile machine that can realize higher communication speed and lower cost of the device.

〔課題を解決するための手段〕[Means to solve the problem]

第1図は、本発明のファクシミリ装置の符号化方式の原
理ブロック図である。
FIG. 1 is a basic block diagram of the encoding method of a facsimile apparatus according to the present invention.

図において、検出手段111は、送信原稿の各符号化ラ
インについて変化画素位置の検出を行う。
In the figure, a detection means 111 detects the position of a changed pixel for each encoded line of the transmission document.

格納手段121は、参照ラインの最初の変化画0 素位置を格納する。The storage means 121 stores the first change image 0 of the reference line. Stores the raw position.

符号化判定手段131は、検出手段Illで検出した各
符号化ラインの最初の変化画素位置と、格納手段121
の格納値とを比較して二次元符号化が可能かどうかの判
定を行う。
The encoding determination means 131 stores the first changed pixel position of each encoded line detected by the detection means Ill and the storage means 121.
It is determined whether two-dimensional encoding is possible by comparing with the stored value.

符号化手段141は、検出手段111で検出した変化画
素位置が入力され、各符号化ラインの最初の変化画素位
置に対して二次元符号化が可能な場合には二次元符号化
を行い、この符号化ラインの他の変化画素位置に対して
は一次元符号化を行う。
The encoding means 141 receives the changed pixel position detected by the detecting means 111, performs two-dimensional encoding on the first changed pixel position of each encoding line if it is possible, and performs two-dimensional encoding on the first changed pixel position of each encoding line. One-dimensional encoding is performed for other changed pixel positions in the encoding line.

従って、全体として、各符号化ラインの最初の変化画素
位置についてのみ二次元符号化を行うように構成されて
いる。
Therefore, the overall configuration is such that two-dimensional encoding is performed only on the first changed pixel position of each encoding line.

〔作 用〕[For production]

検出手段111は、各ラインの変化画素位置を検出し、
各ラインの最初の変化画素位置を符号化判定手段131
に入力する。符号化判定手段131では、格納手段12
1に格納された参照ラインの最初の変化画素位置とこの
入力された符号化ラインの最初の変化画素位置とを比較
し、例えばこれらの各変化画素位置の差が所定の値組内
である場合には二次元符号化が可能であると判断する。
The detection means 111 detects the changed pixel position of each line,
Encoding determination means 131 for determining the first changed pixel position of each line
Enter. In the encoding determination means 131, the storage means 12
Compare the first changed pixel position of the reference line stored in 1 with the first changed pixel position of this input encoded line, for example, if the difference between these respective changed pixel positions is within a predetermined value set. It is determined that two-dimensional encoding is possible.

この場合、符号化手段141は、検出手段111で検出
された符号化ラインの最初の変化画素位置に刻して二次
元符号化を行う。また、符号化手段141は、二次元符
号化が不可能な場合あるいは符号化ラインの最初以外の
変化画素位置に対しては一次元符号化を行う。
In this case, the encoding means 141 performs two-dimensional encoding by marking the position of the first changed pixel of the encoding line detected by the detection means 111. Furthermore, the encoding means 141 performs one-dimensional encoding when two-dimensional encoding is impossible or for changed pixel positions other than the beginning of the encoding line.

本発明にあっては、各符号化ラインの最初の画素変化位
置について二次元符号化を行うことで、効率良く符号化
を行うことができる。一般にファクシ尖り装置間で送受
する原稿は、白地に文字あるいは図形等を描く場合がほ
とんどであり、原稿の左端、上端、下端あるいは行間に
連続した白領域を含んでいる。従って、これらを二次元
符号化することで、圧縮率を高めることが可能になる。
In the present invention, efficient encoding can be performed by performing two-dimensional encoding on the first pixel change position of each encoding line. In general, original documents sent and received between facsimile machines almost always have characters or figures drawn on a white background, and include continuous white areas at the left edge, top edge, bottom edge, or between lines. Therefore, by two-dimensionally encoding these, it is possible to increase the compression rate.

また、参照ラインと符号化ラインのそれぞれの最初の変
化画素位置のみを比較して二次元符号化の可否を判定す
るため、ソフトウェア処理による実現も可能になる。
Further, since only the first changed pixel position of each of the reference line and the encoded line is compared to determine whether or not two-dimensional encoding is possible, implementation by software processing is also possible.

〔実施例〕〔Example〕

以下、図面に基づいて本発明の実施例について詳細に説
明する。
Hereinafter, embodiments of the present invention will be described in detail based on the drawings.

第2図は、本発明のファクシミリ装置の符号化方式を適
用した一実施例の構成を示す。また、第3図ば一実施例
の符号化部の構成を示す。
FIG. 2 shows the configuration of an embodiment to which the facsimile apparatus encoding method of the present invention is applied. Further, FIG. 3 shows the configuration of an encoding section of an embodiment.

■、    と 1 との ここで、本発明の実施例と第1図との対応関係を示して
おく。
(1) Here, the correspondence between the embodiment of the present invention and FIG. 1 will be shown.

検出手段111は、ランレングスカウンタ313に相当
する。
The detection means 111 corresponds to the run length counter 313.

格納手段121は、−時退避レジスタ315に相当する
The storage means 121 corresponds to the -time save register 315.

符号化判定手段131は、垂直モード判定部317に相
当する。
The encoding determining means 131 corresponds to the vertical mode determining section 317.

符号化手段141は、符号変換部319.符号テーブル
321,323に相当する。
The encoding means 141 includes a code conversion section 319. This corresponds to code tables 321 and 323.

以上のような対応関係があるものとして、以下本発明の
実施例について説明する。
Examples of the present invention will be described below assuming that the correspondence relationship as described above exists.

第2図において、210はファクシミリ装置を、211
はCPU (中央処理装置)を、213ば読取部を、2
15は記録部を、217はメモリ部を、219は操作パ
ネル部を、221は符号化部を、231は復号化部を、
241はモデムを、243は回線制御部をそれぞれ示し
ている。
In FIG. 2, 210 indicates a facsimile machine, 211
213 is the CPU (central processing unit), 213 is the reading section, and 2 is the reading unit.
15 is a recording section, 217 is a memory section, 219 is an operation panel section, 221 is an encoding section, 231 is a decoding section,
241 represents a modem, and 243 represents a line control unit.

CPU211はファクシミリ装置210の全体を制御す
るものであり、RAMあるいはROMで構成されたメモ
リ部217の格納プログラムを実行して制御動作を行う
。また、ファクシミリ装置210の使用者は、操作パネ
ル219の各操作キーを操作してCPU211に対する
指示を入力することができる。
The CPU 211 controls the entire facsimile machine 210, and performs control operations by executing a program stored in a memory section 217 composed of RAM or ROM. Furthermore, the user of facsimile device 210 can input instructions to CPU 211 by operating each operation key on operation panel 219 .

読取部213ば送信原稿の画情報の読み取りを4 行い、反対に記録部215は受信原稿を所定の記録紙に
印字する。
The reading unit 213 reads the image information of the transmitted original, and the recording unit 215 prints the received original on a predetermined recording paper.

符号化部221ば、読取部213で読み取った送信原稿
の画情報を符号化して圧縮するものであり、圧縮データ
はモデム241に送られる。
The encoding unit 221 encodes and compresses the image information of the transmission document read by the reading unit 213, and the compressed data is sent to the modem 241.

復号化部231は、受信原稿の画情報(圧縮ブタ)を復
元するものであり、復元された画情報は記録部215に
送られ、記録紙に印字される。
The decoding unit 231 restores the image information (compressed data) of the received original, and the restored image information is sent to the recording unit 215 and printed on recording paper.

モデム241はデータの変調及び復調を行う。Modem 241 modulates and demodulates data.

変調された送信データは、回線制御部243の制御によ
って外部の回線に送出される。また、外部の回線を介し
て入力されるデータは、回線制御部243の制9卸によ
って受信され、その後、モデム241で復調されて復号
化部231に送られる。
The modulated transmission data is sent to an external line under the control of the line control section 243. Further, data input via an external line is received by the control section 9 of the line control section 243, and then demodulated by the modem 241 and sent to the decoding section 231.

回線制御部243を除く各構成部はバス接続されており
、モデム241は回線制御部243を介して外部の回線
に接続されている。
Each component except the line control section 243 is connected to a bus, and the modem 241 is connected to an external line via the line control section 243.

また、ファクシミリ装置210は、電話回線等の公衆回
線あるいは専用回線を介して他のファクシミリ装置29
0に接続されており、ファクシミす原稿の送受が行われ
る。尚、ファクシミリ装置290の構成ばファクシミリ
装置210の構成と同様であるものとし、詳細構成の説
明は省略する。
Further, the facsimile device 210 can communicate with other facsimile devices 210 via a public line such as a telephone line or a private line.
0, and documents to be facsimile are sent and received. Note that the configuration of facsimile device 290 is assumed to be similar to that of facsimile device 210, and detailed description of the configuration will be omitted.

」」11口判り生理 第3図に、上述した符号化部221の詳細構成を示す。” 11 simple explanations of menstruation FIG. 3 shows a detailed configuration of the encoding section 221 described above.

第3図において、311.325はメ七り部を、313
はランレングスカウンタを、315は一時退避レジスタ
を、317は垂直モード判定部を、319は符号変換部
を、321,323は符号テーブルをそれぞれ示してい
る。
In Figure 3, 311.325 is the main part, 313
315 is a temporary save register, 317 is a vertical mode determination section, 319 is a code conversion section, and 321 and 323 are code tables.

メモリ部311には符号化部221に入力される1ライ
ン分の画素データを格納する。この格納された1547
分の画素データは、順次ランレングスカウンタ部313
に入力され、画素の色(白または黒)及び長さ(ランレ
ングス)が検出される。
The memory unit 311 stores one line of pixel data input to the encoding unit 221. This stored 1547
The pixel data for
The color (white or black) and length (run length) of the pixel are detected.

符号変換部319は、ランレングスカウンタ313によ
って検出されたランレングスに基づいて、−次元符号化
のターミネイティング符号語及びメ■ −クアップ符号語が格納された符号テーブル321を検
索し、画素の色及びランレングスに対応した可変長の符
号語を読み出す。読み出した符号語はメモリ部325に
格納する。このような手順を繰り返すことにより、1ラ
イン分の一次元符号化が実行される。
Based on the run length detected by the run length counter 313, the code conversion unit 319 searches the code table 321 in which the terminating code word and makeup code word of -dimensional encoding are stored, and determines the color of the pixel. and a variable length code word corresponding to the run length. The read code word is stored in the memory section 325. By repeating such a procedure, one-dimensional encoding for one line is executed.

また、1ライン符号化の際、先頭白ランレングス値を参
照ラインの白ランレングス値として一時退避レジスタ3
15に格納しておく。1ラインの先頭画素が黒ランの場
合には、白ランレングス値を0とする。
Also, when encoding one line, the leading white run length value is used as the white run length value of the reference line in the temporary save register 3.
Store it in 15. When the first pixel of one line is a black run, the white run length value is set to 0.

次ラインの符号化において、垂直モード判定部317は
、ランレングスカウンタ313によって検出された最初
の白ランレングス値を、−時退避レジスタ315に格納
されている参照ラインの先頭白ランレングス値と比較し
、ランレングス値の差が所定の値(例えば3n@素)以
下であれば、符号変換部319に対して垂直モード符号
化を指示する。垂直モートが指定されると、符号変換部
319は垂直モードの符号語が格納された符号チー7 プル323を検索することによる二次元符号化(垂直モ
ード符号化)を行う。また、ランレングスの差が所定の
値を超える場合には、符号変換部319に対して一次元
符号化を指示する。符号化指示後、次ラインの符号化に
備えて、−時退避レジスタ315に格納された先頭白ラ
ンレングス値を更新する。
In encoding the next line, the vertical mode determination unit 317 compares the first white run length value detected by the run length counter 313 with the first white run length value of the reference line stored in the - time save register 315. However, if the difference between the run length values is less than or equal to a predetermined value (for example, 3n@element), the code conversion unit 319 is instructed to perform vertical mode encoding. When the vertical mode is specified, the code conversion unit 319 performs two-dimensional encoding (vertical mode encoding) by searching the code multiple 323 in which the vertical mode code word is stored. Furthermore, if the difference in run length exceeds a predetermined value, the code conversion unit 319 is instructed to perform one-dimensional encoding. After the encoding instruction is given, the leading white run length value stored in the -time save register 315 is updated in preparation for encoding the next line.

以後、1ラインの終了まで、−次元符号化処理を繰り返
す。
Thereafter, the -dimensional encoding process is repeated until the end of one line.

尚、上述したような各ラインの先頭白ランレングスにつ
いてのみ垂直モード符号化を行う方式をライン先頭白画
素限定二次元符号化方式(FMH符号化方式)と称して
、以下の説明を行う。
Note that the above-described method of performing vertical mode encoding only on the leading white run length of each line is referred to as a two-dimensional encoding method (FMH encoding method) limited to white pixels at the beginning of a line, and will be described below.

第4図に、実施例の符号化処理の動作フローを示す。以
下、第2図〜第4図を参照しながら符号化動作を説明す
る。
FIG. 4 shows the operational flow of the encoding process of the embodiment. The encoding operation will be explained below with reference to FIGS. 2 to 4.

先ず、ランレングスカウンタ部313によるランレング
スの検出を行う(ステップ411)。次に、符号変換部
319はF M f(符号化を行うか否かを判定する(
ステップ412)。
First, the run length is detected by the run length counter section 313 (step 411). Next, the code conversion unit 319 determines whether or not to perform F M f (encoding).
step 412).

8 否定判断の場合は以下に示す通常の一次元符号化処理を
行う。
8 If the judgment is negative, perform the normal one-dimensional encoding process shown below.

符号変換部319は、各ラインの先頭に付加するライン
終端符号E OLを作威しくステップ413)、次にス
テップ411で検出したランレングスが黒ランに対応し
たものであるか否かを判定する(ステップ414)。黒
ランの場合には肯定判断し、白ランレングス値を0とし
た一次元符号W(0)を作成する(ステップ415)と
共に、検出したランレングスnに対応した黒ランの一次
元符号化 (n)を作威する(ステップ416)。また
、ステップ414で否定判断した場合(白ランの場合)
は、検出したランレングスnに対応した白ランの一次元
符号W (n)を作成する(ステップ417)。
The code conversion unit 319 adds a line end code EOL to the beginning of each line (step 413), and then determines whether the run length detected in step 411 corresponds to a black run. (Step 414). In the case of a black run, an affirmative judgment is made and a one-dimensional code W(0) is created with the white run length value as 0 (step 415), and one-dimensional encoding of the black run corresponding to the detected run length n ( n) (step 416). Also, if a negative judgment is made in step 414 (in the case of a white run)
creates a one-dimensional code W (n) of a white run corresponding to the detected run length n (step 417).

また、ステップ412の判定(FMH符号化かの判定)
で肯定判断すると、次に符号変換部319は、着目して
いるラインかにラインか否かを判定する(ステップ41
8)。ここで、Kラインとは、FMH符号化による符号
化を行う場合に、二次元符号化を含んだ複数ラインに強
制的に挿入する一次元符号化のラインを示しており、例
えば4ラインに1ラインの割合で一次元符号化を抑大す
る。ステップ418で肯定判断すると、次にスキップ(
後述する)の解除及びにラインを計数するためのにカウ
ンタのリセットを行う(ステップ419)。例えば、K
カウンタかりセットされると所定の初期値にセットされ
る、後述する減算動作によってこのにカウンタの値が「
o」になったときに、ステップ418で肯定判断するも
のとする。
Also, the determination in step 412 (determination of FMH encoding)
If an affirmative determination is made in step 41, the code conversion unit 319 then determines whether the line of interest is a line or not (step 41).
8). Here, the K line indicates a line of one-dimensional encoding that is forcibly inserted into multiple lines including two-dimensional encoding when encoding by FMH encoding, for example, one line is inserted into four lines. Suppress one-dimensional encoding by line ratio. If a positive determination is made in step 418, skip next (
(described later) and reset the counter for counting the lines (step 419). For example, K
When the counter is set, it is set to a predetermined initial value.The value of the counter is set to a predetermined initial value by the subtraction operation described later.
o'', an affirmative determination is made in step 418.

その後、符号変換部319は、−次元符号化ラインの先
頭に付加するライン終端符号EOL+1を作成する(ス
テップ42o)。以後、ステップ414の判定以降の処
理を行って、検出した白ランあるいは黒ランに対応した
一次元符号を作成する。
After that, the code conversion unit 319 creates a line end code EOL+1 to be added to the beginning of the -dimensional encoded line (step 42o). Thereafter, the processing after the determination in step 414 is performed to create a one-dimensional code corresponding to the detected white run or black run.

また、ステップ418の判定(Kラインかの判定)で否
定判断すると、Kカウンタの計数値の減算動作が行われ
る(ステップ421)。次に、垂直モード判定部317
は、ランレングスカウンタ313から入力される符号化
ラインの先頭自うンエ シ レングスと、−時退路レジスタ315に格納されている
参照ラインの先頭白ランレングスとに基づいて符号化モ
ードの判定動作を行い(ステップ422)、符号変換部
319は垂直モードであるか否かを判定する(ステップ
423)。参照ラインと符号化ラインの各自ランレング
ス値の差が例えば3画素を超える場合には、垂直モード
での符号化は不可能であるので否定判断し、上述したス
テップ419の処理に移って一次元符号化処理を行う。
Further, if a negative determination is made in step 418 (determination of K line), a subtraction operation of the count value of the K counter is performed (step 421). Next, the vertical mode determination unit 317
performs a coding mode determination operation based on the starting white run length of the coding line inputted from the run length counter 313 and the starting white run length of the reference line stored in the -time retreat register 315. (Step 422), the code conversion unit 319 determines whether or not the mode is vertical mode (Step 423). If the difference between the run length values of the reference line and the encoded line exceeds, for example, 3 pixels, encoding in vertical mode is impossible, so a negative determination is made, and the process moves to step 419 described above to perform one-dimensional encoding. Performs encoding processing.

また、垂直モードの場合に、符号変換部319はステッ
プ423で肯定判断し、次に、参照ラインと符号化ライ
ンの各先頭白ランレングス値が同じであるか否かの判定
(各先頭白ランレングス値の差nに対応する垂直モード
符号をV (n)とした場合に、■(0)であるか否か
の判定)を行う(ステップ424)。各ラインの先頭白
ランレングス値が異なる場合には否定判断をして、次に
スキップ実行中であるか否かを判定する(ステップ42
5)。ここでスキップとは、全白ラインが続1 0 いている場合に2ライン目以降の全白ラインは■(0)
符号だけで終了する点に着目し、続<IEOL十〇の省
略を行い、圧縮率を上げる処理をいう。
Further, in the case of the vertical mode, the code conversion unit 319 makes an affirmative determination in step 423, and then determines whether or not the respective leading white run length values of the reference line and the encoded line are the same (each leading white run length value is the same). When the vertical mode code corresponding to the difference n in length values is V (n), (2) (determination as to whether or not it is 0) is performed (step 424). If the leading white run length values of each line are different, a negative determination is made, and then it is determined whether or not a skip is being executed (step 42
5). Here, skipping means that if there is a continuation of all white lines, the second and subsequent all white lines will be ■ (0).
This is a process that focuses on the fact that only the code is used and omits the continuation <IEOL 10 to increase the compression rate.

ステップ425で肯定判断すると、ステップ419の処
理に移る。ステップ425で否定判断すると、垂直モー
ドで符号化するラインの先頭に付加するEOL+0を作
威しくステップ42G)、その後垂直モード符号V(n
)(nは参照ラインと符号化ラインの各自ランレングス
値の差)を作成する(ステップ427)。
If an affirmative determination is made in step 425, the process moves to step 419. If a negative determination is made in step 425, EOL+0 is added to the beginning of the line to be encoded in the vertical mode (step 42G), and then the vertical mode code V(n
) (n is the difference between the respective run length values of the reference line and the encoded line) (step 427).

また、ステップ424の判定で肯定判断すると、次に符
号変換部319はスキップ実行中であるか否かを判定し
くステップ428)、肯定判断の場合はステップ427
の処理に移る。この場合、垂直モード符号V (n)に
おいてn=Dとなる。
Further, if the determination in step 424 is affirmative, the code conversion unit 319 then determines whether or not skip is being executed (step 428), and in the case of an affirmative determination, step 427)
Proceed to processing. In this case, n=D in the vertical mode code V (n).

スキップ中でない場合にはステップ428で否定判断し
、前ラインが全白か否かを判定する(ステップ429)
。G3ファクシミリ装置では1ラインを1728画素を
表すため、参照ラインの先頭白ランレングス値が172
8の場合には肯定判2 断し、スキンブ動作を開始すると共ににカウンタをリセ
ットする(ステップ430)。その後、ステップ427
の処理に移って垂直モード符号■(n)を作成する。ま
た、ステップ429の判定で否定判断すると、ステップ
426 (EOL+0の作威)を実行した後ステップ4
27の処理に移る。
If skipping is not in progress, a negative determination is made in step 428, and it is determined whether the previous line is completely white (step 429).
. In the G3 facsimile machine, one line represents 1728 pixels, so the starting white run length value of the reference line is 172.
In the case of 8, an affirmative judgment 2 is made and the skiving operation is started and the counter is reset (step 430). Then step 427
Then, the vertical mode code ■(n) is created. In addition, if a negative determination is made in step 429, step 426 (creation of EOL+0) is executed, and then step 4
The process moves on to step 27.

このようにして、各ラインの先頭の白ランレングスの符
号化を行う。
In this way, the white run length at the beginning of each line is encoded.

次に、符号変換部319は、上述した符号化ラインの白
ランレングス値を一時退避レジスタ315に格納しくス
テップ431L  1ラインの符号化が終了したか否か
を判定する(ステップ432)否定判断すると、該当ラ
インの次のランレングス検出を行い(ステップ433)
、この検出したランレングスが白ランについてのもので
あるか否かを判定する(ステップ434)。白ランの場
合は肯定判断し、検出したランレングスnに対応した白
ランの一次元復号化(n)を作威しくステップ435)
、その後ステップ432の判定(lライン終了か)に戻
る。また、黒ランの場合はステン3 ブ434で否定判断し、検出したランレングスnに対応
した黒ランの一次元復号化 (n)を作成しくステップ
436)、その後ステップ432の判定(1ライン終了
か)に戻る。
Next, the code conversion unit 319 stores the above-mentioned white run length value of the encoded line in the temporary save register 315, and in step 431L determines whether or not encoding of one line has been completed (step 432). , the next run length of the corresponding line is detected (step 433).
, it is determined whether the detected run length is for a white run (step 434). In the case of a white run, an affirmative judgment is made and one-dimensional decoding (n) of the white run corresponding to the detected run length n is performed in a step 435).
, and then returns to step 432 for determining whether the l line has ended. In the case of a black run, a negative judgment is made in Step 434, and one-dimensional decoding (n) of the black run corresponding to the detected run length n is created (Step 436), and then judgment is made in Step 432 (one line is completed). Return to ).

1ラインについての符号化が終了すると符号変換部31
9はステップ432で肯定判断を行い、次にF M H
符号化か否かを判定する(ステップ437)。否定判断
すると必要な数のフィルF I LLを作成する(ステ
ップ438)。このフィルFI L Lの作成が終了す
るとあるいはステップ437で肯定判断すると、次に符
号変換部319は1ページについての符号化が終了した
か否かを判定する(ステップ439)。符号化すべき他
のラインが存在する場合には否定判断して、ステップ4
11以降の処理を繰り返す。また、否定判断すると、制
御復帰符号RTCを作威して(ステップ440)、送信
原稿1ページに対する符号化処理を終了する。
When the encoding for one line is completed, the code conversion unit 31
9 makes an affirmative judgment in step 432, and then F M H
It is determined whether or not it is encoded (step 437). If the determination is negative, the necessary number of fills FILL are created (step 438). When the creation of the file FILL is completed, or when an affirmative determination is made in step 437, the code conversion unit 319 then determines whether or not encoding for one page has been completed (step 439). If there are other lines to be encoded, make a negative determination and proceed to step 4.
Repeat the process from step 11 onwards. If a negative determination is made, a control return code RTC is activated (step 440), and the encoding process for one page of the transmission document is terminated.

バ1ユ」0HU4運 第5図に、復号化部231の詳細構成を示ず。Ba1yu” 0HU4 luck FIG. 5 does not show the detailed configuration of the decoding section 231.

4 第5図において、511,523はメモリ部を、513
は符号検出部を、515.51’?は復号テーブルを、
519は一時退避レジスタを、521はラン発生部をそ
れぞれ示している。
4 In FIG. 5, 511 and 523 indicate the memory section, and 513
is the code detection part, 515.51'? is the decryption table,
Reference numeral 519 indicates a temporary save register, and 521 indicates a run generation section.

メモリ部511ばファクシミリ装置210で受信した符
号化データを格納し、この格納した符号化データが順次
読み出されて符号検出部513に入力される。符号検出
部513は、入力される符号化データに基づいて、−次
元符号化のターくネイティング符号語及びメークアップ
符号語が格納された復号テーブル515を検索し、該当
するランレングス値を読み出す。ラン発生部521は、
この読み出されたランレングス値に従って画素データを
作威し、メモリ部523に出力する。このような手順を
繰り返すことにより、1947分の一次元復号化が行わ
れる。
The memory unit 511 stores encoded data received by the facsimile device 210, and the stored encoded data is sequentially read out and input to the code detection unit 513. The code detection unit 513 searches the decoding table 515 in which the terminating codewords and makeup codewords of -dimensional encoding are stored, based on the input encoded data, and reads out the corresponding run length value. . The run generating section 521 is
Pixel data is generated according to the read run length value and output to the memory section 523. By repeating such a procedure, one-dimensional decoding for 1947 parts is performed.

また、−次元復号化処理の際に、先頭曲ランレングス値
を参照ラインの先頭白ランレングス値として一時退避レ
ジスタ519に格納しておく。
Further, during the -dimensional decoding process, the leading music run length value is stored in the temporary save register 519 as the leading white run length value of the reference line.

次ラインの復号化処理において、符号検出部55 13が垂直モード符号を1ラインの先頭の符号として検
出した場合、−時退避レジスタ519に格納されている
参照ラインの先頭ランレングス値を読み出し、垂直モー
ド符号に応じた補正を加え、これを先頭白ランレングス
値とする。符号検出部513は、垂直モード符号に基づ
いて、垂直モードの符号語が格納された復号テーブル5
17を検索することにより復号化を行う。先頭の符号語
が垂直モード符号でない場合には、−次元復号化処理を
行う。また、垂直モード符号が検出された後は、1ライ
ンの終了まで一次元復号化を繰り返す。
In the decoding process of the next line, when the code detection unit 5513 detects the vertical mode code as the first code of one line, it reads the start run length value of the reference line stored in the - time save register 519 and reads the vertical mode code as the first code of one line. A correction is made according to the mode code, and this is used as the leading white run length value. The code detection unit 513 generates a decoding table 5 in which vertical mode code words are stored based on the vertical mode code.
Decryption is performed by searching for 17. If the first codeword is not a vertical mode code, -dimensional decoding processing is performed. Furthermore, after the vertical mode code is detected, one-dimensional decoding is repeated until the end of one line.

nのまとめ このように、各ラインの先頭にある白ランレングスのみ
に着目して垂直符号化を行うようにすることで、−次元
符号化方式に比べてわずかな処理フローを追加するだけ
で効率良い符号化を行うことができ、従って、通信速度
の高速化と装置の低価格化を実現することが可能になる
Summary of n In this way, by performing vertical encoding by focusing only on the white run length at the beginning of each line, efficiency can be improved by adding a small amount of processing flow compared to the -dimensional encoding method. Good encoding can be performed, and therefore, it is possible to achieve higher communication speeds and lower device costs.

例えば、実施例で使用した垂直モード符号の−6 例を第1表に示す。For example, -6 of the vertical mode code used in the example Examples are shown in Table 1.

第1表 第1表において、VRは符号化ラインの変化点が参照ラ
インの変化点の右側にある場合の垂直モード符号V (
n)を示しており、反対にVLは符号化ラインの変化点
が参照ラインの変化点の左側にある場合に垂直モード符
号V (n)を示している。また、括弧内の数字は変化
点の差すなわち先頭白ランレングス値の差nを示してい
る。
Table 1 In Table 1, VR is the vertical mode code V (
n), and conversely VL shows the vertical mode code V (n) when the change point of the encoded line is to the left of the change point of the reference line. Further, the numbers in parentheses indicate the difference in change points, that is, the difference n in the leading white run length values.

このような垂直符号を用いてFMH符号符号化ってCC
ITT  Nα1チヤート(単純化するために全白ライ
ンの構成比を50%とする)を符号化した場合の一例を
以下に示す (1)1ページ当たりの全ライン数: 297(mm)
X3.85(ライン/nun)−約1150ライン(2
)1ページ当たりの全白ライン数:1150/7 2=475ライン (3) K = 8とした場合の連続自うイン数=57
5X7/8=503ライン また、白領域は30行の文字行で区切られているので、
100ラインを全白開始ライン(EO+−+OL 47
5ラインを連続全白ライン(E OT−省略)、残り5
75ラインを通常の一次元符号化ラインとして、この1
/2(289ライン)が垂直モード符号での置き換えが
可能とする。
CC using FMH code encoding using such a vertical code.
An example of encoding an ITT Nα1 chart (the composition ratio of all white lines is assumed to be 50% for simplicity) is shown below (1) Total number of lines per page: 297 (mm)
X3.85 (line/nun) - approx. 1150 lines (2
) Number of all white lines per page: 1150/7 2 = 475 lines (3) Number of consecutive blank lines when K = 8 = 57
5X7/8=503 lines Also, since the white area is separated by 30 character lines,
100 lines are all white starting lines (EO+-+OL 47
5 consecutive all white lines (E OT-omitted), remaining 5 lines
Assuming that 75 lines are normal one-dimensional encoding lines, this 1
/2 (289 lines) allows replacement with a vertical mode code.

このようなCCI T T  No、 1チヤートにつ
いて実施例の符号化を行った結果、非圧縮の場合に比べ
て約1.9にバイトの情報量圧縮が実現でき、圧縮比は
15.1(非圧縮の場合を1とする)となる。この値は
、代表的な二次元符号化方式である境界差分逐次符号化
方式(MR方式)とほぼ同等である。
As a result of encoding the example for such a CCI T In the case of compression, it is set to 1). This value is almost equivalent to the boundary differential sequential encoding method (MR method), which is a typical two-dimensional encoding method.

また、第3図に示した符号化部221の構成において、
メモリ部311 325.−時退避レジスタ315.符
号テーブル321.323等は、ファクシミリ装置21
0内にあるメモリ部2178 で代用することができ、また、第3図の他の構成部はC
PU211のソフトウェア処理によって容易に実現可能
である。従って、上述したFMH符号符号化う場合に特
に複雑なハードウェアを追加する必要がない。
Furthermore, in the configuration of the encoding unit 221 shown in FIG.
Memory section 311 325. - Time save register 315. The code tables 321, 323, etc. are stored in the facsimile machine 21.
The memory section 2178 in C.0 can be substituted, and the other components in FIG.
This can be easily realized by software processing of the PU 211. Therefore, there is no need to add particularly complicated hardware when performing the above-mentioned FMH code encoding.

■4Bの・ノ1i= なお、上述した本発明の実施例にあっては、第1表に示
した垂直符号を新たに定義したが、CCITT勧告T、
4の二次元符号表に従った垂直モード符号を使用しても
よい。
■4B・ノ1i= Note that in the embodiment of the present invention described above, the vertical codes shown in Table 1 are newly defined, but CCITT Recommendation T,
A vertical mode code according to the two-dimensional code table of No. 4 may be used.

また、実施例では、各符号化ラインの最初の白ランレン
グスのみを垂直モードで符号化するようにしたが、各ラ
インの最初に黒ランが存在することが多い場合には最初
の黒ランレングスのみを垂直モードで符号化するように
してもよい。
In addition, in the embodiment, only the first white run length of each coding line is encoded in the vertical mode, but if there is often a black run at the beginning of each line, the first black run length is It is also possible to encode only the vertical mode.

更に、「1.実施例と第1図との対応関係」において、
本発明と実施例との対応関係を説明しておいたが、これ
に限られることはなく、本発明には各種の変形態様があ
ることは当業者であれば容9 易に推考できるであろう。
Furthermore, in "1. Correspondence between Examples and FIG. 1",
Although the correspondence between the present invention and the examples has been explained, those skilled in the art can easily imagine that the present invention is not limited to this and that there are various modifications. Dew.

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

上述したように、本発明によれば、各符号化ラインの最
初の画素変化位置について二次元符号化を行うことで符
号化の効率を上げて通信速度の高速化を実現することが
可能になると共に、二次元符号化を各符号化ラインの最
初の変化画素位置についてのみ行うことで処理が簡素化
されラフ1−ウェア処理による実現も可能になるので、
実用的には極めて有用である。
As described above, according to the present invention, by performing two-dimensional encoding on the first pixel change position of each encoding line, it is possible to increase the efficiency of encoding and achieve faster communication speed. At the same time, by performing two-dimensional encoding only on the first changed pixel position of each encoded line, the processing is simplified and can be realized by rough 1-ware processing.
It is extremely useful in practical terms.

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

第1図は本発明のファクシ尖り装置の符号化方式の原理
ブロック図、 第2図は本発明の一実施例の全体構成図、第3図は一実
施例の符号化部の構成図、第4図は一実施例の符号化処
理の動作説明図、第5図は一実施例の復号化部の構成国
である。 0 図において、 111ば検出手段、 121は格納手段、 131は符号化判定手段、 141は符号化手段、 210 290はファクシミリ装置、 211はCPU。 213は読取部、 215は記録部、 217.311,325,511,523はメモリ部、 219は操作パネル部、 221は符号化部、 231は復号化部、 241はモデム、 243は回線制御部、 313はランレングスカウンタ、 315.519は一時退避レジスタ、 317は垂直モード判定部、 319は符号変換部、 1 321 323は符号テーブル、 513は符号検出部、 515.517は復号テーブル、 521はラン発生部である。 2 復号4目p 第5
FIG. 1 is a principle block diagram of the encoding method of the facsimile machine of the present invention, FIG. 2 is an overall block diagram of an embodiment of the present invention, FIG. 3 is a block diagram of the encoding section of an embodiment, and FIG. FIG. 4 is an explanatory diagram of the operation of encoding processing in one embodiment, and FIG. 5 is a diagram showing the constituent countries of the decoding section in one embodiment. 0, 111 is a detection means, 121 is a storage means, 131 is an encoding determination means, 141 is an encoding means, 210, 290 is a facsimile device, and 211 is a CPU. 213 is a reading unit, 215 is a recording unit, 217, 311, 325, 511, 523 is a memory unit, 219 is an operation panel unit, 221 is an encoding unit, 231 is a decoding unit, 241 is a modem, 243 is a line control unit , 313 is a run length counter, 315.519 is a temporary save register, 317 is a vertical mode determination section, 319 is a code conversion section, 1 321 323 is a code table, 513 is a code detection section, 515.517 is a decoding table, 521 is a code conversion section. This is the run generating area. 2 Decoding 4th p 5th

Claims (1)

【特許請求の範囲】[Claims] (1)送信原稿の各符号化ラインについて変化画素位置
の検出を行う検出手段(111)と、 参照ラインの最初の変化画素位置を格納する格納手段(
121)と、 前記検出手段(111)で検出した各符号化ラインの最
初の変化画素位置と、前記格納手段(121)の格納値
とを比較して二次元符号化が可能かどうかの判定を行う
符号化判定手段(131)と、 前記検出手段(111)で検出した変化画素位置が入力
され、各符号化ラインの最初の変化画素位置に対して二
次元符号化が可能な場合には二次元符号化を行い、この
符号化ラインの他の変化画素位置に対しては一次元符号
化を行う符号化手段(141)と、 を備え、各符号化ラインの最初の変化画素位置について
のみ二次元符号化を行うように構成したことを特徴とす
るファクシミリ装置の符号化方式。
(1) Detection means (111) for detecting the changed pixel position for each encoded line of the transmission document, and storage means (111) for storing the first changed pixel position of the reference line.
121), the first changed pixel position of each encoded line detected by the detection means (111) and the value stored in the storage means (121) are compared to determine whether two-dimensional encoding is possible. The changed pixel position detected by the encoding determining means (131) and the detecting means (111) are input, and if two-dimensional encoding is possible for the first changed pixel position of each encoding line, two-dimensional encoding is performed. encoding means (141) for performing dimensional encoding and performing one-dimensional encoding for other changed pixel positions of this encoded line; An encoding method for a facsimile machine, characterized in that it is configured to perform dimensional encoding.
JP1167638A 1989-06-29 1989-06-29 Encoding system for facsimile equipment Pending JPH0332279A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1167638A JPH0332279A (en) 1989-06-29 1989-06-29 Encoding system for facsimile equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1167638A JPH0332279A (en) 1989-06-29 1989-06-29 Encoding system for facsimile equipment

Publications (1)

Publication Number Publication Date
JPH0332279A true JPH0332279A (en) 1991-02-12

Family

ID=15853486

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1167638A Pending JPH0332279A (en) 1989-06-29 1989-06-29 Encoding system for facsimile equipment

Country Status (1)

Country Link
JP (1) JPH0332279A (en)

Similar Documents

Publication Publication Date Title
US6985630B2 (en) Image processing apparatus and method, program and storage medium
US7483585B2 (en) Image compression using variable bit size run length encoding
US4811113A (en) Image signal encoding method and system
US4156880A (en) Method for transmitting a facsimile signal by sequential edge differential coding
JPH06334870A (en) Encoder
US6668086B1 (en) Tile-based image data decoding method and apparatus
JP3872217B2 (en) Dither image binary expression processing method, dither image compression binary expression decompression method, and dither image compression and decompression system
EP1575263A1 (en) Image encoding device and method, and encoded image decoding device and method
GB2241406A (en) Colour image transmitting method
JPH0351966A (en) Coding apparatus of image data
JPS60154776A (en) Coding and decoding system
JPH0332279A (en) Encoding system for facsimile equipment
JPH0789618B2 (en) Image coding method
JP3676078B2 (en) Run-length encoding method and compression apparatus
JP2003189108A (en) Image compression method
US6272256B1 (en) Fast compression of periodic halftoned bitonal images
JPH1117959A (en) Run length coding method for binary image and recording medium storing run length coding program
CA2058363C (en) Method for decoding compressed images
KR900007566B1 (en) Image data conversion device and method
JP2995740B2 (en) Facsimile image density converter
JPH08307701A (en) Runlength encoding and decoding method
JPH08307700A (en) Run length coding method and decoding method
JPH0311883A (en) Decoding system for variable length code, and facsimile equipment and still picture transmission system
JPH09154023A (en) Image processing apparatus and method
JPH08191395A (en) Communication equipment