JPS5815994B2 - Gazoshingouayamarikenshiyutsusouchi - Google Patents

Gazoshingouayamarikenshiyutsusouchi

Info

Publication number
JPS5815994B2
JPS5815994B2 JP48099929A JP9992973A JPS5815994B2 JP S5815994 B2 JPS5815994 B2 JP S5815994B2 JP 48099929 A JP48099929 A JP 48099929A JP 9992973 A JP9992973 A JP 9992973A JP S5815994 B2 JPS5815994 B2 JP S5815994B2
Authority
JP
Japan
Prior art keywords
code
image signal
address
black level
divide
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.)
Expired
Application number
JP48099929A
Other languages
Japanese (ja)
Other versions
JPS5050811A (en
Inventor
臼渕徹
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
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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP48099929A priority Critical patent/JPS5815994B2/en
Publication of JPS5050811A publication Critical patent/JPS5050811A/ja
Publication of JPS5815994B2 publication Critical patent/JPS5815994B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Facsimile Transmission Control (AREA)
  • Facsimile Image Signal Circuits (AREA)

Description

【発明の詳細な説明】 本発明は、白または黒レベルを表わす2値の画像信号を
符号化し、伝送する場合における受信側での符号誤り検
出装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a code error detection device on the receiving side when a binary image signal representing white or black level is encoded and transmitted.

従来2値の画像信号を符号化して伝送する場合の受信側
での符号誤り検出装置としては、送信側での符号化方式
として、信号の白または黒レベルの別と時間的継続の長
さく以下ランレングスと呼ぶ)を符号化する方式(以下
ランレングス符号化方式と呼ぶ)を用いて、受信側では
受信符号の復号した走査時間を監視することより符号誤
りを検出する装置があるが、受信符号をすべて復号した
後でなければ、符号誤りが検出できず、そのために復号
した画像信号を畜えておく走査線1ラインまたはそれ以
上のバッファメモリを必要とし、装置として高価になる
のが欠点であった。
Conventionally, when a binary image signal is encoded and transmitted, a code error detection device on the receiving side uses a coding method on the transmitting side that depends on the white or black level of the signal and the temporal duration of the signal. There is a device that detects code errors by monitoring the scanning time during which the received code is decoded on the receiving side using a method (hereinafter referred to as run-length coding method) that encodes the received code. Code errors cannot be detected until after all the codes have been decoded, so a buffer memory with one or more scanning lines is required to store the decoded image signals, making the device expensive. there were.

本発明は、従来の上記欠点を除去するためになされたも
のであり、従って本発明の目的は、符号化方式としてラ
ンレングス符号化方式と全く異なる符号化方式を用いる
ことにより、受信符号の一部であるアドレス符号から画
像信号を復号する前に同期符号の位置を求めて符号誤り
検出を行ない、復号した画像信号を畜えるためのバッフ
ァメモリを除いた安価な装置を提供することにある。
The present invention has been made to eliminate the above-mentioned drawbacks of the conventional technology, and an object of the present invention is to improve the quality of the received code by using an encoding method that is completely different from the run-length encoding method. To provide an inexpensive device which detects a code error by finding the position of a synchronization code before decoding an image signal from an address code, which is a part, and which does not include a buffer memory for storing the decoded image signal.

本発明によれば、2値の画像信号を符号化して伝送する
場合、送信側では、画像信号をある一定の長さmビット
単位で、画像信号の位置に関係するアドレス符号と、画
像信号のレベルに関するコ−ド符号に分けて符号化し、
画像信号mビットの始まりを表わす同期符号、画像信号
mビットを表わすアドレス符号、コード符号の順序で伝
送し、受信側では、受信符号の一部であるアドレス符号
のみから画像信号mビットに対応する受信符号の終りを
検出し、その後に同期符号が続いているかを調べて符号
誤りの有無を調べる。
According to the present invention, when a binary image signal is encoded and transmitted, on the transmitting side, the image signal is encoded in m-bit units of a certain length, and an address code related to the position of the image signal and an address code related to the position of the image signal are input. Divide into code codes related to level and encode,
The synchronization code representing the start of m bits of the image signal, the address code representing m bits of the image signal, and the code code are transmitted in this order, and on the receiving side, only the address code that is part of the received code corresponds to the m bits of the image signal. The end of the received code is detected, and the presence or absence of a code error is checked by checking whether a synchronization code follows.

以下本発明を図面に従って詳細に説明する。The present invention will be explained in detail below with reference to the drawings.

第1図は本発明に用いられる符号化方式の一例を示した
ものであり、2値の画像信号に適用した場合を示す。
FIG. 1 shows an example of the encoding method used in the present invention, and shows the case where it is applied to a binary image signal.

第1図Aは、ファクシミリ信号を例にとって示した1走
査線の2値打号列を示すもので、黒レベルは斜線で示し
である。
FIG. 1A shows a binary character string of one scanning line, taking a facsimile signal as an example, and the black level is indicated by diagonal lines.

図中白レベルおよび黒レベルのランレングスは数値で示
し、1走査線のサンプル数は1024としである。
In the figure, the run lengths of the white level and black level are shown numerically, and the number of samples for one scanning line is 1024.

符号化方法は、最初の分割として、画像信号A1024
ビツトを4分割し、256ビツト単位で、その中に黒レ
ベルが有るかを調べなければ白レベルを表わすOの符号
を、あれば黒レベルを表わす1の符号を与え(1次分割
符号と呼ぶ)、1次分割符号の中で黒レベルを表わす1
の場合は、2番目の分割として、画像信号A256ビツ
トを4分割し、64ビット単位で、黒レベルがあるかを
調べなければ白レベルを表わすOの符号を、あれば黒レ
ベルを表わす1の符号を与え(2次分割符号と呼ぶ)、
以下16ビツト、4ビット単位で符号を作り(それぞれ
3次、4次分割符号と呼ぶ)、最後に4次分割符号が黒
レベルを表わす1の場合には、画像信号A4ビットをそ
のまま符号とし、単位領域符号と呼ぶ。
The encoding method uses the image signal A1024 as the first division.
Divide the bit into 4 bits and check whether there is a black level in each of the 256 bits.If there is a black level, give it the code O to represent the white level, and if so, give the code 1 to represent the black level (this is called a primary division code). ), 1 representing the black level in the primary division code
In this case, the second division is to divide the 256-bit image signal A into 4, and check whether there is a black level in 64-bit units. give a code (called a quadratic division code),
Below, codes are created in units of 16 bits and 4 bits (referred to as 3rd and 4th division codes, respectively), and finally, if the 4th division code is 1 representing the black level, the 4 bits of the image signal A are used as the code, It is called a unit area code.

(以下この符号化方式を多段分割符号化方式と呼ぶ。(Hereinafter, this encoding method will be referred to as a multi-stage divisional encoding method.

)ここで、1次〜4次分割符号は、画像信号の白レベル
または黒レベルの位置に関係するものであるからアドレ
ス符号と呼び、単位領域符号は、画像信号が白レベルで
あるか黒レベルであるかのレベルに関係するものである
からコード符号と呼ぶ。
) Here, the primary to quartic division codes are called address codes because they are related to the position of the white level or black level of the image signal, and the unit area code is related to the position of the white level or black level of the image signal. It is called a code symbol because it is related to the level of the code.

画像信号Aにおいて1次分割による符号は、1110て
あり、1は3個現われる。
In the image signal A, the code resulting from the primary division is 1110, and 1 appears three times.

2次分割符号は図に示すような3X4=12ビツトの符
号であり、3次分割符号は3X4=12ビツトであり、
4次分割符号は4X4=16ビツトとなる。
The secondary division code is a 3X4 = 12 bit code as shown in the figure, and the tertiary division code is 3X4 = 12 bits.
The quaternary division code is 4×4=16 bits.

