JPH0884339A - Image re-compression method and image re-compression device - Google Patents

Image re-compression method and image re-compression device

Info

Publication number
JPH0884339A
JPH0884339A JP21863294A JP21863294A JPH0884339A JP H0884339 A JPH0884339 A JP H0884339A JP 21863294 A JP21863294 A JP 21863294A JP 21863294 A JP21863294 A JP 21863294A JP H0884339 A JPH0884339 A JP H0884339A
Authority
JP
Japan
Prior art keywords
coefficient
image data
quantized
variable length
image
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
JP21863294A
Other languages
Japanese (ja)
Other versions
JP3166501B2 (en
Inventor
Chiyun Sen Bun
チュン セン ブン
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
Priority to JP21863294A priority Critical patent/JP3166501B2/en
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to DE69535228T priority patent/DE69535228T2/en
Priority to EP95108710A priority patent/EP0687112B1/en
Priority to DE69535800T priority patent/DE69535800D1/en
Priority to EP06011958A priority patent/EP1701552B1/en
Priority to US08/477,625 priority patent/US6005623A/en
Publication of JPH0884339A publication Critical patent/JPH0884339A/en
Priority to US09/370,244 priority patent/US6426974B2/en
Application granted granted Critical
Publication of JP3166501B2 publication Critical patent/JP3166501B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE: To provide a method and device expanding bit stream of an image subject to compression coding to compress the image again without reproducing the image and to prevent propagation of error due to re-compression. CONSTITUTION: Coded image data are received from a terminal 100 and a variable length decoder 110 decodes a 1st quantization parameter and a 1st quantized coefficient. An inverse quantization device 130 uses the 1st quantization parameter to apply inverse quantization to a 1st quantized coefficient to generate a 1st inverse quantization coefficient. An adder 210 subtracts a correction coefficient generated based on preceding image data stored in a difference coefficient memory 180 from the 1st inverse quantization coefficient and gives the difference to a quantization device 140, in which the data are quantized by a 2nd quantization parameter to generate a 2nd quantized coefficient. The 2nd quantization parameter and the 2nd quantized coefficient are given to a variable length coder 150, in which they are converted into a variable length code, which is fed to a multiplexer 160.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、圧縮符号化されたデジ
タル画像データを再圧縮して伝送もしくは記録する画像
再圧縮方法及び画像再圧縮装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image recompression method and an image recompression device for recompressing compressed and encoded digital image data for transmission or recording.

【0002】[0002]

【従来の技術】デジタル動画像を効率よく伝送・記録す
るためには圧縮符号化が必要である。動画像の圧縮方法
には、フレーム内符号化とフレーム間予測符号化とがあ
る。フレーム内符号化は、一枚の画像の圧縮処理が一フ
レームで完結するのに対し、フレーム間符号化は隣接す
るフレームから動き補償予測をして高能率圧縮を実現す
る。応用によって、フレーム内符号化とフレーム間符号
化とを組み合わせて圧縮を行なうこともある。一連の動
画像を全てフレーム内符号化を行なう場合や、一枚目の
画像をフレーム内符号化して、残りの画像を全てフレー
ム間符号化を行なう場合がある。また、フレーム内符号
化を周期的に行ない、フレーム内符号化された二つの画
像の間にある画像に対しフレーム間予測符号化を行なう
場合もある。
2. Description of the Related Art In order to efficiently transmit and record digital moving images, compression coding is necessary. There are intra-frame coding and inter-frame predictive coding as a moving image compression method. In intra-frame coding, compression processing of one image is completed in one frame, whereas in inter-frame coding, motion-compensated prediction is performed from adjacent frames to realize high-efficiency compression. Depending on the application, compression may be performed by combining intraframe coding and interframe coding. In some cases, a series of moving images are all intra-frame encoded, or in some cases, the first image is intra-frame encoded and all the remaining images are inter-frame encoded. In some cases, intra-frame coding is periodically performed, and inter-frame predictive coding is performed on an image located between two intra-frame coded images.

【0003】フレーム内符号化は空間内の冗長性を除去
するものである。そのための手段として、離散コサイン
変換(以下、DCTと記す)で代表される直交変換法
や、周波数帯域に分割するウェーブレット変換またはサ
ブバンド法が用いられる。直交変換した係数や周波数帯
域に分割された係数を、所望の伝送もしくは蓄積量まで
量子化して可変長符号化する。再生側で復号化できるよ
うに、量子化幅も符号化しなければならない。なお、D
CTを行なう場合、画像を適切な大きさのブロックに分
割してから変換を施す。
Intraframe coding removes redundancy in space. As means for that purpose, an orthogonal transform method represented by discrete cosine transform (hereinafter referred to as DCT), a wavelet transform for dividing into frequency bands, or a subband method is used. The orthogonally transformed coefficients and the coefficients divided into frequency bands are quantized to a desired transmission or storage amount and variable length coded. The quantization step must also be coded so that it can be decoded on the playback side. In addition, D
When performing CT, the image is divided into blocks of appropriate size and then converted.

【0004】一方、フレーム間予測符号化は時間方向の
冗長性を除去するものである。一フレームの画像を隣接
する複数のブロックに分割し、各ブロックに対して、過
去もしくは未来のフレームを参照し、所定の評価関数の
もとで動きベクトルを求める。得られた動きベクトルを
用いて、オフセットした位置にある参照ブロックを予測
信号とする。対象ブロックとこの予測信号ブロックとの
差分(以下、予測誤差と記す)をとり、上述したフレー
ム内符号化の方法でさらに空間内の冗長性を除去する。
予測信号として、再生画が用いられる場合が多く、一度
符号化された画像を復号再生しなければならない。な
お、過去や未来の予測信号の他に、動き補償した過去と
未来の信号の平均、もしくは重みつき平均で予測信号を
作る場合もある。また差分信号を求めないで、フレーム
内符号化と同じように符号化するブロックもあり得る。
すなわち、フレーム間符号化された画像では、複数の符
号化モードが存在する。したがって、差分信号以外に動
きベクトルや符号化モードの情報なども符号化しなけれ
ばならない。なお、ウェーブレットやサブバンドの場
合、周波数帯域に分割してからブロック化し動き補償す
ることによって、時間方向の冗長性を除去することもあ
る。
On the other hand, interframe predictive coding removes redundancy in the time direction. An image of one frame is divided into a plurality of adjacent blocks, a past or future frame is referred to for each block, and a motion vector is obtained under a predetermined evaluation function. Using the obtained motion vector, the reference block at the offset position is used as the prediction signal. The difference between the target block and this prediction signal block (hereinafter referred to as a prediction error) is calculated, and the intra-frame redundancy is further removed by the intra-frame coding method described above.
A reproduced image is often used as a prediction signal, and an image once encoded must be decoded and reproduced. In addition to the past and future prediction signals, the prediction signal may be created by an average of the motion-compensated past and future signals or a weighted average. Further, there may be a block that is encoded in the same manner as the intraframe encoding without obtaining the differential signal.
That is, there are a plurality of coding modes in an inter-frame coded image. Therefore, in addition to the differential signal, the motion vector and the information on the coding mode must be coded. In the case of wavelets and sub-bands, the redundancy in the time direction may be removed by dividing into frequency bands and then dividing them into blocks for motion compensation.

【0005】このように、デジタル動画像を圧縮符号化
する際には、量子化された変換係数(または周波数帯域
に分割された係数)、量子化幅、符号化の方法(フレー
ム内/フレーム間)、符号化ブロックのモード、動きベ
クトルなどの情報を符号化する。この一連の符号化され
たデータの流れをビットストリームを呼ぶ。再生側で
は、このビットストリームを読み込んで復号して画像を
伸長再生する。
As described above, when compressing and coding a digital moving image, quantized transform coefficients (or coefficients divided into frequency bands), quantization widths, and coding methods (intraframe / interframe) are used. ), Information such as the mode of the coding block and the motion vector is coded. This series of encoded data streams is called a bitstream. On the reproducing side, this bit stream is read and decoded to decompress and reproduce the image.

【0006】[0006]

【発明が解決しようとする課題】一方、応用によって、
圧縮符号化した画像をより低いビットレート(すなわ
ち、より高い圧縮率)に再圧縮することがある。例え
ば、放送局や映画製作会社では、原画像を高いビットレ
ートで高画質の画像に圧縮符号化して保存しておき、必
要に応じて(例えば、伝送路のバンド幅や記録媒体の容
量制限)より低いビットレートに再圧縮する。また、一
つの記録媒体(例えば、VTRのテープ)に標準記録よ
り多くの画像を記録したいという要求もある。例えば、
現行の家庭用アナログVTRのように、標準と長時間録
画モードを設けて、テープ速度をたとえば3倍落すこと
によって、3倍の時間の録画を可能にし、長時間記録を
実現する。ビットストリームの場合、テープ速度を落し
て記録すると、ビットストリーム内のデータの一部が記
録できなくなるため、画像を再圧縮しなければならな
い。
On the other hand, depending on the application,
The compression encoded image may be recompressed to a lower bit rate (ie, higher compression rate). For example, at a broadcasting station or a movie production company, an original image is compression-encoded into a high-quality image at a high bit rate and stored, and if necessary (for example, bandwidth of a transmission path or capacity limitation of a recording medium). Recompress to a lower bitrate. There is also a demand to record more images than standard recording on one recording medium (for example, VTR tape). For example,
Like the current home analog VTR, standard and long-time recording modes are provided to reduce the tape speed by, for example, 3 times, thereby enabling recording for 3 times the time and realizing long-time recording. In the case of a bitstream, if the tape is recorded at a slower speed, some of the data in the bitstream cannot be recorded, so the image must be recompressed.

【0007】圧縮符号化された画像を再圧縮するには以
下の方法がある。その一つはトランスコーディングの方
法である。すなわち、復号化装置と符号化装置両方を用
意し、圧縮符号化された画像のビットストリームを復号
化装置で復号化し画像を再生したのちに、符号化装置で
その再生画像を所望のビットレートまで圧縮符号化する
方法である。この方法では、復号化装置と符号化装置両
方を必要としており高価になる上に、復号化してから再
び符号化するので遅延が倍になる。家庭用VTRとして
は実用的ではない。
There are the following methods for recompressing a compression-coded image. One of them is a transcoding method. That is, both the decoding device and the encoding device are prepared, the bit stream of the compression-encoded image is decoded by the decoding device and the image is reproduced, and then the reproduced image is reproduced by the encoding device up to a desired bit rate. This is a compression coding method. This method requires both a decoding device and a coding device, which is expensive, and doubles the delay because decoding and then coding are performed again. It is not practical as a home VTR.

