JP3104384B2 - Decoding device and decoding method for block transform code - Google Patents

Decoding device and decoding method for block transform code

Info

Publication number
JP3104384B2
JP3104384B2 JP7929392A JP7929392A JP3104384B2 JP 3104384 B2 JP3104384 B2 JP 3104384B2 JP 7929392 A JP7929392 A JP 7929392A JP 7929392 A JP7929392 A JP 7929392A JP 3104384 B2 JP3104384 B2 JP 3104384B2
Authority
JP
Japan
Prior art keywords
data
block
error
decoding
error correction
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 - Fee Related
Application number
JP7929392A
Other languages
Japanese (ja)
Other versions
JPH05244578A (en
Inventor
秀雄 中屋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP7929392A priority Critical patent/JP3104384B2/en
Publication of JPH05244578A publication Critical patent/JPH05244578A/en
Application granted granted Critical
Publication of JP3104384B2 publication Critical patent/JP3104384B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】この発明は、ディジタル画像信号
を小ブロックに分割し、ブロック毎に処理することによ
ってデータ量を圧縮するブロック変換符号の復号装置、
特に、重要語がエラーの場合に良好に重要語を修整でき
る復号装置および復号方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a block conversion code decoding apparatus for compressing a data amount by dividing a digital image signal into small blocks and processing the divided blocks.
In particular, the present invention relates to a decoding device and a decoding method capable of satisfactorily modifying an important word when the important word is an error.

【0002】[0002]

【従来の技術】ディジタルビデオ信号を磁気テープ等の
記録媒体に記録する時には、その情報量が多いので、記
録/再生できる程度の伝送レイトを達成するために、高
能率符号化によって、ディジタルビデオ信号を圧縮する
のが普通である。高能率符号化としては、ディジタルビ
デオ信号を多数の小ブロックに分割し、ブロック毎に符
号化処理を行うADRC、DCT(Discrete Cosine Tr
ansform)等が知られている。ADRCは、例えば特開昭
61−144989号公報に記載されているような、2
次元ブロック内に含まれる複数画素の最大値及び最小値
により規定されるダイナミックレンジを求め、このダイ
ナミックレンジに適応した符号化を行う高能率符号化で
ある。
2. Description of the Related Art When a digital video signal is recorded on a recording medium such as a magnetic tape, the amount of information is large. Therefore, in order to achieve a transmission rate that can be recorded / reproduced, the digital video signal is encoded by a high efficiency encoding. Is usually compressed. ADRC and DCT (Discrete Cosine Trunking), which divide a digital video signal into a number of small blocks and perform coding processing for each block, are performed as high-efficiency coding.
ansform) are known. ADRC can be used, for example, as described in Japanese Patent Application Laid-Open No.
This is a high-efficiency coding that obtains a dynamic range defined by the maximum value and the minimum value of a plurality of pixels included in a dimensional block, and performs encoding adapted to the dynamic range.

【0003】ブロック変換符号化で得られる符号化出力
は、同等の重要度を有していない。ADRCでは、ダイ
ナミックレンジ情報が再生側で分からないと、そのブロ
ックの全ての画素の復号ができなくなるので、ブロック
毎に検出されるダイナミックレンジ情報は、画素毎のコ
ード信号に比して重要度が高い。DCTの場合では、D
CTで発生した係数データ中で、直流分は、交流分に比
して重要度が高い。また、DCTの場合でも、直流分に
限らず、ブロック毎の量子化ステップの情報等も重要で
ある。これらの重要度が高い符号化出力を重要語と称す
る。
The coded outputs obtained by block transform coding do not have equal importance. In the ADRC, if the dynamic range information is not known on the reproduction side, decoding of all the pixels in the block becomes impossible. Therefore, the dynamic range information detected for each block is more important than the code signal for each pixel. high. In the case of DCT, D
In the coefficient data generated by CT, the DC component has a higher importance than the AC component. Also, in the case of DCT, not only the DC component but also information of the quantization step for each block is important. These encoded outputs with high importance are referred to as important words.

【0004】[0004]

【発明が解決しようとする課題】ADRCを用いたディ
ジタルVTRでは、重要語がエラーの場合でもその値を
用いて全ての符号化出力を復号するか、または重要語が
エラーのブロックは、エラーブロックとして、周囲の復
号データでエラーブロックを修整するかしていた。何れ
の処理であっても、重要語がエラーであるブロックは、
ブロック状の歪みとなり、復元画像の劣化が目立つ問題
があった。そこで、この重要語のエラーを周辺ブロック
と注目ブロックとの空間的な相関に基づいて、統計的な
手法によって推定することも考えられるが、絵柄によっ
ては、推定の精度が低いおそれがある。DCTの場合
も、同様に空間的な相関を利用した重要語の修整がなさ
れているが、同様の問題がある。
In a digital VTR using ADRC, even if an important word is an error, all encoded outputs are decoded by using the value of the important word, or a block in which the important word is erroneous is replaced with an error block. In order to correct the error block with the surrounding decoded data. Regardless of the process, the block whose key word is an error is
There is a problem that block-shaped distortion is caused and deterioration of a restored image is conspicuous. Therefore, it is conceivable to estimate the error of the important word by a statistical method based on the spatial correlation between the peripheral block and the block of interest, but the estimation accuracy may be low depending on the picture. In the case of DCT as well, important words are modified using spatial correlation, but there is a similar problem.

【0005】従って、この発明の目的は、重要語がエラ
ーである場合に復元画像の劣化を抑えることができるブ
ロック変換符号の復号装置および復号方法を提供するこ
とにある。
SUMMARY OF THE INVENTION It is therefore an object of the present invention to provide a block transform code decoding apparatus and a decoding method capable of suppressing deterioration of a restored image when an important word is an error.

【0006】[0006]

【課題を解決するための手段】請求項1の発明は、空間
的に近接する複数の画素からなるブロック毎に、伝送情
報量を圧縮するブロック符号化がなされ、復号のための
重要度が高い第1のデータと、相対的に重要でない第2
のデータとを含む符号化データがブロック符号化によっ
て生成され、符号化データにエラー訂正符号のパリティ
が付加されて伝送データとされ、受信された伝送データ
から各画素データを復号するためのブロック変換符号の
復号装置において、伝送データのエラー訂正を行い、エ
ラーの有無を示すエラーフラグを発生するための回路
と、第1のデータがエラーの場合に、注目ブロックと近
接する周辺ブロックの復号値と、注目ブロックの符号化
値とを用いた最小自乗法によって、第1のデータを推定
するための第1のエラー修整回路と、第1のデータがエ
ラーの場合に、注目ブロックと近接する周辺ブロックの
復号値のレベルから第1のデータを推定するための第2
のエラー修整回路と、注目ブロックの符号化値から注目
ブロックの画素データのレベル分布を検出するための検
出回路と、検出に応答して第1および第2のエラー修整
回路からの出力を選択するための選択回路と、伝送デー
タが供給され、ブロック毎に正しい第1のデータあるい
は選択された第1のデータを用いて、符号化データを復
号するための復号回路とからなることを特徴とするブロ
ック変換符号の復号装置である。請求項2の発明は、空
間的に近接する複数の画素からなるブロック毎に、伝送
情報量を圧縮するブロック符号化がなされ、復号のため
の重要度が高い第1のデータと、相対的に重要でない第
2のデータとを含む符号化データがブロック符号化によ
って生成され、符号化データにエラー訂正符号のパリテ
ィが付加されて伝送データとされ、受信された伝送デー
タから各画素データを復号するためのブロック変換符号
の復号方法において、 伝送データのエラー訂正を行い、
エラーの有無を示すエラーフラグを発生する ためのステ
ップと、 第1のデータがエラーの場合に、注目ブロック
と近接する周辺ブロックの復号値と、注目ブロックの符
号化値とを用いた最小自乗法によって、第1のデータを
推定するための第1のエラー修整ステップと、 第1のデ
ータがエラーの場合に、注目ブロックと近接する周辺ブ
ロックの復号値のレベルから第1のデータを推定するた
めの第2のエラー修整ステップと、 注目ブロックの符号
化値から注目ブロックの画素データのレベル分布を検出
するための検出ステップと、 検出に応答して第1および
第2のエラー修整ステップからの出力を選択するための
選択ステップと、 伝送データが供給され、ブロック毎に
正しい第1のデータあるいは選択された第1のデータを
用いて、符号化データを復号するための復号ステップと
からなることを特徴とするブロック変換符号の復号方法
である。
According to the first aspect of the present invention, block encoding for compressing the amount of transmission information is performed for each block composed of a plurality of spatially adjacent pixels, and the degree of importance for decoding is high. The first data and the second
Is generated by block coding, and parity of an error correction code is added to the coded data to form transmission data, and block conversion for decoding each pixel data from the received transmission data In the code decoding device, a circuit for performing error correction of transmission data and generating an error flag indicating presence or absence of an error, and a decoding value of a peripheral block adjacent to the block of interest when the first data is an error. A first error correction circuit for estimating the first data by the least square method using the coded value of the block of interest, and a peripheral block adjacent to the block of interest when the first data is erroneous. For estimating the first data from the level of the decoded value of
Error correction circuit, a detection circuit for detecting the level distribution of the pixel data of the target block from the coded value of the target block, and selecting the outputs from the first and second error correction circuits in response to the detection. And a decoding circuit for supplying encoded data and decoding encoded data using the correct first data or selected first data for each block. It is a block transform code decoding device. The invention of claim 2 is empty
Transmission is performed for each block of pixels
Block coding is performed to compress the amount of information and is used for decoding
The first data with high importance and the
And the encoded data including the second data
And the parity of the error correction code is added to the encoded data.
Is added to the transmission data, and the received transmission data
Block transform code for decoding each pixel data from data
Error correction of transmission data in the decoding method of
Stearyl for generating an error flag indicating the presence or absence of an error
And-up, when the first data is in error, the target block
And the decoded value of the neighboring block
The first data is obtained by the least squares method using
A first error correction step for estimating a first de
If the data is in error, the neighboring blocks close to the block of interest
The first data is estimated from the level of the decoded value of the lock.
Second error correction step and the code of the block of interest
Detects the level distribution of pixel data of the block of interest from digitized values
A detecting step for performing the first and
To select the output from the second error correction step
The selection step and the transmission data are supplied, and the
Correct first data or selected first data
A decoding step for decoding the encoded data using
Decoding method of block transform code, characterized by comprising:
It is.

【0007】[0007]

【作用】第1のエラー修整回路と第2のエラー修整回路
を備え、復号の対象である注目ブロックのレベル分布か
ら見てより適切なエラー修整方法が選択される。このよ
うに、適応的な処理によって、推定の精度を向上でき
る。
A first error correction circuit and a second error correction circuit are provided, and a more appropriate error correction method is selected from the level distribution of a block of interest to be decoded. Thus, the accuracy of estimation can be improved by adaptive processing.

【0008】[0008]

