JPS63256080A - Decoder for block coding - Google Patents

Decoder for block coding

Info

Publication number
JPS63256080A
JPS63256080A JP62090602A JP9060287A JPS63256080A JP S63256080 A JPS63256080 A JP S63256080A JP 62090602 A JP62090602 A JP 62090602A JP 9060287 A JP9060287 A JP 9060287A JP S63256080 A JPS63256080 A JP S63256080A
Authority
JP
Japan
Prior art keywords
block
code
circuit
data
additional
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP62090602A
Other languages
Japanese (ja)
Other versions
JP2637973B2 (en
Inventor
Tetsujiro Kondo
哲二郎 近藤
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 JP9060287A priority Critical patent/JP2637973B2/en
Publication of JPS63256080A publication Critical patent/JPS63256080A/en
Application granted granted Critical
Publication of JP2637973B2 publication Critical patent/JP2637973B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To improve the picture quality of a decoded picture by using a decoded data with very strong correlation if an additional code is an error data so as to decode the additional code thereby decoding the additional information very close to a correct data. CONSTITUTION:A received data is fed to an input terminal 6 and a frame decomposition circuit 7 detects an error and decodes a correction code. An additional code and a code signal from the frame decomposition circuit 7 are fed to an ADRC (coding suitable for dynamic range) decoding circuit 8. In case of the desision that the additional code has an error not to be corrected by the error detection and the error correction code as the result of decoding, surrounding picture elements in a noticed block (a block to be decoded) and decoded data adjacent to the surrounding picture elements are used and the additional code is obtained by the method of least squares. That is, the additional code is identified by utilizing the relation that the surrounding picture element of the noticed block and the said decoded picture element having a minimum distance to the surrounding picture elements have a very strong correlation. The block code such as ADRC is decoded by using the obtained additional code.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、画像の持つ2次元的相関を利用し、原画像
データを圧縮して伝送することができるブロック符号化
の復号装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a block encoding decoding device that can compress and transmit original image data by utilizing two-dimensional correlation of images.

〔発明の概要〕[Summary of the invention]

この発明では、ディジタル画像信号をブロックの構造を
有する信号に変換し、ブロック毎の符号化によりコード
信号が形成され、ブロックの夫々を代表するパラメータ
を付加コードとしてコード信号と共に伝送するブロック
符号化の復号装置において、付加コードが誤った場合、
周辺に位置している復号後のブロックに含まれ、且つ付
加コードが誤ったブロックに隣接する画素とブロック内
の周辺画素とを用い、最小自乗法により、正しいデータ
になるべく近い値の付加コードが得られ、この付加コー
ドを用いて、復元データが求められる。
In this invention, a digital image signal is converted into a signal having a block structure, a code signal is formed by encoding each block, and a parameter representing each block is transmitted as an additional code together with the code signal. If the additional code is incorrect in the decoding device,
By using the least squares method, an additional code with a value as close as possible to the correct data is calculated using pixels that are included in the decoded block located in the periphery and are adjacent to the block with an incorrect additional code, and surrounding pixels within the block. This additional code is used to obtain the restored data.

〔従来の技術〕[Conventional technology]

画像情報の一つの特徴として、2次元的相関を有するこ
とが挙げられる。この2次元的相関を利用した符号化の
一つとして、画像を多数の2次元ブロックに分割し、ブ
ロック毎に符号化を行うブロック符号化方法が知られて
いる。
One feature of image information is that it has two-dimensional correlation. As one type of encoding that utilizes this two-dimensional correlation, a block encoding method is known in which an image is divided into a large number of two-dimensional blocks and each block is encoded.

−例として、本願出願人は、特願昭59−266407
号明細書に記載されているような、2次元ブロック内に
含まれる複数画素の最大値及び最小値により規定される
ダイナミックレンジを求め、このダイナミックレンジに
適応した符号化を行う高能率符号化装置を提案している
。また、特願昭60−232789号明細書に記載され
ているように、複数フレームに夫々含まれる領域の画素
から形成された3次元ブロックに関してダイナミックレ
ンジに適応した符号化を行う高能率符号化装置が提案さ
れている。
- As an example, the applicant of this application has filed Japanese Patent Application No. 59-266407.
A high-efficiency encoding device that obtains a dynamic range defined by the maximum and minimum values of a plurality of pixels included in a two-dimensional block and performs encoding adapted to this dynamic range, as described in the specification. is proposed. Furthermore, as described in Japanese Patent Application No. 60-232789, a high-efficiency encoding device performs encoding adapted to a dynamic range with respect to a three-dimensional block formed from pixels in areas included in each of a plurality of frames. is proposed.

更に、特願昭60−268817号明細書に記載されて
いるように、量子化を行った時に生じる最大歪が一定と
なるようなダイナミックレンジに応じてビット数が変化
する可変長符号化方法が提案されている。
Furthermore, as described in Japanese Patent Application No. 60-268817, there is a variable length encoding method in which the number of bits changes depending on the dynamic range so that the maximum distortion caused when quantization is constant. Proposed.

上述のダイナミックレンジに適応した符号化(A D 
RCと称する)は、ブロック毎のダイナミックレンジ、
最大値及び最小値の内の2個のデータが付加コードとさ
れ、元のビット数に比して1画素当りのビット数が低減
されたコード信号と上記の付加コードとが伝送される。
Encoding adapted to the dynamic range described above (A D
RC) is the dynamic range of each block,
Two data of the maximum value and the minimum value are used as an additional code, and a code signal whose number of bits per pixel is reduced compared to the original number of bits and the above-mentioned additional code are transmitted.

また、ブロック符号化方法の他の例として、ブロック毎
に平均値Avと標準偏差σとを伝送するものがある。ブ
ロック内の各画素は、平均値Avに対して大きいか小さ
いかに応じて“0”又は“1′″の1ビツトに符号化さ
れる0例えば平均値AV以上のレベルを持つデータが“
l”とされ、平均値AVより小さいレベルを持つデータ
が“0”とされる。この場合では、平均値Av及び標準
偏差σがブロックを代表するパラメータであって、付加
コードとして伝送される。受信側では、“1”のデータ
が(Av+σ)のレベルに復号され、′0”のデータが
(Av−σ)のレベルに復号される。
Further, as another example of a block encoding method, there is a method in which the average value Av and standard deviation σ are transmitted for each block. Each pixel in a block is encoded as a 1-bit "0" or "1'" depending on whether it is larger or smaller than the average value Av. For example, data with a level higher than the average value AV is
The average value Av and the standard deviation σ are parameters representing the block, and are transmitted as an additional code. On the receiving side, data of "1" is decoded to the level of (Av+σ), and data of '0' is decoded to the level of (Av-σ).

ブロック符号化において、ブロックを代表するパラメー
タである付加コードが伝送過程で誤ると、復号側では、
付加コードがエラーであるため、復号が不可能となり、
lブロックの全ての画素データがエラーデータとなる0
本願出願人は、例えば特開昭61−147690号公報
に示すように、付加コードがエラーデータのブロックは
、誤った付加コードに代えてその周囲近傍の8ブロツク
の付加コードの平均値を使用する修整方法を提案してい
る。
In block encoding, if the additional code, which is a parameter representing the block, is incorrect during the transmission process, the decoding side will
Since the additional code is an error, decoding is impossible.
0 where all pixel data of l block is error data
For example, as shown in Japanese Unexamined Patent Application Publication No. 147690/1982, the applicant of the present application has proposed that for a block whose additional code is error data, the average value of the additional codes of 8 blocks surrounding the block is used in place of the erroneous additional code. Suggests a repair method.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述のようなコンシールメントを行ったとしても、修整
に用いる周辺のブロックと注目ブロックとが離れている
ために、相関が少な(、ブロック単位の歪を充分に除去
することができない問題があった。
Even if concealment is performed as described above, the surrounding blocks used for correction and the block of interest are far apart, so there is little correlation (there was a problem that distortion in each block could not be sufficiently removed). .

従って、この発明の目的は、ブロックを代表するパラメ
ータである付加コードが誤った場合、正しい付加コード
に頗る近いデータを得、このデータによって、ブロック
内の各画素データの復号を可能としたブロック符号化の
復号装置を提供することにある。
Therefore, an object of the present invention is to obtain a block code that is very close to the correct additional code when the additional code, which is a parameter representing a block, is incorrect, and uses this data to enable decoding of each pixel data in the block. The purpose of the present invention is to provide a decoding device for decoding.

〔問題点を解決するための手段〕[Means for solving problems]

この発明では、ディジタル画像信号をブロックの構造を
有する信号に変換し、ブロック毎の符号化によりコード
信号が形成され、ブロックの夫々を代表するパラメータ
を付加コードとしてコード信号と共に伝送するブロック
符号化の復号装置において、付加コードが誤っている復
号しようとするブロック内の周辺画素と復号後のブロッ
クに含まれ、且つ復号しようとするブロックと隣接する
画素とを用い、最小自乗法により復号しようとするブロ
ックの付加コードを求める回路と、付加コードとコード
信号とから復元データを得るための回路とが備えられて
いる。
In this invention, a digital image signal is converted into a signal having a block structure, a code signal is formed by encoding each block, and a parameter representing each block is transmitted as an additional code together with the code signal. The decoding device attempts to decode using the least squares method using surrounding pixels in the block to be decoded whose additional code is incorrect and pixels included in the decoded block and adjacent to the block to be decoded. A circuit for obtaining an additional code of a block and a circuit for obtaining restored data from the additional code and the code signal are provided.

〔作用〕[Effect]

ADRCにおけるダイナミックレンジのような付加コー
ドがエラー検出及びエラー訂正符号によって訂正不能な
エラーを有すると判定された場合、注目ブロック (復
元しようとするブロック)内の周辺画素とこの周辺画素
に隣接する復元されたデータとを用い、最小自乗法によ
って付加コードが求められる。即ち、注目ブロックの周
辺画素と、この周辺画素との距離が最小である上記の復
元された画素とは、非常に強い相関を有していることを
利用して、付加コードが同定される。この求められた付
加コードを用いて、ADRC等のブロック符号の復号が
なされる。
When an additional code such as a dynamic range in ADRC is determined to have an uncorrectable error by an error detection and error correction code, the surrounding pixels in the block of interest (the block to be restored) and the restored pixels adjacent to this surrounding pixel are Using the obtained data, the additional code is determined by the least squares method. That is, the additional code is identified by utilizing the fact that there is a very strong correlation between the pixels surrounding the block of interest and the restored pixel whose distance to the surrounding pixel is the minimum. The obtained additional code is used to decode a block code such as ADRC.

〔実施例〕〔Example〕

以下、この発明の一実施例について説明する。 An embodiment of the present invention will be described below.

この一実施例では、ディジタルビデオ信号の例えば1フ
レームが第3図に示すように、垂直方向にn分割される
と共に、水平方向に苗分割され、(B11、B12、B
13・・・・・Bnm)で夫々示す(nXm)個のブロ
ックが形成される。
In this embodiment, for example, one frame of the digital video signal is divided into n parts in the vertical direction and divided into plants in the horizontal direction, as shown in FIG.
(13...Bnm) blocks are formed.

この1ブロツクには、第2図に示すように、(8ライン
×8画素)の64画素が含まれる。1画素の量子化ビッ
ト数が8ピツトとされている。高能率符号の一つである
A D RC(Adaptive Dynaa+icr
−ange Coding)の符号化は、1ブロツク内
の64個の画素のレベルの最大値MAX及び最小値MI
Nを夫々検出し、(MA X’−M I N)によって
、ダイナミックレンジDRを求め、このダイナミックレ
ンジDRを例えば24個のレベル範囲に分割し、最小値
が除去された画素データがどのレベル範囲に含まれるか
に応じて、4ビツトのコード信号を形成するものである
。伝送されるデータは、ブロック毎の最大(tWMAX
、最小値MIN及びダイナミックレンジDRの中の2個
の付加コードと、画素毎に各々が4ビツトのコード信号
である。
As shown in FIG. 2, this one block includes 64 pixels (8 lines x 8 pixels). The number of quantization bits for one pixel is 8 pits. AD RC (Adaptive Dynaa+icr) is one of the high efficiency codes.
-ange Coding) is based on the maximum value MAX and minimum value MI of the levels of 64 pixels within one block.
N, respectively, find the dynamic range DR by (MAX'-M A 4-bit code signal is formed depending on whether the data is included in the data or not. The data to be transmitted is the maximum (tWMAX) per block.
, the minimum value MIN and two additional codes in the dynamic range DR, each being a 4-bit code signal for each pixel.

これらの付加コード及びコード信号は、伝送時に生じる
エラーを検出し、また、エラーを訂正するために、エラ
ー検出及び訂正符号により符号化される。エラー検出及
び訂正符号は、付加コードとコード信号とに別個に付加
される。
These additional codes and code signals are encoded with error detection and correction codes to detect and correct errors that occur during transmission. Error detection and correction codes are added separately to the additional code and code signal.

第5図は、ADRCを用いた送信側のシステムを示し、
第5図において、1で示す入力端子にディジタルビデオ
信号が供給される。このディジタルビデオ信号は、走査
の順序の信号であって、ブロック化回路2において、ブ
ロックの順序に変換、される、第3図に示す例では、(
Bll−B12−B13−・・・・・−Bnm)の順序
のデータに変換される。このブロック化回路2の出力信
号がADRC符号化回路3に供給され、前述のように、
ブロック単位でADRC符号化がなされる。
FIG. 5 shows a transmitting system using ADRC,
In FIG. 5, a digital video signal is supplied to an input terminal indicated by 1. This digital video signal is a signal in the scanning order, and is converted into the block order in the blocking circuit 2. In the example shown in FIG.
Bll-B12-B13-...-Bnm). The output signal of this blocking circuit 2 is supplied to the ADRC encoding circuit 3, and as mentioned above,
ADRC encoding is performed block by block.

ADRC符号化回路3により得られた付加コード(ダイ
ナミックレンジDR及び最小値MIN)とコード信号D
Tとがフレーム化回路4に供給される。このフレーム化
回路4において、フレーム構造を有するデータにADR
C符号化回路3の出力データが変換されると共に、エラ
ー検出及び訂正符号の符号化がされ、出力端子5に伝送
データが得られる。
Additional code (dynamic range DR and minimum value MIN) obtained by ADRC encoding circuit 3 and code signal D
T is supplied to the framing circuit 4. In this framing circuit 4, ADR is applied to data having a frame structure.
The output data of the C encoding circuit 3 is converted and also encoded with an error detection and correction code, and transmission data is obtained at the output terminal 5.

送信側システムと対応する受信側システムは、第6図に
示す構成を有している。第6図において、6で示す入力
端子に受信データが供給され、フレーム分解回路7にお
いて、エラー検出及び訂正符号の復号がされる。フレー
ム分解回路7からの付加コード及びコード信号がADR
C復号化回路8に供給され、ADRC復号化回路8から
復元されたディジタルビデオ信号が得られる。ADRC
復号化回路8からの復元データがブロック分解回路9に
供給され、ブロックの順序がテレビジョン走査の順序に
戻される。ブロック分解回路9の出力データがエラー修
整回路lOに供給される。エラー修整回路lOでは、フ
レーム分解回路7において訂正できない誤った画素デー
タが周辺の正しい画素データによって補間される。付加
データが誤っている場合には、後述するように、ADR
C復号化回路8において、付加データの修整が行われる
。エラー修整回路10の出力端子11に復元データが得
られる。
The receiving system corresponding to the transmitting system has the configuration shown in FIG. In FIG. 6, received data is supplied to an input terminal 6, and a frame decomposition circuit 7 performs error detection and correction code decoding. The additional code and code signal from the frame decomposition circuit 7 are ADR
The digital video signal is supplied to the ADRC decoding circuit 8, and a restored digital video signal is obtained from the ADRC decoding circuit 8. ADRC
The restored data from the decoding circuit 8 is supplied to a block decomposition circuit 9, which restores the order of the blocks to the television scanning order. The output data of block decomposition circuit 9 is supplied to error correction circuit IO. In the error correction circuit IO, erroneous pixel data that cannot be corrected in the frame decomposition circuit 7 is interpolated with surrounding correct pixel data. If the additional data is incorrect, the ADR
In the C decoding circuit 8, the additional data is modified. Restored data is obtained at the output terminal 11 of the error correction circuit 10.

第1図は、この発明の一実施例を示し、第1図において
、21で示す入力端子にコード信号DTが供給され、2
2で示す入力端子にダイナミックレンジDRが供給され
、23で示す入力端子に最小値MINが供給され、24
で示す入力端子に付加データDR,MINのエラーの有
無を表すエラーフラグが供給される。ダイナミックレン
ジDRがROM25にアドレス信号として供給され、R
OM25により最小量子化中−△が発生する。コード信
号DT、最小量子化幅△及び最小値MINが遅延回路2
6に供給される。遅延回路26からのコード信号DTが
乗算回路27の一方の入力端子に供給される。遅延回路
26からの最小量子化幅へが選択回路28に供給され、
選択回路28の出力信号が乗算回路27に供給される。
FIG. 1 shows an embodiment of the present invention. In FIG. 1, a code signal DT is supplied to an input terminal indicated by 21;
The dynamic range DR is supplied to the input terminal indicated by 2, the minimum value MIN is supplied to the input terminal indicated by 23, and the minimum value MIN is supplied to the input terminal indicated by 24.
An error flag indicating the presence or absence of an error in the additional data DR, MIN is supplied to the input terminal indicated by . The dynamic range DR is supplied to the ROM 25 as an address signal, and the R
OM25 generates -Δ during minimum quantization. Code signal DT, minimum quantization width △ and minimum value MIN are in delay circuit 2
6. Code signal DT from delay circuit 26 is supplied to one input terminal of multiplier circuit 27 . The minimum quantization width from the delay circuit 26 is supplied to the selection circuit 28,
The output signal of the selection circuit 28 is supplied to the multiplication circuit 27.

この乗算回路27の出力には、最小量子化幅とコード信
号との積即ち、最小値除去後の復元データが得られる。
The output of the multiplication circuit 27 is the product of the minimum quantization width and the code signal, that is, restored data after the minimum value has been removed.

乗算回路27の出力信号が加算回路30の一方の入力端
子に供給される。加算回路30の他方の入力端子には、
選択回路29の出力信号が供給される0選択回路29を
介された最小値が加算回路30に供給され、加算回路3
0の出力端子31に復元データが取り出される。
The output signal of the multiplier circuit 27 is supplied to one input terminal of the adder circuit 30. The other input terminal of the adder circuit 30 has
The minimum value passed through the 0 selection circuit 29 to which the output signal of the selection circuit 29 is supplied is supplied to the addition circuit 30.
The restored data is taken out to the output terminal 31 of 0.

選択回路28は、受信されたダイナミックレンジDRが
正しい場合には、遅延回路26からの最小量子化幅Δを
選択し、受信されたダイナミックレンジDRがエラーデ
ータの場合には、破線で囲んで示す付加情報復元部41
からの最小量子化幅Δ′を選択する0選択回路29は、
受信された最小(aMINが正しい場合には、遅延回路
26からの最小値MINを選択し、受信された最小値M
INがエラーデータの場合には、破線で囲んで示す付加
情報復元部41からの最小値MIN′を選択する。これ
らの選択回路28及び29は、入力端子からのエラーフ
ラグにより制御される。
The selection circuit 28 selects the minimum quantization width Δ from the delay circuit 26 if the received dynamic range DR is correct, and if the received dynamic range DR is error data, it is shown surrounded by a broken line. Additional information restoration unit 41
The 0 selection circuit 29 that selects the minimum quantization width Δ′ from
If the received minimum (aMIN) is correct, select the minimum value MIN from the delay circuit 26 and set the received minimum value M
If IN is error data, the minimum value MIN' from the additional information restoring section 41, which is shown surrounded by a broken line, is selected. These selection circuits 28 and 29 are controlled by error flags from input terminals.

付加情報復元部41は、第2図において、黒いドツトで
示す復元後のデータyl′、y2′、・・・・・y8′
と付加コードが誤っているブロックのコード信号x1、
x2、・・・・・x8との既知の値を用い、未知数であ
る付加コードΔ′及びMIN ’を最小自乗法により求
める。この一実施例では、データy1”〜y8′として
、上部の復号後のブロック内の最も下のラインのデータ
が使用され、コード信号x l −x 3として、付加
コードが誤っているブロックに含まれ、データy1′〜
y8’と隣接する画素が使用される。復元データyl’
〜ya’とコード信号x1〜x8との両者の距離が極め
て近いので、両者の間には、強い相関があり、従って共
通の付加情報を両者が持っていると推定しても、誤差が
小さい。
The additional information restoration unit 41 restores the restored data yl', y2', . . . y8' indicated by black dots in FIG.
and the code signal x1 of the block whose additional code is incorrect,
Using the known values of x2, . . . In this embodiment, the data on the bottom line in the upper decoded block is used as the data y1" to y8', and the code signal x l - x 3 is used as the data y1" to y8', and as the code signal x l -x 3, the additional code is included in the erroneous block. , data y1'~
The pixel adjacent to y8' is used. Restored data yl'
Since the distance between ~ya' and the code signals x1 to x8 is extremely close, there is a strong correlation between them, and therefore even if it is estimated that both have common additional information, the error is small. .

復号しようとするブロックの付加コードを(Δ=a)(
MIN−b)と置き換えると、次式が成立する。
The additional code of the block to be decoded is (Δ=a)(
MIN-b), the following equation holds true.

yl =xl ・a+b+el y2′=x2・a+b+e2 )’8′=X8・a+b+e8 但し、e l −e F3は、誤差である。yl = xl ・a+b+el y2'=x2・a+b+e2 )'8'=X8・a+b+e8 However, e −e F3 is an error.

最小自乗法によれば、次式のように、誤差(e1〜e8
)の自乗和を最小とするa及びbの値を求めることがで
きる。次式において、Σは、8個のデータの積算を意味
する。例えば(Σy)は、(yl’+y2’十・・・・
・y8゛)を意味する。また、(x)、(x2)、(y
)、(xy)は、x、x”、y’、xyの平均値を夫々
意味す(x” ) −(x)” Σxy    ΣX Σy Σx!  (Σx)! b” ()l) −(x) a 謬−(Σy−ΣxXa)  ・・・■ 付加情報復元部41は、これらの演算を実行するための
構成とされている。復元データ(y1′〜y8′)は、
メモリ40から付加情報復元部41に与えられる。メモ
リ40には、出力端子31に得られる復元データが入力
される。
According to the least squares method, the error (e1 to e8
) can be found to minimize the sum of squares of a and b. In the following equation, Σ means integration of eight pieces of data. For example, (Σy) is (yl'+y2'0...
・y8゛). Also, (x), (x2), (y
), (xy) mean the average values of x, x", y', xy, respectively (x" ) - (x)" Σxy ΣX Σy Σx! (Σx)! b" ()l) - (x ) a error-(Σy-ΣxXa)...■ The additional information restoration unit 41 is configured to execute these calculations. The restored data (y1' to y8') is
The additional information is provided from the memory 40 to the additional information restoring section 41 . The restored data obtained at the output terminal 31 is input to the memory 40 .

