[go: up one dir, main page]

JP2000287211A - Image compressor - Google Patents

Image compressor

Info

Publication number
JP2000287211A
JP2000287211A JP9396599A JP9396599A JP2000287211A JP 2000287211 A JP2000287211 A JP 2000287211A JP 9396599 A JP9396599 A JP 9396599A JP 9396599 A JP9396599 A JP 9396599A JP 2000287211 A JP2000287211 A JP 2000287211A
Authority
JP
Japan
Prior art keywords
motion
motion detection
unit
data
compensation prediction
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
JP9396599A
Other languages
Japanese (ja)
Other versions
JP4238408B2 (en
Inventor
Seiichi Takado
清一 高堂
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sony Group Corp
Original Assignee
Aiwa Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Aiwa Co Ltd filed Critical Aiwa Co Ltd
Priority to JP9396599A priority Critical patent/JP4238408B2/en
Publication of JP2000287211A publication Critical patent/JP2000287211A/en
Application granted granted Critical
Publication of JP4238408B2 publication Critical patent/JP4238408B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

PROBLEM TO BE SOLVED: To obtain an image compressor where degradation in the image quality can be prevented. SOLUTION: A data converter 10 converts coded data in compliance with the motion JPEG into coded data in compliance with the MPEG. The data converter 10 is provided with a motion compensation prediction section 60 that preliminarily detect a motion in a prescribed area prior to a motion retrieval (motion detection) by an extended motion compensation prediction section 62 of an MPEG encode section 30 provided to the data converter and an object area for motion detection by the extended motion compensation prediction section 62 is set on the basis of the result of motion detection by the motion compensation prediction section 60.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、画像圧縮装置に係
り、より詳しくは、圧縮対象とする動画像データに対す
る動き検出を行ない、該動き検出の結果に基づいて動き
の状態を示す情報を生成し、該動きの状態を示す情報に
基づいて上記動画像データを圧縮する画像圧縮装置に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image compressing apparatus, and more particularly, to detecting a motion of moving image data to be compressed and generating information indicating a motion state based on the result of the motion detection. The present invention also relates to an image compression device for compressing the moving image data based on information indicating the state of the movement.

【0002】[0002]

【従来の技術】近年、動画像の圧縮方式(符号化方式)
としてMPEG(Moving Picture coding Experts Grou
p)及びモーションJPEG(Joint Photographic codi
ng Experts Group)が広く用いられている。
2. Description of the Related Art In recent years, a moving image compression method (encoding method) has been proposed.
MPEG (Moving Picture coding Experts Grou
p) and Motion JPEG (Joint Photographic codi)
ng Experts Group) is widely used.

【0003】例えば、図5(A)に示すように、人の動
きを表す3つの画像80A、80B及び80Cによって
動画像が構成されており、画像80Bを画像80Aに基
づいて構成する場合、図5(B)に示すように、画像8
0A及び画像80Bの間で動いている画素(この場合は
人を示す画素)を検出(以下、動き検出という)し、こ
の動きの量(ベクトル量)だけ画像80Aにおける上記
動いている画素をずらしてやればよい。
For example, as shown in FIG. 5A, a moving image is composed of three images 80A, 80B, and 80C representing the movement of a person, and when the image 80B is composed based on the image 80A, the figure As shown in FIG.
0A and a pixel (in this case, a pixel indicating a person) moving between the image 80A and the image 80B are detected (hereinafter, referred to as motion detection), and the moving pixel in the image 80A is shifted by this motion amount (vector amount). Do it.

【0004】逆にいえば、画像80Bは、画像80Aに
上記動きの量を示す情報があれば構成することができ
る。MPEGでは、このことを利用して画像データを圧
縮している。
[0004] Conversely, an image 80B can be constructed if the image 80A has information indicating the amount of the movement. MPEG uses this to compress image data.

【0005】なお、MPEGでは、上記動きの量を示す
情報を動きベクトルデータと呼んでおり、該動きベクト
ルデータの生成を、画像80Aの所定領域に対応する画
像80Bの領域とその近傍に、画像80Aにおける上記
所定領域のなかの画素群と略同様の画素群があるか否か
を探索することによって行なっている。
In the MPEG, the information indicating the amount of motion is referred to as motion vector data. The generation of the motion vector data is performed in an area of an image 80B corresponding to a predetermined area of the image 80A and in the vicinity thereof. This is performed by searching for a pixel group that is substantially the same as the pixel group in the predetermined area at 80A.

【0006】また、MPEGでは、信号対雑音比(Sign
al to Noise Ratio、以下、SNRという)を向上させ
るために、画像を16×16画素のマクロブロックに分
割し、各マクロブロックに対して0.5の画素(=画素
間の平均)を用意して、動きベクトルデータの精度を向
上している。
[0006] In MPEG, the signal-to-noise ratio (Sign
To improve the al to noise ratio (SNR), the image is divided into macroblocks of 16x16 pixels, and 0.5 pixels (= average between pixels) are prepared for each macroblock. Thus, the accuracy of the motion vector data is improved.

【0007】一方、モーションJPEGは、カラー静止
画符号化の国際標準であるJPEGに基づいて圧縮した
カラー静止画を、連続して再生することで動画表示を実
現する方式であり、MPEG等の高度な圧縮アルゴリズ
ムを持つ符号化方式よりも映像のデジタル化が容易であ
り、編集作業等で画像1フレーム毎の処理がし易い等の
効果がある反面、圧縮率はあまり高くない。
[0007] On the other hand, motion JPEG is a method for realizing moving image display by continuously reproducing color still images compressed based on JPEG, which is an international standard for color still image coding. It is easier to digitize a video than an encoding method having a simple compression algorithm, and it is easy to perform processing for each frame of an image in an editing operation or the like. However, the compression ratio is not so high.

【0008】このため、モーションJPEGによる符号
化データを、より圧縮率の高いMPEGによる符号化デ
ータに変換するデータ変換装置の需要が高まっており、
この種の従来のデータ変換装置は一般に図6に示すよう
に構成されていた。
For this reason, there is an increasing demand for a data converter for converting encoded data based on Motion JPEG into encoded data based on MPEG having a higher compression rate.
This type of conventional data conversion device is generally configured as shown in FIG.

【0009】すなわち、同図に示す従来のデータ変換装
置90は、可変長復号部22、逆量子化部24及び逆D
CT部26を含んで構成されたJPEGデコード部20
と、並び替え部32、演算部34、DCT部36、量子
化部38、可変長符号化部40、ハフマンテーブル4
2、逆量子化部44、逆DCT部46、演算部48、動
き補償予測部50、バッファ52及びビットレート制御
部54を含んで構成されたMPEGエンコード部30
と、を備えている。
That is, the conventional data converter 90 shown in FIG. 1 includes a variable length decoding unit 22, an inverse quantization unit 24, and an inverse D
JPEG decoding section 20 including CT section 26
And the rearrangement unit 32, the operation unit 34, the DCT unit 36, the quantization unit 38, the variable length encoding unit 40, and the Huffman table 4.
2. MPEG encoding unit 30 including inverse quantization unit 44, inverse DCT unit 46, operation unit 48, motion compensation prediction unit 50, buffer 52, and bit rate control unit 54
And

【0010】このデータ変換装置90では、JPEGデ
コード部20によってモーションJPEGによる符号化
データが復号されて復号画像データとして出力され、該
復号画像データがMPEGエンコード部30によってM
PEGによる符号化データに変換されていた。
[0010] In the data conversion device 90, motion JPEG encoded data is decoded by the JPEG decoding unit 20 and output as decoded image data.
It had been converted to PEG encoded data.

【0011】[0011]

【発明が解決しようとする課題】しかしながら、上記従
来のデータ変換装置では、JPEGデコード部とMPE
Gエンコード部とが独立して構成されていたため、MP
EGによる符号化の制約によって、動きが速い動画像を
高精度に予測することができず、画質が低下する、とい
う問題点があった。このことを具体的に説明すると次の
ようになる。
However, in the conventional data converter, the JPEG decoding unit and the MPE
Because the G encoding unit was configured independently,
Due to the restriction of encoding by the EG, there is a problem that a moving image having a fast motion cannot be predicted with high accuracy, and the image quality deteriorates. This will be specifically described as follows.

【0012】MPEGでリアルタイムに動画像データを
エンコードするためには膨大な時間を要する。すなわ
ち、例えば図5における画像80Aと画像80Bとの差
分Sを絶対値で求めるとすると、差分Sは次の(1)式
で求められる。
It takes an enormous amount of time to encode moving image data in real time using MPEG. That is, for example, if the difference S between the image 80A and the image 80B in FIG. 5 is obtained by an absolute value, the difference S is obtained by the following equation (1).

【0013】 S=(B−A)^2 (1) ここで、Bは画像80Bの所定領域の画素を、Aは画像
80Aの上記画素Bに対応する画素を、各々示す。すな
わち、ここでの演算数としては2回となる。
S = (BA) ^ 2 (1) Here, B indicates a pixel in a predetermined area of the image 80B, and A indicates a pixel corresponding to the pixel B of the image 80A. That is, the number of operations here is two.

【0014】画像80Aを16×16画素のマクロブロ
ックに分割すると共に、動き探索の範囲を上下左右各3
2画素とした場合、探索する画素数は65^2(=(+
32−(−32)+1)×(+32−(−32)+
1))となり、画像信号が720画素×480ライン×
30フレームである場合、720画素×480ラインは
45×30マクロブロックであるので、1秒間に必要な
演算量は約876億回(=2×65^2×45×30×
30×16×16)となる。この値は探索範囲を広くす
るほど大きくなることはいうまでもない。
The image 80A is divided into macroblocks of 16 × 16 pixels, and the range of motion search is up, down, left, and right.
When two pixels are set, the number of pixels to be searched is 65/2 (= (+
32-(− 32) +1) × (+32 − (− 32) +
1)), and the image signal is 720 pixels × 480 lines ×
In the case of 30 frames, 720 pixels × 480 lines are 45 × 30 macroblocks, so the amount of calculation required per second is about 87.6 billion times (= 2 × 65 ^ 2 × 45 × 30 ×
30 × 16 × 16). Needless to say, this value increases as the search range is increased.

【0015】このようにMPEGによるエンコードには
膨大な時間を要するため、探索範囲は通常±128画素
程度に制限されており、このため動きの激しい動画像で
は探索しきれずにデータ量が増えたりSNRが劣化(画
質が低下)したりするのである。
As described above, since a large amount of time is required for encoding by MPEG, the search range is usually limited to about ± 128 pixels. Therefore, a moving image having a large amount of motion cannot be completely searched and the data amount increases or the SNR increases. Is deteriorated (image quality is deteriorated).

【0016】本発明は上記問題点を解消するために成さ
れたものであり、画質の低下を防止することができる画
像圧縮装置を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and has as its object to provide an image compression apparatus capable of preventing a decrease in image quality.

【0017】[0017]

【課題を解決するための手段】上記目的を達成するため
に、請求項1記載の画像圧縮装置は、動き検出手段によ
って圧縮対象とする動画像データに対する動き検出が行
なわれ、該動き検出の結果に基づいて動きの状態を示す
情報が生成され、該動きの状態を示す情報に基づいて上
記動画像データが圧縮される画像圧縮装置であって、該
画像圧縮装置には上記動き検出手段による動き検出に先
立って所定領域における予備的な動き検出を行なう予備
動き検出手段が備えられており、該予備動き検出手段に
よる動き検出の結果に基づいて上記動き検出手段による
動き検出の対象領域が設定される。
According to a first aspect of the present invention, there is provided an image compression apparatus, wherein a motion detecting means detects a motion of moving image data to be compressed by a motion detecting means. An image compression apparatus that generates information indicating a state of motion based on the motion information, and compresses the moving image data based on the information indicating the state of motion. Preliminary motion detection means for performing preliminary motion detection in a predetermined area prior to detection is provided, and a target area for motion detection by the motion detection means is set based on a result of motion detection by the preliminary motion detection means. You.

【0018】このように、請求項1に記載の画像圧縮装
置によれば、動き検出手段による動き検出に先立って所
定領域における予備的な動き検出を行なう予備動き検出
手段を備えると共に、動き検出手段が予備動き検出手段
による動き検出の結果に基づいて動き検出の対象領域を
設定しているので、圧縮対象とする動画像の動きが速い
場合であっても該速い動きに追従することができ、従っ
てSNRを改善することができ、この結果として画像圧
縮における画質の低下を防止することができる。
As described above, according to the image compression apparatus of the first aspect, the preliminary motion detection means for performing preliminary motion detection in a predetermined area prior to the motion detection by the motion detection means is provided. Since the target area of the motion detection is set based on the result of the motion detection by the preliminary motion detection means, even if the motion of the moving image to be compressed is fast, it is possible to follow the fast motion, Therefore, the SNR can be improved, and as a result, a decrease in image quality in image compression can be prevented.

【0019】また、請求項2記載の画像圧縮装置のよう
に、請求項1記載の発明において、動き検出手段が、予
備動き検出手段による動き検出の結果、動いているもの
が検出された場合には該動いているもの及びその周辺を
動き検出の対象領域とし、動いているものが検出されな
かった場合には上記所定領域より外側の領域を動き検出
の対象領域とすることが好ましい。
According to a second aspect of the present invention, as in the image compression apparatus according to the first aspect, the motion detecting means detects a moving object as a result of the motion detection by the preliminary motion detecting means. It is preferable that the moving object and its surroundings are set as a motion detection target region, and if no moving object is detected, a region outside the predetermined region is set as a motion detection target region.

【0020】すなわち、予備動き検出手段によって動い
ているものが検出された場合には動き検出手段によって
該動いているもの及びその周辺がより詳細に探索される
ので、より高精度な動きの状態を示す情報を生成するこ
とができ、予備動き検出手段によって動いているものが
検出されなかった場合には動き検出手段によって予備動
き検出手段による動き検出の対象とされた所定領域の外
側の領域について動き検出が行なわれるので、短時間で
かつ高精度に動いているものの検出が可能となり、これ
らの結果として画像圧縮における画質の低下を防止する
ことができる。
That is, when a moving object is detected by the preliminary motion detecting means, the moving object and its surroundings are searched in more detail by the motion detecting means. Information that can be generated, and if no moving object is detected by the preliminary motion detecting means, the motion detecting means detects motion in an area outside the predetermined area which is the target of motion detection by the preliminary motion detecting means. Since the detection is performed, it is possible to detect a moving object in a short time and with high accuracy, and as a result, it is possible to prevent a decrease in image quality in image compression.

【0021】また、請求項3記載の画像圧縮装置では、
請求項1又は請求項2記載の発明において、動き検出手
段による動き検出の結果に基づいて生成された動きの状
態を示す情報が予備動き検出手段にフィードバックさ
れ、予備動き検出手段によって、上記フィードバックさ
れた動きの状態を示す情報に基づいて動き検出の領域が
設定される。
In the image compression apparatus according to the third aspect,
The information indicating the state of the motion generated based on the result of the motion detection by the motion detecting means is fed back to the preliminary motion detecting means, and the feedback is performed by the preliminary motion detecting means. A motion detection area is set based on the information indicating the state of the motion.

【0022】このように、請求項3に記載の画像圧縮装
置によれば、動き検出手段による動き検出の結果に基づ
いて生成された動きの状態を示す情報を予備動き検出手
段にフィードバックし、予備動き検出手段では、フィー
ドバックされた動きの状態を示す情報に基づいて動き検
出の領域を設定しているので、動画像中の動いているも
のを検出することができる確率を向上することができ、
この結果として、画像圧縮における画質の低下を、より
抑制することができる。
Thus, according to the image compression apparatus of the third aspect, the information indicating the state of the motion generated based on the result of the motion detection by the motion detecting means is fed back to the preliminary motion detecting means, In the motion detecting means, since the area of motion detection is set based on the information indicating the state of the motion fed back, it is possible to improve the probability of detecting a moving object in a moving image,
As a result, a decrease in image quality in image compression can be further suppressed.

【0023】ところで、一般に、周波数領域での動き探
索によって得られた動きの状態を示す情報によって再現
される動画像は、視覚上のSNRが優れている、という
性質が知られている。
In general, it is known that a moving image reproduced by information indicating a motion state obtained by a motion search in a frequency domain has an excellent visual SNR.

【0024】そこで、請求項4記載の画像圧縮装置で
は、請求項1乃至請求項3の何れか1項記載の発明にお
いて、予備動き検出手段による予備的な動き検出が周波
数領域で行なわれる。
Therefore, in the image compression apparatus according to the fourth aspect, in the invention according to any one of the first to third aspects, the preliminary motion detection by the preliminary motion detection means is performed in the frequency domain.

【0025】このように、請求項4に記載の画像圧縮装
置によれば、予備動き検出手段が予備的な動き検出を周
波数領域で行なっているので、動き検出を実空間領域で
行なう場合に比較して画像圧縮における画質の低下を、
より抑制することができる。
As described above, according to the image compression apparatus of the present invention, since the preliminary motion detection means performs preliminary motion detection in the frequency domain, it can be compared with the case where motion detection is performed in the real space domain. To reduce image quality in image compression.
It can be more suppressed.

【0026】[0026]

【発明の実施の形態】以下、図面を参照して、本発明の
画像圧縮装置を、モーションJPEGによる符号化デー
タをMPEGによる符号化データに変換するデータ変換
装置に適用した場合の実施の形態について詳細に説明す
る。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Referring to the drawings, an embodiment in which an image compression apparatus according to the present invention is applied to a data conversion apparatus for converting encoded data according to motion JPEG into encoded data according to MPEG. This will be described in detail.

【0027】〔第1実施形態〕まず、図1を参照して、
本第1実施形態に係るデータ変換装置10の構成につい
て説明する。同図に示すように、本第1実施形態に係る
データ変換装置10は、モーションJPEGによる符号
化データを復号して復号画像データとして出力するJP
EGデコード部20と、JPEGデコード部20によっ
て出力された復号画像データをMPEG圧縮して符号化
データとして出力するMPEGエンコード部30とを含
んで構成されている。
[First Embodiment] First, referring to FIG.
The configuration of the data conversion device 10 according to the first embodiment will be described. As shown in the figure, a data conversion device 10 according to the first embodiment decodes encoded data based on motion JPEG and outputs the decoded data as decoded image data.
It includes an EG decoding unit 20 and an MPEG encoding unit 30 that MPEG-decodes the decoded image data output by the JPEG decoding unit 20 and outputs it as encoded data.

【0028】JPEGデコード部20には、入力された
データをハフマン復号する可変長復号部22が備えられ
ており、可変長復号部22の出力端は入力されたデータ
に対して逆量子化を行う逆量子化部24を介して、入力
されたデータに対して逆離散コサイン変換演算を行う逆
離散コサイン変換部(以下、逆DCT部という)26の
入力端に接続されている。
The JPEG decoding unit 20 is provided with a variable length decoding unit 22 for Huffman decoding input data, and an output terminal of the variable length decoding unit 22 performs inverse quantization on the input data. It is connected to an input terminal of an inverse discrete cosine transform unit (hereinafter, referred to as an inverse DCT unit) 26 that performs an inverse discrete cosine transform operation on the input data via an inverse quantization unit 24.

【0029】一方、MPEGエンコード部30には、入
力された画像データをMPEGのIピクチャ、Pピクチ
ャ及びBピクチャの各ピクチャに圧縮するための演算が
都合よく行えるように並び替える並び替え部32が備え
られており、並び替え部32の入力端は上記逆DCT部
26の出力端に、並び替え部32の一方の出力端は演算
部34のプラス側入力端に接続されている。
On the other hand, the MPEG encoding unit 30 includes a rearrangement unit 32 for rearranging the input image data so that the operation for compressing the input image data into each of I, P, and B pictures of MPEG can be conveniently performed. The input terminal of the rearrangement unit 32 is connected to the output terminal of the inverse DCT unit 26, and one output terminal of the rearrangement unit 32 is connected to the plus input terminal of the operation unit 34.

【0030】演算部34の出力端は、入力された画像デ
ータを8×8画素のブロックに分割して各ブロック毎に
離散コサイン変換演算を行ってスペクトル化する離散コ
サイン変換部(以下、DCT部という)36を介して、
入力されたデータ(DCT係数)をDC成分(直流成
分)とAC成分(交流成分)とで独立して量子化して高
域成分を除去する量子化部38の入力端に接続されてい
る。
An output terminal of the arithmetic unit 34 is a discrete cosine transform unit (hereinafter referred to as a DCT unit) that divides the input image data into blocks of 8 × 8 pixels, performs a discrete cosine transform operation for each block, and converts it into a spectrum. Through 36)
The input data (DCT coefficient) is connected to an input terminal of a quantization unit 38 for independently quantizing a DC component (DC component) and an AC component (AC component) to remove a high-frequency component.

【0031】量子化部38の出力端は2つに分岐され
て、一方は入力されたデータをハフマンテーブル42に
基づいてハフマン符号化してデータ量を削減する可変長
符号化部40の入力端に接続され、他方は入力されたデ
ータに対して逆量子化を行う逆量子化部44と、入力さ
れたデータに対して逆離散コサイン変換演算を行う逆離
散コサイン変換部(以下、逆DCT部という)46とを
順に介して演算部48の一方の入力端に接続されてい
る。
The output terminal of the quantization unit 38 is branched into two, and one is connected to the input terminal of a variable length coding unit 40 for reducing the amount of data by Huffman coding the input data based on the Huffman table 42. The other is connected, and the other is an inverse quantization unit 44 that performs inverse quantization on the input data, and an inverse discrete cosine transform unit (hereinafter, referred to as an inverse DCT unit) that performs an inverse discrete cosine transform operation on the input data. ) 46 are sequentially connected to one input terminal of a calculation unit 48.

【0032】一方、並び替え部32の他方の出力端はJ
PEGデコード部20によって得られた復号画像データ
に対する動き補償予測を行なう動き補償予測部60の一
方の入力端に接続されている。
On the other hand, the other output terminal of the rearranging section 32 is J
It is connected to one input terminal of a motion compensation prediction unit 60 that performs motion compensation prediction on the decoded image data obtained by the PEG decoding unit 20.

【0033】また、動き補償予測部60の出力端及び演
算部48の出力端は、演算部48を介して入力された画
像データに対する動き補償予測を行う拡大動き補償予測
部62の各入力端に各々接続されており、拡大動き補償
予測部62の出力端は3つに分岐されて、各々動き補償
予測部60の他方の入力端、演算部34のマイナス側入
力端及び演算部48の他方の入力端に接続されている。
The output terminal of the motion compensation prediction unit 60 and the output terminal of the calculation unit 48 are connected to the respective input terminals of the extended motion compensation prediction unit 62 that performs motion compensation prediction on the image data input via the calculation unit 48. The output terminals of the extended motion compensation prediction unit 62 are branched into three, and the other input terminal of the motion compensation prediction unit 60, the minus input terminal of the operation unit 34, and the other end of the operation unit 48 are connected to each other. Connected to input terminal.

【0034】一方、可変長符号化部40の出力端は符号
化データを一時的に記憶するバッファ52に接続されて
おり、バッファ52の一方の出力端は符号化データの転
送レートを制御するビットレート制御部54を介して上
記量子化部38に接続されている。
On the other hand, the output terminal of the variable length coding unit 40 is connected to a buffer 52 for temporarily storing coded data, and one output terminal of the buffer 52 is a bit for controlling a transfer rate of the coded data. It is connected to the quantization unit 38 via a rate control unit 54.

【0035】更に、上記バッファ52の他方の出力端は
データ変換装置10の符号化データを出力する端子に接
続されている。
Further, the other output terminal of the buffer 52 is connected to a terminal of the data converter 10 for outputting encoded data.

【0036】動き補償予測部60が本発明の予備動き検
出手段に、拡大動き補償予測部62が本発明の動き検出
手段に、各々相当する。
The motion compensation prediction section 60 corresponds to the preliminary motion detection means of the present invention, and the enlarged motion compensation prediction section 62 corresponds to the motion detection means of the present invention.

【0037】次に、図1及び図2を参照して、本第1実
施形態に係るデータ変換装置10の作用について説明す
る。
Next, the operation of the data converter 10 according to the first embodiment will be described with reference to FIGS.

【0038】まず、変換すべきモーションJPEGによ
る符号化データが可変長復号部22に入力されると、該
可変長復号部22は入力された符号化データを可変長復
号し、該可変長復号した符号化データを逆量子化部24
によって逆量子化した後、逆DCT部26によって逆離
散コサイン変換演算して復号画像データを得る。
First, when the coded data according to the motion JPEG to be converted is input to the variable length decoding unit 22, the variable length decoding unit 22 performs variable length decoding on the input coded data and performs variable length decoding. Decoding the encoded data into an inverse quantization unit 24
After inverse quantization, the inverse DCT unit 26 performs an inverse discrete cosine transform operation to obtain decoded image data.

【0039】この復号画像データを並び替え部32に入
力して該並び替え部32によって並び替えを行ない、I
ピクチャに対応する復号画像データに対してDCT部3
6によって離散コサイン変換演算を行ない、その後に量
子化部38によって量子化演算を行なって高域成分を除
去する。
The decoded image data is input to the rearranging section 32 and rearranged by the rearranging section 32.
DCT unit 3 for the decoded image data corresponding to the picture
6, a discrete cosine transform operation is performed, and then a quantization operation is performed by the quantization unit 38 to remove high-frequency components.

【0040】その後、量子化部38によって高域成分を
除去したデータを可変長符号化部40によってハフマン
符号化して順次バッファ52に記憶し、Iピクチャの符
号化データとして出力する。
Thereafter, the data from which the high-frequency components have been removed by the quantization unit 38 are Huffman-encoded by the variable-length encoding unit 40, sequentially stored in the buffer 52, and output as I-picture encoded data.

【0041】その後に本実施形態に係るデータ変換装置
10では、逆量子化部44、逆DCT部46、演算部4
8及び拡大動き補償予測部62によって構成されるフィ
ードバック系と動き補償予測部60とによってPピクチ
ャ及びBピクチャに対応する復号画像データの動き検出
が次のように行なわれる。
Thereafter, in the data converter 10 according to the present embodiment, the inverse quantization unit 44, the inverse DCT unit 46, and the arithmetic unit 4
8 and the motion compensation prediction unit 60, the motion detection of the decoded image data corresponding to the P picture and the B picture is performed as follows.

【0042】並び替え部32による並び替え後の画像デ
ータは動き補償予測部60に入力され、該動き補償予測
部60では入力された画像データ72を図2(A)に示
すように所定大きさ(本実施形態では16×16画素)
のマクロブロック70に分割して、3×3個のマクロブ
ロック、すなわち9個のマクロブロックの動き探索(動
き検出)を行なう。
The image data after the rearrangement by the rearrangement unit 32 is input to the motion compensation prediction unit 60. The motion compensation prediction unit 60 converts the input image data 72 into a predetermined size as shown in FIG. (16 × 16 pixels in this embodiment)
, A motion search (motion detection) of 3 × 3 macroblocks, that is, nine macroblocks is performed.

【0043】この動き探索によって動いているものが検
出された場合には、動き補償予測部60によって該検出
結果に基づいて動きベクトルデータ74を生成して拡大
動き補償予測部62に出力する。
When a moving object is detected by this motion search, the motion compensation prediction unit 60 generates motion vector data 74 based on the detection result and outputs the motion vector data 74 to the enlarged motion compensation prediction unit 62.

【0044】拡大動き補償予測部62では動き補償予測
部60から上記動きベクトルデータ74を入力すると、
該動きベクトルデータ74によって得られる上記動いて
いるものの位置及びその周辺を図2(B)に示すように
更に詳細に探索して、より高精度な動きベクトルデータ
を生成する。
When the motion vector data 74 is input from the motion compensation prediction unit 60 to the expanded motion compensation prediction unit 62,
The position of the moving object and its surroundings obtained by the motion vector data 74 are searched in more detail as shown in FIG. 2B to generate more accurate motion vector data.

【0045】一方、動き補償予測部60における探索に
よって動いているものが検出されなかった場合には、動
き補償予測部60は検出されなかった旨を示す情報75
を拡大動き補償予測部62に出力する。
On the other hand, when no motion is detected by the search in the motion compensation prediction unit 60, the motion compensation prediction unit 60 displays information 75 indicating that the motion is not detected.
To the expanded motion compensation prediction unit 62.

【0046】拡大動き補償予測部62では上記検出され
なかった旨を示す情報75を入力すると、動き探索の範
囲を図2(C)に示すように上記9個のマクロブロック
の外側のマクロブロックまで拡大して動き探索を行な
い、該動き探索の結果に基づいて動きベクトルデータを
生成する。この場合、上記動き補償予測部60によって
動いているものが検出された場合に比較して動きベクト
ルデータの精度は低下しSNRは劣化するが、この場合
は動きの変化が激しい場面であるので、このSNRの劣
化は視覚的に気にならない。
When the expanded motion compensation prediction unit 62 receives the information 75 indicating that no motion is detected, the motion search range is extended to the macroblocks outside the nine macroblocks as shown in FIG. A motion search is performed by enlargement, and motion vector data is generated based on the result of the motion search. In this case, the accuracy of the motion vector data is reduced and the SNR is degraded as compared with the case where a moving object is detected by the motion compensation prediction unit 60. However, in this case, the motion changes drastically. This deterioration of the SNR is not visually noticeable.

【0047】また、拡大動き補償予測部62では上記検
出されなかった旨を示す情報75を入力した場合には動
き探索の結果得られた動きベクトルデータ76を動き補
償予測部60に対して出力(フィードバック)する。
When the expanded motion compensation prediction unit 62 receives the information 75 indicating that the motion vector is not detected, the motion vector data 76 obtained as a result of the motion search is output to the motion compensation prediction unit 60 ( give feedback.

【0048】動き補償予測部60では拡大動き補償予測
部62からフィードバックされた動きベクトルデータ7
6に基づいて、動き探索の範囲を拡大して探索を行な
う。これによって、動き補償予測部60による探索にお
けるヒット率(動いているものが検出される確率)を高
くすることができる。
In the motion compensation prediction unit 60, the motion vector data 7 fed back from the expanded motion compensation prediction unit 62
6, the search is performed by expanding the range of the motion search. As a result, the hit rate (the probability that a moving object is detected) in the search by the motion compensation prediction unit 60 can be increased.

【0049】以上のように、MPEGエンコード部30
における逆量子化部44、逆DCT部46、演算部4
8、及び拡大動き補償予測部62によって構成されたフ
ィードバック系によって画像中の動いているものが検出
され、動きベクトルデータが得られた後、この動きベク
トルデータに対応する画像データがPピクチャ及びBピ
クチャに対応する画像データから演算部34によって差
し引かれて、より少ない画像情報のみがDCT部36、
量子化部38及び可変長符号化部40から成る符号化パ
スに送られてPピクチャ及びBピクチャの符号化データ
が得られる。従って、Pピクチャ及びBピクチャの符号
化データは、バッファ52から出力される符号化データ
と拡大動き補償予測部62において得られた動きベクト
ルデータとを合わせたものである。
As described above, the MPEG encoding unit 30
Inverse quantization unit 44, inverse DCT unit 46, operation unit 4
8, and a moving system in the image is detected by the feedback system configured by the enlarged motion compensation prediction unit 62, and after the motion vector data is obtained, the image data corresponding to the motion vector data is a P picture and a B picture. The image data corresponding to the picture is subtracted from the image data by the operation unit 34, and only less image information is obtained by the DCT unit 36.
The data is sent to an encoding path including a quantization unit 38 and a variable-length encoding unit 40, and encoded data of P and B pictures is obtained. Therefore, the coded data of the P picture and the B picture is a combination of the coded data output from the buffer 52 and the motion vector data obtained by the extended motion compensation prediction unit 62.

【0050】一方、MPEGでは符号化する画像データ
の種類等によってデータ量が変化するため、符号化デー
タの転送レートが所望のレートとなるように制御するこ
とが好ましい。
On the other hand, in MPEG, the amount of data changes depending on the type of image data to be encoded and the like. Therefore, it is preferable to control the transfer rate of the encoded data to a desired rate.

【0051】そこで本実施形態に係るデータ変換装置1
0では、ビットレート制御部54によって所定時間内に
バッファ52に記憶される符号化データの量が検出さ
れ、量子化部38にフィードバックされる。すなわち、
データの転送レートが高い場合は量子化部38による量
子化の度合いを大きくしてデータ量を減らし、逆に転送
レートが低い場合には量子化部38による量子化の度合
いを小さくしてデータ量を増やす。
Therefore, the data conversion device 1 according to the present embodiment
In the case of 0, the amount of encoded data stored in the buffer 52 within a predetermined time is detected by the bit rate control unit 54 and fed back to the quantization unit 38. That is,
When the data transfer rate is high, the degree of quantization by the quantization unit 38 is increased to reduce the amount of data. Conversely, when the transfer rate is low, the degree of quantization by the quantization unit 38 is reduced to reduce the data amount. Increase.

【0052】以上の処理が、入力された全てのモーショ
ンJPEGによる符号化データに対して繰り返して実施
されることにより、全ての符号化データのMPEGによ
る符号化データへの変換が行なわれる。
The above processing is repeatedly performed on all the input encoded data of motion JPEG, thereby converting all the encoded data into the encoded data of MPEG.

【0053】以上詳細に説明したように、本第1実施形
態に係るデータ変換装置では、MPEG圧縮の際に行な
う動き予測における動き検出に先立って所定領域におけ
る予備的な動き検出を行なう動き補償予測部を備えると
共に、該動き補償予測部による動き検出の結果に基づい
て上記MPEG圧縮の際に行なう動き検出の対象領域を
設定しているので、圧縮対象とする動画像のなかの動き
が速い場合であっても該速い動きに追従することがで
き、従ってSNRを改善することができ、この結果とし
てMPEG圧縮における画質の低下を防止することがで
きる。
As described in detail above, in the data conversion apparatus according to the first embodiment, the motion compensation prediction which performs preliminary motion detection in a predetermined area prior to motion detection in motion prediction performed at the time of MPEG compression. And the target area of the motion detection performed at the time of the MPEG compression is set based on the result of the motion detection by the motion compensation prediction unit. Even in this case, it is possible to follow the fast movement, so that it is possible to improve the SNR, and as a result, it is possible to prevent a decrease in image quality in MPEG compression.

【0054】また、本第1実施形態に係るデータ変換装
置10では、拡大動き補償予測部による動き検出の結果
に基づいて生成された動きベクトルデータを動き補償予
測部にフィードバックし、動き補償予測部では該フィー
ドバックされた動きベクトルデータに基づいて動き検出
の対象領域を設定しているので、動画像中の動いている
ものを検出することができる確率を向上することがで
き、この結果として、MPEG圧縮における画質の低下
を、より抑制することができる。
In the data converter 10 according to the first embodiment, the motion vector data generated based on the result of the motion detection by the enlarged motion compensation prediction unit is fed back to the motion compensation prediction unit, Since the motion detection target area is set based on the fed back motion vector data, the probability of detecting a moving object in a moving image can be improved. As a result, MPEG A decrease in image quality in compression can be further suppressed.

【0055】〔第2実施形態〕一般に、周波数領域での
動き探索と、該動き探索によって得られた動きベクトル
データによって再現される動画像は、視覚上のSNRが
優れている、という性質が知られている。そこで本第2
実施形態では、上記性質を利用するべく、JPEGデコ
ード部20における周波数領域で動き予測を行なう形態
について説明する。
[Second Embodiment] Generally, it is known that a motion search in the frequency domain and a moving image reproduced by the motion vector data obtained by the motion search have an excellent visual SNR. Have been. So this book 2
In the embodiment, a description will be given of a mode in which the JPEG decoding unit 20 performs motion prediction in the frequency domain in order to utilize the above properties.

【0056】まず、図3を参照して、本第2実施形態に
係るデータ変換装置10’の構成について説明する。な
お、図3の図1と同一の部分については同一の符号を付
して、その説明を省略する。
First, the configuration of the data converter 10 'according to the second embodiment will be described with reference to FIG. Note that the same parts as those in FIG. 1 of FIG. 3 are denoted by the same reference numerals, and description thereof will be omitted.

【0057】図3に示すように、本第2実施形態に係る
データ変換装置10’は上記第1実施形態に係るデータ
変換装置10に対して、MPEGエンコード部30が動
き補償予測部60、逆量子化部44、及び逆DCT部4
6が削除され、並び替え部64及び量子化ブロック動き
補償予測部66が追加されたMPEGエンコード部3
0’とされている点のみが相違している。
As shown in FIG. 3, the data conversion device 10 'according to the second embodiment differs from the data conversion device 10 according to the first embodiment in that the MPEG encoding unit 30 has the motion compensation prediction unit 60, Quantization unit 44 and inverse DCT unit 4
MPEG encoding unit 3 in which the rearrangement unit 64 and the quantizing block motion compensation prediction unit 66 are added.
The only difference is that it is 0 '.

【0058】並び替え部64の入力端はJPEGデコー
ド部20における可変長復号部22の出力端に接続され
ており、並び替え部64の出力端は量子化ブロック動き
補償予測部66の一方の入力端に接続されており、更に
量子化ブロック動き補償予測部66の出力端は拡大動き
補償予測部62の入力端に接続されている。また、量子
化ブロック動き補償予測部66の他方の入力端は拡大動
き補償予測部62の出力端に接続されている。
The input terminal of the rearranging unit 64 is connected to the output terminal of the variable length decoding unit 22 in the JPEG decoding unit 20, and the output terminal of the rearranging unit 64 is connected to one input terminal of the quantization block motion compensation prediction unit 66. The output terminal of the quantized block motion compensation prediction unit 66 is connected to the input terminal of the enlarged motion compensation prediction unit 62. The other input terminal of the quantized block motion compensation prediction unit 66 is connected to the output terminal of the enlarged motion compensation prediction unit 62.

【0059】本第2実施形態に係るデータ変換装置1
0’では、可変長復号部22によって得られた周波数領
域のデータが上記並び替え部32と同様に画像の並び替
えを行なう並び替え部64によって並び替えられる。こ
の並び替えによって、可変長復号部22から出力された
周波数領域のデータが上記並び替え部32から出力され
る復号画像データと同様の順序で量子化ブロック動き補
償予測部66に入力される。
Data converter 1 according to the second embodiment
At 0 ′, the data in the frequency domain obtained by the variable length decoding unit 22 is rearranged by the rearrangement unit 64 that rearranges the images in the same manner as the rearrangement unit 32. By this rearrangement, the frequency domain data output from the variable length decoding unit 22 is input to the quantized block motion compensation prediction unit 66 in the same order as the decoded image data output from the rearrangement unit 32.

【0060】量子化ブロック動き補償予測部66は、入
力された周波数領域のデータに対する動き探索を上記第
1実施形態の動き補償予測部60と同様に行ない、この
動き探索によって動いているものが検出された場合に
は、該検出結果に基づいて動きベクトルデータ74を生
成して拡大動き補償予測部62に出力する。
The quantized block motion compensation prediction unit 66 performs a motion search on the input frequency domain data in the same manner as the motion compensation prediction unit 60 of the first embodiment, and detects a moving object by this motion search. If so, the motion vector data 74 is generated based on the detection result and output to the extended motion compensation prediction unit 62.

【0061】拡大動き補償予測部62では量子化ブロッ
ク動き補償予測部66から上記動きベクトルデータ74
を入力すると、該動きベクトルデータ74によって得ら
れる上記動いているものの位置及びその周辺を図2
(B)に示すように更に詳細に探索して、より高精度な
動きベクトルデータを生成する。
In the extended motion compensation prediction unit 62, the motion vector data 74
Is input, the position of the moving object obtained by the motion vector data 74 and its surroundings are shown in FIG.
More detailed search is performed as shown in (B) to generate more accurate motion vector data.

【0062】一方、量子化ブロック動き補償予測部66
における探索によって動いているものが検出されなかっ
た場合には、量子化ブロック動き補償予測部66は検出
されなかった旨を示す情報75を拡大動き補償予測部6
2に出力する。
On the other hand, the quantization block motion compensation prediction unit 66
In the case where no moving object is detected by the search in, the quantized block motion compensation prediction unit 66 sends information 75 indicating that no motion is detected to the expanded motion compensation prediction unit 6.
Output to 2.

【0063】拡大動き補償予測部62では上記検出され
なかった旨を示す情報75を入力すると、動き探索の範
囲を図2(C)に示すように上記9個のマクロブロック
の外側のマクロブロックまで拡大して動き探索を行な
い、該動き探索の結果に基づいて動きベクトルデータを
生成する。この場合、上記量子化ブロック動き補償予測
部66によって動いているものが検出された場合に比較
して動きベクトルデータの精度は低下しSNRは劣化す
るが、この場合は動きの変化が激しい場面であるので、
このSNRの劣化は視覚的に気にならない。
When the expanded motion compensation prediction unit 62 inputs the information 75 indicating that no motion detection has been performed, the motion search range is extended to the macroblocks outside the nine macroblocks as shown in FIG. A motion search is performed by enlargement, and motion vector data is generated based on the result of the motion search. In this case, the accuracy of the motion vector data is reduced and the SNR is degraded as compared with the case where the moving block is detected by the quantization block motion compensation prediction unit 66. Because there is
This deterioration of the SNR is not visually noticeable.

【0064】また、拡大動き補償予測部62では上記検
出されなかった旨を示す情報75を入力した場合には、
動き探索の結果得られた動きベクトルデータ76を量子
化ブロック動き補償予測部66に対して出力(フィード
バック)する。
When the expanded motion compensation prediction unit 62 inputs the information 75 indicating that no detection has been made,
The motion vector data 76 obtained as a result of the motion search is output (feedback) to the quantized block motion compensation prediction unit 66.

【0065】量子化ブロック動き補償予測部66では拡
大動き補償予測部62からフィードバックされた動きベ
クトルデータ76に基づいて、動き探索の範囲を拡大し
て探索を行なう。これによって、量子化ブロック動き補
償予測部66による探索における上記ヒット率を高くす
ることができる。
The quantized block motion compensation prediction section 66 performs a search by expanding the range of motion search based on the motion vector data 76 fed back from the enlarged motion compensation prediction section 62. As a result, the hit rate in the search performed by the quantized block motion compensation prediction unit 66 can be increased.

【0066】量子化ブロック動き補償予測部66が本発
明の予備動き検出手段に、拡大動き補償予測部62が本
発明の動き検出手段に、各々相当する。
The quantized block motion compensation prediction section 66 corresponds to the preliminary motion detection means of the present invention, and the enlarged motion compensation prediction section 62 corresponds to the motion detection means of the present invention.

【0067】以上詳細に説明したように、本第2実施形
態に係るデータ変換装置では、MPEG圧縮の際に行な
う動き予測における動き検出に先立って所定領域におけ
る予備的な動き検出を行なう量子化ブロック動き補償予
測部を備えると共に、該量子化ブロック動き補償予測部
による動き検出の結果に基づいて上記MPEG圧縮の際
に行なう動き検出の対象領域を設定しているので、上記
第1実施形態と同様に、圧縮対象とする動画像のなかの
動きが速い場合であっても該速い動きに追従することが
でき、従ってSNRを改善することができ、この結果と
してMPEG圧縮における画質の低下を防止することが
できる。
As described in detail above, in the data converter according to the second embodiment, the quantization block for performing preliminary motion detection in a predetermined area prior to motion detection in motion prediction performed in MPEG compression. Since the motion compensation prediction unit is provided and the target area of the motion detection performed at the time of the MPEG compression is set based on the result of the motion detection by the quantization block motion compensation prediction unit, the same as in the first embodiment described above. In addition, even when a moving image to be compressed has a fast movement, the moving image can follow the fast movement, so that the SNR can be improved, and as a result, a decrease in image quality in MPEG compression can be prevented. be able to.

【0068】また、本第2実施形態に係るデータ変換装
置では、量子化ブロック動き補償予測部における予備的
な動き検出を周波数領域において行なっているので、動
き検出を実空間領域で行なう場合に比較して画質の低下
を、より抑制することができ、従って上記第1実施形態
に比較してMPEGエンコード部における逆量子化部及
び逆DCT部を削減することができ、コストの低減及び
装置の小型化を実現することができる。
In the data converter according to the second embodiment, preliminary motion detection in the quantized block motion compensation prediction unit is performed in the frequency domain. As a result, it is possible to further suppress the deterioration of the image quality, and therefore it is possible to reduce the number of the inverse quantization unit and the inverse DCT unit in the MPEG encoding unit as compared with the first embodiment. Can be realized.

【0069】なお、本第2実施形態では、量子化ブロッ
ク動き補償予測部66によって周波数領域において動き
検出を行なうことによって図1に示す逆量子化部44及
び逆DCT部46を削減した場合について説明したが、
本発明はこれに限定されるものではなく、より視覚的に
SNRが優れた符号化データを得るようにするために、
図4に示すように逆量子化部44及び逆DCT部46を
適用する形態とすることもできることはいうまでもな
い。
In the second embodiment, the case where the inverse quantization unit 44 and the inverse DCT unit 46 shown in FIG. 1 are reduced by performing motion detection in the frequency domain by the quantization block motion compensation prediction unit 66 will be described. But
The present invention is not limited to this, and in order to obtain coded data with better SNR visually,
As shown in FIG. 4, it is needless to say that the inverse quantization unit 44 and the inverse DCT unit 46 can be applied.

【0070】[0070]

【発明の効果】以上詳細に説明したように、本発明によ
れば、動き検出手段による動き検出に先立って所定領域
における予備的な動き検出を行なう予備動き検出手段を
備えると共に、動き検出手段が予備動き検出手段による
動き検出の結果に基づいて動き検出の対象領域を設定し
ているので、圧縮対象とする動画像の動きが速い場合で
あっても該速い動きに追従することができ、従ってSN
Rを改善することができ、この結果として画像圧縮にお
ける画質の低下を防止することができる、という効果が
得られる。
As has been described in detail above, according to the present invention, there is provided preliminary motion detection means for performing preliminary motion detection in a predetermined area prior to motion detection by the motion detection means. Since the target area of the motion detection is set based on the result of the motion detection by the preliminary motion detection means, even if the motion of the moving image to be compressed is fast, it can follow the fast motion. SN
R can be improved, and as a result, it is possible to prevent the image quality from deteriorating in image compression.

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

【図1】第1実施形態に係るデータ変換装置の概略構成
を示すブロック図である。
FIG. 1 is a block diagram illustrating a schematic configuration of a data conversion device according to a first embodiment.

【図2】第1実施形態に係るデータ変換装置の作用の説
明に供する概略図である。
FIG. 2 is a schematic diagram for explaining the operation of the data conversion device according to the first embodiment.

【図3】第2実施形態に係るデータ変換装置の概略構成
を示すブロック図である。
FIG. 3 is a block diagram illustrating a schematic configuration of a data conversion device according to a second embodiment.

【図4】第2実施形態に係るデータ変換装置の別の形態
の概略構成を示すブロック図である。
FIG. 4 is a block diagram showing a schematic configuration of another embodiment of the data conversion device according to the second embodiment.

【図5】MPEGの説明に供する概略図である。FIG. 5 is a schematic diagram for explaining MPEG.

【図6】従来のデータ変換装置の概略構成の一例を示す
ブロック図である。
FIG. 6 is a block diagram illustrating an example of a schematic configuration of a conventional data conversion device.

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

10、10’、10’’ データ変換装置 20 JPEGデコード部 22 可変長復号部 24 逆量子化部 26 逆DCT部 30、30’ MPEGエンコード部 32 並び替え部 36 DCT部 38 量子化部 44 逆量子化部 46 逆DCT部 60 動き補償予測部(予備動き検出手段) 62 拡大動き補償予測部(動き検出手段) 64 並び替え部 66 量子化ブロック動き補償予測部(予備動き検出
手段) 70 マクロブロック 76 動きベクトルデータ(動きの状態を示す情報)
10, 10 ', 10''data conversion device 20 JPEG decoding unit 22 variable length decoding unit 24 inverse quantization unit 26 inverse DCT unit 30, 30' MPEG encoding unit 32 rearrangement unit 36 DCT unit 38 quantization unit 44 inverse quantum Transformation unit 46 Inverse DCT unit 60 Motion compensation prediction unit (preliminary motion detection unit) 62 Enlarged motion compensation prediction unit (motion detection unit) 64 Rearrangement unit 66 Quantized block motion compensation prediction unit (preliminary motion detection unit) 70 Macroblock 76 Motion vector data (information indicating the state of motion)

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 動き検出手段によって圧縮対象とする動
画像データに対する動き検出を行ない、該動き検出の結
果に基づいて動きの状態を示す情報を生成し、該動きの
状態を示す情報に基づいて前記動画像データを圧縮する
画像圧縮装置であって、 前記動き検出手段による動き検出に先立って所定領域に
おける予備的な動き検出を行なう予備動き検出手段を備
えると共に、 前記動き検出手段が前記予備動き検出手段による動き検
出の結果に基づいて、動き検出の対象領域を設定するこ
とを特徴とする画像圧縮装置。
1. A motion detection unit performs motion detection on moving image data to be compressed, generates information indicating a motion state based on a result of the motion detection, and generates information based on the information indicating the motion state. An image compression apparatus for compressing the moving image data, comprising: preliminary motion detection means for performing preliminary motion detection in a predetermined area prior to motion detection by the motion detection means; An image compression apparatus for setting a target area for motion detection based on a result of motion detection by a detection unit.
【請求項2】 前記動き検出手段が、前記予備動き検出
手段による動き検出の結果、動いているものが検出され
た場合には該動いているもの及びその周辺を前記動き検
出の対象領域とし、動いているものが検出されなかった
場合には前記所定領域より外側の領域を前記動き検出の
対象領域とすることを特徴とする請求項1記載の画像圧
縮装置。
2. When the motion detection means detects a moving object as a result of the motion detection by the preliminary motion detection means, the moving object and its surroundings are set as the motion detection target area. 2. The image compression apparatus according to claim 1, wherein when no moving object is detected, an area outside the predetermined area is set as the motion detection target area.
【請求項3】 前記動き検出手段による動き検出の結果
に基づいて生成された前記動きの状態を示す情報を前記
予備動き検出手段にフィードバックし、 前記予備動き検出手段では、前記フィードバックされた
前記動きの状態を示す情報に基づいて動き検出の領域を
設定することを特徴とする請求項1又は請求項2記載の
画像圧縮装置。
3. The motion indicating the state of the motion generated based on the result of the motion detection by the motion detecting means is fed back to the preliminary motion detecting means. The image compression apparatus according to claim 1 or 2, wherein a motion detection area is set based on information indicating the state of (1).
【請求項4】 前記予備動き検出手段が前記予備的な動
き検出を周波数領域で行なうことを特徴とする請求項1
乃至請求項3の何れか1項記載の画像圧縮装置。
4. The apparatus according to claim 1, wherein said preliminary motion detection means performs said preliminary motion detection in a frequency domain.
The image compression apparatus according to claim 3.
JP9396599A 1999-03-31 1999-03-31 Image compression device Expired - Fee Related JP4238408B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9396599A JP4238408B2 (en) 1999-03-31 1999-03-31 Image compression device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9396599A JP4238408B2 (en) 1999-03-31 1999-03-31 Image compression device

Publications (2)

Publication Number Publication Date
JP2000287211A true JP2000287211A (en) 2000-10-13
JP4238408B2 JP4238408B2 (en) 2009-03-18

Family

ID=14097129

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9396599A Expired - Fee Related JP4238408B2 (en) 1999-03-31 1999-03-31 Image compression device

Country Status (1)

Country Link
JP (1) JP4238408B2 (en)

Also Published As

Publication number Publication date
JP4238408B2 (en) 2009-03-18

Similar Documents

Publication Publication Date Title
US11451793B2 (en) Parameterization for fading compensation
US6757438B2 (en) Method and apparatus for video compression using microwavelets
US6301304B1 (en) Architecture and method for inverse quantization of discrete cosine transform coefficients in MPEG decoders
JPH03139988A (en) Method and device for recovering image
US8811493B2 (en) Method of decoding a digital video sequence and related apparatus
CN101594536A (en) Encoding/decoding device, encoding/decoding method, and storage medium
JP4560694B2 (en) Encoding apparatus and method thereof
US7502415B2 (en) Range reduction
KR100598093B1 (en) Video Compression Device with Low Memory Bandwidth and Its Method
JP4238408B2 (en) Image compression device
US20030031259A1 (en) Bit stream code lookup table for an MPEG-4 code word
CN100521788C (en) Digital signal conversion method
JP2003125407A (en) Image decoding device, image decoding method, and image decoding program
JP4924744B2 (en) Decoding device and method
JPH09238345A (en) Image signal encoding method and apparatus, image signal transmission method, image signal decoding method and apparatus, and recording medium
JP3532440B2 (en) Cosine transform and quantization device, multiplicative operation saving method of image compression device, inverse quantization and inverse cosine transform device, and multiplicative operation saving method of image decompression device
JPH11205795A (en) Video signal compression encoding method and encoder therefor
JP2642525B2 (en) Intra-frame coding method for images
JP4924743B2 (en) Decoding device and method
JP2860016B2 (en) Interframe coding of image signal
JPH11146403A (en) Video signal encoding device, video signal encoding method, and video signal encoding program storage medium
JPH04307888A (en) Picture intra-frame encoder and decoder
JPH06169453A (en) Image data encoding and decoding apparatus and method
JPH06284400A (en) Video encoder
HK1060244B (en) Signaling for fading compensation in video encoding

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20060119

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060119

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20060119

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20060419

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20071130

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071204

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080204

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20081125

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20081208

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120109

Year of fee payment: 3

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120109

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees