JP2917185B2 - Compressed video decoding device - Google Patents

Compressed video decoding device

Info

Publication number
JP2917185B2
JP2917185B2 JP4028232A JP2823292A JP2917185B2 JP 2917185 B2 JP2917185 B2 JP 2917185B2 JP 4028232 A JP4028232 A JP 4028232A JP 2823292 A JP2823292 A JP 2823292A JP 2917185 B2 JP2917185 B2 JP 2917185B2
Authority
JP
Japan
Prior art keywords
component
orthogonal transform
block
discrete cosine
moving picture
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 - Lifetime
Application number
JP4028232A
Other languages
Japanese (ja)
Other versions
JPH05227517A (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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP4028232A priority Critical patent/JP2917185B2/en
Publication of JPH05227517A publication Critical patent/JPH05227517A/en
Application granted granted Critical
Publication of JP2917185B2 publication Critical patent/JP2917185B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】本発明はVTR(ビデオテープレ
コーダ)等の圧縮符号化された動画像データを復号する
装置に関し、特に、符号誤りによる画像乱れを出来るだ
け自然に修整するようにした圧縮動画像復号装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an apparatus for decoding moving image data which has been compression-encoded such as a VTR (Video Tape Recorder), and more particularly to a compression apparatus which corrects image disturbance due to a code error as naturally as possible. The present invention relates to a video decoding device.

【0002】[0002]

【従来の技術】画像データのデータ量を圧縮して記録媒
体に記録、あるいは伝送路を通じて伝送する装置におい
て、画像データを小さなブロックに分割して離散コサイ
ン変換などの直交変換を行い、エネルギーが低周波成分
に偏ることを利用してデータ量を圧縮する方法がよく知
られている。このような装置では、記録再生や伝送の過
程で発生する符号誤りによる画像乱れを防ぐため誤り訂
正符号を採用し、訂正しきれなかったものについては再
生側で何らかの修整を行うのが普通である。
2. Description of the Related Art In an apparatus for compressing the amount of image data and recording it on a recording medium, or transmitting the image data through a transmission path, the image data is divided into small blocks and subjected to orthogonal transform such as discrete cosine transform to reduce energy. A method of compressing a data amount by using a bias toward a frequency component is well known. In such a device, an error correction code is adopted to prevent image distortion due to a code error occurring in the process of recording / reproduction or transmission, and for a device which cannot be corrected, some modification is usually performed on the reproduction side. .

【0003】ところで直交変換を用いた符号化の場合、
符号誤りの影響はブロック内のすべての画素に広がって
しまう。このような固まった広い範囲の画素に対して
は、同じ画面内の周りの画素データを用いて修整値を作
成することにより効果的な修整を行うことは難しい。そ
こで従来は、特開平3−209998号公報に記載のよ
うに、他の画面(フレーム)の画素データを用いて作成
した修整値でブロック全体を置き換える面間修整が検討
されている。
In the case of encoding using orthogonal transform,
The effect of the code error spreads to all pixels in the block. It is difficult to perform effective retouching on such a wide range of pixels by creating retouching values using pixel data around the same screen. Therefore, conventionally, as described in JP-A-3-209998, inter-plane modification in which the entire block is replaced with a modification value created using pixel data of another screen (frame) has been studied.

【0004】しかし、画面間の修整は動きのある場面で
は効果が上がらず、不自然な画像になってしまう。この
点に関して従来は、動き検出を行って修整に用いる画素
データの動き補正を行っているが、これも動きの速い画
像やシーン切り替え等に対しては限界があり、また動き
補正を行うためには大規模な回路が必要となる。さら
に、ブロック全体をそっくり置き換えるということはブ
ロック内の誤っていない情報を捨ててしまっていること
にもなる。
[0004] However, the retouching between the screens is not effective in a moving scene, resulting in an unnatural image. Conventionally, in this regard, motion detection is performed to correct pixel data used for correction, but this also has limitations for fast-moving images and scene switching, and in order to perform motion correction. Requires a large-scale circuit. Furthermore, replacing an entire block in its entirety means discarding erroneous information in the block.

【0005】[0005]

【発明が解決しようとする課題】上記したように従来の
技術は、直交変換を用いて圧縮符号化された画像データ
を再生する装置において、画面間の修整を行うが、動き
の速い画像やシーン切り替えで不自然な画像になるとい
う問題があり、また、ブロック内の誤っていない情報を
捨ててしまっていることについての配慮がなされていな
かった。
As described above, in the prior art, in an apparatus for reproducing image data compressed and encoded by using an orthogonal transform, correction between screens is performed. There is a problem that an unnatural image is obtained by switching, and no consideration has been given to discarding erroneous information in a block.

【0006】本発明は上記の点に鑑みなされたもので、
その目的とするところは、ブロック内の誤っていない情
報を活かし、より自然な修整を行う圧縮動画像復号装置
を提供することにある。
[0006] The present invention has been made in view of the above points,
An object of the present invention is to provide a compressed moving picture decoding apparatus that performs more natural correction by utilizing information that is not erroneous in a block.

【0007】[0007]

【課題を解決するための手段】本発明による圧縮動画像
復号装置は上記目的を達成するため、直交変換の逆変換
をする前の直交変換係数の状態で面内の修整処理を行う
手段と、逆変換後の画素データの状態で面間の修整処理
を行う手段とを備え、誤りの程度に応じてどちらの修整
を行うかを制御するように、構成される。
In order to achieve the above object, a compressed moving picture decoding apparatus according to the present invention performs in-plane modification processing in a state of orthogonal transform coefficients before performing inverse transform of orthogonal transform; Means for performing inter-plane modification processing in the state of the pixel data after the inverse transformation, and configured to control which modification is performed according to the degree of error.

【0008】[0008]

【作用】逆変換前に修整を行うので、ブロック内の誤っ
ていない直交変換係数を活かすことができる。また、で
きるだけ面内修整を行うので自然な修整を行うことがで
きる。
Since the correction is performed before the inverse transform, the erroneous orthogonal transform coefficients in the block can be utilized. In addition, since in-plane retouching is performed as much as possible, natural retouching can be performed.

【0009】[0009]

【実施例】以下、本発明を図示した各実施例によって説
明する。図1は、本発明の第1実施例に係る圧縮動画像
復号装置の構成を示すブロック図である。図1のブロッ
ク図の説明の前に、本発明の各実施例で取り扱うディジ
タル画像圧縮符号化方式について、図2および図3を用
いて説明する。まず、画像データを8×8画素のブロッ
クに分割し、ブロック毎に離散コサイン変換を行う。図
2に示したブロック9は離散コサイン変換後のブロック
で、成分fijは垂直方向i次、水平方向j次の離散コサ
イン変換係数である(以後f00をDC(直流)成分、そ
の他をAC(交流)成分と呼ぶ)。各成分を量子化した
後、図中の矢印のようなジグザグスキャンにより並べ替
え、AC成分についてはその値に対して1対1に割り当
てた可変長符号に変換する。画像の統計的性質によりエ
ネルギーは低次の成分に集中し、高次のAC成分はほと
んど0になるので、これに短い符号を割り当てることに
よりデータ量を圧縮することができる。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below with reference to the illustrated embodiments. FIG. 1 is a block diagram illustrating a configuration of a compressed moving picture decoding device according to a first embodiment of the present invention. Prior to the description of the block diagram of FIG. 1, a digital image compression encoding system used in each embodiment of the present invention will be described with reference to FIGS. First, the image data is divided into blocks of 8 × 8 pixels, and discrete cosine transform is performed for each block. A block 9 shown in FIG. 2 is a block after the discrete cosine transform, and a component f ij is a discrete cosine transform coefficient of the i-th order in the vertical direction and the j-th order in the horizontal direction (hereinafter, f 00 is a DC (direct current) component, and others are AC (direct current) components. (Referred to as (AC) component). After quantizing each component, the components are rearranged by zigzag scanning as indicated by arrows in the figure, and the AC component is converted into a variable length code assigned to the value on a one-to-one basis. Due to the statistical properties of the image, the energy is concentrated in the low-order components and the high-order AC components are almost zero. Therefore, by assigning a short code to this, the data amount can be compressed.

【0010】次に、DC成分および可変長符号に変換さ
れたAC成分から図3に示すような誤り訂正積ブロック
を形成し、記録媒体上へ記録する。同期信号10の後に
画面上のどのブロックのデータであるかを示すID11
を付け、その後、固定長のDC成分12と可変長符号に
変換されたAC成分を続ける。外訂正符号13は符号を
縦方向に見た符号列に対して付加する訂正符号であり、
内訂正符号14は符号を横方向に見た符号列に対して付
加する訂正符号である。これらにより、二重の訂正をか
ける。AC成分は固定アドレスAC成分15と可変アド
レスAC成分16に分け、接続アドレス17に固定アド
レスAC成分の符号の続きが可変アドレスAC成分のど
の位置から始まるかを示すアドレスデータを入れる。
Next, an error correction product block as shown in FIG. 3 is formed from the DC component and the AC component converted into a variable length code, and is recorded on a recording medium. ID 11 indicating which block on the screen is the data after the synchronization signal 10
After that, the fixed-length DC component 12 and the AC component converted into the variable-length code are continued. The outer correction code 13 is a correction code for adding a code to a code string viewed in the vertical direction.
The inner correction code 14 is a correction code that is added to a code sequence when the code is viewed in the horizontal direction. These make a double correction. The AC component is divided into a fixed address AC component 15 and a variable address AC component 16, and the connection address 17 contains address data indicating where the continuation of the code of the fixed address AC component starts from the variable address AC component.

【0011】図1に示した実施例(および後述する各実
施例)は、上述した符号化方式により記録された記録媒
体から画像データを再生する装置である。図1におい
て、ヘッド1の出力は誤り訂正器2、可変長復号器3、
面内修整器4、逆離散コサイン変換器5および面間修整
器6を通って出力端子7へ供給されている。面間修整器
6には画面メモリ8が接続されている。また、誤り訂正
器2から面内修整器4および面間修整判定回路20へ修
整指令信号が供給され、面間修整判定回路20から面間
修整器6へ修整指令信号が供給されている。
The embodiment shown in FIG. 1 (and each embodiment to be described later) is an apparatus for reproducing image data from a recording medium recorded by the above-mentioned encoding method. In FIG. 1, the output of a head 1 is an error corrector 2, a variable length decoder 3,
The signal is supplied to an output terminal 7 through an in-plane modifier 4, an inverse discrete cosine transformer 5, and an inter-plane modifier 6. A screen memory 8 is connected to the face-to-face modifier 6. A correction command signal is supplied from the error corrector 2 to the in-plane retouching device 4 and the inter-plane retouching determination circuit 20, and a retouching command signal is supplied from the inter-plane retouching determination circuit 20 to the inter-surface retouching device 6.

【0012】このような構成において、符号化された信
号を記録媒体からヘッド1により読みだし、誤り訂正器
2により訂正をかける。このとき誤りが検出されながら
訂正しきれなかった符号誤りについては後段の回路に対
して修整指令を出す。可変長復号器3は、訂正された可
変長符号から離散コサイン変換係数を復元する。可変長
復号器3へは、図3に示した誤り訂正積ブロックにより
訂正をかけた後の符号が入力される。ここで、例えば図
3中の符号18が訂正不能の誤りであった場合、可変長
復号器3の出力のうち、符号18を含む可変長符号に対
応した離散コサイン変換係数の値は誤りとなる。それば
かりでなく、符号18を含む可変長符号の符号長も信頼
できなくなるため、これに続く可変長符号の起点も信頼
できなくなり、結局次の接続アドレスにより可変長符号
の起点が示されるまでの全ての可変長符号(図3中の斜
線部分)に対応する離散コサイン変換係数の値が無効と
なる。離散コサイン変換係数は図2に示したジグザグス
キャンの順序で符号化されているので、誤った可変長符
号に対応する離散コサイン変換係数から右下の離散コサ
イン変換係数が全て無効となる。
In such a configuration, the encoded signal is read from the recording medium by the head 1 and corrected by the error corrector 2. At this time, a correction instruction is issued to a subsequent circuit for a code error that cannot be corrected while an error is detected. The variable length decoder 3 restores a discrete cosine transform coefficient from the corrected variable length code. The code corrected by the error correction product block shown in FIG. 3 is input to the variable length decoder 3. Here, for example, if the code 18 in FIG. 3 is an uncorrectable error, the value of the discrete cosine transform coefficient corresponding to the variable length code including the code 18 in the output of the variable length decoder 3 becomes an error. . In addition, since the code length of the variable-length code including the code 18 is also unreliable, the starting point of the subsequent variable-length code is also unreliable, and until the starting point of the variable-length code is indicated by the next connection address. The values of the discrete cosine transform coefficients corresponding to all the variable length codes (shaded portions in FIG. 3) become invalid. Since the discrete cosine transform coefficients are encoded in the zigzag scan order shown in FIG. 2, all the lower right discrete cosine transform coefficients from the discrete cosine transform coefficients corresponding to the erroneous variable length code become invalid.

【0013】面内修整器4は、誤り訂正器2からの修整
指令を受け、これら無効な離散コサイン変換係数に対し
画面内の修整処理を行う。逆離散コサイン変換器5は、
画面内の修整処理を受けた離散コサイン変換係数から逆
離散コサイン変換により8×8画素の画像データを復元
する。面間修整器6は、画面メモリ8を用いて修整指令
のあったブロック内の全ての画素データを1画面前の画
素データに置き換える画面間の修整処理を行うが、この
際、面間修整判定回路20により、ブロック内の予め定
められた一定量以上の離散コサイン変換係数が無効にな
っている場合に限り画面間の修整処理を行うように制御
される。
The in-plane retouching device 4 receives a retouching command from the error correcting device 2, and performs in-screen retouching processing on these invalid discrete cosine transform coefficients. The inverse discrete cosine transformer 5
The image data of 8 × 8 pixels is restored by the inverse discrete cosine transform from the discrete cosine transform coefficient subjected to the modification processing in the screen. The inter-plane retouching unit 6 performs inter-screen retouching processing using the screen memory 8 to replace all pixel data in the block for which the retouching command has been issued with pixel data of the previous screen. The circuit 20 controls so as to perform the inter-screen modification process only when the discrete cosine transform coefficient of a predetermined amount or more in the block is invalid.

【0014】以上のように本実施例によれば、ブロック
内において無効な離散コサイン変換係数が少ない場合
に、有効な離散コサイン変換係数を活かすことができ、
より自然な修整を行うことができる。
As described above, according to the present embodiment, when there are few invalid discrete cosine transform coefficients in a block, the effective discrete cosine transform coefficients can be utilized.
More natural modification can be performed.

【0015】次に、第1実施例における面内修整器4の
具体例を図4および図5を用いて説明する。図4は面内
修整器4の一例を示すブロック図である。同図に示すよ
うに、可変長復号器3の出力がスイッチ回路41の一方
の入力端に入力されている。スイッチ回路41のもう一
方の入力端には係数0発生器42の出力が入力されてお
り、スイッチ回路41の出力は逆離散コサイン変換器5
に入力されている。また、スイッチ制御器43からスイ
ッチ回路41へ制御信号が供給されており、スイッチ制
御器43へは図示を省略した誤り訂正器2からの修整指
令信号が供給されている。
Next, a specific example of the in-plane retouching device 4 in the first embodiment will be described with reference to FIGS. FIG. 4 is a block diagram illustrating an example of the in-plane retouching device 4. As shown in the figure, the output of the variable length decoder 3 is input to one input terminal of the switch circuit 41. The output of the coefficient 0 generator 42 is input to the other input terminal of the switch circuit 41, and the output of the switch circuit 41 is supplied to the inverse discrete cosine converter 5.
Has been entered. Further, a control signal is supplied from the switch controller 43 to the switch circuit 41, and a modification command signal from the error corrector 2 (not shown) is supplied to the switch controller 43.

【0016】このような構成において、スイッチ制御器
43が例えば前記図3に示した符号18に対する修整指
令を受けると、符号18を含む可変長符号に対応した離
散コサイン変換係数およびそれ以降の離散コサイン変換
係数を0に置き換えるようにスイッチ回路41を制御す
る。
In such a configuration, when the switch controller 43 receives, for example, a modifying command for the code 18 shown in FIG. 3, the discrete cosine transform coefficient corresponding to the variable length code including the code 18 and the discrete cosine transform coefficient thereafter. The switch circuit 41 is controlled so that the conversion coefficient is replaced with 0.

【0017】スイッチ回路41の出力を図5に示す。1
9は訂正不能となった符号18を含む可変長符号に対応
した離散コサイン変換係数である。同図に示すようにジ
グザグスキャンの順に従い、係数19以降の全ての係数
を0に置き換える。これにより、DC成分および誤りの
ない低次のAC成分が活かされ、高次のAC成分のみカ
ットされた自然な修整画とすることができる。
The output of the switch circuit 41 is shown in FIG. 1
Reference numeral 9 denotes a discrete cosine transform coefficient corresponding to a variable-length code including the code 18 that cannot be corrected. As shown in the figure, all coefficients after the coefficient 19 are replaced with 0 according to the zigzag scan order. As a result, the DC component and the low-order AC component having no error are utilized, and a natural retouched image in which only the high-order AC component is cut can be obtained.

【0018】図6は本発明の第2実施例に係る圧縮動画
像復号装置における面内修整器4を示すブロック図であ
り、本実施例においては、隣接するブロックの係数を用
いて面内修整を行うようにしている。図6における可変
長復号器3、スイッチ回路41、係数0発生器42、ス
イッチ制御器43および逆離散コサイン変換器5の動作
は、図4に示した第1実施例と同じである。図6におい
て、スイッチ回路41の出力が1ブロック遅延回路50
および1ブロックライン遅延回路51へ入力されてい
る。1ブロック遅延回路50の出力は直接および正負反
転器52を通して修整係数選択器53に、1ブロックラ
イン遅延回路51の出力も直接および正負反転器54を
通して修整係数選択器53に入力されており、さらに係
数0発生器42の出力も修整係数選択器53に入力され
ている。そして、修整係数選択器53の出力がスイッチ
回路41のもう一方の入力端へ供給されている。
FIG. 6 is a block diagram showing an in-plane modifying unit 4 in a compressed moving picture decoding apparatus according to a second embodiment of the present invention. In this embodiment, in-plane modifying is performed using coefficients of adjacent blocks. To do. The operations of the variable length decoder 3, switch circuit 41, coefficient 0 generator 42, switch controller 43 and inverse discrete cosine transformer 5 in FIG. 6 are the same as those in the first embodiment shown in FIG. In FIG. 6, the output of the switch circuit 41 is a one-block delay circuit 50.
And one block line delay circuit 51. The output of the one-block delay circuit 50 is input directly and through a positive / negative inverter 52 to the modifying coefficient selector 53, and the output of the one-block line delay circuit 51 is also input directly and through the positive / negative inverter 54 to the modifying coefficient selector 53. The output of the coefficient 0 generator 42 is also input to the modifying coefficient selector 53. The output of the modifying coefficient selector 53 is supplied to the other input terminal of the switch circuit 41.

【0019】図7に画面上の離散コサイン変換係数を示
す。図6に示した本第2実施例は、訂正不能の誤りを生
じたブロック21の離散コサイン変換係数fijを、上の
隣接ブロック22の離散コサイン変換係数vijおよび左
の隣接ブロック23の離散コサイン変換係数hijを用い
て修整するものである。
FIG. 7 shows discrete cosine transform coefficients on the screen. This second embodiment shown in FIG. 6, the discrete cosine transform coefficients f ij of a block 21 caused the uncorrectable errors, discrete discrete cosine transform coefficients v ij and left neighboring blocks 23 of the upper adjacent block 22 it is intended to modification using the cosine transform coefficients h ij.

【0020】図6において、1ブロック遅延回路50は
離散コサイン変換係数hij、1ブロックライン遅延回路
51は離散コサイン変換係数vijがそれぞれ得られるよ
うにデータの遅延を行う。修整係数選択器53はこれら
の係数および係数0を基に修整値を生成し、スイッチ回
路41は誤った係数をこの修整値に置き換える。
In FIG. 6, a one-block delay circuit 50 delays data so as to obtain a discrete cosine transform coefficient h ij , and a one-block line delay circuit 51 delays data so as to obtain a discrete cosine transform coefficient v ij . The modification coefficient selector 53 generates a modification value based on these coefficients and the coefficient 0, and the switch circuit 41 replaces an erroneous coefficient with the modification value.

【0021】本第2実施例のスイッチ回路41の出力を
図8に示す。ブロック内の対角線より右上の成分は垂直
方向の次数が低く、上の隣接ブロック22との相関の方
が高い可能性が強いのでvijを用い、左下の成分は水平
方向の次数が低く、左の隣接ブロック23との相関の方
が高い可能性が強いのでhijを用いて修整を行うように
される。この際、奇数次の成分は隣接するブロックで位
相が反転することを考慮して、jが奇数のhij成分は正
負反転器52により正負を反転して用い、iが奇数のv
ij成分は正負反転器54により正負を反転して用いる。
さらに、右下の成分はどちらの相関も低いと考えられる
ので、あらかじめ定めた係数より右下の成分は係数0に
置き換える。
FIG. 8 shows the output of the switch circuit 41 of the second embodiment. The component at the upper right of the diagonal line in the block has a lower degree in the vertical direction, and the correlation with the upper adjacent block 22 is more likely to be higher. Therefore, v ij is used. because of a strong likely better correlation with adjacent blocks 23 is to perform modification with h ij. At this time, in consideration of the fact that the odd-order component is inverted in phase in an adjacent block, the h ij component in which j is an odd number is used by inverting the sign by a positive / negative inverter 52, and i is an odd v
The ij component is used by inverting the sign by the sign inverter 54.
Further, since the lower right component is considered to have low correlation between both components, the lower right component from the predetermined coefficient is replaced with the coefficient 0.

【0022】以上のように本実施例によれば、隣接する
ブロックとの相関を利用してより正確な修整を行うこと
ができ、特に、縦エッジや横エッジ等の隣接ブロックと
の相関が強くて画質劣化の目立ちやすい画像に対して、
効果的な修整を行うことができる。
As described above, according to the present embodiment, more accurate correction can be performed by utilizing the correlation with the adjacent block. In particular, the correlation with the adjacent block such as a vertical edge or a horizontal edge is strong. Image degradation
Effective modification can be performed.

【0023】なお本第2実施例では対角線より右上の成
分はvij、左下の成分はhijと分けて修整を行ったが、
次数に応じて両者を適当な比で加算して用いるようにし
てもよい。また、右下の成分を係数0に置き換えたが、
適当な係数をかけることにより高次の成分を弱めるよう
にしてもよい。さらに、本実施例では上および左の隣接
ブロックの係数を用いたが、1ブロック遅延回路および
1ブロックライン遅延回路を2個ずつ設けることによ
り、上下左右のブロックの係数を用いた修整を行うこと
もできる。
In the second embodiment, the right upper component and the lower left component of the diagonal line are modified with v ij and h ij , respectively.
Both may be added at an appropriate ratio according to the order and used. Also, the lower right component has been replaced with a coefficient of 0,
Higher order components may be weakened by applying an appropriate coefficient. Furthermore, in the present embodiment, the coefficients of the upper and left adjacent blocks are used, but by using two one-block delay circuits and two one-block line delay circuits, the modification using the coefficients of the upper, lower, left, and right blocks is performed. Can also.

【0024】図9は、本発明の第3実施例に係る圧縮動
画像復号装置の要部構成を示すブロック図であり、本実
施例は、図4の第1実施例においてDC成分も面内修整
するようにし、かつブロックのシャフリングを行う符号
化方式に適応した例を示している。このシャフリングと
は、画面内でブロックの順番を入れ替えるもので、複数
ブロックにわたる符号誤りがあっても復号後の画面上に
おけるこれらのブロックの位置を分散し、視覚上画質劣
化を小さくするためのものである。図9における可変長
復号器3、スイッチ回路41、係数0発生器42、スイ
ッチ制御器43および逆離散コサイン変換器5の構成お
よび動作は図4に示した第1実施例と同じであり、AC
成分を0に置き換える修整を行う。図9において、可変
長復号器3の出力はDC成分デシャフリング器44にも
入力されており、DC成分デシャフリング器44にはD
C成分メモリ45が接続されている。DC成分デシャフ
リング器44の出力は減算器46の負入力端に供給され
ている。DC成分メモリ45からはDC成分修整値生成
器47へも信号が供給され、DC成分修整値生成器47
の出力は減算器46の正入力端に供給されている。一
方、図1における面間修整器6の代わりにデシャフリン
グ兼面間修整器24が接続されている。画面メモリ8の
出力は直接デシャフリング兼面間修整器24へは入力さ
れずスイッチ回路48の一方の入力端へ供給されてお
り、スイッチ回路48の出力がデシャフリング兼面間修
整器24へ入力されている。スイッチ回路48のもう一
方の入力端へは加算器49の出力が供給されており、加
算器49の一方の入力端には画面メモリ8の出力、もう
一方の入力端には減算器46の出力が供給されている。
スイッチ回路48へは、スイッチ制御器43から制御信
号が供給されている。
FIG. 9 is a block diagram showing a main configuration of a compressed moving picture decoding apparatus according to a third embodiment of the present invention. In this embodiment, the DC component in the first embodiment shown in FIG. An example is shown in which modification is performed and the encoding method is adapted to perform block shuffling. This shuffling is to change the order of the blocks in the screen, and even if there is a code error over a plurality of blocks, the positions of these blocks on the decoded screen are dispersed to reduce visual quality deterioration. Things. The configuration and operation of the variable length decoder 3, switch circuit 41, coefficient 0 generator 42, switch controller 43 and inverse discrete cosine transformer 5 in FIG. 9 are the same as those in the first embodiment shown in FIG.
Modification to replace the component with 0 is performed. In FIG. 9, the output of the variable length decoder 3 is also input to the DC component deshuffling device 44,
The C component memory 45 is connected. The output of the DC component deshuffling device 44 is supplied to a negative input terminal of a subtractor 46. A signal is also supplied from the DC component memory 45 to the DC component modified value generator 47, and the DC component modified value generator 47
Is supplied to the positive input terminal of the subtractor 46. On the other hand, a deshuffling and interplanar modifier 24 is connected instead of the interplanar modifier 6 in FIG. The output of the screen memory 8 is not directly input to the deshuffling and inter-plane modifier 24 but is supplied to one input end of the switch circuit 48. The output of the switch circuit 48 is input to the deshuffling and inter-plane modifier 24. I have. The output of the adder 49 is supplied to the other input terminal of the switch circuit 48. The output of the screen memory 8 is provided to one input terminal of the adder 49, and the output of the subtractor 46 is provided to the other input terminal. Is supplied.
A control signal is supplied from the switch controller 43 to the switch circuit 48.

【0025】このような構成において、デシャフリング
兼面間修整器24は、画面メモリ8を用いて符号化の際
にシャフリングされたブロックの順番をもとに戻すデシ
ャフリングを行うと共に、画面間の修整処理を行う。す
なわち、画面メモリ8からはデシャフリングされ、面間
修整された画素データが出力される。DC成分に訂正不
能の誤りがあった場合、逆離散コサイン変換器5は暫定
的に誤った係数値で逆離散コサイン変換を行い、得られ
た画素値は画面メモリ8に蓄えられる。DC成分デシャ
フリング器44は、デシャフリング兼面間修整器24が
デシャフリングを行うのと同じように、DC成分メモリ
45を用いて各ブロックのDC成分をデシャフリングす
る。DC成分修整値生成器47は、デシャフリングされ
た誤ったDC成分の上下左右のブロックのDC成分か
ら、誤ったDC成分の修整値を生成する。減算器46
は、暫定的な逆離散コサイン変換に用いた誤ったDC成
分と修整値との差を生成する。この差は加算器49によ
り、暫定的に逆離散コサイン変換されたブロック内のす
べての画素値に加算される。スイッチ制御器43は、画
面メモリ8からデシャフリングされて出てくる画素デー
タのうち、DC成分に対する修整指令のあったブロック
の画素データのみ加算器49の出力を選択するようにス
イッチ回路48を制御する。こうすることで、DC成分
を修整してから逆離散コサイン変換を行ったことと同じ
結果を得ることができる。
In such a configuration, the deshuffling and inter-plane retouching unit 24 performs deshuffling using the screen memory 8 to restore the order of the blocks shuffled at the time of encoding, and retouching between screens. Perform processing. That is, the screen memory 8 outputs pixel data that has been deshuffled and inter-plane modified. When there is an uncorrectable error in the DC component, the inverse discrete cosine transformer 5 temporarily performs the inverse discrete cosine transform with an incorrect coefficient value, and the obtained pixel value is stored in the screen memory 8. The DC component deshuffling device 44 uses the DC component memory 45 to deshuffle the DC component of each block in the same manner as the deshuffling and inter-plane retouching device 24 performs the deshuffling. The DC component retouch value generator 47 generates a retouch value of an erroneous DC component from the DC components of the deshuffled erroneous DC component in the upper, lower, left, and right blocks. Subtractor 46
Generates the difference between the erroneous DC component used for the provisional inverse discrete cosine transform and the modified value. This difference is added by the adder 49 to all the pixel values in the block subjected to the tentative inverse discrete cosine transform. The switch controller 43 controls the switch circuit 48 to select the output of the adder 49 only from the pixel data of the block for which the DC component has been modified, of the pixel data deshuffled from the screen memory 8. . By doing so, it is possible to obtain the same result as performing the inverse discrete cosine transform after modifying the DC component.

【0026】以上のように本第3実施例では、DC成分
に訂正不能の誤りがあった場合にもAC成分を活かすこ
とができ、画面内の情報をより有効に使うことができ
る。また、シャフリングされている符号に対して離散コ
サイン変換係数上での隣接ブロックによる修整を行う場
合、通常は全ての離散コサイン変換係数のメモリを設け
て離散コサイン変換係数上でデシャフリングを済ませる
必要があるが、本実施例によればDC成分のメモリを設
けるだけでよいので、回路規模を小さくできる。
As described above, in the third embodiment, even when there is an uncorrectable error in the DC component, the AC component can be utilized, and the information in the screen can be used more effectively. Also, when modifying a shuffled code by an adjacent block on a discrete cosine transform coefficient, it is usually necessary to provide a memory for all discrete cosine transform coefficients and complete deshuffling on the discrete cosine transform coefficient. However, according to the present embodiment, it is only necessary to provide a memory for the DC component, so that the circuit scale can be reduced.

【0027】図10に、図1に示した面間修整判定回路
20の具体例のブロック図を示す。この図10の面間修
整判定回路20は第1〜第3実施例において適用可能な
ものである。図10において、誤り訂正器2からの修整
指令信号が、ゲート回路55、タイミング調整器56を
通して面間修整器6に入力されている。また、大小比較
器57からゲート回路55へ制御信号が供給され、大小
比較器57の2つの入力端には係数カウント器58とし
きい値設定器59の出力が供給されている。
FIG. 10 is a block diagram showing a specific example of the inter-plane modification judging circuit 20 shown in FIG. The inter-plane modification determination circuit 20 of FIG. 10 is applicable in the first to third embodiments. In FIG. 10, a modification command signal from the error corrector 2 is input to the inter-plane modifier 6 through a gate circuit 55 and a timing adjuster 56. Further, a control signal is supplied from the magnitude comparator 57 to the gate circuit 55, and two inputs of the magnitude comparator 57 are supplied with outputs of a coefficient counter 58 and a threshold value setter 59.

【0028】このような構成において、係数カウント器
58は1つのブロックの中で復号された離散コサイン変
換係数の数をカウントする。このカウントはブロックの
始まり毎にリセットする。大小比較器57は、このカウ
ント値をしきい値設定器59により設定されたしきい値
と比較し、しきい値より小さい場合にゲート回路55が
開くように制御を行う。離散コサイン変換係数は図2に
示した順番で復号されるので、上記働きにより先頭のD
C成分から数えてしきい値番目の係数より低周波よりの
係数に対する修整指令のみ次段へ伝えられ、高周波より
の係数に対する修整指令は無視される。タイミング調整
器56は、ゲート回路55を通った修整指令を受ける
と、指令のあったブロック全体の画素データに対して面
間の修整処理が行われるようにタイミングを調整する。
この時、シャフリングのある符号化の場合はデシャフリ
ングによるタイミングの変化の調整も行う。
In such a configuration, the coefficient counter 58 counts the number of discrete cosine transform coefficients decoded in one block. This count resets at the beginning of each block. The magnitude comparator 57 compares this count value with the threshold value set by the threshold value setter 59, and performs control so that the gate circuit 55 opens when the count value is smaller than the threshold value. The discrete cosine transform coefficients are decoded in the order shown in FIG.
Only the correction command for the coefficient lower than the threshold value coefficient counted from the C component is transmitted to the next stage, and the correction command for the higher frequency coefficient is ignored. The timing adjuster 56, when receiving the modification command passed through the gate circuit 55, adjusts the timing so that the inter-plane modification processing is performed on the pixel data of the entire block in which the command has been issued.
At this time, in the case of encoding with shuffling, a change in timing due to deshuffling is also adjusted.

【0029】以上により、かなりの低周波から高周波ま
での大部分の成分が失われているときに限り面間の修整
処理を行うようにすることができる。なお、図9に示し
た第3実施例のようにDC成分に対しても面内の修整を
行う場合には、係数カウント器58がDC成分を示して
いる間もゲート回路55を閉じるように大小比較器57
による制御を行えばよい。
As described above, the inter-plane modification processing can be performed only when most components from a considerably low frequency to a high frequency are lost. When the in-plane modification is performed on the DC component as in the third embodiment shown in FIG. 9, the gate circuit 55 is closed while the coefficient counter 58 indicates the DC component. Large and small comparator 57
May be performed.

【0030】なお、以上述べてきたすべての実施例にお
いては離散コサイン変換を用いていたが、画素データを
ブロック化して2次元の周波数成分に分けるその他の直
交変換およびそれに類似する変換を用いた符号化に適用
しても、以上述べた各実施例と同様の効果を得ることが
できる。なおまた、記録媒体に記録された符号を復号す
る実施例について述べたが、伝送路を通して伝送されて
きた符号を復号する装置に適用しても、同様の効果を得
ることができる。
Although the discrete cosine transform is used in all of the embodiments described above, other orthogonal transforms for dividing pixel data into blocks and dividing them into two-dimensional frequency components and codes using transforms similar thereto are used. Even when the present invention is applied, the same effects as those of the above-described embodiments can be obtained. In addition, although the embodiment in which the code recorded on the recording medium is decoded has been described, the same effect can be obtained by applying the present invention to an apparatus that decodes a code transmitted through a transmission path.

【0031】[0031]

【発明の効果】以上のように本発明によれば、直交変換
により圧縮符号化された画像データを再生する装置にお
いて、直交変換係数上での面内修整と画素データ上での
面間修整とを併用することにより、ブロック内の誤って
いない直交変換係数を活かすことができ、より自然な修
整を行うことができる。
As described above, according to the present invention, in an apparatus for reproducing image data compressed and encoded by orthogonal transformation, in-plane modification on orthogonal transformation coefficients and inter-plane modification on pixel data are performed. By using in combination, it is possible to make use of the erroneous orthogonal transform coefficients in the block, and to perform more natural modification.

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

【図1】本発明の第1実施例に係る圧縮動画像復号装置
の構成を示すブロック図である。
FIG. 1 is a block diagram illustrating a configuration of a compressed moving picture decoding device according to a first embodiment of the present invention.

【図2】本発明が取り扱うディジタル画像圧縮符号化方
式における離散コサイン変換係数ブロックの構成を示す
説明図である。
FIG. 2 is an explanatory diagram showing a configuration of a discrete cosine transform coefficient block in a digital image compression encoding system handled by the present invention.

【図3】本発明が取り扱うディジタル画像圧縮符号化方
式における誤り訂正積ブロックの構成を示す説明図であ
る。
FIG. 3 is an explanatory diagram showing a configuration of an error correction product block in a digital image compression encoding system handled by the present invention.

【図4】図1の面内修整器の構成を示すブロック図であ
る。
FIG. 4 is a block diagram showing a configuration of the in-plane retouching device of FIG. 1;

【図5】図4の面内修整器の出力(修整後の離散コサイ
ン変換係数ブロック)の構成を示す説明図である。
FIG. 5 is an explanatory diagram showing a configuration of an output (a modified discrete cosine transform coefficient block) of the in-plane retouching device of FIG. 4;

【図6】本発明の第2実施例に係る圧縮動画像復号装置
における面内修整器を示すブロック図である。
FIG. 6 is a block diagram showing an in-plane retoucher in a compressed moving picture decoding apparatus according to a second embodiment of the present invention.

【図7】本発明の第2実施例において訂正に利用される
隣接ブロックを示す離散コサイン変換係数ブロックの配
置説明図である。
FIG. 7 is an explanatory diagram showing the arrangement of discrete cosine transform coefficient blocks indicating adjacent blocks used for correction in the second embodiment of the present invention.

【図8】図6の面内修整器の出力(修整後の離散コサイ
ン変換係数ブロック)の構成を示す説明図である。
FIG. 8 is an explanatory diagram showing a configuration of an output (a modified discrete cosine transform coefficient block) of the in-plane retouching device of FIG. 6;

【図9】本発明の第3実施例(シャフリングされた符号
のDC成分も面内修整する実施例)に係る圧縮動画像復
号装置の要部構成を示すブロック図である。
FIG. 9 is a block diagram illustrating a main configuration of a compressed moving picture decoding apparatus according to a third embodiment of the present invention (an embodiment in which the DC component of a shuffled code is also subjected to in-plane modification).

【図10】本発明の実施例で用いられる面間修整判定回
路の一例を示すブロック図である。
FIG. 10 is a block diagram illustrating an example of an inter-plane modification determination circuit used in an embodiment of the present invention.

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

2 誤り訂正器 3 可変長復号器 4 面内修整器 5 逆離散コサイン変換器 6 面間修整器 8 画面メモリ 9、21、22、23 離散コサイン変換係数ブロック 20 面間修整判定回路 2 Error Corrector 3 Variable Length Decoder 4 In-plane Modifier 5 Inverse Discrete Cosine Transformer 6 Inter-plane Modifier 8 Screen Memory 9, 21, 22, 23 Discrete Cosine Transform Coefficient Block 20 Inter-plane Modification Judgment Circuit

───────────────────────────────────────────────────── フロントページの続き (72)発明者 坪井 幸利 神奈川県横浜市戸塚区吉田町292番地 株式会社日立製作所 映像メディア研究 所内 (72)発明者 市毛 健志 神奈川県横浜市戸塚区吉田町292番地 株式会社日立製作所 映像メディア研究 所内 (72)発明者 藤井 由紀夫 神奈川県横浜市戸塚区吉田町292番地 株式会社日立製作所 映像メディア研究 所内 (56)参考文献 特開 平5−161128(JP,A) (58)調査した分野(Int.Cl.6,DB名) H04N 7/24 - 7/68 H04N 5/91 - 5/956 ──────────────────────────────────────────────────続 き Continuing on the front page (72) Inventor Yukito Tsuboi 292 Yoshida-cho, Totsuka-ku, Yokohama-shi, Kanagawa Prefecture Inside the Visual Media Research Laboratory, Hitachi, Ltd. (72) Inventor Kenshi Ichige 292 Yoshida-cho, Totsuka-ku, Yokohama-shi, Kanagawa (72) Inventor Yukio Fujii 292 Yoshida-cho, Totsuka-ku, Yokohama-shi, Kanagawa Pref. Hitachi, Ltd. Image Media Research Laboratory (56) References JP-A-5-161128 (JP, A) ( 58) Field surveyed (Int.Cl. 6 , DB name) H04N 7/24-7/68 H04N 5/91-5/956

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 直交変換を用いて圧縮符号化された動画
像データを復号する圧縮動画像復号装置において、直交
変換の逆変換を行う前の直交変換係数の状態で画面内の
修整処理を行う面内修整手段と、逆変換後の画素データ
の状態で異なる画面の画素データを用いた画面間の修整
を行う面間修整手段とを備え、1つの直交変換ブロック
の中の修整が必要な直交変換係数の量が予め定めたしき
い値を越えた場合に、前記面間修整手段による修整を行
ことを特徴とする圧縮動画像復号装置。
In a compressed moving picture decoding apparatus for decoding moving picture data compressed and encoded using orthogonal transform, an in-screen modification process is performed in a state of orthogonal transform coefficients before performing inverse transform of orthogonal transform. One orthogonal transformation block, comprising: an in-plane modification means; and an inter-plane modification means for modifying between screens using pixel data of different screens in a state of pixel data after inverse transformation.
The amount of orthogonal transform coefficients that need to be modified in
If the value exceeds the threshold value, the repair by the face-to-face repair means is performed.
Cormorant that compressed moving picture decoding apparatus according to claim.
【請求項2】 直交変換を用いて圧縮符号化された動画
像データを復号する圧縮動画像復号装置において、修整
が必要な交流成分の直交変換係数の全て又は一部を0に
置き換える交流成分修整手段と、隣接する直交変換ブロ
ックの直流成分を用いて誤った直流成分の修整値を生成
する直流成分修整値生成手段と、誤った直流成分と修整
値との差を直流成分の誤った直交変換ブロックの逆変換
後のすべての画素データに加算することにより直流成分
の修整を行う直流成分修整手段とを備えたことを特徴と
する圧縮動画像復号装置。
2. A moving picture compression-encoded using orthogonal transform.
In a compressed video decoding device that decodes image data,
Set all or some of the orthogonal transform coefficients of the
Replacement AC component modification means and adjacent orthogonal transform block
Generates incorrect DC component correction value using DC component
DC component correction value generation means and incorrect DC component correction
Inverse transformation of orthogonal transform block with incorrect DC component
DC component by adding to all subsequent pixel data
DC component retouching means for retouching
Compressed video decoding device.
【請求項3】 直交変換を用いて圧縮符号化された動画
像データを復号する圧縮動画像復号装置において、修整
が必要な直交変換係数を隣接するブロックの直交変換係
数により補間し、補間方向に対して奇数次の直交変換係
数は正負を反転して補間に用いる係数補間手段を備えて
いることを特徴とする圧縮動画像復号装置。
3. A moving picture compression-encoded using orthogonal transform.
In a compressed video decoding device that decodes image data,
The orthogonal transform coefficients required by the orthogonal transform
Interpolates by numbers, and performs orthogonal transformation of odd-order with respect to the interpolation direction.
The number is provided with coefficient interpolation means for inverting the sign and using it for interpolation.
A compressed video decoding device.
JP4028232A 1992-02-14 1992-02-14 Compressed video decoding device Expired - Lifetime JP2917185B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4028232A JP2917185B2 (en) 1992-02-14 1992-02-14 Compressed video decoding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4028232A JP2917185B2 (en) 1992-02-14 1992-02-14 Compressed video decoding device

Publications (2)

Publication Number Publication Date
JPH05227517A JPH05227517A (en) 1993-09-03
JP2917185B2 true JP2917185B2 (en) 1999-07-12

Family

ID=12242853

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4028232A Expired - Lifetime JP2917185B2 (en) 1992-02-14 1992-02-14 Compressed video decoding device

Country Status (1)

Country Link
JP (1) JP2917185B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3360922B2 (en) * 1994-04-11 2003-01-07 株式会社日立製作所 Moving image communication system, image restoration device thereof, and image restoration method thereof
JP3628359B2 (en) * 1994-10-19 2005-03-09 株式会社日立製作所 Data transfer method, data transmission device, data reception device, and video mail system
JP4682914B2 (en) 2006-05-17 2011-05-11 ソニー株式会社 Information processing apparatus and method, program, and recording medium

Also Published As

Publication number Publication date
JPH05227517A (en) 1993-09-03

Similar Documents

Publication Publication Date Title
KR100261072B1 (en) Digital signal processing system
JPH04326255A (en) Method and device for encoding image
JPH06205386A (en) Picture reproduction device
JPH0614294A (en) Signal processor
JPH08214309A (en) Image signal encoder
JPH05115010A (en) Picture decoder
JP2917185B2 (en) Compressed video decoding device
JP2723867B2 (en) Image signal decoding device
JP2643636B2 (en) Signal processing method
JPH0837643A (en) Quantization control circuit
JP2596349B2 (en) Compression rate adjustment method
JPH05153550A (en) Recorder and reproducing device for video signal
JP3276675B2 (en) Video recording device
JPH09307855A (en) Recording and reproducing device
JP3060501B2 (en) Video signal transmission device
JP3223631B2 (en) Recording device
JPH09172635A (en) Digital picture decoding device
JPH06292171A (en) Image reproducing device
JPH06282946A (en) Picture signal reproducing device
JP3469597B2 (en) Decoding device for block transform code
JP2718384B2 (en) Image restoration device
JPH07274117A (en) Image signal reproducing device
JP3168723B2 (en) Video signal encoding device
JPH05130422A (en) Picture data decoder
JP3270861B2 (en) Decoding device for block transform code

Legal Events

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

Free format text: PAYMENT UNTIL: 20080423

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20090423

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20090423

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20100423

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20110423

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20120423

Year of fee payment: 13

EXPY Cancellation because of completion of term