【実施例】以下、この発明による復号装置の一実施例に
ついて説明する。図1において、1が第1のADRCの
デコーダを示し、2が遅延回路を示す。図示しないが、
磁気テープから再生され、チャンネル符号の復号がさ
れ、さらに、TBC(時間軸補正)、フレーム分解およ
びエラー訂正がされた再生データが入力スイッチS1を
介してデコーダ1および遅延回路2の一方に供給され
る。再生データには、各画素の符号化データ(コード信
号)と、ブロック毎のダイナミックレンジDRおよび最
小値MINが含まれる。また、再生データ中には、コー
ド信号のサンプル毎にエラーの有無を示すエラーフラグ
も含まれる。デコーダ1および遅遅延路2の出力側に
は、出力スイッチS2が設けられている。この発明を
(4:2:2)のコンポーネントディジタル信号に適用
する時には、輝度信号および色差信号に関してそれぞれ
図1の構成が設けられる。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the decoding device according to the present invention will be described below. In FIG. 1, 1 indicates a first ADRC decoder, and 2 indicates a delay circuit. Although not shown,
The reproduced data reproduced from the magnetic tape, the channel code is decoded, and TBC (time axis correction), frame decomposition and error correction are supplied to one of the decoder 1 and the delay circuit 2 via the input switch S1. You. The reproduction data includes encoded data (code signal) of each pixel, a dynamic range DR for each block, and a minimum value MIN. The reproduced data also includes an error flag indicating whether or not there is an error for each sample of the code signal. An output switch S2 is provided on the output side of the decoder 1 and the delay line 2. When the present invention is applied to the (4: 2: 2) component digital signal, the configuration of FIG. 1 is provided for the luminance signal and the color difference signal.

【0009】また、EF1は、重要語であるダイナミッ
クレンジDRおよび最小値MINに関するエラーフラグ
である。エラーフラグEF1は、DRおよびMINのそ
れぞれに関するエラーの有無の情報を有している。例え
ばエラー有りの時には、“1”であり、エラー無しの時
には“0”である。エラーフラグEF1が遅延回路3に
供給される。遅延回路2および3は、ADRCデコーダ
1の復号動作に必要な時間に相当する遅延量を有してい
る。入力エラーフラグEF1によって入力スイッチS1
が制御され、また、遅延エラーフラグEF2によって出
力スイッチS2が制御される。
EF1 is an error flag related to the dynamic range DR and the minimum value MIN, which are important words. The error flag EF1 has information on the presence or absence of an error regarding each of DR and MIN. For example, it is “1” when there is an error, and “0” when there is no error. The error flag EF1 is supplied to the delay circuit 3. Delay circuits 2 and 3 have a delay amount corresponding to the time required for the decoding operation of ADRC decoder 1. The input switch S1 is determined by the input error flag EF1.
Is controlled, and the output switch S2 is controlled by the delay error flag EF2.

【0010】すなわち、EF1およびEF2によって、
重要語がエラーでないことが示される時には、入力スイ
ッチS1および出力スイッチS2がADRCデコーダ1
側を選択し、その逆に重要語がエラーである時には、入
力スイッチS1および出力スイッチS2が遅延回路2側
を選択する。その結果、出力スイッチS2からは、重要
語がエラーでないブロックの復号出力と、重要語がエラ
ーであるブロックの符号化出力とが取り出される。
That is, by EF1 and EF2,
When the key word is not an error, the input switch S1 and the output switch S2 are connected to the ADRC decoder 1
When the key word is an error, the input switch S1 and the output switch S2 select the delay circuit 2 side. As a result, from the output switch S2, a decoded output of a block whose important word is not error and a coded output of a block whose important word is error are extracted.

【0011】この実施例例では、1フレームの有効領域
が(4×4)画素の大きさのブロックに分割される。記
録側に設けられたADRCエンコーダでは、各ブロック
のダイナミックレンジDRと最小値MINとが検出さ
れ、最小値が除去されたビデオデータが量子化ステップ
で再量子化される。4ビット固定長のADRCの場合で
は、ダイナミックレンジDRを1/16とすることによっ
て、量子化ステップΔが得られる。この量子化ステップ
Δで、最小値が除去されたビデオデータが除算され、商
を切り捨てにより整数化した値がコード信号とされる。
In this embodiment, the effective area of one frame is divided into blocks of (4 × 4) pixels. The ADRC encoder provided on the recording side detects the dynamic range DR and the minimum value MIN of each block, and requantizes the video data from which the minimum value has been removed in a quantization step. In the case of 4-bit fixed-length ADRC, the quantization step Δ can be obtained by setting the dynamic range DR to 1/16. In the quantization step Δ, the video data from which the minimum value has been removed is divided, and a value obtained by rounding down the quotient to an integer is used as a code signal.

【0012】図1を参照して、この発明の一実施例につ
いて再び説明する。ADRCデコーダ1から各画素の復
号値Liが得られる。この復号値Liは次式で表され
る。 Li=〔(DR/24 )×xi+MIN〕 =〔Δ×xi+MIN〕
Referring to FIG. 1, one embodiment of the present invention will be described again. The decoded value Li of each pixel is obtained from the ADRC decoder 1. This decoded value Li is represented by the following equation. Li = [(DR / 2 4 ) × xi + MIN] = [Δ × xi + MIN]

