JPS60198966A - Code data processing system - Google Patents

Code data processing system

Info

Publication number
JPS60198966A
JPS60198966A JP5487784A JP5487784A JPS60198966A JP S60198966 A JPS60198966 A JP S60198966A JP 5487784 A JP5487784 A JP 5487784A JP 5487784 A JP5487784 A JP 5487784A JP S60198966 A JPS60198966 A JP S60198966A
Authority
JP
Japan
Prior art keywords
color
line
white
section
run
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
JP5487784A
Other languages
Japanese (ja)
Inventor
Takeshi Nakayama
毅 中山
Tatsuo Kimura
辰雄 木村
Kouichi Nie
贄 浩一
Tetsuya Niikita
徹也 新北
Tetsuo Senbon
千本 哲男
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 JP5487784A priority Critical patent/JPS60198966A/en
Publication of JPS60198966A publication Critical patent/JPS60198966A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To always complete the processing at an opposite color to a started color by allowing a color identification section to check the final color of a line at each end of coding of one line, giving it to a run length addition section when the final color is white and allowing the run length addition section to apply the black zero processing. CONSTITUTION:When the coding of one line is finished, a line control section 21 informs the end of one line to the color identification section 23. The color identification section 23 receiving this information checks the final color of the line and when the final color is black, no processing is conducted further and the processing takes over a line end code EOL addition section 25. When the final color is white, it is informed to a run length addition section 24. Then the addition section 24 transmits a run length code corresponding to black zero as a coded signal.

Description

【発明の詳細な説明】 (1) 発明の技術分野 本発明はランレングス符号化処理に係り、特に画信号を
ランレングス符号化する場合に、該画信号の最終色が先
頭色と同色の時は、反対色の長さ0のランレングス符号
を附加し、該画信号が常に先頭色と反対の色で終了する
ように符号化を行なう符号化データの処理方式に関する
DETAILED DESCRIPTION OF THE INVENTION (1) Technical Field of the Invention The present invention relates to run-length encoding processing, and in particular, when an image signal is run-length encoded, when the final color of the image signal is the same color as the leading color. relates to an encoded data processing method in which a run length code of the opposite color is added and the image signal is encoded so that it always ends with a color opposite to the leading color.

(2)従来技術と問題点 従来、ランレングス符号化方式には、−次元符号化方式
のMH方式がある。
(2) Prior Art and Problems Conventionally, run-length encoding methods include the MH method, which is a -dimensional encoding method.

MH符号化方式とは、白黒2値の画信号の各色の長さく
白ランレングス、黒ランレングス)を第1図の様な一定
の符号コードに置き換えるものであり、色調の同期をと
るために、すべてのデータラインは白ランの符号で始ま
る。また、1ラインのデータの後にライン終端符号(E
OL)なる固有の符号を附加する。
The MH encoding method replaces the length of each color (white run length, black run length) of a black and white binary image signal with a fixed code as shown in Figure 1. , all data lines start with a white run sign. Also, after one line of data, a line termination code (E
OL) is added.

もし、このようなMH符号化された画信号を合成しよう
とすると、前の符号化信号の最終色が白の場合は、続く
符号化信号の先頭色の白と同色になり、単純に合成する
ことができない欠点があつ また。
If you try to synthesize such MH encoded image signals, if the final color of the previous encoded signal is white, it will be the same color as the first color of the following encoded signal, and it will be simply synthesized. There is also a drawback that it cannot be done.

(3)発明の目的 本発明は、前記欠点に鑑みて、簡単に符号化データの合
成を行なうために、ランレングス符号化時、画信号の最
後が白ランの場合は黒0を附加し、該画信号が雷に先頭
色と反対の色で終了するように符号化を行なう、符号化
データの処理方式の提供°を目的とする。
(3) Purpose of the Invention In view of the above drawbacks, the present invention adds a black 0 when the end of an image signal is a white run during run-length encoding, in order to easily synthesize encoded data. The object of the present invention is to provide an encoded data processing method that encodes the image signal so that it ends in a color opposite to the leading color.

(4)発明の構成 該目的は原画信号をライン制御部に読み込む原画読取り
手段と5該読み込まれた原画信号の符号化を行ない終了
信号を附加する符号器を備えたシステムにおいて、1ラ
インの符号化が終了する毎に該ライン制御部はライン終
了を色識別手段に通知し、該色識別手段は当該ラインの
最終色を8周べ、該最終色が白の場合は、その旨をラン
レングス附加手段に通知し、該ランレグス1111加手
段は黒0処理を行なうことを特徴とする符号データ処理
方式により達成される。
(4) Structure of the Invention The object is to provide a system that includes an original image reading means for reading an original image signal into a line control section, and 5 an encoder for encoding the read original image signal and adding an end signal. Each time the coloring is completed, the line control unit notifies the color identification means of the end of the line, and the color identification means scans the final color of the line eight times, and if the final color is white, it indicates that the run length. This is achieved by a code data processing method characterized in that the addition means is notified, and the run leg 1111 addition means performs black 0 processing.

(5)発明の実施例 以下、図面を参照しつつ、本発明の詳細な説明する。(5) Examples of the invention Hereinafter, the present invention will be described in detail with reference to the drawings.

第1図は、M)(コード表を示す図である。図において
、11は白ランレングス212は白ランの符号語、13
は黒ランレングス、14は黒ランのである。図において
、20は画像読取部、21はライン制御部、22はラン
レングス符号器、23は色識別部、24はランレングス
附加部、25ばEOL附加部である。
FIG. 1 is a diagram showing an M) (code table. In the figure, 11 is a white run length, 212 is a code word for a white run, and 13 is a code word for a white run.
is the black run length, and 14 is the black run length. In the figure, 20 is an image reading section, 21 is a line control section, 22 is a run-length encoder, 23 is a color identification section, 24 is a run-length addition section, and 25 is an EOL addition section.

画像読取部20で読取った第3−1図の原画信号へがラ
イン制御部21に送られてくると、該ライン制御部21
は該原画信号Aを順次、符号器22に送出する。符号器
22は送られてきた該原画信号Aの色及び長さを検出し
、それぞれの色及び長さく白50.黒3.白40.黒2
0.白500)に対応したランレングス符号語(第1図
参照)とに単純にEOL符号(最終信号)を附加ものが
従来の第3〜3図の符号化信号Aである。
When the original image signal of FIG. 3-1 read by the image reading section 20 is sent to the line control section 21, the line control section 21
sequentially sends the original image signal A to the encoder 22. The encoder 22 detects the color and length of the sent original image signal A, and converts each color and length to white 50. Black 3. White 40. black 2
0. The conventional encoded signal A shown in FIGS. 3 and 3 simply adds an EOL code (final signal) to the run-length code word (see FIG. 1) corresponding to white (500).

3に通知する。該通知を受けた色識別部23はラインの
最終色を調べ、もし該最終色が黒の場合は何も行なわず
、処理をEOL附゛加部25に移す。
Notify 3. The color identification unit 23 that has received the notification checks the final color of the line, and if the final color is black, does nothing and transfers the process to the EOL addition unit 25.

該最終色が白の場合は、その旨をランレングス附加部2
4に通知する。該ランレングス附加部24は、黒0に相
当するランレングス符号語を符号化信号として送出する
X (黒0処理)。第3−1図の画信号の最後は白50
0なので、黒0が附加される。このようにして1ライン
の符号化が終了した後にE OL tilt加部25ば
EOLを示す符号を送出する。
If the final color is white, indicate that in the run length appendix 2.
Notify 4. The run-length addition section 24 sends out a run-length code word corresponding to black 0 as a coded signal (black 0 processing). The end of the image signal in Figure 3-1 is white 50
Since it is 0, a black 0 is added. After the encoding of one line is completed in this way, the EOL tilt adding section 25 sends out a code indicating EOL.

以上の処理により第3−1図の原画信号Aは第3−5図
の符号化信号Cに変換される。
Through the above processing, the original image signal A shown in FIG. 3-1 is converted into the encoded signal C shown in FIG. 3-5.

ラインの最終色が黒である第3−2図の原画信号Bがラ
イン制御部21に送られた場合は、従来方式による第3
−4図の符号化信号Bと本発明による第3−6図の符号
化信号りは全く同一のものになる。
When the original image signal B in FIG. 3-2, in which the final color of the line is black, is sent to the line control section 21, the third
The encoded signal B in FIG. 4 is exactly the same as the encoded signal B in FIGS. 3-6 according to the present invention.

このようにして、必ずラインの先頭が白ランで1始まり
、ラインの最後が焦ランで終わる符号化信号を簡単に得
ることができる。
In this way, it is possible to easily obtain an encoded signal that always starts with a white run at the beginning of the line and ends with a dark run at the end of the line.

(6)発明の詳細 な説明したように、本発明により符号化されたデータを
用いると、複数のランレングス符号化データを簡単に合
成することができる。
(6) As described in detail of the invention, by using data encoded according to the present invention, a plurality of run-length encoded data can be easily synthesized.

第3−5図、第3−6図の符号化信号は第2図の実施例
により符号化された画信号である。第3−1図の符号化
信号の最終色は白なので、黒Oが附加されている。
The encoded signals shown in FIGS. 3-5 and 3-6 are image signals encoded by the embodiment shown in FIG. Since the final color of the encoded signal in FIG. 3-1 is white, black O is added.

これら2つの符号化信号を合成する場合、符号化信号の
最終色は先頭色の反対の色になっているので第3−5図
の符号化信号EOL符号を取り除くだけで単純に第3−
7図の合成符号化信号を得ることができる。
When combining these two encoded signals, the final color of the encoded signal is the opposite color to the first color, so simply removing the encoded signal EOL code in Figure 3-5 will result in a
The composite encoded signal shown in FIG. 7 can be obtained.

このようにあらかじめランレングス符号器時に、1ライ
ンの最後が白ランの場合は、黒0を挿入することにより
、複数のランレングス符号化データをEOL符号を取除
くという簡単な処理で合成することが可能となる。
In this way, when using the run-length encoder in advance, if the end of one line is a white run, by inserting a black 0, multiple run-length encoded data can be combined by a simple process of removing the EOL code. becomes possible.

しかも本発明は、CCITT勧告によるランレングス符
号化方式に遵守しているので、その利用範囲はきわめて
広い。
Furthermore, since the present invention complies with the run-length encoding method recommended by the CCITT, its range of use is extremely wide.

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

第1図は、MHコード表を示す図である。 第2図は、本発明の一実施例を示すシステム構成図であ
る。 第3−1図は原画化p、 Aを示す図である。 第3−2図は原画信号Bを示す図である。 第3−3図は従来方式による符号化信号Aを示す図であ
る。 第3−4図は従来方式による符号化信号Bを示す図であ
る。 第3−5図は本発明による符号化信号Cを示す図である
。 第3−6図は本発明による符号化信号りを示す図である
。 第3−7図は符号化信号C,Dを合成した符号化信号E
を示す図である。 記号の説明、20は画像読取部、21はライン制御部、
22はランレングス符号器、23は色識別部、24はラ
ンレングス附加部、25はEOL附加部。 図面の浄δ(内容に変更なし) 茅 イ PンJ 芽 2 図 第3−1図 $3−2図 第 3−3 図 国ゼ■=木=ロ=コ 第 3−4図 区ゴ灰i画肩I口「口 第3−5図 白50 黒3 白4o、乳20臼5ωro EOL ′
第3−6 図 ■ロ本−小口匪面■コ 第3−7図 白50′lA3114o薫2o白50りfo台aν 黒
ノ5台i 白にすfIoL6L手続補正書(方式) %式%(7 3補正をする者 事件との関係 特許出願人 f、1:所 セli3!>用県用崎市中原IX上小1]
ノ中】O】5番地(522)名称富士通株式会社
FIG. 1 is a diagram showing an MH code table. FIG. 2 is a system configuration diagram showing an embodiment of the present invention. FIG. 3-1 is a diagram showing the original image p, A. FIG. 3-2 is a diagram showing the original image signal B. FIG. 3-3 is a diagram showing an encoded signal A according to a conventional method. FIGS. 3-4 are diagrams showing the encoded signal B according to the conventional method. 3-5 are diagrams showing encoded signals C according to the present invention. 3-6 are diagrams showing encoded signals according to the present invention. Figure 3-7 shows a coded signal E which is a combination of coded signals C and D.
FIG. Explanation of symbols: 20 is an image reading unit, 21 is a line control unit,
22 is a run-length encoder, 23 is a color identification section, 24 is a run-length addition section, and 25 is an EOL addition section. Drawing cleaning δ (no change in content) Kaya PnJ Megumi 2 Figure 3-1 Figure $3-2 Figure 3-3 Figure country ze ■ = Wood = Ro = Ko Figure 3-4 Section Goash i Picture Shoulder I Mouth "Mouth 3-5 White 50 Black 3 White 4o, Breast 20 molar 5ωro EOL'
Figure 3-6 ■Ro book - Small side side ■CoFigure 3-7 White 50'l A3114o Kaoru 2o White 50 ri fo dai aν Kuro 5 dai i White fIoL6L procedural amendment form (method) % formula % ( 7 Relationship with the case of the person making the 3rd amendment Patent applicant f, 1: Location Seri 3!> 1st Nakahara IX Kami Elementary School, Yosaki City, Yoken]
【Naka】O】5 (522) Name Fujitsu Limited

