JPH0133992B2 - - Google Patents

Info

Publication number
JPH0133992B2
JPH0133992B2 JP55114574A JP11457480A JPH0133992B2 JP H0133992 B2 JPH0133992 B2 JP H0133992B2 JP 55114574 A JP55114574 A JP 55114574A JP 11457480 A JP11457480 A JP 11457480A JP H0133992 B2 JPH0133992 B2 JP H0133992B2
Authority
JP
Japan
Prior art keywords
sequence
value
block
error
signal
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
Application number
JP55114574A
Other languages
Japanese (ja)
Other versions
JPS5738083A (en
Inventor
Yosha Takemura
Kunihiko Mototani
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP11457480A priority Critical patent/JPS5738083A/en
Publication of JPS5738083A publication Critical patent/JPS5738083A/en
Publication of JPH0133992B2 publication Critical patent/JPH0133992B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/90Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using coding techniques not provided for in groups H04N19/10-H04N19/85, e.g. fractals
    • H04N19/93Run-length coding

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)

Description

【発明の詳細な説明】 本発明はn次直交変換を用いた符号化方式にお
けるエラーの修整(concealment)する直交変換
復号化装置に関するものである。さらに詳しく述
べると、受信したブロツクのシーケンスhi(i=
1、2、…n)にエラーが発生した場合、このブ
ロツクの近傍のブロツクのシーケンスの値から予
測した予測値αiをシーケンスhiの値に置換して復
号することにより、エラーの修整を行なうもので
ある。さらに、受信ブロツクの各シーケンスの示
すパターンに従つて、予測に用いる近傍のブロツ
クを選択することにより、予測値の精度を向上さ
せ、再生画像における画質劣化を少なくすること
を目的とするものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an orthogonal transform decoding device for concealing errors in a coding method using n-order orthogonal transform. More specifically, the sequence of received blocks hi (i=
1, 2,...n), the error is corrected by replacing the predicted value αi predicted from the value of the sequence of blocks near this block with the value of the sequence hi and decoding it. It is. Furthermore, by selecting neighboring blocks to be used for prediction according to the pattern indicated by each sequence of received blocks, the purpose is to improve the accuracy of predicted values and reduce image quality deterioration in reproduced images. .

符号化伝送に用いる直交変換の1つとして、ア
ダマール変換がある。本発明では、画像信号にア
ダマール変換を適用した場合について説明を行な
う。アダマール変換としてn次(n;正整数)の
変換があるが、説明を簡潔にするため、4次のア
ダマール変換について説明する。まず、4次のア
ダマール変換を用いてテレビジヨン信号に帯域圧
縮を行なつて伝送するシステムの符号化装置およ
び復号化装置の構成を第1図に従つて説明する。
Hadamard transform is one of the orthogonal transforms used for coded transmission. In the present invention, a case will be explained in which Hadamard transform is applied to an image signal. There is an nth-order (n: positive integer) transformation as the Hadamard transformation, but for the sake of brevity, the fourth-order Hadamard transformation will be described. First, the configuration of an encoding device and a decoding device of a system for band-compressing a television signal and transmitting the resultant television signal using a fourth-order Hadamard transform will be explained with reference to FIG.

第1図において、入力端子1に到来するテレビ
ジヨン信号をA/D変換器2で、例えば、8bitに
量子化し、第1のメモリ3へ書込む。例えば、テ
レビジヨン信号の標本点として、第2図に示した
様な4点d1、d2、d3、d4を選択し、この4点を1
つのブロツクとしてアダマール変換を行なうとす
る。第2図でアは第K−1水平走査線、イは第
K、ウは第K+1、エは第K+2のそれぞれ水平
走査線を示している。各標本点di(i=1、2、
3、4)の標本値をXiとし、〔H〕を4次アダマ
ール行列とすれば、4次アダマール変換は次式の
ように表現できる。
In FIG. 1, a television signal arriving at an input terminal 1 is quantized into, for example, 8 bits by an A/D converter 2 and written into a first memory 3. For example, select four points d 1 , d 2 , d 3 , and d 4 as shown in Figure 2 as sample points of the television signal, and convert these four points into 1
Suppose we perform the Hadamard transformation as one block. In FIG. 2, A shows the K-1st horizontal scanning line, A shows the K-th horizontal scanning line, C shows the K+1-th horizontal scanning line, and D shows the K+2-th horizontal scanning line. Each sample point di (i=1, 2,
If the sample values in 3 and 4) are Xi and [H] is a 4th order Hadamard matrix, the 4th order Hadamard transformation can be expressed as the following equation.

h1、h2、h3、h4は、アダマール変換により周波
数領域へ変換された4次のシーケンスである。4
次アダマール行列〔H〕は、次のように表現でき
る。
h 1 , h 2 , h 3 , and h 4 are fourth-order sequences transformed into the frequency domain by Hadamard transform. 4
The order Hadamard matrix [H] can be expressed as follows.

第1図において、第2図で示したブロツクの4
標本点の標本値X1、X2、X3、X4を第1のメモリ
3から読み出し、アダマール変換器4で1式に示
した演算を行ない、4次のシーケンスhi(i=1、
2、3、4)を求める。第1の量子化器5で各シ
ーケンスに対して量子化を行なつてQihiを求め
る。Qi(i=1、2、…4)は各シーケンスに対
する量子化オペレータである。この第1の量子化
器5で各シーケンスに対する最適ビツト配分を行
なつて、伝送すべき各シーケンスのビツト数の削
減をすることにより帯域圧縮を行なうことができ
る。例えば、各シーケンスhiの値が8bitで表わさ
れているとすると、1ブロツクの変換では32bit
必要であるが、量子化器5において、Q1h1
6bit、Q2h2に4bit、Q3h3とQ4h4にはそれぞれ2bit
を割り当てると合計14bitに圧縮することができ
る。
In Figure 1, 4 of the blocks shown in Figure 2
The sample values X 1 , X 2 , X 3 , and
2, 3, 4). The first quantizer 5 quantizes each sequence to obtain Qihi. Qi (i=1, 2, . . . 4) is a quantization operator for each sequence. The first quantizer 5 allocates optimal bits to each sequence and reduces the number of bits of each sequence to be transmitted, thereby achieving band compression. For example, if the value of each sequence hi is represented by 8 bits, the conversion of 1 block is 32 bits.
It is necessary, but in the quantizer 5, Q 1 h 1
6bit, 4bit for Q 2 h 2 , 2 bit each for Q 3 h 3 and Q 4 h 4
can be compressed to a total of 14 bits.

このような帯域圧縮が可能な理由は、次のよう
に説明できる。アダマール変換を行なうことは、
画像信号の時系列データを周波数領域に変換する
ことに対し、各シーケンスhiのうち、成分の少な
いシーケンスや視覚感度の鈍い高域周波数成分を
表わすシーケンスに対するビツト配分を少なくす
ることができるからである。
The reason why such band compression is possible can be explained as follows. Performing the Hadamard transformation is
This is because when converting time-series data of image signals into the frequency domain, it is possible to reduce the bit allocation to sequences with few components or sequences representing high frequency components with low visual sensitivity in each sequence hi. .

第1図において、伝送路符号器6は、量子化し
た各シーケンスQihiを伝送すべき伝送路に適した
伝送路符号に変調し、伝送路13へ送出する。以
上の部分は符号化側を示したものである。
In FIG. 1, a transmission line encoder 6 modulates each quantized sequence Qihi into a transmission line code suitable for the transmission line to be transmitted, and sends it to a transmission line 13. The above part shows the encoding side.

復号化側では、伝送路13から、伝送路符号を
受信し、伝送路復号器7で復号し、各シーケンス
の量子化信号Qihiを再生する。次に、第2の量子
化器8でQi-1Qihiを求める。Qi-1はQiの逆オペレ
ータである。第2の量子化器8の出力hi′=
Qi-1Qihiは、それぞれ8bitに復号されている。帯
域圧縮を行なつた場合は、復号したhi′は、hiと
は値が異なる。アダマール逆変換器9では、次式
3で示す演算によりアダマール逆変換を行なう。
On the decoding side, the transmission line code is received from the transmission line 13, decoded by the transmission line decoder 7, and the quantized signal Qihi of each sequence is reproduced. Next, the second quantizer 8 obtains Qi -1 Qihi. Qi -1 is the inverse operator of Qi. Output hi′ of second quantizer 8 =
Qi -1 Qihi are each decoded to 8 bits. When band compression is performed, the decoded hi' has a different value from hi. The Hadamard inverse transformer 9 performs Hadamard inverse transform by the calculation shown in the following equation 3.

3式において、2式からわかるように 〔H-1〕=〔H〕 ……4 である。また、再生値Xi′は、標本値Xiを再生し
たものである。
In Equation 3, as can be seen from Equation 2, [H -1 ]=[H] ...4. Furthermore, the reproduced value Xi' is the reproduced value of the sample value Xi.

該アダマール逆変換器9の出力信号として得ら
れる標本点の再生値Xi′は、第2のメモリ10に
記憶する。第2のメモリ10は、テレビジヨン信
号の同期信号に同期して、再生値Xi′を読み出し、
D/A変換器11でアナログ信号に変換し、テレ
ビジヨン信号として出力端12から送出する。
The reproduction value Xi' of the sample point obtained as the output signal of the Hadamard inverse transformer 9 is stored in the second memory 10. The second memory 10 reads out the reproduction value Xi' in synchronization with the synchronization signal of the television signal,
The signal is converted into an analog signal by a D/A converter 11 and sent out from an output terminal 12 as a television signal.