【0013】但し、xiはコード信号の値、Δは量子化
ステップ、〔 〕はガウス記号である。上式の〔 〕内
の演算を例えばROMで実現し、最小値MINの加算を
行う構成をADRCデコーダ1が有している。この式か
らも、重要語(DRおよびMIN)の上位ビットにエラ
ーがある時には、復号値の誤差が大きくなることが分か
る。出力スイッチS2の出力がメモリ4および遅延回路
5に供給される。
Here, xi is the value of the code signal, Δ is the quantization step, and [] is the Gaussian symbol. The ADRC decoder 1 has a configuration in which the operation in the parentheses in the above equation is realized by, for example, a ROM and the minimum value MIN is added. From this equation, it can also be seen that when there is an error in the upper bits of the key words (DR and MIN), the error in the decoded value increases. The output of the output switch S2 is supplied to the memory 4 and the delay circuit 5.

【0014】メモリ4は、復号しようとしている注目ブ
ロックのコード信号および注目ブロックの周囲の復号デ
ータを取り出すために設けられている。図2において、
x1〜x16は、注目ブロックの符号化値であり、注目ブ
ロックの周辺には、周辺データy1〜y16が存在する。
周辺データy1〜y16は、注目ブロックの上下左右のブ
ロックに関して、上述のように復号された値である。こ
れらの符号化データxiおよび周辺データy1〜y16が
演算回路6に供給される。
The memory 4 is provided for extracting a code signal of a target block to be decoded and decoded data around the target block. In FIG.
x1 to x16 are coded values of the target block, and peripheral data y1 to y16 exist around the target block.
The peripheral data y1 to y16 are values decoded as described above for the upper, lower, left, and right blocks of the target block. The encoded data xi and the peripheral data y1 to y16 are supplied to the arithmetic circuit 6.

【0015】演算回路6は、注目ブロックの符号化値x
iと周辺データyiを使用してエラーである重要語を推
定する第1の重要語エラー修整回路である。ここで、x
iおよびyiの中で、エラーフラグによりエラーがある
とされているものは、推定演算に使用しない。これによ
って、推定の精度が下がることを防止している。演算回
路6は、下記のように最小自乗法により重要語を推定す
る。
The arithmetic circuit 6 calculates the coded value x of the block of interest.
7 is a first important word error correction circuit for estimating an important word that is in error using i and peripheral data yi. Where x
Among i and yi, those determined to have an error by the error flag are not used for the estimation calculation. This prevents the accuracy of estimation from lowering. The arithmetic circuit 6 estimates an important word by the least square method as described below.

【0016】まず、ダイナミックレンジDRおよび最小
値MINの両者がエラーの場合 Σxiyi=x1y1+x2y2+x3y3+x4y4+・・・+x16y16 Σxi=x1+x2+x3+x4+x1+x5+x9+x13+x13+x14+x 15+x16+x4+x8+x12+x16 Σyi=y1+y2+y3+・・・+y16 Σxi2 =x1 2 +x2 2 +x3 2 +・・・+y16 2 Δ=(16Σxiyi−Σxi・Σyi)/(16Σxi2 −(Σxi)2 ) MIN=(Σyi−Σxi・Δ)/16
[0016] First, when both of the dynamic range DR and the minimum value MIN of the error Σxiyi = x1y1 + x2y2 + x3y3 + x4y4 + ··· + x16y16 Σxi = x1 + x2 + x3 + x4 + x1 + x5 + x9 + x13 + x13 + x14 + x 15 + x16 + x4 + x8 + x12 + x16 Σyi = y1 + y2 + y3 + ··· + y16 Σxi 2 = x 1 2 + x 2 2 + x 3 2 + · .. + Y 16 2 Δ = (16Σxiyi−Σxi · Σyi) / (16Σxi 2 − (Σxi) 2 ) MIN = (Σyi−Σxi · Δ) / 16

【0017】次に、ダイナミックレンジDRのみにエラ
ーが生じた場合 Δ=(Σyi−16・MIN)/Σxi さらに、最小値MINのみにエラーが生じた場合 MIN=(Σyi−Σxi・DR/24 )/16
Next, when an error occurs only in the dynamic range DR Δ = (Σyi−16 · MIN) / Σxi Further, when an error occurs only in the minimum value MIN MIN = (Σyi−Σxi · DR / 2 4) ) / 16

【0018】演算回路6は、上述の演算を行うことによ
って、ダイナミックレンジDRおよび最小値MINの推
定出力を発生する。演算回路6からのダイナミックレン
ジDR1および最小値MIN1がセレクタ7に供給され
る。演算回路6によってなされる重要語の推定は、統計
的な手法であるため、絵柄によっては、比較的大きな誤
差を生じる。推定の精度を高めるために、上述のよう
に、エラーサンプルを演算の対象から除外することに加
えて、適応処理がなされている。
The arithmetic circuit 6 generates an estimated output of the dynamic range DR and the minimum value MIN by performing the above-described arithmetic operations. The dynamic range DR1 and the minimum value MIN1 from the arithmetic circuit 6 are supplied to the selector 7. The estimation of the important words performed by the arithmetic circuit 6 is a statistical method, and therefore causes a relatively large error depending on the picture. In order to increase the accuracy of the estimation, as described above, adaptive processing is performed in addition to excluding the error samples from the calculation targets.

【0019】つまり、第2の重要語エラー修整回路が設
けられている。図1中のダイナミックレンジおよび最小
値検出回路7がこの第2の修整回路である。この回路
は、重要語がエラーの場合に、注目ブロックに隣接する
周辺データが注目ブロックと空間的な相関が強いことを
利用して、周辺データから注目ブロックの重要語を推定
している。この検出回路7には、メモリ4から周辺デー
タy1〜y16が供給される。この検出回路7には、エラ
ーフラグも供給される。
That is, a second important word error correction circuit is provided. The dynamic range and minimum value detection circuit 7 in FIG. 1 is the second modification circuit. This circuit estimates the important word of the block of interest from the surrounding data by utilizing that the peripheral data adjacent to the block of interest has a strong spatial correlation with the block of interest when the important word is an error. The peripheral data y1 to y16 are supplied from the memory 4 to the detection circuit 7. The detection circuit 7 is also supplied with an error flag.

