JP4380789B2 - Motion compensation method - Google Patents

Motion compensation method Download PDF

Info

Publication number
JP4380789B2
JP4380789B2 JP2009008754A JP2009008754A JP4380789B2 JP 4380789 B2 JP4380789 B2 JP 4380789B2 JP 2009008754 A JP2009008754 A JP 2009008754A JP 2009008754 A JP2009008754 A JP 2009008754A JP 4380789 B2 JP4380789 B2 JP 4380789B2
Authority
JP
Japan
Prior art keywords
refresh
frame
area
motion compensation
screen
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP2009008754A
Other languages
Japanese (ja)
Other versions
JP2009095063A (en
Inventor
正 加瀬沢
浩 伊藤
隆 篠原
隆洋 中井
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2009008754A priority Critical patent/JP4380789B2/en
Publication of JP2009095063A publication Critical patent/JP2009095063A/en
Application granted granted Critical
Publication of JP4380789B2 publication Critical patent/JP4380789B2/en
Expired - Lifetime legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Description

この発明は、映像信号の符号化方法に関し、特に動き補償予測を用いた動き補償方法に関する。     The present invention relates to a video signal encoding method, and more particularly to a motion compensation method using motion compensation prediction.

図7は、例えば、特許出願公告平2−914に示された従来の映像信号符号化方式の一例を示す概念図である。   FIG. 7 is a conceptual diagram showing an example of a conventional video signal encoding method disclosed in, for example, Japanese Patent Application Publication No. 2-914.

テレビジョン信号を符号化する場合の高能率符号化方式の一つとして、現フレームと前フレームの差分のみを符号化するフレーム間符号化方式がある。この方式では、フレーム間の差分値のみを送るものであるから、符号化後にエラーが発生すると、エラー部分は永続的にエラーとして画面上に残存することになる。そのために、エラーの有無にかかわらず周期的にフレーム内符号化を用いてフレームメモリをリフレッシュしてエラーを消失させる必要があり、これを周期的リフレッシュと称している。   One of the high-efficiency encoding methods for encoding a television signal is an inter-frame encoding method that encodes only the difference between the current frame and the previous frame. In this method, only the difference value between frames is sent, so if an error occurs after encoding, the error part will remain on the screen as an error permanently. Therefore, it is necessary to periodically erase the frame memory by using intra-frame coding regardless of the presence or absence of an error, and this error is called periodic refresh.

ところで、フレーム間符号化をより高能率化するために動き補償予測を用いたフレーム間符号化が行われている。この動き補償予測とは、前フレームと現フレームとの差分を最小とする動きベクトルを動きベクトル検出回路にて検出し、この動きベクトルと差分値とを符号化して動きに対する符号量の発生を抑圧するものである。この動き補償予測を用いたフレーム間符号化においても、エラーが発生すると永続的にこれが残るうえに、動きベクトルに従ってエラーが移動することから動きに応じてエラーが広がってしまうことになる。このエラーを消すためにフレーム間符号化と同様に周期リフレッシュが必要となる。
しかしながら、動き補償予測を行う場合には、リフレッシュ完了部分において、フレーム間差分量を最小とする動きベクトルとしてリフレッシュ未完了の部分の方向を検出すると、フレーム間差分はリフレッシュ未完了部分との間でとられてしまうことになる。仮にリフレッシュ未完了部分にエラーを含んでいればリフレッシュ完了部分にエラーが移行してしまい、周期的リフレッシュが完全に行なわれないという問題が生じる。
Incidentally, inter-frame coding using motion compensation prediction is performed in order to make inter-frame coding more efficient. In this motion compensated prediction, a motion vector that minimizes the difference between the previous frame and the current frame is detected by a motion vector detection circuit, and the motion vector and the difference value are encoded to suppress the generation of a code amount for the motion. To do. Even in the inter-frame coding using the motion compensation prediction, when an error occurs, it remains permanently, and the error moves according to the motion vector, so that the error spreads according to the motion. In order to eliminate this error, periodic refresh is required as in interframe coding.
However, when performing motion compensation prediction, if the direction of the incomplete refresh portion is detected as a motion vector that minimizes the interframe difference amount in the refresh completion portion, the interframe difference is between the refresh incomplete portion. It will be taken. If an error is included in the refresh incomplete portion, the error shifts to the refresh complete portion, causing a problem that periodic refresh is not performed completely.

図7は、動き補償フレーム間符号化装置の周期的リフレッシュ実行中におけるリフレッシュ完了領域,リフレッシュ未完了領域,リフレッシュ完了領域内のブロックおよびそのブロックに対する動き補償予測範囲を示している。第F画面において、周期的リフレッシュ領域が領域701 である時、領域702 はリフレッシュ完了領域、領域703 はリフレッシュ未完了領域であり、領域704 および領域705 はリフレッシュ完了領域内におけるブロックである。また、第F−1画面において、領域706 はリフレッシュ完了領域、領域707 はリフレッシュ未完了領域であり、領域708 は領域704 に対する動き補償予測範囲、領域709 は領域705 に対する動き補償予測範囲である。このとき、リフレッシュ領域701 とリフレッシュ完了領域702 の境界付近のブロック705 の動き補償予測範囲709 はリフレッシュ未完了領域707 を含んでしまうことになる。仮に、ブロック705 で通常の動き補償予測が行われ動きベクトルがリフレッシュ未完了領域707 を示した場合、ブロック705 ではリフレッシュ未完了領域の情報との差分値が採用されることになり、ブロック705 はリフレッシュ完了しているにもかかわらずリフレッシュ未完了の状態になってしまう。すなわちリフレッシュが完全に行われないことになる。   FIG. 7 shows a refresh completion region, a refresh incomplete region, a block in the refresh completion region, and a motion compensation prediction range for the block during execution of periodic refresh of the motion compensation interframe coding apparatus. In the Fth screen, when the periodic refresh area is the area 701, the area 702 is a refresh completion area, the area 703 is an incomplete refresh area, and the areas 704 and 705 are blocks in the refresh completion area. In the F-1th screen, a region 706 is a refresh completion region, a region 707 is a refresh incomplete region, a region 708 is a motion compensation prediction range for a region 704, and a region 709 is a motion compensation prediction range for a region 705. At this time, the motion compensated prediction range 709 of the block 705 near the boundary between the refresh area 701 and the refresh completion area 702 includes the refresh incomplete area 707. If normal motion compensation prediction is performed in block 705 and the motion vector indicates the refresh incomplete area 707, the difference value from the information in the refresh incomplete area is used in block 705, and block 705 Despite the completion of the refresh, the refresh is incomplete. That is, refresh is not completely performed.

図8は、動き補償予測範囲の制限された動き補償フレーム間符号化装置の周期的リフレッシュ実行中におけるリフレッシュ完了領域,リフレッシュ未完了領域,リフレッシュ完了領域内のブロックおよびそのブロックに対する動き補償予測範囲を示している。第F画面において、周期的リフレッシュ領域が領域801 である時、領域802 はリフレッシュ完了領域、領域803 はリフレッシュ未完了領域であり、領域804 および領域805 はリフレッシュ完了領域内におけるブロックである。また、第F−1画面において、領域806 はリフレッシュ完了領域、領域807 はリフレッシュ未完了領域であり、領域808 は領域804 に対する動き補償予測範囲、領域809 は領域805 に対する動き補償予測範囲である。このとき、リフレッシュ領域801 とリフレッシュ完了領域802 の境界付近のブロック805 の動き補償予測範囲809 は、リフレッシュ未完了領域807 を含まないように制限されている。このように、動き補償予測範囲をリフレッシュ完了領域に制限することにより、リフレッシュを完全に行うことができる。   FIG. 8 shows a refresh completion region, a refresh incomplete region, a block in the refresh completion region, and a motion compensation prediction range for the block during execution of periodic refresh of the motion compensation interframe coding apparatus with a limited motion compensation prediction range. Show. In the Fth screen, when the periodic refresh area is the area 801, the area 802 is the refresh completion area, the area 803 is the refresh incomplete area, and the areas 804 and 805 are blocks in the refresh completion area. In the F-1th screen, a region 806 is a refresh completion region, a region 807 is a refresh incomplete region, a region 808 is a motion compensation prediction range for the region 804, and a region 809 is a motion compensation prediction range for the region 805. At this time, the motion compensation prediction range 809 of the block 805 near the boundary between the refresh area 801 and the refresh completion area 802 is limited so as not to include the refresh incomplete area 807. Thus, the refresh can be completely performed by limiting the motion compensation prediction range to the refresh completion region.

従来の映像信号の符号化方式は、動き補償予測の参照を行うフレームが直前の1フレームに限られていた。   In the conventional video signal encoding method, the frame for referring to motion compensation prediction is limited to the immediately preceding frame.

この発明は上記のような問題点を解消するためになされたもので、動き補償予測を行う参照フレームを複数とすることで、動き補償予測の精度を向上させることを目的とする。   The present invention has been made to solve the above problems, and an object of the present invention is to improve the accuracy of motion compensation prediction by using a plurality of reference frames for performing motion compensation prediction.

この発明に係る動き補償方法は、画像情報を構成する画像フレーム列に含まれる現フレームと、当該現フレームよりも時間的に前にある複数の参照フレームとに基づいて、上記現フレーム内の動き補償の対象領域内の各ブロックについて動き補償を行う動き補償方法であって、上記各ブロックは、上記現フレーム内の上記対象領域を矩形形状に分割された複数のブロックであり、上記各ブロックについて行われる動き補償は、上記参照フレーム内における動き補償範囲から求められた動きベクトルに従って行われ、上記各ブロックにおける動き補償に用いる参照フレームは、当該各ブロックにおいて複数の上記参照フレームのうち少なくとも上記現フレームの時間的に1つ前或いは2つ前にある参照フレームから選択され、上記現フレームには、1つ前の参照フレームから動き補償されたブロックと、2つ前の参照フレームから動き補償されたブロックを含み、上記参照フレームは、所定フレームから時間的に後にあるフレームであり、上記所定フレームは、当該所定フレームよりも時間的に前にあるフレームを上記参照フレームとして用いないためのものであり、上記所定フレームは、上記現フレームに対し時間的に直近にあるフレーム内符号化されたフレームであり、上記所定フレームから時間的に後にあり、かつ、上記現フレームよりも時間的に前にある上記参照フレームは、上記各ブロックの動き補償範囲として使用され得る領域がフレーム間符号化されたフレームである。
According to the motion compensation method of the present invention, the motion in the current frame is based on the current frame included in the image frame sequence constituting the image information and a plurality of reference frames temporally before the current frame. A motion compensation method for performing motion compensation for each block in a compensation target area, wherein each of the blocks is a plurality of blocks obtained by dividing the target area in the current frame into rectangular shapes. The motion compensation performed is performed according to the motion vector obtained from the motion compensation range in the reference frame, and the reference frame used for motion compensation in each block is at least the current frame among the plurality of reference frames in each block. It is selected from the reference frames that are one or two frames before the frame, and the current frame A block compensated for motion from the previous reference frame and a block compensated for motion from the previous reference frame, wherein the reference frame is a frame temporally after the predetermined frame, and the predetermined frame Is for not using a frame temporally prior to the predetermined frame as the reference frame, and the predetermined frame is an intra-coded frame that is closest in time to the current frame. In the reference frame that is temporally after the predetermined frame and temporally before the current frame, an area that can be used as a motion compensation range of each block is inter-coded. It is a frame.

この発明によれば、動き補償予測の精度を向上させることが可能な動き補償方法を得ることができる。   According to the present invention, it is possible to obtain a motion compensation method capable of improving the accuracy of motion compensation prediction.

この発明の第1の実施例における動き補償予測の概念図である。It is a conceptual diagram of the motion compensation prediction in 1st Example of this invention. この発明の第2の実施例における動き補償予測の概念図である。It is a conceptual diagram of the motion compensation prediction in 2nd Example of this invention. この発明の第3の実施例における動き補償予測の概念図である。It is a conceptual diagram of the motion compensation prediction in 3rd Example of this invention. この発明の第4の実施例における動き補償予測の概念図である。It is a conceptual diagram of the motion compensation prediction in 4th Example of this invention. この発明の第5の実施例における動き補償予測の概念図である。It is a conceptual diagram of the motion compensation prediction in 5th Example of this invention. この発明の第6の実施例における復号器の概略ブロック図である。It is a schematic block diagram of the decoder in the 6th Example of this invention. 従来の映像信号符号化復号化方式における動き補償予測の概念図である。It is a conceptual diagram of the motion compensation prediction in the conventional video signal encoding / decoding system. 従来の映像信号符号化復号化方式における予測範囲を制限された動き補償予測の概念図である。It is a conceptual diagram of motion compensation prediction with a limited prediction range in a conventional video signal encoding / decoding method. 画面分割リフレッシュ方式を示す図である。It is a figure which shows a screen division refresh system. リフレッシュ領域が画面最上部に位置する場合を示す図である。It is a figure which shows the case where a refresh area | region is located in the uppermost part of a screen. リフレッシュ領域が画面最上部以外に位置する場合を示す図である。It is a figure which shows the case where a refresh area | region is located other than the top part of a screen.

以下、この発明の実施例について説明する。
近年の映像信号のディジタル化への潮流は、広範囲な分野に広まりつつあり、その波及は放送分野にまで及んでいる。現在の映像信号の高能率符号化方式の主流は、動き補償予測と変換符号化方式を組み合わせた方式であり、これを用いた数種の規格が制定されつつある。
動き補償予測は、基本的には時間領域の予測符号化であるため、初期値を設定する必要がある。また、符号化後に偶発的に発生したエラーの伝播を防ぐために、適当な周期で初期値に設定する必要がある。
この周期的な初期値設定の作業を一般に周期的リフレッシュと称している。動き補償予測と変換符号化を用いた方式の場合の周期的リフレッシュは、具体的には動き補償予測を行わない同一画面内での変換符号化となる。
Examples of the present invention will be described below.
The trend toward digitization of video signals in recent years is spreading to a wide range of fields, and the spread has spread to the broadcasting field. The mainstream of current high-efficiency encoding methods for video signals is a method combining motion-compensated prediction and transform encoding method, and several standards using this method are being established.
Since motion compensation prediction is basically time domain predictive coding, it is necessary to set an initial value. Moreover, in order to prevent the propagation of an error that occurs accidentally after encoding, it is necessary to set the initial value at an appropriate period.
This periodic initial value setting operation is generally referred to as periodic refresh. The periodic refresh in the case of a method using motion compensation prediction and transform coding is specifically transform coding in the same screen without motion compensation prediction.

一般に、放送のように一つの符号器に対して複数の復号器を有するシステムの場合には、上記リフレッシュ周期がシステム性能に関与してくる。たとえば、テレビジョン画像受信における電源投入時、あるいはチャンネル変更時にその影響は露出される。なぜならば、リフレッシュされた符号化信号が到達するまで、所望の画像を再生することは不可能である。
前記観点からはリフレッシュ周期は短い方が好ましいが、過度なリフレッシュ、すなわち頻繁な同一画面内での変換符号化は、圧縮効率の劣化を招くため、実際にはリフレッシュ周期は0.3 〜0.5 秒程度に設定される。
In general, in the case of a system having a plurality of decoders for one encoder as in broadcasting, the refresh cycle is involved in system performance. For example, the influence is exposed when power is turned on or when a channel is changed in television image reception. This is because it is impossible to reproduce a desired image until the refreshed encoded signal arrives.
From this point of view, it is preferable that the refresh cycle is short. However, excessive refresh, that is, frequent transform coding within the same screen, causes deterioration in compression efficiency, so the refresh cycle is actually about 0.3 to 0.5 seconds. Is set.

一般に、リフレッシュ方式としては、画面を一括して行う方式と画面を分割して行う方式とがある。従来の実施例で参照した方式は、この後者にあたる。
画面分割リフレッシュ方式の場合には、たとえば画面を10程度の領域に分割し、1画面に対し1領域ずつリフレッシュを行うことになる。
従来例で述べているように、動き補償予測を適用するシステムでは、画面分割リフレッシュ方式における分割の境界において、動き補償予測範囲をせばめるという制限が必要となる。なぜならば画面の分割境界面に発生するリフレッシュ未完了部分からの予測は、所望画像の獲得を永久に妨げることになるからである。 画面分割リフレッシュ方式は、その分割手法により様々な方式が考えられる。図9に主な分割手法を示す。
In general, the refresh method includes a method in which screens are collectively displayed and a method in which screens are divided. The system referred to in the conventional example corresponds to this latter.
In the case of the screen division refresh method, for example, the screen is divided into about 10 areas and refreshed one area at a time for one screen.
As described in the conventional example, in a system that applies motion compensation prediction, it is necessary to limit the motion compensation prediction range at the boundary of division in the screen division refresh method. This is because the prediction from the incomplete refresh portion occurring on the division boundary surface of the screen permanently prevents the acquisition of the desired image. There are various screen division refresh methods depending on the division method. FIG. 9 shows main division methods.

ところで、前述したように、復号化はリフレッシュ周期に対してランダムに開始される。すなわち、復号化開始時においては、画面内はすべてリフレッシュ未完了領域である。そのため符号化の際に各リフレッシュ領域に対し、図9(a) の例では上下左右の境界において、図9(b) の例では上下の境界において、図9(c) の例では左右の境界において、それぞれ動き補償予測範囲を制限する必要がある。
しかしながら、図9(b) の例では以下の証明のように下境界のみにその制限を緩和することができる。(図9(c) も同様な考察が可能である。)
By the way, as described above, decoding is started at random with respect to the refresh cycle. That is, at the start of decoding, the entire screen is an incomplete refresh area. Therefore, at the time of encoding, for each refresh area, the upper and lower left and right boundaries in the example of FIG. 9 (a), the upper and lower boundaries in the example of FIG. 9 (b), and the left and right boundaries in the example of FIG. 9 (c). In this case, it is necessary to limit the motion compensation prediction range.
However, in the example of FIG. 9B, the restriction can be relaxed only at the lower boundary as in the following proof. (The same consideration is possible for FIG. 9 (c).)

図9(b) のような例に関し、復号化開始時のリフレッシュ領域の場所に応じて、図10および図11のような2者に分類して考えてみる。
図10のようにリフレッシュ領域1001が画面最上部に位置している第F画面から復号化が開始された場合、第F画面のリフレッシュ領域位置に対応する第F+1画面におけるリフレッシュ完了領域1003(領域1004を含む)は、上境界における未完了領域からの予測による汚染は存在しないため、下境界における領域1004に属するブロックのみ予測範囲制限が行われていればよい。また第F+1画面のリフレッシュ領域位置に対応する第F+2画面におけるリフレッシュ完了領域1007(領域1008を含む)も、上境界における未完了領域からの予測による汚染は存在しないため、下境界における領域1008に属するブロックのみ予測範囲制限が行われていればよい。つまり当初の画面(第F画面)において画面最上部から復号化が開始された場合はこのようにして下境界の制限のみで周期的リフレッシュが完了することになる。
このとき、画面をn領域に分割している場合には、n画面にてリフレッシュが完了することになる。
Consider an example as shown in FIG. 9B, classified into two types as shown in FIGS. 10 and 11 according to the location of the refresh area at the start of decoding.
As shown in FIG. 10, when decoding is started from the F-th screen where the refresh area 1001 is located at the top of the screen, the refresh completion area 1003 (area 1004 in the F + 1 screen corresponding to the refresh area position of the F-th screen) )), There is no contamination due to the prediction from the incomplete region in the upper boundary, and therefore, the prediction range only needs to be limited only for the blocks belonging to the region 1004 in the lower boundary. The refresh completion area 1007 (including the area 1008) on the F + 2 screen corresponding to the refresh area position on the F + 1 screen also belongs to the area 1008 on the lower boundary because there is no contamination due to prediction from the uncompleted area on the upper boundary. It is sufficient that the prediction range is limited only for the block. That is, when decoding is started from the top of the screen on the initial screen (Fth screen), the periodic refresh is completed in this way only by limiting the lower boundary.
At this time, when the screen is divided into n regions, the refresh is completed on the n screen.

図11のようにリフレッシュ領域が画面最上部以外に位置している第F画面から復号化が開始された場合、厳密には上境界および下境界において予測範囲制限が行われている必要がある。しかしながら、下境界の予測範囲制限のみでも、以下のように周期的リフレッシュは完全に実行される。
図11のようにリフレッシュ領域が画面最上部以外に位置している第F画面から復号化が開始した場合、第F画面のリフレッシュ領域位置に対応する第F+1画面におけるリフレッシュ完了領域は、上境界において未完了領域からの予測による汚染が存在する可能性がある。この汚染領域を領域1105として図に示す。
When decoding is started from the F-th screen in which the refresh area is located at a position other than the top of the screen as shown in FIG. 11, strictly speaking, the prediction range must be limited at the upper boundary and the lower boundary. However, even with only the lower boundary prediction range limitation, the periodic refresh is completely executed as follows.
When decoding starts from the Fth screen where the refresh area is located at a position other than the top of the screen as shown in FIG. 11, the refresh completion area in the (F + 1) th screen corresponding to the refresh area position of the Fth screen is at the upper boundary. There may be contamination due to predictions from unfinished areas. This contaminated area is shown as area 1105 in the figure.

しかしながら、実際には画面を分割し割り当てられたリフレッシュ領域の幅が汚染領域の幅よりも大きいため、以下のような条件にて周期的リフレッシュは完全に実施される。
1画面のライン数をLライン、垂直方向の予測範囲を±yラインとしたとき、f画面後にリフレッシュが完了しているライン数は、
{(L/n)×f}−{y×(f−1)}
となる。これがLラインより大きくなればリフレッシュは完了されたことになるから、
{(L/n)×f}−{y×(f−1)}≧L
{(L/n)−y}×f+y≧L
となり、
f≧(L−y)/{(L/n)−y}
となる。f以上の最も小さな整数をfint とすると、fint 画面経過後にリフレッシュは完全に実施されることになる。
However, since the width of the refresh area allocated by dividing the screen is actually larger than the width of the contaminated area, the periodic refresh is completely performed under the following conditions.
When the number of lines on one screen is L lines and the predicted range in the vertical direction is ± y lines, the number of lines that have been refreshed after f screen is
{(L / n) * f}-{y * (f-1)}
It becomes. If this is larger than the L line, the refresh is complete,
{(L / n) × f} − {y × (f−1)} ≧ L
{(L / n) −y} × f + y ≧ L
And
f ≧ (L−y) / {(L / n) −y}
It becomes. Assuming that the smallest integer equal to or larger than f is fint, the refresh is completely performed after the elapse of the fint screen.

