JPH07131794A - Method and device for coding picture data - Google Patents

Method and device for coding picture data

Info

Publication number
JPH07131794A
JPH07131794A JP27674893A JP27674893A JPH07131794A JP H07131794 A JPH07131794 A JP H07131794A JP 27674893 A JP27674893 A JP 27674893A JP 27674893 A JP27674893 A JP 27674893A JP H07131794 A JPH07131794 A JP H07131794A
Authority
JP
Japan
Prior art keywords
frame
image
block
quantization step
scene change
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.)
Withdrawn
Application number
JP27674893A
Other languages
Japanese (ja)
Inventor
Kimitaka Murashita
君孝 村下
Tsuguo Noda
嗣男 野田
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP27674893A priority Critical patent/JPH07131794A/en
Publication of JPH07131794A publication Critical patent/JPH07131794A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/85Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression
    • H04N19/87Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression involving scene cut or scene change detection in combination with video compression
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/142Detection of scene cut or scene change
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/179Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being a scene or a shot

Abstract

PURPOSE:To secure a transmission frame number in the unit time by applying a quantization step smaller than a quantization step applied to other frame to a frame subject to scene change so as to improve the picture quality of a decoded picture at scene change. CONSTITUTION:A discrimination means 102 discriminates the presence of correlation with respect to a block corresponding to a picture of a preceding frame latched in a reference frame latch means 101. A detection means 111 detects a frame whose picture characteristic is remarkably changed from that of a preceding frame based on discrimination information from the means 102 as a scene change. Thus, a changeover means 112 outputs a value smaller than a usual value as a quantization step in response to a detection signal of a scene change of the means 111. A coding means 103 uses the quantization step of the means 112 to apply information processing of each frame.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、一連の静止画像をそれ
ぞれ複数の画素からなるブロックごとに符号化すること
により動画像の符号化を行う画像データ符号化方法およ
び装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image data encoding method and apparatus for encoding a moving image by encoding a series of still images for each block consisting of a plurality of pixels.

【0002】中間調画像やカラー画像などの多値画像
(以下、単に画像と称する)のデータ量は、あまりにも
膨大であるため、他の数値データのようにそのまま扱う
ことはできない。このため、画像を符号化してそのデー
タ量を高能率に圧縮した後に、画像データベースに蓄積
され、あるいは通信回線を介して伝送されている。
The data amount of a multi-valued image (hereinafter, simply referred to as an image) such as a halftone image or a color image is so huge that it cannot be treated as it is like other numerical data. For this reason, the image is encoded and the amount of data is compressed with high efficiency, and then stored in the image database or transmitted through the communication line.

【0003】画像のデータ量を圧縮する方法としては、
2次元離散コサイン変換方式(DCT方式)や各画素の
色を表す画像データと周囲の画像データから求めた予測
値との差を符号化する予測符号化方式など様々な方法が
ある。
As a method of compressing the amount of image data,
There are various methods such as a two-dimensional discrete cosine transform method (DCT method) and a predictive coding method for coding a difference between image data representing the color of each pixel and a predicted value obtained from surrounding image data.

【0004】DCT方式は、画像を例えば8×8画素か
らなるブロックごとにコサイン変換し、得られた変換係
数を符号化するものである。特に、適応2次元コサイン
変換方式(ADCT方式)は、視覚に適応した閾値を用
いて変換係数を量子化した後に符号化することにより、
高い圧縮率が得られることが知られている。
The DCT method is one in which an image is subjected to cosine transform for each block of 8 × 8 pixels and the obtained transform coefficient is encoded. In particular, the adaptive two-dimensional cosine transform method (ADCT method) quantizes transform coefficients using a threshold value adapted to vision, and then encodes
It is known that a high compression rate can be obtained.

【0005】このADCT方式は、国際電信電話諮問委
員会(CCITT) と国際標準化機構とが共同で設立した作業
部会であるJPEG(Joint Photographic Experts Grou
p)により、静止画像についての国際標準符号化方式(J
PEG方式)に採用されている。JPEG方式は、符号
の出現頻度を統計的に調べて求めたハフマン符号表を用
いて、上述したADCT方式で得られた量子化係数を符
号化する方式である。
This ADCT method is a working group jointly established by the International Telegraph and Telephone Consultative Committee (CCITT) and the International Organization for Standardization (JPEG).
p), the international standard encoding method (J
PEG system). The JPEG method is a method of encoding the quantized coefficients obtained by the above-described ADCT method using a Huffman code table obtained by statistically checking the appearance frequency of the code.

【0006】JPEG方式は、静止画像に対応した符号
化方式であるが、簡易で高画質が得られることから、テ
レビ会議やテレビ電話など動画像の伝送を行う用途への
応用が期待されている。
[0006] The JPEG system is a coding system corresponding to still images, but since it is simple and can obtain high image quality, it is expected to be applied to applications such as video conferences and video telephones for transmitting moving images. .

【0007】[0007]

【従来の技術】図4に、JPEG方式の静止画像符号化
装置の基本構成図を示す。図4において、静止画像デー
タは、ブロックごとにブロックバッファ301に入力さ
れ、DCT変換部302によって、空間周波数分布を表
すDCT係数に変換された後に、量子化部303によっ
て量子化され、得られた量子化係数が、符号化部304
によって符号化されて出力される。
2. Description of the Related Art FIG. 4 shows a basic configuration of a JPEG still image encoding apparatus. In FIG. 4, the still image data is input to the block buffer 301 for each block, converted into DCT coefficients representing the spatial frequency distribution by the DCT conversion unit 302, and then quantized by the quantization unit 303, and obtained. The quantized coefficient is the encoding unit 304.
Is encoded and output.

【0008】JPEGは、DCT係数を量子化する際
に、各空間周波数成分に対して図5に示す量子化マトリ
クスの各成分に比例した量子化ステップを適用すること
を推奨している。この量子化マトリクスは、各空間周波
数成分に対する人間の視覚の感度を調べた実験から得ら
れた値から求められたものであり、図4に示すように、
予め量子化マトリクス保持部305に保持され、量子化
ステップの算出に用いられる。
[0008] When quantizing DCT coefficients, JPEG recommends applying a quantization step proportional to each component of the quantization matrix shown in FIG. 5 to each spatial frequency component. This quantization matrix is obtained from a value obtained from an experiment that examines the sensitivity of human vision to each spatial frequency component, and as shown in FIG.
It is held in the quantization matrix holding unit 305 in advance and used for calculating the quantization step.

【0009】通常は、符号化処理を開始する前に、スケ
ーリングファクタSFと呼ばれる値をレジスタ306に入
力しておき、このスケーリングファクタSFと量子化マト
リクスの各成分とから、演算処理部307によって該当
する空間周波数成分に対する量子化ステップを求め、上
述した量子化部303での量子化に用いている。
Normally, a value called a scaling factor SF is input to the register 306 before starting the encoding process, and the arithmetic processing unit 307 applies the value from the scaling factor SF and each component of the quantization matrix. The quantization step for the spatial frequency component to be obtained is obtained and used for the quantization in the quantization unit 303 described above.