【0020】検出回路7は、周辺データy1〜y16の中
の最大値MAX2(= max{y1〜y16})およびその
最小値MIN2(= min{y1〜y16})を検出し、最
小値MIN2およびDR2(=MAX2−MIN2)を
出力する。これらの最大値MAX2および最小値MIN
2を形成する時に、周辺データ中のエラーデータは、エ
ラーフラグを参照することによって除外される。さら
に、(DR2<0)の時は、DR2=0とし、(MIN
2<0)の時は、MIN2=0とする。検出回路7の出
力DR2および最小値MIN2がセレクタ8に供給され
る。
The detection circuit 7 detects the maximum value MAX2 (= max {y1 to y16}) and its minimum value MIN2 (= min {y1 to y16}) among the peripheral data y1 to y16, and detects the minimum value MIN2 and the minimum value MIN2. DR2 (= MAX2-MIN2) is output. These maximum value MAX2 and minimum value MIN
When forming 2, error data in the peripheral data is excluded by referring to the error flag. Further, when (DR2 <0), DR2 = 0, and (MIN
When 2 <0), MIN2 = 0. The output DR2 of the detection circuit 7 and the minimum value MIN2 are supplied to the selector 8.

【0021】セレクタ8は、注目ブロックの符号化値の
レベル分布に応じた制御信号SLで制御される。つま
り、重要語がエラーの注目ブロックがある方向に単調増
加(あるいは減少)している時には、周辺データyiの
最大値および最小値から注目ブロックの重要語を推定す
る方法が最小自乗法によるものと比してより有効であ
る。言い換えると、注目ブロックの中心付近に凸あるい
は凹がある場合は、検出回路7による推定がそれ程有効
でない。
The selector 8 is controlled by a control signal SL corresponding to the level distribution of the coded values of the block of interest. That is, when an important word monotonically increases (or decreases) in a direction in which an error block of interest is present, a method of estimating an important word of a block of interest from the maximum value and the minimum value of the surrounding data yi is based on the least square method. It is more effective. In other words, when there is a protrusion or a recess near the center of the block of interest, the estimation by the detection circuit 7 is not so effective.

【0022】この注目ブロックの単調増加(あるいは単
調減少)を検出する方法としては種々あるが、ここで
は、比較的簡単なものを採用している。つまり、図2に
示すように、注目ブロックのデータを破線を境界とし
て、中央部のデータ(x6、x7、x10、x11)と周辺
部のデータ(x1、x2、x3、x4、x5、x8、x
9、x12、x13、x14、x15、x15)とに分割し、周辺
部のデータ中に注目ブロックの最大値および最小値が共
に存在したとき、逆に言えば、中央部のデータに最大値
および最小値の何れも存在しないときは、単調増加(あ
るいは減少)であると判断する。
There are various methods for detecting the monotone increase (or monotone decrease) of the block of interest. Here, a relatively simple method is employed. In other words, as shown in FIG. 2, the data of the target block is set to the data of the central part (x6, x7, x10, x11) and the data of the peripheral part (x1, x2, x3, x4, x5, x8, x
9, x12, x13, x14, x15, x15), and when both the maximum value and the minimum value of the block of interest exist in the data of the peripheral portion, conversely, the maximum value and If none of the minimum values exists, it is determined that the value is monotonically increasing (or decreasing).

【0023】この判断を行うために、この例では、最大
値検出回路9、10と最小値検出回路11と比較回路1
2、13とANDゲート14とが設けられている。最大
値検出回路9は、注目ブロックの全ての符号化値xiの
中の最大値を検出する。最大値検出回路10は、注目ブ
ロックの上述の周辺部の符号化値の中の最大値を検出す
る。これらの検出回路9および10の出力が比較回路1
2に供給される。比較回路12は、一致検出を行うもの
で、若し、これら検出された二つの最大値が等しいなら
ば、注目ブロックの最大値が周辺部に存在していると判
断し、“1”の出力が比較回路12から発生する。
In order to make this determination, in this example, the maximum value detection circuits 9 and 10, the minimum value detection circuit 11, and the comparison circuit 1
2, 13 and an AND gate 14 are provided. The maximum value detection circuit 9 detects the maximum value among all the coded values xi of the block of interest. The maximum value detection circuit 10 detects the maximum value among the above-described encoded values of the peripheral portion of the target block. The outputs of these detection circuits 9 and 10 are
2 is supplied. The comparison circuit 12 performs match detection. If the two detected maximum values are equal, the comparison circuit 12 determines that the maximum value of the target block exists in the peripheral portion, and outputs "1". Is generated from the comparison circuit 12.

