JPS5883473A - Picture signal encoding system - Google Patents

Picture signal encoding system

Info

Publication number
JPS5883473A
JPS5883473A JP56182077A JP18207781A JPS5883473A JP S5883473 A JPS5883473 A JP S5883473A JP 56182077 A JP56182077 A JP 56182077A JP 18207781 A JP18207781 A JP 18207781A JP S5883473 A JPS5883473 A JP S5883473A
Authority
JP
Japan
Prior art keywords
code
image signal
signal
length
white
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
JP56182077A
Other languages
Japanese (ja)
Inventor
Yasukazu Nishino
西野 寧一
Yoshito Desaki
出崎 芳人
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP56182077A priority Critical patent/JPS5883473A/en
Publication of JPS5883473A publication Critical patent/JPS5883473A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/41Bandwidth or redundancy reduction

Abstract

PURPOSE:To speed up reading, by storing an instruction code encoding the result of collation between the number of consecution of the same kind of picture signals and the preceding picture signal, and encoding the signals with read- out instructions. CONSTITUTION:The change in black/white of a picture signal 1 inputted in synchronizing with a timing clock 2 is detected at a picture element change detection circuit 3 and the number of consecutive bits of the same signals is counted at a counter 4. The types of change from white to black or black to white and the number of consecution of the same signals are sequentially stored in a first-in first-out memory 5. The code and length of code corresponding to the length of each signal are stored in an ROM6, the code is stored in a P/S shift register 7 and the code length is in a register 8 tentatively. A clock forming circuit 9 generates clocks for the length of codes, the code of the register 7 is converted into a serial code and inputted to a memory 10.

Description

【発明の詳細な説明】 本発明は高速で読取られた画信号の符号化方式%式% 画信号の通信の高速化を計るため、また画像情報を記憶
するメモリの容量を少なくするために、画信号の冗長度
を抑圧する符号化方式が採用されている。例えば、ファ
クシミリのグループ3機器においては、1次元符号化方
式としてモディフアイド・ハフマン(ME)符号を用い
たランレングス符号化方式が、2次元符号化方式として
はモディファイド・リード(MR)符号化方天がそれぞ
れ採用されている。
DETAILED DESCRIPTION OF THE INVENTION The present invention provides an encoding method for image signals read at high speed. A coding method that suppresses the redundancy of the image signal is employed. For example, in Group 3 facsimile equipment, the one-dimensional encoding method is a run-length encoding method using a modified Huffman (ME) code, and the two-dimensional encoding method is a modified read (MR) encoding method. have been adopted respectively.

MH符号を用いたランレングス符号化方式は、2値の白
・黒の信号に変換された画信号の白または黒の継続ビッ
ト数をMH符号で表わす符号化方式である。MR符号化
方式は、現在符号化されている符号化ラインの変化画素
の位置(白信号から黒信号への変化位置、あるいは黒信
号から白信号への変化位置)を、符号化ライン上のすで
に符号化ずみの変化画素の位置または、直前の参照ライ
ン上の最寄の変化画素の位置からの相対距離を用いて順
次符号化する2次元逐次符号化方式であり、その符号化
のアルゴリズムは刊行物”CCITT。
A run-length encoding method using an MH code is an encoding method in which the number of consecutive white or black bits of an image signal converted into a binary white/black signal is expressed by an MH code. The MR encoding method uses the position of a pixel that changes on the currently encoded line (the position of change from a white signal to a black signal, or the position of a change from a black signal to a white signal) from the position of a pixel that has already changed on the encoded line. This is a two-dimensional sequential encoding method that sequentially encodes using the position of the encoded changed pixel or the relative distance from the position of the nearest changed pixel on the previous reference line, and the encoding algorithm has been published. Things” CCITT.

5GXIV(ファクシミリ)東部会議報告1圃像電子学
会誌 第9巻 第1号(1980)に記載されている。
5GXIV (Facsimile) Eastern Conference Report 1 Journal of the Society of Imaging Electronics, Vol. 9, No. 1 (1980).

上記のMl(符号を用いたランレングス符号化方式やM
FI符号化方式のような逐次符号化方式においては、画
素が白から黒へ、あるいは黒から白へ変化して始めて符
号が決定される。また、その符号長は可変長である。
The above run-length encoding method using Ml (code) and M
In a sequential encoding method such as the FI encoding method, a code is determined only after a pixel changes from white to black or from black to white. Further, the code length is variable.

従来、このような符号化方式においては、符号画信号に
対して、変化画素が連続してありそれに対応した符号が
決定されることを考慮すると、符号化を画信号の入力さ
れる速度に対して、最天符号長倍の速度で行なう必要が
ある。従って、読取りの速度が高速になってくると、符
号化を行なうための速度が異常に速くなってしまう。逆
に符号化の速度を下げると、変化画素が連続あるいは短
い間隔であると、符号化が完了するまで読取りを一時中
断する必要がある。
Conventionally, in such an encoding method, considering that there are successive pixels that change in the encoded image signal and the corresponding code is determined, encoding is performed based on the speed at which the image signal is input. Therefore, it is necessary to perform the processing at a speed that is twice the maximum code length. Therefore, as the reading speed increases, the encoding speed becomes abnormally fast. On the other hand, when the encoding speed is reduced, if the pixels change continuously or at short intervals, it is necessary to temporarily suspend reading until encoding is completed.

本発明の目的は、変化画素を検出しそれに対応した符号
を決定するブロックとシリアル符号を作成スルブロック
の間にファーストイン・ファーストアウト(FIFO)
メモリを設け、FIFOメモリには決定された符号を作
成するように指示する命令コードを書込み、この命令コ
ードを読比しシリアル符号に変換することにより、符号
化の速度を下げ、連続あるいは短い間隔で符号が決定さ
れた場合においても読取りの一時中断をほとんどなくし
だ画信号符化方式を提供することである。
The purpose of the present invention is to implement first-in, first-out (FIFO) between a block that detects a changed pixel and determines a corresponding code and a block that creates a serial code.
A memory is provided, an instruction code that instructs to create a determined code is written in the FIFO memory, and this instruction code is compared and converted into a serial code to reduce the encoding speed and enable continuous or short intervals. To provide an image signal encoding system that almost eliminates temporary interruption of reading even when a code is determined.

以下実施例により本発明の詳細な説明する。The present invention will be explained in detail below with reference to Examples.

第1図は本発明の一実施例の構成を示す説明図である。FIG. 1 is an explanatory diagram showing the configuration of an embodiment of the present invention.

第1図において、1は画信号の入力端子で、白または熱
の2値の信号が入力される。2はタイミングクロックの
入力端子で、入力端子1に入力される画信号はこのクロ
ックに同期して入力される。3は画素変化検出回路、4
はカウンタ、6はFIFOメモリで、画素変化検出回路
3は画信号の白信号から黒信号、あるいは黒信号から白
信号への変化を検出する。カウンタ4は白信号あるいは
黒信号の継続ビット数をカウントするカウンタで、今、
画素変化検出回路3で信号の変化が検出されるとFIF
Oメモリ6にカウンタ4の値と白信号から黒信号へ変化
または黒信号から白信号への変化かの情報を書込み、そ
の後カウンタ4をクリアして、次の白または黒信号の継
続ビット数をカウントする。この動作によりFIFOメ
モリ6には白信号、黒信号のラン長が順に記憶される0 まだ6はROM、7はP/Sシフトレジスタ、8はレジ
スタ、9はクロック作成回路、10はメモリである。R
OM6には白信号のラン長と黒信号のラン長に対応した
符号とその符号長が記憶されているOP/Sソフトレジ
スタ7にはROM6から読出された符号が一時記憶され
、レジスタ8にはROM6から読出された符号長が一時
記憶される。
In FIG. 1, reference numeral 1 denotes an input terminal for an image signal, into which a binary signal of white or heat is input. 2 is a timing clock input terminal, and the image signal input to input terminal 1 is input in synchronization with this clock. 3 is a pixel change detection circuit, 4
6 is a counter, and 6 is a FIFO memory. A pixel change detection circuit 3 detects a change in the image signal from a white signal to a black signal, or from a black signal to a white signal. Counter 4 is a counter that counts the number of continuous bits of the white signal or black signal.
When a change in the signal is detected by the pixel change detection circuit 3, the FIF
Write the value of the counter 4 and information on whether the white signal changes to a black signal or changes from a black signal to a white signal to the O memory 6, then clear the counter 4 and write the number of continuation bits of the next white or black signal. Count. With this operation, the run lengths of the white signal and black signal are stored in the FIFO memory 6 in order. 6 is the ROM, 7 is the P/S shift register, 8 is the register, 9 is the clock generation circuit, and 10 is the memory. . R
The OP/S soft register 7 temporarily stores the code read from the ROM 6, and the register 8 stores the code corresponding to the run length of the white signal and the run length of the black signal and its code length. The code length read from the ROM 6 is temporarily stored.

クロック作成回路9はレジスタ8に記憶された符号長分
のクロックを発生し、  P/Sシフトレジスタ7に記
憶されているパラレル符号をシリアル符号に変換し、メ
モI710に入力する。今、FIFOメモリ6に白信号
または黒信号のラン長が記憶されているとすると、これ
の一番古いデータを読出し、ROMeでこれに対応した
符号と符号長に変換し、符号をP/Sシフトレジスタ7
に、符号長をレジスタ8にそれぞれ入力し、クロック作
成回路9で符号長分のクロックを発生し、メモリ10に
入力する。この動作が終了すると、FIFOメモリ6を
見に行き、データが記憶されていると、これの一番古い
データを読出し、同様の動作を行なう0 以上の動作によりメモリ10には画信号に対応した符号
が記憶される。
The clock generating circuit 9 generates a clock corresponding to the code length stored in the register 8, converts the parallel code stored in the P/S shift register 7 into a serial code, and inputs the serial code to the memo I710. Now, assuming that the run length of the white signal or black signal is stored in the FIFO memory 6, the oldest data of this is read out, the ROMe converts it into the corresponding code and code length, and the code is converted into P/S. shift register 7
Then, the code lengths are input to the registers 8, and the clock generation circuit 9 generates a clock corresponding to the code length, and the clocks are input to the memory 10. When this operation is completed, the FIFO memory 6 is checked, and if data is stored, the oldest data is read out and the same operation is performed. The code is stored.

次の他の実施例について説明する。Next, another example will be described.

第2図はその構成図である。第2図において、11は画
信号の入力端子で、白または黒の2値信号が入力される
。12はタイミングクロックの入力端子である。13は
メモリで、1ライン前の画信号が記憶されている。14
は画素照合回路で。
FIG. 2 is a diagram showing its configuration. In FIG. 2, reference numeral 11 denotes an input terminal for an image signal, into which a white or black binary signal is input. 12 is a timing clock input terminal. Reference numeral 13 denotes a memory in which the image signal of the previous line is stored. 14
is the pixel matching circuit.

現在符号化されている画信号の白信号から黒信号への変
化位置あるいは黒信号から白信号への変化位置と、メモ
リ13に記憶されている1ライン前の画信号との変化位
置とを照合し、それに対応した符号の作成を指示する命
令コードを作成する。
Compare the change position of the currently encoded image signal from a white signal to a black signal or from a black signal to a white signal with the change position of the image signal stored in the memory 13 one line before. Then, create an instruction code that instructs the creation of the corresponding code.

FIFOメモリ16ゆζ画素照合回路14で作成された
命令コードを順に記憶する。
The FIFO memory 16 sequentially stores the instruction codes created by the pixel matching circuit 14.

また16はROM、17はP/Sシフトレジスタ、18
はレジスタ、1bはクロック作成回路、 20はメモリ
であり、前記ROM16には、画素照合回路14で作成
された命令コードに対応した符号とその符号長が記憶さ
れている。P/Sシフトレジスタ17にはROM16か
ら読出された符号が、レジスタ18にはROM16がら
読出された符号長がそれぞれ記憶される。クロック作成
回路19はレジスタ18に記憶されている符号長分のク
ロックを発生し、P//Sシフトレジスタ17に記憶さ
れているパラレル符号をシリアル符号に変換し、メモリ
20に入力する。FIFOメモリ6に命令コードが記憶
されていると、これの一番古く作成された命令1−ドを
読出し、ROM15でこれに対応した符号と符号長に変
換し、符号をP/sシフトレジスタ17に、符号長をレ
ジスタ18にそれぞれ入力し、クロック作成回路19で
符号長分のクロックを発生し、メモリ1oに入力する。
Also, 16 is ROM, 17 is P/S shift register, 18
1b is a register, 1b is a clock generation circuit, and 20 is a memory. The ROM 16 stores a code corresponding to the instruction code generated by the pixel matching circuit 14 and its code length. The P/S shift register 17 stores the code read from the ROM 16, and the register 18 stores the code length read from the ROM 16. The clock generating circuit 19 generates a clock corresponding to the code length stored in the register 18, converts the parallel code stored in the P//S shift register 17 into a serial code, and inputs the serial code to the memory 20. When an instruction code is stored in the FIFO memory 6, the oldest created instruction code is read out, converted into a code and code length corresponding to this in the ROM 15, and the code is transferred to the P/s shift register 17. Then, the code lengths are respectively input to the registers 18, and the clock generation circuit 19 generates a clock corresponding to the code length, and inputs the generated clocks to the memory 1o.

この動作が終了すると、再びFIFOメモリ6を見に行
き、命令コードが記憶されていると、これの一番古く作
成された命令コードを読出し同様の動作を行なう。
When this operation is completed, the FIFO memory 6 is checked again, and if an instruction code is stored, the oldest created instruction code is read out and the same operation is performed.

以上の動作によりメ虻+) 20には画信号に対応し7
た符号が記憶される。
As a result of the above operations, 20 corresponds to the image signal and 7
The code is stored.

以上説明したように本発明は、決定された符号を直接作
成せず、符号に対応した命令コードをFIFOメモリに
書込み、他方、符号作成ブロックはFIFOメモリから
命令コードを読出し符号化を行なう方式である。従って
、連続して、あるいは短い間隔で符号が決定される場合
も、それに対応した命令コードをFIFOメモリに書込
むだけであり、その書込まれた命令コードは、同じ種類
の信号がきている時(まだ符号が決定されていない時)
に、FIFOメモ°りがら読出されて、それに対応した
シリアル符号に変換することが可能となり、シリアル符
号を作成するための符号化速度を下げることが出来、ま
たFIFOメモリに十分余裕があれば、読取りの一時中
断をなくすことが出来る。
As explained above, the present invention does not directly create the determined code, but instead writes the instruction code corresponding to the code into the FIFO memory, while the code creation block reads the instruction code from the FIFO memory and performs encoding. be. Therefore, even if the codes are determined continuously or at short intervals, the corresponding instruction code is simply written into the FIFO memory, and the written instruction code is used when the same type of signal is received. (When the sign has not been determined yet)
Then, the FIFO memory can be read out and converted into the corresponding serial code, and the encoding speed for creating the serial code can be lowered. Also, if the FIFO memory has enough room, Temporary interruptions in reading can be eliminated.

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

第1図は本発明の一実施例における画信号符号化方式を
実現する装置のブロック図、第2図は本発明の他の実施
例を示すブロック図である01・・・・・・画信号入力
端子、2・・・・・・クロック入力端子、3・・・・・
・画素変化検出回路、4・・・・・・カウンタ、6・・
・・・・FIFOメモリ、6・・・・・・ROM、7・
川・・P/Sシントレジスタ、8・・・・・・レジスタ
、9・・・・・クロック作成回路、10・・・・・・メ
モリ。
FIG. 1 is a block diagram of an apparatus for realizing an image signal encoding method according to an embodiment of the present invention, and FIG. 2 is a block diagram showing another embodiment of the present invention. Input terminal, 2... Clock input terminal, 3...
・Pixel change detection circuit, 4... Counter, 6...
...FIFO memory, 6...ROM, 7.
River: P/S synt register, 8: Register, 9: Clock generation circuit, 10: Memory.

Claims (3)

【特許請求の範囲】[Claims] (1)読取られた画信号に対応した符号を作成するよう
に指示する命令コードを作成する手段と。 前記命令コードを作成された順に記憶するファーストイ
ン・ファーストアウトメモリとを設け。 前記ファーストイン・ファーストアウトメモリから命令
を読出しその命令コードに対応した符号を作成して画信
号の符号化を行なうことを性徴とする画信号符号化方式
(1) means for creating an instruction code for instructing to create a code corresponding to the read image signal; A first-in/first-out memory is provided for storing the instruction codes in the order in which they are created. The image signal encoding method is characterized in that an image signal is encoded by reading an instruction from the first-in/first-out memory and creating a code corresponding to the instruction code.
(2)読取られた画信号の同一種類の信号の連続するラ
ンレングス数とその信号の種類に対応した符号を作成す
るように指示する命令コードを作成する手段を備え、も
って読取られた画信号を同一種類の連続する画信号のラ
ンレングス数に応じて符号化することを特徴とする特許
請求の範囲第1項記載の画信号符号化方式。
(2) The read image signal includes means for creating an instruction code that instructs to create a code corresponding to the number of consecutive run lengths of the same type of signal of the read image signal and the type of the signal. 2. The image signal encoding method according to claim 1, wherein the image signal is encoded according to the number of run lengths of consecutive image signals of the same type.
(3)読取られた画信号とそれより以前に読取られた画
信号とを照合する手段、と、その照合した結果に対応し
た符号を作成するように指示する命令コードを作成する
手段を有することを特徴とする特許請求の範囲第1項記
載の画信号符号化方式。
(3) It has a means for comparing a read image signal with an image signal read earlier, and a means for creating an instruction code for instructing to create a code corresponding to the result of the comparison. An image signal encoding system according to claim 1, characterized in that:
JP56182077A 1981-11-12 1981-11-12 Picture signal encoding system Pending JPS5883473A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56182077A JPS5883473A (en) 1981-11-12 1981-11-12 Picture signal encoding system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56182077A JPS5883473A (en) 1981-11-12 1981-11-12 Picture signal encoding system

Publications (1)

Publication Number Publication Date
JPS5883473A true JPS5883473A (en) 1983-05-19

Family

ID=16111941

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56182077A Pending JPS5883473A (en) 1981-11-12 1981-11-12 Picture signal encoding system

Country Status (1)

Country Link
JP (1) JPS5883473A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS595780A (en) * 1982-06-30 1984-01-12 Mitsubishi Electric Corp Run-length encoding device
JPS60119176A (en) * 1983-11-30 1985-06-26 Fuji Xerox Co Ltd Compressing and encoding device of binary picture information
JPS60119175A (en) * 1983-11-30 1985-06-26 Fuji Xerox Co Ltd Compressing and decoding device of binary picture information
JPH03136575A (en) * 1989-10-23 1991-06-11 Nec Corp Facsimile coder

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5567272A (en) * 1978-11-14 1980-05-21 Nec Corp Coding circuit

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5567272A (en) * 1978-11-14 1980-05-21 Nec Corp Coding circuit

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS595780A (en) * 1982-06-30 1984-01-12 Mitsubishi Electric Corp Run-length encoding device
JPS60119176A (en) * 1983-11-30 1985-06-26 Fuji Xerox Co Ltd Compressing and encoding device of binary picture information
JPS60119175A (en) * 1983-11-30 1985-06-26 Fuji Xerox Co Ltd Compressing and decoding device of binary picture information
JPH0140546B2 (en) * 1983-11-30 1989-08-29 Fuji Xerox Co Ltd
JPH03136575A (en) * 1989-10-23 1991-06-11 Nec Corp Facsimile coder

Similar Documents

Publication Publication Date Title
US4800440A (en) Digital image signal coding/decoding circuit with buffer memory storing reference line as compression codes
US5345316A (en) Image data encoding/decoding apparatus for concurrent processing of multiple image data streams
JPS5883473A (en) Picture signal encoding system
JPH088647B2 (en) Run-length coding method and apparatus
JPS60154776A (en) Coding and decoding system
JPS6338152B2 (en)
JPS60140979A (en) Parallel processor for encoding and decoding of picture signal
JPS6316069B2 (en)
JPS6333350B2 (en)
JPS5992674A (en) Encoding circuit
JP2933029B2 (en) Digital signal encoding / decoding circuit
KR960013647B1 (en) Data parallel processor of video decoder
JPS6132867B2 (en)
JP2615215B2 (en) Image data compression method
JP2877244B2 (en) Encoding device
JPS5927503B2 (en) calligraphy communication device
JPH10336462A (en) Coder, decoder and coding decoding device
JPS6342471B2 (en)
JPH0338970A (en) Mh encoder
JPH0378372A (en) Picture compression circuit and picture restoration circuit
JPS60117879A (en) Fill bit eliminating circuit
JPS61251275A (en) Processing circuit for picture signal
JPS59143474A (en) Decoding device
JPS6362944B2 (en)
JPS61169078A (en) Facsimile communication equipment