【0010】ここで、上述したスケーリングファクタSF
は、量子化ステップ幅を制御するための制御係数であ
り、静止画像符号化の分野では、符号化しようとする画
像の特徴や利用目的を考慮して、利用者がこのスケーリ
ングファクタSFの値を決定して入力する場合が多い。ま
た、上述した演算処理部307は、例えば、量子化マト
リクスの各成分とスケーリングファクタSFとの積を定数
(例えば50)で除算する演算を行って、量子化ステッ
プを算出している。
Here, the above-mentioned scaling factor SF
Is a control coefficient for controlling the quantization step width.In the field of still image coding, the user sets the value of this scaling factor SF in consideration of the characteristics of the image to be coded and the purpose of use. It is often decided and entered. Further, the arithmetic processing unit 307 described above calculates the quantization step by performing, for example, an operation of dividing the product of each component of the quantization matrix and the scaling factor SF by a constant (for example, 50).

【0011】また、符号化部304は、この量子化係数
の各成分をジグザグスキャンと呼ばれる順序に配列し、
更に、『0』以外の値を持つ有効係数と値が『0』であ
る無効係数の連続長との組み合わせに変換して、これら
の各組み合わせをハフマン符号表307を用いて符号化
する構成となっている。
The encoding unit 304 arranges the components of the quantized coefficient in an order called zigzag scan,
Further, a configuration is provided in which the effective coefficients having values other than “0” and the continuous lengths of invalid coefficients having the value “0” are converted into a combination, and each of these combinations is encoded using the Huffman code table 307. Has become.

【0012】したがって、スケーリングファクタを大き
くして、DCT係数の各成分に対応する量子化ステップ
の値を大きくすると、量子化係数の多数の成分の値が
『0』となり、符号化部304で生成される符号量が大
幅に減少するから、高い圧縮率が得られる。
Therefore, when the scaling factor is increased and the value of the quantization step corresponding to each component of the DCT coefficient is increased, the values of many components of the quantized coefficient become "0" and are generated by the encoding unit 304. A high compression rate can be obtained because the amount of code to be generated is significantly reduced.

【0013】このようにして得られた符号データは、図
6に示す静止画像復元装置によって元の画像に復元され
る。図6に示した静止画像復元装置において、復号処理
部311は、入力符号から量子化係数を復元し、逆量子
化部312は、量子化ステップ生成部313で得られた
量子化ステップを用いて逆量子化することによりDCT
係数を復元する。また、逆DCT変換部314は、この
DCT係数に逆DCT変換処理を施すことにより、各ブ
ロックの画像データを復元して、復元画像保持部315
に順次に送出し、復元画像保持部315がこれらの画像
データを各ブロックに対応するアドレスに順次に格納す
る。
The coded data thus obtained is restored to the original image by the still image restoration device shown in FIG. In the still image restoration device shown in FIG. 6, the decoding processing unit 311 restores the quantized coefficient from the input code, and the inverse quantization unit 312 uses the quantization step obtained by the quantization step generation unit 313. DCT by inverse quantization
Restore the coefficients. The inverse DCT transform unit 314 restores the image data of each block by performing an inverse DCT transform process on this DCT coefficient, and the restored image holding unit 315.
And the restored image holding unit 315 sequentially stores these image data in the addresses corresponding to the blocks.

【0014】このように、画像データ復元装置は、符号
化処理と逆の手順を行うことにより、1画面の画像デー
タを復元する構成となっている。ここで、上述した量子
化ステップ生成部313は、図4に示した静止画像符号
化装置と同様に、量子化マトリクスとスケーリングファ
クタとから量子化係数の各成分に対応する量子化ステッ
プを算出する構成となっている。
As described above, the image data restoration device is configured to restore the image data of one screen by performing the procedure reverse to the encoding process. Here, the quantization step generation unit 313 described above calculates the quantization step corresponding to each component of the quantization coefficient from the quantization matrix and the scaling factor, as in the still image coding apparatus illustrated in FIG. It is composed.

【0015】次に、従来の動画像符号化方式について説
明する。図7に、動画像符号化装置の基本構成図を示
す。図7において、動画像符号化装置は、図4に示した
静止画像符号化装置に、前フレームの各ブロックの量子
化係数から前フレームの画像データを再生する前フレー
ム再生処理部410と、再生された前フレームの画像デ
ータと現フレームの画像データとの差分を求める差分画
像生成部401とを付加した構成となっている。
Next, a conventional moving picture coding system will be described. FIG. 7 shows a basic configuration diagram of the moving picture coding apparatus. In FIG. 7, the moving picture coding apparatus is the same as the still picture coding apparatus shown in FIG. The configuration is such that a difference image generation unit 401 that obtains the difference between the image data of the previous frame and the image data of the current frame is added.

【0016】前フレーム再生処理部410は、図7に示
すように、逆量子化部312により、各ブロックの量子
化係数を量子化ステップ生成部313で得られた量子化
ステップで逆量子化し、得られたDCT係数を逆DCT
変換部314が逆DCT変換することにより、前フレー
ムとの差分画像をブロックごとに再生する構成となって
いる。更に、この差分画像とフレームメモリ411に保
持された前フレームの対応するブロックの画像とを加算
部412によって加算し、この加算結果でフレームメモ
リ411の該当するブロックを更新することにより、前
フレームの画像を再生する構成となっている。
In the previous frame reproduction processing unit 410, as shown in FIG. 7, the inverse quantization unit 312 inversely quantizes the quantized coefficient of each block with the quantization step obtained by the quantization step generation unit 313, Inverse DCT the obtained DCT coefficient
The conversion unit 314 performs inverse DCT conversion to reproduce the difference image from the previous frame for each block. Further, the difference image and the image of the corresponding block of the previous frame held in the frame memory 411 are added by the addition unit 412, and the corresponding block of the frame memory 411 is updated by the addition result, so that the previous frame It is configured to reproduce an image.

【0017】このように、従来の動画像符号化方式にお
いては、各フレームの画像とその前のフレーム画像との
差分画像を符号化し、更に、動き補償などの処理を施す
ことにより、冗長な情報を削減して高い圧縮率を得てい
る。
As described above, in the conventional moving picture coding method, redundant information is obtained by coding the difference image between the image of each frame and the preceding frame image, and further performing processing such as motion compensation. To obtain a high compression rate.

【0018】図8に、上述したようにして得られた符号
から動画像を復元する動画像復元装置の基本構成を示
す。図8において、従来の動画像復元装置は、図6に示
した静止画像復元装置に加算部421を付加し、逆DC
T変換部314で得られた各ブロックの差分画像と復元
画像保持部315に保持された前フレームの画像とを加
算して、現フレームの画像を復元する構成となってい
る。
FIG. 8 shows a basic structure of a moving picture restoring apparatus which restores a moving picture from the code obtained as described above. In FIG. 8, the conventional moving image restoration apparatus adds an addition unit 421 to the still image restoration apparatus shown in FIG.
The difference image of each block obtained by the T conversion unit 314 and the image of the previous frame held in the restored image holding unit 315 are added to restore the image of the current frame.

【0019】一方、JPEG方式を動画像に適用する場
合は、動画像を一連の静止画像から構成されたものとし
て捉え、連続する各フレームを独立した1枚の静止画像
として符号化するので、差分画像を生成する必要はな
く、構成を簡易とすることができる。
On the other hand, when the JPEG method is applied to a moving image, the moving image is regarded as composed of a series of still images, and each successive frame is coded as an independent still image. It is not necessary to generate an image, and the configuration can be simplified.

【0020】しかし、動画像は膨大な数のフレームで構
成されているため、上述したように単純に各フレームを
静止画像として符号化したのでは、符号量が莫大な量と
なってしまう。
However, since a moving image is composed of a huge number of frames, if each frame is simply encoded as a still image as described above, the code amount becomes enormous.

【0021】JPEG方式を適用して動画像を圧縮する
際に、符号量を抑圧するための技法として、本出願人
は、特願平4−77957号「画像データ符号化・復元
方法及びその装置」を既に出願している。
As a technique for suppressing the code amount when compressing a moving image by applying the JPEG system, the applicant of the present invention has filed Japanese Patent Application No. 4-77957 "Image data encoding / decompression method and apparatus thereof". Has already applied.

【0022】この技法は、各フレームを符号化する際
に、ブロックごとに前フレームとの相関を調べ、相関が
少ないと判断したブロックのみを有効ブロックとして符
号化し、有効ブロックの位置を示すブロック情報ととも
に送出するものである。
According to this technique, when each frame is coded, the correlation with the previous frame is checked for each block, only the block determined to have little correlation is coded as a valid block, and block information indicating the position of the valid block is recorded. It is sent with.

【0023】図9に、この技法を適用した動画像符号化
装置の構成例を示す。図9において、フレームメモリ2
01は、前のフレームの画像に相当する画像データを基
準フレームとして保持しており、ブロック判別部202
は、各フレームの画像データをブロックごとに基準フレ
ームの該当ブロックと比較して、相関の有無を判別す
る。このブロック判別部202は、相関が少ないと判断
したブロックを有効ブロックとして判別し、各ブロック
が有効ブロックであるか否かを示す判別情報を出力し、
この判別情報に応じて、符号化処理部204は、有効ブ
ロックのみを符号化し、フレームメモリ201は、有効
ブロックについてのみ新しい画像データで基準フレーム
を更新する。
FIG. 9 shows an example of the configuration of a moving picture coding apparatus to which this technique is applied. In FIG. 9, the frame memory 2
01 holds image data corresponding to the image of the previous frame as a reference frame, and the block determination unit 202
Compares the image data of each frame with the corresponding block of the reference frame for each block to determine whether there is a correlation. The block discrimination unit 202 discriminates a block determined to have a small correlation as a valid block, and outputs discrimination information indicating whether each block is a valid block,
In accordance with this discrimination information, the encoding processing unit 204 encodes only valid blocks, and the frame memory 201 updates the reference frame with new image data only for valid blocks.

【0024】上述した符号化処理部204は、図4に示
した静止画像符号化装置と同様に構成し、ブロック判別
部202から有効ブロックである旨の判別情報が入力さ
れたときに、該当するブロックの符号化処理を行う構成
とすればよい。
The above-mentioned coding processing unit 204 is configured similarly to the still image coding apparatus shown in FIG. 4, and corresponds when the discrimination information indicating that the block is a valid block is input from the block discrimination unit 202. The block encoding process may be performed.

【0025】また、ブロック情報作成部203は、1フ
レーム分の各ブロックについての判定に基づいて、有効
ブロックの位置を示すブロック情報を作成し、符号化処
理部204で得られた符号は、符号バッファ205に順
次に格納される。
Further, the block information creating section 203 creates block information indicating the position of the effective block based on the determination for each block for one frame, and the code obtained by the encoding processing section 204 is the code. The data is sequentially stored in the buffer 205.

【0026】このようにして、1フレームの全てのブロ
ックについての処理が終了したときに、マルチプレクサ
206は、まず、ブロック情報作成部203で得られた
ブロック情報を送出し、次いで、符号バッファ205内
の符号を出力する。
In this way, when the processing for all blocks of one frame is completed, the multiplexer 206 first sends the block information obtained by the block information creating unit 203, and then the code buffer 205 stores the block information. The sign of is output.

【0027】この技法によれば、前フレームから変化し
ている部分のみが、ブロック単位で符号化され、背景部
分のように変化の少ない部分に対応する符号は生成され
ないので、各フレームの符号量を大幅に圧縮することが
できる。
According to this technique, only the part that has changed from the previous frame is coded in block units, and a code corresponding to a part that does not change much like the background part is generated, so the code amount of each frame is increased. Can be significantly compressed.

【0028】一方、上述した符号化装置で得られた符号
データは、図10に示す動画像復元装置によって元の画
像に復元される。図10において、入力された符号デー
タは、符号分割部501によってブロック情報と有効ブ
ロックの符号とに分割され、有効ブロックの符号は、復
元処理部502に入力され、従来と同様にして該当する
ブロックの画像データが復元される。この復元処理部5
02は、図6に示した静止画像復元装置と同様に、復号
処理部311と逆量子化部312と量子化ステップ生成
部313と逆DCT変換部314とで構成すればよい。
On the other hand, the coded data obtained by the above-mentioned coding device is restored to the original image by the moving image restoration device shown in FIG. In FIG. 10, the input code data is divided into block information and a code of a valid block by the code division unit 501, and the code of the valid block is input to the restoration processing unit 502, and the corresponding block is processed in the same manner as in the past. Image data of is restored. This restoration processing unit 5
02 may be configured by a decoding processing unit 311, an inverse quantization unit 312, a quantization step generation unit 313, and an inverse DCT conversion unit 314, similarly to the still image restoration device shown in FIG.

【0029】また、アドレス発生部503は、符号分割
部501によって分割されたブロック情報に基づいて、
有効ブロックのアドレスを順次に算出して復元画像保持
部504に送出する。したがって、復元画像保持部31
5が、アドレス発生部503からのアドレスに基づい
て、復号処理部502で得られた有効ブロックの画像を
順次に格納することにより、1フレームの画像を復元す
ることができる。
Further, the address generator 503, based on the block information divided by the code divider 501,
The addresses of the effective blocks are sequentially calculated and sent to the restored image holding unit 504. Therefore, the restored image holding unit 31
5 sequentially stores the image of the effective block obtained by the decoding processing unit 502 based on the address from the address generation unit 503, so that the image of one frame can be restored.

【0030】[0030]

【発明が解決しようとする課題】ところで、テレビ電話
システムやテレビ会議システムなどにおいては、受信側
で自然な動画像を復元するために、送信側の画像データ
符号化装置は、単位時間当たり所定数のフレームの符号
データを送出する必要がある。
By the way, in a videophone system, a videoconference system, etc., in order to restore a natural moving image on the receiving side, the image data encoding device on the transmitting side has a predetermined number per unit time. It is necessary to send the code data of the frame.

