JPH0670298A - Block transform code decoding device - Google Patents
Block transform code decoding deviceInfo
- Publication number
- JPH0670298A JPH0670298A JP24569992A JP24569992A JPH0670298A JP H0670298 A JPH0670298 A JP H0670298A JP 24569992 A JP24569992 A JP 24569992A JP 24569992 A JP24569992 A JP 24569992A JP H0670298 A JPH0670298 A JP H0670298A
- Authority
- JP
- Japan
- Prior art keywords
- block
- data
- decoded
- error
- 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.)
- Granted
Links
Landscapes
- Compression Of Band Width Or Redundancy In Fax (AREA)
- Error Detection And Correction (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
(57)【要約】
【目的】ブロック符号化で発生した重要語がエラーの場
合に、その重要語を二つの方法で修整し、ブロックの連
続性がより保たれる側の修整出力を選択することによっ
て、推定の精度を向上し、復元画像を良好とする。
【構成】ADRC復号回路3は、重要語がエラーでない
ブロックに関しての復号を行ない、これがエラーのブロ
ックの符号化値は、後段へ伝送される。重要語推定およ
びADRC復号回路5は、最小自乗法で推定された重要
語を使用して注目ブロックのデータを復号する。他の重
要語推定およびADRC復号回路6は、周辺ブロックの
境界データから形成された重要語を使用して注目ブロッ
クのデータを復号する。選択回路8は、重要語がエラー
でない場合は、メモリ4からの復号結果を選択する。重
要語がエラーの場合には、回路5および6の内で、差分
値の絶対値の和がより小さい側の復号値を選択する。
(57) [Summary] [Purpose] When an important word generated in block coding is an error, the important word is modified by two methods and the modified output on the side that maintains the continuity of the block is selected. As a result, the accuracy of estimation is improved and the restored image is improved. The ADRC decoding circuit 3 decodes a block in which an important word is not an error, and the coded value of the block in which the important word is in error is transmitted to a subsequent stage. The important word estimation and ADRC decoding circuit 5 decodes the data of the block of interest using the important word estimated by the least square method. The other important word estimation and ADRC decoding circuit 6 decodes the data of the target block using the important word formed from the boundary data of the peripheral blocks. The selection circuit 8 selects the decoding result from the memory 4 when the important word is not an error. If the important word is an error, the decoded value on the side where the sum of the absolute values of the difference values is smaller is selected from the circuits 5 and 6.
Description
【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では、ダイ
ナミックレンジ情報が再生側で分からないと、そのブロ
ックの全ての画素の復号ができなくなるので、ブロック
毎に検出されるダイナミックレンジ情報は、画素毎のコ
ード信号に比して重要度が高い。DCTの場合では、D
CTで発生した係数データ中で、直流分は、交流分に比
して重要度が高い。また、DCTの場合でも、直流分に
限らず、ブロック毎の量子化ステップの情報等も重要で
ある。これらの重要度が高い符号化出力を重要語と称す
る。The coded output obtained by block transform coding is not of equal importance. In ADRC, if the dynamic range information is not known on the reproducing side, all the 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. In the case of DCT, D
In the coefficient data generated by CT, the DC component is more important than the AC component. Also in the case of DCT, not only the DC component but also the quantization step information for each block is important. These coded outputs having high importance are called important words.
【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のデータ
をそれぞれ推定するための第1および第2のエラー修整
回路と第1の修整回路からの第1のデータにより復号さ
れた注目ブロックの周辺部の複数の復号値と注目部と近
接する周辺ブロックの複数の復号値との相関を検出する
ための第1の検出回路と、第2の修整回路からの第1の
データにより復号された注目ブロックの周辺部の複数の
復号値と注目部と近接する周辺ブロックの複数の復号値
との相関を検出するための第2の検出回路と、第1およ
び第2の検出回路の検出出力が供給され、より相関が強
いと検出された方の復号値を選択するための回路とから
なるブロック変換符号の復号装置である。According to the first aspect of the present invention, which is highly important for decoding, block coding is performed to compress the amount of transmission information for each block consisting of a plurality of pixels spatially adjacent to each other. Coded data including data and second data that is relatively unimportant is generated by block coding, and parity of an error correction code is added to the coded data to form transmission data. A circuit for performing error correction of transmission data and generating an error flag indicating the presence / absence of an error in a block conversion code decoding device for decoding each pixel data;
Around the block of interest decoded by the first and second error correction circuits and the first data from the first correction circuit for respectively estimating the first data by different methods when the data of is errored. A first detection circuit for detecting a correlation between a plurality of decoded values of a part and a plurality of decoded values of a peripheral block close to the target part, and a target decoded by the first data from the second modification circuit. A second detection circuit for detecting a correlation between a plurality of decoded values in a peripheral portion of the block and a plurality of decoded values in a peripheral block close to the target portion, and detection outputs of the first and second detection circuits are supplied. And a circuit for selecting a decoded value which has been detected to have a stronger correlation.
【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, and 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. At this quantization step Δ, the video data from which the minimum value has been removed is divided, and the value obtained by rounding down the quotient to form 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・Δ)/16First, 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・Δ)/16Next, 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 least squares method 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 blocks 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)*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.
【図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.
3 ADRC復号回路 5、6 重要語推定およびADRC復号回路 8 選択回路 10、11 差分生成回路 12 比較回路 3 ADRC Decoding Circuits 5 and 6 Important Word Estimation and ADRC Decoding Circuits 8 Selection Circuits 10 and 11 Difference Generation Circuits 12 Comparison Circuits
Claims (5)
ロック毎に、伝送情報量を圧縮するブロック符号化がな
され、復号のための重要度が高い第1のデータと、相対
的に重要でない第2のデータとを含む符号化データが上
記ブロック符号化によって生成され、上記符号化データ
にエラー訂正符号のパリティが付加されて伝送データと
され、受信された上記伝送データから各画素データを復
号するためのブロック変換符号の復号装置において、 上記伝送データのエラー訂正を行い、エラーの有無を示
すエラーフラグを発生するための手段と、 上記第1のデータがエラーの場合に、異なる方法で上記
第1のデータをそれぞれ推定するための第1および第2
のエラー修整手段と上記第1の修整手段からの第1のデ
ータにより復号された上記注目ブロックの周辺部の複数
の復号値と上記注目部と近接する周辺ブロックの複数の
復号値との相関を検出するための第1の検出手段と、 上記第2の修整手段からの第1のデータにより復号され
た上記注目ブロックの周辺部の複数の復号値と上記注目
部と近接する周辺ブロックの複数の復号値との相関を検
出するための第2の検出手段と、 上記第1および第2の検出手段の検出出力が供給され、
より相関が強いと検出された方の復号値を選択するため
の手段とからなるブロック変換符号の復号装置。1. The first data, which is highly important for decoding, and the first data, which is highly important for decoding, is block-encoded to compress the amount of transmission information for each block composed of a plurality of pixels spatially adjacent to each other. 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. A block conversion code decoding device for performing the error correction of the transmission data and generating an error flag indicating the presence or absence of an error; and a method different from the above when the first data is an error. First and second for respectively estimating the first data
Of the error correction means and the plurality of decoded values of the peripheral portion of the target block decoded by the first data from the first correction means and the plurality of decoded values of the peripheral blocks close to the target portion. A first detection unit for detecting, a plurality of decoded values of a peripheral portion of the target block decoded by the first data from the second modification unit, and a plurality of decoded values of a peripheral block close to the target unit. Second detection means for detecting the correlation with the decoded value, and the 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.
最大値によって正規化され、正規化された値がダイナミ
ックレンジに適応して量子化されるブロック符号化を使
用するようにした請求項1記載のブロック変換符号の復
号装置。2. The block coding method according to claim 1, wherein the pixel data in the block is normalized by a minimum value or a maximum value, and the normalized value is quantized in accordance with the dynamic range. Block transform code decoding device.
れ、係数データを量子化し、量子化された上記係数デー
タが可変長符号化されるブロック符号化を使用するよう
にした請求項1記載のブロック変換符号の復号装置。3. The block according to claim 1, wherein the pixel data in the block is orthogonally transformed, the coefficient data is quantized, and the quantized coefficient data is variable-length coded. Transform code decoding device.
ックと近接する周辺ブロックの復号値と、上記注目ブロ
ックの符号化値とを用いた最小自乗法によって、上記第
1のデータを推定し、 上記第2のエラー修整手段は、注目ブロックと近接する
周辺ブロックの復号値のレベルから上記第1のデータを
推定することを特徴とする請求項1記載のブロック変換
符号の復号装置。4. The first error correction means estimates the first data by a least square method using a decoded value of a peripheral block adjacent to a target block and a coded value of the target block. 2. The block conversion code decoding apparatus according to claim 1, wherein the second error correction means estimates the first data from a level of a decoded value of a peripheral block adjacent to the target block.
は、上記注目ブロックの周辺部の復号値と上記注目部と
近接する周辺ブロックの復号値とのそれぞれの差分の絶
対値を演算し、上記差分の絶対値の和を求めることを特
徴とする請求項1記載のブロック変換符号の復号装置。5. The first and second error detecting means calculate absolute values of respective differences between a decoded value of a peripheral portion of the target block and a decoded value of a peripheral block adjacent to the target portion, The block conversion code decoding device according to claim 1, wherein a sum of absolute values of the differences is obtained.
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 true JPH0670298A (en) | 1994-03-11 |
| JP3469597B2 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) |
-
1992
- 1992-08-21 JP JP24569992A patent/JP3469597B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP3469597B2 (en) | 2003-11-25 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0583696A (en) | Image coding device | |
| JPH06205386A (en) | Image playback device | |
| KR100272120B1 (en) | Quantization control circuit | |
| JP2001519988A (en) | System for extracting coding parameters from video data | |
| US20070104382A1 (en) | Detection of local visual space-time details in a video signal | |
| JP2723867B2 (en) | Image signal decoding device | |
| JP3363541B2 (en) | Image signal reproducing device and image processing device | |
| JP3469597B2 (en) | Decoding device for block transform code | |
| JP3271098B2 (en) | Digital image signal decoding apparatus and method | |
| JP3063380B2 (en) | High efficiency coding device | |
| JP3557225B2 (en) | Digital image signal receiving / reproducing device | |
| JP3150627B2 (en) | Re-encoding method of decoded signal | |
| JP3304415B2 (en) | Decoding device for block transform code | |
| JP3896635B2 (en) | Image data conversion apparatus and method, prediction coefficient generation apparatus and method | |
| JP3270861B2 (en) | Decoding device for block transform code | |
| JP3257124B2 (en) | Decoding device for block transform code | |
| JP3627256B2 (en) | Apparatus and method for receiving / reproducing digital image signal | |
| JP3257226B2 (en) | Image processing apparatus and image processing method | |
| US20060062309A1 (en) | Coding/decoding apparatus | |
| JP3306971B2 (en) | Decoding device for block transform code | |
| JP3310633B2 (en) | Decryption device | |
| JP3104384B2 (en) | Decoding device and decoding method for block transform code | |
| JP3271100B2 (en) | Digital image signal decoding apparatus and method | |
| JPH05244559A (en) | Decoder for block conversion code | |
| JP3352139B2 (en) | Encoding device and method |
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 |