JPH0969159A - Template matching device - Google Patents

Template matching device

Info

Publication number
JPH0969159A
JPH0969159A JP22336495A JP22336495A JPH0969159A JP H0969159 A JPH0969159 A JP H0969159A JP 22336495 A JP22336495 A JP 22336495A JP 22336495 A JP22336495 A JP 22336495A JP H0969159 A JPH0969159 A JP H0969159A
Authority
JP
Japan
Prior art keywords
template
template matching
data
matching device
image
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.)
Pending
Application number
JP22336495A
Other languages
Japanese (ja)
Inventor
Kazumasa Kioi
一雅 鬼追
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.)
Sharp Corp
Original Assignee
Sharp Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sharp Corp filed Critical Sharp Corp
Priority to JP22336495A priority Critical patent/JPH0969159A/en
Publication of JPH0969159A publication Critical patent/JPH0969159A/en
Pending legal-status Critical Current

Links

Landscapes

  • Closed-Circuit Television Systems (AREA)
  • Storing Facsimile Image Data (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Image Analysis (AREA)

Abstract

PROBLEM TO BE SOLVED: To obtain a template matching device eliminating the necessity of increase of operation frequency even when a retrieving area is extended and operating by a low power consumption by forming the device so that the supply of picture element data in a retrieving area from a picture storage means to an arithmetic means can be executed on the same chip. SOLUTION: The template matching device is constituted of one chip mounting a picture memory 108, an operation cell array 102, a result storing part 105, and an I/O control part 106 on its surface. The picture memory 108 consists of plural line memories 101 and stores the picture element data of one picture in each line. The I/O control part 106 controls the I/O of data from/to an external bus 107 and the cell array 102 consists of plural operation cells 111 to 114. Since picture element data equivalent to one screen are stored in the memory 108 and picture data in a retrieving area are transferred in the same chip, the necessity of transfer of retrieving data through the external bus 107 can be eliminated, and even when the number of picture elements in the retrieving area is increased, the increase of operation frequency is unnecessary, reducing the power consumption.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、デジタル画像処理
における追尾システム等に用いるテンプレートマッチン
グ装置に関し、特に、処理を短時間で行うことができ、
且つ、消費電力の少ないテンプレートマッチング装置に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a template matching device used in a tracking system or the like in digital image processing, and in particular, processing can be performed in a short time.
In addition, the present invention relates to a template matching device that consumes less power.

【0002】[0002]

【従来の技術】図形認識等のデジタル画像処理において
は、予め定められたひな型(テンプレート)の画素デー
タと探索領域の画素データ(以下、探索データと記す)
とを照合し、何らかの基準によって類似度を判定し、探
索領域中からテンプレートに最も近い領域を検出するテ
ンプレートマッチング法がよく利用される。動画像にお
いても、このテンプレートマッチング法は画面中の移動
物体の移動距離や移動位置等を検知する際によく利用さ
れている。
2. Description of the Related Art In digital image processing such as graphic recognition, pixel data of a predetermined template (template) and pixel data of a search area (hereinafter referred to as search data)
A template matching method is often used, in which the similarity is determined based on some criterion and the region closest to the template is detected from the search region. Also in moving images, this template matching method is often used to detect the moving distance or moving position of a moving object on the screen.

【0003】以下に、テンプレートマッチング法につい
て、探索領域(例えば、時間的に前の画像)の中からテ
ンプレート(例えば、現時点の画像)と略同一の部分を
検出する場合を例にとって説明する。尚、テンプレート
は図3(a)に示すようなn行×n行の画像領域20
1、探索領域は図3(b)に示すような(n+k)行×
(n+k)行の画像領域203であるものとする。ま
た、テンプレート画像201中の第i行第j列の画素2
02をmij、探索領域中の第g行第h列の画素204
をSghとする。
The template matching method will be described below by taking as an example the case of detecting a portion that is substantially the same as the template (for example, the image at the present time) from the search region (for example, the image that is previous in time). Note that the template is an image region 20 of n rows × n rows as shown in FIG.
1. The search area is (n + k) rows × as shown in FIG.
It is assumed that the image area 203 has (n + k) rows. In addition, the pixel 2 at the i-th row and the j-th column in the template image 201
02 is m i , j , and the pixel 204 in the g-th row and the h-th column in the search area
Be S g , h .

【0004】図3(b)の探索領域203の中には(k
+1)2個のn行×n行の領域(以下、候補ブロックと
記す)が存在するが、この候補ブロックの内の第g行第
h列の画素204を左上隅の画素とするものをCBgh
表す。
In the search area 203 of FIG. 3B, (k
+1) two n rows × n rows of regions (hereinafter, although referred to as candidate blocks) exist, those that the pixel 204 of the g th row and column h of the candidate block and the pixel in the upper left corner of CB Expressed as gh .

【0005】テンプレートマッチング法においては、各
候補ブロック205が、
In the template matching method, each candidate block 205 is

【0006】[0006]

【数1】 [Equation 1]

【0007】で定義される絶対値誤差和Dghで評価さ
れ、Dghの最も小さな候補ブロックが、テンプレート
201に最も近いものとして選択される。
The absolute value error sum D g , h defined by the above is evaluated, and the smallest candidate block of D g , h is selected as the one closest to the template 201.

【0008】式(1)の演算では一つの候補ブロックに
対するDghを求めるためにn2回の絶対値誤差演算及
び加算を要する。したがって、テンプレートマッチング
処理においては、(k+1)2個の候補ブロックについ
てDghを求めるため、オーダO(n22)の演算量を
必要とする。このようにテンプレートマッチング処理で
は演算量が非常に多いため、動画像の実時間処理等で
は、通常、並列処理を行うテンプレートマッチング装置
が使用される。
The calculation of the equation (1) requires n 2 absolute value error calculations and additions to obtain D g , h for one candidate block. Therefore, in the template matching process, the calculation amount of order O (n 2 k 2 ) is required in order to obtain D g , h for (k + 1) 2 candidate blocks. As described above, since the template matching processing requires a large amount of calculation, a template matching device that performs parallel processing is usually used for real-time processing of moving images.

【0009】図11は従来のテンプレートマッチング装
置の構成を示すブロック図である(テンプレートの画素
数が4の場合のブロック図である)。このテンプレート
マッチング装置では、入力制御部701の動作に基づい
て、画像メモリ702内の画像データが外部バス704
を通り、演算セル711,712,721,722、レ
ジスタ731に供給されて、演算が行われる。そして、
結果格納部704に結果が送られ、出力制御部705の
動作に基づいて結果が出力される。
FIG. 11 is a block diagram showing the structure of a conventional template matching device (a block diagram when the number of pixels of the template is four). In this template matching device, the image data in the image memory 702 is transferred to the external bus 704 based on the operation of the input control unit 701.
Then, the data is supplied to the calculation cells 711, 712, 721, 722 and the register 731, and the calculation is performed. And
The result is sent to the result storage unit 704, and the result is output based on the operation of the output control unit 705.

【0010】図12は、図11のテンプレートマッチン
グ装置700を用いたテンプレートマッチング法の一例
を説明する図である。図12において、画像データ
1,I2は画像データであり、外部からI1,I2の順に
外部バス704を通って送られてくる。ここでは、画像
データI2の一部分をテンプレートとし、画像データI1
の一部分を探索領域としてテンプレートマッチングを行
う場合について説明する。
FIG. 12 is a diagram for explaining an example of a template matching method using the template matching device 700 of FIG. In FIG. 12, image data I 1 and I 2 are image data, and are sent from the outside through the external bus 704 in the order of I 1 and I 2 . Here, a part of the image data I 2 is used as a template, and the image data I 1
A case will be described where template matching is performed using a part of the above as a search area.

【0011】まず、画像メモリ751が外部バスを通じ
て送られてきた画像I1を記憶する(ステップ1)。
First, the image memory 751 stores the image I 1 sent through the external bus (step 1).

【0012】次に、画像メモリ752が外部バスを通じ
て送られてきた画像I2を記憶していく(ステップ
2)。
Next, the image memory 752 stores the image I 2 sent through the external bus (step 2).

【0013】そして、テンプレートデータを画像メモリ
752から外部バス704を通じてテンプレートマッチ
ング装置700へプリロードする(ステップ3)。
Then, the template data is preloaded from the image memory 752 to the template matching device 700 through the external bus 704 (step 3).

【0014】プリロードされたテンプレートに対する探
索領域のデータを画像メモリ751から外部バス704
を通じてテンプレートマッチング装置700へ供給す
る。テンプレートマッチング装置700はその探索領域
の中でテンプレートに最も似通った部分を算出する(ス
テップ4)。
Data in the search area for the preloaded template is transferred from the image memory 751 to the external bus 704.
Through the template matching device 700. The template matching device 700 calculates the portion of the search area that most resembles the template (step 4).

【0015】上記のステップ1〜ステップ4により、1
つのテンプレートに対するテンプレートマッチング処理
が行われる。画像データI2すべてについてテンプレー
トマッチングを行う場合には、上記のステップ3〜ステ
ップ4を繰り返す必要がある。
According to the above steps 1 to 4, 1
Template matching processing is performed for one template. When the template matching is performed on all the image data I 2, it is necessary to repeat the above steps 3 to 4.

【0016】次に、テンプレートマッチング装置700
の内部処理について具体的に説明する。ここでは、図4
(a)に示す入力画像(現在の画像)401と図5
(a)に示す参照画像(時間的に前の画像)501との
テンプレートマッチングを行うものとし、入力画像40
1を2画素×2画素のブロックに分割し、各ブロックを
テンプレートとして処理を行うものとする。このとき、
入力画像401に対しては20個のブロックが得られる
ので、20回のテンプレートマッチングを実行すること
になる。尚、ここでは、説明を簡単にするため、図4
(a)に示すような水平方向10×垂直方向8画素の画
面401の処理について説明するが、一般に使用される
画面はもっと画素数が多く、例えば、テレビの一規格で
あるNTSC規格では一画面は水平720画素×垂直4
80画素のものである。
Next, the template matching device 700
The internal processing of will be specifically described. Here, FIG.
The input image (current image) 401 shown in FIG.
It is assumed that template matching is performed with the reference image (image temporally previous) 501 shown in FIG.
1 is divided into blocks of 2 pixels × 2 pixels, and each block is used as a template for processing. At this time,
Since 20 blocks are obtained for the input image 401, template matching is executed 20 times. In addition, in order to simplify the description, FIG.
The processing of the screen 401 having horizontal 10 pixels × vertical 8 pixels as shown in (a) will be described. Generally, the screen used has a larger number of pixels, for example, one screen in the NTSC standard, which is one standard of television. Is horizontal 720 pixels x vertical 4
It has 80 pixels.

【0017】まず、入力画像401中のある注目ブロッ
ク402(図4(a)参照)がテンプレートの場合の処
理について説明する。ここで、探索領域は、参照画像5
01においてテンプレート402と同一部分のブロック
に上下、左右方向に1画素づつ加えた領域502(図5
(a)参照)であるものとする。また、テンプレート4
02及び探索領域502の各画素を、それぞれ、図4
(b),図5(b)に示すようにm11〜m12,s11〜s
44とする。
First, the process when a certain block of interest 402 (see FIG. 4A) in the input image 401 is a template will be described. Here, the search area is the reference image 5
In FIG. 5, a region 502 in which one pixel is added to the block in the same portion as the template 402 in the vertical and horizontal directions (see FIG.
(See (a)). Also, template 4
02 and each pixel of the search area 502 are respectively shown in FIG.
(B), as shown in FIG. 5 (b), m 11 to m 12 , s 11 to s
44 .

【0018】図6は、探索領域502の中の9個((2
+1)2個)の候補ブロックCB11〜CB33を示す図で
ある。テンプレートマッチング法では、この9個のブロ
ックCB11〜CB33とテンプレート402とを比較し、
式(1)で定義される絶対値誤差和が最も小さい候補ブ
ロックを求める。図13〜図18はその演算処理工程を
示す図であり、これらの図では演算セル711,71
2,721,722とレジスタ731,結果格納部70
4の同一時刻における状態を横一列に並べて示してい
る。
FIG. 6 shows nine ((2
+1) is a diagram showing a candidate block CB 11 to CB 33 for two). In the template matching method, the nine blocks CB 11 to CB 33 are compared with the template 402,
A candidate block having the smallest absolute value error sum defined by Expression (1) is obtained. 13 to 18 are diagrams showing the arithmetic processing steps, and in these drawings, the arithmetic cells 711 and 71 are shown.
2, 721, 722, register 731, result storage unit 70
The states of No. 4 at the same time are shown side by side.

【0019】まず、時刻t=1(図13参照)で、入力
制御部701の指示に従い、テンプレート402の画素
データ(以下、テンプレートデータと記す)m11がテン
プレートマッチング装置内の演算セル722に入力され
る。続いて時刻t=2,3,4でm21,m12,m22が順
にテンプレートマッチング装置内に入力される。このと
き、先に入力されていたテンプレートデータは隣の演算
セル712,721,711へと順次転送され、t=4
においては、テンプレート402のすべてのテンプレー
トデータが演算セル711,721,712,722中
に1個づつ記憶されている。
First, at time t = 1 (see FIG. 13), the pixel data (hereinafter referred to as template data) m 11 of the template 402 is input to the operation cell 722 in the template matching device according to the instruction of the input control unit 701. To be done. Then, at time t = 2, 3, 4, m 21 , m 12 , and m 22 are sequentially input into the template matching device. At this time, the previously input template data is sequentially transferred to the adjacent operation cells 712, 721, 711, and t = 4.
In, all template data of the template 402 is stored in the operation cells 711, 721, 712 and 722, one by one.

【0020】図14の時刻t=5以降では、図5(b)
に示した探索領域502の画素データs11〜s44が入力
制御部701を介して演算セル722に入力される。こ
のとき、演算セル722に新たなデータが入力される度
に、各演算セルから隣の演算セルに探索データが転送さ
れていくが、探索データの転送の場合には演算セル71
2の次にレジスタ731に一旦保持されて(時刻t=7
参照)から演算セル721に転送(時刻t=8参照)さ
れる。これは、テンプレートと探索領域の組み合わせを
調整するためのデータバッファリングであり、テンプレ
ートと探索領域の垂直方向の画素数差によって、必要な
レジスタの個数が決まる。図14の時刻t=8までは探
索データのローディングのみであり、実質的な演算は行
われない。
After time t = 5 in FIG. 14, FIG.
The pixel data s 11 to s 44 of the search area 502 shown in (4) are input to the operation cell 722 via the input control unit 701. At this time, each time new data is input to the operation cell 722, the search data is transferred from each operation cell to the adjacent operation cell, but in the case of transfer of the search data, the operation cell 71
After 2 is temporarily held in the register 731 (time t = 7
(Reference) to the arithmetic cell 721 (see time t = 8). This is data buffering for adjusting the combination of the template and the search area, and the required number of registers is determined by the vertical pixel difference between the template and the search area. Until time t = 8 in FIG. 14, only the search data is loaded, and no substantial calculation is performed.

【0021】次に、図15に記載の時刻t=9から演算
が開始される。尚、図15〜図18では活性となってい
る演算セルは実践枠で記しており、図中da bは|sb
a|の演算結果を示している。
Next, the calculation is started from time t = 9 shown in FIG. It should be noted that, in FIGS. 15 to 18, the operation cells that are active are shown in a practice frame, and d ab in the figure is | s b −.
The calculation result of m a | is shown.

【0022】時刻t=9における演算セル721はテン
プレートデータm21及び探索データs21をセル内部のレ
ジスタに記憶しており、絶対値誤差d21 21=|s21−m
21|の演算を行う。同様に、演算セル711は絶対値誤
差d11 11=|s11−m11|の演算を行う。
The calculation cell 721 at time t = 9 stores the template data m 21 and the search data s 21 in the register inside the cell, and the absolute value error d 21 21 = | s 21 -m
21 | is calculated. Similarly, the calculation cell 711 calculates the absolute value error d 11 11 = | s 11 −m 11 |.

【0023】時刻t=10では、演算セル721,71
1での演算結果が演算セル722及び712にそれぞれ
転送される。そして、演算セル722は、自身のレジス
タに記憶しているm22とs22から得られた絶対値誤差d
22 22=|s22−m22|の演算を行った上で演算セル72
1から転送されてきたd21 21との和d21 21+d22 22を演
算する。同様に、演算セル712は絶対値誤差和d12 12
=|s12−m12|の演算を行った上で演算セル711か
ら転送されてきたd11 11との和d11 11+d12 12を演算す
る。
At time t = 10, the operation cells 721, 71
The calculation result of 1 is transferred to the calculation cells 722 and 712, respectively. Then, the operation cell 722 receives the absolute value error d obtained from m 22 and s 22 stored in its own register.
22 22 = | s 22 −m 22 |, and then the operation cell 72
It calculates a sum d 21 21 + d 22 22 a d 21 21 transferred from 1. Similarly, the calculation cell 712 has a sum of absolute value errors d 12 12
= | Computes the sum d 11 11 + d 12 12 a d 11 11 transferred from the operation cell 711 on which the operation was performed in | s 12 -m 12.

【0024】時刻t=11において、上記の演算セル7
11,712での演算結果が結果格納部704に転送さ
れる。そして、それらが加算されて絶対値誤差和D11
が得られる。この絶対値誤差和D11は図6で示した候
補ブロックCB11と図4(b)に示したテンプレート4
02との絶対値誤差和である。
At time t = 11, the arithmetic cell 7
The calculation results of 11, 712 are transferred to the result storage unit 704. Then, they are added and the absolute value error sum D 1 , 1
Is obtained. This absolute value error sum D 1 , 1 is the candidate block CB 11 shown in FIG. 6 and the template 4 shown in FIG.
It is the sum of absolute value error with 02.

【0025】演算セル711,721,712,72
2,結果格納部704では、時刻t=11以降も上記と
同様の処理が行われ、図16,図17に示すように、各
候補ブロックに対する絶対値誤差和が求められる。そし
て、t=21においてすべての絶対値誤差和が得られ
る。これらの絶対値誤差和の比較を行うことにより、テ
ンプレート402に最も近い候補ブロックを知ることが
できる。
Operation cells 711, 721, 712, 72
2. In the result storage unit 704, the processing similar to the above is performed after the time t = 11, and the absolute value error sum for each candidate block is obtained as shown in FIGS. Then, at t = 21, all the absolute value error sums are obtained. By comparing these absolute value error sums, the candidate block closest to the template 402 can be known.

【0026】図18に示すt=22〜25では、演算セ
ル711,721,712,722中の探索データを排
出する操作が行われ、演算は実行されない。
At t = 22 to 25 shown in FIG. 18, the operation for discharging the search data in the operation cells 711, 721, 712, 722 is performed, and the operation is not executed.

【0027】上記した図13〜図18の処理により、テ
ンプレート402に対するテンプレートマッチングが行
われる。従って、図4(a)の入力画像401全体で
は、図13〜図18の処理をテンプレートの個数回(2
0回)行う必要がある。
The template matching with the template 402 is performed by the above-described processing of FIGS. Therefore, for the entire input image 401 of FIG. 4A, the processing of FIGS.
It is necessary to do it 0 times.

【0028】[0028]

【発明が解決しようとする課題】図11に示したテンプ
レートマッチング装置700では、演算セル711〜7
22が同時並列的に演算を実行するため、多くの演算を
同時に実行することができ、演算量の多いテンプレート
マッチングに適している。
In the template matching device 700 shown in FIG. 11, the arithmetic cells 711 to 711 are used.
Since 22 executes operations in parallel at the same time, many operations can be executed at the same time, which is suitable for template matching with a large amount of operations.

【0029】しかしながら、上記のテンプレートマッチ
ング装置では、探索データを外部バスを通じて演算セル
に逐次的に供給するため、外部バスを通過する情報量が
多いという問題がある。例えば、一画面の画素数を水平
方向p画素,垂直方向q画素、テンプレートの大きさを
n画素×n画素、探索領域の大きさを(n+k)画素×
(n+k)画素とすると、一画面全体についてのテンプ
レートマッチングでは、(n+k)2×{(p/n)×
(q/n)}=(n+k)2pq/n2個のデータを外部
バスを通じて転送する必要がある。一般に、1画面あた
りの処理時間は一定であるから画面の画素数および探索
領域の画素数が大きくなればなるほど、実時間処理を行
うためには動作周波数を上げる必要があり、これによ
り、消費電力が増大してしまう。
However, in the above template matching apparatus, since the search data is sequentially supplied to the arithmetic cells through the external bus, there is a problem that a large amount of information passes through the external bus. For example, the number of pixels in one screen is p pixels in the horizontal direction, q pixels in the vertical direction, the size of the template is n pixels × n pixels, and the size of the search area is (n + k) pixels ×
Assuming that (n + k) pixels, in template matching for the entire screen, (n + k) 2 × {(p / n) ×
(Q / n)} = (n + k) 2 pq / n 2 data needs to be transferred through the external bus. Generally, since the processing time per screen is constant, the larger the number of pixels in the screen and the number of pixels in the search area, the higher the operating frequency needs to be in order to perform real-time processing. Will increase.

【0030】本発明は、上記問題を解決するためになさ
れたものであって、探索領域が広がっても動作周波数を
上げる必要がなく、低消費電力で動作するテンプレート
マッチング装置を提供することを目的とする。
The present invention has been made to solve the above problems, and an object of the present invention is to provide a template matching device that operates with low power consumption without the need to raise the operating frequency even if the search area is widened. And

【0031】[0031]

【課題を解決するための手段】請求項1に記載のテンプ
レートマッチング装置は、参照画像の全画素データを記
憶する画像記憶手段と、探索領域の画素数以上の個数の
演算器からなり、画像記憶手段から供給される探索領域
の各画素データをそれぞれ別の演算器で保持するととも
に、テンプレートの画素データを逐次的に導入して、テ
ンプレートマッチング処理のための演算を行う演算手段
と、を有してなり、画像記憶手段から演算手段への探索
領域の画素データの供給が同一チップ内で行えるよう形
成されてなるものである。
A template matching device according to a first aspect of the present invention comprises an image storage means for storing all pixel data of a reference image and an arithmetic unit having a number of pixels equal to or more than the number of pixels in a search area. Each pixel data of the search area supplied from the means is held by a different arithmetic unit, and the pixel data of the template is sequentially introduced to perform arithmetic operation for template matching processing. In other words, the pixel data of the search area can be supplied from the image storage means to the calculation means in the same chip.

【0032】このような構成では、参照画像の全画素デ
ータをテンプレートマッチング装置内に記憶しているた
め、外部バスを通して転送する必要のあるデータはテン
プレートの画素データのみとなる。そして、画像メモリ
から演算器への探索領域の画素データの転送を、同一チ
ップ内の複数の転送経路を用いて並列に行うため、探索
領域が広がっても動作周波数を上げる必要がなく、消費
電力を減少させることが可能となる。
In such a configuration, all the pixel data of the reference image is stored in the template matching device, so the only data that needs to be transferred through the external bus is the template pixel data. Then, since the pixel data in the search area is transferred in parallel from the image memory to the arithmetic unit using a plurality of transfer paths in the same chip, it is not necessary to increase the operating frequency even if the search area is widened, and the power consumption is reduced. Can be reduced.

【0033】請求項2に記載のテンプレートマッチング
装置は、請求項1に記載のテンプレートマッチング装置
において、画像記憶手段が参照画像の全画素データを行
単位で記憶する複数の行記憶手段からなるものである。
A template matching apparatus according to a second aspect is the template matching apparatus according to the first aspect, wherein the image storage means comprises a plurality of row storage means for storing all pixel data of the reference image row by row. is there.

【0034】この構成では、行記憶手段が参照画像の画
素データを行単位で記憶しており、その行記憶手段から
並列に画素データを読み出すことができるため、画像記
憶手段から演算手段への同一チップ内のデータ転送にお
いて、異なる探索領域で重複する画素データの転送を省
略することが可能となる。このため、演算をより短時間
で行うことができる。
In this configuration, the row storage means stores the pixel data of the reference image row by row, and the pixel data can be read in parallel from the row storage means. In the data transfer in the chip, it is possible to omit the transfer of the pixel data which overlap in different search areas. Therefore, the calculation can be performed in a shorter time.

【0035】また、請求項3に記載のテンプレートマッ
チング装置は、請求項2に記載のテンプレートマッチン
グ装置において、画像記憶手段と演算手段は複数のチッ
プ上に分かれて形成されており、各チップ上に少なくと
も複数の行記憶手段と探索領域の画素数以上の個数の演
算器が形成されてなるものである。
The template matching device according to a third aspect is the template matching device according to the second aspect, in which the image storage means and the arithmetic means are formed separately on a plurality of chips, and each chip is formed. At least a plurality of row storage means and a number of arithmetic units equal to or larger than the number of pixels in the search area are formed.

【0036】上記構成では、テンプレートマッチング装
置を複数のチップに分けて構成しても、画像記憶手段か
ら演算手段へのデータ転送を同一チップ内で行うように
することができる。このため、参照画像の画素数が多
く、1チップ内に演算手段と画像記憶手段を集積化する
ことができない場合でも、低消費電力で動作させること
が可能となる。
In the above configuration, even if the template matching device is divided into a plurality of chips, the data transfer from the image storage means to the calculation means can be performed within the same chip. Therefore, even when the number of pixels of the reference image is large and the arithmetic unit and the image storage unit cannot be integrated in one chip, it is possible to operate with low power consumption.

【0037】[0037]

【発明の実施の形態】以下、本発明のテンプレートマッ
チング装置の実施形態について説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the template matching apparatus of the present invention will be described below.

【0038】図1は本発明のテンプレートマッチング装
置の一構成例を示すブロック図である(探索領域の画素
数が16以下の場合の一構成例を示すブロック図であ
る)。本テンプレートマッチング装置は1チップで構成
されており、画像メモリ(特許請求の範囲における画像
記憶手段)108,演算セルアレイ(特許請求の範囲に
おける演算手段)102,結果格納部105,入出力制
御部106からなっている。画像メモリ108は複数の
行メモリ(特許請求の範囲における行記憶手段)101
からなっており、一画面の画素データを行単位で記憶し
ている。入出力制御部106は、外部バス107とのデ
ータの入出力を制御するものである。演算セルアレイ1
02は演算セル(特許請求の範囲における演算器)11
1〜144からなっている。
FIG. 1 is a block diagram showing an example of the configuration of the template matching apparatus of the present invention (a block diagram showing an example of the configuration when the number of pixels in the search area is 16 or less). This template matching device is composed of one chip, and includes an image memory (image storage means in the claims) 108, an operation cell array (operation means in the claims) 102, a result storage section 105, and an input / output control section 106. It consists of The image memory 108 is a plurality of row memories (row storage means in claims) 101.
And stores the pixel data of one screen in row units. The input / output control unit 106 controls input / output of data with the external bus 107. Arithmetic cell array 1
Reference numeral 02 denotes an arithmetic cell (an arithmetic unit in claims) 11
It consists of 1-144.

【0039】図2は、上記構成のテンプレートマッチン
グ装置を用いたテンプレートマッチング法の一例を説明
する図である。図2において、I1,I2は画像データで
あり、外部からI1,I2の順に外部バス107を通って
送られてくる。以下、画像データI2の一部分をテンプ
レートとし、画像データI1の一部分を探索領域とし
て、2つのテンプレートマッチング装置100a,10
0bを使用してテンプレートマッチングを行う場合につ
いて説明する。
FIG. 2 is a diagram for explaining an example of a template matching method using the template matching device having the above structure. In FIG. 2, I 1 and I 2 are image data, which are sent from the outside through the external bus 107 in the order of I 1 and I 2 . Hereinafter, a part of the image data I 2 is used as a template, and a part of the image data I 1 is used as a search area.
A case where template matching is performed using 0b will be described.

【0040】まず、外部バス107を通って送られてき
た画像データI1のデータを入出力制御部106aを介
して画像メモリ108aに記憶する(ステップ1)。
First, the data of the image data I 1 sent through the external bus 107 is stored in the image memory 108a via the input / output control unit 106a (step 1).

【0041】次に、画像データI2のデータを、入出力
制御部106bを介して画像メモリ108bに記憶する
(ステップ2)。
Next, the image data I 2 is stored in the image memory 108b via the input / output control unit 106b (step 2).

【0042】テンプレート(画像データI2の一部分)
に対応する探索データ(画像データI1の一部分)を、
入出力制御部106aの指示に基づいて、テンプレート
マッチング装置100aの画像メモリ108aから演算
セルアレイ102aにプリロードする(ステップ3)。
Template (part of image data I 2 )
Search data (a part of the image data I 1 ) corresponding to
Based on the instruction from the input / output control unit 106a, the image memory 108a of the template matching apparatus 100a is preloaded into the arithmetic cell array 102a (step 3).

【0043】テンプレートデータを、入出力制御部10
6a,106bの指示に基づいて、テンプレートマッチ
ング装置100bの画像メモリ108bから外部バス1
07を介してテンプレートマッチング装置100aに供
給し、テンプレートマッチング装置100aの演算セル
アレイ102aにおいてテンプレートに最も似通った探
索領域の部分を算出する(ステップ4)。
The input / output control unit 10 receives the template data.
6a and 106b, the template matching device 100b is connected to the external bus 1 from the image memory 108b.
It is supplied to the template matching apparatus 100a via 07, and the part of the search area most similar to the template is calculated in the operation cell array 102a of the template matching apparatus 100a (step 4).

【0044】上記のステップ1〜ステップ4により、1
つのテンプレートに対するテンプレートマッチング処理
が行われる。画像データI2の一画面全体についてテン
プレートマッチングを行う場合には、上記のステップ3
〜ステップ4を繰り返せばよい。このとき本実施形態で
は画像メモリ108を複数の行メモリ101としてお
り、データを行単位で記憶しているため、ステップ3に
おける探索データのプリロードにおいて、他の探索デー
タと重複する部分のプリロードを省略することが可能と
なる。このため、より短時間での演算が可能となる。
According to the above steps 1 to 4, 1
Template matching processing is performed for one template. When performing template matching on the entire screen of the image data I 2 , the above step 3 is performed.
~ Step 4 may be repeated. At this time, in the present embodiment, the image memory 108 is composed of a plurality of row memories 101, and data is stored in row units. Therefore, in the search data preload in step 3, the preload of the portion overlapping with other search data is omitted. It becomes possible to do. Therefore, the calculation can be performed in a shorter time.

【0045】また、本実施形態において、演算のために
外部バス107を通す必要のある情報量(画素数)は、
テンプレートマッチング装置100bからテンプレート
マッチング装置100bへ転送する必要のある画素数で
あるため、一画面を水平方向p画素,垂直方向q画素、
テンプレートをn画素×n画素とすると、(n×n)×
{(p/n)×(q/n)}=pq画素であり、従来の
ように探索領域の画素数((n+k)×(n+k)画
素)には依存せず(従来:pq+(n+k)2pq/n2
画素)、外部バス107を通す必要のある情報量を低減
させることが可能である。このため、消費電力を低減さ
せることができる。
In this embodiment, the amount of information (number of pixels) that needs to pass through the external bus 107 for calculation is
Since the number of pixels needs to be transferred from the template matching device 100b to the template matching device 100b, one screen has p pixels in the horizontal direction and q pixels in the vertical direction.
If the template is n pixels × n pixels, (n × n) ×
{(P / n) × (q / n)} = pq pixels, which does not depend on the number of pixels in the search area ((n + k) × (n + k) pixels) as in the conventional case (conventional: pq + (n + k)) 2 pq / n 2
(Pixel), it is possible to reduce the amount of information that needs to pass through the external bus 107. Therefore, power consumption can be reduced.

【0046】次に、このテンプレートマッチング装置の
内部処理について具体的に説明する。ここでは、簡単の
ため、従来例で説明した処理と同様の処理を行う場合に
ついて説明する。つまり、図4に示す10画素×8画素
の入力画像と、図5に示す10画素×8画素の参照画像
とのテンプレートマッチングを行う場合について説明す
る。ここで、テンプレートは2画素×2画素であり、探
索領域は4画素×4画素であるものとする。
Next, the internal processing of this template matching device will be specifically described. Here, for simplification, a case where the same processing as the processing described in the conventional example is performed will be described. That is, a case will be described where template matching is performed between the 10 pixel × 8 pixel input image shown in FIG. 4 and the 10 pixel × 8 pixel reference image shown in FIG. Here, it is assumed that the template has 2 pixels × 2 pixels and the search area has 4 pixels × 4 pixels.

【0047】まず、テンプレートを図4(a)の402
とし、探索領域を参照画像501においてテンプレート
402と同一部分のブロックに上下、左右方向に1画素
づつ加えた領域502(図5(a)参照)としてテンプ
レートマッチングを行う場合について説明する。尚、テ
ンプレート402の各画素を図4(b)に示すようにm
11〜m22とし、探索領域502の各画素を図5(b)に
示すようにs11〜s44とする。
First, the template is set to 402 in FIG.
Then, a case will be described in which the template matching is performed as the search region as a region 502 (see FIG. 5A) in which one pixel is added to the block in the same portion as the template 402 in the reference image 501 in the vertical and horizontal directions. In addition, each pixel of the template 402 is set to m as shown in FIG.
11 to m 22 and each pixel of the search area 502 is set to s 11 to s 44 as shown in FIG. 5B.

【0048】図6は、この探索領域502の中の9個
((2+1)2個)の候補ブロックCB11乃至CB33
示す図である。テンプレートマッチング法では、この9
個のブロックCB11乃至CB33とテンプレート402と
を比較し、式(1)で定義される絶対値誤差和が最も小
さい候補ブロックを求める。
FIG. 6 is a diagram showing nine ((2 + 1) 2 ) candidate blocks CB 11 to CB 33 in the search area 502. In the template matching method, this 9
The blocks 402 CB 11 to CB 33 are compared with the template 402 to obtain a candidate block having the smallest absolute value error sum defined by the equation (1).

【0049】図7〜図9は図1のテンプレートマッチン
グ装置の処理を説明する図である。以下、これらの図に
基づいて、テンプレートマッチング装置の動作を説明す
る。尚、図8〜図9において、da bはテンプレートデー
タmaと探索データsbとの絶対値誤差|sb−ma|を示
しており、Dghは式(1)に示した絶対値誤差和(第
g行第h列を左上隅とする候補ブロックとの絶対値誤差
和)を示している。
7 to 9 are diagrams for explaining the process of the template matching device of FIG. The operation of the template matching device will be described below with reference to these figures. Note that in FIGS. 8 9, d a b template data m a and the absolute value error between the search data s b | s b -m a | indicates a, D g, h are shown in Formula (1) And the absolute value error sum (absolute value error sum with the candidate block having the upper left corner at the g-th row and the h-th column).

【0050】時刻t=1〜4では、演算セル111〜1
44への探索データの供給が行われる。まず、時刻t=
1において、画像メモリ108から、探索データs11
21,s31,s41がそれぞれ対応する行の演算セル11
4,124,134,144に入力される。続いて、時
刻t=2において、上記の演算セル114,124,1
34,144内部のデータがそれぞれ演算セル113,
123,133,143に転送され、演算セル114,
124,134,144には画像メモリ108からそれ
ぞれ探索データs12,s22,s32,s42が入力
される。時刻t=3,4においても同様に、隣の演算セ
ルへのデータの転送と、演算セル114,124,13
4,144への新たなデータの入力が行われる。そし
て、時刻t=4において、すべての探索データがそれぞ
れ一つの演算セルにセットされる。
At time t = 1 to 4, arithmetic cells 111 to 1
The search data is supplied to 44. First, time t =
1, the search data s 11 ,
Operation cells 11 in rows corresponding to s 21 , s 31 , and s 41
4,124,134,144. Then, at time t = 2, the arithmetic cells 114, 124, 1
The data inside 34 and 144 are the calculation cells 113 and
123, 133, 143, and the operation cells 114,
Search data s12, s22, s32, and s42 are input from the image memory 108 to 124, 134, and 144, respectively. Similarly, at times t = 3 and 4, the data transfer to the adjacent operation cells and the operation cells 114, 124 and 13 are performed.
New data is input to 4,144. Then, at time t = 4, all the search data are set in one operation cell.

【0051】続いて、図8に示す時刻t=5において、
演算セル111〜114及び131〜134にテンプレ
ート402の画素データm11が供給され、演算セル12
1〜124及び141〜144にはテンプレート402
の画素データm21が供給される。そして、演算セル11
4,124,134,144以外の演算セルにおいて絶
対値誤差が計算される。例えば、演算セル111では、
テンプレートデータm11と探索データs11を用いてd11
11=|s11−m11|が計算される。尚、図8,図9にお
いては、活性な演算セル(演算の行われる演算セル)を
実線で囲んでいる。
Then, at time t = 5 shown in FIG.
The pixel data m 11 of the template 402 is supplied to the calculation cells 111 to 114 and 131 to 134, and the calculation cell 12
1 to 124 and 141 to 144 have a template 402.
Pixel data m 21 of Then, the arithmetic cell 11
The absolute value error is calculated in the operation cells other than 4,124,134,144. For example, in the arithmetic cell 111,
Using the template data m 11 and the search data s 11 , d 11
11 = | s 11 −m 11 | is calculated. 8 and 9, active arithmetic cells (arithmetic cells in which arithmetic operations are performed) are surrounded by solid lines.

【0052】時刻t=6では、演算セル111〜114
及び131〜134にテンプレートデータm12が供給さ
れ、演算セル121〜124及び141〜144にはテ
ンプレートデータm22が供給される。そして、演算セル
111,121,131,141以外の演算セルにおい
て絶対値誤差が計算され、その計算結果と各演算セルの
左隣の演算セルから転送されてきたt=5における演算
結果との和が計算される。
At time t = 6, the arithmetic cells 111 to 114
And 131 to 134 are supplied with the template data m 12 , and the arithmetic cells 121 to 124 and 141 to 144 are supplied with the template data m 22 . Then, the absolute value error is calculated in the operation cells other than the operation cells 111, 121, 131, 141, and the sum of the calculation result and the operation result at t = 5 transferred from the operation cell on the left of each operation cell. Is calculated.

【0053】更に、時刻t=7においては、t=6にお
ける演算結果が右隣の演算セルへ転送される。このと
き、右端の演算セル114,124,134,144か
らは結果格納部105への演算結果の転送が行われる。
そして、結果格納部105において、図6で示した候補
ブロックCB13及びCB33と図4で示したテンプレート
402との絶対値誤差和D13及びD33が得られる。
Further, at time t = 7, the calculation result at t = 6 is transferred to the calculation cell on the right side. At this time, the calculation result is transferred from the calculation cells 114, 124, 134, 144 at the right end to the result storage unit 105.
Then, in the result storage unit 105, the absolute value error sums D 1 , 3 and D 3 , 3 of the candidate blocks CB 13 and CB 33 shown in FIG. 6 and the template 402 shown in FIG. 4 are obtained.

【0054】以下、同様の手順を繰り返すことにより、
図6で示したすべての候補ブロックに対して図4で示し
たテンプレート402との絶対値誤差和が結果格納部1
05において得られる。
Thereafter, by repeating the same procedure,
For all candidate blocks shown in FIG. 6, the absolute value error sum with the template 402 shown in FIG. 4 is the result storage unit 1.
Obtained at 05.

【0055】尚、時刻t=5からt=12までの活性な
演算セルにおいては、基本的に同一の処理を行ってい
る。例えば、時刻t=5においては隣接セルから転送さ
れてくる演算データがないため、有意な加算処理が行わ
れていないだけで、時刻t=6における演算処理を実行
するために必要な機能があれば、時刻t=5における処
理は実行できる。
The same processing is basically performed in the active operation cells from time t = 5 to t = 12. For example, at time t = 5, since there is no operation data transferred from the adjacent cell, there is a function necessary for executing the operation processing at time t = 6 without performing significant addition processing. Thus, the process at time t = 5 can be executed.

【0056】以上のように、本発明によれば、1チップ
内に画像メモリ108と演算セルアレイ102を含んで
いるため、探索データ502は外部バス107を介する
ことなく演算セル111〜144に供給される。このた
め、低消費電力で演算を行うことが可能となる。しかし
ながら、参照画面の画素数が増大すると、1チップ内に
画像メモリ108と演算セルアレイ102を形成するこ
とが困難になる。
As described above, according to the present invention, since the image memory 108 and the operation cell array 102 are included in one chip, the search data 502 is supplied to the operation cells 111 to 144 without passing through the external bus 107. It Therefore, it is possible to perform the calculation with low power consumption. However, if the number of pixels of the reference screen increases, it becomes difficult to form the image memory 108 and the operation cell array 102 in one chip.

【0057】上記のような場合、テンプレートマッチン
グ装置を図10に示すように構成すればよい。すなわ
ち、画像メモリを複数の行メモリ毎に分割してそれぞれ
を別々のチップ上に形成する(図10では3つのチップ
1〜T3上に形成されている)。そして、各チップ上に
探索領域の画素数以上の演算セルを形成して、画像メモ
リから演算セルへの探索データの転送は同一チップ内で
行うようにする。この構成により、チップ間でデータ転
送を行う必要のあるものは絶対値誤差和を求めるための
部分和だけであるので、探索データ502をチップ間で
転送する必要は生じない。また、探索範囲を大きくした
場合においても、外部バスを介して転送する必要のある
情報量は変わらないため、実時間処理を行う際にも動作
周波数を高くする必要はなく、消費電力を低減すること
ができる。尚、図10においては、入出力制御部106
と結果格納部105は省略している。
In the above case, the template matching device may be constructed as shown in FIG. That is, the image memory is divided into a plurality of row memories and formed on different chips (formed on three chips T 1 to T 3 in FIG. 10). Then, arithmetic cells having the number of pixels in the search region or more are formed on each chip, and the search data is transferred from the image memory to the arithmetic cells in the same chip. With this configuration, it is not necessary to transfer the search data 502 between chips, because only the partial sum for obtaining the absolute value error sum needs to be transferred between chips. Further, even when the search range is increased, the amount of information that needs to be transferred via the external bus does not change, so there is no need to increase the operating frequency when performing real-time processing, and power consumption is reduced. be able to. In FIG. 10, the input / output control unit 106
The result storage unit 105 is omitted.

【0058】[0058]

【発明の効果】請求項1に記載のテンプレートマッチン
グ装置では、画像メモリに一画面分の画素データを記憶
し、同一チップ内で探索領域の画素データの転送を行う
ため、外部バスを介して探索データを転送する必要がな
い。このため、探索領域の画素数が多くなっても動作周
波数を大きくする必要がないため、消費電力を低減する
ことができる。
According to the template matching apparatus of the first aspect, the pixel data for one screen is stored in the image memory, and the pixel data in the search area is transferred within the same chip. Therefore, the search is performed via the external bus. No need to transfer data. Therefore, it is not necessary to increase the operating frequency even if the number of pixels in the search area is large, so that power consumption can be reduced.

【0059】また、請求項2に記載のテンプレート装置
では、画像メモリが行メモリとなっているため、画像メ
モリから演算セルアレイへのプリロードを効率よく行う
ことができ、処理を高速化することができる。
Further, in the template device according to the second aspect, since the image memory is the row memory, preloading from the image memory to the operation cell array can be efficiently performed, and the processing speed can be increased. .

【0060】更に、請求項3に記載のテンプレートマッ
チング装置によれば、テンプレートマッチング装置を複
数のチップに分けて構成しても、画像メモリから演算セ
ルへのデータ転送を同一チップ内で行うようにすること
ができる。このため、参照画像の画素数が多く、1チッ
プ内に画像メモリと演算セルアレイを構成することがで
きない場合でも、低消費電力で動作させることが可能と
なる。
Further, according to the template matching apparatus of the third aspect, even if the template matching apparatus is divided into a plurality of chips, the data transfer from the image memory to the operation cell is performed in the same chip. can do. Therefore, even when the number of pixels of the reference image is large and the image memory and the operation cell array cannot be configured in one chip, it is possible to operate with low power consumption.

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

【図1】本発明のテンプレートマッチング装置の一構成
例を示すブロック図である。
FIG. 1 is a block diagram showing a configuration example of a template matching device of the present invention.

【図2】テンプレートマッチング法の一例を説明する図
である。
FIG. 2 is a diagram illustrating an example of a template matching method.

【図3】テンプレート及び探索データを説明する図であ
る。
FIG. 3 is a diagram illustrating a template and search data.

【図4】入力画像の一例を示す図である。FIG. 4 is a diagram showing an example of an input image.

【図5】参照画像の一例を示す図である。FIG. 5 is a diagram showing an example of a reference image.

【図6】候補ブロックを示す図である。FIG. 6 is a diagram showing candidate blocks.

【図7】図1のテンプレートマッチング装置の処理過程
(t=1〜4)を説明する図である。
FIG. 7 is a diagram illustrating a processing process (t = 1 to 4) of the template matching device in FIG.

【図8】図1のテンプレートマッチング装置の処理過程
(t=5〜9)を説明する図である。
FIG. 8 is a diagram illustrating a processing process (t = 5 to 9) of the template matching device in FIG.

【図9】図1のテンプレートマッチング装置の処理過程
(t=10〜12)を説明する図である。
FIG. 9 is a diagram illustrating a processing process (t = 10 to 12) of the template matching device of FIG.

【図10】複数チップに形成されたテンプレートマッチ
ング装置の一構成例を示すブロック図である。
FIG. 10 is a block diagram showing a configuration example of a template matching device formed on a plurality of chips.

【図11】従来のテンプレートマッチング装置の構成を
示すブロック図である。
FIG. 11 is a block diagram showing a configuration of a conventional template matching device.

【図12】従来のテンプレートマッチング法の一例を説
明する図である。
FIG. 12 is a diagram illustrating an example of a conventional template matching method.

【図13】従来のテンプレートマッチング装置の処理過
程(t=1〜4)を説明する図である。
FIG. 13 is a diagram illustrating a processing process (t = 1 to 4) of a conventional template matching device.

【図14】従来のテンプレートマッチング装置の処理過
程(t=5〜8)を説明する図である。
FIG. 14 is a diagram illustrating a processing process (t = 5 to 8) of a conventional template matching device.

【図15】従来のテンプレートマッチング装置の処理過
程(t=9〜13)を説明する図である。
FIG. 15 is a diagram illustrating a processing process (t = 9 to 13) of a conventional template matching device.

【図16】従来のテンプレートマッチング装置の処理過
程(t=14〜17)を説明する図である。
FIG. 16 is a diagram illustrating a processing process (t = 14 to 17) of a conventional template matching device.

【図17】従来のテンプレートマッチング装置の処理過
程(t=18〜21)を説明する図である。
FIG. 17 is a diagram illustrating a processing process (t = 18 to 21) of the conventional template matching device.

【図18】従来のテンプレートマッチング装置の処理過
程(t=22〜25)を説明する図である。
FIG. 18 is a diagram illustrating a processing process (t = 22 to 25) of the conventional template matching device.

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

101 行メモリ 102 演算セルアレイ 105 結果格納部 106 入出力制御部 108 画像メモリ 111〜144 演算セル 402 テンプレート 502 探索データ T1〜T3 チップ m11〜m22 テンプレートデータ s11〜s44 探索データ101 row memory 102 operation cell array 105 result storage unit 106 input / output control unit 108 image memory 111 to 144 operation cell 402 template 502 search data T 1 to T 3 chips m 11 to m 22 template data s 11 to s 44 search data

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】参照画像中の探索領域の画素データとテン
プレートの画素データに所定の演算を行うことにより、
前記探索領域の中から前記テンプレートと最も近い領域
を抽出するテンプレートマッチング装置において、 前記参照画像の全画素データを記憶する画像記憶手段
と、 前記探索領域の画素数以上の個数の演算器からなり、前
記画像記憶手段から供給される前記探索領域の各画素デ
ータをそれぞれ別の前記演算器で保持するとともに、前
記テンプレートの画素データを逐次的に導入して、前記
所定の演算を行う演算手段と、を有してなり、 前記画像記憶手段から前記演算手段への前記探索領域の
画素データの供給が同一チップ内で行えるよう形成され
てなることを特徴とするテンプレートマッチング装置。
1. A predetermined calculation is performed on pixel data of a search area and pixel data of a template in a reference image,
In a template matching device for extracting a region closest to the template from the search region, an image storage unit for storing all pixel data of the reference image, and an arithmetic unit having a number of pixels equal to or more than the number of pixels in the search region, While holding each pixel data of the search area supplied from the image storage means in each of the different arithmetic units, the pixel data of the template is sequentially introduced, the arithmetic unit for performing the predetermined calculation, A template matching device, characterized in that it is formed so that the pixel data of the search area can be supplied from the image storage means to the calculation means in the same chip.
【請求項2】請求項1に記載のテンプレートマッチング
装置において、 前記画像記憶手段は、前記参照画像の全画素データを前
記参照画像の行単位で記憶する複数の行記憶手段からな
ることを特徴とするテンプレートマッチング装置。
2. The template matching device according to claim 1, wherein the image storage means comprises a plurality of row storage means for storing all pixel data of the reference image in units of rows of the reference image. Template matching device.
【請求項3】請求項2に記載のテンプレートマッチング
装置において、 前記画像記憶手段と前記演算手段は複数のチップ上に分
かれて形成されており、 各チップ上に、少なくとも複数の前記行記憶手段と前記
探索領域の画素数以上の個数の前記演算器が形成されて
なることを特徴とするテンプレートマッチング装置。
3. The template matching apparatus according to claim 2, wherein the image storage means and the calculation means are formed separately on a plurality of chips, and each chip has at least a plurality of the row storage means. A template matching device, characterized in that the arithmetic units are formed in a number equal to or larger than the number of pixels in the search area.
JP22336495A 1995-08-31 1995-08-31 Template matching device Pending JPH0969159A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22336495A JPH0969159A (en) 1995-08-31 1995-08-31 Template matching device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22336495A JPH0969159A (en) 1995-08-31 1995-08-31 Template matching device

Publications (1)

Publication Number Publication Date
JPH0969159A true JPH0969159A (en) 1997-03-11

Family

ID=16796995

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22336495A Pending JPH0969159A (en) 1995-08-31 1995-08-31 Template matching device

Country Status (1)

Country Link
JP (1) JPH0969159A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005083632A1 (en) * 2004-02-27 2005-09-09 Hiroshima University, A National University Corporation Of Japan Reference data optimization learning method and pattern recognition system
CN108711173A (en) * 2018-04-13 2018-10-26 深圳安博电子有限公司 Multiple-target identification method and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005083632A1 (en) * 2004-02-27 2005-09-09 Hiroshima University, A National University Corporation Of Japan Reference data optimization learning method and pattern recognition system
US7881525B2 (en) 2004-02-27 2011-02-01 Hiroshima University Reference data optimization learning method and pattern recognition system
CN108711173A (en) * 2018-04-13 2018-10-26 深圳安博电子有限公司 Multiple-target identification method and device

Similar Documents

Publication Publication Date Title
US7532244B2 (en) High-speed vision sensor
US7933331B2 (en) High quality, low memory bandwidth motion estimation processor
JPH03256485A (en) Motion vector detecting circuit
US4791677A (en) Image signal processor
US7002587B2 (en) Semiconductor device, image data processing apparatus and method
US7979622B2 (en) Memory access method
US4845767A (en) Image signal processor
EP0666696A2 (en) Data processing method and data processor
JPH06325162A (en) Image processor
US20080056368A1 (en) Motion vector search apparatus
US7777751B2 (en) Tiled memory array for full search motion estimation
WO1999063751A1 (en) Low-power parallel processor and imager integrated circuit
JPH0969159A (en) Template matching device
US6425026B1 (en) Distribution, processing, and reconstruction of variable-sized images using multiple processor arrays
US7756363B2 (en) System and method for image processing
JP2000311241A (en) Image processor
US4435836A (en) Technique for extracting features from images
KR100359091B1 (en) Motion estimation device
JPH05328332A (en) High parallel movement-compensated computing element
US11682099B2 (en) Hardware accelerator for integral image computation
JP3698501B2 (en) Motion vector detection device
JP2862387B2 (en) Filtering method for ultra-high-speed image processing system
Fountain et al. The CLIP4S system
Moshnyaga et al. A memory efficient array architecture for real‐time motion estimation
Zhao et al. An End-to-end Foreground Category Attention Boosting Network

Legal Events

Date Code Title Description
A977 Report on retrieval

Effective date: 20041216

Free format text: JAPANESE INTERMEDIATE CODE: A971007

A131 Notification of reasons for refusal

Effective date: 20050106

Free format text: JAPANESE INTERMEDIATE CODE: A131

A02 Decision of refusal

Effective date: 20050510

Free format text: JAPANESE INTERMEDIATE CODE: A02