以上の二者の場合を統合することにより、以下のような結論を得る。
復号化開始時のリフレッシュ領域が第i領域である場合のリフレッシュ完了時間Trは、
Tr=min[n+{n−(i−1)},fint ] (単位:画面時間)
となる。
尚、リフレッシュ方式が異なる場合も同様な手法にて、リフレッシュ完了時間Trを得ることができる。
By integrating the above two cases, the following conclusion is obtained.
The refresh completion time Tr when the refresh area at the start of decoding is the i-th area is
Tr = min [n + {n− (i−1)}, fint] (unit: screen time)
It becomes.
Note that the refresh completion time Tr can be obtained by the same method even when the refresh method is different.

実施例1.
以下、この発明の第1の実施例について説明する。
図1はこの発明の第1の実施例における動き補償予測の概念図である。
Example 1.
The first embodiment of the present invention will be described below.
FIG. 1 is a conceptual diagram of motion compensated prediction in the first embodiment of the present invention.

次に動作について説明する。
従来の実施例では、下境界において動き補償範囲を制限することにより周期的リフレッシュを実行していた。しかしながら、第1の実施例では、図1のようにリフレッシュ領域をオーバーラップさせて周期的リフレッシュを実施する。
第F+1画面を例に説明する。領域107 は画面を分割し割り当てられたリフレッシュ領域である。領域106 はリフレッシュ領域のオーバーラップ領域として付加された領域である。領域106 をオーバーラップされたリフレッシュ領域とすることにより、領域106 における未完了領域からの予測を防ぐことができる。これにより、完全に周期的リフレッシュを完了することができる。
Next, the operation will be described.
In the conventional example, the periodic refresh is executed by limiting the motion compensation range at the lower boundary. However, in the first embodiment, periodic refresh is performed with overlapping refresh areas as shown in FIG.
A description will be given taking the F + 1st screen as an example. An area 107 is a refresh area allocated by dividing the screen. An area 106 is an area added as an overlap area of the refresh area. By making the area 106 an overlapped refresh area, prediction from an incomplete area in the area 106 can be prevented. Thereby, the periodic refresh can be completed completely.

実施例2.
以下、この発明の第2の実施例について説明する。
図2はこの発明の第2の実施例における動き補償予測の概念図である。
Example 2
The second embodiment of the present invention will be described below.
FIG. 2 is a conceptual diagram of motion compensation prediction in the second embodiment of the present invention.

次に動作について説明する。
従来の実施例では、動き補償予測の参照画面は1画面に限られていた。
第2の実施例は、複数の参照画面より動き補償予測する場合の周期的リフレッシュ方式に関する。
図2は、2枚の参照画面より動き補償予測する場合の周期的リフレッシュ方式の概念図である。
図2において第F+2画面における参照画面は、第F+1画面と第F画面の2画面である。このとき、図2のようにリフレッシュ完了領域における動き補償予測範囲がリフレッシュ未完了領域を含まないようにリフレッシュ完了領域の動き補償予測範囲を制限するとともに参照画面も制限する。
Next, the operation will be described.
In the conventional example, the reference screen for motion compensation prediction is limited to one screen.
The second embodiment relates to a periodic refresh method when motion compensation prediction is performed from a plurality of reference screens.
FIG. 2 is a conceptual diagram of a periodic refresh method when motion compensation prediction is performed from two reference screens.
In FIG. 2, reference screens in the (F + 2) -th screen are two screens, that is, an F + 1-th screen and an F-th screen. At this time, as shown in FIG. 2, the motion compensation prediction range in the refresh completion region is restricted and the reference screen is restricted so that the motion compensation prediction range in the refresh completion region does not include the refresh incomplete region.

第F+2画面を例に説明する。領域218 は画面を分割し割り当てられたリフレッシュ領域である。このとき、予測範囲制限領域214 は第F画面の下方からの予測は禁止され、予測範囲制限領域215 は第F画面の下方および平行方向からの予測は禁止され、予測範囲制限領域216 は第F画面からの予測は禁止され、予測範囲制限領域217 は第F画面および第F+1画面の下方からの予測は禁止される。これにより、完全に周期的リフレッシュを完了することができる。
尚、予測範囲および参照画面の制限は、リフレッシュ未完了領域を含まなければ、どのように制限してもよい。
An example of the F + 2 screen will be described. An area 218 is a refresh area allocated by dividing the screen. At this time, the prediction range limited area 214 is prohibited from being predicted from the lower side of the Fth screen, the prediction range limited area 215 is prohibited from being predicted from the lower side and the parallel direction of the Fth screen, and the prediction range limited area 216 is the Fth screen. Prediction from the screen is prohibited, and prediction from the lower side of the Fth screen and (F + 1) th screen is prohibited in the prediction range limited area 217. Thereby, the periodic refresh can be completed completely.
Note that the prediction range and the reference screen may be restricted in any way as long as the refresh incomplete area is not included.

実施例3.
以下、この発明の第3の実施例について説明する。
図3はこの発明の第3の実施例における動き補償予測の概念図である。
Example 3
The third embodiment of the present invention will be described below.
FIG. 3 is a conceptual diagram of motion compensation prediction in the third embodiment of the present invention.

次に動作について説明する。
第3の実施例も、複数の参照画面より動き補償予測する場合の周期的リフレッシュ方式に関する。
図3は、2枚の参照画面より動き補償予測する場合の周期的リフレッシュ方式の概念図である。
Next, the operation will be described.
The third embodiment also relates to a periodic refresh method when motion compensation prediction is performed from a plurality of reference screens.
FIG. 3 is a conceptual diagram of a periodic refresh method when motion compensation prediction is performed from two reference screens.

図3において第F+2画面における参照画面は、第F+1画面と第F画面の2画面である。このとき、図3のようにリフレッシュ完了領域における動き補償予測範囲がリフレッシュ未完了領域を含まないようにリフレッシュ領域をオーバーラップさせて周期的リフレッシュを実施する。
第F+2画面を例に説明する。領域312 は画面を分割し割り当てられたリフレッシュ領域である。領域311 および領域310 はリフレッシュ領域のオーバーラップ領域として付加された領域である。領域311 および領域310 をリフレッシュ領域とすることにより、領域311 および領域310 における未完了領域からの予測を防ぐことができる。これにより、完全に周期的リフレッシュを完了することができる。
In FIG. 3, reference screens in the (F + 2) -th screen are two screens (F + 1-th screen and F-th screen). At this time, as shown in FIG. 3, the refresh regions are overlapped so that the motion compensation prediction range in the refresh completion region does not include the refresh incomplete region, and the periodic refresh is performed.
An example of the F + 2 screen will be described. An area 312 is a refresh area allocated by dividing the screen. Regions 311 and 310 are regions added as overlap regions of the refresh region. By setting the region 311 and the region 310 as the refresh region, prediction from the incomplete region in the region 311 and the region 310 can be prevented. Thereby, the periodic refresh can be completed completely.

実施例4.
以下、この発明の第4の実施例について説明する。
図4はこの発明の第4の実施例における動き補償予測の概念図である。
Example 4
The fourth embodiment of the present invention will be described below.
FIG. 4 is a conceptual diagram of motion compensation prediction in the fourth embodiment of the present invention.

次に動作について説明する。
第4の実施例も、複数の参照画面より動き補償予測する場合の周期的リフレッシュ方式に関する。
図4は、2枚の参照画面より動き補償予測する場合の周期的リフレッシュ方式の概念図である。このとき、図4のように2画面毎にリフレッシュ領域を変更し、リフレッシュ完了領域における動き補償予測範囲がリフレッシュ未完了領域を含まないようにリフレッシュ完了領域の動き補償予測範囲を制限する。
第F+2画面および第F+3画面を例に説明する。第F+2画面において、領域411 は画面を分割し割り当てられたリフレッシュ領域である。このとき、予測範囲制限領域410 は第F画面および第F+1画面の下方からの予測は禁止される。また、第F+3画面において、領域415 は画面を分割し割り当てられたリフレッシュ領域である。このとき、予測範囲制限領域414 は第F+1画面の下方からの予測は禁止される。これにより、完全に周期的リフレッシュを完了することができる。
尚、予測範囲および参照画面の制限は、リフレッシュ未完了領域を含まなければ、どのように制限してもよい。
Next, the operation will be described.
The fourth embodiment also relates to a periodic refresh method when motion compensation prediction is performed from a plurality of reference screens.
FIG. 4 is a conceptual diagram of a periodic refresh method when motion compensation prediction is performed from two reference screens. At this time, the refresh area is changed every two screens as shown in FIG. 4, and the motion compensation prediction range in the refresh completion area is limited so that the motion compensation prediction area in the refresh completion area does not include the refresh incomplete area.
The F + 2 screen and the F + 3 screen will be described as an example. In the F + 2 screen, an area 411 is a refresh area allocated by dividing the screen. At this time, the prediction range restriction area 410 is prohibited from being predicted from below the F-th screen and the (F + 1) -th screen. In the (F + 3) th screen, an area 415 is a refresh area allocated by dividing the screen. At this time, the prediction range limited area 414 is prohibited from being predicted from below the F + 1th screen. Thereby, the periodic refresh can be completed completely.
Note that the prediction range and the reference screen may be restricted in any way as long as the refresh incomplete area is not included.

実施例5.
以下、この発明の第5の実施例について説明する。
図5はこの発明の第5の実施例における動き補償予測の概念図である。
Embodiment 5 FIG.
The fifth embodiment of the present invention will be described below.
FIG. 5 is a conceptual diagram of motion compensation prediction in the fifth embodiment of the present invention.

次に動作について説明する。
第5の実施例も、複数の参照画面より動き補償予測する場合の周期的リフレッシュ方式に関する。
図5は、2枚の参照画面より動き補償予測する場合の周期的リフレッシュ方式の概念図である。このとき、図5のように2画面毎にリフレッシュ領域を変更し、リフレッシュ完了領域における動き補償予測範囲がリフレッシュ未完了領域を含まないようにリフレッシュ領域をオーバーラップさせる。
Next, the operation will be described.
The fifth embodiment also relates to a periodic refresh method for motion compensation prediction from a plurality of reference screens.
FIG. 5 is a conceptual diagram of a periodic refresh method when motion compensation prediction is performed from two reference screens. At this time, as shown in FIG. 5, the refresh area is changed every two screens, and the refresh areas are overlapped so that the motion compensation prediction range in the refresh completion area does not include the refresh incomplete area.

第F+2画面および第F+3画面を例に説明する。第F+2画面において領域511 は画面を分割し割り当てられたリフレッシュ領域である。領域510 はリフレッシュ領域のオーバーラップ領域として付加された領域である。領域510 をリフレッシュ領域とすることにより、領域510 における未完了領域からの予測を防ぐことができる。また、第F+3画面において領域515 は画面を分割し割り当てられたリフレッシュ領域である。領域514 はリフレッシュ領域のオーバーラップ領域として付加された領域である。領域514 をリフレッシュ領域とすることにより、領域514 における未完了領域からの予測を防ぐことができる。これにより、完全に周期的リフレッシュを完了することができる。   The F + 2 screen and the F + 3 screen will be described as an example. In the F + 2 screen, an area 511 is a refresh area allocated by dividing the screen. An area 510 is an area added as an overlap area of the refresh area. By making the area 510 a refresh area, prediction from an incomplete area in the area 510 can be prevented. In the (F + 3) th screen, an area 515 is a refresh area allocated by dividing the screen. An area 514 is an area added as an overlap area of the refresh area. By making the area 514 a refresh area, prediction from an incomplete area in the area 514 can be prevented. Thereby, the periodic refresh can be completed completely.

実施例6.
以下、この発明の第6の実施例について説明する。
図6はこの発明の第6の実施例における復号器の概略ブロック図である。
図6において、入力端子1より入力される符号化されたデータ系列601 は、復号化回路3を介して画像メモリ4および選択回路5の第1の入力に与えられる。画像メモリ4の出力603 は選択回路5の第2の入力に与えられる。選択回路の第3の入力にはフリーズ信号発生回路6よりフリーズ信号604 が与えられる。選択回路5の出力は画像信号605 として出力端子2よりされる。
Example 6
The sixth embodiment of the present invention will be described below.
FIG. 6 is a schematic block diagram of a decoder in the sixth embodiment of the present invention.
In FIG. 6, an encoded data series 601 input from the input terminal 1 is given to the first input of the image memory 4 and the selection circuit 5 via the decoding circuit 3. The output 603 of the image memory 4 is given to the second input of the selection circuit 5. A freeze signal 604 is supplied from the freeze signal generation circuit 6 to the third input of the selection circuit. The output of the selection circuit 5 is output from the output terminal 2 as an image signal 605.

次に動作について説明する。
第6の実施例は、復号器における処理に関する。
前述したように、たとえば、テレビジョン画像受信における電源投入時あるいはチャンネル変更時には、リフレッシュが完全に実施されるまで、所望の画像を再生できる保証はない。よって、上記のような場合には、リフレッシュが完全に実施されるまでは、特定の画像あるいは正確に復号された最新の画像をフリーズする。
Next, the operation will be described.
The sixth embodiment relates to processing in the decoder.
As described above, for example, when power is turned on or a channel is changed in receiving a television image, there is no guarantee that a desired image can be reproduced until the refresh is completely performed. Therefore, in the above case, the specific image or the latest decoded image is frozen until the refresh is completely performed.

図6において、通常再生しているときには、選択回路は復号化回路の出力を選択し送出している。このとき、画像メモリには常に最新画像が蓄積される。電源投入時あるいはチャンネル変更時には、選択回路は画像メモリの出力を選択し送出する。このとき、画像メモリの蓄積内容は更新されない。選択回路の切り換えは、フリーズ信号により行われる。フリーズ信号発生回路では、電源投入時あるいはチャンネル変更時のような場合にリフレッシュが完了するまでの不正確画像復号期間を検出し、フリーズ信号を送出する。不正確画像復号期間は、たとえば前述した例では次のように与えられる。
min[n+(n−i),fint ]
また、
n+(n−i)
あるいは、
fint
としてもよい。
また、
min[n+(n−i),fint ]
よりも大きな値ならば他の近似を行ってもよい。
尚、リフレッシュ方式が異なる場合も前記と同様な手法にて、不正確画像復号期間を得ることができる。
In FIG. 6, during normal playback, the selection circuit selects and sends the output of the decoding circuit. At this time, the latest image is always stored in the image memory. When the power is turned on or when the channel is changed, the selection circuit selects and transmits the output of the image memory. At this time, the contents stored in the image memory are not updated. The selection circuit is switched by a freeze signal. The freeze signal generation circuit detects an inaccurate image decoding period until refresh is completed when the power is turned on or the channel is changed, and a freeze signal is transmitted. For example, the inaccurate image decoding period is given as follows in the above-described example.
min [n + (n−i), fint]
Also,
n + (n−i)
Or
fint
It is good.
Also,
min [n + (n−i), fint]
Other approximations may be performed as long as the value is larger.
Even when the refresh method is different, the inaccurate image decoding period can be obtained by the same method as described above.