【0031】動画像圧縮の分野では、符号データ量を一
定値に保って、各フレームの伝送時間を均一化するため
に様々な技法が提案されている(例えば、特開昭62-209
984号公報,特開昭63-232691 号公報,特開平3-291081
号公報,特開平4-331592号公報参照) 。
In the field of moving image compression, various techniques have been proposed for keeping the coded data amount constant and making the transmission time of each frame uniform (for example, Japanese Patent Laid-Open No. 62-209).
984, JP-A-63-232691, JP-A-3-291081
(See Japanese Patent Laid-Open No. 4-331592).

【0032】特開昭62-209984 号公報の技法は、現フレ
ームの画像が前フレームの画像から大幅に変化したとき
に、量子化ステップを標準的な値よりも大きくし、以降
のフレームからは、次第に標準的な値に近づけることに
より、フレームごとの符号量の変動を抑える技法であ
る。
In the technique of Japanese Patent Laid-Open No. 62-209984, when the image of the current frame changes significantly from the image of the previous frame, the quantization step is made larger than the standard value, , Is a technique for suppressing the fluctuation of the code amount for each frame by gradually approaching the standard value.

【0033】特開昭63-232691 号公報の技法は、前フレ
ームとの画像の変化の大きさに応じてフレーム内符号化
とフレーム間符号化とを切り換える方式において、符号
化方式の切り換えに応じて、量子化ステップを切り換え
ることにより、各フレームの符号量を均一化する技法で
ある。
The technique disclosed in Japanese Patent Laid-Open No. 63-232691 is a system for switching between intraframe coding and interframe coding in accordance with the magnitude of change in the image from the previous frame. Then, by switching the quantization step, the code amount of each frame is made uniform.

【0034】また、特開平3-291081号公報の技法は、各
フレームの符号量を一定値とするために、各フレームの
符号量に基づいて決定した正規化係数からそのフレーム
に適用する量子化ステップを算出する方式において、前
フレームから大幅に画像内容が変化するシーンチェンジ
の際に、該当するフレームの符号量に基づいて正規化係
数を算出し、以降の各フレームに適用して量子化処理を
行うことにより、高速処理を可能とする技法である。
Further, in the technique disclosed in Japanese Patent Laid-Open No. 3-291081, in order to make the code amount of each frame a constant value, the quantization applied to the frame from the normalization coefficient determined based on the code amount of each frame. In the method of calculating steps, at the time of a scene change where the image content changes significantly from the previous frame, the normalization coefficient is calculated based on the code amount of the corresponding frame and applied to each subsequent frame to perform the quantization processing. Is a technique that enables high-speed processing.

【0035】また、特開平4-331592号公報の技法は、各
ブロックの符号化処理の際に、それまでの処理で得られ
た符号量あるいはその予測値と標準的な符号量との比較
結果に応じて、そのブロックに適用する量子化ステップ
を変更することにより、各フレームの符号量を均一化す
る技法である。
In the technique disclosed in Japanese Patent Laid-Open No. 4-331592, in the coding process of each block, the code amount obtained by the processes up to that point or the result of comparison between the predicted value and the standard code amount is compared. It is a technique for equalizing the code amount of each frame by changing the quantization step applied to that block in accordance with.

【0036】これらの技法は、全てのフレームの全ての
ブロックを符号化することを前提としており、また、符
号データの流量を厳密に一定値とすることを目的として
いる。また、1フレーム内においても量子化ステップ幅
を変更可能とするなど、その構成は非常に複雑である。
These techniques are based on the premise that all blocks of all frames are coded, and that the flow rate of coded data is strictly constant. In addition, the configuration is extremely complicated, such that the quantization step width can be changed within one frame.

【0037】ところで、上述した特願平4−77957
号の技法においては、有効ブロックのみを符号化してい
るので、背景などのように変化の乏しい領域は、シーン
チェンジまで全く更新されない場合が多く、最初あるい
はシーンチェンジ時の画像が次のシーンチェンジ時まで
保持される。
By the way, the above-mentioned Japanese Patent Application No. 4-77957.
In the No. technique, only effective blocks are coded, so areas with little change, such as the background, are often not updated at all until a scene change, and the image at the first or scene change is not updated at the next scene change. Held up.

【0038】一般に、人間の視覚は、変化が激しい領域
の画質の劣化に対しては鈍感であるが、逆に、背景など
の変化の乏しい領域の画質の劣化は敏感に感知すること
が知られている。つまり、利用者が主観的に動画像の画
質を判断する場合には、その判断は背景部分の画質によ
って大きく左右される。
In general, human vision is insensitive to the deterioration of image quality in a region where the change is large, but conversely, it is known that the deterioration of image quality in a region where the change is small such as the background is sensitively sensed. ing. That is, when the user subjectively determines the image quality of a moving image, the determination is greatly influenced by the image quality of the background portion.

【0039】したがって、上述した特願平4−7795
7号の技法に、各フレームの符号量を均一化する技法を
単純に適用したのでは、全体としての画質が大幅に劣化
した印象を利用者に与えてしまう可能性がある。なぜな
らば、この場合には、最初のフレームやシーンチェンジ
のフレームに大きな量子化ステップが適用されるから、
背景部分などの画質が劣化してしまうからである。
Therefore, the above-mentioned Japanese Patent Application No. 4-7795.
If the technique of equalizing the code amount of each frame is simply applied to the technique of No. 7, there is a possibility that the user may get an impression that the overall image quality is significantly deteriorated. Because in this case, a large quantization step is applied to the first frame or the frame of the scene change,
This is because the image quality of the background part and the like is deteriorated.

【0040】一方、各フレームの符号量が厳密に均一化
されていなくても、単位時間に所定のフレーム数分の符
号を送出することが可能であれば、受信側で自然な動画
像を再生することが可能である。
On the other hand, even if the code amount of each frame is not strictly equalized, if a code for a predetermined number of frames can be transmitted in a unit time, a natural moving image is reproduced on the receiving side. It is possible to

【0041】本発明は、動画像の各フレームに含まれる
有効ブロックのみを符号化する画像データ符号化方式に
おいて、単位時間の送出フレーム数を確保するととも
に、復元画像の画質を向上する画像データ符号化方法お
よび装置を提供することを目的とする。
The present invention is an image data coding method for coding only effective blocks included in each frame of a moving image, and an image data code for securing the number of frames to be sent per unit time and improving the image quality of a restored image. An object of the present invention is to provide a method and a device.

【0042】[0042]

