JPS6367392B2 - - Google Patents
Info
- Publication number
- JPS6367392B2 JPS6367392B2 JP58049241A JP4924183A JPS6367392B2 JP S6367392 B2 JPS6367392 B2 JP S6367392B2 JP 58049241 A JP58049241 A JP 58049241A JP 4924183 A JP4924183 A JP 4924183A JP S6367392 B2 JPS6367392 B2 JP S6367392B2
- Authority
- JP
- Japan
- Prior art keywords
- code
- encoding
- line
- original image
- lines
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/41—Bandwidth or redundancy reduction
- H04N1/411—Bandwidth or redundancy reduction for the transmission or storage or reproduction of two-tone pictures, e.g. black and white pictures
- H04N1/413—Systems or arrangements allowing the picture to be reproduced without loss or modification of picture-information
- H04N1/419—Systems or arrangements allowing the picture to be reproduced without loss or modification of picture-information in which encoding of the length of a succession of picture-elements of the same value along a scanning line is the only encoding step
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Facsimiles In General (AREA)
Description
【発明の詳細な説明】
本発明は複数の回線のフアクシミリ信号の冗長
度圧縮符号化を多重処理する方式に関する。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a system for multiplexing redundancy compression encoding of facsimile signals of a plurality of lines.
フアクシミリ信号の冗長度圧縮符号化としてモ
デイフアイド・ハフマン符号化方式(MH符号化
方式)(電子通信学会編“新版フアクシミリの基
礎と応用”(昭和57年9月10日発行)参照)また
はモデイフアイド・リード符号化方式(MR符号
化方式)が知られている。これらの冗長度圧縮符
号化方式はフアクシミリ信号の一次元または二次
元の統計的性質を利用して冗長度を取り除くもの
で、例えば、MH符号化方式では、1走査線上の
白または黒の連続する長さ(ラン)を白または黒
のそれぞれの統計的性質に基づいてハフマン符号
化することによつて冗長度を取り除く。ハフマン
符号化は周知のようにある状態の出現頻度に応じ
て可変長符号を割当てる符号化方式であり、この
ような符号化原理に基づくMH符号化方式も、白
または黒ランの長さに対して可変長符号が割当て
られている。 Modified Huffman encoding method (MH encoding method) is used as a redundancy compression encoding method for facsimile signals (see "Basics and Applications of Facsimile New Edition" edited by Institute of Electronics and Communication Engineers (published September 10, 1981)) or modified read. An encoding method (MR encoding method) is known. These redundancy compression encoding methods utilize the one-dimensional or two-dimensional statistical properties of facsimile signals to remove redundancy. For example, in the MH encoding method, continuous white or black on one scanning line is Redundancy is removed by Huffman encoding the length (run) based on the respective statistical properties of white or black. As is well-known, Huffman encoding is an encoding method that assigns variable length codes according to the frequency of appearance of a certain state, and the MH encoding method based on this encoding principle also assigns variable length codes depending on the length of white or black runs. A variable length code is assigned.
したがつて、1走査線の原画信号をMH符号化
すると、その符号長はその走査線のパターンによ
つて種々変化する。 Therefore, when an original image signal of one scanning line is MH encoded, the code length varies depending on the pattern of the scanning line.
このような冗長度圧縮符号化を行なう符号器お
よび復号器を単一回線の原画信号を対象に動作さ
せるときには何等問題が発生しないが、複数の回
線のフアクシミリ信号を同時に符号化および復号
する場合には問題がある。すなわち、複数の回線
の処理を行なうときには、入力信号または出力信
号をビツト単位に処理する場合と走査線単位に処
理する場合とがあるが、いずれにしても1走査線
に対応する符号長が等しくないため符号器動作を
途中で中断し、他回線の処理に移ることになる。
この場合、ビツト単位の処理では、符号器の内部
状態を回線数分だけ記憶しておき、自回線が指定
される毎に、内部状態を復旧し、処理を続行する
ため符号器が複雑になるとともに、ビツト単位に
回線の切替制御を行なう必要がある。これに対
し、走査線単位の場合、内部状態を記憶しておく
ことは必要であるが、回線切替制御は走査線単位
でよい。 No problems occur when an encoder and decoder that performs such redundancy compression encoding operate on original signals from a single line, but when simultaneously encoding and decoding facsimile signals from multiple lines, is problematic. In other words, when processing multiple lines, there are cases in which input signals or output signals are processed bit by bit and cases in which they are processed in scanning line units, but in either case, the code length corresponding to one scanning line is the same. Since there is no encoder, the encoder operation is interrupted midway and processing of another line is started.
In this case, in bit-by-bit processing, the encoder's internal state is stored for the number of lines, and each time the own line is specified, the internal state is restored and processing continues, which makes the encoder complicated. At the same time, it is necessary to perform line switching control on a bit-by-bit basis. On the other hand, in the case of scanning line by scanning line, it is necessary to store the internal state, but line switching control may be carried out by scanning line.
しかしながら、符号器の内部状態を全て取り出
せるがまたは内部に記憶することは複雑であり、
あまり得策でない。 However, it is complicated to retrieve or store all the internal states of the encoder;
It's not really a good idea.
本発明の目的は上述の欠点を除去し内部状態を
記憶せずに複数の回線を多重処理できる多重フア
クシミリ信号符号化方式を提供することにある。 SUMMARY OF THE INVENTION An object of the present invention is to provide a multiplex facsimile signal encoding system which eliminates the above-mentioned drawbacks and allows multiple lines to be processed multiplexed without storing internal states.
本発明の方式は、複数の回線のフアクシミリ信
号の冗長度圧縮符号化を多重処理する多重フアク
シミリ信号符号化方式において、各走査線に対応
する各原画信号をそれぞれ冗長度圧縮符号化し前
記各走査線に対応する前記各冗長度圧縮符号の各
ビツト数が予め定め数の整数倍と等しくないとき
予め定めたビツトパターンを付化して前記予め定
めた数N(正整数)の整数倍にする符号化手段と、
前記各回線の複数の前記走査線の原画信号を記憶
する原画信号記憶手段と、記憶領域が前記回線数
に対応して複数に分割されこの複数に分割された
各領域がそれぞれ複数のブロツクに分割され前記
符号化手段から与えられる冗長度圧縮符号を記憶
する圧縮符号記憶手段と、該圧縮符号記憶手段内
をNビツト単位でアドレス指定するアドレス指定
手段とを備え、前記複数の回線のうちの一つに対
応する前記各走査線の原画信号をそれぞれ前記符
号化手段により前記圧縮符号に符号化し、この各
圧縮符号を前記圧縮符号記憶手段内の1つのブロ
ツクに順次格納し、次のブロツクとの境界に達す
るかまたはこの境界を越えるまで少なくとも1つ
の前記圧縮符号を格納したときこの回線の処理を
中断しかつ処理再開時に前記次のブロツクに連続
して格納できるよう前記アドレス指定手段にアド
レスを格納したあと次の回線の処理を行う。 The method of the present invention is a multiplex facsimile signal encoding method in which redundancy compression encoding of facsimile signals of a plurality of lines is multiplexed. When the number of bits of each redundancy compression code corresponding to the code is not equal to an integer multiple of a predetermined number, a predetermined bit pattern is added to the code to make the code an integer multiple of the predetermined number N (positive integer). means and
original image signal storage means for storing the original image signals of the plurality of scanning lines of each of the lines; a storage area is divided into a plurality of areas corresponding to the number of lines, and each of the divided areas is divided into a plurality of blocks. a compression code storage means for storing a redundancy compression code given from the encoding means; and an addressing means for specifying an address in the compression code storage means in units of N bits; The original image signals of each of the scanning lines corresponding to the image data are respectively encoded into the compressed code by the encoding means, and each compressed code is sequentially stored in one block in the compressed code storage means, and the next block and When at least one compressed code is stored until a boundary is reached or the boundary is crossed, processing of this line is interrupted and an address is stored in the addressing means so that the next block can be stored continuously when processing is resumed. After that, process the next line.
次に本発明について図面を参照して詳細に説明
する。 Next, the present invention will be explained in detail with reference to the drawings.
第1図は本発明の一実施例を説明するためのブ
ロツク図である。 FIG. 1 is a block diagram for explaining one embodiment of the present invention.
原画信号は回線対応に設けた原画バツフア1
に、第2図aに示すように記憶される。また、同
様に、冗長度圧縮符号化された符号は符号バツフ
ア3に第2図bに示すように記憶される。すなわ
ち、第2図aに示すように、バツフア1の領域
に記憶された1走査線分の原画信号は冗長度圧縮
符号化されて、同図bに示すように、バツフア3
内の第1ブロツクの領域に記憶される。同様
に、バツフア1内の各領域〜に記憶された各
走査線の原画信号はそれぞれ符号化されてバツフ
ア3内の領域〜に記憶される。ここで、原画
バツフア1および符号バツフア3はそれぞれn個
およびm個のブロツクに論理的に分割されてい
る。本実施例では、原画バツフア1の各ブロツク
の記憶容量は1走査線分の原画信号を単位として
4走査線分の記憶容量を持つ。符号バツフアの各
ブロツクには、1走査線分の原画信号を冗長度圧
縮符号化したときの最大符号長(例えば、MH符
号化の場合、白1と黒とが1ドツトづつ交互に発
生する原画信号のとき最大符号長となり、1走査
線中のドツト数を1728ドツトとすると974バイト)
以上の記憶容量を持たせればよい。 The original image signal is the original image buffer 1 installed for line support.
is stored as shown in FIG. 2a. Similarly, the redundancy compression encoded code is stored in the code buffer 3 as shown in FIG. 2b. That is, as shown in FIG. 2a, the original image signal for one scanning line stored in the area of buffer 1 is redundancy compression encoded, and as shown in FIG.
The data is stored in the area of the first block within. Similarly, the original image signals of each scanning line stored in each area ~ in the buffer 1 are respectively encoded and stored in the areas ~ in the buffer 3. Here, the original picture buffer 1 and the code buffer 3 are logically divided into n blocks and m blocks, respectively. In this embodiment, each block of the original picture buffer 1 has a storage capacity for four scanning lines, with one scanning line's worth of original picture signals as a unit. Each block of the code buffer contains the maximum code length when the original image signal for one scanning line is encoded with redundancy compression (for example, in the case of MH encoding, the original image in which 1 white dot and 1 black dot are generated alternately) When it is a signal, the maximum code length is 974 bytes, assuming the number of dots in one scanning line is 1728)
It suffices to have a storage capacity of more than that.
今、原画バツフア1内に原画信号が存在し、符
号バツフア3の2ブロツク以上が空領域である場
合、制御部4の指示により各原画信号が符号器2
により冗長度圧縮符号化され、符号バツフア3に
書き込まれる。第3図は符号器2の内部構成を示
し、端子20,22および27はそれぞれ原画バ
ツフア1、制御部4および符号バツフア3と接続
される。端子20から入力された原画信号は変化
点検出回路21および計数回路24に与えられ
る。計数回路24は、変化点検出回路21が原画
信号中の白または黒の変化点を発見するまで計数
を行ない、変化点が発見されたときの計数値すな
わちラン長をMH符号器25に与え、MH符号器
25はこのラン長をMH符号化する。MH符号器
25からの圧縮符号はフイルビツト挿入回路26
を介して端子27に出力される。フイルビツト挿
入回路26は、符号器25からの各圧縮符号の符
号長を計数しており、制御部23が走査線の区切
りを検出するまで計数を続ける。この区切りが検
出されると、挿入回路26は計数値すなわちそれ
までに出力された全符号長を調べ、この計数値が
予め定めた任意の整数N(例えば、8)となるよ
うフイルビツト(例えば論理“0”)を端子27
に出力し、次の走査線のために計数値を初期化す
る。すなわち、符号化された各走査線の圧縮符号
は全て整数Nの整数倍の符号長でバツフア3に書
き込まれる。 Now, if an original image signal exists in the original image buffer 1 and two or more blocks of the code buffer 3 are empty areas, each original image signal is transferred to the encoder 2 according to an instruction from the control section 4.
The data is redundancy-compressed encoded and written to the code buffer 3. FIG. 3 shows the internal structure of the encoder 2, with terminals 20, 22 and 27 connected to the original picture buffer 1, the control section 4 and the code buffer 3, respectively. The original image signal inputted from the terminal 20 is given to a change point detection circuit 21 and a counting circuit 24. The counting circuit 24 performs counting until the change point detection circuit 21 finds a white or black change point in the original signal, and provides the count value when the change point is found, that is, the run length, to the MH encoder 25. The MH encoder 25 performs MH encoding on this run length. The compressed code from the MH encoder 25 is sent to the fill bit insertion circuit 26.
It is output to terminal 27 via. The fill bit insertion circuit 26 counts the code length of each compressed code from the encoder 25, and continues counting until the control unit 23 detects a scanning line break. When this delimiter is detected, the insertion circuit 26 checks the count value, that is, the total code length output so far, and inserts a fill bit (for example, logical “0”) to terminal 27
and initializes the count value for the next scan line. That is, all encoded compression codes of each scanning line are written into the buffer 3 with a code length that is an integral multiple of the integer N.
このようにして、圧縮符号のバツフア3への書
込が、圧縮符号が次のブロツクとの境界に達する
かまたは越えるまで行なわれる。すなわち、第2
図aおよびbにおいて、バツフア1の領域に記
憶された走査線の原画信号の圧縮符号がバツフア
3の領域に書き込まれるまで、この回線の符号
化処理が行われ、このあと、次の回線の符号化処
理に移る。この次回線への移項時に、バツフア3
内の領域の最後の番地の次の番地すなわち領域
の最初の番地を制御部4に記憶しておく。この
番地指定は、各圧縮符号長がNの整数倍となつて
いるためNビツト単位で行なえる。他回線の処理
が終り、再びこの回線の符号化処理を続行すると
きには領域の最初の番地から書き込みが行われ
る。また、第(m−1)ブロツクまで書き込まれ
たときにこの回線のバツフア3の内容(第1〜第
(m−1)ブロツクの内容と第mブロツクに越え
て書き込まれた分)が端子5を介してフアクシミ
リ端末等に出力される。このようにして、各回線
の符号化処理が連続して時分割的に行われる。 In this way, the compressed code is written into the buffer 3 until the compressed code reaches or crosses the boundary with the next block. That is, the second
In Figures a and b, the encoding process for this line is performed until the compression code of the original image signal of the scanning line stored in the area of buffer 1 is written in the area of buffer 3, and then the code of the next line is Move on to conversion processing. When transferring to this next line,
The address next to the last address of the area, that is, the first address of the area, is stored in the control unit 4. This address specification can be performed in units of N bits since the length of each compression code is an integral multiple of N. When the processing of another line is finished and the encoding process of this line is continued again, writing is performed from the first address of the area. Also, when the (m-1)th block is written, the contents of buffer 3 of this line (the contents of the 1st to (m-1)th blocks and the amount written beyond the m-th block) are transferred to the terminal 5. It is output to a facsimile terminal etc. via . In this way, the encoding process for each line is performed continuously and in a time-division manner.
なお、復号は上述と反対の動作を行なえばよ
い。 Note that decoding may be performed by performing the opposite operation to that described above.
以上、本発明には、簡単に複数の回線の符号化
を多重処理できるという効果がある。 As described above, the present invention has the advantage that it is possible to easily perform multiple processing of encoding for a plurality of lines.
第1図は本発明の一実施例を説明するためのブ
ロツク図、第2図aおよびbはそれぞれ原画バツ
フアおよび符号バツフアの記憶形式を説明するた
めの図および第3図は符号器2の構成を示すブロ
ツク図である。
図において、1……原画バツフア、2……符号
器、3……符号バツフア、4……制御部、20…
…入力端子、21……変化点検出回路、22……
入力端子、23……制御回路、24……計数回
路、25……MH符号器、26……フイル挿入回
路、27……出力端子。
FIG. 1 is a block diagram for explaining one embodiment of the present invention, FIGS. 2a and 2b are diagrams for explaining the storage formats of the original picture buffer and code buffer, respectively, and FIG. 3 is the configuration of the encoder 2. FIG. In the figure, 1...original picture buffer, 2...encoder, 3...code buffer, 4...control unit, 20...
...Input terminal, 21...Changing point detection circuit, 22...
Input terminal, 23... control circuit, 24... counting circuit, 25... MH encoder, 26... file insertion circuit, 27... output terminal.
Claims (1)
符号化を多重処理する多重フアクシミリ信号符号
化方式において、各走査線に対応する各原画信号
をそれぞれ冗長度圧縮符号化し前記各走査線に対
応する前記各冗長度圧縮符号の各ビツト数が予め
定めた数の整数倍と等しくないとき予め定めたビ
ツトパターンを付加して前記予め定めた数N(正
整数)の整数倍にする符号化手段と、前記各回線
の複数の前記走査線の原画信号を記憶する原画信
号記憶手段と、記憶領域が前記回線数に対応して
複数に分割されこの複数に分割された各領域がそ
れぞれ複数のブロツクに分割され前記符号化手段
から与えられる冗長度圧縮符号を記憶する圧縮符
号記憶手段と、該圧縮符号記憶手段内をNビツト
単位でアドレス指定するアドレス指定手段とを備
え、前記複数の回線のうちの一つに対応する前記
各走査線の原画信号をそれぞれ前記符号化手段に
より前記圧縮符号に符号化し、この各圧縮符号を
前記圧縮符号記憶手段内の1つのブロツクに順次
格納し、次のブロツクとの境界に達するかまたは
この境界を越えるまで少なくとも1つの前記圧縮
符号を格納したときこの回線の処理を中断しかつ
処理再開時に前記次のブロツクに連続して格納で
きるよう前記アドレス指定手段にアドレスを格納
したあと次の回線の処理を行うことを特徴とする
多重フアクシミリ信号符号化方式。1. In a multiplex facsimile signal encoding method that multiplexes redundancy compression encoding of facsimile signals of a plurality of lines, each original signal corresponding to each scanning line is redundancy compression encoded, and each of the above-mentioned signals corresponding to each scanning line is encoding means that adds a predetermined bit pattern when each number of bits of the redundancy compression code is not equal to an integer multiple of the predetermined number N (positive integer); an original image signal storage means for storing original image signals of the plurality of scanning lines of each line; a storage area is divided into a plurality of areas corresponding to the number of lines; each area divided into the plurality of areas is divided into a plurality of blocks, respectively; one of the plurality of lines, comprising a compression code storage means for storing a redundancy compression code given from the encoding means, and an addressing means for specifying an address in the compression code storage means in units of N bits; The original image signal of each scanning line corresponding to the original image signal is encoded into the compressed code by the encoding means, each compressed code is sequentially stored in one block in the compressed code storage means, and the boundary with the next block is When at least one compressed code is stored until reaching or exceeding this boundary, the processing of this line is interrupted, and an address is stored in the addressing means so that the next block can be continuously stored when processing is resumed. A multiplex facsimile signal encoding method that is characterized by processing the next line.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP58049241A JPS59174066A (en) | 1983-03-24 | 1983-03-24 | Coding system for multiple facsimile signal |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP58049241A JPS59174066A (en) | 1983-03-24 | 1983-03-24 | Coding system for multiple facsimile signal |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS59174066A JPS59174066A (en) | 1984-10-02 |
| JPS6367392B2 true JPS6367392B2 (en) | 1988-12-26 |
Family
ID=12825370
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP58049241A Granted JPS59174066A (en) | 1983-03-24 | 1983-03-24 | Coding system for multiple facsimile signal |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS59174066A (en) |
-
1983
- 1983-03-24 JP JP58049241A patent/JPS59174066A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS59174066A (en) | 1984-10-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4091424A (en) | Facsimile compression system | |
| USRE41569E1 (en) | Method of processing variable size blocks of data by storing numbers representing size of data blocks in a fifo | |
| HK3294A (en) | Method and apparatus for transmitting digital information and/or for recording and reproducing | |
| US5424733A (en) | Parallel path variable length decoding for video signals | |
| WO1997005737A1 (en) | Sliding window with big gap data compression system | |
| US4800440A (en) | Digital image signal coding/decoding circuit with buffer memory storing reference line as compression codes | |
| US6091856A (en) | Picture encoding device for compressing picture data | |
| JPS6367392B2 (en) | ||
| JPS586344B2 (en) | Fugou Kasouchi | |
| JPH05151349A (en) | Image data compression method and encoding circuit | |
| JP2934425B1 (en) | Image data compression device and image data decompression device | |
| JPH07255053A (en) | Zigzag scan circuit | |
| JPS595778A (en) | Compression system for half-tone picture data | |
| JP3634498B2 (en) | Image encoding device | |
| JPS6248938B2 (en) | ||
| JPH02218224A (en) | Data transferring method | |
| JPS6058628B2 (en) | Facsimile signal encoding method | |
| JPS6212280A (en) | Combination system for image data | |
| JP2800250B2 (en) | Data compression method | |
| JP3211524B2 (en) | Variable code length transmitter for facsimile machine | |
| JPS61256868A (en) | Data processing system | |
| JPH04337926A (en) | Variable length code table control system | |
| JPS58136172A (en) | Facsimile code transmission method | |
| JPH0352714B2 (en) | ||
| JPH0360225B2 (en) |