JPS6023543B2 - Signal transmission method - Google Patents
Signal transmission methodInfo
- Publication number
- JPS6023543B2 JPS6023543B2 JP53131003A JP13100378A JPS6023543B2 JP S6023543 B2 JPS6023543 B2 JP S6023543B2 JP 53131003 A JP53131003 A JP 53131003A JP 13100378 A JP13100378 A JP 13100378A JP S6023543 B2 JPS6023543 B2 JP S6023543B2
- Authority
- JP
- Japan
- Prior art keywords
- code
- prediction error
- code table
- image
- group
- 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
Landscapes
- Compression, Expansion, Code Conversion, And Decoders (AREA)
- Transmission Systems Not Characterized By The Medium Used For Transmission (AREA)
Description
【発明の詳細な説明】
本発明は、予測符号化及びコード変換による信号伝送方
式に関し、特に文字や写真等の階調の性質に応じて、伝
送コード形式を切換えるようにしたものである。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a signal transmission method using predictive encoding and code conversion, and in particular, the transmission code format is switched depending on the nature of the gradation of characters, photographs, etc.
一般に、階調を有する画像の伝送においては、予測符号
化及びコード変換によって帯城圧縮を図っている。しか
しながら、伝送対象としての画像としては、文字及び写
真並びにそれらの複合形態があり、更に各形態において
も階調の性質が一定せず、その結果圧縮効率が低下する
欠点があった。よって本発明は、複数種類のコードテー
ブルを用意し、これらコードテーブルを画像階調の性質
に応じて選択することによって、圧縮効率を更に高めよ
うとするものである。Generally, when transmitting an image having gradation, band compression is achieved by predictive encoding and code conversion. However, the images to be transmitted include text, photographs, and composite forms thereof, and each form has the disadvantage that the gradation properties are not constant, resulting in a reduction in compression efficiency. Therefore, the present invention aims to further improve compression efficiency by preparing a plurality of types of code tables and selecting these code tables according to the nature of image gradation.
以下、実施例について説明する。図は本発明の一実施例
を示すブロック図である。Examples will be described below. The figure is a block diagram showing one embodiment of the present invention.
10は全体を制御コントローラ、11は1画素を4ビッ
トで童子化した画像信号Saの1走査分のメモリであり
、コントローラは順次これを読み出し、予測器としての
1画素分メモリ12との差を、1予測演算器としての引
き算器13で演算する。Reference numeral 10 indicates a controller that controls the entire system, and reference numeral 11 indicates a memory for one scan of the image signal Sa obtained by converting one pixel into 4 bits. , 1 is calculated by a subtracter 13 serving as a prediction calculation unit.
引き算器13の5ビットの予測誤差信号Sbは、一致回
路14〜16で、それぞれに設定された十4,十9,十
13と等しいかが判定される。何れかに等しい場合は、
それぞれに対応した一致信号Sa〜Scのどちらかを出
す。17〜19は、それぞれ一致信号Sa〜Scの発生
回路をカウントするカウンタ、Sf〜Shはそれぞれの
カウンタ17〜19のカウント値で、比較器20の入力
となる。Match circuits 14 to 16 determine whether the 5-bit prediction error signal Sb of the subtracter 13 is equal to 14, 19, and 113 respectively set. If it is equal to either
One of the corresponding match signals Sa to Sc is output. 17 to 19 are counters for counting the generation circuits of the coincidence signals Sa to Sc, respectively, and Sf to Sh are count values of the respective counters 17 to 19, which are input to the comparator 20.
コントローラ10は画像メモリ11内の1走査分につき
、これをくり返す。一走査分が終了すると、比較器20
‘まカウンタ17〜19のカウント値Sf〜Shを比較
し、次の3つの状態に分類する。A:Sf,Sg,Sh
>Q(但し、Qは一定値)。The controller 10 repeats this for each scan in the image memory 11. When one scan is completed, the comparator 20
The count values Sf to Sh of the counters 17 to 19 are compared and classified into the following three states. A: Sf, Sg, Sh
>Q (however, Q is a constant value).
B:Sf>Sg,Sh>Sgで且つSg<8(但し、6
は一定値)。C:その他。B: Sf>Sg, Sh>Sg and Sg<8 (however, 6
is a constant value). C: Others.
文字、図形及び写真における1走査分の予測誤差一15
〜15の分布は0億にピークを有するが、コントラスト
が優れている図形の場合は、十4〜十13なる予測誤差
値の範囲でほぼ均等に表われ、比較回路2川ま状態Aを
検出する。Prediction error for one scan of characters, figures, and photographs -15
The distribution of ~15 has a peak at 0 billion, but in the case of figures with excellent contrast, it appears almost evenly in the range of prediction error values of 14 to 113, and the comparison circuit 2 detects state A. do.
2値と見数せる文字や図形の場合は十9なる予測誤差値
で極端に少なくなり、比較回路20は状態Bを検出する
。In the case of characters and figures that can be counted as binary, the prediction error value is extremely small at 19, and the comparison circuit 20 detects state B.
コントラストの劣る図形や写真の場合その他は状態Cと
なる。比較器20は、この何れかの状態A〜Cを比較結
果Sjとしてコントローラ10へ出力し、コントローラ
10はこの比較結果Siを2ビットの情報として伝送メ
モリ21に送ると共に、符号化回路22のコ−ドテーブ
ルの一つを選択する。次に、コントローラ1は伝送のた
めに画像メモリ11から1画素ずつ読み出し、引算器1
3は1画素ずつ予測誤差信号Sbを、符号化回路22へ
出力する。In the case of figures or photographs with poor contrast, the state is C. The comparator 20 outputs any of these states A to C as a comparison result Sj to the controller 10, and the controller 10 sends this comparison result Si as 2-bit information to the transmission memory 21, and also sends the comparison result Si to the transmission memory 21 as 2-bit information. - Select one of the table. Next, the controller 1 reads out each pixel from the image memory 11 for transmission, and the subtracter 1
3 outputs the prediction error signal Sb pixel by pixel to the encoding circuit 22.
符号化回路には、次の3種類のコードテーブルA,B,
Cが用意してあり、その一つが選択された状態にある。
コ−.ドテープルAコードテーブルBコードテーブル0
予測誤差出力コード予測誤差出力コード予測誤差出力コ
一ト11510010・01511511100011
0111410011014114111000110
1013101000131131110001111
2101010121121010010111000
000111111110011○100001010
1101100019100010091911000
0810001108181100117101100
707110○106101110606110101
5110000505101100411001040
4101011311010030310100021
10110202101111111010110○1
00〇〇〇〇−11111−10−11000一211
0111−20−211011−3110101−30
一3101010一4110011−40−41011
01一5110001−50−5110100一610
1111−60−6111010−7101101−7
0−7111011−81000111−81−811
1110−91000101−91−9111101−
101000011−101−10111100−11
1000001−111−11111111一1210
1011−121−121010011−131010
01一131−131110000一14100111
−141−1411100010−15100101−
151−151110001100符号化回路22は、
選択されたコードテーブルA,B,Cに従ったコードS
kを伝送メモリ21に出力し、伝送メモリ21からは先
の比較結果Siの情報と共に送信信号G〆として出力す
る。The encoding circuit has the following three types of code tables A, B,
C are prepared, and one of them is in a selected state.
Co. Dotaple A code table B code table 0
Prediction error output code Prediction error output code Prediction error output code 11510010・01511511100011
0111410011014114111000110
1013101000131131110001111
2101010121121010010111000
000111111110011○100001010
1101100019100010091911000
0810001108181100117101100
707110○106101110606110101
5110000505101100411001040
4101011311010030310100021
10110202101111111010110○1
00〇〇〇〇-11111-10-11000-211
0111-20-211011-3110101-30
-3101010-4110011-40-41011
01-5110001-50-5110100-610
1111-60-6111010-7101101-7
0-7111011-81000111-81-811
1110-91000101-91-9111101-
101000011-101-10111100-11
1000001-111-11111111-1210
1011-121-121010011-131010
01-131-131110000-14100111
-141-1411100010-15100101-
151-151110001100 encoding circuit 22,
Code S according to the selected code table A, B, C
k is outputted to the transmission memory 21, and from the transmission memory 21 is outputted as a transmission signal G together with information on the previous comparison result Si.
コ−ドテーブルAは可変長コードであり、そのコード長
はコントラストの優れた図形における予測誤差値の1走
査線分の分布と、ほぼ反比例するものであり、比較回路
20の比較結果Sjが状態Aの場合に選択することによ
って、圧縮効率を上げることができる。コードテーブル
8の出力コードは、2億の固定長コードであり、状態B
の場合に選択し、2階調画像と同等の圧縮効率で伝送す
ることが可能となる。The code table A is a variable length code, and its code length is approximately inversely proportional to the distribution of prediction error values for one scanning line in a figure with excellent contrast. By selecting case A, compression efficiency can be increased. The output code of code table 8 is a fixed length code of 200 million, and state B
In this case, it is possible to transmit the image with compression efficiency equivalent to that of a two-tone image.
コードテーブルCの出力コード‘ま、可変長ードであり
、そのコード長はコントラストの劣る図形や写真におけ
る予測誤差値の1走査線分の分布に反比例するものであ
り、必ずしも適切な圧縮効率が得られるものではないけ
れども、その他の画像の性質を代表させたものである。The output code of code table C is a variable length code, and the code length is inversely proportional to the distribution of prediction error values for one scanning line in figures or photographs with poor contrast, so it is not always possible to achieve appropriate compression efficiency. Although it is not the one obtained, it is representative of the properties of other images.
以上説明したように、入力情報の性質に対して、最も効
率のよいコードテーブルが適用されるから、多種の入力
画像に対し、高い圧縮効率が得られることになる。なお
、上記実施例では伝送メモリ21の出力Sで‘ま符号化
処理が終了した都度送出することにしているが、ファク
シミリの場合には伝送メモリ21を2個用意し、送信周
期と蓄積周期とを一走査線毎に切換るようにした方がよ
い。As explained above, since the most efficient code table is applied to the nature of the input information, high compression efficiency can be obtained for a variety of input images. In the above embodiment, the output S of the transmission memory 21 is sent each time the encoding process is completed, but in the case of facsimile, two transmission memories 21 are prepared, and the transmission period and storage period are It is better to switch between each scanning line.
また、画像メモリー1に対する画像信号Saの書き込み
に、比較的長い時間を要する場合には、画像メモリ11
を2個用意し、書込周期と謙出周期とを一走査線毎に切
り換えるようにした方がよい。また、一般に画像信号は
予測誤差値0の発生頻度が特に大さし・ので、予測誤差
値0に対してのみランレングス符号化を行ない、残余の
予測誤差値に対して、本発明のコード変換を行なっても
よい。また、他の方法として、予測誤差信号を例えば8
画素ずつセグメント化し、予測誤差値が0のみからなる
か否かを表わす2値“0”,“1”を送り、0以外の予
測誤差値を含むセグメントについてのみ、本発明のコー
ド変換を行なってもよい。また、前記実施例では、一走
査像毎にコードテーブルの選択を切換えたが、8画素毎
等一走査線をさらに細かいブロックに分け、それぞれで
切換えても同様の効果を得る。In addition, if it takes a relatively long time to write the image signal Sa to the image memory 1, the image memory 11
It is preferable to prepare two of them and to switch the write period and the write period for each scanning line. Furthermore, since the frequency of occurrence of prediction error value 0 in image signals is generally very high, run-length encoding is performed only for prediction error value 0, and the code conversion of the present invention is applied to the remaining prediction error values. may be done. In addition, as another method, the prediction error signal may be
Segment each pixel, send binary values "0" and "1" indicating whether or not the prediction error value consists of only 0, and perform the code conversion of the present invention only on the segment containing the prediction error value other than 0. Good too. Furthermore, in the embodiment described above, the selection of the code table is switched for each scanned image, but the same effect can be obtained by dividing one scanning line every 8 pixels into smaller blocks and switching for each block.
また1画面の画像毎に切換えても同様である。更にコン
トローラ10が低速の場合は、一群の画素について比較
結果Sjを得、その群を含む大きな一群の画素について
同じコードテーブルを用いるようにするとよい。更にま
た、前記実施例では一致回路14〜16の値として、1
つの値+4,十9,十13を考えたが、例えば十4と十
5,十8と十9,十12と十13のように夫々の複数の
一致を取るようにした方が、頻度検出として信頼できる
。本発明は、入力画像に応じてコードテーブルを変える
ので、多種の入力情報に対して高い伝送効率を得ること
ができるため、ファクシミリ、テレビジョン、画像記憶
装置等に利用することができる。The same effect can be obtained by switching for each image of one screen. Furthermore, if the controller 10 is slow, it is preferable to obtain the comparison result Sj for a group of pixels and use the same code table for a large group of pixels including that group. Furthermore, in the above embodiment, the values of the matching circuits 14 to 16 are 1.
We considered +4, 19, and 113, but it would be better to take multiple matches, such as 14 and 15, 18 and 19, and 112 and 113, for frequency detection. As reliable. Since the present invention changes the code table depending on the input image, it is possible to obtain high transmission efficiency for a wide variety of input information, so it can be used in facsimiles, televisions, image storage devices, and the like.
図は本発明の一実施例のブロック図である。
10・・・コントローラ、11・・・画像メモリ、12
・・・1画素メモリ、13・・・引算器、14〜16・
・・一致回路、17〜19・・・カウンタ、20・・・
比較器、21…伝送メモリ、22…符号化回路、Sa・
・・画像信号、Sb…予測誤差信号、Si・・・比較結
果、Sk・・・出力コード、Sぐ・・・送信信号。The figure is a block diagram of one embodiment of the present invention. 10... Controller, 11... Image memory, 12
...1 pixel memory, 13...subtractor, 14-16.
... Matching circuit, 17-19... Counter, 20...
Comparator, 21...Transmission memory, 22...Encoding circuit, Sa.
...Image signal, Sb...Prediction error signal, Si...Comparison result, Sk...Output code, Sg...Transmission signal.
Claims (1)
、コードテーブルに従つてコード変換することによつて
、画像信号を伝送する信号伝送方式において、前記コー
ドテーブルとして固定長コードテーブル及び可変長コー
ドテーブルを含む複数種類のコードテーブルご用意し、
一群の画素における特定複数の予測誤差信号の発生頻度
を比較し、前記群の画素における予測誤差信号、もしく
は前記群を含む一群の画素における予測誤差信号のコー
ド変換を、前記比較結果に基づいて選択したコードテー
ブルによつて行なわせることを特徴とした信号伝送方式
。1. In a signal transmission system that transmits an image signal by code-converting a prediction error signal obtained by predictive coding of an image signal according to a code table, the code table may be a fixed-length code table or a variable-length code table. We offer multiple types of code tables, including code tables.
The frequency of occurrence of a plurality of specific prediction error signals in a group of pixels is compared, and code conversion of the prediction error signal in the group of pixels or the prediction error signal in a group of pixels including the group is selected based on the comparison result. A signal transmission method characterized by using a code table.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP53131003A JPS6023543B2 (en) | 1978-10-26 | 1978-10-26 | Signal transmission method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP53131003A JPS6023543B2 (en) | 1978-10-26 | 1978-10-26 | Signal transmission method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5558673A JPS5558673A (en) | 1980-05-01 |
| JPS6023543B2 true JPS6023543B2 (en) | 1985-06-07 |
Family
ID=15047670
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP53131003A Expired JPS6023543B2 (en) | 1978-10-26 | 1978-10-26 | Signal transmission method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6023543B2 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS63200036U (en) * | 1988-05-30 | 1988-12-22 |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5731241A (en) * | 1980-08-04 | 1982-02-19 | Nec Corp | Code converter |
| JPS57150278A (en) * | 1981-03-11 | 1982-09-17 | Nec Corp | Picture signal encoding device |
| JPS57152247A (en) * | 1981-03-16 | 1982-09-20 | Nec Corp | Decoding device for picture signal |
| JPS62171231A (en) * | 1986-01-23 | 1987-07-28 | Toyota Motor Corp | Decoder |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS539810B2 (en) * | 1973-02-28 | 1978-04-08 | ||
| JPS5819183B2 (en) * | 1976-12-13 | 1983-04-16 | 日本電信電話株式会社 | Binary sampling method for analog facsimile signals |
-
1978
- 1978-10-26 JP JP53131003A patent/JPS6023543B2/en not_active Expired
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS63200036U (en) * | 1988-05-30 | 1988-12-22 |
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5558673A (en) | 1980-05-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPS62128621A (en) | High-efficient coding device | |
| JPH08280020A (en) | Digital video signal encoder | |
| JPH11112995A (en) | Variable length decoder for motion vector | |
| JPS61147689A (en) | Highly efficient tv signal encoding device | |
| JPH01279671A (en) | Encoding method for document image data | |
| JP3202433B2 (en) | Quantization device, inverse quantization device, image processing device, quantization method, inverse quantization method, and image processing method | |
| JPS6023543B2 (en) | Signal transmission method | |
| JP2535932B2 (en) | Halftone image coding device | |
| JPH02243080A (en) | Television signal coding circuit | |
| JP3010631B2 (en) | Run-length coding | |
| JPH06284395A (en) | Image compression-encoder | |
| JPH0569342B2 (en) | ||
| JPH054876B2 (en) | ||
| JPS5947916B2 (en) | Color image encoding processing method | |
| JPS5857863A (en) | Image compression method | |
| JPS6329333Y2 (en) | ||
| JP3253132B2 (en) | Image processing method and apparatus | |
| JPH07184202A (en) | Image data encoder | |
| JPH0344187A (en) | Coder for picture signal | |
| JP3214142B2 (en) | Image signal encoding method and apparatus, decoding method and apparatus | |
| JPH0413883Y2 (en) | ||
| JP2778629B2 (en) | High efficiency coding device | |
| JPH06178121A (en) | Compression method | |
| JPH03104435A (en) | Data transmitter | |
| JPS5832824B2 (en) | Chiyotsukouhenkanfugoukahoushiki |