JP3270861B2 - Decoding device for block transform code - Google Patents

Decoding device for block transform code

Info

Publication number
JP3270861B2
JP3270861B2 JP25078192A JP25078192A JP3270861B2 JP 3270861 B2 JP3270861 B2 JP 3270861B2 JP 25078192 A JP25078192 A JP 25078192A JP 25078192 A JP25078192 A JP 25078192A JP 3270861 B2 JP3270861 B2 JP 3270861B2
Authority
JP
Japan
Prior art keywords
block
decoding
important
word
interest
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
JP25078192A
Other languages
Japanese (ja)
Other versions
JPH066778A (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 JP25078192A priority Critical patent/JP3270861B2/en
Publication of JPH066778A publication Critical patent/JPH066778A/en
Application granted granted Critical
Publication of JP3270861B2 publication Critical patent/JP3270861B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Error Detection And Correction (AREA)
  • Television Signal Processing For Recording (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 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 that, when an important word that is an error is modified, makes a determination indicating the reliability of the modification.

【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 encoding 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, the error of the important word is estimated by a statistical method based on the spatial correlation between the peripheral block and the block of interest. However, the accuracy of estimation may be low depending on the design. 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 Accordingly, an object of the present invention is to provide a decoding method of a block transform code capable of suppressing the deterioration of a restored image by making a decision indicating whether or not the estimation has been successful when correcting an erroneous important word. It is to provide a device.

【0006】[0006]

【課題を解決するための手段】請求項1の発明は、複数
の画素からなるディジタル画像信号を、空間的に近接す
る複数の画素からなるブロック毎に、伝送情報量を圧縮
するブロック符号化することで生成された、復号のため
の重要度が高い重要語を含む伝送データを復号するブ
ック変換符号の復号装置において、要語がエラーの場
合に、重要語のエラーを修整するための回路と、伝送デ
ータが供給され、ブロック毎に正しい重要語あるいは修
整された重要語を用いて、符号化データを復号するため
の復号回路と、復号回路と結合され、重要語がエラーの
注目ブロックに関して、注目ブロック内の周辺の位置の
復号値と、注目ブロックの周辺ブロック内であって、注
目ブロックとの境界付近に位置する復号値との差を参照
することによって、重要語の修整が成功したかどうかを
判定するための回路とからなることを特徴とするブロッ
ク変換符号の復号装置である。
According to the first aspect of the present invention, there is provided a computer system comprising:
The digital image signal consisting of a pixel, for each block comprising a plurality of pixels spatially close, produced by block coding to compress the amount of transmitted information, for decoding
In the decoding apparatus of lube b <br/> click transform coding to decode the transmission data importance including high critical words, if important word error, a circuit for retouch important word errors The transmission data is supplied, and a decoding circuit for decoding the encoded data using the correct important word or the modified important word for each block, and a decoding circuit are combined, and the important word is related to the error target block. Successful modification of the key word by referring to the difference between the decoded value at a position in the vicinity of the block of interest and the decoded value in the block around the block of interest and near the boundary with the block of interest. And a circuit for determining whether or not the block transform code is used.

【0007】請求項2の発明は、差を参照する時に、差
の絶対値和が所定値より小さい時に、修整が成功したも
のと判定するものである。請求項3記載の発明は、差を
参照する時に、差の絶対値の中の最大値が所定値より小
さい時に、修整が成功したものと判定するものである。
請求項4記載の発明は、差を参照する時に、差の絶対値
和が所定値より小さく、または差の絶対値の中の最大値
が所定値より小さい時に、修整が成功したものと判定す
るものである。請求項5記載の発明は、差を参照する時
に、差の絶対値和が所定値より小さく、且つ差の絶対値
の中の最大値が所定値より小さい時に、修整が成功した
ものと判定するものである。請求項5記載の発明は、重
要語がエラーの場合に、重要語のエラーを修整するとと
もに、修整に使用する周辺ブロックのデータのエラー数
を計数し、エラー数を所定値と比較することによって、
重要語の推定が成功したかどうかを示すフラグを発生
し、このフラグを差を参照して再設定するものである。
According to a second aspect of the present invention, when referring to a difference, if the sum of absolute values of the difference is smaller than a predetermined value, it is determined that the modification has been successful. According to a third aspect of the present invention, when referring to the difference, when the maximum value of the absolute values of the differences is smaller than a predetermined value, it is determined that the modification has been successful.
According to a fourth aspect of the present invention, when referring to the difference, when the sum of the absolute values of the differences is smaller than a predetermined value or when the maximum value of the absolute values of the differences is smaller than the predetermined value, it is determined that the modification has been successful. Things. According to a fifth aspect of the present invention, when referring to the difference, when the sum of the absolute values of the differences is smaller than a predetermined value and the maximum value of the absolute values of the differences is smaller than the predetermined value, it is determined that the modification is successful. Things. According to a fifth aspect of the present invention, when an important word is an error, the error of the important word is corrected, the number of errors in data of peripheral blocks used for the correction is counted, and the number of errors is compared with a predetermined value. ,
A flag indicating whether or not the estimation of the important word is successful is generated, and this flag is reset with reference to the difference.

【0008】[0008]

【作用】注目ブロックがエラーの場合には、注目ブロッ
クの符号化値とその周辺データ(復号値)とを使用した
統計的な方法によって、注目ブロックに関する重要語が
推定される。正しい重要語あるいは修整された重要語を
使用して復号がなされる。重要語がエラーの注目ブロッ
クの復号値と、注目ブロックの周辺のブロック内であっ
て、注目ブロックとの境界付近に位置する復号値との差
を調べ、この差の絶対値和がしきい値よりも大きい場合
には、推定が失敗したと判断する判定回路が設けられ
る。この判定によって、修整の信頼度を高めることがで
きる。
When the block of interest has an error, an important word relating to the block of interest is estimated by a statistical method using the coded value of the block of interest and its surrounding data (decoded value). Decoding is performed using the correct key word or the modified key word. The difference between the decoded value of the block of interest in which the key word is erroneous and the decoded value in a block around the block of interest and located near the boundary with the block of interest is checked. If it is larger, a determination circuit is provided for determining that the estimation has failed. With this determination, the reliability of the modification can be increased.

【0009】[0009]

【実施例】以下、この発明による復号装置の一実施例に
ついて説明する。この実施例では、ブロック変換符号と
してADRCを使用している。ADRCの具体例として
は、1フレームの有効領域が(4×4)画素の大きさの
ブロックに分割される。記録側に設けられたADRCエ
ンコーダでは、各ブロックのダイナミックレンジDRと
最小値MINとが検出され、最小値が除去されたビデオ
データが量子化ステップで再量子化される。4ビット固
定長のADRCの場合では、ダイナミックレンジDRを
1/16とすることによって、量子化ステップΔが得られ
る。この量子化ステップΔで、最小値が除去されたビデ
オデータが除算され、商を切り捨てにより整数化した値
がコード信号とされる。ダイナミックレンジDR、最小
値MINおよびコード信号が記録データの構造に変換さ
れたから磁気テープに記録される。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the decoding device according to the present invention will be described below. In this embodiment, ADRC is used as a block conversion code. As a specific example of the ADRC, an 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 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 dynamic range DR is
By setting it to 1/16, a quantization step Δ is obtained. 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. Since the dynamic range DR, the minimum value MIN, and the code signal have been converted into the structure of the recording data, they are recorded on the magnetic tape.

【0010】図1において、1が重要語修整回路を示
す。図示しないが、磁気テープから再生され、チャンネ
ル符号の復号がされ、さらに、TBC(時間軸補正)、
フレーム分解およびエラー訂正がされた再生データとエ
ラーの有無を示すエラーフラグとが重要語修整回路1に
供給される。エラー訂正できなかったサンプルに関して
エラーフラグが“1”とされる。エラーフラグは、ダイ
ナミックレンジDRに関するエラーフラグEd、最小値
MINに関するエラーフラグEm、画素のコード信号に
関するエラーフラグEpとの3種類ある。
In FIG. 1, reference numeral 1 denotes an important word modifying circuit. Although not shown, the data is reproduced from the magnetic tape, the channel code is decoded, and TBC (time axis correction),
The reproduced data subjected to frame decomposition and error correction and an error flag indicating the presence or absence of an error are supplied to the important word modifying circuit 1. The error flag is set to "1" for a sample for which error correction has failed. There are three types of error flags: an error flag Ed for the dynamic range DR, an error flag Em for the minimum value MIN, and an error flag Ep for the code signal of the pixel.

【0011】重要語修整回路1は、重要語(すなわち、
ダイナミックレンジDRあるいは最小値MIN)がエラ
ーの場合に、周辺ブロックの正しい復号画素データを使
用した最小自乗法によって、重要語を修整し、この後に
ADRC復号を行なう。重要語修整回路1については、
後述するが、ここでは、重要語の推定が成功したかどう
かの判断がなされる。この判断の結果、重要語に関する
フラグSが生成される。S=“1”であれば、重要語の
推定が成功したことを意味し、S=“0”であれば、重
要語の推定が失敗したことを意味する。
The important word modifying circuit 1 is a key word modifying circuit 1
When the dynamic range DR or the minimum value MIN) is an error, an important word is corrected by the least squares method using correct decoded pixel data of a peripheral block, and ADRC decoding is performed thereafter. For Keyword Modification Circuit 1,
As will be described later, here, it is determined whether or not the estimation of the important word is successful. As a result of this determination, a flag S relating to the important word is generated. If S = “1”, it means that the estimation of the important word has succeeded, and if S = “0”, it means that the estimation of the important word has failed.

【0012】重要語修整回路1からの復号データが空間
的補間回路2に供給され、これからのフラグ情報Ed、
Em、Ep、SがROM3に供給される。ROM3で形
成された画素単位のエラーフラグEsが空間的補間回路
2に供給される。ROM3は、アドレスとして加えられ
るフラグ情報から、下記の表1に従って、画素単位のエ
ラーフラグEsを発生する。
The decoded data from the key word correction circuit 1 is supplied to a spatial interpolation circuit 2, and flag information Ed,
Em, Ep, and S are supplied to the ROM 3. The error flag Es for each pixel formed in the ROM 3 is supplied to the spatial interpolation circuit 2. The ROM 3 generates an error flag Es for each pixel from the flag information added as an address according to Table 1 below.

【0013】[0013]

【表1】 [Table 1]

【0014】この表1において、エラーフラグEsは、
エラーの場合で“1”であり、エラーでない場合に
“0”であり、また、*は、そのエラーフラグの値が無
視されることを意味する。表1中のいくつかのパターン
について説明する。(Ed、Em、Ep、S)=(00
1*)であれば、Es=“1”である。(Ed、Em、
Ep、S)=(0100)のパターンは、最小値MIN
の修整が失敗したことを意味するので、Es=“1”で
ある。一方、(Ed、Em、Ep、S)=(0101)
のパターンは、最小値MINの修整が成功したことを示
すので、Es=“0”である。(Ed、Em、Ep、
S)=(1110)のパターンは、ダイナミックレンジ
DR、最小値MINの修整が成功したことを意味するの
で、Es=“0”である。
In Table 1, the error flag Es is
It is "1" in the case of an error, "0" in the case of no error, and * means that the value of the error flag is ignored. Some patterns in Table 1 will be described. (Ed, Em, Ep, S) = (00
1 *), Es = "1". (Ed, Em,
The pattern of (Ep, S) = (0100) has the minimum value MIN
Es = “1” because it means that the retouching has failed. On the other hand, (Ed, Em, Ep, S) = (0101)
Indicates that the modification of the minimum value MIN has been successful, so that Es = "0". (Ed, Em, Ep,
The pattern of (S) = (1110) means that the modification of the dynamic range DR and the minimum value MIN was successful, so Es = "0".

【0015】空間的補間回路2は、上述のエラーフラグ
Esを受け取り、エラーフラグEsを参照しながら、補
間しようとする注目画素がエラーのときに、周辺画素で
このエラー画素を補間する。具体的には、注目画素に関
するエラーフラグEsが“1”のとき、周囲8点(上
下、左右の4点と斜めの4点)の画素のEsを見て、最
初に水平方向の補間、次に垂直方向の補間、さらに次に
斜め方向の補間、最後に隣の画素で単に置き換える補間
の優先順序で補間を行なう。補間がなされると、エラー
フラグEsがリセットされ、補間ができなければ、Es
=“1”のままである。重要語の推定が失敗したブロッ
クの場合では、そのブロックの周辺部の画素の補間を周
囲ブロックの正しい画素を使用して補間できるが、中央
部の画素が補間されないで残る。
The spatial interpolation circuit 2 receives the above-mentioned error flag Es, and when the pixel of interest to be interpolated has an error with reference to the error flag Es, interpolates the error pixel with neighboring pixels. Specifically, when the error flag Es for the target pixel is “1”, the Es of the pixels at eight surrounding points (upper, lower, left and right, and four oblique points) are looked at, and the horizontal interpolation is performed first. In the vertical direction, then in the diagonal direction, and finally in the priority order of interpolation that simply replaces the next pixel. When the interpolation is performed, the error flag Es is reset.
= Remains "1". In the case of a block for which key word estimation has failed, the interpolation of the pixels at the periphery of the block can be performed using the correct pixels of the surrounding blocks, but the pixels at the center remain without being interpolated.

【0016】空間的補間回路2に対して時間方向補間回
路4が接続される。上述のように、空間的補間回路2で
補間できなかった画素データがこの時間方向補間回路4
で補間される。この最終段の補間回路4は、エラーの画
素と空間的に同一位置の以前のフレームの画素データに
よって、このエラーの画素を置き換えるものである。具
体的には、補間回路4がフレームメモリを有し、Es=
“0”の画素データをフレームメモリに書き込むととも
に、Es=“1”の画素データは書き込まず、この画素
データの代わりに以前に書かれていた正しい画素データ
を読み出す構成とされる。
The temporal interpolation circuit 4 is connected to the spatial interpolation circuit 2. As described above, the pixel data that could not be interpolated by the spatial interpolation circuit 2
Is interpolated by The last-stage interpolation circuit 4 replaces the erroneous pixel with the pixel data of the previous frame at the same spatial position as the erroneous pixel. Specifically, the interpolation circuit 4 has a frame memory, and Es =
The pixel data of “0” is written to the frame memory, and the pixel data of Es = “1” is not written, and instead of this pixel data, the previously written correct pixel data is read.

【0017】このように、重要語の修整、適応的空間的
補間、時間方向の補間がエラーの状況に応じて行なわれ
る。ディジタルVTRに対してこの実施例を適用する時
には、通常再生動作のみならず、可変速度再生の動作時
にも、充分なエラー修整を行なうことができ、エラー伝
搬による画質の劣化を防止できる。
As described above, the modification of the important word, the adaptive spatial interpolation, and the interpolation in the time direction are performed according to the error situation. When this embodiment is applied to a digital VTR, a sufficient error correction can be performed not only during a normal reproduction operation but also during a variable speed reproduction operation, so that deterioration in image quality due to error propagation can be prevented.

【0018】図2は、重要語修整回路1の一例である。
図2においてエラーフラグは、ダイナミックレンジD
R、最小値MIN、画素のコード信号のそれぞれに関す
るEd、Em、Epを総称している。データおよびエラ
ーフラグがメモリ11、ADRCデコーダ12およびメ
モリ13に供給される。メモリ11および13は、時間
合わせのために設けられている。
FIG. 2 shows an example of the important word modifying circuit 1.
In FIG. 2, the error flag indicates the dynamic range D
R, the minimum value MIN, and Ed, Em, and Ep for each of the pixel code signals are collectively referred to. Data and error flags are supplied to the memory 11, the ADRC decoder 12, and the memory 13. The memories 11 and 13 are provided for time adjustment.

【0019】ADRCデコーダ12は、コード信号のビ
ット数を4ビットとする時に、各画素の復号値Liを発
生する。この復号値Liは次式で表される。 Li=〔(DR/24 )×xi+MIN〕 =〔Δ×xi+MIN〕
The ADRC decoder 12 generates a decoded value Li for each pixel when the number of bits of the code signal is 4 bits. This decoded value Li is represented by the following equation. Li = [(DR / 2 4 ) × xi + MIN] = [Δ × xi + MIN]

【0020】但し、xiはコード信号の値、Δは量子化
ステップ、〔 〕はガウス記号である。上式の〔 〕内
の演算を例えばROMで実現し、最小値MINの加算を
行う構成をADRCデコーダ12が有している。ADR
Cデコーダ12からの復号データが修整回路14に供給
される。修整回路14には、メモリ11からのエラーフ
ラグ、ダイナミックレンジDRおよび最小値MINが供
給される。
Here, xi is a code signal value, Δ is a quantization step, and [] is a Gaussian symbol. The ADRC decoder 12 has a configuration in which the operation in [] of the above equation is realized by, for example, a ROM and the addition of the minimum value MIN is performed. ADR
The decoded data from the C decoder 12 is supplied to the modification circuit 14. The correction circuit 14 is supplied with the error flag, the dynamic range DR, and the minimum value MIN from the memory 11.

【0021】修整回路14は、注目ブロックの重要語が
エラーの場合に、注目ブロックの符号化値と周辺ブロッ
クの境界復号データを使用してエラーである重要語を推
定するものであり、正しい重要語は、この修整回路14
を単に通過する。例えば最小自乗法によって修整がなさ
れる。この推定は、ダイナミックレンジDRおよび最小
値MINの両者がエラーの場合、最小値MINのみにエ
ラーが生じた場合、並びにダイナミックレンジDRのみ
にエラーが生じた場合についてそれぞれなされる。
When the important word of the block of interest is an error, the modifying circuit 14 estimates the important word that is in error using the encoded value of the block of interest and the boundary decoded data of the peripheral block. The word is
Simply pass through. For example, the modification is performed by the least square method. This estimation is performed when both the dynamic range DR and the minimum value MIN are errors, when an error occurs only in the minimum value MIN, and when an error occurs only in the dynamic range DR.

【0022】この推定は、統計的な手法であるため、絵
柄によっては、比較的大きな誤差を生じる。例えば注目
ブロック内に鋭いレベルのピークが存在すると、推定誤
差がきくなる。推定の精度を高めるために、エラーサ
ンプルを推定の対象から除外することに加えて、使用す
るデータのエラー数を調べ、エラー数の多少に応じたフ
ラグSを形成する処理を行なっている。
Since this estimation is a statistical method, a relatively large error occurs depending on the picture. For example, a sharp level peak in the block of interest is present, the estimation error is large Kikunaru. In order to increase the accuracy of estimation, in addition to excluding error samples from estimation targets, a process of checking the number of errors in data to be used and forming a flag S according to the number of errors is performed.

【0023】つまり、推定に使用するデータ中のエラー
数がカウンタ15により計数され、計数値が比較回路1
6においてしきい値TH0と比較される。エラー数がし
きい値TH0より多いならば、修整回路14においてフ
ラグSが“0”とされ、推定が失敗したことを表す情報
が後段へ送られる。
That is, the number of errors in the data used for estimation is counted by the counter 15, and the counted value is
At 6 the threshold value TH0 is compared. If the number of errors is larger than the threshold value TH0, the flag S is set to "0" in the modification circuit 14, and information indicating that the estimation has failed is sent to the subsequent stage.

【0024】修整回路14における推定方法としては、
最小自乗法による推定に限らず、周辺ブロックの境界デ
ータの最大値および最小値を注目ブロックの最大値およ
び最小値とみなす推定等が可能である。
The estimation method in the modification circuit 14 is as follows.
Not only estimation by the method of least squares, but also estimation by considering the maximum value and the minimum value of the boundary data of the peripheral block as the maximum value and the minimum value of the block of interest can be performed.

【0025】修整回路14からのダイナミックレンジD
R、最小値MINおよびフラグSがADRCデコーダ1
7に供給される。このADRCデコーダ17には、メモ
リ13からのデータおよびエラーフラグも供給される。
このADRCデコーダ17からは、エラーフラグ、各画
素の復号データおよびフラグSが取り出され、これらが
時間合わせ用のメモリ18に供給される。
The dynamic range D from the modifying circuit 14
R, the minimum value MIN, and the flag S are the ADRC decoder 1
7 is supplied. The ADRC decoder 17 is also supplied with data and an error flag from the memory 13.
From the ADRC decoder 17, an error flag, decoded data of each pixel, and a flag S are taken out and supplied to a memory 18 for time alignment.

【0026】また、各画素の復号データとエラーフラグ
とが判定回路19に供給される。この判定回路19に
は、しきい値TH1が供給される。判定回路19の出力
がスイッチ回路20にその制御信号として供給される。
スイッチ回路20には、フラグSが供給されており、ス
イッチ回路20の状態に応じて、フラグSが強制的に
“0”(すなわち、推定が失敗したことを表す)とされ
る。
The decoded data of each pixel and the error flag are supplied to a decision circuit 19. The threshold value TH1 is supplied to the determination circuit 19. The output of the decision circuit 19 is supplied to the switch circuit 20 as a control signal.
The flag S is supplied to the switch circuit 20, and the flag S is forcibly set to “0” (in other words, the estimation has failed) according to the state of the switch circuit 20.

【0027】判定回路19は、重要語の推定が本当に成
功したかどうかを判定する。つまり、重要語がエラーの
注目ブロックとその周辺のブロックとの境界の復号値を
比較し、差分の絶対値の和がしきい値TH1より大きい
ときは、フラグSを強制的に“0”とする。
The decision circuit 19 decides whether or not the key word has been successfully estimated. That is, the decoded value at the boundary between the block of interest in which the important word is erroneous and the surrounding block is compared. If the sum of the absolute values of the differences is larger than the threshold value TH1, the flag S is forcibly set to "0". I do.

【0028】図3は、注目ブロックの周辺復号値y1〜
y12とその周辺ブロックの境界データ(復号値)とを示
す。判定回路19は、下記のような差の絶対値和を生成
する。( )*は、絶対値を意味する。これらの復号値
は、エラーであるものが除外される。
FIG. 3 shows the peripheral decoded values y1 to y1 of the block of interest.
It shows y12 and boundary data (decoded value) of its peripheral blocks. The determination circuit 19 generates the following absolute value sum of the difference. () * Means an absolute value. These decoded values are excluded if they are in error.

【0029】差の絶対値和=(y1´´−y1)*+
(y1´−y1)*+(y2´−y2)*+(y3´−
y3)*+(y4´−y4)*+(y4´´−y4)*
+(y5´−y5)*+(y6´−y6)*+(y7´
−y7)*+(y7´´−y7)*+(y8´−y8)
*+(y9´−y9)*+(y10´−y10)*+(y10
´´−y10)*+(y11´−y11)*+(y12´−y1
2)*
Sum of absolute values of difference = (y1 ″ −y1) * +
(Y1'-y1) * + (y2'-y2) * + (y3'-
y3) * + (y4'-y4) * + (y4 "-y4) *
+ (Y5'-y5) * + (y6'-y6) * + (y7 '
-Y7) * + (y7 "-y7) * + (y8'-y8)
* + (Y9'-y9) * + (y10'-y10) * + (y10
"" -Y10) * + (y11'-y11) * + (y12'-y1
2) *

【0030】この絶対値和としきい値TH1か比較さ
れ、絶対値和>TH1の場合は、フラグSを強制的に
“0”とする。このように、周辺のブロックとあまり大
きな差が存在することは、画像の空間的な相関の存在に
反するので、重要語の推定が失敗したと判断する。これ
によって、重要語の修整の精度を高めている。
This sum of absolute values is compared with a threshold value TH1. If the sum of absolute values is greater than TH1, the flag S is forcibly set to "0". Since the existence of a very large difference from the surrounding blocks is contrary to the existence of the spatial correlation of the image, it is determined that the keyword estimation has failed. As a result, the accuracy of the modification of the important words is improved.

【0031】図4は、この発明の他の実施例である。図
2の重要語修整回路とことなる点は、判定回路19と判
定回路21との両者を設けていることである。判定回路
19は、上述のように、注目ブロックの復号値と周辺ブ
ロックの境界データの差の絶対値和をしきい値TH1と
比較して、重要語の推定の良否を判断する。他の判定回
路21は、上述の対応する2画素の復号値の差の絶対値
の中の最大値をしきい値TH2と比較する。
FIG. 4 shows another embodiment of the present invention. The difference from the important word modification circuit in FIG. 2 is that both the judgment circuit 19 and the judgment circuit 21 are provided. As described above, the determination circuit 19 compares the absolute value sum of the difference between the decoded value of the target block and the boundary data of the peripheral block with the threshold value TH1 to determine whether the estimation of the important word is good or not. The other determination circuit 21 compares the maximum value of the absolute values of the difference between the decoded values of the corresponding two pixels with the threshold value TH2.

【0032】差の絶対値の最大値がしきい値TH2より
大きい時には、重要語の修整(推定)が失敗したものと
して、重要語のフラグSをスイッチ回路20によって、
強制的に"0" としている。ダイナミックレンジの推定を
誤ったために、隣接する復号値の差が非常に大きくなる
と、その画素が目立つことになる。かかる画質の劣化が
判定回路21によって防止される。二つの判定回路19
および21によって、画質の劣化を上述の一実施例より
確実に防止できる。
[0032] During maximum value is greater than the threshold value TH2 of the absolute value of the difference, as the important word modification (estimated) fails, the switch circuit 20 the flag S of important words,
Forced to "0". If the difference between adjacent decoded values becomes very large due to erroneous estimation of the dynamic range, the pixel becomes conspicuous. The deterioration of the image quality is prevented by the determination circuit 21. Two judgment circuits 19
By means of and 21, the deterioration of the image quality can be prevented more reliably than in the above-described embodiment.

【0033】以上の実施例では、重要語を推定した時
に、推定が成功したかどうかを示すフラグSを修整回路
14で発生しているが、必ずしも、その必要はなく、判
定回路19、21によってこのフラグSを発生しても良
い。また、ブロック符号化としてADRCを用いている
が、DCT等の他のブロック符号化を用いても良い。
In the above embodiment, when the important word is estimated, the flag S indicating whether or not the estimation is successful is generated in the modifying circuit 14, but this is not always necessary. This flag S may be generated. Although ADRC is used as block coding, other block coding such as DCT may be used.

【0034】[0034]

【発明の効果】この発明は、重要語がエラーのブロック
に関しては、そのブロックの周囲に存在する復号値を使
用して重要語を推定し、また、この推定の成功/失敗を
示すフラグを形成し、このフラグを参照してエラーであ
る画素の補間を行なうので、良好な復元画像を得ること
ができる。
According to the present invention, for a block in which an important word is erroneous, an important word is estimated using decoded values existing around the block, and a flag indicating success / failure of the estimation is formed. Since the interpolation of the error pixel is performed with reference to this flag, a good restored image can be obtained.

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

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

【図2】この発明の一実施例における重要語の修整回路
の一例の構成を示すブロック図である。
FIG. 2 is a block diagram showing a configuration of an example of an important word modifying circuit in one embodiment of the present invention.

【図3】注目ブロックの復号値と周辺ブロックの境界の
復号値を示す略線図である。
FIG. 3 is a schematic diagram illustrating a decoded value of a block of interest and a decoded value of a boundary between peripheral blocks.

【図4】この発明の重要語の修整回路の他の例の構成を
示すブロック図である。
FIG. 4 is a block diagram showing a configuration of another example of the important word modifying circuit of the present invention.

【符号の説明】 1 重要語修整回路 2 空間的補間回路 4 時間方向補間回路 12、17 ADRCデコーダ 14 修整回路 19、21 判定回路[Explanation of Signs] 1 Key word correction circuit 2 Spatial interpolation circuit 4 Time direction interpolation circuit 12, 17 ADRC decoder 14 Correction circuit 19, 21 Judgment circuit

Claims (5)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 複数の画素からなるディジタル画像信号
を、空間的に近接する複数の画素からなるブロック毎
に、伝送情報量を圧縮するブロック符号化することで生
成された、復号のための重要度が高い重要語を含む伝送
データを復号するブロック変換符号の復号装置におい
て、 記重要語がエラーの場合に、上記重要語のエラーを修
整するための手段と、 上記伝送データが供給され、上記ブロック毎に正しい上
記重要語あるいは上記修整された重要語を用いて、上記
符号化データを復号するための復号手段と、 上記復号手段と結合され、上記重要語がエラーの注目ブ
ロックに関して、上記注目ブロックの周辺の位置の復
号値と、上記注目ブロックの周辺ブロック内であって、
上記注目ブロックとの境界付近に位置する復号値との差
を参照することによって、上記重要語の修整が成功した
かどうかを判定するための手段とからなることを特徴と
するブロック変換符号の復号装置。
1. A digital image signal comprising a plurality of pixels.
And for each block comprising a plurality of pixels spatially close, raw by block coding to compress the amount of transmission information
A transmission that includes the important words that are important for decoding
In the decoding apparatus of lube lock conversion code to decode the data, if the upper Symbol key word errors, the important word and means for modification errors, the transmission data is supplied, right above for each of the blocks A decoding unit for decoding the encoded data using the important word or the modified important word; and a decoding unit coupled to the decoding unit, wherein the important word is related to an error block of interest in the vicinity of the block of interest. The decoded value of the position and the peripheral block of the noted block,
Means for determining whether the modification of the important word has been successful by referring to a difference from a decoded value located near the boundary with the block of interest. apparatus.
【請求項2】 複数の画素からなるディジタル画像信号
を、空間的に近接する複数の画素からなるブロック毎
に、伝送情報量を圧縮するブロック符号化することで生
成された、復号のための重要度が高い重要語を含む伝送
データを復号するブロック変換符号の復号装置におい
て、 記重要語がエラーの場合に、上記重要語のエラーを修
整するための手段と、 上記伝送データが供給され、上記ブロック毎に正しい上
記重要語あるいは上記修整された重要語を用いて、上記
符号化データを復号するための復号手段と、 上記復号手段と結合され、上記重要語がエラーの注目ブ
ロックに関して、上記注目ブロックの周辺の位置の復
号値と、上記注目ブロックの周辺ブロック内であって、
上記注目ブロックとの境界付近に位置する復号値との差
の絶対値和が所定値より小さい時に、上記重要語の修整
が成功したものと判定するための手段とからなることを
特徴とするブロック変換符号の復号装置。
2. A digital image signal comprising a plurality of pixels.
And for each block comprising a plurality of pixels spatially close, raw by block coding to compress the amount of transmission information
A transmission that includes the important words that are important for decoding
In the decoding apparatus of lube lock conversion code to decode the data, if the upper Symbol key word errors, the important word and means for modification errors, the transmission data is supplied, right above for each of the blocks A decoding unit for decoding the encoded data using the important word or the modified important word; and a decoding unit coupled to the decoding unit, wherein the important word is related to an error block of interest in the vicinity of the block of interest. The decoded value of the position and the peripheral block of the noted block,
Means for determining that the modification of the key word has been successful when the sum of absolute values of the difference from the decoded value located near the boundary with the block of interest is smaller than a predetermined value. Decoding device for transform code.
【請求項3】 複数の画素からなるディジタル画像信号
を、空間的に近接する複数の画素からなるブロック毎
に、伝送情報量を圧縮するブロック符号化することで生
成された、復号のための重要度が高い重要語を含む伝送
データを復号するブロック変換符号の復号装置におい
て、 記重要語がエラーの場合に、上記重要語のエラーを修
整するための手段と、 上記伝送データが供給され、上記ブロック毎に正しい上
記重要語あるいは上記修整された重要語を用いて、上記
符号化データを復号するための復号手段と、 上記復号手段と結合され、上記重要語がエラーの注目ブ
ロックに関して、上記注目ブロックの周辺の位置の復
号値と、上記注目ブロックの周辺ブロック内であって、
上記注目ブロックとの境界付近に位置する復号値との差
の絶対値の最大値が所定値より小さい時に、上記重要語
の修整が成功したものと判定するための手段とからなる
ことを特徴とするブロック変換符号の復号装置。
3. A digital image signal comprising a plurality of pixels.
And for each block comprising a plurality of pixels spatially close, raw by block coding to compress the amount of transmission information
A transmission that includes the important words that are important for decoding
In the decoding apparatus of lube lock conversion code to decode the data, if the upper Symbol key word errors, the important word and means for modification errors, the transmission data is supplied, right above for each of the blocks A decoding unit for decoding the encoded data using the important word or the modified important word; and a decoding unit coupled to the decoding unit, wherein the important word is related to an error block of interest in the vicinity of the block of interest. The decoded value of the position and the peripheral block of the noted block,
Means for determining that the modification of the important word has been successful when the maximum value of the absolute value of the difference between the decoded word and the decoded value located near the boundary with the block of interest is smaller than a predetermined value. For decoding block transform codes.
【請求項4】 複数の画素からなるディジタル画像信号
を、空間的に近接する複数の画素からなるブロック毎
に、伝送情報量を圧縮するブロック符号化することで生
成された、復号のための重要度が高い重要語を含む伝送
データを復号するブロック変換符号の復号装置におい
て、 記重要語がエラーの場合に、上記重要語のエラーを修
整するための手段と、 上記伝送データが供給され、上記ブロック毎に正しい上
記重要語あるいは上記修整された重要語を用いて、上記
符号化データを復号するための復号手段と、 上記復号手段と結合され、上記重要語がエラーの注目ブ
ロックに関して、上記注目ブロックの周辺の位置の復
号値と、上記注目ブロックの周辺ブロック内であって、
上記注目ブロックとの境界付近に位置する復号値との差
の絶対値和が所定値より小さく、または上記差の絶対値
の最大値が所定値より小さい時に、上記重要語の修整が
成功したものと判定するための手段とからなることを特
徴とするブロック変換符号の復号装置。
4. A digital image signal comprising a plurality of pixels.
And for each block comprising a plurality of pixels spatially close, raw by block coding to compress the amount of transmission information
A transmission that includes the important words that are important for decoding
In the decoding apparatus of lube lock conversion code to decode the data, if the upper Symbol key word errors, the important word and means for modification errors, the transmission data is supplied, right above for each of the blocks A decoding unit for decoding the encoded data using the important word or the modified important word; and a decoding unit coupled to the decoding unit, wherein the important word is related to an error block of interest in the vicinity of the block of interest. The decoded value of the position and the peripheral block of the noted block,
Modification of the key word is successful when the sum of absolute values of the difference from the decoded value located near the boundary with the block of interest is smaller than a predetermined value or the maximum value of the absolute value of the difference is smaller than a predetermined value. A decoding device for a block transform code, the decoding device comprising:
【請求項5】 複数の画素からなるディジタル画像信号
を、空間的に近接する複数の画素からなるブロック毎
に、伝送情報量を圧縮するブロック符号化することで生
成された、復号のための重要度が高い重要語を含む伝送
データを復号するブロック変換符号の復号装置におい
て、 上記伝送データのエラーの有無を示すエラーフラグを発
生するための手段と、 上記重要語がエラーの場合に、上記重要語のエラーを修
整するための手段と、 上記伝送データが供給され、上記ブロック毎に正しい上
記重要語あるいは上記修整された重要語を用いて、上記
符号化データを復号するための復号手段と、 上記復号手段と結合され、上記重要語がエラーの注目ブ
ロックに関して、上記注目ブロックの周辺の位置の復
号値と、上記注目ブロックの周辺ブロック内であって、
上記注目ブロックとの境界付近に位置する復号値との差
を参照することによって、上記重要語の修整が成功した
かどうかを判定し、その結果、上記エラーフラグを再設
定するための手段とからなることを特徴とするブロック
変換符号の復号装置。
5. A digital image signal comprising a plurality of pixels.
And for each block comprising a plurality of pixels spatially close, raw by block coding to compress the amount of transmission information
A transmission that includes the important words that are important for decoding
In the decoding apparatus of lube lock conversion code to decode the data and modification means for generating an error flag indicating the presence or absence of error of the transmission data, if the key word is an error, an error of the important words Means for supplying the transmission data, decoding means for decoding the encoded data using the correct important words or the modified important words for each block, and the decoding means A decoded value of a peripheral position in the block of interest with respect to the block of interest in which the important word is an error,
By referring to the difference from the decoded value located near the boundary with the block of interest, it is determined whether or not the modification of the important word has been successful, and as a result, means for resetting the error flag. An apparatus for decoding a block transform code.
JP25078192A 1992-04-22 1992-08-26 Decoding device for block transform code Expired - Fee Related JP3270861B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25078192A JP3270861B2 (en) 1992-04-22 1992-08-26 Decoding device for block transform code

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP4-129551 1992-04-22
JP12955192 1992-04-22
JP25078192A JP3270861B2 (en) 1992-04-22 1992-08-26 Decoding device for block transform code

Publications (2)

Publication Number Publication Date
JPH066778A JPH066778A (en) 1994-01-14
JP3270861B2 true JP3270861B2 (en) 2002-04-02

Family

ID=26464907

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25078192A Expired - Fee Related JP3270861B2 (en) 1992-04-22 1992-08-26 Decoding device for block transform code

Country Status (1)

Country Link
JP (1) JP3270861B2 (en)

Also Published As

Publication number Publication date
JPH066778A (en) 1994-01-14

Similar Documents

Publication Publication Date Title
EP0617558B1 (en) Apparatus for concealing errors in data
JPH06205386A (en) Picture reproduction device
EP1351509A2 (en) Differential encoding (DPCM) for video data
US5532837A (en) Digital video signal processing apparatus
JP2003528475A (en) System for detecting redundant images in a video sequence
JP3363541B2 (en) Image signal reproducing device and image processing device
JP3270861B2 (en) Decoding device for block transform code
JP2643636B2 (en) Signal processing method
JP3291785B2 (en) Transmission device for block transform coded data
JP3326828B2 (en) Digital image signal receiving / reproducing device
JP3257226B2 (en) Image processing apparatus and image processing method
JP3896635B2 (en) Image data conversion apparatus and method, prediction coefficient generation apparatus and method
JP3304415B2 (en) Decoding device for block transform code
JP3627256B2 (en) Apparatus and method for receiving / reproducing digital image signal
JPH0686247A (en) Receiver/reproducer for digital picture signal
JP3257156B2 (en) Image signal decoding device
JPH05300485A (en) Decoding device of block conversion code
JP3469597B2 (en) Decoding device for block transform code
JP3669005B2 (en) Signal processing apparatus and method
JP3257155B2 (en) Image signal decoding device
JP3310633B2 (en) Decryption device
JP3257124B2 (en) Decoding device for block transform code
JP3104384B2 (en) Decoding device and decoding method for block transform code
JP3902032B2 (en) Block transform encoded data transmission apparatus
JP2832974B2 (en) Image decoding device and decoding method

Legal Events

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

Free format text: PAYMENT UNTIL: 20080125

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090125

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20100125

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees