JP2968233B2 - Motion vector search method and search device - Google Patents

Motion vector search method and search device

Info

Publication number
JP2968233B2
JP2968233B2 JP12462097A JP12462097A JP2968233B2 JP 2968233 B2 JP2968233 B2 JP 2968233B2 JP 12462097 A JP12462097 A JP 12462097A JP 12462097 A JP12462097 A JP 12462097A JP 2968233 B2 JP2968233 B2 JP 2968233B2
Authority
JP
Japan
Prior art keywords
field
current image
distortion
block
motion vector
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
JP12462097A
Other languages
Japanese (ja)
Other versions
JPH10322701A (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.)
GURAFUITSUKUSU KOMYUNIKEESHON RABORATORIIZU KK
Original Assignee
GURAFUITSUKUSU KOMYUNIKEESHON RABORATORIIZU KK
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 GURAFUITSUKUSU KOMYUNIKEESHON RABORATORIIZU KK filed Critical GURAFUITSUKUSU KOMYUNIKEESHON RABORATORIIZU KK
Priority to JP12462097A priority Critical patent/JP2968233B2/en
Publication of JPH10322701A publication Critical patent/JPH10322701A/en
Application granted granted Critical
Publication of JP2968233B2 publication Critical patent/JP2968233B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、ディジタル動画像
の情報圧縮に適用される動きベクトル探索方法および探
索装置に係り、特に、現画像の一部を構成する現画像ブ
ロックの画素データと参照画像上のサーチウィンドウ内
の複数の候補ブロックの画素データとに基づいて算出さ
れたそれぞれのディストーションによって動きベクトル
を探索する動きベクトル探索方法および探索装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method and apparatus for searching for a motion vector applied to information compression of a digital moving picture, and more particularly, to pixel data of a current picture block constituting a part of a current picture and a reference picture. The present invention relates to a motion vector search method and a search device for searching for a motion vector by respective distortions calculated based on pixel data of a plurality of candidate blocks in an upper search window.

【0002】[0002]

【従来の技術】文字、図形、音声、映像などの異なる情
報をデジタルデータで表現し、これらのメディアを統合
して一元的に取り扱うマルチメディアが近年注目を浴び
ている。このマルチメディアをより効果的に実現するキ
ー・テクノロジーのひとつとして情報圧縮技術がある。
情報圧縮技術は、情報の冗長性に着目し、冗長な部分の
情報を削減することにより、情報量を少なくする技術で
あり、これにより大量の情報を効率的に処理し、蓄積
し、伝送することが可能となる。
2. Description of the Related Art In recent years, multimedia which expresses different information such as characters, figures, voices, and images by digital data, and integrates these media and handles them in a unified manner has attracted attention in recent years. One of the key technologies to realize this multimedia more effectively is information compression technology.
Information compression technology is a technology that focuses on information redundancy and reduces the amount of information by reducing the information in redundant parts, thereby efficiently processing, storing, and transmitting a large amount of information. It becomes possible.

【0003】各種のメディアの情報量には大きな差があ
り、とりわけ、動画像は膨大な情報量を有するため、大
幅な情報の圧縮が必要となる。情報の圧縮方法には各種
方式があり、これらの方式を組み合わせることにより、
大幅な圧縮を実現している。一般に、これらの圧縮機能
はLSI(Large scale integrated circuit)として提
供されている。
[0003] There is a large difference in the amount of information of various media. In particular, since a moving image has a huge amount of information, a large amount of information compression is required. There are various methods for compressing information, and by combining these methods,
Significant compression has been achieved. Generally, these compression functions are provided as an LSI (Large scale integrated circuit).

【0004】動画像情報の圧縮方式の一つとして、動画
像の一部を構成する2つの画面間の時間的な相関関係に
基づいて情報圧縮を行う方式が知られている。この圧縮
方式には、例えば、単純フレーム間予測符号化方式、動
き補償フレーム間予測符号化方式がある。ここで、フレ
ームとは、動画像を構成する1枚の画面を表す。以下、
単純フレーム間予測符号化方式および動き補償フレーム
間予測符号化方式について説明する。
As one of the compression methods for moving image information, there is known a method for compressing information based on a temporal correlation between two screens constituting a part of a moving image. This compression method includes, for example, a simple inter-frame prediction coding method and a motion compensation inter-frame prediction coding method. Here, a frame represents one screen constituting a moving image. Less than,
The simple inter-frame prediction coding method and the motion compensation inter-frame prediction coding method will be described.

【0005】図53は、単純フレーム間予測符号化方式
を示す図である。単純フレーム間予測符号化方式におい
ては、互いに位置的に対応する現画像100の各画素デ
ータと参照画像200の各画素データとの差分値を算出
し、この差分値を適当な閾値と比較して、有意画素デー
タと非有意画素データとに識別する。有意画素データ
は、この差分値が閾値より大きい場合に相当し、参照画
像200から現画像100を予測する際に省略すること
のできないデータである。一方、非有意画素データは、
この差分値が閾値以下の場合に相当し、参照画像200
から現画像100を予測する際に削減することが可能な
データである。
FIG. 53 is a diagram showing a simple inter-frame predictive coding method. In the simple inter-frame prediction coding method, a difference value between each pixel data of the current image 100 and each pixel data of the reference image 200 corresponding to each other is calculated, and the difference value is compared with an appropriate threshold value. , Significant pixel data and insignificant pixel data. The significant pixel data corresponds to a case where the difference value is larger than the threshold value, and is data that cannot be omitted when predicting the current image 100 from the reference image 200. On the other hand, insignificant pixel data is
This corresponds to the case where the difference value is equal to or less than the threshold value, and the reference image 200
These are data that can be reduced when predicting the current image 100 from.

【0006】なお、参照画像200は、現画像100よ
りも過去の画像であっても、未来の画像であってもよい
が、現画像100よりも時間的に先に符号化される画像
である。例えば、図53に示すように、参照画像200
における人物像1が現画像100において右方向に移動
してる場合、有意画素データを示す領域は、2つの有意
画素領域2および2aによって示される。有意画素領域
2に位置的に対応する現画像100上の画素データは、
この画素データと有意画素領域2との差分値および有意
画素領域2によって表わすことができ、有意画素領域2
aに位置的に対応する現画像100上の画素データは、
この画素データと有意画素領域2aとの差分値および有
意画素領域2aによって表わすことができる。残りの非
有意画素領域は、この非有意画素領域と位置的に対応す
る参照画像200の画素データそのものによって表わす
ことができる。
The reference image 200 may be a past image or a future image of the current image 100, but is an image that is encoded earlier than the current image 100 in time. . For example, as shown in FIG.
Is moving rightward in the current image 100, a region indicating significant pixel data is indicated by two significant pixel regions 2 and 2a. The pixel data on the current image 100 corresponding to the significant pixel area 2 is
The difference between the pixel data and the significant pixel area 2 and the significant pixel area 2 can be represented.
The pixel data on the current image 100 corresponding to the position a is
It can be represented by a difference value between the pixel data and the significant pixel area 2a and the significant pixel area 2a. The remaining non-significant pixel area can be represented by the pixel data itself of the reference image 200 corresponding to the non-significant pixel area.

【0007】単純フレーム間予測符号化方式では、有意
画素数が少ないほど予測の際に必要な差分値のデータ量
を少なくすることができるので、圧縮効率を向上するこ
とができる。また、閾値を高く設定することによって有
意画素数を少なくして圧縮効率をさらに向上することも
できるが、閾値を高くしすぎると、画像の動きがぎくし
ゃくして不自然になったり、動くべき画像の一部が残像
として現れたりするため、画像品質が著しく劣化すると
いった不具合が発生する。
In the simple inter-frame predictive coding method, the smaller the number of significant pixels, the smaller the data amount of the difference value required for prediction, so that the compression efficiency can be improved. Also, by setting a high threshold, the number of significant pixels can be reduced to further improve the compression efficiency.However, if the threshold is set too high, the image becomes jerky and unnatural, May appear as an afterimage, causing a problem that the image quality is significantly deteriorated.

【0008】このように、単純フレーム間予測符号化方
式では、現画像100を参照画像200の同一位置の画
素データに基づいて予測するので、現画像100と参照
画像200との間の画像上の変化が小さいときには高い
圧縮効率を実現することができるが、図53に示される
ように、画像の一部が画像上で大幅に移動するような場
合には、単純フレーム間予測符号化方式よりも次に説明
する動き補償フレーム間予測符号化方式を用いた方が圧
縮効率は高くなる。
As described above, in the simple inter-frame prediction coding method, the current image 100 is predicted on the basis of the pixel data at the same position of the reference image 200. When the change is small, a high compression efficiency can be realized. However, as shown in FIG. 53, when a part of the image moves largely on the image, a higher compression efficiency than the simple inter-frame prediction coding method is used. The compression efficiency is higher when the motion compensation inter-frame prediction coding method described below is used.

【0009】動き補償フレーム間予測符号化方式では、
図54に示されるように、参照画像200の人物像1が
移動した場合、図54に示される動きベクトルMVを算
出する。動きベクトルMVは、人物像1の移動方向およ
び移動距離を表し、この動きベクトルMVと参照画像2
00の人物像1を形成する画素データとによって、現画
像100上の人物像1を予測する。この場合、有意画素
領域は領域2となる。したがって、動き補償フレーム間
予測符号化方式では、有意画素数を大幅に少なくするこ
とができるので、画像情報の圧縮効率を大幅に向上する
ことができる。
In the motion compensation inter-frame prediction coding method,
As shown in FIG. 54, when the human image 1 of the reference image 200 moves, the motion vector MV shown in FIG. 54 is calculated. The motion vector MV indicates the moving direction and the moving distance of the person image 1, and the motion vector MV and the reference image 2
The human image 1 on the current image 100 is predicted based on the pixel data forming the human image 1 of 00. In this case, the significant pixel area is the area 2. Therefore, in the motion-compensated inter-frame predictive coding method, the number of significant pixels can be significantly reduced, and the compression efficiency of image information can be greatly improved.

【0010】ところで、国際標準方式であるITU−T
(International telecommunication Union-Telecommun
ication Standardization Sector)H.261による動
き補償フレーム間予測方式では、まず、図55に示すよ
うに、現画像100を複数のブロックに分割し、その一
つのブロック110(以下、現画像ブロックと呼ぶ)に
類似した同一サイズの複数のブロック310(以下、候
補ブロックと呼ぶ)を含むサーチウィンドウ210を参
照画像200上で特定し、サーチウィンドウ210内に
含まれる複数の候補ブロック310と現画像ブロック1
10とのディストーションを算出する。
Incidentally, the ITU-T which is an international standard system
(International telecommunication Union-Telecommun
ication Standardization Sector) H. In the motion-compensated inter-frame prediction method according to H.261, first, as shown in FIG. A search window 210 including a plurality of blocks 310 (hereinafter, referred to as candidate blocks) is specified on the reference image 200, and the plurality of candidate blocks 310 included in the search window 210 and the current image block 1 are identified.
Calculate the distortion with 10.

【0011】ここで、ディストーションとは、各候補ブ
ロック310と現画像ブロック110との類似性を表す
ものであり、各候補ブロック内の位置的に対応する画素
データの差分値をそれぞれ求め、これらの差分値が相殺
されないように絶対値演算または二乗演算によって正数
データに変換して累積した値で示される。次に、算出さ
れたディストーションの中から最小の値をもつディスト
ーションを特定し、この最小ディストーションを有する
候補ブロック310と現画像ブロック110に基づいて
動きベクトルMVが算出される。
Here, the distortion indicates the similarity between each candidate block 310 and the current image block 110, and calculates the difference value of the pixel data corresponding to the position in each candidate block. The difference value is represented by a value that is converted into positive data by an absolute value operation or a square operation and accumulated so that the difference value is not canceled. Next, the distortion having the minimum value is specified from the calculated distortions, and the motion vector MV is calculated based on the candidate block 310 having the minimum distortion and the current image block 110.

【0012】さらに、現画像ブロック110、サーチウ
ィンドウ210、候補ブロック310の関係について説
明する。図56(b)に示すように、現画像ブロック1
10がN行M列の画素から構成され、図56(a)に示
すように、サーチウィンドウ210がH行L列の画素か
ら構成されるとすると、現画像ブロック110に類似し
た候補ブロック310は、サーチウィンドウ210内に
(H−N+1)×(L−M+1)個存在する。
Next, the relationship between the current image block 110, the search window 210, and the candidate block 310 will be described. As shown in FIG. 56B, the current image block 1
Assuming that 10 is composed of pixels of N rows and M columns and that the search window 210 is composed of pixels of H rows and L columns, as shown in FIG. , (H−N + 1) × (L−M + 1) in the search window 210.

【0013】また、現画像ブロック110の左上角の画
素データをa(0,0)で表わすとすると、サーチウィ
ンドウ210内でこの画素データa(0,0)に位置的
に対応する各候補ブロック310の画素の取り得る範囲
は、図56(a)の斜線領域で示される。現画像ブロッ
ク110内の画素データと各候補ブロック310内の画
素データとの位置的な対応関係を図57に示す。図57
に示すように、現画像ブロック110内の画素データa
(m,n)に位置的に対応する各候補ブロック310内
の画素データは、サーチウィンドウ210内の画素デー
タb(l+m,h+n)で表される。ここで、hおよび
lはサーチウィンドウ210内の各候補ブロック310
を特定する値であり、サーチウィンドウ210内の画素
データb(l,h)は候補ブロック310の左上角の画
素データであり、現画像ブロック110の左上角の画素
データa(0,0)に位置的に対応する。
If the pixel data at the upper left corner of the current image block 110 is represented by a (0,0), each candidate block positionally corresponding to this pixel data a (0,0) in the search window 210 The possible range of the 310 pixels is indicated by the shaded area in FIG. FIG. 57 shows the positional correspondence between the pixel data in the current image block 110 and the pixel data in each candidate block 310. Fig. 57
As shown in the figure, the pixel data a in the current image block 110
The pixel data in each candidate block 310 corresponding to the position (m, n) is represented by the pixel data b (l + m, h + n) in the search window 210. Here, h and l represent each candidate block 310 in the search window 210.
, And the pixel data b (l, h) in the search window 210 is the pixel data at the upper left corner of the candidate block 310, and the pixel data b (l, h) is Correspond in position.

【0014】図56および図57に示された現画像ブロ
ック110、サーチウィンドウ210および複数の候補
ブロック310において、現画像ブロック110と各候
補ブロック310とのディストーションをD(l,h)
とすると、D(l,h)は以下の式により表される。
In the current image block 110, the search window 210 and the plurality of candidate blocks 310 shown in FIG. 56 and FIG.
Then, D (l, h) is represented by the following equation.

【0015】[0015]

【数1】 (Equation 1)

【0016】ここで、‖‖はディストーションを演算す
るノルムを示し、d(m,n)は、 d(m,n)=b(l+m,h+n)−a(m,n) で表され、現画像ブロック110の画素データおよび位
置的に対応する各候補ブロック310の画素データの差
分値である局所ディストーションを示している。ノルム
演算は、一般に、絶対値演算および二乗演算が用いられ
るが、計算の複雑さと効率の点で絶対値演算が最も頻繁
に用いられる。
Here, ‖‖ indicates the norm for calculating the distortion, and d (m, n) is represented by d (m, n) = b (l + m, h + n) -a (m, n). A local distortion which is a difference value between the pixel data of the image block 110 and the pixel data of each candidate block 310 corresponding to the position is shown. The norm operation generally uses an absolute value operation and a square operation, but the absolute value operation is most frequently used in terms of computational complexity and efficiency.

【0017】なお、動き補償フレーム間予測方式におい
て、現画像と参照画像をブロック単位で比較する方法
は、ブロック・マッチング法と呼ばれており、さらに、
サーチウィンドウ内に含まれる全ての候補ブロックと現
画像ブロックとを比較する場合には、フル・サーチ・ブ
ロック・マッチング法(全点探索法)と呼ばれている。
この全点探索法を用いて動きベクトルを求める方法およ
び装置として、例えば、特開平2−213291号公報
の二次元アニメート画像の連続画像を表すデータ信号を
処理するための方法および回路が知られている。この方
法および回路においては、演算時間を短縮するため、候
補ブロックの数だけプロセッサエレメントを配置して、
プロセッサエレメントに供給されたサーチエリアのデー
タを全体として上方向、下方向および左方向に切り換え
てスキャニングを行うことでディストーションを求めて
いる。
In the motion-compensated inter-frame prediction method, a method of comparing a current image and a reference image on a block basis is called a block matching method.
When all the candidate blocks included in the search window are compared with the current image block, it is called a full search block matching method (all-point search method).
As a method and an apparatus for obtaining a motion vector using the all-points search method, for example, a method and a circuit for processing a data signal representing a continuous image of a two-dimensional animated image disclosed in Japanese Patent Application Laid-Open No. Hei 2-213291 are known. I have. In this method and circuit, in order to reduce the operation time, processor elements are arranged by the number of candidate blocks,
Distortion is obtained by performing scanning by switching the data of the search area supplied to the processor element as a whole in the upward, downward, and left directions.

【0018】すなわち、図58および図59に示すよう
に、lおよびhを l=0,1,2 h=0,1,2 で表すとすると、まず、各プロセッサエレメントにサー
チウィンドウの画素データが入力されるとともに、現画
像ブロックの画素データa(0,0)が入力されたサイ
クル0では、各プロセッサエレメントでは、局所ディス
トーション |b(l,h)−a(0,0)| の計算およびストアが行われる。
That is, as shown in FIGS. 58 and 59, if l and h are represented by l = 0,1,2 and h = 0,1,2, first, the pixel data of the search window is stored in each processor element. In cycle 0, when the pixel data a (0,0) of the current image block is input as well as in the processor element, each processor element calculates the local distortion | b (l, h) -a (0,0) | Store is done.

【0019】次のサイクル1では、サーチウィンドウの
各画素データを全体として上に移動するとともに、現画
像ブロックの画素データa(0,1)が入力されること
で局所ディストーション |b(l,h+1)−a(0,1)| の計算が行われ、さらに、サイクル0で計算された局所
ディストーションに加算されてストアされる。
In the next cycle 1, each pixel data of the search window is moved upward as a whole, and the pixel data a (0, 1) of the current image block is inputted, so that the local distortion | b (l, h + 1) ) −a (0, 1) | is further added to the local distortion calculated in cycle 0 and stored.

【0020】次いで、サイクル2では、サーチウィンド
ウの各画素データを全体として左に移動するとともに、
現画像ブロックの画素データa(1,1)が入力される
ことで局所ディストーション |b(l+1,h+1)−a(1,1)| の計算が行われ、さらに、サイクル1での演算結果に加
算されてストアされる。
Next, in cycle 2, each pixel data of the search window is moved to the left as a whole,
By inputting the pixel data a (1,1) of the current image block, the local distortion | b (l + 1, h + 1) -a (1,1) | is calculated. It is added and stored.

【0021】次いで、サイクル3では、サーチウィンド
ウの各画素データを全体として下に移動するとともに、
現画像ブロックの画素データa(1,0)が入力される
ことで局所ディストーション |b(l+1,h)−a(1,0)| の計算が行われ、さらに、サイクル2での演算結果に加
算されてストアされ、結果として9個の候補ブロックに
対応する各候補ブロックと現画像ブロックとのディスト
ーションが計算される。
Next, in cycle 3, while moving each pixel data of the search window as a whole,
By inputting the pixel data a (1,0) of the current image block, the local distortion | b (l + 1, h) -a (1,0) | is calculated. The result is added and stored. As a result, the distortion between each candidate block corresponding to the nine candidate blocks and the current image block is calculated.

【0022】次いで、この9個のディストーションの中
から検出された最小ディストーションに基づいて動きベ
クトルが求められる。また、国際標準ITU−TのH.
261およびISO/IEC11172−2では、順次
走査方式の画像の符号化のみを取り扱っていたのに対し
て、国際標準の暫定標準方式ISO/IEC13818
−2では、さらに、インタレース走査方式の画像の符号
化も取扱っている。
Next, a motion vector is obtained based on the minimum distortion detected from the nine distortions. In addition, H.264 of the international standard ITU-T.
While H.261 and ISO / IEC11172-2 deal only with encoding of images of the progressive scanning method, the provisional international standard ISO / IEC13818 of the international standard is used.
-2 further handles encoding of an image in an interlaced scanning system.

【0023】インタレース走査方式は、単純に順次1ラ
イン毎に垂直走査を行う順次走査方式に対して、所定の
走査ライン毎に飛び越して垂直走査を行い、飛び越した
走査ラインの本数に対応した走査回数によってフレーム
を構成するものである。例えば、2:1インタレース走
査方式は、1枚のフレームを奇数走査ラインからなるフ
ィールドと偶数走査ラインからなるフィールドとの2枚
のフィールドで構成し、まず一方のフィールドの走査を
行なってから他方のフィールドの走査を行うものであ
る。このインタレース走査方式は、信号帯域幅を節減
し、実質的に走査線数を減らすことなく、画面全体の走
査回数を多くして画像のちらつきを少なくするものであ
る。
The interlaced scanning method is different from the progressive scanning method in which vertical scanning is simply performed sequentially for each line. A frame is constituted by the number of times. For example, in the 2: 1 interlaced scanning method, one frame is composed of two fields of a field composed of odd-numbered scanning lines and a field composed of even-numbered scanning lines. Scan of the field. This interlaced scanning system reduces the signal bandwidth, increases the number of scans of the entire screen, and reduces image flickering without substantially reducing the number of scanning lines.

【0024】インタレース走査方式の画像には、フレー
ムを符号化の単位とするフレーム構造とフィールドを符
号化の単位とするフィールド構造との両方が提供され、
さらに、予測方式には、フレーム予測方式とフィールド
予測方式とがある。ただし、フィールド構造の場合に
は、フレーム予測方式は使えない。以下、フレーム構造
におけるそれぞれの予測方式の例を説明する。
An image of the interlaced scanning system is provided with both a frame structure using a frame as a unit of coding and a field structure using a field as a unit of coding.
Further, the prediction methods include a frame prediction method and a field prediction method. However, in the case of the field structure, the frame prediction method cannot be used. Hereinafter, examples of each prediction method in the frame structure will be described.

【0025】ここで、図60に示すように、現画像フレ
ーム600が奇数走査ラインからなる第1フィールド6
01および偶数走査ラインからなる第2フィールド60
2から構成され、参照画像フレーム700が奇数走査ラ
インからなる第1フィールド701および偶数走査ライ
ンからなる第2フィールド702から構成され、参照画
像フレーム700から現画像フレーム600を予測する
とする。また、図60に示すように、斜線で示された人
物像3が画面の左下から右上の方向に移動しているとす
る。
Here, as shown in FIG. 60, the current image frame 600 includes a first field 6 composed of odd scan lines.
01 and second field 60 consisting of even scan lines
2, the reference image frame 700 is composed of a first field 701 composed of odd-numbered scan lines and a second field 702 composed of even-numbered scan lines. Also, as shown in FIG. 60, it is assumed that the person image 3 indicated by oblique lines moves from the lower left to the upper right of the screen.

【0026】フレーム構造におけるフィールド予測方式
は、参照画像フレーム700の第1フィールド701ま
たは第2フィールド702から現画像フレーム600の
第1フィールド601を動きベクトルMV1によって予
測し、参照画像フレーム700の第1フィールド701
または第2フィールド702から現画像フレーム600
の第2フィールド602を動きベクトルMV2によって
予測し、この予測された2つのフィールドを合成するこ
とによって参照画像フレーム700から現画像フレーム
600を予測する。
In the field prediction method in the frame structure, the first field 601 of the current image frame 600 is predicted from the first field 701 or the second field 702 of the reference image frame 700 by using the motion vector MV1. Field 701
Or from the second field 702 to the current image frame 600
Is predicted by the motion vector MV2, and the current image frame 600 is predicted from the reference image frame 700 by combining the predicted two fields.

【0027】フレーム構造におけるフレーム予測方式
は、参照画像フレーム700から現画像フレーム600
を動きベクトルMVによって予測する。結局、フレーム
構造では、フィールド予測方式による2本の動きベクト
ルMV1,MV2とフレーム予測方式による1本の動き
ベクトルMVが求められる。すなわち、図61に示すよ
うに、現画像を時間n、参照画像を時間(n−1)と
し、現画像および参照画像の奇数走査ラインの各画素を
白丸で表し、現画像および参照画像の偶数走査ラインの
各画素を黒丸で表し、垂直8画素の現画像フレームブロ
ック800が垂直4画素の現画像第1フィールドブロッ
ク801と垂直4画素の現画像第2フィールドブロック
802からなるとすると、動きベクトルMV1は、現画
像第1フィールドブロック801を現画像ブロックと
し、この現画像第1フィールドブロック801の画素デ
ータと参照画像の第1フィールドまたは第2フィールド
の複数の第1フィールド候補ブロック901の画素デー
タに基づいて求められ、動きベクトルMV2は、現画像
第2フィールドブロック802を現画像ブロックとし、
この現画像第2フィールドブロック802の画素データ
と参照画像の第1フィールドまたは第2フィールドの複
数の第2フィールド候補ブロック902の画素データに
基づいて求められ、動きベクトルMVは、現画像フレー
ムブロック800を現画像ブロックとし、現画像フレー
ムブロック800の画素データと参照画像の複数のフレ
ーム候補ブロック900の画素データに基づいて求めら
れる。
The frame prediction method in the frame structure is as follows.
Is predicted by the motion vector MV. After all, in the frame structure, two motion vectors MV1 and MV2 by the field prediction method and one motion vector MV by the frame prediction method are obtained. That is, as shown in FIG. 61, the current image is time n, the reference image is time (n-1), each pixel of the odd scan line of the current image and the reference image is represented by a white circle, and the even number of the current image and the reference image is Assuming that each pixel of the scanning line is represented by a black circle, and the current image frame block 800 of vertical 8 pixels is composed of a current image first field block 801 of vertical 4 pixels and a current image second field block 802 of vertical 4 pixels, the motion vector MV1 Sets the current image first field block 801 as the current image block, and sets the pixel data of the current image first field block 801 and the pixel data of the plurality of first field candidate blocks 901 of the first field or the second field of the reference image as the The motion vector MV2 is calculated based on the current image second field block 802 and the current image block. ,
The motion vector MV is obtained based on the pixel data of the current image second field block 802 and the pixel data of a plurality of second field candidate blocks 902 of the first field or the second field of the reference image. Is the current image block, and is obtained based on the pixel data of the current image frame block 800 and the pixel data of the plurality of frame candidate blocks 900 of the reference image.

【0028】さらに、動きベクトルを求める方法は、現
画像フレームブロック800内の現画像第1フィールド
ブロック801および第2フィールドブロック802に
対して、参照画像上の候補ブロックの取り方によって同
一パリティーフェーズおよび異パリティーフェーズに分
けられる。図62に示すように、現画像を時間n、参照
画像を時間(n−1)とし、現画像および参照画像の奇
数走査ラインの各画素を白丸で表し、現画像および参照
画像の偶数走査ラインの各画素を黒丸で表し、垂直8画
素の現画像フレームブロック810が垂直4画素の現画
像第1フィールドブロック811と垂直4画素の第2フ
ィールドブロック812からなるとすると、同一パリテ
ィーフェーズは、現画像第1フィールドブロック811
の画素データと参照画像の第1フィールドの複数の候補
ブロック911の画素データに基づいて動きベクトルM
V11を求めるとともに、現画像第2フィールドブロッ
ク812の画素データと参照画像の第2フィールドの複
数の候補ブロック912の画素データに基づいて動きベ
クトルMV22を求め、現画像フレームブロック810
の画素データと第1フィールド候補ブロック911およ
び第2フィールド候補ブロック912を含む複数のフレ
ーム候補ブロック910の画素データに基づいて動きベ
クトルを求めるものである。
Further, a method of obtaining a motion vector is as follows. For the first field block 801 and the second field block 802 of the current image in the current image frame block 800, the same parity phase and the same It is divided into different parity phases. As shown in FIG. 62, the current image is time n, the reference image is time (n-1), each pixel of the odd scan lines of the current image and the reference image is represented by a white circle, and the even scan lines of the current image and the reference image are shown. Are represented by black circles, and assuming that a current image frame block 810 of vertical 8 pixels includes a current field first field block 811 of vertical 4 pixels and a second field block 812 of vertical 4 pixels, the same parity phase First field block 811
And the motion vector M based on the pixel data of
V11 and the motion vector MV22 based on the pixel data of the second field block 812 of the current image and the pixel data of the plurality of candidate blocks 912 of the second field of the reference image.
A motion vector is obtained based on the pixel data of a plurality of frame candidate blocks 910 including the first field candidate block 911 and the second field candidate block 912.

【0029】一方、異パリティーフェーズは、現画像第
1フィールドブロック811の画素データと参照画像の
第2フィールドの複数の第2フィールド候補ブロック9
22の画素データに基づいて動きベクトルMV12を求
めるとともに、現画像第2フィールドブロック812の
画素データと参照画像の第1フィールドの複数の第1フ
ィールド候補ブロック921の画素データに基づいて動
きベクトルMV21を求め、現画像フレームブロック8
10の画素データと第1フィールド候補ブロック921
および第2フィールド候補ブロック922を含む複数の
フレーム候補ブロック920の画素データに基づいて動
きベクトルを求めるものである。
On the other hand, in the different parity phase, the pixel data of the current image first field block 811 and the plurality of second field candidate blocks 9 of the second field of the reference image are set.
The motion vector MV12 is calculated based on the pixel data of the current image 22 and the motion vector MV21 is calculated based on the pixel data of the current image second field block 812 and the pixel data of the plurality of first field candidate blocks 921 of the first field of the reference image. Find the current image frame block 8
10 pixel data and the first field candidate block 921
And a motion vector is obtained based on pixel data of a plurality of frame candidate blocks 920 including the second field candidate block 922.

【0030】最終的には、これらの動きベクトルの中か
らフィールド予測方式による2本の動きベクトルMV
1,MV2とフレーム予測方式による1本の動きベクト
ルMVから最適な動きベクトルが選択される。また、デ
ュアルプライム予測という予測方式がある。このデュア
ルプライム予測は、極めて強力な予測モードで、予測効
率を大きく向上させることができる。図63に示すよう
に、デュアルプライム予測とは、現画像第1フィールド
ブロックから参照画像第1フィールド候補ブロックを予
測したフィールド動きベクトルと、現画像第2フィール
ドブロックから参照画像第2フィールド候補ブロックを
予測したフィールド動きベクトル、または、フレーム動
きベクトル等を基準動きベクトルとして、現画像第1フ
ィールドブロックから基準動きベクトルをスケーリング
して参照画像第2フィールド候補ブロックを予測し、現
画像第2フィールドブロックから基準動きベクトルをス
ケーリングして参照画像第1フィールド候補ブロックを
予測する。このとき、スケーリング先から上下左右に隣
接する1/2画素位置のディストーションを求め、各フ
ィールドのディストーション同士を加算して、最小のデ
ィストーションを求める。そのディストーションの位置
を差分動きベクトル(dMV)とし、基準動きベクトル
とともに符号化する。
Eventually, two motion vectors MV from these motion vectors by the field prediction method are obtained.
The optimum motion vector is selected from 1, MV2 and one motion vector MV based on the frame prediction method. There is also a prediction method called dual prime prediction. This dual prime prediction is a very powerful prediction mode and can greatly improve the prediction efficiency. As shown in FIG. 63, the dual prime prediction is a method of predicting a reference image first field candidate block from a current image first field block and a reference image second field candidate block from a current image second field block. Using the predicted field motion vector or frame motion vector as a reference motion vector, the reference motion vector is scaled from the current image first field block to predict the reference image second field candidate block, and the current image second field block is predicted. A reference image first field candidate block is predicted by scaling the reference motion vector. At this time, the distortion at the half-pixel position adjacent vertically and horizontally from the scaling destination is obtained, and the distortions of the respective fields are added to obtain the minimum distortion. The position of the distortion is defined as a differential motion vector (dMV), and is encoded together with the reference motion vector.

【0031】[0031]

【発明が解決しようとする課題】しかしながら、従来の
動きベクトル探索装置にあっては、フレームブロックに
おけるディストーションと二つのフィールドブロックに
おけるディストーションあるいはデュアルプライム予測
におけるディストーションを求めようとすると、一つの
装置にそれぞれの画素データを三回通すことになり、処
理時間がかかってしまうといった問題があった。さら
に、フィールドブロックと同じ範囲のフレームブロック
は、1つのフィールドブロックの二倍の画素数を含んで
いる。したがって、一つの動きベクトル探索装置によっ
て、それぞれのディストーションを求めると、フレーム
ブロックとフィールドブロックの探索範囲が異なってし
まう。
However, in the conventional motion vector search apparatus, if it is desired to obtain the distortion in the frame block and the distortion in the two field blocks or the distortion in the dual prime prediction, each of them requires one apparatus. Has to be passed three times, which takes a long processing time. Further, a frame block in the same range as a field block includes twice as many pixels as one field block. Therefore, if each distortion is obtained by one motion vector search device, the search ranges of the frame block and the field block will be different.

【0032】また、フレームブロックと二つのフィール
ドブロックのディストーションをそれぞれ別の装置で求
めようとすると、全体の装置規模が大きくなってしま
う。さらに、デュアルプライム予測においては、片側フ
ィールドごとに探索を行うと、次の探索が終了するまで
ディストーションを保持し続けなけれず、しかも、必要
なディストーションは各フィールドごとに別の場所にあ
らわれるので、単純に加算したのでは、意味のないディ
ストーションとなってしまう。
Further, if the distortion of the frame block and the distortion of the two field blocks are to be obtained by different devices, the size of the entire device becomes large. Furthermore, in the dual prime prediction, if a search is performed for each field on one side, the distortion must be maintained until the next search is completed, and the necessary distortion appears in a different place for each field. If you add to, it becomes a meaningless distortion.

【0033】そこで、本発明は、二つのフィールドブロ
ックのディストーションを同時に求め、上記ディストー
ション算出時に使用したそれぞれのプロセッサエレメン
トをフレームブロックのディストーションを求めるとき
にも、双方使用することにより、同じ範囲の探索領域内
に、フィールドブロックの二倍の画素数を持つフレーム
ブロックをプロセッサエレメントの数を増やすことな
く、動きベクトルを探索することができる動きベクトル
探索装置を提供するとともに、デュアルプライム予測に
おいて、各フィールドで算出されるディストーションを
同時に算出し、比較対象となるディストーションをレジ
スタを使用して一端整列し、タイミングを合わせて加算
することにより差分動きベクトルを探索することができ
る動きベクトル探索装置を提供することを課題とする。
Therefore, according to the present invention, the distortion of two field blocks is simultaneously obtained, and the processor elements used in the above-mentioned distortion calculation are also used when the distortion of the frame block is obtained. In a region, a frame block having twice the number of pixels of a field block is provided with a motion vector search device capable of searching for a motion vector without increasing the number of processor elements. A motion vector search that can simultaneously calculate the distortions calculated in step (1), align the distortions to be compared once using a register, and add them at the same timing to search for a differential motion vector. It is an object of the present invention to provide a location.

【0034】また、二つのフィールドブロックのディス
トーションを求めるときに、双方のサイドレジスタを共
用することにより、回路規模を小さくすることができ
る。さらに、ディストーション算出の際に、画素データ
の転送方向を上下両方向に行なっていたものを、プロセ
ッサエレメントの列に応じて上方向または下方向のどち
らかに決定することにより、転送バスの数を削減するこ
とを課題とする。
Further, when distortion of two field blocks is obtained, the circuit scale can be reduced by sharing both side registers. Furthermore, when calculating the distortion, the direction in which pixel data is transferred in both the upper and lower directions is changed to either upward or downward according to the row of processor elements, thereby reducing the number of transfer buses. The task is to

【0035】[0035]

【課題を解決するための手段】請求項1記載の発明は、
上記課題を解決するため、インタレース走査方式の動画
像を部分的に構成する現画像を、前記動画像を部分的に
構成する参照画像に基づいて予測するのに用いられる複
数の動きベクトルを探索する動きベクトル探索方法であ
り、前記現画像が現画像フレームからなり、該現画像フ
レームが、現画像第1フィールドおよび現画像第2フィ
ールドを含むとともに、画素データをそれぞれ有する複
数の画素により表わされる現画像フレームブロックを含
み、前記現画像第1フィールドおよび前記現画像第2フ
ィールドが、画素データをそれぞれ有する複数の画素に
より表わされる現画像フィールドブロックを含み、前記
参照画像が参照画像フレームからなり、該参照画像フレ
ームが、参照画像第1フィールドおよび参照画像第2フ
ィールドを含むとともに、画素データをそれぞれ有する
複数の画素により表わされるサーチウインドウを含み、
該サーチウインドウが、複数のフレーム候補ブロックを
含み、前記参照画像第1フィールドおよび前記参照画像
第2フィールドが、画素データをそれぞれ有する複数の
画素により表わされるサーチウインドウを含み、該サー
チウィンドウが、複数のフィールド候補ブロックを含
み、前記現画像フレームブロックと前記各フレーム候補
ブロックが同一サイズであり、前記現画像フィールドブ
ロックのそれぞれが、前記各フィールド候補ブロックの
それぞれと同一サイズであり、前記動きベクトルを探索
する動きベクトル探索方法であって、それぞれ独立した
任意の位置の、前記現画像第1フィールドおよび前記現
画像第2フィールドの現画像フィールドブロックの画素
データと、前記参照画像第1フィールドおよび前記参照
画像第2フィールドのサーチウィンドウ内のフィールド
候補ブロックの画素データと、を準備する画素データ準
備工程と、前記サーチウィンドウ内の各フィールド候補
ブロックの画素データの一部を入力して保持するととも
に該保持したデータをそれぞれ転送する第1画素データ
転送保持ユニット、第2画素データ転送保持ユニットお
よび第3画素データ転送保持ユニットと、前記サーチウ
ィンドウ内の各フィールド候補ブロックの画素データの
一部を入力して保持するとともに該保持したデータをそ
れぞれ転送し前記現画像フィール ドブロックの画素デー
タと前記サーチウィンドウ内の各フィールド候補ブロッ
クの画素データとに基づいて前記現画像フィールドブロ
ックに対し該現画像フィールドブロックと前記各フィー
ルド候補ブロックとの間の画像の差をあらわす複数のデ
ィストーションをそれぞれ算出する第1ディストーショ
ン算出ユニットおよび第2ディストーション算出ユニッ
トと、をそれぞれ準備する工程と、 前記参照画像第1フ
ィールドの各フィールド候補ブロックの画素データを、
前記第1画素データ転送保持ユニット、第1ディストー
ション算出ユニットおよび第2画素データ転送保持ユニ
ットの間で転送する第1ウィンドウデータ転送工程と、
前記参照画像第2フィールドの各フィールド候補ブロッ
クの画素データを、前記第2画素データ転送保持ユニッ
ト、第2ディストーション算出ユニットおよび第3画素
データ転送保持ユニットの間で転送する第2ウィンドウ
データ転送工程と、前記現画像フィールドブロックの画
素データを前記第1ディストーション算出ユニットおよ
び前記第2ディストーション算出ユニットに入力する現
画像データ入力工程と、前記現画像データ入力工程で入
力された前記現画像フィールドブロックの画素データ
と、前記第1ウィンドウデータ転送工程で転送された前
記参照画像第1フィールドの各フィールド候補ブロック
の画素データと、に基づいて、現画像フィールドブロッ
クに対し、該現画像フィールドブロックと前記参照画像
第1フィールドの各フィールド候補ブロックとの間の画
像の差を表わす複数の第1ディストーションをそれぞれ
算出させる第1ディストーション算出工程と、前記現画
像データ入力工程で入力された前記現画像フィールドブ
ロックの画素データと、前記第1ウィンドウデータ転送
工程で転送された前記参照画像第2フィールドの各フィ
ールド候補ブロックの画素データと、に基づいて、現画
像フィールドブロックに対し、該現画像フィールドブロ
ックと前記参照画像第2フィールドの各フィールド候補
ブロックとの間の画像の差を表わす複数の第2ディスト
ーションをそれぞれ算出させる第2ディストーション算
出工程と、前記第1ディストーション算出工程および前
記第2ディストーション算出工程によって算出された前
記第1および第2ディストーションを取得するディスト
ーション取得工程と、該ディストーション取得工程によ
って取得されたディストーションの中から最小のディス
トーションを検出して、該最小のディストーションに対
応する候補ブロックおよび動きベクトルを特定するブロ
ック特定工程と、を備え、 前記ブロック特定工程が、前
記現画像フレームブロックに対応したフレーム候補ブロ
ックのディストーションとなるように、前記第1ディス
トーションと前記第2ディストーションとをそれぞれ対
応させて加算する加算工程と、該加算されたそれぞれの
ディストーションのうちの最小のディストーションを検
出して、該最小のディストーションに対応する候補ブロ
ックおよび動きベクトルを特定するディストーション特
定工程と、を有し、前記加算工程が、前記2つの探索フ
ィールドの状態に合わせて前記第1ディストーションと
前記第2ディストーションとの加算タイミングを変更す
ることを特徴とするものである。
According to the first aspect of the present invention,
In order to solve the above-mentioned problem, a plurality of motion vectors used for predicting a current image partially constituting a moving image of an interlaced scanning method based on a reference image partially constituting the moving image are searched. The current image comprises a current image frame, wherein the current image frame includes a current image first field and a current image second field, and is represented by a plurality of pixels each having pixel data. A current image frame block, the current image first field and the current image second field include a current image field block represented by a plurality of pixels each having pixel data, and the reference image comprises a reference image frame; When the reference image frame includes a reference image first field and a reference image second field, Moni, includes a search window represented by a plurality of pixels each having a pixel data,
The search window includes a plurality of frame candidate blocks, and the first field of the reference image and the second field of the reference image include a search window represented by a plurality of pixels each having pixel data. The current image frame block and each of the frame candidate blocks are the same size, each of the current image field blocks is the same size as each of the field candidate blocks, and the motion vector is a motion vector search method for searching, and independently
The first field of the current image and the current
Pixel of current image field block of image second field
Data, the first field of the reference image and the reference
Field in the search window of the second field of the image
The pixel data of the candidate block and the pixel data
Setup process and each field candidate in the search window
Input and hold a part of the pixel data of the block
Pixel data for transferring the held data to
Transfer holding unit, second pixel data transfer holding unit and
And a third pixel data transfer holding unit, and the search window.
The pixel data of each field candidate block in the window
Enter and save part of the data, and save the held data.
Respectively transferred pixel data of said current image field block
Field and each field candidate block in the search window.
The current image field block based on the pixel data of the current image.
The current image field block and each of the fields
Multiple data representing the image difference between the
The first distortion to calculate each distortion
Unit and the second distortion calculation unit.
And a step of preparing the reference image first file , respectively.
Pixel data of each field candidate block of the field
A first pixel data transfer holding unit, a first distortion;
Unit and second pixel data transfer holding unit
A first window data transfer step of transferring data between
Each field candidate block of the second field of the reference image
Pixel data of the second pixel data transfer holding unit.
G, the second distortion calculation unit and the third pixel
Second window to transfer between data transfer holding units
A data transfer step;
The raw data into the first distortion calculation unit and
And the current input to the second distortion calculation unit.
The image data input step and the current image data input step
Pixel data of the current image field block input
And before the transfer in the first window data transfer step.
Field candidate blocks of the first field of the reference image
Of the current image field block based on
The current image field block and the reference image
Picture between each field candidate block of the first field
Each of a plurality of first distortions representing an image difference
A first distortion calculating step of calculating,
The current image field input in the image data input step;
Lock pixel data and the first window data transfer
Each field of the second field of the reference image transferred in the process
The current image based on the pixel data of the
For the image field block, the current image field block
And each field candidate of the second field of the reference image
A plurality of second dist representing the image difference between the blocks
2nd distortion calculation to calculate each
And the first distortion calculating step and before
Before being calculated by the second distortion calculating step
Distortion to obtain the first and second distortion
Comprising a Shon acquisition step detects the minimum distortion from the distortion obtained by the distortion acquiring step, and a block specifying step of specifying a candidate block and a motion vector corresponding to the outermost small distortion, the said block An adding step of adding the first distortion and the second distortion in association with each other so that the specifying step is a distortion of a frame candidate block corresponding to the current image frame block; Detecting the minimum distortion of the two, and specifying a candidate block and a motion vector corresponding to the minimum distortion. It is characterized in changing the addition timing of the second distortion from the first distortion Te Align.

【0036】請求項2記載の発明は、上記課題を解決す
るため、請求項1記載の動きベクトル探索方法におい
て、前記現画像データ入力工程が、前記現画像第1フィ
ールドの現画像フィールドブロックの画素データを前記
第2ディストーション算出ユニットに入力する第1現画
像データ入力工程と、前記現画像第2フィールドの現画
像フィールドブロックの画素データを前記第1ディスト
ーション算出ユニットに入力する第2現画像データ入力
工程と、を有する異現画像データ入力工程と、前記現画
像第1フィールドの現画像フィールドブロックの画素デ
ータを前記第1ディストーション算出ユニットに入力す
る第3現画像データ入力工程と、前記現画像第2フィー
ルドの現画像フィールドブロックの画素データを前記第
2ディストーション算出ユニットに入力する第4現画像
データ入力工程と、を有する同一現画像データ入力工程
と、有し、前記異または同一現画像データ入力工程のい
ずれかを選択する入力現画像選択工程を備え、 該入力現
画像選択工程が、前記異現画像データ入力工程を選択し
たとき、前記第1ディストーション算出工程が、前記第
2現画像データ入力工程により入力された前記現画像第
2フィールドの現画像フィールドブロックと前記参照画
像第1フィールドの各フィールド候補ブロックとの間の
画像の差を表わす複数の第1ディストーションをそれぞ
算出し、前記第2ディストーション算出工程が、前記
第1現画像データ入力工程により入力された前記現画像
第1フィールドの現画像フィールドブロックと前記参照
画像第2フィールドの各フィールド候補ブロックとの間
の画像の差を表わす複数の第2ディストーションをそれ
ぞれ算出し、前記同一現画像データ入力工程を選択した
とき、前記第1ディストーション算出工程が、前記第3
現画像データ入力工程により入力された前記現画像第1
フィールドの現画像フィールドブロックと前記参照画像
第1フィールドの各フィールド候補ブロックとの間の画
像の差を表わす複数の第1ディストーションをそれぞれ
算出し、前記第2ディストーション算出工程が、前記第
4現画像データ入力工程により入力された前記現画像第
2フィールドの現画像フィールドブロックと前記参照画
像第2フィールドの各フィールド候補ブロックとの間の
画像の差を表わす複数の第2ディストーションをそれぞ
算出することを特徴とするものである。
According to a second aspect of the present invention, there is provided a motion vector search method as set forth in the first aspect, wherein the current image data inputting step includes the step of setting a pixel of a current image field block of the first field of the current image. A first current image data inputting step of inputting data to the second distortion calculating unit; and a second current image data inputting inputting pixel data of a current image field block of the second field of the current image to the first distortion calculating unit. A third current image data input step of inputting pixel data of a current image field block of the first field of the current image to the first distortion calculation unit; The pixel data of the current image field block of two fields is converted into the second distortion A fourth current image data input step of inputting the output unit, the same current image data input step with, have, an input current image selection step of selecting one of the different or the same current image data input step, The input
When the image selecting step selects the anomalous image data input step, the first distortion calculating step includes:
(2) calculating a plurality of first distortions each representing an image difference between a current image field block of the second field of the current image input in the current image data input step and each field candidate block of the first field of the reference image; And the second distortion calculating step includes:
A plurality of second distortions each representing an image difference between a current image field block of the first field of the current image input in the first current image data input step and each field candidate block of the second field of the reference image are respectively generated. calculated, when selecting the same current image data input step, the first distortion calculating step, the third
The first image input in the current image data input step;
A plurality of first distortions each representing an image difference between a current image field block of a field and each field candidate block of the first field of the reference image;
Calculating the second distortion calculation step.
(4) calculating a plurality of second distortions each representing an image difference between the current image field block of the second field of the current image input in the current image data input step and each field candidate block of the second field of the reference image; It is characterized by doing.

【0037】請求項3記載の発明は、上記課題を解決す
るため、請求項1記載の動きベクトル探索方法におい
て、前記フィールド候補ブロックの各画素とそれぞれ水
平、垂直、対角方向に隣り合う画素との間に、該画素
と、該画素と隣接する画素と、の平均をとった1/2画
素を設け、前記フィールド候補ブロックの各画素の同一
方向の1/2画素によって構成されるブロックをそれぞ
れ1/2画素フィールド候補ブロックとするとき、前記
第1ディストーション算出工程および前記第2ディスト
ーション算出工程が、前記フィールド候補ブロックの各
画素と該画素に隣接する画素とを加算し、前記1/2画
素を生成し、前記現画像フィールドブロックと前記各1
/2画素フィールド候補ブロックとの間の画像の差を表
わす複数のディストーションをそれぞれ算出することを
特徴とするものである。
According to a third aspect of the present invention, there is provided a motion vector search method according to the first aspect, wherein each pixel of the field candidate block is horizontally, vertically, and diagonally adjacent to each other. Between the pixel and a pixel adjacent to the pixel, a half pixel is averaged, and each of the pixels of the field candidate block is divided by a half pixel in the same direction. When a half-pixel field candidate block is set, the first distortion calculating step and the second distortion calculating step add each pixel of the field candidate block and a pixel adjacent to the pixel, and calculate the 1/2 pixel. And the current image field block and each one
A plurality of distortions each representing a difference between an image and a / 2 pixel field candidate block are calculated.

【0038】請求項4記載の発明は、上記課題を解決す
るため、請求項1記載の動きベクトル探索方法におい
て、動きベクトル探索のための候補ブロックを限定する
基準動きベクトルを準備する基準動きベクトル準備工程
を備え、前記画素データ準備工程が、前記基準動きベク
トルと前記現画像の画像データとに基づいて、前記サー
チウィンドウ内の候補ブロックの画素データを準備する
ことを特徴とするものである。
According to a fourth aspect of the present invention, in order to solve the above-mentioned problem, in the motion vector search method according to the first aspect, candidate blocks for a motion vector search are limited.
Reference motion vector preparation process for preparing reference motion vector
Wherein the pixel data preparation process, the based on the reference motion vector and image data of the current image, characterized in <br/> to prepare the pixel data of the candidate block within the search window is there.

【0039】請求項5記載の発明は、上記課題を解決す
るため、請求項4記載の動きベクトル探索方法におい
て、前記加算工程が、前記基準動きベクトルの大きさの
モジュロに基づいて、前記第1ディストーションと前記
第2ディストーションとを加算するタイミングを合わせ
ることを特徴とするものである。請求項6記載の発明
は、上記課題を解決するため、請求項5記載の動きベク
トル探索方法において、前記基準動きベクトルを数値化
し、該数値化された基準動きベクトルを4で除算した余
りに基づいて、前記加算工程が、前記第1ディストーシ
ョンと前記第2ディストーションとを加算するタイミン
グを合わせることを特徴とするものである請求項7記載
の発明は、上記課題を解決するため、請求項4記載の動
きベクトル探索方法において、前記基準動きベクトル準
備工程が、前記現画像第1フィールドの現画像フィール
ドブロックと参照画像第1フィールドのフィールド候補
ブロックに基づいて、動きベクトル探索のための候補ブ
ロックを限定する第1基準動きベクトルを準備する第1
基準動きベクトル準備工程と、前記現画像第2フィール
ドの現画像フィールドブロックと参照画像第2フィール
ドのフィールド候補ブロックに基づいて、動きベクトル
探索のための候補ブロックを限定する第2基準動きベク
トルを準備する第2基準動きベクトル準備工程と、を有
することを特徴とするものである。
According to a fifth aspect of the present invention, in order to solve the above-mentioned problem, in the motion vector search method according to the fourth aspect, the adding step is performed based on a modulo of the magnitude of the reference motion vector. The timing for adding the distortion and the second distortion is matched. According to a sixth aspect of the present invention, in order to solve the above-mentioned problem, in the motion vector search method according to the fifth aspect, the reference motion vector is digitized, and based on a remainder obtained by dividing the digitized reference motion vector by four. 7. The invention according to claim 4, wherein the adding step adjusts the timing of adding the first distortion and the second distortion. In the motion vector search method, the reference motion vector
Bei step, on the basis of the field candidate block of the reference image first field and current image field block of the current image first field, candidate Bed for motion vector search
First to prepare a first reference motion vector to limit the lock
A reference motion vector preparing step , a motion vector based on a current image field block of the current image second field and a field candidate block of the reference image second field.
Second reference motion vector for limiting candidate blocks for search
A second reference motion vector preparing step of preparing a motion vector.
It is characterized by doing.

【0040】請求項8記載の発明は、上記課題を解決す
るため、請求項7記載の動きベクトル探索方法におい
て、前記現画像データ入力工程が、前記現画像第1フィ
ールドの現画像フィールドブロックの画素データを前記
第1ディストーション算出ユニットに入力する第1現画
像データ入力工程と、前記現画像第2フィールドの現画
像フィールドブロックの画素データを前記第2ディスト
ーション算出ユニットに入力する第2現画像データ入力
工程と、を有し、前記第1ディストーション算出工程
が、前記第1現画像データ入力工程により入力された
記現画像第1フィールドの現画像フィールドブロックと
前記参照画像第1フィールドの各フィールド候補ブロッ
クとの間の画像の差を表わす複数の第1ディストーショ
ンをそれぞれ算出し、前記第2ディストーション算出
程が、前記第2現画像データ入力工程により入力された
前記現画像第2フィールドの現画像フィールドブロック
と前記参照画像第2フィールドの各フィールド候補ブロ
ックとの間の画像の差を表わす複数の第2ディストーシ
ョンをそれぞれ算出し、前記ブロック特定工程が、前記
複数の第1ディストーションに基づいて第1動きベクト
ルを特定し、前記複数の第2ディストーションに基づい
て第2動きベクトルを特定し、前記第1基準動きベクト
ル準備工程が、前記ブロック特定工程により特定された
第1動きベクトルを前記第1基準動きベクトルとして準
備し、前記第2基準動きベクトル準備工程が、前記ブロ
ック特定工程により特定された第2動きベクトルを前記
第2基準動きベクトルとして準備することを特徴とする
ものである。
According to an eighth aspect of the present invention, there is provided a motion vector search method as set forth in the seventh aspect, wherein the current image data inputting step comprises the step of: A first current image data inputting step of inputting data to the first distortion calculating unit; and a second current image data inputting inputting pixel data of a current image field block of the second field of the current image to the second distortion calculating unit. And the first distortion calculating step.
Calculates the image difference between the current image field block of the first field of the current image input in the first current image data input step and each field candidate block of the first field of the reference image. It represents a plurality of the first distortion calculated respectively, the second distortion calculating Engineering
Calculating the image difference between the current image field block of the current image second field input in the second current image data input step and each field candidate block of the reference image second field. Calculating a plurality of second distortions, wherein the block identification step includes
A first motion vector based on a plurality of first distortions
Based on the plurality of second distortions
A second motion vector, and the first reference motion vector
File preparation step is specified by the block specifying step.
Using the first motion vector as the first reference motion vector,
And the second reference motion vector preparing step comprises:
The second motion vector specified by the
It is prepared as a second reference motion vector .

【0041】請求項9記載の発明は、上記課題を解決す
るため、請求項4記載の動きベクトル探索方法におい
て、前記基準動きベクトル準備工程が、前記現画像フレ
ームの現画像フレームブロックと前記参照画像フレーム
のフレーム候補ブロックに基づいて、動きベクトル探索
のための候補ブロックを限定するフレーム基準動きベク
トルを準備するフレーム基準動きベクトル準備工程を備
えたことを特徴とするものである。請求項10記載の発
明は、上記課題を解決するため、請求項9記載の動きベ
クトル探索方法において、前記各フレーム候補ブロック
の画素データを、前記第1画素データ転送保持ユニッ
ト、前記第1ディストーション算出ユニット、前記第2
ディストーション算出ユニットおよび前記第3画素デー
タ転送保持ユニットの間で転送させる第3ウィンドウデ
ータ転送工程と、前記現画像フレームブロックの画素デ
ータと、前記第3ウィンドウデータ転送工程により転送
された前記参照画像フレームの各フレーム候補ブロック
の画素データと、に基づいて、現画像フレームブロック
に対し、該現画像フレームブロックと前記参照画像フレ
ームの各フレーム候補ブロックとの間の画像の差を表わ
す複数の第3ディストーションをそれぞれ算出させる第
3ディストーション算出工程と、備え、 前記画素データ
準備工程が、前記現画像フレームの現画像フレームブロ
ックの画素データと、前記参照画像フレームのサーチウ
ィンドウ内のフレーム候補ブロックの画素データと、を
準備し、前記現画像データ入力工程が、前記現画像フレ
ームブロックの画素データを前記第1および第2ディス
トーション算出ユニットに入力し、前記ディストーショ
ン取得工程が、前記第3ディストーション算出工程によ
って算出された前記第3ディストーションを取得し、前
記ブロック特定工程が、該取得された第3ディストーシ
ョンに基づいて動きベクトルを特定し、前記基準動きベ
クトル準備工程が、前記ブロック特定工程により特定さ
れた動きベクトルを前記基準動きベクトルとすることを
特徴とするものである。
According to a ninth aspect of the present invention, in the motion vector search method according to the fourth aspect, the reference motion vector preparing step comprises the steps of : Motion vector search based on frame candidate blocks of the frame
Frame-based motion vector to limit candidate blocks for
A frame-based motion vector preparation process to prepare
It is characterized by the fact that The invention of claim 10, wherein, in order to solve the above problems, in the motion vector search method according to claim 9, wherein the pixel data of each frame candidate blocks, the first pixel data transferred to and held unit, the first distortion calculating Unit, said second
A third window data to be transferred between the distortion calculating unit and the third pixel data transfer holding unit;
Data transfer step, and pixel data of the current image frame block.
Data and the third window data transfer step.
Frame candidate blocks of the obtained reference image frame
And the pixel data of the current image frame block
The current image frame block and the reference image frame.
Image difference between each frame candidate block
A plurality of third distortions calculated respectively.
Three distortion calculating steps, wherein the pixel data
The preparing step includes: pixel data of a current image frame block of the current image frame; and pixel data of a frame candidate block in a search window of the reference image frame.
Preparing, and inputting the current image data, the pixel data of the current image frame block to the first and second displays.
Enter the torsion calculation unit, the Distortion
The step of obtaining the distortion by the third distortion calculating step.
Obtain the third distortion calculated by
The block identifying step is a step in which the acquired third distortion is obtained.
A motion vector based on the reference motion vector,
The vector preparation step is identified by the block identification step.
The obtained motion vector is used as the reference motion vector .

【0042】請求項11記載の発明は、上記課題を解決
するため、インタレース走査方式の動画像を部分的に構
成する現画像を、前記動画像を部分的に構成する参照画
像に基づいて予測するのに用いられる複数の動きベクト
ルを探索する動きベクトル探索方法であり、前記現画像
が現画像フレームからなり、該現画像フレームが、現画
像第1フィールドおよび現画像第2フィールドを含むと
ともに、画素データをそれぞれ有する複数の画素により
表わされる現画像フレームブロックを含み、前記現画像
第1フィールドおよび前記現画像第2フィールドが、画
素データをそれぞれ有する複数の画素により表わされる
現画像フィールドブロックを含み、前記参照画像が参照
画像フレームからなり、該参照画像フレームが、参照画
像第1フィールドおよび参照画像第2フィールドを含む
とともに、画素データをそれぞれ有する複数の画素によ
り表わされるサーチウインドウを含み、該サーチウイン
ドウが、複数のフレーム候補ブロックを含み、前記参照
画像第1フィールドおよび前記参照画像第2フィールド
が、画素データをそれぞれ有する複数の画素により表わ
されるサーチウインドウを含み、該サーチウィンドウ
が、複数のフィールド候補ブロックを含み、前記現画像
フレームブロックと前記各フレーム候補ブロックが同一
サイズであり、前記現画像フィールドブロックのそれぞ
れが、前記各フィールド候補ブロックのそれぞれと同一
サイズであり、前記動きベクトルを探索する動きベクト
ル探索方法であって、それぞれ独立した任意の位置の、
前記現画像第1フィールドおよび前記現画像第2フィー
ルドの現画像フィールドブロックの画素データと、前記
参照画像第1フィールドおよび前記参照画像第2フィー
ルドのサーチウィンドウ内のフィールド候補ブロックの
画素データと、を準備する画素データ準備工程と、前記
サーチウィンドウ内の各フィールド候補ブロックの画素
データの一部を入力して保持するとともに該保持したデ
ータをそれぞれ転送する第1画素データ転送保持ユニッ
トおよび第2画素データ転送保持ユニットと、前記サー
チウィンドウ内の各フィールド候補ブロックの画素デー
タの一部を入力して保持するとともに該保持したデータ
をそれぞれ転送し前記現画像フィールドブロックの画素
データと前記サーチウィンドウ内の各フィールド候補ブ
ロックの画素データとに基づいて前記現画 像フィールド
ブロックに対し該現画像フィールドブロックと前記各フ
ィールド候補ブロックとの間の画像の差をあらわす複数
のディストーションをそれぞれ算出する第1ディストー
ション算出ユニットおよび第2ディストーション算出ユ
ニットと、をそれぞれ準備する工程と、 前記参照画像第
1フィールドの各フィールド候補ブロックの画素データ
を、前記第1画素データ転送保持ユニット、第1ディス
トーション算出ユニットおよび第2画素データ転送保持
ユニットの間で転送する第1ウィンドウデータ転送工程
と、前記参照画像第2フィールドの各フィールド候補ブ
ロックの画素データを、前記第2画素データ転送保持ユ
ニット、第2ディストーション算出ユニットおよび第1
画素データ転送保持ユニットの間で転送する第2ウィン
ドウデータ転送工程と、前記現画像フィールドブロック
の画素データを前記第1ディストーション算出ユニット
および前記第2ディストーション算出ユニットに入力す
る現画像データ入力工程と、前記現画像データ入力工程
で入力された前記現画像フィールドブロックの画素デー
タと、前記第1ウィンドウデータ転送工程で転送された
前記参照画像第1フィールドの各フィールド候補ブロッ
クの画素データと、に基づいて、現画像フィールドブロ
ックに対し、該現画像フィールドブロックと前記参照画
像第1フィールドの各フィールド候補ブロックとの間の
画像の差を表わす複数の第1ディストーションをそれぞ
れ算出させる第1ディストーション算出工程と、前記現
画像データ入力工程で入力された前記現画像フィールド
ブロックの画素データと、前記第1ウィンドウデータ転
送工程で転送された前記参照画像第2フィールドの各フ
ィールド候補ブロックの画素データと、に基づいて、現
画像フィールドブロックに対し、該現画像フィールドブ
ロックと前記参照画像第2フィールドの各フィールド候
補ブロックとの間の画像の差を表わす複数の第2ディス
トーションをそれぞれ算出させる第2ディストーション
算出工程と、前記第1ディストーション算出工程および
前記第2ディストーション算出工程によって算出された
前記第1および第2ディストーションを取得するディス
トーション取得工程と、該ディストーション取得工程に
よって取得されたディストーションの中から最小のディ
ストーションを検出して、該最小のディストーションに
対応する候補ブロックおよび動きベクトルを特定するブ
ロック特定工程と、を備え、 前記ブロック特定工程が、
前記現画像フレームブロックに対応したフレーム候補ブ
ロックのディストーションとなるように、前記第1ディ
ストーションと前記第2ディストーションとをそれぞれ
対応させて加算する加算工程と、該加算されたそれぞれ
のディストーションのうちの最小のディストーションを
検出して、該最小のディストーションに対応する候補ブ
ロックおよび動きベクトルを特定するディストーション
特定工程と、を有し、前記加算工程が、前記2つの探索
フィールドの状態に合わせて前記第1ディストーション
と前記第2ディストーションとの加算タイミングを変更
することを特徴とするものである。
According to the eleventh aspect of the present invention, in order to solve the above problem, a current image partially constituting a moving image of the interlaced scanning method is predicted based on a reference image partially constituting the moving image. A motion vector search method for searching for a plurality of motion vectors used for performing a search, wherein the current image includes a current image frame, and the current image frame includes a current image first field and a current image second field; A current image frame block represented by a plurality of pixels each having pixel data, wherein the first field of the current image and the second field of the current image include a current image field block represented by a plurality of pixels each having pixel data; , The reference image includes a reference image frame, and the reference image frame is a reference image first field. And a search window represented by a plurality of pixels each having pixel data, the search window including a plurality of frame candidate blocks, the first field of the reference image and the second frame of the reference image. Two fields include a search window represented by a plurality of pixels each having pixel data, the search window includes a plurality of field candidate blocks, the current image frame block and each of the frame candidate blocks are the same size, Each of the current image field blocks is the same size as each of the field candidate blocks, a motion vector search method for searching for the motion vector, each independent arbitrary position,
The current image first field and the current image second field
Pixel data of the current image field block of the
Reference image first field and reference image second field
Field candidate block in the field's search window.
Pixel data, and a pixel data preparation step of preparing
Pixel of each field candidate block in search window
A part of the data is entered and held, and the held data is saved.
1st pixel data transfer holding unit for transferring data
And a second pixel data transfer holding unit, and the server
Pixel data of each field candidate block in the
Input part of the data and hold the data
Are respectively transferred to the pixels of the current image field block.
Data and each field candidate in the search window
Wherein based on the lock of the pixel data Gen'e image field
The current image field block and each of the
Plural representing the image difference between the field candidate block
First distortion to calculate the distortion of each
And a second distortion calculation unit.
And knitting, respectively, and the reference image
Pixel data of each field candidate block of one field
The first pixel data transfer holding unit, the first display
Torsion calculation unit and second pixel data transfer holding
First window data transfer process for transfer between units
And each field candidate of the second field of the reference image.
The locked pixel data is transferred to the second pixel data transfer holding unit.
Knit, second distortion calculation unit and first
Second window for transferring between pixel data transfer holding units
A dough data transfer step, and the current image field block
Pixel data of the first distortion calculating unit
And input to the second distortion calculation unit.
Current image data input step, and the current image data input step
The pixel data of the current image field block input at
Transferred in the first window data transfer step.
Each field candidate block of the first field of the reference image
The current image field block based on the pixel data of
The current image field block and the reference image
Between each field candidate block of the first image field
Each of a plurality of first distortions representing image differences
Calculating the first distortion,
The current image field input in the image data input step
The pixel data of the block and the first window data
Each file of the second field of the reference image transferred in the sending step
Based on the pixel data of the field candidate block.
For the current image field block,
Lock and each field of the reference image second field
A plurality of second discs representing a difference between the image and the complementary block.
2nd distortion to calculate each torsion
A calculating step, the first distortion calculating step, and
Calculated by the second distortion calculating step.
A distortion obtaining the first and second distortions;
Comprising a torsion acquisition step detects the minimum distortion from the distortion obtained by the distortion acquiring step, and a block specifying step of specifying a candidate block and a motion vector corresponding to the outermost small distortion, the said block The specific process is
An adding step of adding the first distortion and the second distortion in association with each other so as to be a distortion of a frame candidate block corresponding to the current image frame block, and a minimum of the added respective distortions And a motion vector that specifies a candidate block and a motion vector corresponding to the minimum distortion, wherein the adding is performed in accordance with a state of the two search fields. And the addition timing of the second distortion and the second distortion is changed.

【0043】請求項12記載の発明は、上記課題を解決
するため、請求項11記載の動きベクトル探索方法にお
いて、前記現画像データ入力工程が、前記現画像第1フ
ィールドの現画像フィールドブロックの画素データを前
記第2ディストーション算出ユニットに入力する第1現
画像データ入力工程と、前記現画像第2フィールドの現
画像フィールドブロックの画素データを前記第1ディス
トーション算出ユニットに入力する第2現画像データ入
力工程と、を有する異現画像データ入力工程と、前記現
画像第1フィールドの現画像フィールドブロックの画素
データを前記第1ディストーション算出ユニットに入力
する第3現画像データ入力工程と、前記現画像第2フィ
ールドの現画像フィールドブロックの画素データを前記
第2ディストーション算出ユニットに入力する第4現画
像データ入力工程と、を有する同一現画像データ入力工
程と、有し、前記異または同一現画像データ入力工程の
いずれかを選択する入力現画像選択工程を備え、 該入力
現画像選択工程が、前記異現画像データ入力工程を選択
したとき、前記第1ディストーション算出工程が、前記
第2現画像データ入力工程により入力された前記現画像
第2フィールドの現画像フィールドブロックと前記参照
画像第1フィールドの各フィールド候補ブロックとの間
の画像の差を表わす複数の第1ディストーションをそれ
ぞれ算出し、前記第2ディストーション算出工程が、前
記第1現画像データ入力工程により入力された前記現画
像第1フィールドの現画像フィールドブロックと前記参
照画像第2フィールドの各フィールド候補ブロックとの
間の画像の差を表わす複数の第2ディストーションをそ
れぞれ算出し、前記同一現画像データ入力工程を選択し
たとき、前記第1ディストーション算出工程が、前記第
3現画像データ入力工程により入力された前記現画像第
1フィールドの現画像フィールドブロックと前記参照画
像第1フィールドの各フィールド候補ブロックとの間の
画像の差を表わす複数の第1ディストーションをそれぞ
算出し、前記第2ディストーション算出工程が、前記
第4現画像データ入力工程により入力された前記現画像
第2フィールドの現画像フィールドブロックと前記参照
画像第2フィールドの各フィールド候補ブロックとの間
の画像の差を表わす複数の第2ディストーションをそれ
ぞれ算出することを特徴とするものである。
According to a twelfth aspect of the present invention, there is provided a motion vector search method according to the eleventh aspect, wherein the current image data input step includes the step of: A first current image data inputting step of inputting data to the second distortion calculating unit; and a second current image data inputting inputting pixel data of a current image field block of the second field of the current image to the first distortion calculating unit. A third current image data input step of inputting pixel data of a current image field block of the first field of the current image to the first distortion calculation unit; The pixel data of the current image field block of two fields is stored in the second distortion Comprises a fourth current image data input step of inputting the emission calculating unit, the same current image data input step with, have, an input current image selection step of selecting one of the different or the same current image data input step , The input
When the current image selection step selects the different current image data input step, the first distortion calculation step includes:
A plurality of first distortions each representing an image difference between a current image field block of the second field of the current image input in the second current image data input step and each field candidate block of the first field of the reference image are respectively generated. Calculating the second distortion calculation step,
A plurality of second distortions representing an image difference between a current image field block of the first field of the current image input in the first current image data input step and each field candidate block of the second field of the reference image are inputted. Respectively, and when the same current image data input step is selected, the first distortion calculation step is performed by the first distortion calculation step.
(3) calculating a plurality of first distortions each representing an image difference between a current image field block of the first field of the current image input in the current image data input step and each field candidate block of the first field of the reference image; And the second distortion calculating step includes:
A plurality of second distortions each representing an image difference between the current image field block of the second field of the current image input in the fourth current image data input step and each field candidate block of the second field of the reference image are respectively generated. It is characterized in that it is calculated .

【0044】請求項13記載の発明は、上記課題を解決
するため、請求項11記載の動きベクトル探索方法にお
いて、前記フィールド候補ブロックの各画素とそれぞれ
水平、垂直、対角方向に隣り合う画素との間に、該画素
と、該画素と隣接する画素と、の平均をとった1/2画
素を設け、前記フィールド候補ブロックの各画素の同一
方向の1/2画素によって構成されるブロックをそれぞ
れ1/2画素フィールド候補ブロックとするとき、前記
第1ディストーション算出工程および前記第2ディスト
ーション算出工程が、前記フィールド候補ブロックの各
画素と該画素に隣接する画素とを加算し、前記1/2画
素を生成し、前記現画像フィールドブロックと前記各1
/2画素フィールド候補ブロックとの間の画像の差を表
わす複数のディストーションをそれぞれ算出することを
特徴とするものである。
According to a thirteenth aspect of the present invention, there is provided a motion vector search method according to the eleventh aspect, wherein each pixel of the field candidate block is horizontally, vertically, and diagonally adjacent to each other. Between the pixel and a pixel adjacent to the pixel, a half pixel is averaged, and each of the pixels of the field candidate block is divided by a half pixel in the same direction. When a half-pixel field candidate block is set, the first distortion calculation step and the second distortion calculation step add each pixel of the field candidate block and a pixel adjacent to the pixel, and calculate the half pixel. And the current image field block and each one
A plurality of distortions each representing a difference between an image and a / 2 pixel field candidate block are calculated.

【0045】請求項14記載の発明は、上記課題を解決
するため、請求項11記載の動きベクトル探索方法にお
いて、動きベクトル探索のための候補ブロックを限定す
る基準動きベクトルを準備する基準動きベクトル準備工
程を備え、前記画素データ準備工程が、前記基準動きベ
クトルと前記現画像の画像データとに基づいて、前記サ
ーチウィンドウ内の候補ブロックの画素データを準備す
ことを特徴とするものである。
According to a fourteenth aspect of the present invention, in order to solve the above problem, in the motion vector search method according to the eleventh aspect , candidate blocks for a motion vector search are limited.
Reference motion vector preparer to prepare reference motion vector
Comprising a degree, the pixel data preparation process, the based on the reference motion vector and image data of the current image, to prepare the pixel data of the candidate block within the search window
It is characterized in that that.

【0046】請求項15記載の発明は、上記課題を解決
するため、請求項14記載の動きベクトル探索方法にお
いて、前記加算工程が、前記基準動きベクトルの大きさ
のモジュロに基づいて、前記第1ディストーションと前
記第2ディストーションとを加算するタイミングを合わ
せることを特徴とするものである。請求項16記載の発
明は、上記課題を解決するため、請求項15記載の動き
ベクトル探索方法において、前記基準動きベクトルを数
値化し、該数値化された基準動きベクトルを4で除算し
た余りに基づいて、前記加算工程が、前記第1ディスト
ーションと前記第2ディストーションとを加算するタイ
ミングを合わせることを特徴とするものである。
According to a fifteenth aspect of the present invention, in the motion vector search method according to the fourteenth aspect, the adding step comprises the step of:
The timing for adding the first distortion and the second distortion is adjusted based on the modulo . According to a sixteenth aspect of the present invention, there is provided the motion vector search method according to the fifteenth aspect, wherein the reference motion vector is digitized, and based on a remainder obtained by dividing the digitized reference motion vector by four. And the adding step adjusts the timing of adding the first distortion and the second distortion.

【0047】請求項17記載の発明は、上記課題を解決
するため、請求項14記載の動きベクトル探索方法にお
いて、前記基準動きベクトル準備工程が、前記現画像第
1フィールドの現画像フィールドブロックと参照画像第
1フィールドのフィールド候補ブロックに基づいて、動
きベクトル探索のための候補ブロックを限定する第1基
準動きベクトルを準備する第1基準動きベクトル準備工
と、前記現画像第2フィールドの現画像フィールドブ
ロックと参照画像第2フィールドのフィールド候補ブロ
ックに基づいて、動きベクトル探索のための候補ブロッ
クを限定する第2基準動きベクトルを準備する第2基準
動きベクトル準備工程と、を有することを特徴とするも
のである。
According to a seventeenth aspect of the present invention, in the motion vector search method according to the fourteenth aspect, the reference motion vector preparing step refers to a current image field block of the first field of the current image. Based on the field candidate block of the first field of the image ,
First group that limits candidate blocks for searching vector
A first reference motion vector preparation step for preparing a reference motion vector
Degree and, based on a field candidate block of the current image field block and the reference picture second field of said current image second field, a candidate for the motion vector search block
Reference for preparing a second reference motion vector for limiting
And a motion vector preparation step .

【0048】請求項18記載の発明は、上記課題を解決
するため、請求項17記載の動きベクトル探索方法にお
いて、前記現画像データ入力工程が、前記現画像第1フ
ィールドの現画像フィールドブロックの画素データを前
記第1ディストーション算出ユニットに入力する第1現
画像データ入力工程と、前記現画像第2フィールドの現
画像フィールドブロックの画素データを前記第2ディス
トーション算出ユニットに入力する第2現画像データ入
力工程と、を有し、前記第1ディストーション算出工程
が、前記第1現画像データ入力工程により入力された
記現画像第1フィールドの現画像フィールドブロックと
前記参照画像第1フィールドの各フィールド候補ブロッ
クとの間の画像の差を表わす複数の第1ディストーショ
ンをそれぞれ算出し、前記第2ディストーション算出
程が、前記第2現画像データ入力工程により入力された
前記現画像第2フィールドの現画像フィールドブロック
と前記参照画像第2フィールドの各フィールド候補ブロ
ックとの間の画像の差を表わす複数の第2ディストーシ
ョンをそれぞれ算出し、前記ブロック特定工程が、前記
複数の第1ディストーションに基づいて第1動きベクト
ルを特定し、前記複数の第2ディストーションに基づい
て第2動きベクトルを特定し、前記第1基準動きベクト
ル準備工程が、前記ブロック特定工程により特定された
第1動きベクトルを前記第1基準動きベクトルとして準
備し、前記第2基準動きベクトル準備工程が、前記ブロ
ック特定工程により特定された第2動きベクトルを前記
第2基準動きベクトルとして準備することを特徴とする
ものである。
In order to solve the above-mentioned problems, the invention according to claim 18 is the motion vector search method according to claim 17, wherein the current image data input step includes the step of: A first current image data inputting step of inputting data to the first distortion calculating unit; and a second current image data inputting inputting pixel data of a current image field block of the second field of the current image to the second distortion calculating unit. And the first distortion calculating step.
Calculates the image difference between the current image field block of the first field of the current image input in the first current image data input step and each field candidate block of the first field of the reference image. It represents a plurality of the first distortion calculated respectively, the second distortion calculating Engineering
Calculating the image difference between the current image field block of the current image second field input in the second current image data input step and each field candidate block of the reference image second field. Calculating a plurality of second distortions, wherein the block identification step includes
A first motion vector based on a plurality of first distortions
Based on the plurality of second distortions
A second motion vector, and the first reference motion vector
File preparation step is specified by the block specifying step.
Using the first motion vector as the first reference motion vector,
And the second reference motion vector preparing step comprises:
The second motion vector specified by the
It is prepared as a second reference motion vector .

【0049】請求項19記載の発明は、上記課題を解決
するため、請求項14記載の動きベクトル探索方法にお
いて、前記基準動きベクトル準備工程が、前記現画像フ
レームの現画像フレームブロックと前記参照画像フレー
ムのフレーム候補ブロックに基づいて、動きベクトル探
索のための候補ブロックを限定するフレーム基準動きベ
クトルを準備するフレーム基準動きベクトル準備工程を
備えたことを特徴とするものである。請求項20記載の
発明は、上記課題を解決するため、請求項19記載の動
きベクトル探索方法において、前記各フレーム候補ブロ
ックの画素データを、前記第1画素データ転送保持ユニ
ット、前記第1ディストーション算出ユニットおよび前
記第2ディストーション算出ユニットの間で転送させる
第3ウィンドウデータ転送工程と、前記現画像フレーム
ブロックの画素データと、前記第3ウィンドウデータ転
送工程により転送された前記参照画像フレームの各フレ
ーム候補ブロックの画素データと、に基づいて、現画像
フレームブロックに対し、該現画像フレームブロックと
前記参照画像フレームの各フレーム候補ブロックとの間
の画像の差を表わす複数の第3ディストーションをそれ
ぞれ算出させる第3ディストーション算出工程と、備
え、 前記画素データ準備工程が、前記現画像フレームの
現画像フレームブロックの画素データと、前記参照画像
フレームのサーチウィンドウ内のフレーム候補ブロック
の画素データと、を準備し、前記現画像データ入力工程
が、前記現画像フレームブロックの画素データを前記第
1および第2ディストーション算出ユニットに入力し、
前記ディストーション取得工程が、前記第3ディストー
ション算出工程によって算出された前記第3ディストー
ションを取得し、前記ブロック特定工程が、該取得され
た第3ディストーションに基づいて動きベクトルを特定
し、前記基準動きベクトル準備工程が、前記ブロック特
定工程により特定された動きベクトルを前記基準動きベ
クトルとすることを特徴とするものである。
According to a nineteenth aspect of the present invention, in the motion vector search method according to the fourteenth aspect, the reference motion vector preparing step includes the step of preparing a current image frame block of the current image frame and the reference image. A motion vector search is performed based on the frame candidate block of the frame.
Frame-based motion vector to limit candidate blocks for searching
Frame-based motion vector preparation
It is characterized in that it comprises. The invention of claim 20, wherein, in order to solve the above problems, in the motion vector search method of claim 19, wherein the pixel data of each frame candidate blocks, the first pixel data transferred to and held unit, the first distortion calculating Transfer between a unit and the second distortion calculation unit
A third window data transfer step, and the current image frame
The pixel data of the block and the third window data
Each frame of the reference image frame transferred in the sending step.
The current image based on the pixel data of the
For the frame block, the current image frame block and
Between each frame candidate block of the reference image frame
Multiple third distortions representing the difference between the images
A third distortion calculation step for calculating
For example, the pixel data preparation step, the prepared and pixel data of the current image frame block of the current image frame, and a pixel data of a frame candidate blocks in the search window of the reference image frame, the current image data input step Calculates the pixel data of the current image frame block as the
Input to the first and second distortion calculation units ,
The distortion obtaining step includes the third distortion.
The third distortion calculated by the calculation step
The block identification step,
A motion vector based on the third distortion
The reference motion vector preparing step includes the step of
The motion vector specified by the
It is characterized by being a vector .

【0050】請求項21記載の発明は、上記課題を解決
するため、インタレース走査方式の動画像を部分的に構
成する現画像を、前記動画像を部分的に構成する参照画
像に基づいて予測するのに用いられる複数の動きベクト
ルを探索する動きベクトル探索装置であり、前記現画像
が現画像フレームからなり、該現画像フレームが、現画
像第1フィールドおよび現画像第2フィールドを含むと
ともに、画素データをそれぞれ有する複数の画素により
表わされる現画像フレームブロックを含み、前記現画像
第1フィールドおよび前記現画像第2フィールドが、画
素データをそれぞれ有する複数の画素により表わされる
現画像フィールドブロックを含み、前記参照画像が参照
画像フレームからなり、該参照画像フレームが、参照画
像第1フィールドおよび参照画像第2フィールドを含む
とともに、画素データをそれぞれ有する複数の画素によ
り表わされるサーチウインドウを含み、該サーチウイン
ドウが、複数のフレーム候補ブロックを含み、前記参照
画像第1フィールドおよび前記参照画像第2フィールド
が、画素データをそれぞれ有する複数の画素により表わ
されるサーチウインドウを含み、該サーチウィンドウ
が、複数のフィールド候補ブロックを含み、前記現画像
フレームブロックと前記各フレーム候補ブロックが同一
サイズであり、前記現画像フィールドブロックのそれぞ
れが、前記各フィールド候補ブロックのそれぞれと同一
サイズであり、前記動きベクトルを探索する動きベクト
ル探索装置であって、前記現画像第1フィールドおよび
前記現画像第2フィールドの現画像フィールドブロック
の画素データを出力させる現画像データ出力手段と、
れぞれ独立した任意の位置の、前記参照画像第1フィー
ルドおよび前記参照画像第2フィールドのサーチウィン
ドウ内のフィールド候補ブロックの画素データを出力さ
せる参照画像データ出力手段と、前記現画像データ出力
手段から出力された現画像フィールドブロックの画素デ
ータと、前記参照画像データ出力手段から出力されたサ
ーチウィンドウ内の各フィールド候補ブロックの画素デ
ータと、に基づいて、前記現画像第1フィールドおよび
前記現画像第2フィールドの現画像フィールドブロック
に対し、該現画像フィールドブロックと前記各フィール
ド候補ブロックとの間の画像の差を表わす複数のディス
トーションをそれぞれ算出させるディストーション算出
手段と、前記現画像データ出力手段から出力される現画
像フィールドブロックの画素データを前記ディストーシ
ョン算出手段に入力させる現画像データ入力制御手段
と、前記参照画像データ出力手段から出力されるサーチ
ウィンドウ内のフィールド候補ブロックの画素データ
を、前記ディストーション算出手段に入力させるウィン
ドウデータ入力制御手段と、前記サーチウィンドウ内の
フィールド候補ブロックの画素データを、前記ディスト
ーション算出手段内で転送させるウィンドウデータ転送
制御手段と、該ディストーション算出手段によって算出
された各現画像フィールドブロックに対応するそれぞれ
のディストーションの中から最小のディストーションを
検出させて、該最小のディストーションに対応する候補
ブロックおよび動きベクトルを特定させるブロック特定
手段と、前記ディストーション算出手段によって算出さ
れた前記ディストーションを前記ブロック特定手段に入
力させるディストーション入力制御手段と、を備え、前
記ディストーション算出手段が、前記サーチウィンドウ
内の各フィールド候補ブロックの画素データの一部を入
力して保持するとともに、該保持したデータをそれぞれ
転送する第1画素データ転送保持ユニット、第2画素デ
ータ転送保持ユニットおよび第3画素データ転送保持ユ
ニットと、前記サーチウィンドウ内の各フィールド候補
ブロックの画素データの一部を入力して保持するととも
に、該保持したデータをそれぞれ転送し、前記現画像フ
ィールドブロックの画素データと、前記サーチウィンド
ウ内の各フィールド候補ブロックの画素データと、に基
づいて、前記現画像フィールドブロックに対し、該現画
像フィールドブロックと前記各フィールド候補ブロック
との間の画像の差を表わす複数のディストーションをそ
れぞれ算出する第1ディストーション算出ユニットおよ
び第2ディストーション算出ユニットと、前記各フィー
ルド候補ブロックの画素データを、前記第1画素データ
転送保持ユニット、前記第1ディストーション算出ユニ
ットおよび前記第2画素データ転送保持ユニットの間で
転送させる第1転送経路と、前記各フィールド候補ブロ
ックの画素データを、前記第2画素データ転送保持ユニ
ット、前記第2ディストーション算出ユニットおよび前
記第3画素データ転送保持ユニットの間で転送させる第
2転送経路と、を有し、前記ウィンドウデータ転送制御
手段が、前記参照画像第1フィールドの各フィールド候
補ブロックの画素データを第1転送経路に沿って転送さ
せる第1ウィンドウデータ転送制御手段と、前記参照画
像第2フィールドの各フィールド候補ブロックの画素デ
ータを第2転送経路に沿って転送させる第2ウィンドウ
データ転送制御手段と、を有し、前記ディストーション
入力制御手段が、前記第1ディストーション算出ユニッ
トに算出された第1ディストーションを前記ブロック特
定手段に入力させる第1ディストーション入力制御手段
と、前記第2ディストーション算出ユニットに算出され
た第2ディストーションを前記ブロック特定手段に入力
させる第2ディストーション入力制御手段と、を有し、
前記ブロック特定手段が、前記現画像フレームブロック
に対応したフレーム候補ブロックのディストーションと
なるように、前記第1ディストーションと前記第2ディ
ストーションとをそれぞれ対応させて加算させる加算手
段と、該加算されたそれぞれのディストーションのうち
の最小のディストーションを検出させて、該最小のディ
ストーションに対応する候補ブロックおよび動きベクト
ルを特定させるディストーション特定手段と、を有し、
前記加算手段が、前記2つの探索フィールドの状態に合
わせて前記第1ディストーションと前記第2ディストー
ションとの加算タイミングを変更することを特徴とする
ものである。
According to a twenty-first aspect of the present invention, in order to solve the above problem, a current image partially constituting a moving image of an interlaced scanning system is predicted based on a reference image partially constituting the moving image. A motion vector search device for searching for a plurality of motion vectors used to perform the current image processing, wherein the current image includes a current image frame, and the current image frame includes a current image first field and a current image second field; A current image frame block represented by a plurality of pixels each having pixel data, wherein the current image first field and the current image second field include a current image field block represented by a plurality of pixels each having pixel data; , The reference image includes a reference image frame, and the reference image frame is a reference image first field. And a search window represented by a plurality of pixels each having pixel data, wherein the search window includes a plurality of frame candidate blocks, and the reference image first field and the reference image Two fields include a search window represented by a plurality of pixels each having pixel data, the search window includes a plurality of field candidate blocks, the current image frame block and each of the frame candidate blocks are the same size, A motion vector search device for searching for the motion vector, wherein each of the current image field blocks is the same size as each of the field candidate blocks, wherein the current image first field and the current image second field Current image And the current image data output means for outputting the pixel data of the over field block, its
Reference image data output means for outputting pixel data of a field candidate block in a search window of the reference image first field and the reference image second field at arbitrary independent positions, and the current image data output means And the current image first field and the current image based on the pixel data of the current image field block output from the pixel data and the pixel data of each field candidate block in the search window output from the reference image data output means. A distortion calculating unit configured to calculate a plurality of distortions representing a difference between an image between the current image field block and each of the field candidate blocks for the current image field block of the second field, and the current image data output unit. Output current image field block Current image data input control means for inputting the pixel data of the image to the distortion calculation means, and a window for inputting the pixel data of the field candidate block in the search window output from the reference image data output means to the distortion calculation means. Data input control means, window data transfer control means for transferring pixel data of a field candidate block in the search window in the distortion calculation means, and corresponding to each current image field block calculated by the distortion calculation means. A block identifying means for detecting a minimum distortion from among the distortions and identifying a candidate block and a motion vector corresponding to the minimum distortion; and the distortion calculating means A distortion input control means for inputting the calculated distortion to the block specifying means, wherein the distortion calculation means inputs and holds a part of the pixel data of each field candidate block in the search window. And a first pixel data transfer holding unit, a second pixel data transfer holding unit, and a third pixel data transfer holding unit for transferring the held data, respectively, and a part of the pixel data of each field candidate block in the search window. Is input and held, and the held data is transferred, and based on the pixel data of the current image field block and the pixel data of each field candidate block in the search window, the current image field block To the current image file. A first distortion calculation unit and a second distortion calculation unit for respectively calculating a plurality of distortions each representing an image difference between the field block and each of the field candidate blocks; and pixel data of each of the field candidate blocks. A first transfer path for transferring between the pixel data transfer and holding unit, the first distortion calculation unit and the second pixel data transfer and holding unit, and a second pixel data transfer and holding unit for transferring the pixel data of each of the field candidate blocks. A second transfer path for transferring data between the second distortion calculation unit and the third pixel data transfer holding unit, wherein the window data transfer control unit is configured to control each field candidate block of the first field of the reference image. Pixel Day Window data transfer control means for transferring image data along a first transfer path, and second window data transfer control means for transferring pixel data of each field candidate block of the second field of the reference image along a second transfer path Wherein the distortion input control means includes: first distortion input control means for inputting the first distortion calculated by the first distortion calculation unit to the block specifying means; and calculation by the second distortion calculation unit. And second distortion input control means for inputting the second distortion to the block specifying means.
An adding unit that adds the first distortion and the second distortion in association with each other so that the block specifying unit becomes a distortion of a frame candidate block corresponding to the current image frame block; and Distortion detection means for detecting a minimum distortion among the distortions, and specifying a candidate block and a motion vector corresponding to the minimum distortion ,
The adding means matches the state of the two search fields.
The first distortion and the second distortion
It is characterized in that the addition timing with the option is changed .

【0051】請求項22記載の発明は、上記課題を解決
するため、請求項21記載の動きベクトル探索装置にお
いて、前記現画像データ入力手段が、前記現画像第1フ
ィールドの現画像フィールドブロックの画素データを前
記第2ディストーション算出ユニットに入力させる第1
現画像データ入力手段と、前記現画像第2フィールドの
現画像フィールドブロックの画素データを前記第1ディ
ストーション算出ユニットに入力させる第2現画像デー
タ入力手段と、を有する異現画像データ入力手段と、前
記現画像第1フィールドの現画像フィールドブロックの
画素データを前記第1ディストーション算出ユニットに
入力させる第3現画像データ入力手段と、前記現画像第
2フィールドの現画像フィールドブロックの画素データ
を前記第2ディストーション算出ユニットに入力させる
第4現画像データ入力工程と、を有する同一現画像デー
タ入力手段と、有し、 前記異または同一現画像データ入
力手段のいずれかを選択し、 前記異現画像データ入力手
段を選択したとき、前記第1ディストーション算出ユニ
ットが、前記現画像第2フィールドの現画像フィールド
ブロックと前記参照画像第1フィールドの各フィールド
候補ブロックとの間の画像の差を表わす複数の第1ディ
ストーションをそれぞれ算出し、前記第2ディストーシ
ョン算出ユニットが、前記現画像第1フィールドの現画
像フィールドブロックと前記参照画像第2フィールドの
各フィールド候補ブロックとの間の画像の差を表わす複
数の第2ディストーションをそれぞれ算出し、 前記同一
現画像データ入力手段を選択したとき、前記第1ディス
トーション算出ユニットが、前記現画像第1フィールド
の現画像フィールドブロックと前記参照画像第1フィー
ルドの各フィールド候補ブロックとの間の画像の差を表
わす複数の第1ディストーションをそれぞれ算出し、前
記第2ディストーション算出ユニットが、前記現画像第
2フィールドの現画像フィールドブロックと前記参照画
像第2フィールドの各フィールド候補ブロックとの間の
画像の差を表わす複数の第2ディストーションをそれぞ
れ算出することを特徴とするものである。
According to a twenty-second aspect of the present invention, in order to solve the above-mentioned problem, in the motion vector search apparatus according to the twenty-first aspect, the current image data input means includes: A first inputting data to the second distortion calculating unit;
A different current image data input means having current image data input means, and second current image data input means for inputting pixel data of a current image field block of the second field of the current image to the first distortion calculation unit ; Previous
Of the current image field block of the first field of the current image
Pixel data to the first distortion calculation unit
A third current image data input means for inputting the current image data;
Pixel data of the current image field block of 2 fields
Is input to the second distortion calculation unit.
A fourth current image data input step.
Input means for inputting the different or identical current image data.
Input means for inputting the abnormal image data.
When a stage is selected, the first distortion calculating unit is configured to generate a plurality of first distortions representing an image difference between a current image field block of the current image second field and each field candidate block of the reference image first field. Calculating a distortion respectively, wherein the second distortion calculating unit generates a plurality of second distortions representing an image difference between a current image field block of the current image first field and each field candidate block of the reference image second field. the distortion was calculated, the same
When the current image data input means is selected, the first display
A torsion calculating unit configured to calculate the first field of the current image;
Current image field block and the reference image first field
Displays the image difference between each field candidate block of the field.
Calculate the first distortions
The second distortion calculation unit calculates the current image
2 field current image field block and the reference image
Between each field candidate block of the image second field
Each of a plurality of second distortions representing a difference between images
It is characterized in that it is calculated .

【0052】請求項23記載の発明は、上記課題を解決
するため、請求項21記載の動きベクトル探索装置にお
いて、前記フィールド候補ブロックの各画素とそれぞれ
水平、垂直、対角方向に隣り合う画素との間に、該画素
と、該画素と隣接する画素と、の平均をとった1/2画
素を設け、前記フィールド候補ブロックの各画素の同一
方向の1/2画素によって構成されるブロックをそれぞ
れ1/2画素フィールド候補ブロックとするとき、前記
第1ディストーション算出ユニットおよび前記第2ディ
ストーション算出ユニットが、前記フィールド候補ブロ
ックの各画素と該画素に隣接する画素とを加算し、前記
1/2画素を生成し、前記現画像フィールドブロックと
前記各1/2画素フィールド候補ブロックとの間の画像
の差を表わす複数のディストーションをそれぞれ算出す
ることを特徴とするものである。
According to a twenty-third aspect of the present invention, in order to solve the above-mentioned problem, in the motion vector search device according to the twenty-first aspect, each pixel of the field candidate block is horizontally and vertically and diagonally adjacent to each pixel. Between the pixel and a pixel adjacent to the pixel, a half pixel is averaged, and each of the pixels of the field candidate block is divided by a half pixel in the same direction. When a half-pixel field candidate block is set, the first distortion calculation unit and the second distortion calculation unit add each pixel of the field candidate block and a pixel adjacent to the pixel, and calculate the half pixel. And representing the image difference between the current image field block and each of the half-pixel field candidate blocks. It is characterized in that to calculate the distortion, respectively.

【0053】請求項24記載の発明は、上記課題を解決
するため、請求項21記載の動きベクトル探索装置にお
いて、前記ウィンドウデータ入力手段が、あらかじめ与
えられた基準動きベクトルと前記現画像フィールドブロ
ックの画像データとに基づいて、前記サーチウィンドウ
内のフィールド候補ブロックの画素データを前記ディス
トーション算出手段に入力させることを特徴とするもの
である。
According to a twenty-fourth aspect of the present invention, in order to solve the above-mentioned problem, in the motion vector search device according to the twenty-first aspect, the window data input means includes a reference motion vector given in advance and the current image field block. The method is characterized in that pixel data of a field candidate block in the search window is input to the distortion calculating means based on image data.

【0054】請求項25記載の発明は、上記課題を解決
するため、請求項24記載の動きベクトル探索装置にお
いて、前記加算手段が、前記基準動きベクトルの大きさ
のモジュロに基づいて、前記第1ディストーションと前
記第2ディストーションとを加算させるタイミングを合
わせることを特徴とするものである。請求項26記載の
発明は、上記課題を解決するため、請求項25記載の動
きベクトル探索装置において、前記基準動きベクトルを
数値化し、該数値化された基準動きベクトルを4で除算
した余りに基づいて、前記加算手段が、前記第1ディス
トーションと前記第2ディストーションとを加算させる
タイミングを合わせることを特徴とするものである。
According to a twenty-fifth aspect of the present invention, in order to solve the above problem, in the motion vector search device according to the twenty-fourth aspect, the adding means includes:
The timing for adding the first distortion and the second distortion is adjusted based on the modulo . According to a twenty-sixth aspect of the present invention, in order to solve the above problem, in the motion vector search device according to the twenty-fifth aspect, the reference motion vector is quantified based on a remainder obtained by dividing the quantified reference motion vector by four. , Wherein the adding means adjusts the timing for adding the first distortion and the second distortion.

【0055】請求項27記載の発明は、上記課題を解決
するため、請求項24記載の動きベクトル探索装置にお
いて、前記基準動きベクトルが、前記現画像第1フィー
ルドの現画像フィールドブロックと参照画像第1フィー
ルドのフィールド候補ブロックに基づいて算出された第
1基準動きベクトルと、前記現画像第2フィールドの現
画像フィールドブロックと参照画像第2フィールドのフ
ィールド候補ブロックに基づいて算出された第2基準動
きベクトルと、を有することを特徴とするものである。
According to a twenty-seventh aspect of the present invention, in the motion vector search apparatus according to the twenty-fourth aspect, the reference motion vector includes a current image field block of the current image first field and a reference image field block. A first reference motion vector calculated based on a field candidate block of one field, and a second reference motion vector calculated based on a current image field block of the current image second field and a field candidate block of the reference image second field And a vector.

【0056】請求項28記載の発明は、上記課題を解決
するため、請求項27記載の動きベクトル探索装置にお
いて、前記現画像データ入力手段が、前記現画像第1フ
ィールドの現画像フィールドブロックの画素データを前
記第1ディストーション算出ユニットに入力させる第1
現画像データ入力手段と、前記現画像第2フィールドの
現画像フィールドブロックの画素データを前記第2ディ
ストーション算出ユニットに入力させる第2現画像デー
タ入力手段と、を有し、前記第1ディストーション算出
ユニットが、前記現画像第1フィールドの現画像フィー
ルドブロックと前記参照画像第1フィールドの各フィー
ルド候補ブロックとの間の画像の差を表わす複数の第1
ディストーションをそれぞれ算出し、前記第2ディスト
ーション算出ユニットが、前記現画像第2フィールドの
現画像フィールドブロックと前記参照画像第2フィール
ドの各フィールド候補ブロックとの間の画像の差を表わ
す複数の第2ディストーションをそれぞれ算出し、前記
ブロック特定手段が、前記第1基準動きベクトルおよび
前記第2基準動きベクトルを特定させることを特徴とす
るものである。
According to a twenty-eighth aspect of the present invention, in the motion vector search device according to the twenty-seventh aspect, the current image data input means includes a pixel of a current image field block of the first field of the current image. First inputting data to the first distortion calculation unit;
The first distortion calculating unit, comprising: current image data inputting means; and second current image data inputting means for inputting pixel data of a current image field block of the second field of the current image to the second distortion calculating unit. Are a plurality of first images representing an image difference between a current image field block of the first field of the current image and each field candidate block of the first field of the reference image.
Calculating a distortion respectively, wherein the second distortion calculating unit generates a plurality of second distortions representing an image difference between a current image field block of the current image second field and each field candidate block of the reference image second field. Distortion is calculated, and the block specifying means specifies the first reference motion vector and the second reference motion vector.

【0057】請求項29記載の発明は、上記課題を解決
するため、請求項24記載の動きベクトル探索装置にお
いて、前記基準動きベクトルが、前記現画像フレームの
現画像フレームブロックと前記参照画像フレームのフレ
ーム候補ブロックに基づいて算出されたことを特徴とす
るものである。請求項30記載の発明は、上記課題を解
決するため、請求項29記載の動きベクトル探索装置に
おいて、前記現画像データ出力手段が、現画像フレーム
ブロックの画素データを出力させ、前記参照画像データ
出力手段が、サーチウィンドウ内のフレーム候補ブロッ
クの画素データを出力させ、前記現画像データ入力制御
手段が、前記現画像フレームブロックの画素データを前
記ディストーション算出手段に入力させ、前記ウィンド
ウデータ入力制御手段が、前記サーチウィンドウ内のフ
レーム候補ブロックの画素データを前記ディストーショ
ン算出手段に入力させ、前記ディストーション算出手段
が、前記各フレーム候補ブロックの画素データを、前記
第1画素データ転送保持ユニット、前記第1ディストー
ション算出ユニット、前記第2ディストーション算出ユ
ニットおよび前記第3画素データ転送保持ユニットの間
で転送させる第3転送経路を有し、前記ウィンドウデー
タ転送制御手段が、前記サーチウィンドウ内のフレーム
候補ブロックの画素データを第3転送経路に沿って転送
させる第3ウィンドウデータ転送制御手段を有し、前記
ブロック特定手段が、前記基準動きベクトルを特定させ
ることを特徴とするものである。
According to a twenty-ninth aspect of the present invention, in order to solve the above problem, in the motion vector search device according to the twenty-fourth aspect, the reference motion vector includes a current image frame block of the current image frame and a reference image frame. It is characterized by being calculated based on a frame candidate block. According to a thirtieth aspect of the present invention, in the motion vector search device according to the thirty-ninth aspect, the current image data output means outputs pixel data of a current image frame block and outputs the reference image data. Means for outputting pixel data of a frame candidate block in a search window, the current image data input control means causing the distortion calculation means to input pixel data of the current image frame block, and the window data input control means And inputting the pixel data of the frame candidate block in the search window to the distortion calculating means, and the distortion calculating means converts the pixel data of each frame candidate block into the first pixel data transfer holding unit, the first distortion Calculation unit, the second data A third transfer path for transferring between the distortion calculation unit and the third pixel data transfer holding unit, wherein the window data transfer control means transfers pixel data of a frame candidate block in the search window to a third transfer path; And a third window data transfer control means for transferring along the line, wherein the block specifying means specifies the reference motion vector.

【0058】請求項31記載の発明は、上記課題を解決
するため、インタレース走査方式の動画像を部分的に構
成する現画像を、前記動画像を部分的に構成する参照画
像に基づいて予測するのに用いられる複数の動きベクト
ルを探索する動きベクトル探索装置であり、前記現画像
が現画像フレームからなり、該現画像フレームが、現画
像第1フィールドおよび現画像第2フィールドを含むと
ともに、画素データをそれぞれ有する複数の画素により
表わされる現画像フレームブロックを含み、前記現画像
第1フィールドおよび前記現画像第2フィールドが、画
素データをそれぞれ有する複数の画素により表わされる
現画像フィールドブロックを含み、前記参照画像が参照
画像フレームからなり、該参照画像フレームが、参照画
像第1フィールドおよび参照画像第2フィールドを含む
とともに、画素データをそれぞれ有する複数の画素によ
り表わされるサーチウインドウを含み、該サーチウイン
ドウが、複数のフレーム候補ブロックを含み、前記参照
画像第1フィールドおよび前記参照画像第2フィールド
が、画素データをそれぞれ有する複数の画素により表わ
されるサーチウインドウを含み、該サーチウィンドウ
が、複数のフィールド候補ブロックを含み、前記現画像
フレームブロックと前記各フレーム候補ブロックが同一
サイズであり、前記現画像フィールドブロックのそれぞ
れが、前記各フィールド候補ブロックのそれぞれと同一
サイズであり、前記動きベクトルを探索する動きベクト
ル探索装置であって、前記現画像第1フィールドおよび
前記現画像第2フィールドの現画像フィールドブロック
の画素データを出力させる現画像データ出力手段と、
れぞれ独立した任意の位置の、前記参照画像第1フィー
ルドおよび前記参照画像第2フィールドのサーチウィン
ドウ内のフィールド候補ブロックの画素データを出力さ
せる参照画像データ出力手段と、前記現画像データ出力
手段から出力された現画像フィールドブロックの画素デ
ータと、前記参照画像データ出力手段から出力されたサ
ーチウィンドウ内の各フィールド候補ブロックの画素デ
ータと、に基づいて、前記現画像第1フィールドおよび
前記現画像第2フィールドの現画像フィールドブロック
に対し、該現画像フィールドブロックと前記各フィール
ド候補ブロックとの間の画像の差を表わす複数のディス
トーションをそれぞれ算出させるディストーション算出
手段と、前記現画像データ出力手段から出力される現画
像フィールドブロックの画素データを前記ディストーシ
ョン算出手段に入力させる現画像データ入力制御手段
と、前記参照画像データ出力手段から出力されるサーチ
ウィンドウ内のフィールド候補ブロックの画素データ
を、前記ディストーション算出手段に入力させるウィン
ドウデータ入力制御手段と、前記サーチウィンドウ内の
フィールド候補ブロックの画素データを、前記ディスト
ーション算出手段内で転送させるウィンドウデータ転送
制御手段と、該ディストーション算出手段によって算出
された各現画像フィールドブロックに対応するそれぞれ
のディストーションの中から最小のディストーションを
検出させて、該最小のディストーションに対応する候補
ブロックおよび動きベクトルを特定させるブロック特定
手段と、前記ディストーション算出手段によって算出さ
れた前記ディストーションを前記ブロック特定手段に入
力させるディストーション入力制御手段と、を備え、前
記ディストーション算出手段が、前記サーチウィンドウ
内の各フィールド候補ブロックの画素データの一部を入
力して保持するとともに、該保持したデータをそれぞれ
転送する第1画素データ転送保持ユニットおよび第2画
素データ転送保持ユニットと、前記サーチウィンドウ内
の各フィールド候補ブロックの画素データの一部を入力
して保持するとともに、該保持したデータをそれぞれ転
送し、前記現画像フィールドブロックの画素データと、
前記サーチウィンドウ内の各フィールド候補ブロックの
画素データと、に基づいて、前記現画像フィールドブロ
ックに対し、該現画像フィールドブロックと前記各フィ
ールド候補ブロックとの間の画像の差を表わす複数のデ
ィストーションをそれぞれ算出する第1ディストーショ
ン算出ユニットおよび第2ディストーション算出ユニッ
トと、前記各フィールド候補ブロックの画素データを、
前記第1画素データ転送保持ユニット、前記第1ディス
トーション算出ユニットおよび前記第2画素データ転送
保持ユニットの間で転送させる第1転送経路と、前記各
フィールド候補ブロックの画素データを、前記第2画素
データ転送保持ユニット、前記第2ディストーション算
出ユニットおよび前記第1画素データ転送保持ユニット
の間で転送させる第2転送経路と、を有し、前記ウィン
ドウデータ転送制御手段が、前記参照画像第1フィール
ドの各フィールド候補ブロックの画素データを第1転送
経路に沿って転送させる第1ウィンドウデータ転送制御
手段と、前記参照画像第2フィールドの各フィールド候
補ブロックの画素データを第2転送経路に沿って転送さ
せる第2ウィンドウデータ転送制御手段と、を有し、前
記ディストーション入力制御手段が、前記第1ディスト
ーション算出ユニットに算出された第1ディストーショ
ンを前記ブロック特定手段に入力させる第1ディストー
ション入力制御手段と、前記第2ディストーション算出
ユニットに算出された第2ディストーションを前記ブロ
ック特定手段に入力させる第2ディストーション入力制
御手段と、を有し、前記ブロック特定手段が、前記現画
像フレームブロックに対応したフレーム候補ブロックの
ディストーションとなるように、前記第1ディストーシ
ョンと前記第2ディストーションとをそれぞれ対応させ
て加算させる加算手段と、該加算されたそれぞれのディ
ストーションのうちの最小のディストーションを検出さ
せて、該最小のディストーションに対応する候補ブロッ
クおよび動きベクトルを特定させるディストーション特
定手段と、を有し、前記加算手段が、前記2つの探索フ
ィールドの状態に合わせて前記第1ディストーションと
前記第2ディストーションとの加算タイミングを変更す
ることを特徴とするものである。
According to a thirty-first aspect of the present invention, in order to solve the above-mentioned problem, a current image partially constituting a moving image of an interlaced scanning system is predicted based on a reference image partially constituting the moving image. A motion vector search device for searching for a plurality of motion vectors used to perform the current image processing, wherein the current image includes a current image frame, and the current image frame includes a current image first field and a current image second field; A current image frame block represented by a plurality of pixels each having pixel data, wherein the current image first field and the current image second field include a current image field block represented by a plurality of pixels each having pixel data; , The reference image includes a reference image frame, and the reference image frame is a reference image first field. And a search window represented by a plurality of pixels each having pixel data, wherein the search window includes a plurality of frame candidate blocks, and the reference image first field and the reference image Two fields include a search window represented by a plurality of pixels each having pixel data, the search window includes a plurality of field candidate blocks, the current image frame block and each of the frame candidate blocks are the same size, A motion vector search device for searching for the motion vector, wherein each of the current image field blocks is the same size as each of the field candidate blocks, wherein the current image first field and the current image second field Current image And the current image data output means for outputting the pixel data of the over field block, its
Reference image data output means for outputting pixel data of a field candidate block in a search window of the reference image first field and the reference image second field at arbitrary independent positions, and the current image data output means And the current image first field and the current image based on the pixel data of the current image field block output from the pixel data and the pixel data of each field candidate block in the search window output from the reference image data output means. A distortion calculating unit configured to calculate a plurality of distortions representing a difference between an image between the current image field block and each of the field candidate blocks for the current image field block of the second field, and the current image data output unit. Output current image field block Current image data input control means for inputting the pixel data of the image to the distortion calculation means, and a window for inputting the pixel data of the field candidate block in the search window output from the reference image data output means to the distortion calculation means. Data input control means, window data transfer control means for transferring pixel data of a field candidate block in the search window in the distortion calculation means, and corresponding to each current image field block calculated by the distortion calculation means. A block identifying means for detecting a minimum distortion from among the distortions and identifying a candidate block and a motion vector corresponding to the minimum distortion; and the distortion calculating means A distortion input control means for inputting the calculated distortion to the block specifying means, wherein the distortion calculation means inputs and holds a part of the pixel data of each field candidate block in the search window. And a first pixel data transfer holding unit and a second pixel data transfer holding unit for transferring the held data, respectively, and inputting and holding a part of the pixel data of each field candidate block in the search window; Transferring the held data, and pixel data of the current image field block;
Based on the pixel data of each field candidate block in the search window, a plurality of distortions representing an image difference between the current image field block and each of the field candidate blocks are generated for the current image field block. A first distortion calculation unit and a second distortion calculation unit, which are respectively calculated, and pixel data of each of the field candidate blocks,
A first transfer path for transferring data among the first pixel data transfer and holding unit, the first distortion calculation unit and the second pixel data transfer and holding unit, and a pixel data of each of the field candidate blocks, A transfer holding unit, a second transfer path for transferring data between the second distortion calculating unit and the first pixel data transfer holding unit, wherein the window data transfer control unit is configured to control each of the reference image first fields. First window data transfer control means for transferring pixel data of a field candidate block along a first transfer path; and a second window data transfer control means for transferring pixel data of each field candidate block of the second field of the reference image along a second transfer path. And a two-window data transfer control means. Input control means for inputting the first distortion calculated by the first distortion calculation unit to the block specifying means; and inputting the second distortion calculated by the second distortion calculation unit to the block. Second distortion input control means for inputting to the identification means, wherein the block distortion means causes the distortion of the frame candidate block corresponding to the current image frame block to be a distortion of the first distortion and the second distortion. Adding means for correspondingly adding and detecting the minimum distortion among the added distortions, and specifying a candidate block and a motion vector corresponding to the minimum distortion. Has a Isutoshon specifying means, wherein the addition means, the two search off
The first distortion according to the condition of the field
Change the addition timing with the second distortion
It is characterized by that.

【0059】請求項32記載の発明は、上記課題を解決
するため、請求項31記載の動きベクトル探索装置にお
いて、前記現画像データ入力手段が、前記現画像第1フ
ィールドの現画像フィールドブロックの画素データを前
記第2ディストーション算出ユニットに入力させる第1
現画像データ入力手段と、前記現画像第2フィールドの
現画像フィールドブロックの画素データを前記第1ディ
ストーション算出ユニットに入力させる第2現画像デー
タ入力手段と、を有する異現画像データ入力手段と、前
記現画像第1フィールドの現画像フィールドブロックの
画素データを前記第1ディストーション算出ユニットに
入力させる第3現画像データ入力手段と、前記現画像第
2フィールドの現画像フィールドブロックの画素データ
を前記第2ディストーション算出ユニットに入力させる
第4現画像データ入力工程と、を有する同一現画像デー
タ入力手段と、有し、 前記異または同一現画像データ入
力手段のいずれかを選択し、 前記異現画像データ入力手
段を選択したとき、前記第1ディストーション算出ユニ
ットが、前記現画像第2フィールドの現画像フィールド
ブロックと前記参照画像第1フィールドの各フィールド
候補ブロックとの間の画像の差を表わす複数の第1ディ
ストーションをそれぞれ算出し、前記第2ディストーシ
ョン算出ユニットが、前記現画像第1フィールドの現画
像フィールドブロックと前記参照画像第2フィールドの
各フィールド候補ブロックとの間の画像の差を表わす複
数の第2ディストーションをそれぞれ算出し、 前記同一
現画像データ入力手段を選択したとき、前記第1ディス
トーション算出ユニットが、前記現画像第1フィールド
の現画像フィールドブロックと前記参照画像第1フィー
ルドの各フィールド候補ブロックとの間の画像の差を表
わす複数の第1ディストーションをそれぞれ算出し、前
記第2ディストーション算出ユニットが、前記現画像第
2フィールドの現画像フィールドブロックと前記参照画
像第2フィールドの各フィールド候補ブロックとの間の
画像の差を表わす複数の第2ディストーションをそれぞ
れ算出することを特徴とするものである。
According to a thirty-second aspect of the present invention, in the motion vector search device according to the thirty-first aspect, the current image data input means includes a pixel of a current image field block of the first field of the current image. A first inputting data to the second distortion calculating unit;
A different current image data input means having current image data input means, and second current image data input means for inputting pixel data of a current image field block of the second field of the current image to the first distortion calculation unit ; Previous
Of the current image field block of the first field of the current image
Pixel data to the first distortion calculation unit
A third current image data input means for inputting the current image data;
Pixel data of the current image field block of 2 fields
Is input to the second distortion calculation unit.
A fourth current image data input step.
Input means for inputting the different or identical current image data.
Input means for inputting the abnormal image data.
When a stage is selected, the first distortion calculating unit is configured to generate a plurality of first distortions representing an image difference between a current image field block of the current image second field and each field candidate block of the reference image first field. Calculating a distortion respectively, wherein the second distortion calculating unit generates a plurality of second distortions representing an image difference between a current image field block of the current image first field and each field candidate block of the reference image second field. the distortion was calculated, the same
When the current image data input means is selected, the first display
A torsion calculating unit configured to calculate the first field of the current image;
Current image field block and the reference image first field
Displays the image difference between each field candidate block of the field.
Calculate the first distortions
The second distortion calculation unit calculates the current image
2 field current image field block and the reference image
Between each field candidate block of the image second field
Each of a plurality of second distortions representing a difference between images
It is characterized in that it is calculated .

【0060】請求項33記載の発明は、上記課題を解決
するため、請求項31記載の動きベクトル探索装置にお
いて、前記フィールド候補ブロックの各画素とそれぞれ
水平、垂直、対角方向に隣り合う画素との間に、該画素
と、該画素と隣接する画素と、の平均をとった1/2画
素を設け、前記フィールド候補ブロックの各画素の同一
方向の1/2画素によって構成されるブロックをそれぞ
れ1/2画素フィールド候補ブロックとするとき、前記
第1ディストーション算出ユニットおよび前記第2ディ
ストーション算出ユニットが、前記フィールド候補ブロ
ックの各画素と該画素に隣接する画素とを加算し、前記
1/2画素を生成し、前記現画像フィールドブロックと
前記各1/2画素フィールド候補ブロックとの間の画像
の差を表わす複数のディストーションをそれぞれ算出す
ることを特徴とするものである。
According to a thirty-third aspect of the present invention, there is provided a motion vector search apparatus according to the thirty-first aspect, wherein each of the pixels of the field candidate block is horizontally, vertically, and diagonally adjacent to each other. Between the pixel and a pixel adjacent to the pixel, a half pixel is averaged, and each of the pixels of the field candidate block is divided by a half pixel in the same direction. When a half-pixel field candidate block is set, the first distortion calculation unit and the second distortion calculation unit add each pixel of the field candidate block and a pixel adjacent to the pixel, and calculate the half pixel. And representing the image difference between the current image field block and each of the half-pixel field candidate blocks. It is characterized in that to calculate the distortion, respectively.

【0061】請求項34記載の発明は、上記課題を解決
するため、請求項31記載の動きベクトル探索装置にお
いて、前記ウィンドウデータ入力手段が、あらかじめ与
えられた基準動きベクトルと前記現画像フィールドブロ
ックの画像データとに基づいて、前記サーチウィンドウ
内のフィールド候補ブロックの画素データを前記ディス
トーション算出手段に入力させることを特徴とする動き
ベクトル探索装置。ものである。
According to a thirty-fourth aspect of the present invention, in the motion vector search apparatus according to the thirty-first aspect, the window data input means includes a reference motion vector given in advance and the current image field block. A motion vector search device, wherein pixel data of a field candidate block in the search window is input to the distortion calculating means based on image data. Things.

【0062】請求項35記載の発明は、上記課題を解決
するため、請求項34記載の動きベクトル探索装置にお
いて、前記加算手段が、前記基準動きベクトルの大きさ
のモジュロに基づいて、前記第1ディストーションと前
記第2ディストーションとを加算させるタイミングを合
わせることを特徴とするものである。請求項36記載の
発明は、上記課題を解決するため、請求項35記載の動
きベクトル探索装置において、前記基準動きベクトルを
数値化し、該数値化された基準動きベクトルを4で除算
した余りに基づいて、前記加算手段が、前記第1ディス
トーションと前記第2ディストーションとを加算させる
タイミングを合わせることを特徴とするものである。
According to a thirty-fifth aspect of the present invention, in the motion vector search device according to the thirty-fourth aspect, the adding means includes a step of determining a magnitude of the reference motion vector.
The timing for adding the first distortion and the second distortion is adjusted based on the modulo . According to a thirty-sixth aspect of the present invention, in the motion vector search device according to the thirty-fifth aspect, the reference motion vector is quantified based on a remainder obtained by dividing the quantified reference motion vector by four. , Wherein the adding means adjusts the timing for adding the first distortion and the second distortion.

【0063】請求項37記載の発明は、上記課題を解決
するため、請求項34記載の動きベクトル探索装置にお
いて、前記基準動きベクトルが、前記現画像第1フィー
ルドの現画像フィールドブロックと参照画像第1フィー
ルドのフィールド候補ブロックに基づいて算出された第
1基準動きベクトルと、前記現画像第2フィールドの現
画像フィールドブロックと参照画像第2フィールドのフ
ィールド候補ブロックに基づいて算出された第2基準動
きベクトルと、を有することを特徴とするものである。
According to a thirty-seventh aspect of the present invention, in the motion vector search device according to the thirty-fourth aspect, the reference motion vector comprises a current image field block of the first field of the current image and a reference image A first reference motion vector calculated based on a field candidate block of one field, and a second reference motion vector calculated based on a current image field block of the current image second field and a field candidate block of the reference image second field And a vector.

【0064】請求項38記載の発明は、上記課題を解決
するため、請求項37記載の動きベクトル探索装置にお
いて、前記現画像データ入力手段が、前記現画像第1フ
ィールドの現画像フィールドブロックの画素データを前
記第1ディストーション算出ユニットに入力させる第1
現画像データ入力手段と、前記現画像第2フィールドの
現画像フィールドブロックの画素データを前記第2ディ
ストーション算出ユニットに入力させる第2現画像デー
タ入力手段と、を有し、前記第1ディストーション算出
ユニットが、前記現画像第1フィールドの現画像フィー
ルドブロックと前記参照画像第1フィールドの各フィー
ルド候補ブロックとの間の画像の差を表わす複数の第1
ディストーションをそれぞれ算出し、前記第2ディスト
ーション算出ユニットが、前記現画像第2フィールドの
現画像フィールドブロックと前記参照画像第2フィール
ドの各フィールド候補ブロックとの間の画像の差を表わ
す複数の第2ディストーションをそれぞれ算出し、前記
ブロック特定手段が、前記第1基準動きベクトルおよび
前記第2基準動きベクトルを特定させることを特徴とす
るものである。
According to a thirty-eighth aspect of the present invention, in the motion vector search device according to the thirty-seventh aspect, the current image data input means comprises a pixel of a current image field block of the first field of the current image. First inputting data to the first distortion calculation unit;
The first distortion calculating unit, comprising: current image data inputting means; and second current image data inputting means for inputting pixel data of a current image field block of the second field of the current image to the second distortion calculating unit. Are a plurality of first images representing an image difference between a current image field block of the first field of the current image and each field candidate block of the first field of the reference image.
Calculating a distortion respectively, wherein the second distortion calculating unit generates a plurality of second distortions representing an image difference between a current image field block of the current image second field and each field candidate block of the reference image second field. Distortion is calculated, and the block specifying means specifies the first reference motion vector and the second reference motion vector.

【0065】請求項39記載の発明は、上記課題を解決
するため、請求項34記載の動きベクトル探索装置にお
いて、前記基準動きベクトルが、前記現画像フレームの
現画像フレームブロックと前記参照画像フレームのフレ
ーム候補ブロックに基づいて算出されたことを特徴とす
るものである。請求項40記載の発明は、上記課題を解
決するため、請求項39記載の動きベクトル探索装置に
おいて、前記現画像データ出力手段が、現画像フレーム
ブロックの画素データを出力させ、前記参照画像データ
出力手段が、サーチウィンドウ内のフレーム候補ブロッ
クの画素データを出力させ、前記現画像データ入力制御
手段が、前記現画像フレームブロックの画素データを前
記ディストーション算出手段に入力させ、前記ウィンド
ウデータ入力制御手段が、前記サーチウィンドウ内のフ
レーム候補ブロックの画素データを前記ディストーショ
ン算出手段に入力させ、前記ディストーション算出手段
が、前記各フレーム候補ブロックの画素データを、前記
第1画素データ転送保持ユニット、前記第1ディストー
ション算出ユニットおよび前記第2ディストーション算
出ユニットの間で転送させる第3転送経路を有し、前記
ウィンドウデータ転送制御手段が、前記サーチウィンド
ウ内のフレーム候補ブロックの画素データを第3転送経
路に沿って転送させる第3ウィンドウデータ転送制御手
段を有し、前記ブロック特定手段が、前記基準動きベク
トルを特定させることを特徴とするものである。
According to a thirty-ninth aspect of the present invention, in the motion vector search device according to the thirty-fourth aspect, the reference motion vector comprises a current image frame block of the current image frame and a reference image frame. It is characterized by being calculated based on a frame candidate block. According to a 40th aspect of the present invention, in the motion vector search device according to the 39th aspect, the current image data output means outputs pixel data of a current image frame block and outputs the reference image data. Means for outputting pixel data of a frame candidate block in a search window, the current image data input control means causing the distortion calculation means to input pixel data of the current image frame block, and the window data input control means And inputting the pixel data of the frame candidate block in the search window to the distortion calculating means, and the distortion calculating means converts the pixel data of each frame candidate block into the first pixel data transfer holding unit, the first distortion A calculation unit and the A third transfer path for transferring between the distortion calculation units, wherein the window data transfer control means transfers pixel data of a frame candidate block in the search window along a third transfer path; Control means, wherein the block specifying means specifies the reference motion vector.

【0066】[0066]

【発明の実施の形態】本発明に係る動きベクトル探索装
置は、図1に示すように、現画像データ出力手段10、
参照画像データ出力手段20、ディストーション算出手
段30、ブロック特定手段60、現画像データ入力制御
手段81、ウィンドウデータ入力制御手段82、ウィン
ドウデータ転送制御手段83、ディストーション入力制
御手段84およびモード切り換え手段85を備えてい
る。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A motion vector search device according to the present invention, as shown in FIG.
Reference image data output means 20, distortion calculation means 30, block identification means 60, current image data input control means 81, window data input control means 82, window data transfer control means 83, distortion input control means 84, and mode switching means 85 Have.

【0067】現画像データ出力手段10は、現画像ブロ
ックの画素データを出力させるものである。参照画像デ
ータ出力手段20は、サーチウィンドウの画素データを
出力させるものである。ディストーション算出手段30
は、第1ディストーション算出ユニット32、第2ディ
ストーション算出ユニット34、第1画素データ転送保
持ユニット31、第2画素データ転送保持ユニット33
および第3画素データ転送保持ユニット35を有し、現
画像データ出力手段10から出力された現画像ブロック
の画素データと参照画像データ出力手段20から出力さ
れたサーチウィンドウの画素データとに基づいて、現画
像ブロックと複数の候補ブロックとの間の画像の差を表
わすディストーションをそれぞれ算出させるものであ
る。
The current image data output means 10 outputs the pixel data of the current image block. The reference image data output means 20 outputs the pixel data of the search window. Distortion calculating means 30
Are a first distortion calculation unit 32, a second distortion calculation unit 34, a first pixel data transfer holding unit 31, and a second pixel data transfer holding unit 33
And a third pixel data transfer holding unit 35, based on the pixel data of the current image block output from the current image data output means 10 and the pixel data of the search window output from the reference image data output means 20, A distortion representing a difference between images of a current image block and a plurality of candidate blocks is calculated.

【0068】現画像データ入力制御手段81は、現画像
データ出力手段10から出力される現画像ブロックの画
素データをディストーション算出手段30に入力させる
ものである。ウィンドウデータ入力制御手段82は、参
照画像データ出力手段20から出力されるサーチウィン
ドウの画素データをディストーション算出手段30に入
力させるものである。
The current image data input control means 81 inputs the pixel data of the current image block output from the current image data output means 10 to the distortion calculating means 30. The window data input control unit 82 causes the distortion calculation unit 30 to input the pixel data of the search window output from the reference image data output unit 20.

【0069】ウィンドウデータ転送制御手段83は、サ
ーチウィンドウの画素データをディストーション算出手
段30内で転送経路に沿って転送させるものである。デ
ィストーション入力制御手段84は、ディストーション
算出手段30によって算出された各ディストーションを
ブロック特定手段60に入力させるものである。
The window data transfer control means 83 causes the pixel data of the search window to be transferred within the distortion calculation means 30 along the transfer path. The distortion input control means 84 causes each of the distortions calculated by the distortion calculation means 30 to be input to the block specifying means 60.

【0070】モード切り換え手段85は、参照画像デー
タ出力手段20から入力されるサーチウィンドウデータ
の画素データの転送経路を、第1転送経路および第2転
送経路を選択する第1転送モードと、第3転送経路を選
択する第2転送モードと、を選択して切り換えるもので
ある。ここで、第1転送経路とは、第1画素データ転送
保持ユニット31、第1ディストーション算出ユニット
32および第2画素データ転送保持ユニット33の間で
サーチウィンドウの画素データを転送する経路であり、
第2転送経路とは、第2画素データ転送保持ユニット3
3、第2ディストーション算出ユニット34および第3
画素データ転送保持ユニット35の間でサーチウィンド
ウの画素データを転送する経路であり、第3転送経路と
は、第1画素データ転送保持ユニット31、第1ディス
トーション算出ユニット32、第2ディストーション算
出ユニット34および第3画素データ転送保持ユニット
35の間でサーチウィンドウの画素データを転送する経
路である。
The mode switching means 85 includes a first transfer mode for selecting a first transfer path and a second transfer path for the transfer path of the pixel data of the search window data input from the reference image data output means 20, and a third transfer mode. And a second transfer mode for selecting a transfer path. Here, the first transfer path is a path for transferring the pixel data of the search window among the first pixel data transfer holding unit 31, the first distortion calculation unit 32, and the second pixel data transfer holding unit 33,
The second transfer path is the second pixel data transfer holding unit 3
3, the second distortion calculating unit 34 and the third
A path for transferring the pixel data of the search window between the pixel data transfer and holding units 35, and the third transfer path includes a first pixel data transfer and holding unit 31, a first distortion calculation unit 32, and a second distortion calculation unit 34 And a path for transferring the pixel data of the search window between the third pixel data transfer and holding unit 35.

【0071】ブロック特定手段60は、加算手段61お
よびディストーション特定手段62を有し、各現画像ブ
ロックに対し算出された複数のディストーションの値の
うちの最小値をそれぞれ検出して、現画像ブロックに対
して最も類似する1つの候補ブロックを特定するもので
ある。また、加算手段61は、現画像フレームブロック
に対応したフレーム候補ブロックのディストーションと
なるように、第1ディストーション算出ユニット32に
よって算出された第1ディストーションと、第2ディス
トーション算出ユニット34によって算出された第2デ
ィストーションと、をそれぞれ対応させて加算させるも
のである。
The block specifying unit 60 has an adding unit 61 and a distortion specifying unit 62, and detects the minimum value of a plurality of distortion values calculated for each current image block, and detects the minimum value as the current image block. One candidate block that is most similar to the candidate block is specified. Further, the adding unit 61 calculates the first distortion calculated by the first distortion calculation unit 32 and the second distortion calculated by the second distortion calculation unit 34 so that the distortion of the frame candidate block corresponding to the current image frame block is obtained. And two distortions are added in correspondence with each other.

【0072】ディストーション特定手段62は、加算手
段61によって加算されたそれぞれのディストーション
のうちの最小のディストーションを検出して、検出され
た最小のディストーションに対応するフレーム候補ブロ
ックおよび動きベクトルを特定するものである。ここ
で、図2に、動きベクトル探索の対象となる現画像ブロ
ック110と候補ブロック310の関係を示す。参照画
像200は、現画像100よりも先に符号化されたもの
である。現画像100は、現画像ブロック110を含
み、参照画像200は、サーチウィンドウ210を含
み、さらに、候補ブロック310を含む。動きベクトル
探索装置は、現画像ブロック110と、サーチウィンド
ウ210内の任意の候補ブロック310とを比較し、画
像の差を表すディストーションをそれぞれ算出する。上
記ディストーションの中で、最も小さいディストーショ
ンを求め、そのディストーションを持つ候補ブロック3
10の位置と、現画像ブロック110の位置とによって
動きベクトルを求める。
The distortion specifying means 62 detects the minimum distortion among the distortions added by the adding means 61, and specifies a frame candidate block and a motion vector corresponding to the detected minimum distortion. is there. Here, FIG. 2 shows a relationship between the current image block 110 to be searched for a motion vector and the candidate block 310. The reference image 200 has been encoded earlier than the current image 100. The current image 100 includes a current image block 110, the reference image 200 includes a search window 210, and further includes a candidate block 310. The motion vector search device compares the current image block 110 with an arbitrary candidate block 310 in the search window 210, and calculates a distortion representing an image difference. Among the above distortions, the smallest distortion is obtained, and candidate block 3 having the distortion is obtained.
A motion vector is obtained based on the position of the current image block 110 and the position of the current image block 110.

【0073】以下、図3に示す現画像ブロックと参照画
像ブロックについての動きベクトル探索について説明す
る。図3に示すa1(x,y)は、現画像第1フィール
ドの画素データを表し、a2(x,y)は、現画像第2
フィールドの画素データを表し、a1(x,y)とa2
(x,y)を合わせて現画像フレームの画素データを表
す。b1(x,y)は、参照画像第1フィールドの画素
データを表し、b2(x,y)は、参照画像第2フィー
ルドの画素データを表し、b1(x,y)とb2(x,
y)を合わせて参照画像フレームの画素データを表す。
Hereinafter, the motion vector search for the current image block and the reference image block shown in FIG. 3 will be described. A1 (x, y) shown in FIG. 3 represents pixel data of the first field of the current image, and a2 (x, y) represents pixel data of the second field of the current image.
Represents the pixel data of the field, a1 (x, y) and a2
(X, y) together represents the pixel data of the current image frame. b1 (x, y) represents pixel data of the first field of the reference image, b2 (x, y) represents pixel data of the second field of the reference image, and b1 (x, y) and b2 (x, y).
y) represents the pixel data of the reference image frame.

【0074】動きベクトル探索装置は、モード切り換え
手段85によって第1モードが選択されたとき、ウィン
ドウデータ入力制御手段82によって、参照画像第1フ
ィールドおよび参照画像第2フィールドのフィールド候
補ブロックの画素データが、参照画像データ出力手段2
0から出力され、ディストーション算出手段30に入力
される。また、現画像データ入力制御手段81によっ
て、現画像第1フィールドおよび現画像第2フィールド
の現画像フィールドブロックの画素データが、現画像デ
ータ出力手段10から出力され、ディストーション算出
手段30に入力される。
In the motion vector search apparatus, when the first mode is selected by the mode switching means 85, the window data input control means 82 controls the pixel data of the field candidate blocks of the first field of the reference image and the second field of the reference image. , Reference image data output means 2
It is output from 0 and input to the distortion calculating means 30. Further, the current image data input control means 81 outputs the pixel data of the current image field block of the current image first field and the current image second field from the current image data output means 10 and inputs the pixel data to the distortion calculation means 30. .

【0075】ディストーション算出手段30に入力され
た参照画像第1フィールドのフィールド候補ブロックの
画素データは、ウィンドウデータ転送制御手段83によ
って第1転送経路に沿って転送され、第1ディストーシ
ョン算出ユニット32によってフィールド候補ブロック
ごとに現画像第2フィールドの現画像フィールドブロッ
クとのディストーションが算出されるとともに、1/2
画素フィールド候補ブロックのディストーションが算出
される。ディストーション算出手段30に入力された参
照画像第2フィールドのフィールド候補ブロックの画素
データは、ウィンドウデータ転送制御手段83によって
第2転送経路に沿って転送され、第2ディストーション
算出ユニット34によってフィールド候補ブロックごと
に現画像第1フィールドの現画像フィールドブロックと
のディストーションが算出されるとともに、1/2画素
フィールド候補ブロックのディストーションが算出され
る。
The pixel data of the field candidate block of the first field of the reference image input to the distortion calculating means 30 is transferred along the first transfer path by the window data transfer control means 83, and the pixel data of the field The distortion between the current image second field and the current image field block is calculated for each candidate block, and
The distortion of the pixel field candidate block is calculated. The pixel data of the field candidate block of the second field of the reference image input to the distortion calculation unit 30 is transferred along the second transfer path by the window data transfer control unit 83, and the second distortion calculation unit 34 outputs the pixel data of each field candidate block. The distortion of the current image first field with respect to the current image field block is calculated, and the distortion of the half-pixel field candidate block is calculated.

【0076】第1ディストーション算出ユニット32お
よび第2ディストーション算出ユニット34によって算
出されたディストーションは、ディストーション入力制
御手段84によってブロック特定手段60に入力され
る。ブロック特定手段60に入力されたディストーショ
ンは、加算手段61によって、現画像フレームブロック
に対応したディストーションとなるようにそれぞれのデ
ィストーション算出ユニットに算出されたディストーシ
ョン同士が加算され、ディストーション特定手段62に
よって、加算されたディストーションの中から最小値が
検出され、ディストーションが最小値となるフレーム候
補ブロックが特定され、特定されたフレーム候補ブロッ
クの位置と、現画像フレームブロックの位置とによって
動きベクトルが算出される。
The distortion calculated by the first distortion calculating unit 32 and the second distortion calculating unit 34 is input to the block specifying means 60 by the distortion input control means 84. The distortions input to the block specifying unit 60 are added by the adding unit 61 to the distortions calculated by the respective distortion calculating units so as to become the distortions corresponding to the current image frame block, and added by the distortion specifying unit 62. A minimum value is detected from the determined distortions, a frame candidate block having the minimum distortion is specified, and a motion vector is calculated based on the position of the specified frame candidate block and the position of the current image frame block.

【0077】モード切り換え手段85によって第2モー
ドが選択されたとき、ウィンドウデータ入力制御手段8
2によって、参照画像フレームのフレーム候補ブロック
の画素データは、参照画像データ出力手段20から出力
され、ディストーション算出手段30に入力される。ま
た、現画像データ入力制御手段81によって、現画像フ
レームの現画像フレームブロックの画素データは、現画
像データ出力手段10から出力され、ディストーション
算出手段30に入力される。
When the second mode is selected by the mode switching means 85, the window data input control means 8
According to 2, the pixel data of the frame candidate block of the reference image frame is output from the reference image data output unit 20 and input to the distortion calculation unit 30. Further, the pixel data of the current image frame block of the current image frame is output from the current image data output unit 10 and input to the distortion calculation unit 30 by the current image data input control unit 81.

【0078】ディストーション算出手段30に入力され
た参照画像フレームのフレーム候補ブロックの画素デー
タは、ウィンドウデータ転送制御手段83によって第3
転送経路に沿って転送され、第1ディストーション算出
ユニット32および第2ディストーション算出ユニット
34によってフレーム候補ブロックごとに現画像フレー
ムの現画像フレームブロックとのディストーションが算
出される。
The pixel data of the frame candidate block of the reference image frame input to the distortion calculating means 30 is converted by the window data transfer control means 83 into third data.
The image data is transferred along the transfer path, and the distortion of the current image frame with respect to the current image frame block is calculated for each frame candidate block by the first distortion calculation unit 32 and the second distortion calculation unit 34.

【0079】第1ディストーション算出ユニット32お
よび第2ディストーション算出ユニット34によって算
出されたディストーションは、ディストーション入力制
御手段84によってブロック特定手段60に入力され
る。ディストーション入力制御手段84によって入力さ
れたディストーションは、ブロック特定手段60によっ
て最小値が検出され、ディストーションが最小値となる
フレーム候補ブロックが特定され、特定されたフレーム
候補ブロックの位置と、現画像フレームブロックの位置
とによって動きベクトルが算出される。
The distortion calculated by the first distortion calculation unit 32 and the second distortion calculation unit 34 is input to the block specifying means 60 by the distortion input control means 84. The minimum value of the distortion input by the distortion input control unit 84 is detected by the block specifying unit 60, the frame candidate block having the minimum distortion is specified, and the position of the specified frame candidate block and the current image frame block A motion vector is calculated according to the position of the motion vector.

【0080】[0080]

【実施例】以下、本発明ついて詳細に説明する。図4に
示すように、動きベクトル探索装置は、現画像データ出
力ユニット1000、参照画像データ出力ユニット20
00、ディストーション算出手段3000、ブロック特
定ユニット6000および信号出力ユニット8000か
ら構成される。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below in detail. As shown in FIG. 4, the motion vector search device includes a current image data output unit 1000, a reference image data output unit 20.
00, a distortion calculating unit 3000, a block specifying unit 6000, and a signal output unit 8000.

【0081】現画像データ出力ユニット1000は、現
画像ブロックの画素データをディストーション算出手段
3000に出力させるものである。参照画像データ出力
ユニット2000は、サーチウィンドウの画素データを
ディストーション算出手段3000に出力させるもので
ある。ディストーション算出手段3000は、入力レジ
スタグループ、第1、第2、第3サイドレジスタグルー
プおよび第1、第2プロセッサエレメントグループを有
し、現画像データ出力ユニット1000から出力された
現画像ブロックの画素データと参照画像データ出力ユニ
ット2000から出力されたサーチウィンドウの画素デ
ータとに基づいて、現画像ブロックと複数の候補ブロッ
クとの間の画像の差を表わす複数のディストーションを
それぞれ算出させるとともに、1/2画素候補ブロック
のディストーションを算出させるものである。
The current image data output unit 1000 causes the distortion calculating means 3000 to output the pixel data of the current image block. The reference image data output unit 2000 causes the distortion calculation means 3000 to output the pixel data of the search window. The distortion calculating means 3000 has an input register group, a first, a second, and a third side register group and a first and a second processor element group, and outputs pixel data of a current image block output from the current image data output unit 1000. And calculating a plurality of distortions each representing an image difference between the current image block and the plurality of candidate blocks, based on the pixel data of the search window output from the reference image data output unit 2000. This is for calculating the distortion of the pixel candidate block.

【0082】ブロック特定ユニット6000は、加算ユ
ニット6100およびディストーション特定ユニット6
200を有し、各現画像ブロックに対し算出された複数
のディストーションの値のうちそれぞれ最小値を検出し
て、候補ブロックの中で現画像ブロックに最も類似する
1つの候補ブロックを特定し、特定された候補ブロック
に基づいて動きベクトルを検出するものである。
The block specifying unit 6000 includes an adding unit 6100 and a distortion specifying unit 6
200, each of which detects a minimum value among a plurality of distortion values calculated for each current image block, specifies one candidate block most similar to the current image block among the candidate blocks, and specifies A motion vector is detected based on the candidate block thus obtained.

【0083】また、加算ユニット6100は、現画像フ
レームブロックに対応したフレーム候補ブロックのディ
ストーションとなるように、第1プロセッサエレメント
グループによって算出された第1ディストーションと、
第2プロセッサエレメントグループによって算出された
第2ディストーションと、をそれぞれ対応させて加算さ
せるものである。
The addition unit 6100 further includes a first distortion calculated by the first processor element group so as to obtain a distortion of a frame candidate block corresponding to the current image frame block;
The second distortion calculated by the second processor element group and the second distortion are associated with each other and added.

【0084】ディストーション特定ユニット6200
は、加算ユニット6100によって加算されたそれぞれ
のディストーションのうちの最小のディストーションを
検出して、検出された最小のディストーションに対応す
るフレーム候補ブロックおよび動きベクトルを特定する
ものである。信号出力ユニット8000は、各ユニット
および手段に対して制御信号を出力し、各ユニットおよ
び手段の動作を制御するものである。
Distortion specifying unit 6200
Detects the minimum distortion among the distortions added by the addition unit 6100, and specifies a frame candidate block and a motion vector corresponding to the detected minimum distortion. The signal output unit 8000 outputs a control signal to each unit and means, and controls the operation of each unit and means.

【0085】図5に示すように、信号出力ユニット80
00は、第1〜第7信号出力端子P1〜P7を有し、各
信号出力端子P1〜P7から出力される信号は、現画像
データ出力ユニット1000、参照画像データ出力ユニ
ット2000、ディストーション算出手段3000、ブ
ロック特定ユニット6000に出力され、各ユニットお
よび手段の動作を制御するものである。
As shown in FIG. 5, the signal output unit 80
Reference numeral 00 denotes first to seventh signal output terminals P1 to P7, and the signals output from each of the signal output terminals P1 to P7 output the current image data output unit 1000, the reference image data output unit 2000, and the distortion calculating means 3000. Are output to the block specifying unit 6000 to control the operation of each unit and means.

【0086】信号出力ユニット8000の各信号出力端
子P1〜P7から出力される信号を図6〜図12に示
す。第1信号出力端子P1から出力される信号は、クロ
ックパルス信号CK1である。クロックパルス信号CK
1は、本装置の基本クロックで、この信号を基準にして
他のパルス信号を形成し、すべての動作を制御するもの
である。
The signals output from the signal output terminals P1 to P7 of the signal output unit 8000 are shown in FIGS. The signal output from the first signal output terminal P1 is the clock pulse signal CK1. Clock pulse signal CK
Reference numeral 1 denotes a basic clock of the present apparatus, which forms another pulse signal based on this signal and controls all operations.

【0087】クロックパルス信号CK1は2値パルス信
号であり、ハイレベル信号を1としローレベル信号を0
として表すことにする。また、クロックパルス信号CK
1の1周期を単位時間とし、処理の流れを表し、クロッ
クパルス信号CK1の1クロック目の立ち上がりから2
クロック目の立ち上がりまでを期間c1とし、以後、期
間c2、c3、c4・・・とする。
The clock pulse signal CK1 is a binary pulse signal. The high level signal is set to 1 and the low level signal is set to 0.
Will be expressed as Also, the clock pulse signal CK
1 is defined as a unit time, and the flow of processing is represented by two cycles from the rising edge of the first clock of the clock pulse signal CK1.
The period up to the rise of the clock is referred to as a period c1, and thereafter, referred to as periods c2, c3, c4,.

【0088】第2信号出力端子P2から出力される信号
は、パルス信号CK2であり、クロックパルス信号CK
1と同じパルス幅および同じ周期をもち、クロックパル
ス信号CK1の1クロック目に同期して出力される。パ
ルス信号CK2は、ディストーション算出後のブロック
特定および動きベクトルを検出するための信号である。
The signal output from the second signal output terminal P2 is a pulse signal CK2, and the clock pulse signal CK
It has the same pulse width and the same cycle as 1 and is output in synchronization with the first clock of the clock pulse signal CK1. The pulse signal CK2 is a signal for detecting a block after calculating the distortion and detecting a motion vector.

【0089】第3信号出力端子P3から出力される信号
は、パルス信号SLである。パルス信号SLは、ディス
トーション算出手段3000の各素子間を転送する画素
データの転送方向を制御するための信号である。第4信
号出力端子P4から出力される信号は、パルス信号LD
1である。パルス信号LD1は、ディストーション算出
手段3000においてディストーション積算値の初期化
およびディストーションの転送タイミングを制御するた
めの信号である。
The signal output from the third signal output terminal P3 is a pulse signal SL. The pulse signal SL is a signal for controlling the transfer direction of the pixel data transferred between the elements of the distortion calculation unit 3000. The signal output from the fourth signal output terminal P4 is a pulse signal LD.
It is one. The pulse signal LD1 is a signal for controlling the initialization of the distortion integrated value and the transfer timing of the distortion in the distortion calculating means 3000.

【0090】第5信号出力端子P5から出力される信号
は、パルス信号LD2である。パルス信号LD2は、ブ
ロック特定処理の開始タイミングを制御するための信号
である。第6信号出力端子P6から出力される信号は、
パルス信号SJである。パルス信号SJは、動きベクト
ルの検出モードを切り換えるものである。
The signal output from the fifth signal output terminal P5 is a pulse signal LD2. The pulse signal LD2 is a signal for controlling the start timing of the block specifying process. The signal output from the sixth signal output terminal P6 is
This is a pulse signal SJ. The pulse signal SJ is for switching the motion vector detection mode.

【0091】図6〜図12に示す図は、各信号のタイミ
ングチャートであり、図6〜図8は、第1選択モードを
選択したときのタイミングチャートであり、図9〜図1
2は、第2選択モードを選択したときのタイミングチャ
ートである。ディストーション算出手段3000の詳細
構成を図13に示す。ディストーション算出手段300
0は、18個のプロセッサエレメントPE、28個のサ
イドレジスタSRおよび12個の入力レジスタIRを有
する。ここで、x=0〜3、y=−5〜11とし、左上
のプロセッサエレメントをPE(0,0)として、上述
の各プロセッサエレメントPEをPE(x,y)、各サ
イドレジスタSRをSR(x,y)、各入力レジスタI
RをIR(x,y)とする。
FIGS. 6 to 12 are timing charts of respective signals, and FIGS. 6 to 8 are timing charts when the first selection mode is selected.
FIG. 2 is a timing chart when the second selection mode is selected. FIG. 13 shows a detailed configuration of the distortion calculating means 3000. Distortion calculating means 300
0 has 18 processor elements PE, 28 side registers SR and 12 input registers IR. Here, x = 0 to 3, y = −5 to 11, the upper left processor element is PE (0,0), the above processor elements PE are PE (x, y), and each side register SR is SR (SR). (X, y), each input register I
Let R be IR (x, y).

【0092】図14は、各PE(x,y)、SR(x,
y)、IR(x,y)を簡略化して、示したものであ
る。ディストーション算出手段3000の入力レジスタ
IR(3,0)、IR(3,3)、IR(3,5)、I
R(3,8)は、参照画像データ出力ユニット2000
の出力端子に接続される。ディストーション算出手段3
000の各プロセッサエレメントPE(x,y)は、現
画像データ出力ユニット1000の出力端子に接続され
る。プロセッサエレメントPE(0,0)、PE(0,
1)、PE(0,2)、PE(0,5)、PE(0,
6)、PE(0,7)は、ブロック特定ユニット600
0の入力端子に接続される。
FIG. 14 shows each PE (x, y), SR (x,
y) and IR (x, y) are shown in a simplified manner. Input registers IR (3,0), IR (3,3), IR (3,5), I of distortion calculating means 3000
R (3,8) is the reference image data output unit 2000
Output terminal. Distortion calculating means 3
000 are connected to the output terminals of the current image data output unit 1000. Processor elements PE (0,0), PE (0,
1), PE (0,2), PE (0,5), PE (0,
6), PE (0,7) is the block specifying unit 600
0 input terminal.

【0093】また、プロセッサエレメントPE(0,
y)およびPE(2,y)を奇数列のプロセッサエレメ
ント、PE(1,y)を偶数列のプロセッサエレメン
ト、サイドレジスタSR(0,y)およびSR(2,
y)を奇数列のサイドレジスタ、SR(1,y)を偶数
列のサイドレジスタと呼ぶ。図15および図16は、プ
ロセッサエレメントの入出力端子を表したものであり、
図16(a)は、特に、PE(0,2)、PE(2,
2)の入出力端子を表したものであり、図16(b)
は、PE(1,5)の入出力端子を表したものである。
また、図15は、その他のプロセッサエレメントの入出
力端子を表し、図15(a)は、奇数列のプロセッサエ
レメントの入出力端子を表したものであり、図15
(b)は、偶数列のプロセッサエレメントの入出力端子
を表したものである。
The processor element PE (0,
y) and PE (2, y) are processor elements in odd columns, PE (1, y) are processor elements in even columns, and side registers SR (0, y) and SR (2,
y) is called an odd-numbered column side register, and SR (1, y) is called an even-numbered column side register. 15 and 16 show input / output terminals of the processor element.
FIG. 16A particularly shows PE (0, 2), PE (2,
FIG. 16B shows the input / output terminals of FIG.
Represents input / output terminals of PE (1,5).
FIG. 15 shows input / output terminals of other processor elements, and FIG. 15 (a) shows input / output terminals of odd-numbered processor elements.
(B) shows the input / output terminals of the processor elements in the even-numbered columns.

【0094】図15(a)に示すように、奇数列の各プ
ロセッサエレメントPE(x,y)は、入力端子X、Y
Li、DIi、DVi、DDi、DHi、HLi、HX
i、HUiおよびYUi、並びに、出力端子YUo、H
Uo、HXo、HLo、DHo、DDo、DVo、DI
oおよびYLoを有し、さらに信号出力ユニット800
0の各信号出力端子に接続された入力端子(図示省略)
を有している。また、図15(b)に示すように、偶数
列の各PE(x,y)は、入力端子X、YDi、YL
i、DIi、DVi、DDi、DHi、HLi、HXi
およびHUi、並びに、出力端子HUo、HXo、YD
o、HLo、DHo、DDo、DVo、DIoおよびY
Loを有し、さらに信号出力ユニット8000の各信号
出力端子に接続された入力端子(図示省略)を有してい
る。
As shown in FIG. 15A, each processor element PE (x, y) in an odd-numbered column has input terminals X, Y
Li, DIi, DVi, DDi, DHi, HLi, HX
i, HUi and YUi, and output terminals YUo and H
Uo, HXo, HLo, DHo, DDo, DVo, DI
o and YLo, and a signal output unit 800
Input terminal connected to each signal output terminal of 0 (not shown)
have. Further, as shown in FIG. 15B, each PE (x, y) in the even-numbered column has input terminals X, YDi, and YL.
i, DIi, DVi, DDi, DHi, HLi, HXi
And HUi, and output terminals HUo, HXo, YD
o, HLo, DHo, DDo, DVo, DIo and Y
It has an input terminal (not shown) connected to each signal output terminal of the signal output unit 8000.

【0095】図16(a)に示すプロセッサエレメント
PE(0,2)、PE(2,2)は、図15(a)に示
すPE(x,y)に入力端子YUJiを加えたものであ
り、図16(b)に示すPE(1,5)は、図15
(b)に示すPE(x,y)に入力端子YDJiを加え
たものである。プロセッサエレメントPE(0,2)、
PE(1,5)、PE(2,2)の詳細構成を、図18
に示し、その他のプロセッサエレメントの詳細構成を、
図17に示す。
Processor elements PE (0,2) and PE (2,2) shown in FIG. 16 (a) are obtained by adding input terminals YUJi to PE (x, y) shown in FIG. 15 (a). The PE (1, 5) shown in FIG.
The input terminal YDJi is added to PE (x, y) shown in FIG. Processor element PE (0, 2),
The detailed configuration of PE (1, 5) and PE (2, 2) is shown in FIG.
The detailed configuration of other processor elements is shown in
As shown in FIG.

【0096】図17に示すプロセッサエレメントは、セ
レクタ3110、フリップフロップ3120、減算器3
210、正数変換器3220、加算器3270、フリッ
プフロップ3240、セレクタ3310、フリップフロ
ップ3320、加算器3281、乗算器3291、正数
変換器3221、加算器3271、フリップフロップ3
241、セレクタ3311、フリップフロップ332
1、加算器3282、乗算器3292、正数変換器32
22、加算器3272、フリップフロップ3242、セ
レクタ3312、フリップフロップ3322、加算器3
283、乗算器3293、正数変換器3223、加算器
3273、フリップフロップ3243、セレクタ331
3およびフリップフロップ3323からなり、図18に
示すプロセッサエレメントは、図17に示すプロセッサ
エレメントにセレクタ3410を加えたものである。
The processor elements shown in FIG. 17 include a selector 3110, a flip-flop 3120, a subtractor 3
210, positive number converter 3220, adder 3270, flip-flop 3240, selector 3310, flip-flop 3320, adder 3281, multiplier 3291, positive number converter 3221, adder 3271, flip-flop 3
241, a selector 3311, a flip-flop 332
1, adder 3282, multiplier 3292, positive number converter 32
22, adder 3272, flip-flop 3242, selector 3312, flip-flop 3322, adder 3
283, multiplier 3293, positive number converter 3223, adder 3273, flip-flop 3243, selector 331
3 and a flip-flop 3323. The processor element shown in FIG. 18 is obtained by adding a selector 3410 to the processor element shown in FIG.

【0097】また、加算器3270、3271、327
2、3273の構成を図19に示す。加算器3270、
3271、3272、3273は、それぞれ加算器32
30、反転器3250および論理積演算器3260から
なる。以下に、それぞれの機能を示す。
Further, adders 3270, 3271, 327
2, 3273 is shown in FIG. Adder 3270,
3271, 3272, and 3273 are the adders 32 respectively.
30, an inverter 3250 and an AND operator 3260. The following shows each function.

【0098】セレクタ3110は、第1データ入力端子
A、第2データ入力端子B、信号入力端子Sおよびデー
タ出力端子Yを有し、信号入力端子Sに入力された信号
が0のとき第1データ入力端子Aに入力されているデー
タをデータ出力端子Yから出力し、信号入力端子Sに入
力された信号が1のとき第2データ入力端子Bに入力さ
れているデータをデータ出力端子Yから出力するもので
ある。
The selector 3110 has a first data input terminal A, a second data input terminal B, a signal input terminal S, and a data output terminal Y. When the signal input to the signal input terminal S is 0, the first data input terminal A The data input to the input terminal A is output from the data output terminal Y. When the signal input to the signal input terminal S is 1, the data input to the second data input terminal B is output from the data output terminal Y. Is what you do.

【0099】フリップフロップ3120は、Dフリップ
フロップからなり、データ入力端子A、信号入力端子S
およびデータ出力端子Yを有し、信号入力端子Sに入力
された信号のパルスに同期して、データ入力端子Aに入
力されているデータをデータ出力端子Yにラッチするも
のである。減算器3210は、第1データ入力端子A、
第2データ入力端子Bおよびデータ出力端子Yを有し、
第1データ入力端子Aに入力されたデータから第2デー
タ入力端子Bに入力されたデータを減算してデータ出力
端子Yから出力するものである。
The flip-flop 3120 is composed of a D flip-flop, and has a data input terminal A and a signal input terminal S.
And a data output terminal Y, and latches data input to the data input terminal A to the data output terminal Y in synchronization with a pulse of a signal input to the signal input terminal S. The subtractor 3210 has a first data input terminal A,
A second data input terminal B and a data output terminal Y,
The data input to the second data input terminal B is subtracted from the data input to the first data input terminal A and output from the data output terminal Y.

【0100】正数変換器3220は、データ入力端子お
よびデータ出力端子を有し、データ入力端子に入力され
たデータを絶対値演算または二乗演算により正数データ
に変換してデータ出力端子から出力するものである。加
算器3270は、第1データ入力端子A、第2データ入
力端子B、信号入力端子Sおよびデータ出力端子Yを有
し、信号入力端子Sに入力された信号が1のとき、第1
データ入力端子Aに入力されたデータをデータ出力端子
Yに出力し、信号入力端子Sに入力された信号が0のと
き、第1データ入力端子Aおよび第2データ入力端子B
に入力されたデータを加算してデータ出力端子Yに出力
するものである。
Positive number converter 3220 has a data input terminal and a data output terminal, converts data input to the data input terminal into positive number data by an absolute value operation or a square operation, and outputs the data from the data output terminal. Things. The adder 3270 has a first data input terminal A, a second data input terminal B, a signal input terminal S, and a data output terminal Y. When the signal input to the signal input terminal S is 1, the first
The data input to the data input terminal A is output to the data output terminal Y, and when the signal input to the signal input terminal S is 0, the first data input terminal A and the second data input terminal B
And outputs the result to the data output terminal Y.

【0101】加算器3270内の加算器3230は、第
1データ入力端子A、第2データ入力端子Bおよびデー
タ出力端子Yを有し、第1データ入力端子Aに入力され
たデータと第2データ入力端子Bに入力されたデータを
加算してデータ出力端子Yから出力するものである。加
算器3270内の反転器3250は、信号入力端子Sお
よび信号出力端子Yを有し、信号入力端子Sに入力され
た信号が0を表わす信号である場合には、信号出力端子
Yに1を表わす信号を出力し、信号入力端子Sに入力さ
れた信号が1を表わす信号である場合には、信号出力端
子Yに0を表わす信号を出力するものである。
An adder 3230 in the adder 3270 has a first data input terminal A, a second data input terminal B, and a data output terminal Y. The data input to the first data input terminal A and the second data The data input to the input terminal B is added and output from the data output terminal Y. The inverter 3250 in the adder 3270 has a signal input terminal S and a signal output terminal Y. When the signal input to the signal input terminal S is a signal representing 0, 1 is input to the signal output terminal Y. When the signal inputted to the signal input terminal S is a signal representing 1, a signal representing 0 is outputted to the signal output terminal Y.

【0102】加算器3270内の論理積演算器3260
は、信号入力端子A、データ入力端子Bおよびデータ出
力端子Yを有し、信号入力端子Aおよびデータ入力端子
Bに入力された信号およびデータが共に1を表わすとき
のみ1を表わすデータをデータ出力端子Yに出力し、ど
ちらか一方でも0を表わす信号またはデータが入力され
た場合には、0を表わすデータをデータ出力端子Yに出
力するものである。言い換えれば、信号入力端子Aに入
力された信号が0を表わす信号の場合には、データ出力
端子Yに0を表わすデータを出力し、信号入力端子Aに
入力された信号が1を表わす信号の場合には、データ出
力端子Yにデータ入力端子Bに入力されたデータを出力
するものである。
AND operation unit 3260 in adder 3270
Has a signal input terminal A, a data input terminal B and a data output terminal Y, and outputs data representing 1 only when both the signal and data inputted to signal input terminal A and data input terminal B represent 1. When a signal or data representing 0 is input to either of the terminals, data representing 0 is output to the data output terminal Y. In other words, when the signal input to signal input terminal A is a signal representing 0, data representing 0 is output to data output terminal Y, and the signal input to signal input terminal A is a signal representing 1 In this case, the data input to the data input terminal B is output to the data output terminal Y.

【0103】フリップフロップ3240は、Dフリップ
フロップからなり、データ入力端子A、信号入力端子S
およびデータ出力端子Yを有し、信号入力端子Sに入力
された信号のパルスに同期して、データ入力端子Aに入
力されているデータをデータ出力端子Yにラッチするも
のである。セレクタ3310は、第1データ入力端子
A、第2データ入力端子B、信号入力端子Sおよびデー
タ出力端子Yを有し、信号入力端子Sに入力された信号
が0のとき第1データ入力端子Aに入力されているデー
タをデータ出力端子Yから出力し、信号入力端子Sに入
力された信号が1のとき第2データ入力端子Bに入力さ
れているデータをデータ出力端子Yから出力するもので
ある。
The flip-flop 3240 is composed of a D flip-flop, and has a data input terminal A and a signal input terminal S.
And a data output terminal Y, and latches data input to the data input terminal A to the data output terminal Y in synchronization with a pulse of a signal input to the signal input terminal S. The selector 3310 has a first data input terminal A, a second data input terminal B, a signal input terminal S, and a data output terminal Y. When the signal input to the signal input terminal S is 0, the first data input terminal A Is output from the data output terminal Y, and when the signal input to the signal input terminal S is 1, the data input to the second data input terminal B is output from the data output terminal Y. is there.

【0104】フリップフロップ3320は、Dフリップ
フロップからなり、データ入力端子A、信号入力端子S
およびデータ出力端子Yを有し、信号入力端子Sに入力
された信号のパルスに同期して、データ入力端子Aに入
力されているデータをデータ出力端子Yにラッチするも
のである。加算器3281、3282、3283は、第
1データ入力端子A、第2データ入力端子Bおよびデー
タ出力端子Yを有し、第1データ入力端子Aに入力され
たデータと第2データ入力端子Bに入力されたデータを
加算してデータ出力端子Yから出力するものである。
The flip-flop 3320 comprises a D flip-flop, and has a data input terminal A and a signal input terminal S.
And a data output terminal Y, and latches data input to the data input terminal A to the data output terminal Y in synchronization with a pulse of a signal input to the signal input terminal S. Each of the adders 3281, 3282, and 3283 has a first data input terminal A, a second data input terminal B, and a data output terminal Y. The adders 3281, 3282, and 3283 provide data input to the first data input terminal A and second data input terminal B. The input data is added and output from the data output terminal Y.

【0105】乗算器3291、3292、3293は、
データ入力端子およびデータ出力端子を有し、データ入
力端子から入力されたデータに1/2を乗算して、デー
タ出力端子から出力するものである。正数変換器322
1、3222、3223は、データ入力端子およびデー
タ出力端子を有し、データ入力端子に入力されたデータ
を絶対値演算または二乗演算により正数データに変換し
てデータ出力端子から出力するものである。
The multipliers 3291, 3292, 3293 are
It has a data input terminal and a data output terminal, multiplies the data input from the data input terminal by 2, and outputs the result from the data output terminal. Positive number converter 322
1, 3,222, and 3223 have a data input terminal and a data output terminal, convert data input to the data input terminal into positive data by an absolute value operation or a square operation, and output the data from the data output terminal. .

【0106】加算器3271、3272、3273は、
第1データ入力端子A、第2データ入力端子B、信号入
力端子Sおよびデータ出力端子Yを有し、信号入力端子
Sに入力された信号が1のとき、第1データ入力端子A
に入力されたデータをデータ出力端子Yに出力し、信号
入力端子Sに入力された信号が0のとき、第1データ入
力端子Aおよび第2データ入力端子Bに入力されたデー
タを加算してデータ出力端子Yに出力するものである。
The adders 3271, 3272, 3273 are
It has a first data input terminal A, a second data input terminal B, a signal input terminal S, and a data output terminal Y. When the signal input to the signal input terminal S is 1, the first data input terminal A
Is output to the data output terminal Y, and when the signal input to the signal input terminal S is 0, the data input to the first data input terminal A and the data input to the second data input terminal B are added. The data is output to the data output terminal Y.

【0107】加算器3271、3272、3273内の
各機能については、加算器3270と同様である。フリ
ップフロップ3241、3242、3243は、Dフリ
ップフロップからなり、データ入力端子A、信号入力端
子Sおよびデータ出力端子Yを有し、信号入力端子Sに
入力された信号のパルスに同期して、データ入力端子A
に入力されているデータをデータ出力端子Yにラッチす
るものである。
The functions in adders 3271, 3272, and 3273 are the same as those in adder 3270. Each of the flip-flops 3241, 3242, and 3243 includes a D flip-flop, has a data input terminal A, a signal input terminal S, and a data output terminal Y, and outputs data in synchronization with a pulse of a signal input to the signal input terminal S. Input terminal A
Is latched at the data output terminal Y.

【0108】セレクタ3311、3312、3313
は、第1データ入力端子A、第2データ入力端子B、信
号入力端子Sおよびデータ出力端子Yを有し、信号入力
端子Sに入力された信号が0のとき第1データ入力端子
Aに入力されているデータをデータ出力端子Yから出力
し、信号入力端子Sに入力された信号が1のとき第2デ
ータ入力端子Bに入力されているデータをデータ出力端
子Yから出力するものである。
The selectors 3311, 3312, 3313
Has a first data input terminal A, a second data input terminal B, a signal input terminal S, and a data output terminal Y. When the signal input to the signal input terminal S is 0, the signal is input to the first data input terminal A. Is output from the data output terminal Y, and when the signal input to the signal input terminal S is 1, the data input to the second data input terminal B is output from the data output terminal Y.

【0109】フリップフロップ3321、3322、3
323は、Dフリップフロップからなり、データ入力端
子A、信号入力端子Sおよびデータ出力端子Yを有し、
信号入力端子Sに入力された信号のパルスに同期して、
データ入力端子Aに入力されているデータをデータ出力
端子Yにラッチするものである。セレクタ3410は、
第1データ入力端子A、第2データ入力端子B、信号入
力端子Sおよびデータ出力端子Yを有し、信号入力端子
Sに入力された信号が0のとき第1データ入力端子Aに
入力されているデータをデータ出力端子Yから出力し、
信号入力端子Sに入力された信号が1のとき第2データ
入力端子Bに入力されているデータをデータ出力端子Y
から出力するものである。
The flip-flops 3321, 3322, 3
323 is a D flip-flop, having a data input terminal A, a signal input terminal S, and a data output terminal Y;
In synchronization with the pulse of the signal input to the signal input terminal S,
The data input to the data input terminal A is latched at the data output terminal Y. The selector 3410 is
It has a first data input terminal A, a second data input terminal B, a signal input terminal S, and a data output terminal Y, and when the signal input to the signal input terminal S is 0, the signal is Output data from the data output terminal Y,
When the signal input to the signal input terminal S is 1, the data input to the second data input terminal B is output to the data output terminal Y
Output from.

【0110】次に、それぞれの接続を説明する。各プロ
セッサエレメントPE(x,y)のセレクタ3410の
第1データ入力端子Aは、奇数列のPE(x,y)で
は、サイドレジスタSR(x,y+1)のデータ出力端
子に入力端子YUiを介して電気的に接続され、偶数列
のPE(x,y)では、SR(x,y−1)のデータ出
力端子に入力端子YDiを介して電気的に接続され、セ
レクタ3410の第2データ入力端子Bは、奇数列のP
E(x,y)では、PE(x,y+3)のフリップフロ
ップ3120のデータ出力端子Yに入力端子YUJiを
介して電気的に接続され、偶数列のPE(x,y)で
は、PE(x,y−3)のフリップフロップ3120の
データ出力端子Yに入力端子YDJiを介して電気的に
接続されている。
Next, each connection will be described. The first data input terminal A of the selector 3410 of each processor element PE (x, y) is connected to the data output terminal of the side register SR (x, y + 1) via the input terminal YUi in the odd-numbered column PE (x, y). In the PE (x, y) of even-numbered columns, the data output terminal of SR (x, y-1) is electrically connected to the data output terminal of SR (x, y-1) via the input terminal YDi. Terminal B is connected to odd-numbered P
In E (x, y), the data output terminal Y of the flip-flop 3120 of PE (x, y + 3) is electrically connected via the input terminal YUJi, and in PE (x, y) of the even column, PE (x, y). , Y-3) are electrically connected to the data output terminal Y of the flip-flop 3120 via the input terminal YDJi.

【0111】また、セレクタ3410の信号入力端子S
は、信号出力ユニット8000の信号出力端子に電気的
に接続され、パルス信号SJが入力される。各PE
(x,y)のセレクタ3110の第1データ入力端子A
は、PE(0,2)、PE(1,5)およびPE(2,
2)では、セレクタ3410のデータ出力端子Yに電気
的に接続され、その他の各PE(x,y)は、奇数列の
PE(x,y)では、PE(x,y+1)のフリップフ
ロップ3120のデータ出力端子YまたはSR(x,y
+1)の出力端子に入力端子YUiを介して電気的に接
続され、偶数列のPE(x,y)では、PE(x,y−
1)のフリップフロップ3120のデータ出力端子Yま
たはSR(x,y−1)の出力端子に入力端子YDiを
介して電気的に接続されている。
The signal input terminal S of the selector 3410
Is electrically connected to the signal output terminal of the signal output unit 8000, and receives the pulse signal SJ. Each PE
First data input terminal A of (x, y) selector 3110
Are PE (0,2), PE (1,5) and PE (2,
In 2), the PE (x, y) is electrically connected to the data output terminal Y of the selector 3410, and the other PEs (x, y) are PE (x, y + 1) flip-flops 3120 for the odd-numbered rows of PE (x, y). Data output terminal Y or SR (x, y
+1) is electrically connected to the output terminal via the input terminal YUi, and the PE (x, y) in the even-numbered row is PE (x, y-).
The data output terminal Y of the flip-flop 3120 of 1) or the output terminal of SR (x, y-1) is electrically connected via the input terminal YDi.

【0112】セレクタ3110の第2データ入力端子B
は、PE(x+1,y)のフリップフロップ3120の
データ出力端子YまたはIR(x+1,y)の出力端子
に入力端子YLiを介して電気的に接続されている。ま
た、セレクタ3110の信号入力端子Sは、信号出力ユ
ニット8000の信号出力端子に電気的に接続され、パ
ルス信号SLが入力される。
Second data input terminal B of selector 3110
Is electrically connected to the data output terminal Y of the flip-flop 3120 of PE (x + 1, y) or the output terminal of IR (x + 1, y) via the input terminal YLi. The signal input terminal S of the selector 3110 is electrically connected to the signal output terminal of the signal output unit 8000, and receives the pulse signal SL.

【0113】各PE(x,y)のフリップフロップ31
20のデータ入力端子Aは、同じPE(x,y)のセレ
クタ3110のデータ出力端子Yに電気的に接続されて
いる。また、フリップフロップ3120の信号入力端子
Sは、信号出力ユニット8000の信号出力端子に電気
的に接続され、パルス信号CK1が入力される。各PE
(x,y)の減算器3210の第1データ入力端子A
は、同じPE(x,y)のフリップフロップ3120の
データ出力端子Yに電気的に接続され、減算器3210
の第2データ入力端子Bは、現画像データ出力ユニット
1000のデータ出力端子に電気的に接続されている。
The flip-flop 31 of each PE (x, y)
The 20 data input terminals A are electrically connected to the data output terminal Y of the selector 3110 of the same PE (x, y). The signal input terminal S of the flip-flop 3120 is electrically connected to the signal output terminal of the signal output unit 8000, and receives the pulse signal CK1. Each PE
First data input terminal A of (x, y) subtractor 3210
Is electrically connected to the data output terminal Y of the flip-flop 3120 of the same PE (x, y),
The second data input terminal B is electrically connected to the data output terminal of the current image data output unit 1000.

【0114】各PE(x,y)の正数変換器3220の
データ入力端子は、同じPE(x,y)の減算器321
0のデータ出力端子Yに電気的に接続されている。各P
E(x,y)の加算器3270の第1データ入力端子A
は、同じPE(x,y)の正数変換器3220のデータ
出力端子に電気的に接続され、加算器3270の第2デ
ータ入力端子Bは、同じPE(x,y)のフリップフロ
ップ3240のデータ出力端子Yに電気的に接続されて
いる。
The data input terminal of the positive number converter 3220 of each PE (x, y) is connected to the subtractor 321 of the same PE (x, y).
0 is electrically connected to the data output terminal Y. Each P
E (x, y) first data input terminal A of adder 3270
Is electrically connected to the data output terminal of the positive number converter 3220 of the same PE (x, y), and the second data input terminal B of the adder 3270 is connected to the flip-flop 3240 of the same PE (x, y). It is electrically connected to the data output terminal Y.

【0115】また、加算器3270の信号入力端子S
は、信号出力ユニット8000の信号出力端子に電気的
に接続され、パルス信号LD1が入力される。また、加
算器3270内の各接続について、以下に説明する。加
算器3230の第1データ入力端子Aは、加算器327
0の第1データ入力端子Aに電気的に接続され、加算器
3230の第2データ入力端子Bは、論理積演算器32
60のデータ出力端子Yに電気的に接続されている。
The signal input terminal S of the adder 3270
Is electrically connected to the signal output terminal of the signal output unit 8000, and receives the pulse signal LD1. Each connection in the adder 3270 will be described below. The first data input terminal A of the adder 3230 is connected to the adder 327
0 is electrically connected to the first data input terminal A, and the second data input terminal B of the adder 3230 is
60 are electrically connected to the data output terminal Y.

【0116】反転器3250の信号入力端子Sは、加算
器3270の信号入力端子Sに電気的に接続され、パル
ス信号LD1が入力される。論理積演算器3260の信
号入力端子Aは、反転器3250の信号出力端子Yに電
気的に接続され、論理積演算器3260のデータ入力端
子Bは、加算器3270の第2データ入力端子Bに電気
的に接続されている。
The signal input terminal S of the inverter 3250 is electrically connected to the signal input terminal S of the adder 3270, and receives the pulse signal LD1. The signal input terminal A of the AND operator 3260 is electrically connected to the signal output terminal Y of the inverter 3250, and the data input terminal B of the AND operator 3260 is connected to the second data input terminal B of the adder 3270. It is electrically connected.

【0117】各PE(x,y)のフリップフロップ32
40のデータ入力端子Aは、加算器3270のデータ出
力端子Yに電気的に接続されている。また、フリップフ
ロップ3240の信号入力端子Sは、信号出力ユニット
8000の信号入力端子に電気的に接続され、パルス信
号CK1が入力される。各PE(x,y)のセレクタ3
310の第1データ入力端子Aは、別のPE(x+1,
y)のフリップフロップ3320のデータ出力端子Yに
入力端子DIiを介して電気的に接続され、セレクタ3
310の第2データ入力端子Bは、同じPE(x,y)
のフリップフロップ3240のデータ出力端子Yに電気
的に接続されている。
The flip-flop 32 of each PE (x, y)
The 40 data input terminal A is electrically connected to the data output terminal Y of the adder 3270. Further, the signal input terminal S of the flip-flop 3240 is electrically connected to the signal input terminal of the signal output unit 8000, and receives the pulse signal CK1. Selector 3 of each PE (x, y)
The first data input terminal A of the other 310 is connected to another PE (x + 1,
y) is electrically connected to the data output terminal Y of the flip-flop 3320 via the input terminal DIi, and the selector 3
310 has the same PE (x, y)
Are electrically connected to the data output terminal Y of the flip-flop 3240 of the.

【0118】また、セレクタ3310の信号入力端子S
は、信号出力ユニット8000の信号出力端子に電気的
に接続され、パルス信号LD1が入力される。各PE
(x,y)のフリップフロップ3320のデータ入力端
子Aは、同じPE(x,y)のセレクタ3310のデー
タ出力端子Yに電気的に接続されている。また、フリッ
プフロップ3320の信号入力端子Sは、信号出力ユニ
ット8000の信号出力端子に電気的に接続され、パル
ス信号CK2が入力される。
The signal input terminal S of the selector 3310
Is electrically connected to the signal output terminal of the signal output unit 8000, and receives the pulse signal LD1. Each PE
The data input terminal A of the (x, y) flip-flop 3320 is electrically connected to the data output terminal Y of the selector 3310 of the same PE (x, y). The signal input terminal S of the flip-flop 3320 is electrically connected to the signal output terminal of the signal output unit 8000, and receives the pulse signal CK2.

【0119】各PE(x,y)の加算器3281の第1
データ入力端子Aは、同じPE(x,y)の減算器32
10のデータ出力端子Yに電気的に接続され、加算器3
281の第2データ入力端子Bは、PE(x,y+1)
の減算器3210のデータ出力端子Yに入力端子HUi
を介して電気的に接続されている。各PE(x,y)の
乗算器3291のデータ入力端子は、同じPE(x,
y)の加算器3281のデータ出力端子Yに電気的に接
続されている。
The first of the adders 3281 of each PE (x, y)
The data input terminal A is connected to a subtractor 32 of the same PE (x, y).
10 is electrically connected to the data output terminal Y of the
281, the second data input terminal B is PE (x, y + 1)
Input terminal HUi to the data output terminal Y of the subtractor 3210
Are electrically connected via The data input terminal of the multiplier 3291 of each PE (x, y) is connected to the same PE (x, y).
y) is electrically connected to the data output terminal Y of the adder 3281.

【0120】各PE(x,y)の正数変換器3221の
データ入力端子は、同じPE(x,y)の乗算器329
1のデータ出力端子に電気的に接続されている。各PE
(x,y)の加算器3271の第1データ入力端子A
は、同じPE(x,y)の正数変換器3221のデータ
出力端子に電気的に接続され、加算器3271の第2デ
ータ入力端子Bは、同じPE(x,y)のフリップフロ
ップ3241の信号出力端子Yに電気的に接続されてい
る。
A data input terminal of the positive number converter 3221 of each PE (x, y) is connected to a multiplier 329 of the same PE (x, y).
1 data output terminal. Each PE
First data input terminal A of (x, y) adder 3271
Is electrically connected to the data output terminal of the positive number converter 3221 of the same PE (x, y), and the second data input terminal B of the adder 3271 is connected to the flip-flop 3241 of the same PE (x, y). It is electrically connected to the signal output terminal Y.

【0121】また、加算器3271の信号入力端子S
は、信号出力ユニット8000の信号出力端子に電気的
に接続され、パルス信号LD1が入力される。加算器3
271、3272、7233内の各接続についても、加
算器3270内の接続と同様である。各PE(x,y)
のフリップフロップ3241のデータ入力端子Aは、加
算器3271のデータ出力端子Yに電気的に接続されて
いる。また、フリップフロップ3241の信号入力端子
Sは、信号出力ユニット8000の信号入力端子に電気
的に接続され、パルス信号CK1が入力される。
The signal input terminal S of the adder 3271
Is electrically connected to the signal output terminal of the signal output unit 8000, and receives the pulse signal LD1. Adder 3
The connections in 271, 3272 and 7233 are the same as the connections in adder 3270. Each PE (x, y)
The data input terminal A of the flip-flop 3241 is electrically connected to the data output terminal Y of the adder 3271. The signal input terminal S of the flip-flop 3241 is electrically connected to the signal input terminal of the signal output unit 8000, and receives the pulse signal CK1.

【0122】各PE(x,y)のセレクタ3311の第
1データ入力端子Aは、別のPE(x+1,y)のフリ
ップフロップ3321のデータ出力端子Yに入力端子D
Viを介して電気的に接続され、セレクタ3311の第
2データ入力端子Bは、同じPE(x,y)のフリップ
フロップ3241のデータ出力端子Yに電気的に接続さ
れている。
The first data input terminal A of the selector 3311 of each PE (x, y) is connected to the data output terminal Y of the flip-flop 3321 of another PE (x + 1, y).
The second data input terminal B of the selector 3311 is electrically connected to the data output terminal Y of the flip-flop 3241 of the same PE (x, y).

【0123】また、セレクタ3311の信号入力端子S
は、信号出力ユニット8000の信号出力端子に電気的
に接続され、パルス信号LD1が入力される。各PE
(x,y)のフリップフロップ3321のデータ入力端
子Aは、同じPE(x,y)のセレクタ3311のデー
タ出力端子Yに電気的に接続されている。また、フリッ
プフロップ3321の信号入力端子Sは、信号出力ユニ
ット8000の信号出力端子に電気的に接続され、パル
ス信号CK2が入力される。
The signal input terminal S of the selector 3311
Is electrically connected to the signal output terminal of the signal output unit 8000, and receives the pulse signal LD1. Each PE
The data input terminal A of the (x, y) flip-flop 3321 is electrically connected to the data output terminal Y of the selector 3311 of the same PE (x, y). The signal input terminal S of the flip-flop 3321 is electrically connected to the signal output terminal of the signal output unit 8000, and receives the pulse signal CK2.

【0124】各PE(x,y)の加算器3282の第1
データ入力端子Aは、同じPE(x,y)の減算器32
10のデータ出力端子Yに電気的に接続され、加算器3
282の第2データ入力端子Bは、PE(x+1,y)
の減算器3210のデータ出力端子Yに入力端子HLi
を介して電気的に接続されている。各PE(x,y)の
乗算器3292のデータ入力端子は、同じPE(x,
y)の加算器3282のデータ出力端子Yに電気的に接
続されている。
The first of the adders 3282 of each PE (x, y)
The data input terminal A is connected to a subtractor 32 of the same PE (x, y).
10 is electrically connected to the data output terminal Y of the
282, the second data input terminal B is PE (x + 1, y)
Input terminal HLi to the data output terminal Y of the subtractor 3210
Are electrically connected via The data input terminal of the multiplier 3292 of each PE (x, y) is connected to the same PE (x, y).
y) is electrically connected to the data output terminal Y of the adder 3282.

【0125】各PE(x,y)の正数変換器3222の
データ入力端子は、同じPE(x,y)の乗算器329
2のデータ出力端子に電気的に接続されている。各PE
(x,y)の加算器3272の第1データ入力端子A
は、同じPE(x,y)の正数変換器3222のデータ
出力端子に電気的に接続され、加算器3272の第2デ
ータ入力端子Bは、同じPE(x,y)のフリップフロ
ップ3242の信号出力端子Yに電気的に接続されてい
る。
A data input terminal of the positive number converter 3222 of each PE (x, y) is connected to a multiplier 329 of the same PE (x, y).
2 data output terminals. Each PE
The first data input terminal A of the (x, y) adder 3272
Is electrically connected to the data output terminal of the positive number converter 3222 of the same PE (x, y), and the second data input terminal B of the adder 3272 is connected to the flip-flop 3242 of the same PE (x, y). It is electrically connected to the signal output terminal Y.

【0126】また、加算器3272の信号入力端子S
は、信号出力ユニット8000の信号出力端子に電気的
に接続され、パルス信号LD1が入力される。各PE
(x,y)のフリップフロップ3242のデータ入力端
子Aは、加算器3272のデータ出力端子Yに電気的に
接続されている。また、フリップフロップ3242の信
号入力端子Sは、信号出力ユニット8000の信号入力
端子に電気的に接続され、パルス信号CK1が入力され
る。
The signal input terminal S of the adder 3272
Is electrically connected to the signal output terminal of the signal output unit 8000, and receives the pulse signal LD1. Each PE
The data input terminal A of the (x, y) flip-flop 3242 is electrically connected to the data output terminal Y of the adder 3272. The signal input terminal S of the flip-flop 3242 is electrically connected to the signal input terminal of the signal output unit 8000, and receives the pulse signal CK1.

【0127】各PE(x,y)のセレクタ3312の第
1データ入力端子Aは、別のPE(x+1,y)のフリ
ップフロップ3322のデータ出力端子Yに入力端子D
Hiを介して電気的に接続され、セレクタ3312の第
2データ入力端子Bは、同じPE(x,y)のフリップ
フロップ3242のデータ出力端子Yに電気的に接続さ
れている。
The first data input terminal A of the selector 3312 of each PE (x, y) is connected to the data output terminal Y of the flip-flop 3322 of another PE (x + 1, y).
The second data input terminal B of the selector 3312 is electrically connected to the data output terminal Y of the flip-flop 3242 of the same PE (x, y).

【0128】また、セレクタ3312の信号入力端子S
は、信号出力ユニット8000の信号出力端子に電気的
に接続され、パルス信号LD1が入力される。各PE
(x,y)のフリップフロップ3322のデータ入力端
子Aは、同じPE(x,y)のセレクタ3312のデー
タ出力端子Yに電気的に接続されている。また、フリッ
プフロップ3322の信号入力端子Sは、信号出力ユニ
ット8000の信号出力端子に電気的に接続され、パル
ス信号CK2が入力される。
Also, the signal input terminal S of the selector 3312
Is electrically connected to the signal output terminal of the signal output unit 8000, and receives the pulse signal LD1. Each PE
The data input terminal A of the (x, y) flip-flop 3322 is electrically connected to the data output terminal Y of the selector 3312 of the same PE (x, y). The signal input terminal S of the flip-flop 3322 is electrically connected to the signal output terminal of the signal output unit 8000, and receives the pulse signal CK2.

【0129】各PE(x,y)の加算器3283の第1
データ入力端子Aは、別のPE(x,y+1)の乗算器
3292のデータ出力端子に入力端子HXiを介して電
気的に接続され、加算器3283の第2データ入力端子
Bは、同じPE(x,y)の乗算器3292のデータ出
力端子に電気的に接続されている。各PE(x,y)の
乗算器3293のデータ入力端子は、同じPE(x,
y)の加算器3283のデータ出力端子Yに電気的に接
続されている。
The first of the adders 3283 of each PE (x, y)
The data input terminal A is electrically connected to the data output terminal of the multiplier 3292 of another PE (x, y + 1) via the input terminal HXi, and the second data input terminal B of the adder 3283 is connected to the same PE ( x, y) is electrically connected to the data output terminal of the multiplier 3292. The data input terminal of the multiplier 3293 of each PE (x, y) is connected to the same PE (x, y).
y) is electrically connected to the data output terminal Y of the adder 3283.

【0130】各PE(x,y)の正数変換器3223の
データ入力端子は、同じPE(x,y)の乗算器329
3のデータ出力端子に電気的に接続されている。各PE
(x,y)の加算器3273の第1データ入力端子A
は、同じPE(x,y)の正数変換器3223のデータ
出力端子に電気的に接続され、加算器3273の第2デ
ータ入力端子Bは、同じPE(x,y)のフリップフロ
ップ3243の信号出力端子Yに電気的に接続されてい
る。
The data input terminal of the positive number converter 3223 of each PE (x, y) is connected to the multiplier 329 of the same PE (x, y).
3 is electrically connected to the data output terminal. Each PE
First data input terminal A of (x, y) adder 3273
Is electrically connected to the data output terminal of the positive number converter 3223 of the same PE (x, y), and the second data input terminal B of the adder 3273 is connected to the flip-flop 3243 of the same PE (x, y). It is electrically connected to the signal output terminal Y.

【0131】また、加算器3273の信号入力端子S
は、信号出力ユニット8000の信号出力端子に電気的
に接続され、パルス信号LD1が入力される。各PE
(x,y)のフリップフロップ3243のデータ入力端
子Aは、加算器3273のデータ出力端子Yに電気的に
接続されている。また、フリップフロップ3243の信
号入力端子Sは、信号出力ユニット8000の信号入力
端子に電気的に接続され、パルス信号CK1が入力され
る。
The signal input terminal S of the adder 3273
Is electrically connected to the signal output terminal of the signal output unit 8000, and receives the pulse signal LD1. Each PE
The data input terminal A of the (x, y) flip-flop 3243 is electrically connected to the data output terminal Y of the adder 3273. The signal input terminal S of the flip-flop 3243 is electrically connected to the signal input terminal of the signal output unit 8000, and receives the pulse signal CK1.

【0132】各PE(x,y)のセレクタ3313の第
1データ入力端子Aは、別のPE(x+1,y)のフリ
ップフロップ3323のデータ出力端子Yに入力端子D
Diを介して電気的に接続され、セレクタ3313の第
2データ入力端子Bは、同じPE(x,y)のフリップ
フロップ3243のデータ出力端子Yに電気的に接続さ
れている。
The first data input terminal A of the selector 3313 of each PE (x, y) is connected to the data output terminal Y of the flip-flop 3323 of another PE (x + 1, y).
The second data input terminal B of the selector 3313 is electrically connected to the data output terminal Y of the flip-flop 3243 of the same PE (x, y).

【0133】また、セレクタ3313の信号入力端子S
は、信号出力ユニット8000の信号出力端子に電気的
に接続され、パルス信号LD1が入力される。各PE
(x,y)のフリップフロップ3323のデータ入力端
子Aは、同じPE(x,y)のセレクタ3313のデー
タ出力端子Yに電気的に接続されている。また、フリッ
プフロップ3323の信号入力端子Sは、信号出力ユニ
ット8000の信号出力端子に電気的に接続され、パル
ス信号CK2が入力される。
The signal input terminal S of the selector 3313
Is electrically connected to the signal output terminal of the signal output unit 8000, and receives the pulse signal LD1. Each PE
The data input terminal A of the (x, y) flip-flop 3323 is electrically connected to the data output terminal Y of the selector 3313 of the same PE (x, y). The signal input terminal S of the flip-flop 3323 is electrically connected to the signal output terminal of the signal output unit 8000, and receives the pulse signal CK2.

【0134】図20に各サイドレジスタSR(x,y)
の入出力端子および詳細構成を示す。図20に示すサイ
ドレジスタSR(x,y)は、奇数列のSR(x,y)
では、データ入力端子YLi、YUiおよびデータ出力
端子YUo、YLoを有し、偶数列のSR(x,y)で
は、データ入力端子YDi、YLiおよびデータ出力端
子YDo、YLoを有し、各SR(x,y)は、セレク
タ4210およびフリップフロップ4220からなる。
FIG. 20 shows each side register SR (x, y).
2 shows input / output terminals and a detailed configuration. The side register SR (x, y) shown in FIG.
Has data input terminals YLi, YUi and data output terminals YUo, YLo, and even-numbered columns SR (x, y) have data input terminals YDi, YLi and data output terminals YDo, YLo, and each SR ( (x, y) includes a selector 4210 and a flip-flop 4220.

【0135】セレクタ4210は、第1データ入力端子
A、第2データ入力端子B、信号入力端子Sおよびデー
タ出力端子Yを有し、信号入力端子Sに入力された信号
が0のとき第1データ入力端子Aに入力されているデー
タをデータ出力端子Yから出力し、信号入力端子Sに入
力された信号が1のとき第2データ入力端子Bに入力さ
れているデータをデータ出力端子Yから出力するもので
ある。
The selector 4210 has a first data input terminal A, a second data input terminal B, a signal input terminal S, and a data output terminal Y. When the signal input to the signal input terminal S is 0, the first data input terminal A The data input to the input terminal A is output from the data output terminal Y, and when the signal input to the signal input terminal S is 1, the data input to the second data input terminal B is output from the data output terminal Y. Is what you do.

【0136】フリップフロップ4220は、Dフリップ
フロップからなり、データ入力端子A、信号入力端子S
およびデータ出力端子Yを有し、信号入力端子Sに入力
された信号のパルスに同期して、データ入力端子Aに入
力されているデータをデータ出力端子Yにラッチするも
のである。各サイドレジスタSR(x,y)のセレクタ
4210の第1データ入力端子Aは、奇数列のSR
(x,y)では、別のSR(x,y+1)のフリップフ
ロップ4220のデータ出力端子Yまたは別のPE
(x,y+1)のフリップフロップ3120のデータ出
力端子Yに、入力端子YUiを介して電気的に接続さ
れ、偶数列のSR(x,y)では、別のSR(x,y−
1)のフリップフロップ4220のデータ出力端子Yま
たは別のPE(x,y−1)のフリップフロップ312
0のデータ出力端子Yに、入力端子YDiを介して電気
的に接続されている。
The flip-flop 4220 comprises a D flip-flop, and has a data input terminal A and a signal input terminal S.
And a data output terminal Y, and latches data input to the data input terminal A to the data output terminal Y in synchronization with a pulse of a signal input to the signal input terminal S. The first data input terminal A of the selector 4210 of each side register SR (x, y) is
At (x, y), the data output terminal Y of another flip-flop 4220 of another SR (x, y + 1) or another PE
It is electrically connected to the data output terminal Y of the (x, y + 1) flip-flop 3120 via the input terminal YUi.
The data output terminal Y of the flip-flop 4220 of 1) or the flip-flop 312 of another PE (x, y-1)
0 is electrically connected to the data output terminal Y via the input terminal YDi.

【0137】セレクタ4210の第2データ入力端子B
は、第1、第2列のSR(x,y)では、別のSR(x
+1,y)のフリップフロップ4220のデータ出力端
子Yに、第3列のSR(x,y)では、IR(x+1,
y)の出力端子Yに、入力端子YLiを介して電気的に
接続されている。また、セレクタ4210の信号入力端
子Sは、信号出力ユニット8000の信号出力端子に電
気的に接続され、パルス信号SLが入力される。
Second data input terminal B of selector 4210
Is different from SR (x, y) in the first and second columns by another SR (x, y).
+1, y) to the data output terminal Y of the flip-flop 4220, IR (x + 1,
The output terminal Y of y) is electrically connected via the input terminal YLi. The signal input terminal S of the selector 4210 is electrically connected to the signal output terminal of the signal output unit 8000, and receives the pulse signal SL.

【0138】各SR(x,y)のフリップフロップ42
20のデータ入力端子Aは、同じSR(x,y)のセレ
クタ4210のデータ出力端子Yに電気的に接続されて
いる。また、フリップフロップ4220の信号入力端子
Sは、信号出力ユニット8000の信号出力端子に電気
的に接続され、パルス信号CK1が入力される。図21
に各入力レジスタIR(x,y)の入出力端子および詳
細構成を示す。
The flip-flop 42 of each SR (x, y)
The 20 data input terminals A are electrically connected to the data output terminal Y of the selector 4210 of the same SR (x, y). The signal input terminal S of the flip-flop 4220 is electrically connected to the signal output terminal of the signal output unit 8000, and receives the pulse signal CK1. FIG.
The input / output terminals and the detailed configuration of each input register IR (x, y) are shown in FIG.

【0139】図21に示す入力レジスタIR(x,y)
は、入力端子YDiおよび出力端子YDo、YLoを有
し、各IR(x,y)は、フリップフロップ4120か
らなる。フリップフロップ4120は、Dフリップフロ
ップからなり、データ入力端子A、信号入力端子Sおよ
びデータ出力端子Yを有し、信号入力端子Sに入力され
た信号のパルスに同期して、データ入力端子Aに入力さ
れているデータをデータ出力端子Yにラッチするもので
ある。
Input register IR (x, y) shown in FIG.
Has an input terminal YDi and output terminals YDo and YLo, and each IR (x, y) is composed of a flip-flop 4120. The flip-flop 4120 is composed of a D flip-flop, has a data input terminal A, a signal input terminal S, and a data output terminal Y, and is connected to the data input terminal A in synchronization with a pulse of a signal input to the signal input terminal S. The input data is latched at the data output terminal Y.

【0140】各入力レジスタIR(x,y)のフリップ
フロップ4120のデータ入力端子Aは、別の入力レジ
スタIR(x,y−1)のフリップフロップ4120の
データ出力端子Yに電気的に接続され、IR(3,
0)、IR(3,3)、IR(3,5)およびIR
(3,8)のフリップフロップ4120のデータ入力端
子Aは、参照画像データ出力ユニット2000の出力端
子に電気的に接続されている。
Data input terminal A of flip-flop 4120 of each input register IR (x, y) is electrically connected to data output terminal Y of flip-flop 4120 of another input register IR (x, y-1). , IR (3,
0), IR (3,3), IR (3,5) and IR
The data input terminal A of the (3, 8) flip-flop 4120 is electrically connected to the output terminal of the reference image data output unit 2000.

【0141】また、フリップフロップ4120の信号入
力端子Sは、信号出力ユニット8000の信号出力端子
に電気的に接続され、パルス信号CK1が入力される。
図22に入力レジスタIR(3,5)の入出力端子およ
び詳細構成を示す。図22に示す入力レジスタIR
(3,5)は、上記IR(x,y)の入出力端子に加
え、入力端子YDJiを有し、セレクタ4110を追加
したものである。
The signal input terminal S of the flip-flop 4120 is electrically connected to the signal output terminal of the signal output unit 8000, and receives the pulse signal CK1.
FIG. 22 shows the input / output terminals and the detailed configuration of the input register IR (3,5). Input register IR shown in FIG.
(3, 5) has an input terminal YDJi in addition to the input / output terminal of the IR (x, y), and has a selector 4110 added.

【0142】セレクタ4110は、第1データ入力端子
A、第2データ入力端子B、信号入力端子Sおよびデー
タ出力端子Yを有し、信号入力端子Sに入力された信号
が0のとき第1データ入力端子Aに入力されているデー
タをデータ出力端子Yから出力し、信号入力端子Sに入
力された信号が1のとき第2データ入力端子Bに入力さ
れているデータをデータ出力端子Yから出力するもので
ある。
The selector 4110 has a first data input terminal A, a second data input terminal B, a signal input terminal S, and a data output terminal Y. When the signal input to the signal input terminal S is 0, the first data input terminal A The data input to the input terminal A is output from the data output terminal Y, and when the signal input to the signal input terminal S is 1, the data input to the second data input terminal B is output from the data output terminal Y. Is what you do.

【0143】入力レジスタIR(3,5)のセレクタ4
110の第1データ入力端子Aは、参照画像データ出力
ユニット2000の出力端子に、入力端子YDiを介し
て電気的に接続され、セレクタ4110の第2データ入
力端子Bは、IR(3,2)のフリップフロップ412
0のデータ出力端子Yに、入力端子YDJiを介して電
気的に接続されている。
Selector 4 of input register IR (3,5)
The first data input terminal A of 110 is electrically connected to the output terminal of the reference image data output unit 2000 via the input terminal YDi, and the second data input terminal B of the selector 4110 is connected to IR (3,2). Flip-flop 412
0 is electrically connected to the data output terminal Y via the input terminal YDJi.

【0144】また、セレクタ4110の信号入力端子S
は、信号出力ユニット8000の信号出力端子に電気的
に接続され、パルス信号SJが入力される。入力レジス
タIR(3,5)のフリップフロップ4120について
は、上記入力レジスタIR(x,y)のフリップフロッ
プ4120と同様であり、データ入力端子Aは、同じ入
力レジスタIR(x,y)のセレクタ4110のデータ
出力端子Yに電気的に接続されている。
Also, the signal input terminal S of the selector 4110
Is electrically connected to the signal output terminal of the signal output unit 8000, and receives the pulse signal SJ. The flip-flop 4120 of the input register IR (3,5) is the same as the flip-flop 4120 of the input register IR (x, y), and the data input terminal A is connected to the selector of the same input register IR (x, y). 4110 is electrically connected to the data output terminal Y.

【0145】次に、デュアルプライム予測探索時に使用
するブロック特定ユニット6000の詳細なブロック構
成の一例を図23に示す。前述のように、ブロック特定
ユニット6000は、加算ユニット6100およびディ
ストーション特定ユニット6200を有する。加算ユニ
ット6100は、第1保持ユニット6101、第2保持
ユニット6102および加算器6150を有する。第1
保持ユニット6101は、セレクタ6110およびレジ
スタ6130を有し、第2保持ユニット6102は、セ
レクタ6120およびレジスタ6140を有する。
Next, FIG. 23 shows an example of a detailed block configuration of the block specifying unit 6000 used in the dual prime prediction search. As described above, the block specifying unit 6000 includes the adding unit 6100 and the distortion specifying unit 6200. The addition unit 6100 includes a first holding unit 6101, a second holding unit 6102, and an adder 6150. First
The holding unit 6101 has a selector 6110 and a register 6130, and the second holding unit 6102 has a selector 6120 and a register 6140.

【0146】ディストーション特定ユニット6200
は、セレクタ6210、比較器6220、セレクタ62
30、フリップフロップ6240、論理和演算器625
0、セレクタ6260、セレクタ6270、フリップフ
ロップ6280およびフリップフロップ6290を有す
る。加算ユニット6100のセレクタ6110は、デー
タ入力端子D1〜D10、信号入力端子M、Sおよびデ
ータ出力端子R1〜R9を有し、信号入力端子Mに入力
された信号に基づいて、信号入力端子Sに入力された信
号のタイミングで、データ入力端子D1〜D10に入力
されているデータをデータ出力端子R1〜R9から出力
するものである。
The distortion specifying unit 6200
Are the selector 6210, the comparator 6220, the selector 62
30, a flip-flop 6240, a logical sum operator 625
0, a selector 6260, a selector 6270, a flip-flop 6280, and a flip-flop 6290. The selector 6110 of the addition unit 6100 has data input terminals D1 to D10, signal input terminals M and S, and data output terminals R1 to R9. Based on the signal input to the signal input terminal M, the selector 6110 The data input to the data input terminals D1 to D10 is output from the data output terminals R1 to R9 at the timing of the input signal.

【0147】セレクタ6120は、データ入力端子D1
〜D10、信号入力端子M、Sおよびデータ出力端子R
1〜R9を有し、信号入力端子Mに入力された信号に基
づいて、信号入力端子Sに入力された信号のタイミング
で、データ入力端子D1〜D10に入力されているデー
タをデータ出力端子R1〜R9から出力するものであ
る。
The selector 6120 is connected to the data input terminal D1
To D10, signal input terminals M and S and data output terminal R
1 to R9, and based on the signal input to the signal input terminal M, at the timing of the signal input to the signal input terminal S, converts the data input to the data input terminals D1 to D10 to the data output terminal R1. To R9.

【0148】レジスタ6130は、データ入力端子、信
号入力端子S、データ出力端子およびRE1〜RE9を
有し、各RE1〜RE9は、データ入力端子およびデー
タ出力端子を有する。各RE1〜RE9は、信号入力端
子Sに入力された信号のパルスに同期して、データ入力
端子に入力されているデータをデータ出力端子から出力
するものである。
The register 6130 has a data input terminal, a signal input terminal S, a data output terminal, and RE1 to RE9. Each of the RE1 to RE9 has a data input terminal and a data output terminal. Each of RE1 to RE9 outputs data input to the data input terminal from the data output terminal in synchronization with a pulse of a signal input to the signal input terminal S.

【0149】レジスタ6140は、データ入力端子、信
号入力端子S、データ出力端子およびRE1〜RE9を
有し、各RE1〜RE9は、データ入力端子およびデー
タ出力端子を有する。各RE1〜RE9は、信号入力端
子Sに入力された信号のパルスに同期して、データ入力
端子に入力されているデータをデータ出力端子から出力
するものである。
The register 6140 has a data input terminal, a signal input terminal S, a data output terminal, and RE1 to RE9. Each of the RE1 to RE9 has a data input terminal and a data output terminal. Each of RE1 to RE9 outputs data input to the data input terminal from the data output terminal in synchronization with a pulse of a signal input to the signal input terminal S.

【0150】セレクタ6110とセレクタ6120、レ
ジスタ6130とレジスタ6140および保持ユニット
6101と保持ユニット6102は、それぞれ同様のも
であるが、図面ではスペースの都合上、セレクタ612
0、レジスタ6140および保持ユニット6102が小
さく書かれている。加算器6150は、データ入力端
子、データ出力端子およびADD1〜ADD9を有し、
各ADD1〜ADD9は、二つのデータ入力端子および
データ出力端子を有する。各ADD1〜ADD9は、デ
ータ入力端子にそれぞれ入力されたデータを加算して、
データ出力端子から出力するものである。
The selector 6110 and the selector 6120, the register 6130 and the register 6140, and the holding unit 6101 and the holding unit 6102 are the same, respectively.
0, the register 6140 and the holding unit 6102 are written small. The adder 6150 has a data input terminal, a data output terminal, and ADD1 to ADD9,
Each of ADD1 to ADD9 has two data input terminals and data output terminals. Each of ADD1 to ADD9 adds the data respectively input to the data input terminals,
It is output from the data output terminal.

【0151】ディストーション特定ユニット6200の
セレクタ6210は、データ入力端子A1〜A9、信号
入力端子Sおよびデータ出力端子Y、M1、M2を有
し、信号入力端子Sに入力された信号のパルスに同期し
て、データ入力端子A1〜A9に入力されたデータを一
つずつ順番にデータ出力端子Yから出力し、出力したデ
ータの入力されたデータ入力端子に応じたデータをデー
タ出力端子M1、M2から出力するものである。
The selector 6210 of the distortion specifying unit 6200 has data input terminals A1 to A9, a signal input terminal S, and data output terminals Y, M1, and M2, and synchronizes with a pulse of a signal input to the signal input terminal S. The data input to the data input terminals A1 to A9 are sequentially output one by one from the data output terminal Y, and data corresponding to the input data input terminal of the output data is output from the data output terminals M1 and M2. Is what you do.

【0152】比較器6220は、第1データ入力端子
A、第2データ入力端子Bおよび信号出力端子Yを有
し、データ入力端子Aに入力されたデータがデータ入力
端子Bに入力されたデータ以上の大きさであるとき、0
を表わす信号を信号出力端子Yから出力し、データ入力
端子Aに入力されたデータがデータ入力端子Bに入力さ
れたデータより小さいとき、1を表わす信号を信号出力
端子Yから出力するものである。
The comparator 6220 has a first data input terminal A, a second data input terminal B, and a signal output terminal Y, and the data input to the data input terminal A is equal to or larger than the data input to the data input terminal B. When the size is
Is output from the signal output terminal Y, and when the data input to the data input terminal A is smaller than the data input to the data input terminal B, a signal indicating 1 is output from the signal output terminal Y. .

【0153】セレクタ6230は、第1データ入力端子
A、第2データ入力端子B、信号入力端子Sおよびデー
タ出力端子Yを有し、信号入力端子Sに入力された信号
が0を表わす信号のとき、データ入力端子Bに入力され
ているデータをデータ出力端子Yから出力し、信号入力
端子Sに入力された信号が1を表わす信号のとき、デー
タ入力端子Aに入力されているデータをデータ出力端子
Yから出力するものである。
Selector 6230 has a first data input terminal A, a second data input terminal B, a signal input terminal S, and a data output terminal Y. When signal input to signal input terminal S is a signal representing 0, The data input to the data input terminal B is output from the data output terminal Y, and when the signal input to the signal input terminal S is a signal representing 1, the data input to the data input terminal A is output to the data output terminal. The signal is output from the terminal Y.

【0154】フリップフロップ6240は、Dフリップ
フロップからなり、データ入力端子A、信号入力端子S
およびデータ出力端子Yを有し、信号入力端子Sに入力
された信号のパルスに同期して、データ入力端子Aに入
力されているデータをデータ出力端子Yにラッチするも
のである。論理和演算器6250は、信号入力端子S、
データ入力端子Bおよびデータ出力端子Yを有し、信号
入力端子Sおよびデータ入力端子Bのいずれか一方に1
を表わす信号またはデータが入力された場合には、デー
タ出力端子Yに1を表わすデータを出力し、信号入力端
子Sおよびデータ入力端子Bの両入力端子に0を表わす
信号およびデータが入力された場合のみ、データ出力端
子Yに0を表わすデータを出力するものである。言い換
えれば、信号入力端子Sに入力された信号が1を表わす
信号の場合には、1を表わす信号をデータ出力端子Yに
出力し、信号入力端子Sに入力された信号が0である場
合には、データ入力端子Bに入力されているデータをデ
ータ出力端子Yに出力するものである。
The flip-flop 6240 is composed of a D flip-flop, and has a data input terminal A and a signal input terminal S.
And a data output terminal Y, and latches data input to the data input terminal A to the data output terminal Y in synchronization with a pulse of a signal input to the signal input terminal S. The OR operation unit 6250 includes a signal input terminal S,
It has a data input terminal B and a data output terminal Y, and one of the signal input terminal S and the data input terminal B
Is input, data representing 1 is output to data output terminal Y, and signal and data representing 0 are inputted to both input terminals of signal input terminal S and data input terminal B. Only in this case, data representing 0 is output to the data output terminal Y. In other words, when the signal input to the signal input terminal S is a signal representing 1, a signal representing 1 is output to the data output terminal Y, and when the signal input to the signal input terminal S is 0, Outputs data input to the data input terminal B to the data output terminal Y.

【0155】セレクタ6260は、第1データ入力端子
A、第2データ入力端子B、信号入力端子Sおよびデー
タ出力端子Yを有し、信号入力端子Sに入力された信号
が0を表わす信号のとき、データ入力端子Bに入力され
ているデータをデータ出力端子Yから出力し、信号入力
端子Sに入力された信号が1を表わす信号のとき、デー
タ入力端子Aに入力されているデータをデータ出力端子
Yから出力するものである。
Selector 6260 has a first data input terminal A, a second data input terminal B, a signal input terminal S, and a data output terminal Y. When signal input to signal input terminal S is a signal representing 0, The data input to the data input terminal B is output from the data output terminal Y, and when the signal input to the signal input terminal S is a signal representing 1, the data input to the data input terminal A is output to the data output terminal. The signal is output from the terminal Y.

【0156】セレクタ6270は、第1データ入力端子
A、第2データ入力端子B、信号入力端子Sおよびデー
タ出力端子Yを有し、信号入力端子Sに入力された信号
が0を表わす信号のとき、データ入力端子Bに入力され
ているデータをデータ出力端子Yから出力し、信号入力
端子Sに入力された信号が1を表わす信号のとき、デー
タ入力端子Aに入力されているデータをデータ出力端子
Yから出力するものである。
Selector 6270 has a first data input terminal A, a second data input terminal B, a signal input terminal S, and a data output terminal Y. When the signal input to signal input terminal S is a signal representing 0, The data input to the data input terminal B is output from the data output terminal Y, and when the signal input to the signal input terminal S is a signal representing 1, the data input to the data input terminal A is output to the data output terminal. The signal is output from the terminal Y.

【0157】フリップフロップ6280は、Dフリップ
フロップからなり、データ入力端子A、信号入力端子S
およびデータ出力端子Yを有し、信号入力端子Sに入力
された信号のパルスに同期して、データ入力端子Aに入
力されているデータをデータ出力端子Yにラッチするも
のである。フリップフロップ6290は、Dフリップフ
ロップからなり、データ入力端子A、信号入力端子Sお
よびデータ出力端子Yを有し、信号入力端子Sに入力さ
れた信号のパルスに同期して、データ入力端子Aに入力
されているデータをデータ出力端子Yにラッチするもの
である。
The flip-flop 6280 comprises a D flip-flop, and has a data input terminal A and a signal input terminal S.
And a data output terminal Y, and latches data input to the data input terminal A to the data output terminal Y in synchronization with a pulse of a signal input to the signal input terminal S. The flip-flop 6290 is formed of a D flip-flop, has a data input terminal A, a signal input terminal S, and a data output terminal Y, and is connected to the data input terminal A in synchronization with a pulse of a signal input to the signal input terminal S. The input data is latched at the data output terminal Y.

【0158】つぎに、ブロック特定ユニット6000の
各構成機器間の接続について説明する。加算ユニット6
100のセレクタ6110のデータ入力端子D1〜D4
は、それぞれプロセッサエレメントPE(0,0)のデ
ータ出力端子DIo、DVo、DHo、DDoに接続さ
れ、データ入力端子D5〜D8は、それぞれプロセッサ
エレメントPE(0,1)のデータ出力端子DIo、D
Vo、DHo、DDoに接続され、データ入力端子D9
〜D10は、それぞれプロセッサエレメントPE(0,
2)のデータ出力端子DIo、DHoに接続されてい
る。また、信号入力端子Mは、後述するモード信号出力
ユニットの信号出力端子に電気的に接続され、モード信
号MDが入力され、信号入力端子Sは、信号出力ユニッ
ト8000の信号出力端子に電気的に接続され、パルス
信号CK2が入力される。
Next, the connection between the components of the block specifying unit 6000 will be described. Addition unit 6
100 data input terminals D1 to D4 of the selector 6110
Are respectively connected to the data output terminals DIo, DVo, DHo, DDo of the processor element PE (0, 0), and the data input terminals D5 to D8 are respectively connected to the data output terminals DIo, Do of the processor element PE (0, 1).
Vo, DHo, DDo, and a data input terminal D9
To D10 are processor elements PE (0,
2) are connected to the data output terminals DIo and DHo. Further, the signal input terminal M is electrically connected to a signal output terminal of a mode signal output unit to be described later, a mode signal MD is input, and the signal input terminal S is electrically connected to a signal output terminal of the signal output unit 8000. Are connected, and the pulse signal CK2 is input.

【0159】セレクタ6120のデータ入力端子D1〜
D4は、それぞれプロセッサエレメントPE(0,5)
のデータ出力端子DIo、DVo、DHo、DDoに接
続され、データ入力端子D5〜D8は、それぞれプロセ
ッサエレメントPE(0,6)のデータ出力端子DI
o、DVo、DHo、DDoに接続され、データ入力端
子D9〜D10は、それぞれプロセッサエレメントPE
(0,7)のデータ出力端子DIo、DHoに接続され
ている。また、信号入力端子Mは、後述するモード信号
出力ユニットの信号出力端子に電気的に接続され、モー
ド信号MDが入力され、信号入力端子Sは、信号出力ユ
ニット8000の信号出力端子に電気的に接続され、パ
ルス信号CK2が入力される。
Data input terminals D1 to D1 of selector 6120
D4 is a processor element PE (0, 5), respectively.
Are connected to the data output terminals DIo, DVo, DHo, and DDo of the processor element PE (0, 6), respectively.
o, DVo, DHo, and DDo, and the data input terminals D9 to D10 are connected to the processor elements PE, respectively.
(0, 7) are connected to the data output terminals DIo and DHo. Further, the signal input terminal M is electrically connected to a signal output terminal of a mode signal output unit to be described later, a mode signal MD is input, and the signal input terminal S is electrically connected to a signal output terminal of the signal output unit 8000. Are connected, and the pulse signal CK2 is input.

【0160】レジスタ6130の信号入力端子Sは、信
号出力ユニット8000の信号出力端子に電気的に接続
され、パルス信号LD2が入力され、各RE1〜RE9
は、セレクタ6110のデータ出力端子R1〜R9にそ
れぞれ接続されている。レジスタ6140の信号入力端
子Sは、信号出力ユニット8000の信号出力端子に電
気的に接続され、パルス信号LD2が入力され、各RE
1〜RE9は、セレクタ6120のデータ出力端子R1
〜R9にそれぞれ接続されている。
The signal input terminal S of the register 6130 is electrically connected to the signal output terminal of the signal output unit 8000, and receives the pulse signal LD2.
Are connected to the data output terminals R1 to R9 of the selector 6110, respectively. The signal input terminal S of the register 6140 is electrically connected to the signal output terminal of the signal output unit 8000, receives the pulse signal LD2,
1 to RE9 are the data output terminals R1 of the selector 6120.
To R9.

【0161】加算器6150の各ADD1〜ADD9
は、一つのデータ入力端子は、レジスタ6130の各R
E1〜RE9のデータ出力端子にそれぞれ接続され、別
のデータ入力端子は、レジスタ6140の各RE1〜R
E9のデータ出力端子にそれぞれ接続されている。ディ
ストーション特定ユニット6200のセレクタ6210
のデータ入力端子A1〜A9は、加算ユニット6100
の加算器6150の各ADD1〜ADD9のデータ出力
端子にそれぞれ接続されている。また、信号入力端子S
は、信号出力ユニット8000の信号出力端子に電気的
に接続され、パルス信号CK2が入力される。
Each of ADD1 to ADD9 of adder 6150
, One data input terminal is connected to each R of the register 6130.
E1 to RE9 are respectively connected to data output terminals, and another data input terminal is connected to each of RE1 to R9 of the register 6140.
It is connected to the data output terminal of E9. Selector 6210 of distortion specifying unit 6200
The data input terminals A1 to A9 of the
Are connected to the data output terminals of the adders ADD1 to ADD9 of the adder 6150, respectively. Also, the signal input terminal S
Is electrically connected to the signal output terminal of the signal output unit 8000, and receives the pulse signal CK2.

【0162】比較器6220の第1データ入力端子A
は、セレクタ6210のデータ出力端子Yに電気的に接
続され、第2データ入力端子Bは、論理和演算器625
0のデータ出力端子Yに電気的に接続されている。セレ
クタ6230の第1データ入力端子Aは、セレクタ62
10のデータ出力端子Yに電気的に接続され、第2デー
タ入力端子Bは、論理和演算器6250のデータ出力端
子Yに電気的に接続され、信号入力端子Sは、比較器6
220の信号出力端子Yに電気的に接続されている。
First data input terminal A of comparator 6220
Is electrically connected to the data output terminal Y of the selector 6210, and the second data input terminal B
0 is electrically connected to the data output terminal Y. The first data input terminal A of the selector 6230 is connected to the selector 62
10, the second data input terminal B is electrically connected to the data output terminal Y of the OR operator 6250, and the signal input terminal S is connected to the comparator 6
220 is electrically connected to the signal output terminal Y.

【0163】フリップフロップ6240のデータ入力端
子Aは、セレクタ6230のデータ出力端子Yに電気的
に接続されている。また、信号入力端子Sは、信号出力
ユニット8000の信号出力端子に電気的に接続され、
パルス信号CK2が入力される。論理和演算器6250
の信号入力端子Sは、信号出力ユニット8000の信号
出力端子に電気的に接続され、パルス信号LD2が入力
され、データ入力端子Bは、フリップフロップ6240
のデータ出力端子Yに電気的に接続されている。
Data input terminal A of flip-flop 6240 is electrically connected to data output terminal Y of selector 6230. Further, the signal input terminal S is electrically connected to the signal output terminal of the signal output unit 8000,
The pulse signal CK2 is input. OR operation unit 6250
Is electrically connected to the signal output terminal of the signal output unit 8000, the pulse signal LD2 is input, and the data input terminal B is connected to the flip-flop 6240
Are electrically connected to the data output terminal Y.

【0164】セレクタ6260の第1データ入力端子A
は、セレクタ6210のデータ出力端子M1に電気的に
接続され、第2データ入力端子Bは、フリップフロップ
6280のデータ出力端子Yに電気的に接続され、信号
入力端子Sは、比較器6220の信号出力端子Yに電気
的に接続されている。セレクタ6270の第1データ入
力端子Aは、セレクタ6210のデータ出力端子M2に
電気的に接続され、第2データ入力端子Bは、フリップ
フロップ6290のデータ出力端子Yに電気的に接続さ
れ、信号入力端子Sは、比較器6220の信号出力端子
Yに電気的に接続されている。
First data input terminal A of selector 6260
Is electrically connected to the data output terminal M1 of the selector 6210, the second data input terminal B is electrically connected to the data output terminal Y of the flip-flop 6280, and the signal input terminal S is connected to the signal of the comparator 6220. It is electrically connected to the output terminal Y. The first data input terminal A of the selector 6270 is electrically connected to the data output terminal M2 of the selector 6210, and the second data input terminal B is electrically connected to the data output terminal Y of the flip-flop 6290. The terminal S is electrically connected to the signal output terminal Y of the comparator 6220.

【0165】フリップフロップ6280のデータ入力端
子Aは、セレクタ6260のデータ出力端子Yに電気的
に接続されている。また、信号入力端子Sは、信号出力
ユニット8000の信号出力端子に電気的に接続され、
パルス信号CK2が入力される。フリップフロップ62
90のデータ入力端子Aは、セレクタ6270のデータ
出力端子Yに電気的に接続されている。また、信号入力
端子Sは、信号出力ユニット8000の信号出力端子に
電気的に接続され、パルス信号CK2が入力される。
Data input terminal A of flip-flop 6280 is electrically connected to data output terminal Y of selector 6260. Further, the signal input terminal S is electrically connected to the signal output terminal of the signal output unit 8000,
The pulse signal CK2 is input. Flip-flop 62
The 90 data input terminal A is electrically connected to the data output terminal Y of the selector 6270. The signal input terminal S is electrically connected to the signal output terminal of the signal output unit 8000, and receives the pulse signal CK2.

【0166】次に、本装置の動作の概要を説明する。ま
ず、参照画像データ出力ユニット2000から出力され
たフレーム候補ブロックの画素データを入力レジスタへ
入力し、各レジスタおよびプロセッサエレメント間の接
続を切り替え、ディストーション算出手段3000へサ
ーチウィンドウ内の画素データを入力し、転送しながら
参照画像フォーマットに配置する。
Next, an outline of the operation of the present apparatus will be described. First, the pixel data of the frame candidate block output from the reference image data output unit 2000 is input to the input register, the connection between each register and the processor element is switched, and the pixel data in the search window is input to the distortion calculating means 3000. And place it in the reference image format while transferring.

【0167】次に、現画像データ出力ユニット1000
から出力された現画像フレームブロックの画素データを
各プロセッサエレメントに入力する。各プロセッサエレ
メントでは、現画像フレームブロックの画素データとフ
レーム候補ブロックの画素データからディストーション
の算出を行う。各プロセッサエレメントで算出されたデ
ィストーションは、各プロセッサエレメント間で転送さ
れ、ブロック特定ユニット6000へ出力される。
Next, the current image data output unit 1000
The pixel data of the current image frame block output from is input to each processor element. Each processor element calculates a distortion from the pixel data of the current image frame block and the pixel data of the frame candidate block. The distortion calculated by each processor element is transferred between the processor elements and output to the block specifying unit 6000.

【0168】次に、ブロック特定ユニット6000で
は、入力された各ディストーションの中から現画像フレ
ームブロックごとに、最小ディストーションを検出する
とともに動きベクトルを求める。次に、いま求めたフレ
ームの動きベクトルに基づいて、探索するサーチウィン
ドウを決定し、再度本装置を用いてデュアルプライム予
測における差分動きベクトルを求める。
Next, the block specifying unit 6000 detects a minimum distortion and obtains a motion vector for each current image frame block from among the inputted distortions. Next, a search window to be searched is determined based on the motion vector of the frame just obtained, and a difference motion vector in dual prime prediction is obtained using the present apparatus again.

【0169】まず、参照画像データ出力ユニット200
0から決定されたサーチウィンドウのフィールド候補ブ
ロックの画素データを入力レジスタへ入力し、各レジス
タおよびプロセッサエレメント間の接続を切り替え、デ
ィストーション算出手段3000へサーチウィンドウ内
の画素データを入力し、転送しながら参照画像フォーマ
ットに配置する。
First, the reference image data output unit 200
The pixel data of the field candidate block of the search window determined from 0 is input to the input register, the connection between each register and the processor element is switched, and the pixel data in the search window is input to the distortion calculating means 3000 and transferred. Place in reference image format.

【0170】次に、現画像データ出力ユニット1000
から出力された現画像フィールドブロックの画素データ
を各プロセッサエレメントに入力する。各プロセッサエ
レメントでは、現画像第2フィールドの現画像フィール
ドブロックの画素データと参照画像第1フィールドのフ
ィールド候補ブロックの画素データおよび現画像第1フ
ィールドの現画像フィールドブロックの画素データと参
照画像第2フィールドのフィールド候補ブロックの画素
データから第1および第2ディストーションの算出を行
う。各プロセッサエレメントで算出された第1および第
2ディストーションは、各プロセッサエレメント間で転
送され、ブロック特定ユニット6000へ出力される。
Next, the current image data output unit 1000
The pixel data of the current image field block output from is input to each processor element. In each processor element, the pixel data of the current image field block of the current image second field, the pixel data of the field candidate block of the reference image first field, the pixel data of the current image field block of the current image first field, and the reference image second field The first and second distortions are calculated from the pixel data of the field candidate block of the field. The first and second distortions calculated by each processor element are transferred between the processor elements and output to the block specifying unit 6000.

【0171】次に、ブロック特定ユニット6000で
は、入力された各第1および第2ディストーションをそ
れぞれ対応させて加算し、加算されたディストーション
の中から、最小ディストーションを検出するとともに差
分動きベクトルを求める。以下に、画素データの流れに
基づきながら動作の詳細について説明をする。まず、デ
ュアルプライム予測における基準動きベクトル算出後の
サーチウィンドウの画素データの入力について説明す
る。
Next, the block specifying unit 6000 adds the input first and second distortions in correspondence with each other, detects the minimum distortion from the added distortions, and obtains a difference motion vector. The details of the operation will be described below based on the flow of pixel data. First, input of pixel data of a search window after calculation of a reference motion vector in dual prime prediction will be described.

【0172】参照画像データ出力ユニット2000から
出力されたサーチウィンドウの画素データは、入力レジ
スタIR(3,0),IR(3,3),IR(3,
5),IR(3,8)のデータ入力端子YDiを介して
それぞれ入力される。参照画像データ出力ユニット20
00からの画素データの出力は、期間c1の前から開始
され、IR(x,y)のフリップフロップ4120にデ
ータ入力端子Aを介して入力され、クロックパルス信号
CK1に同期してラッチされる。以後、IR(x,y)
へのデータの入力は、このフリップフロップ4120へ
の画素データのラッチ時を意味するものとする。
The pixel data of the search window output from the reference image data output unit 2000 is input to the input registers IR (3,0), IR (3,3), IR (3,3).
5) and IR (3, 8) are input via data input terminals YDi. Reference image data output unit 20
The output of the pixel data from 00 starts before the period c1, is input to the IR (x, y) flip-flop 4120 via the data input terminal A, and is latched in synchronization with the clock pulse signal CK1. Hereafter, IR (x, y)
The input of data into the flip-flop 4120 means that the pixel data is latched into the flip-flop 4120.

【0173】本実施例では、サーチウィンドウは10行
×5列の画素からなり、画素データb1(x,y)、b
2(x,y)と座標で表す。ここで、x=0〜4,y=
0〜4である。順次、IR(x,y)に入力された画素
データは、1列毎にIR(x,y)からプロセッサエレ
メントPE(x,y)およびサイドレジスタSR(x,
y)へ出力され、転送される。
In this embodiment, the search window is composed of pixels of 10 rows × 5 columns, and pixel data b1 (x, y), b
2 (x, y) and coordinates. Here, x = 0 to 4, y =
0 to 4. The pixel data sequentially input to IR (x, y) is obtained from IR (x, y) and processor element PE (x, y) and side register SR (x, y) for each column.
y) and forwarded.

【0174】入力レジスタIR(x,y)への画素デー
タの入力および転送について、詳しく説明すると、クロ
ックパルス信号CK1の1クロック目に同期して、図2
4に示すように、IR(3,0),IR(3,5)へ画
素データb1(0,2),b2(0,2)がそれぞれ入
力される。次いで、クロックパルス信号CK1の2クロ
ック目に同期して、図25に示すように、入力レジスタ
IR(3,0)、IR(3,5)から1つ下の入力レジ
スタIR(3,1)、IR(3,6)へ画素データb1
(0,2)、b2(0,2)が転送され、さらに、入力
レジスタIR(3,0)、IR(3,3)、IR(3,
5)、IR(3,8)へ画素データb1(0,1)、b
1(0,4)、b2(0,1)、b2(0,4)がそれ
ぞれ入力される。
The input and transfer of the pixel data to the input register IR (x, y) will be described in detail. In detail, in synchronization with the first clock of the clock pulse signal CK1, FIG.
As shown in FIG. 4, pixel data b1 (0, 2) and b2 (0, 2) are input to IR (3, 0) and IR (3, 5), respectively. Next, in synchronization with the second clock of the clock pulse signal CK1, as shown in FIG. 25, the input registers IR (3,0) and IR (3,5), which are one level lower than the input registers IR (3,5). , IR (3, 6) to the pixel data b1
(0,2) and b2 (0,2) are transferred, and the input registers IR (3,0), IR (3,3), IR (3,3)
5), pixel data b1 (0, 1), b to IR (3, 8)
1 (0, 4), b2 (0, 1), and b2 (0, 4) are input, respectively.

【0175】次いで、クロックパルス信号CK1の3ク
ロック目に同期して、図26に示すように、入力レジス
タIR(3,0)、IR(3,1)、IR(3,3)、
IR(3,5)、IR(3,6)、IR(3,8)から
1つ下の入力レジスタIR(3,1)、IR(3,
2)、IR(3,4)、IR(3,6)、IR(3,
7)、IR(3,9)へ画素データb1(0,1)、b
1(0,2)、b1(0,4)、b2(0,1)、b2
(0,2)、b2(0,4)が転送され、さらに、入力
レジスタIR(3,0)、IR(3,3)、IR(3,
5)、IR(3,8)へ画素データb1(0,0)、b
1(0,3)、b2(0,0)、b2(0,3)がそれ
ぞれ入力される。ここまでで、サーチウィンドウの1列
目の画素データb1(0,y)、b2(0,y)が全
て、参照画像データ出力ユニット2000から、入力レ
ジスタへ入力されたことになる。
Then, in synchronization with the third clock of the clock pulse signal CK1, as shown in FIG. 26, the input registers IR (3,0), IR (3,1), IR (3,3),
IR (3,5), IR (3,6), input register IR (3,1), IR (3,
2), IR (3,4), IR (3,6), IR (3,3)
7), pixel data b1 (0, 1), b to IR (3, 9)
1 (0, 2), b1 (0, 4), b2 (0, 1), b2
(0,2) and b2 (0,4) are transferred, and the input registers IR (3,0), IR (3,3), IR (3,3)
5), pixel data b1 (0,0), b to IR (3,8)
1 (0, 3), b2 (0, 0), and b2 (0, 3) are input, respectively. Up to this point, all pixel data b1 (0, y) and b2 (0, y) in the first column of the search window have been input from the reference image data output unit 2000 to the input register.

【0176】以後、参照画像データ出力ユニット200
0および入力レジスタIR(x,y)は、上記の処理を
サーチウィンドウの各列毎にクロックパルス信号CK1
の3クロック毎に繰り返していく。つまり、nを整数と
するとき、クロックパルス信号CK1の(3n+1)ク
ロック目に同期して、IR(3,0)、IR(3,5)
へ画素データb1(n,2)、b2(n,2)がそれぞ
れ入力され、次いで、クロックパルス信号CK1の(3
n+2)クロック目に同期して、入力レジスタIR
(3,0)、IR(3,5)から1つ下の入力レジスタ
IR(3,1)、IR(3,6)へ画素データb1
(n,2)、b2(n,2)が転送され、さらに、入力
レジスタIR(3,0)、IR(3,3)、IR(3,
5)、IR(3,8)へ画素データb1(n,1)、b
1(n,4)、b2(n,1)、b2(n,4)がそれ
ぞれ入力され、次いで、クロックパルス信号CK1の
(3n+3)クロック目に同期して、入力レジスタIR
(3,0)、IR(3,1)、IR(3,3)、IR
(3,5)、IR(3,6)、IR(3,8)から1つ
下の入力レジスタIR(3,1)、IR(3,2)、I
R(3,4)、IR(3,6)、IR(3,7)、IR
(3,9)へ画素データb1(n,1)、b1(n,
2)、b1(n,4)、b2(n,1)、b2(n,
2)、b2(n,4)が転送され、さらに、入力レジス
タIR(3,0)、IR(3,3)、IR(3,5)、
IR(3,8)へ画素データb1(n,0)、b1
(n,3)、b2(n,0)、b2(n,3)がそれぞ
れ入力され、サーチウィンドウの(n+1)列目の画素
データb1(n,y)、b2(n,y)が全て参照画像
データ出力ユニット2000から入力レジスタIR
(x,y)へ入力される。以上の動作は、サーチウィン
ドウの画素データが全て入力されるまでを1セットとし
て続けられる。
Thereafter, the reference image data output unit 200
0 and the input register IR (x, y) execute the above processing for each column of the search window by the clock pulse signal CK1.
Is repeated every three clocks. That is, when n is an integer, IR (3,0) and IR (3,5) are synchronized with the (3n + 1) th clock of the clock pulse signal CK1.
The pixel data b1 (n, 2) and b2 (n, 2) are respectively input to the clock pulse signal CK1 and (3) of the clock pulse signal CK1.
n + 2) In synchronization with the clock, the input register IR
(3,0), the pixel data b1 to the input registers IR (3,1) and IR (3,6) one level below IR (3,5)
(N, 2) and b2 (n, 2) are transferred, and the input registers IR (3, 0), IR (3, 3), IR (3, 3)
5), pixel data b1 (n, 1), b to IR (3,8)
1 (n, 4), b2 (n, 1) and b2 (n, 4) are input, respectively, and then in synchronization with the (3n + 3) th clock of the clock pulse signal CK1, the input register IR
(3,0), IR (3,1), IR (3,3), IR
(3,5), IR (3,6), IR (3,8), one lower input register than IR (3,8)
R (3,4), IR (3,6), IR (3,7), IR
The pixel data b1 (n, 1), b1 (n,
2), b1 (n, 4), b2 (n, 1), b2 (n,
2) and b2 (n, 4) are transferred, and the input registers IR (3,0), IR (3,3), IR (3,5),
Pixel data b1 (n, 0), b1 to IR (3, 8)
(N, 3), b2 (n, 0), and b2 (n, 3) are input, and all pixel data b1 (n, y) and b2 (n, y) in the (n + 1) th column of the search window are input. Input register IR from reference image data output unit 2000
(X, y). The above operation is continued as one set until all the pixel data of the search window is input.

【0177】次に、入力レジスタへ入力保持されたサー
チウィンドウの画素データをプロセッサエレメントおよ
びサイドレジスタへ転送し、プロセッサエレメントおよ
びサイドレジスタ内を繰り返し転送しながら、サーチウ
ィンドウの画素データを参照画像フォーマット通りに入
力し配置する動作について説明する。プロセッサエレメ
ントおよびサイドレジスタ内の画素データの転送処理
は、各PE(x,y)およびSR(x,y)内のセレク
タ3410、セレクタ3110およびセレクタ4210
が選択するデータ入力端子の切り替えによって実現され
る。
Next, the pixel data of the search window input and held in the input register is transferred to the processor element and the side register, and the pixel data of the search window is repeatedly transferred in the processor element and the side register according to the reference image format. The operation of inputting and arranging the information in the "." The transfer processing of the pixel data in the processor element and the side register is performed by the selector 3410, the selector 3110, and the selector 4210 in each PE (x, y) and SR (x, y).
Is realized by switching of the data input terminal selected by.

【0178】セレクタ3410、セレクタ3110およ
びセレクタ4210のデータ入力端子の切り替えは、信
号入力端子Sを介して入力されるパルス信号SJおよび
SLにより制御される。フィールドブロックおよびデュ
アルプライム予測のディストーションを算出する場合に
は、パルス信号SJは、プロセッサエレメントPE
(x,y)およびサイドレジスタSR(x,y)へ常時
0が入力される。したがって、セレクタ3410では、
データ入力端子Aからの入力データが選択され、直上ま
たは直下のSR(x,y)からデータが入力される。以
下、画素データの転送処理を、順を追って説明する。
Switching of the data input terminals of the selector 3410, the selector 3110 and the selector 4210 is controlled by the pulse signals SJ and SL input via the signal input terminal S. When calculating the distortion of the field block and the dual prime prediction, the pulse signal SJ is output from the processor element PE.
0 is always input to (x, y) and the side register SR (x, y). Therefore, in the selector 3410,
Input data from the data input terminal A is selected, and data is input from the immediately above or immediately below SR (x, y). Hereinafter, the transfer process of the pixel data will be described step by step.

【0179】まず、プロセッサエレメントPE(x,
y)のセレクタ3110およびサイドレジスタSR
(x,y)のセレクタ4210の信号入力端子Sには、
サーチウィンドウの1列分の画素データが全て入力され
るまでは0が入力されていて、信号入力端子Sに入力さ
れる信号が1に変わると転送方向が変更される。詳しく
説明すると、期間c3において、パルス信号SLは1と
なり、各セレクタに信号入力端子Sを介して信号1が入
力される。このため、各セレクタではデータ入力端子B
とデータ出力端子Yが電気的に接続され、各レジスタお
よびプロセッサエレメントのデータ入力端子YLiを介
して画素データが入力され、フリップフロップに保持さ
れ、クロックパルス信号CK1の4クロック目に同期し
て、各フリップフロップのデータ出力端子Yを介して出
力される。
First, the processor element PE (x,
y) Selector 3110 and side register SR
The signal input terminal S of the (x, y) selector 4210 has:
0 is input until all the pixel data for one column of the search window is input. When the signal input to the signal input terminal S changes to 1, the transfer direction is changed. More specifically, in the period c3, the pulse signal SL becomes 1, and the signal 1 is input to each selector via the signal input terminal S. Therefore, each selector has a data input terminal B
And the data output terminal Y are electrically connected, pixel data is input via the data input terminal YLi of each register and the processor element, held in the flip-flop, and synchronized with the fourth clock of the clock pulse signal CK1, It is output via the data output terminal Y of each flip-flop.

【0180】このようにして、図27に示すように、画
素データb1(0,y)およびb2(0,y)が入力レ
ジスタIR(3,y)から、それぞれ左側の各PE
(2,y)およびSR(2,y)へ転送される。次い
で、期間c4において、パルス信号SLは0となり、各
セレクタに信号入力端子Sを介して信号0が入力され、
このため、各セレクタではデータ入力端子Aとデータ出
力端子Yが電気的に接続され、奇数列の各PE(2,
y)およびSR(2,y)のデータ入力端子YUiを介
して画素データが入力され、フリップフロップに保持さ
れ、クロックパルス信号CK1の5クロック目に同期し
て、各フリップフロップのデータ出力端子Yを介して出
力される。
In this manner, as shown in FIG. 27, pixel data b1 (0, y) and b2 (0, y) are supplied from the input register IR (3, y) to the respective left PEs.
(2, y) and SR (2, y). Next, in the period c4, the pulse signal SL becomes 0, and the signal 0 is input to each selector via the signal input terminal S.
For this reason, in each selector, the data input terminal A and the data output terminal Y are electrically connected, and the PEs (2,
y) and SR (2, y), pixel data is input via the data input terminal YUi, held in the flip-flop, and synchronized with the fifth clock of the clock pulse signal CK1, the data output terminal Y of each flip-flop. Is output via.

【0181】このようにして、図28に示すように、画
素データb1(0,y)およびb2(0,y)が各PE
(2,y)およびSR(2,y)から、それぞれ一つ上
側の各PE(2,y−1)またはSR(2,y−1)へ
転送される。同様にして、図29に示すように、クロッ
クパルス信号CK1の6クロック目に同期して、画素デ
ータb1(0,y)およびb2(0,y)が、各PE
(2,y−1)およびSR(2,y−1)から、それぞ
れ上側の各PE(2,y−2)およびSR(2,y−
2)へ転送される。
In this way, as shown in FIG. 28, pixel data b1 (0, y) and b2 (0, y) are
From (2, y) and SR (2, y), the data is transferred to each upper PE (2, y-1) or SR (2, y-1). Similarly, as shown in FIG. 29, in synchronization with the sixth clock of the clock pulse signal CK1, the pixel data b1 (0, y) and b2 (0, y) are output from each PE.
From (2, y-1) and SR (2, y-1), the upper PE (2, y-2) and SR (2, y-
Transferred to 2).

【0182】次いで、期間c6において、パルス信号S
Lが1となり、各セレクタに信号入力端子Sを介して信
号1が入力される。このため、各セレクタではデータ入
力端子Bとデータ出力端子Yが電気的に接続され、各プ
ロセッサエレメントおよびサイドレジスタのデータ入力
端子YLiを介して画素データが入力され、フリップフ
ロップに保持され、クロックパルス信号CK1の7クロ
ック目に同期して、各フリップフロップのデータ出力端
子Yを介して出力される。
Next, in the period c6, the pulse signal S
L becomes 1, and the signal 1 is input to each selector via the signal input terminal S. For this reason, in each selector, a data input terminal B and a data output terminal Y are electrically connected, pixel data is input via each processor element and the data input terminal YLi of the side register, and the flip-flop holds the pixel data, The data is output via the data output terminal Y of each flip-flop in synchronization with the seventh clock of the signal CK1.

【0183】このようにして、図30に示すように、画
素データb1(1,y)およびb2(1,y)が、入力
レジスタIR(3,y)から、それぞれ左側の各PE
(2,y)およびSR(2,y)へ転送され、画素デー
タb1(0,y)およびb2(0,y)が、各PE
(2,y−2)およびSR(2,y−2)から、それぞ
れ左側の各PE(1,y−2)およびSR(1,y−
2)へ転送される。
In this manner, as shown in FIG. 30, pixel data b1 (1, y) and b2 (1, y) are supplied from input register IR (3, y) to each of the left PEs.
(2, y) and SR (2, y), and the pixel data b1 (0, y) and b2 (0, y) are
From (2, y-2) and SR (2, y-2), each PE (1, y-2) and SR (1, y-
Transferred to 2).

【0184】次いで、期間c7において、パルス信号S
Lが0となり、クロックパルス信号CK1の8クロック
目に同期して、画素データb1(1,y)およびb2
(1,y)が、各PE(2,y)およびSR(2,y)
から、それぞれ上側の各PE(2,y+1)およびSR
(2,y+1)へ転送され、画素データb1(0,y)
およびb2(0,y)が、各PE(1,y−2)および
SR(1,y−2)から、それぞれ下側の各PE(1,
y−1)およびSR(1,y−1)へ転送される。
Next, in the period c7, the pulse signal S
L becomes 0, and the pixel data b1 (1, y) and b2 are synchronized with the eighth clock of the clock pulse signal CK1.
(1, y) is each PE (2, y) and SR (2, y)
From the respective upper PEs (2, y + 1) and SR
(2, y + 1) and the pixel data b1 (0, y)
And b2 (0, y) are respectively lower PEs (1, y-2) and SR (1, y-2) from lower PEs (1, y-2).
y-1) and SR (1, y-1).

【0185】同様にして、クロックパルス信号CK1の
9クロック目に同期して、画素データb1(1,y)お
よびb2(1,y)が、各PE(2,y−1)およびS
R(2,y−1)から、それぞれ上側の各PE(2,y
−2)およびSR(2,y−2)へ転送され、画素デー
タb1(0,y)およびb2(0,y)が、各PE
(1,y−1)およびSR(1,y−1)から、それぞ
れ下側の各PE(1,y)およびSR(1,y)へ転送
される。
Similarly, in synchronization with the ninth clock of the clock pulse signal CK1, the pixel data b1 (1, y) and b2 (1, y) are converted into PE (2, y-1) and S
From R (2, y-1), each upper PE (2, y
-2) and SR (2, y-2), and the pixel data b1 (0, y) and b2 (0, y) are
The data is transferred from (1, y-1) and SR (1, y-1) to the lower PEs (1, y) and SR (1, y), respectively.

【0186】次いで、期間c9において、パルス信号S
Lが1となり、図31に示すように、クロックパルス信
号CK1の10クロック目に同期して、画素データb1
(2,y)およびb2(2,y)が、入力レジスタIR
(3,y)から、それぞれ左側の各PE(2,y)およ
びSR(2,y)へ転送され、画素データb1(1,
y)およびb2(1,y)が、各PE(2,y−2)お
よびSR(2,y−2)から、それぞれ左側の各PE
(1,y−2)およびSR(1,y−2)へ転送され、
画素データb1(0,y)およびb2(0,y)が、各
PE(1,y)およびSR(1,y)から、それぞれ左
側の各PE(0,y)およびSR(0,y)へ転送され
る。
Next, in the period c9, the pulse signal S
L becomes 1, and as shown in FIG. 31, the pixel data b1 is synchronized with the tenth clock of the clock pulse signal CK1.
(2, y) and b2 (2, y) are input registers IR
(3, y), the data is transferred to each of the PEs (2, y) and SR (2, y) on the left side, and the pixel data b1 (1,
y) and b2 (1, y) are obtained from each PE (2, y-2) and SR (2, y-2),
(1, y-2) and SR (1, y-2),
The pixel data b1 (0, y) and b2 (0, y) are respectively converted from the respective PE (1, y) and SR (1, y) to the respective PE (0, y) and SR (0, y) on the left side. Transferred to

【0187】以上の様にして、プロセッサエレメントお
よびサイドレジスタ内の画素データは、nを整数とし
て、クロックパルス信号CK1の(3n+4)クロック
目に同期して、各プロセッサエレメントおよびサイドレ
ジスタ間を右から左へ水平方向に転送され、クロックパ
ルス信号CK1の(3n+6)クロック目までは奇数列
の各プロセッサエレメントおよびサイドレジスタでは一
つずつ上へ転送され、偶数列の各プロセッサエレメント
およびサイドレジスタでは一つずつ下へ転送され、以
後、上記動作を繰り返す。
As described above, the pixel data in the processor element and the side register are transmitted from right to left between each processor element and the side register in synchronization with the (3n + 4) th clock of the clock pulse signal CK1, where n is an integer. It is transferred to the left in the horizontal direction, and up to the (3n + 6) th clock of the clock pulse signal CK1 is transferred upward by one in each of the odd-numbered processor elements and the side registers, and is transferred by one in each of the even-numbered processor elements and the side registers. , And the above operation is repeated thereafter.

【0188】以上により、図31に示すように、クロッ
クパルス信号CK1の10クロック目において、全ての
プロセッサエレメントPE(x,y)内に、サーチウィ
ンドウの画素データb1(x,y)およびb2(x,
y)が入力保持される。このようにして、サーチウィン
ドウ内の画素データが、プロセッサエレメント内に参照
画像フォーマット通りに配置されると、各プロセッサエ
レメントでは、信号出力ユニット8000から出力され
るパルス信号LD1に同期してディストーションの算出
処理が開始される。なお、以後、クロックパルス信号C
K1の10クロック目から18クロック目までの間、各
プロセッサエレメントではディストーションの算出が実
行されるが、その間も、プロセッサエレメントおよびサ
イドレジスタ内の画素データの転送処理は引き続き行わ
れ、全てのサーチウィンドウの画素データが入力され
る。
As described above, as shown in FIG. 31, at the tenth clock of the clock pulse signal CK1, the pixel data b1 (x, y) and b2 (b) of the search window are included in all the processor elements PE (x, y). x,
y) is input and held. In this way, when the pixel data in the search window is arranged in the processor element according to the reference image format, each processor element calculates the distortion in synchronization with the pulse signal LD1 output from the signal output unit 8000. Processing is started. Hereafter, the clock pulse signal C
From the 10th clock to the 18th clock of K1, distortion is calculated in each processor element. During that time, the transfer processing of the pixel data in the processor element and the side register is continuously performed, and all search windows are searched. Is input.

【0189】次に、ディストーション算出処理について
説明する。ディストーション算出処理は、各プロセッサ
エレメントにて行われる。また、プロセッサエレメント
PE(x,y)は、ディストーション算出手段3000
内の配置位置により、奇数列と、偶数列に大別される
が、これは各列毎の画素データのディストーション算出
処理を行う画素データの順序が異なるだけで、処理の方
法および対応する現画像ブロックの画素データは同じで
ある。
Next, the distortion calculation processing will be described. The distortion calculation process is performed by each processor element. Further, the processor element PE (x, y) is provided by the distortion calculating means 3000.
Are roughly divided into odd columns and even columns depending on the arrangement position in the pixel data. The only difference is the order of pixel data for performing the distortion calculation processing of the pixel data for each column. The pixel data of the block is the same.

【0190】つまり、奇数列のプロセッサエレメントP
E(x,y)においては、候補ブロックの画素データが
b1(x,y),b1(x,y+1),b1(x,y+
2),b1(x+1,y),...および、画素データ
b2(x,y),b2(x,y+1),b2(x,y+
2),b2(x+1,y),...の順に入力され、偶
数列のPE(x,y)においては、画素データb1
(x,y+2),b1(x,y+1),b1(x,
y),b1(x+1,y+2),...および、画素デ
ータb2(x,y+2),b2(x,y+1),b2
(x,y),b2(x+1,y+2),...の順に入
力され、現画像データ出力ユニット1000からPE
(x,y)に入力される現画像ブロックの画素データ
は、奇数列のプロセッサエレメントPE(x,y)へ
は、画素データa2(x,y),a2(x,y+1),
a2(x,y+2),a2(x+1,y),...およ
び、画素データa1(x,y),a1(x,y+1),
a1(x,y+2),a1(x+1,y),...の順
に入力され、偶数列のPE(x,y)へは、画素データ
a2(x,y+2),a2(x,y+1),a2(x,
y),a2(x+1,y+2),...および、画素デ
ータa1(x,y+2),a1(x,y+1),a1
(x,y),a1(x+1,y+2),...の順に入
力され、ディストーションの算出が行われる。
That is, the odd-numbered columns of processor elements P
In E (x, y), the pixel data of the candidate block is b1 (x, y), b1 (x, y + 1), b1 (x, y +
2), b1 (x + 1, y),. . . And pixel data b2 (x, y), b2 (x, y + 1), b2 (x, y +
2), b2 (x + 1, y),. . . , And in the PE (x, y) of the even-numbered column, the pixel data b1
(X, y + 2), b1 (x, y + 1), b1 (x,
y), b1 (x + 1, y + 2),. . . And pixel data b2 (x, y + 2), b2 (x, y + 1), b2
(X, y), b2 (x + 1, y + 2),. . . , And the current image data output unit 1000
The pixel data of the current image block input to (x, y) is supplied to the pixel data a2 (x, y), a2 (x, y + 1),
a2 (x, y + 2), a2 (x + 1, y),. . . And pixel data a1 (x, y), a1 (x, y + 1),
a1 (x, y + 2), a1 (x + 1, y),. . . , And the pixel data a2 (x, y + 2), a2 (x, y + 1), a2 (x,
y), a2 (x + 1, y + 2),. . . And pixel data a1 (x, y + 2), a1 (x, y + 1), a1
(X, y), a1 (x + 1, y + 2),. . . , And the distortion is calculated.

【0191】期間c9において、パルス信号LD1が1
となり、反転器3250に信号入力端子Sを介して入力
され、信号出力端子Yから信号0が出力される。論理和
演算器3260では、信号入力端子Aに0が入力され、
データ出力端子Yからデータ0が出力される。これによ
り、加算器3230の第2データ入力端子Bの値が0と
される。これで、加算器3230の積算値がクリアさ
れ、クロックパルス信号CK1の10クロック目からデ
ィストーション算出処理が開始される。
In the period c9, the pulse signal LD1 becomes 1
The signal is input to the inverter 3250 via the signal input terminal S, and the signal 0 is output from the signal output terminal Y. In the logical sum operator 3260, 0 is input to the signal input terminal A,
Data 0 is output from the data output terminal Y. As a result, the value of the second data input terminal B of the adder 3230 is set to 0. Thus, the integrated value of the adder 3230 is cleared, and the distortion calculation process is started from the tenth clock of the clock pulse signal CK1.

【0192】まず、奇数列のプロセッサエレメントPE
(x,y)における演算処理について説明する。クロッ
クパルス信号CK1の10クロック目に同期して、奇数
列のプロセッサエレメントPE(x,y)では、画素デ
ータb1(x,y)およびb2(x,y)が、フリップ
フロップ3120からデータ出力端子Yを介して出力さ
れ、減算器3210に、第1データ入力端子Aを介して
入力される。同時に、減算器3210の第2データ入力
端子Bを介して、現画像データ出力ユニット1000か
ら画素データa2(x,y)およびa1(x,y)が入
力され、 b1(x,y)-a2(x,y) および b2(x,y)-a1(x,y) が演算され、データ出力端子Yから出力される。
First, the odd-numbered columns of processor elements PE
The calculation processing at (x, y) will be described. In synchronization with the tenth clock of the clock pulse signal CK1, the pixel data b1 (x, y) and b2 (x, y) are output from the flip-flop 3120 to the data output terminal in the odd-numbered processor elements PE (x, y). The signal is output via Y and input to the subtractor 3210 via the first data input terminal A. At the same time, pixel data a2 (x, y) and a1 (x, y) are input from the current image data output unit 1000 via the second data input terminal B of the subtractor 3210, and b1 (x, y) -a2 (x, y) and b2 (x, y) -a1 (x, y) are calculated and output from the data output terminal Y.

【0193】正数変換器3220では、上記データがデ
ータ入力端子から入力され、正数変換され、 |b1(x,y)-a2(x,y)| および |b2(x,y)-a1(x,y)| が、データ出力端子から出力される。
In the positive number converter 3220, the above data is input from the data input terminal and converted to a positive number, and | b1 (x, y) -a2 (x, y) | and | b2 (x, y) -a1 (x, y) | is output from the data output terminal.

【0194】加算器3270内の加算器3230では、
第1データ入力端子Aから上記データが入力され、第2
データ入力端子Bから入力されるデータ0と加算され、 |b1(x,y)-a2(x,y)| および |b2(x,y)-a1(x,y)| が、データ出力端子Yから出力され、フリップフロップ
3240にデータ入力端子Aを介して入力保持される。
In adder 3230 in adder 3270,
The above data is input from the first data input terminal A,
Is added to data 0 input from the data input terminal B, and | b1 (x, y) -a2 (x, y) | and | b2 (x, y) -a1 (x, y) | The signal is output from Y and input and held in the flip-flop 3240 via the data input terminal A.

【0195】また、加算器3281では、第1データ入
力端子Aを介して減算器3210から b1(x,y)-a2(x,y) および b2(x,y)-a1(x,y) が入力され、第2データ入力端子Bを介してひとつ下の
PE(x,y+1)の減算器3210から b1(x,y+1)-a2(x,y) および b2(x,y+1)-a1(x,y) が入力され、 b1(x,y)-a2(x,y) + b1(x,y+1)-a2(x,y) および b2(x,y)-a1(x,y) + b2(x,y+1)-a1(x,y) が演算され、データ出力端子Yを介して出力される。乗
算器3291では、上記データに1/2が乗算され、 {b1(x,y)+b1(x,y+1)}/2-a2(x,y) および {b2(x,y)+b2(x,y+1)}/2-a1(x,y) が、データ出力端子Yを介して出力される。正数変換器
3221では、上記データがデータ入力端子を介して入
力され、正数変換され、 |b1(x,y+0.5)-a2(x,y)| および |b2(x,y+0.5)-a1(x,y)| が、データ出力端子を介して出力される。
The adder 3281 outputs b1 (x, y) -a2 (x, y) and b2 (x, y) -a1 (x, y) from the subtractor 3210 via the first data input terminal A. Is input from the subtractor 3210 of the PE (x, y + 1) one below via the second data input terminal B. b1 (x, y + 1) -a2 (x, y) and b2 (x, y + 1) ) -a1 (x, y) and b1 (x, y) -a2 (x, y) + b1 (x, y + 1) -a2 (x, y) and b2 (x, y) -a1 (x, y) + b2 (x, y + 1) -a1 (x, y) is calculated and output via the data output terminal Y. The multiplier 3291 multiplies the data by 1 /, and {b1 (x, y) + b1 (x, y + 1)} / 2-a2 (x, y) and {b2 (x, y) + b2 (x, y + 1)} / 2-a1 (x, y) is output via the data output terminal Y. In the positive number converter 3221, the above data is input via the data input terminal, converted to a positive number, and | b1 (x, y + 0.5) -a2 (x, y) | and | b2 (x, y + 0.5 ) -a1 (x, y) | is output via the data output terminal.

【0196】ここで、 b1(x,y+0.5)={b1(x,y)+b1(x,y+1)}/2 b2(x,y+0.5)={b2(x,y)+b2(x,y+1)}/2 であり、b1(x,y+0.5)、b2(x,y+0.
5)は、それぞれb1(x,y)とb1(x,y+
1)、b2(x,y)とb2(x,y+1)との間の1
/2画素を示す。
Here, b1 (x, y + 0.5) = {b1 (x, y) + b1 (x, y + 1)} / 2 b2 (x, y + 0.5) = {b2 (x, y) + b2 (x, y + 1)} / 2, and b1 (x, y + 0.5), b2 (x, y + 0.
5) are b1 (x, y) and b1 (x, y +
1), 1 between b2 (x, y) and b2 (x, y + 1)
/ 2 pixels.

【0197】加算器3271内の加算器3230では、
第1データ入力端子Aを介して上記データが入力され、
第2データ入力端子Bを介して入力されるデータ0と加
算され、 |b1(x,y+0.5)-a2(x,y)| および |b2(x,y+0.5)-a1(x,y)| が、データ出力端子Yを介して出力され、フリップフロ
ップ3241にデータ入力端子Aを介して、入力保持さ
れる。
In the adder 3230 in the adder 3271,
The data is input via a first data input terminal A,
Is added to data 0 input through the second data input terminal B, and | b1 (x, y + 0.5) -a2 (x, y) | and | b2 (x, y + 0.5) -a1 (x, y) | is output via the data output terminal Y, and is input and held by the flip-flop 3241 via the data input terminal A.

【0198】同様に、それぞれb1(x,y)とb1
(x+1,y)、b2(x,y)とb2(x+1,y)
との間の1/2画素を、 b1(x+0.5,y)={b1(x,y)+b1(x+1,y)}/2 b2(x+0.5,y)={b2(x,y)+b2(x+1,y)}/2 として、それぞれ1/2画素b1(x+0.5,y)、
b2(x+0.5,y)を示す。
Similarly, b1 (x, y) and b1
(X + 1, y), b2 (x, y) and b2 (x + 1, y)
B1 (x + 0.5, y) = {b1 (x, y) + b1 (x + 1, y)} / 2 b2 (x + 0.5, y) = {b2 ( x, y) + b2 (x + 1, y)} / 2, respectively, and 1 / pixel b1 (x + 0.5, y),
b2 (x + 0.5, y).

【0199】加算器3282では、第1データ入力端子
Aを介して減算器3210から b1(x,y)-a2(x,y) および b2(x,y)-a1(x,y) が入力され、第2データ入力端子Bを介してひとつ右の
PE(x+1,y)の減算器3210から b1(x+1,y)-a2(x,y) および b2(x+1,y)-a1(x,y) が入力され、 b1(x,y)-a2(x,y) + b1(x+1,y)-a2(x,y) および b2(x,y)-a1(x,y) + b2(x+1,y)-a1(x,y) が演算され、データ出力端子Yを介して出力される。乗
算器3292では、上記データに1/2が乗算され、正
数変換器3222によって、正数変換され、 |b1(x+0.5,y)-a2(x,y)| および |b2(x+0.5,y)-a1(x,y)| が、データ出力端子から出力される。
The adder 3282 receives b1 (x, y) -a2 (x, y) and b2 (x, y) -a1 (x, y) from the subtractor 3210 via the first data input terminal A. Then, b1 (x + 1, y) -a2 (x, y) and b2 (x + 1, y)-are obtained from the subtracter 3210 of the PE (x + 1, y) one to the right via the second data input terminal B. a1 (x, y) is input and b1 (x, y) -a2 (x, y) + b1 (x + 1, y) -a2 (x, y) and b2 (x, y) -a1 (x , y) + b2 (x + 1, y) -a1 (x, y) is calculated and output via the data output terminal Y. The multiplier 3292 multiplies the data by 1 /, converts the data to a positive number by a positive number converter 3222, and outputs | b1 (x + 0.5, y) -a2 (x, y) | and | b2 (x + 0.5, y) -a1 (x, y) | is output from the data output terminal.

【0200】加算器3272内の加算器3230では、
第1データ入力端子Aを介して上記データが入力され、
第2データ入力端子Bを介して入力されるデータ0と加
算され、 |b1(x+0.5,y)-a2(x,y)| および |b2(x+0.5,y)-a1(x,y)| が、データ出力端子Yを介して出力され、フリップフロ
ップ3242にデータ入力端子Aを介して、入力保持さ
れる。
In the adder 3230 in the adder 3272,
The data is input via a first data input terminal A,
It is added to the data 0 input through the second data input terminal B, and | b1 (x + 0.5, y) -a2 (x, y) | and | b2 (x + 0.5, y) -a1 (x, y) | is output via the data output terminal Y, and is input and held by the flip-flop 3242 via the data input terminal A.

【0201】また、それぞれb1(x,y)とb1(x
+1,y+1)、b2(x,y)とb2(x+1,y+
1)との間の1/2画素を、 b1(x+0.5,y+0.5)={b1(x,y)+b1(x+1,y)+b1(x,y+1)+b1(x+
1,y+1)}/4 b2(x+0.5,y+0.5)={b2(x,y)+b2(x+1,y)+b2(x,y+1)+b2(x+
1,y+1)}/4 として、それぞれ1/2画素b1(x+0.5,y+
0.5)、b2(x+0.5,y+0.5)を示す。
Further, b1 (x, y) and b1 (x
+1, y + 1), b2 (x, y) and b2 (x + 1, y +
The half pixel between 1) and b1 (x + 0.5, y + 0.5) = {b1 (x, y) + b1 (x + 1, y) + b1 (x, y + 1) + b1 (x +
1, y + 1)} / 4 b2 (x + 0.5, y + 0.5) = {b2 (x, y) + b2 (x + 1, y) + b2 (x, y + 1) + b2 (x +
1, y + 1)} / 4, and each half pixel b1 (x + 0.5, y +
0.5) and b2 (x + 0.5, y + 0.5).

【0202】加算器3283では、第1データ入力端子
Aを介してひとつ下のPE(x,y+1)の乗算器32
92から {b1(x,y+1)+b1(x+1,y+1)}/2-a2(x,y) および {b2(x,y+1)+b2(x+1,y+1)}/2-a1(x,y) が入力され、第2データ入力端子Bを介して乗算器32
92から {b1(x,y)+b1(x+1,y)}/2-a2(x,y) および {b2(x,y)+b2(x+1,y)}/2-a1(x,y) が入力され、 {b1(x,y)+b1(x+1,y)}/2-a2(x,y) + {b1(x,y+1)+b1(x+1,
y+1)}/2-a2(x,y) および {b2(x,y)+b2(x+1,y)}/2-a1(x,y) + {b2(x,y+1)+b2(x+1,
y+1)}/2-a1(x,y) が演算され、データ出力端子Yを介して出力される。乗
算器3293では、上記データに1/2が乗算され、正
数変換器3223によって、正数変換され、 |b1(x+0.5,y+0.5)-a2(x,y)| および |b2(x+0.5,y+0.5)-a1(x,y)| が、データ出力端子から出力される。
In the adder 3283, the multiplier 32 of the next lower PE (x, y + 1) is input via the first data input terminal A.
From 92, {b1 (x, y + 1) + b1 (x + 1, y + 1)} / 2-a2 (x, y) and {b2 (x, y + 1) + b2 (x + 1, y +1)} / 2-a1 (x, y) is input to the multiplier 32 via the second data input terminal B.
From 92, {b1 (x, y) + b1 (x + 1, y)} / 2-a2 (x, y) and {b2 (x, y) + b2 (x + 1, y)} / 2-a1 (x, y) is input and {b1 (x, y) + b1 (x + 1, y)} / 2-a2 (x, y) + {b1 (x, y + 1) + b1 (x + 1,
y + 1)} / 2-a2 (x, y) and {b2 (x, y) + b2 (x + 1, y)} / 2-a1 (x, y) + {b2 (x, y + 1 ) + b2 (x + 1,
y + 1)} / 2-a1 (x, y) is calculated and output via the data output terminal Y. The multiplier 3293 multiplies the data by 1 /, converts the data to a positive number by a positive number converter 3223, and outputs | b1 (x + 0.5, y + 0.5) -a2 (x, y) | and | b2 ( x + 0.5, y + 0.5) -a1 (x, y) | is output from the data output terminal.

【0203】加算器3273内の加算器3230では、
第1データ入力端子Aを介して上記データが入力され、
第2データ入力端子Bを介して入力されるデータ0と加
算され、 |b1(x+0.5,y+0.5)-a2(x,y)| および |b2(x+0.5,y+0.5)-a1(x,y)| が、データ出力端子Yを介して出力され、フリップフロ
ップ3243にデータ入力端子Aを介して、入力保持さ
れる。
In the adder 3230 in the adder 3273,
The data is input via a first data input terminal A,
Is added to the data 0 input through the second data input terminal B, and | b1 (x + 0.5, y + 0.5) -a2 (x, y) | and | b2 (x + 0.5, y + 0.5)- a1 (x, y) | is output through the data output terminal Y, and is input and held in the flip-flop 3243 through the data input terminal A.

【0204】次いで、クロックパルス信号CK1の11
クロック目に同期して、画素データb1(x,y+1)
およびb2(x,y+1)が、フリップフロップ312
0からデータ出力端子Yを介して出力され、減算器32
10に第1データ入力端子Aを介して入力される。同時
に、減算器3210の第2データ入力端子Bを介して、
現画像データ出力ユニット1000から画素データa2
(x,y+1)およびa1(x,y+1)が入力され、 b1(x,y+1)-a2(x,y+1) および b2(x,y+1)-a1(x,y+1) が演算され、データ出力端子Yから出力される。
Next, 11 of the clock pulse signal CK1
In synchronization with the clock, the pixel data b1 (x, y + 1)
And b2 (x, y + 1) are the flip-flop 312
0 through the data output terminal Y,
10 through a first data input terminal A. At the same time, via the second data input terminal B of the subtractor 3210,
Pixel data a2 from the current image data output unit 1000
(X, y + 1) and a1 (x, y + 1) are input, and b1 (x, y + 1) -a2 (x, y + 1) and b2 (x, y + 1) -a1 (x, y + 1) ) Is calculated and output from the data output terminal Y.

【0205】正数変換器3220では、上記データがデ
ータ入力端子Aから入力され、正数変換され、 |b1(x,y+1)-a2(x,y+1)| および |b2(x,y+1)-a1(x,y+1)| が、データ出力端子Yから出力される。
In the positive number converter 3220, the above data is input from the data input terminal A, is converted to a positive number, and | b1 (x, y + 1) -a2 (x, y + 1) | and | b2 (x , y + 1) -a1 (x, y + 1) | is output from the data output terminal Y.

【0206】加算器3270内の加算器3230では、
第1データ入力端子Aを介して上記データが入力され
る。また、前クロックで計算され、フリップフロップ3
240に保持されたデータが、データ出力端子Yを介し
て出力され、加算器3270内の論理積演算器3260
を通して、加算器3230の第2データ入力端子Bを介
して入力される。加算器3230では、上記二つのデー
タが加算され、 |b1(x,y) -a2(x,y)|+|b1(x,y+1)-a2(x,y+1)| および |b2(x,y) -a1(x,y)|+|b2(x,y+1)-a1(x,y+1)| が算出されて、データ出力端子Yを介して出力され、フ
リップフロップ3240にデータ入力端子Aを介して、
入力保持される。
At the adder 3230 in the adder 3270,
The data is input via the first data input terminal A. In addition, the flip-flop 3
The data held in 240 is output via data output terminal Y, and logical product operator 3260 in adder 3270
Through the second data input terminal B of the adder 3230. In the adder 3230, the above two data are added, and | b1 (x, y) -a2 (x, y) | + | b1 (x, y + 1) -a2 (x, y + 1) | and | b2 (x, y) -a1 (x, y) | + | b2 (x, y + 1) -a1 (x, y + 1) | is output via the data output terminal Y, Via the data input terminal A to the
Input is retained.

【0207】また、加算器3281では、第1データ入
力端子Aを介して減算器3210から b1(x,y+1)-a2(x,y+1) および b2(x,y+1)-a1(x,y+1) が入力され、第2データ入力端子Bを介してひとつ下の
PE(x,y+1)の減算器3210から b1(x,y+2)-a2(x,y+1) および b2(x,y+2)-a1(x,y+1) がそれぞれ入力され、 b1(x,y+1)-a2(x,y+1) + b1(x,y+2)-a2(x,y+1) および b2(x,y+1)-a1(x,y+1) + b2(x,y+2)-a1(x,y+1) が演算され、データ出力端子Yを介して出力される。乗
算器3291では、上記データに1/2が乗算され、 {b1(x,y+1)+b1(x,y+2)}/2-a2(x,y+1) および {b2(x,y+1)+b2(x,y+2)}/2-a1(x,y+1) が、データ出力端子Yを介して出力される。正数変換器
3221では、上記データがデータ入力端子Aを介して
入力され、正数変換され、 |b1(x,y+1.5)-a2(x,y+1)| および |b2(x,y+1.5)-a1(x,y+1)| が、データ出力端子Yを介して出力される。
In the adder 3281, b1 (x, y + 1) -a2 (x, y + 1) and b2 (x, y + 1)-are output from the subtractor 3210 via the first data input terminal A. a1 (x, y + 1) is input, and b1 (x, y + 2) -a2 (x, y +) is input from the subtracter 3210 of the PE (x, y + 1) one below via the second data input terminal B. 1) and b2 (x, y + 2) -a1 (x, y + 1) are input, respectively, and b1 (x, y + 1) -a2 (x, y + 1) + b1 (x, y + 2 ) -a2 (x, y + 1) and b2 (x, y + 1) -a1 (x, y + 1) + b2 (x, y + 2) -a1 (x, y + 1) It is output via the data output terminal Y. The multiplier 3291 multiplies the data by 1 /, and {b1 (x, y + 1) + b1 (x, y + 2)} / 2−a2 (x, y + 1) and {b2 (x , y + 1) + b2 (x, y + 2)} / 2-a1 (x, y + 1) is output via the data output terminal Y. In the positive number converter 3221, the above data is input through the data input terminal A, is converted to a positive number, and | b1 (x, y + 1.5) -a2 (x, y + 1) | and | b2 (x, y + 1.5) -a1 (x, y + 1) | is output through the data output terminal Y.

【0208】ここで、 b1(x,y+1.5)={b1(x,y+1)+b1(x,y+2)}/2 b2(x,y+1.5)={b2(x,y+1)+b2(x,y+2)}/2 であり、b1(x,y+1.5)、b2(x,y+1.
5)は、それぞれb1(x,y+1)とb1(x,y+
2)、b2(x,y+1)とb2(x,y+2)との間
の1/2画素を示す。
Here, b1 (x, y + 1.5) = {b1 (x, y + 1) + b1 (x, y + 2)} / 2 b2 (x, y + 1.5) = {b2 (x, y + 1) + b2 (x, y + 2)} / 2, and b1 (x, y + 1.5), b2 (x, y + 1.
5) are b1 (x, y + 1) and b1 (x, y +
2) shows a half pixel between b2 (x, y + 1) and b2 (x, y + 2).

【0209】以下、b1(x+0.5,y+1)、b2
(x+0.5,y+1)、b1(x+0.5,y+1.
5)、b2(x+0.5,y+1.5)、b1(x+
1,y+1.5)、b2(x+1,y+1.5)、・・
・は、全て1/2画素を示す。加算器3271内の加算
器3230では、第1データ入力端子Aを介して上記デ
ータが入力される。また、前クロックで計算され、フリ
ップフロップ3241に保持されたデータが、データ出
力端子Yを介して出力され、加算器3271内の論理積
演算器3260を通して、加算器3230の第2データ
入力端子Bを介して入力される。加算器3230では、
上記二つのデータが加算され、 |b1(x,y+0.5)-a2(x,y)|+|b1(x,y+1.5)-a2(x,y+1)| および |b2(x,y+0.5)-a1(x,y)|+|b2(x,y+1.5)-a1(x,y+1)| が算出されて、データ出力端子Yを介して出力され、フ
リップフロップ3241にデータ入力端子Aを介して、
入力保持される。
Hereafter, b1 (x + 0.5, y + 1), b2
(X + 0.5, y + 1), b1 (x + 0.5, y + 1.
5), b2 (x + 0.5, y + 1.5), b1 (x +
1, y + 1.5), b2 (x + 1, y + 1.5),.
Indicates all 1/2 pixels. The data is input to the adder 3230 in the adder 3271 via the first data input terminal A. The data calculated at the previous clock and held in the flip-flop 3241 is output via the data output terminal Y and passed through the logical product operator 3260 in the adder 3271 to the second data input terminal B of the adder 3230. Is entered via In the adder 3230,
| B1 (x, y + 0.5) -a2 (x, y) | + | b1 (x, y + 1.5) -a2 (x, y + 1) | and | b2 (x , y + 0.5) -a1 (x, y) | + | b2 (x, y + 1.5) -a1 (x, y + 1) | is output via the data output terminal Y, and the flip-flop 3241 via the data input terminal A,
Input is retained.

【0210】また、加算器3282では、第1データ入
力端子Aを介して減算器3210から b1(x,y+1)-a2(x,y+1) および b2(x,y+1)-a1(x,y+1) が入力され、第2データ入力端子Bを介してひとつ右の
PE(x+1,y)の減算器3210から b1(x+1,y+1)-a2(x,y+1) および b2(x+1,y+1)-a1(x,y+1) が入力され、 b1(x,y+1)-a2(x,y+1) + b1(x+1,y+1)-a2(x,y+1) および b2(x,y+1)-a1(x,y+1) + b2(x+1,y+1)-a1(x,y+1) が演算され、データ出力端子Yを介して出力される。乗
算器3292では、上記データに1/2が乗算され、正
数変換器3222によって、正数変換され、 |b1(x+0.5,y+1)-a2(x,y+1)| および |b2(x+0.5,y+1)-a1(x,y+1)| が、データ出力端子Yから出力される。
Further, in the adder 3282, b1 (x, y + 1) -a2 (x, y + 1) and b2 (x, y + 1)-are output from the subtractor 3210 via the first data input terminal A. a1 (x, y + 1) is input, and b1 (x + 1, y + 1) -a2 (x, x) is output from the subtracter 3210 of the PE (x + 1, y) one to the right via the second data input terminal B. y + 1) and b2 (x + 1, y + 1) -a1 (x, y + 1) are input, and b1 (x, y + 1) -a2 (x, y + 1) + b1 (x + 1, y + 1) -a2 (x, y + 1) and b2 (x, y + 1) -a1 (x, y + 1) + b2 (x + 1, y + 1) -a1 (x, y +1) is calculated and output via the data output terminal Y. The multiplier 3292 multiplies the above data by 、, converts the data to a positive number by a positive number converter 3222, and obtains | b1 (x + 0.5, y + 1) -a2 (x, y + 1) | and | b2 (x + 0.5, y + 1) -a1 (x, y + 1) | is output from the data output terminal Y.

【0211】加算器3272内の加算器3230では、
第1データ入力端子Aを介して上記データが入力され
る。また、前クロックで計算され、フリップフロップ3
242に保持されたデータが、データ出力端子Yを介し
て出力され、加算器3272内の論理積演算器3260
を通して、加算器3230の第2データ入力端子Bを介
して入力される。加算器3230では、上記二つのデー
タが加算され、 |b1(x+0.5,y) -a2(x,y)|+|b1(x+0.5,y+1)-a2(x,y+1)| および |b2(x+0.5,y) -a1(x,y)|+|b2(x+0.5,y+1)-a1(x,y+1)| が算出されて、データ出力端子Yを介して出力され、フ
リップフロップ3242にデータ入力端子Aを介して、
入力保持される。
In the adder 3230 in the adder 3272,
The data is input via the first data input terminal A. In addition, the flip-flop 3
242 is output via a data output terminal Y, and an AND operator 3260 in an adder 3272
Through the second data input terminal B of the adder 3230. In the adder 3230, the above two data are added, and | b1 (x + 0.5, y) -a2 (x, y) | + | b1 (x + 0.5, y + 1) -a2 (x, y + 1 ) | And | b2 (x + 0.5, y) -a1 (x, y) | + | b2 (x + 0.5, y + 1) -a1 (x, y + 1) | Y and output to the flip-flop 3242 via the data input terminal A.
Input is retained.

【0212】また、加算器3283では、第1データ入
力端子Aを介してひとつ下のPE(x,y+1)の乗算
器3292から {b1(x,y+2)+b1(x+1,y+2)}/2-a2(x,y+1) および {b2(x,y+2)+b2(x+1,y+2)}/2-a1(x,y+1) が入力され、第2データ入力端子Bを介して乗算器32
92から {b1(x,y+1)+b1(x+1,y+1)}/2-a2(x,y+1) および {b2(x,y+1)+b2(x+1,y+1)}/2-a1(x,y+1) が入力され、 {b1(x,y+1)+b1(x+1,y+1)}/2-a2(x,y+1)+ {b1(x,y+2)+b1
(x+1,y+2)}/2-a2(x,y+1) および {b2(x,y+1)+b2(x+1,y+1)}/2-a1(x,y+1)+ {b2(x,y+2)+b2
(x+1,y+2)}/2-a1(x,y+1) が演算され、データ出力端子Yを介して出力される。乗
算器3293では、上記データに1/2が乗算され、正
数変換器3223によって、正数変換され、 |b1(x+0.5,y+1.5)-a2(x,y+1)| および |b2(x+0.5,y+1.5)-a1(x,y+1)| が、データ出力端子Yから出力される。
The adder 3283 outputs {b1 (x, y + 2) + b1 (x + 1, y) from the multiplier 3292 of the next lower PE (x, y + 1) via the first data input terminal A. +2)} / 2-a2 (x, y + 1) and {b2 (x, y + 2) + b2 (x + 1, y + 2)} / 2-a1 (x, y + 1) And a multiplier 32 via the second data input terminal B.
From 92, {b1 (x, y + 1) + b1 (x + 1, y + 1)} / 2-a2 (x, y + 1) and {b2 (x, y + 1) + b2 (x + 1 , y + 1)} / 2-a1 (x, y + 1) and {b1 (x, y + 1) + b1 (x + 1, y + 1)} / 2-a2 (x, y +1) + (b1 (x, y + 2) + b1
(x + 1, y + 2)} / 2-a2 (x, y + 1) and {b2 (x, y + 1) + b2 (x + 1, y + 1)} / 2-a1 (x, y + 1) + (b2 (x, y + 2) + b2
(x + 1, y + 2)} / 2-a1 (x, y + 1) is calculated and output via the data output terminal Y. The multiplier 3293 multiplies the data by 1 /, converts the data to a positive number by the positive number converter 3223, and outputs | b1 (x + 0.5, y + 1.5) -a2 (x, y + 1) | and | b2 (x + 0.5, y + 1.5) -a1 (x, y + 1) | is output from the data output terminal Y.

【0213】加算器3273内の加算器3230では、
第1データ入力端子Aを介して上記データが入力され
る。また、前クロックで計算され、フリップフロップ3
243に保持されたデータが、データ出力端子Yを介し
て出力され、加算器3273内の論理積演算器3260
を通して、加算器3230の第2データ入力端子Bを介
して入力される。加算器3230では、上記二つのデー
タが加算され、 |b1(x+0.5,y+0.5)-a2(x,y)|+|b1(x+0.5,y+1.5)-a2(x,y
+1)| および |b2(x+0.5,y+0.5)-a1(x,y)|+|b2(x+0.5,y+1.5)-a1(x,y
+1)| が算出されて、データ出力端子Yを介して出力され、フ
リップフロップ3243にデータ入力端子Aを介して、
入力保持される。
In the adder 3230 in the adder 3273,
The data is input via the first data input terminal A. In addition, the flip-flop 3
243 is output via a data output terminal Y, and an AND operator 3260 in an adder 3273 is output.
Through the second data input terminal B of the adder 3230. In the adder 3230, the above two data are added, and | b1 (x + 0.5, y + 0.5) -a2 (x, y) | + | b1 (x + 0.5, y + 1.5) -a2 (x, y
+1) | and | b2 (x + 0.5, y + 0.5) -a1 (x, y) | + | b2 (x + 0.5, y + 1.5) -a1 (x, y
+1) | is calculated and output via the data output terminal Y, and is output to the flip-flop 3243 via the data input terminal A.
Input is retained.

【0214】同様にして、処理を続け、最終的にクロッ
クパルス信号CK1の18クロック目に同期して、加算
器3270内の加算器3230により および が算出されて、データ出力端子Yから出力され、フリッ
プフロップ3240にデータ入力端子Aを介して、入力
保持される。上記式(e1)、(e2)をディストーシ
ョンD(x,y)とし、特に、式(e1)をD1(x,
y)、式(e2)をD2(x,y)とする。
Similarly, the processing is continued, and finally, by the adder 3230 in the adder 3270, in synchronization with the 18th clock of the clock pulse signal CK1. and Is calculated, output from the data output terminal Y, and input and held by the flip-flop 3240 via the data input terminal A. Equations (e1) and (e2) are defined as distortion D (x, y), and in particular, equation (e1) is defined as D1 (x, y).
y), and equation (e2) is D2 (x, y).

【0215】また、加算器3271内の加算器3230
では、 および が算出されて、データ出力端子Yから出力され、フリッ
プフロップ3241にデータ入力端子Aを介して、入力
保持される。上記式(e3)、(e4)をディストーシ
ョンD(x,y+0.5)とし、特に、式(e3)をD
1(x,y+0.5)、式(e4)をD2(x,y+
0.5)とする。
The adder 3230 in the adder 3271
Then and Is calculated, output from the data output terminal Y, and input and held by the flip-flop 3241 via the data input terminal A. Equations (e3) and (e4) are defined as distortion D (x, y + 0.5).
1 (x, y + 0.5) and equation (e4) are converted to D2 (x, y +
0.5).

【0216】また、加算器3272内の加算器3230
では、 および が算出されて、データ出力端子Yから出力され、フリッ
プフロップ3242にデータ入力端子Aを介して、入力
保持される。上記式(e5)、(e6)をディストーシ
ョンD(x+0.5,y)とし、特に、式(e5)をD
1(x+0.5,y)、式(e6)をD2(x+0.
5,y)とする。
The adder 3230 in the adder 3272
Then and Is calculated, output from the data output terminal Y, and input and held by the flip-flop 3242 via the data input terminal A. Equations (e5) and (e6) are defined as distortion D (x + 0.5, y).
1 (x + 0.5, y) and equation (e6) are converted to D2 (x + 0.
5, y).

【0217】また、加算器3273内の加算器3230
では、 および が算出されて、データ出力端子Yから出力され、フリッ
プフロップ3243にデータ入力端子Aを介して、入力
保持される。上記式(e7)、(e8)をディストーシ
ョンD(x+0.5,y+0.5)とし、特に、式(e
7)をD1(x+0.5,y+0.5)、式(e8)を
D2(x+0.5,y+0.5)とする。
The adder 3230 in the adder 3273
Then and Is calculated, output from the data output terminal Y, and input and held by the flip-flop 3243 via the data input terminal A. Equations (e7) and (e8) are defined as distortion D (x + 0.5, y + 0.5).
7) is D1 (x + 0.5, y + 0.5), and equation (e8) is D2 (x + 0.5, y + 0.5).

【0218】また、偶数列のプロセッサエレメントPE
(x,y)においても同様に、クロックパルス信号CK
1の18クロック目に同期して、加算器3270内の加
算器3230により および が算出されて、データ出力端子Yから出力され、フリッ
プフロップ3240にデータ入力端子Aを介して、入力
保持される。上記式(e9)、(e10)は、式(e
1)、(e2)と同値である。よって、全てのプロセッ
サエレメントPE(x,y)において、対応するディス
トーションD(x,y)が求められたことになる。
The processor elements PE in the even columns are
Similarly, in (x, y), the clock pulse signal CK
In synchronization with the eighteenth clock of 1, the adder 3230 in the adder 3270 and Is calculated, output from the data output terminal Y, and input and held by the flip-flop 3240 via the data input terminal A. The equations (e9) and (e10) are obtained by the equation (e)
1) and (e2). Therefore, the corresponding distortion D (x, y) has been obtained in all the processor elements PE (x, y).

【0219】また、加算器3271、3272、327
3においても、奇数列のプロセッサエレメントと同様
に、対応するディストーションD(x,y+0.5)、
D(x+0.5,y)、D(x+0.5,y+0.5)
が求められる。次に、期間c18において、パルス信号
LD1が1となり、セレクタ3310に信号入力端子S
を介して入力される。これにより、セレクタ3310で
はデータ入力端子Bとデータ出力端子Yが電気的に接続
される。
The adders 3271, 3272, 327
3, the corresponding distortions D (x, y + 0.5),
D (x + 0.5, y), D (x + 0.5, y + 0.5)
Is required. Next, in the period c18, the pulse signal LD1 becomes 1, and the selector 3310 supplies the signal input terminal S
Is entered via Thus, in the selector 3310, the data input terminal B and the data output terminal Y are electrically connected.

【0220】同様に、セレクタ3311、3312、3
313にも信号入力端子Sを介してパルス信号LD1が
入力され、セレクタ3311、3312、3313はデ
ータ入力端子Bとデータ出力端子Yが電気的に接続され
る。次いで、クロックパルス信号CK1の19クロック
目に同期して、上記ディストーションD(x,y)が、
フリップフロップ3240のデータ出力端子Yを介して
出力され、セレクタ3310に第2データ入力端子Bを
介して入力される。セレクタ3310の第2データ入力
端子Bを介して入力されたD(x,y)は、データ出力
端子Yを介して出力され、フリップフロップ3320に
データ入力端子Aを介して入力保持される。
Similarly, the selectors 3311, 3312, 312
The pulse signal LD1 is also input to the signal 313 via the signal input terminal S, and the data input terminal B and the data output terminal Y of the selectors 3311, 3312, 3313 are electrically connected. Next, in synchronization with the nineteenth clock of the clock pulse signal CK1, the distortion D (x, y) becomes
The data is output via the data output terminal Y of the flip-flop 3240 and is input to the selector 3310 via the second data input terminal B. D (x, y) input through the second data input terminal B of the selector 3310 is output through the data output terminal Y, and is input and held by the flip-flop 3320 through the data input terminal A.

【0221】同時に、上記ディストーションD(x,y
+0.5)、D(x+0.5,y)、D(x+0.5,
y+0.5)が、フリップフロップ3241、324
2、3243のデータ出力端子Yを介して出力され、セ
レクタ3311、3312、3313に第2データ入力
端子Bを介して入力される。セレクタ3311、331
2、3313の第2データ入力端子Bを介して入力され
たD(x,y+0.5)、D(x+0.5,y)、D
(x+0.5,y+0.5)は、データ出力端子Yを介
して出力され、フリップフロップ3321、3322、
3323にデータ入力端子Aを介して入力保持される。
At the same time, the distortion D (x, y
+0.5), D (x + 0.5, y), D (x + 0.5,
y + 0.5) are the flip-flops 3241 and 324
2, 3243, and output to the selectors 3311, 3312, 3313 via the second data input terminal B. Selectors 3311, 331
2, D (x, y + 0.5), D (x + 0.5, y), D (x) input through the second data input terminal B of 3313
(X + 0.5, y + 0.5) is output via the data output terminal Y, and the flip-flops 3321, 3322,
The input is held at 3323 via the data input terminal A.

【0222】次いで、期間c19において、パルス信号
LD1は0となるため、セレクタ3310では、第1デ
ータ入力端子Aとデータ出力端子Yが電気的に接続さ
れ、以後パルス信号LD1が変更されるまでセレクタ3
310では、第1データ入力端子Aを介して入力される
データが選択される。同時に、セレクタ3311、33
12、3313でも、第1データ入力端子Aとデータ出
力端子Yが電気的に接続され、以後パルス信号LD1が
変更されるまでセレクタ3311、3312、3313
では、第1データ入力端子Aを介して入力されるデータ
が選択される。
Next, in the period c19, since the pulse signal LD1 becomes 0, in the selector 3310, the first data input terminal A and the data output terminal Y are electrically connected, and thereafter the selector 3310 is switched until the pulse signal LD1 is changed. 3
At 310, data input via the first data input terminal A is selected. At the same time, the selectors 3311 and 3311
Also in 12 and 3313, the first data input terminal A and the data output terminal Y are electrically connected, and the selectors 3311, 3312, and 3313 thereafter until the pulse signal LD1 is changed.
In the example, data input through the first data input terminal A is selected.

【0223】さらに、クロックパルス信号CK1の20
クロック目に同期して、ディストーションD(x,y)
は、PE(x,y)のフリップフロップ3320のデー
タ出力端子Yを介して出力され、PE(x,y)のデー
タ出力端子DIoを介して、ブロック特定ユニット60
00または別のPE(x−1,y)へ転送される。同時
に、ディストーションD(x,y+0.5)、D(x+
0.5,y)、D(x+0.5,y+0.5)は、PE
(x,y)のフリップフロップ3321、3322、3
323のデータ出力端子Yを介して出力され、PE
(x,y)のデータ出力端子DVo、DHo、DDoを
介して、ブロック特定ユニット6000または別のPE
(x−1,y)へ転送される。
Further, 20 of the clock pulse signal CK1
In synchronization with the clock, the distortion D (x, y)
Is output via the data output terminal Y of the flip-flop 3320 of PE (x, y), and is output via the data output terminal DIo of PE (x, y).
00 or another PE (x-1, y). At the same time, distortion D (x, y + 0.5), D (x +
0.5, y) and D (x + 0.5, y + 0.5) are PE
(X, y) flip-flops 3321, 3322, 3
323 is output through the data output terminal Y,
Via the (x, y) data output terminals DVo, DHo, DDo, the block specifying unit 6000 or another PE
(X-1, y).

【0224】ここで、D(0,y)がPE(0,y)か
らブロック特定ユニット6000へ出力される。また、
別のPE(x−1,y)へ転送されるD(x,y)は、
PE(x−1,y)の入力端子DIiを介して入力さ
れ、PE(x−1,y)のセレクタ3310に第1デー
タ入力端子Aを介して入力される。セレクタ3310に
入力されたD(x,y)は、データ出力端子Yを介して
出力され、フリップフロップ3320にデータ入力端子
Aを介して入力保持される。
Here, D (0, y) is output from PE (0, y) to block specifying unit 6000. Also,
D (x, y) transferred to another PE (x-1, y) is
The signal is input via the input terminal DIi of PE (x-1, y), and is input to the selector 3310 of PE (x-1, y) via the first data input terminal A. D (x, y) input to the selector 3310 is output via the data output terminal Y, and is input and held in the flip-flop 3320 via the data input terminal A.

【0225】また、D(0,y+0.5)、D(0.
5,y)、D(0.5,y+0.5)がPE(0,y)
からブロック特定ユニット6000へ出力される。別の
PE(x−1,y)へ転送されるD(x,y+0.
5)、D(x+0.5,y)、D(x+0.5,y+
0.5)は、PE(x−1,y)に入力端子DVi、D
Hi、DDiを介して入力され、PE(x−1,y)の
セレクタ3311、3312、3313に第1データ入
力端子Aを介して入力される。セレクタ3311、33
12、3313に入力されたD(x,y+0.5)、D
(x+0.5,y)、D(x+0.5,y+0.5)
は、データ出力端子Yを介して出力され、フリップフロ
ップ3321、3322、3323にデータ入力端子A
を介して入力保持される。
Also, D (0, y + 0.5), D (0.
5, y), D (0.5, y + 0.5) is PE (0, y)
Is output to the block specifying unit 6000. D (x, y + 0...) Transferred to another PE (x−1, y)
5), D (x + 0.5, y), D (x + 0.5, y +
0.5) is connected to the input terminals DVi, DVi at PE (x−1, y).
It is input via Hi and DDi, and is input via the first data input terminal A to the selectors 3311, 3312, and 3313 of PE (x-1, y). Selectors 3311, 33
D (x, y + 0.5) input to 12, 3313, D
(X + 0.5, y), D (x + 0.5, y + 0.5)
Is output via the data output terminal Y, and the flip-flops 3321, 3322, 3323 are connected to the data input terminal A.
The input is held via.

【0226】さらに、クロックパルス信号CK1の21
クロック目に同期して、ディストーションD(x,y)
は、PE(x−1,y)のフリップフロップ3320の
データ出力端子Yを介して出力され、PE(x−1,
y)のデータ出力端子DIoを介して、ブロック特定ユ
ニット6000または別のPE(x−2,y)へ転送さ
れる。
Further, 21 of the clock pulse signal CK1
In synchronization with the clock, the distortion D (x, y)
Is output via the data output terminal Y of the flip-flop 3320 of PE (x−1, y), and PE (x−1, y) is output.
The data is transferred to the block identification unit 6000 or another PE (x-2, y) via the data output terminal DIo of y).

【0227】同時に、ディストーションD(x,y+
0.5)、D(x+0.5,y)、D(x+0.5,y
+0.5)は、PE(x−1,y)のフリップフロップ
3321、3322、3323のデータ出力端子Yを介
して出力され、PE(x−1,y)のデータ出力端子D
Vo、DHo、DDoを介して、ブロック特定ユニット
6000または別のPE(x−2,y)へ転送される。
At the same time, distortion D (x, y +
0.5), D (x + 0.5, y), D (x + 0.5, y)
+0.5) is output via the data output terminals Y of the flip-flops 3321, 3322, and 3323 of PE (x-1, y), and the data output terminal D of PE (x-1, y).
Via Vo, DHo, DDo, it is transferred to the block identification unit 6000 or another PE (x-2, y).

【0228】ここで、D(1,y)がPE(0,y)か
らブロック特定ユニット6000へ出力される。また、
別のPE(x−2,y)へ転送されるD(x,y)は、
PE(x−2,y)の入力端子DIiを介して入力さ
れ、PE(x−2,y)のセレクタ3310に第1デー
タ入力端子Aを介して入力される。セレクタ3310に
入力されたD(x,y)は、データ出力端子Yを介して
出力され、フリップフロップ3320にデータ入力端子
Aを介して入力保持される。
Here, D (1, y) is output from PE (0, y) to block specifying unit 6000. Also,
D (x, y) transferred to another PE (x-2, y) is
The signal is input through the input terminal DIi of PE (x−2, y), and is input to the selector 3310 of PE (x−2, y) through the first data input terminal A. D (x, y) input to the selector 3310 is output via the data output terminal Y, and is input and held in the flip-flop 3320 via the data input terminal A.

【0229】また、D(1,y+0.5)、D(1.
5,y)、D(1.5,y+0.5)がPE(0,y)
からブロック特定ユニット6000へ出力される。別の
PE(x−2,y)へ転送されるD(x,y+0.
5)、D(x+0.5,y)、D(x+0.5,y+
0.5)は、PE(x−2,y)に入力端子DVi、D
Hi、DDiを介して入力され、PE(x−2,y)の
セレクタ3311、3312、3313に第1データ入
力端子Aを介して入力される。セレクタ3311、33
12、3313に入力されたD(x,y+0.5)、D
(x+0.5,y)、D(x+0.5,y+0.5)
は、データ出力端子Yを介して出力され、フリップフロ
ップ3321、3322、3323にデータ入力端子A
を介して入力保持される。
In addition, D (1, y + 0.5), D (1.
5, y), D (1.5, y + 0.5) is PE (0, y)
Is output to the block specifying unit 6000. D (x, y + 0...) Transferred to another PE (x−2, y)
5), D (x + 0.5, y), D (x + 0.5, y +
0.5) is connected to input terminals DVi and DVi at PE (x−2, y).
It is input via Hi and DDi, and is input via the first data input terminal A to the selectors 3311, 3312, 3313 of the PE (x-2, y). Selectors 3311, 33
D (x, y + 0.5) input to 12, 3313, D
(X + 0.5, y), D (x + 0.5, y + 0.5)
Is output via the data output terminal Y, and the flip-flops 3321, 3322, 3323 are connected to the data input terminal A.
The input is held via.

【0230】さらに、クロックパルス信号CK1の22
クロック目に同期して、ディストーションD(x,y)
は、PE(x−2,y)のフリップフロップ3320の
データ出力端子Yを介して出力され、PE(x−2,
y)のデータ出力端子DIoを介して、ブロック特定ユ
ニット6000へ転送される。同時に、ディストーショ
ンD(x,y+0.5)、D(x+0.5,y)、D
(x+0.5,y+0.5)は、PE(x−2,y)の
フリップフロップ3321、3322、3323のデー
タ出力端子Yを介して出力され、PE(x−2,y)の
データ出力端子DVo、DHo、DDoを介して、ブロ
ック特定ユニット6000へ転送される。
Further, 22 of the clock pulse signal CK1
In synchronization with the clock, the distortion D (x, y)
Is output via the data output terminal Y of the flip-flop 3320 of PE (x−2, y), and PE (x−2, y) is output.
The data is transferred to the block specifying unit 6000 via the data output terminal DIo of y). At the same time, distortion D (x, y + 0.5), D (x + 0.5, y), D
(X + 0.5, y + 0.5) is output via the data output terminal Y of the flip-flops 3321, 3322, and 3323 of the PE (x-2, y), and is output from the data output terminal of the PE (x-2, y). The data is transferred to the block specifying unit 6000 via DVo, DHo, and DDo.

【0231】ここで、D(2,y)がPE(0,y)か
らブロック特定ユニット6000へ出力される。また、
D(2,y+0.5)、D(2.5,y)、D(2.
5,y+0.5)がPE(0,y)からブロック特定ユ
ニット6000へ出力される。以上の動作により、全て
のプロセッサエレメントPE(x,y)で算出されたデ
ィストーションD(x,y)、D(x,y+0.5)、
D(x+0.5,y)、D(x+0.5,y+0.5)
が転送されながら、ブロック特定ユニット6000に出
力される。
Here, D (2, y) is output from PE (0, y) to block specifying unit 6000. Also,
D (2, y + 0.5), D (2.5, y), D (2.
(5, y + 0.5) is output from the PE (0, y) to the block specifying unit 6000. By the above operation, the distortions D (x, y), D (x, y + 0.5), calculated for all the processor elements PE (x, y),
D (x + 0.5, y), D (x + 0.5, y + 0.5)
Is output to the block specifying unit 6000 while being transferred.

【0232】次に、ブロック特定ユニット6000にお
ける動きベクトル検出処理について説明する。ブロック
特定ユニット6000では、パルス信号CK2の20ク
ロック目に同期して、第1プロセッサエレメントグルー
プのPE(0,0)によって求められたディストーショ
ンD1(0,0),D1(0,0.5),D1(0.
5,0),D1(0.5,0.5)、PE(0,1)に
よって求められたディストーションD1(0,1),D
1(0,1.5),D1(0.5,1),D1(0.
5,1.5)、PE(0,2)によって求められたディ
ストーションD1(0,2),D1(0.5,2)が、
加算ユニット6100のセレクタ6110に各データ入
力端子D1〜D10を介してそれぞれ入力される。
Next, the motion vector detection processing in the block specifying unit 6000 will be described. In the block specifying unit 6000, in synchronization with the 20th clock of the pulse signal CK2, the distortions D1 (0,0) and D1 (0,0.5) obtained by the PE (0,0) of the first processor element group. , D1 (0.
5,0), D1 (0.5,0.5), distortion D1 (0,1), D obtained by PE (0,1)
1 (0, 1.5), D1 (0.5, 1), D1 (0.
5,1.5), the distortions D1 (0,2) and D1 (0.5,2) obtained by PE (0,2) are
The data is input to the selector 6110 of the addition unit 6100 via each of the data input terminals D1 to D10.

【0233】また、第2プロセッサエレメントグループ
のPE(0,5)によって求められたディストーション
D2(0,0),D2(0,0.5),D2(0.5,
0),D2(0.5,0.5)、PE(0,6)によっ
て求められたディストーションD2(0,1),D2
(0,1.5),D2(0.5,1),D2(0.5,
1.5)、PE(0,7)によって求められたディスト
ーションD2(0,2),D2(0.5,2)が、加算
ユニット6100のセレクタ6120に各データ入力端
子D1〜D10を介してそれぞれ入力される。
The distortions D2 (0,0), D2 (0,0.5), D2 (0.5, 0.5) obtained by the PE (0,5) of the second processor element group.
0), D2 (0.5, 0.5), distortion D2 (0, 1), D2 determined by PE (0, 6)
(0, 1.5), D2 (0.5, 1), D2 (0.5,
1.5), distortions D2 (0,2) and D2 (0.5,2) obtained by PE (0,7) are supplied to selector 6120 of addition unit 6100 via data input terminals D1 to D10. Each is entered.

【0234】次いで、パルス信号CK2の21クロック
目に同期して、第1プロセッサエレメントグループのP
E(1,0)によって求められたディストーションD1
(1,0),D1(1,0.5),D1(1.5,
0),D1(1.5,0.5)、PE(1,1)によっ
て求められたディストーションD1(1,1),D1
(1,1.5),D1(1.5,1),D1(1.5,
1.5)、PE(1,2)によって求められたディスト
ーションD1(1,2),D1(1.5,2)が、加算
ユニット6100のセレクタ6110に各データ入力端
子D1〜D10を介してそれぞれ入力される。
Next, in synchronization with the 21st clock of the pulse signal CK2, the P of the first processor element group
Distortion D1 determined by E (1,0)
(1, 0), D1 (1, 0.5), D1 (1.5,
0), D1 (1.5, 0.5), distortion D1 (1, 1), D1 determined by PE (1, 1)
(1, 1.5), D1 (1.5, 1), D1 (1.5,
1.5), the distortions D1 (1,2) and D1 (1.5,2) obtained by the PE (1,2) are supplied to the selector 6110 of the addition unit 6100 via the respective data input terminals D1 to D10. Each is entered.

【0235】また、第2プロセッサエレメントグループ
のPE(1,5)によって求められたディストーション
D2(1,0),D2(1,0.5),D2(1.5,
0),D2(1.5,0.5)、PE(1,6)によっ
て求められたディストーションD2(1,1),D2
(1,1.5),D2(1.5,1),D2(1.5,
1.5)、PE(1,7)によって求められたディスト
ーションD2(1,2),D2(1.5,2)が、加算
ユニット6100のセレクタ6120に各データ入力端
子D1〜D10を介してそれぞれ入力される。
Also, the distortions D2 (1,0), D2 (1,0.5), D2 (1.5, 1.5) obtained by the PE (1,5) of the second processor element group.
0), D2 (1.5, 0.5), distortion D2 (1, 1), D2 determined by PE (1, 6)
(1, 1.5), D2 (1.5, 1), D2 (1.5,
1.5), distortions D2 (1,2) and D2 (1.5,2) obtained by PE (1,7) are supplied to selector 6120 of addition unit 6100 via data input terminals D1 to D10. Each is entered.

【0236】次いで、パルス信号CK2の22クロック
目に同期して、第1プロセッサエレメントグループのP
E(2,0)によって求められたディストーションD1
(2,0),D1(2,0.5)、PE(2,1)によ
って求められたディストーションD1(2,1),D1
(2,1.5)、PE(2,2)によって求められたデ
ィストーションD1(2,2)が、加算ユニット610
0のセレクタ6110に各データ入力端子D1〜D10
を介してそれぞれ入力される。
Next, in synchronization with the 22nd clock of the pulse signal CK2, P of the first processor element group
Distortion D1 determined by E (2,0)
(2,0), D1 (2,0.5), distortion D1 (2,1), D1 determined by PE (2,1)
(2, 1.5), the distortion D1 (2, 2) obtained by PE (2, 2) is added to the addition unit 610.
0 selector 6110 has data input terminals D1 to D10.
Respectively.

【0237】また、第2プロセッサエレメントグループ
のPE(2,5)によって求められたディストーション
D2(2,0),D2(2,0.5)、PE(2,6)
によって求められたディストーションD2(2,1),
D2(2,1.5)、PE(2,7)によって求められ
たディストーションD2(2,2)が、加算ユニット6
100のセレクタ6120に各データ入力端子D1〜D
10を介してそれぞれ入力される。
The distortions D2 (2,0), D2 (2,0.5), PE (2,6) obtained by the PE (2,5) of the second processor element group.
Distortion D2 (2,1) obtained by
The distortion D2 (2,2) determined by D2 (2,1.5) and PE (2,7) is added to the addition unit 6
100 selectors 6120 have respective data input terminals D1 to D
10 respectively.

【0238】上記セレクタ6110,6120に入力さ
れた各ディストーションD1(x,y)、D2(x,
y)は、差分動きベクトル探索の対象となるディストー
ションがあれば、モード設定信号MDによりあらかじめ
定義された内容(後述)に従い対応するレジスタ613
0,6140の各RE1からRE9にそれぞれ出力され
る。
Each of the distortions D1 (x, y) and D2 (x, x) input to the selectors 6110 and 6120 is inputted.
y), if there is a distortion to be searched for the differential motion vector, the corresponding register 613 is set according to the content (described later) defined in advance by the mode setting signal MD.
0, and 6140 are output to RE1 to RE9, respectively.

【0239】ここでは、差分動きベクトルを用いてレジ
スタ6130のRE1〜RE9に入力されるディストー
ションD(v,h)を、D1(1,−1),D1(0,
−1),D1(−1,−1),D1(1,0),D1
(0,0),D1(−1,0),D1(1,1),D1
(0,1),D1(−1,1)とし、レジスタ6140
のRE1〜RE9に入力されるディストーションをD2
(1,−1),D2(0,−1),D2(−1,−
1),D2(1,0),D2(0,0),D2(−1,
0),D2(1,1),D2(0,1),D2(−1,
1)とする。
Here, the distortion D (v, h) input to RE1 to RE9 of the register 6130 using the differential motion vector is converted to D1 (1, -1), D1 (0,
-1), D1 (-1, -1), D1 (1, 0), D1
(0,0), D1 (-1,0), D1 (1,1), D1
(0, 1) and D1 (-1, 1), and the register 6140
The distortion input to RE1 to RE9 is D2
(1, -1), D2 (0, -1), D2 (-1,-
1), D2 (1,0), D2 (0,0), D2 (-1,
0), D2 (1,1), D2 (0,1), D2 (-1,
1).

【0240】次いで、信号LD2に同期して、レジスタ
6130,6140に格納された各ディストーションD
1(v,h)、D2(v,h)が、加算器6150に入
力され、それぞれのRE1とRE1、RE2とRE2、
・・・RE9とRE9から出力されたディストーション
D(v,h)が、加算器6150のADD1、ADD
2、・・・ADD9にそれぞれ加算され、出力される。
Next, in synchronization with signal LD2, each distortion D stored in registers 6130 and 6140 is output.
1 (v, h) and D2 (v, h) are input to the adder 6150, and RE1 and RE1, RE2 and RE2, respectively.
... the distortions D (v, h) output from RE9 and RE9 are added to ADD1 and ADD of adder 6150
2,... ADD9 are added and output.

【0241】以下、加算後のそれぞれのディストーショ
ンD(v,h)を、D(1,−1),D(0,1),D
(−1,−1),D(1,0),D(0,0),D(−
1,0),D(1,1),D(0,1),D(−1,
1)とする。加算器6150のADD1、ADD2、・
・・ADD9から出力された各ディストーションD
(v,h)は、ディストーション特定ユニット6200
のセレクタ6210の各データ入力端子A1〜A9に入
力される。
Hereinafter, the distortions D (v, h) after the addition are represented by D (1, −1), D (0, 1), D (0, 1).
(-1, -1), D (1, 0), D (0, 0), D (-
1,0), D (1,1), D (0,1), D (-1,
1). ADD1, ADD2,.
..Each distortion D output from ADD9
(V, h) is the distortion specifying unit 6200
Are input to the respective data input terminals A1 to A9 of the selector 6210.

【0242】セレクタ6210では、パルス信号CK2
の24クロック目から32クロック目まで上記ディスト
ーションD(v,h)が、パルス信号CK2に同期して
一つずつ順次出力される。また、期間c22において、
パルス信号LD2に同期して、論理和演算器6250に
信号入力端子Sを介して信号1が入力される。
At the selector 6210, the pulse signal CK2
The distortion D (v, h) is sequentially output one by one in synchronization with the pulse signal CK2 from the 24th clock to the 32nd clock. In the period c22,
The signal 1 is input to the OR calculator 6250 via the signal input terminal S in synchronization with the pulse signal LD2.

【0243】次いで、パルス信号CK2の24クロック
目に同期して、セレクタ6210では、ディストーショ
ンLMDis=D(1,−1)がデータ出力端子Yを介
して出力され、D(1,−1)のv、h成分を表わすL
Mv=1,LMh=−1が、データ出力端子M1,M2
を介して出力される。論理和演算器6250では、信号
入力端子Sを介して信号1が入力されているので、デー
タ入力端子Bを介して入力されているデータ、すなわ
ち、フリップフロップ6240のデータ出力端子Yから
出力され、入力されているデータに関わらず、データ出
力端子Yを介してすべてのビットが1のデータ、すなわ
ち、最大値のデータが出力される。比較器6220で
は、データ入力端子Aを介して入力されたD(1,−
1)と、データ入力端子Bを介して入力された上記最大
値のデータを比較し、D(1,−1)の方が小さいため
信号出力端子Yを介してMin=1が出力される。セレ
クタ6230では、信号入力端子Sを介して信号1が入
力されるため、データ入力端子Aを介して入力されてい
るD(1,−1)がデータ出力端子Yを介してフリップ
フロップ6240に出力される。
Next, in synchronization with the 24th clock of the pulse signal CK2, in the selector 6210, the distortion LMDis = D (1, -1) is output via the data output terminal Y, and the distortion LMDis = D (1, -1) is output. L representing the v and h components
Mv = 1, LMh = -1 are output to the data output terminals M1, M2
Is output via. In the OR operation unit 6250, since the signal 1 is input through the signal input terminal S, the data input through the data input terminal B, that is, output from the data output terminal Y of the flip-flop 6240, Regardless of the input data, data in which all the bits are 1 via the data output terminal Y, that is, the data of the maximum value is output. In comparator 6220, D (1, −−) input through data input terminal A is input.
1) is compared with the maximum value data input via the data input terminal B, and Min = 1 is output via the signal output terminal Y because D (1, -1) is smaller. In the selector 6230, since the signal 1 is input through the signal input terminal S, D (1, -1) input through the data input terminal A is output to the flip-flop 6240 through the data output terminal Y. Is done.

【0244】また、セレクタ6260では、信号入力端
子Sを介して信号1が入力されるので、データ入力端子
Aがデータ出力端子Yと電気的に接続され、データ入力
端子Aに入力されているLMv=1がデータ出力端子Y
を介してフリップフロップ6280に出力される。セレ
クタ6270では、信号入力端子Sを介して信号1が入
力されるので、データ入力端子Aがデータ出力端子Yと
電気的に接続され、データ入力端子Aに入力されている
LMh=−1がデータ出力端子Yを介してフリップフロ
ップ6290に出力される。
In the selector 6260, since the signal 1 is input via the signal input terminal S, the data input terminal A is electrically connected to the data output terminal Y, and the LMv input to the data input terminal A is = 1 is the data output terminal Y
Is output to the flip-flop 6280 via the. In the selector 6270, since the signal 1 is input through the signal input terminal S, the data input terminal A is electrically connected to the data output terminal Y, and LMh = −1 input to the data input terminal A is the data. The signal is output to the flip-flop 6290 via the output terminal Y.

【0245】したがって、いま求められたディストーシ
ョンおよび差分動きベクトルが、それぞれフリップフロ
ップ6240,6280および6290に保持されたこ
とになる。次いで、パルス信号CK2の25クロック目
に同期して、セレクタ6210では、ディストーション
LMDis=D(0,−1)がデータ出力端子Yを介し
て出力され、D(0,−1)のv、h成分を表わすLM
v=0,LMh=−1が、データ出力端子M1,M2を
介して出力される。
Therefore, the distortion and the differential motion vector just obtained are held in the flip-flops 6240, 6280 and 6290, respectively. Next, in synchronization with the 25th clock of the pulse signal CK2, in the selector 6210, the distortion LMDis = D (0, -1) is output via the data output terminal Y, and v, h of D (0, -1) are output. LM representing the component
v = 0 and LMh = -1 are output via the data output terminals M1 and M2.

【0246】論理和演算器6250では、信号入力端子
Sを介して信号0が入力されているので、データ入力端
子Bを介して入力されているデータ、すなわち、フリッ
プフロップ6240のデータ出力端子Yから出力され、
入力されている前回最小ディストーションのD(1,−
1)がデータ出力端子Yを介して出力される。比較器6
220では、データ入力端子Aを介して入力された上記
今回最小ディストーションD(0,−1)と、データ入
力端子Bを介して入力された上記前回最小ディストーシ
ョンのD(1,−1)とを比較し、本実施例ではD
(1,−1)の方が小さいとし、このため信号出力端子
Yを介してMin=0が出力される。セレクタ6230
では、信号入力端子Sを介して信号0が入力されるた
め、データ入力端子Bを介して入力されているD(1,
−1)がデータ出力端子Yを介してフリップフロップ6
240に出力される。
In the OR operation unit 6250, since the signal 0 is inputted through the signal input terminal S, the data inputted through the data input terminal B, that is, from the data output terminal Y of the flip-flop 6240 Output
D (1,-
1) is output via the data output terminal Y. Comparator 6
At 220, the current minimum distortion D (0, -1) input via the data input terminal A and the previous minimum distortion D (1, -1) input via the data input terminal B are calculated. In comparison, in the present embodiment, D
Since (1, -1) is smaller, Min = 0 is output via the signal output terminal Y. Selector 6230
Since the signal 0 is input via the signal input terminal S, the signal D (1,1) input via the data input terminal B
-1) is connected to the flip-flop 6 via the data output terminal Y.
240.

【0247】また、セレクタ6260では、信号入力端
子Sを介して信号0が入力されるので、データ入力端子
Bがデータ出力端子Yと電気的に接続され、データ入力
端子Bに入力されているLMv=1がデータ出力端子Y
を介してフリップフロップ6280に出力される。セレ
クタ6270では、信号入力端子Sを介して信号0が入
力されるので、データ入力端子Bがデータ出力端子Yと
電気的に接続され、データ入力端子Bに入力されている
LMh=−1がデータ出力端子Yを介してフリップフロ
ップ6290に出力される。
In selector 6260, since signal 0 is input via signal input terminal S, data input terminal B is electrically connected to data output terminal Y, and LMv input to data input terminal B is input. = 1 is the data output terminal Y
Is output to the flip-flop 6280 via the. In the selector 6270, since the signal 0 is input through the signal input terminal S, the data input terminal B is electrically connected to the data output terminal Y, and LMh = −1 input to the data input terminal B is the data. The signal is output to the flip-flop 6290 via the output terminal Y.

【0248】したがって、いままでに求められたディス
トーションおよび差分動きベクトルが、それぞれフリッ
プフロップ6240,6280および6290に保持さ
れたことになる。以下、同様にして、パルス信号CK2
の期間c32までに、全ての対象ディストーションD
(v,h)のうちの最小値が検出され、フリップフロッ
プ6240,6280,6290にディストーションD
(v,h)および差分動きベクトルdMVの(v,h)
成分MVv,MVhが保持される。
Therefore, the distortion and the difference motion vector obtained so far are held in the flip-flops 6240, 6280 and 6290, respectively. Hereinafter, similarly, the pulse signal CK2
By the time period c32, all the target distortions D
The minimum value of (v, h) is detected, and the flip-flops 6240, 6280, and 6290 provide distortion D.
(V, h) and (v, h) of the differential motion vector dMV
Components MVv and MVh are held.

【0249】本実施例においては、パルス信号CK2の
31クロック目に同期して、セレクタ6210から出力
されたLMDis=D(0,1)、LMv=0、LMh
=1が最小ディストーションおよび差分動きベクトルと
して選択され、期間c32までにフリップフロップ62
40,6280,6290に保持される。次いで、パル
ス信号CK2の33クロック目に同期して、フリップフ
ロップ6240,6280,6290から最小ディスト
ーションおよび差分動きベクトルdMVの(v,h)成
分が、MinDis=D(0,1)、MVv=0、MV
h=1として出力される。
In this embodiment, LMDis = D (0,1), LMv = 0, LMh output from the selector 6210 in synchronization with the 31st clock of the pulse signal CK2.
= 1 is selected as the minimum distortion and differential motion vector, and the flip-flop 62
40,6280,6290. Next, in synchronization with the 33rd clock of the pulse signal CK2, the (v, h) components of the minimum distortion and differential motion vector dMV are output from the flip-flops 6240, 6280, and 6290 as MinDis = D (0, 1) and MVv = 0. , MV
Output as h = 1.

【0250】以上により、デュアルプライム予測方式に
おける基準ベクトル算出後の最小ディストーションMi
nDisと差分動きベクトルdMVの(v,h)成分M
Vv,MVhが求まる。また、フレームブロックのディ
ストーションおよび動きベクトルを算出する場合には、
パルス信号SJは、プロセッサエレメントPE(x,
y)およびサイドレジスタSR(x,y)へ常時1が入
力される。以下、画素データの転送処理を、簡単に順を
追って説明する。
As described above, the minimum distortion Mi after the calculation of the reference vector in the dual prime prediction method is obtained.
nDis and the (v, h) component M of the differential motion vector dMV
Vv and MVh are obtained. Also, when calculating the distortion and the motion vector of the frame block,
The pulse signal SJ is output from the processor element PE (x,
y) and 1 are always input to the side register SR (x, y). Hereinafter, the transfer process of the pixel data will be briefly described in order.

【0251】まず、プロセッサエレメントPE(x,
y)のセレクタ3110およびサイドレジスタSR
(x,y)のセレクタ4210の信号入力端子Sには、
サーチウィンドウの1列分の画素データが全て入力され
るまでは0が入力されていて、信号入力端子Sに入力さ
れるパルス信号SLにより各セレクタの制御が行われ
る。以下に、画素データの流れに基づきながら動作の詳
細について説明をする。
First, the processor element PE (x,
y) Selector 3110 and side register SR
The signal input terminal S of the (x, y) selector 4210 has:
Until all pixel data for one column of the search window is input, 0 is input, and each selector is controlled by the pulse signal SL input to the signal input terminal S. The details of the operation will be described below based on the flow of pixel data.

【0252】まず、サーチウィンドウの画素データの入
力について説明する。参照画像データ出力ユニット20
00から出力されたサーチウィンドウの画素データは、
入力レジスタIR(3,0)、IR(3,8)のデータ
入力端子YDiを介してそれぞれ入力される。参照画像
データ出力ユニット2000からの画素データの出力
は、期間c1の前から開始され、IR(x,y)のフリ
ップフロップ4120にデータ入力端子Aを介して入力
され、クロックパルス信号CK1に同期してラッチされ
る。以後、入力レジスタIR(x,y)へのデータの入
力は、このフリップフロップ4120の画素データのラ
ッチ時を意味するものとする。
First, input of pixel data of the search window will be described. Reference image data output unit 20
The pixel data of the search window output from 00 is
The data is input via data input terminals YDi of input registers IR (3,0) and IR (3,8). The output of the pixel data from the reference image data output unit 2000 starts before the period c1, is input to the flip-flop 4120 of IR (x, y) via the data input terminal A, and is synchronized with the clock pulse signal CK1. Latched. Hereinafter, the input of data to the input register IR (x, y) means that the flip-flop 4120 latches the pixel data.

【0253】順次、入力レジスタに入力された画素デー
タは、1列毎に入力レジスタIR(x,y)からプロセ
ッサエレメントPE(x,y)およびサイドレジスタS
R(x,y)へ出力され、転送される。入力レジスタI
R(x,y)への画素データの入力および転送につい
て、詳しく説明すると、クロックパルス信号CK1の1
クロック目に同期して、図34に示すように、IR
(3,0)へ画素データb2(0,2)が入力される。
The pixel data sequentially input to the input register is input from the input register IR (x, y) to the processor element PE (x, y) and the side register S for each column.
Output to R (x, y) and transferred. Input register I
The input and transfer of pixel data to R (x, y) will be described in detail.
In synchronization with the clock, as shown in FIG.
Pixel data b2 (0, 2) is input to (3, 0).

【0254】次いで、クロックパルス信号CK1の2ク
ロック目に同期して、図35に示すように、入力レジス
タIR(3,0)から1つ下のIR(3,1)へ画素デ
ータb2(0,2)が転送され、さらに、IR(3,
0)へ画素データb1(0,2)が入力される。次い
で、クロックパルス信号CK1の3クロック目に同期し
て、図36に示すように、入力レジスタIR(3,
0)、IR(3,1)から1つ下のIR(3,1)、I
R(3,2)へ画素データb1(0,2)、b2(0,
2)が転送され、さらに、IR(3,0)、IR(3,
8)へ画素データb2(0,1)、b2(0,4)が入
力される。
Next, in synchronization with the second clock of the clock pulse signal CK1, as shown in FIG. 35, the pixel data b2 (0) is transferred from the input register IR (3,0) to the next lower IR (3,1). , 2) are transferred, and the IR (3, 3)
0) is input with the pixel data b1 (0, 2). Next, in synchronization with the third clock of the clock pulse signal CK1, as shown in FIG.
0), IR (3,1), I
The pixel data b1 (0,2), b2 (0,
2) is transferred, and IR (3,0), IR (3,3)
8), pixel data b2 (0,1) and b2 (0,4) are input.

【0255】次いで、クロックパルス信号CK1の4ク
ロック目に同期して、図37に示すように、入力レジス
タIR(3,0)、IR(3,1)、IR(3,2)、
IR(3,8)から1つ下のIR(3,1)、IR
(3,2)、IR(3,5)、IR(3,9)へ画素デ
ータb2(0,1)、b1(0,2)、b2(0,
2)、b2(0,4)が転送され、さらに、IR(3,
0)、IR(3,8)へ画素データb1(0,1)、b
1(0,4)がそれぞれ入力される。
Next, in synchronization with the fourth clock of the clock pulse signal CK1, as shown in FIG. 37, the input registers IR (3,0), IR (3,1), IR (3,2),
IR (3,1), IR (3,8) one below IR (3,8)
(3,2), IR (3,5), IR (3,9) to pixel data b2 (0,1), b1 (0,2), b2 (0,
2), b2 (0, 4) are transferred, and further, IR (3, 3)
0), IR (3, 8) to pixel data b1 (0, 1), b
1 (0, 4) is input.

【0256】ここで、フレームブロックディストーショ
ン算出時、IR(3,5)のセレクタ4110の信号入
力端子Sには、常に1が入力されるので、データ入力
は、IR(3,2)からの入力となる。よって、特にこ
とわらない限り、フレームブロックディストーション算
出時には、IR(3,2)からIR(3,5)への転送
を便宜上ひとつ下への転送と呼ぶ。
Here, when calculating the frame block distortion, 1 is always input to the signal input terminal S of the selector 4110 of IR (3,5), so that the data input is the input from IR (3,2). Becomes Therefore, unless otherwise specified, when calculating the frame block distortion, the transfer from IR (3,2) to IR (3,5) is referred to as a downward transfer for convenience.

【0257】次いで、クロックパルス信号CK1の5ク
ロック目に同期して、図38に示すように、入力レジス
タIR(3,0)、IR(3,1)、IR(3,2)、
IR(3,5)、IR(3,8)、IR(3,9)から
1つ下のIR(3,1)、IR(3,2)、IR(3,
5)、IR(3,6)、IR(3,9)、IR(3,1
0)へ画素データb1(0,1)、b2(0,1)、b
1(0,2)、b2(0,2)、b1(0,4)、b2
(0,4)が転送され、さらに、IR(3,0)、IR
(3,8)へ画素データb2(0,0)、b2(0,
3)がそれぞれ入力される。
Next, in synchronization with the fifth clock of the clock pulse signal CK1, as shown in FIG. 38, the input registers IR (3,0), IR (3,1), IR (3,2),
IR (3,5), IR (3,8), IR (3,9), IR (3,1), IR (3,2), IR (3,
5), IR (3,6), IR (3,9), IR (3,1
0) to pixel data b1 (0, 1), b2 (0, 1), b
1 (0,2), b2 (0,2), b1 (0,4), b2
(0,4) is transferred, and IR (3,0), IR (3,0)
The pixel data b2 (0,0), b2 (0,
3) is input.

【0258】次いで、クロックパルス信号CK1の6ク
ロック目に同期して、図39に示すように、入力レジス
タIR(3,0)、IR(3,1)、IR(3,2)、
IR(3,5)、IR(3,6)、IR(3,8)、I
R(3,9)、IR(3,10)から1つ下のIR
(3,1)、IR(3,2)、IR(3,5)、IR
(3,6)、IR(3,7)、IR(3,9)、IR
(3,10)、IR(3,11)へ画素データb2
(0,0)、b1(0,1)、b2(0,1)、b1
(0,2)、b2(0,2)、b2(0,3)、b1
(0,4)、b2(0,4)が転送され、さらに、IR
(3,0)、IR(3,8)へ画素データb1(0,
0)、b1(0,3)がそれぞれ入力される。
Next, in synchronization with the sixth clock of the clock pulse signal CK1, as shown in FIG. 39, the input registers IR (3,0), IR (3,1), IR (3,2),
IR (3,5), IR (3,6), IR (3,8), I
R (3,9), IR one below IR (3,10)
(3,1), IR (3,2), IR (3,5), IR
(3,6), IR (3,7), IR (3,9), IR
(3, 10), pixel data b2 to IR (3, 11)
(0,0), b1 (0,1), b2 (0,1), b1
(0,2), b2 (0,2), b2 (0,3), b1
(0,4) and b2 (0,4) are transferred,
(3, 0) and pixel data b1 (0,
0) and b1 (0, 3) are input.

【0259】ここまでで、サーチウィンドウの1列目の
画素データb1(0,y)、b2(0,y)が全て、参
照画像データ出力ユニット2000から、入力レジスタ
IR(x,y)へ入力されたことになる。以後、参照画
像データ出力ユニット2000および入力レジスタIR
(x,y)は、上記の処理をサーチウィンドウの各列毎
にクロックパルス信号CK1の6クロック毎に繰り返し
ていく。
Up to this point, all pixel data b1 (0, y) and b2 (0, y) in the first column of the search window are input from the reference image data output unit 2000 to the input register IR (x, y). It was done. Thereafter, the reference image data output unit 2000 and the input register IR
In (x, y), the above processing is repeated for each column of the search window for every six clocks of the clock pulse signal CK1.

【0260】つまり、nを整数とするとき、クロックパ
ルス信号CK1の(6n+1)クロック目に同期して、
IR(3,0)へ画素データb2(n,2)が入力さ
れ、次いで、クロックパルス信号CK1の(6n+2)
クロック目に同期して、入力レジスタIR(3,0)か
ら1つ下のIR(3,1)へ画素データb2(n,2)
が転送され、さらに、IR(3,0)へ画素データb1
(n,2)がそれぞれ入力される。
That is, when n is an integer, in synchronization with the (6n + 1) th clock of the clock pulse signal CK1,
Pixel data b2 (n, 2) is input to IR (3,0), and then (6n + 2) of clock pulse signal CK1
In synchronization with the clock, the pixel data b2 (n, 2) is transferred from the input register IR (3, 0) to the next lower IR (3, 1).
Is transferred to the pixel data b1 to IR (3,0).
(N, 2) are input.

【0261】次いで、クロックパルス信号CK1の(6
n+3)クロック目に同期して、入力レジスタIR
(3,0)、IR(3,1)から1つ下のIR(3,
1)、IR(3,2)へ画素データb1(n,2)、b
2(n,2)が転送され、さらに、IR(3,0)、I
R(3,8)へ画素データb2(n,1)、b2(n,
4)がそれぞれ入力される。
Next, (6) of the clock pulse signal CK1
n + 3) In synchronization with the clock, the input register IR
(3,0), IR (3,1) and IR (3,1)
1), IR (3,2) to pixel data b1 (n, 2), b
2 (n, 2) are transferred, and IR (3, 0), I
The pixel data b2 (n, 1) and b2 (n,
4) is input.

【0262】次いで、クロックパルス信号CK1の(6
n+4)クロック目に同期して、入力レジスタIR
(3,0)、IR(3,1)、IR(3,2)、IR
(3,8)から1つ下のIR(3,1)、IR(3,
2)、IR(3,5)、IR(3,9)へ画素データb
2(n,1)、b1(n,2)、b2(n,2)、b2
(n,4)が転送され、さらに、IR(3,0)、IR
(3,8)へ画素データb1(n,1)、b1(n,
4)がそれぞれ入力される。
Next, (6) of the clock pulse signal CK1
n + 4) In synchronization with the clock, the input register IR
(3,0), IR (3,1), IR (3,2), IR
IR (3,1), IR (3,1) below (3,8)
2), pixel data b to IR (3,5), IR (3,9)
2 (n, 1), b1 (n, 2), b2 (n, 2), b2
(N, 4) is transferred, and further, IR (3, 0), IR
The pixel data b1 (n, 1), b1 (n,
4) is input.

【0263】次いで、クロックパルス信号CK1の(6
n+5)クロック目に同期して、入力レジスタIR
(3,0)、IR(3,1)、IR(3,2)、IR
(3,5)、IR(3,8)、IR(3,9)から1つ
下のIR(3,1)、IR(3,2)、IR(3,
5)、IR(3,6)、IR(3,9)、IR(3,1
0)へ画素データb1(n,1)、b2(n,1)、b
1(n,2)、b2(n,2)、b1(n,4)、b2
(n,4)が転送され、さらに、IR(3,0)、IR
(3,8)へ画素データb2(n,0)、b2(n,
3)がそれぞれ入力される。
Next, (6) of the clock pulse signal CK1
n + 5) In synchronization with the clock, the input register IR
(3,0), IR (3,1), IR (3,2), IR
(3, 5), IR (3, 8), IR (3, 1), IR (3, 2), IR (3,
5), IR (3,6), IR (3,9), IR (3,1
0) to pixel data b1 (n, 1), b2 (n, 1), b
1 (n, 2), b2 (n, 2), b1 (n, 4), b2
(N, 4) is transferred, and further, IR (3, 0), IR
The pixel data b2 (n, 0), b2 (n,
3) is input.

【0264】次いで、クロックパルス信号CK1の(6
n+6)クロック目に同期して、入力レジスタIR
(3,0)、IR(3,1)、IR(3,2)、IR
(3,5)、IR(3,6)、IR(3,8)、IR
(3,9)、IR(3,10)から1つ下のIR(3,
1)、IR(3,2)、IR(3,5)、IR(3,
6)、IR(3,7)、IR(3,9)、IR(3,1
0)、IR(3,11)へ画素データb2(n,0)、
b1(n,1)、b2(n,1)、b1(n,2)、b
2(n,2)、b2(n,3)、b1(n,4)、b2
(n,4)が転送され、さらに、IR(3,0)、IR
(3,8)へ画素データb1(n,0)、b1(n,
3)がそれぞれ入力され、サーチウィンドウの(n+
1)列目の画素データb1(n,y)、b2(n,y)
が全て参照画像データ出力ユニット2000から入力レ
ジスタへ入力される。
Next, (6) of the clock pulse signal CK1
n + 6) In synchronization with the clock, the input register IR
(3,0), IR (3,1), IR (3,2), IR
(3,5), IR (3,6), IR (3,8), IR
(3, 9), IR (3, 10), one IR below (3, 10)
1), IR (3,2), IR (3,5), IR (3,3)
6), IR (3,7), IR (3,9), IR (3,1
0), IR (3,11) to pixel data b2 (n, 0),
b1 (n, 1), b2 (n, 1), b1 (n, 2), b
2 (n, 2), b2 (n, 3), b1 (n, 4), b2
(N, 4) is transferred, and further, IR (3, 0), IR
The pixel data b1 (n, 0) and b1 (n,
3) is input, and (n +
1) Pixel data b1 (n, y) and b2 (n, y) in the column
Are all input from the reference image data output unit 2000 to the input register.

【0265】以上の動作は、サーチウィンドウの画素デ
ータが全て入力されるまでを1セットとして続けられ
る。次に、入力レジスタIR(x,y)へ入力保持され
たサーチウィンドウの画素データをプロセッサエレメン
トPE(x,y)およびサイドレジスタSR(x,y)
へ転送させ、PE(x,y)およびSR(x,y)内を
繰り返し転送させながら、サーチウィンドウの画素デー
タを参照画像フォーマット通りに入力させ、配置させる
動作について説明する。
The above operation is continued as one set until all the pixel data of the search window is input. Next, the pixel data of the search window input and held to the input register IR (x, y) is converted into the processor element PE (x, y) and the side register SR (x, y).
The following describes an operation of inputting and arranging the pixel data of the search window according to the reference image format while repeatedly transferring the data within the PE (x, y) and the SR (x, y).

【0266】プロセッサエレメントPE(x,y)およ
びサイドレジスタSR(x,y)での画素データの転送
処理は、各PE(x,y)およびSR(x,y)内のセ
レクタ3410、セレクタ3110およびセレクタ42
10が選択するデータ入力端子の切り替えによって実現
される。セレクタ3410、セレクタ3110およびセ
レクタ4210のデータ入力端子の切り替えは、信号入
力端子Sを介して入力されるパルス信号SJ、SLによ
り制御される。
The pixel data transfer processing in the processor element PE (x, y) and the side register SR (x, y) is performed by the selector 3410 and the selector 3110 in each PE (x, y) and SR (x, y). And selector 42
This is realized by switching of the data input terminal selected by 10. Switching between the data input terminals of the selector 3410, the selector 3110, and the selector 4210 is controlled by pulse signals SJ and SL input through the signal input terminal S.

【0267】上述したように、フレームブロックのディ
ストーションを算出する場合には、パルス信号SJは、
プロセッサエレメントPE(x,y)へ常時1が入力さ
れる。以下、画素データの転送処理を順を追って説明す
る。まず、プロセッサエレメントPE(x,y)のセレ
クタ3110およびサイドレジスタSR(x,y)のセ
レクタ4210の信号入力端子Sには、サーチウィンド
ウの1列分の画素データが全て入力されるまでは0が入
力されていて、信号入力端子Sに入力されるパルス信号
SLが1に変わると、転送方向が変更される。
As described above, when calculating the distortion of a frame block, the pulse signal SJ is
1 is always input to the processor element PE (x, y). Hereinafter, the transfer processing of the pixel data will be described step by step. First, 0 is applied to the signal input terminal S of the selector 3110 of the processor element PE (x, y) and the signal input terminal S of the selector 4210 of the side register SR (x, y) until all the pixel data of one column of the search window is input. Is input, and when the pulse signal SL input to the signal input terminal S changes to 1, the transfer direction is changed.

【0268】詳しく説明すると、期間c6において、パ
ルス信号SLは1となり、各セレクタに信号入力端子S
を介して信号1が入力される。このため、各セレクタで
は、データ入力端子Bとデータ出力端子Yが電気的に接
続される。各サイドレジスタSR(x,y)およびプロ
セッサエレメントPE(x,y)では、クロックパルス
信号CK1の7クロック目に同期して、データ入力端子
YLiを介して画素データが入力され、各セレクタから
データ出力端子Yを介して、各フリップフロップへ画素
データが出力される。
More specifically, in the period c6, the pulse signal SL becomes 1, and the signal input terminal S is supplied to each selector.
The signal 1 is input through. Therefore, in each selector, the data input terminal B and the data output terminal Y are electrically connected. In each of the side registers SR (x, y) and the processor element PE (x, y), pixel data is input via the data input terminal YLi in synchronization with the seventh clock of the clock pulse signal CK1, and data is output from each selector. Pixel data is output to each flip-flop via the output terminal Y.

【0269】このようにして、図40に示すように、画
素データb1(0,y)およびb2(0,y)が、入力
レジスタIR(3,y)から、それぞれ左側の各サイド
レジスタSR(2,y)およびプロセッサエレメントP
E(2,y)へ転送される。次いで、期間c7におい
て、パルス信号SLは0となり、各セレクタに信号入力
端子Sを介して信号0が入力され、このため、各セレク
タではデータ入力端子Aとデータ出力端子Yが電気的に
接続される。各サイドレジスタSR(2,y)およびプ
ロセッサエレメントPE(2,y)では、クロックパル
ス信号CK1の8クロック目に同期して、データ入力端
子YUiを介して画素データが入力され、各セレクタか
らデータ出力端子Yを介して、各フリップフロップへ画
素データが出力される。
In this manner, as shown in FIG. 40, pixel data b1 (0, y) and b2 (0, y) are supplied from input register IR (3, y) to left side register SR (3, y), respectively. 2, y) and the processor element P
E (2, y). Next, in the period c7, the pulse signal SL becomes 0, and the signal 0 is input to each selector via the signal input terminal S. Therefore, in each selector, the data input terminal A and the data output terminal Y are electrically connected. You. In each of the side registers SR (2, y) and the processor element PE (2, y), pixel data is input via the data input terminal YUi in synchronization with the eighth clock of the clock pulse signal CK1, and data is output from each selector. Pixel data is output to each flip-flop via the output terminal Y.

【0270】このようにして、図41に示すように、画
素データb1(0,y)およびb2(0,y)が、各サ
イドレジスタSR(2,y)およびプロセッサエレメン
トPE(2,y)から、それぞれ一つ上側の各SR
(2,y−1)およびPE(2,y−1)へ転送され
る。ただし、プロセッサエレメントPE(2,5)から
の転送は、PE(2,2)へ転送される。以下の説明で
も、特にことわらない限りPE(2,5)から一つ上へ
の転送は、PE(2,2)への転送とする。また、PE
(1,2)から一つ下への転送は、PE(1,5)への
転送とし、PE(0,5)から一つ上への転送は、PE
(0,2)への転送とする。
Thus, as shown in FIG. 41, pixel data b1 (0, y) and b2 (0, y) are stored in each side register SR (2, y) and processor element PE (2, y). From each SR
(2, y-1) and PE (2, y-1). However, the transfer from the processor element PE (2, 5) is transferred to PE (2, 2). Also in the following description, the transfer from PE (2, 5) to the next higher level is a transfer to PE (2, 2) unless otherwise specified. Also, PE
The transfer from (1, 2) to the next lower position is a transfer to PE (1, 5), and the transfer from PE (0, 5) to the upper position is PE (1, 5).
Transfer to (0, 2).

【0271】同様にして、クロックパルス信号CK1の
9クロック目には、画素データb1(0,y)およびb
2(0,y)は、各サイドレジスタSR(2,y−1)
およびプロセッサエレメントPE(2,y−1)から、
それぞれクロックパルス信号CK1に同期して同様に転
送処理を繰り返し、1つ上の各SR(2,y−2)およ
びPE(2,y−2)へ転送される。
Similarly, at the ninth clock of clock pulse signal CK1, pixel data b1 (0, y) and b
2 (0, y) is the value of each side register SR (2, y-1)
And from the processor element PE (2, y-1),
The transfer process is similarly repeated in synchronization with the clock pulse signal CK1, and is transferred to the next higher SR (2, y-2) and PE (2, y-2).

【0272】以下、クロックパルス信号CK1の10、
11、12クロック目にも、画素データb1(0,y)
およびb2(0,y)は、同様に転送され、各サイドレ
ジスタSR(2,y−5)およびプロセッサエレメント
PE(2,y−5)へ転送される。次いで、期間c12
において、パルス信号SLが1となり、各セレクタに信
号入力端子Sを介して信号1が入力される。このため、
各セレクタではデータ入力端子Bとデータ出力端子Yが
電気的に接続され、各サイドレジスタSR(x,y)お
よびプロセッサエレメントPE(x,y)のデータ入力
端子YLiを介して画素データが入力され、クロックパ
ルス信号CK1の13クロック目に同期して、各フリッ
プフロップに画素データがラッチされ、データ出力端子
Yを介して出力される。
Hereinafter, 10 of the clock pulse signal CK1
At the eleventh and twelfth clocks, the pixel data b1 (0, y)
And b2 (0, y) are similarly transferred and transferred to each side register SR (2, y-5) and processor element PE (2, y-5). Next, period c12
, The pulse signal SL becomes 1, and the signal 1 is input to each selector via the signal input terminal S. For this reason,
In each selector, a data input terminal B and a data output terminal Y are electrically connected, and pixel data is input via the data input terminals YLi of each side register SR (x, y) and the processor element PE (x, y). In synchronization with the thirteenth clock of the clock pulse signal CK1, pixel data is latched in each flip-flop and output via the data output terminal Y.

【0273】このようにして、図42に示すように、画
素データb1(1,y)およびb2(1,y)が、入力
レジスタIR(3,y)から、それぞれ左側の各サイド
レジスタSR(2,y)およびプロセッサエレメントP
E(2,y)へ転送され、画素データb1(0,y)お
よびb2(0,y)が、各SR(2,y−5)およびP
E(2,y−5)から、それぞれ左側の各SR(1,y
−5)およびPE(1,y−5)へ転送される。
In this manner, as shown in FIG. 42, pixel data b1 (1, y) and b2 (1, y) are converted from input register IR (3, y) to left side register SR (3, y), respectively. 2, y) and the processor element P
E (2, y), the pixel data b1 (0, y) and b2 (0, y) are
From E (2, y-5), each SR (1, y
-5) and PE (1, y-5).

【0274】次いで、クロックパルス信号CK1の14
クロック目に同期して、パルス信号SLは既に0となっ
ているため、各セレクタに信号入力端子Sを介して信号
0が入力され、このため、各セレクタではデータ入力端
子Aとデータ出力端子Yが電気的に接続され、各サイド
レジスタSR(x,y)およびプロセッサエレメントP
E(x,y)のデータ入力端子YUi,YDiを介して
画素データが入力され、各フリップフロップに画素デー
タがラッチされ、データ出力端子Yを介して出力され
る。
Next, 14 of the clock pulse signal CK1
Since the pulse signal SL has already become 0 in synchronization with the clock, the signal 0 is input to each selector via the signal input terminal S. Therefore, each selector has a data input terminal A and a data output terminal Y. Are electrically connected, and each side register SR (x, y) and the processor element P
Pixel data is input via data input terminals YUi, YDi of E (x, y), pixel data is latched by each flip-flop, and output via a data output terminal Y.

【0275】以下、フィールドブロックの画素データの
転送と同様にして、クロックパルス信号CK1の19ク
ロック目において、図43に示すように、全てのプロセ
ッサエレメントPE(x,y)内に、サーチウィンドウ
の画素データb1(x,y)およびb2(x,y)が入
力保持される。以上のようにして、サーチウィンドウ内
の画素データが、プロセッサエレメントPE(x,y)
内に参照画像フォーマット通りに配置されると、各PE
(x,y)では、信号出力ユニット8000から出力さ
れるパルス信号LD1を入力後に、ディストーションの
算出処理が開始される。
Thereafter, in the same manner as the transfer of the pixel data of the field block, at the 19th clock of the clock pulse signal CK1, as shown in FIG. 43, all the processor elements PE (x, y) have the search window. Pixel data b1 (x, y) and b2 (x, y) are input and held. As described above, the pixel data in the search window is stored in the processor element PE (x, y).
When placed according to the reference image format, each PE
At (x, y), after inputting the pulse signal LD1 output from the signal output unit 8000, the distortion calculation processing is started.

【0276】以後、クロックパルス信号CK1の19ク
ロック目から36クロック目までの間、各プロセッサエ
レメントPE(x,y)では、ディストーションの算出
が実行されるが、その間も、PE(x,y)およびSR
(x,y)内の画素データの転送処理は引き続き行わ
れ、全てのサーチウィンドウの画素データが入力され
る。
Thereafter, during the period from the 19th clock to the 36th clock of the clock pulse signal CK1, the distortion is calculated in each processor element PE (x, y). And SR
The transfer processing of the pixel data in (x, y) is continuously performed, and the pixel data of all search windows is input.

【0277】次いで、期間c36において、パルス信号
LD1が1となり、各プロセッサエレメントPE(x,
y)のセレクタ3310、3311、3312、331
3が、入力データを切り換えて、クロックパルス信号C
K1の37クロック目に同期して、フリップフロップ3
240、3241、3242、3243からディストー
ションD(x,y)、D(x,y+0.5)、D(x+
0.5,y)、D(x+0.5,y+0.5)をフリッ
プフロップ3320、3321、3322、3323へ
入力させる。以降、クロックパルス信号CK1の38、
39、40クロック目に同期して、全てのプロセッサエ
レメントPE(x,y)で算出されたディストーション
D(x,y)、D(x,y+0.5)、D(x+0.
5,y)、D(x+0.5,y+0.5)が、フリップ
フロップ3320、3321、3322、3323から
ブロック特定ユニット6000に出力される。
Next, in the period c36, the pulse signal LD1 becomes 1, and each processor element PE (x,
y) selectors 3310, 3311, 3312, 331
3 switches the input data and generates the clock pulse signal C
In synchronization with the 37th clock of K1, the flip-flop 3
From 240, 3241, 3242, 3243, the distortions D (x, y), D (x, y + 0.5), D (x +
0.5, y) and D (x + 0.5, y + 0.5) are input to flip-flops 3320, 3321, 3322, and 3323. Thereafter, 38 of the clock pulse signal CK1,
In synchronization with the 39th and 40th clocks, the distortions D (x, y), D (x, y + 0.5), and D (x + 0...) Calculated in all the processor elements PE (x, y).
5, y) and D (x + 0.5, y + 0.5) are output from the flip-flops 3320, 3321, 3322, 3323 to the block specifying unit 6000.

【0278】ブロック特定ユニット6000における動
きベクトル検出処理については、説明を省略する。フィ
ールドブロックにおける動きベクトル探索については、
デュアルプライム予測方式における基準ベクトル算出後
の動きベクトル探索と同様に求めることができる。
The description of the motion vector detecting process in the block specifying unit 6000 is omitted. For the motion vector search in the field block,
It can be obtained in the same manner as in the motion vector search after the calculation of the reference vector in the dual prime prediction method.

【0279】以上により、本装置によって、デュアルプ
ライム予測における動きベクトル、フィールドブロック
における動きベクトルおよびフレームブロックにおける
動きベクトルを求めることができ、かつ、それぞれ整数
画素における動きベクトルと1/2画素における動きベ
クトルを求めることができる。ここで、デュアルプライ
ム予測方式について説明を補足する。
As described above, the present apparatus can obtain a motion vector in dual prime prediction, a motion vector in a field block, and a motion vector in a frame block. Can be requested. Here, the description of the dual prime prediction method will be supplemented.

【0280】デュアルプライム予測では、基準となる動
きベクトルをスケーリングし、その結果のベクトルを元
に探索を行う。垂直、水平方向のスケーリングを図4
4、図45に示す。図44、図45に示すように、基準
動きベクトルをフレームベクトルとすると、現画像第1
フィールドから参照画像第2フィールドへのスケーリン
グは、フレームベクトルを1/2倍してスケーリング
し、現画像第2フィールドから参照画像第1フィールド
へのスケーリングは、フレームベクトルを3/2倍して
スケーリングする。このため、スケーリングした結果が
水平、もしくは垂直に1/2画素ずれた位置にスケーリ
ングされる場合がある。整数画素位置か1/2画素位置
以外の場合には、丸めを行いどちらかにする。したがっ
て、実際にスケーリング先の取り得る位置は、各フィー
ルドごとに、整数画素の場合、垂直方向に1/2画素ず
れている場合、水平方向に1/2画素ずれている場合、
水平、垂直方向ともに1/2画素ずれている場合、の4
種類となる。
In dual prime prediction, a reference motion vector is scaled, and a search is performed based on the resulting vector. Figure 4 shows vertical and horizontal scaling
4, shown in FIG. As shown in FIGS. 44 and 45, if the reference motion vector is a frame vector,
The scaling from the field to the second field of the reference image is performed by scaling the frame vector by 、, and the scaling from the second field of the current image to the first field of the reference image is performed by scaling the frame vector by /. I do. For this reason, the scaling result may be scaled horizontally or vertically to a position shifted by 1 / pixel. If the position is other than the integer pixel position or 1/2 pixel position, rounding is performed and either of them is performed. Therefore, the actual possible positions of the scaling destination are, for each field, integer pixels, a vertical shift of 1/2 pixel, a horizontal shift of 1/2 pixel,
When the pixel is shifted by 1/2 pixel in both the horizontal and vertical directions,
Kind.

【0281】このため、ディストーションを計算するプ
ロセッサエレメント内でのスケーリング先のディストー
ション保持位置が、スケーリング先によって4通り発生
する。図46、図47に、このプロセッサエレメント内
のディストーション保持位置を模式的に表した図を示
す。この保持位置の違いは、2つのフィールドでそれぞ
れ発生するので、2つのフィールドのディストーション
を加算するときに、タイミングを合わせる必要がある。
For this reason, there are four possible distortion holding positions for the scaling destination in the processor element for calculating the distortion. FIGS. 46 and 47 schematically show distortion holding positions in the processor element. Since the difference between the holding positions occurs in each of the two fields, it is necessary to adjust the timing when adding the distortions of the two fields.

【0282】また、デュアルプライム予測における差分
動きベクトル検出の比較対象となるディストーション
は、スケーリング先の点でのディストーションと、その
上下左右方向に1/2画素ずれた点でのディストーショ
ンと、の9個のディストーションである。この比較対象
となる9個のディストーションを含むプロセッサエレメ
ントから出力されるディストーションのタイミングを図
48に示す。ハッチングをかけたディストーションが、
比較対象のディストーションである。同図に示すよう
に、比較対象のディストーションは、スケーリング先に
よって出力タイミングがまちまちである。この出力タイ
ミングの違いを合わせるため、比較対象のディストーシ
ョンをいったんレジスタに保持させ、整列させている。
この比較対象のディストーションを整列させてレジスタ
に入力させるための制御信号が、上記実施例におけるモ
ード信号MDである。この信号は、スケーリング先の位
置によって、4通りの制御を行い、比較対象のディスト
ーションだけをレジスタに左上から順に入力させる。
[0282] The distortion to be compared in the differential motion vector detection in the dual prime prediction includes nine distortions: a distortion at a scaling destination point and a distortion at a point shifted by 1/2 pixel in the vertical and horizontal directions. This is a distortion. FIG. 48 shows the timing of the distortion output from the processor element including the nine distortions to be compared. The hatched distortion is
This is the distortion to be compared. As shown in the figure, the output timing of the distortion to be compared varies depending on the scaling destination. In order to match the difference in the output timing, the distortion to be compared is once held in a register and aligned.
The control signal for aligning the distortion to be compared and inputting it to the register is the mode signal MD in the above embodiment. This signal performs four types of control depending on the position of the scaling destination, and causes only the distortion to be compared to be input to the register in order from the upper left.

【0283】このレジスタへの入力を簡潔に表した図を
図49、図50に示す。図49に示す図は、比較対象の
ディストーションを差分動きベクトルの座標で表したも
のであり、図50に示す図は、レジスタ内のレジスタ番
号と差分動きベクトルの座標で表したディストーション
との対応を示す図である。上記のように、2つのフィー
ルドにおけるディストーションを差分動きベクトルの座
標順に、レジスタに入力させることによって、2つのフ
ィールドにおけるディストーションを対応させて、加算
できるようにしている。
FIGS. 49 and 50 show the input to this register in a simplified manner. The diagram shown in FIG. 49 shows the distortion to be compared by the coordinates of the differential motion vector, and the diagram shown in FIG. 50 shows the correspondence between the register number in the register and the distortion expressed by the coordinates of the differential motion vector. FIG. As described above, the distortions in the two fields are input to the register in the order of the coordinates of the differential motion vector, so that the distortions in the two fields can be correlated and added.

【0284】図51、図52は、本発明の別の実施対応
を示したものである。図51に示す装置は、図4に示す
ディストーション算出手段3000の第1、第3サイド
レジスタグループをひとつにし、第2プロセッサエレメ
ントグループと第1サイドレジスタグループを接続し
て、第2プロセッサエレメントグループからあふれる画
素データを第1サイドレジスタグループに転送するもの
である。
FIGS. 51 and 52 show another embodiment of the present invention. In the apparatus shown in FIG. 51, the first and third side register groups of the distortion calculating means 3000 shown in FIG. 4 are combined into one, and the second processor element group and the first side register group are connected. The overflowing pixel data is transferred to the first side register group.

【0285】図52は、図51に示すディストーション
算出手段3000を具体的に示したものである。これに
より、第1実施例よりも少ない数のサイドレジスタで動
きベクトル探索ができるようになる。
FIG. 52 shows the distortion calculating means 3000 shown in FIG. 51 specifically. As a result, a motion vector search can be performed with a smaller number of side registers than in the first embodiment.

【0286】[0286]

【発明の効果】請求項1記載の発明によれば、第1ディ
ストーション算出工程が第1ウィンドウデータ転送工程
で転送される各候補ブロックの画素データに基づいてデ
ィストーションを算出し、第2ディストーション算出工
程が第2ウィンドウデータ転送工程で転送される各候補
ブロックの画素データに基づいて第1ディストーション
算出工程と同時にディストーションを算出するので、複
数の現画像ブロックに対するディストーションを同時に
求めることができる。また、第1ウィンドウデータ転送
工程と第2ウィンドウデータ転送工程の双方で共用して
第2画素データ転送保持ユニットに候補ブロックの画素
データを転送させるので、少ない装置構成で別々のディ
ストーションを求めることができる。
According to the first aspect of the present invention, the first D
The distortion calculation step is the first window data transfer step
Data based on the pixel data of each candidate block
Calculate distortion and calculate the second distortion
Each candidate whose process is transferred in the second window data transfer process
1st distortion based on pixel data of block
Since the distortion is calculated at the same time as the calculation process,
Simultaneous distortion for a number of current image blocks
You can ask. Also, the first window data transfer
Shared by both the process and the second window data transfer process
The pixels of the candidate block are stored in the second pixel data transfer holding unit.
Since the data is transferred , different distortions can be obtained with a small device configuration.

【0287】さらに、ブロック特定工程において、第1
ディストーション算出工程および第2ディストーション
算出工程で算出したそれぞれのディストーションを加算
し、最小ディストーションを検出しているので、現画像
フレームブロックに対する動きベクトルを、現画像フィ
ールドブロックに対するディストーションを利用して、
特定することができる。また、2つのフィールドブロッ
クディストーションを加算するタイミングを、2つの探
索フィールドの状態に合わせて調整することができる。
In the block specifying step, the first
Since the minimum distortion is detected by adding the respective distortions calculated in the distortion calculation step and the second distortion calculation step , the motion vector for the current image frame block is calculated using the distortion for the current image field block.
Can be identified. Further, the timing of adding the two field block distortions can be adjusted according to the state of the two search fields.

【0288】請求項2記載の発明によれば、請求項1記
載の動きベクトル探索方法に加え、入力現画像選択工程
が、異現画像データ入力工程を選択したとき、第1ディ
ストーション算出工程が、現画像第2フィールドの現画
像画像ブロックと参照画像第1フィールドのフィールド
候補ブロックとのディストーションを算出し、第2ディ
ストーション算出工程が、現画像第1フィールドの現画
像画像ブロックと参照画像第2フィールドのフィールド
候補ブロックとのディストーションを算出し、入力現画
像選択工程が、同一現画像データ入力工程を選択したと
き、第3ディストーション算出工程が、現画像第1フィ
ールドの現画像画像ブロックと参照画像第1フィールド
のフィールド候補ブロックとのディストーションを算出
し、第4ディストーション算出工程が、現画像第2フィ
ールドの現画像画像ブロックと参照画像第2フィールド
のフィールド候補ブロックとのディストーションを算出
するので、デュアルプライム予測におけるディストーシ
ョンを算出することができる。
According to the second aspect of the present invention, in addition to the motion vector search method of the first aspect, an input current image selecting step
Selects the first image data input process,
Scan torsion calculating step calculates the distortion field candidate block of the reference image first field and current picture block of the current picture second field, the second di
Scan torsion calculating step calculates the distortion field candidate block in the reference image the second field and the current picture block of the current image first field, enter Gen'e
When the image selection process selects the same current image data input process
Then, the third distortion calculating step is the first image of the current image.
Field of current image and first field of reference image
Calculate distortion with field candidate block
Then, the fourth distortion calculating step is performed by using the second image of the current image.
Field of current image and second field of reference image
Calculate distortion with field candidate block
Because, it is possible to calculate the distortion in the dual prime prediction.

【0289】請求項3記載の発明によれば、請求項1記
載の動きベクトル探索方法に加え、第1ディストーショ
ン算出工程および第2ディストーション算出工程が、フ
ィールド候補ブロックの各画素と該画素に隣接する画素
とを加算し、1/2画素を生成するので、現画像フィー
ルドブロックの画素と該1/2画素との間の局所ディス
トーションが算出でき、現画像フィールドブロックと各
1/2画素フィールド候補ブロックとの間の画像の差を
表わす複数のディストーションをそれぞれ算出すること
ができ、より細かい探索ができる。
According to the third aspect of the present invention, in addition to the motion vector search method of the first aspect, the first distortion calculating step and the second distortion calculating step include each pixel of the field candidate block and an adjacent pixel. Since the pixel is added to generate a half pixel, a local distortion between the pixel of the current image field block and the half pixel can be calculated, and the current image field block and each half pixel field candidate block are calculated. , A plurality of distortions each representing a difference between the images can be calculated, and a more detailed search can be performed.

【0290】請求項4記載の発明によれば、請求項1記
載の動きベクトル探索方法に加え、基準動きベクトルに
基づいてサーチウィンドウ内のフィールド候補ブロック
を選択しているので、探索範囲を限定でき、探索を細か
くあるいは算出時間を短縮することができる。さらに、
基準動きベクトルに基づいて探索するので、内挿予測に
も適用できる。
According to the fourth aspect of the present invention, in addition to the motion vector search method of the first aspect, since the field candidate block in the search window is selected based on the reference motion vector, the search range can be limited. The search can be finely performed or the calculation time can be shortened. further,
Since the search is performed based on the reference motion vector, it can be applied to interpolation prediction.

【0291】請求項5記載の発明によれば、請求項4記
載の動きベクトル探索方法に加え、加算工程において、
第1ディストーション算出工程で算出された第1ディス
トーションと、第2ディストーション算出工程で算出さ
れた第2ディストーションと、を基準動きベクトルに基
づいてタイミングを調節して加算するので、第1ディス
トーション算出工程で算出された最小ディストーション
の比較対象となるディストーションと、第2ディストー
ション算出工程で算出された最小ディストーションの比
較対象となるディストーションと、の算出位置が異なっ
ても正確に最小ディストーションおよび動きベクトルを
特定することができる。
According to the invention of claim 5, in addition to the motion vector search method of claim 4, in the adding step,
The first distortion calculated in the first distortion calculating step and the first distortion calculated in the second distortion calculating step.
The calculated second distortion is added with the timing adjusted based on the reference motion vector, so that the distortion to be compared with the minimum distortion calculated in the first distortion calculation step and the distortion calculated in the second distortion calculation step are calculated. The minimum distortion and the motion vector can be accurately specified even if the calculated positions of the distortion to be compared with the minimum distortion are different.

【0292】請求項6記載の発明によれば、請求項5記
載の動きベクトル探索方法に加え、基準動きベクトルに
応じて4通りの加算タイミングを設けているので、第1
および第2ディストーション算出工程において算出され
る4通りのディストーション算出位置に過不足無く対応
して加算することができる。請求項7記載の発明によれ
ば、請求項4記載の動きベクトル探索方法に加え、基準
動きベクトル準備工程が、現画像第1フィールドの現画
像フィールドブロックと参照画像第1フィールドのフィ
ールド候補ブロックに基づいて算出された第1基準動き
ベクトルと、現画像第2フィールドの現画像フィールド
ブロックと参照画像第2フィールドのフィールド候補ブ
ロックに基づいて算出された第2基準動きベクトルと、
を準備するので、それぞれのフィールドに基づいた動き
ベクトルに従って、きめ細かくディストーションを探索
することができる。
According to the invention of claim 6, in addition to the motion vector search method of claim 5, four addition timings are provided according to the reference motion vector.
And the four distortion calculation positions calculated in the second distortion calculation step can be added without excess or deficiency. According to the seventh aspect of the present invention, in addition to the motion vector search method of the fourth aspect, the reference motion vector preparing step includes the step of preparing the current image field block of the current image first field and the field candidate block of the reference image first field. A first reference motion vector calculated based on the current image field block of the current image second field and a second reference motion vector calculated based on the field candidate block of the reference image second field;
Is prepared, so that distortion can be finely searched according to the motion vector based on each field.

【0293】請求項8記載の発明によれば、請求項7記
載の動きベクトル探索方法に加え、第1ディストーショ
ン算出工程が、現画像第1フィールドの現画像フィール
ドブロックと参照画像第1フィールドの各フィールド候
補ブロックとの間の画像の差を表わす複数の第1ディス
トーションをそれぞれ算出し、第2ディストーション算
工程が、現画像第2フィールドの現画像フィールドブ
ロックと参照画像第2フィールドの各フィールド候補ブ
ロックとの間の画像の差を表わす複数の第2ディストー
ションをそれぞれ算出し、ブロック特定工程において、
第1基準動きベクトルおよび第2基準動きベクトルを特
定するので、同一フィールド同士の基準動きベクトルに
ついても探索することができる。
According to the eighth aspect of the present invention, in addition to the motion vector search method of the seventh aspect, the first distortion calculating step includes the step of calculating each of the current image field block of the current image first field and the reference image first field. A plurality of first distortions each representing an image difference between the field candidate block and each of the field candidate blocks are calculated, and the second distortion calculating step includes the step of calculating a current image field block of the current image second field and a field candidate block of the reference image second field. And calculating a plurality of second distortions each representing an image difference between
Since the first reference motion vector and the second reference motion vector are specified, it is possible to search for a reference motion vector in the same field.

【0294】請求項9記載の発明によれば、請求項4記
載の動きベクトル探索方法に加え、基準動きベクトル
が、現画像フレームの現画像フレームブロックと参照画
像フレームのフレーム候補ブロックに基づいて算出され
たフレームの動きベクトルなので、一つの動きベクトル
で全てのディストーションを探索することができる。請
求項10記載の発明によれば、請求項9記載の動きベク
トル探索方法に加え、第3ディストーション算出工程
が、第3ウィンドウデータ転送工程で転送される各フレ
ーム候補ブロックの画素データに基づいてディストーシ
ョンを算出し、ブロック特定工程が該ディストーション
により動きベクトルを特定し、基準動きベクトル準備工
程が該動きベクトルを基準動きベクトルとするので、転
送工程の変更のみで、基準動きベクトルをも探索するこ
とができる。
According to the ninth aspect of the present invention, in addition to the motion vector search method of the fourth aspect, the reference motion vector is calculated based on the current image frame block of the current image frame and the frame candidate block of the reference image frame. Since the motion vector is the motion vector of the selected frame, all distortions can be searched for with one motion vector. According to the tenth aspect of the present invention, in addition to the motion vector search method of the ninth aspect, a third distortion calculating step
Are the frames transferred in the third window data transfer process.
Distortion based on the pixel data of the
The distortion is calculated, and the block
The motion vector is specified by
The process uses the motion vector as a reference motion vector.
It is possible to search the reference motion vector only by changing the feeding process.
Can be.

【0295】請求項11記載の発明によれば、第1ディ
ストーション算出工程が第1ウィンドウデータ転送工程
で転送される各候補ブロックの画素データに基づいてデ
ィストーションを算出し、第2ディストーション算出工
程が第2ウィンドウデータ転送工程で転送される各候補
ブロックの画素データに基づいて第1ディストーション
算出工程と同時にディストーションを算出するので、複
数の現画像ブロックに対するディストーションを同時に
求めることができる。また、第1ウィンドウデータ転送
工程と第2ウィンドウデータ転送工程の双方で共用して
第1画素データ転送保持ユニットおよび第2画素データ
転送保持ユニットに候補ブロックの画素データを転送さ
せるので、画素データ転送保持ユニットの数を1/2に
削減でき、少ない装置構成で別々のディストーションを
求めることができる。
According to the eleventh aspect of the present invention, the first directory
The distortion calculation step is the first window data transfer step
Data based on the pixel data of each candidate block
Calculate distortion and calculate the second distortion
Each candidate whose process is transferred in the second window data transfer process
1st distortion based on pixel data of block
Since the distortion is calculated at the same time as the calculation process,
Simultaneous distortion for a number of current image blocks
You can ask. Also, the first window data transfer
Shared by both the process and the second window data transfer process
First pixel data transfer holding unit and second pixel data
The pixel data of the candidate block is transferred to the transfer holding unit.
Therefore, the number of pixel data transfer holding units can be reduced by half, and different distortions can be obtained with a small device configuration.

【0296】さらに、ブロック特定工程において、第1
ディストーション算出工程および第2ディストーション
算出工程で算出したそれぞれのディストーションを加算
し、最小ディストーションを検出しているので、現画像
フレームブロックに対する動きベクトルを、現画像フィ
ールドブロックに対するディストーションを利用して、
特定することができる。また、2つのフィールドブロッ
クディストーションを加算するタイミングを、2つの探
索フィールドの状態に合わせて調整することができる。
In the block specifying step, the first
Since the minimum distortion is detected by adding the respective distortions calculated in the distortion calculation step and the second distortion calculation step , the motion vector for the current image frame block is calculated using the distortion for the current image field block.
Can be identified. Further, the timing of adding the two field block distortions can be adjusted according to the state of the two search fields.

【0297】請求項12記載の発明によれば、請求項1
1記載の動きベクトル探索方法に加え、入力現画像選択
工程が、異現画像データ入力工程を選択したとき、第1
ディストーション算出工程が、現画像第2フィールドの
現画像画像ブロックと参照画像第1フィールドのフィー
ルド候補ブロックとのディストーションを算出し、第2
ディストーション算出工程が、現画像第1フィールドの
現画像画像ブロックと参照画像第2フィールドのフィー
ルド候補ブロックとのディストーションを算出し、入力
現画像選択工程が、同一現画像データ入力工程を選択し
たとき、第3ディストーション算出工程が、現画像第1
フィールドの現画像画像ブロックと参照画像第1フィー
ルドのフィールド候補ブロックとのディストーションを
算出し、第4ディストーション算出工程が、現画像第2
フィールドの現画像画像ブロックと参照画像第2フィー
ルドのフィールド候補ブロックとのディストーションを
算出するので、デュアルプライム予測におけるディスト
ーションを算出することができる。
According to the twelfth aspect of the present invention, the first aspect is provided.
Selection of input current image in addition to the motion vector search method described in 1.
When the process selects the anomalous image data input process, the first
The distortion calculating step calculates a distortion between the current image image block of the second field of the current image and the field candidate block of the first field of the reference image, and calculates the second
The distortion calculating step calculates a distortion between the current image block of the first field of the current image and the field candidate block of the second field of the reference image , and inputs the distortion.
The current image selection process selects the same current image data input process.
When the third distortion calculation step is
Field current image image block and reference image first field
Distortion with the field candidate block
The fourth distortion calculating step calculates the second distortion of the current image.
The current image block of the field and the second image of the reference image
Distortion with the field candidate block
Since the calculation is performed, the distortion in the dual prime prediction can be calculated.

【0298】請求項13記載の発明によれば、請求項1
1記載の動きベクトル探索方法に加え、第1ディストー
ション算出工程および第2ディストーション算出工程
が、フィールド候補ブロックの各画素と該画素に隣接す
る画素とを加算し、1/2画素を生成するので、現画像
フィールドブロックの画素と該1/2画素との間の局所
ディストーションが算出でき、現画像フィールドブロッ
クと各1/2画素フィールド候補ブロックとの間の画像
の差を表わす複数のディストーションをそれぞれ算出す
ることができ、より細かい探索ができる。
According to the thirteenth aspect, according to the first aspect,
1 in addition to the motion vector search method described in
CalculationProcessAnd second distortion calculationProcess
Are adjacent to each pixel of the field candidate block.
Pixel is added to generate 1/2 pixel.
Local between pixel of the field block and the 1/2 pixel
Distortion can be calculated and the current image field block
Between the block and each half-pixel field candidate block
Calculate multiple distortions representing the difference between
Search can be performed more finely.

【0299】請求項14記載の発明によれば、請求項1
1記載の動きベクトル探索方法に加え、基準動きベクト
ルに基づいてサーチウィンドウ内のフィールド候補ブロ
ックを選択しているので、探索範囲を限定でき、探索を
細かくあるいは算出時間を短縮することができる。さら
に、基準動きベクトルに基づいて探索するので、内挿予
測にも適用できる。
According to the fourteenth aspect of the present invention, the first aspect
In addition to the motion vector search method described in 1 above, since the field candidate block in the search window is selected based on the reference motion vector, the search range can be limited, and the search can be finely performed or the calculation time can be reduced. Further, since the search is performed based on the reference motion vector, it can be applied to interpolation prediction.

【0300】請求項15記載の発明によれば、請求項1
4記載の動きベクトル探索方法に加え、加算工程におい
て、第1ディストーション算出工程で算出された第1デ
ィストーションと、第2ディストーション算出工程で算
出された第2ディストーションと、を基準動きベクトル
に基づいてタイミングを調節して加算するので、第1デ
ィストーション算出工程で算出された最小ディストーシ
ョンの比較対象となるディストーションと、第2ディス
トーション算出工程で算出された最小ディストーション
の比較対象となるディストーションと、の算出位置が異
なっても正確に最小ディストーションおよび動きベクト
ルを特定することができる。
According to the fifteenth aspect, the first aspect is provided.
In addition to the motion vector search method described in 4, the addition step includes calculating the first distortion calculated in the first distortion calculation step and the second distortion calculation step.
The output second distortion is added by adjusting the timing based on the reference motion vector, so that the distortion to be compared with the minimum distortion calculated in the first distortion calculation step and the distortion calculated in the second distortion calculation step The minimum distortion and the motion vector can be accurately specified even if the calculated position of the distortion to be compared with the calculated minimum distortion is different.

【0301】請求項16記載の発明によれば、請求項1
5記載の動きベクトル探索方法に加え、基準動きベクト
ルに応じて4通りの加算タイミングを設けているので、
第1および第2ディストーション算出工程において算出
される4通りのディストーション算出位置に過不足無く
対応して加算することができる。請求項17記載の発明
によれば、請求項14記載の動きベクトル探索方法に加
え、基準動きベクトル準備工程が、現画像第1フィール
ドの現画像フィールドブロックと参照画像第1フィール
ドのフィールド候補ブロックに基づいて算出された第1
基準動きベクトルと、現画像第2フィールドの現画像フ
ィールドブロックと参照画像第2フィールドのフィール
ド候補ブロックに基づいて算出された第2基準動きベク
トルと、を準備するので、それぞれのフィールドに基づ
いた動きベクトルに従って、きめ細かくディストーショ
ンを探索することができる。
According to the sixteenth aspect of the present invention, the first aspect
In addition to the motion vector search method described in 5 above, since four addition timings are provided according to the reference motion vector,
The four distortion calculation positions calculated in the first and second distortion calculation steps can be added without excess or deficiency. According to the seventeenth aspect of the present invention, in addition to the motion vector search method of the fourteenth aspect, the reference motion vector preparing step includes the step of preparing the current image field block of the current image first field and the field candidate block of the reference image first field. The first calculated based on
Since the reference motion vector and the second reference motion vector calculated based on the current image field block of the second field of the current image and the field candidate block of the second field of the reference image are prepared , the motion based on each field is prepared. According to the vector, it is possible to search for distortion in detail.

【0302】請求項18記載の発明によれば、請求項1
7記載の動きベクトル探索方法に加え、第1ディストー
ション算出工程が、現画像第1フィールドの現画像フィ
ールドブロックと参照画像第1フィールドの各フィール
ド候補ブロックとの間の画像の差を表わす複数の第1デ
ィストーションをそれぞれ算出し、第2ディストーショ
ン算出工程が、現画像第2フィールドの現画像フィール
ドブロックと参照画像第2フィールドの各フィールド候
補ブロックとの間の画像の差を表わす複数の第2ディス
トーションをそれぞれ算出し、ブロック特定工程におい
て、第1基準動きベクトルおよび第2基準動きベクトル
を特定するので、同一フィールド同士の基準動きベクト
ルについても探索することができる。
[0302] According to the eighteenth aspect, the first aspect is provided.
7. In addition to the motion vector search method described in Item 7, the first distortion calculating step includes a step of calculating a plurality of second distortions representing an image difference between the current image field block of the current image first field and each field candidate block of the reference image first field. A second distortion calculating step of calculating a plurality of second distortions representing an image difference between the current image field block of the current image second field and each field candidate block of the reference image second field. Since each is calculated and the first reference motion vector and the second reference motion vector are specified in the block specifying step, it is possible to search for the reference motion vectors of the same field.

【0303】請求項19記載の発明によれば、請求項1
4記載の動きベクトル探索方法に加え、基準動きベクト
ルが、現画像フレームの現画像フレームブロックと参照
画像フレームのフレーム候補ブロックに基づいて算出さ
れたフレームの動きベクトルなので、一つの動きベクト
ルで全てのディストーションを探索することができる。
[0303] According to the nineteenth aspect, the first aspect is provided.
In addition to the motion vector search method described in 4, the reference motion vector is a motion vector of a frame calculated based on the current image frame block of the current image frame and the frame candidate block of the reference image frame. You can search for distortion.

【0304】請求項20記載の発明によれば、請求項1
9記載の動きベクトル探索方法に加え、第3ディストー
ション算出工程が、第3ウィンドウデータ転送工程で転
送される各フレーム候補ブロックの画素データに基づい
てディストーションを算出し、ブロック特定工程が該デ
ィストーションにより動きベクトルを特定し、基準動き
ベクトル準備工程が該動きベクトルを基準動きベクトル
とするので、転送工程の変更のみで、基準動きベクトル
をも探索することができる。
According to the twentieth aspect, according to the first aspect,
In addition to the motion vector search method according 9, third Distortion
Is calculated in the third window data transfer process.
Based on the pixel data of each frame candidate block sent
To calculate the distortion, and the block identification process
The motion vector is specified by the
The vector preparation step uses the motion vector as a reference motion vector.
Therefore, only by changing the transfer process, the reference motion vector
Can also be searched.

【0305】請求項21記載の発明によれば、ディスト
ーションを算出させるときの各候補ブロックの画素デー
タを転送させる転送経路が、第1画素データ転送保持ユ
ニット、第1ディストーション算出ユニットおよび第2
画素データ転送保持ユニットの間で転送させる第1転送
経路と、第2画素データ転送保持ユニット、第2ディス
トーション算出ユニットおよび第3画素データ転送保持
ユニットの間で転送させる第2転送経路と、を有し、第
1ディストーション算出ユニットおよび第2ディストー
ション算出ユニットが、それぞれ別の現画像フィールド
ブロックに対する各フィールド候補ブロックにおけるデ
ィストーションを算出しているので、複数の現画像フィ
ールドブロックに対するディストーションを同時に求め
ることができ、また、第2画素データ転送保持ユニット
を共用しているので、第2画素データ転送保持ユニット
の分、少ない装置構成で別々のディストーションを求め
ることができる。
According to the twenty-first aspect, the transfer path for transferring the pixel data of each candidate block when calculating the distortion includes the first pixel data transfer holding unit, the first distortion calculation unit, and the second distortion data calculating unit.
There is a first transfer path for transferring between the pixel data transfer and holding units, and a second transfer path for transferring between the second pixel data transfer and holding unit, the second distortion calculation unit and the third pixel data transfer and holding unit. Since the first distortion calculation unit and the second distortion calculation unit calculate the distortion in each field candidate block for each different current image field block, it is possible to simultaneously obtain the distortion for a plurality of current image field blocks. In addition, since the second pixel data transfer holding unit is shared, separate distortions can be obtained with a small number of device configurations corresponding to the second pixel data transfer holding unit.

【0306】さらに、ブロック特定手段が、第1ディス
トーション算出ユニットおよび第2ディストーション算
出ユニットで算出したそれぞれのディストーションを加
算し、最小ディストーションを検出しているので、現画
像フレームブロックに対する動きベクトルを、現画像フ
ィールドブロックに対するディストーションを利用し
て、特定することができる。また、2つのフィールドブ
ロックディストーションを加算するタイミングを、2つ
の探索フィールドの状態に合わせて調整することができ
る。
Further, since the block specifying means adds the respective distortions calculated by the first distortion calculation unit and the second distortion calculation unit and detects the minimum distortion, the motion vector for the current image frame block is calculated. It can be specified by using the distortion for the image field block. In addition, two fields
Two timings for adding rock distortion
Can be adjusted according to the condition of the search field
You.

【0307】請求項22記載の発明によれば、請求項2
1記載の動きベクトル探索装置に加え、第1ディストー
ション算出ユニットが、現画像第2フィールドの現画像
画像ブロックと参照画像第1フィールドのフィールド候
補ブロックとのディストーションを算出し、第2ディス
トーション算出ユニットが、現画像第1フィールドの現
画像画像ブロックと参照画像第2フィールドのフィール
ド候補ブロックとのディストーションを算出するので、
デュアルプライム予測におけるディストーションを算出
することができる。
According to the twenty-second aspect, the second aspect is provided.
In addition to the motion vector search device described in 1, the first distortion calculation unit calculates the distortion between the current image block of the current image second field and the field candidate block of the reference image first field, and the second distortion calculation unit Calculates the distortion between the current image block of the first field of the current image and the field candidate block of the second field of the reference image.
Distortion in dual prime prediction can be calculated.

【0308】請求項23記載の発明によれば、請求項2
1記載の動きベクトル探索装置に加え、第1ディストー
ション算出ユニットおよび第2ディストーション算出ユ
ニットが、フィールド候補ブロックの各画素と該画素に
隣接する画素とを加算し、1/2画素を生成するので、
現画像フィールドブロックの画素と該1/2画素との間
の局所ディストーションが算出でき、現画像フィールド
ブロックと各1/2画素フィールド候補ブロックとの間
の画像の差を表わす複数のディストーションをそれぞれ
算出することができ、より細かい探索ができる。
According to the twenty-third aspect of the present invention, the second aspect is provided.
In addition to the motion vector search device described in 1, the first distortion calculation unit and the second distortion calculation unit add each pixel of the field candidate block and a pixel adjacent to the pixel to generate a half pixel,
A local distortion between a pixel of the current image field block and the 1/2 pixel can be calculated, and a plurality of distortions each representing an image difference between the current image field block and each 1/2 pixel field candidate block are calculated. You can do more detailed searches.

【0309】請求項24記載の発明によれば、請求項2
1記載の動きベクトル探索装置に加え、基準動きベクト
ルに基づいてサーチウィンドウ内のフィールド候補ブロ
ックを選択しているので、探索範囲を限定でき、探索を
細かくあるいは算出時間を短縮することができる。さら
に、基準動きベクトルに基づいて探索するので、内挿予
測にも適用できる。
According to the twenty-fourth aspect, the second aspect is provided.
In addition to the motion vector search device described in 1 above, since the field candidate block in the search window is selected based on the reference motion vector, the search range can be limited, and the search can be finely performed or the calculation time can be reduced. Further, since the search is performed based on the reference motion vector, it can be applied to interpolation prediction.

【0310】請求項25記載の発明によれば、請求項2
4記載の動きベクトル探索装置に加え、加算手段が、第
1ディストーション算出ユニットから出力される第1デ
ィストーションと、第2ディストーション算出ユニット
から出力される第2ディストーションと、を基準動きベ
クトルに基づいてタイミングを調節して加算するので、
第1ディストーション算出ユニットで算出される最小デ
ィストーションの比較対象となるディストーションと、
第2ディストーション算出ユニットで算出される最小デ
ィストーションの比較対象となるディストーションと、
の算出位置が異なっても正確に最小ディストーションお
よび動きベクトルを特定することができる。
According to the invention of claim 25, claim 2
In addition to the motion vector searching device described in Item 4, the adding means calculates a first distortion output from the first distortion calculating unit and a second distortion output from the second distortion calculating unit based on the reference motion vector. Is adjusted and added.
A distortion to be compared with the minimum distortion calculated by the first distortion calculating unit;
A distortion to be compared with the minimum distortion calculated by the second distortion calculating unit;
, The minimum distortion and the motion vector can be accurately specified.

【0311】請求項26記載の発明によれば、請求項2
5記載の動きベクトル探索装置に加え、基準動きベクト
ルに応じて4通りの加算タイミングを設けているので、
第1および第2ディストーション算出ユニットで算出さ
れる4通りのディストーション算出位置に過不足無く対
応して加算することができる。請求項27記載の発明に
よれば、請求項24記載の動きベクトル探索装置に加
え、基準動きベクトルが、現画像第1フィールドの現画
像フィールドブロックと参照画像第1フィールドのフィ
ールド候補ブロックに基づいて算出された第1基準動き
ベクトルと、現画像第2フィールドの現画像フィールド
ブロックと参照画像第2フィールドのフィールド候補ブ
ロックに基づいて算出された第2基準動きベクトルと、
を有するので、それぞれのフィールドに基づいた動きベ
クトルに従って、きめ細かくディストーションを探索す
ることができる。
According to the twenty-sixth aspect, the second aspect is provided.
In addition to the motion vector search device described in 5, the four addition timings are provided according to the reference motion vector.
The four distortion calculation positions calculated by the first and second distortion calculation units can be added without excess or deficiency. According to the twenty-seventh aspect of the present invention, in addition to the motion vector search device of the twenty-fourth aspect, the reference motion vector is based on a current image field block of the first field of the current image and a field candidate block of the first field of the reference image. A calculated first reference motion vector, a second reference motion vector calculated based on the current image field block of the current image second field and the field candidate block of the reference image second field,
, It is possible to search for distortion in detail according to the motion vector based on each field.

【0312】請求項28記載の発明によれば、請求項2
7記載の動きベクトル探索装置に加え、第1ディストー
ション算出ユニットが、現画像第1フィールドの現画像
フィールドブロックと参照画像第1フィールドの各フィ
ールド候補ブロックとの間の画像の差を表わす複数の第
1ディストーションをそれぞれ算出し、第2ディストー
ション算出ユニットが、現画像第2フィールドの現画像
フィールドブロックと参照画像第2フィールドの各フィ
ールド候補ブロックとの間の画像の差を表わす複数の第
2ディストーションをそれぞれ算出し、ブロック特定手
段が、第1基準動きベクトルおよび第2基準動きベクト
ルを特定するので、同一フィールド同士の基準動きベク
トルについても探索することができる。
According to the twenty-eighth aspect of the present invention, the second aspect is provided.
7. The motion vector search device according to claim 7, wherein the first distortion calculation unit includes a plurality of first distortion calculation units each representing a difference between an image between the current image field block of the current image first field and each field candidate block of the reference image first field. A second distortion calculating unit for calculating a plurality of second distortions representing an image difference between the current image field block of the current image second field and each field candidate block of the reference image second field; Since each is calculated and the block specifying unit specifies the first reference motion vector and the second reference motion vector, it is possible to search for the reference motion vectors of the same field.

【0313】請求項29記載の発明によれば、請求項2
4記載の動きベクトル探索装置に加え、基準動きベクト
ルが、現画像フレームの現画像フレームブロックと参照
画像フレームのフレーム候補ブロックに基づいて算出さ
れたフレームの動きベクトルなので、一つの動きベクト
ルで全てのディストーションを探索することができる。
According to the twenty-ninth aspect, the second aspect is provided.
In addition to the motion vector search device described in 4, the reference motion vector is a motion vector of a frame calculated based on the current image frame block of the current image frame and the frame candidate block of the reference image frame. You can search for distortion.

【0314】請求項30記載の発明によれば、請求項2
9記載の動きベクトル探索装置に加え、ディストーショ
ン算出手段が、各フレーム候補ブロックの画素データ
を、第1画素データ転送保持ユニット、第1ディストー
ション算出ユニット、第2ディストーション算出ユニッ
トおよび第3画素データ転送保持ユニットの間で転送さ
せる第3転送経路を有し、現画像フレームの現画像フレ
ームブロックと参照画像フレームのフレーム候補ブロッ
クに基づいたディストーションを算出し、ブロック特定
手段が、フレームの動きベクトルを基準動きベクトルと
して特定するので、転送経路を変更するだけで、基準動
きベクトルを探索することができる。
According to the thirtieth aspect, the second aspect is provided.
9. In addition to the motion vector searching device described in 9, the distortion calculating means stores the pixel data of each frame candidate block in a first pixel data transfer holding unit, a first distortion calculation unit, a second distortion calculation unit, and a third pixel data transfer holding. A third transfer path for transferring between the units, calculating a distortion based on the current image frame block of the current image frame and the frame candidate block of the reference image frame, and the block specifying unit uses the motion vector of the frame as a reference motion; Since it is specified as a vector, it is possible to search for a reference motion vector only by changing the transfer path.

【0315】請求項31記載の発明によれば、ディスト
ーションを算出させるときの各候補ブロックの画素デー
タを転送させる転送経路が、第1画素データ転送保持ユ
ニット、第1ディストーション算出ユニットおよび第2
画素データ転送保持ユニットの間で転送させる第1転送
経路と、第2画素データ転送保持ユニット、第2ディス
トーション算出ユニットおよび第1画素データ転送保持
ユニットの間で転送させる第2転送経路と、を有し、第
1ディストーション算出ユニットおよび第2ディストー
ション算出ユニットが、それぞれ別の現画像フィールド
ブロックに対する各フィールド候補ブロックにおけるデ
ィストーションを算出しているので、複数の現画像フィ
ールドブロックに対するディストーションを同時に求め
ることができ、また、第2画素データ転送保持ユニット
を共用しているので、第2画素データ転送保持ユニット
の分、少ない装置構成で別々のディストーションを求め
ることができる。
According to the thirty-first aspect of the present invention, the transfer path for transferring the pixel data of each candidate block when calculating the distortion includes the first pixel data transfer holding unit, the first distortion calculation unit and the second distortion calculation unit.
There is a first transfer path for transferring between the pixel data transfer and holding units, and a second transfer path for transferring between the second pixel data transfer and holding unit, the second distortion calculation unit and the first pixel data transfer and holding unit. Since the first distortion calculation unit and the second distortion calculation unit calculate the distortion in each field candidate block for each different current image field block, the distortion for a plurality of current image field blocks can be obtained simultaneously. In addition, since the second pixel data transfer holding unit is shared, separate distortions can be obtained with a small number of device configurations corresponding to the second pixel data transfer holding unit.

【0316】さらに、ブロック特定手段が、第1ディス
トーション算出ユニットおよび第2ディストーション算
出ユニットで算出したそれぞれのディストーションを加
算し、最小ディストーションを検出しているので、現画
像フレームブロックに対する動きベクトルを、現画像フ
ィールドブロックに対するディストーションを利用し
て、特定することができる。また、2つのフィールドブ
ロックディストーションを加算するタイミングを、2つ
の探索フィールドの状態に合わせて調整することができ
る。
Further, since the block specifying means adds the respective distortions calculated by the first distortion calculation unit and the second distortion calculation unit and detects the minimum distortion, the motion vector for the current image frame block is calculated. It can be specified by using the distortion for the image field block. In addition, two fields
Two timings for adding rock distortion
Can be adjusted according to the condition of the search field
You.

【0317】請求項32記載の発明によれば、請求項3
1記載の動きベクトル探索装置に加え、第1ディストー
ション算出ユニットが、現画像第2フィールドの現画像
画像ブロックと参照画像第1フィールドのフィールド候
補ブロックとのディストーションを算出し、第2ディス
トーション算出ユニットが、現画像第1フィールドの現
画像画像ブロックと参照画像第2フィールドのフィール
ド候補ブロックとのディストーションを算出するので、
デュアルプライム予測におけるディストーションを算出
することができる。
According to the invention of claim 32, claim 3
In addition to the motion vector search device described in 1, the first distortion calculation unit calculates the distortion between the current image block of the current image second field and the field candidate block of the reference image first field, and the second distortion calculation unit Calculates the distortion between the current image block of the first field of the current image and the field candidate block of the second field of the reference image.
Distortion in dual prime prediction can be calculated.

【0318】請求項33記載の発明によれば、請求項3
1記載の動きベクトル探索装置に加え、第1ディストー
ション算出ユニットおよび第2ディストーション算出ユ
ニットが、フィールド候補ブロックの各画素と該画素に
隣接する画素とを加算し、1/2画素を生成するので、
現画像フィールドブロックの画素と該1/2画素との間
の局所ディストーションが算出でき、現画像フィールド
ブロックと各1/2画素フィールド候補ブロックとの間
の画像の差を表わす複数のディストーションをそれぞれ
算出することができ、より細かい探索ができる。
According to the invention of claim 33, claim 3
In addition to the motion vector search device described in 1, the first distortion calculation unit and the second distortion calculation unit add each pixel of the field candidate block and a pixel adjacent to the pixel to generate a half pixel,
A local distortion between a pixel of the current image field block and the 1/2 pixel can be calculated, and a plurality of distortions each representing an image difference between the current image field block and each 1/2 pixel field candidate block are calculated. You can do more detailed searches.

【0319】請求項34記載の発明によれば、請求項3
1記載の動きベクトル探索装置に加え、基準動きベクト
ルに基づいてサーチウィンドウ内のフィールド候補ブロ
ックを選択しているので、探索範囲を限定でき、探索を
細かくあるいは算出時間を短縮することができる。さら
に、基準動きベクトルに基づいて探索するので、内挿予
測にも適用できる。
According to the invention of claim 34, claim 3
In addition to the motion vector search device described in 1 above, since the field candidate block in the search window is selected based on the reference motion vector, the search range can be limited, and the search can be finely performed or the calculation time can be reduced. Further, since the search is performed based on the reference motion vector, it can be applied to interpolation prediction.

【0320】請求項35記載の発明によれば、請求項3
4記載の動きベクトル探索装置に加え、加算手段が、第
1ディストーション算出ユニットから出力される第1デ
ィストーションと、第2ディストーション算出ユニット
から出力される第2ディストーションと、を基準動きベ
クトルに基づいてタイミングを調節して加算するので、
第1ディストーション算出ユニットで算出される最小デ
ィストーションの比較対象となるディストーションと、
第2ディストーション算出ユニットで算出される最小デ
ィストーションの比較対象となるディストーションと、
の算出位置が異なっても正確に最小ディストーションお
よび動きベクトルを特定することができる。
According to the invention of claim 35, claim 3
In addition to the motion vector searching device described in Item 4, the adding means calculates a first distortion output from the first distortion calculating unit and a second distortion output from the second distortion calculating unit based on the reference motion vector. Is adjusted and added.
A distortion to be compared with the minimum distortion calculated by the first distortion calculating unit;
A distortion to be compared with the minimum distortion calculated by the second distortion calculating unit;
, The minimum distortion and the motion vector can be accurately specified.

【0321】請求項36記載の発明によれば、請求項3
5記載の動きベクトル探索装置に加え、基準動きベクト
ルに応じて4通りの加算タイミングを設けているので、
第1および第2ディストーション算出ユニットで算出さ
れる4通りのディストーション算出位置に過不足無く対
応して加算することができる。請求項37記載の発明に
よれば、請求項34記載の動きベクトル探索装置に加
え、基準動きベクトルが、現画像第1フィールドの現画
像フィールドブロックと参照画像第1フィールドのフィ
ールド候補ブロックに基づいて算出された第1基準動き
ベクトルと、現画像第2フィールドの現画像フィールド
ブロックと参照画像第2フィールドのフィールド候補ブ
ロックに基づいて算出された第2基準動きベクトルと、
を有するので、それぞれのフィールドに基づいた動きベ
クトルに従って、きめ細かくディストーションを探索す
ることができる。
According to the invention of claim 36, claim 3
In addition to the motion vector search device described in 5, the four addition timings are provided according to the reference motion vector.
The four distortion calculation positions calculated by the first and second distortion calculation units can be added without excess or deficiency. According to the invention of claim 37, in addition to the motion vector search device of claim 34, the reference motion vector is based on a current image field block of the current image first field and a field candidate block of the reference image first field. A calculated first reference motion vector, a second reference motion vector calculated based on the current image field block of the current image second field and the field candidate block of the reference image second field,
, It is possible to search for distortion in detail according to the motion vector based on each field.

【0322】請求項38記載の発明によれば、請求項3
7記載の動きベクトル探索装置に加え、第1ディストー
ション算出ユニットが、現画像第1フィールドの現画像
フィールドブロックと参照画像第1フィールドの各フィ
ールド候補ブロックとの間の画像の差を表わす複数の第
1ディストーションをそれぞれ算出し、第2ディストー
ション算出ユニットが、現画像第2フィールドの現画像
フィールドブロックと参照画像第2フィールドの各フィ
ールド候補ブロックとの間の画像の差を表わす複数の第
2ディストーションをそれぞれ算出し、ブロック特定手
段が、第1基準動きベクトルおよび第2基準動きベクト
ルを特定するので、同一フィールド同士の基準動きベク
トルについても探索することができる。
According to the invention of claim 38, claim 3
7. The motion vector search device according to claim 7, wherein the first distortion calculation unit includes a plurality of first distortion calculation units each representing a difference between an image between the current image field block of the current image first field and each field candidate block of the reference image first field. A second distortion calculating unit for calculating a plurality of second distortions representing a difference between an image between a current image field block of a current image second field and each field candidate block of a reference image second field; Since each is calculated and the block specifying unit specifies the first reference motion vector and the second reference motion vector, it is possible to search for the reference motion vectors of the same field.

【0323】請求項39記載の発明によれば、請求項3
4記載の動きベクトル探索装置に加え、基準動きベクト
ルが、現画像フレームの現画像フレームブロックと参照
画像フレームのフレーム候補ブロックに基づいて算出さ
れたフレームの動きベクトルなので、一つの動きベクト
ルで全てのディストーションを探索することができる。
According to the invention of claim 39, claim 3
In addition to the motion vector search device described in 4, the reference motion vector is a motion vector of a frame calculated based on the current image frame block of the current image frame and the frame candidate block of the reference image frame. You can search for distortion.

【0324】請求項40記載の発明によれば、請求項3
9記載の動きベクトル探索装置に加え、ディストーショ
ン算出手段が、各フレーム候補ブロックの画素データ
を、第1画素データ転送保持ユニット、第1ディストー
ション算出ユニットおよび第2ディストーション算出ユ
ニットの間で転送させる第3転送経路を有し、現画像フ
レームの現画像フレームブロックと参照画像フレームの
フレーム候補ブロックに基づいたディストーションを算
出し、ブロック特定手段が、フレームの動きベクトルを
基準動きベクトルとして特定するので、転送経路を変更
するだけで、基準動きベクトルを探索することができ
る。
[0324] According to the fortieth aspect, the third aspect is provided.
In addition to the motion vector searching device described in Item 9, the distortion calculating means causes the pixel data of each frame candidate block to be transferred between the first pixel data transfer holding unit, the first distortion calculating unit, and the second distortion calculating unit. A transfer path for calculating a distortion based on the current image frame block of the current image frame and the frame candidate block of the reference image frame, and the block specifying unit specifying the motion vector of the frame as a reference motion vector; , The reference motion vector can be searched for.

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

【図1】本発明に係わる動きベクトル探索装置の基本構
成を示す図である。
FIG. 1 is a diagram showing a basic configuration of a motion vector search device according to the present invention.

【図2】本発明に係わる現画像ブロックと候補ブロック
を説明する図である。
FIG. 2 is a diagram illustrating a current image block and a candidate block according to the present invention.

【図3】本発明に係わる現画像ブロックと候補ブロック
の対応例を説明する図である。
FIG. 3 is a diagram illustrating an example of a correspondence between a current image block and a candidate block according to the present invention.

【図4】本発明に係わる実施例の動きベクトル探索装置
の構成例を示す図である。
FIG. 4 is a diagram illustrating a configuration example of a motion vector search device according to an embodiment of the present invention.

【図5】信号出力ユニットから各ユニットおよび手段へ
出力される制御信号を示す図である。
FIG. 5 is a diagram showing control signals output from the signal output unit to each unit and means.

【図6】信号出力ユニットから出力される各信号のタイ
ミングチャートである。
FIG. 6 is a timing chart of each signal output from the signal output unit.

【図7】信号出力ユニットから出力される各信号のタイ
ミングチャートである。
FIG. 7 is a timing chart of each signal output from the signal output unit.

【図8】信号出力ユニットから出力される各信号のタイ
ミングチャートである。
FIG. 8 is a timing chart of each signal output from the signal output unit.

【図9】信号出力ユニットから出力される各信号のタイ
ミングチャートである。
FIG. 9 is a timing chart of each signal output from the signal output unit.

【図10】信号出力ユニットから出力される各信号のタ
イミングチャートである。
FIG. 10 is a timing chart of each signal output from the signal output unit.

【図11】信号出力ユニットから出力される各信号のタ
イミングチャートである。
FIG. 11 is a timing chart of each signal output from the signal output unit.

【図12】信号出力ユニットから出力される各信号のタ
イミングチャートである。
FIG. 12 is a timing chart of each signal output from the signal output unit.

【図13】図4に示すディストーション算出手段の詳細
構成を示す図である。
FIG. 13 is a diagram illustrating a detailed configuration of a distortion calculating unit illustrated in FIG. 4;

【図14】図13に示すディストーション算出手段を簡
略化して示す図である。
FIG. 14 is a simplified diagram showing the distortion calculating means shown in FIG. 13;

【図15】プロセッサエレメントPEの端子配置を示す
図である。
FIG. 15 is a diagram showing a terminal arrangement of a processor element PE.

【図16】プロセッサエレメントPEの端子配置を示す
図である。
FIG. 16 is a diagram showing a terminal arrangement of a processor element PE.

【図17】プロセッサエレメントPEのブロック図であ
る。
FIG. 17 is a block diagram of a processor element PE.

【図18】プロセッサエレメントPEのブロック図であ
る。
FIG. 18 is a block diagram of a processor element PE.

【図19】プロセッサエレメントPE内の加算器のブロ
ック図である。
FIG. 19 is a block diagram of an adder in the processor element PE.

【図20】サイドレジスタSRの端子配置を示す図およ
びサイドレジスタSRのブロック図である。
FIG. 20 is a diagram showing a terminal arrangement of the side register SR and a block diagram of the side register SR.

【図21】入力レジスタIRの端子配置を示す図および
入力レジスタIRのブロック図である。
FIG. 21 is a diagram showing a terminal arrangement of an input register IR and a block diagram of the input register IR.

【図22】入力レジスタIRの端子配置を示す図および
入力レジスタIRのブロック図である。
FIG. 22 is a diagram showing a terminal arrangement of the input register IR and a block diagram of the input register IR.

【図23】ブロック特定ユニットのブロック図である。FIG. 23 is a block diagram of a block specifying unit.

【図24】デュアルプライム予測におけるディストーシ
ョン算出時のクロックパルス信号CK1の1クロック目
のディストーション算出手段における画素データの配置
を示す図である。
FIG. 24 is a diagram showing an arrangement of pixel data in a distortion calculating unit of the first clock of the clock pulse signal CK1 when calculating distortion in dual prime prediction.

【図25】デュアルプライム予測におけるディストーシ
ョン算出時のクロックパルス信号CK1の2クロック目
のディストーション算出手段における画素データの配置
を示す図である。
FIG. 25 is a diagram showing an arrangement of pixel data in a distortion calculating means of a second clock of the clock pulse signal CK1 when calculating distortion in dual prime prediction.

【図26】デュアルプライム予測におけるディストーシ
ョン算出時のクロックパルス信号CK1の3クロック目
のディストーション算出手段における画素データの配置
を示す図である。
FIG. 26 is a diagram showing an arrangement of pixel data in a distortion calculating unit of a third clock of the clock pulse signal CK1 when calculating distortion in dual prime prediction.

【図27】デュアルプライム予測におけるディストーシ
ョン算出時のクロックパルス信号CK1の4クロック目
のディストーション算出手段における画素データの配置
を示す図である。
FIG. 27 is a diagram showing an arrangement of pixel data in a distortion calculating means at the fourth clock of the clock pulse signal CK1 when calculating distortion in dual prime prediction.

【図28】デュアルプライム予測におけるディストーシ
ョン算出時のクロックパルス信号CK1の5クロック目
のディストーション算出手段における画素データの配置
を示す図である。
FIG. 28 is a diagram showing an arrangement of pixel data in a distortion calculating means at the fifth clock of the clock pulse signal CK1 when calculating distortion in dual prime prediction.

【図29】デュアルプライム予測におけるディストーシ
ョン算出時のクロックパルス信号CK1の6クロック目
のディストーション算出手段における画素データの配置
を示す図である。
FIG. 29 is a diagram showing an arrangement of pixel data in a distortion calculating means at the sixth clock of the clock pulse signal CK1 when calculating distortion in dual prime prediction.

【図30】デュアルプライム予測におけるディストーシ
ョン算出時のクロックパルス信号CK1の7クロック目
のディストーション算出手段における画素データの配置
を示す図である。
FIG. 30 is a diagram illustrating an arrangement of pixel data in a distortion calculating unit at the seventh clock of the clock pulse signal CK1 when calculating distortion in dual prime prediction.

【図31】デュアルプライム予測におけるディストーシ
ョン算出時のクロックパルス信号CK1の10クロック
目のディストーション算出手段における画素データの配
置を示す図である。
FIG. 31 is a diagram showing an arrangement of pixel data in a distortion calculating means at the tenth clock of the clock pulse signal CK1 when calculating distortion in dual prime prediction.

【図32】デュアルプライム予測におけるディストーシ
ョン算出時のクロックパルス信号CK1の11クロック
目のディストーション算出手段における画素データの配
置を示す図である。
FIG. 32 is a diagram illustrating an arrangement of pixel data in a distortion calculating unit of an eleventh clock of the clock pulse signal CK1 when calculating distortion in dual prime prediction.

【図33】デュアルプライム予測におけるディストーシ
ョン算出時のクロックパルス信号CK1の18クロック
目のディストーション算出手段における画素データの配
置を示す図である。
FIG. 33 is a diagram showing an arrangement of pixel data in a distortion calculating means at the 18th clock of the clock pulse signal CK1 when calculating distortion in dual prime prediction.

【図34】フレームブロックディストーション算出時の
クロックパルス信号CK1の1クロック目のディストー
ション算出手段における画素データの配置を示す図であ
る。
FIG. 34 is a diagram showing an arrangement of pixel data in a distortion calculating means of a first clock of a clock pulse signal CK1 when calculating a frame block distortion.

【図35】フレームブロックディストーション算出時の
クロックパルス信号CK1の2クロック目のディストー
ション算出手段における画素データの配置を示す図であ
る。
FIG. 35 is a diagram showing an arrangement of pixel data in a distortion calculating means of a second clock of the clock pulse signal CK1 when calculating a frame block distortion.

【図36】フレームブロックディストーション算出時の
クロックパルス信号CK1の3クロック目のディストー
ション算出手段における画素データの配置を示す図であ
る。
FIG. 36 is a diagram showing an arrangement of pixel data in a distortion calculating means of a third clock of the clock pulse signal CK1 when calculating a frame block distortion.

【図37】フレームブロックディストーション算出時の
クロックパルス信号CK1の4クロック目のディストー
ション算出手段における画素データの配置を示す図であ
る。
FIG. 37 is a diagram showing an arrangement of pixel data in a distortion calculating means at the fourth clock of the clock pulse signal CK1 at the time of calculating frame block distortion.

【図38】フレームブロックディストーション算出時の
クロックパルス信号CK1の5クロック目のディストー
ション算出手段における画素データの配置を示す図であ
る。
FIG. 38 is a diagram showing an arrangement of pixel data in a distortion calculating means at the fifth clock of the clock pulse signal CK1 at the time of calculating frame block distortion.

【図39】フレームブロックディストーション算出時の
クロックパルス信号CK1の6クロック目のディストー
ション算出手段における画素データの配置を示す図であ
る。
FIG. 39 is a diagram showing an arrangement of pixel data in a distortion calculating means at the sixth clock of the clock pulse signal CK1 when calculating a frame block distortion.

【図40】フレームブロックディストーション算出時の
クロックパルス信号CK1の7クロック目のディストー
ション算出手段における画素データの配置を示す図であ
る。
FIG. 40 is a diagram showing an arrangement of pixel data in the distortion calculating means at the seventh clock of the clock pulse signal CK1 when calculating the frame block distortion.

【図41】フレームブロックディストーション算出時の
クロックパルス信号CK1の8クロック目のディストー
ション算出手段における画素データの配置を示す図であ
る。
FIG. 41 is a diagram showing an arrangement of pixel data in a distortion calculating means at the eighth clock of the clock pulse signal CK1 when calculating a frame block distortion.

【図42】フレームブロックディストーション算出時の
クロックパルス信号CK1の13クロック目のディスト
ーション算出手段における画素データの配置を示す図で
ある。
FIG. 42 is a diagram showing an arrangement of pixel data in a distortion calculating means at the thirteenth clock of the clock pulse signal CK1 when calculating a frame block distortion.

【図43】フレームブロックディストーション算出時の
クロックパルス信号CK1の19クロック目のディスト
ーション算出手段における画素データの配置を示す図で
ある。
FIG. 43 is a diagram showing an arrangement of pixel data in a distortion calculating means at the 19th clock of the clock pulse signal CK1 when calculating a frame block distortion.

【図44】垂直方向のスケーリングベクトルを示す図で
ある。
FIG. 44 is a diagram showing a scaling vector in the vertical direction.

【図45】水平方向のスケーリングベクトルを示す図で
ある。
FIG. 45 is a diagram showing a scaling vector in the horizontal direction.

【図46】スケーリング先のディストーション保持位置
を示す図である。
FIG. 46 is a diagram illustrating a distortion holding position at a scaling destination.

【図47】スケーリング先のディストーション保持位置
を示す図である。
FIG. 47 is a diagram illustrating a distortion holding position at a scaling destination.

【図48】プロセッサエレメントから出力されるディス
トーションのタイミングを示す図である。
FIG. 48 is a diagram illustrating the timing of distortion output from a processor element.

【図49】差分動きベクトルの座標で表した比較対象の
ディストーションを示す図である。
FIG. 49 is a diagram illustrating a distortion to be compared represented by coordinates of a differential motion vector.

【図50】レジスタ内のレジスタ番号と差分動きベクト
ルのディストーションとの対応を示す図である。
FIG. 50 is a diagram illustrating correspondence between register numbers in a register and distortion of a differential motion vector.

【図51】本発明に係わる実施例の動きベクトル探索装
置の構成例を示す図である。
FIG. 51 is a diagram illustrating a configuration example of a motion vector search device according to an embodiment of the present invention.

【図52】図51に示すディストーション算出手段の詳
細構成を示す図である。
FIG. 52 is a diagram showing a detailed configuration of a distortion calculating unit shown in FIG. 51.

【図53】従来の単純フレーム間予測を説明する図であ
る。
FIG. 53 is a diagram illustrating conventional simple inter-frame prediction.

【図54】従来の動き補償フレーム間予測を説明する図
である。
FIG. 54 is a diagram for explaining conventional motion compensation inter-frame prediction.

【図55】従来の現画像ブロックとサーチウィンドウを
説明する図である。
FIG. 55 is a diagram illustrating a conventional current image block and a search window.

【図56】従来の現画像ブロックと探索領域を説明する
図である。
FIG. 56 is a diagram illustrating a conventional current image block and a search area.

【図57】従来の現画像ブロック内の画素と候補ブロッ
ク内の画素との位置関係を説明する図である。
FIG. 57 is a diagram illustrating a conventional positional relationship between pixels in a current image block and pixels in a candidate block.

【図58】従来のディストーション算出方法とサーチウ
ィンドウの画素データの転送過程を説明する図である。
FIG. 58 is a diagram illustrating a conventional distortion calculation method and a transfer process of pixel data of a search window.

【図59】従来のディストーション算出方法とサーチウ
ィンドウの画素データの転送過程を説明する図である。
FIG. 59 is a diagram illustrating a conventional distortion calculation method and a transfer process of pixel data of a search window.

【図60】従来のフレーム構造における予測方式を説明
する図である。
FIG. 60 is a diagram illustrating a prediction method in a conventional frame structure.

【図61】従来のフレーム構造における予測方式を説明
する図である。
FIG. 61 is a diagram illustrating a prediction method in a conventional frame structure.

【図62】従来のフレーム構造における同一パリティフ
ェーズおよび異パリティフェーズを説明する図である。
FIG. 62 is a diagram illustrating the same parity phase and different parity phases in a conventional frame structure.

【図63】従来のデュアルプライム予測方式を説明する
図である。
FIG. 63 is a diagram illustrating a conventional dual prime prediction method.

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

1、3 人物像 2、2a 有意画素領域 10 現画像データ出力手段 20 参照画像データ出力手段 30 ディストーション算出手段 31 第1画素データ転送保持ユニット 32 第1ディストーション算出ユニット 33 第2画素データ転送保持ユニット 34 第2ディストーション算出ユニット 35 第3画素データ転送保持ユニット 60 ブロック特定手段 61 加算手段 62 ディストーション特定手段 81 現画像データ入力制御手段 82 ウィンドウデータ入力制御手段 83 ウィンドウデータ転送制御手段 84 ディストーション入力制御手段 85 モード切り換え手段 100 現画像 110、111、112、113 現画像ブロック 200 参照画像 210、211、212、213 サーチウィンドウ 310 候補ブロック 600 現画像フレーム 601 第1フィールド 602 第2フィールド 700 参照画像フレーム 701 第1フィールド 702 第2フィールド 800、810 現画像フレームブロック 801、811 現画像第1フィールドブロック 802、812 現画像第2フィールドブロック 900、910、920 フレーム候補ブロック 901、911、921 第1フィールド候補ブロック 902、912、922 第2フィールド候補ブロック 1000 現画像データ出力ユニット 2000 参照画像データ出力ユニット 3000 ディストーション算出手段 3110 セレクタ 3120 フリップフロップ 3210 減算器 3220、3221、3222、3223 正数変換器 3230 加算機 3240、3241、3242、3243 フリップフ
ロップ 3250 反転器 3260 論理積演算器 3270、3271、3272、3273 加算器 3281、3282、3283 加算器 3291、3292、3293 乗算器 3310、3311、3312、3313 セレクタ 3320、3321、3322、3323 フリップフ
ロップ 3410 セレクタ 4110 セレクタ 4120 フリップフロップ 4210 セレクタ 4220 フリップフロップ 6000 ブロック特定ユニット 6100 加算ユニット 6101 第1保持ユニット 6102 第2保持ユニット 6110 セレクタ 6120 セレクタ 6130 レジスタ 6140 レジスタ 6150 加算器 6200 ディストーション特定ユニット 6210 セレクタ 6220 比較器 6230 セレクタ 6240 フリップフロップ 6250 論理和演算器 6260 セレクタ 6270 セレクタ 6280 フリップフロップ 6290 フリップフロップ 8000 信号出力ユニット
1, 3 human image 2, 2a significant pixel area 10 current image data output means 20 reference image data output means 30 distortion calculation means 31 first pixel data transfer and holding unit 32 first distortion calculation unit 33 second pixel data transfer and holding unit 34 Second distortion calculating unit 35 Third pixel data transfer holding unit 60 Block specifying means 61 Addition means 62 Distortion specifying means 81 Current image data input control means 82 Window data input control means 83 Window data transfer control means 84 Distortion input control means 85 Mode Switching means 100 Current image 110, 111, 112, 113 Current image block 200 Reference image 210, 211, 212, 213 Search window 310 Candidate block 600 Current image Frame 601 First field 602 Second field 700 Reference image frame 701 First field 702 Second field 800,810 Current image frame block 801,811 Current image first field block 802,812 Current image second field block 900,910, 920 Frame candidate block 901, 911, 921 First field candidate block 902, 912, 922 Second field candidate block 1000 Current image data output unit 2000 Reference image data output unit 3000 Distortion calculating means 3110 Selector 3120 Flip-flop 3210 Subtractor 3220 3221, 3222, 3223 Positive number converter 3230 Adder 3240, 3241, 3242, 3243 Flip-flop 3 50 Inverter 3260 Logical product operator 3270, 3271, 3272, 3273 Adder 3281, 3282, 3283 Adder 3291, 3292, 3293 Multiplier 3310, 3311, 3312, 3313 Selector 3320, 3321, 3322, 3323 Flip-flop 3410 Selector 4110 selector 4120 flip-flop 4210 selector 4220 flip-flop 6000 block specifying unit 6100 adding unit 6101 first holding unit 6102 second holding unit 6110 selector 6120 selector 6130 register 6140 register 6150 adder 6200 distortion specifying unit 6210 selector 6220 comparator 6230 comparator Flip-flop 6250 logic Sum operator 6260 selector 6270 selector 6280 flip-flop 6290 flip-flop 8000 signal output unit

Claims (40)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】インタレース走査方式の動画像を部分的に
構成する現画像を、前記動画像を部分的に構成する参照
画像に基づいて予測するのに用いられる複数の動きベク
トルを探索する動きベクトル探索方法であり、前記現画
像が現画像フレームからなり、該現画像フレームが、現
画像第1フィールドおよび現画像第2フィールドを含む
とともに、画素データをそれぞれ有する複数の画素によ
り表わされる現画像フレームブロックを含み、前記現画
像第1フィールドおよび前記現画像第2フィールドが、
画素データをそれぞれ有する複数の画素により表わされ
る現画像フィールドブロックを含み、前記参照画像が参
照画像フレームからなり、該参照画像フレームが、参照
画像第1フィールドおよび参照画像第2フィールドを含
むとともに、画素データをそれぞれ有する複数の画素に
より表わされるサーチウインドウを含み、該サーチウイ
ンドウが、複数のフレーム候補ブロックを含み、前記参
照画像第1フィールドおよび前記参照画像第2フィール
ドが、画素データをそれぞれ有する複数の画素により表
わされるサーチウインドウを含み、該サーチウィンドウ
が、複数のフィールド候補ブロックを含み、前記現画像
フレームブロックと前記各フレーム候補ブロックが同一
サイズであり、前記現画像フィールドブロックのそれぞ
れが、前記各フィールド候補ブロックのそれぞれと同一
サイズであり、前記動きベクトルを探索する動きベクト
ル探索方法であって、それぞれ独立した任意の位置の、前記現画像第1フィー
ルドおよび前記現画像第2フィールドの現画像フィール
ドブロックの画素データと、前記参照画像第1フィール
ドおよび前記参照画像第2フィールドのサーチウィンド
ウ内のフィールド候補ブロックの画素データと、を準備
する画素データ準備工程と、 前記サーチウィンドウ内の各フィールド候補ブロックの
画素データの一部を入力して保持するとともに該保持し
たデータをそれぞれ転送する第1画素データ転送保持ユ
ニット、第2画素データ転送保持ユニットおよび第3画
素データ転送保持ユニットと、前記サーチウィンドウ内
の各フィールド候補ブロックの画素データの一部を入力
して保持するとともに該保持したデータをそれぞれ転送
し前記現画像フィールドブロックの画素データと前記サ
ーチウィンドウ内の各フィールド候補ブロックの画素デ
ータとに基づいて前記現画像フィールドブロックに対し
現画像フィールドブロックと前記各フィールド候補ブ
ロックとの間の画像の差をあらわす複数のディストーシ
ョンをそれぞれ算出する第1ディストーション算出ユニ
ットおよび第2ディストーション算出ユニットと、をそ
れぞれ準備する工程と、 前記参照画像第1フィールドの各フィールド候補ブロッ
クの画素データを、前記第1画素データ転送保持ユニッ
ト、第1ディストーション算出ユニットおよび第2画素
データ転送保持ユニットの間で転送する第1ウィンドウ
データ転送工程と、 前記参照画像第2フィールドの各フィールド候補ブロッ
クの画素データを、前記第2画素データ転送保持ユニッ
ト、第2ディストーション算出ユニットおよび第3画素
データ転送保持ユニットの間で転送する第2ウィンドウ
データ転送工程と、 前記現画像フィールドブロックの画素データを前記第1
ディストーション算出ユニットおよび前記第2ディスト
ーション算出ユニットに入力する現画像データ入力工程
と、 前記現画像データ入力工程で入力された前記現画像フィ
ールドブロックの画素データと、前記第1ウィンドウデ
ータ転送工程で転送された前記参照画像第1フィールド
の各フィールド候補ブロックの画素データと、に基づい
て、現画像フィールドブロックに対し、該現画像フィー
ルドブロックと前記参照画像第1フィールドの各フィー
ルド候補ブロックとの間の画像の差を表わす複数の第1
ディストーションをそれぞれ算出させる第1ディストー
ション算出工程と、 前記現画像データ入力工程で入力された前記現画像フィ
ールドブロックの画素データと、前記第1ウィンドウデ
ータ転送工程で転送された前記参照画像第2フィールド
の各フィールド候補ブロックの画素データと、に基づい
て、現画像フィールドブロックに対し、該現画像フィー
ルドブロックと前記参照画像第2フィールドの各フィー
ルド候補ブロックとの間の画像の差を表わす複数の第2
ディストーションをそれぞれ算出させる第2ディストー
ション算出工程と、 前記第1ディストーション算出工程および前記第2ディ
ストーション算出工程によって算出された前記第1およ
び第2ディストーションを取得するディストー ション取
得工程と、 該ディストーション取得工程によって取得されたディス
トーションの中から最小のディストーションを検出し
て、該最小のディストーションに対応する候補ブロック
および動きベクトルを特定するブロック特定工程と、 を備え、 前記 ブロック特定工程が、 前記現画像フレームブロックに対応したフレーム候補ブ
ロックのディストーションとなるように、前記第1ディ
ストーションと前記第2ディストーションとをそれぞれ
対応させて加算する加算工程と、 該加算されたそれぞれのディストーションのうちの最小
のディストーションを検出して、該最小のディストーシ
ョンに対応する候補ブロックおよび動きベクトルを特定
するディストーション特定工程と、を有し、 前記加算工程が、前記2つの探索フィールドの状態に合
わせて前記第1ディストーションと前記第2ディストー
ションとの加算タイミングを変更することを特徴とする
動きベクトル探索方法。
1. A motion for searching for a plurality of motion vectors used for predicting a current image partially forming a moving image of an interlaced scanning system based on a reference image partially forming the moving image. A vector search method, wherein the current image comprises a current image frame, wherein the current image frame includes a current image first field and a current image second field, and is represented by a plurality of pixels each having pixel data. A frame block, wherein the current image first field and the current image second field are:
A current image field block represented by a plurality of pixels each having pixel data, wherein the reference image comprises a reference image frame, the reference image frame including a reference image first field and a reference image second field; A search window represented by a plurality of pixels each having data, the search window including a plurality of frame candidate blocks, and the first field of the reference image and the second field of the reference image each having a plurality of pixel data. A search window represented by pixels, wherein the search window includes a plurality of field candidate blocks, the current image frame block and each of the frame candidate blocks are the same size, and each of the current image field blocks is Fi Is the same size as each of the field candidate blocks, a motion vector search method for searching the motion vector, any position independent, the current image first feature
Field and the current image field of the second field of the current image
And the reference image first field.
Window for the search field and the second field of the reference image
Prepare the pixel data of the field candidate block in c.
Pixel data preparing step to perform , and for each field candidate block in the search window
A part of the pixel data is input and held, and
The first pixel data transfer holding unit for transferring the
Unit, second pixel data transfer holding unit, and third image
Elementary data transfer holding unit and the search window
Input a part of pixel data of each field candidate block of
And transfer the stored data respectively
The pixel data of the current image field block and the
Pixel data of each field candidate block in the
The current image field block based on the
Wherein with the current image field blocks each field candidate Bed
Multiple distortions that show the difference between the image and the lock
The first distortion calculation unit that calculates each distortion
And a second distortion calculation unit.
Preparing each of them; and each field candidate block of the first field of the reference image.
Pixel data of the first pixel data transfer holding unit.
G, the first distortion calculation unit and the second pixel
First window to transfer between data transfer holding units
A data transfer step, and each field candidate block of the reference image second field
Pixel data of the second pixel data transfer holding unit.
G, the second distortion calculation unit and the third pixel
Second window to transfer between data transfer holding units
A data transfer step, wherein the pixel data of the current image field block is
Distortion calculation unit and second distortion
Current image data input process to input to the calculation unit
And the current image file input in the current image data input step.
Pixel data of the field block and the first window data.
The first field of the reference image transferred in the data transfer step
Pixel data of each field candidate block of
To the current image field block.
Field and each field of the first field of the reference image.
A plurality of first images representing an image difference between the first and second candidate blocks.
First distortion to calculate each distortion
And calculating the current image data inputted in the current image data input step.
Pixel data of the field block and the first window data.
Second field of the reference image transferred in the data transfer step
Pixel data of each field candidate block of
To the current image field block.
Fields of the reference block and the second field of the reference image.
A plurality of second images representing an image difference between the first and second candidate blocks.
The second distortion that calculates each distortion
And Deployment calculation step, the first distortion calculating step and the second de
The first and the first calculated by the distortion calculating step.
Preparative Distortion to get the beauty second distortion
With a resulting step, by detecting the minimum distortion from the distortion obtained by the distortion acquiring step, and a block specifying step of specifying a candidate block and a motion vector corresponding to the outermost small distortion, and the block identification An adding step of adding the first distortion and the second distortion in association with each other such that the distortion of the frame candidate block corresponding to the current image frame block is obtained, Detecting a minimum distortion among them, and specifying a candidate block and a motion vector corresponding to the minimum distortion, and wherein the adding step adjusts a state of the two search fields. A motion vector search method characterized by changing an addition timing of the first distortion and the second distortion.
【請求項2】請求項1記載の動きベクトル探索方法にお
いて、 前記現画像データ入力工程が、 前記現画像第1フィールドの現画像フィールドブロック
の画素データを前記第2ディストーション算出ユニット
に入力する第1現画像データ入力工程と、前記現画像第
2フィールドの現画像フィールドブロックの画素データ
を前記第1ディストーション算出ユニットに入力する第
2現画像データ入力工程と、を有する異現画像データ入
力工程と、 前記現画像第1フィールドの現画像フィールドブロック
の画素データを前記第1ディストーション算出ユニット
に入力する第3現画像データ入力工程と、前記現画像第
2フィールドの現画像フィールドブロックの画素データ
を前記第2ディストーション算出ユニットに入力する第
4現画像データ入力工程と、を有する同一現画像データ
入力工程と、有し、 前記異または同一現画像データ入力工程のいずれかを
択する入力現画像選択工程を備え、 該入力現画像選択工程が、前記 異現画像データ入力工程
を選択したとき、 前記第1ディストーション算出工程が、前記第2現画像
データ入力工程により入力された前記現画像第2フィー
ルドの現画像フィールドブロックと前記参照画像第1フ
ィールドの各フィールド候補ブロックとの間の画像の差
を表わす複数の第1ディストーションをそれぞれ算出
し、前記第2ディストーション算出工程が、前記第1現
画像データ入力工程により入力された前記現画像第1フ
ィールドの現画像フィールドブロックと前記参照画像第
2フィールドの各フィールド候補ブロックとの間の画像
の差を表わす複数の第2ディストーションをそれぞれ
出し、 前記同一現画像データ入力工程を選択したとき、前記第1ディストーション算出工程が、前記第3現画像
データ入力工程により入力された 前記現画像第1フィー
ルドの現画像フィールドブロックと前記参照画像第1フ
ィールドの各フィールド候補ブロックとの間の画像の差
を表わす複数の第1ディストーションをそれぞれ算出
し、前記第2ディストーション算出工程が 、前記第4現
画像データ入力工程により入力された前記現画像第2フ
ィールドの現画像フィールドブロックと前記参照画像第
2フィールドの各フィールド候補ブロックとの間の画像
の差を表わす複数の第2ディストーションをそれぞれ
出することを特徴とする動きベクトル探索方法。
2. The motion vector search method according to claim 1, wherein said current image data inputting step comprises: inputting pixel data of a current image field block of said first field of said current image to said second distortion calculating unit. A different current image data inputting step, comprising: a current image data inputting step; and a second current image data inputting step of inputting pixel data of a current image field block of the current image second field to the first distortion calculating unit. A third current image data input step of inputting pixel data of a current image field block of the first field of the current image to the first distortion calculating unit; and a pixel data of a current image field block of the second field of the current image. 4th current image data input process to input to 2 distortion calculation unit When the same current image data input step with, have, any of the different or the same current image data input step selection
Comprising a-option to enter the current image selection process, when the input current image selection process has selected the different current image data input step, the first distortion calculating step, the second current image
Calculating a plurality of first distortions each representing an image difference between a current image field block of the second field of the current image input in the data input step and each field candidate block of the first field of the reference image.
And, wherein the second distortion calculating step, the first current
Calculating a plurality of second distortions each representing an image difference between a current image field block of the first field of the current image and a field candidate block of the second field of the reference image input in the image data input step;
And when the same current image data input step is selected, the first distortion calculating step includes the third current image
Calculating a plurality of first distortions each representing an image difference between a current image field block of the first field of the current image input in the data input step and each field candidate block of the first field of the reference image;
And the second distortion calculating step includes the fourth current calculating step.
A plurality of second distortions each representing an image difference between a current image field block of the second field of the current image input in the image data input step and each field candidate block of the second field of the reference image are calculated.
Motion vector search method which is characterized in that output.
【請求項3】請求項1記載の動きベクトル探索方法にお
いて、 前記フィールド候補ブロックの各画素とそれぞれ水平、
垂直、対角方向に隣り合う画素との間に、該画素と、該
画素と隣接する画素と、の平均をとった1/2画素を設
け、前記フィールド候補ブロックの各画素の同一方向の
1/2画素によって構成されるブロックをそれぞれ1/
2画素フィールド候補ブロックとするとき、 前記第1ディストーション算出工程および前記第2ディ
ストーション算出工程が、前記フィールド候補ブロック
の各画素と該画素に隣接する画素とを加算し、前記1/
2画素を生成し、前記現画像フィールドブロックと前記
各1/2画素フィールド候補ブロックとの間の画像の差
を表わす複数のディストーションをそれぞれ算出するこ
とを特徴とする動きベクトル探索方法。
3. The motion vector search method according to claim 1, wherein each pixel of the field candidate block is horizontally and
A half pixel, which is an average of a pixel and a pixel adjacent to the pixel, is provided between pixels vertically and diagonally adjacent to each other. Each block composed of / 2 pixels is 1 /
When a two-pixel field candidate block is used, the first distortion calculation step and the second distortion calculation step add each pixel of the field candidate block and a pixel adjacent to the pixel, and calculate the 1 /
A motion vector search method comprising: generating two pixels; and calculating a plurality of distortions each representing an image difference between the current image field block and each of the half-pixel field candidate blocks.
【請求項4】請求項1記載の動きベクトル探索方法にお
いて、動きベクトル探索のための候補ブロックを限定する基準
動きベクトルを準備する基準動きベクトル準備工程を備
え、 前記画素データ準備工程が、前記基準動きベクトルと前
記現画像の画像データとに基づいて、前記サーチウィン
ドウ内の候補ブロックの画素データを準備することを特
徴とする動きベクトル探索方法。
4. A criterion for limiting a candidate block for a motion vector search in the motion vector search method according to claim 1.
A reference motion vector preparation process for preparing motion vectors is provided.
For example, the pixel data preparation process, the based on the reference motion vector and image data of said current image, a motion vector search method characterized by preparing the pixel data of the candidate block in the search window.
【請求項5】請求項4記載の動きベクトル探索方法にお
いて、前記加算工程が、前記基準動きベクトルの大きさのモジ
ュロに基づいて、 前記第1ディストーションと前記第2
ディストーションとを加算するタイミングを合わせるこ
とを特徴とする動きベクトル探索方法。
5. The motion vector search method according to claim 4, wherein said adding step includes a step of calculating a size of the reference motion vector.
The first distortion and the second distortion based on the
A motion vector search method characterized by adjusting the timing of adding distortion.
【請求項6】請求項5記載の動きベクトル探索方法にお
いて、 前記基準動きベクトルを数値化し、該数値化された基準
動きベクトルを4で除算した余りに基づいて、前記加算
工程が、前記第1ディストーションと前記第2ディスト
ーションとを加算するタイミングを合わせることを特徴
とする動きベクトル探索方法。
6. The motion vector searching method according to claim 5, wherein the reference motion vector is digitized, and the adding step is performed based on a remainder obtained by dividing the digitized reference motion vector by four. A motion vector search method, wherein timing for adding the second distortion and the second distortion is adjusted.
【請求項7】請求項4記載の動きベクトル探索方法にお
いて、前記基準動きベクトル準備工程 が、 前記現画像第1フィールドの現画像フィールドブロック
と参照画像第1フィールドのフィールド候補ブロックに
基づいて、動きベクトル探索のための候補ブロックを限
定する第1基準動きベクトルを準備する第1基準動きベ
クトル準備工程と、 前記現画像第2フィールドの現画像フィールドブロック
と参照画像第2フィールドのフィールド候補ブロックに
基づいて、動きベクトル探索のための候補ブロックを限
定する第2基準動きベクトルを準備する第2基準動きベ
クトル準備工程と、 を有する ことを特徴とする動きベクトル探索方法。
7. The motion vector search method according to claim 4, wherein the reference motion vector preparation process, based on a field candidate block of the current image field block and the reference image first field of said current image first field, the motion Limit candidate blocks for vector search
A first reference motion vector for preparing a first reference motion vector to be determined.
A vector preparation step , based on the current image field block of the current image second field and the field candidate block of the reference image second field, to limit the number of candidate blocks for motion vector search.
A second reference motion vector for preparing a second reference motion vector to be determined.
Motion vector search method characterized by comprising the vector preparation step.
【請求項8】請求項7記載の動きベクトル探索方法にお
いて、 前記現画像データ入力工程が、 前記現画像第1フィールドの現画像フィールドブロック
の画素データを前記第1ディストーション算出ユニット
に入力する第1現画像データ入力工程と、 前記現画像第2フィールドの現画像フィールドブロック
の画素データを前記第2ディストーション算出ユニット
に入力する第2現画像データ入力工程と、を有し、 前記第1ディストーション算出工程が、前記第1現画像
データ入力工程により入力された前記現画像第1フィー
ルドの現画像フィールドブロックと前記参照画像第1フ
ィールドの各フィールド候補ブロックとの間の画像の差
を表わす複数の第1ディストーションをそれぞれ算出
し、 前記第2ディストーション算出工程が、前記第2現画像
データ入力工程により入力された前記現画像第2フィー
ルドの現画像フィールドブロックと前記参照画像第2フ
ィールドの各フィールド候補ブロックとの間の画像の差
を表わす複数の第2ディストーションをそれぞれ算出
し、前記ブロック特定工程が、前記複数の第1ディストーシ
ョンに基づいて第1動きベクトルを特定し、前記複数の
第2ディストーションに基づいて第2動きベクトルを特
定し、 前記第1基準動きベクトル準備工程が、前記ブロック特
定工程により特定された第1動きベクトルを前記第1基
準動きベクトルとして準備し、 前記第2基準動きベクトル準備工程が、前記ブロック特
定工程により特定された第2動きベクトルを前記第2基
準動きベクトルとして準備する ことを特徴とする動きベ
クトル探索方法。
8. The motion vector search method according to claim 7, wherein the current image data inputting step comprises: inputting pixel data of a current image field block of the first field of the current image to the first distortion calculating unit. A current image data inputting step; and a second current image data inputting step of inputting pixel data of a current image field block of the current image second field to the second distortion calculating unit. The first distortion calculating step Is the first current image
Calculating a plurality of first distortions each representing an image difference between a current image field block of the first field of the current image input in the data input step and each field candidate block of the first field of the reference image; A second distortion calculating step, wherein the second current image
Input by the data input process the said plurality of second distortion representing a difference image between fields candidate block of the reference picture second field and the current image field block of the current picture second field are calculated, respectively, wherein The block identifying step is performed by the plurality of first distortions.
Identifying a first motion vector based on the
The second motion vector is specified based on the second distortion.
And the first reference motion vector preparing step comprises:
The first motion vector identified by the
The second reference motion vector preparing step is prepared as a quasi-motion vector.
The second motion vector specified by the
A motion vector search method characterized by preparing as a quasi motion vector .
【請求項9】請求項4記載の動きベクトル探索方法にお
いて、前記基準動きベクトル準備工程が 、前記現画像フレーム
の現画像フレームブロックと前記参照画像フレームのフ
レーム候補ブロックに基づいて、動きベクトル探索のた
めの候補ブロックを限定するフレーム基準動きベクトル
を準備するフレーム基準動きベクトル準備工程を備えた
ことを特徴とする動きベクトル探索方法。
9. The motion vector search method according to claim 4, wherein the reference motion vector preparation step includes a step of preparing a motion vector search based on a current image frame block of the current image frame and a frame candidate block of the reference image frame . Was
Frame-based motion vector that limits candidate blocks for
A motion vector search method comprising a frame reference motion vector preparation step of preparing a motion vector.
【請求項10】請求項9記載の動きベクトル探索方法に
おいて、前記 各フレーム候補ブロックの画素データを、前記第1
画素データ転送保持ユニット、前記第1ディストーショ
ン算出ユニット、前記第2ディストーション算出ユニッ
トおよび前記第3画素データ転送保持ユニットの間で転
送させる第3ウィンドウデータ転送工程と、 前記現画像フレームブロックの画素データと、前記第3
ウィンドウデータ転送工程により転送された前記参照画
像フレームの各フレーム候補ブロックの画素データと、
に基づいて、現画像フレームブロックに対し、該現画像
フレームブロックと前記参照画像フレームの各フレーム
候補ブロックとの間の画像の差を表わす複数の第3ディ
ストーションをそれぞれ算出させる第3ディストーショ
ン算出工程と、備え、 前記画素データ準備工程が、 前記現画像フレームの現画
像フレームブロックの画素データと、前記参照画像フレ
ームのサーチウィンドウ内のフレーム候補ブロックの画
素データと、を準備し、 前記現画像データ入力工程が、前記現画像フレームブロ
ックの画素データを前記第1および第2ディストーショ
ン算出ユニットに入力し、前記ディストーション取得工程が、前記第3ディストー
ション算出工程によって算出された前記第3ディストー
ションを取得し、 前記ブロック特定工程が、該取得された第3ディストー
ションに基づいて動きベクトルを特定し、 前記基準動きベクトル準備工程が、前記ブロック特定工
程により特定された動きベクトルを前記基準動きベクト
ルとする ことを特徴とする動きベクトル探索方法。
10. The motion vector search method according to claim 9, wherein the pixel data of each of the frame candidate blocks is replaced with the first data.
A third window data transfer step of transferring between the pixel data transfer holding unit, the first distortion calculation unit, the second distortion calculation unit, and the third pixel data transfer holding unit ; , The third
The reference image transferred in the window data transfer step
Pixel data of each frame candidate block of the image frame;
Based on the current image frame block and the current image
Each frame of the frame block and the reference image frame
A plurality of third D representing the difference between the image and the candidate block.
Third distortion to calculate each distortion
A pixel data preparing step , wherein the pixel data preparing step prepares pixel data of a current image frame block of the current image frame and pixel data of a frame candidate block in a search window of the reference image frame , A current image data inputting step of inputting pixel data of the current image frame block into the first and second distortions;
And inputting the distortion to the third calculation unit.
The third distortion calculated by the calculation step
Obtaining the third distortion.
A motion vector is specified based on the block specifying step.
The motion vector specified by
Motion vector search method characterized by the Le.
【請求項11】インタレース走査方式の動画像を部分的
に構成する現画像を、前記動画像を部分的に構成する参
照画像に基づいて予測するのに用いられる複数の動きベ
クトルを探索する動きベクトル探索方法であり、前記現
画像が現画像フレームからなり、該現画像フレームが、
現画像第1フィールドおよび現画像第2フィールドを含
むとともに、画素データをそれぞれ有する複数の画素に
より表わされる現画像フレームブロックを含み、前記現
画像第1フィールドおよび前記現画像第2フィールド
が、画素データをそれぞれ有する複数の画素により表わ
される現画像フィールドブロックを含み、前記参照画像
が参照画像フレームからなり、該参照画像フレームが、
参照画像第1フィールドおよび参照画像第2フィールド
を含むとともに、画素データをそれぞれ有する複数の画
素により表わされるサーチウインドウを含み、該サーチ
ウインドウが、複数のフレーム候補ブロックを含み、前
記参照画像第1フィールドおよび前記参照画像第2フィ
ールドが、画素データをそれぞれ有する複数の画素によ
り表わされるサーチウインドウを含み、該サーチウィン
ドウが、複数のフィールド候補ブロックを含み、前記現
画像フレームブロックと前記各フレーム候補ブロックが
同一サイズであり、前記現画像フィールドブロックのそ
れぞれが、前記各フィールド候補ブロックのそれぞれと
同一サイズであり、前記動きベクトルを探索する動きベ
クトル探索方法であって、それぞれ独立した任意の位置の、前記現画像第1フィー
ルドおよび前記現画像第2フィールドの現画像フィール
ドブロックの画素データと、前記参照画像第1フィール
ドおよび前記参照画像第2フィールドのサーチウィンド
ウ内のフィールド候補ブロックの画素データと、を準備
する画素データ準備工程と、 前記サーチウィンドウ内の各フィールド候補ブロックの
画素データの一部を入力して保持するとともに該保持し
たデータをそれぞれ転送する第1画素データ転送保持ユ
ニットおよび第2画素データ転送保持ユニットと、前記
サーチウィンドウ内の各フィールド候補ブロックの画素
データの一部を入力して保持するとともに該保持したデ
ータをそれぞれ転送し前記現画像フィールドブロックの
画素データと前記サーチウィンドウ内の各フィールド候
補ブロックの画素データとに基づいて前記現画像フィー
ルドブロックに対し該現画像フィールドブロックと前記
フィールド候補ブロックとの間の画像の差をあらわす
複数のディストーションをそれぞれ算出する第1ディス
トーション算出ユニットおよび第2ディストーション算
出ユニットと、をそれぞれ準備する工程と、 前記参照画像第1フィールドの各フィールド候補ブロッ
クの画素データを、前記第1画素データ転送保持ユニッ
ト、第1ディストーション算出ユニットおよび第2画素
データ転送保持ユニットの間で転送する第1ウィンドウ
データ転送工程と、 前記参照画像第2フィールドの各フィールド候補ブロッ
クの画素データを、前記第2画素データ転送保持ユニッ
ト、第2ディストーション算出ユニットおよび第1画素
データ転送保持ユニットの間で転送する第2ウィンドウ
データ転送工程と、 前記現画像フィールドブロックの画素データを前記第1
ディストーション算出ユニットおよび前記第2ディスト
ーション算出ユニットに入力する現画像データ入力工程
と、 前記現画像データ入力工程で入力された前記現画像フィ
ールドブロックの画素データと、前記第1ウィンドウデ
ータ転送工程で転送された前記参照画像第1フィールド
の各フィールド候補ブロックの画素データと、に基づい
て、現画像フィールドブロックに対し、該現画像フィー
ルドブロックと前記参照画像第1フィールドの各フィー
ルド候補ブロックとの間の画像の差を表わす複数の第1
ディストーションをそれぞれ算出させる第1ディストー
ション算出工程と、 前記現画像データ入力工程で入力された前記現画像フィ
ールドブロックの画素データと、前記第1ウィンドウデ
ータ転送工程で転送された前記参照画像第2フィールド
の各フィールド候補ブロックの画素データと、に基づい
て、現画像フィールドブロックに対し、該現画像フィー
ルドブロックと前記参照画像第2フィールドの各フィー
ルド候補ブロックとの間の画像の差を表わす複数の第2
ディストーションをそれぞれ算出させる第2ディストー
ション算出工程と、 前記第1ディストーション算出工程および前記第2ディ
ストーション算出工程によって算出された前記第1およ
び第2ディストーションを取得するディストーション取
得工程と、 該ディストーション取得工程によって取得されたディス
トーションの中から最小のディストーションを検出し
て、該最小のディストーションに対応する候補ブロック
および動きベクトルを特定するブロック特定工程と、 を備え、 前記 ブロック特定工程が、 前記現画像フレームブロックに対応したフレーム候補ブ
ロックのディストーションとなるように、前記第1ディ
ストーションと前記第2ディストーションとをそれぞれ
対応させて加算する加算工程と、 該加算されたそれぞれのディストーションのうちの最小
のディストーションを検出して、該最小のディストーシ
ョンに対応する候補ブロックおよび動きベクトルを特定
するディストーション特定工程と、を有し、 前記加算工程が、前記2つの探索フィールドの状態に合
わせて前記第1ディストーションと前記第2ディストー
ションとの加算タイミングを変更することを特徴とする
動きベクトル探索方法。
11. A motion for searching for a plurality of motion vectors used for predicting a current image partially forming a moving image of an interlaced scanning system based on a reference image partially forming the moving image. A vector search method, wherein the current image comprises a current image frame, wherein the current image frame is
A current image frame block including a current image first field and a current image second field and represented by a plurality of pixels each having pixel data, wherein the current image first field and the current image second field include pixel data; Including a current image field block represented by a plurality of pixels each having a reference image frame, wherein the reference image comprises a reference image frame,
A reference image first field and a reference image second field, a search window represented by a plurality of pixels each having pixel data, the search window including a plurality of frame candidate blocks, and the reference image first field And the reference image second field includes a search window represented by a plurality of pixels each having pixel data, the search window includes a plurality of field candidate blocks, and the current image frame block and each of the frame candidate blocks A motion vector search method for searching for the motion vector, wherein each of the current image field blocks has the same size, and each of the current image field blocks has the same size as each of the field candidate blocks ; Current image Fee
Field and the current image field of the second field of the current image
And the reference image first field.
Window for the search field and the second field of the reference image
Prepare the pixel data of the field candidate block in c.
Pixel data preparing step to perform , and for each field candidate block in the search window
A part of the pixel data is input and held, and
The first pixel data transfer holding unit for transferring the
A unit and a second pixel data transfer holding unit;
Pixel of each field candidate block in search window
A part of the data is entered and held, and the held data is saved.
Data of the current image field block.
Pixel data and each field in the search window
The current image field based on the pixel data of the complementary block.
Field block and the current image field block and the
Shows the image difference between each field candidate block
A first distortion calculating each of a plurality of distortions
Torsion calculation unit and second distortion calculation
And a step of preparing each of the field candidate blocks of the first field of the reference image.
Pixel data of the first pixel data transfer holding unit.
G, the first distortion calculation unit and the second pixel
First window to transfer between data transfer holding units
A data transfer step, and each field candidate block of the reference image second field
Pixel data of the second pixel data transfer holding unit.
G, the second distortion calculation unit and the first pixel
Second window to transfer between data transfer holding units
A data transfer step, wherein the pixel data of the current image field block is
Distortion calculation unit and second distortion
Current image data input process to input to the calculation unit
And the current image file input in the current image data input step.
Pixel data of the field block and the first window data.
The first field of the reference image transferred in the data transfer step
Pixel data of each field candidate block of
To the current image field block.
Field and each field of the first field of the reference image.
A plurality of first images representing an image difference between the first and second candidate blocks.
First distortion to calculate each distortion
And calculating the current image data inputted in the current image data input step.
Pixel data of the field block and the first window data.
Second field of the reference image transferred in the data transfer step
Pixel data of each field candidate block of
To the current image field block.
Fields of the reference block and the second field of the reference image.
A plurality of second images representing an image difference between the first and second candidate blocks.
The second distortion that calculates each distortion
And Deployment calculation step, the first distortion calculating step and the second de
The first and the first calculated by the distortion calculating step.
Distortion to obtain the second distortion
With a resulting step, by detecting the minimum distortion from the distortion obtained by the distortion acquiring step, and a block specifying step of specifying a candidate block and a motion vector corresponding to the outermost small distortion, and the block identification An adding step of adding the first distortion and the second distortion in association with each other such that the distortion of the frame candidate block corresponding to the current image frame block is obtained, Detecting a minimum distortion among them, and specifying a candidate block and a motion vector corresponding to the minimum distortion, and wherein the adding step matches a state of the two search fields. A method of searching for a motion vector, comprising: changing an addition timing of the first distortion and the second distortion.
【請求項12】請求項11記載の動きベクトル探索方法
において、 前記現画像データ入力工程が、 前記現画像第1フィールドの現画像フィールドブロック
の画素データを前記第2ディストーション算出ユニット
に入力する第1現画像データ入力工程と、前記現画像第
2フィールドの現画像フィールドブロックの画素データ
を前記第1ディストーション算出ユニットに入力する第
2現画像データ入力工程と、を有する異現画像データ入
力工程と、 前記現画像第1フィールドの現画像フィールドブロック
の画素データを前記第1ディストーション算出ユニット
に入力する第3現画像データ入力工程と、前記現画像第
2フィールドの現画像フィールドブロックの画素データ
を前記第2ディストーション算出ユニットに入力する第
4現画像データ入力工程と、を有する同一現画像データ
入力工程と、有し、 前記異または同一現画像データ入力工程のいずれかを
択する入力現画像選択工程を備え、 該入力現画像選択工程が、前記 異現画像データ入力工程
を選択したとき、 前記第1ディストーション算出工程が、前記第2現画像
データ入力工程により入力された前記現画像第2フィー
ルドの現画像フィールドブロックと前記参照画像第1フ
ィールドの各フィールド候補ブロックとの間の画像の差
を表わす複数の第1ディストーションをそれぞれ算出
し、前記第2ディストーション算出工程が、前記第1現
画像データ入力工程により入力された前記現画像第1フ
ィールドの現画像フィールドブロックと前記参照画像第
2フィールドの各フィールド候補ブロックとの間の画像
の差を表わす複数の第2ディストーションをそれぞれ
出し、 前記同一現画像データ入力工程を選択したとき、前記第1ディストーション算出工程が、前記第3現画像
データ入力工程により入力された 前記現画像第1フィー
ルドの現画像フィールドブロックと前記参照画像第1フ
ィールドの各フィールド候補ブロックとの間の画像の差
を表わす複数の第1ディストーションをそれぞれ算出
し、前記第2ディストーション算出工程が 、前記第4現
画像データ入力工程により入力された前記現画像第2フ
ィールドの現画像フィールドブロックと前記参照画像第
2フィールドの各フィールド候補ブロックとの間の画像
の差を表わす複数の第2ディストーションをそれぞれ
出することを特徴とする動きベクトル探索方法。
12. The motion vector search method according to claim 11, wherein said current image data input step comprises: inputting pixel data of a current image field block of a first field of the current image to said second distortion calculation unit. A different current image data inputting step, comprising: a current image data inputting step; and a second current image data inputting step of inputting pixel data of a current image field block of the current image second field to the first distortion calculating unit. A third current image data input step of inputting pixel data of a current image field block of the first field of the current image to the first distortion calculating unit; and a pixel data of a current image field block of the second field of the current image. 4th current image data input to 2 distortion calculation unit A step, the same current image data input step with, have, any of the different or the same current image data input step selection
Comprising a-option to enter the current image selection process, when the input current image selection process has selected the different current image data input step, the first distortion calculating step, the second current image
Calculating a plurality of first distortions each representing an image difference between a current image field block of the second field of the current image input in the data input step and each field candidate block of the first field of the reference image.
And, wherein the second distortion calculating step, the first current
Calculating a plurality of second distortions each representing an image difference between a current image field block of the first field of the current image and a field candidate block of the second field of the reference image input in the image data input step;
And when the same current image data input step is selected, the first distortion calculating step includes the third current image
Calculating a plurality of first distortions each representing an image difference between a current image field block of the first field of the current image input in the data input step and each field candidate block of the first field of the reference image;
And the second distortion calculating step includes the fourth current calculating step.
A plurality of second distortions each representing an image difference between a current image field block of the second field of the current image input in the image data input step and each field candidate block of the second field of the reference image are calculated.
Motion vector search method which is characterized in that output.
【請求項13】請求項11記載の動きベクトル探索方法
において、 前記フィールド候補ブロックの各画素とそれぞれ水平、
垂直、対角方向に隣り合う画素との間に、該画素と、該
画素と隣接する画素と、の平均をとった1/2画素を設
け、前記フィールド候補ブロックの各画素の同一方向の
1/2画素によって構成されるブロックをそれぞれ1/
2画素フィールド候補ブロックとするとき、 前記第1ディストーション算出工程および前記第2ディ
ストーション算出工程が、前記フィールド候補ブロック
の各画素と該画素に隣接する画素とを加算し、前記1/
2画素を生成し、前記現画像フィールドブロックと前記
各1/2画素フィールド候補ブロックとの間の画像の差
を表わす複数のディストーションをそれぞれ算出するこ
とを特徴とする動きベクトル探索方法。
13. The motion vector search method according to claim 11, wherein each pixel of the field candidate block is horizontally and
A half pixel, which is an average of a pixel and a pixel adjacent to the pixel, is provided between pixels vertically and diagonally adjacent to each other. Each block composed of / 2 pixels is 1 /
When a two-pixel field candidate block is used, the first distortion calculation step and the second distortion calculation step add each pixel of the field candidate block and a pixel adjacent to the pixel, and calculate the 1 /
A motion vector search method comprising: generating two pixels; and calculating a plurality of distortions each representing an image difference between the current image field block and each of the half-pixel field candidate blocks.
【請求項14】請求項11記載の動きベクトル探索方法
において、動きベクトル探索のための候補ブロックを限定する基準
動きベクトルを準備する基準動きベクトル準備工程を備
え、 前記画素データ準備工程が、前記基準動きベクトルと前
記現画像の画像データとに基づいて、前記サーチウィン
ドウ内の候補ブロックの画素データを準備することを特
徴とする動きベクトル探索方法。
14. A motion vector search method according to claim 11, wherein a criterion for limiting a candidate block for a motion vector search is set.
A reference motion vector preparation process for preparing motion vectors is provided.
For example, the pixel data preparation process, the based on the reference motion vector and image data of said current image, a motion vector search method characterized by preparing the pixel data of the candidate block in the search window.
【請求項15】請求項14記載の動きベクトル探索方法
において、前記加算工程が、前記基準動きベクトルの大きさのモジ
ュロに基づいて、 前記第1ディストーションと前記第2
ディストーションとを加算するタイミングを合わせるこ
とを特徴とする動きベクトル探索方法。
15. The motion vector search method according to claim 14, wherein said adding step includes a step of calculating a size of the reference motion vector.
The first distortion and the second distortion based on the
A motion vector search method characterized by adjusting the timing of adding distortion.
【請求項16】請求項15記載の動きベクトル探索方法
において、 前記基準動きベクトルを数値化し、該数値化された基準
動きベクトルを4で除算した余りに基づいて、前記加算
工程が、前記第1ディストーションと前記第2ディスト
ーションとを加算するタイミングを合わせることを特徴
とする動きベクトル探索方法。
16. The motion vector search method according to claim 15, wherein the reference motion vector is digitized, and the adding step is performed based on a remainder obtained by dividing the digitized reference motion vector by four. A motion vector search method, wherein timing for adding the second distortion and the second distortion is adjusted.
【請求項17】請求項14記載の動きベクトル探索方法
において、前記基準動きベクトル準備工程 が、 前記現画像第1フィールドの現画像フィールドブロック
と参照画像第1フィールドのフィールド候補ブロックに
基づいて、動きベクトル探索のための候補ブロックを限
定する第1基準動きベクトルを準備する第1基準動きベ
クトル準備工程と、 前記現画像第2フィールドの現画像フィールドブロック
と参照画像第2フィールドのフィールド候補ブロックに
基づいて、動きベクトル探索のための候補ブロックを限
定する第2基準動きベクトルを準備する第2基準動きベ
クトル準備工程と、 を有する ことを特徴とする動きベクトル探索方法。
17. The motion vector search method according to claim 14, wherein the reference motion vector preparation process, based on a field candidate block of the current image field block and the reference image first field of said current image first field, the motion Limit candidate blocks for vector search
A first reference motion vector for preparing a first reference motion vector to be determined.
A vector preparation step , based on the current image field block of the current image second field and the field candidate block of the reference image second field, to limit the number of candidate blocks for motion vector search.
A second reference motion vector for preparing a second reference motion vector to be determined.
Motion vector search method characterized by comprising the vector preparation step.
【請求項18】請求項17記載の動きベクトル探索方法
において、 前記現画像データ入力工程が、 前記現画像第1フィールドの現画像フィールドブロック
の画素データを前記第1ディストーション算出ユニット
に入力する第1現画像データ入力工程と、 前記現画像第2フィールドの現画像フィールドブロック
の画素データを前記第2ディストーション算出ユニット
に入力する第2現画像データ入力工程と、を有し、 前記第1ディストーション算出工程が、前記第1現画像
データ入力工程により入力された前記現画像第1フィー
ルドの現画像フィールドブロックと前記参照画像第1フ
ィールドの各フィールド候補ブロックとの間の画像の差
を表わす複数の第1ディストーションをそれぞれ算出
し、 前記第2ディストーション算出工程が、前記第2現画像
データ入力工程により入力された前記現画像第2フィー
ルドの現画像フィールドブロックと前記参照画像第2フ
ィールドの各フィールド候補ブロックとの間の画像の差
を表わす複数の第2ディストーションをそれぞれ算出
し、前記ブロック特定工程が、前記複数の第1ディストーシ
ョンに基づいて第1動きベクトルを特定し、前記複数の
第2ディストーションに基づいて第2動きベクトルを特
定し、 前記第1基準動きベクトル準備工程が、前記ブロック特
定工程により特定された第1動きベクトルを前記第1基
準動きベクトルとして準備し、 前記第2基準動きベクトル準備工程が、前記ブロック特
定工程により特定された第2動きベクトルを前記第2基
準動きベクトルとして準備する ことを特徴とする動きベ
クトル探索方法。
18. The motion vector search method according to claim 17, wherein said current image data input step comprises: inputting pixel data of a current image field block of said first field of said current image to said first distortion calculation unit. A current image data inputting step; and a second current image data inputting step of inputting pixel data of a current image field block of the current image second field to the second distortion calculating unit. The first distortion calculating step Is the first current image
Calculating a plurality of first distortions each representing an image difference between a current image field block of the first field of the current image input in the data input step and each field candidate block of the first field of the reference image; A second distortion calculating step, wherein the second current image
Input by the data input process the said plurality of second distortion representing a difference image between fields candidate block of the reference picture second field and the current image field block of the current picture second field are calculated, respectively, wherein The block identifying step is performed by the plurality of first distortions.
Identifying a first motion vector based on the
The second motion vector is specified based on the second distortion.
And the first reference motion vector preparing step comprises:
The first motion vector identified by the
The second reference motion vector preparing step is prepared as a quasi-motion vector.
The second motion vector specified by the
A motion vector search method characterized by preparing as a quasi motion vector .
【請求項19】請求項14記載の動きベクトル探索方法
において、前記基準動きベクトル準備工程が 、前記現画像フレーム
の現画像フレームブロックと前記参照画像フレームのフ
レーム候補ブロックに基づいて、動きベクトル探索のた
めの候補ブロックを限定するフレーム基準動きベクトル
を準備するフレーム基準動きベクトル準備工程を備えた
ことを特徴とする動きベクトル探索方法。
19. The motion vector search method according to claim 14, wherein said reference motion vector preparation step includes a step of preparing a motion vector search based on a current image frame block of said current image frame and a frame candidate block of said reference image frame . Was
Frame-based motion vector that limits candidate blocks for
A motion vector search method comprising a frame reference motion vector preparation step of preparing a motion vector.
【請求項20】請求項19記載の動きベクトル探索方法
において、前記 各フレーム候補ブロックの画素データを、前記第1
画素データ転送保持ユニット、前記第1ディストーショ
ン算出ユニットおよび前記第2ディストーション算出ユ
ニットの間で転送させる第3ウィンドウデータ転送工程
と、 前記現画像フレームブロックの画素データと、前記第3
ウィンドウデータ転送工程により転送された前記参照画
像フレームの各フレーム候補ブロックの画素データと、
に基づいて、現画像フレームブロックに対し、該現画像
フレームブロックと前記参照画像フレームの各フレーム
候補ブロックとの間の画像の差を表わす複数の第3ディ
ストーションをそれぞれ算出させる第3ディストーショ
ン算出工程と、備え、 前記画素データ準備工程が、 前記現画像フレームの現画
像フレームブロックの画素データと、前記参照画像フレ
ームのサーチウィンドウ内のフレーム候補ブロックの画
素データと、を準備し、 前記現画像データ入力工程が、前記現画像フレームブロ
ックの画素データを前記第1および第2ディストーショ
ン算出ユニットに入力し、前記ディストーション取得工程が、前記第3ディストー
ション算出工程によって算出された前記第3ディストー
ションを取得し、 前記ブロック特定工程が、該取得された第3ディストー
ションに基づいて動きベクトルを特定し、 前記基準動きベクトル準備工程が、前記ブロック特定工
程により特定された動きベクトルを前記基準動きベクト
ルとする ことを特徴とする動きベクトル探索方法。
20. The motion vector search method according to claim 19, wherein the pixel data of each of the frame candidate blocks is stored in the first
A third window data transfer step of transferring between the pixel data transfer holding unit, the first distortion calculation unit, and the second distortion calculation unit
And pixel data of the current image frame block;
The reference image transferred in the window data transfer step
Pixel data of each frame candidate block of the image frame;
Based on the current image frame block and the current image
Each frame of the frame block and the reference image frame
A plurality of third D representing the difference between the image and the candidate block.
Third distortion to calculate each distortion
A pixel data preparing step , wherein the pixel data preparing step prepares pixel data of a current image frame block of the current image frame and pixel data of a frame candidate block in a search window of the reference image frame , A current image data inputting step of inputting pixel data of the current image frame block into the first and second distortions;
And inputting the distortion to the third calculation unit.
The third distortion calculated by the calculation step
Obtaining the third distortion.
A motion vector is specified based on the block specifying step.
The motion vector specified by
Motion vector search method characterized by the Le.
【請求項21】インタレース走査方式の動画像を部分的
に構成する現画像を、前記動画像を部分的に構成する参
照画像に基づいて予測するのに用いられる複数の動きベ
クトルを探索する動きベクトル探索装置であり、前記現
画像が現画像フレームからなり、該現画像フレームが、
現画像第1フィールドおよび現画像第2フィールドを含
むとともに、画素データをそれぞれ有する複数の画素に
より表わされる現画像フレームブロックを含み、前記現
画像第1フィールドおよび前記現画像第2フィールド
が、画素データをそれぞれ有する複数の画素により表わ
される現画像フィールドブロックを含み、前記参照画像
が参照画像フレームからなり、該参照画像フレームが、
参照画像第1フィールドおよび参照画像第2フィールド
を含むとともに、画素データをそれぞれ有する複数の画
素により表わされるサーチウインドウを含み、該サーチ
ウインドウが、複数のフレーム候補ブロックを含み、前
記参照画像第1フィールドおよび前記参照画像第2フィ
ールドが、画素データをそれぞれ有する複数の画素によ
り表わされるサーチウインドウを含み、該サーチウィン
ドウが、複数のフィールド候補ブロックを含み、前記現
画像フレームブロックと前記各フレーム候補ブロックが
同一サイズであり、前記現画像フィールドブロックのそ
れぞれが、前記各フィールド候補ブロックのそれぞれと
同一サイズであり、前記動きベクトルを探索する動きベ
クトル探索装置であって、 前記現画像第1フィールドおよび前記現画像第2フィー
ルドの現画像フィールドブロックの画素データを出力さ
せる現画像データ出力手段と、それぞれ独立した任意の位置の、 前記参照画像第1フィ
ールドおよび前記参照画像第2フィールドのサーチウィ
ンドウ内のフィールド候補ブロックの画素データを出力
させる参照画像データ出力手段と、 前記現画像データ出力手段から出力された現画像フィー
ルドブロックの画素データと、前記参照画像データ出力
手段から出力されたサーチウィンドウ内の各フィールド
候補ブロックの画素データと、に基づいて、前記現画像
第1フィールドおよび前記現画像第2フィールドの現画
像フィールドブロックに対し、該現画像フィールドブロ
ックと前記各フィールド候補ブロックとの間の画像の差
を表わす複数のディストーションをそれぞれ算出させる
ディストーション算出手段と、 前記現画像データ出力手段から出力される現画像フィー
ルドブロックの画素データを前記ディストーション算出
手段に入力させる現画像データ入力制御手段と、 前記参照画像データ出力手段から出力されるサーチウィ
ンドウ内のフィールド候補ブロックの画素データを、前
記ディストーション算出手段に入力させるウィンドウデ
ータ入力制御手段と、 前記サーチウィンドウ内のフィールド候補ブロックの画
素データを、前記ディストーション算出手段内で転送さ
せるウィンドウデータ転送制御手段と、 該ディストーション算出手段によって算出された各現画
像フィールドブロックに対応するそれぞれのディストー
ションの中から最小のディストーションを検出させて、
該最小のディストーションに対応する候補ブロックおよ
び動きベクトルを特定させるブロック特定手段と、 前記ディストーション算出手段によって算出された前記
ディストーションを前記ブロック特定手段に入力させる
ディストーション入力制御手段と、 を備え、 前記ディストーション算出手段が、 前記サーチウィンドウ内の各フィールド候補ブロックの
画素データの一部を入力して保持するとともに、該保持
したデータをそれぞれ転送する第1画素データ転送保持
ユニット、第2画素データ転送保持ユニットおよび第3
画素データ転送保持ユニットと、 前記サーチウィンドウ内の各フィールド候補ブロックの
画素データの一部を入力して保持するとともに、該保持
したデータをそれぞれ転送し、前記現画像フィールドブ
ロックの画素データと、前記サーチウィンドウ内の各フ
ィールド候補ブロックの画素データと、に基づいて、前
記現画像フィールドブロックに対し、該現画像フィール
ドブロックと前記各フィールド候補ブロックとの間の画
像の差を表わす複数のディストーションをそれぞれ算出
する第1ディストーション算出ユニットおよび第2ディ
ストーション算出ユニットと、 前記各フィールド候補ブロックの画素データを、前記第
1画素データ転送保持ユニット、前記第1ディストーシ
ョン算出ユニットおよび前記第2画素データ転送保持ユ
ニットの間で転送させる第1転送経路と、 前記各フィールド候補ブロックの画素データを、前記第
2画素データ転送保持ユニット、前記第2ディストーシ
ョン算出ユニットおよび前記第3画素データ転送保持ユ
ニットの間で転送させる第2転送経路と、を有し、 前記ウィンドウデータ転送制御手段が、 前記参照画像第1フィールドの各フィールド候補ブロッ
クの画素データを第1転送経路に沿って転送させる第1
ウィンドウデータ転送制御手段と、 前記参照画像第2フィールドの各フィールド候補ブロッ
クの画素データを第2転送経路に沿って転送させる第2
ウィンドウデータ転送制御手段と、を有し、 前記ディストーション入力制御手段が、 前記第1ディストーション算出ユニットに算出された第
1ディストーションを前記ブロック特定手段に入力させ
る第1ディストーション入力制御手段と、 前記第2ディストーション算出ユニットに算出された第
2ディストーションを前記ブロック特定手段に入力させ
る第2ディストーション入力制御手段と、を有し、 前記ブロック特定手段が、 前記現画像フレームブロックに対応したフレーム候補ブ
ロックのディストーションとなるように、前記第1ディ
ストーションと前記第2ディストーションとをそれぞれ
対応させて加算させる加算手段と、 該加算されたそれぞれのディストーションのうちの最小
のディストーションを検出させて、該最小のディストー
ションに対応する候補ブロックおよび動きベクトルを特
定させるディストーション特定手段と、を有し、 前記加算手段が、前記2つの探索フィールドの状態に合
わせて前記第1ディストーションと前記第2ディストー
ションとの加算タイミングを変更すること を特徴とする
動きベクトル探索装置。
21. A motion for searching for a plurality of motion vectors used for predicting a current image partially forming a moving image of an interlaced scanning system based on a reference image partially forming the moving image. A vector search device, wherein the current image comprises a current image frame, wherein the current image frame is
A current image frame block including a current image first field and a current image second field and represented by a plurality of pixels each having pixel data, wherein the current image first field and the current image second field include pixel data; Including a current image field block represented by a plurality of pixels each having a reference image frame, wherein the reference image comprises a reference image frame,
A reference image first field and a reference image second field, a search window represented by a plurality of pixels each having pixel data, the search window including a plurality of frame candidate blocks, and the reference image first field And the reference image second field includes a search window represented by a plurality of pixels each having pixel data, the search window includes a plurality of field candidate blocks, and the current image frame block and each of the frame candidate blocks A motion vector search device for searching for the motion vector, wherein each of the current image field blocks is the same size as each of the field candidate blocks; Image Current image data output means for outputting the pixel data of the current image field block of two fields, and field candidate blocks in the search window of the reference image first field and the reference image second field at arbitrary independent positions . Reference image data output means for outputting pixel data, pixel data of a current image field block output from the current image data output means, and field candidate blocks in a search window output from the reference image data output means. A plurality of pixel data representing a difference between an image between the current image field block and each of the field candidate blocks for a current image field block of the current image first field and the current image second field based on the pixel data. And calculate the distortion of Current image data input control means for inputting pixel data of a current image field block output from the current image data output means to the distortion calculation means, and a search output from the reference image data output means Window data input control means for inputting pixel data of a field candidate block in a window to the distortion calculating means; and window data transfer control for transferring pixel data of a field candidate block in the search window in the distortion calculating means. Means for detecting a minimum distortion from among the respective distortions corresponding to each current image field block calculated by the distortion calculation means,
A block specifying unit that specifies a candidate block and a motion vector corresponding to the minimum distortion; and a distortion input control unit that inputs the distortion calculated by the distortion calculating unit to the block specifying unit. Means for inputting and holding a part of the pixel data of each field candidate block in the search window, and transferring the held data respectively to a first pixel data transfer holding unit, a second pixel data transfer holding unit, Third
A pixel data transfer holding unit, and while inputting and holding a part of the pixel data of each field candidate block in the search window, transferring the held data respectively, the pixel data of the current image field block; Based on the pixel data of each field candidate block in the search window, a plurality of distortions each representing an image difference between the current image field block and each of the field candidate blocks are generated for the current image field block. A first distortion calculation unit and a second distortion calculation unit for calculating, and a pixel data of each of the field candidate blocks, the first pixel data transfer holding unit, the first distortion calculation unit, and the second pixel data transfer holding unit A first transfer path for transferring the pixel data of each field candidate block between the second pixel data transfer holding unit, the second distortion calculating unit, and the third pixel data transfer holding unit. A second transfer path, wherein the window data transfer control means transfers pixel data of each field candidate block of the first field of the reference image along a first transfer path.
Window data transfer control means for transferring pixel data of each field candidate block of the reference image second field along a second transfer path;
Window data transfer control means, wherein the distortion input control means causes the first distortion calculation unit to input the calculated first distortion to the block specifying means, and the second distortion input control means; A second distortion input control unit for inputting the second distortion calculated by the distortion calculation unit to the block specifying unit, wherein the block specifying unit performs a distortion of a frame candidate block corresponding to the current image frame block; An adding means for adding the first distortion and the second distortion in correspondence with each other, detecting a minimum distortion among the added distortions, and detecting the minimum distortion. Has a distortion specifying means for specifying a candidate block and a motion vector corresponding to Shon, wherein the addition means, if the state of the two search fields
The first distortion and the second distortion
A motion vector search device characterized by changing the addition timing with a motion vector.
【請求項22】請求項21記載の動きベクトル探索装置
において、 前記現画像データ入力手段が、 前記現画像第1フィールドの現画像フィールドブロック
の画素データを前記第2ディストーション算出ユニット
に入力させる第1現画像データ入力手段と、前記現画像
第2フィールドの現画像フィールドブロックの画素デー
タを前記第1ディストーション算出ユニットに入力させ
る第2現画像データ入力手段と、を有する異現画像デー
タ入力手段と、 前記現画像第1フィールドの現画像フィールドブロック
の画素データを前記第1ディストーション算出ユニット
に入力させる第3現画像データ入力手段と、前記現画像
第2フィールドの現画像フィールドブロックの画素デー
タを前記第2ディストーション算出ユニットに入力させ
る第4現画像データ入力工程と、を有する同一現画像デ
ータ入力手段と、有し、 前記異または同一現画像データ入力手段のいずれかを選
択し、 前記異現画像データ入力手段を選択したとき、 前記第1ディストーション算出ユニットが、前記現画像
第2フィールドの現画像フィールドブロックと前記参照
画像第1フィールドの各フィールド候補ブロックとの間
の画像の差を表わす複数の第1ディストーションをそれ
ぞれ算出し、前記第2ディストーション算出ユニット
が、前記現画像第1フィールドの現画像フィールドブロ
ックと前記参照画像第2フィールドの各フィールド候補
ブロックとの間の画像の差を表わす複数の第2ディスト
ーションをそれぞれ算出し、 前記同一現画像データ入力手段を選択したとき、 前記第1ディストーション算出ユニットが、前記現画像
第1フィールドの現画像フィールドブロックと前記参照
画像第1フィールドの各フィールド候補ブロックとの間
の画像の差を表わす複数の第1ディストーションをそれ
ぞれ算出し、前記第2ディストーション算出ユニット
が、前記現画像第2フィールドの現画像フィールドブロ
ックと前記参照画像第2フィールドの各フィールド候補
ブロックとの間の画像の差を表わす複数の第2ディスト
ーションをそれぞれ算出する ことを特徴とする動きベク
トル探索装置。
22. The motion vector search device according to claim 21, wherein the current image data input means causes the second distortion calculation unit to input pixel data of a current image field block of the first field of the current image. Different current image data having current image data input means and second current image data input means for inputting pixel data of a current image field block of the second field of the current image to the first distortion calculation unit.
Data input means, and a current image field block of the first field of the current image.
Pixel data of the first distortion calculating unit
Current image data input means for inputting the current image, and the current image
Pixel data of the current image field block of the second field
Input to the second distortion calculation unit.
And a fourth current image data inputting step.
Data input means, and selects one of the different or same current image data input means.
And selecting the anomalous image data input means, the first distortion calculation unit determines whether the current image field block of the current image second field and each field candidate block of the reference image first field have A plurality of first distortions each representing an image difference are calculated, and the second distortion calculation unit calculates a difference between a current image field block of the current image first field and each field candidate block of the reference image second field. When a plurality of second distortions representing image differences are calculated and the same current image data input means is selected, the first distortion calculation unit sets the current image
Current image field block of first field and said reference
Between each field candidate block of the first image field
A plurality of first distortions representing the difference between the images
The second distortion calculation unit
Is the current image field block of the second field of the current image.
And each field candidate of the second field of the reference image
A plurality of second dist representing the image difference between the blocks
Motion vector search device, wherein each motion vector is calculated .
【請求項23】請求項21記載の動きベクトル探索装置
において、 前記フィールド候補ブロックの各画素とそれぞれ水平、
垂直、対角方向に隣り合う画素との間に、該画素と、該
画素と隣接する画素と、の平均をとった1/2画素を設
け、前記フィールド候補ブロックの各画素の同一方向の
1/2画素によって構成されるブロックをそれぞれ1/
2画素フィールド候補ブロックとするとき、 前記第1ディストーション算出ユニットおよび前記第2
ディストーション算出ユニットが、前記フィールド候補
ブロックの各画素と該画素に隣接する画素とを加算し、
前記1/2画素を生成し、前記現画像フィールドブロッ
クと前記各1/2画素フィールド候補ブロックとの間の
画像の差を表わす複数のディストーションをそれぞれ算
出することを特徴とする動きベクトル探索装置。
23. The motion vector search device according to claim 21, wherein each pixel of the field candidate block is horizontally and
A half pixel, which is an average of a pixel and a pixel adjacent to the pixel, is provided between pixels vertically and diagonally adjacent to each other. Each block composed of / 2 pixels is 1 /
When the two-pixel field candidate block is used, the first distortion calculation unit and the second distortion calculation unit
A distortion calculation unit adds each pixel of the field candidate block and a pixel adjacent to the pixel,
A motion vector search apparatus, wherein the half pixel is generated, and a plurality of distortions each representing an image difference between the current image field block and each of the half pixel field candidate blocks are calculated.
【請求項24】請求項21記載の動きベクトル探索装置
において、 前記ウィンドウデータ入力手段が、あらかじめ与えられ
た基準動きベクトルと前記現画像フィールドブロックの
画像データとに基づいて、前記サーチウィンドウ内のフ
ィールド候補ブロックの画素データを前記ディストーシ
ョン算出手段に入力させることを特徴とする動きベクト
ル探索装置。
24. The motion vector search device according to claim 21, wherein said window data input means sets a field in said search window based on a predetermined reference motion vector and image data of said current image field block. A motion vector search device, wherein pixel data of a candidate block is input to the distortion calculating means.
【請求項25】請求項24記載の動きベクトル探索装置
において、前記加算手段が、前記基準動きベクトルの大きさのモジ
ュロに基づいて、 前記第1ディストーションと前記第2
ディストーションとを加算させるタイミングを合わせる
ことを特徴とする動きベクトル探索装置。
25. A motion vector search device according to claim 24, wherein said adding means includes a module having a size of the reference motion vector.
The first distortion and the second distortion based on the
A motion vector search device wherein the timing for adding distortion is adjusted.
【請求項26】請求項25記載の動きベクトル探索装置
において、 前記基準動きベクトルを数値化し、該数値化された基準
動きベクトルを4で除算した余りに基づいて、前記加算
手段が、前記第1ディストーションと前記第2ディスト
ーションとを加算させるタイミングを合わせることを特
徴とする動きベクトル探索装置。
26. The motion vector search device according to claim 25, wherein the reference motion vector is quantified, and the adding means determines the first distortion based on a remainder obtained by dividing the quantified reference motion vector by four. A motion vector search device for adjusting the timing of adding the second distortion and the second distortion.
【請求項27】請求項24記載の動きベクトル探索装置
において、 前記基準動きベクトルが、 前記現画像第1フィールドの現画像フィールドブロック
と参照画像第1フィールドのフィールド候補ブロックに
基づいて算出された第1基準動きベクトルと、 前記現画像第2フィールドの現画像フィールドブロック
と参照画像第2フィールドのフィールド候補ブロックに
基づいて算出された第2基準動きベクトルと、を有する
ことを特徴とする動きベクトル探索装置。
27. The motion vector search device according to claim 24, wherein the reference motion vector is calculated based on a current image field block of the current image first field and a field candidate block of the reference image first field. A motion vector search comprising: one reference motion vector; and a second reference motion vector calculated based on a current image field block of the current image second field and a field candidate block of the reference image second field. apparatus.
【請求項28】請求項27記載の動きベクトル探索装置
において、 前記現画像データ入力手段が、 前記現画像第1フィールドの現画像フィールドブロック
の画素データを前記第1ディストーション算出ユニット
に入力させる第1現画像データ入力手段と、 前記現画像第2フィールドの現画像フィールドブロック
の画素データを前記第2ディストーション算出ユニット
に入力させる第2現画像データ入力手段と、を有し、 前記第1ディストーション算出ユニットが、前記現画像
第1フィールドの現画像フィールドブロックと前記参照
画像第1フィールドの各フィールド候補ブロックとの間
の画像の差を表わす複数の第1ディストーションをそれ
ぞれ算出し、 前記第2ディストーション算出ユニットが、前記現画像
第2フィールドの現画像フィールドブロックと前記参照
画像第2フィールドの各フィールド候補ブロックとの間
の画像の差を表わす複数の第2ディストーションをそれ
ぞれ算出し、 前記ブロック特定手段が、前記第1基準動きベクトルお
よび前記第2基準動きベクトルを特定させることを特徴
とする動きベクトル探索装置。
28. The motion vector search device according to claim 27, wherein the current image data input means causes the first distortion calculation unit to input pixel data of a current image field block of the first field of the current image. Current image data input means, and second current image data input means for inputting pixel data of a current image field block of the second field of the current image to the second distortion calculation unit, wherein the first distortion calculation unit Calculating a plurality of first distortions each representing an image difference between a current image field block of the first field of the current image and each field candidate block of the first field of the reference image, wherein the second distortion calculation unit Is the current image file of the second field of the current image. And calculating a plurality of second distortions each representing an image difference between the field block and each of the field candidate blocks of the reference image second field, wherein the block specifying unit calculates the first reference motion vector and the second reference motion. A motion vector search device for specifying a vector.
【請求項29】請求項24記載の動きベクトル探索装置
において、 前記基準動きベクトルが、前記現画像フレームの現画像
フレームブロックと前記参照画像フレームのフレーム候
補ブロックに基づいて算出されたことを特徴とする動き
ベクトル探索装置。
29. The motion vector search device according to claim 24, wherein the reference motion vector is calculated based on a current image frame block of the current image frame and a frame candidate block of the reference image frame. Motion vector search device.
【請求項30】請求項29記載の動きベクトル探索装置
において、 前記現画像データ出力手段が、現画像フレームブロック
の画素データを出力させ、 前記参照画像データ出力手段が、サーチウィンドウ内の
フレーム候補ブロックの画素データを出力させ、 前記現画像データ入力制御手段が、前記現画像フレーム
ブロックの画素データを前記ディストーション算出手段
に入力させ、 前記ウィンドウデータ入力制御手段が、前記サーチウィ
ンドウ内のフレーム候補ブロックの画素データを前記デ
ィストーション算出手段に入力させ、 前記ディストーション算出手段が、前記各フレーム候補
ブロックの画素データを、前記第1画素データ転送保持
ユニット、前記第1ディストーション算出ユニット、前
記第2ディストーション算出ユニットおよび前記第3画
素データ転送保持ユニットの間で転送させる第3転送経
路を有し、 前記ウィンドウデータ転送制御手段が、前記サーチウィ
ンドウ内のフレーム候補ブロックの画素データを第3転
送経路に沿って転送させる第3ウィンドウデータ転送制
御手段を有し、 前記ブロック特定手段が、前記基準動きベクトルを特定
させることを特徴とする動きベクトル探索装置。
30. A motion vector search apparatus according to claim 29, wherein said current image data output means outputs pixel data of a current image frame block, and said reference image data output means outputs a frame candidate block in a search window. The current image data input control means causes the pixel data of the current image frame block to be input to the distortion calculation means, and the window data input control means outputs the pixel data of the frame candidate block in the search window. The pixel data is input to the distortion calculation unit, and the distortion calculation unit converts the pixel data of each of the frame candidate blocks into the first pixel data transfer holding unit, the first distortion calculation unit, the second distortion calculation unit, and the like. Yo A third transfer path for transferring data between the third pixel data transfer holding units, wherein the window data transfer control means transfers the pixel data of the frame candidate block in the search window along the third transfer path. A motion vector search device, comprising: third window data transfer control means; wherein the block specifying means specifies the reference motion vector.
【請求項31】インタレース走査方式の動画像を部分的
に構成する現画像を、前記動画像を部分的に構成する参
照画像に基づいて予測するのに用いられる複数の動きベ
クトルを探索する動きベクトル探索装置であり、前記現
画像が現画像フレームからなり、該現画像フレームが、
現画像第1フィールドおよび現画像第2フィールドを含
むとともに、画素データをそれぞれ有する複数の画素に
より表わされる現画像フレームブロックを含み、前記現
画像第1フィールドおよび前記現画像第2フィールド
が、画素データをそれぞれ有する複数の画素により表わ
される現画像フィールドブロックを含み、前記参照画像
が参照画像フレームからなり、該参照画像フレームが、
参照画像第1フィールドおよび参照画像第2フィールド
を含むとともに、画素データをそれぞれ有する複数の画
素により表わされるサーチウインドウを含み、該サーチ
ウインドウが、複数のフレーム候補ブロックを含み、前
記参照画像第1フィールドおよび前記参照画像第2フィ
ールドが、画素データをそれぞれ有する複数の画素によ
り表わされるサーチウインドウを含み、該サーチウィン
ドウが、複数のフィールド候補ブロックを含み、前記現
画像フレームブロックと前記各フレーム候補ブロックが
同一サイズであり、前記現画像フィールドブロックのそ
れぞれが、前記各フィールド候補ブロックのそれぞれと
同一サイズであり、前記動きベクトルを探索する動きベ
クトル探索装置であって、 前記現画像第1フィールドおよび前記現画像第2フィー
ルドの現画像フィールドブロックの画素データを出力さ
せる現画像データ出力手段と、それぞれ独立した任意の位置の、 前記参照画像第1フィ
ールドおよび前記参照画像第2フィールドのサーチウィ
ンドウ内のフィールド候補ブロックの画素データを出力
させる参照画像データ出力手段と、 前記現画像データ出力手段から出力された現画像フィー
ルドブロックの画素データと、前記参照画像データ出力
手段から出力されたサーチウィンドウ内の各フィールド
候補ブロックの画素データと、に基づいて、前記現画像
第1フィールドおよび前記現画像第2フィールドの現画
像フィールドブロックに対し、該現画像フィールドブロ
ックと前記各フィールド候補ブロックとの間の画像の差
を表わす複数のディストーションをそれぞれ算出させる
ディストーション算出手段と、 前記現画像データ出力手段から出力される現画像フィー
ルドブロックの画素データを前記ディストーション算出
手段に入力させる現画像データ入力制御手段と、 前記参照画像データ出力手段から出力されるサーチウィ
ンドウ内のフィールド候補ブロックの画素データを、前
記ディストーション算出手段に入力させるウィンドウデ
ータ入力制御手段と、 前記サーチウィンドウ内のフィールド候補ブロックの画
素データを、前記ディストーション算出手段内で転送さ
せるウィンドウデータ転送制御手段と、 該ディストーション算出手段によって算出された各現画
像フィールドブロックに対応するそれぞれのディストー
ションの中から最小のディストーションを検出させて、
該最小のディストーションに対応する候補ブロックおよ
び動きベクトルを特定させるブロック特定手段と、 前記ディストーション算出手段によって算出された前記
ディストーションを前記ブロック特定手段に入力させる
ディストーション入力制御手段と、 を備え、 前記ディストーション算出手段が、 前記サーチウィンドウ内の各フィールド候補ブロックの
画素データの一部を入力して保持するとともに、該保持
したデータをそれぞれ転送する第1画素データ転送保持
ユニットおよび第2画素データ転送保持ユニットと、 前記サーチウィンドウ内の各フィールド候補ブロックの
画素データの一部を入力して保持するとともに、該保持
したデータをそれぞれ転送し、前記現画像フィールドブ
ロックの画素データと、前記サーチウィンドウ内の各フ
ィールド候補ブロックの画素データと、に基づいて、前
記現画像フィールドブロックに対し、該現画像フィール
ドブロックと前記各フィールド候補ブロックとの間の画
像の差を表わす複数のディストーションをそれぞれ算出
する第1ディストーション算出ユニットおよび第2ディ
ストーション算出ユニットと、 前記各フィールド候補ブロックの画素データを、前記第
1画素データ転送保持ユニット、前記第1ディストーシ
ョン算出ユニットおよび前記第2画素データ転送保持ユ
ニットの間で転送させる第1転送経路と、 前記各フィールド候補ブロックの画素データを、前記第
2画素データ転送保持ユニット、前記第2ディストーシ
ョン算出ユニットおよび前記第1画素データ転送保持ユ
ニットの間で転送させる第2転送経路と、を有し、 前記ウィンドウデータ転送制御手段が、 前記参照画像第1フィールドの各フィールド候補ブロッ
クの画素データを第1転送経路に沿って転送させる第1
ウィンドウデータ転送制御手段と、 前記参照画像第2フィールドの各フィールド候補ブロッ
クの画素データを第2転送経路に沿って転送させる第2
ウィンドウデータ転送制御手段と、を有し、 前記ディストーション入力制御手段が、 前記第1ディストーション算出ユニットに算出された第
1ディストーションを前記ブロック特定手段に入力させ
る第1ディストーション入力制御手段と、 前記第2ディストーション算出ユニットに算出された第
2ディストーションを前記ブロック特定手段に入力させ
る第2ディストーション入力制御手段と、を有し、 前記ブロック特定手段が、 前記現画像フレームブロックに対応したフレーム候補ブ
ロックのディストーションとなるように、前記第1ディ
ストーションと前記第2ディストーションとをそれぞれ
対応させて加算させる加算手段と、 該加算されたそれぞれのディストーションのうちの最小
のディストーションを検出させて、該最小のディストー
ションに対応する候補ブロックおよび動きベクトルを特
定させるディストーション特定手段と、を有し、 前記加算手段が、前記2つの探索フィールドの状態に合
わせて前記第1ディストーションと前記第2ディストー
ションとの加算タイミングを変更すること を特徴とする
動きベクトル探索装置。
31. A motion for searching for a plurality of motion vectors used for predicting a current image partially forming a moving image of an interlaced scanning system based on a reference image partially forming the moving image. A vector search device, wherein the current image comprises a current image frame, wherein the current image frame is
A current image frame block including a current image first field and a current image second field and represented by a plurality of pixels each having pixel data, wherein the current image first field and the current image second field include pixel data; Including a current image field block represented by a plurality of pixels each having a reference image frame, wherein the reference image comprises a reference image frame,
A reference image first field and a reference image second field, a search window represented by a plurality of pixels each having pixel data, the search window including a plurality of frame candidate blocks, and the reference image first field And the reference image second field includes a search window represented by a plurality of pixels each having pixel data, the search window includes a plurality of field candidate blocks, and the current image frame block and each of the frame candidate blocks A motion vector search device for searching for the motion vector, wherein each of the current image field blocks is the same size as each of the field candidate blocks; Image Current image data output means for outputting the pixel data of the current image field block of two fields, and field candidate blocks in the search window of the reference image first field and the reference image second field at arbitrary independent positions . Reference image data output means for outputting pixel data, pixel data of a current image field block output from the current image data output means, and field candidate blocks in a search window output from the reference image data output means. A plurality of pixel data representing a difference between an image between the current image field block and each of the field candidate blocks for a current image field block of the current image first field and the current image second field based on the pixel data. And calculate the distortion of Current image data input control means for inputting pixel data of a current image field block output from the current image data output means to the distortion calculation means, and a search output from the reference image data output means Window data input control means for inputting pixel data of a field candidate block in a window to the distortion calculating means; and window data transfer control for transferring pixel data of a field candidate block in the search window in the distortion calculating means. Means for detecting a minimum distortion from among the respective distortions corresponding to each current image field block calculated by the distortion calculation means,
A block specifying unit for specifying a candidate block and a motion vector corresponding to the minimum distortion; and a distortion input control unit for inputting the distortion calculated by the distortion calculating unit to the block specifying unit. Means for inputting and holding a part of pixel data of each field candidate block in the search window, and a first pixel data transfer holding unit and a second pixel data transfer holding unit respectively transferring the held data; While inputting and holding a part of the pixel data of each field candidate block in the search window, transferring the held data respectively, the pixel data of the current image field block and the pixel data of the search window A first distortion calculating a plurality of distortions representing a difference between an image between the current image field block and each of the field candidate blocks, based on the pixel data of the field candidate block; A calculation unit and a second distortion calculation unit, and a pixel data of each of the field candidate blocks, the pixel data being transferred between the first pixel data transfer holding unit, the first distortion calculation unit, and the second pixel data transfer holding unit. A second transfer path for transferring pixel data of each of the field candidate blocks among the second pixel data transfer and holding unit, the second distortion calculation unit, and the first pixel data transfer and hold unit; Has, A window data transfer control unit that transfers pixel data of each field candidate block of the first field of the reference image along a first transfer path;
Window data transfer control means for transferring pixel data of each field candidate block of the reference image second field along a second transfer path;
Window data transfer control means, wherein the distortion input control means causes the first distortion calculation unit to input the calculated first distortion to the block specifying means, and the second distortion input control means; A second distortion input control unit for inputting the second distortion calculated by the distortion calculation unit to the block specifying unit, wherein the block specifying unit performs a distortion of a frame candidate block corresponding to the current image frame block; An adding means for adding the first distortion and the second distortion in correspondence with each other, detecting a minimum distortion among the added distortions, and detecting the minimum distortion. Has a distortion specifying means for specifying a candidate block and a motion vector corresponding to Shon, wherein the addition means, if the state of the two search fields
The first distortion and the second distortion
A motion vector search device characterized by changing the addition timing with a motion vector.
【請求項32】請求項31記載の動きベクトル探索装置
において、 前記現画像データ入力手段が、 前記現画像第1フィールドの現画像フィールドブロック
の画素データを前記第2ディストーション算出ユニット
に入力させる第1現画像データ入力手段と、前記現画像
第2フィールドの現画像フィールドブロックの画素デー
タを前記第1ディストーション算出ユニットに入力させ
る第2現画像データ入力手段と、を有する異現画像デー
タ入力手段と、 前記現画像第1フィールドの現画像フィールドブロック
の画素データを前記第1ディストーション算出ユニット
に入力させる第3現画像データ入力手段と、前記現画像
第2フィールドの現画像フィールドブロックの画素デー
タを前記第2ディストーション算出ユニットに入力させ
る第4現画像データ入力工程と、を有する同一現画像デ
ータ入力手段と、有し、 前記異または同一現画像データ入力手段のいずれかを選
択し、 前記異現画像データ入力手段を選択したとき、 前記第1ディストーション算出ユニットが、前記現画像
第2フィールドの現画像フィールドブロックと前記参照
画像第1フィールドの各フィールド候補ブロックとの間
の画像の差を表わす複数の第1ディストーションをそれ
ぞれ算出し、前記第2ディストーション算出ユニット
が、前記現画像第1フィールドの現画像フィールドブロ
ックと前記参照画像第2フィールドの各フィールド候補
ブロックとの間の画像の差を表わす複数の第2ディスト
ーションをそれぞれ算出し、 前記同一現画像データ入力手段を選択したとき、 前記第1ディストーション算出ユニットが、前記現画像
第1フィールドの現画像フィールドブロックと前記参照
画像第1フィールドの各フィールド候補ブロックとの間
の画像の差を表わす複数の第1ディストーションをそれ
ぞれ算出し、前記第2ディストーション算出ユニット
が、前記現画像第2フィールドの現画像フィールドブロ
ックと前記参照画像第2フィールドの各フィールド候補
ブロックとの間の画像の差を表わす複数の第2ディスト
ーションをそれぞれ算出する ことを特徴とする動きベク
トル探索装置。
32. The motion vector search device according to claim 31, wherein the current image data input means causes the second distortion calculation unit to input pixel data of a current image field block of the first field of the current image. Different current image data having current image data input means and second current image data input means for inputting pixel data of a current image field block of the second field of the current image to the first distortion calculation unit.
Data input means, and a current image field block of the first field of the current image.
Pixel data of the first distortion calculating unit
Current image data input means for inputting the current image, and the current image
Pixel data of the current image field block of the second field
Input to the second distortion calculation unit.
And a fourth current image data inputting step.
Data input means, and selects one of the different or same current image data input means.
And selecting the anomalous image data input means, the first distortion calculation unit determines whether the current image field block of the current image second field and each field candidate block of the reference image first field have A plurality of first distortions each representing an image difference are calculated, and the second distortion calculation unit calculates a difference between a current image field block of the current image first field and each field candidate block of the reference image second field. When a plurality of second distortions representing image differences are calculated and the same current image data input means is selected, the first distortion calculation unit sets the current image
Current image field block of first field and said reference
Between each field candidate block of the first image field
A plurality of first distortions representing the difference between the images
The second distortion calculation unit
Is the current image field block of the second field of the current image.
And each field candidate of the second field of the reference image
A plurality of second dist representing the image difference between the blocks
Motion vector search device, wherein each motion vector is calculated .
【請求項33】請求項31記載の動きベクトル探索装置
において、 前記フィールド候補ブロックの各画素とそれぞれ水平、
垂直、対角方向に隣り合う画素との間に、該画素と、該
画素と隣接する画素と、の平均をとった1/2画素を設
け、前記フィールド候補ブロックの各画素の同一方向の
1/2画素によって構成されるブロックをそれぞれ1/
2画素フィールド候補ブロックとするとき、 前記第1ディストーション算出ユニットおよび前記第2
ディストーション算出ユニットが、前記フィールド候補
ブロックの各画素と該画素に隣接する画素とを加算し、
前記1/2画素を生成し、前記現画像フィールドブロッ
クと前記各1/2画素フィールド候補ブロックとの間の
画像の差を表わす複数のディストーションをそれぞれ算
出することを特徴とする動きベクトル探索装置。
33. The motion vector search device according to claim 31, wherein each pixel of the field candidate block is
A half pixel, which is an average of a pixel and a pixel adjacent to the pixel, is provided between pixels vertically and diagonally adjacent to each other. Each block composed of / 2 pixels is 1 /
When the two-pixel field candidate block is used, the first distortion calculation unit and the second distortion calculation unit
A distortion calculation unit adds each pixel of the field candidate block and a pixel adjacent to the pixel,
A motion vector search apparatus, wherein the half pixel is generated, and a plurality of distortions each representing an image difference between the current image field block and each of the half pixel field candidate blocks are calculated.
【請求項34】請求項31記載の動きベクトル探索装置
において、 前記ウィンドウデータ入力手段が、あらかじめ与えられ
た基準動きベクトルと前記現画像フィールドブロックの
画像データとに基づいて、前記サーチウィンドウ内のフ
ィールド候補ブロックの画素データを前記ディストーシ
ョン算出手段に入力させることを特徴とする動きベクト
ル探索装置。
34. The motion vector search device according to claim 31, wherein said window data input means sets a field in said search window based on a predetermined reference motion vector and image data of said current image field block. A motion vector search device, wherein pixel data of a candidate block is input to the distortion calculating means.
【請求項35】請求項34記載の動きベクトル探索装置
において、前記加算手段が、前記基準動きベクトルの大きさのモジ
ュロに基づいて、 前記第1ディストーションと前記第2
ディストーションとを加算させるタイミングを合わせる
ことを特徴とする動きベクトル探索装置。
35. The motion vector search device according to claim 34, wherein said adding means includes a module having a size of the reference motion vector.
The first distortion and the second distortion based on the
A motion vector search device wherein the timing for adding distortion is adjusted.
【請求項36】請求項35記載の動きベクトル探索装置
において、 前記基準動きベクトルを数値化し、該数値化された基準
動きベクトルを4で除算した余りに基づいて、前記加算
手段が、前記第1ディストーションと前記第2ディスト
ーションとを加算させるタイミングを合わせることを特
徴とする動きベクトル探索装置。
36. The motion vector search device according to claim 35, wherein the reference motion vector is converted into a numerical value, and based on a remainder obtained by dividing the numerically converted reference motion vector by 4, the adding means generates the first distortion. A motion vector search device for adjusting the timing of adding the second distortion and the second distortion.
【請求項37】請求項34記載の動きベクトル探索装置
において、 前記基準動きベクトルが、 前記現画像第1フィールドの現画像フィールドブロック
と参照画像第1フィールドのフィールド候補ブロックに
基づいて算出された第1基準動きベクトルと、 前記現画像第2フィールドの現画像フィールドブロック
と参照画像第2フィールドのフィールド候補ブロックに
基づいて算出された第2基準動きベクトルと、 を有することを特徴とする動きベクトル探索装置。
37. The motion vector search device according to claim 34, wherein the reference motion vector is calculated based on a current image field block of the current image first field and a field candidate block of the reference image first field. A first reference motion vector; and a second reference motion vector calculated based on a current image field block of the second field of the current image and a field candidate block of the second field of the reference image. apparatus.
【請求項38】請求項37記載の動きベクトル探索装置
において、 前記現画像データ入力手段が、 前記現画像第1フィールドの現画像フィールドブロック
の画素データを前記第1ディストーション算出ユニット
に入力させる第1現画像データ入力手段と、 前記現画像第2フィールドの現画像フィールドブロック
の画素データを前記第2ディストーション算出ユニット
に入力させる第2現画像データ入力手段と、を有し、 前記第1ディストーション算出ユニットが、前記現画像
第1フィールドの現画像フィールドブロックと前記参照
画像第1フィールドの各フィールド候補ブロックとの間
の画像の差を表わす複数の第1ディストーションをそれ
ぞれ算出し、 前記第2ディストーション算出ユニットが、前記現画像
第2フィールドの現画像フィールドブロックと前記参照
画像第2フィールドの各フィールド候補ブロックとの間
の画像の差を表わす複数の第2ディストーションをそれ
ぞれ算出し、 前記ブロック特定手段が、前記第1基準動きベクトルお
よび前記第2基準動きベクトルを特定させることを特徴
とする動きベクトル探索装置。
38. The motion vector search device according to claim 37, wherein the current image data input means causes the first distortion calculation unit to input pixel data of a current image field block of the first field of the current image. Current image data input means, and second current image data input means for inputting pixel data of a current image field block of the second field of the current image to the second distortion calculation unit, wherein the first distortion calculation unit Calculating a plurality of first distortions each representing an image difference between a current image field block of the first field of the current image and each field candidate block of the first field of the reference image, wherein the second distortion calculation unit Is the current image file of the second field of the current image. And calculating a plurality of second distortions each representing an image difference between the field block and each of the field candidate blocks of the reference image second field, wherein the block specifying unit calculates the first reference motion vector and the second reference motion. A motion vector search device for specifying a vector.
【請求項39】請求項34記載の動きベクトル探索装置
において、 前記基準動きベクトルが、前記現画像フレームの現画像
フレームブロックと前記参照画像フレームのフレーム候
補ブロックに基づいて算出されたことを特徴とする動き
ベクトル探索装置。
39. The motion vector search device according to claim 34, wherein the reference motion vector is calculated based on a current image frame block of the current image frame and a frame candidate block of the reference image frame. Motion vector search device.
【請求項40】請求項39記載の動きベクトル探索装置
において、 前記現画像データ出力手段が、現画像フレームブロック
の画素データを出力させ、 前記参照画像データ出力手段が、サーチウィンドウ内の
フレーム候補ブロックの画素データを出力させ、 前記現画像データ入力制御手段が、前記現画像フレーム
ブロックの画素データを前記ディストーション算出手段
に入力させ、 前記ウィンドウデータ入力制御手段が、前記サーチウィ
ンドウ内のフレーム候補ブロックの画素データを前記デ
ィストーション算出手段に入力させ、 前記ディストーション算出手段が、前記各フレーム候補
ブロックの画素データを、前記第1画素データ転送保持
ユニット、前記第1ディストーション算出ユニットおよ
び前記第2ディストーション算出ユニットの間で転送さ
せる第3転送経路を有し、 前記ウィンドウデータ転送制御手段が、前記サーチウィ
ンドウ内のフレーム候補ブロックの画素データを第3転
送経路に沿って転送させる第3ウィンドウデータ転送制
御手段を有し、 前記ブロック特定手段が、前記基準動きベクトルを特定
させることを特徴とする動きベクトル探索装置。
40. The motion vector search device according to claim 39, wherein said current image data output means outputs pixel data of a current image frame block, and said reference image data output means outputs a frame candidate block in a search window. The current image data input control means causes the pixel data of the current image frame block to be input to the distortion calculation means, and the window data input control means outputs the pixel data of the frame candidate block in the search window. The pixel data is input to the distortion calculating unit, and the distortion calculating unit converts the pixel data of each of the frame candidate blocks into the first pixel data transfer holding unit, the first distortion calculating unit, and the second distortion calculating unit. A third transfer path for transferring pixel data of frame candidate blocks in the search window along a third transfer path. A motion vector search device, wherein the block specifying means specifies the reference motion vector.
JP12462097A 1997-05-15 1997-05-15 Motion vector search method and search device Expired - Lifetime JP2968233B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12462097A JP2968233B2 (en) 1997-05-15 1997-05-15 Motion vector search method and search device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12462097A JP2968233B2 (en) 1997-05-15 1997-05-15 Motion vector search method and search device

Publications (2)

Publication Number Publication Date
JPH10322701A JPH10322701A (en) 1998-12-04
JP2968233B2 true JP2968233B2 (en) 1999-10-25

Family

ID=14889934

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12462097A Expired - Lifetime JP2968233B2 (en) 1997-05-15 1997-05-15 Motion vector search method and search device

Country Status (1)

Country Link
JP (1) JP2968233B2 (en)

Also Published As

Publication number Publication date
JPH10322701A (en) 1998-12-04

Similar Documents

Publication Publication Date Title
KR101127220B1 (en) Apparatus for motion compensation-adaptive de-interlacing and method the same
JP4159606B2 (en) Motion estimation
US20090085846A1 (en) Image processing device and method performing motion compensation using motion estimation
JPH05260264A (en) Image processor
US7321396B2 (en) Deinterlacing apparatus and method
US5357287A (en) Method of and apparatus for motion estimation of video data
EP0734175A1 (en) Hierarchical motion vector estimation using multiple block sizes
JPH1013839A (en) Half pixel motion estimate device
US20060077294A1 (en) Scan line conversion circuit for simultaneously carrying out three-dimensional motion adaptive sequential scan conversion and scan line conversion
US6930728B2 (en) Scan conversion apparatus
WO2006114951A1 (en) Image processing device and image processing program
JP2005512356A (en) Image processor and image display device comprising such an image processor
JP2968233B2 (en) Motion vector search method and search device
JP2768646B2 (en) Motion vector search method and search device
JP4140091B2 (en) Image information conversion apparatus and image information conversion method
JPH06237441A (en) Multiple branch regression processor for image signal
EP1399883B1 (en) Conversion unit and method and image processing apparatus
JP2931783B2 (en) Motion vector search device
KR100926440B1 (en) Block matching motion estimation apparatus for picture coding
JP2983170B2 (en) Motion vector search method and search device
JP2866324B2 (en) Motion vector search device
JP2866326B2 (en) Motion vector search device
JP2866325B2 (en) Motion vector search device
JP2866321B2 (en) Motion vector search method and apparatus
JP2868441B2 (en) Motion vector search method and search device