【0008】画像を完全に復号再生せずに、再圧縮する
方法もある。従来の技術のところで説明したフレーム間
予測DCTの符号化方法で圧縮符号化した画像を例にし
て、図8と図9を用いて説明する。図8は従来の画像再
圧縮方法のフローチャートを示す。まず圧縮符号化され
た画像のビットストリームを入力する(ステップ1
0)。ビットストリームの中から、量子化されたDCT
の係数a[i]と第一の量子化幅q[i]とを抽出する。ここ
に、i=1,・・・,Nで、N は対象となるブロックのDCT
係数の個数である。N の値は対象ブロックによって異な
る。次に係数a[i]にq[i]をかけて逆量子化する(ステッ
プ12)。逆量子化して得られた逆量子化係数b[i]を第
二の量子化幅qN[i]で割算して再量子化係数c[i]を生成
し(ステップ14)、出力する(ステップ16)。普
通、再圧縮して得られる画像のビットストリームが入力
ビットストリームよりデータ量が少なくなるようにq
N[i]を制御する。
There is also a method of recompressing an image without completely decoding and reproducing it. An image compressed and encoded by the interframe prediction DCT encoding method described in the related art will be described as an example with reference to FIGS. 8 and 9. FIG. 8 shows a flowchart of a conventional image recompression method. First, a bitstream of a compression-encoded image is input (step 1
0). Quantized DCT from bitstream
The coefficient a [i] of and the first quantization width q [i] are extracted. Where i = 1, ..., N, where N is the DCT of the target block
The number of coefficients. The value of N depends on the target block. Next, the coefficient a [i] is multiplied by q [i] for inverse quantization (step 12). The inverse quantized coefficient b [i] obtained by inverse quantization is divided by the second quantization width q N [i] to generate the requantized coefficient c [i] (step 14) and output. (Step 16). Normally, q so that the recompressed image bitstream has a smaller amount of data than the input bitstream.
Control N [i].

【0009】図9は従来の画像再圧縮装置(COMP)
300のブロック図を示す。圧縮符号化された画像のビ
ットストリームを入力端子100から入力する。可変長
復号化器(VLD)110ではビットストリームを分析
しながら、量子化幅q[i]と量子化されたDCT係数a[i]
を選びだし復号化する。その結果をライン1010を経
由して逆量子化器(IQ)130に送る。q[i]とa[i]以
外のデータをライン1000を経由してマルチプレクサ
160に送る。逆量子化器130では図8ステップ12
のように逆量子化操作を行ない、b[i]を生成し、ライン
1020を経由して量子化器(QN)140に送る。量
子化器140では図8ステップ14のようにqN[i]でb
[i]を量子化し、c[i]を生成する。c[i]とqN[i]をライン
1030を経由して可変長符号化器(VLC)150に
送り、可変長符号に変換しライン1040を経由してマ
ルチプレクサ(MUX)160に送る。マルチプレクサ
160では、ライン1000と1040を経由して送ら
れてきたデータを多重化して出力する。なお、所望のビ
ットレートに圧縮するためにレート制御器120にて、
可変長符号化器150の出力のビットを計数しながらqN
[i]を決定する。
FIG. 9 shows a conventional image recompression device (COMP).
A block diagram of 300 is shown. A bitstream of a compression-encoded image is input from the input terminal 100. The variable length decoder (VLD) 110 analyzes the bit stream and determines the quantization width q [i] and the quantized DCT coefficient a [i].
Select and decrypt. The result is sent to the inverse quantizer (IQ) 130 via the line 1010. Data other than q [i] and a [i] are sent to the multiplexer 160 via the line 1000. In the inverse quantizer 130, step 12 in FIG.
The inverse quantization operation is performed as described above to generate b [i], which is sent to the quantizer (QN) 140 via the line 1020. In the quantizer 140, q N [i] is set to b as in step 14 of FIG.
Quantize [i] to generate c [i]. c [i] and q N [i] are sent to the variable length coder (VLC) 150 via the line 1030, converted into a variable length code and sent to the multiplexer (MUX) 160 via the line 1040. The multiplexer 160 multiplexes the data sent via the lines 1000 and 1040 and outputs the multiplexed data. In addition, in order to compress to a desired bit rate, the rate controller 120
While counting the bits of the output of the variable length encoder 150, q N
Determine [i].

【0010】上述の方法と装置で再圧縮すると、画像を
再生して符号化する必要がないため、符号化装置を簡略
化でき遅延時間も短縮できる。再圧縮時の圧縮率が低け
れば有効である。しかし、フレーム間予測の方式に対
し、高圧縮率で再圧縮を行なうと画質の劣化が生じる。
フレーム間予測方式では、従来の技術のところで述べた
ように、圧縮の順序において過去の画像を予測信号とし
て用いるが、過去の画像にも再圧縮が施されるため、予
測信号が変化しより多くの量子化雑音(再量子化によ
る)を含めるようになる。再圧縮によって導入された量
子化雑音は次々へと伝搬していき、画質の劣化を引きお
こしてしまう。
When recompressed by the above method and apparatus, it is not necessary to reproduce and encode an image, so that the encoding apparatus can be simplified and the delay time can be shortened. It is effective if the compression rate at the time of recompression is low. However, when the recompression is performed at a high compression rate as compared with the interframe prediction method, the image quality deteriorates.
In the inter-frame prediction method, as described in the related art, the past image is used as the prediction signal in the compression order, but since the past image is also recompressed, the prediction signal changes and more Will include the quantization noise (due to requantization). Quantization noise introduced by recompression propagates one after another, causing deterioration in image quality.

【0011】なお、再量子化の代わりにDCT係数の中
から所定の個数の係数(主に高周波成分)を捨てること
により再圧縮する方法もある。この場合でも同様に再圧
縮による誤差の伝搬が生じる。
There is also a method of recompressing by discarding a predetermined number of coefficients (mainly high frequency components) from the DCT coefficients instead of requantization. In this case as well, error propagation due to recompression similarly occurs.

【0012】[0012]

【課題を解決するための手段】上述の課題を解決するた
めに、本発明は次のようにして、過去の画像を再圧縮す
ることにより生じた誤差信号で現在の画像の予測誤差を
補正してから再圧縮する。第一の量子化パラメータで量
子化し圧縮した画像データを、第一の量子化パラメータ
で逆量子化し、第一の逆量子化画像データを生成する。
第一の逆量子化画像データから、過去の画像データによ
って生成した補正信号を減算してから第二の量子化パラ
メータで量子化し出力するとともに、第二の量子化パラ
メータで逆量子化し、第二の逆量子化画像データを生成
する。第二の逆量子化画像データと第一の逆量子化画像
データとから差分信号を生成し、この差分信号を次の画
像データの補正信号として用いる。好ましくは、第二の
逆量子化画像データに、過去の画像データによって生成
した補正信号を加算してから、第一の逆量子化画像デー
タとから差分信号を生成する。
In order to solve the above-mentioned problems, the present invention corrects the prediction error of the current image with the error signal generated by recompressing the past image as follows. Then recompress. The image data quantized and compressed with the first quantization parameter is inversely quantized with the first quantization parameter to generate first inverse quantized image data.
From the first dequantized image data, the correction signal generated by the past image data is subtracted and then quantized with the second quantization parameter and output, and also the second quantization parameter is dequantized and the second The inverse quantized image data of is generated. A difference signal is generated from the second dequantized image data and the first dequantized image data, and this difference signal is used as a correction signal for the next image data. Preferably, the correction signal generated by the past image data is added to the second dequantized image data, and then the difference signal is generated from the first dequantized image data.

【0013】また、直交変換し圧縮した画像データの中
に含まれる第一の変換係数ブロックから、過去の画像デ
ータによって生成した補正係数を減算し、第二の変換係
数ブロックを生成する。第二の変換係数ブロックの中か
ら、所定の個数の係数を抽出し、第三の変換係数ブロッ
クを形成して出力するとともに、第三の変換係数ブロッ
クと第一の変換係数ブロックとから差分係数ブロックを
生成する。この差分係数ブロックを次の画像データの補
正係数として用いる。好ましくは、第三の変換係数ブロ
ックに、過去の画像データによって生成した補正係数を
加算してから、第一の変換係数ブロックとから差分係数
ブロックを生成する。
Further, the correction coefficient generated by the past image data is subtracted from the first conversion coefficient block included in the image data that has been orthogonally transformed and compressed to generate the second transform coefficient block. A predetermined number of coefficients are extracted from the second transform coefficient block, a third transform coefficient block is formed and output, and a difference coefficient is extracted from the third transform coefficient block and the first transform coefficient block. Generate a block. This difference coefficient block is used as a correction coefficient for the next image data. Preferably, the correction coefficient generated by the past image data is added to the third transform coefficient block, and then the difference coefficient block is generated from the first transform coefficient block.

【0014】さらに、次のような再圧縮装置で再量子化
による誤差の伝搬を防ぐ。可変長復号化器と、第一の逆
量子化器と、第一の加算器と、量子化器と、可変長符号
化器と、マルチプレクサと、第二の逆量子化器と、第二
と第三の加算器と、差分係数メモリとを設ける。符号化
された画像データを入力し、可変長復号化器で第一の量
子化パラメータ及び第一の被量子化係数を復号化し第一
の逆量子化器に送り、その他のデータをマルチプレクサ
に送る。第一逆量子化器では第一の量子化パラメータで
第一の被量子化係数を逆量子化し、第一の逆量子化係数
を生成する。第一加算器では、第一の逆量子化係数か
ら、差分係数メモリに格納されている過去の画像データ
によって生成した補正係数を減算してから、量子化器に
入力する。そこで第二の量子化パラメータで量子化し、
第二の被量子化係数を生成する。第二の量子化パラメー
タと第二の被量子化係数を可変長符号化器で可変長符号
に変換し、マルチプレクサに送り、その他のデータと多
重化して出力する。一方、第二の逆量子化器では、第二
の量子化パラメータで第二の被量子化係数を逆量子化
し、第二の逆量子化係数を生成する。第二の加算器で
は、第二の逆量子化係数に、過去の画像データによって
生成した補正係数を加算したのち、第三の加算器で第一
の逆量子化係数とから差分係数を生成し、差分係数メモ
リに格納する。この差分係数を次の画像データの補正係
数として用いる。
Further, the following recompression device prevents the propagation of error due to requantization. Variable length decoder, first dequantizer, first adder, quantizer, variable length encoder, multiplexer, second dequantizer, second and A third adder and a difference coefficient memory are provided. Inputs encoded image data, decodes the first quantization parameter and the first quantized coefficient by the variable length decoder, sends it to the first dequantizer, and sends other data to the multiplexer. . The first dequantizer dequantizes the first quantized coefficient with the first quantization parameter to generate a first dequantized coefficient. The first adder subtracts the correction coefficient generated by the past image data stored in the difference coefficient memory from the first dequantized coefficient, and then inputs the subtracted correction coefficient to the quantizer. So quantize with the second quantization parameter,
Generate a second quantized coefficient. The second quantization parameter and the second quantized coefficient are converted into a variable length code by a variable length encoder, sent to a multiplexer, multiplexed with other data, and output. On the other hand, the second dequantizer dequantizes the second quantized coefficient with the second quantization parameter to generate the second dequantized coefficient. The second adder adds the correction coefficient generated by the past image data to the second dequantized coefficient, and then the third adder generates a difference coefficient from the first dequantized coefficient. , The difference coefficient memory. This difference coefficient is used as a correction coefficient for the next image data.