【0024】最小値検出回路11は、注目ブロックの周
辺データの中の最小値を検出する。検出された最小値が
比較回路13に供給される。比較回路13には、ゼロデ
ータが供給されており、最小値がゼロの時に、注目ブロ
ックの最小値が周辺部に存在していると判断し、“1”
の出力が比較回路13から発生する。比較回路12およ
び13の出力がANDゲート14に供給される。AND
ゲート14からセレクタ8の制御信号SLが発生する。
この制御信号SLは、注目ブロックの周辺部に最大値お
よび最小値が存在する時に“1”となる。
The minimum value detection circuit 11 detects the minimum value in the peripheral data of the target block. The detected minimum value is supplied to the comparison circuit 13. Zero data is supplied to the comparison circuit 13. When the minimum value is zero, it is determined that the minimum value of the target block exists in the peripheral portion, and "1" is determined.
Is output from the comparison circuit 13. The outputs of the comparison circuits 12 and 13 are supplied to an AND gate 14. AND
The gate 14 generates a control signal SL for the selector 8.
This control signal SL becomes “1” when the maximum value and the minimum value exist in the peripheral portion of the target block.

【0025】セレクタ8は、“1”の制御信号SLによ
って検出回路7からのダイナミックレンジDR2および
最小値MIN2を選択し、これが“0”の時に、演算回
路6からのダイナミックレンジDR1および最小値MI
N1を選択する。すなわち、注目ブロックの周辺部に最
大値および最小値が存在する時には、そのレベル変化が
単調変化であると判断し、検出回路7の出力DR2およ
びMIN2が選択される。
The selector 8 selects the dynamic range DR2 and the minimum value MIN2 from the detection circuit 7 according to the control signal SL of "1". When this is "0", the dynamic range DR1 and the minimum value MI of the arithmetic circuit 6 are selected.
Select N1. That is, when the maximum value and the minimum value exist in the peripheral portion of the target block, it is determined that the level change is a monotonous change, and the outputs DR2 and MIN2 of the detection circuit 7 are selected.

【0026】セレクタ8からの重要語が補正回路15を
介して第2のADRCデコーダ16に供給される。補正
回路15には、重要語に関するエラーフラグEF3が供
給される。このエラーフラグEF3は、エラーフラグE
F2をタイミング調整用の遅延回路17を介したもので
ある。補正回路15からの重要語と遅延回路5からのコ
ード信号とがADRCデコーダ16に供給される。この
ADRCデコーダ16からは、各画素の復号データとそ
のエラーフラグとが得られる。
An important word from the selector 8 is supplied to a second ADRC decoder 16 via a correction circuit 15. The error flag EF3 relating to the important word is supplied to the correction circuit 15. This error flag EF3 is
F2 is via a delay circuit 17 for timing adjustment. The important word from the correction circuit 15 and the code signal from the delay circuit 5 are supplied to the ADRC decoder 16. From the ADRC decoder 16, decoded data of each pixel and its error flag are obtained.

【0027】このADRCデコーダ16の復号出力がス
イッチ回路S3の入力端子aに供給される。スイッチ回
路S3の他の入力端子bには、遅延回路5の出力が遅延
回路18を介して供給される。スイッチ回路S3は、重
要語のエラーフラグEF3で制御され、これから復号出
力DECが取り出される。遅延回路5の出力は、出力ス
イッチS2の出力であって、重要語がエラーでないブロ
ックに関してのADRCデコーダ1の復号出力と、これ
がエラーのブロックに関しての符号化出力とが混在する
データである。スイッチ回路S3によって、重要語がエ
ラーのブロックの符号化出力がADRCデコーダ16か
らの復号出力に置き換えられる。復号出力DECは、図
示しないが、次段でエラーである復号データを修整する
エラー修整、ブロック分解等の処理を受ける。
The decoded output of the ADRC decoder 16 is supplied to the input terminal a of the switch circuit S3. The output of the delay circuit 5 is supplied to the other input terminal b of the switch circuit S3 via the delay circuit 18. The switch circuit S3 is controlled by an important word error flag EF3, from which a decoded output DEC is extracted. The output of the delay circuit 5 is the output of the output switch S2, which is data in which the decoded output of the ADRC decoder 1 for the block in which the important word is not error and the encoded output of the block for the error block are mixed. The switch circuit S3 replaces the encoded output of the block in which the important word is in error with the decoded output from the ADRC decoder 16. Although not shown, the decoded output DEC undergoes processing such as error correction for correcting decoded data in error at the next stage, block decomposition, and the like.

【0028】補正回路15は、重要語の推定の精度をよ
り向上するために設けられており、図3に示す構成を有
している。21は、後述のように形成された補正量Cを
DR1あるいはDR2、またはMIN1あるいはMIN
2に対して減算することで、補正を行う補正回路であ
る。加算回路22は、二つの重要語の値を加算し、その
加算出力が減算回路23に供給され、加算結果から25
5が減算される。減算回路23の出力SAが補正値生成
回路24および比較回路25に供給される。
The correction circuit 15 is provided to further improve the accuracy of the estimation of the important word, and has a configuration shown in FIG. Reference numeral 21 denotes a correction amount C formed as described later, which is DR1 or DR2, or MIN1 or MIN.
This is a correction circuit that performs correction by subtracting from 2. The addition circuit 22 adds the values of the two important words, and the addition output is supplied to the subtraction circuit 23, and the addition result is calculated based on the addition result.
5 is subtracted. The output SA of the subtraction circuit 23 is supplied to the correction value generation circuit 24 and the comparison circuit 25.

