JP3469597B2 - Decoding device for block transform code - Google Patents

Decoding device for block transform code

Info

Publication number
JP3469597B2
JP3469597B2 JP24569992A JP24569992A JP3469597B2 JP 3469597 B2 JP3469597 B2 JP 3469597B2 JP 24569992 A JP24569992 A JP 24569992A JP 24569992 A JP24569992 A JP 24569992A JP 3469597 B2 JP3469597 B2 JP 3469597B2
Authority
JP
Japan
Prior art keywords
block
error
decoded
value
important word
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
JP24569992A
Other languages
Japanese (ja)
Other versions
JPH0670298A (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 JP24569992A priority Critical patent/JP3469597B2/en
Publication of JPH0670298A publication Critical patent/JPH0670298A/en
Application granted granted Critical
Publication of JP3469597B2 publication Critical patent/JP3469597B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Error Detection And Correction (AREA)

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 device for compressing a data amount by dividing a digital image signal into small blocks and processing each block.
In particular, the present invention relates to a decoding device that can satisfactorily correct important words when the important words are errors.

【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 at which recording / reproduction can be performed, the digital video signal is encoded by high efficiency encoding. Is usually compressed. For high-efficiency coding, a digital video signal is divided into a large number of small blocks, and ADRC and DCT (Discrete Cosine Tr
ansform) etc. are known. ADRC is disclosed in Japanese Patent Application Laid-Open No. 61-144989, for example.
This is a high-efficiency coding in which a dynamic range defined by the maximum value and the minimum value of a plurality of pixels included in a dimensional block is obtained, and the coding adapted to this dynamic range is performed.

【0003】ブロック変換符号化で得られる符号化出力
は、同等の重要度を有していない。ADRCでは、ダイ
ナミックレンジ情報が再生側で分からないと、そのブロ
ックの全ての画素の復号ができなくなるので、ブロック
毎に検出されるダイナミックレンジ情報は、画素毎のコ
ード信号に比して重要度が高い。重要度が高い符号化出
力を重要語と称する。
The coded output obtained by block transform coding is not of equal importance. In ADRC, unless the dynamic range information is known on the reproducing side, all pixels in the block cannot be decoded. Therefore, the dynamic range information detected for each block is more important than the code signal for each pixel. high. The importance degree of high coding output referred to as the important word.

【0004】[0004]

【発明が解決しようとする課題】ADRCを用いたディ
ジタルVTRでは、重要語がエラーの場合でもその値を
用いて全ての符号化出力を復号するか、または重要語が
エラーのブロックは、エラーブロックとして、周囲の復
号データでエラーブロックを修整するかしていた。何れ
の処理であっても、重要語がエラーであるブロックは、
ブロック状の歪みとなり、復元画像の劣化が目立つ問題
があった。
In a digital VTR using ADRC, even if an important word is in error, its value is used to decode all encoded outputs, or a block in which the important word is in error is an error block. As a result, the error block was corrected by the surrounding decoded data. In any process, the block in which the important word is an error is
There is a problem that the distortion of the restored image is noticeable due to the block-shaped distortion.

【0005】そこで、この重要語のエラーを周辺ブロッ
クと注目ブロックとの空間的な相関に基づいて、例えば
最小自乗法によって推定することが提案されている。こ
の推定の手法は、ブロック内に鋭いエッジが含まれるよ
うな絵柄の場合には、推定の精度が低いおそれがある。
また、周辺のブロックの注目ブロックと隣接する境界デ
ータを使用して、重要語を推定する方法も提案されてい
る。しかしながら、注目ブロックのレベル分布が凸ある
いは凹の場合には、やはり推定の精度が低下する。DC
Tを使用する場合の重要語の推定に関しても、同様の問
題がある。
Therefore, it has been proposed to estimate the error of this important word based on the spatial correlation between the peripheral block and the block of interest, for example, by the method of least squares. This estimation method may have low estimation accuracy in the case of a picture in which a block includes a sharp edge.
Also, a method of estimating an important word by using boundary data adjacent to a target block of a peripheral block has been proposed. However, if the level distribution of the block of interest is convex or concave, the accuracy of estimation also deteriorates. DC
There is a similar problem regarding the estimation of important words when using T.

【0006】従って、この発明の目的は、2種類の重要
語の修整回路を用意し、より精度が高い修整回路の出力
を使用した復号結果を選択し、それによって、重要語が
エラーである場合に復元画像の劣化を抑えることができ
るブロック変換符号の復号装置を提供することにある。
Therefore, an object of the present invention is to prepare a modification circuit for two types of important words and select a decoding result using the output of the modification circuit with higher accuracy, so that when the important word is an error. Another object of the present invention is to provide a block transform code decoding device capable of suppressing deterioration of a restored image.

【0007】[0007]

【課題を解決するための手段】この発明は、空間的に近
接する複数の画素からなるブロック内の画素データが最
小値または最大値によって正規化され、正規化された値
がダイナミックレンジに適応して量子化されるブロック
符号化によって生成され、復号のための重要度が高い
大値、最小値およびダイナミックレンジの内の二つのデ
ータである重要語と、相対的に重要でない画素データと
を含む伝送データから各画素データを復号するブロック
変換符号の復号装置において、伝送データの重要語およ
び画素データのエラーの有無それぞれ検出するための
エラー検出手段と、重要語がエラーの場合に、周辺ブロ
ック内の注目ブロックに近接する複数の復号値であって
エラー検出手段で検出されたエラー画素データ以外の
号値と、注目ブロック内の複数の画素データの符号化値
であってエラー検出手段で検出されたエラー画素データ
以外の符号化値とを用いた最小自乗法によって、重要語
を推定する第1のエラー修整手段と、重要語がエラーの
場合に、周辺ブロック内の注目ブロックと近接する複数
の復号値であってエラー検出手段で検出されたエラー画
素データ以外の復号値のレベルから重要語を推定する第
2のエラー修整手段と、第1のエラー修整手段からの
要語により復号された注目ブロック内の周辺部の複数の
復号値と、周辺ブロック内の注目ブロックと近接する複
数の復号値との相関を検出するための第1の検出手段
と、第2のエラー修整手段からの重要語により復号され
た注目ブロック内の周辺部の複数の復号値と、周辺ブロ
ック内の注目ブロックと近接する複数の復号値との相関
を検出するための第2の検出手段と、第1および第2の
検出手段の検出出力が供給され、より相関が強いと検出
された方の復号値を選択するための手段とからなるブロ
ック変換符号の復号装置である。
According to the present invention, pixel data in a block composed of a plurality of pixels spatially adjacent to each other is normalized by a minimum value or a maximum value, and the normalized value is adapted to a dynamic range. Te generated by the block coding to be quantized, high importance for decoding top
The maximum, minimum, and dynamic range
And key words is over data, in the decoding device of block transform coding to decode the pixel data from the transmission data including the relatively insignificant pixel data, Oyo important word of the transmitted data
And error detection means for detecting the presence or absence of an error of the fine pixel data, respectively, important words in the case of error, around Bro
Multiple decoded values close to the block of interest in
And recovery <br/> No. value other than error pixel data detected by the error detection means, the encoding value of a plurality of pixel data in the target block
And the error pixel data detected by the error detection means
A first error correction means for estimating a key word by a least squares method using coded values other than, and a plurality of blocks adjacent to a block of interest in a peripheral block when the key word is an error.
Error value detected by error detection means that is the decoded value of
The second error correction means for estimating the important word from the level of the decoded value other than the raw data and the overlap from the first error correction means
A first detection unit for detecting a correlation between a plurality of decoded values of a peripheral portion in the target block decoded by the key word and a plurality of decoded values adjacent to the target block in the peripheral block ; a plurality of decoding values of the peripheral portion of the decoded target block by key words from the error concealment unit, peripheral Bro
Second detection means for detecting the correlation between the target block in the clock and a plurality of adjacent decoded values, and the detection outputs of the first and second detection means are supplied, and it is detected that the correlation is stronger. It is a decoding device for a block conversion code, which comprises a means for selecting the other decoded value.

【0008】[0008]

【作用】第1の重要語推定およびADRC回路と第2の
重要語推定およびADRC復号回路を備え、それぞれの
復号値の中の周辺部のものを周辺のブロックの境界復号
値と比較し、ブロック間の連続性を検出する。より連続
性が保たれる側の復号値を選択する。
A first important word estimating and ADRC circuit and a second important word estimating and ADRC decoding circuit are provided, and peripheral portions of respective decoded values are compared with boundary decoded values of peripheral blocks, Detect continuity between. The decoded value on the side that maintains more continuity is selected.

【0009】[0009]

【実施例】以下、この発明による復号装置の一実施例に
ついて説明する。図1において、1が入力端子である。
入力端子1には、磁気テープから再生されたデータが供
給される。2は、再生回路およびエラー訂正回路であ
る。この回路2には、チャンネル符号の復号回路、TB
C(時間軸補正)等を含む再生回路とエラー検出、エラ
ー訂正のためのエラー訂正回路が含まれる。再生回路お
よびエラー訂正回路2の出力信号(再生データおよびエ
ラーフラグ)がADRC復号回路3に供給される。エラ
ーフラグは、DR、MINおよび画素データのそれぞれ
に関するエラーの有無の情報を有している。例えばエラ
ー有りの時には、“1”であり、エラー無しの時には
“0”である。エラーフラグの伝送経路は、図中で破線
で示す。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the decoding device according to the present invention will be described below. In FIG. 1, 1 is an input terminal.
The data reproduced from the magnetic tape is supplied to the input terminal 1. Reference numeral 2 is a reproduction circuit and an error correction circuit. The circuit 2 includes a channel code decoding circuit, TB
A reproduction circuit including C (time axis correction) and the like, and an error correction circuit for error detection and error correction are included. The output signals (reproduced data and error flag) of the reproduction circuit and error correction circuit 2 are supplied to the ADRC decoding circuit 3. The error flag has information on the presence / absence of an error regarding each of DR, MIN, and pixel data. For example, it is "1" when there is an error and "0" when there is no error. The transmission path of the error flag is indicated by a broken line in the figure.

【0010】ADRC復号回路3は、重要語(すなわ
ち、ダイナミックレンジDRおよび最小値MIN)がエ
ラーでないブロックに関して、ADRCの復号を行う。
重要語であるダイナミックレンジDRあるいは最小値M
INがエラーのブロックの場合には、復号がされない
で、符号化データがそのまま後段へ出力される。ADR
C復号回路3の出力信号がメモリ4および7、重要語推
定およびADRC復号回路5および6に供給される。
The ADRC decoding circuit 3 performs ADRC decoding on a block in which an important word (that is, the dynamic range DR and the minimum value MIN) is not in error.
Dynamic range DR or minimum value M, which is an important word
If IN is an error block, it is not decoded and the encoded data is output as it is to the subsequent stage. ADR
The output signal of the C decoding circuit 3 is supplied to the memories 4 and 7, the important word estimation and ADRC decoding circuits 5 and 6.

【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 each having a size 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,
The video data from which the minimum value has been removed is requantized in the 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. With this quantization step Δ,
The video data from which the minimum value has been removed is divided, and the value obtained by converting the quotient into an integer is used as the code signal.

【0012】ADRC復号は、ブロック毎に符号化値x
iから各画素の復号値Liを形成する。この復号値Li
は次式で表される。 Li=〔(DR/24 )×xi+MIN〕 =〔Δ×xi+MIN〕 但し、xiは符号化値、Δは量子化ステップ幅、〔 〕
はガウス記号である。上式の〔 〕内の演算を例えばR
OMで実現し、最小値MINの加算を行う構成を復号回
路が有している。
In ADRC decoding, a coded value x is calculated for each block.
The decoded value Li of each pixel is formed from i. This decrypted value Li
Is expressed by the following equation. Li = [(DR / 2 4 ) × xi + MIN] = [Δ × xi + MIN] where xi is a coded value, Δ is a quantization step width, []
Is the Gaussian symbol. For example, the operation in [] of the above equation is R
The decoding circuit has a configuration realized by OM and performing addition of the minimum value MIN.

【0013】メモリ4は、重要語がエラーでない注目ブ
ロックに関して、ADRC復号回路3によって復号され
た結果およびエラーフラグを蓄える。メモリ7は、注目
ブロックの周辺ブロックの復号値およびエラーフラグを
蓄える。図2において、x1〜x16は、注目ブロックの
符号化値であり、注目ブロックの周辺ブロックには、境
界データy1〜y16が存在する。境界データy1〜y16
は、注目ブロックの上下左右のブロックに関して、上述
のように復号された値である。
The memory 4 stores the result decoded by the ADRC decoding circuit 3 and the error flag for the block of interest whose important word is not an error. The memory 7 stores the decoded value and error flag of the peripheral block of the target block. In FIG. 2, x1 to x16 are coded values of the target block, and boundary data y1 to y16 exist in the peripheral blocks of the target block. Boundary data y1 to y16
Is the value decoded as described above for the blocks above, below, to the left and to the right of the block of interest.

【0014】重要語推定およびADRC復号回路5は、
これらの符号化データxiおよび境界データy1〜y16
を使用して、最小自乗法により重要語を推定し、推定さ
れた重要語で復号を行う。重要語推定およびADRC復
号回路6は、境界データy1〜y16を注目ブロックの復
号値とみなして、重要語を推定し、推定された重要語で
復号を行う。これら二つの重要語の推定において、推定
の精度の低下を防止するために、エラーフラグで示され
るエラーデータが使用されない。
The important word estimation and ADRC decoding circuit 5 is
These encoded data xi and boundary data y1 to y16
Is used to estimate important words by the method of least squares, and the estimated important words are decoded. The important word estimation and ADRC decoding circuit 6 regards the boundary data y1 to y16 as the decoded values of the target block, estimates the important word, and performs decoding with the estimated important word. In the estimation of these two important words, the error data indicated by the error flag is not used in order to prevent the estimation accuracy from deteriorating.

【0015】最小自乗法による重要語の推定について説
明する。図2は、注目ブロックBL0とその周辺のブロ
ックBL1〜BL4を示す。ブロックの大きさは、例え
ば(4×4)である。注目ブロックBL0は、これから
復号しようとするブロックであり、その中の各画素の符
号化値をx1〜x16で示す。注目ブロックBL0の上側
の隣接ブロックBL1の境界に近い4個の画素の復号値
をy´1〜y´4で示す。注目ブロックBL0の左側の
隣接ブロックBL3の境界に近い4個の画素の復号値を
y´5〜y´8で示す。同様に、下側および右側の隣接
ブロックの境界に近い画素の復号値をy´9〜y´16で
それぞれ示す。
The estimation of important words by the method of least squares will be described. FIG. 2 shows a block of interest BL0 and blocks BL1 to BL4 around it. The block size is (4 × 4), for example. The block of interest BL0 is a block to be decoded from now on, and the coded value of each pixel therein is shown by x1 to x16. Decoded values of four pixels near the boundary of the adjacent block BL1 on the upper side of the block of interest BL0 are indicated by y'1 to y'4. Decoded values of four pixels near the boundary of the adjacent block BL3 on the left side of the block of interest BL0 are indicated by y'5 to y'8. Similarly, the decoded values of the pixels near the boundaries of the lower and right adjacent blocks are indicated by y'9 to y'16, respectively.

【0016】まず、ダイナミックレンジDRおよび最小
値MINの両者がエラーの場合 Σxy=x1y´1+x2y´2+x3y´3+x4y
´4+・・・+x16y´16 Σx=x1+x2+x3+x4+x1+x5+x9+x
13+x13+x14+x15+x16+x4+x8+x12+x16 Σy=y´1+y´2+y´3+・・・+y´16 Σx2 =x1 2 +x2 2 +x3 2 +・・・+x16 2 量子化ステップ幅Δは、 Δ=(16Σxy−Σx・Σy)/(16Σx2 −(Σx)2 ) MIN=(Σy−Σx・Δ)/16
First, when both the dynamic range DR and the minimum value MIN are in error, Σxy = x1y'1 + x2y'2 + x3y'3 + x4y
'4 + ... + x16y'16 Σx = x1 + x2 + x3 + x4 + x1 + x5 + x9 + x
13 + x13 + x14 + x15 + x16 + x4 + x8 + x12 + x16 Σy = y′1 + y′2 + y′3 + ... + y′16 Σx 2 = x 1 2 + x 2 2 + x 3 2 + ... + x 16 2 Quantization step width Δ is Δ = (16Σxy−Σx · Σy ) / (16Σx 2 − (Σx) 2 ) MIN = (Σy−Σx · Δ) / 16

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

【0018】上述のように推定された重要語を用いて注
目ブロックに関してADRC復号がなされる。最小自乗
法による推定は、統計的な手法であるため、絵柄によっ
ては、比較的大きな誤差を生じる。推定の精度を高める
ために、上述のように、エラーサンプルを演算の対象か
ら除外することに加えて、適応処理がなされている。つ
まり、他の重要語推定およびADRC復号回路6が設け
られている。この回路6は、重要語がエラーの場合に、
注目ブロックに隣接する周辺データが注目ブロックと空
間的な相関が強いことを利用して、周辺データから注目
ブロックの重要語を推定し、推定された重要語でADR
C復号を行う。
ADRC decoding is performed on the block of interest using the important word estimated as described above. Since the estimation by the least square method is a statistical method, a relatively large error occurs depending on the pattern. In order to improve the accuracy of estimation, as described above, in addition to excluding the error sample from the calculation target, adaptive processing is performed. That is, another important word estimation and ADRC decoding circuit 6 is provided. This circuit 6 is used when an important word is an error.
Utilizing the fact that the peripheral data adjacent to the block of interest has a strong spatial correlation with the block of interest, the important word of the block of interest is estimated from the peripheral data, and the estimated important word is ADR.
C decoding is performed.

【0019】重要語推定およびADRC復号回路6は、
周辺データy´1〜y´16の中の最大値(= max{y´
1〜y´16})およびその最小値(= min{y´1〜y
´16})を検出する。これらの最大値および最小値を形
成する時に、周辺データ中のエラーデータは、エラーフ
ラグを参照することによって除外される。
The important word estimation and ADRC decoding circuit 6 is
Maximum value (= max {y 'of peripheral data y'1 to y'16
1-y'16}) and its minimum value (= min {y'1-y
'16}) is detected. When forming these maximum and minimum values, the error data in the peripheral data is excluded by referring to the error flag.

【0020】重要語がエラーでないブロックの復号出力
がメモリ4から選択回路8に供給され、最小自乗法で推
定された重要語を使用した復号出力が回路5から選択回
路8に供給され、周辺データの最大値および最小値から
推定された重要語を使用した復号出力が回路6から選択
回路8に供給される。
The decoded output of the block in which the important word is not an error is supplied from the memory 4 to the selection circuit 8, and the decoded output using the important word estimated by the method of least squares is supplied from the circuit 5 to the selection circuit 8 and the peripheral data. The decoding output using the important word estimated from the maximum value and the minimum value of is supplied from the circuit 6 to the selection circuit 8.

【0021】選択回路8は、メモリ4からのエラーフラ
グと比較回路12からのセレクト信号SLで制御され
る。注目ブロックの重要語がエラーでない場合には、メ
モリ4からの復号データ、すなわち、ADRC復号回路
3の復号結果が選択され、出力端子9に導かれる。重要
語がエラーの時には、重要語推定およびADRC復号回
路5または回路6の出力が選択される。ブロックの連続
性がより良好に保たれる側の出力が選択される。この一
実施例では、回路5および6の復号値と周辺ブロックの
復号値(境界データ)との差分の絶対値の和を調べるこ
とによって、この選択の制御を行っている。
The selection circuit 8 is controlled by the error flag from the memory 4 and the select signal SL from the comparison circuit 12. If the key word of the block of interest is not an error, the decoded data from the memory 4, that is, the decoding result of the ADRC decoding circuit 3 is selected and led to the output terminal 9. When the important word is in error, the output of the important word estimation and ADRC decoding circuit 5 or 6 is selected. The output on the side where the block continuity is better maintained is selected. In this embodiment, this selection control is performed by checking the sum of the absolute values of the differences between the decoded values of the circuits 5 and 6 and the decoded values of the peripheral blocks (boundary data).

【0022】最小自乗法を使用する重要語推定およびA
DRC復号回路5からの復号値が差分生成回路10に供
給される。周辺の復号値を使用する重要語推定およびA
DRC復号回路6からの復号値が差分生成回路11に供
給される。これらの差分生成回路10および11には、
周辺ブロックの復号値の境界データも供給される。すな
わち、メモリ7から周辺ブロックの境界近傍画素の復号
値とそのエラーフラグとが差分生成回路10、11に共
通に供給される。
Keyword estimation and A using least squares
The decoded value from the DRC decoding circuit 5 is supplied to the difference generation circuit 10. Keyword estimation and A using surrounding decoded values
The decoded value from the DRC decoding circuit 6 is supplied to the difference generation circuit 11. These difference generation circuits 10 and 11 include
Boundary data of decoded values of peripheral blocks are also supplied. That is, the decoded values of the pixels near the boundary of the peripheral block and the error flags thereof are commonly supplied from the memory 7 to the difference generation circuits 10 and 11.

【0023】図2を使用して差分生成回路10について
説明する。図2における周辺ブロックの復号値(境界デ
ータ)がy´1〜y´16がメモリ7から供給される。注
目ブロックBL0内の符号化値x1〜x16が重要語推定
およびADRC復号回路5 によって、復号され、対応す
る復号値y1〜y16が得られる。差分生成回路10は、
次のようにして、差分値の絶対値の和S1を形成する。
( )*は、絶対値を意味する。
The difference generation circuit 10 will be described with reference to FIG. Decoded values (boundary data) of peripheral blocks in FIG. 2 are supplied from the memory 7 as y'1 to y'16. The coded values x1 to x16 in the block of interest BL0 are decoded by the important word estimation and ADRC decoding circuit 5, and the corresponding decoded values y1 to y16 are obtained. The difference generation circuit 10
The sum S1 of the absolute values of the difference values is formed as follows.
() * Means an absolute value.

【0024】 S1=(y´1−y1)*+(y´2−y2)*+(y´3−y3)*+(y ´4−y4)*+(y´5−y1)*+(y´6−y5)*+(y´7−y9) *+(y´8−y13)*+(y´9−y13)*+(y´10−y14)*+(y´11 −y15)*+(y´12−y16)*+(y´13−y4)*+(y´14−y8)*+ (y´15−y12)*+(y´16−y16)*[0024]   S1 = (y'1-y1) * + (y'2-y2) * + (y'3-y3) * + (y '4-y4) * + (y'5-y1) * + (y'6-y5) * + (y'7-y9) * + (Y'8-y13) * + (y'9-y13) * + (y'10-y14) * + (y'11 -Y15) ** + (y'12-y16) ** + (y'13-y4) ** + (y'14-y8) ** (Y'15-y12) * + (y'16-y16) *

【0025】差分生成回路11は、上述の差分生成回路
10と同様に、境界データに関しての差分値の絶対値の
和S2を形成する。これらの差分生成回路10および1
1の出力信号S1およびS2が比較回路12に供給され
る。比較回路12は、これらの絶対値和S1およびS2
を比較し、比較結果に基づいた制御信号(セレクト信
号)SLを発生する。
The difference generation circuit 11 forms the sum S2 of the absolute values of the difference values regarding the boundary data, similarly to the difference generation circuit 10 described above. These difference generation circuits 10 and 1
The output signals S1 and S2 of 1 are supplied to the comparison circuit 12. The comparison circuit 12 uses the sum of absolute values S1 and S2.
And generate a control signal (select signal) SL based on the comparison result.

【0026】若し、S1≦S2ならば、セレクト信号S
Lが例えば`0' とされ、選択回路8は、重要語推定およ
びADRC復号回路5の出力を選択する。若し、S1>
S2ならば、セレクト信号SLが例えば`1' とされ、選
択回路8は、重要語推定およびADRC復号回路6の出
力を選択する。比較回路12は、推定された重要語を使
用した復号値を周辺のブロックの復号値と比較し、その
差が小さい時には、ブロック境界の連続性が保たれると
判断する。そして、ブロックの境界の連続性がより保た
れる側の復号結果を採用する。選択回路8の出力端子9
には、図示せしないが、エラーである画素データを補間
する修整回路、ブロック分解回路が接続されている。
If S1≤S2, select signal S
L is set to, for example, “0”, and the selection circuit 8 selects the output of the important word estimation and ADRC decoding circuit 5. S1>
If S2, the select signal SL is set to "1", for example, and the selection circuit 8 selects the output of the important word estimation and ADRC decoding circuit 6. The comparison circuit 12 compares the decoded value using the estimated important word with the decoded value of the surrounding blocks, and when the difference is small, determines that the continuity of the block boundary is maintained. Then, the decoding result on the side where the continuity of the block boundaries is maintained is adopted. Output terminal 9 of the selection circuit 8
Although not shown, a correction circuit and a block decomposition circuit for interpolating error pixel data are connected to.

【0027】[0027]

【発明の効果】この発明は、重要語がエラーのブロック
に関しては、復元後の画像の誤差が大きく、ブロック間
で不連続な境界が発生することを防止できる。すなわ
ち、最小自乗法の推定は、鋭いエッジ等を含むブロック
の重要語を推定する時に、推定誤差が大きくなり易い。
一方、周辺ブロックの復号値の最大値、最小値を使用す
る推定は、注目ブロックが凸または凹の形状をしている
場合には、推定誤差が大きくなり易い。この発明は、復
号結果を見て、ブロックの境界の連続性を保つように、
復号値を選択するので、確実にブロックの境界の連続性
を保つことができる。この発明は、ディジタルVTRの
場合に、ノーマル再生時の画質だけでなく、可変速再生
での画質の劣化を抑えることができる。
As described above, according to the present invention, it is possible to prevent occurrence of a discontinuous boundary between blocks due to a large error in an image after restoration for a block having an important word as an error. That is, in the estimation by the least square method, the estimation error is likely to be large when estimating the key word of the block including a sharp edge or the like.
On the other hand, in the estimation using the maximum value and the minimum value of the decoded values of the peripheral blocks, the estimation error is likely to be large when the target block has a convex or concave shape. The present invention looks at the decoding result and keeps the continuity of the boundary of the block,
Since the decoded value is selected, the continuity of the block boundary can be surely maintained. According to the present invention, in the case of a digital VTR, not only the image quality during normal reproduction but also the deterioration in image quality during variable speed reproduction can be suppressed.

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

【図1】この発明の一実施例のブロック図である。FIG. 1 is a block diagram of an embodiment of the present invention.

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

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

3 ADRC復号回路 5、6 重要語推定およびADRC復号回路 8 選択回路 10、11 差分生成回路 12 比較回路 3 ADRC decoding circuit 5, 6 Key word estimation and ADRC decoding circuit 8 selection circuit 10, 11 Difference generation circuit 12 Comparison circuit

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 空間的に近接する複数の画素からなるブ
ロック内の画素データが最小値または最大値によって正
規化され、正規化された値がダイナミックレンジに適応
して量子化されるブロック符号化によって生成され、復
号のための重要度が高い最大値、最小値およびダイナミ
ックレンジの内の二つのデータである重要語と、相対的
に重要でない画素データとを含む伝送データから各画素
データを復号するブロック変換符号の復号装置におい
て、伝送データの上記重要語および画素 データのエラーの有
それぞれ検出するためのエラー検出手段と、 上記重要語がエラーの場合に、周辺ブロック内の注目ブ
ロックに近接する複数の復号値であって上記エラー検出
手段で検出されたエラー画素データ以外の復号値と、上
記注目ブロック内の複数の画素データの符号化値であっ
て上記エラー検出手段で検出されたエラー画素データ以
外の符号化値とを用いた最小自乗法によって、上記重要
を推定する第1のエラー修整手段と、 上記重要語がエラーの場合に、周辺ブロック内の上記注
目ブロックと近接する複数の復号値であって上記エラー
検出手段で検出されたエラー画素データ以外の復号値の
レベルから上記重要語を推定する第2のエラー修整手段
と、 上記第1のエラー修整手段からの上記重要語により復号
された注目ブロック内の周辺部の複数の復号値と、上記
周辺ブロック内の上記注目ブロックと近接する複数の復
号値との相関を検出するための第1の検出手段と、 上記第2のエラー修整手段からの上記重要語により復号
された注目ブロック内の周辺部の複数の復号値と、上記
周辺ブロック内の上記注目ブロックと近接する複数の復
号値との相関を検出するための第2の検出手段と、 上記第1および第2の検出手段の検出出力が供給され、
より相関が強いと検出された方の復号値を選択するため
の手段とからなるブロック変換符号の復号装置。
1. A block coding in which pixel data in a block composed of a plurality of pixels spatially adjacent to each other is normalized by a minimum value or a maximum value, and the normalized value is quantized in accordance with a dynamic range. Maximum, minimum and dynamism generated by
In the decoding device of the block conversion code which decodes each pixel data from the transmission data including the important word which is the two data in the range and the pixel data which is relatively unimportant, the important word of the transmission data and the pixel data Yes error
Error detecting means for detecting each of the nothing , and when the above-mentioned important word is an error, it is a plurality of decoded values close to the target block in the peripheral block
A decoding value of the non-error pixel data detected by means, there the encoding values of a plurality of pixel data in the target block
Error pixel data detected by the error detection means
The least squares method using the coding value of the external, the important
A first error correction means for estimating a word , and a plurality of decoded values adjacent to the block of interest in a peripheral block when the important word is an error
A second error correction means for estimating the important word from the level of the decoded value other than the error pixel data detected by the detection means; and a block in the block of interest decoded by the important word from the first error correction means. Multiple decoded values in the peripheral part and the above
First detection means for detecting the correlation between the block of interest in the peripheral block and a plurality of adjacent decoded values, and the periphery of the block of interest decoded by the important word from the second error correction means Multiple decrypted values of the part and above
Second detection means for detecting a correlation between the target block in the peripheral block and a plurality of decoded values adjacent thereto, and detection outputs of the first and second detection means are supplied,
A decoding device for a block conversion code, comprising: a means for selecting a decoded value which is detected to have a stronger correlation.
【請求項2】 上記第1および第2の検出手段は、上記
注目ブロックの周辺部の復号値と周辺ブロック内の上
記注目ブロックと近接する復号値とのそれぞれの差分の
絶対値を演算し、上記差分の絶対値の和を求めることを
特徴とする請求項1記載のブロック変換符号の復号装
置。
2. The first and second detecting means are the decoded value of a peripheral portion in the block of interest and the upper value in the peripheral block .
2. The block conversion code decoding device according to claim 1, wherein the absolute value of each difference between the target block and the adjacent decoded value is calculated, and the sum of the absolute values of the differences is calculated.
JP24569992A 1992-08-21 1992-08-21 Decoding device for block transform code Expired - Fee Related JP3469597B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24569992A JP3469597B2 (en) 1992-08-21 1992-08-21 Decoding device for block transform code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24569992A JP3469597B2 (en) 1992-08-21 1992-08-21 Decoding device for block transform code

Publications (2)

Publication Number Publication Date
JPH0670298A JPH0670298A (en) 1994-03-11
JP3469597B2 true JP3469597B2 (en) 2003-11-25

Family

ID=17137496

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24569992A Expired - Fee Related JP3469597B2 (en) 1992-08-21 1992-08-21 Decoding device for block transform code

Country Status (1)

Country Link
JP (1) JP3469597B2 (en)

Also Published As

Publication number Publication date
JPH0670298A (en) 1994-03-11

Similar Documents

Publication Publication Date Title
US7227900B2 (en) Differential encoding
JP2997355B2 (en) Decryption device
JP3163837B2 (en) Digital video signal encoding device
KR100272120B1 (en) Quantization control circuit
JP3363541B2 (en) Image signal reproducing device and image processing device
JP3469597B2 (en) Decoding device for block transform code
JP3063380B2 (en) High efficiency coding device
JP2643636B2 (en) Signal processing method
JP3557225B2 (en) Digital image signal receiving / reproducing device
US20060062309A1 (en) Coding/decoding apparatus
JP3304415B2 (en) Decoding device for block transform code
JP3291785B2 (en) Transmission device for block transform coded data
JP2759939B2 (en) Image processing system
JP3310633B2 (en) Decryption device
JP3627256B2 (en) Apparatus and method for receiving / reproducing digital image signal
JP3257124B2 (en) Decoding device for block transform code
JP3270861B2 (en) Decoding device for block transform code
JP2689555B2 (en) Image restoration device
JP3257226B2 (en) Image processing apparatus and image processing method
JP3282245B2 (en) Error correction device in block coding.
JP3257156B2 (en) Image signal decoding device
JPH0799647A (en) Image signal reproducing device
JP3306971B2 (en) Decoding device for block transform code
JPH06292171A (en) Image reproducing device
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: 20080905

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090905

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees