JP2000102017A - Image encoder and image encoding system - Google Patents
Image encoder and image encoding systemInfo
- Publication number
- JP2000102017A JP2000102017A JP26941598A JP26941598A JP2000102017A JP 2000102017 A JP2000102017 A JP 2000102017A JP 26941598 A JP26941598 A JP 26941598A JP 26941598 A JP26941598 A JP 26941598A JP 2000102017 A JP2000102017 A JP 2000102017A
- Authority
- JP
- Japan
- Prior art keywords
- encoding
- image
- coding
- unit
- image signal
- 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.)
- Abandoned
Links
- 238000007781 pre-processing Methods 0.000 claims abstract description 30
- 230000033001 locomotion Effects 0.000 claims description 76
- 239000013598 vector Substances 0.000 claims description 43
- 238000000034 method Methods 0.000 claims description 25
- 230000002457 bidirectional effect Effects 0.000 claims description 20
- 230000011664 signaling Effects 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 10
- 230000005540 biological transmission Effects 0.000 description 2
- 230000007423 decrease Effects 0.000 description 2
- 230000015572 biosynthetic process Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000011835 investigation Methods 0.000 description 1
- 230000008707 rearrangement Effects 0.000 description 1
- 238000010187 selection method Methods 0.000 description 1
Landscapes
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】この発明は、動画像を符号化
する際により効率よく符号化を行うための符号化モード
の選択方法に関するものである。[0001] 1. Field of the Invention [0002] The present invention relates to a method for selecting a coding mode for performing more efficient coding when coding a moving image.
【0002】[0002]
【従来の技術】デジタル画像の符号化・復号手法とし
て、1994年にISO/IECにおいて国際標準化さ
れたMPEG−2(Moving Picture E
xperts Group、Phase−2)が代表的
なものとして挙げられる。この勧告では復号方式の詳細
が決められているだけであり、符号化方式に関してはあ
る程度の自由度が用意されている。例えば符号化を行う
にあたって複数のモードのなかから一つを選択できると
きに、どのモードを選択するかは符号化装置にまかされ
ており、そのため同じMPEG−2符号化方式といえど
も、出力される符号化データや画像品質は装置により異
なることもある。2. Description of the Related Art MPEG-2 (Moving Picture E), which was internationally standardized in ISO / IEC in 1994 as a digital image encoding / decoding technique, has been developed.
xparts Group, Phase-2) is a typical example. In this recommendation, only the details of the decoding method are determined, and a certain degree of freedom is provided for the coding method. For example, when one of a plurality of modes can be selected in performing encoding, which mode is to be selected is left to the encoding apparatus, and therefore, even if the same MPEG-2 encoding method is used, the output is The coded data and image quality to be performed may differ depending on the device.
【0003】例えば、MPEG−2だけでなくMPEG
−1でも採用されている「GOP構造符号化」の構成方
法が挙げられる。MPEGではピクチャ単位の符号化モ
ードの代表的なものとして「Iピクチャ」、「Pピクチ
ャ」、「Bピクチャ」の3つの符号化タイプが定義され
ている。「Iピクチャ」はフレーム内符号化されている
ものであり、通常Nフレーム(Nは自然数、固定値であ
る必要はない)に一度挿入される。ランダムアクセスを
行うときのキーフレームとして、あるいは誤りの発生す
る伝送路が使用されている場合に、フレーム間予測を行
っていると後続するピクチャに対して誤りが伝播するた
め、誤り伝播の防止を行うためなどに用いられたりす
る。「Pピクチャ」は片方向の動き補償予測フレーム間
符号化されているものであり、Mフレーム(Mは自然
数、固定値である必要はない)に一度挿入される。予測
の参照に使用できる画像は「Iピクチャ」か、既に符号
化されている「Pピクチャ」のいづれかである。「Bピ
クチャ」は両方向からの動き補償予測フレーム間符号化
であり、「Iピクチャ」や「Pピクチャ」を予測参照画
像として符号化が行われる。「Bピクチャ」は2つのピ
クチャを参照画像とできるため、動き補償予測の予測効
率が高いときには全体の符号化効率をきわめて高いもの
にすることができる。For example, not only MPEG-2 but also MPEG
The method of configuring “GOP structure coding”, which is also used in −1, is exemplified. In MPEG, three encoding types of “I picture”, “P picture”, and “B picture” are defined as typical encoding modes in units of pictures. The "I picture" is intra-frame coded and is usually inserted once into N frames (N is a natural number and need not be a fixed value). As a key frame for random access or when an error-producing transmission path is used, if an inter-frame prediction is performed, an error propagates to a succeeding picture. It is used for performing. The “P picture” is one-way motion compensated prediction interframe encoded, and is inserted once into M frames (M is a natural number and need not be a fixed value). An image that can be used for reference of prediction is either an “I picture” or an already encoded “P picture”. “B picture” is motion-compensated prediction inter-frame coding from both directions, and is performed using “I picture” or “P picture” as a prediction reference image. Since “B picture” can use two pictures as reference images, the overall coding efficiency can be made extremely high when the prediction efficiency of motion compensation prediction is high.
【0004】図11に、N=9、M=3の固定値とした
ときのI/P/Bピクチャの関係を示す。図は画面に表
示される順番であり、実際に符号化を行う際には並び替
えが行われる。符号化を行う順番で、最初の「Iピクチ
ャ」から次の「Iピクチャ」までを「GOP(Grou
p Of Picture)」と呼び、一般にNとMの
2つのパラメータを用いてGOP構造を表すことが多
い。このNとMの値をどのように設定するかに関して
は、上記勧告のイントロダクションの4.1.1節には
「これら3つの画像タイプは極めて柔軟に編成すること
ができ、その選択は符号化器の開発やアプリケーション
の要求条件による」と書かれているように、設定方法は
符号化器にまかされている。FIG. 11 shows the relationship between I / P / B pictures when N = 9 and M = 3 are fixed values. The figure shows the order displayed on the screen, and rearrangement is performed when encoding is actually performed. In the coding order, the first to "I picture" to the next "I picture" are referred to as "GOP (Grou
pOfPicture), and a GOP structure is often expressed using two parameters, N and M, in general. Regarding how to set the values of N and M, see section 4.1.1 of the introduction of the above recommendation, "These three image types can be organized very flexibly, and the choice is coded. It depends on the requirements of the device development and the application. "
【0005】また、MPEG−2ビデオ符号化方式は、
現行のテレビジョン信号の走査方式であるインタレース
信号に対する符号化効率を高めるために、インタレース
信号の符号化のためのモードがいくつか用意されてい
る。ここでインタレース信号とは、1つのフレームがト
ップフィールドとボトムフィールドの2つのフィールド
の走査線が互い違いに走査されて構成されているもので
あり、トップフィールドとボトムフィールドとの間には
1/2フレーム時間の時間差が生じているものである。
その符号化のための一つのモードとして、フレームごと
に「フレーム構造符号化」と「フィールド構造符号化」
のいづれか一方を選択できる、というものがある。この
二つのモードは上記勧告のイントロダクションの4.
1.2節にも書かれているように「動きが限定され、細
かな模様を含む場合には一般的にフレーム構造が、激し
い動作のあるときにはフィールド構造が適している」と
いうことが一般的には言われている。[0005] The MPEG-2 video encoding system is
In order to increase the coding efficiency for interlaced signals, which is the current television signal scanning method, several modes for coding interlaced signals are provided. Here, the interlace signal is a signal in which one frame is formed by alternately scanning the scanning lines of the two fields of the top field and the bottom field, and 1/1 is provided between the top field and the bottom field. A time difference of two frame times occurs.
One mode for the encoding is "frame structure encoding" and "field structure encoding" for each frame.
There is one that can choose either one of. These two modes are described in the introduction of the above recommendation.
As described in section 1.2, it is general that a frame structure is generally suitable when movement is limited and a fine pattern is included, and a field structure is suitable when there is severe movement. Is said to.
【0006】[0006]
【発明が解決しようとする課題】以上のようにMPEG
−2の勧告では、GOP構造を自由に設定できること
や、フレームごとに「フレーム構造符号化」と「フィー
ルド構造符号化」とを切り替えることが可能なことは書
かれているが、その設定方法や切り替え方法に関しては
述べられてなく、効率よく符号化できない場合があっ
た。SUMMARY OF THE INVENTION As described above, MPEG
The -2 recommendation states that the GOP structure can be set freely and that "frame structure coding" and "field structure coding" can be switched for each frame. There is no description on the switching method, and efficient coding may not be possible.
【0007】なお、調査の結果、特開平5−95545
号公報や、特開平6−78289号公報等が見つかった
が、両者では「フレーム構造符号化」と「フィールド構
造符号化」の選択手法に関する一手法が述べられている
が、前者では、第1フィールド(トップフィールド)と
第2フィールド(ボトムフィールド)との間の各画素の
絶対値差分和を演算し、この絶対値差分痴話の値と閾値
との間で比較を行い選択する発明が記載されているが、
この発明では、フィールド間の相関の有無について判断
できるのみであり、フレーム間(2フィールド間)の相
関性の有無については形成されていないため、十分な効
率を上げられないという問題点がある。また、後者で
は、マクロブロック毎に求められるフレーム間動き補償
予測後の予測差分信号に対する絶対値差分値和と、フィ
ールド間動き補償予測後の予測差分信号に対する絶対値
差分和とを符号化を行おうとしているフレームに対して
積算し、積算データが小さいほうを選択したり、動きベ
クトルの中央値を求め、値が大きいときには「フィール
ド構造符号化」を選択したり、マクロブロック毎に1ラ
イン間の相関性と2ライン間の相関性を求め、フレーム
全体に対してどちらのマクロブロックの個数が多いかを
調べて選択を行ったり、マクロブロック毎に1ライン間
の差分二乗和と2ライン間の差分二乗和を求め、フレー
ム全体のマクロブロックに対して積算し、値の小さいほ
うを選択する発明が記載されているが、いずれの発明
も、全てのマクロブロックに対する符号化を完了してか
ら、初めてどちらの構造を用いて符号化を行うかの選択
を行うため、両方の符号化結果を1フレーム分にわたっ
てすべて蓄積しておかなければならず、装置の構成が大
きくなると共に、符号化結果の出力開始までに1フレー
ム期間の遅延が発せいるという問題点がある。[0007] As a result of the investigation, Japanese Patent Application Laid-Open No. 5-95545
And Japanese Patent Application Laid-Open No. 6-78289, both of which describe a method relating to a selection method of “frame structure coding” and “field structure coding”. An invention is described in which the sum of absolute value differences of each pixel between a field (top field) and a second field (bottom field) is calculated, and a comparison is made between a value of the absolute value difference story and a threshold to select. But
According to the present invention, it is only possible to determine the presence or absence of correlation between fields, and there is no formation of the presence or absence of correlation between frames (between two fields), so that there is a problem that sufficient efficiency cannot be improved. In the latter case, the absolute value difference sum for the prediction difference signal after the inter-frame motion compensation prediction obtained for each macroblock and the absolute value difference sum for the prediction difference signal after the inter-field motion compensation prediction are encoded. Integrate for the frame to be integrated and select the one with the smaller integrated data, find the median value of the motion vector, select the "field structure coding" when the value is larger, select one line per macroblock And the correlation between two lines are determined to determine which macroblock is larger in the entire frame, and selection is made. For each macroblock, the difference square sum between one line and the The invention has been described in which the sum of squared differences is calculated for the macroblocks of the entire frame, and the smaller value is selected. Since the selection of which structure is to be performed for the first time after the coding of the macroblock is completed, both coding results must be accumulated for one frame. There is a problem that the configuration of the apparatus becomes large and a delay of one frame period occurs before the output of the encoding result starts.
【0008】そこで、この発明では、GOP構造を自由
に設定したり、フレームごとに「フレーム構造符号化」
と「フィールド構造符号化」を切り替えるための方法を
明確にすることにより、効率の高い符号化方式を得るこ
とのできる画像符号化装置および画像符号化方式を提供
することを目的とする。Therefore, according to the present invention, the GOP structure can be freely set, or "frame structure coding" can be performed for each frame.
An object of the present invention is to provide an image coding apparatus and an image coding method capable of obtaining a highly efficient coding method by clarifying a method for switching between the field coding and the “field structure coding”.
【0009】[0009]
【課題を解決するための手段】上記目的を達成するた
め、請求項1記載の発明では、デジタル化された動画像
信号の符号化を行う画像符号化装置において、画像信号
を複数フレーム記憶する画像メモリと、前記画像メモリ
から出力された画像信号を符号化モードに従って符号化
する符号化部と、前記画像メモリから画像信号を読み出
して1フィールド間の統計量と2フィールド間の統計量
とを求める前処理部と、前記前処理部において求められ
た1フィールド間の統計量と2フィールド間の統計量と
に基づいて、前記画像メモリから出力される画像信号の
構造を制御すると共に、前記符号化部における符号化モ
ードを制御する制御部と、を備えたことを特徴とする。According to the first aspect of the present invention, there is provided an image encoding apparatus for encoding a digitized moving image signal. A memory, an encoding unit that encodes an image signal output from the image memory in accordance with an encoding mode, and reads an image signal from the image memory to obtain a statistic between one field and a statistic between two fields. A pre-processing unit for controlling a structure of an image signal output from the image memory based on a statistic between one field and a statistic between two fields obtained in the pre-processing unit; And a control unit for controlling an encoding mode in the unit.
【0010】また、請求項2記載の発明では、請求項1
記載の画像符号化装置において、前処理部は、1フィー
ルド間の統計量として1フィールド間絶対値差分和を、
2フィールド間の統計量として2フィールド間絶対値差
分和を求めることを特徴とする。[0010] According to the second aspect of the present invention, in the first aspect,
In the image encoding device described in the description, the preprocessing unit calculates a sum of absolute value differences between one field as a statistic between one field,
It is characterized in that a sum of absolute difference between two fields is obtained as a statistic between two fields.
【0011】また、請求項3記載の発明では、請求項2
記載の画像符号化装置において、入力画像信号がインタ
レース信号の場合、制御部は、前処理部によって求めら
れた1フィールド間絶対値差分和と2フィールド間絶対
値差分和との値を比較し、1フィールド間絶対値差分和
の方が小さいときには1フィールド単位で符号化され、
2フィールド間絶対値差分和の方が小さいときには1フ
レーム単位で符号化されるように、画像メモリから出力
される画像信号の構造を制御すると共に、符号化部にお
ける符号化モードを制御することを特徴とする。According to the third aspect of the present invention, there is provided the second aspect.
In the image encoding apparatus described above, when the input image signal is an interlace signal, the control unit compares the value of the absolute value difference sum between one field and the absolute value difference sum between two fields obtained by the preprocessing unit. When the sum of absolute value differences between one field is smaller, encoding is performed in units of one field,
When the sum of absolute value differences between two fields is smaller, the structure of the image signal output from the image memory is controlled so that the encoding is performed in units of one frame, and the encoding mode in the encoding unit is controlled. Features.
【0012】また、請求項4記載の発明では、符号化部
は、符号化モードとしてフレーム内符号化と、片方向予
測符号化と、両方向予測符号化とを備え、制御部は、前
処理部によって求められた1フィールド間絶対値差分和
と2フィールド間絶対値差分和から値の小さい方を求
め、その小さい方の値が所定の閾値よりも小さいときに
は両方向予測符号化のフレーム数を増やして符号化さ
れ、前記小さい方の値が所定の閾値よりも大きいときに
は両方向予測符号化のフレーム数を減らして符号化され
るように、画像メモリから出力される画像信号の構造を
制御すると共に、前記符号化部における符号化モードを
制御することを特徴とする。Further, in the invention according to claim 4, the encoding unit includes intra-frame encoding, one-way predictive encoding, and bidirectional predictive encoding as encoding modes, and the control unit includes a pre-processing unit. Is calculated from the sum of absolute differences between one field and the sum of absolute differences between two fields, and when the smaller value is smaller than a predetermined threshold, the number of frames of bidirectional predictive coding is increased. Encoded, and when the smaller value is larger than a predetermined threshold, control the structure of the image signal output from the image memory so that the encoding is performed by reducing the number of frames of bidirectional prediction encoding. The encoding mode is controlled in the encoding unit.
【0013】また、請求項5記載の発明では、デジタル
化された動画像信号の符号化を行う画像符号化装置にお
いて、画像信号を複数フレーム記憶する画像メモリと、
前記画像メモリから出力された画像信号を符号化モード
に従って符号化すると共に、符号化の際に用いた符号化
パラメータを出力する符号化部と、前記符号化部から出
力された符号化パラメータと所定の閾値とに基づいて、
前記画像メモリから出力される画像信号の構造を制御す
ると共に、前記符号化部における符号化モードを制御す
る制御部と、を備えたことを特徴とする。According to a fifth aspect of the present invention, there is provided an image encoding apparatus for encoding a digitized moving image signal, comprising: an image memory for storing a plurality of frames of the image signal;
An encoding unit that encodes the image signal output from the image memory in accordance with an encoding mode, and that outputs an encoding parameter used in the encoding; and an encoding unit that outputs the encoding parameter output from the encoding unit. Based on the threshold of
A control unit that controls a structure of an image signal output from the image memory and controls a coding mode in the coding unit.
【0014】また、請求項6記載の発明では、請求項5
記載の画像符号化装置において、入力画像信号がインタ
レース信号の場合、符号化部は、符号化パラメータとし
て動きベクトルを出力し、制御部は、前記符号化部から
動きベクトルを入力とし、動きベクトルの大きさの平均
値が所定の閾値よりも大きいときには1フィールド単位
で符号化され、動きベクトルの大きさの平均値が所定の
閾値よりも小さいときには1フレーム単位で符号化され
るように、画像メモリから出力される画像信号の構造を
制御すると共に、符号化部における符号化モードを制御
することを特徴とする。Further, according to the invention described in claim 6, according to claim 5,
In the image encoding apparatus according to the aspect, when the input image signal is an interlaced signal, the encoding unit outputs a motion vector as an encoding parameter, and the control unit receives the motion vector from the encoding unit, When the average value of the magnitude of the motion vector is larger than a predetermined threshold, the image is encoded in units of one field, and when the average value of the motion vector is smaller than the predetermined threshold, the image is encoded in units of one frame. It is characterized by controlling the structure of the image signal output from the memory and controlling the coding mode in the coding unit.
【0015】また、請求項7記載の発明では、請求項5
記載の画像符号化装置において、符号化部は、符号化モ
ードとしてフレーム内符号化と、片方向予測符号化と、
両方向予測符号化とを備え、符号化パラメータとして動
きベクトルを出力し、制御部は、前記符号化部から動き
ベクトルを入力して、動きベクトルの大きさの平均が所
定の閾値よりも小さいときには両方向予測符号化のフレ
ーム数を増やして符号化され、動きベクトルの大きさの
平均が所定の閾値よりも大きいときには両方向予測符号
化のフレーム数を減らして符号化されるように、画像メ
モリから出力される画像信号の構造を制御すると共に、
前記符号化部における符号化モードを制御することを特
徴とする。[0015] According to the invention described in claim 7, according to claim 5,
In the image encoding device described, the encoding unit, as the encoding mode, intra-frame encoding, unidirectional predictive encoding,
Bidirectional predictive coding, and outputs a motion vector as a coding parameter, the control unit receives the motion vector from the coding unit, and when the average of the magnitude of the motion vector is smaller than a predetermined threshold, the control unit The encoding is performed by increasing the number of frames of the predictive encoding, and when the average of the magnitude of the motion vector is larger than a predetermined threshold, the frame is output from the image memory so that the number of frames of the bidirectional predictive encoding is reduced. Control the image signal structure
The encoding mode is controlled in the encoding unit.
【0016】また、請求項8記載の発明では、請求項5
記載の画像符号化装置において、符号化部は、符号化モ
ードとしてフレーム内符号化と、片方向予測符号化と、
両方向予測符号化とを備え、符号化パラメータとして動
きベクトルを出力し、制御部は、前記符号化部から予測
差分信号の二乗和を入力して、予測差分信号の二乗和が
所定の閾値よりも小さいときには両方向予測符号化のフ
レーム数を増やして符号化され、動きベクトルの大きさ
の平均が所定の閾値よりも大きいときには両方向予測符
号化のフレーム数を減らして符号化されるように、画像
メモリから出力される画像信号の構造を制御すると共
に、前記符号化部における符号化モードを制御すること
を特徴とする。According to the eighth aspect of the present invention, in the fifth aspect,
In the image encoding device described, the encoding unit, as the encoding mode, intra-frame encoding, unidirectional predictive encoding,
Bidirectional predictive encoding, and outputs a motion vector as an encoding parameter, the control unit inputs the sum of squares of the prediction difference signal from the encoding unit, the sum of squares of the prediction difference signal is greater than a predetermined threshold When the size is smaller, the number of frames of the bidirectional prediction coding is increased to perform coding, and when the average of the magnitude of the motion vector is larger than a predetermined threshold, the number of frames of the bidirectional prediction coding is reduced and the image memory is coded. And the encoding mode in the encoding unit is controlled.
【0017】また、請求項9記載の発明では、請求項5
記載の画像符号化装置において、入力画像信号がインタ
レース信号の場合、符号化部は、符号化パラメータとし
て動き補償予測の予測タイプを出力し、制御部は、符号
化部から動き補償予測の予測タイプを入力して、予測タ
イプがフィールド予測である数が所定の閾値よりも大き
いときには1フィールド単位で符号化され、予測タイプ
がフィールド予測である数が所定の閾値よりも小さいと
きには1フレーム単位で符号化されるように、画像メモ
リから出力される画像信号の構造を制御すると共に、前
記符号化部における符号化モードを制御することを特徴
とする。According to the ninth aspect of the present invention, in the fifth aspect,
In the image encoding device described above, when the input image signal is an interlaced signal, the encoding unit outputs a prediction type of motion compensation prediction as an encoding parameter, and the control unit outputs a prediction of motion compensation prediction from the encoding unit. When the number of prediction types that are field predictions is larger than a predetermined threshold, the encoding is performed in units of one field. When the number of prediction types that are field predictions is smaller than a predetermined threshold, the encoding is performed in units of one frame. It is characterized by controlling the structure of the image signal output from the image memory so as to be encoded, and controlling the encoding mode in the encoding unit.
【0018】また、請求項10記載の発明では、デジタ
ル化された動画像信号の符号化を行う画像符号化方式に
おいて、上記画像信号の1フィールド間の統計量と2フ
ィールド間の統計量とを求める前処理ステップと、前記
前処理ステップにおいて求められた1フィールド間の統
計量と2フィールド間の統計量とに基づいて、画像信号
の構造を制御すると共に、符号化モードを制御する制御
ステップと、前記制御ステップにおいて構造を制御され
た画像信号を、前記制御された符号化モードにより符号
化する符号化ステップと、を備えたことを特徴とする。According to a tenth aspect of the present invention, in the image encoding method for encoding a digitized moving image signal, the statistic between one field and the statistic between two fields of the image signal is determined. A pre-processing step for obtaining, and a control step of controlling a coding mode while controlling a structure of an image signal based on the statistics between one field and the statistics between two fields obtained in the pre-processing step. And an encoding step of encoding the image signal, the structure of which is controlled in the control step, according to the controlled encoding mode.
【0019】また、請求項11記載の発明では、デジタ
ル化された動画像信号の符号化を行う画像符号化方式に
おいて、画像信号を符号化モードに従って符号化すると
共に、符号化の際に用いた符号化パラメータを出力する
符号化ステップと、前記ビデオ符号化ステップにおいて
出力された符号化パラメータと所定の閾値とに基づい
て、前記ビデオ符号化ステップにおける前記画像信号の
構造と前記符号化モードとを制御する制御ステップと、
を備えたことを特徴とする。According to the eleventh aspect of the present invention, in an image encoding method for encoding a digitized moving image signal, the image signal is encoded in accordance with an encoding mode and used for encoding. Encoding step of outputting an encoding parameter, based on the encoding parameter and a predetermined threshold output in the video encoding step, based on the structure of the image signal and the encoding mode in the video encoding step A control step to control;
It is characterized by having.
【0020】[0020]
【発明の実施の形態】実施の形態1.以下、この発明に
係る画像符号化装置の実施の形態1を説明する。図1
に、この発明に係る画像符号化装置の実施の形態1の構
成を示す。図1において、1は前処理部、2は後述する
制御部4の制御により指定された符号化モードにより画
像メモリ3から出力された画像信号を符号化するビデオ
符号化部、3は複数フレーム分の画像信号を保持し、後
述する制御部4の制御に従った構造の画像信号151を
出力する画像メモリ、4は前処理部1から出力された信
号に基づいて画像メモリ3から出力される画像信号15
1の構造を制御すると共に、ビデオ符号化部2の符号化
モードを制御する制御部、11,12は加算処理部、1
3,14は差分処理部である。なお、ビデオ符号化部2
は、符号化モードとして、「フィールド構造符号化」
と、「フレーム構造符号化」とを有している。DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiment 1 Hereinafter, an image encoding apparatus according to a first embodiment of the present invention will be described. FIG.
1 shows a configuration of an image encoding apparatus according to Embodiment 1 of the present invention. In FIG. 1, 1 is a pre-processing unit, 2 is a video encoding unit that encodes an image signal output from the image memory 3 in an encoding mode specified by the control of a control unit 4 described later, and 3 is a plurality of frames. And an image memory 4 for holding an image signal and outputting an image signal 151 having a structure in accordance with the control of the control unit 4 described later, and an image output from the image memory 3 based on the signal output from the preprocessing unit 1. Signal 15
1 and a control unit for controlling the encoding mode of the video encoding unit 2;
Reference numerals 3 and 14 denote difference processing units. Note that the video encoding unit 2
Is "field structure encoding" as the encoding mode.
And “frame structure coding”.
【0021】また、101は画像メモリに入力するディ
ジタル化されたインターレース画像信号、102,10
3,104は画像メモリ3から入力する1フィールド分
の画像信号、121,122は差分信号、131は1フ
ィールド間絶対値差分和、132は2フィールド間絶対
値差分和、141は符号化モード選択信号、151は画
像信号、161は符号化データである。Reference numeral 101 denotes a digitized interlaced image signal input to the image memory;
Reference numerals 3 and 104 denote image signals for one field input from the image memory 3, 121 and 122 are difference signals, 131 is a sum of absolute value differences between one field, 132 is a sum of absolute value differences between two fields, and 141 is a coding mode selection. A signal, 151 is an image signal, and 161 is encoded data.
【0022】図2に、画像信号102,103,104
の前後関係を示す。図2において、画像信号103は画
像信号102に対して1フィールド時間先行したもので
ある。また画像信号104は画像信号102に対して2
フィールド時間、すなわち1フレーム時間先行したもの
である。なお、ここでは、画像信号102をトップフィ
ールドとして説明を行ったが、画像信号102がボトム
フィールドであってもかまわない。FIG. 2 shows image signals 102, 103 and 104.
Is shown in the context. In FIG. 2, the image signal 103 precedes the image signal 102 by one field time. The image signal 104 is 2
Field time, that is, one frame time ahead. Here, the description has been made with the image signal 102 as the top field, but the image signal 102 may be in the bottom field.
【0023】次に動作を説明する。前処理部1は、画像
メモリ3から入力した画像信号102,103,104
を用いて1フィールド間絶対値差分和11、2フィール
ド間絶対値差分和12を求める。具体的には、まず、差
分処理部13が画像信号102と画像信号103との差
分をとって差分信号121を求め、加算処理部11がそ
の差分信号121の絶対値を1フィールド信号分加算処
理を行い、1フィールド間絶対値差分和131を求め
る。同様に、差分処理部14が画像信号102と画像信
号104との差分をとって差分信号122を求め、加算
処理部12がその差分信号122の絶対値を1フィール
ド信号分加算処理を行い、2フィールド間絶対値差分和
132を求める。このようにして1フィールド分加算処
理が行われるごとに、加算処理部11と、加算処理部1
2とから、それぞれ1フィールド間絶対値差分和131
と、2フィールド間絶対値差分和132とが出力され、
制御部4に出力される。Next, the operation will be described. The preprocessing unit 1 includes image signals 102, 103, and 104 input from the image memory 3.
Is used to obtain a sum of absolute differences 11 between one field and a sum of absolute differences 12 between two fields. Specifically, first, the difference processing unit 13 calculates a difference between the image signal 102 and the image signal 103 to obtain a difference signal 121, and the addition processing unit 11 performs an addition process on the absolute value of the difference signal 121 for one field signal. To obtain a sum 131 of absolute value differences between one field. Similarly, the difference processing unit 14 obtains a difference between the image signal 102 and the image signal 104 to obtain a difference signal 122, and the addition processing unit 12 performs an addition process on the absolute value of the difference signal 122 for one field signal. An inter-field absolute value difference sum 132 is obtained. Each time the addition processing for one field is performed in this manner, the addition processing unit 11 and the addition processing unit 1
2 and the sum of absolute value differences 131 between one field respectively
And the sum of absolute value differences 132 between the two fields are output,
Output to the control unit 4.
【0024】制御部4では、両者の値を比較し、1フィ
ールド間絶対値差分和131の方が小さいときは符号化
モードとして「フィールド構造符号化」を選択し、2フ
ィールド間絶対値差分和132の方が小さいときは符号
化モードとして「フレーム構造符号化」を選択する。選
択した結果は、符号化モード選択信号141として画像
メモリ3、およびビデオ符号化部2に対して出力する。The control unit 4 compares the two values, and when the one-field absolute value difference sum 131 is smaller, selects “field structure encoding” as the encoding mode, and selects the two-field absolute value difference sum. When the value of 132 is smaller, “frame structure coding” is selected as the coding mode. The selected result is output to the image memory 3 and the video encoding unit 2 as the encoding mode selection signal 141.
【0025】画像メモリ3は、制御部4からの符号化モ
ード選択信号141に基づいて、「フィールド構造符号
化」が選択されているときはフィールド単位に、「フレ
ーム構造符号化」が選択されているときにはフレーム単
位に画像信号151を出力する。The image memory 3 selects "frame structure encoding" for each field when "field structure encoding" is selected based on the encoding mode selection signal 141 from the control unit 4. Output, the image signal 151 is output for each frame.
【0026】ビデオ符号化部2は、画像信号151を入
力して、制御部4からの符号化モード選択信号141に
より選択されている符号化モード、「フィールド構造符
号化」あるいは「フレーム構造符号化」により符号化を
行い、符号化データ161を出力する。The video encoding unit 2 receives the image signal 151, and selects the encoding mode selected by the encoding mode selection signal 141 from the control unit 4, "field structure encoding" or "frame structure encoding". ", And outputs encoded data 161.
【0027】従って、この実施の形態1によれば、1フ
ィールド間絶対値差分和131と、2フィールド間絶対
値差分和132との大小により、「フィールド構造符号
化」または「フレーム構造符号化」を選択するようにし
たため、画像信号間の相関がより高い方の符号化モード
を選択することができ、効率の高い符号化を実行するこ
とが可能となる。Therefore, according to the first embodiment, “field structure coding” or “frame structure coding” is performed according to the magnitude of the one-field absolute value difference sum 131 and the two-field absolute value difference sum 132. Is selected, it is possible to select the encoding mode having a higher correlation between the image signals, and it is possible to execute highly efficient encoding.
【0028】実施の形態2.次に、この発明に係る画像
符号化装置の実施の形態2を説明する。図3に、この発
明に係る画像符号化装置の実施の形態2の構成を示す。
図3において、31は閾値メモリ、133は閾値メモリ
31に予め記憶された閾値、171はGOP構造制御信
号、172は符号化モード制御信号である。尚、その他
の構成は、図1に示す実施の形態1の構成と同じである
ため、同一番号を付してその説明は省略する。ただし、
この実施の形態2のビデオ符号化部2は、符号化モード
として、「フレーム内符号化」、「片方向予測符号
化」、および「両方向予測符号化」を行う「フィールド
構造符号化」と、「フレーム構造符号化」とを有してい
る。Embodiment 2 Next, a second embodiment of the image coding apparatus according to the present invention will be described. FIG. 3 shows the configuration of an image encoding apparatus according to Embodiment 2 of the present invention.
3, reference numeral 31 denotes a threshold memory, 133 denotes a threshold previously stored in the threshold memory 31, 171 denotes a GOP structure control signal, and 172 denotes an encoding mode control signal. Since the other configuration is the same as that of the first embodiment shown in FIG. 1, the same reference numerals are given and the description is omitted. However,
The video encoding unit 2 according to the second embodiment performs “field structure encoding” that performs “intra-frame encoding”, “unidirectional prediction encoding”, and “bidirectional prediction encoding” as encoding modes, "Frame structure coding".
【0029】次に動作を説明する。なお、実施の形態1
の動作と重複するので、実施の形態2特有の動作のみを
説明する。前処理部1で1フィールド間絶対値差分和1
31と、2フィールド間絶対値差分和132とが演算さ
れ制御部4に出力されると、制御部4は、前処理部1か
ら入力した1フィールド間絶対値差分和131と、2フ
ィールド間絶対値差分和132との比較を行ない、比較
の結果、小さい方の値(以下αと記す。)について閾値
メモリ31に設定されている閾値133の値との比較を
行う。Next, the operation will be described. Embodiment 1
Therefore, only the operation unique to the second embodiment will be described. Pre-processing unit 1 sums the absolute value difference between one field 1
31 and the sum of absolute value difference 132 between two fields are calculated and output to the control unit 4, the control unit 4 calculates the sum of absolute value difference 131 between one field input from the preprocessing unit 1 and the absolute value difference between two fields 131 Comparison with the value difference sum 132 is performed, and as a result of the comparison, the smaller value (hereinafter referred to as α) is compared with the value of the threshold value 133 set in the threshold value memory 31.
【0030】ここで、αが閾値133より大きい場合、
制御部4は、例えば図4に示すような符号化がされるよ
う、M=1,N=9のGOP構造とするGOP構造制御
信号171を画像メモリ3へ出力して、画像メモリ3か
らビデオ符号化部2に図4に示すGOP構造の画像信号
151が出力されるように制御する。尚、図4では、N
=9で「Iピクチャ」が9フレームに一度挿入された画
像信号を示しており、ここでは、M=1に設定されたた
め、「Pピクチャ」が1フレームに一度、すなわち8フ
レーム毎挿入されている。Here, when α is larger than the threshold value 133,
The control unit 4 outputs a GOP structure control signal 171 having a GOP structure of M = 1 and N = 9 to the image memory 3 so that the encoding is performed as shown in FIG. Control is performed so that the image signal 151 having the GOP structure shown in FIG. In FIG. 4, N
= 9 indicates an image signal in which “I picture” is inserted once in nine frames. Here, since M = 1 is set, “P picture” is inserted once in one frame, ie, every eight frames. I have.
【0031】また、これと同時に、制御部4は、ビデオ
符号化部2が画像メモリ3から入力するがM=1、N=
9のGOP構造の画像信号151を符号化できるよう
に、GOP構造制御信号171に対応した符号化モード
制御信号172をビデオ符号化部2へ出力する。なお、
この場合は、GOP構造がM=1、N=9であるので、
符号化モード制御信号172により画像メモリ151か
らの画像信号151の出力に合わせて、「Iピクチャ」を
符号化するフレーム内符号化の符号化モード制御信号を
1回送り、続いて「Pピクチャ」を符号化する片方向予
測符号化の符号化モード制御信号を8回連続して送るこ
とを繰り返すようにする。At the same time, the control unit 4 determines that the video encoding unit 2 inputs from the image memory 3 but M = 1, N =
An encoding mode control signal 172 corresponding to the GOP structure control signal 171 is output to the video encoding unit 2 so that the image signal 151 having the GOP structure of No. 9 can be encoded. In addition,
In this case, since the GOP structure is M = 1 and N = 9,
In accordance with the output of the image signal 151 from the image memory 151 according to the encoding mode control signal 172, an encoding mode control signal for intra-frame encoding for encoding "I picture" is sent once, and then "P picture" The transmission of the encoding mode control signal of the unidirectional predictive encoding for encoding is repeated eight times in succession.
【0032】逆に、αが閾値133より小さい場合、制
御部4は、例えば図5に示すような符号化がされるよ
う、M=3,N=9のGOP構造とするGOP構造制御
信号171を画像メモリ3へ出力して、画像メモリ3か
らビデオ符号化部2に図5に示すGOP構造の画像信号
151が出力されるように制御する。尚、図5では、図
4と同様、N=9で「Iピクチャ」が9フレームに一度
挿入されているが、M=3に設定されたため、「Pピク
チャ」が3フレームに一度、すなわち「Bピクチャ」が
3フレームに2度挿入されている。Conversely, when α is smaller than the threshold value 133, the control unit 4 controls the GOP structure control signal 171 to have a GOP structure of M = 3, N = 9 so that the encoding is performed as shown in FIG. Is output to the image memory 3, and control is performed such that the image signal 151 having the GOP structure shown in FIG. 5 is output from the image memory 3 to the video encoding unit 2. In FIG. 5, similarly to FIG. 4, “I picture” is inserted once in nine frames at N = 9, but “M” is set to M, so that “P picture” is inserted once in three frames, ie, “I picture”. "B picture" is inserted twice in three frames.
【0033】また、これと同時に、制御部4は、ビデオ
符号化部2が画像メモリ3から入力するがM=3、N=
9のGOP構造の画像信号151を符号化できるよう
に、GOP構造制御信号171に対応した符号化モード
制御信号172をビデオ符号化部2へ出力する。なお、
この場合は、GOP構造がM=3、N=9であるので、
符号化モード制御信号172により画像メモリ151か
らの画像信号151の出力に合わせて、「IBBPBB
PBB」の順番で制御信号を送る。。At the same time, the control unit 4 determines that M = 3 and N =
An encoding mode control signal 172 corresponding to the GOP structure control signal 171 is output to the video encoding unit 2 so that the image signal 151 having the GOP structure of No. 9 can be encoded. In addition,
In this case, since the GOP structure is M = 3 and N = 9,
In accordance with the output of the image signal 151 from the image memory 151 by the encoding mode control signal 172, "IBBPBB"
Control signals are sent in the order of "PBB". .
【0034】これにより、ビデオ符号化部2から出力さ
れる画像データ161は、フィールド間絶対値差分和1
31と2フィールド間絶対値差分和132とのうち小さ
い方の値αと閾値133との大小に基づいたGOP構造
で符号化されたデータとなる。As a result, the image data 161 output from the video encoding unit 2 has the inter-field absolute value difference sum 1
This is data encoded in a GOP structure based on the smaller value α of the 31 and the sum of absolute value differences 132 between two fields 132 and the threshold value 133.
【0035】従って、この実施の形態2によれば、絶対
値差分和αの値が閾値より小さい場合には、画像間の相
関が高いことを意味するため、ビデオ符号化部2が符号
化する画像信号のGOP構造のM値を大きく取りIピク
チャとPピクチャとの間にBピクチャを挿入しても動き
補償の予測効率が十分に得られる一方、逆に絶対値差分
和αの値が閾値より大きい場合には、画像間の相関が低
いことを意味するため、画像信号のGOP構造のM値を
大きく取るとPピクチャの動き補償予測の効率が落ちて
しまうので、Bピクチャを挿入すること無く直前のフレ
ームをPピクチャの予測参照画像とすることにより、符
号化効率の低下を防ぐことができり、効率の高い符号化
を実行することが可能となる。Therefore, according to the second embodiment, if the value of the absolute value difference sum α is smaller than the threshold value, it means that the correlation between the images is high, and the video encoding unit 2 encodes. Even if the M value of the GOP structure of the image signal is increased and a B picture is inserted between the I picture and the P picture, the prediction efficiency of the motion compensation is sufficiently obtained. If the value is larger, it means that the correlation between the images is low. Therefore, if the M value of the GOP structure of the image signal is increased, the efficiency of the motion compensation prediction of the P picture decreases. When the immediately preceding frame is used as the prediction reference image of the P picture, a decrease in encoding efficiency can be prevented, and highly efficient encoding can be performed.
【0036】実施の形態3.上記実施の形態2では、説
明を簡単にするために、ビデオ符号化部2が符号化する
画像信号のGOP構造をM=1のものと、M=3のもの
と、の2つに限定して説明を行ったが、それ以外のM値
をとることも勿論可能である。例えば、絶対値差分和α
の値が小さい場合には、M=3ではなく、M=4、5、
・・・等といった大きな値を取らせたり、αの値が大き
い場合には、M=1ではなく、M=2等とする、といっ
た動作を行うようにしても勿論よい。また、Nの値も9
に限定されず、N=9以外の値でも勿論よい。Embodiment 3 In the second embodiment, in order to simplify the description, the GOP structure of the image signal encoded by the video encoding unit 2 is limited to two, that is, M = 1 and M = 3. Although described above, it is of course possible to take other M values. For example, the absolute value difference sum α
Is small, M = 4, 5, not M = 3.
.., Or when the value of α is large, M = 2, etc. instead of M = 1. Also, the value of N is 9
However, it is needless to say that a value other than N = 9 may be used.
【0037】実施の形態4.上記実施の形態2,3で
は、前処理部1がフィールド間絶対値差分和131,1
32を求め、制御部4が画像メモリ3からビデオ符号化
部151へ出力される画像信号151のGOP構造を制
御していたが、この実施の形態4では、ビデオ符号化部
2から出力される符号化パラメータ162に従ってGO
P構造を制御して符号化がされるようにしたことを特徴
とする。Embodiment 4 FIG. In the second and third embodiments, the preprocessing unit 1 determines whether the inter-field absolute value difference sum 131, 1
32, the control unit 4 controls the GOP structure of the image signal 151 output from the image memory 3 to the video encoding unit 151. In the fourth embodiment, however, the control unit 4 outputs the image signal 151 from the video encoding unit 2. GO according to encoding parameter 162
The encoding is performed by controlling the P structure.
【0038】図6に、この実施の形態4の画像符号化装
置の構成を示す。図において、162はビデオ符号化部
2から制御部4へ送られる符号化の際に用いた符号化パ
ラメータである。尚、この実施の形態4では、実施の形
態2等で設けられていた前処理部1が不要であり、その
他の構成は、図3に示す実施の形態2等の構成と同じで
あるため、同一番号を付してその説明は省略する。FIG. 6 shows the configuration of an image coding apparatus according to the fourth embodiment. In the figure, reference numeral 162 denotes an encoding parameter used for encoding transmitted from the video encoding unit 2 to the control unit 4. In the fourth embodiment, the pre-processing unit 1 provided in the second embodiment and the like is unnecessary, and the other configuration is the same as that of the second embodiment shown in FIG. The same reference numerals are given and the description is omitted.
【0039】次に動作を説明する。まず、ディジタル化
された画像信号101が画像メモリ3に入力し、画像メ
モリ3から画像信号151としてビデオ符号化部2へ出
力されると、ビデオ符号化部2では、図示はしないが、
通常、動き補償予測、離散コサイン(DCT)変換を各
ピクチャごとに実行する。Next, the operation will be described. First, when the digitized image signal 101 is input to the image memory 3 and output from the image memory 3 to the video encoding unit 2 as an image signal 151, the video encoding unit 2, although not shown,
Usually, motion compensation prediction and discrete cosine (DCT) transform are performed for each picture.
【0040】その際、この実施の形態4では、ビデオ符
号化部2が、動き補償予測の際に用いた動きベクトル
を、符号化パラメータ162として出力し、制御部4へ
送る。動きベクトルは、例えば16画素×16ラインの
小領域(マクロブロックと呼ばれる)ごとに求められる
ものであるため、一つの画面から複数個の動きベクトル
が出力される。At this time, in the fourth embodiment, the video encoding unit 2 outputs the motion vector used for the motion compensation prediction as the encoding parameter 162 and sends it to the control unit 4. Since a motion vector is obtained for each small area of 16 pixels × 16 lines (called a macro block), a plurality of motion vectors are output from one screen.
【0041】制御部4では、ビデオ符号化部2から符号
化パラメータ162として動きベクトルを入力し、この
動きベクトルの大きさの平均値が、閾値メモリ31に記
憶された閾値31よりも大きい場合や、動きベクトルご
との方向にばらつきがある場合には、画像間の動きが大
きく動き補償予測の効率が低下しているため、GOP構
造のMの値を小さくするGOP構造制御信号171を画
像メモリ3に送ると共に、そのGOP構造制御信号17
1に応じた「フレーム内符号化」、「片方向予測符号
化」、または「両方向予測符号化」の符号化モード制御
信号172を送る。The control unit 4 inputs a motion vector as an encoding parameter 162 from the video encoding unit 2, and when the average value of the magnitude of the motion vector is larger than the threshold value 31 stored in the threshold value memory 31, In the case where there is a variation in the direction of each motion vector, the motion between the images is large and the efficiency of motion compensation prediction is reduced, so the GOP structure control signal 171 for reducing the value of M in the GOP structure is transmitted to the image memory 3. And the GOP structure control signal 17
The coding mode control signal 172 of “intra-frame coding”, “one-way predictive coding”, or “bidirectional predictive coding” corresponding to 1 is sent.
【0042】逆に、制御部4は、動きベクトルの大きさ
の平均値が閾値よりも小さい場合、画像間の動きが小さ
いことから、動き補償予測の効率が高められるため、G
OP構造のMの値を大きくGOP構造制御信号171を
画像メモリ3に送ると共に、そのGOP構造制御信号1
71に応じた符号化モード制御信号172を送る。Conversely, when the average value of the magnitudes of the motion vectors is smaller than the threshold value, the control unit 4 increases the efficiency of the motion compensation prediction because the motion between the images is small.
The value of M of the OP structure is increased to send a GOP structure control signal 171 to the image memory 3 and the GOP structure control signal 1
An encoding mode control signal 172 corresponding to 71 is sent.
【0043】これにより、ビデオ符号化部2から出力さ
れる画像データ161は、動きベクトルに基づいたGO
P構造で符号化されたデータとなる。As a result, the image data 161 output from the video encoding unit 2 is based on the GO based on the motion vector.
It becomes data encoded in the P structure.
【0044】従って、この実施の形態4によれば、動き
ベクトルに基づいて画像信号間の相関に応じたGOP構
造の画像信号151に変えて符号化できるため、効率の
高い符号化を実行することが可能となる。Therefore, according to the fourth embodiment, it is possible to perform encoding by changing to the image signal 151 having the GOP structure according to the correlation between the image signals based on the motion vector. Becomes possible.
【0045】実施の形態5.上記実施の形態4では、動
きベクトルの値に応じてGOP構造を変更する手法につ
いて説明を行ったが、実施の形態5では、同じ符号化パ
ラメータである動きパラメータを用いて「フレーム構造
符号化」と、「フィールド構造符号化」との符号化モー
ドを制御するようにしたことを特徴とする。Embodiment 5 FIG. In the fourth embodiment, the method of changing the GOP structure according to the value of the motion vector has been described. However, in the fifth embodiment, “frame structure coding” is performed using motion parameters that are the same coding parameters. And a coding mode of “field structure coding”.
【0046】図7に、この実施の形態5の画像符号化装
置の構成を示す。図において、162はビデオ符号化部
2から制御部4へ送られる符号化の際に使用された符号
化条件の符号化パラメータであり、この実施の形態5で
は、動きベクトルである。尚、この実施の形態5では、
実施の形態1等で設けられていた前処理部1が不要であ
り、その他の構成は、図1や図3に示す実施の形態1,
2等の構成と同じであるため、同一番号を付してその説
明は省略する。FIG. 7 shows a configuration of an image coding apparatus according to the fifth embodiment. In the figure, reference numeral 162 denotes an encoding parameter of an encoding condition used for encoding transmitted from the video encoding unit 2 to the control unit 4, and in this embodiment 5, it is a motion vector. In the fifth embodiment,
The pre-processing unit 1 provided in the first embodiment and the like is unnecessary, and other configurations are the same as those of the first and second embodiments shown in FIGS.
Since the configuration is the same as that of the second configuration, the same reference numerals are given and the description thereof is omitted.
【0047】次に主要な動作を説明すると、この実施の
形態5では、制御部4は、符号化パラメータ162とし
て動きベクトルをビデオ符号化部2から入力して、動き
ベクトルの大きさの平均値が閾値メモリ31に記憶され
た閾値133よりも大きい場合には、画像間の動きが大
きいことから「フィールド構造符号化」の符号化モード
を選択して、その選択結果を符号化モード選択信号14
1として画像メモリ3およびビデオ符号化部2へ出力す
る。Next, the main operation will be described. In the fifth embodiment, the control unit 4 inputs a motion vector as the coding parameter 162 from the video coding unit 2 and outputs the average value of the magnitude of the motion vector. Is larger than the threshold value 133 stored in the threshold value memory 31, the motion between images is large, and the coding mode of “field structure coding” is selected.
1 is output to the image memory 3 and the video encoding unit 2.
【0048】逆に、動きベクトルの大きさの平均がその
閾値133よりも小さい場合、制御部4は、画像間の動
きが小さいことから、トップフィールドとボトムフィー
ルドとの間の信号相関が高いため、「フレーム構造符号
化」の符号化モードを選択して、その選択結果を符号化
モード選択信号141として画像メモリ3およびビデオ
符号化部2へ出力する。Conversely, when the average of the magnitudes of the motion vectors is smaller than the threshold value 133, the control unit 4 determines that the signal correlation between the top field and the bottom field is high because the motion between the images is small. , The encoding mode of “frame structure encoding” is selected, and the selected result is output to the image memory 3 and the video encoding unit 2 as an encoding mode selection signal 141.
【0049】従って、この実施の形態5によれば、実施
の形態1における前処理部1がなくても、ビデオ符号化
部2における符号化の際の動きベクトルに基づいて「フ
ィールド構造符号化」と「フレーム構造符号化」の符号
化モードを選択することにより、画像信号間の相関がよ
り高い方の符号化モードを選択することができ、効率の
高い符号化を実行することが可能となる。Therefore, according to the fifth embodiment, even if the preprocessing unit 1 in the first embodiment is not provided, the “field structure encoding” is performed based on the motion vector at the time of encoding in the video encoding unit 2. By selecting the coding mode of “frame structure coding” and “frame structure coding”, it is possible to select the coding mode having a higher correlation between the image signals, and to perform highly efficient coding. .
【0050】実施の形態6.上記実施の形態4では、ビ
デオ符号化部2から制御部4へ出力する符号化パラメー
タ162として、動きベクトルの値を用いていたが、他
にも使用可能なパラメータはいくつか存在する。実施の
形態6では、ビデオ符号化部2が、動きベクトルの代わ
りに、動き補償予測後の予測差分信号の二乗和を符号化
パラメータ162として出力することを特徴とする。な
お、この実施の形態6の構成は、図6に示す実施の形態
4の構成と同じになり、図6を用いて動作を説明する。Embodiment 6 FIG. In the fourth embodiment, the motion vector value is used as the encoding parameter 162 output from the video encoding unit 2 to the control unit 4. However, there are some other parameters that can be used. The sixth embodiment is characterized in that the video encoding unit 2 outputs the sum of squares of the prediction difference signal after the motion compensation prediction as the encoding parameter 162 instead of the motion vector. The configuration of the sixth embodiment is the same as the configuration of the fourth embodiment shown in FIG. 6, and the operation will be described with reference to FIG.
【0051】つまり、この実施の形態6では、図6に示
すように、ビデオ符号化部2が符号化パラメータ162
として動き補償予測後の予測差分信号の二乗和を出力
し、制御部4が動き補償予測後の予測差分信号の二乗和
を入力して、その値が閾値メモリ13に記憶された閾値
31よりも大きい場合には、動き補償予測の効率が低下
していることから、GOP構造のMの値を小さくして符
号化がされるようにGOP構造制御信号171および符
号化モード制御信号172を画像メモリ3およびビデオ
符号化部2に出力して符号化を制御する一方、逆に、動
き補償予測後の予測差分信号の二乗和がその閾値31よ
りも小さい場合には、GOP構造のMの値を大きくして
符号化がされるようにGOP構造制御信号171および
符号化モード制御信号172を画像メモリ3およびビデ
オ符号化部2に出力して符号化を制御する。That is, in the sixth embodiment, as shown in FIG.
The controller 4 outputs the sum of squares of the prediction difference signal after motion compensation prediction, and the controller 4 inputs the sum of squares of the prediction difference signal after motion compensation prediction, and the value of the sum is larger than the threshold value 31 stored in the threshold value memory 13. If the value is large, the efficiency of the motion compensation prediction is reduced. Therefore, the GOP structure control signal 171 and the coding mode control signal 172 are stored in the image memory so that the value of M in the GOP structure is reduced and coding is performed. 3 and the video encoding unit 2 to control the encoding. Conversely, when the sum of squares of the prediction difference signal after the motion compensation prediction is smaller than the threshold value 31, the value of M of the GOP structure is changed. The GOP structure control signal 171 and the coding mode control signal 172 are output to the image memory 3 and the video coding unit 2 to control the coding so that the coding is performed at a larger size.
【0052】従って、この実施の形態6によれば、動き
補償予測後の予測差分信号の二乗和に基づき画像信号1
51のGOP構造を変えて符号化するため、動きベクト
ルの場合と同様に、実施の形態4と同様に前処理部がな
くても、画像信号間の相関に応じた効率の高い符号化を
実行することが可能となる。Therefore, according to the sixth embodiment, the image signal 1 is calculated based on the sum of squares of the prediction difference signal after the motion compensation prediction.
Since encoding is performed by changing the GOP structure of 51, similarly to the case of the motion vector, highly efficient encoding corresponding to the correlation between image signals is executed without a preprocessing unit as in the fourth embodiment. It is possible to do.
【0053】実施の形態7.実施の形態7では、ビデオ
符号化部2から制御部4へ出力する符号化パラメータ1
62として、動きベクトル、動き補償予測後の予測差分
信号の二乗和の代わりに、フレーム内符号化のマクロブ
ロックの個数とフレーム間符号化マクロブロックの個数
とを出力することを特徴とする。このため、実施の形態
7の構成は、図6に示す実施の形態4の構成と同じであ
るため、図6を基に動作を説明する。Embodiment 7 FIG. In the seventh embodiment, encoding parameter 1 to be output from video encoding unit 2 to control unit 4
62, the number of macroblocks for intra-frame coding and the number of macroblocks for inter-frame coding are output instead of the sum of squares of the motion vector and the prediction difference signal after motion compensated prediction. For this reason, the configuration of the seventh embodiment is the same as the configuration of the fourth embodiment shown in FIG. 6, and therefore the operation will be described based on FIG.
【0054】つまり、この実施の形態7では、ビデオ符
号化部2が、画像信号151の符号化単位であるマクロ
ブロック毎に、フレーム内符号化とフレーム間符号化と
のどちらの符号化モードにより符号化したかをカウント
して、それぞれのカウント値を符号化パラメータ162
として制御部4へ出力する。In other words, in the seventh embodiment, the video coding unit 2 determines whether the macroblock, which is the coding unit of the image signal 151, uses either the intra-frame coding mode or the inter-frame coding mode. It counts whether or not encoding has been performed, and counts each count value into the encoding parameter 162.
Is output to the control unit 4.
【0055】制御部4は、符号化パラメータ162とし
て入力する各マクロブロックの符号化モードの個数を累
算して、フレーム内符号化マクロブロックの個数と、フ
レーム間符号化マクロブロックの個数とをそれぞれ求
め、フレーム間符号化マクロブロックの個数が閾値メモ
リ31に記憶された閾値133よりも小さい場合には、
動き補償予測の効率が低下していることから、GOP構
造のMの値を小さくして符号化がされるようにGOP構
造制御信号171および符号化モード制御信号172を
画像メモリ3およびビデオ符号化部2に送る一方、フレ
ーム間符号化マクロブロックの個数が閾値133よりも
大きい場合には、動き補償予測の効率が高いことを示し
ているため、GOP構造のMの値を大きくして符号化が
されるようにGOP構造制御信号171および符号化モ
ード制御信号172を画像メモリ3およびビデオ符号化
部2に送る。The control unit 4 accumulates the number of coding modes of each macroblock input as the coding parameter 162 to determine the number of intra-frame coded macroblocks and the number of inter-frame coded macroblocks. In each case, if the number of inter-coded macroblocks is smaller than the threshold value 133 stored in the threshold value memory 31,
Since the efficiency of the motion compensation prediction is reduced, the GOP structure control signal 171 and the coding mode control signal 172 are transmitted to the image memory 3 and the video coding system so that the coding is performed with the value of M of the GOP structure reduced. On the other hand, when the number of inter-coded macroblocks is larger than the threshold value 133, it indicates that the efficiency of motion compensation prediction is high. The GOP structure control signal 171 and the encoding mode control signal 172 are sent to the image memory 3 and the video encoding unit 2 so as to be executed.
【0056】従って、この実施の形態7によれば、各マ
クロブロックの符号化モードの個数に基づき画像信号1
51のGOP構造を変えて符号化するため、実施の形態
4と同様に前処理部がなくても、画像信号間の相関に応
じた効率の高い符号化を実行することが可能となる。Therefore, according to the seventh embodiment, the image signal 1 is set based on the number of coding modes of each macroblock.
Since the encoding is performed by changing the GOP structure of 51, it is possible to execute highly efficient encoding according to the correlation between the image signals without the preprocessing unit as in the fourth embodiment.
【0057】実施の形態8.実施の形態8では、各マク
ロブロックの動き補償予測の予測タイプの個数を累算
し、「フィールド構造符号化」と「フレーム構造符号
化」との符号化選択を行うようにしたことを特徴とす
る。このため、この実施の形態8の構成は、図7に示す
実施の形態5の構成と同じであるため、図7を基に動作
を説明する。Embodiment 8 FIG. Embodiment 8 is characterized in that the number of prediction types of motion compensation prediction for each macroblock is accumulated, and coding selection between "field structure coding" and "frame structure coding" is performed. I do. For this reason, the configuration of the eighth embodiment is the same as the configuration of the fifth embodiment shown in FIG. 7, and the operation will be described based on FIG.
【0058】つまり、例えば、MPEG−2には、「フ
レーム構造符号化」の場合、動き補償予測の予測タイプ
としてマクロブロック毎に「フィールド予測」と、「フ
レーム予測」との2種類があるので、ビデオ符号化部2
は、各マクロブロックを動き補償予測する際の予測タイ
プの個数を符号化パラメータ162として出力する。That is, for example, in the case of "frame structure coding" in MPEG-2, there are two types of motion compensation prediction, "field prediction" and "frame prediction" for each macroblock. , Video encoding unit 2
Outputs the number of prediction types when performing motion compensation prediction on each macroblock as an encoding parameter 162.
【0059】制御部4では、符号化パラメータ162と
して入力する各マクロブロックごとの予測タイプを1ピ
クチャ分累算し、「フィールド予測」の方が多い場合に
は、2つのフィールド間の信号の相関性が低いことから
「フィールド構造符号化」を選択するよう符号化モード
選択信号141を画像メモリ3およびビデオ符号化部2
に送る一方、逆に「フレーム予測」が多い場合には、2
つのフィールド間の画像信号の相関性が高いことから
「フレーム構造符号化」を選択するよう符号化モード選
択信号141を画像メモリ3およびビデオ符号化部2に
送る。The control unit 4 accumulates the prediction type for each macroblock inputted as the encoding parameter 162 for one picture, and when "field prediction" is more, the correlation of the signal between two fields is calculated. The encoding mode selection signal 141 to select the "field structure encoding" because of its low performance.
On the other hand, if there are many “frame predictions”,
The encoding mode selection signal 141 is sent to the image memory 3 and the video encoding unit 2 so as to select “frame structure encoding” because the correlation of the image signal between the two fields is high.
【0060】従って、この実施の形態8によれば、ビデ
オ符号化部2から符号化パラメータ162として出力さ
れる各マクロブロックの動き補償予測の予測タイプの個
数を累算して、「フィールド構造符号化」と「フレーム
構造符号化」とを選択して符号化するため、前処理部2
がなくても、画像信号の相関性に応じた効率の高い符号
化を実行することが可能となる。Therefore, according to the eighth embodiment, the number of motion-compensated prediction types of each macroblock output from the video encoding unit 2 as the encoding parameter 162 is accumulated, and the “field structure code Pre-processing unit 2 for selecting and encoding “encoding” and “frame structure encoding”.
Without this, it is possible to execute highly efficient encoding according to the correlation of the image signals.
【0061】実施の形態9.尚、上記実施の形態1〜8
は、各々個別に実施するだけでなく、各実施の形態1〜
8を組み合わせて実施することももちろん可能である。
このため、実施の形態9では、各実施の形態1〜8の組
み合わせの一例として、実施の形態1と実施の形態4と
を組み合わせた画像符号化装置の例を説明する。図8
に、実施の形態1と実施の形態4とを組み合わせた実施
の形態9の画像符号化装置の構成を示す。尚、図8にお
いて、図1に示す実施の形態1の構成、または図6に示
す実施の形態4の構成や信号と同じものには、同一番号
を付してその説明は省略し、主な動作を説明する。Embodiment 9 FIG. In addition, the first to eighth embodiments are described.
Is implemented not only individually, but also in each of Embodiments 1 to
Of course, it is also possible to carry out the combination of the eight.
Therefore, in the ninth embodiment, as an example of a combination of each of the first to eighth embodiments, an example of an image encoding device in which the first embodiment and the fourth embodiment are combined will be described. FIG.
The configuration of an image coding apparatus according to the ninth embodiment in which the first embodiment and the fourth embodiment are combined is shown below. 8, the same components as those in the configuration of the first embodiment shown in FIG. 1 or those in the fourth embodiment shown in FIG. 6 are denoted by the same reference numerals, and the description thereof will be omitted. The operation will be described.
【0062】つまり、この実施の形態8の制御部4は、
実施の形態1と実施の形態2の制御部4の機能を併せ持
つため、前処理部1からの1フィールド間絶対値差分和
131と、2フィールド間絶対値差分和132とを入力
して、その大小により、「フィールド構造符号化」また
は「フレーム構造符号化」を選択して符号化モード選択
信号141として画像メモリ3およびビデオ符号化部2
へ出力すると共に、ビデオ符号化部2から符号化パラメ
ータ162として動きベクトルを入力して、閾値31と
の大小の比較により、GOP構造制御信号171を画像
メモリ3に送り、かつそのGOP構造制御信号171に
応じた「フレーム内符号化」、「片方向予測符号化」ま
たは「両方向予測符号化」の符号化モード制御信号17
2を送って、画像メモリ3から出力される画像信号15
1の構造およびビデオ符号化部2における符号化モード
を制御する。That is, the control unit 4 of the eighth embodiment
In order to combine the functions of the control unit 4 of the first and second embodiments, the one-field absolute value difference sum 131 and the two-field absolute value difference sum 132 from the preprocessing unit 1 are input, and the Depending on the size, “field structure coding” or “frame structure coding” is selected, and the image memory 3 and the video coding unit 2 are used as the coding mode selection signal 141.
And a motion vector is input as an encoding parameter 162 from the video encoding unit 2, and by comparing the magnitude with a threshold value 31, a GOP structure control signal 171 is sent to the image memory 3, and the GOP structure control signal The coding mode control signal 17 of “intra-frame coding”, “one-way predictive coding” or “bidirectional predictive coding” according to 171
2 and the image signal 15 output from the image memory 3
1 and the encoding mode in the video encoding unit 2 are controlled.
【0063】従って、この実施の形態9によれば、実施
の形態1と実施の形態4とを組み合わせることにより、
1フィールド間絶対値差分和131と2フィールド間絶
対値差分和132との大小により「フィールド構造符号
化」または「フレーム構造符号化」を選択できる共に、
動きベクトルに基づいて画像信号間の相関に応じたGO
P構造の画像信号151に変えて符号化できるため、よ
り効率の高い符号化を実行することが可能となる。Therefore, according to the ninth embodiment, by combining the first embodiment and the fourth embodiment,
“Field structure encoding” or “frame structure encoding” can be selected according to the magnitude of the one-field absolute value difference sum 131 and the two-field absolute value difference sum 132,
GO according to correlation between image signals based on motion vector
Since the encoding can be performed instead of the image signal 151 having the P structure, it is possible to execute more efficient encoding.
【0064】なお、これ以上は説明しないが、図9に示
すように実施の形態1,2の組み合わせや、図10に示
すように実施の形態4,5の組み合わせも可能であり、
それ以外に、実施の形態1,4の組み合わせや、実施の
形態2,5の組み合わせ、実施の形態1,5の組み合わ
せ、実施の形態2,4の組み合わせ等の2つの実施の形
態の組み合わせ、実施の形態1,2,3等の3つの実施
の形態の組み合わせも可能である。Although not described any further, a combination of the first and second embodiments as shown in FIG. 9 and a combination of the fourth and fifth embodiments as shown in FIG. 10 are also possible.
In addition, a combination of the two embodiments such as a combination of the first and fourth embodiments, a combination of the second and fifth embodiments, a combination of the first and fifth embodiments, a combination of the second and fourth embodiments, Combinations of the three embodiments, such as the first, second, and third embodiments, are also possible.
【0065】また、上記実施の形態1等のビデオ符号化
部2に関しては、従来技術の項目において説明を行った
MPEG−2ビデオ符号化方式を例にして説明してきた
が、本発明では、それ以外の方式であっても「フレーム
構造符号化」と「フィールド構造符号化」を切り替える
ことができる映像符号化方式であればどのようなもので
も適用可能である。The video encoding unit 2 according to the first embodiment and the like has been described using the MPEG-2 video encoding method described in the section of the prior art as an example. Any other video coding system that can switch between “frame structure coding” and “field structure coding” can be applied.
【0066】同様に、実施の形態2等のビデオ符号化部
2に関しても、MPEGで定義されたGOP構造と同様
な構造をもつ符号化方式であれば、適用することが可能
である。Similarly, the video encoding unit 2 according to the second embodiment or the like can be applied to any encoding method having a structure similar to the GOP structure defined by MPEG.
【0067】また、実施の形態1等では、図1等におい
て画像メモリ3から前処理部1に対して供給される画像
信号の入力方法として3つの信号線102,103,1
04を用いて説明を行ったが、1つの信号線を時分割し
て3つの信号を送る方法をとることも可能である。In the first embodiment and the like, three signal lines 102, 103, and 1 are used as a method for inputting an image signal supplied from the image memory 3 to the preprocessing unit 1 in FIG.
Although the description has been made with reference to FIG. 04, a method of transmitting three signals by time-sharing one signal line is also possible.
【0068】また、同様に、実施の形態1等では、図1
等において1フィールド間絶対値差分和131、2フィ
ールド間絶対値差分和132を求めるものとして説明し
たが、絶対値差分和の代わりに、その絶対値差分の二乗
和を求めてもよい。また、1フィールド分の信号全てを
用いて求めるものとして説明を行ったが、画像の一部分
を取り出してきたり、任意の間隔で間引き処理を行った
ものに対して求めることも可能である。このようにする
ことにより、前処理部1の演算量を削減することができ
る。Similarly, in Embodiment 1 and the like, FIG.
In the above description, the sum of the absolute value difference 131 between one field and the sum of the absolute value difference 132 between the two fields are described. However, instead of the sum of the absolute value differences, the sum of squares of the absolute value differences may be obtained. Also, the description has been made assuming that the signal is obtained by using all the signals for one field, but it is also possible to obtain the signal obtained by extracting a part of the image or performing the thinning processing at an arbitrary interval. By doing so, the amount of calculation of the preprocessing unit 1 can be reduced.
【0069】[0069]
【発明の効果】以上説明したように、本発明では、1フ
ィールド間絶対値差分和と2フィールド間絶対値差分和
の大小や、動きベクトル等により、「フィールド構造符
号化」または「フレーム構造符号化」を選択したり、画
像信号のGOP構造を制御して符号化するようにしたた
め、画像信号間の相関がより高い方の符号化モードを選
択することができ、効率の高い符号化を実行することが
可能となる。As described above, according to the present invention, "field structure coding" or "frame structure coding" is performed based on the magnitude of the sum of absolute differences between one field and the sum of absolute differences between two fields, a motion vector, and the like. Encoding, or by controlling the GOP structure of the image signal to perform encoding, it is possible to select an encoding mode having a higher correlation between the image signals, and perform highly efficient encoding. It is possible to do.
【図1】 実施の形態1の画像符号化装置の構成を示す
図である。FIG. 1 is a diagram illustrating a configuration of an image encoding device according to a first embodiment.
【図2】 各画像信号102,103,104の前後関
係を示す図である。FIG. 2 is a diagram illustrating a front-rear relationship of image signals 102, 103, and 104;
【図3】 実施の形態2の画像符号化装置の構成を示す
図である。FIG. 3 is a diagram illustrating a configuration of an image encoding device according to a second embodiment.
【図4】 αが閾値133より大きい場合のGOP構造
を示す図である。FIG. 4 is a diagram showing a GOP structure when α is larger than a threshold value 133.
【図5】 αが閾値133より小さい場合のGOP構造
を示す図である。FIG. 5 is a diagram showing a GOP structure when α is smaller than a threshold value 133.
【図6】 実施の形態4の画像符号化装置の構成を示す
図である。FIG. 6 is a diagram illustrating a configuration of an image encoding device according to a fourth embodiment.
【図7】 実施の形態5の画像符号化装置の構成を示す
図である。FIG. 7 is a diagram illustrating a configuration of an image encoding device according to a fifth embodiment.
【図8】 実施の形態1,4を組み合わせた実施の形態
9の画像符号化装置の構成を示す図である。FIG. 8 is a diagram illustrating a configuration of an image encoding device according to a ninth embodiment in which the first and fourth embodiments are combined.
【図9】 実施の形態1,2を組み合わせた画像符号化
装置の構成を示す図である。FIG. 9 is a diagram illustrating a configuration of an image encoding device in which Embodiments 1 and 2 are combined.
【図10】 実施の形態4,5を組み合わせた画像符号
化装置の構成を示す図である。FIG. 10 is a diagram illustrating a configuration of an image encoding device in which Embodiments 4 and 5 are combined.
【図11】 N=9、M=3の固定値としたときのI/
P/Bピクチャの関係を示す図である。FIG. 11 shows a graph of I / when N = 9 and M = 3.
It is a figure which shows the relationship of a P / B picture.
1 前処理部、2 ビデオ符号化部、3 画像メモリ、
4制御部、11,12 加算処理部、13,14 差分
処理部、101 画像信号、102,103,104
1フィールド分の画像信号、121,122 差分信
号、131 1フィールド間絶対値差分和、132 2
フィールド間絶対値差分和、141 符号化モード選択
信号、151 画像信号、161 符号化データ。1 pre-processing unit, 2 video encoding unit, 3 image memory,
4 control unit, 11, 12 addition processing unit, 13, 14 difference processing unit, 101 image signal, 102, 103, 104
Image signal for one field, 121, 122 difference signal, 131 Sum of absolute value difference between one field, 132 2
Sum of absolute differences between fields, 141 encoding mode selection signal, 151 image signal, 161 encoded data.
───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5C059 KK11 LA05 MA00 MA04 MA05 MA23 NN01 NN28 PP05 PP06 PP07 TA17 TC12 TC36 TD12 UA02 UA31 UA33 UA38 ──────────────────────────────────────────────────続 き Continued on the front page F term (reference) 5C059 KK11 LA05 MA00 MA04 MA05 MA23 NN01 NN28 PP05 PP06 PP07 TA17 TC12 TC36 TD12 UA02 UA31 UA33 UA38
Claims (11)
行う画像符号化装置において、 画像信号を複数フレーム記憶する画像メモリと、 前記画像メモリから出力された画像信号を符号化モード
に従って符号化する符号化部と、 前記画像メモリから画像信号を読み出して1フィールド
間の統計量と2フィールド間の統計量とを求める前処理
部と、 前記前処理部において求められた1フィールド間の統計
量と2フィールド間の統計量とに基づいて、前記画像メ
モリから出力される画像信号の構造を制御すると共に、
前記符号化部における符号化モードを制御する制御部
と、 を備えたことを特徴とする画像符号化装置。An image encoding apparatus for encoding a digitized moving image signal, comprising: an image memory for storing a plurality of frames of the image signal; and encoding the image signal output from the image memory according to an encoding mode. A preprocessing unit that reads an image signal from the image memory to obtain a statistic between one field and a statistic between two fields; and a statistic between one field obtained by the preprocessing unit. And controlling the structure of the image signal output from the image memory based on
An image encoding device, comprising: a control unit that controls an encoding mode in the encoding unit.
して1フィールド間絶対値差分和を、2フィールド間の
統計量として2フィールド間絶対値差分和を求めること
を特徴とする請求項1記載の画像符号化装置。2. The method according to claim 1, wherein the preprocessing unit obtains a sum of absolute differences between one field as a statistic between one field and a sum of absolute differences between two fields as a statistic between two fields. The image encoding device according to claim 1.
合、制御部は、前処理部によって求められた1フィール
ド間絶対値差分和と2フィールド間絶対値差分和との値
を比較し、1フィールド間絶対値差分和の方が小さいと
きには1フィールド単位で符号化され、2フィールド間
絶対値差分和の方が小さいときには1フレーム単位で符
号化されるように、画像メモリから出力される画像信号
の構造を制御すると共に、符号化部における符号化モー
ドを制御することを特徴とする請求項2記載の画像符号
化装置。3. When the input image signal is an interlaced signal, the control unit compares the value of the absolute value difference between one field and the sum of absolute value differences between two fields obtained by the pre-processing unit. When the sum of the absolute differences between the two fields is smaller, the encoding is performed in units of one field, and when the sum of the absolute differences between the two fields is smaller, the encoding is performed in the unit of one frame. The image coding apparatus according to claim 2, wherein the structure is controlled and a coding mode in the coding unit is controlled.
ム内符号化と、片方向予測符号化と、両方向予測符号化
とを備え、 制御部は、前処理部によって求められた1フィールド間
絶対値差分和と2フィールド間絶対値差分和から値の小
さい方を求め、その小さい方の値が所定の閾値よりも小
さいときには両方向予測符号化のフレーム数を増やして
符号化され、前記小さい方の値が所定の閾値よりも大き
いときには両方向予測符号化のフレーム数を減らして符
号化されるように、画像メモリから出力される画像信号
の構造を制御すると共に、前記符号化部における符号化
モードを制御することを特徴とする請求項2記載の画像
符号化装置。4. The encoding unit includes intra-frame encoding, unidirectional prediction encoding, and bidirectional prediction encoding as encoding modes, and the control unit controls the absolute value of one-field absolute value obtained by the preprocessing unit. The smaller of the values is obtained from the sum of the value difference and the sum of the absolute differences between the two fields, and when the smaller value is smaller than a predetermined threshold, the frame is encoded by increasing the number of frames of the bidirectional prediction encoding. When the value is larger than the predetermined threshold, the structure of the image signal output from the image memory is controlled so that the number of frames of the bidirectional prediction coding is reduced and the coding mode in the coding unit is changed. 3. The image coding apparatus according to claim 2, wherein the control is performed.
行う画像符号化装置において、 画像信号を複数フレーム記憶する画像メモリと、 前記画像メモリから出力された画像信号を符号化モード
に従って符号化すると共に、符号化の際に用いた符号化
パラメータを出力する符号化部と、 前記符号化部から出力された符号化パラメータと所定の
閾値とに基づいて、前記画像メモリから出力される画像
信号の構造を制御すると共に、前記符号化部における符
号化モードを制御する制御部と、 を備えたことを特徴とする画像符号化装置。5. An image encoding apparatus for encoding a digitized moving image signal, comprising: an image memory for storing a plurality of frames of the image signal; and encoding the image signal output from the image memory according to an encoding mode. And an encoding unit that outputs an encoding parameter used at the time of encoding, and an image signal output from the image memory based on the encoding parameter output from the encoding unit and a predetermined threshold. A control unit that controls the structure of the encoding unit and controls an encoding mode in the encoding unit.
合、符号化部は、符号化パラメータとして動きベクトル
を出力し、 制御部は、前記符号化部から動きベクトルを入力とし、
動きベクトルの大きさの平均値が所定の閾値よりも大き
いときには1フィールド単位で符号化され、動きベクト
ルの大きさの平均値が所定の閾値よりも小さいときには
1フレーム単位で符号化されるように、画像メモリから
出力される画像信号の構造を制御すると共に、符号化部
における符号化モードを制御することを特徴とする請求
項5記載の画像符号化装置。6. When the input image signal is an interlaced signal, the encoding unit outputs a motion vector as an encoding parameter, the control unit receives the motion vector from the encoding unit,
When the average value of the magnitude of the motion vector is larger than a predetermined threshold, encoding is performed in units of one field, and when the average value of the magnitude of the motion vector is smaller than the predetermined threshold, encoding is performed in units of one frame. 6. The image coding apparatus according to claim 5, wherein the structure of the image signal output from the image memory is controlled and the coding mode in the coding unit is controlled.
ム内符号化と、片方向予測符号化と、両方向予測符号化
とを備え、符号化パラメータとして動きベクトルを出力
し、 制御部は、前記符号化部から動きベクトルを入力して、
動きベクトルの大きさの平均が所定の閾値よりも小さい
ときには両方向予測符号化のフレーム数を増やして符号
化され、動きベクトルの大きさの平均が所定の閾値より
も大きいときには両方向予測符号化のフレーム数を減ら
して符号化されるように、画像メモリから出力される画
像信号の構造を制御すると共に、前記符号化部における
符号化モードを制御することを特徴とする請求項5記載
の画像符号化装置。7. The encoding unit includes intra-frame encoding, unidirectional prediction encoding, and bidirectional prediction encoding as encoding modes, and outputs a motion vector as an encoding parameter. Input a motion vector from the encoding unit,
When the average of the magnitude of the motion vector is smaller than a predetermined threshold, the frame is encoded by increasing the number of frames of the bidirectional prediction encoding. When the average of the magnitude of the motion vector is larger than a predetermined threshold, the frame of the bidirectional prediction encoding is 6. The image encoding apparatus according to claim 5, wherein a structure of an image signal output from an image memory is controlled and an encoding mode in said encoding unit is controlled so that encoding is performed with a reduced number. apparatus.
ム内符号化と、片方向予測符号化と、両方向予測符号化
とを備え、符号化パラメータとして動きベクトルを出力
し、 制御部は、前記符号化部から予測差分信号の二乗和を入
力して、予測差分信号の二乗和が所定の閾値よりも小さ
いときには両方向予測符号化のフレーム数を増やして符
号化され、動きベクトルの大きさの平均が所定の閾値よ
りも大きいときには両方向予測符号化のフレーム数を減
らして符号化されるように、画像メモリから出力される
画像信号の構造を制御すると共に、前記符号化部におけ
る符号化モードを制御することを特徴とする請求項5記
載の画像符号化装置。8. The encoding unit includes intra-frame encoding, unidirectional predictive encoding, and bidirectional predictive encoding as encoding modes, and outputs a motion vector as an encoding parameter. The sum of squares of the prediction difference signal is input from the encoding unit, and when the sum of squares of the prediction difference signal is smaller than a predetermined threshold, the frame is encoded by increasing the number of frames of bidirectional prediction coding, and the average of the magnitude of the motion vector is calculated. When is larger than a predetermined threshold, the structure of the image signal output from the image memory is controlled so that the number of frames of the bidirectional prediction coding is reduced and the coding mode in the coding unit is controlled. The image encoding apparatus according to claim 5, wherein
合、符号化部は、符号化パラメータとして動き補償予測
の予測タイプを出力し、 制御部は、符号化部から動き補償予測の予測タイプを入
力して、予測タイプがフィールド予測である数が所定の
閾値よりも大きいときには1フィールド単位で符号化さ
れ、予測タイプがフィールド予測である数が所定の閾値
よりも小さいときには1フレーム単位で符号化されるよ
うに、画像メモリから出力される画像信号の構造を制御
すると共に、前記符号化部における符号化モードを制御
することを特徴とする請求項5記載の画像符号化装置。9. When the input image signal is an interlaced signal, the coding unit outputs a prediction type of motion compensation prediction as a coding parameter, and the control unit inputs the prediction type of motion compensation prediction from the coding unit. When the number of prediction types of field prediction is larger than a predetermined threshold, coding is performed in units of one field, and when the number of prediction types of field prediction is smaller than the predetermined threshold, coding is performed in units of one frame. 6. The image coding apparatus according to claim 5, wherein the structure of the image signal output from the image memory is controlled and the coding mode in the coding unit is controlled.
を行う画像符号化方式において、 上記画像信号の1フィールド間の統計量と2フィールド
間の統計量とを求める前処理ステップと、 前記前処理ステップにおいて求められた1フィールド間
の統計量と2フィールド間の統計量とに基づいて、画像
信号の構造を制御すると共に、符号化モードを制御する
制御ステップと、 前記制御ステップにおいて構造を制御された画像信号
を、前記制御された符号化モードにより符号化する符号
化ステップと、 を備えたことを特徴とする画像符号化方式。10. An image coding method for coding a digitized moving image signal, comprising: a preprocessing step of obtaining a statistic between one field and a statistic between two fields of the image signal; Controlling the structure of the image signal and controlling the coding mode based on the statistics between one field and the statistics between two fields obtained in the processing step; and controlling the structure in the control step Encoding the encoded image signal in the controlled encoding mode.
を行う画像符号化方式において、 画像信号を符号化モードに従って符号化すると共に、符
号化の際に用いた符号化パラメータを出力する符号化ス
テップと、 前記ビデオ符号化ステップにおいて出力された符号化パ
ラメータと所定の閾値とに基づいて、前記ビデオ符号化
ステップにおける前記画像信号の構造と前記符号化モー
ドとを制御する制御ステップと、 を備えたことを特徴とする画像符号化方式。11. An image encoding method for encoding a digitized moving image signal, which encodes the image signal according to an encoding mode and outputs an encoding parameter used in the encoding. And a control step of controlling a structure of the image signal and the encoding mode in the video encoding step based on an encoding parameter output in the video encoding step and a predetermined threshold. An image coding method characterized in that:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP26941598A JP2000102017A (en) | 1998-09-24 | 1998-09-24 | Image encoder and image encoding system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP26941598A JP2000102017A (en) | 1998-09-24 | 1998-09-24 | Image encoder and image encoding system |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2000102017A true JP2000102017A (en) | 2000-04-07 |
Family
ID=17472109
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP26941598A Abandoned JP2000102017A (en) | 1998-09-24 | 1998-09-24 | Image encoder and image encoding system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2000102017A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002101416A (en) * | 2000-09-25 | 2002-04-05 | Fujitsu Ltd | Image control device |
WO2004014085A1 (en) * | 2002-08-05 | 2004-02-12 | Matsushita Electric Industrial Co., Ltd. | Data processing device and data processing method |
JP2006287864A (en) * | 2005-04-05 | 2006-10-19 | Nippon Hoso Kyokai <Nhk> | Encoding device and encoding program |
WO2011013304A1 (en) * | 2009-07-29 | 2011-02-03 | パナソニック株式会社 | Picture encoding method, picture encoding device, program, and integrated circuit |
JP2014528663A (en) * | 2011-10-01 | 2014-10-27 | インテル・コーポレーション | System, method and computer program for integrating post-processing and pre-processing in video transcoding |
JP2017520940A (en) * | 2014-01-14 | 2017-07-27 | トムソン ライセンシングThomson Licensing | Method and apparatus for multiplexing hierarchically encoded content |
-
1998
- 1998-09-24 JP JP26941598A patent/JP2000102017A/en not_active Abandoned
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002101416A (en) * | 2000-09-25 | 2002-04-05 | Fujitsu Ltd | Image control device |
WO2004014085A1 (en) * | 2002-08-05 | 2004-02-12 | Matsushita Electric Industrial Co., Ltd. | Data processing device and data processing method |
US7929604B2 (en) | 2002-08-05 | 2011-04-19 | Panasonic Corporation | Data processing device and data processing method |
JP2006287864A (en) * | 2005-04-05 | 2006-10-19 | Nippon Hoso Kyokai <Nhk> | Encoding device and encoding program |
WO2011013304A1 (en) * | 2009-07-29 | 2011-02-03 | パナソニック株式会社 | Picture encoding method, picture encoding device, program, and integrated circuit |
US20110176740A1 (en) * | 2009-07-29 | 2011-07-21 | Panasonic Corporation | Image coding method, image coding apparatus, program, and integrated circuit |
CN102165779A (en) * | 2009-07-29 | 2011-08-24 | 松下电器产业株式会社 | Image processing apparatus, image coding method, program and integrated circuit |
US8699778B2 (en) | 2009-07-29 | 2014-04-15 | Panasonic Corporation | Image coding method, image coding apparatus, program, and integrated circuit |
JP5499035B2 (en) * | 2009-07-29 | 2014-05-21 | パナソニック株式会社 | Image coding method, image coding apparatus, program, and integrated circuit |
JP2014528663A (en) * | 2011-10-01 | 2014-10-27 | インテル・コーポレーション | System, method and computer program for integrating post-processing and pre-processing in video transcoding |
JP2017520940A (en) * | 2014-01-14 | 2017-07-27 | トムソン ライセンシングThomson Licensing | Method and apparatus for multiplexing hierarchically encoded content |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5453799A (en) | Unified motion estimation architecture | |
US7480335B2 (en) | Video decoder for decoding macroblock adaptive field/frame coded video data with spatial prediction | |
JP4851741B2 (en) | Method and apparatus for encoding a sequence of source images | |
JP3778721B2 (en) | Video coding method and apparatus | |
US20030095603A1 (en) | Reduced-complexity video decoding using larger pixel-grid motion compensation | |
KR20010031222A (en) | Transcoding | |
KR100272812B1 (en) | Video signal coder | |
JP2010263301A (en) | Image data generation method | |
JP2003061100A (en) | Apparatus and method for encoding multi-channel image | |
JP3531532B2 (en) | Video encoding apparatus and method | |
JP2000102017A (en) | Image encoder and image encoding system | |
US20050259879A1 (en) | Video decoder with deblocker within decoding loop | |
US20050259734A1 (en) | Motion vector generator for macroblock adaptive field/frame coded video data | |
JP3257052B2 (en) | Highly efficient image signal encoding apparatus and method | |
JP2947103B2 (en) | Moving picture coding apparatus and moving picture coding method | |
US7843997B2 (en) | Context adaptive variable length code decoder for decoding macroblock adaptive field/frame coded video data | |
JP4264811B2 (en) | Image decoding apparatus and image decoding method | |
US20010053251A1 (en) | Image encoding device | |
JPH0984024A (en) | Video signal encoder | |
JPH06141302A (en) | Motion information difference processing unit and inverse difference processing unit | |
US6904093B1 (en) | Horizontal/vertical scanning frequency converting apparatus in MPEG decoding block | |
KR100242653B1 (en) | In-frame encoding method and apparatus | |
JP4130197B2 (en) | Video coding method and apparatus | |
JP3166835B2 (en) | Method and apparatus for highly efficient coding of moving images | |
JP3590976B2 (en) | Video compression device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20040420 |
|
A762 | Written abandonment of application |
Free format text: JAPANESE INTERMEDIATE CODE: A762 Effective date: 20040525 |