【0029】この補正回路15は、8ビットの量子化の
場合に、加算回路22により求められたダイナミックレ
ンジおよび最小値の和が255以下であるべきことを利
用している。加算回路22の出力から255が減算され
た減算結果SAが比較回路25でしきい値TH(例えば
0データ)と比較され、減算結果SAが0以下であるこ
とが比較回路25で検出される。このように、減算結果
SAが0以下の時にのみ、補正値生成回路24が補正値
Cを発生する。補正値生成回路24には、重要語のエラ
ーの有無を示すエラーフラグEF3が与えられている。
The correction circuit 15 utilizes that the sum of the dynamic range and the minimum value obtained by the addition circuit 22 should be 255 or less in the case of 8-bit quantization. The subtraction result SA obtained by subtracting 255 from the output of the addition circuit 22 is compared with a threshold value TH (for example, 0 data) by the comparison circuit 25, and the comparison circuit 25 detects that the subtraction result SA is 0 or less. As described above, the correction value generation circuit 24 generates the correction value C only when the subtraction result SA is 0 or less. The correction value generation circuit 24 is provided with an error flag EF3 indicating the presence or absence of an important word error.

【0030】補正回路15においては、補正値生成回路
21によって発生した補正値Cによって、入力重要語が
下記のように補正される。ここで、DR、MINは、D
R1あるいはDR2、MIN1あるいはMIN2をそれ
ぞれ意味する。DR、MINの両者がエラーの場合に
は、C=(MIN+DR−255)/2であり、DR−
C、MIN−Cの補正がなされる。DRのみがエラーの
場合には、C=MIN+DR−255であり、DR−C
で補正がなされ、MINに対しての補正は不要である。
MINのみがエラーの場合には、C=MIN+DR−2
55であり、DR−Cで補正がなされ、DRに対しての
補正は不要である。DRおよびMINの両者が正しい場
合には、(DR+MIN)−255≦0の条件を満足す
るのが普通であり、重要語に対する補正がされない(C
=0とされる)。
In the correction circuit 15, the input important word is corrected as follows by the correction value C generated by the correction value generation circuit 21. Here, DR and MIN are D
R1 or DR2, MIN1 or MIN2, respectively. If both DR and MIN have an error, C = (MIN + DR-255) / 2, and DR-
C and MIN-C are corrected. If only DR is in error, C = MIN + DR-255, and DR-C
, And no correction for MIN is required.
If only MIN has an error, C = MIN + DR-2
55, the correction is performed by DR-C, and the correction for DR is unnecessary. If both DR and MIN are correct, it is normal to satisfy the condition of (DR + MIN) -255 ≦ 0, and no correction is made for the key word (C
= 0).

【0031】[0031]

【発明の効果】この発明は、重要語がエラーのブロック
に関しては、そのブロックの重要語を推定する時に、そ
のブロックの符号化値の分布に適応して、重要語の推定
処理を異ならせるので、推定の精度を向上できる。従っ
て、絵柄によって推定の精度が左右されることがなく、
良好な復元画像が得られる。
According to the present invention, for a block in which an important word is erroneous, when estimating the important word of the block, the estimation process of the important word is changed in accordance with the distribution of the coded values of the block. , The accuracy of the estimation can be improved. Therefore, the accuracy of the estimation is not affected by the pattern,
A good restored image is obtained.

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

【図1】この発明の一実施例における重要語の処理回路
の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of an important word processing circuit according to an embodiment of the present invention.

【図2】重要語の推定処理に使用するデータの説明のた
めの略線図である。
FIG. 2 is a schematic diagram for explaining data used for an important word estimation process.

【図3】この発明の一実施例内の補正回路の一例のブロ
ック図である。
FIG. 3 is a block diagram of an example of a correction circuit in one embodiment of the present invention.

【符号の説明】[Explanation of symbols]

1、16 ADRCデコーダ 4 周辺データを取り出すためのメモリ 6 最小自乗法によって重要語を推定する演算回路 7 周辺データの最大値および最小値から重要語を推定
する検出回路 8 セレクタ
1, 16 ADRC decoder 4 Memory for extracting peripheral data 6 Arithmetic circuit for estimating important words by least square method 7 Detection circuit for estimating important words from maximum and minimum values of peripheral data 8 Selector

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 空間的に近接する複数の画素からなるブ
ロック毎に、伝送情報量を圧縮するブロック符号化がな
され、復号のための重要度が高い第1のデータと、相対
的に重要でない第2のデータとを含む符号化データが上
記ブロック符号化によって生成され、上記符号化データ
にエラー訂正符号のパリティが付加されて伝送データと
され、受信された上記伝送データから各画素データを復
号するためのブロック変換符号の復号装置において、 上記伝送データのエラー訂正を行い、エラーの有無を示
すエラーフラグを発生するための手段と、 上記第1のデータがエラーの場合に、注目ブロックと近
接する周辺ブロックの復号値と、上記注目ブロックの符
号化値とを用いた最小自乗法によって、上記第1のデー
タを推定するための第1のエラー修整手段と、 上記第1のデータがエラーの場合に、注目ブロックと近
接する周辺ブロックの復号値のレベルから上記第1のデ
ータを推定するための第2のエラー修整手段と、 上記注目ブロックの符号化値から上記注目ブロックの画
素データのレベル分布を検出するための検出手段と、 上記検出に応答して上記第1および第2のエラー修整手
段からの出力を選択するための選択手段と、 上記伝送データが供給され、上記ブロック毎に正しい上
記第1のデータあるいは上記選択された第1のデータを
用いて、上記符号化データを復号するための復号手段と
からなることを特徴とするブロック変換符号の復号装
置。
1. Block coding for compressing a transmission information amount is performed for each block including a plurality of pixels spatially close to each other, and first data having high importance for decoding and relatively insignificant data And coded data including second data is generated by the block coding, parity of an error correction code is added to the coded data to form transmission data, and each pixel data is decoded from the received transmission data. Means for performing error correction on the transmission data and generating an error flag indicating presence / absence of an error, when the first data is an error, A first error for estimating the first data by a least square method using a decoded value of a peripheral block to be changed and an encoded value of the block of interest. Correction means; second error correction means for estimating the first data from a decoded value level of a neighboring block adjacent to the target block when the first data is an error; Detecting means for detecting a level distribution of pixel data of the block of interest from an encoded value; selecting means for selecting an output from the first and second error correcting means in response to the detection; A block to which the transmission data is supplied and decoding means for decoding the coded data by using the correct first data or the selected first data for each block. Decoding device for transform code.
【請求項2】 空間的に近接する複数の画素からなるブ2. A block comprising a plurality of spatially adjacent pixels.
ロック毎に、伝送情報量を圧縮するブロック符号化がなFor each lock, there is no block coding to compress the amount of transmitted information.
され、復号のための重要度が高い第1のデータと、相対And the first data, which is important for decoding,
的に重要でない第2のデータとを含む符号化データが上Encoded data including second data that is not
記ブロック符号化によって生成され、上記符号化データThe encoded data generated by the block encoding
にエラー訂正符号のパリティが付加されて伝送データとThe parity of the error correction code is added to the
され、受信された上記伝送データから各画素データを復And restores each pixel data from the received transmission data.
号するためのブロック変換符号の復号方法において、In a method for decoding a block transform code for decoding, 上記伝送データのエラー訂正を行い、エラーの有無を示Performs error correction on the above transmission data and indicates whether there is an error.
すエラーフラグを発生Generate error flag するためのステップと、Steps to 上記第1のデータがエラーの場合に、注目ブロックと近When the first data is an error, the first data
接する周辺ブロックの復号値と、上記注目ブロックの符The decoded value of the neighboring block that is in contact with the
号化値とを用いた最小自乗法によって、上記第1のデーThe first data by the least squares method using the
タを推定するための第1のエラー修整ステップと、A first error correction step for estimating the 上記第1のデータがエラーの場合に、注目ブロックと近When the first data is an error, the first data
接する周辺ブロックの復号値のレベルから上記第1のデFrom the level of the decoded value of the neighboring block in contact, the first
ータを推定するための第2のエラー修整ステップと、A second error correction step for estimating the data; 上記注目ブロックの符号化値から上記注目ブロックの画From the coded value of the noted block,
素データのレベル分布を検出するための検出ステップDetection step for detecting the level distribution of elementary data
と、When, 上記検出に応答して上記第1および第2のエラー修整スThe first and second error correction scans are responsive to the detection.
テップからの出力を選択するための選択ステップと、A selection step for selecting the output from the step; 上記伝送データが供給され、上記ブロック毎に正しい上The transmission data is supplied, and the
記第1のデータあるいは上記選択された第1のデータをThe first data or the selected first data is
用いて、上記符号化データを復号するための復号ステッAnd a decoding step for decoding the encoded data.
プとからなることを特徴とするブロック変換符号の復号Decoding of a block transform code, comprising:
方法。Method.
JP7929392A 1992-02-28 1992-02-28 Decoding device and decoding method for block transform code Expired - Fee Related JP3104384B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7929392A JP3104384B2 (en) 1992-02-28 1992-02-28 Decoding device and decoding method for block transform code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7929392A JP3104384B2 (en) 1992-02-28 1992-02-28 Decoding device and decoding method for block transform code

Publications (2)

Publication Number Publication Date
JPH05244578A JPH05244578A (en) 1993-09-21
JP3104384B2 true JP3104384B2 (en) 2000-10-30

Family

ID=13685808

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7929392A Expired - Fee Related JP3104384B2 (en) 1992-02-28 1992-02-28 Decoding device and decoding method for block transform code

Country Status (1)

Country Link
JP (1) JP3104384B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3089160B2 (en) * 1994-05-20 2000-09-18 シャープ株式会社 Digital recording and playback device

Also Published As

Publication number Publication date
JPH05244578A (en) 1993-09-21

Similar Documents

Publication Publication Date Title
KR100391027B1 (en) A method and apparatus for predictive encoding of video information
US4689671A (en) Coding apparatus for moving object image
US5070402A (en) Encoding image information transmission apparatus
JPS62107526A (en) High efficient coding device
JPH0353780A (en) High efficiency coding device
US6748114B1 (en) Moving picture encoding method and moving picture encoding apparatus
JP3104384B2 (en) Decoding device and decoding method for block transform code
JP2841362B2 (en) High efficiency coding device
JP3870428B2 (en) Image information conversion apparatus and method, and coefficient data generation apparatus and method
JPH0353778A (en) High efficiency coding device
JP3304415B2 (en) Decoding device for block transform code
US6266372B1 (en) Apparatus for image reproduction using motion estimation
JPH07107484A (en) Picture transmitter
EP0318244B1 (en) Image information transmission apparatus
JP3834880B2 (en) Information signal encoding apparatus, encoding method, and information signal decoding method
JP3759413B2 (en) Receiving apparatus and receiving method for block transform encoded data
JPH05207442A (en) Coder for animation signal
JP2844861B2 (en) Highly efficient image signal encoding apparatus and encoding method
JPH0686247A (en) Receiver/reproducer for digital picture signal
JP3627256B2 (en) Apparatus and method for receiving / reproducing digital image signal
JP2832976B2 (en) Adaptive coding device
JP3831955B2 (en) Class classification adaptive processing apparatus and method
JP3225667B2 (en) Digital signal quantizer
JPH10210480A (en) Dynamic image coding system
JPH05244559A (en) Decoder for block conversion code

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080901

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090901

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees