JPS61147690A - Highly efficient code decoding device - Google Patents

Highly efficient code decoding device

Info

Publication number
JPS61147690A
JPS61147690A JP59269867A JP26986784A JPS61147690A JP S61147690 A JPS61147690 A JP S61147690A JP 59269867 A JP59269867 A JP 59269867A JP 26986784 A JP26986784 A JP 26986784A JP S61147690 A JPS61147690 A JP S61147690A
Authority
JP
Japan
Prior art keywords
block
code
circuit
error
supplied
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.)
Granted
Application number
JP59269867A
Other languages
Japanese (ja)
Other versions
JPH088684B2 (en
Inventor
Tetsujiro Kondo
哲二郎 近藤
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.)
Sony Corp
Original Assignee
Sony Corp
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 Sony Corp filed Critical Sony Corp
Priority to JP59269867A priority Critical patent/JPH088684B2/en
Publication of JPS61147690A publication Critical patent/JPS61147690A/en
Publication of JPH088684B2 publication Critical patent/JPH088684B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To reduce the effect of error transmission, by forming an expected addition code from, for example, the average value of addition codes of eight blocks placed up and down, and right and left of the block concerned, and by replacing this expected addition code with the error addition code when such error code is received. CONSTITUTION:The addition code, namely the minimum level MIN and dynamic range DR, is supplied to an error correction circuit 83 where transmission error is corrected. An error modification circuit 84 is connected to the error correction circuit 83. The error modification circuit 84 makes and adjustment to the addition code which has not been corrected according to the error flag issued from the correction circuit 83. The addition code outputted from the error modification circuit 84 and the encoded code DT which is time-adjusted by a delay circuit 87 are supplied to a decoder 85. The code DT is decoded by the decoder 85, and the original picture element data PD is outputted from an output terminal of the decoder 85.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、ディジタルテレビジョン信号のフィールド
内の処理による高能率符号の復号装置、特に、付加コー
ドの伝送エラーの影響を低減するために付加コードのエ
ラー修整を行うようにした復号装置に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a high-efficiency code decoding device based on in-field processing of digital television signals, and in particular, to a high-efficiency code decoding device for reducing the effects of transmission errors of additional codes. The present invention relates to a decoding device that corrects code errors.

〔従来の技術〕[Conventional technology]