【0015】また、次のような再圧縮装置で再量子化に
よる誤差の伝搬を防ぐ。可変長復号化器と、第一の逆量
子化器と、第一の逆直交変換器、第一の加算器と、直交
変換器と、量子化器と、可変長符号化器と、マルチプレ
クサと、第二の逆量子化器と、第二の逆直交変換器と、
第二と第三の加算器と、差分信号メモリとを設ける。符
号化された画像データを入力し、可変長復号化器で第一
の量子化パラメータおよび第一の被量子化係数を復号化
し第一の逆量子化器に送り、その他のデータをマルチプ
レクサに送る。第一の逆量子化器では、第一の量子化パ
ラメータで第一の被量子化係数を逆量子化し、第一の逆
量子化係数を生成する。第一の逆直交変換器では、第一
の逆量子化係数を第一の空間信号に変換する。第一の加
算器では第一の空間信号から、差分信号メモリに格納さ
れている過去の画像データによって生成した補正信号を
減算する。その結果を直交変換器で直交変換する。得ら
れた係数を量子化器に入力し、第二の量子化パラメータ
で量子化し、第二の被量子化係数を生成する。第二の量
子化パラメータと第二の被量子化係数を可変長符号化器
に入力し、可変長符号に変換し、マルチプレクサに送
り、その他のデータと多重化して出力する。一方、第二
の逆量子化器では第二の量子化パラメータで第二の被量
子化係数を逆量子化し、第二の逆量子化係数を生成す
る。第二の逆直交変換器では第二の逆量子化係数を第二
の空間信号に変換する。次に第二の加算器にて、第二の
空間信号に過去の画像データによって生成した補正信号
を加算したのち、第三の加算器にて、第一の空間信号と
から差分信号を生成し、差分信号メモリに格納する。こ
の差分信号を次の画像データの補正信号として用いる。
Further, the following recompression device prevents the propagation of an error due to requantization. Variable length decoder, first dequantizer, first inverse orthogonal transformer, first adder, orthogonal transformer, quantizer, variable length encoder, multiplexer , A second inverse quantizer, a second inverse orthogonal transformer,
Second and third adders and a differential signal memory are provided. Inputs encoded image data, decodes the first quantization parameter and the first quantized coefficient with a variable length decoder, sends to the first dequantizer, and sends other data to the multiplexer . The first inverse quantizer inversely quantizes the first quantized coefficient with the first quantization parameter to generate a first inverse quantized coefficient. The first inverse orthogonal transformer transforms the first inverse quantized coefficient into a first spatial signal. The first adder subtracts the correction signal generated by the past image data stored in the difference signal memory from the first spatial signal. The result is orthogonally transformed by an orthogonal transformer. The obtained coefficient is input to the quantizer and quantized with the second quantization parameter to generate the second quantized coefficient. The second quantization parameter and the second quantized coefficient are input to a variable length encoder, converted into a variable length code, sent to a multiplexer, multiplexed with other data, and output. On the other hand, the second dequantizer dequantizes the second quantized coefficient with the second quantization parameter to generate the second dequantized coefficient. The second inverse orthogonal transformer transforms the second inverse quantized coefficient into a second spatial signal. Next, the second adder adds the correction signal generated by the past image data to the second spatial signal, and then the third adder generates a difference signal from the first spatial signal. , The difference signal memory. This difference signal is used as a correction signal for the next image data.

【0016】また、次のような再圧縮装置で変換係数を
切り捨てることによる誤差の伝搬を防ぐ。可変長復号化
器と、第一の加算器と、係数選択器と、可変長符号化器
と、マルチプレクサと、第二と第三の加算器と、差分係
数メモリとを設ける。符号化された画像データを入力
し、可変長復号化器にて第一の変換係数ブロックを復号
化し第一の加算器に送る。その他のデータをマルチプレ
クサーに送る。第一の加算器では第一の変換係数ブロッ
クから、差分係数メモリに格納されている過去の画像デ
ータによって生成した補正係数を減算し、第二の変換係
数ブロックを生成する。次に係数選択器にて、第二の変
換係数ブロックの中から、所定の個数の係数を抽出し、
第三の変換係数ブロックを形成する。第三の変換係数ブ
ロックを可変長符号化器で可変長符号に変換し、マルチ
プレクサに送り、その他のデータと多重化して出力する
とともに第二の加算器に送る。第二の加算器にて、第三
の変換係数ブロックに、過去の画像データによって生成
した補正係数を加算したのち、第三の加算器にて、第一
の変換係数ブロックとから差分係数を生成し、差分係数
メモリに格納する。この差分係数を次の画像データの補
正係数として用いる。
Further, the following recompression device prevents the propagation of an error caused by truncating the transform coefficient. A variable length decoder, a first adder, a coefficient selector, a variable length encoder, a multiplexer, second and third adders, and a difference coefficient memory are provided. The encoded image data is input, the variable length decoder decodes the first transform coefficient block, and the decoded block is sent to the first adder. Send other data to the multiplexer. The first adder subtracts the correction coefficient generated by the past image data stored in the difference coefficient memory from the first transform coefficient block to generate the second transform coefficient block. Next, the coefficient selector extracts a predetermined number of coefficients from the second transform coefficient block,
Form a third transform coefficient block. The third transform coefficient block is converted into a variable length code by a variable length encoder, sent to a multiplexer, multiplexed with other data, output, and sent to a second adder. The second adder adds the correction coefficient generated by the past image data to the third transform coefficient block, and then the third adder generates the difference coefficient from the first transform coefficient block. And store it in the difference coefficient memory. This difference coefficient is used as a correction coefficient for the next image data.

【0017】[0017]

【作用】本発明の画像再圧縮方法及び画像再圧縮装置を
用いると、ビットストリームを完全に解いて画像を再生
する必要なく、入力ビットストリームを他のビットレー
トに再圧縮することができる。そのために遅延が殆んど
生じることはない。さらに、過去の画像を再圧縮するこ
とにより生じた誤差信号で現在の画像の予測誤差を補正
してから再圧縮するので、再圧縮による誤差の伝搬を防
ぐことができ、画質の劣化を軽減することができる。
By using the image recompression method and the image recompression apparatus according to the present invention, the input bitstream can be recompressed to another bit rate without the need to completely solve the bitstream to reproduce the image. Therefore, there is almost no delay. Further, since the prediction error of the current image is corrected by the error signal generated by recompressing the past image and then the image is recompressed, the error propagation due to the recompression can be prevented and the deterioration of the image quality is reduced. be able to.

【0018】[0018]

【実施例】以下、本発明の実施例を具体的に図面を用い
て説明する。これらの実施例では、従来の技術のところ
で説明したフレーム間予測DCTの符号化方法で圧縮符
号化して得られたビットストリームを例として用いる
が、本発明の再圧縮方法及び再圧縮装置はこの方式に限
るものではなく、フレーム間予測を用いた他の圧縮符号
化方式(例えば、サブバンドやウェブレット変換)や、
画素もしくはデータ間予測を用いた圧縮符号化方法(例
えば、差分パルス符号化、DPCMと略す)、に対して
同様に適用できる。
Embodiments of the present invention will be specifically described below with reference to the drawings. In these embodiments, a bitstream obtained by compression coding with the coding method of interframe prediction DCT described in the prior art is used as an example, but the recompression method and the recompression apparatus of the present invention use this method. However, other compression encoding methods using inter-frame prediction (for example, subband or wavelet conversion),
It can be similarly applied to a compression coding method using pixel or inter-data prediction (for example, differential pulse coding, abbreviated as DPCM).

【0019】(第一実施例)図1を用いて本発明の第一
実施例を説明する。図1は本発明の画像再圧縮方法の第
一実施例を説明するためのフローチャートである。ま
ず、ステップ40で圧縮符号化された画像のビットスト
リームを入力する。ビットストリームの中から、量子化
されたDCTの係数a[i]と第一の量子化幅q[i]とを抽出
する。ここに、i=1,・・・,Nで、Nは対象となるブロックの
DCT係数の個数である。N の値は対象ブロックによっ
て異なる。従来の技術のところで説明したように、a[i]
は原画像もしくは予測誤差をDCTしq[i]で量子化した
係数である。また、第一の量子化幅は、i≠jに対し、q
[i]=q[j]であってもよい。次に、係数a[i]にq[i]をかけ
て逆量子化する(ステップ42)。そして逆量子化して
得られた逆量子化係数b[i]から補正係数z[i]を引き算す
る(ステップ43)。この補正係数z[i]は過去の画像デ
ータを再圧縮することにより生じた再圧縮誤差である
(その求め方はステップ48で行なう)。このようにし
て補正した係数b'[i]をステップ44で第二の量子化幅q
N[i]で量子化する。i≠jに対し、qN[i]=qN[j]であって
もよい。普通、再圧縮して得られた画像のビットストリ
ームは、入力画像のビットストリームよりデータ量が少
なくなるようにqN[i]を制御する。このようにして得ら
れた係数c[i]とqN[i]をステップ50で出力する。
(First Embodiment) A first embodiment of the present invention will be described with reference to FIG. FIG. 1 is a flow chart for explaining the first embodiment of the image recompression method of the present invention. First, in step 40, the bit stream of the image compressed and encoded is input. The quantized DCT coefficient a [i] and the first quantization width q [i] are extracted from the bitstream. Here, i = 1, ..., N, and N is the number of DCT coefficients of the target block. The value of N depends on the target block. As explained in the prior art, a [i]
Is a coefficient obtained by DCT of the original image or the prediction error and quantized by q [i]. The first quantization width is q
It may be [i] = q [j]. Next, the coefficient a [i] is multiplied by q [i] for inverse quantization (step 42). Then, the correction coefficient z [i] is subtracted from the inverse quantization coefficient b [i] obtained by inverse quantization (step 43). The correction coefficient z [i] is a recompression error generated by recompressing the past image data (the method of obtaining it is performed in step 48). The coefficient b ′ [i] corrected in this way is used for the second quantization width q in step 44.
Quantize with N [i]. For i ≠ j, q N [i] = q N [j] may be satisfied. Normally, q N [i] is controlled so that the recompressed image bitstream has a smaller amount of data than the input image bitstream. The coefficients c [i] and q N [i] thus obtained are output in step 50.