【課題を解決するための手段】図1は、本発明の画像デ
ータ符号化方法の原理を示す図である。請求項1の発明
は、一連の静止画像のそれぞれを複数の画素からなるブ
ロックに分割し、各フレームの画像に含まれるブロック
の中から、その前の画像の対応するブロックと相関が無
い有効ブロックを判別し、有効ブロックのみを選択的に
符号化して送出する画像データ符号化方法において、各
フレームの情報に基づいて、そのフレームが前のフレー
ムと画像の特徴が大幅に変化するシーンチェンジである
か否かを判定し、判定結果に応じて、該当するフレーム
の符号化処理で用いる量子化ステップの大きさを切り換
えることを特徴とする。
FIG. 1 is a diagram showing the principle of the image data encoding method of the present invention. The invention of claim 1 divides each of a series of still images into blocks composed of a plurality of pixels, and among blocks included in the image of each frame, an effective block having no correlation with the corresponding block of the previous image. In the image data encoding method of discriminating between the effective frames and selectively encoding and transmitting only the effective block, the frame is a scene change in which the characteristics of the image of the previous frame and the image of the previous frame largely change based on the information of each frame. It is characterized in that the size of the quantization step used in the encoding process of the corresponding frame is switched according to the determination result.

【0043】請求項2の発明は、請求項1の画像データ
符号化方法において、各フレームの有効ブロック数に基
づいて、各フレームがシーンチェンジであるか否かを判
定し、シーンチェンジであるフレームに、標準的な量子
化ステップの値よりも小さい値を適用することを特徴と
する。
According to a second aspect of the present invention, in the image data encoding method according to the first aspect, it is determined whether or not each frame is a scene change based on the number of effective blocks of each frame, and the frame is a scene change. , A value smaller than the standard quantization step value is applied to.

【0044】図2は、本発明の画像データ符号化装置の
原理ブロック図である。請求項3の発明は、一連の静止
画像のそれぞれを複数の画素からなるブロックに分割
し、各フレームの画像の各ブロックについて、基準フレ
ーム保持手段101に保持された前フレームの画像の対
応するブロックとの相関の有無を判別手段102によっ
て判別し、相関の無い有効ブロックのみを符号化手段1
03が符号化し、送出手段104により、有効ブロック
に対応する符号と有効ブロックの位置を示すブロック情
報とともに送出する画像データ符号化装置において、判
別手段102で得られる判別情報に基づいて、前のフレ
ームと画像の特徴が大幅に変化したフレームをシーンチ
ェンジとして検出する検出手段111と、通常は、所定
の値を量子化ステップとして出力し、シーンチェンジを
検出した旨の検出結果に応じて、所定の値よりも小さい
値を量子化ステップとして出力する切換手段112とを
備え、符号化手段103が、切換手段112が出力する
量子化ステップを用いて、各フレームの情報の符号化処
理を行う構成であることを特徴とする。
FIG. 2 is a block diagram showing the principle of the image data coding apparatus of the present invention. According to a third aspect of the invention, each of the series of still images is divided into blocks composed of a plurality of pixels, and for each block of the image of each frame, the corresponding block of the image of the previous frame held in the reference frame holding means 101. Whether or not there is a correlation with is discriminated by the discriminating means 102, and only effective blocks having no correlation are encoded by the encoding means 1.
In the image data coding apparatus, which is coded by 03 and transmitted by the transmitting means 104 together with the code corresponding to the effective block and the block information indicating the position of the effective block, based on the discrimination information obtained by the discrimination means 102, the previous frame And a detection unit 111 that detects a frame in which the characteristics of the image have significantly changed as a scene change, and normally, a predetermined value is output as a quantization step, and a predetermined value is determined according to the detection result indicating that the scene change has been detected. A switching unit 112 that outputs a value smaller than the value as a quantization step is provided, and the encoding unit 103 uses the quantization step output by the switching unit 112 to perform encoding processing of information of each frame. It is characterized by being.

【0045】[0045]

【作用】請求項1の発明は、各フレームがシーンチェン
ジであるか否かによって、そのフレームを符号化する際
に用いる量子化ステップの大きさを制御することができ
る。
According to the first aspect of the invention, the size of the quantization step used when encoding the frame can be controlled depending on whether or not each frame is a scene change.

【0046】請求項2の発明は、各フレームの有効ブロ
ック数に基づいて、シーンチェンジであるか否かを判定
することにより、判定処理を簡易化することができる。
また、シーンチェンジであるフレームに標準よりも小さ
い量子化ステップを適用することにより、該当するフレ
ームの画質を向上することができる。
According to the second aspect of the present invention, the determination process can be simplified by determining whether or not there is a scene change based on the number of effective blocks of each frame.
Also, by applying a quantization step smaller than the standard to a frame that is a scene change, the image quality of the corresponding frame can be improved.

【0047】ここで、有効ブロックのみを符号化する方
式においては、背景部分のように変化の乏しい部分で
は、シーンチェンジ時の画像が保持されるから、シーン
チェンジであるフレームの画質を向上することにより、
以降のフレームにおける背景部分の画質を向上すること
ができ、動画像全体としての画質を効果的に向上するこ
とができる。
Here, in the method of encoding only the effective block, the image at the scene change is held in the part where the change is scarce, such as the background part. Therefore, the image quality of the frame which is the scene change should be improved. Due to
The image quality of the background portion in the subsequent frames can be improved, and the image quality of the entire moving image can be effectively improved.

【0048】また、他のフレームに適用する量子化ステ
ップの値を標準よりも大きい値とすれば、これらのフレ
ームを高い圧縮率で圧縮し、1フレームの伝送時間の平
均値を短縮することができ、これにより、単位時間に伝
送されるフレーム数を確保することができる。
If the value of the quantization step applied to another frame is set to a value larger than the standard, these frames can be compressed at a high compression rate and the average value of the transmission time of one frame can be shortened. Therefore, the number of frames transmitted per unit time can be secured.

【0049】請求項3の発明は、検出手段111が判別
情報に基づいて、シーンチェンジであるフレームを検出
し、この検出結果に応じて、切換手段112が量子化ス
テップを切り換えることにより、該当するフレームに標
準よりも小さい量子化ステップを適用することができ
る。すなわち、有効ブロックのみを符号化する画像デー
タ符号化装置に請求項2の発明を適用し、単位時間に伝
送されるフレーム数を確保するとともに、復元画像の画
質を向上することができる。
The invention of claim 3 is applicable when the detecting means 111 detects a frame which is a scene change based on the discrimination information and the switching means 112 switches the quantization step in accordance with the detection result. A smaller than normal quantization step can be applied to the frame. That is, the invention of claim 2 is applied to an image data encoding device that encodes only effective blocks, so that the number of frames transmitted per unit time can be secured and the quality of a restored image can be improved.

【0050】[0050]

【実施例】以下、図面に基づいて本発明の実施例につい
て詳細に説明する。図3に、請求項3の画像データ符号
化装置の実施例構成図を示す。
Embodiments of the present invention will now be described in detail with reference to the drawings. FIG. 3 shows a block diagram of an embodiment of the image data encoding device of claim 3.

【0051】図3において、請求項3の画像データ符号
化装置は、図9に示した従来の画像データ符号化装置
に、フレームメモリ211と判別情報保持部212と制
御係数設定部220とを付加して構成されている。
In FIG. 3, the image data coding apparatus according to claim 3 has a frame memory 211, a discrimination information holding section 212 and a control coefficient setting section 220 added to the conventional image data coding apparatus shown in FIG. Is configured.

【0052】このフレームメモリ211は、1フレーム
分の画像データに相当する容量を有し、新しいフレーム
の各ブロックの入力に応じて、前のフレームの該当ブロ
ックの画像データを順次に符号化処理部204に送出す
る構成となっている。
The frame memory 211 has a capacity corresponding to one frame of image data, and the image data of the corresponding block of the previous frame is sequentially encoded according to the input of each block of the new frame. It is configured to be sent to 204.

【0053】また、判別情報保持部212は、新しいフ
レームの各ブロックについての判別情報の入力に応じ
て、前のフレームの該当ブロックの判別情報を出力し
て、ブロック情報作成部203に送出する構成となって
いる。例えば、1フレームの全ブロックに相当するビッ
ト長のFIFOを用いて、判別情報保持部212を構成
すればよい。
Further, the discrimination information holding unit 212 outputs the discrimination information of the corresponding block of the previous frame in response to the input of the discrimination information of each block of the new frame, and sends it to the block information generation unit 203. Has become. For example, the discrimination information holding unit 212 may be configured using a FIFO having a bit length corresponding to all blocks in one frame.

【0054】また、フレームメモリ201は、基準フレ
ーム保持手段101に相当するものであり、従来と同様
に、判別手段102に相当するブロック判別部202の
出力に応じて、入力されるブロックの画像データを用い
て基準フレームの画像を更新する構成となっている。一
方、符号化手段103に相当する符号化処理部204
は、判別情報保持部212から出力される判別情報に応
じて、有効ブロックのみを符号化する構成となってい
る。
Further, the frame memory 201 corresponds to the reference frame holding means 101, and in the same manner as in the conventional case, the image data of the block inputted according to the output of the block discrimination section 202 corresponding to the discrimination means 102 Is used to update the image of the reference frame. On the other hand, an encoding processing unit 204 corresponding to the encoding unit 103
Is configured to encode only valid blocks according to the discrimination information output from the discrimination information holding unit 212.

【0055】すなわち、フレームメモリ211と判別情
報保持部212とが画像データと判別情報とを1フレー
ム分遅延させ、次のフレームの有効ブロックの判別処理
と並行して、制御係数設定部220で得られたスケーリ
ングファクタSFを用いて、符号化処理部204が各フレ
ームの符号化処理を行う構成となっている。
That is, the frame memory 211 and the discrimination information holding section 212 delay the image data and the discrimination information by one frame, and the control coefficient setting section 220 obtains them in parallel with the discrimination processing of the effective block of the next frame. The encoding processing unit 204 is configured to perform encoding processing of each frame using the obtained scaling factor SF.

【0056】また、ブロック情報作成部203と符号バ
ッファ205とマルチプレクサ206とは、送出手段1
04に相当するものであり、ブロック情報作成部203
が、判別情報保持部212の出力に基づいて、有効ブロ
ックの位置を表すブロック情報を作成し、符号バッファ
205は、符号化処理部204による符号データを1フ
レーム分だけ保持する構成となっている。また、マルチ
プレクサ206は、1フレーム分の符号化処理が終了し
たときに、まず、ブロック情報作成部203で得られた
ブロック情報を送出し、次いで、符号バッファ205内
の符号データを伝送路に送出する構成となっている。
The block information generator 203, the code buffer 205, and the multiplexer 206 are the sending means 1
The block information creation unit 203 corresponds to the block information creation unit 203.
However, the block information representing the position of the effective block is created based on the output of the discrimination information holding unit 212, and the code buffer 205 holds the code data by the coding processing unit 204 for one frame. . When the encoding process for one frame is completed, the multiplexer 206 first sends the block information obtained by the block information creating unit 203, and then sends the code data in the code buffer 205 to the transmission path. It is configured to do.

【0057】また、図3において、制御係数設定部22
0は、カウンタ221が、ブロック判別部202によっ
て有効とされたブロックの数をフレームごとに計数し、
比較器222が、カウンタ221の計数結果Ncと所定の
閾値Nth とを比較して、この比較結果に応じて、セレク
タ223を制御する構成となっている。
Further, in FIG. 3, the control coefficient setting unit 22
When 0, the counter 221 counts the number of blocks validated by the block determination unit 202 for each frame,
The comparator 222 is configured to compare the counting result Nc of the counter 221 with a predetermined threshold value Nth and control the selector 223 according to the comparison result.

【0058】ここで、カウンタ221は、有効ブロック
である旨の判別結果の入力に応じて計数値を『1』加算
し、1フレーム分の画像データの入力が終了した旨のフ
レーム終了信号に応じて計数結果Ncを出力するととも
に、計数値を初期値『0』にリセットする構成とすれば
よい。また、上述した閾値Nth としては、例えば、1フ
レームのブロック数の95パーセントに相当する値を設
定し、比較器222は、カウンタ221の計数結果Ncが
閾値Nth を超えたときに、該当するフレームがシーンチ
ェンジである旨の判定結果を出力する構成とすればよ
い。
Here, the counter 221 adds "1" to the count value in response to the input of the determination result indicating that the block is a valid block, and in response to the frame end signal indicating that the input of the image data for one frame is completed. The count result Nc is output as a result and the count value is reset to the initial value "0". Further, as the above-described threshold value Nth, for example, a value corresponding to 95% of the number of blocks in one frame is set, and the comparator 222 sets the corresponding frame when the count result Nc of the counter 221 exceeds the threshold value Nth. May be configured to output a determination result indicating that is a scene change.

【0059】これにより、カウンタ221と比較器22
2とにより、検出手段111の機能を実現することがで
きる。また、セレクタ223は、通常はスケーリングフ
ァクタSFl を選択し、シーンチェンジである旨の判定結
果の入力に応じて、スケーリングファクタSFh を選択し
て、符号化処理部204に備えられたレジスタ306に
入力する構成とすればよい。これにより、切換手段11
2と同等の機能を実現し、シーンチェンジのフレームと
他のフレームとで量子化ステップの大きさを切り換える
ことができる。また、スケーリングファクタSFl として
は、標準的な画質を与えるスケーリングファクタよりも
大きい値を設定し、スケーリングファクタSFh として
は、標準的なスケーリングファクタよりも小さい値を設
定すればよい。
As a result, the counter 221 and the comparator 22 are
2 can realize the function of the detection unit 111. Further, the selector 223 normally selects the scaling factor SFl, selects the scaling factor SFh in accordance with the input of the determination result indicating that the scene is changed, and inputs it to the register 306 provided in the encoding processing unit 204. It may be configured to. Thereby, the switching means 11
It is possible to realize the same function as that of 2 and switch the size of the quantization step between the scene change frame and another frame. Further, a value larger than a scaling factor that gives a standard image quality may be set as the scaling factor SFl, and a value smaller than the standard scaling factor may be set as the scaling factor SFh.

【0060】この場合は、シーンチェンジのフレームに
含まれる各ブロックのDCT係数は、標準的な値よりも
小さいスケーリングファクタSFh を用いて算出された量
子化ステップで量子化され、詳細な情報を含んだ符号が
生成される。一方、シーンチェンジ以外のフレームで
は、標準的な値よりも大きいスケーリングファクタSFl
が適用され、これらのフレームの情報は高い圧縮率で圧
縮される。
In this case, the DCT coefficient of each block included in the scene change frame is quantized by the quantization step calculated using the scaling factor SFh smaller than the standard value, and includes detailed information. A code is generated. On the other hand, for frames other than scene changes, the scaling factor SFl larger than the standard value is used.
Is applied, and the information of these frames is compressed at a high compression rate.

【0061】このように、シーンチェンジ以外のフレー
ムの情報を高い圧縮率で圧縮することにより、全体とし
ては、1フレーム当たりの符号の伝送時間の平均値を抑
えることができ、単位時間内に所定数のフレーム分の符
号を送出することが可能となる。
In this way, by compressing the information of the frames other than the scene change at a high compression rate, it is possible to suppress the average value of the transmission time of the code per frame as a whole, and the predetermined value is set within the unit time. It is possible to transmit codes for several frames.

【0062】また、有効ブロックのみを符号化する方式
においては、背景部分のように変化の乏しい部分の画像
は、次のシーンチェンジまで更新されることはない。し
たがって、シーンチェンジのフレームに対応する符号に
基づいて高画質の復元画像が再生されれば、以降のフレ
ームにおいても、変化の乏しい部分では次のシーンチェ
ンジまで高画質な画像が維持される。一方、変化の激し
い部分では、多少の画質の劣化は感知されないので、上
述したようにして、シーンチェンジのフレームの画質を
向上したことにより、動画像全体としての画質を効果的
に向上することができる。
Further, in the method of encoding only the effective block, the image of a portion having a small change such as the background portion is not updated until the next scene change. Therefore, if the restored image of high image quality is reproduced based on the code corresponding to the frame of the scene change, the image of high image quality is maintained until the next scene change even in the subsequent frames in the part where the change is scarce. On the other hand, in the part where the change is drastic, some deterioration of the image quality is not sensed. Therefore, by improving the image quality of the scene change frame as described above, the image quality of the entire moving image can be effectively improved. it can.

【0063】このように、シーンチェンジ時のみに詳細
な情報を含んだ符号を送出することにより、単位時間に
伝送するフレーム数を確保しつつ、動画像全体としての
画質を効果的に向上することが可能であり、受信側で高
画質でかつ自然な動画像を復元することができる。
As described above, by transmitting the code including the detailed information only at the scene change, it is possible to effectively improve the image quality of the entire moving image while securing the number of frames to be transmitted in a unit time. It is possible to restore a high quality and natural moving image on the receiving side.

【0064】なお、上述した制御係数設定部220のセ
レクタ223の出力をブロック情報作成部203に入力
し、ブロック情報とともに選択されたスケーリングファ
クタの値を受信側に送出すれば、受信側の画像データ復
元装置に適切なスケーリングファクタを通知することが
できる。
If the output of the selector 223 of the control coefficient setting unit 220 is input to the block information creating unit 203 and the value of the selected scaling factor is sent together with the block information to the receiving side, the image data of the receiving side is obtained. The restoration device can be notified of the appropriate scaling factor.

【0065】これに応じて、画像データ復元装置は、符
号データからブロック情報とともにスケーリングファク
タを分離し、得られたスケーリングファクタに基づい
て、量子化ステップを決定して逆量子化処理を行えばよ
い。
In response to this, the image data restoration device may separate the block factor from the code data together with the scaling factor, determine the quantization step based on the obtained scaling factor, and perform the inverse quantization process. .

【0066】[0066]

【発明の効果】以上説明したように本発明は、シーンチ
ェンジであるフレームに他のフレームに適用した量子化
ステップよりも小さい量子化ステップを適用して、シー
ンチェンジ時の復元画像の画質を向上することにより、
1フレームの符号データの伝送時間の平均値を抑えて伝
送フレーム数を確保するとともに、動画像の画質を効果
的に向上することができる。
As described above, according to the present invention, the image quality of the restored image at the scene change is improved by applying the quantization step smaller than the quantization step applied to the other frame to the frame which is the scene change. By doing
It is possible to suppress the average value of the transmission time of the code data of one frame to secure the number of transmission frames and to effectively improve the image quality of the moving image.

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

【図1】本発明の画像データ符号化方法の原理を示す図
である。
FIG. 1 is a diagram showing the principle of an image data encoding method of the present invention.

【図2】本発明の画像データ符号化装置の原理ブロック
図である。
FIG. 2 is a block diagram showing the principle of the image data encoding device of the present invention.

【図3】本発明の画像データ符号化装置の実施例構成図
である。
FIG. 3 is a configuration diagram of an embodiment of an image data encoding device of the present invention.

【図4】従来の静止画像符号化装置の基本構成図であ
る。
FIG. 4 is a basic configuration diagram of a conventional still image encoding device.

【図5】量子化マトリクスを示す図である。FIG. 5 is a diagram showing a quantization matrix.

【図6】従来の静止画像復元装置の基本構成図である。FIG. 6 is a basic configuration diagram of a conventional still image restoration device.

【図7】従来の動画像符号化装置の基本構成図である。FIG. 7 is a basic configuration diagram of a conventional moving image encoding device.

【図8】従来の動画像復元装置の基本構成図である。FIG. 8 is a basic configuration diagram of a conventional moving image restoration device.

【図9】JPEG方式を適用した動画像符号化装置の構
成例を示す図である。
[Fig. 9] Fig. 9 is a diagram illustrating a configuration example of a moving image encoding device to which the JPEG method is applied.

【図10】JPEG方式を適用した動画像復元装置の構
成例を示す図である。
FIG. 10 is a diagram showing a configuration example of a moving image restoration device to which the JPEG method is applied.

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