フィールド内の処理によるテレビジョン信号の符号化方
法として、伝送帯域を狭(する目的でもって、1画素当
たりの平均ビット数又はサンプリング周波数を小さくす
るいくつかの方法が知られている。
As methods for encoding television signals through intra-field processing, several methods are known in which the average number of bits per pixel or the sampling frequency is reduced in order to narrow the transmission band.

サンプリング周波数を下げる符号化方法としては、サブ
サンプリングにより画像データを172に間引き、サブ
サンプリング点と、補間の時に使用するサブサンプリン
グ点の位置を示す(即ち補間点の上下又は左右の何れの
サブサンプリング点のデータを使用するかを示す)フラ
ッグとを伝送するものが提案されている。
As an encoding method to lower the sampling frequency, image data is thinned out to 172 by subsampling, and the subsampling point and the position of the subsampling point used during interpolation are indicated (i.e., which subsampling point is above, below or to the left or right of the interpolation point? A method has been proposed that transmits a flag (indicating whether point data is used).

1画素当たりの平均ビット数を少な(する符号化方法の
ひとつとして、D P CM (differenti
alPCM )が知られている。DPCMは、テレビジ
ョン信号の画素同士の相関が高(、近接する画素同士の
差が小さいことに着目し、この差分信号を量子化して伝
送するものである。
One of the encoding methods that reduces the average number of bits per pixel is D P CM (differenti
alPCM) is known. DPCM focuses on the fact that the pixels of a television signal have a high correlation (and the difference between adjacent pixels is small), and quantizes and transmits this difference signal.

1画素当たりの平均ビット数を少なくする符号化方法の
他のものとして、■フィールドの画面を微小なブロック
に細分化して、ブロック毎に代表点の画素及びブロック
内のデータのレベル分布の偏差を伝送するものがある。
Another encoding method that reduces the average number of bits per pixel is: ① The field screen is subdivided into small blocks, and the deviation of the level distribution of the pixel at the representative point and the data within the block is calculated for each block. There is something to transmit.

サブサンプリングを用いてサンプリング周波数を低減し
ようとする符号化方法は、サンプリング周波数が1/2
になるために、折り返し歪が発生するおそれがあった。
An encoding method that attempts to reduce the sampling frequency using subsampling reduces the sampling frequency to 1/2.
Therefore, there was a risk that aliasing distortion would occur.

DPCMは、符号化誤りが以後の符号化に伝播する問題
点があった。
DPCM has a problem in that coding errors propagate to subsequent coding.

ブロック単位で符号化を行う方法は、ブロック同士の境
界においてブロック歪が生じる欠点があった。
The method of encoding in units of blocks has the disadvantage that block distortion occurs at the boundaries between blocks.

そこで、本願出願人は、上述の従来の技術が有する折り
返し歪の発生、誤りの伝播、ブロック歪の発生等の問題
点が生じない高能率符号化装置を提案している。
Therefore, the applicant of the present application has proposed a high-efficiency encoding device that does not suffer from the problems of the above-mentioned conventional techniques, such as occurrence of aliasing, error propagation, and occurrence of block distortion.

この高能率符号化装置は、1フイールド内の所定のブロ
ックに含まれる複数の画素に関して、ダイナミックレン
ジ(最大レベルと最小レベルの差)と最小レベルとを求
め、ダイナミックレンジに応じて圧縮された量子化ビッ
ト数により画素を符号化するものである。
This high-efficiency encoding device calculates the dynamic range (difference between maximum level and minimum level) and minimum level for multiple pixels included in a predetermined block within one field, and calculates the compressed quantum according to the dynamic range. This method encodes pixels according to the number of bits.

テレビジョン信号は、水平方向及び垂直方向に相関を有
しているので、定常部では、同一のブロックに含まれる
画素データのレベルの変化幅は、小さい。従って、ブロ
ック内の画素データが共有する最小レベルを除去した後
のデータDTIのダイナミックレンジを元の量子化ビッ
ト数より少ない量子化ビット数により量子化しても、量
子化歪は、殆ど生じない。量子化ビット数を少な(する
ことにより、データの伝送帯域幅を元のものより狭(す
ることができる。
Since television signals have a correlation in the horizontal and vertical directions, the level of pixel data included in the same block varies little in the stationary portion. Therefore, even if the dynamic range of data DTI after removing the minimum level shared by pixel data in a block is quantized with a smaller number of quantization bits than the original number of quantization bits, almost no quantization distortion occurs. By reducing the number of quantization bits, the data transmission bandwidth can be made narrower than the original one.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述の高能率符号化装置は、ブロック毎に定義さる付加
コードが伝送エラーにより誤りデータとなると、ブロッ
ク歪が発生する問題点が生じる。
The above-described high-efficiency encoding device has a problem in that block distortion occurs when the additional code defined for each block becomes erroneous data due to a transmission error.

従って、付加コードに関して、伝送エラーの影響を減ら
すために、エラー訂正符号の符号化の処理が施されてい
る。しかし、エラー訂正符号の訂正能力を超える誤りが
生じた時には、やはり、ブロック歪が発生する。
Therefore, in order to reduce the influence of transmission errors on the additional code, processing is performed to encode the error correction code. However, when an error exceeding the correction ability of the error correction code occurs, block distortion still occurs.

従って、この発明の目的は、付加コードに伝送エラーが
生じた時に、付加コードを元のコードと近い値にに修整
できる高能率符号の復号装置を提供することにある。
SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide a highly efficient code decoding apparatus that can modify the additional code to a value close to the original code when a transmission error occurs in the additional code.

〔問題点を解決するための手段〕[Means for solving problems]

この発明は、ディジタルテレビジョン信号の所定のブロ
ック内に含まれる複数の画素データの最小値MIN、複
数の画素データの最大値MAX、複数の画素データのダ
イナミックレンジ情報DRの少なくとも2個の付加コー
ドと、 複数の画素データから最小値MINを減算したデータで
、且つ所定の量子化ビット数に符号化された符号化コー
ドDTと、 を伝送する高能率符号の復号装置において、ブロック毎
の付加コードに2次元的な遅延を施して注目ブロックB
Oの近傍のブロックB1〜B8における付加コードMI
N、DRを取り出す手段と・ 近傍のブロックB1〜B8の付加コードM I N。
This invention provides at least two additional codes: a minimum value MIN of a plurality of pixel data, a maximum value MAX of a plurality of pixel data, and dynamic range information DR of a plurality of pixel data included in a predetermined block of a digital television signal. and an encoded code DT that is data obtained by subtracting the minimum value MIN from a plurality of pixel data and that is encoded to a predetermined number of quantization bits. A two-dimensional delay is applied to block B of interest.
Additional code MI in blocks B1 to B8 near O
N, a means for extracting DR and additional codes M I N of neighboring blocks B1 to B8.

DRから補間用の予測付加コードを発生する手段と、 ブロック毎の付加コードMIN、DRの誤りの有無を示
すフラッグ信号により受信された付加コードMIN、D
Rが誤りである場合に、受信された付加コードMIN、
DRに代えて予測付加コードを選択して出力する手段と
、 を備えたことを特徴とする高能率符号の復号装である。
A means for generating a predicted additional code for interpolation from DR, an additional code MIN for each block, and additional codes MIN and D received by a flag signal indicating the presence or absence of an error in DR.
If R is in error, the received additional code MIN;
A high-efficiency code decoding device characterized by comprising: means for selecting and outputting a predictive additional code in place of DR;

〔作用〕[Effect]

注目ブロックBOの上下及び左右に位置する8個のブロ
ック81〜B8の付加コードの例えば平均値により、予
測付加コードを形成する。°テレビジョン信号は、同一
フィールドの所定の領域では、相関を有しているので、
予測付加コードは、注目ブロックの付加コードと近い値
となる。従って、受信された付加コードが誤りである場
合には、この誤った付加コードを予測付加コードに置き
換えることにより、伝送エラーの影響を低減できる。
A predicted additional code is formed using, for example, the average value of the additional codes of eight blocks 81 to B8 located above, below, left and right of the block of interest BO. ° Television signals are correlated in a given area of the same field, so
The predicted additional code has a value close to the additional code of the block of interest. Therefore, if the received additional code is erroneous, the influence of the transmission error can be reduced by replacing the erroneous additional code with the predicted additional code.

〔実施例〕〔Example〕

以下、この発明の一実施例について図面を参照して説明
する。第1図は、この発明が適用される高能率符号のエ
ンコーダの一例を全体として示すものである。
An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 generally shows an example of a high-efficiency code encoder to which the present invention is applied.

1で示す入力端子に例えば1サンプルが8ビツトに量子
化されたNTSC方式のディジタルテレビジョン信号が
入力される。このディジタルテレビジョン信号がライン
遅延回路2及び3の縦続接続と、5個のサンプル遅延回
路11〜15の縦続接続とに供給される。
For example, an NTSC digital television signal in which one sample is quantized to 8 bits is input to an input terminal indicated by 1. This digital television signal is supplied to a cascade of line delay circuits 2 and 3 and to a cascade of five sample delay circuits 11-15.

ライン遅延回路2及び3の接続点に5個のサンプル遅延
回路21〜25の縦続接続が接続される。
A cascade connection of five sample delay circuits 21 to 25 is connected to a connection point between line delay circuits 2 and 3.

ライン遅延回路3の出力端子に5個のサンプル遅延回路
31〜35の縦続接続が接続される。1ライン周期の遅
延量を有するライン遅延回路2及び3と、入力ディジタ
ルテレビジョン信号のサンプリング周期と等しい遅延量
を有するサンプル遅延回路11〜15.21〜25.3
1〜35とによって、各遅延回路の出力端子から1ブロ
ツクの画素データを同時に得ることができる。
A cascade connection of five sample delay circuits 31 to 35 is connected to the output terminal of the line delay circuit 3. Line delay circuits 2 and 3 having a delay amount of one line period, and sample delay circuits 11 to 15.21 to 25.3 having a delay amount equal to the sampling period of the input digital television signal.
1 to 35, one block of pixel data can be obtained simultaneously from the output terminal of each delay circuit.

第2図において、10は、1ブロツクを示すもので、実
線は、現在のフィールドの連続するn番目、(n+1)
番目、(n+2)番目の各ラインを示し、破線は、他の
フィールドのラインを示す。
In FIG. 2, 10 indicates one block, and the solid line indicates the nth consecutive block of the current field, (n+1).
The (n+2)th and (n+2)th lines are shown, and broken lines indicate lines of other fields.

現在のフィールドの3本のラインの夫々に含まれる6個
の画素によって、(3ライン×6画素)の1ブロツクが
構成される。入力端子1に(n+2)番目のラインの画
素データが供給される時に、ライン遅延回路2の出力に
(n+1)番目のラインの画素データが生じ、ライン遅
延回路3の出力にn番目のラインの画素データが生じる
。各ラインの6個の画素データは、サンプル遅延回路の
縦続接続の入力端子、出力端子及び各段間に夫々取り出
される。
Six pixels included in each of the three lines of the current field constitute one block of (3 lines x 6 pixels). When the pixel data of the (n+2)th line is supplied to the input terminal 1, the pixel data of the (n+1)th line is generated at the output of the line delay circuit 2, and the pixel data of the nth line is generated at the output of the line delay circuit 3. Pixel data is generated. The six pixel data of each line are taken out from the input terminal, the output terminal, and between each stage of the cascade connection of the sample delay circuit.

サンプル遅延回路11〜15の縦続接続により取り出さ
れた同一ラインの6個の画素データが2個ずつ選択回路
16,17.18に供給される。
Six pixel data of the same line extracted by the cascade connection of sample delay circuits 11 to 15 are supplied two by two to selection circuits 16, 17 and 18.

サンプル遅延回路21〜25の縦続接続により取り出さ
れた同一ラインの6個の画素データが2個ずつ選択回路
26,27.28に供給される。サンプル遅延回路31
〜35の縦続接続により取り出された同一ラインの6個
の画素データが2個ずつ選択回路36.37.38に供
給される。これらの選択回路は、入力される2つの画素
データのレベルを比較し、一方の出力端子に大きいレベ
ルの方の画素データを出力し、他方の出力端子に小さい
レベルの方の画素データを出力するように構成さたディ
ジタルのレベル比較回路である。
Six pixel data of the same line extracted by the cascade connection of sample delay circuits 21 to 25 are supplied two by two to selection circuits 26, 27, and 28. Sample delay circuit 31
.about.35 pixel data of the same line taken out by cascade connection are supplied two by two to selection circuits 36, 37, and 38. These selection circuits compare the levels of two input pixel data, output pixel data with a higher level to one output terminal, and output pixel data with a lower level to the other output terminal. This is a digital level comparison circuit configured as follows.

選択回路16及び17の一方の出力端子が選択回路41
の入力端子に接読され、選択回路16及び17の他方の
出力端子が選択回路51の入力端子に接続される。選択
回路18及び26の一方の出力端子が選択回路42の入
力端子に接続され、選択回路18及び26の他方の出力
端子が選択回路52の入力端子に接続される。選択回路
27及び28の一方の出力端子が選択回路43の入力端
子に接続され、選択回路27及び28の他方の出力端子
が選択回路53の入力端子に接続される。
One output terminal of the selection circuits 16 and 17 is the selection circuit 41
The other output terminals of the selection circuits 16 and 17 are connected to the input terminal of the selection circuit 51. One output terminal of selection circuits 18 and 26 is connected to an input terminal of selection circuit 42, and the other output terminal of selection circuits 18 and 26 is connected to an input terminal of selection circuit 52. One output terminal of the selection circuits 27 and 28 is connected to the input terminal of the selection circuit 43, and the other output terminal of the selection circuits 27 and 28 is connected to the input terminal of the selection circuit 53.

選択回路36及び37の一方の出力端子が選択回路44
の入力端子に接続され、選択回路36及び37の他方の
出力端子が選択回路54の入力端子に接続される。
One output terminal of the selection circuits 36 and 37 is connected to the selection circuit 44.
The other output terminal of the selection circuits 36 and 37 is connected to the input terminal of the selection circuit 54.

選択回路41〜44は、入力される2つの画素データの
レベルを比較し、より大きいレベルの画素データのみを
選択的に出力するように構成されたディジタルのレベル
比較回路である。選択回路51〜54は、入力される2
つの画素データのレベルを比較し、より小さいレベルの
画素データのみを選択的に出力するように構成されたデ
ィジタルのレベル比較回路である。
The selection circuits 41 to 44 are digital level comparison circuits configured to compare the levels of two input pixel data and selectively output only the pixel data with the higher level. The selection circuits 51 to 54 select the input 2
This is a digital level comparison circuit configured to compare the levels of two pixel data and selectively output only the pixel data of the smaller level.

選択回路41及び選択回路42の出力が選択回路45に
供給される。選択回路43及び選択回路44の出力が選
択回路46に供給される。選択回路45及び選択回路4
6の出力が選択回路47に供給される。選択回路47の
出力及び選択回路38の大きいレベルの方の出力が選択
回路48に供給される。選択回路45,46.47.4
8は、選択回路41〜44と同様に、より大きいレベル
の画素データを選択的に出力するものである。従って、
選択回路48の出力端子には、ブロック10内の18個
の画素データのうちで最大レベルMAXの画素データが
生じる。
The outputs of the selection circuit 41 and the selection circuit 42 are supplied to the selection circuit 45. The outputs of the selection circuit 43 and the selection circuit 44 are supplied to the selection circuit 46. Selection circuit 45 and selection circuit 4
6 is supplied to the selection circuit 47. The output of the selection circuit 47 and the higher level output of the selection circuit 38 are supplied to the selection circuit 48. Selection circuit 45, 46.47.4
Similarly to the selection circuits 41 to 44, 8 selectively outputs pixel data of a higher level. Therefore,
At the output terminal of the selection circuit 48, pixel data of the maximum level MAX among the 18 pixel data in the block 10 is generated.

選択回路51及び選択回路52の出力が選択回路55に
供給される。選択回路53及び選択回路54の出力が選
択回路56に供給される。選択回路55及び選択回路5
6の出力が選択回路57に供給される。選択回路57の
出力及び選択回路38の小さいレベルの方の出力が選択
回路58に供給される。選択回路55,56.57.5
8は、選択回路51〜54と同様に、より小さいレベル
の画素データを選択的に出力するものである。従って、
選択回路58の出力端子には、プロ・ツク10内の18
個の画素データのうちで最小レベルMINの画素データ
が生じる。
The outputs of the selection circuit 51 and the selection circuit 52 are supplied to the selection circuit 55. The outputs of the selection circuit 53 and the selection circuit 54 are supplied to the selection circuit 56. Selection circuit 55 and selection circuit 5
6 is supplied to the selection circuit 57. The output of the selection circuit 57 and the lower level output of the selection circuit 38 are supplied to the selection circuit 58. Selection circuit 55, 56.57.5
Similarly to the selection circuits 51 to 54, 8 selectively outputs pixel data of a smaller level. Therefore,
18 in the program 10 is connected to the output terminal of the selection circuit 58.
Among the pixel data, pixel data of the minimum level MIN is generated.

選択回路48の出力及び選択回路58の出力が減算回路
49に供給される。減算回路49により(最大レベルM
AX−最小レベルMIN)の演算がなされ、出力端子6
に8ビツトのダイナミックレンジDRが得られる。最小
レベルMINは、出力端子7に取り出されると共に、減
算回路50に供給される。
The output of the selection circuit 48 and the output of the selection circuit 58 are supplied to a subtraction circuit 49. By the subtraction circuit 49 (maximum level M
AX-minimum level MIN) is calculated and output terminal 6
An 8-bit dynamic range DR can be obtained. The minimum level MIN is taken out to the output terminal 7 and is also supplied to the subtraction circuit 50.

減算回路50には、サンプル遅延回路35の出力に生じ
た画素データPDが遅延回路4を介して供給される。こ
の遅延回路4は、最大レベルMAX及び最小レベルMI
Nを上述のように検出するために生じる遅れと等しい遅
延量を有している。
Pixel data PD generated at the output of the sample delay circuit 35 is supplied to the subtraction circuit 50 via the delay circuit 4. This delay circuit 4 has a maximum level MAX and a minimum level MI.
The amount of delay is equal to the delay caused to detect N as described above.

減算回路50の出力に最小レベルが除去された8ビツト
の画素データDTIが得られる。
8-bit pixel data DTI from which the minimum level has been removed is obtained as the output of the subtraction circuit 50.

ダイナミックレンジDR及び最小レベル除去後の画素デ
ータDTIがエンコーダブロック5に供給される。エン
コーダブロック5は、ダイナミックレンジDRを元の量
子化ビット数より少ない量子化ビット数(この例では、
4ビツト)で、均等に分割し、最小レベル除去後の画素
データDTIが分割された領域のどの領域に含まれるか
を判定し、その領域を特定する4ビツトの符号化コード
DTを出力端子8に発生するものである。エンコーダブ
ロック5の具体的構成については、後述する。
The dynamic range DR and the pixel data DTI after minimum level removal are supplied to the encoder block 5. The encoder block 5 converts the dynamic range DR into a quantization bit number smaller than the original quantization bit number (in this example,
4 bits), the pixel data DTI after the minimum level removal is determined in which of the divided regions the pixel data DTI is included, and a 4-bit encoded code DT specifying the region is outputted to the output terminal 8. It occurs in The specific configuration of the encoder block 5 will be described later.

以上のように、第1図に示すエンコーダの出力端子6及
び7には、付加データとしてのダイナミックレンジDR
及び最小レベルMINが得られ、出力端子8には、4ビ
ツトに圧縮された符号化コードが得られる。
As described above, the output terminals 6 and 7 of the encoder shown in FIG.
and the minimum level MIN are obtained, and an encoded code compressed to 4 bits is obtained at the output terminal 8.

元のディジタルテレビジョン信号の1ブロツクは、(3
X6X8ビツト=144ビツト)である。
One block of the original digital television signal is (3
x6 x 8 bits = 144 bits).

この一実施例は、1ブロツクが(3X6X4ビツト+1
6ビツト=88ピント)となり、伝送するビット数を約
半分に低減することができる。図示せずも、符号化コー
ドDT及び付加データDR。
In this example, one block is (3X6X4 bits+1
6 bits = 88 pinto), and the number of bits to be transmitted can be reduced to approximately half. Although not shown, the encoded code DT and additional data DR.

MINは、エラー訂正符号の符号化の処理をされ、シリ
アルデータとして送信(或いは記録媒体に記録)される
The MIN is encoded with an error correction code and transmitted as serial data (or recorded on a recording medium).

送信データの形態のいくつかの例を第3図に示す。第3
図Aは、最小レベルMIN、ダイナミックレンジDR及
び符号化コードからなるデータ部分の夫々に独立のエラ
ー訂正符号の符号化を施して、各エラー訂正符号のパリ
ティを付加して伝送するものである。第3図Bは、最小
レベルMIN及びダイナミックレンジDRの夫々に独立
のエラー訂正符号の符号化を施して、各エラー訂正符号
のパリティを付加したものである。第3図Cは、最小レ
ベルMIN及びダイナミックレンジDRの両者に共通の
エラー訂正符号の符号化を施して、そのパリティを付加
したものである。
Some examples of the format of transmission data are shown in FIG. Third
In FIG. A, each data portion consisting of the minimum level MIN, dynamic range DR, and encoded code is encoded with an independent error correction code, and the parity of each error correction code is added and transmitted. In FIG. 3B, the minimum level MIN and dynamic range DR are each encoded with independent error correction codes, and the parity of each error correction code is added. In FIG. 3C, a common error correction code is applied to both the minimum level MIN and the dynamic range DR, and parity thereof is added.

この一実施例は、第3図A又は第3図Bに示すように、
ダイナミックレンジDR及び最小レベルMINの夫々に
関してエラー訂正符号を施したものである。
In this embodiment, as shown in FIG. 3A or FIG. 3B,
Error correction codes are applied to each of the dynamic range DR and the minimum level MIN.

エンコーダの出力端子8に得られる符号化コードDTは
、入力テレビジョン信号と同一の順序である。従って、
各ブロックの付加データMIN。
The encoded code DT obtained at the output terminal 8 of the encoder is in the same order as the input television signal. Therefore,
Additional data MIN for each block.

DRは、ラインに関して3ライン毎に発生し、サンプリ
ング方向に関して6サンプル毎に発生する。
DR occurs every 3 lines in terms of lines and every 6 samples in the sampling direction.

符号化コードDTの所定量毎に伝送データを区切ると、
付加データを含まない区間が伝送データ中に生じる。そ
こで、エンコーダの出力にバッファメモリを接続して、
1ブロツクの付加データDR。
When the transmission data is divided into each predetermined amount of encoded code DT,
A section that does not include additional data occurs in the transmitted data. Therefore, by connecting a buffer memory to the encoder output,
1 block of additional data DR.

MIN及び符号化コードDTを伝送の単位としても良い
。この場合には、第3図における符号化コードDTから
なるデータ部分の長さは、(4ビツト×16)の長さで
ある。
The MIN and encoded code DT may be used as the unit of transmission. In this case, the length of the data portion consisting of the encoded code DT in FIG. 3 is (4 bits x 16).

符号化コードDTの量子化・ビット数は、冗長度を抑圧
するには、少ない程良い。しかし、量子化歪を増大させ
ないためには、余り量子化ビット数を少な(してはなら
ない。テレビジョン信号は、1ブロツク内の各画素は、
相関を有しているので、定常部分では、ダイナミックレ
ンジDRがあまり大きくはならず、最大値としては、1
28位を考えれば充分である。
The smaller the number of quantization bits of the encoded code DT, the better, in order to suppress redundancy. However, in order to avoid increasing quantization distortion, the number of quantization bits must not be set too small. In television signals, each pixel within one block is
Since there is a correlation, the dynamic range DR does not become very large in the stationary part, and the maximum value is 1.
That's enough considering he ranks 28th.

第4図に示すように、量子化ビット数が8ビツトの場合
のテレビジョン信号のレベルは、(0〜255)の25
6通りあり得る。しかし、物体の輪郭等の非定常部を除
く定常部では、■ブロックの画素のレベルの分布は、第
4図に示すように、かなり狭いレベルの範囲に集中して
いる。従って、この一実施例のように、符号化コードの
ビット数を4ビ・ノドとすれば、量子化歪が大きくなる
ことを防止できる。
As shown in Figure 4, when the number of quantization bits is 8 bits, the level of the television signal is 25 of (0 to 255).
There are 6 possibilities. However, in a stationary area excluding non-stationary areas such as the outline of an object, the level distribution of the pixels of the block (1) is concentrated in a fairly narrow level range, as shown in FIG. Therefore, if the number of bits of the encoded code is set to 4 bits as in this embodiment, it is possible to prevent quantization distortion from increasing.

即ち、ダイナミックレンジDRは、最悪の場合に128
となる。この場合でも、量子化ビット数が4ビツトの時
には、分割のレベルの単位が8となり、量子化歪が4と
なる。この程度の量子化歪は、視覚上は識別できない。
That is, the dynamic range DR is 128 in the worst case.
becomes. Even in this case, when the number of quantization bits is 4 bits, the division level unit is 8, and the quantization distortion is 4. This degree of quantization distortion cannot be visually discerned.

一方、非定常部では、変化幅が大きくなるが、この発明
では、ダイナミックレンジDRが適応的に定まるので、
過渡部での応答の低下が発生しない。
On the other hand, in the unsteady part, the variation range becomes large, but in this invention, the dynamic range DR is determined adaptively, so
No drop in response occurs in the transient region.

第5図は、上述のエンコーダブロック5の一例の構成を
示す。但し、説明をPiとするため、量子化ビット数を
4ビツトでな(,2ビツトとし、ダイナミックレンジを
4分割している。
FIG. 5 shows an example of the configuration of the encoder block 5 described above. However, in order to use Pi in the explanation, the number of quantization bits is set to 2 bits instead of 4 bits, and the dynamic range is divided into 4.

第5図において、61は、ダイナミックレンジDRの供
給される入力端子を示し、62は、最小レベル除去後の
データDTIの供給される入力端子を示す。ダイナミッ
クレンジDRは、割算器63 (2ビツトシフトするビ
ットシフト回路により構成される。)により1/4のレ
ベルとされる。
In FIG. 5, 61 indicates an input terminal to which the dynamic range DR is supplied, and 62 indicates an input terminal to which the data DTI after minimum level removal is supplied. The dynamic range DR is set to 1/4 level by a divider 63 (consisting of a bit shift circuit that shifts by 2 bits).

この割算器63の出力が乗算器64及び65に供給され
る。乗算器64により3倍とされた出力がレベル比較器
66の一方の入力端子に供給される。乗算器65により
2倍とされた出力がレベル比較器67の一方の入力端子
に供給される。割算器63の出力がレベル比較器68の
一方の入力端子に供給される。これらのレベル比較器6
6.67.68の夫々の他方の入力端子には、最小レベ
ル除去後のデータDTIが供給される。
The output of this divider 63 is supplied to multipliers 64 and 65. The output tripled by the multiplier 64 is supplied to one input terminal of the level comparator 66. The output doubled by the multiplier 65 is supplied to one input terminal of the level comparator 67. The output of the divider 63 is supplied to one input terminal of a level comparator 68. These level comparators 6
The data DTI after minimum level removal is supplied to the other input terminal of each of 6, 67, and 68.

レベル比較器6s、67.68の夫々の出力をC1,C
2,C3とすると、データDTIのレベルに応じてこれ
らの出力CI、C2,C3は、次のように変化する。
The outputs of the level comparators 6s and 67.68 are connected to C1 and C
2 and C3, these outputs CI, C2, and C3 change as follows depending on the level of data DTI.

(11(3/4) DR≦DTI≦DRの時C1=’l
’ 、C2=“1°、C3=”l”(2)  (2/4
)DR:5DTI<(3/4)DRの時C1=’O’ 
、C2=“1°、C3=“l”(3)  (1/4) 
DR≦DT I <(2/4) DRの時C1=“0“
、C2=“O”、C3=“1”(4)0≦DTI<(1
/4)DRの時Ct=“0’ 、C2=’0’ 、C3
=“O”上記のレベル比較器66.67.68の出力C
1、C2,C3がプライオリティエンコーダ69に供給
される。プライオリティエンコーダ69により、出力端
子8に2ビツトの符号化コードDTが得られる。プライ
オリティエンコーダ69は、上記の(11の場合に、(
11)の符号化コードを発生し、上記の(2)の場合に
、(10)の符号化コードを発生し、上記の(3)の場
合に、(01)の符号化コードを発生し、上記の(4)
の場合に、(00)の符号化コードを発生する。
(11 (3/4) When DR≦DTI≦DR, C1='l
', C2="1°, C3="l"(2) (2/4
)DR:5DTI<(3/4) When DR, C1='O'
, C2="1°, C3="l" (3) (1/4)
DR≦DT I<(2/4) When DR, C1="0"
, C2="O", C3="1" (4) 0≦DTI<(1
/4) At the time of DR, Ct=“0”, C2=’0’, C3
= “O” Output C of the above level comparator 66, 67, 68
1, C2, and C3 are supplied to the priority encoder 69. A 2-bit encoded code DT is obtained at the output terminal 8 by the priority encoder 69. In the case of (11) above, the priority encoder 69
11), in the case of (2) above, generate the coded code of (10), and in the case of (3) above, generate the coded code of (01), (4) above
In this case, an encoded code of (00) is generated.

1ブロツク内の最小レベルを含む画素データPDは、第
6図に示すように、最小レベルMINから最大レベルM
AX迄のダイナミックレンジDR内に属している。割算
器63は、このダイナミックレンジDRを4分割する。
The pixel data PD including the minimum level within one block varies from the minimum level MIN to the maximum level M, as shown in FIG.
It belongs to the dynamic range DR up to AX. The divider 63 divides this dynamic range DR into four.

最小レベルの除去後のデータDTIが分割されたレベル
範囲の何れに属するかが比較器66.67.68により
判定され、そのレベル範囲と対応する2ビツトの符号化
コードに変換される。
Comparators 66, 67, and 68 determine which of the divided level ranges the data DTI after the minimum level has been removed belongs to, and is converted into a 2-bit encoded code corresponding to that level range.

第7図は、エンコーダブロック5の他の構成例を示す。FIG. 7 shows another example of the configuration of the encoder block 5.

入力端子61からのダイナミックレンジDRが割算器7
1により、1/4のレベルとされる。
The dynamic range DR from the input terminal 61 is determined by the divider 7.
1, the level is set to 1/4.

この割算器71の出力信号がディジタルの割算器70に
分母入力として供給される。入力端子62からの最小レ
ベル除去後のデータDTIが割算器70に分子入力とし
て供給される。この割算器70の出力に2ビツトの符号
化コードが取り出される。割算器70は、小数点以下の
端数を切り捨てた値と対応する2ビツトの出力を符号化
コードとして発生する。
The output signal of this divider 71 is supplied to a digital divider 70 as a denominator input. Data DTI from input terminal 62 after the minimum level has been removed is supplied to divider 70 as a numerator input. A 2-bit encoded code is extracted from the output of this divider 70. The divider 70 generates a 2-bit output corresponding to a value obtained by cutting off fractions below the decimal point as an encoded code.

更に、図示せずも、エンコーダブロック5は、最小レベ
ル除去後のディジタルDTI及びダイナミックレンジD
Rの計16ビツトがアドレスとして供給されるROMに
より構成しても良い。
Furthermore, although not shown, the encoder block 5 converts the digital DTI and dynamic range D after minimum level removal.
It may also be constructed from a ROM to which a total of 16 bits of R are supplied as addresses.

この例では、第6図から明らかなように、ダイナミック
レンジを量子化ビット数により等分割し、各領域の中央
値Ll、L2.L3を復号時の値として利用している。
In this example, as is clear from FIG. 6, the dynamic range is divided equally according to the number of quantization bits, and the median values of each area are Ll, L2, . L3 is used as a value during decoding.

この符号化方法は、量子化歪を小さくできる。This encoding method can reduce quantization distortion.

一方、最小レベルMIN及び最大レベルMAXの夫々の
レベルを有する画素データが1ブロツク内に必ず存在し
ている。従って、誤差がOの符号化コードを多(するに
は、第8図に示すように、ダイナミックレンジDRを(
21′−1)(但し、mは、量子化ビット数)に分割し
、最小レベルMINを代表レベルLOとし、最大レベル
MAXを代表レベルL3としても良い。
On the other hand, pixel data having the minimum level MIN and the maximum level MAX always exist within one block. Therefore, in order to create a large number of encoded codes with an error of O, the dynamic range DR should be changed (
21'-1) (where m is the number of quantization bits), the minimum level MIN may be set as the representative level LO, and the maximum level MAX may be set as the representative level L3.

第9図は、受信(又は再生)側の構成を示す。FIG. 9 shows the configuration on the receiving (or reproducing) side.

入力端子81からの受信データは、データ分離回路82
に供給される。データ分離回路82により、符号化コー
ドと付加コードとが分離される。付加コード即ち最小レ
ベルMIN及びダイナミックレンジDRは、エラー訂正
符号のエラー訂正回路83に供給され、伝送エラーの訂
正がなされる。エラー訂正回路83には、エラー修整回
路84が接続されている。エラー修整回路84では、後
述するように、エラー訂正回路83からのエラーフラッ
グに基づいて訂正できなかった付加コードの修整(補間
)が行われる。
The data received from the input terminal 81 is sent to the data separation circuit 82.
supplied to The data separation circuit 82 separates the encoded code and the additional code. The additional code, that is, the minimum level MIN and dynamic range DR, is supplied to an error correction circuit 83 for error correction code, and transmission errors are corrected. An error correction circuit 84 is connected to the error correction circuit 83 . The error correction circuit 84 corrects (interpolates) the additional code that could not be corrected based on the error flag from the error correction circuit 83, as will be described later.

エラー修整回路84から出力される付加コードと遅延回
路87によりタイミングが合わされた符号化コードDT
とがデコーダ85に供給される。
The additional code output from the error correction circuit 84 and the encoded code DT whose timing is matched by the delay circuit 87
is supplied to the decoder 85.

デコーダ85により符号化コードDTの復号がなされ、
デコーダ86の出力端子86に元の画素データPDが取
り出される。デコーダ86は、各8ビツトの付加コード
DR,MINと4ビツトの符号化コードDTとから8ビ
ツトの画素データPDを復号するものである。
The encoded code DT is decoded by the decoder 85,
The original pixel data PD is taken out to the output terminal 86 of the decoder 86. The decoder 86 decodes 8-bit pixel data PD from each 8-bit additional code DR, MIN and 4-bit encoded code DT.

デコーダ85は、第10図に示す構成とされる。The decoder 85 has the configuration shown in FIG.

第10図において、88で示す入力端子からのダイナミ
ックレンジDRがバッファメモリ92に貯えられる。8
9で示す入力端子からの最小レベルMINがバッファメ
モリ92に貯えられる。これらのバッファメモリ91及
び92には、端子90からのブロック識別信号が供給さ
れ、ブロック毎に付加コードが貯えられる。
In FIG. 10, the dynamic range DR from the input terminal indicated at 88 is stored in the buffer memory 92. 8
The minimum level MIN from the input terminal indicated by 9 is stored in a buffer memory 92. These buffer memories 91 and 92 are supplied with a block identification signal from a terminal 90 and store an additional code for each block.

端子87からの符号化コードDT及びバッファメモリ9
1から読み出されたダイナミックレンジDRがデコーダ
ブロック93に供給される。デコーダブロック93によ
り、最小レベル除去後のデータDTIが復号される。こ
のデータDTIとバッファメモリ92から読み出された
最小レベルMINとが加算器94により加算され、加算
器94の出力端子86に画素データPDが取り出される
Encoded code DT from terminal 87 and buffer memory 9
The dynamic range DR read from 1 is supplied to the decoder block 93. The decoder block 93 decodes the data DTI after the minimum level has been removed. This data DTI and the minimum level MIN read from the buffer memory 92 are added by an adder 94, and pixel data PD is taken out to an output terminal 86 of the adder 94.

デコーダブロック93は、符号化コードDTと対応する
代表値を復元するものである。
The decoder block 93 is for restoring the representative value corresponding to the encoded code DT.

第11図は、デコーダブロック93の一例の構成を示す
。但し、第11図及び後述の第12図に夫々示すデコー
ダブロックは、説明のNi2のため1、符号化コードの
量子化ビット数を2ビツトとじている。第11図ののデ
コーダブロックは、第5図に示すエンコーダブロックと
対応する構成のものである。
FIG. 11 shows the configuration of an example of the decoder block 93. However, in the decoder blocks shown in FIG. 11 and FIG. 12, which will be described later, the number of quantization bits of the encoded code is set to 1 and 2 bits for Ni2 in the explanation. The decoder block shown in FIG. 11 has a configuration corresponding to the encoder block shown in FIG.

入力端子101からのダイナミックレンジDRが割算器
103(2ビツトのビットシフタにより構成される。)
により1/4とされ、乗算器104及び105に供給さ
れる。乗算器104は、割算器103の出力を3倍とし
、乗算器105は、割算器103の出力を2倍とする。
The dynamic range DR from the input terminal 101 is divided by the divider 103 (consisting of a 2-bit bit shifter).
, and is supplied to multipliers 104 and 105. Multiplier 104 triples the output of divider 103, and multiplier 105 doubles the output of divider 103.

これらの乗算器104及び105の出力と割算器103
の出力と8ビツトが全て“0゛ のコードとがセレクタ
107に供給される。セレクタ107は、入力端子10
2からの符号化コードDTに応じて4個の入力の何れか
を選択して出力する。
The outputs of these multipliers 104 and 105 and the divider 103
The output of the input terminal 10 and a code in which all 8 bits are "0" are supplied to the selector 107.
According to the encoded code DT from 2, one of the four inputs is selected and output.

符号化コードDTが(00)の時、零のコード、  を
セレクタ107が選択する。符号化コードDTが(01
)の時、割算器103の出力(1/4DR)をセレクタ
107が選択する。符号化コードDTが(10)の時、
乗算器105の出力(2/4 DR)をセレクタ107
が選択する。符号化コードDTが(11)の時、乗算器
104の出力(3/4DR)をセレクタ107が選択す
る。このセレクタ107の出力が加算器109に供給さ
れる。加算器109には、割算器103の出力を割算器
108により1/2としたデータが供給される。従って
、加算器109の出力端子111に最小レベル除去後の
データDTIが得られる。
When the encoded code DT is (00), the selector 107 selects the zero code. The encoding code DT is (01
), the selector 107 selects the output (1/4DR) of the divider 103. When the encoding code DT is (10),
The output (2/4 DR) of the multiplier 105 is selected by the selector 107
chooses. When the encoded code DT is (11), the selector 107 selects the output (3/4DR) of the multiplier 104. The output of this selector 107 is supplied to an adder 109. The adder 109 is supplied with data obtained by dividing the output of the divider 103 by half by the divider 108 . Therefore, the data DTI after minimum level removal is obtained at the output terminal 111 of the adder 109.

第12図は、デコーダブロック85の他の例を示す。こ
の第12図に示す他の例は、第7図に示すエンコーダブ
ロックと対応する構成のものである。
FIG. 12 shows another example of the decoder block 85. Another example shown in FIG. 12 has a configuration corresponding to the encoder block shown in FIG. 7.

第12図において、113は、割算器112からの(1
/4DR)の値と入力端子102からの符号化コードD
Tとを乗算するディジタルの乗算器である。この乗算器
113の乗算出力と割算器114からの(1/2DR)
のデータとが加算器117に供給される。この加算器1
17の出力端子118に最小レベル除去後のデータDT
Iが取り出される。
In FIG. 12, 113 represents (1
/4DR) and the encoded code D from the input terminal 102
This is a digital multiplier that multiplies T. The multiplication output of this multiplier 113 and (1/2DR) from the divider 114
data is supplied to the adder 117. This adder 1
The data DT after minimum level removal is output to the output terminal 118 of 17.
I is taken out.

上述のこの一実施例におけるエンコーダは、1ブロツク
内の全ての画素データを同時に発生させる構成である。
The encoder in this embodiment described above is configured to simultaneously generate all pixel data within one block.

しかし、ブロック内の画素データをシーケンシャルに発
生させるようにしても良い。
However, pixel data within a block may be generated sequentially.

尚、以上の説明では、符号化コードDTとダイナミック
レンジDRと最小レベルMINとの3者を送信している
。しかし、付加コードとして最小レベルMIN及び最大
レベルMAXを伝送しても良(、又はダイナミックレン
ジDR及び最小レベルMINを伝送しても良い。
In the above explanation, three items are transmitted: the encoded code DT, the dynamic range DR, and the minimum level MIN. However, the minimum level MIN and maximum level MAX may be transmitted as additional codes (or the dynamic range DR and minimum level MIN may be transmitted).

上述の受信側に設けられたエラー修整回路84に対して
この発明が適用される。第13図は、エラー修整回路8
4の一例を示す。
The present invention is applied to the error correction circuit 84 provided on the receiving side described above. FIG. 13 shows the error correction circuit 8
An example of 4 is shown below.

第13図において、121は、エラー訂正回路83によ
り誤り訂正がされた付加コードの入力端子である。この
データがゲート回路123に供給される。また、122
で示す入力端子には、エラー訂正回路83から受信され
たダイナミックレンジDRの誤りの有無を示すエラーフ
ラッグが供給される。ゲート回路123には、制御回路
124からのタイミング信号が供給され、ゲート回路1
23の出力にダイナミックレンジDRのみが分離される
。制御回路124には、端子125及び126の夫々か
らラインクロック及びサンプリングクロックが供給され
、ダイナミックレンジDRを分離するためのタイミング
信号が形成される。
In FIG. 13, 121 is an input terminal for an additional code whose error has been corrected by the error correction circuit 83. This data is supplied to gate circuit 123. Also, 122
An error flag indicating the presence or absence of an error in the dynamic range DR received from the error correction circuit 83 is supplied to the input terminal indicated by . The gate circuit 123 is supplied with a timing signal from the control circuit 124, and the gate circuit 123 is supplied with a timing signal from the control circuit 124.
Only the dynamic range DR is separated into the output of 23. The control circuit 124 is supplied with a line clock and a sampling clock from terminals 125 and 126, respectively, and forms a timing signal for separating the dynamic range DR.

ゲート回路123の出力信号がライン遅延回路127及
び128の縦続接続に供給されると共に、ブロック遅延
回路129及び130の縦続接続に供給される。ライン
遅延回路127及び128の段間に、ブロック遅延回路
131及び132の縦続接続が接続されている。ライン
遅延回路128の出力端子に、ブロック遅延回路133
及び134の縦続接続が接続されている。ブロック遅延
回路129〜134は、夫々1ブロツクの遅延量を有し
ている。
The output signal of the gate circuit 123 is supplied to a cascade of line delay circuits 127 and 128 and to a cascade of block delay circuits 129 and 130. A cascade of block delay circuits 131 and 132 is connected between the stages of line delay circuits 127 and 128. A block delay circuit 133 is connected to the output terminal of the line delay circuit 128.
and 134 cascade connections are connected. Block delay circuits 129-134 each have a delay amount of one block.

ブロック遅延回路131の出力に発生するダイナミック
レンジDRが注目)゛ロックBO(第14図参照)のも
のとなる。注目ブロックBOの斜め右下のブロックB1
のダイナミックレンジがブロック遅延回路134の出力
に発生する。圧目ブロ7りの下のブロックB2のダイナ
ミックレンジがブロック遅延回路133の出力に発生す
る。注目ブロックBOの斜め左下のブロックB3のダイ
ナミックレンジがライン遅延回路128の出力に発生す
る。
The dynamic range DR generated at the output of the block delay circuit 131 is that of the lock BO (see FIG. 14). Block B1 diagonally lower right of the block of interest BO
A dynamic range of 0.01 to 1.0 is generated at the output of the block delay circuit 134. The dynamic range of the block B2 below the pressure block 7 is generated at the output of the block delay circuit 133. The dynamic range of the block B3 diagonally to the lower left of the block of interest BO is generated at the output of the line delay circuit 128.

同様に、注目ブロックBOの右側のブロックB4のダイ
ナミックレンジがブロック遅延回路132の出力に発生
し、その左側のブロックB5のダイナミックレンジがラ
イン遅延回路127の出力に発生する。注目ブロックB
Oの斜め右上のブロックB6のダイナミックレンジがブ
ロック遅延回路130の出力に発生し、注目ブロックB
Oの上側のブロックB7のダイナミックレンジがブロッ
ク遅延回路129の出力に発生し、注目ブロックの斜め
左上のブロックB8のダイナミックレンジがゲート回路
123の出力に発生する。
Similarly, the dynamic range of the block B4 on the right side of the block of interest BO is generated at the output of the block delay circuit 132, and the dynamic range of the block B5 on the left side thereof is generated at the output of the line delay circuit 127. Featured block B
The dynamic range of the block B6 diagonally upper right of O is generated at the output of the block delay circuit 130, and the block B6 of interest
The dynamic range of the block B7 above the block B7 is generated at the output of the block delay circuit 129, and the dynamic range of the block B8 diagonally to the upper left of the block of interest is generated at the output of the gate circuit 123.

上述の注目ブロックBOの近傍のブロックB1〜B8の
ダイナミックレンジが加算器135,136.137,
138,139,140,141により、合計される。
The dynamic range of the blocks B1 to B8 near the block of interest BO described above is determined by the adders 135, 136, 137,
138, 139, 140, 141 are totaled.

この合計値が加算器141から発生し、割算器142 
(ビットシフト回路で実現される。)に供給される。割
算器142は、合計値を178として予測ダイナミック
レンジコードを発生する。この予測ダイナミックレンジ
コードがセレクタ143の一方の入力端子に供給される
。セレクタ143の他方の入力端子には、ブロック遅延
回路131からの注目ブロックBOのダイナミックレン
ジが供給される。
This total value is generated from the adder 141 and is generated from the divider 142.
(implemented by a bit shift circuit). Divider 142 generates a predicted dynamic range code with a total value of 178. This predicted dynamic range code is supplied to one input terminal of the selector 143. The other input terminal of the selector 143 is supplied with the dynamic range of the target block BO from the block delay circuit 131.

セレクタ143は、入力端子122からのエラーフラッ
グ信号により制御される。エラーフラッグ信号が例えば
ローレベルの時は、注目ブロックのダイナミックレンジ
が正しいことを意味する。
Selector 143 is controlled by an error flag signal from input terminal 122. For example, when the error flag signal is at a low level, it means that the dynamic range of the block of interest is correct.

一方、エラーフラッグ信号が例えばハイレベルの時は、
注目ブロックのダイナミックレンジが誤りであることを
意味する。エラーフラッグ信号がローレベルの時に、セ
レクタ143がブロック遅延回路131からの注目ブロ
ックのダイナミックレンジを選択する。一方、エラーフ
ラッグ信号がハイレベルの時に、セレクタ143は、割
算器142からの予測ダイナミックレンジコードを選択
する。セレクタ143の出力端子144に取り出された
ダイナミックレンジ情報は、前述のデコーダに供給され
る。
On the other hand, when the error flag signal is high level, for example,
This means that the dynamic range of the block of interest is incorrect. When the error flag signal is at a low level, the selector 143 selects the dynamic range of the block of interest from the block delay circuit 131. On the other hand, when the error flag signal is at a high level, the selector 143 selects the predicted dynamic range code from the divider 142. The dynamic range information taken out to the output terminal 144 of the selector 143 is supplied to the aforementioned decoder.

また受信された最小レベルに関するエラー修整がなされ
る。この最小レベルに関するエラー修整の構成は、ダイ
ナミックレンジDRに関するエラー修整と全(同一の構
成でなされる。
Also error correction is made regarding the minimum level received. The configuration of the error correction regarding this minimum level is the same as the error correction regarding the dynamic range DR.

即ち、端子155及び156に供給されるラインクロッ
ク及びサンプリングクロックから制御回路154で形成
されたタイミング信号がゲート回路153に供給される
ことにより、ゲート回路153の出力に最小レベルが分
離される。このエラー訂正符号の復号の処理を受けた最
小レベルがライン遅延回路157及び158とブロック
遅延回路159〜164とに供給される。これらの遅延
回路により、1目ブロックBOとその近傍のブロックB
1〜B8との夫々についての最小レベルが同時に取り出
される。加算器165〜171及び割算器172により
、予測最小レベルコードが形成される。入力端子152
からのエラーフラッグ信号によりセレクタ173が制御
される。セレクタ173により、誤った最小レベルが予
測最小レベルコードに置き換えられる。セレクタ173
の出力端子174に取り出された最小レベルがデコーダ
に供給される。
That is, the timing signal formed by the control circuit 154 from the line clock and sampling clock supplied to the terminals 155 and 156 is supplied to the gate circuit 153, so that the minimum level is separated into the output of the gate circuit 153. The minimum level subjected to the decoding process of this error correction code is supplied to line delay circuits 157 and 158 and block delay circuits 159 to 164. By these delay circuits, the first block BO and its neighboring block B
The minimum levels for each of 1 to B8 are taken out at the same time. Adders 165-171 and divider 172 form a predicted minimum level code. Input terminal 152
The selector 173 is controlled by an error flag signal from. The selector 173 replaces the erroneous minimum level with the predicted minimum level code. Selector 173
The minimum level extracted at the output terminal 174 of is supplied to the decoder.

この発明は、ブロックが1次元の場合にも適用すること
ができる。第16図に示すように、同一ラインの連続す
る例えば16画素を1ブロツクとするようにしても良い
。第15図を参照して1次元ブロックの場合のエンコー
ダについて説明する。
This invention can also be applied when the block is one-dimensional. As shown in FIG. 16, one block may consist of, for example, 16 consecutive pixels on the same line. An encoder for a one-dimensional block will be described with reference to FIG.

第15図において、201は、ディジタルテレビジョン
信号が8ビツトパラレルで入力される入力端子を示す。
In FIG. 15, 201 indicates an input terminal to which a digital television signal is input in 8-bit parallel.

入力ディジタルテレビジョン信号は、遅延回路203を
介して減算回路204に供給される。
The input digital television signal is supplied to a subtraction circuit 204 via a delay circuit 203.

202は、入力ディジタルテレビジョン信号と同期する
サンプリングクロックが供給される入力端子を示す。こ
のサンプリングクロ・ツクがカウンタ209、レジスタ
210及び211にクロックパルスとして供給される。
202 indicates an input terminal to which a sampling clock synchronized with the input digital television signal is supplied. This sampling clock is supplied to counter 209 and registers 210 and 211 as clock pulses.

カウンタ209は、16進のカウンタであり、その出力
に16個の画素データ毎にブロッククロックが発生する
。このブロッククロックがレジスタ210及び211に
初期設定のためのパルスとして供給される。また、ラッ
チ215及び216にラッチパルスとして供給される。
The counter 209 is a hexadecimal counter, and a block clock is generated at its output every 16 pixel data. This block clock is supplied to registers 210 and 211 as a pulse for initialization. It is also supplied to latches 215 and 216 as a latch pulse.

レジスタ210及び211は、8ビツトのパラレルデー
タが入力及び出力できるものである。一方のレジスタ2
10の出力データが選択回路212の一方の入力端子に
供給され、他方のレジスタ211の出力データが選択回
路213の一方の入力端子に供給される。これらの選択
回路212及び213の他方の入力端子には、入力ディ
ジタルテレビジョン信号が供給されている。
Registers 210 and 211 can input and output 8-bit parallel data. One register 2
10 output data is supplied to one input terminal of the selection circuit 212, and output data of the other register 211 is supplied to one input terminal of the selection circuit 213. The other input terminals of these selection circuits 212 and 213 are supplied with an input digital television signal.

選択回路212は、2個の入力データの内の大きいレベ
ルのものを選択して出力するディジタルのレベル比較回
路の構成である。選択回路213は、2個の入力データ
の内の小さいレベルのものを選択して出力するディジタ
ルのレベル比較回路の構成である。選択回路212の出
力データが減算回路214の一方の入力端子に供給され
ると共に、レジスタ210の入力端子に供給される。選
択回路213の出力データが減算回路214の他方の入
力端子に供給されると共に、レジスタ211の入力端子
に供給される。
The selection circuit 212 is configured as a digital level comparison circuit that selects and outputs the one with the higher level from two pieces of input data. The selection circuit 213 is configured as a digital level comparison circuit that selects and outputs the one with the smaller level of the two input data. The output data of the selection circuit 212 is supplied to one input terminal of the subtraction circuit 214 and also to the input terminal of the register 210. The output data of the selection circuit 213 is supplied to the other input terminal of the subtraction circuit 214 and also to the input terminal of the register 211.

この一実施例では、1ブロツクが第16図に示すように
、同一ラインの連続する16個の画素データにより構成
されている。各ブロックの最初にカウンタ209からの
ブロッククロックが発生して、レジスタ210及び21
1の初期設定がなされる。レジスタ210には、初期値
として全て“0”のビットのコードがロードされ、レジ
スタ211には、初期値として全て1°のビットのコー
ドがロードされる。
In this embodiment, one block is composed of 16 consecutive pixel data on the same line, as shown in FIG. At the beginning of each block, a block clock from counter 209 is generated and registers 210 and 21
An initial setting of 1 is made. The register 210 is loaded with a code of all "0" bits as an initial value, and the register 211 is loaded with a code of all bits of 1° as an initial value.

1ブロツクの先頭の画素データが選択回路212及び2
13により選択されてレジスタ210及び211に貯え
られる。次の画素データとレジスタ210及び211に
貯えられている画素データとが比較され、両者の内でよ
りレベルの大きい方のデータが選択回路212から出力
され、両者の内でよりレベルの小さい方のデータが選択
回路213から出力される。以下、1ブロツク内で順次
レベルの比較が行われ、16個の画素データの中の最大
レベルのものが選択回路212の出力端子に取り出され
、16個の画素データの中の最小レベルのものが選択回
路213の出力端子に取り出される。
The first pixel data of one block is selected by selection circuits 212 and 2.
13 and stored in registers 210 and 211. The next pixel data is compared with the pixel data stored in the registers 210 and 211, and the data with the higher level of both is output from the selection circuit 212, and the data with the lower level of both is output. Data is output from selection circuit 213. Thereafter, the levels are sequentially compared within one block, and the highest level among the 16 pixel data is taken out to the output terminal of the selection circuit 212, and the lowest level among the 16 pixel data is taken out to the output terminal of the selection circuit 212. It is taken out to the output terminal of the selection circuit 213.

減算回路214では、(最大レベル−最小レベル)の演
算がなされ、減算回路214の出力端子にそのブロック
のダイナミックレンジが検出される。減算回路214か
ら出力されるダイナミックレンジDRがラッチ215に
貯えられ、選択回路213から出力される最小レベルM
INがラッチ216に貯えられる。ラッチ215に貯え
られたダイナミックレンジDRが出力端子206に取り
出されると共に、エンコーダブロック205に供給され
る。一方、ラッチ216に貯えられた最小レベルMIN
が出力端子207に取り出されると共に、減算回路20
4の他方の入力端子に供給される。
The subtraction circuit 214 performs the calculation (maximum level - minimum level), and the dynamic range of the block is detected at the output terminal of the subtraction circuit 214. The dynamic range DR output from the subtraction circuit 214 is stored in the latch 215, and the minimum level M output from the selection circuit 213 is stored in the latch 215.
IN is stored in latch 216. The dynamic range DR stored in the latch 215 is taken out to the output terminal 206 and is also supplied to the encoder block 205. On the other hand, the minimum level MIN stored in latch 216
is taken out to the output terminal 207, and the subtraction circuit 20
4 to the other input terminal.

減算回路204には、遅延回路203によりタイミング
が合わされた画素データPDが供給されている。従って
、減算回路204の出力端子には、最小レベルMINが
除去されたデータDTIが発生する。このデータDTI
がエンコーダブロック205に供給される。エンコーダ
ブロック205は、前述のように、ダイナミックレンジ
DRを元の量子化ビット数より少ない量子化ビット数例
えば4ビツトにより等しく16個のレベル範囲に分割し
、最小レベル除去後のデータDTIがどのレベル範囲に
属するかを判定する。このように特定されたレベル範囲
と対応する4ビツトの符号化コードDTがエンコーダブ
ロック205の出力端子208に取り出される。
The subtraction circuit 204 is supplied with pixel data PD whose timing has been adjusted by the delay circuit 203 . Therefore, data DTI from which the minimum level MIN has been removed is generated at the output terminal of the subtraction circuit 204. This data DTI
is supplied to encoder block 205. As described above, the encoder block 205 divides the dynamic range DR into 16 equal level ranges by using a quantization bit number smaller than the original quantization bit number, for example, 4 bits, and determines which level the data DTI after minimum level removal is. Determine whether it belongs to the range. A 4-bit encoded code DT corresponding to the level range thus specified is output to the output terminal 208 of the encoder block 205.

この発明は、各ブロックのダイナミックレンジに応じて
、最小レベル除去後のデータDTIの所定の4ビツトを
選択する簡略化された高能率符号の復号装置に適用する
ことができる。更に、この発明は、量子化ビット数を各
ブロックのダイナミックレンジに応じて可変する可変長
符号化方式の高能率符号の復号にも適用できる。
The present invention can be applied to a simplified high-efficiency code decoding device that selects predetermined 4 bits of data DTI after minimum level removal according to the dynamic range of each block. Furthermore, the present invention can also be applied to decoding high-efficiency codes using variable length coding in which the number of quantization bits is varied according to the dynamic range of each block.

〔発明の効果〕〔Effect of the invention〕

この発明に依れば、ダイナミックレンジ情報が誤っても
、テレビジョン画像の2次元の相関を利用して、注目ブ
ロックの周囲のブロックのダイナミックレンジの例えば
平均値で置換することにより、殆ど画質の劣下が生じな
い利点がある。細かな絵柄を表すパターン情報は、各画
素毎の量子化コードとして送られているため、補間によ
り画像のなまり等の問題は、生じない。また、この発明
に依れば、最小レベルが誤っても、テレビジョン画像の
2次元の相関を利用して、注目ブロックの周囲のブロッ
クの最小レベルの例えば平均値で置換することにより、
ブロック歪の発生を防止することができる。平均値によ
り置換するので、輝度が増大又は減少している場所で置
換が行われても、階段状の歪は、生じない。
According to this invention, even if the dynamic range information is incorrect, the two-dimensional correlation of the television image is used to replace it with, for example, the average value of the dynamic range of the blocks surrounding the block of interest. It has the advantage that no deterioration occurs. Since the pattern information representing a detailed picture is sent as a quantization code for each pixel, problems such as image distortion do not occur due to interpolation. Furthermore, according to the present invention, even if the minimum level is incorrect, it can be replaced with, for example, the average value of the minimum levels of the blocks surrounding the block of interest, using the two-dimensional correlation of the television image.
Block distortion can be prevented from occurring. Since the replacement is performed using the average value, step-like distortion will not occur even if replacement is performed at a location where the brightness is increasing or decreasing.

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

第1図はこの発明の一実施例のブロック図、第2図は符
号化の処理の単位であるブロックの説明に用いる路線図
、第3図は伝送データの構成の複数の例の説明に用いる
路線図、第4図は1ブロツク内の画素データのレベル分
布の説明に用いる路線図、第5図はエンコーダブロック
の一例のブロック図、第6図はエンコーダブロックの説
明に用いる路線図、第7図はエンコーダブロックの他の
例のブロック図、第8図はエンコーダブロックの他の符
号化方法の説明のための路線図、第9図は受信側の構成
を示すブロック図、第10図はデコーダのブロック図、
第11図はデコーダブロックの一例のブロック図、第1
2図はデコーダブロックの他の例のブロック図、第13
図はこの発明が適用されたエラー修整回路の一実施例の
ブロック図、第14図はこの発明の一実施例の説明に用
いる路線図、第15図はこの発明を適用できる高能率符
号化装置の他の例のブロック図、第16図は高能率符号
化装置の他の例の説明のための路線図ある。 1:ディジタルテレビジョン信号の入力端子、2゜3=
ニライン延回路、5:エンコーダブロック、6:ダイナ
ミックレンジDRの出力端子、7:最小レベルMINの
出力端子、8:符号化コードDTの出力端子、10ニブ
ロツク、11〜15,21〜25.31〜35:サンプ
ル遅延回路、81:受信データの入力端子、83:エラ
ー訂正回路、84:エラー修整回路、85:デコーダ、
93:デコーダブロック、127,128,157,1
58ニライン遅延回路、129〜134.159〜16
4ニブロック遅延回路、142.1?2:割算器、14
3,173:セレクタ。
Fig. 1 is a block diagram of an embodiment of the present invention, Fig. 2 is a route diagram used to explain blocks that are units of encoding processing, and Fig. 3 is used to explain multiple examples of the structure of transmission data. Route map, Figure 4 is a route map used to explain the level distribution of pixel data within one block, Figure 5 is a block diagram of an example of an encoder block, Figure 6 is a route map used to explain the encoder block, and Figure 7 is a route map used to explain the level distribution of pixel data within one block. The figure is a block diagram of another example of the encoder block, Figure 8 is a route diagram for explaining another encoding method of the encoder block, Figure 9 is a block diagram showing the configuration of the receiving side, and Figure 10 is the decoder. Block diagram of
FIG. 11 is a block diagram of an example of a decoder block,
Figure 2 is a block diagram of another example of the decoder block, No. 13.
Fig. 14 is a block diagram of an embodiment of an error correction circuit to which the present invention is applied, Fig. 14 is a route diagram used to explain an embodiment of the invention, and Fig. 15 is a high-efficiency encoding device to which the invention can be applied. FIG. 16 is a block diagram of another example of the high-efficiency encoding device. 1: Digital television signal input terminal, 2゜3=
Ni line extension circuit, 5: Encoder block, 6: Dynamic range DR output terminal, 7: Minimum level MIN output terminal, 8: Encoding code DT output terminal, 10 Ni blocks, 11-15, 21-25, 31- 35: Sample delay circuit, 81: Received data input terminal, 83: Error correction circuit, 84: Error correction circuit, 85: Decoder,
93: Decoder block, 127, 128, 157, 1
58 line delay circuit, 129-134.159-16
4 Niblock delay circuit, 142.1?2: Divider, 14
3,173: Selector.

Claims (1)

【特許請求の範囲】 ディジタルテレビジョン信号の所定のブロック内に含ま
れる複数の画素データの最小値、上記複数の画素データ
の最大値、上記複数の画素データのダイナミックレンジ
情報の少なくとも2個の付加コードと、 上記複数の画素データから上記最小値を減算したデータ
で、且つ所定の量子化ビット数に符号化された符号化コ
ードと、 を伝送する高能率符号の復号装置において、上記ブロッ
ク毎の付加コードに2次元的な遅延を施して注目ブロッ
クの近傍の上記ブロックにおける上記付加コードを取り
出す手段と、 上記近傍の上記ブロックの上記付加コードから補間用の
予測付加コードを発生する手段と、上記ブロック毎の付
加コードの誤りの有無を示すフラッグ信号により受信さ
れた上記付加コードが誤りである場合に、上記受信され
た上記付加コードに代えて上記予測付加コードを選択し
て出力する手段と、 を備えたことを特徴とする高能率符号の復号装置。
[Claims] Addition of at least two pieces of minimum value of a plurality of pixel data included in a predetermined block of a digital television signal, a maximum value of the plurality of pixel data, and dynamic range information of the plurality of pixel data. A high-efficiency code decoding device that transmits a code, and an encoded code that is data obtained by subtracting the minimum value from the plurality of pixel data and that is encoded to a predetermined number of quantization bits. means for extracting the additional code in the block near the block of interest by applying a two-dimensional delay to the additional code; means for generating a predicted additional code for interpolation from the additional code of the block in the vicinity; means for selecting and outputting the predicted additional code in place of the received additional code when the received additional code is in error based on a flag signal indicating whether or not there is an error in the additional code for each block; A high-efficiency code decoding device comprising:
JP59269867A 1984-12-21 1984-12-21 High efficiency code decoding device Expired - Lifetime JPH088684B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59269867A JPH088684B2 (en) 1984-12-21 1984-12-21 High efficiency code decoding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59269867A JPH088684B2 (en) 1984-12-21 1984-12-21 High efficiency code decoding device

Publications (2)

Publication Number Publication Date
JPS61147690A true JPS61147690A (en) 1986-07-05
JPH088684B2 JPH088684B2 (en) 1996-01-29

Family

ID=17478310

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59269867A Expired - Lifetime JPH088684B2 (en) 1984-12-21 1984-12-21 High efficiency code decoding device

Country Status (1)

Country Link
JP (1) JPH088684B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0327322A2 (en) * 1988-02-05 1989-08-09 Sony Corporation Decoding apparatus
JPH02305281A (en) * 1989-05-19 1990-12-18 Canon Inc Picture information transmission system
JPH02305282A (en) * 1989-05-19 1990-12-18 Canon Inc Picture information transmission system
JPH02305280A (en) * 1989-05-19 1990-12-18 Canon Inc Picture information transmission system
US5420872A (en) * 1991-12-04 1995-05-30 Sharp K.K. Apparatus for concealing error in transform coding of a motion picture
JP2002537698A (en) * 1999-02-12 2002-11-05 ソニー エレクトロニクス インク Apparatus and method for restoring compression constant in encoded area

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57208768A (en) * 1981-06-19 1982-12-21 Hitachi Ltd Digitizing system for video signal
JPS5985193A (en) * 1982-11-08 1984-05-17 Nippon Telegr & Teleph Corp <Ntt> Picture encoder
JPS5985139A (en) * 1975-08-14 1984-05-17 モトロ−ラ・インコ−ポレ−テツド Communication signal transmission line loss compensator
JPS59153378A (en) * 1983-02-21 1984-09-01 Sony Corp Picture signal forming method
JPS59183542A (en) * 1983-04-04 1984-10-18 Mitsubishi Electric Corp Adaptive type vector quantization device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5985139A (en) * 1975-08-14 1984-05-17 モトロ−ラ・インコ−ポレ−テツド Communication signal transmission line loss compensator
JPS57208768A (en) * 1981-06-19 1982-12-21 Hitachi Ltd Digitizing system for video signal
JPS5985193A (en) * 1982-11-08 1984-05-17 Nippon Telegr & Teleph Corp <Ntt> Picture encoder
JPS59153378A (en) * 1983-02-21 1984-09-01 Sony Corp Picture signal forming method
JPS59183542A (en) * 1983-04-04 1984-10-18 Mitsubishi Electric Corp Adaptive type vector quantization device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0327322A2 (en) * 1988-02-05 1989-08-09 Sony Corporation Decoding apparatus
JPH02305281A (en) * 1989-05-19 1990-12-18 Canon Inc Picture information transmission system
JPH02305282A (en) * 1989-05-19 1990-12-18 Canon Inc Picture information transmission system
JPH02305280A (en) * 1989-05-19 1990-12-18 Canon Inc Picture information transmission system
US5420872A (en) * 1991-12-04 1995-05-30 Sharp K.K. Apparatus for concealing error in transform coding of a motion picture
JP2002537698A (en) * 1999-02-12 2002-11-05 ソニー エレクトロニクス インク Apparatus and method for restoring compression constant in encoded area
JP4796228B2 (en) * 1999-02-12 2011-10-19 ソニー エレクトロニクス インク Apparatus and method for restoring compression constant in encoding region

Also Published As

Publication number Publication date
JPH088684B2 (en) 1996-01-29

Similar Documents

Publication Publication Date Title
EP0185533B1 (en) High efficiency technique for coding a digital video signal
EP0186444B1 (en) Highly efficient coding apparatus for digital video signal
US5644305A (en) High-efficiency encoding apparatus and high-efficiency decoding apparatus
US5392037A (en) Method and apparatus for encoding and decoding
US4866510A (en) Digital video encoder
JPS62107526A (en) High efficient coding device
JPH01226274A (en) Method and system for picture compression processing
EP1420585A1 (en) Picture information converting apparatus and method thereof
JPS61144989A (en) High efficient coding device of television signal
EP0845191B1 (en) A method and apparatus for compressing digital image data
JPS61147690A (en) Highly efficient code decoding device
EP0796003B1 (en) Method and apparatus for encoding and decoding images
JPS6348088A (en) Interpolation circuit for digital image signal
EP1033885A1 (en) Encoding device and method, and decoding device and method
JPS61144990A (en) High efficient coding device of television signal
JPS62123834A (en) Coding transmission system
JP2785823B2 (en) High-efficiency television signal encoding apparatus and method, and decoding apparatus and method
JPS6292620A (en) High efficient encoder of television signal
JPS63250987A (en) Highly efficient coding device for picture signal
JPS61140289A (en) High efficient coding method of television signal
JPH0393378A (en) High efficient coding device
JPS62266989A (en) Highly efficient encoder
JPS6335092A (en) High efficiency encoder
JPS62266923A (en) High efficient coding device
JPS634782A (en) High efficient coding device

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term