【0020】次に補正係数の求め方について説明する。
この補正係数は、第二の量子化幅qN[i]で量子化するこ
とにより生じた量子化誤差である。この誤差を求めるた
めに、まずステップ45で逆量子化を行なう。すなわ
ち、c[i]にqN[i]をかけて逆量子化係数d[i]を生成す
る。補正係数z[i]はステップ43でb[i]から引き算した
ので、ステップ46でd[i]にz[i]を加え、e[i]を生成す
る。e[i]はb[i]を再量子化し復元した係数である。e[i]
とb[i]との差を求めれば、qN[i]で再量子化によって生
じた量子化誤差が得られる。それがステップ48で求め
るz'[i]である。z'[i]は次の画像の再圧縮のための補正
信号になるので、一時的に格納しておく(ステップ5
0)。以上の処理を現在の画像の全てのブロックについ
て繰り返し、各々のブロックに対応する補正係数z'[i]
を格納しておく。次の画像の再圧縮を行なう前に各ブロ
ックのz'[i]をz[i]に代入してから処理を行なう。な
お、フレーム内符号化ブロックについて、過去の画像を
参照しないで符号化されたので、ステップ43とステッ
プ46は行なわない。また、上述の処理はDCT領域内
で行なったが、DCT係数を逆変換し空間領域で行なっ
てもよい。
Next, how to obtain the correction coefficient will be described.
This correction coefficient is a quantization error caused by quantization with the second quantization width q N [i]. In order to obtain this error, first, in step 45, inverse quantization is performed. That is, the inverse quantized coefficient d [i] is generated by multiplying c [i] by q N [i]. Since the correction coefficient z [i] is subtracted from b [i] in step 43, z [i] is added to d [i] in step 46 to generate e [i]. e [i] is a coefficient obtained by requantizing and reconstructing b [i]. e [i]
And the difference between b [i] and q N [i] gives the quantization error caused by requantization. That is z '[i] obtained in step 48. Since z '[i] becomes a correction signal for recompression of the next image, it is temporarily stored (step 5).
0). The above process is repeated for all blocks of the current image, and the correction coefficient z '[i] corresponding to each block
Is stored. Before recompressing the next image, z '[i] of each block is substituted into z [i] before processing. Since the intra-frame coded block is coded without referring to the past image, steps 43 and 46 are not performed. Further, although the above-described processing is performed in the DCT domain, the DCT coefficient may be inversely transformed and performed in the spatial domain.

【0021】なお、ステップ42のように逆量子化を行
わなくてもよい。この場合では、ステップ42はb[i]=a
[i]になり、q[i]にqN[i]をかける。ステップ50ではqN
[i]の代わりにq[i]を出力する。
It is not necessary to perform the inverse quantization as in step 42. In this case, step 42 is b [i] = a
It becomes [i], and q [i] is multiplied by q N [i]. Q N in step 50
Output q [i] instead of [i].

【0022】(第二実施例)図2を用いて本発明の第二
実施例を説明する。図2は本発明の画像再圧縮方法の第
二実施例を説明するためのフローチャートである。ま
ず、ステップ70で圧縮符号化された画像のビットスト
リームを入力する。ビットストリームの中から、量子化
されたDCTの係数a[i]を抽出する。ここに、i=1,・・・,
Nで、N は対象となるブロックのDCT係数の個数であ
る。N の値は対象ブロックによって異なる。a[i]は原画
像もしくは予測誤差をDCTし量子化した係数である。
次に、ステップ72で係数a[i]から補正係数z[i]を引き
算する。この補正係数z[i]は過去の画像データを再圧縮
することにより生じた再圧縮誤差である(その求め方は
ステップ78で行なう)。このようにして補正した係数
a'[i]の中からK個を残しそれ以外の係数を切り捨てる
(ステップ74)。K≦Nである。したがって、係数を切
り捨てることにより画像をさらに圧縮することになる。
また、Kの値はブロックによって異なり、再圧縮して得
られる画像のビットストリームが入力画像のビットスト
リームよりデータ量が少なくなるように制御される。こ
のようにして得られた係数u[i]をステップ80で出力す
る。
(Second Embodiment) A second embodiment of the present invention will be described with reference to FIG. FIG. 2 is a flow chart for explaining the second embodiment of the image recompression method of the present invention. First, in step 70, a bit stream of an image compressed and encoded is input. The quantized DCT coefficient a [i] is extracted from the bitstream. Where i = 1, ...,
In N, N is the number of DCT coefficients of the target block. The value of N depends on the target block. a [i] is a coefficient obtained by DCT-quantizing the original image or the prediction error.
Next, at step 72, the correction coefficient z [i] is subtracted from the coefficient a [i]. The correction coefficient z [i] is a recompression error generated by recompressing the past image data (the method of obtaining the error is performed in step 78). Coefficients corrected in this way
The K coefficients are left out of a '[i] and the other coefficients are discarded (step 74). K ≦ N. Therefore, the image is further compressed by truncating the coefficient.
The value of K differs depending on the block, and the bitstream of the image obtained by recompression is controlled so that the data amount is smaller than that of the bitstream of the input image. The coefficient u [i] thus obtained is output in step 80.

【0023】次に補正係数の求め方について説明する。
この補正係数はa'[i]を切り捨てることにより生じた誤
差である。この誤差を求めるために、まずステップ76
でu[i]にz[i]を加えw[i]を生成する。w[i]は補正したa
[i]を切捨てることにより残った係数である。w[i]とa
[i]との差を求めれば、切捨てによって生じた誤差が得
られる。それがステップ78で求めるz'[i]である。z'
[i]は次の画像の再圧縮のための補正信号になるので、
一時的に格納しておく(ステップ80)。以上の処理を
現在の画像の全てのブロックについて繰り返し、各々の
ブロックに対応する補正係数z'[i]を格納しておく。次
の画像の再圧縮を行なう前に各ブロックのz'[i]をz[i]
に代入してから処理を行なう。なお、フレーム内符号化
ブロックについて、過去の画像を参照しないで符号化さ
れたので、ステップ72とステップ76は行なわない。
Next, how to obtain the correction coefficient will be described.
This correction coefficient is an error caused by truncating a '[i]. To obtain this error, first, step 76
Generate z [i] by adding z [i] to u [i]. w [i] is corrected a
It is the coefficient remaining after rounding down [i]. w [i] and a
If the difference from [i] is calculated, the error caused by the truncation can be obtained. That is z '[i] obtained in step 78. z '
[i] is the correction signal for recompression of the next image, so
It is temporarily stored (step 80). The above processing is repeated for all blocks of the current image, and the correction coefficient z '[i] corresponding to each block is stored. Z '[i] of each block is z [i] before recompression of the next image
Subsequent to and then processed. Since the intra-frame coded block is coded without referring to the past image, steps 72 and 76 are not performed.

【0024】(第三実施例)図3を用いて本発明の第三
実施例を説明する。図3は本発明の第三実施例を説明す
るための画像再圧縮装置300のブロック図を示す。可
変長復号化器110、レート制御器120、第一の逆量
子化器130、第一の加算器210、量子化器140、
可変長符号化器150、マルチプレクサ160、第二の
逆量子化器170、第二の加算器220、第三の加算器
230と差分係数メモリ180を具備している。
(Third Embodiment) A third embodiment of the present invention will be described with reference to FIG. FIG. 3 is a block diagram of an image recompression device 300 for explaining the third embodiment of the present invention. Variable length decoder 110, rate controller 120, first dequantizer 130, first adder 210, quantizer 140,
It comprises a variable length encoder 150, a multiplexer 160, a second dequantizer 170, a second adder 220, a third adder 230 and a difference coefficient memory 180.

【0025】符号化された画像ビットストリームを端子
100から入力する。可変長復号化器110では、ビッ
トストリームの中から、量子化パラメータq[i]及び量子
化DCT係数a[i]を抽出し符号から数値に復号化する。
ここに、i=1,・・・,Nで、N は対象となるブロックのDC
T係数の個数である。N の値は対象ブロックによって異
なる。可変長復号化器110の出力をライン2010を
経由して逆量子化器130に送る。その他のデータをラ
イン2000を経由してマルチプレクサ160に送る。
逆量子化器130ではq[i]でa[i]を逆量子化し、逆量子
化係数b[i]を生成する。b[i]はライン2020を経由し
て第一の加算器210に送られ、そこでb[i]から、差分
係数メモリ180に格納されている過去の画像データに
よって生成した補正係数z[i]を引き算して、b'[i]を生
成する。b'[i]をライン2022を経由して量子化器1
40に入力し、新しい量子化パラメータqN[i]で量子化
して量子化係数c[i]を生成する。c[i]とqN[i]とをライ
ン2030を経由して可変長符号化器150に送り、可
変長符号に変換し、マルチプレクサ160に送る。マル
チプレクサ160では、ライン2040を経由して送ら
れてくるc[i]とqN[i]の符号と、ライン2000を経由
して送られてくるその他のデータと多重化して出力す
る。このようにして入力ビットストリームは再圧縮され
る。普通、レート制御器120を用い、可変長符号化器
の出力のビット数を計数しながら所望のビットレートに
なるように量子化幅qN[i]を決定する。なお、逆量子化
器130を省略してもよい。すわわち、ライン2020
の信号b[i]はa[i]と等しい。この場合、q[i]にqN[i]を
かけた結果を、qN[i]の代わりに、ライン2040を経
由してマルチプレクサ160に送る。
The encoded image bit stream is input from the terminal 100. The variable length decoder 110 extracts the quantization parameter q [i] and the quantized DCT coefficient a [i] from the bit stream, and decodes the code into a numerical value.
Where i = 1, ..., N, N is the DC of the target block
It is the number of T coefficients. The value of N depends on the target block. The output of the variable length decoder 110 is sent to the inverse quantizer 130 via line 2010. Other data is sent to multiplexer 160 via line 2000.
The inverse quantizer 130 dequantizes a [i] with q [i] to generate an inverse quantized coefficient b [i]. The b [i] is sent to the first adder 210 via the line 2020, where the correction coefficient z [i] generated from the past image data stored in the difference coefficient memory 180 from b [i]. Is subtracted to generate b '[i]. Quantizer 1 for b ′ [i] via line 2022
It is input to 40 and quantized with a new quantization parameter q N [i] to generate a quantized coefficient c [i]. c [i] and q N [i] are sent to the variable length encoder 150 via the line 2030, converted into a variable length code, and sent to the multiplexer 160. The multiplexer 160 multiplexes the codes of c [i] and q N [i] sent via the line 2040, and other data sent via the line 2000, and outputs the multiplexed data. In this way the input bitstream is recompressed. Normally, the rate controller 120 is used to determine the quantization width q N [i] so as to obtain a desired bit rate while counting the number of bits of the output of the variable length encoder. The inverse quantizer 130 may be omitted. That's the line 2020
Signal b [i] of is equal to a [i]. In this case, the result of multiplying the q N [i] to q [i], in place of q N [i], and sends to the multiplexer 160 via line 2040.

【0026】一方、qN[i]とc[i]をライン2032を経
由して逆量子化器170送る。そこでqN[i]でc[i]を逆
量子化し、逆量子化係数d[i]を生成する。第二の加算器
220にて、d[i]に過去の画像データによって生成した
補正係数z[i]を足し算する。その結果を第三の加算器2
30に送り、ライン2024を経由して送られてくるb
[i]とから差分係数z'[i]を生成し、差分係数メモリ18
0に格納する。この差分係数を次の画像データの補正係
数として用いる。
On the other hand, q N [i] and c [i] are sent to the inverse quantizer 170 via the line 2032. Therefore, c [i] is inversely quantized by q N [i] to generate an inverse quantized coefficient d [i]. In the second adder 220, the correction coefficient z [i] generated from the past image data is added to d [i]. The result is the third adder 2
30 and sent via line 2024 b
The difference coefficient z ′ [i] is generated from [i] and the difference coefficient memory 18
Store in 0. This difference coefficient is used as a correction coefficient for the next image data.

【0027】次に、差分係数メモリ180の好ましい実
施例を説明する。図4は差分係数メモリ180のブロッ
ク図を示す。逆直交変換器182、フレームメモリ18
4、直交変換器186を具備している。端子181から
入力される差分係数z'[i]はDCT領域の係数である。
まず、それを逆直交変換器182で逆変換し、空間領域
の差分信号に戻す。この結果をフレームメモリ184に
格納し、次の画像を再圧縮するときに用いる。
Next, a preferred embodiment of the difference coefficient memory 180 will be described. FIG. 4 shows a block diagram of the difference coefficient memory 180. Inverse orthogonal transformer 182, frame memory 18
4. The orthogonal transformer 186 is provided. The difference coefficient z ′ [i] input from the terminal 181 is a DCT domain coefficient.
First, it is inversely transformed by the inverse orthogonal transformer 182 to be returned to the spatial domain difference signal. The result is stored in the frame memory 184 and used when recompressing the next image.

【0028】さて、次の画像を再圧縮する場合を考え
る。従来の技術で説明したように、予測信号は動き補償
して得られるので、フレームメモリ184から空間領域
の差分信号を得るには動き補償する必要がある。この動
き情報は可変長復号化器110からライン2080を経
由して送られてくる。それに基づき、対象ブロックの差
分信号をフレームメモリ184から得、ライン2094
を経由して直交変換器186に送る。そこで、空間領域
の差分信号を変換領域に変換して差分係数を生成する。
この差分係数はライン2070を経由して加算器210
に送られ、補正係数として用いられる。なお、半画素か
それ以上の精度で動き補償する場合には、フレームメモ
リ184に格納される差分信号を補間し、アップサンプ
リングしてから動き補償する。なお、DCT領域の係数
であるz'[i]をそのままフレームメモリ184に格納
し、DCT領域で動き補償し補正係数を生成することも
できる。この場合、逆直交変換器182と直交変換器1
86とを省略する。
Now, consider the case of recompressing the next image. As described in the related art, the prediction signal is obtained by motion compensation, and therefore motion compensation is required to obtain the spatial domain difference signal from the frame memory 184. This motion information is sent from the variable length decoder 110 via line 2080. Based on that, the difference signal of the target block is obtained from the frame memory 184 and the line 2094
To the orthogonal transformer 186. Therefore, the differential signal in the spatial domain is transformed into the transform domain to generate the differential coefficient.
This difference coefficient is added via line 2070 to adder 210.
And used as a correction coefficient. When performing motion compensation with an accuracy of half a pixel or more, the difference signal stored in the frame memory 184 is interpolated and up-sampled before motion compensation. It is also possible to store the coefficient z '[i] in the DCT area as it is in the frame memory 184 and perform motion compensation in the DCT area to generate a correction coefficient. In this case, the inverse orthogonal transformer 182 and the orthogonal transformer 1
And 86 are omitted.

【0029】この実施例では、フレーム間予測符号化に
ついて述べたが、画素間もしくは他のデータ間の予測符
号化(DPCM)の場合であってもよい。この場合、変
換領域の信号ではないので、図4の逆直交変換器182
と直交変換器186とを省略する。
In this embodiment, the interframe predictive coding has been described, but it may be the case of predictive coding (DPCM) between pixels or between other data. In this case, since the signal is not in the transform domain, the inverse orthogonal transformer 182 of FIG.
And the orthogonal transformer 186 are omitted.

【0030】(第四実施例)図5を用いて本発明の第四
実施例を説明する。図5は本発明の第四実施例を説明す
るための画像再圧縮装置300のブロック図を示す。可
変長復号化器110、レート制御器120、第一の逆量
子化器130、第一の逆直交変換器240、第一の加算
器210、直交変換器250、量子化器140、可変長
符号化器150、マルチプレクサ160、第二の逆量子
化器170、第二の逆直交変換器260、第二の加算器
220、第三の加算器230と差分信号メモリ270を
具備している。
(Fourth Embodiment) A fourth embodiment of the present invention will be described with reference to FIG. FIG. 5 is a block diagram of an image recompression device 300 for explaining the fourth embodiment of the present invention. Variable length decoder 110, rate controller 120, first inverse quantizer 130, first inverse orthogonal transformer 240, first adder 210, orthogonal transformer 250, quantizer 140, variable length code It includes a quantizer 150, a multiplexer 160, a second inverse quantizer 170, a second inverse orthogonal transformer 260, a second adder 220, a third adder 230 and a difference signal memory 270.

【0031】符号化された画像ビットストリームを端子
100から入力する。可変長復号化器110では、ビッ
トストリームの中から、量子化パラメータq[i]及び量子
化DCT係数a[i]を抽出し符号から数値に復号化する。
ここに、i=1,・・・,Nで、Nは対象となるブロックのDCT
係数の個数である。N の値は対象ブロックによって異な
る。可変長復号化器110の出力をライン3010を経
由して逆量子化器130に送る。その他のデータをライ
ン3000を経由してマルチプレクサ160に送る。逆
量子化器130ではq[i]でa[i]を逆量子化し、逆量子化
係数b[i]を生成する。b[i]はライン3012を経由して
第一の逆直交変換器240に送られる。第一の逆直交変
換器240では、DCT領域の係数b[i]を空間領域に変
換し第一の空間信号s[i]に変換する。s[i]はライン30
20を経由して第一の加算器210に送られ、そこでs
[i]から、差分信号メモリ270に格納されている過去
の画像データによって生成した補正信号z[i]を引き算し
て、s'[i]を生成する。s'[i]をライン3022を経由し
て直交変換器250に入力し、s'[i]をDCT領域の係
数b'[i]に変換する。b'[i]をライン3024を経由して
量子化器140に入力し、新しい量子化パラメータq
N[i]で量子化して量子化係数c[i]を生成する。c[i]とqN
[i]とをライン3030を経由して可変長符号化器15
0に送り、可変長符号に変換し、マルチプレクサ160
に送る。マルチプレクサ160では、ライン3040を
経由して送られてくるc[i]とqN[i]の符号と、ライン3
000を経由して送られてくるその他のデータと多重化
して出力する。このようにして入力ビットストリームは
再圧縮される。普通、レート制御器120を用い、可変
長符号化器の出力のビット数を計数しながら、所望のビ
ットレートになるように量子化幅qN[i]を決定する。
The encoded image bit stream is input from the terminal 100. The variable length decoder 110 extracts the quantization parameter q [i] and the quantized DCT coefficient a [i] from the bit stream, and decodes the code into a numerical value.
Where i = 1, ..., N, where N is the DCT of the target block
The number of coefficients. The value of N depends on the target block. The output of the variable length decoder 110 is sent to the inverse quantizer 130 via line 3010. Other data is sent to multiplexer 160 via line 3000. The inverse quantizer 130 dequantizes a [i] with q [i] to generate an inverse quantized coefficient b [i]. b [i] is sent to the first inverse orthogonal transformer 240 via line 3012. The first inverse orthogonal transformer 240 transforms the coefficient b [i] in the DCT domain into the spatial domain and transforms it into the first spatial signal s [i]. s [i] is line 30
Sent to the first adder 210 via 20 where s
The correction signal z [i] generated by the past image data stored in the difference signal memory 270 is subtracted from [i] to generate s' [i]. s' [i] is input to the orthogonal transformer 250 via the line 3022, and s' [i] is transformed into DCT domain coefficient b '[i]. b ′ [i] is input to the quantizer 140 via the line 3024, and the new quantization parameter q
Quantize with N [i] to generate a quantized coefficient c [i]. c [i] and q N
[i] and the variable length encoder 15 via line 3030
0, convert to variable length code, multiplexer 160
Send to In the multiplexer 160, the codes of c [i] and q N [i] sent via the line 3040 and the line 3
The data is multiplexed with other data sent via 000 and output. In this way the input bitstream is recompressed. Usually, the rate controller 120 is used to determine the quantization width q N [i] so as to obtain a desired bit rate while counting the number of bits of the output of the variable length encoder.

【0032】一方、qN[i]とc[i]をライン3032を経
由して第二の逆量子化器170に送る。そこでqN[i]でc
[i]を逆量子化し、逆量子化係数d[i]を生成する。次
に、d[i]を第二の逆直交変換器260に送り、DCT領
域の係数d[i]を空間領域信号s"[i]に変換する。第二の
加算器220にて、s"[i]に過去の画像データによって
生成した補正信号z[i]を足し算する。その結果は第三の
加算器230に送られ、s[i]とから差分信号z'[i]を生
成し、差分信号メモリ270に格納する。この差分信号
を次の画像データの補正信号として用いる。次の画像を
再圧縮する場合、可変長復号化器110からライン30
80を経由して送られてくる動き情報に基づき、対象ブ
ロックの差分信号を差分信号メモリ270から取り出
し、ライン3070を経由して第一の加算器210に送
り、補正信号として用いる。なお、半画素かそれ以上の
精度で動き補償する場合、差分信号メモリ270に格納
される差分信号を補間し、アップサンプリングしてから
動き補償する。
On the other hand, q N [i] and c [i] are sent to the second dequantizer 170 via the line 3032. Where q N [i] is c
[i] is inversely quantized to generate an inverse quantization coefficient d [i]. Next, d [i] is sent to the second inverse orthogonal transformer 260 to transform the DCT domain coefficient d [i] into the spatial domain signal s "[i]. In the second adder 220, s "[i] is added with the correction signal z [i] generated by past image data. The result is sent to the third adder 230 to generate a differential signal z ′ [i] from s [i] and store it in the differential signal memory 270. This difference signal is used as a correction signal for the next image data. If the next image is to be recompressed, the variable length decoder 110 to line 30
Based on the motion information sent via 80, the difference signal of the target block is fetched from the difference signal memory 270, sent to the first adder 210 via the line 3070, and used as a correction signal. In the case of motion compensation with an accuracy of half a pixel or more, the difference signal stored in the difference signal memory 270 is interpolated, up-sampled, and then motion compensated.

【0033】(第五実施例)図6を用いて本発明の第五
実施例を説明する。図6は本発明の第五実施例を説明す
るための画像再圧縮装置300のブロック図を示す。可
変長復号化器110、レート制御器120、第一の加算
器210、係数選択器280、可変長符号化器150、
マルチプレクサ160、第二の加算器220、第三の加
算器230と、差分係数メモリ180を具備している。
(Fifth Embodiment) A fifth embodiment of the present invention will be described with reference to FIG. FIG. 6 shows a block diagram of an image recompression device 300 for explaining a fifth embodiment of the present invention. Variable length decoder 110, rate controller 120, first adder 210, coefficient selector 280, variable length encoder 150,
It comprises a multiplexer 160, a second adder 220, a third adder 230, and a difference coefficient memory 180.

【0034】符号化された画像ビットストリームを端子
100から入力する。可変長復号化器110では、ビッ
トストリームの中から、量子化されたDCT係数a[i]を
抽出し符号から数値に復号化する。ここに、i=1,・・・,N
で、Nは対象となるブロックのDCT係数の個数であ
る。N の値は対象ブロックによって異なる。可変長復号
化器110の出力をライン4010を経由して第一の加
算器210に送る。その他のデータをライン4000を
経由してマルチプレクサ160に送る。第一の加算器2
10では、a[i]から、差分係数メモリ180に格納され
ている過去の画像データによって生成した補正係数z[i]
を引き算して、a'[i]を生成する。N個のa'[i], i=1,・
・・,N を含むブロックのデータをライン4020を経
由して係数選択器280に送る。そこで、N個のa'[i]の
中からK個を残しそれ以外の係数を切り捨て、u[i]から
なるブロック形成する。但し、K≦Nである。このように
係数を切り捨てることにより、画像をさらに圧縮するこ
とになる。次に、u[i]とをライン4030を経由して可
変長符号化器150に送り、可変長符号に変換し、マル
チプレクサ160に送る。マルチプレクサ160では、
ライン4040を経由して送られてくるu[i]の符号と、
ライン4000を経由して送られてくるその他のデータ
と多重化して出力する。なお、Kの値はブロックによっ
て異なり、普通レート制御器120を用い、可変長符号
化器の出力のビット数を計数しながら所望のビットレー
トになるようにKの値を決定する。
The encoded image bit stream is input from the terminal 100. The variable length decoder 110 extracts the quantized DCT coefficient a [i] from the bit stream and decodes it from a code into a numerical value. Where i = 1, ..., N
Where N is the number of DCT coefficients in the target block. The value of N depends on the target block. The output of the variable length decoder 110 is sent to the first adder 210 via line 4010. Other data is sent to multiplexer 160 via line 4000. First adder 2
In 10, the correction coefficient z [i] generated from the past image data stored in the difference coefficient memory 180 is converted from a [i].
Is subtracted to generate a '[i]. N a '[i], i = 1,
.., N is sent to the coefficient selector 280 via the line 4020. Therefore, K pieces are left out of N pieces a ′ [i], and the other coefficients are cut off to form a block made up of u [i]. However, K ≦ N. By truncating the coefficients in this way, the image is further compressed. Then, u [i] and u [i] are sent to the variable length encoder 150 via the line 4030, converted into a variable length code, and sent to the multiplexer 160. In the multiplexer 160,
The code of u [i] sent via line 4040,
It is multiplexed with other data sent via the line 4000 and output. The value of K differs depending on the block, and the normal rate controller 120 is used to determine the value of K so as to obtain a desired bit rate while counting the number of bits of the output of the variable length encoder.

【0035】一方、u[i]はライン4032を経由して第
二の加算器220に送られる。そこで、u[i]に過去の画
像データによって生成した補正係数z[i]を足し算し、w
[i]を生成する。次に、第三の加算器230にて、w[i]
とa[i]とから差分係数z'[i]を生成し、差分係数メモリ
180に格納する。この差分係数を次の画像データの補
正係数として用いる。差分係数メモリ180は図4に示
したブロック図が好ましい。第三実施例のところで述べ
たものと同様である。
On the other hand, u [i] is sent to the second adder 220 via the line 4032. Therefore, u [i] is added with the correction coefficient z [i] generated by past image data, and w
Generate [i]. Next, in the third adder 230, w [i]
And the difference coefficient z ′ [i] is generated from a [i] and stored in the difference coefficient memory 180. This difference coefficient is used as a correction coefficient for the next image data. The difference coefficient memory 180 is preferably the block diagram shown in FIG. This is similar to that described in the third embodiment.

【0036】(第六実施例)図7を用いて本発明の第六
実施例を説明する。図7は本発明の第六実施例を説明す
るための画像記録装置である。外部入力端子330、切
替えスイッチ350、360、画像再圧縮装置300
と、記録器340を具備している。画像再圧縮装置30
0としては、図3、図5、図6のいずれを用いてもよ
い。
(Sixth Embodiment) A sixth embodiment of the present invention will be described with reference to FIG. FIG. 7 shows an image recording apparatus for explaining the sixth embodiment of the present invention. External input terminal 330, changeover switches 350, 360, image recompression device 300
And a recorder 340. Image recompression device 30
As 0, any of FIG. 3, FIG. 5, and FIG. 6 may be used.

【0037】まず、ビットストリームは入力端子330
から入力される。ノーマルモードで記録するときに切替
えスイッチ350を端子310に、切替えスイッチ36
0を端子320に接続する。この場合、ビットストリー
ムは処理されずに、そのまま記録器340に送られ、記
録媒体(磁気テープ、光ディスクなど)に記録する。一
方、長時間記録モードの場合には、切替えスイッチ35
0を端子100に、切替えスイッチ360を端子200
に接続する。このように接続した場合、第三から第五実
施例で説明した装置と実質的に同じ構成になり、画像再
圧縮装置300によって再圧縮したビットストリームを
記録器340で記録する。このようスイッチを切替える
ことによって、ビットストリームを標準記録または長時
間記録することが可能となる。
First, the bit stream is input terminal 330.
Input from. When recording in the normal mode, the selector switch 350 is set to the terminal 310 and the selector switch 36
0 is connected to terminal 320. In this case, the bit stream is not processed and is sent to the recorder 340 as it is and recorded on the recording medium (magnetic tape, optical disk, etc.). On the other hand, in the long-time recording mode, the changeover switch 35
0 to terminal 100 and changeover switch 360 to terminal 200
Connect to. When connected in this manner, the device has substantially the same configuration as the device described in the third to fifth embodiments, and the bitstream recompressed by the image recompression device 300 is recorded by the recorder 340. By switching the switch in this way, it becomes possible to perform standard recording or long-term recording of the bitstream.

【0038】[0038]

【発明の効果】以上の説明より明らかなように、本発明
の画像再圧縮方法及び画像再圧縮装置によれば、ビット
ストリームを完全に解いて画像を再生する必要なく、入
力ビットストリームを他のビットレートに再圧縮するこ
とが可能となる。そのため遅延が殆んど生じることはな
い。さらに、過去の画像を再圧縮することにより生じた
誤差信号で現在の画像の予測誤差を補正してから再圧縮
するので、再圧縮による誤差の伝搬を防ぐことができ、
画質の劣化を軽減することができる。
As is apparent from the above description, according to the image recompression method and the image recompression apparatus of the present invention, it is not necessary to completely solve the bitstream to reproduce the image, and the input bitstream is not It is possible to recompress to the bit rate. Therefore, there is almost no delay. Furthermore, since the prediction error of the current image is corrected by the error signal generated by recompressing the past image and then the image is recompressed, the propagation of the error due to the recompression can be prevented,
It is possible to reduce deterioration of image quality.

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

【図1】本発明の画像再圧縮方法の第一実施例を説明す
るためのフローチャート
FIG. 1 is a flowchart for explaining a first embodiment of an image recompression method according to the present invention.

【図2】本発明の画像再圧縮方法の第二実施例を説明す
るためのフローチャート
FIG. 2 is a flowchart for explaining a second embodiment of the image recompression method according to the present invention.

【図3】本発明の第三実施例を説明するための画像再圧
縮装置のブロック図
FIG. 3 is a block diagram of an image recompression device for explaining a third embodiment of the present invention.

【図4】図3における差分係数メモリのブロック図FIG. 4 is a block diagram of a difference coefficient memory in FIG.

【図5】本発明の第四実施例を説明するための画像再圧
縮装置のブロック図
FIG. 5 is a block diagram of an image recompression device for explaining a fourth embodiment of the present invention.

【図6】本発明の第五実施例を説明するための画像再圧
縮装置のブロック図
FIG. 6 is a block diagram of an image recompression device for explaining a fifth embodiment of the present invention.

【図7】本発明の第六実施例を説明するための画像記録
装置の説明図
FIG. 7 is an explanatory diagram of an image recording apparatus for explaining a sixth embodiment of the present invention.

【図8】従来の画像再圧縮方法を説明するためのフロー
チャート
FIG. 8 is a flowchart for explaining a conventional image recompression method.

【図9】従来の画像再圧縮装置のブロック図FIG. 9 is a block diagram of a conventional image recompression device.

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

110 可変長復号化器 130 第一の逆量子化器 140 量子化器 150 可変長符号化器 160 マルチプレクサ 170 第二の逆量子化器 180 差分係数メモリ 110 Variable Length Decoder 130 First Inverse Quantizer 140 Quantizer 150 Variable Length Encoder 160 Multiplexer 170 Second Inverse Quantizer 180 Difference Coefficient Memory

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 H04N 7/32 H04N 7/137 ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification number Office reference number FI technical display location H04N 7/32 H04N 7/137

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】第一の量子化パラメータで量子化し圧縮し
た画像データを、前記第一の量子化パラメータで逆量子
化し、第一の逆量子化画像データを生成し、 前記第一の逆量子化画像データから、過去の画像データ
によって生成した補正信号を減算し、第二の量子化パラ
メータで量子化し出力するとともに、前記第二の量子化
パラメータで逆量子化して、第二の逆量子化画像データ
を生成し、 前記第二の逆量子化画像データと前記第一の逆量子化画
像データとから差分信号を生成し、前記差分信号を次の
画像データの補正信号として用いることを特徴とする画
像再圧縮方法。
1. The image data quantized and compressed with a first quantization parameter is inversely quantized with the first quantization parameter to generate first inverse quantized image data, and the first inverse quantized image data is generated. From the quantized image data, the correction signal generated by the past image data is subtracted, quantized and output with the second quantization parameter, and dequantized with the second quantization parameter, and the second dequantization. Image data is generated, a difference signal is generated from the second dequantized image data and the first dequantized image data, and the difference signal is used as a correction signal of the next image data. Image recompression method.
【請求項2】前記第二の逆量子化画像データに、前記過
去の画像データによって生成した補正信号を加算してか
ら、前記第一の逆量子化画像データとから差分信号を生
成することを特徴とする請求項1記載の画像再圧縮方
法。
2. A method of adding a correction signal generated by the past image data to the second dequantized image data and then generating a difference signal from the first dequantized image data. The image recompression method according to claim 1, wherein the image recompression method is used.
【請求項3】直交変換し圧縮した画像データの中に含ま
れる第一の変換係数ブロックから、過去の画像データに
よって生成した補正係数を減算して、第二の変換係数ブ
ロックを生成し、 前記第二の変換係数ブロックの中から、所定の個数の係
数を抽出して、第三の変換係数ブロックを形成し出力す
るとともに、 前記第三の変換係数ブロックと前記第一の変換係数ブロ
ックとから差分係数ブロックを生成し、前記差分係数ブ
ロックを次の画像データの補正係数として用いることを
特徴とする画像再圧縮方法。
3. A second transform coefficient block is generated by subtracting a correction coefficient generated by past image data from a first transform coefficient block included in image data that has been orthogonally transformed and compressed. A predetermined number of coefficients are extracted from the second transform coefficient block to form and output a third transform coefficient block, and from the third transform coefficient block and the first transform coefficient block. An image recompression method, wherein a difference coefficient block is generated and the difference coefficient block is used as a correction coefficient for the next image data.
【請求項4】前記第三の変換係数ブロックに、前記過去
の画像データによって生成した補正係数を加算してか
ら、前記第一の変換係数ブロックとから差分係数ブロッ
クを生成することを特徴とする請求項3記載の画像再圧
縮方法。
4. A difference coefficient block is generated from the first transform coefficient block after adding a correction coefficient generated by the past image data to the third transform coefficient block. The image recompression method according to claim 3.
【請求項5】可変長復号化器と、第一の逆量子化器と、
第一の加算器と、量子化器と、可変長符号化器と、マル
チプレクサと、第二の逆量子化器と、第二と第三の加算
器と、差分係数メモリとを具備し、 符号化された画像データを入力し、前記可変長復号化器
にて第一の量子化パラメータおよび第一の被量子化係数
を復号化し前記第一の逆量子化器に送り、前記第一の量
子化パラメータおよび第一の被量子化係数以外のその他
のデータを前記マルチプレクサに送り、 前記第一の逆量子化器にて、前記第一の量子化パラメー
タで前記第一の被量子化係数を逆量子化して第一の逆量
子化係数を生成し、 前記第一の加算器にて、前記第一の逆量子化係数から、
前記差分係数メモリに格納されている過去の画像データ
によって生成した補正係数を加算して、前記量子化器に
入力し、第二の量子化パラメータで量子化して、第二の
被量子化係数を生成し、 前記第二の量子化パラメータと前記第二の被量子化係数
を前記可変長符号化器に入力し、可変長符号に変換し
て、前記マルチプレクサに送り、前記その他のデータと
多重化して出力するとともに、前記第二の逆量子化器に
て、前記第二の量子化パラメータで前記第二の被量子化
係数を逆量子化して、第二の逆量子化係数を生成し、 前記第二の加算器にて、前記第二の逆量子化係数に、前
記過去の画像データによって生成した補正係数を加算し
たのち、前記第三の加算器にて、前記第一の逆量子化係
数とから差分係数を生成して、前記差分係数メモリに格
納し、 前記差分係数を次の画像データの補正係数として用いる
ことを特徴とする画像再圧縮装置。
5. A variable length decoder, a first dequantizer, and
A first adder, a quantizer, a variable length encoder, a multiplexer, a second dequantizer, second and third adders, and a difference coefficient memory, The converted image data is input, the variable length decoder decodes the first quantization parameter and the first quantized coefficient, and the decoded image data is sent to the first dequantizer. Data other than the quantization parameter and the first quantized coefficient is sent to the multiplexer, and the first dequantizer inverses the first quantized coefficient with the first quantization parameter. Quantize to generate a first dequantized coefficient, in the first adder, from the first dequantized coefficient,
Correction coefficients generated by past image data stored in the difference coefficient memory are added, input to the quantizer, quantized with a second quantization parameter, and a second quantized coefficient is obtained. The second quantization parameter and the second quantized coefficient are input to the variable length encoder, converted into a variable length code, sent to the multiplexer, and multiplexed with the other data. While outputting as, in the second dequantizer, by dequantizing the second quantized coefficient with the second quantization parameter, to generate a second dequantized coefficient, the A second adder adds the correction coefficient generated by the past image data to the second dequantized coefficient, and then the third adder adds the first dequantized coefficient. And a difference coefficient is generated from Storage, and the image recompression apparatus, characterized by using the difference coefficient as the correction coefficient of the next image data.
【請求項6】差分係数メモリは、逆直交変換器、メモ
リ、直交変換器を具備し、 前記差分係数を前記逆直交変換器に入力して逆直交変換
して、前記メモリに格納し、 前記可変長復号化器より入力した動き情報に基づき、前
記メモリから差分係数を取り出し、 前記直交変換器にて、前記差分係数を直交変換して前記
第一の加算器に送出することを特徴とする請求項5記載
の画像再圧縮装置。
6. The difference coefficient memory comprises an inverse orthogonal transformer, a memory, and an orthogonal transformer, wherein the difference coefficient is input to the inverse orthogonal transformer, inverse orthogonal transformed, and stored in the memory. The difference coefficient is taken out from the memory based on the motion information input from the variable length decoder, and the difference coefficient is orthogonally transformed by the orthogonal transformer and sent to the first adder. The image recompression device according to claim 5.
【請求項7】可変長復号化器と、第一の逆量子化器と、
第一の逆直交変換器、第一の加算器と、直交変換器、量
子化器と、可変長符号化器と、マルチプレクサと、第二
の逆量子化器と、第二の逆直交変換器と、第二と第三の
加算器と、差分信号メモリとを具備し、 符号化された画像データを入力し、前記可変長復号化器
にて第一の量子化パラメータおよび第一の被量子化係数
を復号化し前記第一の逆量子化器に送り、前記第一の量
子化パラメータおよび第一の被量子化係数以外のその他
のデータを前記マルチプレクサに送り、 前記第一の逆量子化器にて、前記第一の量子化パラメー
タで前記第一の被量子化係数を逆量子化して第一の逆量
子化係数を生成し、 前記第一の逆直交変換器にて、前記第一の逆量子化係数
を第一の空間信号に変換し、 前記第一の加算器にて、前記第一の空間信号から、前記
差分信号メモリに格納されている過去の画像データによ
って生成した補正信号を減算し、前記直交変換器で直交
変換したのち前記量子化器に入力し、第二の量子化パラ
メータで量子化して第二の被量子化係数を生成し、 前記第二の量子化パラメータと前記第二の被量子化係数
を前記可変長符号化器に入力し、可変長符号に変換して
前記マルチプレクサに送り、前記その他のデータと多重
化して出力するとともに、前記第二の逆量子化器にて、
前記第二の量子化パラメータで前記第二の被量子化係数
を逆量子化して第二の逆量子化係数を生成し、 前記第二の逆直交変換器にて、前記第二の逆量子化係数
を第二の空間信号に変換し、 前記第二の加算器にて、前記第二の空間信号に、前記過
去の画像データによって生成した補正信号を加算したの
ち、前記第三の加算器にて、前記第一の空間信号とから
差分信号を生成して、前記差分信号メモリに格納し、 前記差分信号を次の画像データの補正信号として用いる
ことを特徴とする画像再圧縮装置。
7. A variable length decoder, a first inverse quantizer,
First inverse orthogonal transformer, first adder, orthogonal transformer, quantizer, variable length encoder, multiplexer, second inverse quantizer, second inverse orthogonal transformer , A second and a third adder, and a differential signal memory, and inputs encoded image data, and the variable length decoder inputs the first quantization parameter and the first quantized Decoding the quantized coefficient and sending it to the first dequantizer, sending the other data other than the first quantization parameter and the first quantized coefficient to the multiplexer, the first dequantizer At, to generate a first dequantized coefficient by dequantizing the first quantized coefficient with the first quantization parameter, in the first inverse orthogonal transformer, the first The inverse quantization coefficient is converted into a first spatial signal, and the first adder adds The correction signal generated by the past image data stored in the differential signal memory is subtracted, orthogonally transformed by the orthogonal transformer and then input to the quantizer, and quantized by the second quantization parameter to Two quantized coefficients are generated, the second quantization parameter and the second quantized coefficient are input to the variable length encoder, converted to a variable length code and sent to the multiplexer, While multiplexed with other data and output, in the second dequantizer,
Dequantize the second quantized coefficient with the second quantization parameter to generate a second dequantized coefficient, and in the second inverse orthogonal transformer, the second dequantized A coefficient is converted into a second spatial signal, and in the second adder, after adding the correction signal generated by the past image data to the second spatial signal, the third adder An image recompression device, wherein a differential signal is generated from the first spatial signal, stored in the differential signal memory, and the differential signal is used as a correction signal for the next image data.
【請求項8】可変長復号化器と、第一の加算器と、係数
選択器と、可変長符号化器と、マルチプレクサと、第二
と第三の加算器と、差分係数メモリとを具備し、 符号化された画像データを入力し、前記可変長復号化器
にて第一の変換係数ブロックを復号化し前記第一の加算
器に送り、第一の変換係数ブロック以外のその他のデー
タを前記マルチプレクサーに送り、 前記第一の加算器にて、前記第一の変換係数ブロックか
ら、前記差分係数メモリに格納されている過去の画像デ
ータによって生成した補正係数を減算して、第二の変換
係数ブロックを生成し、 前記係数選択器にて、前記第二の変換係数ブロックの中
から、所定の個数の係数を抽出して、第三の変換係数ブ
ロックを形成し、 前記可変長符号化器にて、前記第三の変換係数ブロック
を可変長符号に変換し、前記マルチプレクサに送り、前
記その他のデータと多重化して出力するとともに、前記
第二の加算器に送り、 前記第二の加算器にて、前記第三の変換係数ブロック
に、前記過去の画像データによって生成した補正係数を
加算したのち、前記第三の加算器にて、前記第一の変換
係数ブロックとから差分係数を生成して、前記差分係数
メモリに格納し、 前記差分係数を次の画像データの補正係数として用いる
ことを特徴とする画像再圧縮装置。
8. A variable length decoder, a first adder, a coefficient selector, a variable length encoder, a multiplexer, second and third adders, and a difference coefficient memory. Then, the encoded image data is input, the first transform coefficient block is decoded by the variable length decoder and sent to the first adder, and other data other than the first transform coefficient block is sent. Sent to the multiplexer, the first adder subtracts the correction coefficient generated by the past image data stored in the difference coefficient memory from the first transform coefficient block, Generating a transform coefficient block, extracting a predetermined number of coefficients from the second transform coefficient block by the coefficient selector to form a third transform coefficient block, the variable length coding The third transform coefficient block To a variable length code, sent to the multiplexer, multiplexed with the other data and output, and sent to the second adder, the second adder, the third transform coefficient block In addition, after adding the correction coefficient generated by the past image data, in the third adder, to generate a difference coefficient from the first conversion coefficient block, and stored in the difference coefficient memory, An image recompression device, wherein the difference coefficient is used as a correction coefficient for the next image data.
【請求項9】差分係数メモリは、逆直交変換器、メモ
リ、直交変換器とを具備し、 前記差分係数を前記逆直交変換器に入力し、逆直交変換
して、前記メモリに格納し、 前記可変長復号化器より入力した動き情報に基づき、前
記メモリから差分係数を取り出し、 前記直交変換器にて、前記差分係数を直交変換して前記
第一の加算器に送出することを特徴とする請求項8記載
の画像再圧縮装置。
9. The difference coefficient memory comprises an inverse orthogonal transformer, a memory, and an orthogonal transformer, wherein the difference coefficient is input to the inverse orthogonal transformer, inverse orthogonal transformed, and stored in the memory. Based on the motion information input from the variable length decoder, a difference coefficient is extracted from the memory, the difference coefficient is orthogonally converted by the orthogonal transformer, and the difference coefficient is transmitted to the first adder. The image recompression device according to claim 8.
【請求項10】外部入力端子と、請求項5から請求項9
のいずれかに記載の画像再圧縮装置と、記録器とを具備
し、 符号化された画像データを前記外部入力端子より入力
し、 ノーマル記録モードの時には、前記符号化された画像デ
ータをそのまま前記記録器に入力し記録し、 長時間記録モードの時には、前記符号化された画像デー
タを前記画像再圧縮装置に入力し、再圧縮したのち前記
記録器に記録することを特徴とする画像記録装置。
10. An external input terminal and claims 5 to 9.
The image recompression device according to any one of 1 to 3, and a recorder, wherein encoded image data is input from the external input terminal, and in the normal recording mode, the encoded image data is directly recorded. An image recording apparatus, characterized by inputting to a recording device and recording, and in a long-time recording mode, inputting the coded image data to the image recompressing device, recompressing the image data, and then recording to the recording device. .
JP21863294A 1994-06-08 1994-09-13 Image recompression method and image recompression device Expired - Fee Related JP3166501B2 (en)