1 入力端子
2 出力端子
3 復号化回路
4 画像メモリ
5 選択回路
6 フリーズ信号発生回路
DESCRIPTION OF SYMBOLS 1 Input terminal 2 Output terminal 3 Decoding circuit 4 Image memory 5 Selection circuit 6 Freeze signal generation circuit

Claims (1)

画像情報を構成する画像フレーム列に含まれる現フレームと、当該現フレームよりも時間的に前にある複数の参照フレームとに基づいて、上記現フレーム内の動き補償の対象領域内の各ブロックについて動き補償を行う動き補償方法であって、
上記各ブロックは、上記現フレーム内の上記対象領域を矩形形状に分割されたブロックであり、
上記各ブロックについて行われる動き補償は、上記参照フレーム内における動き補償範囲から求められた動きベクトルに従って行われ、
上記各ブロックにおける動き補償に用いる参照フレームは、当該各ブロックにおいて複数の上記参照フレームのうち少なくとも上記現フレームの時間的に1つ前或いは2つ前にある参照フレームから選択され、上記現フレームには、1つ前の参照フレームから動き補償されたブロックと、2つ前の参照フレームから動き補償されたブロックを含み、
上記参照フレームは、所定フレームから時間的に後にあるフレームであり、
上記所定フレームは、当該所定フレームよりも時間的に前にあるフレームを上記参照フレームとして用いないためのものであり
上記所定フレームは、上記現フレームに対し時間的に直近にあるフレーム内符号化されたフレームであり、
上記所定フレームから時間的に後にあり、かつ、上記現フレームよりも時間的に前にある上記参照フレームは、上記各ブロックの動き補償範囲として使用され得る領域がフレーム間符号化されたフレームであることを特徴とする動き補償方法。
Based on the current frame included in the image frame sequence constituting the image information and a plurality of reference frames temporally before the current frame, each block in the motion compensation target area in the current frame A motion compensation method for performing motion compensation,
Each of the blocks is a block obtained by dividing the target area in the current frame into a rectangular shape,
Motion compensation performed for each block is performed according to a motion vector obtained from a motion compensation range in the reference frame,
The reference frame used for motion compensation in each block is selected from at least one reference frame that is temporally one or two times before the current frame among the plurality of reference frames in each block. Includes a motion compensated block from the previous reference frame and a motion compensated block from the previous reference frame;
The reference frame is a frame temporally after a predetermined frame,
The predetermined frame is for not using the frame that precedes in time than the predetermined frame as the reference frame,
The predetermined frame is an intra-coded frame that is closest in time to the current frame,
The reference frame that is temporally after the predetermined frame and temporally before the current frame is a frame in which an area that can be used as a motion compensation range of each block is interframe-coded. A motion compensation method characterized by the above.
JP2009008754A 2009-01-19 2009-01-19 Motion compensation method Expired - Lifetime JP4380789B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009008754A JP4380789B2 (en) 2009-01-19 2009-01-19 Motion compensation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009008754A JP4380789B2 (en) 2009-01-19 2009-01-19 Motion compensation method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2002320802A Division JP4276420B2 (en) 2002-11-05 2002-11-05 Motion compensation method

Publications (2)

Publication Number Publication Date
JP2009095063A JP2009095063A (en) 2009-04-30
JP4380789B2 true JP4380789B2 (en) 2009-12-09

Family

ID=40666505

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009008754A Expired - Lifetime JP4380789B2 (en) 2009-01-19 2009-01-19 Motion compensation method

Country Status (1)

Country Link
JP (1) JP4380789B2 (en)

Also Published As

Publication number Publication date
JP2009095063A (en) 2009-04-30

Similar Documents

Publication Publication Date Title
JP4649615B2 (en) Video encoding / decoding device, video encoding / decoding method, and program thereof
JP6348188B2 (en) Robust encoding and decoding of pictures in video
RU2538317C2 (en) Motion prediction method and video encoding method
JP2007288462A (en) Video image display device
JPH07288820A (en) Coder and decoder
JPH11275583A (en) Moving image coding method and moving image coder
JP4577778B2 (en) Video coding and decoding method
JP4276420B2 (en) Motion compensation method
JP5050964B2 (en) Decoding device, decoding method, and decoding program
JP4380790B2 (en) Decryption method
JP4380789B2 (en) Motion compensation method
JP4380787B2 (en) Motion compensation method
JP4380788B2 (en) Decryption method
JP4380786B2 (en) Decryption method
JP4645747B2 (en) Decoding method and motion compensation method
JP4081103B2 (en) Video encoding device
JP6021153B2 (en) Method and apparatus for decoding video images
JP3496234B2 (en) Encoding method
JP4227643B2 (en) Moving picture coding apparatus and method
KR101678138B1 (en) Video encoding method, device, and program
JP6740533B2 (en) Encoding device, decoding device and program
JPH05328324A (en) Refresh system for movement-compensated inter-frame predictive coding
JP5248583B2 (en) Moving picture decoding apparatus and moving picture decoding method
JPH1093969A (en) Moving image encoder
JPH11341521A (en) Coder for stereoscopic moving image

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090218

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090218

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: 20090901

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: 20090914

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

Free format text: PAYMENT UNTIL: 20121002

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20121002

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20131002

Year of fee payment: 4

EXPY Cancellation because of completion of term