JPH04123670A - Equal speed read corresponding facsimile one-dimensional encoder - Google Patents

Equal speed read corresponding facsimile one-dimensional encoder

Info

Publication number
JPH04123670A
JPH04123670A JP24552990A JP24552990A JPH04123670A JP H04123670 A JPH04123670 A JP H04123670A JP 24552990 A JP24552990 A JP 24552990A JP 24552990 A JP24552990 A JP 24552990A JP H04123670 A JPH04123670 A JP H04123670A
Authority
JP
Japan
Prior art keywords
code
length
run
signal
image
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
JP24552990A
Other languages
Japanese (ja)
Inventor
Kazunori Kishimoto
岸本 一徳
Hisashi Yasuma
安間 久
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.)
NEC Platforms Ltd
NEC Corp
Original Assignee
NEC Corp
NEC AccessTechnica 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 NEC Corp, NEC AccessTechnica Ltd filed Critical NEC Corp
Priority to JP24552990A priority Critical patent/JPH04123670A/en
Publication of JPH04123670A publication Critical patent/JPH04123670A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To execute the encoding without providing an image memory of a large capacity by constituting the encoder by providing an FIFO memory, a variation point detecting circuit, a run-length converting circuit, a code table ROM, and a parallel/serial converting circuit. CONSTITUTION:When an image signal is written in an FIFO memory 11, a variation point detecting circuit 12 retrieves and detects a variation point, while reading out its image, and transfers a color/run-length signal to a run-length converting circuit 14. Subsequently, a color signal, and a run-length signal are transferred to a ROM 15, as it is, and by dividing it into a multiple part of 64 and the part of <=63 and dividing it into two times, respectively, a code to which a rake-up/terminating discriminating signal is given and code length are outputted, and a code signal converted to serial data by a parallel/serial converting circuit 16 is outputted. Even if any image code is inputted, an encoding processing of one line can be executed within a prescribed time.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、ファクシミリ装置の符号器に関し、特に、等
速読み取りに対応して連続的に入力される1ペ一ジ分の
2値画像信号を、ラインメモリやページメモリに蓄積す
ること無く高速に符号化処理するファクシミリ一次元符
号器に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an encoder for a facsimile machine, and in particular, to an encoder for a facsimile machine, and in particular to a binary image signal for one page that is continuously input in response to constant speed reading. The present invention relates to a facsimile one-dimensional encoder that performs high-speed encoding processing without storing information in line memory or page memory.

〔従来の技術〕[Conventional technology]

符号器の動作状態を監視し、画像信号の転送が可能な時
に1ライン単位で原稿の読み取りを実行するような、ラ
イン単位で制御された読み取り方式を用いたファクシミ
リ装置が従来がら普及している。また、最近では、その
様な読み取り制御をせず1ペ一ジ分の原稿を高速な一定
速度で連続的に読み取ってしまう等速読み取り方式を用
いたファクシミリ装置が実用化されている。
Facsimile machines that use a line-by-line controlled reading method that monitors the operating status of the encoder and reads the document line by line when image signals can be transferred have been widely used. . Recently, facsimile machines have been put into practical use that use a constant speed reading method that continuously reads one page of a document at a high constant speed without such reading control.

等速読み取り方式を用いた従来のファクシミリ装置の構
成の一例を第2図に示す。原稿読み取り部21において
、高速な一定速度で読み取られた1ペ一ジ分の画像デー
タは一旦画像メモリ22に蓄積される。符号器23はこ
の画像データを1ライン単位で画像メモリから読み出し
ながら符号化処理し、出力符号は符号メモリ24に転送
される。
FIG. 2 shows an example of the configuration of a conventional facsimile machine using a constant speed reading method. In the document reading section 21, image data for one page read at a high constant speed is temporarily stored in the image memory 22. The encoder 23 encodes this image data while reading it from the image memory line by line, and the output code is transferred to the code memory 24.

この符号メモリは、入力画像によるライン毎の符号化処
理速度の違いを吸収し、1ペ一ジ分またはそれ以上の符
号を一旦蓄積してから連続的に送信することにより通信
時間の減少を計るためのものである。最後に、通信部2
5は符号メモリから読みだした符号を回線に出力する。
This code memory absorbs differences in line-by-line coding processing speed depending on the input image, and reduces communication time by storing codes for one page or more and then transmitting them continuously. It is for. Finally, communication department 2
5 outputs the code read from the code memory to the line.

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

等速読み取り方式で読み取られ転送される画像信号を、
どのような画像信号に対しても2ms/ライン程度の高
速な処理速度で符号化する性能が要求される様になって
くると、もはや従来の一次元符号器では対応できない。
Image signals read and transferred using the constant speed reading method,
When it comes to be required to encode any image signal at a high processing speed of about 2 ms/line, conventional one-dimensional encoders can no longer cope with the need.

従って、そのような等速読取方式を採用するファクシミ
リ装置では、原稿1ペ一ジ分以上の画像データを蓄積す
る大容量のメモリを使用する事で実現しなければならな
い。また、メモリを用いてその様な装置を実現した場合
、部品点数や製作工数の増加等の分だけ装置の価格が高
くなるという欠点がある。そのため、低価格機でこの等
速読み取り方式を採用した装置を実現するのは極めて困
難であった。
Therefore, in a facsimile machine that adopts such a constant speed reading method, it must be realized by using a large capacity memory that can store image data for one page or more of a document. Furthermore, when such a device is realized using memory, there is a drawback that the price of the device increases due to the increase in the number of parts and the number of manufacturing steps. Therefore, it has been extremely difficult to realize a low-cost device that uses this constant-speed reading method.

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

上記問題点を解決し、等速読み取り方式に対応できる等
速処理符号器を実現するため、本発明の符号器は、F工
FO(ファーストイン・ファーストアウト)メモリ、変
化点検出回路、ランレングス変換回路、符号テーブルR
OM、そしてパラレル/シリアル変換回路とを有する。
In order to solve the above-mentioned problems and realize a constant-speed processing encoder that is compatible with the constant-speed reading method, the encoder of the present invention has a first-in first-out (FO) memory, a change point detection circuit, and a run length. Conversion circuit, code table R
It has an OM and a parallel/serial conversion circuit.

〔実施例〕〔Example〕

次に本発明の1次元符号器について図面を用いて説明す
る。
Next, the one-dimensional encoder of the present invention will be explained using the drawings.

第1図は本発明による1次元符号器のブロック図である
FIG. 1 is a block diagram of a one-dimensional encoder according to the present invention.

まず、構成要素と各々の機能及びそれら相互の関係につ
いて説明する。外部の画像転送りロックに同期して入力
される画像信号は、内部クロックで同期化されてからF
IFOメモリ11に書キ込まれる。FIFOメモリ11
は16画素の画像データを蓄えることができ、符号長の
違いによる符号間の処理速度の差をバッファリングする
。画像データの書き込みと読み出しは独立して行える。
First, the constituent elements, their respective functions, and their mutual relationships will be explained. The image signal input in synchronization with the external image transfer lock is synchronized with the internal clock and then F
The data is written to the IFO memory 11. FIFO memory 11
can store 16 pixels of image data, and buffers the difference in processing speed between codes due to the difference in code length. Writing and reading of image data can be performed independently.

変化点検出回路12は、FIFOメモリllから画素信
号を読み出しながら画素信号列の中で直前の画素と色の
異なる画素(変化点)を検出する。
The changing point detection circuit 12 detects a pixel (changing point) whose color is different from the immediately preceding pixel in the pixel signal string while reading the pixel signal from the FIFO memory 11.

ランレングス計算回路13は、F工FOメモリ11から
読み出す黒画素または白画素の連続した長さ(ランレン
グス)を計数する。ランレングスの色が白か黒かを表す
1ビツトの色信号とランレングスを表す11ビ、トの信
号を合わせた12ビツトの色・ランレングス信号が次段
のランレングス変換回路14に転送される。この時最大
ライン長は2048画素となる。ランレングス変換回路
14は、入力される色・ランレングス信号を、色信号は
そのまま、ランレングス信号は64の倍数部分と63以
下の部分とに分解し2回に分けて出力する。ただし、ラ
ンレングスが63以下の時には640倍数部分に対応す
る符号はない。64の倍数部分はメイクアップ符号に相
当し、63以下の部分はターミネイティング符号に相当
する。
The run length calculation circuit 13 counts the continuous length (run length) of black pixels or white pixels read from the FO memory 11. A 12-bit color/run-length signal, which is a combination of a 1-bit color signal representing whether the run-length color is white or black and an 11-bit color signal representing the run length, is transferred to the run-length conversion circuit 14 at the next stage. Ru. At this time, the maximum line length is 2048 pixels. The run-length conversion circuit 14 decomposes the input color/run-length signal into a color signal as it is, a run-length signal into a multiple of 64 part and a part below 63, and outputs the divided signal twice. However, when the run length is 63 or less, there is no code corresponding to the 640 multiple part. The multiple part of 64 corresponds to the make-up code, and the part below 63 corresponds to the terminating code.

ここで分解された信号はメイク7ツプ符号かターミネイ
ティング符号かを識別する1ビツトの信号と、メイクア
ップ符号の時にはランレングスを64で割った値を1.
ターミネイティング符号の時にはランレングスそのもの
を表す6ビツトの信号とで構成される。すなわち、ラン
レングス変換回路14の出力は1ビツトの色信号、1ビ
ツトのメイクアップ/ターミネイティング識別信号、そ
して6ビツトのランレングス信号の合計8ビツトで構成
される中間符号となる。符号テーブルROM15は中間
符号そのものが入力アドレスとなり、CCITT勧告T
4に基づいたメイクアップ符号またはターミネイティン
グ符号とそれらの符号長とを出力する。符号は13ビツ
トの、符号長は4ビツトの信号である。これらはパラレ
ル/シリアル変換回路16に転送される。パラレル/シ
リアル変換回路16は13ビツトの符号データを符号長
で与えられるビット数だけ有効データとし、シリアル出
力する。
The decomposed signal is a 1-bit signal that identifies whether it is a make-up code or a terminating code, and a 1-bit signal that is calculated by dividing the run length by 64 in the case of a make-up code.
When it is a terminating code, it is composed of a 6-bit signal representing the run length itself. That is, the output of the run-length conversion circuit 14 is an intermediate code consisting of a total of 8 bits, including a 1-bit color signal, a 1-bit make-up/terminating identification signal, and a 6-bit run-length signal. The code table ROM 15 uses the intermediate code itself as an input address, and complies with CCITT recommendation T.
The make-up codes or terminating codes based on the code 4 and their code lengths are output. The code is a signal of 13 bits and the code length is 4 bits. These are transferred to the parallel/serial conversion circuit 16. The parallel/serial conversion circuit 16 converts the 13-bit code data into valid data by the number of bits given by the code length, and outputs it serially.

次に、この符号器の動作について説明する。画像信号が
FIFOメモリllに書き込まれると変化点検出回路1
2はその画像を読みだしながら変化点を検索する。変化
点検出回路12が変化点を検出すると、色・ランレング
ス信号をランレングス変換回路14に転送する。色信号
として白を°0°黒をl°と定義すれば、たとえば白ラ
イン150の色・ランレングス信号は となる。この信号は、ランレングス変換回路14で(1
)白ラン128と(2)白ラン22の2つの信号に分割
され2回に分けて符号テーブルROM15に転送される
。メイクアップ/ターミネイティング識別信号として、
メイクアップ符号を゛l′ターミネイティング符号を0
′ と定義すれば、この信号は 白 メイクアップ ラン128(128ムロ4=2)白
 ターミネイト ラン22 となる。符号テーブルROM15ではそれぞれに対応し
た符号と符号長が出力される。最後に、パラレル/シリ
アル変換回路16でシリアルデータに変換された符号信
号が出力される。
Next, the operation of this encoder will be explained. When the image signal is written to the FIFO memory II, the change point detection circuit 1
Step 2 searches for changing points while reading out the image. When the change point detection circuit 12 detects a change point, the color/run length signal is transferred to the run length conversion circuit 14. If white is defined as 0° and black as 1° as a color signal, then the color/run length signal of the white line 150 is, for example, as follows. This signal is converted into (1
) White run 128 and (2) White run 22, which are divided into two signals and transferred to the code table ROM 15 in two parts. As a makeup/terminating identification signal,
Set the make-up code to ``l'' and set the terminating code to 0.
′, this signal becomes White Make-up Run 128 (128 Muro 4 = 2) White Termination Run 22. The code table ROM 15 outputs the corresponding code and code length. Finally, the code signal converted into serial data by the parallel/serial conversion circuit 16 is output.

このシステム構成において、画像転送りロックの速度と
内部クロックの速度との関係は次のようになる。入力画
像に対する発生符号量がもっとも多くなるときの処理速
度で画像転送りロックの最高速度は限定される。それは
白1画素と黒1画素が交互に連続する場合である。白ラ
ンl、黒ランlの符号量はそれぞれ6ビツト、3ビット
有り、この2画素の処理に11内部クロックを要する。
In this system configuration, the relationship between the image transfer lock speed and the internal clock speed is as follows. The maximum speed of image transfer locking is limited by the processing speed when the amount of code generated for an input image is the largest. This is a case where one white pixel and one black pixel are alternately consecutive. The code amount of the white run 1 and the black run 1 is 6 bits and 3 bits, respectively, and processing of these two pixels requires 11 internal clocks.

従って、内部クロックの速度は画像転送りロックの5.
5倍以上が要求される。
Therefore, the speed of the internal clock is 5.5 of the image transfer lock.
5 times more is required.

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

本発明は、以上説明したように構成されるので、どのよ
うな画像信号が入力されても一定時間内で1ラインの符
号化処理ができるという効果がある。
Since the present invention is configured as described above, it has the advantage that no matter what image signal is input, one line can be encoded within a certain period of time.

その結果、等速読み取り方式で読み取られた画像信号を
画像メモリ無しで符号化することが可能である。
As a result, it is possible to encode image signals read using the constant speed reading method without using an image memory.

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

第1図は本発明によるファクシミリ一次元符号器のブロ
ック図、第2図は従来の等速読み取り方式を用いたファ
クシミリ装置の構成図である。 11・・・・・・FIFOメモリ、12・・・・・・変
化点検出回路、13・・・・・・ランレングス計算回路
、14・・・・・・ランレングス変換回路、15・・・
・・・符号テーブルROM、16・・・・・・パラレル
/シリアル変換回路、21・・・・・・原稿読取部、 22・・・・・・画像メモリ、 ・・・・・・符号器、 24・・・・・・符号メモリ、 25・・・・・・通信 部。
FIG. 1 is a block diagram of a facsimile one-dimensional encoder according to the present invention, and FIG. 2 is a block diagram of a facsimile apparatus using a conventional constant speed reading method. 11... FIFO memory, 12... Change point detection circuit, 13... Run length calculation circuit, 14... Run length conversion circuit, 15...
... code table ROM, 16 ... parallel/serial conversion circuit, 21 ... document reading section, 22 ... image memory, ... encoder, 24... code memory, 25... communication section.

Claims (1)

【特許請求の範囲】[Claims] ファクシミリ装置の原稿読み取り部からシリアル出力さ
れる2値画像信号列を入力とし、2値画像信号の書き込
みと読み出しが独立して行えるFIFO(ファーストイ
ン・ファーストアウト)メモリと、2値画像信号列の中
で直前の画素と色の異なる画素を検出する変化点検出手
段と、連続した白画素または黒画素の長さ(ランレング
ス)を計数するランレングス計算手段と、計数されたラ
ンレングスを64の倍数部分と63以下の部分とに分解
し中間符号として出力するランレングス変換手段と、該
ランレングス変換手段の出力を入力としてCCITT勧
告T4に基づいたメイクアップ符号またはターミネイテ
ィング符号とそれらの符号長とを出力する符号テーブル
ROMと、そして該符号テーブルROMの出力符号を出
力符号長で与えられるビット数の符号データとしてシリ
アル出力するパラレル/シリアル変換手段とで構成され
、画像信号列に対応した符号信号列を出力するファクシ
ミリ一次元符号器。
A FIFO (first-in, first-out) memory that receives a binary image signal string serially output from the document reading section of a facsimile machine and can write and read the binary image signal independently; A change point detection means for detecting a pixel having a different color from the previous pixel, a run length calculation means for counting the length (run length) of consecutive white pixels or black pixels, and a run length calculation means for calculating the run length of 64 consecutive white pixels or black pixels. A run-length conversion means that decomposes into a multiple part and a part of 63 or less and outputs it as an intermediate code, and inputs the output of the run-length conversion means to convert make-up codes or terminating codes based on CCITT recommendation T4 and their code lengths. and a parallel/serial conversion means that serially outputs the output code of the code table ROM as code data of the number of bits given by the output code length, and converts the code corresponding to the image signal sequence. A facsimile one-dimensional encoder that outputs a signal sequence.
JP24552990A 1990-09-14 1990-09-14 Equal speed read corresponding facsimile one-dimensional encoder Pending JPH04123670A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24552990A JPH04123670A (en) 1990-09-14 1990-09-14 Equal speed read corresponding facsimile one-dimensional encoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24552990A JPH04123670A (en) 1990-09-14 1990-09-14 Equal speed read corresponding facsimile one-dimensional encoder

Publications (1)

Publication Number Publication Date
JPH04123670A true JPH04123670A (en) 1992-04-23

Family

ID=17135047

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24552990A Pending JPH04123670A (en) 1990-09-14 1990-09-14 Equal speed read corresponding facsimile one-dimensional encoder

Country Status (1)

Country Link
JP (1) JPH04123670A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5761379A (en) * 1980-09-30 1982-04-13 Ricoh Co Ltd Encoding or decoding device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5761379A (en) * 1980-09-30 1982-04-13 Ricoh Co Ltd Encoding or decoding device

Similar Documents

Publication Publication Date Title
US4360840A (en) Real time data compression/decompression scheme for facsimile transmission system
JPH04199981A (en) Prompt processing type one-dimensional coder
US4574382A (en) Variable length character code system
JPH0529172B2 (en)
US3935379A (en) Method of and system for adaptive run length encoding of image representing digital information
JPS58129876A (en) Facsimile device
US4096527A (en) Run length encoding and decoding methods and means
EP0149893B1 (en) Apparatus for coding and decoding data
KR930006750B1 (en) Coding appalatus of video data
JPH04123670A (en) Equal speed read corresponding facsimile one-dimensional encoder
JPS60140979A (en) Parallel processor for encoding and decoding of picture signal
JPS5883473A (en) Picture signal encoding system
JPH03136575A (en) Facsimile coder
JP2689745B2 (en) Coded data transmission processing method
JPS5992674A (en) Encoding circuit
JPH04258084A (en) Code rule converter
JPS61186074A (en) Coding processing system
JPH0260373A (en) Encoding circuit for facsimile equipment
JPH09121286A (en) Method and device for compressing picture data
JPS6174458A (en) Facsimile code decoding circuit
JPS59156073A (en) Data decoding device
JPS60194671A (en) Run length encoding device
JPS6195671A (en) Decoding circuit
JPS62164317A (en) Coding system
JPH0252571A (en) Facsimile signal coding circuit