Priority Applications (7)

Application Number Priority Date Filing Date Title
JP21863294A JP3166501B2 (en) 1994-09-13 1994-09-13 Image recompression method and image recompression device
EP95108710A EP0687112B1 (en) 1994-06-08 1995-06-07 Image conversion apparatus
DE69535800T DE69535800D1 (en) 1994-06-08 1995-06-07 Image conversion device
EP06011958A EP1701552B1 (en) 1994-06-08 1995-06-07 Image conversion apparatus
DE69535228T DE69535228T2 (en) 1994-06-08 1995-06-07 Image conversion device
US08/477,625 US6005623A (en) 1994-06-08 1995-06-07 Image conversion apparatus for transforming compressed image data of different resolutions wherein side information is scaled
US09/370,244 US6426974B2 (en) 1994-06-08 1999-08-09 Image conversion apparatus for transforming compressed image data of different resolutions wherein side information is scaled

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21863294A JP3166501B2 (en) 1994-09-13 1994-09-13 Image recompression method and image recompression device

Publications (2)

Publication Number Publication Date
JPH0884339A true JPH0884339A (en) 1996-03-26
JP3166501B2 JP3166501B2 (en) 2001-05-14

Family

ID=16722998

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21863294A Expired - Fee Related JP3166501B2 (en) 1994-06-08 1994-09-13 Image recompression method and image recompression device

Country Status (1)

Country Link
JP (1) JP3166501B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6185736B1 (en) 1996-09-30 2001-02-06 Kabushiki Kaisha Toshiba Information transmission apparatus, traffic control apparatus, method of managing bandwidth resources using the same and method of admitting a call, using variable-rate-encoding
WO2005086492A1 (en) * 2004-03-03 2005-09-15 Sony Corporation Data processor, data processing method and encoder
JP2006197600A (en) * 2006-01-12 2006-07-27 Matsushita Electric Ind Co Ltd Coding apparatus and coding method
JP2006262278A (en) * 2005-03-18 2006-09-28 Fuji Xerox Co Ltd Decoder, decoding method, and program therefor
JP2007306158A (en) * 2006-05-09 2007-11-22 Sharp Corp Video stream converting device
US7668441B2 (en) 2003-08-20 2010-02-23 Samsung Electronics Co., Ltd Image recording and reproducing apparatus capable of re-compressing and re-recording recorded data and a method thereof

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6185736B1 (en) 1996-09-30 2001-02-06 Kabushiki Kaisha Toshiba Information transmission apparatus, traffic control apparatus, method of managing bandwidth resources using the same and method of admitting a call, using variable-rate-encoding
USRE42081E1 (en) 1996-09-30 2011-01-25 Kabushiki Kaisha Toshiba Information transmission apparatus, traffic control apparatus, method of managing bandwidth resources using the same and method of admitting a call, using variable-rate encoding
US7668441B2 (en) 2003-08-20 2010-02-23 Samsung Electronics Co., Ltd Image recording and reproducing apparatus capable of re-compressing and re-recording recorded data and a method thereof
WO2005086492A1 (en) * 2004-03-03 2005-09-15 Sony Corporation Data processor, data processing method and encoder
US7933459B2 (en) 2004-03-03 2011-04-26 Sony Corporation Data processing apparatus, the method and coding apparatus
JP2006262278A (en) * 2005-03-18 2006-09-28 Fuji Xerox Co Ltd Decoder, decoding method, and program therefor
JP2006197600A (en) * 2006-01-12 2006-07-27 Matsushita Electric Ind Co Ltd Coding apparatus and coding method
JP4598678B2 (en) * 2006-01-12 2010-12-15 パナソニック株式会社 Encoding apparatus and encoding method
JP2007306158A (en) * 2006-05-09 2007-11-22 Sharp Corp Video stream converting device

Also Published As

Publication number Publication date
JP3166501B2 (en) 2001-05-14

Similar Documents

Publication Publication Date Title
JP3085024B2 (en) Image recompressor and image recording device
US6426974B2 (en) Image conversion apparatus for transforming compressed image data of different resolutions wherein side information is scaled
US6125140A (en) Processing encoded signals
JP4571489B2 (en) Method and apparatus for displaying quantizer parameters in a video coding system
US5777678A (en) Predictive sub-band video coding and decoding using motion compensation
KR20020026198A (en) Video compression
EP1825686A1 (en) System and method for real-time transcoding of digital video for fine-granular scalability
US7436889B2 (en) Methods and systems for reducing requantization-originated generational error in predictive video streams using motion compensation
JP2000511722A (en) Improvements for changing the bit rate of the signal
JP3166501B2 (en) Image recompression method and image recompression device
KR100533025B1 (en) Partitioning apparatus for moving picture data and method
JPH0998421A (en) Image encoding/decoding device
JP2971094B2 (en) Image coding device
US8175151B2 (en) Encoders and image encoding methods
JPH09294263A (en) Image information compressor
JPH0823539A (en) Transcoder in high efficiency encoding
JPH07107464A (en) Picture encoding device and decoding device
KR0128858B1 (en) Apparatus for deciding frame type
JP3087864B2 (en) HDTV signal subband encoding method
KR0164184B1 (en) Encoding controlling apparatus of a mpeg compression disc
KR0123100B1 (en) Encoder for adaptive fast play control and fast play method using it
JP2647230B2 (en) Image decoding device
KR100215446B1 (en) Wide screen image recording method and apparatus
WO2005062623A1 (en) Moving image reproducing method, apparatus and program
JPH05183894A (en) Image encoding/decoding circuit

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees