JPS60117878A - Facsimile signal processing circuit - Google Patents

Facsimile signal processing circuit

Info

Publication number
JPS60117878A
JPS60117878A JP58224831A JP22483183A JPS60117878A JP S60117878 A JPS60117878 A JP S60117878A JP 58224831 A JP58224831 A JP 58224831A JP 22483183 A JP22483183 A JP 22483183A JP S60117878 A JPS60117878 A JP S60117878A
Authority
JP
Japan
Prior art keywords
circuit
shift register
bit
microprocessor
processing
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
JP58224831A
Other languages
Japanese (ja)
Inventor
Shintarou Azami
莇 信太郎
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 Corp
Original Assignee
NEC Corp
Nippon Electric 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 NEC Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP58224831A priority Critical patent/JPS60117878A/en
Publication of JPS60117878A publication Critical patent/JPS60117878A/en
Pending legal-status Critical Current

Links

Landscapes

  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

PURPOSE:To attain ease of processing by means of a microprocessor by providing a counter circuit constituted to be restored to the initial value at each detection of a line synchronizing code and a processing circuit including the microprocessor or the like and allowing the processing circuit to process an n-bit parallel output of a shift register every time the counter circuit takes the initial value so as to make the line synchronizing code in a facsimile signal coincident with a byte or word boundary. CONSTITUTION:A facsimile signal subject to redundancy compressing coding is inputted to a shift register 1 via a terminal 11, shifted one by one bit sequentially in matching with the timing signal inputted via a terminal 12 and 12-bit parallel outputs Q0, Q1,..., Q11 are obtained. The outputs Q0,..., Q11 of the shift register 1 are inputted to a line synchronism detecting circuit 2, where the pattern of the line synchronizing code is detected, the line synchronism detection signal is outputted and a counter circuit 3 is reset. On the other hand, the counter circuit 3 applies 1/8 frequency-division to a timing signal inputted from the terminal 12. An output of a register 4 sectioned into 8-bit and an output pulse of the counter circuit 3 are inputted to a processing circuit 5 so as to attain the signal processing in the unit of 8-bit by means of the microprocessor or the like.

Description

【発明の詳細な説明】 イ、産業上の利用分野 本発明は、冗長度圧縮符号化されたファクシミリ信号処
理回路に関し、特に、ファクシミリ信号をマイクロプロ
セッサ等の処理に適するよう、該信号中のライン同期符
号(EOL符号)をマイクロプロセッサの処理単位であ
るバイト、或はワードの境界に一致させるための回路に
関する。
DETAILED DESCRIPTION OF THE INVENTION A. Field of Industrial Application The present invention relates to a redundancy compression encoded facsimile signal processing circuit. The present invention relates to a circuit for matching a synchronization code (EOL code) to a byte or word boundary, which is a processing unit of a microprocessor.

口、従来技術 ファクシミリ信号の冗長度圧縮符号化方式としては、モ
ディファイド・ハフマン符号化(MH符号化)方式、ま
えは、モディファイド・リード符号化(MR符号化)方
式が国際的な標準符号化方式としてよく知られている。
Conventional technology As a redundancy compression encoding method for facsimile signals, the Modified Huffman encoding (MH encoding) method, and the Modified Read encoding (MR encoding) method is an international standard encoding method. It is well known as.

これらの符号化方式は、例えば、電子通信学会編1新版
ファクシミリの基礎と応用@(昭和57年9月10日発
行)に記載されている。その内容によれば、例えば、M
H符号化は、1走査線の白または黒の連続しん長さくラ
ン)を、白または黒ランの統計的出現確率に応じた可変
長符号で符号化する方式で、−走査線毎の区切には、ラ
イン同期符号(EOL符号)が挿入される。従って、上
記のMH符号化されたファクシミリ信号は、−走査線毎
にデータ量が異なることになる。
These encoding methods are described in, for example, the Institute of Electronics and Communication Engineers, ed. 1, New Edition: Fundamentals and Applications of Facsimile @ (published September 10, 1980). According to its contents, for example, M
H-encoding is a method that encodes one scanning line (continuous white or black run) with a variable length code according to the statistical probability of appearance of a white or black run. A line synchronization code (EOL code) is inserted. Therefore, the above-mentioned MH-encoded facsimile signal has a different amount of data for each -scanning line.

一方最近の多様な市場要求に応じるため、ファクシミリ
信号をマイクロプロセッサによって処理することが多い
。周知の如くマイクロプロセッサ等は一般に8ビツト(
バイト)或は16ビツト(ワード)というある適当な単
位を規準に処理するのに適している。前記MH符号化フ
ァクシミリ信号の如く、ビット単位の処理が必要で、且
つ実時間処理を伴なうような処理には余り適していない
。しかし乍ら、サービスの多様性を満たすため、マイク
ロプロセッサを使用しなければならない場合は、非常に
高速なマイクロプロセッサを用いたり、或は、専用の規
模の大きいハードウェアを付加することによって上記ビ
ット処理を行なっている。
On the other hand, in order to meet various recent market demands, facsimile signals are often processed by microprocessors. As is well known, microprocessors are generally 8-bit (
It is suitable for processing on the basis of some suitable unit of 16 bits (bytes) or 16 bits (words). It is not very suitable for processing that requires bit-by-bit processing and involves real-time processing, such as the MH encoded facsimile signal. However, if a microprocessor must be used to satisfy the diversity of services, the above bits can be achieved by using a very high-speed microprocessor or by adding dedicated large-scale hardware. Processing is in progress.

ハ1発明の目的 本発明の目的は、ファクシミリ信号中のライン同期符号
をバイトまたはワードの境界に一致させ、マイクロプロ
セッサによる処理を容易ならしめるファクシミリ信号処
理回路を提供することにある。
C.1 OBJECTS OF THE INVENTION An object of the present invention is to provide a facsimile signal processing circuit that allows line synchronization codes in facsimile signals to coincide with byte or word boundaries to facilitate processing by a microprocessor.

二0発明の構成 本発明は、冗長度圧縮符号化されたファクシミリ信号を
入力とし、ライン同期符号検出に必要なビット数(12
ビツト)以上で、かつ、予め定めたマイクロプロセッサ
等によゐ並列処理単位nビット(バイト或はワード単位
等)以上のビット数を有する並列出力可能なシフトレジ
スタと、このシフトレジスタの並列出力を入力としライ
ン同期符号を検出するライン同期検出回路と、前記シフ
トレジスタへ入力されるファクシミリ信号ノビット数を
計数し、n毎に初期値に戻るようにし、かつ、前記ライ
ン同期検出回路によりライン同期符号を検出する毎に初
期値に戻るよう構成した計数回路と、マイクロプロセッ
サ等を含む処理回路とを備え、前記計数回路が初期値を
とる毎に前記シフトレジスタのnビット並列出力を処理
回路にて処理するよう構成されている。
20 Structure of the Invention The present invention takes as input a facsimile signal encoded with redundancy compression, and uses the number of bits (12
A shift register capable of parallel output having a number of bits (bits) or more and a parallel processing unit of n bits (byte or word unit, etc.) or more by a predetermined microprocessor, etc., and a parallel output of this shift register. A line synchronization detection circuit detects a line synchronization code as an input, counts the number of facsimile signal nobits input to the shift register, returns to the initial value every n, and detects a line synchronization code by the line synchronization detection circuit. A counting circuit configured to return to an initial value each time a value is detected, and a processing circuit including a microprocessor, etc., and each time the counting circuit takes an initial value, the n-bit parallel output of the shift register is processed by the processing circuit. configured to process.

ホ、実施例 つぎに本発明を実施例により説明する。E, Example Next, the present invention will be explained by examples.

第1図は本発明の一実施例の回路ブロック図、第2図(
a)〜(f>は第1図の実施例の動作を説明するための
タイムチャートである。まず、第1図において、端子1
1を介してシフトレジスタ1に、第2図(a)に示す冗
長度圧縮符号化されたファクシミリ信号が入力される。
FIG. 1 is a circuit block diagram of an embodiment of the present invention, and FIG. 2 (
a) to (f> are time charts for explaining the operation of the embodiment in FIG. 1. First, in FIG.
A redundancy compression encoded facsimile signal shown in FIG. 2(a) is input to the shift register 1 via the shift register 1.

第2図(a)は、白1667ビツト(メークアップ16
64+ターミネテイング3)続いて黒61ビットの場合
の一走査線のMH符号化ファクシミリ信号を表わしてお
り、ライン同期符号(EOL)を含み、−走査線当り3
4ビツトの情報を有する。端子11を介してシフトレジ
スタ1に入力されたこのようなファクシミリ信号は、第
1図の端子12を介して入力されるタイミング信号に合
せて1ビット宛順次シフトし、第2図(b)に示すよう
な、12ビツトの並列出力(Q、、Q、。
Figure 2(a) shows 1667 bits of white (16 bits of make-up).
64 + termination 3) followed by black 61 bits representing the MH encoded facsimile signal for one scan line, including the line sync code (EOL), -3 per scan line.
Contains 4 bits of information. Such a facsimile signal inputted to the shift register 1 via the terminal 11 is sequentially shifted by one bit in accordance with the timing signal inputted via the terminal 12 in FIG. 12-bit parallel output (Q,,Q,.

・・・、Q目)を得る。第2図(b)は便宜上“01を
白111を黒で表わしている。シフトレジスタ1の出力
Qo+・・・+ Qllはライン同期検出回路2に入力
される。ライン同期検出回路2はEOL符号、すなわち
、(000000000001)のパタンを検出し、第
2図(C)に示すようなライン同期検出信号を出力する
。このライン同期検出信号は計数回路3に入力され、計
数回路3をリセットする。一方、計数回路3は端子12
から入力されるタイミング信号を1/8分周している。
..., Qth) is obtained. In FIG. 2(b), for convenience, "01" is represented by white and 111 is represented by black.The output Qo+...+Qll of the shift register 1 is input to the line synchronization detection circuit 2.The line synchronization detection circuit 2 , that is, a pattern of (000000000001) is detected and a line synchronization detection signal as shown in FIG. On the other hand, the counting circuit 3
The frequency of the timing signal input from the oscilloscope is divided into 1/8.

従って、ライン同期検出信号入力毎にリセットされなが
ら第2図(d)に示すような計数を行なう。そして、計
数回路3は、初期値−〇′のとき第2図(e)に示すよ
うなパルスを出力する。このパルスはレジスタ4に入力
され、シフトレジスタ1のMSB側の8ビツトの出力Q
4゜・・・、Qllを記憶する。従って、レジスタ4の
出力は第2図(f)に示す如く、(00,16,20,
16゜80:但し16進数でQ+1をMSBとしている
)となる。これは、同図(a)において、EOL符号の
先頭ビットihら8ビット単位に区切り、黒ターミネテ
イング符号の最後にバイト境界調整用のフィルビットを
Gビット追加した符号と同一であり、このような8ビッ
ト区切りのレジスタ4の出力及び前記計数回路3の出力
パルスを処理回路5に入力し、マイクロプロセッサ!#
=による8ビット単位の信号処理を行なうことができる
Therefore, counting is performed as shown in FIG. 2(d) while being reset each time the line synchronization detection signal is input. Then, the counting circuit 3 outputs a pulse as shown in FIG. 2(e) when the initial value is -0'. This pulse is input to register 4, and the 8-bit output Q on the MSB side of shift register 1
4°..., remember Qll. Therefore, the output of register 4 is (00, 16, 20,
16°80 (in hexadecimal notation, Q+1 is the MSB). This is the same as the code in which the EOL code is divided into 8-bit units starting with the first bit ih, and G bits of fill bits for byte boundary adjustment are added to the end of the black terminating code. The output of the 8-bit divided register 4 and the output pulse of the counting circuit 3 are input to the processing circuit 5, and the microprocessor! #
= signal processing can be performed in 8-bit units.

へ6発明の効果 以上本発明の一実施例について説明した如く、本発明に
よれば、簡単な回路を追加することによって、ライン同
期符号をバイト境界に合せることが出来、例えば、処理
回路におけるマイクロプロセッサによるライン同期符号
検出のバイト単位の処理が可能になり、マイクロプロセ
ッサの処理能力を一段と向上させることができる。しか
も、バイト境界合せのため一走査線の有意な符号の最後
に若干101が付加されるが、このIQI信号は冗長度
圧縮符号において無意味な信号、即ち、フィルビットと
して取扱われるためファクタきり信号の処理には例等影
響を及はさない。
6 Effects of the Invention As described above with respect to an embodiment of the present invention, according to the present invention, line synchronization codes can be aligned with byte boundaries by adding a simple circuit. It becomes possible for the processor to process line synchronization code detection on a byte-by-byte basis, and the processing ability of the microprocessor can be further improved. Moreover, 101 is added to the end of the significant code of one scanning line for byte boundary alignment, but this IQI signal is treated as a meaningless signal in the redundancy compression code, that is, a fill bit, so it is processed as a factor-only signal. It does not affect the processing of the example.

なお、上述の説明はライン同期符号の位置をバイト境界
に合せる場合について説明したが、ワード境界等になっ
ても全く同様に処理できることは勿論、MR符号等につ
いても同様であることは論をまたない。
Note that although the above explanation deals with aligning the position of the line synchronization code with a byte boundary, it goes without saying that the same process can be performed even on a word boundary, etc., and the same applies to MR codes, etc. do not have.

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

第1図は本発明の一実施例のブロック図、第2図(a)
〜(f)は第1図のファクシミリ信号処理回路の動作を
説明するためのタイムチャートである。
Fig. 1 is a block diagram of an embodiment of the present invention, Fig. 2(a)
-(f) are time charts for explaining the operation of the facsimile signal processing circuit shown in FIG.

Claims (1)

【特許請求の範囲】[Claims] 冗長度圧縮符号化されたファクシミリ信号を入力とし、
ライン同期符号検出に必要なビット数(12ビツト)以
上で、かつ予め定めたマイクロプロセッサ等による並列
処理単位nビット(バイト或はワード単位等)以上のビ
ット数を有する並列出力可能なシフトレジスタと、この
シフトレジスタの並列出力を入力としライン同期符号を
検出するライン同期検出回路と、前記シフトレジスタへ
入力されるファクシミリ信号のビット数を計数しn毎に
初期値に戻るようにし、かつ、前記ライン同期検出回路
によりライン同期符号を検出する毎に初期値に戻るよう
構成した計数回路と、マイクロプロセッサ等を含む処理
回路とを備え、前記−計数回路が初期値をとる毎に前記
シフトレジスタのnビット並列出力を処理回路にて処理
するよう構成したことを特徴とするファクシミリ信号処
理回路。
Inputs a facsimile signal encoded with redundancy compression,
A shift register capable of parallel output, which has more than the number of bits required for line synchronization code detection (12 bits) and more than n bits (byte or word unit, etc.) in a predetermined parallel processing unit by a microprocessor, etc. , a line synchronization detection circuit that receives the parallel output of the shift register and detects a line synchronization code, and counts the number of bits of the facsimile signal input to the shift register and returns to the initial value every n, and A counting circuit configured to return to an initial value each time a line synchronization code is detected by a line synchronization detection circuit, and a processing circuit including a microprocessor, etc., each time the counting circuit takes an initial value. A facsimile signal processing circuit characterized in that the processing circuit processes n-bit parallel output.
JP58224831A 1983-11-29 1983-11-29 Facsimile signal processing circuit Pending JPS60117878A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58224831A JPS60117878A (en) 1983-11-29 1983-11-29 Facsimile signal processing circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58224831A JPS60117878A (en) 1983-11-29 1983-11-29 Facsimile signal processing circuit

Publications (1)

Publication Number Publication Date
JPS60117878A true JPS60117878A (en) 1985-06-25

Family

ID=16819864

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58224831A Pending JPS60117878A (en) 1983-11-29 1983-11-29 Facsimile signal processing circuit

Country Status (1)

Country Link
JP (1) JPS60117878A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5579565A (en) * 1978-12-12 1980-06-16 Fujitsu Ltd Picture signal decoding system
JPS58170280A (en) * 1982-03-31 1983-10-06 Fujitsu Ltd Decoding system of mh code

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5579565A (en) * 1978-12-12 1980-06-16 Fujitsu Ltd Picture signal decoding system
JPS58170280A (en) * 1982-03-31 1983-10-06 Fujitsu Ltd Decoding system of mh code

Similar Documents

Publication Publication Date Title
US4316222A (en) Method and apparatus for compression and decompression of digital image data
US4276544A (en) Code converting circuits
JP2962518B2 (en) Image data encoding device
JPS60140980A (en) Method and device for encoding signal representing flow of digital data group
JPS60117878A (en) Facsimile signal processing circuit
GB1526288A (en) Facsimile coding
US20030020722A1 (en) Image display apparatus
JPH033440B2 (en)
EP0950224B1 (en) Method in connection with serial data transfer to recognize a fixed pattern
JP3226358B2 (en) Run length encoding method
JPS62199173A (en) Modified huffman code decoding circuit
JPH0569342B2 (en)
JP2833005B2 (en) Frame decomposition circuit and method
JPH05341955A (en) Data compression and restoration system
JPS6343473A (en) Modified huffman code decoding circuit
JPS6118266A (en) Modified huffman coding and decoding device
JPS6339189B2 (en)
JP3029863B2 (en) Compressed data decoding device
JPS61173582A (en) Change point detecting circuit
JP2002221953A (en) Image display device
JPS59156073A (en) Data decoding device
JPH0212417B2 (en)
JPS62139475A (en) Encoding system for code of image data
JPS61287381A (en) Encoder
JPS5875389A (en) Coding device