Claims (1)

【特許請求の範囲】[Claims] 原画信号をライン制御部に読み込む原画読取り手段と、
該読み込まれた原画信号の符号化を行ない終了信号を附
加する符号化を行ない終了信号を附加する符号器を備え
たシステムにおいて、1ラインの符号化が終了する毎に
該ライン制御部はライン終了を色識別手段に通知し、該
色識別手段は当該ラインの最終色を調べ、該最終色が白
の場合は、その旨ランレングス1増加手段に通知し、該
ランレグス附加手段は黒O処理を行なうことを特徴とす
る符号データ処理方式。
original image reading means for reading the original image signal into the line control section;
In a system equipped with an encoder that encodes the read original image signal and adds an end signal, the line control unit controls the end of the line every time encoding of one line is completed. The color identification means checks the final color of the line, and if the final color is white, it notifies the run length 1 increase means, and the run length addition means performs black O processing. A coded data processing method characterized by:
JP5487784A 1984-03-22 1984-03-22 Code data processing system Pending JPS60198966A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5487784A JPS60198966A (en) 1984-03-22 1984-03-22 Code data processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5487784A JPS60198966A (en) 1984-03-22 1984-03-22 Code data processing system

Publications (1)

Publication Number Publication Date
JPS60198966A true JPS60198966A (en) 1985-10-08

Family

ID=12982813

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5487784A Pending JPS60198966A (en) 1984-03-22 1984-03-22 Code data processing system

Country Status (1)

Country Link
JP (1) JPS60198966A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60146326A (en) * 1983-12-30 1985-08-02 インタ−ナショナル ビジネス マシ−ンズ コ−ポレ−ション Image conversion from bit map to run display

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60146326A (en) * 1983-12-30 1985-08-02 インタ−ナショナル ビジネス マシ−ンズ コ−ポレ−ション Image conversion from bit map to run display

Similar Documents

Publication Publication Date Title
CA1219057A (en) Image data compression system
US4156880A (en) Method for transmitting a facsimile signal by sequential edge differential coding
GB1526288A (en) Facsimile coding
JPS60198966A (en) Code data processing system
US4623936A (en) Error processing technique for modified read code
US4096520A (en) Run length encoding and decoding methods and means
US4682241A (en) Data transfer system
JP2794951B2 (en) Decoding method of MR code
JPH0442665A (en) Facsimile equipment
JPS6222303B2 (en)
JP2563324B2 (en) Image signal coding method
JPH04142879A (en) Picture coding and decoding system
JPS62128659A (en) Communication support device for color copy
KR0128667B1 (en) Mh code decoding device
JP2506794B2 (en) Decryption processing method
JP2699573B2 (en) Pixel data conversion method for multicolor facsimile machine
JPS6354872A (en) Coding and decoding system for picture data
JPS58153461A (en) Processing system for coding of binary pattern
JPH03210823A (en) Coding/decoding method
JPH03104379A (en) Coding method for data in multi-color facsimile communication
JPS6382062A (en) Facsimile coding system
JPH0144067B2 (en)
JPH03210822A (en) Coding/decoding method
JPS5985174A (en) Facsimile system with interface
JPS61131686A (en) Compression encoding system for picture data