101 基準フレーム保持手段 102 判別手段 103 符号化手段 104 送出手段 111 検出手段 112 切換手段 201,211,411 フレームメモリ 202 ブロック判別部 203 ブロック情報作成部 204 符号化処理部 205 符号バッファ 206 マルチプレクサ 212 判別情報保持部 220 制御係数設定部 221 カウンタ 222 比較器 223 セレクタ 301 ブロックバッファ 302 DCT変換部 303 量子化部 304 符号生成部 305 量子化マトリクス保持部 306 レジスタ 307 演算処理部 308 ハフマン符号表 311 復号処理部 312 逆量子化部 313 量子化ステップ生成部 314 逆DCT変換部 315 復元画像保持部 401 差分画像生成部 410 前フレーム再生処理部 412,421 加算部 501 符号分割部 502 復元処理部 503 アドレス発生部 101 Reference Frame Holding Means 102 Discriminating Means 103 Encoding Means 104 Sending Means 111 Detecting Means 112 Switching Means 201, 211, 411 Frame Memory 202 Block Discriminating Unit 203 Block Information Creating Unit 204 Encoding Processing Unit 205 Code Buffer 206 Multiplexer 212 Discriminating Information Holding unit 220 Control coefficient setting unit 221 Counter 222 Comparator 223 Selector 301 Block buffer 302 DCT conversion unit 303 Quantization unit 304 Code generation unit 305 Quantization matrix holding unit 306 Register 307 Operation processing unit 308 Huffman code table 311 Decoding processing unit 312 Inverse quantization unit 313 Quantization step generation unit 314 Inverse DCT conversion unit 315 Restoration image holding unit 401 Difference image generation unit 410 Previous frame reproduction processing unit 412, 421 Part 501 code division unit 502 restoring unit 503 address generator

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 一連の静止画像のそれぞれを複数の画素
からなるブロックに分割し、各フレームの画像に含まれ
るブロックの中から、その前の画像の対応するブロック
と相関が無い有効ブロックを判別し、前記有効ブロック
のみを選択的に符号化して送出する画像データ符号化方
法において、 各フレームの情報に基づいて、そのフレームが前のフレ
ームと画像の特徴が大幅に変化するシーンチェンジであ
るか否かを判定し、 前記判定結果に応じて、該当するフレームの符号化処理
で用いる量子化ステップの大きさを切り換えることを特
徴とする画像データ符号化方法。
1. A series of still images is divided into blocks each composed of a plurality of pixels, and an effective block having no correlation with a corresponding block of a preceding image is determined from blocks included in the image of each frame. However, in the image data encoding method for selectively encoding and transmitting only the effective block, whether the frame is a scene change in which the characteristics of the image significantly change from those of the previous frame based on the information of each frame. An image data encoding method, characterized by determining whether or not, and switching a size of a quantization step used in encoding processing of a corresponding frame according to the determination result.
【請求項2】 請求項1の画像データ符号化方法におい
て、 各フレームの有効ブロック数に基づいて、各フレームが
シーンチェンジであるか否かを判定し、 シーンチェンジであるフレームに、標準的な量子化ステ
ップの値よりも小さい値を適用することを特徴とする画
像データ符号化方法。
2. The image data encoding method according to claim 1, wherein it is determined whether or not each frame is a scene change based on the number of effective blocks of each frame, and the frame which is a scene change is standardized. An image data encoding method characterized by applying a value smaller than the value of the quantization step.
【請求項3】 一連の静止画像のそれぞれを複数の画素
からなるブロックに分割し、各フレームの画像の各ブロ
ックについて、基準フレーム保持手段(101)に保持
された前フレームの画像の対応するブロックとの相関の
有無を判別手段(102)によって判別し、相関の無い
有効ブロックのみを符号化手段(103)が符号化し、
送出手段(104)により、前記有効ブロックに対応す
る符号と前記有効ブロックの位置を示すブロック情報と
ともに送出する画像データ符号化装置において、 前記判別手段(102)で得られる判別情報に基づい
て、前のフレームと画像の特徴が大幅に変化したフレー
ムをシーンチェンジとして検出する検出手段(111)
と、 通常は、所定の値を量子化ステップとして出力し、前記
シーンチェンジを検出した旨の検出結果に応じて、前記
所定の値よりも小さい値を量子化ステップとして出力す
る切換手段(112)とを備え、 前記符号化手段(103)が、前記切換手段(112)
が出力する量子化ステップを用いて、各フレームの情報
の符号化処理を行う構成であることを特徴とする画像デ
ータ符号化装置。
3. A series of still images are each divided into blocks composed of a plurality of pixels, and for each block of the image of each frame, a corresponding block of the image of the previous frame held in the reference frame holding means (101). Whether or not there is a correlation with is discriminated by the discriminating means (102), and only the effective block having no correlation is encoded by the encoding means (103),
In an image data encoding device for transmitting by a sending means (104) together with a code corresponding to the valid block and block information indicating a position of the valid block, based on the discrimination information obtained by the discrimination means (102), Detection means (111) for detecting a frame in which the characteristics of the frame and the image have significantly changed as a scene change
And a switching means (112) for outputting a predetermined value as the quantization step, and outputting a value smaller than the predetermined value as the quantization step in accordance with the detection result indicating that the scene change has been detected. And the encoding means (103) includes the switching means (112).
An image data encoding device, which is configured to perform encoding processing of information of each frame by using a quantization step output by.
JP27674893A 1993-11-05 1993-11-05 Method and device for coding picture data Withdrawn JPH07131794A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27674893A JPH07131794A (en) 1993-11-05 1993-11-05 Method and device for coding picture data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27674893A JPH07131794A (en) 1993-11-05 1993-11-05 Method and device for coding picture data

Publications (1)

Publication Number Publication Date
JPH07131794A true JPH07131794A (en) 1995-05-19

Family

ID=17573797

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27674893A Withdrawn JPH07131794A (en) 1993-11-05 1993-11-05 Method and device for coding picture data

Country Status (1)

Country Link
JP (1) JPH07131794A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003264838A (en) * 2002-03-08 2003-09-19 Canon Inc Image processing apparatus, image processing method, program, and storage medium
JP2006020354A (en) * 2005-08-03 2006-01-19 Denso Corp Coding instrument of dynamic image information

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003264838A (en) * 2002-03-08 2003-09-19 Canon Inc Image processing apparatus, image processing method, program, and storage medium
JP2006020354A (en) * 2005-08-03 2006-01-19 Denso Corp Coding instrument of dynamic image information
JP4508029B2 (en) * 2005-08-03 2010-07-21 株式会社デンソー Encoding device for moving picture information

Similar Documents

Publication Publication Date Title
US6304606B1 (en) Image data coding and restoring method and apparatus for coding and restoring the same
US5438374A (en) System and method for filtering video signals
JP2630809B2 (en) Video image transmission system
CA2037444C (en) Video signal hybrid-coding systems
JPH05176310A (en) Device for controlling quantizer of hybrid coder
JPH08256335A (en) Apparatus and method for determining quantization parameter
KR20010110629A (en) Method and system for compressing motion image information
JPH0787491A (en) Quantization device, inverse quantization device, picture processing unit and quantization method, reversed quantization method and picture processing method
JPH05284368A (en) Method and device for encoding/restoring image data
KR100220582B1 (en) Image encoder having adaptive coding
US6631161B1 (en) Method and system for compressing motion image information
JPH07131794A (en) Method and device for coding picture data
JPH07222173A (en) Picture processor
JPH05284369A (en) Method and device for encoding/restoring image data
JP3005147B2 (en) Video encoding device
JPH05316359A (en) Picture data coder
JPS63160495A (en) Coded transmission for image
JP2916027B2 (en) Image coding device
JPH07131787A (en) Method and device for coding picture data
JPH08256337A (en) Moving image coder
JPS63177672A (en) Picture encoding transmission system
KR0174443B1 (en) Method and apparatus for encoding still image using adaptive vector quantization
JPH05227513A (en) Video signal transmitter
JPH02222388A (en) Moving picture encoding method
KR100242832B1 (en) Apparatus for generating quantization step value

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20010130