単位領域符号の数は4であるので、7X4=28ビツト
が残された全単位領域符号となる。
Since the number of unit area codes is 4, 7×4=28 bits are the remaining unit area codes.

以上のような符号化を行なった場合に、最大Oが続く可
能性は6であるから、8個のOが連続する符号を1走査
線の区切りを表わす同期符号として与えることができる
When encoding as described above is performed, the maximum possibility that O's will continue is 6, so a code in which 8 O's are consecutive can be given as a synchronization code representing the break of one scanning line.

この符号化によると、1次分割符号の中に含まれる黒レ
ベル即ち1の数3が求まると2次分割符号のビット数3
X4=12ビツトが求められるというように、2次分割
符号、3次分割符号、4次分割符号の中に含まれる黒レ
ベル即ち1の数が求まると、それぞれ3次分割符号、4
次分割符号、単位領域符号のビット数が求められる。
According to this encoding, when the black level, that is, the number of 1's included in the primary division code, is determined, the number of bits of the secondary division code is 3.
When the black level, that is, the number of 1's included in the secondary division code, tertiary division code, and quaternary division code is determined, such as X4 = 12 bits, the tertiary division code, 4
The number of bits of the next division code and unit area code is determined.

送信側において符号化され符号が以上のような性質を持
っているので、受信側では、1次分割符号から4次分割
符号即ちアドレス符号に含まれる1の数を求めることに
より、単位領域符号即ちコード符号の終りを検出し、そ
の後に同期符号が続いているかを調べて、符号誤りの有
無を検出し、もし符号誤りがあれば、その走査線を復号
せず前の走査線をもう一度繰り返し出力し、符号誤りが
ない場合は、そのま才復号して出力とする。
Since the code encoded on the transmitting side has the above properties, on the receiving side, by calculating the number of 1's included in the quaternary division code, that is, the address code, from the primary division code, the unit area code, that is, Detects the end of the code symbol, checks whether a synchronization code continues after it, detects the presence or absence of a code error, and if there is a code error, does not decode that scanning line and repeatedly outputs the previous scanning line. However, if there is no code error, it is directly decoded and output.

第2図は、本発明の符号誤り検出装置を実施するための
回路構成の一例である。
FIG. 2 is an example of a circuit configuration for implementing the code error detection device of the present invention.

人力として入って来た受信符号は、バッファメモリ3に
畜えられる。
The received codes input manually are stored in the buffer memory 3.

バッファメモリ3より読み出された1次分割符号4ビッ
トは、カウンタ4によって1の数をカウントされる。
The four bits of the primary division code read out from the buffer memory 3 are counted by a counter 4 to the number of 1's.

カウンタ4の出力はメモリ制御回路8に入力され、メモ
リ制御回路の信号によって2次分割符号がバッファメモ
リ3より読み出され、カウンタ5によって1の数をカウ
ントされる。
The output of the counter 4 is input to the memory control circuit 8, and the secondary division code is read out from the buffer memory 3 in response to a signal from the memory control circuit, and the number of 1s is counted by the counter 5.

カウンタ5の出力はメモリ制御回路8に入力され、メモ
リ制御回路8の信号によって、3次分割符号がバッファ
メモリ3より読み出され、カウンタ6によって1の数が
カウントされる。
The output of the counter 5 is input to the memory control circuit 8, and the third division code is read out from the buffer memory 3 according to the signal from the memory control circuit 8, and the number of 1s is counted by the counter 6.

カウンタ6の出力は、メモリ制御回路8に入力され、メ
モリ制御回路8の信号によって、4次分割符号がバッフ
ァメモリ3より読み出され、カウンタ7によって1の数
がカウントされる。
The output of the counter 6 is input to the memory control circuit 8, and the quaternary division code is read out from the buffer memory 3 according to the signal of the memory control circuit 8, and the number of 1s is counted by the counter 7.

カウンタ7の出力はメモリ制御回路3に入力され、メモ
リ制御回路8では、カウンタ7の出力をバッファメモリ
のアドレスに加えることにより単位領域符号即ちコード
符号の次の信号を読み出し、比較器9によって同期符号
と比較し、一致した場合には符号誤りなしの信号を、一
致しない場合には、符号誤りありの信号を10より出力
する。
The output of the counter 7 is input to the memory control circuit 3, and the memory control circuit 8 reads out the next signal of the unit area code, that is, the code code, by adding the output of the counter 7 to the address of the buffer memory, and synchronizes with the comparator 9. The code is compared with the code, and if they match, a signal without a code error is output from 10, and if they do not match, a signal with a code error is output from 10.

つまり本発明の誤り検出装置は、アドレス符号について
の符号誤り検出であり、コード符号での符号誤り検出は
行なっていない。
In other words, the error detection device of the present invention detects code errors in address codes, but does not detect code errors in code codes.

しかし、コード符号の符号誤りは、1ビット単位ですむ
ので、実際の紙面上では、影響がほとんど現われない。
However, since a code error occurs in units of one bit, there is almost no effect on the actual paper.

また画像信号のレベルが2値以上になった時にも上述の
方法が適用できるのは、もちろんである。
Of course, the above method can also be applied when the level of the image signal becomes two or more values.

このように本発明の画像信号誤り検出装置は、送信側で
多段分割符号化方式を用いることにより、受信側では、
画像信号の復号以前に、誤り検出を行なうことを可能と
し、従来のランレングス符号化方式の誤り検出装置では
必要であった復号した画像信号用のバッファメモリを除
いた安価な装置を提供することができる。
As described above, the image signal error detection device of the present invention uses the multi-stage divisional coding method on the transmitting side, so that on the receiving side,
To provide an inexpensive device that can perform error detection before decoding an image signal and does not include a buffer memory for the decoded image signal, which is necessary in a conventional run-length encoding error detection device. Can be done.

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

第1図は本発明に係る2値画像信号の符号化方式の一実
施例を説明するための図、第2図は本発明の2値画像信
号誤り検出装置を実施するための誤り検出器のブロック
図である。 図において、3はバッファメモIJ、4,5,6゜7は
カウンタ、8はメモリ制御回路、9は比較器を示す。
FIG. 1 is a diagram for explaining an embodiment of the binary image signal encoding method according to the present invention, and FIG. 2 is a diagram of an error detector for implementing the binary image signal error detection device of the present invention. It is a block diagram. In the figure, 3 is a buffer memory IJ, 4, 5, 6.7 is a counter, 8 is a memory control circuit, and 9 is a comparator.

Claims (1)

【特許請求の範囲】[Claims] 1 画像信号を一定の長さ単位(例えば1走査線で区切
り、前記区切られた画像信号を複数のブロンに分割し、
各ブロックに含まれる黒レベルの有無を検出し、黒レベ
ルが無ければ符号“0“°を割り当て、黒レベルが有れ
ば符号°°1“1を割り当て、更に黒レベルが検出され
たブロックを複数のブロックに分割し、同様の操作を繰
り返すことで得られる画像信号の位置に関するアドレス
符号と最後に分割されたブロックのうち黒レベルを含ん
だブロックを画像信号のレベルに関するコード符号に分
けて符号化し、画像信号単位長の始まりを表わす同期符
号、上記アドレス符号、上記コード符号の順序で伝送す
る画像信号の符号化伝送装置において、受信側で、受信
符号を一時蓄積するバッファメモリと、上記バッファメ
モリから受信符号の一部であるアドレス符号のうちあら
かじめ定められた個数のアドレス符号列を読み出す手段
と、前記読み出されたアドレス符号列に含まれる符号“
1“の個数を数える手段と、前記“1“°の個数に従っ
て次のアドレス符号列を読み出す手段と、以下同様の手
段を繰り返すことで最後のアドレス符号列に含まれる符
号′°1“の個数を数える手段と、前記“1“1の個数
より次の同期符号が記憶されているべきバッファメモリ
の番地を求める手段と、前記メモリ番地を読み出し、内
容が同期符号と一致するか否かを判定する手段により符
号誤りの有無を検出するようにしたことを特徴とする画
像信号誤り検出装置。
1 Divide the image signal into units of a certain length (for example, one scanning line, and divide the divided image signal into a plurality of blocks,
The presence or absence of a black level contained in each block is detected, and if there is no black level, a code “0”° is assigned, and if there is a black level, a code “°°1”1 is assigned, and the block in which the black level has been detected is Divide into multiple blocks and repeat the same operation to divide the address code related to the position of the image signal and the last divided block that contains the black level into code code related to the level of the image signal. In the encoding/transmission device for an image signal, which transmits in the order of a synchronization code representing the start of the image signal unit length, the above address code, and the above code code, the receiving side includes a buffer memory for temporarily storing the received code, and the above buffer. means for reading out a predetermined number of address code strings from a memory among the address codes that are part of the received code; and a code included in the read address code string.
A means for counting the number of ``1''s, a means for reading the next address code string according to the number of ``1'' degrees, and a means for reading out the next address code string according to the number of ``1'' degrees, and the same means thereafter are repeated to determine the number of codes ``°1'' included in the last address code string. means for counting the number of "1"s, means for determining the address of the buffer memory where the next synchronization code should be stored based on the number of "1" 1s, and reading the memory address and determining whether the contents match the synchronization code or not. An image signal error detection device characterized in that the presence or absence of a code error is detected by a means for detecting a code error.
JP48099929A 1973-09-05 1973-09-05 Gazoshingouayamarikenshiyutsusouchi Expired JPS5815994B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP48099929A JPS5815994B2 (en) 1973-09-05 1973-09-05 Gazoshingouayamarikenshiyutsusouchi

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP48099929A JPS5815994B2 (en) 1973-09-05 1973-09-05 Gazoshingouayamarikenshiyutsusouchi

Publications (2)

Publication Number Publication Date
JPS5050811A JPS5050811A (en) 1975-05-07
JPS5815994B2 true JPS5815994B2 (en) 1983-03-29

Family

ID=14260426

Family Applications (1)

Application Number Title Priority Date Filing Date
JP48099929A Expired JPS5815994B2 (en) 1973-09-05 1973-09-05 Gazoshingouayamarikenshiyutsusouchi

Country Status (1)

Country Link
JP (1) JPS5815994B2 (en)

Also Published As

Publication number Publication date
JPS5050811A (en) 1975-05-07

Similar Documents

Publication Publication Date Title
US4276646A (en) Method and apparatus for detecting errors in a data set
US4447903A (en) Forward error correction using coding and redundant transmission
US4131915A (en) Facsimile signal transmission system
US4258392A (en) Coding method for facsimile signal
JPH0525224B2 (en)
KR940008389A (en) Image signal processing device and information transmitting / receiving device using the same
US4163260A (en) System for reducing band width of image signal
JPS5815994B2 (en) Gazoshingouayamarikenshiyutsusouchi
GB1569076A (en) Digital transmission system using discrepancy line coding
JPS57119559A (en) Facsimile receiver
US4078225A (en) Arrangement and a method for error detection in digital transmission systems
GB1570914A (en) Method and apparatus for bandwidth compression
JPS62141875A (en) Preventing system for propagation of decoding error
JPS6237581B2 (en)
JPH0149072B2 (en)
JP2652398B2 (en) Data transmission method
KR880012030A (en) Data receiver
SU907867A1 (en) System for transmitting line image with error detection and correction
SU1438020A1 (en) Apparatus for transmission and reception of image signals
JPS6257369A (en) Redundancy restricting circuit for facsimile signal
JP2641442B2 (en) Decryption device
JPS6233793B2 (en)
JPS589449A (en) Data message decoding system
SU786037A1 (en) Error detecting and correcting device
JPS6087551A (en) Multi-value transmission system