メモリ40には、メモリ制御回路(図示せず)からアド
レス信号及びR/W信号が供給される。
The memory 40 is supplied with an address signal and an R/W signal from a memory control circuit (not shown).

メモリ40は、水平方向のブロック数をmとすると、少
なくともm547分の復元データを記憶できる容量を有
している。
The memory 40 has a capacity that can store at least m547 worth of restored data, where m is the number of blocks in the horizontal direction.

乗算回路42は、入力端子31からのコード信号DT(
xl〜x8)と復元データ(yl”〜y8′)との積x
yを形成する。積算回路43は、Σyを形成し、積算回
路44は、Σxyを形成し、積算回路45は、ΣXを形
成する。積算回路44の出力信号が8倍回路46に供給
され、8倍回路46の出力信号が減算回路47に供給さ
れる0乗算回路48に積算回路43及び45の出力信号
が供給され、乗算回路48の出力信号が減算回路47に
供給される。この減算回路47の出力には、■式の分子
の項が得られる。
The multiplication circuit 42 receives the code signal DT (
xl~x8) and the restored data (yl''~y8') x
form y. The integrating circuit 43 forms Σy, the integrating circuit 44 forms Σxy, and the integrating circuit 45 forms ΣX. The output signal of the integrating circuit 44 is supplied to the 8x circuit 46, the output signal of the 8x circuit 46 is supplied to the subtracting circuit 47, the output signals of the integrating circuits 43 and 45 are supplied to the 0 multiplying circuit 48, The output signal is supplied to the subtraction circuit 47. The numerator term of the equation (2) is obtained from the output of the subtraction circuit 47.

2東回路49及び積和回路50によって、ΣX2の項が
演算され、積和回路50の出力信号が8倍回路51を介
して減算回路52に供給される。
The term ΣX2 is calculated by the 2-east circuit 49 and the sum-of-products circuit 50, and the output signal of the sum-of-products circuit 50 is supplied to the subtraction circuit 52 via the 8x circuit 51.

減算回路52には、2東回路53からの(ΣX)2が供
給され、従って、減算回路52からは、■式の分母の項
が得られる。減算回路47及び減算回路52の夫々の出
力信号が割算回路53に供給される。この割算回路53
からは、■式で表されるaの値即ち、最小自乗法により
復元された最小量子化幅Δ′が得られる。
The subtraction circuit 52 is supplied with (ΣX)2 from the 2-east circuit 53, and therefore, the denominator term of the equation (2) is obtained from the subtraction circuit 52. The respective output signals of the subtraction circuit 47 and the subtraction circuit 52 are supplied to the division circuit 53. This division circuit 53
From this, the value of a expressed by the formula (2), that is, the minimum quantization width Δ' restored by the least squares method is obtained.

乗算回路54には、割算回路53の出力信号及び積算回
路45の出力信号が供給され、この乗算回路54の出力
信号が減算回路55に供給される。
The output signal of the division circuit 53 and the output signal of the integration circuit 45 are supplied to the multiplication circuit 54 , and the output signal of this multiplication circuit 54 is supplied to the subtraction circuit 55 .

減算回路55には、積算回路43の出力信号が供給され
、減算回路55の出力信号が(1/8)倍回路56に供
給される。この(1/8)倍回路56の出力には、0式
で表されるbの値即ち、最小自乗法により復元された最
小(aMIN’が得られる。付加情報復元部41におい
て形成された最小量子化幅Δ′及び最小値MIN’が選
択回路28及び29に夫々供給される。
The output signal of the integration circuit 43 is supplied to the subtraction circuit 55 , and the output signal of the subtraction circuit 55 is supplied to the (1/8) multiplication circuit 56 . The value of b expressed by the equation 0, that is, the minimum (aMIN') restored by the least squares method is obtained as the output of the (1/8) multiplication circuit 56. The minimum formed in the additional information restoration section 41 The quantization width Δ' and the minimum value MIN' are supplied to selection circuits 28 and 29, respectively.

第4図は、付加情報復元部41の動作を示すタイミング
チャートであって、第4図Aが入力端子21からの受信
コードを示す、このコード信号は、各ブロックの第1番
目のライン(8個のコード信号)、第2番目のライン・
・・・・第8番目のラインの順序で人力される。第1番
目のラインには、付加コードの復元に用いるコード信号
x1〜x8の8画素分のデータが含まれている。
FIG. 4 is a timing chart showing the operation of the additional information restoring unit 41, in which FIG. 4A shows the received code from the input terminal 21. code signals), the second line
...It is manually operated in the order of the 8th line. The first line contains data for eight pixels of code signals x1 to x8 used for restoring the additional code.

第4図Bは、メモリ40の動作モードを示しており、受
信コード信号の第1番目のラインの8画素分のデータと
同期してメモリ40から上部のブロックの隣接している
ラインの復元データyl’〜y8′が読み出される0例
えばN番目のブロックが822である場合、ブロックB
12の第8番目のラインの復元データがメモリ40から
読み出される。これらのコード信号x1〜x8と復元デ
ータyl”〜y8′とを用いて、付加情報復元部41は
、前述のように、最小量子化幅Δ′及び最小値MIN′
 (第4図C)を復元する。
FIG. 4B shows the operation mode of the memory 40, in which reconstructed data of adjacent lines of the upper block is sent from the memory 40 in synchronization with data for 8 pixels of the first line of the received code signal. yl' to y8' are read 0 For example, if the Nth block is 822, block B
The restored data of the eighth line of twelve is read from the memory 40. Using these code signals x1 to x8 and restored data yl" to y8', the additional information restoring unit 41 calculates the minimum quantization width Δ' and the minimum value MIN', as described above.
(Figure 4C) is restored.

付加情報復元部41が復元動作に要する時間遅延回路2
6によって、第4図りに示すように、受信コードが遅延
され、N番目のブロックのコード信号が乗算回路27に
供給されるタイミングより前で、最小量子化幅Δ′及び
最小値MIN’が復元される。この復元データの中で、
各ブロックの第8番目のラインが第4図Eに示すように
、メモリ40に書き込まれる。このメモリ40に書き込
まれた復元データが次の行のブロックの付加情報を復元
するために使用される。
Time delay circuit 2 required for the additional information restoration unit 41 to perform the restoration operation
6, the received code is delayed and the minimum quantization width Δ' and the minimum value MIN' are restored before the timing when the code signal of the Nth block is supplied to the multiplication circuit 27, as shown in the fourth diagram. be done. In this restored data,
The eighth line of each block is written to memory 40 as shown in FIG. 4E. The restored data written in this memory 40 is used to restore the additional information of the block in the next row.

なお、1フレームの最上部に位置するブロックBll、
B12、−− ・・・Blmに関しては、前のフレーム
の最下部に位置するブロックの第8番目のラインの復元
データが付加情報の復元に使用される。また、付加情報
を復元するのに、上述のように、〔注目ブロックの第1
番目のラインのコード信号及び上方のブロックの第8番
目のラインの復元データ〕を用いる他に、復号の順序、
メモリの容量等に応じて、下記のような組み合わせのデ
ータを使用することが可能である。
Note that the block Bll located at the top of one frame,
Regarding B12, --...Blm, the restored data of the 8th line of the block located at the bottom of the previous frame is used to restore the additional information. In addition, in order to restore the additional information, as described above, [the first
In addition to using the code signal of the 8th line of the upper block and the reconstructed data of the 8th line of the upper block, the decoding order
Depending on the memory capacity, etc., it is possible to use the following combinations of data.

〔注目ブロックの第8番目のラインのコード信号及び下
方のブロックの第1番目のラインの復元データ〕 〔注目ブロックの第1番目のサンプリング位置のコード
信号及び左側のブロックの第8番目のサンプリング位置
の復元データ〕 〔注目ブロックの第8番目のサンプリング位置のコード
信号及び右側のブロックの第1番目のサンプリング位置
の復元データ〕 更に、上述の組み合わせを単独ではなく、2個3個又は
全てを用いるようにしても良い。
[Code signal of the 8th line of the block of interest and restored data of the 1st line of the block below] [Code signal of the 1st sampling position of the block of interest and 8th sampling position of the left block ] [Restored data of the code signal at the 8th sampling position of the block of interest and the 1st sampling position of the block on the right] Furthermore, instead of using the above combinations alone, two, three, or all of the above combinations are used. You can do it like this.

この発明は、2次元ブロック毎に画素データを固定長の
データに変換するADRCに限らず、可変長のデータに
変換する可変長ADRCに対して通用できる。また、ブ
ロックを代表する平均値及び標準偏差を付加コードとし
、ブロック内の画素を1ビツトのコード信号に夫々符号
化するブロック符号化のようなADRC以外の符号化に
対しても通用することができる。
The present invention is applicable not only to ADRC that converts pixel data into fixed length data for each two-dimensional block, but also to variable length ADRC that converts pixel data to variable length data. It can also be used for coding other than ADRC, such as block coding, in which the average value and standard deviation representing the block are used as additional codes, and each pixel in the block is coded into a 1-bit code signal. can.

〔発明の効果〕〔Effect of the invention〕

この発明は、ブロック符号化により得られたブロックを
代表するパラメータである付加コードと画素に対応する
コード信号を伝送する時に、付加コードがエラーデータ
となった場合、非常に相関が強い復元データを使用して
、付加コードを復元する。従って、この発明に依れば、
正しいデータに非常に近い付加情報が復元され、復元画
像の画質を良好とすることができる。
In this invention, when an additional code, which is a parameter representing a block obtained by block encoding, and a code signal corresponding to a pixel are transmitted, if the additional code becomes error data, restored data with a very strong correlation is transmitted. Use to restore the attached code. Therefore, according to this invention,
Additional information that is very close to the correct data is restored, and the quality of the restored image can be made good.

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

第1図はこの発明の一実施例のブロック図、第2図及び
第3図はこの発明の一実施例におけるブロックの説明に
用いる路線図、第4図はこの発明の一実施例の動作説明
に用いるタイミングチャート、第5図はこの発明を適用
することができるブロック符号化の送信側システムのブ
ロック図、第6図はこの発明を適用することができるブ
ロック符号化の受信側システムのブロック図である。 図面における主要な符号の説明 21:受信されたコード信号の入力端子、22及び23
;受信された付加コード(DR,MIN)の入力端子、
28.29:選択回路、27.30:復号用の乗算回路
及び加算回路、4o:メモリ、41:付加情報復元部。 代理人   弁理士 杉 浦 正 知 第4図
Fig. 1 is a block diagram of an embodiment of this invention, Figs. 2 and 3 are route diagrams used to explain blocks in an embodiment of this invention, and Fig. 4 is an explanation of operation of an embodiment of this invention. 5 is a block diagram of a transmitting system for block encoding to which this invention can be applied, and FIG. 6 is a block diagram of a receiving system for block encoding to which this invention can be applied. It is. Explanation of main symbols in the drawings 21: Input terminals for received code signals, 22 and 23
; Input terminal for received additional code (DR, MIN);
28.29: selection circuit, 27.30: multiplication circuit and addition circuit for decoding, 4o: memory, 41: additional information restoring unit. Agent Patent Attorney Masato Sugiura Figure 4

Claims (1)

【特許請求の範囲】 ディジタル画像信号をブロックの構造を有する信号に変
換し、上記ブロック毎の符号化によりコード信号が形成
され、上記ブロックの夫々を代表するパラメータを付加
コードとして上記コード信号と共に伝送するブロック符
号化の復号装置において、 上記付加コードが誤っている復号しようとするブロック
内の周辺画素と復号後のブロックに含まれ、且つ上記復
号しようとするブロックと隣接する画素とを用い、最小
自乗法により上記復号しようとするブロックの上記付加
コードを求める手段と、 上記付加コードと上記コード信号とから復元データを得
るための手段と を備えたことを特徴とするブロック符号化の復号装置。
[Claims] A digital image signal is converted into a signal having a block structure, a code signal is formed by encoding each block, and parameters representing each of the blocks are transmitted as an additional code together with the code signal. In a decoding device for block encoding, the additional code is used to calculate the minimum A decoding device for block encoding, comprising: means for obtaining the additional code of the block to be decoded by the method of squares; and means for obtaining restored data from the additional code and the code signal.
JP9060287A 1987-04-13 1987-04-13 Block encoding decoding device Expired - Lifetime JP2637973B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9060287A JP2637973B2 (en) 1987-04-13 1987-04-13 Block encoding decoding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9060287A JP2637973B2 (en) 1987-04-13 1987-04-13 Block encoding decoding device

Publications (2)

Publication Number Publication Date
JPS63256080A true JPS63256080A (en) 1988-10-24
JP2637973B2 JP2637973B2 (en) 1997-08-06

Family

ID=14003018

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9060287A Expired - Lifetime JP2637973B2 (en) 1987-04-13 1987-04-13 Block encoding decoding device

Country Status (1)

Country Link
JP (1) JP2637973B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02305280A (en) * 1989-05-19 1990-12-18 Canon Inc Picture information transmission system
JPH02305281A (en) * 1989-05-19 1990-12-18 Canon Inc Picture information transmission system
JPH02305282A (en) * 1989-05-19 1990-12-18 Canon Inc Picture information transmission system
JP2002537698A (en) * 1999-02-12 2002-11-05 ソニー エレクトロニクス インク Apparatus and method for restoring compression constant in encoded area

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02305280A (en) * 1989-05-19 1990-12-18 Canon Inc Picture information transmission system
JPH02305281A (en) * 1989-05-19 1990-12-18 Canon Inc Picture information transmission system
JPH02305282A (en) * 1989-05-19 1990-12-18 Canon Inc Picture information transmission system
JP2002537698A (en) * 1999-02-12 2002-11-05 ソニー エレクトロニクス インク Apparatus and method for restoring compression constant in encoded area
JP4796228B2 (en) * 1999-02-12 2011-10-19 ソニー エレクトロニクス インク Apparatus and method for restoring compression constant in encoding region

Also Published As

Publication number Publication date
JP2637973B2 (en) 1997-08-06

Similar Documents

Publication Publication Date Title
JP2629238B2 (en) Decoding device and decoding method
US4772947A (en) Method and apparatus for transmitting compression video data and decoding the same for reconstructing an image from the received data
JPS6333351B2 (en)
JPS63256080A (en) Decoder for block coding
JP2550021B2 (en) Signal transmission and reception method using data compression
JP2604712B2 (en) High-efficiency encoding / decoding device for television signal
JP2637976B2 (en) Block encoding decoding device
JP2861379B2 (en) Image data encoding method and circuit thereof
JP2861380B2 (en) Image signal encoding apparatus and method, image signal decoding apparatus and method
JP3748115B2 (en) Image data decoding apparatus and image data decoding method
JP3695006B2 (en) Signal processing apparatus and method
JP2894334B2 (en) Image signal error correction circuit
JP3326828B2 (en) Digital image signal receiving / reproducing device
JP3480461B2 (en) Digital image signal processing apparatus and processing method
JP3627258B2 (en) High-efficiency encoding and decoding apparatus for digital image signals
JP3169369B2 (en) Image signal encoding apparatus and encoding method
JP2629239B2 (en) Decoding device and decoding method
JP2832974B2 (en) Image decoding device and decoding method
JP4552264B2 (en) Error correction apparatus and method
JPH04142879A (en) Picture coding and decoding system
JP2621422B2 (en) Image data quantization circuit
JP2621421B2 (en) Image data quantization circuit
JP2832949B2 (en) High-efficiency code decoding device
JP2606319B2 (en) Image data quantization circuit
JPH0462511B2 (en)

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term