JP2830009B2 - Decryption device - Google Patents
Decryption deviceInfo
- Publication number
- JP2830009B2 JP2830009B2 JP1035776A JP3577689A JP2830009B2 JP 2830009 B2 JP2830009 B2 JP 2830009B2 JP 1035776 A JP1035776 A JP 1035776A JP 3577689 A JP3577689 A JP 3577689A JP 2830009 B2 JP2830009 B2 JP 2830009B2
- Authority
- JP
- Japan
- Prior art keywords
- bits
- circuit
- data
- pixel
- code
- 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
Links
Landscapes
- Compression Or Coding Systems Of Tv Signals (AREA)
- Compression, Expansion, Code Conversion, And Decoders (AREA)
Description
【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、例えば8ビットのディジタル画像信号を
2ビットに圧縮して伝送した場合に適応される復号装置
に関する。Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a decoding apparatus adapted to a case where, for example, an 8-bit digital image signal is compressed to 2 bits and transmitted.
ディジタル画像信号の2次元的な相関を理翁し、ディ
ジタル画像信号を小領域であるブロックに分割し、ブロ
ックに含まれる複数画素を元のビット数より短いビット
数のコード信号に符号化するブロック符号化が知られて
いる。A block that calculates the two-dimensional correlation of a digital image signal, divides the digital image signal into small regions, and encodes a plurality of pixels contained in the block into a code signal having a bit number shorter than the original bit number. Coding is known.
本願出願人は、特開昭61−144989号公報に記載されて
いるような、2次元ブロック内に含まれる複数画素の最
大値及び最小値の差であるダイナミックレンジを求め、
このダイナミックレンジに適応した符号化を行う適応符
号化装置を提案している。また、特開昭62−92620号公
報に記載されているように、複数フレームに各々含まれ
る領域の画素から形成された3次元ブロックに関してダ
イナミックレンジに適応した符号化を行う適応符号化装
置が提案されている。更に、特開昭62−128621号公報に
記載されているように、量子化を行った時に生じる最大
歪みが一定となるように、ダイナミックレンジに応じて
ビット数が変化する可変長符号化方法が提案されてい
る。The applicant of the present application obtains a dynamic range, which is a difference between the maximum value and the minimum value of a plurality of pixels included in a two-dimensional block, as described in JP-A-61-144989.
An adaptive coding device that performs coding adapted to the dynamic range has been proposed. Further, as described in Japanese Patent Application Laid-Open No. 62-92620, an adaptive coding apparatus that performs coding adaptive to a dynamic range with respect to a three-dimensional block formed from pixels in an area included in each of a plurality of frames is proposed. Have been. Further, as described in Japanese Patent Application Laid-Open No. 62-128621, a variable length encoding method in which the number of bits changes according to a dynamic range so that the maximum distortion generated when quantization is performed is constant. Proposed.
これらのダイナミックレンジに適応した符号化(ADRC
と称する)は、画質の劣化が少なく、また、効率が良い
ものである。ADRCの復号側では、量子化ビット数nの場
合に、ダイナミックレンジを2n個に分割してなるレベル
範囲の中央値を復号レベルとして出力していた。Coding adapted to these dynamic ranges (ADRC
Is referred to as "), the image quality is little degraded and the efficiency is high. On the decoding side of the ADRC, when the number of quantization bits is n, the median of the level range obtained by dividing the dynamic range into 2 n is output as the decoding level.
しかしながら、ADRCの量子化ビット数が少ない場合、
伝送データをより圧縮するために、ADRCで得られたコー
ド信号の上位のビットのみを伝送する場合には、復元さ
れたデータと原データとの誤差(量子化歪)が大きくな
る問題が生じる。However, when the number of quantization bits of ADRC is small,
In the case where only higher-order bits of a code signal obtained by ADRC are transmitted in order to further compress transmission data, there is a problem that an error (quantization distortion) between the restored data and the original data increases.
本願出願人は、この問題を解決するために、特開平1
−200884号公報に記載されているように、注目画素と周
辺の画素との大小関係に応じた補正コードを形成し、こ
の補正コードを注目画素の符号化コードに加算し、加算
した結果を復号する復号装置を提案している。この復号
装置に依れば、何等の対策を行っていない場合に比し
て、より細分化された復号レベルを有する復号レベルが
得られ、量子化歪が低減される。In order to solve this problem, the present applicant has disclosed Japanese Patent Laid-Open No.
As described in Japanese Patent Application Laid-Open No. 200884, a correction code corresponding to the magnitude relationship between a target pixel and surrounding pixels is formed, this correction code is added to an encoded code of the target pixel, and the result of the addition is decoded. To propose a decryption device. According to this decoding apparatus, a decoding level having a more subdivided decoding level is obtained, and quantization distortion is reduced, as compared with a case where no countermeasure is taken.
先に提案されている方式は、注目画素と周辺画素の大
小関係に注目しているので、ブロック内の画像が平坦な
場合に対して有効であっても、ブロック内に画像のエッ
ジが含まれているときには、誤差を充分に小さくできな
い問題があった。Since the previously proposed method focuses on the magnitude relationship between the pixel of interest and surrounding pixels, even if the image in the block is effective for a flat image, the edge of the image is not included in the block. In some cases, the error cannot be reduced sufficiently.
従って、この発明の目的は、注目画素と周辺画素との
パターンに応じて補正コードを発生することで、伝送さ
れる各画素のビット数より多いビット数に相当する良質
な復元画像が得られる復号装置を提供することにある。Therefore, an object of the present invention is to generate a correction code in accordance with a pattern of a target pixel and a peripheral pixel, thereby obtaining a high-quality restored image corresponding to a bit number larger than the bit number of each transmitted pixel. It is to provide a device.
この発明は、受信された第1のビット数を有する伝送
データを、第1のビット数より多いビット数である第2
のビット数を有する画素データに変換する復号装置にお
いて、注目画素の伝送データに基づいて、周辺画素を取
り出す手段と、注目画素の伝送データと、取り出された
複数の周辺画素の伝送データとからビットパターンを形
成する手段と、ビットパターンに基づいて、補正コード
を発生するメモリ手段と、注目画素の伝送データを上位
ビットとし、補正コードを下位ビットとして合成データ
を形成する手段とを有し、メモリ手段のビットパターン
に対応する各アドレスには、複数の補正コード内で所定
期間における発生頻度が最大のものが格納されることを
特徴とする復号装置である。The present invention converts the received transmission data having the first number of bits into a second number of bits having a number of bits larger than the first number of bits.
In a decoding device for converting into pixel data having the number of bits, a means for extracting peripheral pixels based on the transmission data of the pixel of interest, transmission data of the pixel of interest, and transmission data of the plurality of extracted peripheral pixels. Means for forming a pattern, a memory means for generating a correction code based on the bit pattern, and means for forming transmission data of the pixel of interest as upper bits and forming the correction code as lower bits to form composite data; The decoding device is characterized in that, in each address corresponding to the bit pattern of the means, the one having a maximum occurrence frequency in a predetermined period among a plurality of correction codes is stored.
受信側のメモリ25には、パターン分類に対応する答
(補正コードCR)が格納されている。復号しようとする
注目画素と周辺画素(例えば4個の画素)との受信され
たデータからなる10ビットでパターンが分類される。こ
のパターンがメモリ25にアドレス信号として供給され、
補正コードCRがメモリ25から読み出される。この補正コ
ードCRが注目画素の下位ビットとされ、受信された上位
ビットと合成回路26で合成される。合成回路26からの4
ビットのコードがADRCの復号回路27に供給され、8ビッ
トのコードが復元される。The answer (correction code CR) corresponding to the pattern classification is stored in the memory 25 on the receiving side. The pattern is classified by 10 bits consisting of received data of a target pixel to be decoded and peripheral pixels (for example, four pixels). This pattern is supplied to the memory 25 as an address signal,
The correction code CR is read from the memory 25. The correction code CR is set as the lower bits of the target pixel, and is synthesized with the received upper bits by the synthesizing circuit 26. 4 from synthesis circuit 26
The bit code is supplied to the ADRC decoding circuit 27, and the 8-bit code is restored.
パターン分類により伝送されなかった下位ビットを復
元するので、復元画像の画質を向上できる。Since the lower bits not transmitted by the pattern classification are restored, the quality of the restored image can be improved.
以下、この発明の一実施例について図面を参照して説
明する。第1図は、この一実施例の送信側の構成を示
し、1で示す入力端子に、1サンプルが8ビットにディ
ジタル化されたディジタルビデオデータが供給される。
ビデオデータは、ブロック化回路2で、走査線の順序か
らブロックの順序にデータの配列が変換される。例えば
1フレームの画面が第2図に示すような(4ライン×4
画素)のブロックに細分化される。An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 shows the configuration of the transmitting side of this embodiment, and digital video data in which one sample is digitized to 8 bits is supplied to an input terminal indicated by 1.
The video data is converted by the blocking circuit 2 from a scan line order to a block order. For example, if the screen of one frame is as shown in FIG.
Pixel).
ブロック化回路2の出力信号が最大値及び最小値検出
回路3及び遅延回路4に供給される。検出回路3は、ブ
ロックの最大値MAXと最小値MINとを検出する。遅延回路
4は、最大値MAX及び最小値MINを検出する時間、データ
を遅延させる。減算回路5で(MAX−MIN)の演算がさ
れ、減算回路5からダイナミックレンジDRが得られる。
ダイナミックレンジDRが割算回路6に供給され、ダイナ
ミックレンジDRが1/16とされる。割算回路6は、シフト
回路で構成できる。この割算回路6から量子化ステップ
Δが得られる。減算回路7では、遅延回路4からのビデ
オデータから最小値MINが減算され、減算回路7から最
小値が除去されたビデオデータが得られる。The output signal of the blocking circuit 2 is supplied to the maximum and minimum value detection circuit 3 and the delay circuit 4. The detection circuit 3 detects the maximum value MAX and the minimum value MIN of the block. The delay circuit 4 delays data for a time for detecting the maximum value MAX and the minimum value MIN. The calculation of (MAX−MIN) is performed in the subtraction circuit 5, and the dynamic range DR is obtained from the subtraction circuit 5.
The dynamic range DR is supplied to the division circuit 6, and the dynamic range DR is set to 1/16. The division circuit 6 can be constituted by a shift circuit. A quantization step Δ is obtained from the division circuit 6. In the subtraction circuit 7, the minimum value MIN is subtracted from the video data from the delay circuit 4, and video data from which the minimum value has been removed is obtained from the subtraction circuit 7.
減算回路7の出力データ及び量子化ステップΔが量子
化回路8に供給される。量子化回路8から元のビット数
(8ビット)より少ないビット数例えば4ビットの量子
化コードDTが得られる。この量子化コードDTが分離回路
9に供給され、上位の2ビットのコードDTuと下位の2
ビットのコードDTlとに分けられる。コードDTuがフレー
ム化回路10と補正コード発生回路11に供給され、コード
DTlが補正コード発生回路11に供給される。The output data of the subtraction circuit 7 and the quantization step Δ are supplied to the quantization circuit 8. From the quantization circuit 8, a quantization code DT having a bit number smaller than the original bit number (8 bits), for example, 4 bits is obtained. This quantized code DT is supplied to the separating circuit 9 and the upper two-bit code DTu and the lower two bits
It is divided into bit codes DTL. The code DTu is supplied to the framing circuit 10 and the correction code generation circuit 11, and the code
DTl is supplied to the correction code generation circuit 11.
量子化回路8は、ダイナミックレンジDRに適応した量
子化を行う。つまり、ダイナミックレンジDRを(24=1
6)等分した量子化ステップΔで、最小値が除去された
ビデオデータが除算され、商を切り捨てて整数化した値
が量子化コードDTとされる。量子化回路8は、除算回路
或いはROMで構成できる。The quantization circuit 8 performs quantization adapted to the dynamic range DR. In other words, if the dynamic range DR is (2 4 = 1
6) In the equally divided quantization step Δ, the video data from which the minimum value has been removed is divided, and the value obtained by rounding down the quotient and converting it into an integer is used as the quantization code DT. The quantization circuit 8 can be constituted by a division circuit or a ROM.
ダイナミックレンジDR、最小値MIN及びコードDTuがフ
レーム化回路10で伝送データに変換され、スイッチ回路
12に供給される。フレーム化回路10は、ダイナミックレ
ンジDR、最小値MIN及びコードDTuがバイトシリアルに配
列され、同期信号が付加された伝送データを形成する。
また、フレーム化回路10では、付加的コード(DR、MI
N)とコードDTuに対するエラー訂正符号の符号化がなさ
れる。上述のように、この実施例では、1画素が8ビッ
トの原データがADRCにより、4ビットの量子化コードに
圧縮され、更に、量子化コードの上位2ビットが選択さ
れて伝送される。The dynamic range DR, the minimum value MIN, and the code DTu are converted into transmission data by the framing circuit 10, and the switching circuit
Supplied to 12. The framing circuit 10 forms transmission data to which the dynamic range DR, the minimum value MIN, and the code DTu are arranged byte-serial and to which a synchronization signal is added.
In addition, the framing circuit 10 generates additional codes (DR, MI
N) and the error correction code for the code DTu are encoded. As described above, in this embodiment, the original data of 8 bits per pixel is compressed by the ADRC into a 4-bit quantization code, and the upper 2 bits of the quantization code are selected and transmitted.
スイッチ回路12には、補正コード発生回路11で形成さ
れた補正コードCRが供給される。スイッチ回路12の出力
端子13に伝送データが取り出される。補正コードCRは、
各フレームで1回発生し、ブランキング期間等を利用し
て伝送データに先立って伝送される。伝送路は、例えば
磁気テープと回転ヘッドとで構成された記録及び再生の
過程である。The correction code CR generated by the correction code generation circuit 11 is supplied to the switch circuit 12. Transmission data is taken out to the output terminal 13 of the switch circuit 12. The correction code CR is
It occurs once in each frame and is transmitted prior to transmission data using a blanking period or the like. The transmission path is, for example, a recording and reproducing process composed of a magnetic tape and a rotary head.
第3図は、受信側の構成を示し、21で示す入力端子に
受信データが供給される。受信データは、スイッチ回路
22に供給され、伝送データと補正データCRとに分けられ
る。伝送データは、フレーム分解回路23に供給され、補
正データCRがメモリ25に書き込まれる。FIG. 3 shows the configuration of the receiving side, and received data is supplied to an input terminal indicated by 21. The received data is a switch circuit
22 and is divided into transmission data and correction data CR. The transmission data is supplied to the frame decomposition circuit 23, and the correction data CR is written in the memory 25.
フレーム分解回路23では、エラー訂正符号の復号がさ
れ、また、ダイナミックレンジDR、最小値MIN及びコー
ドDTuが分離される。コードDTuが周辺画素検出回路24に
供給され、第4図に示すように、復号しようとする注目
画素データYuの上下左右に夫々位置する画素データAu、
Bu、Cu、Du(2ビット×4=8ビット)が周辺画素検出
回路24から出力される。ブロックの境界付近の画素が注
目画素のために、4個の周辺画素が全て存在しない場合
には、注目画素を中心として周辺画素が折り返して使用
される。例えばブロックの左上の隅の画素が注目画素の
場合には、画素データAu及びBuが存在しないので、画素
データDuがAuの代わりに参照され、画素データCuがBuの
代わりに参照される。In the frame decomposition circuit 23, the error correction code is decoded, and the dynamic range DR, the minimum value MIN, and the code DTu are separated. The code DTu is supplied to the peripheral pixel detection circuit 24, and as shown in FIG. 4, the pixel data Au,
Bu, Cu, and Du (2 bits × 4 = 8 bits) are output from the peripheral pixel detection circuit 24. If all the four peripheral pixels do not exist because the pixel near the boundary of the block is the target pixel, the peripheral pixels are turned back around the target pixel and used. For example, if the pixel at the upper left corner of the block is the target pixel, there is no pixel data Au and Bu, so the pixel data Du is referred to instead of Au, and the pixel data Cu is referred to instead of Bu.
周辺画素検出回路24からの8ビットとコードDTu(注
目画素データYu)の計10ビットがメモリ25にアドレスと
して供給される。この10ビットがブロックの大きさの局
所的パターンを示し、メモリ25からは、2ビットの補正
コードCRが読み出される。コードDTuと補正コードCRと
が合成回路26に供給され、コードDTuを上位ビットと
し、補正コードCRを下位ビットとして4ビットのコード
信号が合成回路26で形成される。A total of 10 bits of 8 bits from the peripheral pixel detection circuit 24 and the code DTu (target pixel data Yu) are supplied to the memory 25 as an address. These 10 bits indicate a local pattern of a block size, and a 2-bit correction code CR is read from the memory 25. The code DTu and the correction code CR are supplied to the synthesizing circuit 26, and the synthesizing circuit 26 forms a 4-bit code signal using the code DTu as upper bits and the correction code CR as lower bits.
合成回路26からの4ビットのコード信号が復号回路27
に供給される。復号回路27には、フレーム分解回路23か
らのダイナミックレンジDRが供給され、ADRCの復号がさ
れる。復号回路27の出力信号とフレーム分解回路23から
の最小値MINとが加算回路28に供給され、加算回路28か
ら8ビットの復元データが得られる。この復元データが
ブロック分解回路29に供給され、ブロックの順序が走査
の順序に戻される。ブロック分解回路29の出力端子30に
復元データが得られる。The 4-bit code signal from the synthesizing circuit 26 is
Supplied to The dynamic range DR from the frame decomposition circuit 23 is supplied to the decoding circuit 27, and ADRC is decoded. The output signal of the decoding circuit 27 and the minimum value MIN from the frame decomposition circuit 23 are supplied to the addition circuit 28, and the addition circuit 28 obtains 8-bit restored data. The restored data is supplied to the block decomposing circuit 29, and the order of the blocks is returned to the order of scanning. The restored data is obtained at the output terminal 30 of the block decomposition circuit 29.
送信側に設けられている補正コード発生回路11の一例
を第5図に示す。分離回路9からの量子化コードDTの上
位2ビットDTuが周辺画素検出回路41及びセレクタ42に
供給され、下位2ビットDTlがセレクタ42に供給され
る。周辺画素検出回路41により、注目画素データYu(DT
u)の周辺の4個のコードAu、Bu、Cu、Du(第4図参
照)が取り出され、これらのコードがセレクタ42に供給
される。セレクタ42は、(2ビット×6=12ビット)の
コードとリードアドレス発生回路43で形成された12ビッ
トのアドレスとの一方を選択的にメモリ45に供給する。FIG. 5 shows an example of the correction code generation circuit 11 provided on the transmission side. The upper two bits DTu of the quantization code DT from the separation circuit 9 are supplied to the peripheral pixel detection circuit 41 and the selector 42, and the lower two bits DTu are supplied to the selector 42. By the peripheral pixel detection circuit 41, the target pixel data Yu (DT
Four codes Au, Bu, Cu, and Du (see FIG. 4) around u) are extracted, and these codes are supplied to the selector 42. The selector 42 selectively supplies one of the (2 bits × 6 = 12 bits) code and the 12-bit address formed by the read address generation circuit 43 to the memory 45.
メモリ45から読み出されたデータがスイッチ回路46に
よりレジスタ47(スイッチ回路46が出力端子aを選択し
ている状態)又は最大値検出回路50(スイッチ回路46が
出力端子bを選択している状態)に選択的に供給され
る。レジスタ47の出力とデータ発生回路49からの+1と
が加算回路48で加算される。加算回路48の出力データが
メモリ45に入力データとして供給される。The data read from the memory 45 is stored in the register 47 by the switch circuit 46 (the state in which the switch circuit 46 selects the output terminal a) or the maximum value detection circuit 50 (the state in which the switch circuit 46 selects the output terminal b). ). The output of the register 47 and +1 from the data generating circuit 49 are added by the adding circuit 48. Output data of the adding circuit 48 is supplied to the memory 45 as input data.
リードアドレス発生回路43で発生したリードアドレス
が検出回路51及びセレクタ52に供給される。検出回路51
は、12ビットのアドレスの上位10ビットが変化したこと
を検出し、検出回路51の出力信号で最大値検出回路50が
リセットされる。セレクタ52は、最大値検出回路50によ
り検出された最大値と対応するリードアドレスを選択す
る。セレクタ52の出力に補正コードCRが得られる。伝送
データを少なくするために、セレクタ52は、リードアド
レスの12ビット全てでなく下位2ビットを補正コードCR
として選択する。The read address generated by the read address generation circuit 43 is supplied to the detection circuit 51 and the selector 52. Detection circuit 51
Detects that the upper 10 bits of the 12-bit address have changed, and the output signal of the detection circuit 51 resets the maximum value detection circuit 50. The selector 52 selects a read address corresponding to the maximum value detected by the maximum value detection circuit 50. The correction code CR is obtained at the output of the selector 52. In order to reduce the transmission data, the selector 52 sets the lower 2 bits instead of all 12 bits of the read address to the correction code CR.
Select as
第6図は、メモリ45に記憶されているデータの一例で
ある。注目画素データYuと周辺画素データAu、Bu、Cu、
Duとの10ビットがメモリ45のアドレスの上位順とされ、
Yl(補正コードCR)に相当する2ビット(00、01、10又
は11)がアドレスの下位側とされる。FIG. 6 shows an example of data stored in the memory 45. Attention pixel data Yu and peripheral pixel data Au, Bu, Cu,
The 10 bits with Du are the higher order of the address of the memory 45,
Two bits (00, 01, 10 or 11) corresponding to Yl (correction code CR) are set to the lower side of the address.
補正コードCRを形成するために、最初に1フレームの
量子化コードの夫々を注目画素とした時に、注目画素デ
ータの下位2ビットYlの(00)(01)(10)(11)の夫
々の発生度数が調べられる。このために、1フレームの
最初の初期状態でメモリ45のデータが全て0にクリアさ
れ、また、スイッチ回路46が出力端子aを選択し、メモ
リ45の読み出しデータの値が+1されてメモリ45の同じ
アドレスに書き込まれる。例えばYu、Au、Bu、Cu、Duの
全てが(00)であり、Ylが(01)の時には、メモリ45の
アドレス(000000000001)のデータが読み出され、読み
出されたデータが+1されて上記のアドレスに書き込ま
れる。この処理が1フレーム内の全画素を夫々注目画素
としてなされる。その結果、第6図に示すように、アド
レスの上位10ビットで定まる(210=1024個)のパター
ンの夫々に関する下位2ビットYlの発生度数の分布表が
メモリ45に形成される。In order to form the correction code CR, when each of the quantization codes of one frame is initially set as a target pixel, each of the lower two bits Yl of the target pixel data (00) (01) (10) (11) The frequency of occurrence is examined. Therefore, in the initial state of one frame, the data in the memory 45 is all cleared to 0, the switch circuit 46 selects the output terminal a, the value of the read data of the memory 45 is incremented by 1, and Written to the same address. For example, when Yu, Au, Bu, Cu, and Du are all (00) and Yl is (01), the data at the address (000000000001) in the memory 45 is read, and the read data is incremented by one. Written to the above address. This process is performed with all the pixels in one frame as target pixels. As a result, as shown in FIG. 6, a distribution table of the frequency of occurrence of the lower 2 bits Yl for each of the patterns determined by the upper 10 bits of the address (2 10 = 1024) is formed in the memory 45.
次に、スイッチ回路46が出力端子bを選択する状態と
され、メモリ45に格納されている度数のデータが順次読
み出され、度数のデータが最大値検出回路50に供給され
る。アドレスの上位10ビットの夫々で度数が最大の2ビ
ットのコードが最大値検出回路50で検出される。例えば
アドレスの上位10ビットが(0000000000)の場合には、
度数n1,n2,n3,n4の中で最大のものと対応する下位2ビ
ットのアドレスが検出される。最大値検出回路50の検出
信号により、セレクタ52は、度数が最も多い下位2ビッ
トのアドレスを補正コードCRとして選択する。従って、
補正コードCRは、各パターンで度数が最大である下位2
ビットを意味している。Next, the switch circuit 46 is set to select the output terminal b, the frequency data stored in the memory 45 is sequentially read, and the frequency data is supplied to the maximum value detection circuit 50. The maximum value detection circuit 50 detects a 2-bit code having the maximum frequency in each of the upper 10 bits of the address. For example, if the upper 10 bits of the address are (0000000000),
The address of the lower 2 bits corresponding to the largest one among the frequencies n1, n2, n3, n4 is detected. Based on the detection signal of the maximum value detection circuit 50, the selector 52 selects the address of the lower 2 bits having the highest frequency as the correction code CR. Therefore,
The correction code CR is the lower 2 that has the highest frequency in each pattern.
Means a bit.
前述のように、補正コードCRは、受信側のメモリ25
(第3図参照)にフレーム毎に格納される。周辺画素検
出回路24からの8ビットの出力信号と注目画素のコード
の上位2ビットとがメモリ25にアドレスとして供給され
るので、パターンに応じた最適な補正コードCRが読み出
される。この補正コードCRが受信された上位2ビットと
合成されるので、原データに良く似た4ビットのコード
が復元できる。このコードを復元するので、良好な画質
の復元画像が得られる。As described above, the correction code CR is stored in the memory 25 on the receiving side.
(See FIG. 3). Since the 8-bit output signal from the peripheral pixel detection circuit 24 and the upper two bits of the code of the pixel of interest are supplied as an address to the memory 25, the optimum correction code CR according to the pattern is read. Since this correction code CR is combined with the received upper two bits, a 4-bit code very similar to the original data can be restored. Since this code is restored, a restored image of good image quality is obtained.
なお、上述の実施例と異なり、代表的な絵柄の複数枚
の画像から予め最適な下位2ビットの補正コードを求
め、この補正コードを受信側のメモリに貯える簡略的な
方式を使用しても良い。Unlike the above-described embodiment, a simple method of obtaining an optimum lower-order 2-bit correction code in advance from a plurality of images of a representative pattern and storing the correction code in a memory on the receiving side may be used. good.
また、パターン分類のために、周辺画素のコードに対
して、ブロックのダイナミックレンジDRの情報例えばダ
イナミックレンジDRの上位4ビットを付加することで精
度をより高くしても良い。For pattern classification, the accuracy may be further improved by adding information of the dynamic range DR of the block, for example, the upper 4 bits of the dynamic range DR to the code of the peripheral pixel.
更に、この発明は、ADRC以外に、ブロック毎に上位ビ
ットの平均値及び下位ビットの平均値を伝送したり、平
均値と標準偏差とを伝送するようなブロック符号化に対
しても適用できる。Further, the present invention can be applied to block coding in which the average value of the upper bits and the average value of the lower bits are transmitted for each block, and the average value and the standard deviation are transmitted for each block.
この発明では、伝送される各画素のビット数が少なく
ても、復号側でパターンに応じてビット数を増やすの
で、良好な画質の復元画像が得られ、従って、伝送され
るデータ量を大幅に圧縮することができる。According to the present invention, even if the number of bits of each pixel to be transmitted is small, the number of bits is increased in accordance with the pattern on the decoding side, so that a restored image of good image quality can be obtained. Can be compressed.
第1図はこの発明の一実施例の送信側のブロック図、第
2図はブロックの一例を示す略線図、第3図はこの発明
の一実施例の受信側のブロック図、第4図は注目画素と
周辺画素の配列を示す略線図、第5図及び第6図は補正
コード発生回路のブロック図及びその説明のための略線
図である。 図面における主要な符号の説明 1:ディジタル画像データの入力端子、3:最大値及び最小
値検出回路、8:量子化回路、9:上位ビットと下位ビット
を分離する分離回路、11:補正コード発生回路、24:周辺
画素検出回路、25:メモリ、26:上位ビットと下位ビット
を合成する合成回路、27:復号回路。FIG. 1 is a block diagram of a transmitting side according to an embodiment of the present invention, FIG. 2 is a schematic diagram showing an example of a block, FIG. 3 is a block diagram of a receiving side according to an embodiment of the present invention, and FIG. FIG. 5 is a schematic diagram showing an arrangement of a pixel of interest and peripheral pixels, and FIGS. 5 and 6 are a block diagram of a correction code generation circuit and schematic diagrams for explanation thereof. Explanation of main symbols in the drawings 1: input terminal of digital image data, 3: maximum and minimum value detection circuit, 8: quantization circuit, 9: separation circuit for separating upper and lower bits, 11: correction code generation Circuit, 24: peripheral pixel detection circuit, 25: memory, 26: combining circuit for combining upper bits and lower bits, 27: decoding circuit.
Claims (1)
ータを、上記第1のビット数より多いビット数である第
2のビット数を有する画素データに変換する復号装置に
おいて、 注目画素の上記伝送データに基づいて、周辺画素を取り
出す手段と、 上記注目画素の伝送データと、上記取り出された複数の
上記周辺画素の上記伝送データとからビットパターンを
形成する手段と、 上記ビットパターンに基づいて、補正コードを発生する
メモリ手段と、 上記注目画素の伝送データを上位ビットとし、上記補正
コードを下位ビットとして合成データを形成する手段と
を有し、 上記メモリ手段の上記ビットパターンに対応する各アド
レスには、 複数の補正コードの内で所定期間における発生頻度が最
大のものが格納されることを特徴とする復号装置。1. A decoding device for converting received transmission data having a first number of bits into pixel data having a second number of bits which is a number of bits greater than the first number of bits, the decoding apparatus comprising: Means for extracting a peripheral pixel based on the transmission data; means for forming a bit pattern from the transmission data of the pixel of interest and the transmission data of the extracted plurality of peripheral pixels; and Memory means for generating a correction code; and means for forming composite data using the transmission data of the pixel of interest as upper bits and the correction code as lower bits, and corresponding to the bit pattern of the memory means. A decoding device characterized by storing, at each address, one of a plurality of correction codes having a maximum occurrence frequency in a predetermined period.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1035776A JP2830009B2 (en) | 1989-02-15 | 1989-02-15 | Decryption device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1035776A JP2830009B2 (en) | 1989-02-15 | 1989-02-15 | Decryption device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH02214388A JPH02214388A (en) | 1990-08-27 |
| JP2830009B2 true JP2830009B2 (en) | 1998-12-02 |
Family
ID=12451293
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1035776A Expired - Lifetime JP2830009B2 (en) | 1989-02-15 | 1989-02-15 | Decryption device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2830009B2 (en) |
-
1989
- 1989-02-15 JP JP1035776A patent/JP2830009B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPH02214388A (en) | 1990-08-27 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4802005A (en) | High efficiency encoding system | |
| JP2512894B2 (en) | High efficiency coding / decoding device | |
| JP2969867B2 (en) | High-efficiency encoder for digital image signals. | |
| JP3888597B2 (en) | Motion compensation coding apparatus and motion compensation coding / decoding method | |
| KR100601743B1 (en) | Image processing apparatus and method, transmission medium, transmission method and image format | |
| US5070402A (en) | Encoding image information transmission apparatus | |
| EP0797353B1 (en) | Memory requirement reduction in a SQTV processor by ADCPM compression | |
| US4982270A (en) | Video data transmitting system | |
| KR100504415B1 (en) | Image encoding apparatus, image encoding method, image decoding apparatus, image decoding method and recording medium | |
| JP2830009B2 (en) | Decryption device | |
| JP2832985B2 (en) | Decryption device | |
| JP2604712B2 (en) | High-efficiency encoding / decoding device for television signal | |
| JP3170929B2 (en) | Digital signal quantizer | |
| JP4735294B2 (en) | Video signal encoding transmission and decoding method | |
| JP3364939B2 (en) | Image coding device | |
| JP2590865B2 (en) | High-efficiency encoded image signal decoding apparatus | |
| JP3627256B2 (en) | Apparatus and method for receiving / reproducing digital image signal | |
| JPS61147690A (en) | Highly efficient code decoding device | |
| JP2518215B2 (en) | High efficiency encoder | |
| JP2718034B2 (en) | High-efficiency code decoding device | |
| JPH0797754B2 (en) | Encoding transmission device | |
| JP2924279B2 (en) | Image signal prediction encoding / decoding device | |
| JPH06216783A (en) | Digital signal quantizer | |
| JP2518214B2 (en) | High efficiency encoder | |
| JPH11112976A (en) | Error correction circuit for image signal |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080925 Year of fee payment: 10 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090925 Year of fee payment: 11 |
|
| EXPY | Cancellation because of completion of term | ||
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090925 Year of fee payment: 11 |