以上のような構成を持つシステムで画像信号を
伝送する場合に伝送系でエラーが発生することが
ある。エラーの発生した信号を用いて画像信号を
再生すれば、再生画像の画質は著しく劣化する。
エラーの発生したデータを訂正するため、誤り訂
正符号化法が提案されている。誤り訂正符号は、
もとの符号化信号に冗長性を持たせることにより
誤り訂正を行なうものである。そのため伝送に必
要なbit数は増加し、アダマール変換を用いて帯
域圧縮を行なつた効果が損なわれる。特に、伝送
系として、VTR等の磁気記録系を含む場合には、
ドロツプアウト等の比較的長いバースト誤りも多
く発生する。このようなバースト誤りをおこした
符号の訂正を行なうには、非常に大きな冗長性を
持たさなければならないため、帯域圧縮の効果は
さらに少なくなる。
When transmitting image signals using a system having the above configuration, an error may occur in the transmission system. If an image signal is reproduced using a signal in which an error has occurred, the quality of the reproduced image will be significantly degraded.
Error correction encoding methods have been proposed to correct erroneous data. The error correction code is
Error correction is performed by providing redundancy to the original encoded signal. Therefore, the number of bits required for transmission increases, and the effect of band compression using Hadamard transform is lost. In particular, when the transmission system includes a magnetic recording system such as a VTR,
Relatively long burst errors such as dropouts also occur frequently. In order to correct a code that has caused such a burst error, a very large amount of redundancy must be provided, which further reduces the effectiveness of band compression.

また、誤り訂正はできないが、エラーが発生し
たことを検出することができる方法に誤り検出符
号化法がある。誤り検出符号は、前述した誤り訂
正符号に較べて冗長性は少なくてよいため、帯域
圧縮の効果を損うことが少ない。誤り検出符号と
して、例えば、符号語が偶数であるか奇数である
かによつてパリテイ信号を付ける方法がある。ま
た、符号を適当なブロツクに分割して符号化する
ブロツクコーデイングにおいては、1ブロツクに
含まれる“0”と“1”の個数を決めておき、復
号の際“0”と“1”の個数を計算することによ
り誤りを検出することができる。これらの符号の
他にも、使用する伝送系に適した誤り検出符号が
提案されている。
Further, there is an error detection encoding method that cannot perform error correction but can detect the occurrence of an error. Since the error detection code requires less redundancy than the error correction code described above, the effect of band compression is less likely to be impaired. As an error detection code, for example, there is a method of attaching a parity signal depending on whether a code word is an even number or an odd number. In addition, in block coding, in which the code is divided into appropriate blocks and encoded, the number of “0” and “1” included in one block is determined, and during decoding, “0” and “1” are Errors can be detected by calculating the number. In addition to these codes, error detection codes suitable for the transmission system used have been proposed.

このような誤り検出符号を用いた場合には、エ
ラーの検出後、いかにしてエラーの影響を軽減す
るかが重要である。
When such an error detection code is used, it is important to consider how to reduce the influence of the error after the error is detected.

アダマール変換を用いた符号化伝送方式の復号
化装置におけるエラーの修整(concealment)法
として、エラーの発生したシーケンスhiの値をあ
らかじめ設定した修整値αiに置換する方法を既に
提案した(特開昭57−33842号公報)。この修整法
は、シーケンスの値の統計的性質を利用したもの
である。つまり、修整値αiとして、各シーケンス
の出現値の統計的分布の集中している値をとるこ
とにより、再生画面におけるエラーの影響を軽減
するものである。
As a method for concealing errors in a decoding device using a coded transmission system using the Hadamard transform, we have already proposed a method in which the value of the sequence hi in which an error has occurred is replaced with a preset correction value αi (Japanese Patent Application Laid-Open No. 57-33842). This modification method utilizes the statistical properties of sequence values. That is, by taking a value where the statistical distribution of the appearance values of each sequence is concentrated as the correction value αi, the influence of errors on the playback screen is reduced.

このような修整法でも、エラーによる再生画質
の劣化をある程度改善することはできるが、修整
値αiが固定値であるため、特殊なパターンの画像
を再生した場合には、画質劣化が大きいことがあ
る。
Although this type of retouching method can improve the deterioration of reproduced image quality due to errors to some extent, since the retouching value αi is a fixed value, the deterioration of image quality may be large when reproducing images with special patterns. be.

本発明は、新規なエラーの修整手段として、各
シーケンスの表わすパターンに応じて、受信した
ブロツクの近傍のブロツクから受信したブロツク
のシーケンスの値を予測し、エラーの発生したシ
ーケンスの値を該予測値と置換する手段を提供す
るものであり、以下本発明の実施例について図面
を参照して説明する。
As a novel error correction means, the present invention predicts the value of a sequence of received blocks from blocks in the vicinity of the received block according to the pattern expressed by each sequence, and uses the predicted value of the sequence in which an error has occurred. Embodiments of the present invention will be described below with reference to the drawings.

テレビジヨン信号において、第2図に示した様
に、4つの標本点を選択し、この4点を1つのブ
ロツクとして4次アダマール変換を行なうとす
る。第3図は、テレビジヨン信号の画面上で、第
2図に示したブロツクと同じブロツク分割を行な
つた場合のより広い範囲を表わした図である。第
3図において、実線は、それぞれ水平走査線を表
わし、丸印は、標本点を表わす。またブロツクB
(m、n)は、画面上で、m行n列目のブロツク
を表わすものとする。
Assume that four sample points are selected from the television signal as shown in FIG. 2, and a fourth-order Hadamard transform is performed using these four points as one block. FIG. 3 is a diagram showing a wider range on the screen of a television signal when the same blocks as shown in FIG. 2 are divided. In FIG. 3, solid lines represent horizontal scanning lines, and circles represent sample points. Also block B
Let (m, n) represent the block in the mth row and nth column on the screen.

このような標本点d1、d2、d3、d4に対して、1
式および2式で示した4次アダマール変換を行な
えば、各シーケンスhiは次式で示される。
For such sample points d 1 , d 2 , d 3 , d 4 , 1
If the fourth-order Hadamard transformation shown in equations and equations 2 and 2 is performed, each sequence hi is expressed by the following equation.

h1=X1+X2+X3+X4 ……5 h2=X1+X2−X3−X4 ……6 h3=X1−X2−X3+X4 ……7 h4=X1−X2+X3−X4 ……8 ここで、各標本点diの標本値をXiとする。 h 1 = X 1 + X 2 + X 3 + _ _ _ _ 1 −X 2 +X 3 −X 4 ...8 Here, the sample value of each sample point di is assumed to be Xi.

5式〜6式で示される各シーケンスが、ブロツ
クB(m、n)内で表わすパターンを模式的に示
したのが第4図である。第4図のブロツクにおい
て、無地の部分は、標本値Xnにかかる係数が+
1であることを示し、斜線部分は、該係数が−1
であることを示すものとする。
FIG. 4 schematically shows the patterns expressed in block B(m, n) by the sequences shown by equations 5 and 6. In the block in Figure 4, the solid color part indicates that the coefficient applied to the sample value Xn is +
1, and the shaded area indicates that the coefficient is -1
shall indicate that.

例えばブロツクB(m、n)においてX1=X2
−X3=−X4のように水平方向に相関の大きい信
号が到来した場合には、第4図よりシーケンスh2
の値が大きくなると考えられる。また縦縞などの
垂直方向の相関の大きい信号では、シーケンスh4
の値が大きくなり、斜線などの斜め方向の相関の
大きい信号では、シーケンスh4の値が大きくな
る。ブロツク全体の明るさが明るくなれば、シー
ケンスh1の値が大きくなる。
For example, in block B(m, n), X 1 =X 2 =
When a signal with a large correlation in the horizontal direction arrives, such as -X 3 = -X 4 , the sequence h 2
It is thought that the value of will increase. In addition, for signals with high vertical correlation such as vertical stripes, the sequence h 4
The value of the sequence h4 becomes large, and the value of the sequence h4 becomes large for a signal with a large correlation in the diagonal direction, such as a diagonal line. The brighter the entire block, the greater the value of the sequence h1 .

以上より各シーケンスはそれぞれ、個有のパタ
ーンを表わすと考えることができる。
From the above, each sequence can be considered to represent a unique pattern.

そこで、エラーの発生したシーケンスhiの修整
に用いる予測値αiを求める場合、各シーケン毎に
それぞれのシーケンスが表わすパターンに従つて
相関の大きい近傍のブロツクを選択し、このブロ
ツクのシーケンスの値を用いて予測を行なえば予
測の精度を向上させることができる。
Therefore, when calculating the predicted value αi used to correct the sequence hi in which an error has occurred, for each sequence, select a nearby block with a high correlation according to the pattern expressed by each sequence, and use the value of the sequence of this block. The accuracy of prediction can be improved by making predictions based on the following information.

例えば、第3図においてブロツクB(m、n)
のシーケンスh2にエラーが発生すると、6式より
h2は水平方向の相関が大きいため、水平方向の前
後のブロツクB(m、n−1)とB(m、n+1)
のシーケンスh2の値を用いて予測を行なえばよ
い。ここで、ブロツクB(m、n)のシーケンス
hiの値をhi(m、n)とし、その予測値をαi(m、
n)と表わすと、次式により予測値α2(m、n)
を求めることができる。
For example, in FIG. 3, block B (m, n)
If an error occurs in the sequence h 2 , then from equation 6,
h2 has a large correlation in the horizontal direction, so the blocks B(m, n-1) and B(m, n+1) before and after in the horizontal direction
The prediction can be made using the value of the sequence h2 . Here, the sequence of block B(m, n)
The value of hi is hi (m, n), and its predicted value is αi (m,
n), the predicted value α 2 (m, n) is expressed as
can be found.

α2(m、n)=1/2{h2(m、n−1) +h2(m、n+1)} ……9 同様に、シーケンスh3は、斜め方向の相関が大
きいため、次式により予測を行なえばよい。
α 2 (m, n) = 1/2 {h 2 (m, n-1) + h 2 (m, n+1)} ...9 Similarly, the sequence h 3 has a large correlation in the diagonal direction, so the following equation Prediction can be made by

α3(m、n)=1/4{h3(m−1、n−1)+h3
(m−1、n+1)+h3(m+1、n−1) +h3(m+1、n+1)} ……10 シーケンスh4は、縦方向の相関が大きいから次
式により予測を行なえばよい。
α 3 (m, n) = 1/4 {h 3 (m-1, n-1) + h 3
(m-1, n+1)+h 3 (m+1, n-1) +h 3 (m+1, n+1)} ...10 Since the sequence h 4 has a large correlation in the vertical direction, prediction can be performed using the following equation.

α4(m、n)=1/2{h4(m−1、n) +h4(m+1、n)} ……11 シーケンスh1は、直流成分を表わすので、まわ
りのブロツクを用いて、次式により予測すること
ができる。
α 4 (m, n) = 1/2 {h 4 (m-1, n) + h 4 (m+1, n)} ...11 Since the sequence h 1 represents a DC component, using the surrounding blocks, It can be predicted by the following equation.

α1(m、n)=1/8{h1(m-1、n-1) +h1(m-1、n)+h1(m-1、n+1) +h1(m、n-1) +h1(m、n+1)+h1(m+1、n-1) +h1(m+1、n)+h1(m+1、n+1)} ……12 どのシーケンスが、どのようなパターンを表わ
すかは、ブロツク内での標本点の選び方により変
化する。本実施例では、第2図および第3図に示
した標本点を選択した場合について述べる。
α 1 (m, n)=1/8 {h 1 (m-1, n-1) +h 1 (m-1, n)+h 1 (m-1, n+1) +h 1 (m, n- 1) +h 1 (m, n+1)+h 1 (m+1, n-1) +h 1 (m+1, n)+h 1 (m+1, n+1)} ...12 Which sequence is What kind of pattern is expressed varies depending on how sample points are selected within the block. In this embodiment, a case will be described in which the sample points shown in FIGS. 2 and 3 are selected.

つぎに、9〜12式で示した予測式による修整法
を実施するための復号装置の構成を第5図に従つ
て説明する。第5図において、復号器7、第2の
量子化器8、アダマール逆変換器9、第2のメモ
リ10、D/A変換器11は、第1図に示した同
記号のものと同様のものである。
Next, the configuration of a decoding device for carrying out the modification method using the prediction formulas shown in Equations 9 to 12 will be explained with reference to FIG. In FIG. 5, a decoder 7, a second quantizer 8, an inverse Hadamard transformer 9, a second memory 10, and a D/A converter 11 have the same symbols as those shown in FIG. It is something.

第5図において、伝送路13に応じて符号化し
た伝送路符号を受信し、伝送路復号器7で復号
し、各シーケンスの量子化信号Qihiを再生する。
つぎに、第2の量子化器8でQi-1Qihiを求める。
Qi-1、はQiの逆オペレータである。本実施例で
は第2の量子化器8の出力Qi-1Qihiを以後、単に
hiと書くこととする。各シーケンスhiに対して本
発明による修整法を実施するのであるが、修整回
路は、各シーケンスとも同様であるため、シーケ
ンスh1を例として説明する。
In FIG. 5, a transmission line code encoded according to the transmission line 13 is received and decoded by a transmission line decoder 7 to reproduce the quantized signal Qihi of each sequence.
Next, the second quantizer 8 obtains Qi -1 Qihi.
Qi -1 , is the inverse operator of Qi. In this embodiment, the output Qi -1 Qihi of the second quantizer 8 will be simply expressed as
Let's write it as hi. The modification method according to the present invention is applied to each sequence hi, and since the modification circuit is the same for each sequence, sequence h 1 will be explained as an example.

第2の量子化器8の出力h1は、順次、メモリa
20へ書き込む、メモリa20から、ブロツクB
(m、n)のシーケンスh1の値h1(m、n)を読み
出し、切換回路a22および誤り検出回路a23
へ送出する。同時に、メモリa20から、12式で
示した予測を行なうために必要な8つの近傍ブロ
ツクのシーケンスh1の値を読み出し、予測回路a
21へ送出する。予測回路a21は、12式で示し
た演算を行ない、予測値α1(m、n)を求め、切
換回路a22へ送出する。誤り検出回路a23
は、h1(m、n)を受け、その誤りを検出し、誤
りが検出された場合に、誤り検出信号e1を発生
し、切換回路a22へ送出する。切換回路a22
は、通常、メモリa20の出力h1(m、n)をア
ダマール逆変換器9の入力へ接続しているが、誤
り検出信号e1を受けた場合には、予測回路a21
の出力α1(m、n)をアダマール逆変換器9の入
力に接続する。つぎに、シーケンスh1の値がメモ
リa20に記憶されている様子を第6図に模式的
に示す。このようなメモリは、シフトレジスタも
しくはRAMにより簡単に構成することができ
る。シフトレジスタを用いる場合には、レジスタ
の入出力の接続は固定し、記憶したデータを順次
シフトするように構成し、RAMを用いる場合に
は、入出力を行なうアドレスを順次シフトするよ
うに構成することができる。
The output h 1 of the second quantizer 8 is sequentially stored in the memory a
Write to 20, from memory a20, block B
The value h 1 (m, n) of the sequence h 1 of (m, n) is read out, and the switching circuit a22 and error detection circuit a23
Send to. At the same time, the value of the sequence h1 of eight neighboring blocks required to perform the prediction shown in equation 12 is read from the memory a20, and the prediction circuit a
Send to 21. The prediction circuit a21 performs the calculation shown in Equation 12, obtains the predicted value α 1 (m, n), and sends it to the switching circuit a22. Error detection circuit a23
receives h 1 (m, n), detects an error therein, and when an error is detected, generates an error detection signal e 1 and sends it to the switching circuit a22. Switching circuit a22
normally connects the output h 1 (m, n) of the memory a20 to the input of the Hadamard inverse transformer 9, but when receiving the error detection signal e 1 , the prediction circuit a21
The output α 1 (m, n) of is connected to the input of the Hadamard inverse transformer 9. Next, FIG. 6 schematically shows how the values of the sequence h1 are stored in the memory a20. Such a memory can be easily configured with a shift register or RAM. When using a shift register, the input/output connections of the register are fixed and the stored data is configured to be shifted sequentially, and when a RAM is used, the input/output addresses are configured to be shifted sequentially. be able to.

本実施例ではシーケンスh1を例として説明した
が、他のシーケンスh2、h3、h4においても、その
構成は全く同じである。第5図には、シーケンス
h4の構成例も示した。各シーケンスの予測式によ
り、メモリから読み出す近傍ブロツクの数、予測
回路における演算は、シーケンス毎に変化してい
る。各シーケンス毎のメモリの内部状態を第7,
8,9図に模式的に示す。
Although the present embodiment has been described using the sequence h 1 as an example, the configurations of the other sequences h 2 , h 3 , and h 4 are exactly the same. Figure 5 shows the sequence
An example of the configuration of h4 is also shown. Depending on the prediction formula for each sequence, the number of neighboring blocks read out from memory and the calculations performed by the prediction circuit change for each sequence. The internal state of the memory for each sequence is expressed as the seventh
This is schematically shown in Figures 8 and 9.

第5図において、アダマール逆変換器9は、各
切換回路よりシーケンスhi(m、n)もしくは、
エラーの検出されたシーケンスに対しては、その
予測値αi(m、n)を受け、3式で示した演算に
よりアダマール逆変換を行ない、ブロツクB(m、
n)の各標本点diの再生値Xiを求める。第2の
メモリ10は、該再生値Xiを一旦記憶し、テレ
ビジヨン信号の同期信号に同期して再生値Xiを
読み出す。D/A変換器11は、第2のメモリ1
0から読み出した信号をアナログ信号に変換し、
テレビジヨン信号として出力端12から送出す
る。
In FIG. 5, the Hadamard inverse transformer 9 receives the sequence hi (m, n) or
For a sequence in which an error has been detected, the predicted value αi (m, n) is received, and Hadamard inverse transform is performed using the calculation shown in equation 3 to obtain block B (m, n).
Find the reproduction value Xi of each sample point di of n). The second memory 10 temporarily stores the reproduction value Xi and reads out the reproduction value Xi in synchronization with the synchronization signal of the television signal. The D/A converter 11 is connected to the second memory 1
Convert the signal read from 0 to an analog signal,
It is sent out from the output end 12 as a television signal.

本実施例では、予測の精度を向上させるため、
エラーの発生したブロツクB(m、n)に隣合う
全てのブロツクから、各シーケンスの示すパター
ンに従つて予測に用いるブロツクを選択したが、
このような方法は、多くのメモリが必要となる。
In this example, in order to improve prediction accuracy,
A block to be used for prediction was selected from all the blocks adjacent to the block B(m, n) where the error occurred, according to the pattern shown by each sequence.
Such a method requires a lot of memory.

そこで、より簡便な方法として、エラーの修整
に用いるブロツクを時系列上で前のブロツクだけ
から選択してもよい。例えば、次のような予測式
を用いることができる。
Therefore, as a simpler method, the blocks used for correcting the error may be selected from only the previous blocks in the chronological order. For example, the following prediction formula can be used.

α1(m、n)=1/4{h1(m−1、n−1)+h1
(m−1、n)+h1(m−1、n+1)+h1(m、n−
1)} α2(m、n)=h2(m、n−1) α3(m、n)=1/2{h3(m−1、n−1) +h3(m−1、n+1)} α4(m、n)=h4(m−1、n) 本実施例は、4次アダマール変換を例として示
したが、本発明は、4次アダマール変換に限定す
るものではなく、さらに高次のアダマール変換や
他の直交変換を用いる場合にも適用できるもので
ある。
α 1 (m, n) = 1/4 {h 1 (m-1, n-1) + h 1
(m-1, n)+h 1 (m-1, n+1)+h 1 (m, n-
1)} α 2 (m, n) = h 2 (m, n-1) α 3 (m, n) = 1/2 {h 3 (m-1, n-1) + h 3 (m-1, n + 1)} α 4 (m, n) = h 4 (m-1, n) Although this embodiment shows the fourth-order Hadamard transform as an example, the present invention is not limited to the fourth-order Hadamard transform. , it can also be applied to cases where higher-order Hadamard transforms and other orthogonal transforms are used.

以上のように本発明によればアダマール変換を
用いた信号処理方式において、エラーの発生した
シーケンスの値を誤り訂正符号を用いて訂正を行
なうには、大きな冗長度を持たせなければなら
ず、帯域圧縮の効率が悪くなる。そこで、誤り訂
正符号に比べて冗長度の少ない誤り検出符号を用
いてエラーの検出を行なう場合には、帯域圧縮の
効果を損うことが少ない。この時エラーの発生し
たシーケンスの値をこのシーケンスの表わすパタ
ーンに応じて選択した近傍のブロツクのシーケン
スの値から予測した予測値と置換する本修整手段
を適用することにより、再生画面でのエラーによ
る画質劣化を効果的に軽減することができ、帯域
圧縮の効率も高く保つことができる。
As described above, according to the present invention, in a signal processing method using Hadamard transform, in order to correct the value of a sequence in which an error has occurred using an error correction code, a large degree of redundancy must be provided. Bandwidth compression becomes less efficient. Therefore, when errors are detected using an error detection code that has less redundancy than an error correction code, the effect of band compression is less likely to be impaired. At this time, by applying this modification method that replaces the value of the sequence where the error occurred with the predicted value predicted from the sequence value of the neighboring block selected according to the pattern expressed by this sequence, it is possible to Image quality deterioration can be effectively reduced, and band compression efficiency can also be kept high.

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

第1図は、アダマール変換を用いた符号化伝送
システムの構成を説明するためのブロツク図、第
2図は、テレビジヨン信号における標本点の選び
方を示す図、第3図は、テレビジヨン信号におけ
る標本点のブロツク化の例を示す図、第4図は、
各シーケンスの表わすパターンを示した模式図、
第5図は、本発明の一実施例における直交変換復
号化装置のブロツク図、第6図、第7図、第8
図、第9図は、それぞれ各シーケンスにおけるメ
モリ記憶しているシーケンスの値を模式的にした
図である。 21,25……予測回路、23,27……誤り
検出回路、22,26……切換回路、9……アダ
マール逆変換回路、11……デイジタル・アナロ
グ変換回路。
Figure 1 is a block diagram for explaining the configuration of a coding transmission system using Hadamard transform, Figure 2 is a diagram showing how to select sample points in a television signal, and Figure 3 is a diagram for explaining the configuration of a coding transmission system using Hadamard transform. Figure 4 shows an example of blocking sample points.
A schematic diagram showing the pattern represented by each sequence,
FIG. 5 is a block diagram of an orthogonal transform decoding device according to an embodiment of the present invention, and FIGS.
9 are diagrams schematically showing sequence values stored in the memory in each sequence. 21, 25...Prediction circuit, 23, 27...Error detection circuit, 22, 26...Switching circuit, 9...Hadamard inverse conversion circuit, 11...Digital-to-analog conversion circuit.

Claims (1)

【特許請求の範囲】 1 画像信号をブロツクに分割し、このブロツク
にn次直交変換を行ない、直交変換出力として得
られるシーケンスhi(i=1、2、…n)を伝送
する符号化装置からの信号を再生し、再生した信
号に直交逆変換を行なうことにより画像信号を再
生する復号化装置において、 再生したブロツクのシーケンス毎に誤りを検出
するエラー検出器と、再生したブロツクの各シー
ケンスhiに対しその予測値αiをそのブロツクの少
なくとも一つの近傍ブロツクの同次数のシーケン
スの値から求める予測回路と、誤りの発生したシ
ーケンスの値を予測値に置換する切換回路と、置
換したシーケンスの値と誤りの発生していないシ
ーケンスの値を用いて直交逆変換を行なう逆変換
器を具備することを特徴とする直交変換復号化装
置。 2 予測回路は、シーケンスの次数毎にあらかじ
め設定した位置にあるブロツクのシーケンスの値
を、再生したブロツクのシーケンスの値を順次記
憶させたメモリから読みだして予測値を求める予
測回路であることを特徴とする特許請求の範囲第
1項記載の直交変換復号化装置。
[Claims] 1. From an encoding device that divides an image signal into blocks, performs n-th orthogonal transformation on the blocks, and transmits a sequence hi (i=1, 2,...n) obtained as an orthogonal transformation output. In a decoding device that reproduces an image signal by reproducing a signal of a prediction circuit that calculates the predicted value αi for a given block from the value of a sequence of the same order of at least one neighboring block of that block, a switching circuit that replaces the value of the sequence in which an error has occurred with the predicted value, and the value of the replaced sequence. 1. An orthogonal transform decoding device comprising: an inverse transformer that performs orthogonal inverse transform using values of a sequence in which no error occurs. 2. The prediction circuit is a prediction circuit that obtains a predicted value by reading out the sequence value of a block at a preset position for each order of the sequence from a memory that sequentially stores the sequence value of the reproduced block. An orthogonal transform decoding device according to claim 1.
JP11457480A 1980-08-19 1980-08-19 Orthogonal conversion decoder Granted JPS5738083A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11457480A JPS5738083A (en) 1980-08-19 1980-08-19 Orthogonal conversion decoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11457480A JPS5738083A (en) 1980-08-19 1980-08-19 Orthogonal conversion decoder

Publications (2)

Publication Number Publication Date
JPS5738083A JPS5738083A (en) 1982-03-02
JPH0133992B2 true JPH0133992B2 (en) 1989-07-17

Family

ID=14641237

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11457480A Granted JPS5738083A (en) 1980-08-19 1980-08-19 Orthogonal conversion decoder

Country Status (1)

Country Link
JP (1) JPS5738083A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59219083A (en) * 1983-05-27 1984-12-10 Nippon Hoso Kyokai <Nhk> Television picture signal transmission system
JPH10171780A (en) * 1996-12-13 1998-06-26 Nec Corp Hadamard transformation coefficient predict0r

Also Published As

Publication number Publication date
JPS5738083A (en) 1982-03-02

Similar Documents

Publication Publication Date Title
US5481554A (en) Data transmission apparatus for transmitting code data
EP0617558B1 (en) Apparatus for concealing errors in data
EP0665653B1 (en) Apparatus and method for decoding variable-length code
US4281344A (en) Video interframe transform coding technique
US5491479A (en) 8B-16B RLL decoder with hamming distance detection
EP0095560B1 (en) Method for processing image data
US5034965A (en) Efficient coding method and its decoding method
JPH05161128A (en) Moving picture conversion coding error correction device
JPS6043703B2 (en) Binary signal facsimile data compression method
US5532837A (en) Digital video signal processing apparatus
KR100272120B1 (en) Quantization control circuit
JPH0654317A (en) Television system for transmission of image signal in digital form
JPH0133992B2 (en)
JP3250260B2 (en) Image data recording device and image data reproducing device
JPH0133993B2 (en)
JP3557225B2 (en) Digital image signal receiving / reproducing device
KR100717976B1 (en) Pseudo product code encoding and decoding apparatus and method
JP3291785B2 (en) Transmission device for block transform coded data
JPS6356754B2 (en)
JP3469597B2 (en) Decoding device for block transform code
JPS60196087A (en) Video signal transmitter
JPS6168706A (en) Digital recording and reproducing device for television signal
JP3257156B2 (en) Image signal decoding device
JP3070336B2 (en) Video signal modification device
KR930009187B1 (en) Video data processing method