JP3006560B2 - Alignment device and computer-readable recording medium storing alignment program - Google Patents

Alignment device and computer-readable recording medium storing alignment program

Info

Publication number
JP3006560B2
JP3006560B2 JP9244972A JP24497297A JP3006560B2 JP 3006560 B2 JP3006560 B2 JP 3006560B2 JP 9244972 A JP9244972 A JP 9244972A JP 24497297 A JP24497297 A JP 24497297A JP 3006560 B2 JP3006560 B2 JP 3006560B2
Authority
JP
Japan
Prior art keywords
block
position correction
image
correction parameter
target 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.)
Expired - Fee Related
Application number
JP9244972A
Other languages
Japanese (ja)
Other versions
JPH1186003A (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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP9244972A priority Critical patent/JP3006560B2/en
Publication of JPH1186003A publication Critical patent/JPH1186003A/en
Application granted granted Critical
Publication of JP3006560B2 publication Critical patent/JP3006560B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、特に広範囲な画像
をコンピュータに入力するために、部分画像の特性から
部分画像間の位置関係を自動で求める位置合わせ装置及
び位置合わせプログラムを記録したコンピュータが読み
取り可能な記録媒体に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a positioning apparatus for automatically obtaining a positional relationship between partial images from the characteristics of the partial images in order to input a wide range of images to the computer. It relates to a readable recording medium.

【0002】[0002]

【従来の技術】従来、画像をコンピュータに入力するた
めに、一般的には電子カメラやスキャナが利用されこと
が多い。
2. Description of the Related Art Conventionally, electronic cameras and scanners are generally used to input images into a computer.

【0003】しかしながら、電子カメラやスキャナのい
ずれにおいても画角や読み取り範囲が限られているた
め、広い領域に渡る対象を一度に読み取ることが不可能
な場合がある。このような場合には、複数に分割して取
得した対象の画像を一枚に再構成する処理が必要とな
る。このような目的を果たすものとして、コンピュータ
により画像の特徴から自動で位置合わせを適用する処理
を行う位置合わせ装置が従来技術として知られている。
However, since the angle of view and the reading range are limited in both electronic cameras and scanners, it may not be possible to read an object over a wide area at one time. In such a case, it is necessary to perform a process of reconstructing a target image obtained by dividing into a plurality of images. As a technique for achieving such an object, a positioning apparatus that performs processing for automatically applying positioning from the characteristics of an image by a computer is known as a conventional technique.

【0004】この従来の位置合わせ装置は、残差や相互
相関係数の指標を利用して、すべてのパラメータ候補か
ら形成されるパラメータ空間内の逐次探索によりパラメ
ータを求める場合が多く見られた。これらの手法は「共
立出版、bit別冊『コンピュータ・サイエンス』,エ
ーシーエム・コンピューティング・サーベイズ’92、
77〜119頁」に記述されているので詳細は割愛する
が、含まれる変動の種類が多くなると指数的に計算量が
増大するという問題があった。この計算量の問題を回避
するものとして、例えば「特開平7−264483、
『放射線画像の位置合せ方法』」が提案されている。こ
の提案では、まず、基準となる特徴点を画像から抽出し
特徴点周辺の画像をブロックとみなす。そして、各ブロ
ックに対して平行移動量を求める処理(ブロックマッチ
ング処理)のみを適用し、その結果を最小二乗法で統合
し、平行移動量、回転量、拡大/縮小量を含むパラメー
タを一括して求める手法が説明されている。この手法で
は、パラメータ空間は平行移動量のみで構成されるため
計算量の指数的な増大を防ぐことが可能となる。また、
「特開平8−145628、『対象物位置特定方法』」
においては、複数のテンプレートにブロックマッチング
処理を適用した結果から、すべての組合せについて平行
移動量、回転量を含むパラメータを求め、その中で最小
の二乗誤差を与えるパラメータを位置合せ結果とする方
法が説明されている。
[0004] In this conventional positioning apparatus, parameters are often found by successively searching in a parameter space formed from all parameter candidates using an index of a residual or a cross-correlation coefficient. These methods are described in "Kyoritsu Shuppan, bit separate volume" Computer Science ", ACM Computing Surveys '92,
77-119 ", the details of which are omitted, but there is a problem that the calculation amount increases exponentially as the types of fluctuations included increase. To avoid the problem of the calculation amount, for example, Japanese Patent Application Laid-Open No. 7-264483,
“Radio image alignment method” has been proposed. In this proposal, first, a reference feature point is extracted from an image, and an image around the feature point is regarded as a block. Then, only the process of obtaining the translation amount (block matching process) is applied to each block, the results are integrated by the least squares method, and the parameters including the translation amount, the rotation amount, and the enlargement / reduction amount are batched. It describes the method of determining In this method, since the parameter space is constituted only by the amount of translation, it is possible to prevent an exponential increase in the amount of calculation. Also,
"Japanese Patent Laid-Open No. 8-145628," Method of Locating Object ""
In the method, a parameter including a translation amount and a rotation amount for all combinations is obtained from a result of applying the block matching process to a plurality of templates, and a parameter that gives a minimum square error among the parameters is used as an alignment result. Described.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、「特開
平7−264483、『放射線画像の位置合せ方法』」
をはじめとする従来のブロック分割による位置合わせ手
法では、パラメータ空間は平行移動量のみで構成される
ため計算量の指数的な増大を防ぐことが可能となるもの
の、得られるパラメータが誤った平行移動量を与えるブ
ロックの影響を受ける可能性があり、得られるパラメー
タの精度が低くなるという問題があった。
However, Japanese Patent Application Laid-Open No. Hei 7-264483, "Method of Aligning Radiation Images"
In the conventional alignment method based on block division such as, the parameter space is composed of only the amount of translation, it is possible to prevent an exponential increase in the amount of computation, but the obtained parameter is incorrectly translated. There is a problem that the block may give an influence to the amount, and the accuracy of the obtained parameter is low.

【0006】また、「特開平8−145628、『対象
物位置特定方法』」による位置合せ手法では、すべての
ブロックの組み合わせ毎に得られたパラメータの中か
ら、二乗誤差を最小にするパラメータを求めることで、
誤った平行移動量を与えるブロックの影響を回避するこ
とを試みているが、ブロックマッチング処理結果のみに
基づいて最適パラメータを決定しているため、複数のブ
ロックが同じような誤った平行移動量を与える場合には
必ずしも正しい結果を与えるとは言えなかった。
In the positioning method according to "Japanese Patent Application Laid-Open No. Hei 8-145628," Method of Locating Object ", a parameter for minimizing a square error is obtained from parameters obtained for every combination of blocks. By that
We are trying to avoid the effects of blocks that give incorrect translations, but because the optimal parameters are determined based only on the block matching processing results, multiple blocks may have similar incorrect translations. Giving them did not always give the correct result.

【0007】本発明は上記課題を解決するべくなされた
ものであり、回転を含む画像間の位置関係を高速かつ高
精度に求める位置合わせ装置を提供することを目的とす
る。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problem, and has as its object to provide a positioning apparatus for determining a positional relationship between images including rotation at high speed and with high accuracy.

【0008】[0008]

【課題を解決するための手段】上記の課題を解決するた
めに、本発明における位置合わせ装置においては、回転
を含む画像間の位置関係をブロックマッチング処理結果
を統合して求める際に、誤ったブロックマッチング処理
結果をもたらす可能性が高いブロックを排除するブロッ
ク選択手段と、得られたブロックマッチング処理結果を
分類するマッチング結果分類手段と、分類されたグルー
プ毎に対象画像の位置補正量をあらわすパラメータを求
める位置補正パラメータ計算手段と、得られた複数の位
置補正パラメータの中から、原画像を参照して最良の結
果を与える位置補正パラメータを決定する最適位置補正
パラメータ決定手段を備えるように構成する。
SUMMARY OF THE INVENTION In order to solve the above-mentioned problems, in a positioning apparatus according to the present invention, when a positional relationship between images including rotation is obtained by integrating block matching processing results, an erroneous position is obtained. Block selecting means for eliminating blocks likely to produce block matching processing results, matching result classifying means for classifying the obtained block matching processing results, and a parameter representing a position correction amount of the target image for each classified group , And an optimum position correction parameter determining unit that determines a position correction parameter that gives the best result by referring to the original image from the plurality of obtained position correction parameters. .

【0009】よって、本発明における位置合わせ装置で
は、ブロック選択手段により誤ったブロックマッチング
処理結果を与える可能性が高いブロックを排除するた
め、ブロックマッチング処理によって得られる各ブロッ
クの位置合わせ結果の精度が向上する。さらにマッチン
グ結果分類手段によりブロックマッチング処理結果を、
同じ位置補正パラメータを生じると考えられるグループ
に分類し、各グループ毎に位置補正パラメータ計算手段
によりパラメータを求めることで得られる位置補正パラ
メータの精度を向上させる。また、得られた複数の位置
補正パラメータの中から原画像を参照して最適パラメー
タ決定手段により最適パラメータを決定するため、計算
量が少なくかつ精度の高い位置合わせが可能となる。
Therefore, in the positioning apparatus according to the present invention, since the block which has a high possibility of giving an erroneous block matching processing result by the block selecting means is excluded, the accuracy of the positioning result of each block obtained by the block matching processing is improved. improves. Furthermore, the block matching processing result is obtained by the matching result classifying means,
The same position correction parameters are classified into groups that are considered to be generated, and the accuracy of the position correction parameters obtained by obtaining the parameters by the position correction parameter calculation means for each group is improved. In addition, since the optimal parameter is determined by the optimal parameter determining means with reference to the original image from the plurality of obtained position correction parameters, the amount of calculation can be reduced and the positioning can be performed with high accuracy.

【0010】[0010]

【発明の実施の形態】次に、本発明の実施の形態につい
て図面を参照して詳細に説明する。
Next, embodiments of the present invention will be described in detail with reference to the drawings.

【0011】図1は本発明における位置合わせ装置40
0の構成の例を示すブロック図である。
FIG. 1 shows an alignment device 40 according to the present invention.
FIG. 4 is a block diagram illustrating an example of a configuration of a zero.

【0012】図1において、位置合わせ装置400は、
位置合わせの基準となる基準画像をブロックに分割し、
分割した各ブロックの属性情報および位置合わせ適用時
の位置パラメータ候補を求めてブロック属性メモリ40
7に格納するブロック分割手段401と、ブロック属性
メモリ407内の属性情報と画像メモリ108内の画像
情報からブロックの特性値を求め、位置合わせを適用し
た場合に誤った結果を生じる可能性が少ないと判断され
るブロックのみを選択するブロック選択手段402と、
ブロック選択手段402により選択された各ブロックに
おいて画像メモリ108内の基準画像と位置合わせを適
用する対象画像の情報を参照して位置合わせを適用する
ブロックマッチング手段403と、ブロックマッチング
手段403により得られた各ブロックの位置合わせ結果
から、同じ位置補正パラメータから生じたとみなされる
ブロックを同じグループに分類するマッチング結果分類
手段404と、マッチング結果分類手段404により分
類されたグループ毎に位置補正パラメータを求め位置パ
ラメータメモリ408に格納する位置補正パラメータ計
算手段405と、位置パラメータ計算手段405により
計算され位置パラメータメモリ408に格納されている
グループ毎の位置補正パラメータから、基準画像と対象
画像が最もよい重なり状態になる位置補正パラメータを
選択する最適位置補正パラメータ決定手段406と、各
ブロックの属性情報およびマッチングに使用する位置パ
ラメータ候補を格納するブロック属性メモリ407と、
対象画像の位置パラメータの候補および各グループ毎に
求めた位置補正パラメータを格納する位置パラメータメ
モリ408と、位置合わせの基準となる基準画像、位置
合わせを適用する対象画像などの部分画像をはじめとす
る各画像を格納する画像メモリ108と、から構成され
る。
Referring to FIG. 1, a positioning device 400 includes:
Divide the reference image that serves as the alignment reference into blocks,
The attribute information of each of the divided blocks and the position parameter candidates at the time of applying the registration are obtained, and the block attribute
7, the characteristic value of the block is obtained from the attribute information in the block attribute memory 407 and the image information in the image memory 108, and there is little possibility that an erroneous result will occur when the alignment is applied. Block selecting means 402 for selecting only blocks determined to be
Each block selected by the block selecting unit 402 is obtained by the block matching unit 403 that applies the alignment with reference to the reference image in the image memory 108 and the information of the target image to which the alignment is applied. The matching result classifying means 404 for classifying blocks regarded as having originated from the same position correction parameter into the same group from the alignment results of the respective blocks, and the position correction parameter is obtained for each group classified by the matching result classifying means 404. From the position correction parameter calculation means 405 stored in the parameter memory 408 and the position correction parameters for each group calculated by the position parameter calculation means 405 and stored in the position parameter memory 408, the reference image and the target image have the best weight. Ri optimal position correction parameter determining means 406 for selecting a position correction parameter of the state, the block attribute memory 407 for storing the position parameter candidates to be used for the attribute information and the matching of each block,
A position parameter memory 408 for storing position parameter candidates of the target image and position correction parameters obtained for each group, a reference image serving as a reference for positioning, and partial images such as a target image to which positioning is applied. And an image memory 108 for storing each image.

【0013】次に、本発明の動作の概略を説明する。Next, an outline of the operation of the present invention will be described.

【0014】本発明における位置合わせ装置400にお
いては、まず、画像メモリ108内の位置合わせの基準
となる基準画像が、ブロック分割手段401によりブロ
ックに分割される。分割された各ブロックの位置などの
属性情報は、位置合わせの適用範囲を示す位置パラメー
タ候補群と共にブロック属性メモリ407に格納され
る。ブロック属性メモリ407内の属性情報に基づい
て、ブロック選択手段402により、ブロックマッチン
グ処理を適用した場合に誤った結果を生成する可能性を
評価する特性値が各ブロック毎に計算され、誤った結果
を生成する可能性の低いブロックのみが選択される。ブ
ロック選択手段402により選択されたブロックには、
ブロックマッチング手段403により平行移動に基づく
位置合わせ処理が適用されブロック毎に基準画像と対象
画像が対応する点が決定されてブロック属性メモリ40
7に格納される。マッチング結果分類手段404は各ブ
ロック毎の位置合わせ処理結果を、同じ位置補正パラメ
ータに基づくものか否かを基準にグループに分類する。
位置補正パラメータ計算手段405は、マッチング結果
分類手段404により分類されたグループ毎に回転量を
含む位置補正パラメータを計算する。得られたグループ
毎の回転量を含む位置補正パラメータの中から、基準画
像と対象画像が最も良好に重なる位置補正パラメータ
を、基準画像と部分画像を参照して最適位置補正パラメ
ータ決定手段406により求める。
In the registration apparatus 400 according to the present invention, first, a reference image serving as a reference for registration in the image memory 108 is divided into blocks by the block dividing means 401. Attribute information such as the position of each divided block is stored in the block attribute memory 407 together with a position parameter candidate group indicating the applicable range of the alignment. Based on the attribute information in the block attribute memory 407, a characteristic value for evaluating the possibility of generating an erroneous result when the block matching processing is applied is calculated for each block by the block selecting unit 402, and the erroneous result is calculated. Only the blocks that are unlikely to generate are selected. The blocks selected by the block selection unit 402 include:
The block matching unit 403 applies a positioning process based on the parallel movement, determines a point corresponding to the reference image and the target image for each block, and
7 is stored. The matching result classifying means 404 classifies the result of the positioning process for each block into groups based on whether or not they are based on the same position correction parameter.
The position correction parameter calculation unit 405 calculates a position correction parameter including the amount of rotation for each group classified by the matching result classification unit 404. From the obtained position correction parameters including the amount of rotation for each group, a position correction parameter that best overlaps the reference image and the target image is determined by the optimum position correction parameter determination unit 406 with reference to the reference image and the partial image. .

【0015】[0015]

【実施例】次に、本発明の具体的な実施例について図面
を参照しながら詳細に説明する。
Next, specific embodiments of the present invention will be described in detail with reference to the drawings.

【0016】本発明の位置合わせ装置400の処理の流
れの一例を記した図2を用いて説明を行い、同時に図1
に示した本発明の各構成についても説明を行う。
FIG. 2 illustrates an example of the processing flow of the positioning apparatus 400 of the present invention, and FIG.
Each configuration of the present invention shown in FIG.

【0017】以下の説明では位置合わせの基準となる画
像を基準画像451、位置合わせ処理の対象となる画像
を対象画像452と呼ぶ。対象画像452の基準画像座
標系450における初期位置、取り得る位置補正パラメ
ータ候補の集合、および画像属性は予め位置パラメータ
メモリ408に格納されているものとする。これらは通
信手段により外部から読み込むように構成することも可
能である。この構成については、本出願人が以前に出願
した特開平9−218941号公報「画像入力装置」に
詳細が記載されているので、説明を省略する。対象画像
452の初期位置は図3のように基準画像の中心を原点
とする基準画像座標系450において、 (X,Y,θ) (式1) とする。この時、対象画像座標系460における位置
(m,n)に対応する基準画像座標系450における位
置(M,N)は、同次表現を用いて
In the following description, an image serving as a reference for positioning is referred to as a reference image 451, and an image serving as a target of positioning processing is referred to as a target image 452. It is assumed that the initial position of the target image 452 in the reference image coordinate system 450, a set of possible position correction parameter candidates, and image attributes are stored in the position parameter memory 408 in advance. These can also be configured to be read from the outside by communication means. The details of this configuration are described in Japanese Patent Application Laid-Open No. Hei 9-218941, entitled "Image Input Apparatus", which was previously filed by the present applicant, and a description thereof will be omitted. The initial position of the target image 452 is represented by (X, Y, θ) (Equation 1) in a reference image coordinate system 450 having the origin at the center of the reference image as shown in FIG. At this time, the position (M, N) in the reference image coordinate system 450 corresponding to the position (m, n) in the target image coordinate system 460 is expressed by using a homogeneous expression.

【0018】[0018]

【数1】 (Equation 1)

【0019】と表現できる。## EQU1 ##

【0020】なお、画像間には回転、平行移動による変
動のみが含まれており、拡大・縮小やスキューなどは含
まれていないものとする。また、画像の大きさは基準画
像451、対象画像452とも(Sx,Sy)とする
が、これらは説明を簡単にするために設定するものであ
り、本発明における位置合わせ装置の適用範囲をこれに
限定するものではない。対象画像452の位置が本実施
例とは異なる方式で表現される場合や拡大・縮小等のよ
り複雑な変動を含む場合、基準画像451、対象画像4
52の大きさが異なる場合などにも適用可能である。
It is assumed that only fluctuations due to rotation and translation are included between images, and that no enlargement / reduction or skew is included. The size of the image is set to (Sx, Sy) for both the reference image 451 and the target image 452, but these are set for the sake of simplicity. It is not limited to. When the position of the target image 452 is expressed by a method different from that of the present embodiment, or when the position includes a more complicated change such as enlargement / reduction, the reference image 451 and the target image 4
The present invention is also applicable to the case where the sizes of 52 are different.

【0021】位置合わせ装置400は、まず、ブロック
分割手段401により、基準画像451を一定の大きさ
(Bx,By)のブロックに分割し、各ブロックの情報
をブロック属性メモリ407に記憶する。ブロックの大
きさは画像の内容や大きさにより決定されるものである
が、通常320×240画素程度の画像であれば16×
16または8×8程度の大きさで十分である。各ブロッ
クには1から順に重複なく番号がつけられており、i番
目(1≦i≦N)のブロックをブロックiと呼ぶことに
する。これは説明の都合上設定するものであり、各ブロ
ックを指定できるものであればどのようなものでもよ
い。ブロックiの情報はブロックの中心位置454(x
i,yi)、ブロックマッチング処理を適用するか否か
を示すフラグFi、マッチング結果分類手段404によ
る分類結果を示すグループ番号Giから構成される。F
iが0の時はブロックiにブロックマッチング処理は適
用されない。グループ番号Giは、グループを識別でき
るものであればどのようなものでもよく、マッチング適
用フラグFiと兼用することも可能である。この場合
は、ブロックマッチング処理を適用しない場合は0を、
ブロックマッチング処理を適用し、グループに分類され
た場合はそのグループ番号を与えるように構成すればよ
い。また、これら以外にブロックの特性を示す情報を追
加することも可能である。同時に、ブロック分割手段4
01は位置パラメータメモリ408に格納されている位
置パラメータ候補群から、ブロックiが取り得る位置パ
ラメータ候補を設定し、ブロック属性メモリ407に格
納する。すべてのブロックが同じ位置パラメータ候補を
持つように構成することも可能である。
In the positioning apparatus 400, first, the reference image 451 is divided into blocks of a fixed size (Bx, By) by the block dividing means 401, and information of each block is stored in the block attribute memory 407. The size of the block is determined by the content and size of the image, but is usually 16 × for an image of about 320 × 240 pixels.
A size of about 16 or 8 × 8 is sufficient. Each block is numbered sequentially from 1 without duplication, and the i-th (1 ≦ i ≦ N) block is referred to as a block i. This is set for convenience of explanation, and may be any type as long as each block can be designated. The information of the block i is the center position 454 (x
i, yi), a flag Fi indicating whether or not to apply the block matching process, and a group number Gi indicating the classification result by the matching result classification unit 404. F
When i is 0, the block matching process is not applied to block i. The group number Gi may be any number as long as the group number can be identified, and may be used also as the matching application flag Fi. In this case, 0 when no block matching processing is applied,
A block matching process may be applied, and if the data is classified into a group, the group number may be given. In addition, information indicating the characteristics of the block can be added. At the same time, the block dividing means 4
01 sets a position parameter candidate that can be taken by the block i from the position parameter candidate group stored in the position parameter memory 408 and stores it in the block attribute memory 407. It is also possible to configure so that all blocks have the same position parameter candidate.

【0022】次に位置合わせ装置400は、ブロックマ
ッチング処理を適用するブロックをブロック選択手段4
02により選択する。これはブロックiが、基準画像4
51と対象画像452の初期位置における重複部に含ま
れ、かつ、ブロックマッチング処理を適用した際に誤っ
た結果を導く可能性が低い場合に、ブロックマッチング
適用フラグFiの値を1にすることで実施する。前者
は、基準画像451と対象画像452の初期の位置関係
から、後者は基準画像451からブロックマッチング処
理の結果と関連の深い特性値から、それぞれ判断可能で
ある。
Next, the positioning device 400 selects a block to which the block matching process is applied by the block selecting means 4.
02 to select. This is because block i is the reference image 4
By setting the value of the block-matching application flag Fi to 1, when it is included in the overlapping portion of the target image 452 and the target image 452 at the initial position and it is unlikely that an incorrect result will be obtained when the block matching process is applied. carry out. The former can be determined from the initial positional relationship between the reference image 451 and the target image 452, and the latter can be determined from the reference image 451 based on the characteristic value closely related to the result of the block matching process.

【0023】まず、ブロックが基準画像451と対象画
像452の初期位置における重複部に含まれるか否かを
判断するための方法を説明する。
First, a method for determining whether or not a block is included in an overlapping portion at the initial position between the reference image 451 and the target image 452 will be described.

【0024】基準画像座標系450における位置(a,
b)を対象画像座標系460において表現した位置
(a’,b’)は、 a’=(a−X)×cos(−θ)−(b−y)×sin(−θ) (式3−1 ) b’=(a−X)×sin(−θ)+(b−y)×cos(−θ) (式3−2 ) により求められる。ブロックiの4隅の基準画像座標系
450における位置は、 左上(xi−Bx÷2,yi−By÷2) (式4−1) 左下(xi−Bx÷2,yi+By÷2) (式4−2) 右下(xi+Bx÷2,yi+By÷2) (式4−3) 右上(xi+Bx÷2,yi−By÷2) (式4−4) として求められる。この4隅の位置を式3により対象画
像座標系460において表現した結果が、いずれも対象
画像452上にある場合はブロックiは重複部に完全に
含まれていると考えることができる。ここでは、基準画
像451、対象画像452とも矩形であるものとして説
明したが、マスク画像を利用したより複雑な形状の画像
に対しても適用可能であり、この場合はブロックiの4
隅の座標の対象画像座標系460における位置が対象画
像452上にあるか否かをマスク画像を参照して判断す
るように構成すればよい。
The position (a,
The position (a ′, b ′) expressing b) in the target image coordinate system 460 is a ′ = (a−X) × cos (−θ) − (by) × sin (−θ) (Equation 3) -1) b ′ = (a−X) × sin (−θ) + (by) × cos (−θ) (Formula 3-2) The positions of the four corners of the block i in the reference image coordinate system 450 are: upper left (xi-Bx ÷ 2, yi-By ÷ 2) (Equation 4-1) lower left (xi-Bx ÷ 2, yi + By ÷ 2) (Equation 4) -2) Lower right (xi + Bx ÷ 2, yi + By ÷ 2) (Equation 4-3) Upper right (xi + Bx ÷ 2, yi-By ÷ 2) It is obtained as (Equation 4-4). When the results of expressing the positions of the four corners in the target image coordinate system 460 by Expression 3 are all on the target image 452, it can be considered that the block i is completely included in the overlapping portion. Although the reference image 451 and the target image 452 have been described as being rectangular here, the present invention can also be applied to an image having a more complicated shape using a mask image.
It may be configured to determine whether or not the position of the corner coordinates in the target image coordinate system 460 is on the target image 452 with reference to the mask image.

【0025】次に、ブロックマッチング処理を適用した
際に誤った結果を導く可能性の判断手法について説明す
る。
Next, a description will be given of a method of judging a possibility that an erroneous result is obtained when the block matching processing is applied.

【0026】本実施例においてはブロックiの分散を基
準画像451を参照して求め、分散があらかじめ設定し
た閾値以下の場合はブロックiにブロックマッチング処
理を適用しても誤った結果を導くものと判断する。図4
はブロックとその濃度分布の例を示したものであり、ブ
ロックB462では画素値が一定の値に集中し、マッチ
ングに有効な画素が少ないことがわかる。このようなブ
ロックにマッチングを適用しても良い結果は得られない
ため、ブロック選択手段402はこのような画素を濃度
分布の分散から判断し、選択対象から外す。なお、分散
以外にも様々な特性値を利用することが可能である。2
値画像ではブロック内に含まれる黒画素の割合を利用可
能である。また「吉田他『動画像の動きベクトルに対す
る信頼度関数とその応用』,電子情報通信学会論文誌D-
II,Vol.J80-D-II,No.5,pp.1192-1201,1997」で提案
されているような、より複雑な特性値を利用することも
可能である。図5はブロック選択の例を示した図であ
り、斜線の引かれていないブロックが選択されたブロッ
クであることを示している。
In this embodiment, the variance of the block i is obtained with reference to the reference image 451. If the variance is equal to or smaller than a predetermined threshold value, an erroneous result is obtained even if the block matching processing is applied to the block i. to decide. FIG.
Shows an example of a block and its density distribution. In the block B462, it can be seen that the pixel values are concentrated at a constant value, and that there are few pixels effective for matching. Since good results cannot be obtained by applying matching to such a block, the block selecting unit 402 determines such a pixel from the variance of the density distribution and excludes such a pixel from the selection. Various characteristic values other than the variance can be used. 2
In the value image, the ratio of the black pixels included in the block can be used. "Yoshida et al.," Reliability Functions for Motion Vectors of Moving Images and Their Applications, "IEICE Transactions D-
II, Vol. J80-D-II, No. 5, pp. 1192-1201, 1997 ”, it is also possible to use more complicated characteristic values. FIG. 5 is a diagram showing an example of block selection, in which a block not shaded is a selected block.

【0027】なお、上記の説明では、基準画像451と
対象画像452の初期位置における重複部に含まれ、ブ
ロックマッチング処理を適用した際に誤った結果を導く
可能性が低いブロックすべてを選択するものとしたが、
必ずしも条件を満たすブロック全てを選択する必要はな
い。分散などブロックの特性値が高い順に、あらかじめ
決められた数のブロックのみを選択するように構成する
ことも可能である。この時は、ブロックマッチング処理
を実施するブロック数を限定できるため、位置合わせ処
理に要する処理量をさらに削減可能となる。
In the above description, all blocks that are included in the overlapping portion of the reference image 451 and the target image 452 at the initial position and that are unlikely to lead to an erroneous result when the block matching process is applied are selected. But
It is not always necessary to select all blocks that satisfy the conditions. It is also possible to configure so that only a predetermined number of blocks are selected in the descending order of the characteristic values of the blocks such as variance. At this time, the number of blocks to be subjected to the block matching processing can be limited, so that the processing amount required for the alignment processing can be further reduced.

【0028】ブロック選択手段402により選択された
ブロックの数が2個以上の場合、ステップF04〜07
により選択されたブロックにブロックマッチング処理が
適用され、対象画像452の位置補正パラメータが決定
される(ステップF03)。選択されたブロックの数が
2未満の場合は、回転を含めたパラメータをブロックマ
ッチング処理から決定することはできないため、処理を
終了する。この時、単純に終了するのではなく、すべて
の位置パラメータ候補から形成されるパラメータ空間内
の逐次探索により求める手法など、従来技術を用いて位
置補正パラメータを求めるように構成することも可能で
ある。このような構成では、本発明による位置合わせ装
置を適用できない場合にのみパラメータ空間内の逐次探
索を行うため、複数の画像間に位置合わせを適用する場
合など位置合わせ処理を複数回行う時には、従来のパラ
メータ空間内の全探索を単純に適用する場合よりも処理
効率を向上できるという効果がある。
If the number of blocks selected by the block selecting means 402 is two or more, steps F04 to F07
The block matching process is applied to the block selected by the above, and the position correction parameter of the target image 452 is determined (step F03). If the number of selected blocks is less than 2, the parameters including the rotation cannot be determined from the block matching processing, and the processing ends. At this time, it is also possible to adopt a configuration in which the position correction parameter is obtained by using a conventional technique such as a method of performing a sequential search in a parameter space formed from all the position parameter candidates, instead of simply completing the process. . In such a configuration, since the sequential search in the parameter space is performed only when the positioning apparatus according to the present invention cannot be applied, when performing positioning processing a plurality of times, such as when applying positioning between a plurality of images, a conventional method is used. The processing efficiency can be improved as compared with the case where the full search in the parameter space is simply applied.

【0029】選択されたブロックにはブロックマッチン
グ手段403によりブロックマッチング処理が適用され
る(ステップF04)。
The selected block is subjected to block matching processing by the block matching means 403 (step F04).

【0030】図6はブロックマッチング処理を説明する
ための図である。
FIG. 6 is a diagram for explaining the block matching process.

【0031】ブロックマッチング処理はブロックi45
3に対応する対象画像452上の位置を求めるために、
ブロック分割手段401が求めた位置パラメータ候補群
を格納したブロック属性メモリ407を参照することに
より、マッチングに利用する対象画像452の平行移動
量成分を求め、ブロックi453の移動範囲である探索
範囲456を設定する。ブロックi453の中心位置4
54を探索範囲456内で移動させて、各位置における
ブロックi453と対象画像452の重なり具合を類似
測度により評価し、最も高い類似測度を与える位置を求
める。この位置がブロックi453と対象画像452と
が最も類似性が高い位置とみなされる。これはテンプレ
ートマッチングとして利用される基本的な画像処理であ
り、「共立出版、bit別冊 『コンピュータ・サイエ
ンス』,エーシーエム・コンピューティング・サーベイ
ズ’92、77〜119頁」、「昭晃堂、『画像処理ハ
ンドブック』、303〜305頁」、「東京大学出版
会、『画像解析ハンドブック』、707〜746頁」に
詳しく紹介されているため詳細は割愛する。なお、マス
ク画像を利用した複雑な形状を持つ画像や回転した画像
との位置合わせでは、辺縁部においてブロックi453
に対応する対象画像452の形状が矩形とならない場合
があるが、このような場合においても発明者が先に提案
した「特願平9−56060、『画像の位置合わせ方
法』」による位置合わせ方法を適用することで、高速に
ブロックマッチング処理を実施可能となる。
The block matching process is performed at block i45.
In order to determine the position on the target image 452 corresponding to 3,
By referring to the block attribute memory 407 storing the position parameter candidate group obtained by the block dividing unit 401, the translation amount component of the target image 452 used for matching is obtained, and the search range 456 which is the movement range of the block i 453 is determined. Set. Center position 4 of block i453
54 is moved within the search range 456, the degree of overlap between the block i 453 and the target image 452 at each position is evaluated by a similarity measure, and the position giving the highest similarity measure is determined. This position is regarded as the position where the block i 453 and the target image 452 have the highest similarity. This is the basic image processing used as template matching. The details are omitted since they are introduced in detail in “Image Processing Handbook”, pp. 303-305 ”and“ The University of Tokyo Press, “Image Analysis Handbook”, pp. 707-746 ”. In addition, in alignment with an image having a complicated shape or a rotated image using a mask image, a block i453
In some cases, the shape of the target image 452 corresponding to is not rectangular, but even in such a case, the registration method according to “Japanese Patent Application No. 9-56060,“ Image Registration Method ”” previously proposed by the inventor. Is applied, the block matching process can be performed at high speed.

【0032】以下、ステップF04におけるブロックマ
ッチング処理の結果、位置454(xi,yi)にある
ブロックi453と、対象画像452上の点455(x
i,yi)が対応するものとする。
Hereinafter, as a result of the block matching processing in step F04, a block i 453 at a position 454 (xi, yi) and a point 455 (x
i, yi) correspond to each other.

【0033】本発明における位置合わせ装置では、ブロ
ック選択手段402によりブロックマッチング処理を適
用した際に、誤った結果を導く可能性が高いブロックを
排除しているが、選択されたブロックにブロックマッチ
ング処理に適用した場合において、画像の特性から実際
の画像変動とは異なるマッチング結果や、誤差の影響に
より誤ったマッチング結果を与える場合がある。このよ
うな影響を排除するために、ブロックマッチング処理に
より得られた結果を分類し、同じ位置補正パラメータを
生成する可能性が高いもの同士を同じグループにまとめ
(ステップF05)、各グループ毎に位置補正パラメー
タを求める(ステップF06)ように構成されている。
In the positioning apparatus according to the present invention, when block matching processing is applied by the block selecting means 402, blocks which are likely to lead to erroneous results are excluded. , There is a case where a matching result different from the actual image variation due to the characteristics of the image or an erroneous matching result due to an influence of an error is given. In order to eliminate such an influence, the results obtained by the block matching processing are classified, and those having a high possibility of generating the same position correction parameter are grouped into the same group (step F05). The correction parameters are determined (step F06).

【0034】図7(a)は、ブロックを分類する手法を
説明するための図であり、ブロックiとブロックjの関
係を示している。
FIG. 7A is a diagram for explaining a method of classifying blocks, and shows the relationship between block i and block j.

【0035】ブロックi,jの位置をそれぞれ(xi,
yi)、(xj,yj)、ブロックi、jに対応する対
象画像452上の点の位置をそれぞれ(Xi,Yi)、
(Xj,Yj)、ブロックiからブロックjへのベクト
ルを(dx,dy)、ブロックiに対応する対象画像4
52上の点からブロックjに対応する対象画像452上
の点へのベクトルを(dX,dY)とする。対象画像4
52を、基準画像451と最も良く重なる位置に移動す
る位置補正パラメータは、回転量θ’、平行移動量
(X’,Y’)により、同次表現を用いて、
The positions of blocks i and j are respectively (xi,
yi), (xj, yj), the positions of points on the target image 452 corresponding to the blocks i, j are (Xi, Yi),
(Xj, Yj), the vector from the block i to the block j is (dx, dy), and the target image 4 corresponding to the block i
Let a vector from a point on 52 to a point on the target image 452 corresponding to the block j be (dX, dY). Target image 4
The position correction parameter for moving the position 52 to the position that best overlaps the reference image 451 is represented by a rotation amount θ ′ and a parallel movement amount (X ′, Y ′) using a homogeneous expression.

【0036】[0036]

【数2】 (Equation 2)

【0037】と書ける。Can be written as

【0038】ブロックiおよびブロックjとそのマッチ
ング結果が式5に従う場合、ブロックiに対応する対象
画像452上の点の位置をブロックiへ移動する変換
は、
When the block i and the block j and the matching result thereof are in accordance with Equation 5, the transformation for moving the position of the point on the target image 452 corresponding to the block i to the block i is as follows.

【0039】[0039]

【数3】 (Equation 3)

【0040】ブロックjに対応する対象画像452上の
点の位置をブロックjへ移動する変換は、
The conversion for moving the position of the point on the target image 452 corresponding to the block j to the block j is as follows.

【0041】[0041]

【数4】 (Equation 4)

【0042】となり、両者の差(dx,dy)はAnd the difference (dx, dy) between the two is

【0043】[0043]

【数5】 (Equation 5)

【0044】となる。上記式8より、ブロックi、jに
同じ変換を適用した場合にはx方向、y方向それぞれの
差を軸とする平面上において(dx,dy)、(dX,
dY)は、図7(b)のように、同一円周上の回転量
θ’だけ離れた位置に存在することがわかる。回転量
θ’の取り得る範囲および許容する距離の誤差を限定可
能な場合は、(dx,dy)に対する(dX,dY)の
存在範囲も限定可能となる。そこで、ブロックマッチン
グ処理結果より得られる(dX,dY)がこの存在範囲
内に含まれるかどうかで、ブロックi、jにブロックマ
ッチング処理を適用した結果が同じ変換に基づくものか
どうかを判断する。
Is as follows. From the above equation 8, when the same transformation is applied to blocks i and j, (dx, dy), (dX,
dY) exists at a position separated by the rotation amount θ ′ on the same circumference as shown in FIG. 7B. If the range of the rotation amount θ ′ and the error of the allowable distance can be limited, the range of (dX, dY) relative to (dx, dy) can also be limited. Therefore, whether (dX, dY) obtained from the block matching processing result is included in this existence range is determined as to whether or not the result of applying the block matching processing to the blocks i and j is based on the same conversion.

【0045】回転量θ’の存在範囲は、位置パラメータ
メモリ408内の位置補正パラメータ候補において与え
られる。ここではθ’は0を中心とする、 −Δθ≦θ’≦Δθ (Δθ≧0) (式9) の範囲にあるものとする。また、(dx,dy)、(d
X,dY)と原点との距離の差dの許容範囲を、 −Δr≦d≦Δr (Δr≧0) (式10) とする。これらは説明のために設定するものであり、本
発明における位置合わせ装置を適用する対象によって決
定されるものである。
The range of the rotation amount θ ′ is given in a position correction parameter candidate in the position parameter memory 408. Here, it is assumed that θ ′ is in the range of −Δθ ≦ θ ′ ≦ Δθ (Δθ ≧ 0) (Equation 9) with 0 as the center. Also, (dx, dy), (d
X, dY) and the allowable range of the difference d between the origin and the origin are given by -Δr ≦ d ≦ Δr (Δr ≧ 0) (Equation 10). These are set for the purpose of explanation, and are determined depending on the object to which the positioning device of the present invention is applied.

【0046】この時、(dx,dy)と(dX,dY)
のなす角度dθおよび距離の差drは、それぞれ、
At this time, (dx, dy) and (dX, dY)
The angle dθ and the distance difference dr are

【0047】[0047]

【数6】 (Equation 6)

【0048】となる。dθ、drが、それぞれ、 −Δθ≦dθ≦Δθ (Δθ≧0) (式12) −Δr≦dr≦Δr (Δr≧0) (式13) を満たせば、ブロックi、jにブロックマッチング処理
を適用して得られた結果が同一の位置補正パラメータに
よるものと考え、両者を同一のグループに存在するもの
とみなす。
Is as follows. If dθ and dr satisfy −Δθ ≦ dθ ≦ Δθ (Δθ ≧ 0) (Equation 12) and −Δr ≦ dr ≦ Δr (Δr ≧ 0) (Equation 13), block matching processing is performed on blocks i and j. It is considered that the result obtained by applying is based on the same position correction parameter, and both are considered to be in the same group.

【0049】この操作を2つのブロックを選択するすべ
ての組合せについて適用することで全体はグループ化さ
れ、同じグループに属するブロックにはブロック属性メ
モリ407内のブロック属性情報のグループ番号Giに
同じ値が与えられる。これにより、ブロックマッチング
処理結果は同一の位置補正パラメータを与えるグループ
に分類される。この過程において、どのグループにも所
属しないブロックは他のブロックとは明らかに異なった
ブロックマッチング処理結果であり、画像の特性から実
際の画像変動とは異なるマッチング結果や、誤差の影響
により誤ったマッチング結果を生じていると考えられ
る。このようなブロックを排除し、全体を同一の位置補
正パラメータを与えるグループに分類することで得られ
る位置補正パラメータの精度を高めているのである。図
8は、マッチング結果分類手段404による分類の例を
示したものであり、各ブロックのブロックマッチング処
理結果(図8(a))が、二つのグループと排除された
ブロックに分類されている(図8(b))。
By applying this operation to all combinations for selecting two blocks, the whole is grouped, and the blocks belonging to the same group have the same value as the group number Gi of the block attribute information in the block attribute memory 407. Given. As a result, the block matching processing results are classified into groups that provide the same position correction parameter. In this process, blocks that do not belong to any group are block matching processing results that are clearly different from other blocks, and matching results that differ from actual image fluctuations due to image characteristics, and incorrect matching due to errors. It is believed that results have been produced. The accuracy of the position correction parameters obtained by eliminating such blocks and classifying the blocks into groups that provide the same position correction parameters is improved. FIG. 8 shows an example of classification by the matching result classifying means 404. The block matching processing result (FIG. 8A) of each block is classified into two groups and excluded blocks (FIG. 8A). FIG. 8 (b).

【0050】なお、上記の説明では、ブロックiとjの
類似性をdθ、drが一定の範囲内に存在するか否かの
2段階で判断しているが、
In the above description, the similarity between the blocks i and j is determined in two stages as to whether or not dθ and dr are within a certain range.

【0051】[0051]

【数7】 (Equation 7)

【0052】のような評価関数を用いて判断することも
可能である。評価関数が設定された閾値を上回る場合
に、ブロックiとjのブロックマッチング処理結果が同
一の位置補正パラメータより生成されたと考えるのであ
る。評価関数および閾値をどのように設定するかは画像
の特性を考慮して決定される必要があるが、上記の2段
階の評価と比較して、存在範囲の境界付近に存在するブ
ロックに対する判断を柔軟に行えるという特徴がある。
It is also possible to make a determination using an evaluation function as described above. When the evaluation function exceeds the set threshold value, it is considered that the block matching processing results of the blocks i and j are generated from the same position correction parameter. How to set the evaluation function and the threshold value needs to be determined in consideration of the characteristics of the image. However, compared with the above two-stage evaluation, it is possible to determine a block existing near the boundary of the existence range. The feature is that it can be performed flexibly.

【0053】このようにして得られた各グループから、
位置補正パラメータ計算手段405は、最小二乗法を用
いて対象画像452の位置を補正する位置補正パラメー
タを求める(ステップF06)。
From each of the groups thus obtained,
The position correction parameter calculation unit 405 obtains a position correction parameter for correcting the position of the target image 452 using the least squares method (Step F06).

【0054】すなわち、対象画像452の位置補正パラ
メータが上記式5により表現されている場合、θ’、
x’、y’は、ブロックi453に対応する対象画像4
52上の位置455(Xi,Yi)に対して位置補正パ
ラメータを適用した値とブロックi453の位置454
(xi,yi)との差、
That is, when the position correction parameter of the target image 452 is expressed by the above equation 5, θ ′,
x ′ and y ′ are the target images 4 corresponding to the block i453
The value obtained by applying the position correction parameter to the position 455 (Xi, Yi) on the position 52 and the position 454 of the block i 453
(Xi, yi),

【0055】[0055]

【数8】 (Equation 8)

【0056】の大きさの二乗を、同じグループに属する
ブロックについて加算した値を最小にする、すなわち、
The value obtained by adding the square of the size of the blocks belonging to the same group to the minimum is minimized, that is,

【0057】[0057]

【数9】 (Equation 9)

【0058】を満たすθ’、x’、y’として求められ
る。これは、
Θ ′, x ′, and y ′ that satisfy the above conditions. this is,

【0059】[0059]

【数10】 (Equation 10)

【0060】の連立方程式を解くことで求められ、Is obtained by solving the simultaneous equations

【0061】[0061]

【数11】 [Equation 11]

【0062】となる。ただし、Σは同じグループに含ま
れるすべてのブロックについての和を示しており、同じ
グループに含まれるブロックの数をKとしている。
Is obtained. Here, Σ indicates the sum of all blocks included in the same group, and the number of blocks included in the same group is K.

【0063】このようにして得られた位置補正パラメー
タは、位置パラメータメモリ408に格納される。この
位置補正パラメータは、対象画像452の基準画像座標
系450における初期位置からの変換を示しており、式
5による初期位置の同次表現に対して、
The position correction parameters thus obtained are stored in the position parameter memory 408. This position correction parameter indicates the conversion from the initial position of the target image 452 in the reference image coordinate system 450.

【0064】[0064]

【数12】 (Equation 12)

【0065】と掛け合わせることで、基準画像座標系4
50における対象画像452のあらたな位置を求められ
る。
By multiplying with the reference image coordinate system 4
A new position of the target image 452 at 50 is obtained.

【0066】上記ステップF05〜F06により、位置
パラメータメモリ408に格納された複数の位置補正パ
ラメータから、最適位置補正パラメータ決定手段406
により、対象画像452を基準画像451と最も良好に
重ねあわせる位置補正パラメータが決定される(ステッ
プF07)。すなわち、位置補正パラメータを対象画像
452の初期位置に順に適用して対象画像452を移動
した場合の基準画像451と対象画像452の重複部の
類似性を評価し、最も良い類似性を与えた位置補正パラ
メータを最適な位置補正パラメータとするのである。こ
れは、位置パラメータメモリ408内の複数の位置補正
パラメータをパラメータ候補群とする逐次探索による位
置合わせ処理であり、従来の位置合わせ方法を利用可能
である。当然のことながら、本出願人が本発明の出願前
に出願した「特願平9−56060、『画像の位置合わ
せ方法』」による位置合わせ方法を適用することも可能
である。
In steps F05 to F06, the optimum position correction parameter determining means 406 is determined from the plurality of position correction parameters stored in the position parameter memory 408.
As a result, the position correction parameter for superimposing the target image 452 on the reference image 451 in the best manner is determined (step F07). That is, the similarity of the overlapping portion between the reference image 451 and the target image 452 when the target image 452 is moved by sequentially applying the position correction parameters to the initial position of the target image 452 is evaluated, and the position giving the best similarity is evaluated. The correction parameter is set as an optimum position correction parameter. This is a positioning process by sequential search using a plurality of position correction parameters in the position parameter memory 408 as a parameter candidate group, and a conventional positioning method can be used. As a matter of course, it is also possible to apply an alignment method based on “Japanese Patent Application No. 9-56060,“ Image alignment method ”” filed by the present applicant before filing the present invention.

【0067】このようにして、最適位置補正パラメータ
決定手段406により決定された位置補正パラメータ
が、対象画像452を、基準画像451と最も良く重ね
合せる位置への変換を示しており、基準画像451に対
する対象画像452の位置合わせ処理結果として与えら
れる。
As described above, the position correction parameters determined by the optimum position correction parameter determining unit 406 indicate conversion of the target image 452 to a position where the target image 452 can be superimposed on the reference image 451 best. It is given as a result of the alignment processing of the target image 452.

【0068】以上説明したように、本発明における位置
合わせ装置では、平行移動を対象としたブロックマッチ
ング処理結果から、対象画像452の基準画像451に
対する最良の重ね合わせ位置を求める位置合わせ装置
を、ブロック選択手段402によりブロックマッチング
処理を適用した場合に正しい結果を生成する可能性が高
いブロックのみを選択し、選択されたブロックへのブロ
ックマッチング処理適用結果を分類してグループ化する
ことで、誤った結果を得る可能性が高いブロックを排除
し、位置補正パラメータ計算手段405によりグループ
毎に得られる回転を含む位置補正パラメータの精度を向
上させ、かつ、グループ毎に得られる位置補正パラメー
タの中から、最適位置補正パラメータ決定手段406に
より基準画像451と対象画像452が最も良好に重な
る位置補正パラメータを決定する。このような構成によ
り、対象画像452の基準画像451に対する最良の重
ね合わせ位置を、高速かつ高精度に求めることが可能に
なる。
As described above, in the positioning apparatus according to the present invention, the positioning apparatus for obtaining the best superposition position of the target image 452 with respect to the reference image 451 from the result of the block matching processing for the parallel movement is used as a block. By selecting only blocks that are likely to produce correct results when the block matching process is applied by the selection unit 402 and classifying and grouping the block matching process application results to the selected blocks, an erroneous result is obtained. Blocks having a high possibility of obtaining a result are eliminated, the accuracy of the position correction parameters including the rotation obtained for each group by the position correction parameter calculation means 405 is improved, and among the position correction parameters obtained for each group, The reference image 451 is obtained by the optimal position correction parameter determining unit 406. Determining a position correction parameter target image 452 overlaps the best. With such a configuration, it is possible to obtain the best superposition position of the target image 452 with respect to the reference image 451 at high speed and with high accuracy.

【0069】なお、上記の説明においては、ブロックの
形状はすべて同じ大きさであり、基準画像451を機械
的に分割することで生成していたが、位置合わせの手が
かりを与える特徴として利用可能なエッジ等をまず抽出
し、その特徴点近傍にブロックを設定するように構成す
ることも可能である。このような構成は、ブロック分割
手段401におけるブロック分割処理と、ブロック選択
手段402における正しいブロックマッチング処理を適
用した場合に正しい結果を生成する可能性が高いブロッ
クのみを選択する処理を同時に行っているとみなせる。
このような構成においても、ブロックマッチング処理適
用結果を分類してグループ化することで誤った結果を得
た可能性が高いブロックを排除し、位置補正パラメータ
計算手段405によりグループ毎に得られる回転を含む
位置補正パラメータの精度を向上させ、かつ、グループ
毎に得られる位置補正パラメータの中から、最適位置補
正パラメータ決定手段406により基最適位置補正パラ
メータ決定手段406により基準画像451と対象画像
452が最も良好に重なる位置補正パラメータが決定さ
れるため、本発明の、対象画像452の基準画像451
に対する最良の重ね合わせ位置を、高速かつ高精度に求
めることが可能になるという効果は失われない。
In the above description, the shapes of the blocks are all the same size and are generated by mechanically dividing the reference image 451, but can be used as a feature for providing a clue for positioning. An edge or the like may be extracted first, and a block may be set near the feature point. In such a configuration, the block dividing process in the block dividing unit 401 and the process of selecting only blocks that are likely to generate a correct result when the correct block matching process in the block selecting unit 402 is applied are performed at the same time. Can be considered
Even in such a configuration, by classifying and applying the block matching processing application results, blocks having a high possibility of obtaining an erroneous result are eliminated, and the rotation obtained for each group by the position correction parameter calculation unit 405 is determined. The accuracy of the included position correction parameters is improved, and among the position correction parameters obtained for each group, the reference image 451 and the target image 452 are most determined by the optimal position correction parameter determining unit 406 by the optimal position correction parameter determining unit 406. Since the position correction parameters that satisfactorily overlap are determined, the reference image 451 of the target image 452 of the present invention is used.
The effect of being able to obtain the best superposition position with high speed and high accuracy is not lost.

【0070】本発明における画像位置調整方法および位
置合わせ装置は、コンピュータ上にて画像を取り扱う装
置を構成する際に必要となる基本的な処理装置の一つで
あるため、各種の画像処理分野に適用できる。
The image position adjusting method and the position aligning device according to the present invention are one of the basic processing devices required when configuring an apparatus for handling images on a computer. Applicable.

【0071】以下、その例を示す。An example will be described below.

【0072】図9は、本発明の位置合わせ装置を利用し
た合成画像生成装置100の構成例を示す図である。
FIG. 9 is a diagram showing an example of the configuration of a composite image generating apparatus 100 using the positioning apparatus of the present invention.

【0073】図9において、合成画像生成装置100
は、画像の位置調整を行う画像位置調整装置300と、
本発明における位置合わせ装置400を用いて構成され
る位置補正手段200と、部分画像を格納する画像メモ
リ108と、画像メモリ108に格納されている部分画
像の、合成画像座標系における位置および大きさなどの
属性情報を保持する画像属性メモリ109と、ユーザか
らの画像選択指示を画像位置調整装置300に伝える画
像選択ボタン312と、位置調整の対象となる画像の指
定、選択された画像の移動量および方向を決定するため
に画像位置調整装置300にて利用されるポインティン
グ手段313と、ユーザが表示画像の内容を切り替える
ように画像位置調整装置300に伝えるための表示切替
ボタン314と、画像位置調整装置300の出力結果を
表示する表示手段601と、画像メモリ108内の部分
画像を、画像属性メモリ109内の情報に従って合成す
る画像合成手段107と、外部から部分画像を画像メモ
リ108に、部分画像の属性情報を画像属性メモリ10
9にそれぞれ読み込むと共に、画像合成手段107によ
り得られた合成画像を外部装置に伝える通信手段600
と、から構成される。
Referring to FIG. 9, a composite image generating apparatus 100
Is an image position adjustment device 300 that performs image position adjustment,
Position correcting means 200 configured by using the positioning device 400 according to the present invention, an image memory 108 for storing a partial image, and the position and size of the partial image stored in the image memory 108 in the composite image coordinate system , An image selection button 312 for transmitting an image selection instruction from the user to the image position adjustment device 300, an image to be position-adjusted, and an amount of movement of the selected image Pointing means 313 used by the image position adjusting device 300 to determine the direction and direction; a display switching button 314 for instructing the image position adjusting device 300 to allow the user to switch the content of the display image; A display unit 601 for displaying an output result of the apparatus 300; An image combining unit 107 for combining in accordance with the information in the memory 109, the partial image from the outside to the image memory 108, the partial image picture attribute memory 10 the attribute information of the
9 and a communication unit 600 for transmitting the synthesized image obtained by the image synthesis unit 107 to an external device.
And

【0074】図10は、本画像合成装置100における
位置補正手段200の構成の例を示す図である。
FIG. 10 is a diagram showing an example of the configuration of the position correcting means 200 in the image synthesizing apparatus 100.

【0075】図10において、位置補正手段200は、
本発明における位置合わせ装置400と、基準画像と対
象画像とを選択して位置合わせ装置400に伝える位置
合わせ画像選択手段201と、対象画像の基準画像から
見た位置を求め位置合わせ装置400に伝えるととも
に、位置合わせ装置400の出力結果から対象画像の位
置合わせ後の位置を求める位置パラメータ変換手段20
2と、から構成される。
In FIG. 10, the position correcting means 200
The positioning device 400 according to the present invention, a positioning image selection unit 201 for selecting a reference image and a target image and transmitting the selected image to the positioning device 400, and obtaining the position of the target image viewed from the reference image and transmitting the position to the positioning device 400 At the same time, the position parameter converting means 20 for obtaining the position of the target image after the positioning from the output result of the positioning device 400
And 2.

【0076】合成画像生成装置100では、まず、ユー
ザは通信手段600により外部から部分画像およびその
属性情報を画像メモリ108および画像属性メモリ10
9に読み込む。部分画像には、読み込まれた順番に撮像
番号が付加されているものとする。これは各部分画像を
識別するために利用されるものであればどのような手段
でもかまわない。読み込んだ部分画像は画像位置調整装
置300により表示手段601に表示される。ユーザは
表示手段601に表示された部分画像の位置関係が正し
くなるように、画像位置調整装置300により画像位置
を調整する。手動による画像位置調整が終了した後、位
置合わせ画像選択手段201により対象画像iが、また
対象画像に応じた基準画像jが選択され、位置パラメー
タ変換手段202により対象画像iの位置が基準画像座
標系に変換され、位置合わせ装置400に伝えられる。
位置合わせ装置400は、与えられた情報に基づいて位
置合わせを実行し、基準画像jと対象画像iを最も良く
重ねあわせる位置への、対象画像iの位置を補正する位
置補正パラメータが戻され、位置パラメータ変換手段2
02は、この位置補正パラメータを利用して対象画像i
の新たな基準画像画像座標系における位置を求め、得ら
れた位置を合成画像座標系に改めて変換して画像属性メ
モリ109内の対象画像iの位置を更新する。
In the composite image generating apparatus 100, first, the user transmits the partial image and its attribute information from the outside through the communication means 600 to the image memory 108 and the image attribute memory 10
Read in 9. It is assumed that the imaging numbers are added to the partial images in the reading order. This may be any means used to identify each partial image. The read partial image is displayed on the display unit 601 by the image position adjusting device 300. The user adjusts the image position using the image position adjustment device 300 so that the positional relationship between the partial images displayed on the display unit 601 is correct. After the manual image position adjustment is completed, the target image i and the reference image j corresponding to the target image are selected by the alignment image selection unit 201, and the position of the target image i is set by the position parameter conversion unit 202 to the reference image coordinates. It is converted into a system and transmitted to the positioning device 400.
The positioning device 400 performs positioning based on the given information, and returns a position correction parameter for correcting the position of the target image i to a position where the reference image j and the target image i are superimposed best, Position parameter conversion means 2
02 is the target image i using this position correction parameter.
Is obtained in the new reference image image coordinate system, the obtained position is converted again to the composite image coordinate system, and the position of the target image i in the image attribute memory 109 is updated.

【0077】位置合わせ画像選択手段201における基
準画像jの選択方法としては、対象画像の直前の撮像番
号i−1を持つ部分画像を基準画像とする方法、対象画
像との重複部の面積が最も大きい部分画像を基準画像と
する方法などがある。位置補正手段200によるすべて
の部分画像の位置補正処理が終了した後、画像合成手段
107により、画像メモリ108内の画像が、画像属性
メモリ109内の属性情報に従って合成され、画像メモ
リ108に格納される。生成された合成画像は通信手段
600により外部装置に送られる。
As a method of selecting the reference image j by the alignment image selecting means 201, a method of using a partial image having the imaging number i-1 immediately before the target image as a reference image, and the area of an overlapping portion with the target image is the smallest. There is a method of using a large partial image as a reference image. After the position correction processing of all the partial images by the position correction unit 200 is completed, the image in the image memory 108 is synthesized by the image synthesis unit 107 according to the attribute information in the image attribute memory 109 and stored in the image memory 108. You. The generated composite image is sent to an external device by the communication unit 600.

【0078】以上のように、本発明における位置合わせ
装置400を利用した合成画像生成装置100において
は、位置合わせ装置400により精密な位置合わせが実
行されるため、ユーザは厳密に画像間の位置調整を行う
必要はなく、画像の特徴量を参照しながら大まかに位置
を合わせるだけで良い。そのため、容易かつ高速に高精
度の位置合わせを実行可能となる。
As described above, in the composite image generating apparatus 100 using the positioning apparatus 400 according to the present invention, since the precise positioning is executed by the positioning apparatus 400, the user can exactly adjust the position between the images. Does not need to be performed, and it is only necessary to roughly adjust the position while referring to the feature amount of the image. Therefore, high-accuracy positioning can be performed easily and at high speed.

【0079】また、本出願人は先の特許出願(特願平8
−26350号;特開平9−218941号公報)にお
いて、撮像手段により撮像した対象の部分画像を撮像手
段の移動によって複数取得し、得られた部分画像群から
画像合成処理により合成画像を生成する画像入力装置を
提案したが、本発明の位置合わせ装置は、このような装
置における、ユーザによる画像位置調整や画像の位置合
わせ装置としても勿論利用可能である。
The applicant has filed a patent application (Japanese Patent Application No.
-26350; Japanese Patent Application Laid-Open No. 9-218941), an image in which a plurality of partial images of a target imaged by an imaging unit are obtained by moving the imaging unit, and a synthesized image is generated from the obtained partial image group by an image synthesis process. Although an input device has been proposed, the alignment device of the present invention can be used as a device for adjusting the image position by a user or aligning an image in such an apparatus.

【0080】また、本発明の位置合わせ装置を、一般に
市販されているパーソナルコンピュータ等のコンピュー
タによって実現するためには、例えば、図1の位置合わ
せ装置400の機能をコンピュータが解釈可能なプログ
ラムによって作成し、この作成したプログラムを記録媒
体に記録し、本発明の機能を実現したいコンピュータに
このプログラムを記録した記録媒体を読み込ませばよ
い。
Further, in order to realize the positioning device of the present invention by a computer such as a generally available personal computer, for example, the functions of the positioning device 400 shown in FIG. 1 are created by a program that can be interpreted by a computer. Then, the created program may be recorded on a recording medium, and the computer that realizes the functions of the present invention may read the recording medium on which the program is recorded.

【0081】[0081]

【発明の効果】本発明による第1の効果は、本発明にお
ける位置合わせ装置では、平行移動および回転量を含む
画像間の変動を、高精度に求められることである。これ
は、誤ったブロックマッチング処理結果を与える可能性
が高いブロックを排除し、かつ、ブロックマッチング処
理結果を同じ位置パラメータから生じたと考えられる組
に分類して、各組毎に求めたパラメータから最適パラメ
ータを決定するように構成したことによる効果である。
A first effect of the present invention is that, with the positioning apparatus according to the present invention, the variation between images including the amount of translation and rotation can be obtained with high accuracy. This eliminates blocks that are likely to give erroneous block matching processing results, classifies the block matching processing results into groups that are considered to have originated from the same position parameter, and optimizes the parameters obtained for each pair. This is the effect of the configuration in which the parameters are determined.

【0082】本発明による第2の効果は、本発明におけ
る位置合わせ装置では、平行移動および回転量を含む画
像間の変動を、高速に求められることである。これは、
正しいブロックマッチング処理結果を与える可能性が高
いブロックのみにブロックマッチング処理を適用するよ
うに構成したことによる効果である。
A second effect of the present invention is that, with the positioning apparatus of the present invention, the fluctuation between images including the amount of translation and rotation can be obtained at high speed. this is,
This is an effect of a configuration in which block matching processing is applied only to a block that is likely to give a correct block matching processing result.

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

【図1】本発明による位置合わせ装置の構成例を説明す
るための図である。
FIG. 1 is a diagram illustrating a configuration example of a positioning device according to the present invention.

【図2】本発明における位置合わせ装置の実施例におけ
る、処理の流れを説明するための図である。
FIG. 2 is a diagram for explaining a processing flow in the embodiment of the positioning device according to the present invention.

【図3】本発明における位置合わせ装置の実施例におけ
る、用語を説明するための図である。
FIG. 3 is a diagram for explaining terms in an embodiment of the positioning apparatus according to the present invention.

【図4】本発明における位置合わせ装置の実施例におけ
る、ブロック選択手段における処理を説明するための図
である。
FIG. 4 is a diagram for explaining processing in a block selecting unit in the embodiment of the positioning device according to the present invention.

【図5】本発明における位置合わせ装置の実施例におけ
る、ブロック選択手段における処理を説明するための図
である。
FIG. 5 is a diagram for explaining processing in a block selection unit in the embodiment of the positioning device according to the present invention.

【図6】本発明における位置合わせ装置の実施例におけ
る、ブロックマッチング手段における処理を説明するた
めの図である。
FIG. 6 is a diagram for describing processing in a block matching unit in the embodiment of the positioning device according to the present invention.

【図7】本発明における位置合わせ装置の実施例におけ
る、ブロック分類手段における処理を説明するための図
である。
FIG. 7 is a diagram for explaining processing in a block classification unit in the embodiment of the positioning device according to the present invention.

【図8】本発明における位置合わせ装置の実施例におけ
る、ブロック分類手段における処理を説明するための図
である。
FIG. 8 is a diagram for explaining processing in a block classification unit in the embodiment of the positioning device according to the present invention.

【図9】本発明における画像位置調整装置および位置合
わせ装置を用いた合成画像生成装置の、構成の例を説明
するための図である。
FIG. 9 is a diagram illustrating an example of a configuration of a composite image generation device using the image position adjustment device and the position alignment device according to the present invention.

【図10】本発明における画像位置調整装置および位置
合わせ装置を用いた合成画像生成装置の構成要素である
位置補正装置の、構成の例を説明するための図である。
FIG. 10 is a diagram for explaining an example of a configuration of a position correction device which is a component of a composite image generation device using an image position adjustment device and a position alignment device according to the present invention.

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

400 位置合わせ装置 401 ブロック分割手段 402 ブロック選択手段 403 ブロックマッチング手段 404 マッチング結果分類手段 405 位置補正パラメータ計算手段 406 最適位置補正パラメータ決定手段 407 ブロック属性メモリ 408 位置パラメータメモリ 450 基準画像座標系 451 基準画像 452 対象画像 453 ブロックi 454 ブロックiの中心 455 ブロックiの対応点 456 探索範囲 460 対象画像座標系 461 ブロックA 462 ブロックB 400 Positioning device 401 Block dividing means 402 Block selecting means 403 Block matching means 404 Matching result classifying means 405 Position correction parameter calculating means 406 Optimal position correction parameter determining means 407 Block attribute memory 408 Position parameter memory 450 Reference image coordinate system 451 Reference image 452 target image 453 block i 454 center of block i 455 corresponding point of block i 456 search range 460 target image coordinate system 461 block A 462 block B

Claims (6)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】基準画像と対象画像との位置関係を、ブロ
ックマッチング処理を行うことによって求め、前記基準
画像と前記対象画像との位置合わせを行う位置合わせ装
置であって、 各ブロック毎のブロックマッチング処理の結果から、同
様の位置補正パラメータを生じると考えられるブロック
を同じグループに分類するマッチング結果分類手段と、 前記マッチング結果分類手段によって分類されたグルー
プ毎に前記対象画像の位置補正パラメータを求める位置
補正パラメータ計算手段と、 得られた複数の位置補正パラメータの中から、前記基準
画像と前記対象画像を参照して最良の結果を与える位置
補正パラメータを決定する最適位置補正パラメータ決定
手段と、 を少なくとも備えたことを特徴とする位置合わせ装置。
1. A positioning device for determining a positional relationship between a reference image and a target image by performing a block matching process, and performing positioning between the reference image and the target image. From the result of the matching process, a matching result classifying unit that classifies blocks considered to produce similar position correction parameters into the same group, and a position correction parameter of the target image is obtained for each group classified by the matching result classifying unit. Position correction parameter calculating means; and optimal position correction parameter determining means for determining a position correction parameter that gives the best result by referring to the reference image and the target image from the obtained plurality of position correction parameters. A positioning device comprising at least:
【請求項2】請求項1に記載の位置合わせ装置であっ
て、 位置合わせを行った時に誤った結果を生じる可能性が少
ないブロックを選択するブロック選択手段と、をさらに
備え、 前記ブロック選択手段で選択されたブロックのみを用い
てブロックマッチング処理を行うことを特徴とする位置
合わせ装置。
2. The alignment device according to claim 1, further comprising: a block selection unit that selects a block that is unlikely to cause an erroneous result when performing the alignment. And performing a block matching process using only the blocks selected in (1).
【請求項3】画像メモリに蓄積されている基準画像と対
象画像との位置関係を求め、前記基準画像と前記対象画
像との位置合わせを行う位置合わせ装置であって、 前記基準画像を複数のブロックに分割し、各ブロックの
属性情報を第1のメモリに格納させるブロック分割手段
と、 前記第1のメモリに格納された前記各ブロックの属性情
報と前記画像メモリとを参照することにより、前記各ブ
ロックの特性値を求め、位置合わせを行った時に誤った
結果を生じる可能性が少ないブロックを選択するブロッ
ク選択手段と、 前記ブロック選択手段で選択されたブロックに対して、
平行移動に基づく位置合わせ処理を行い、前記選択され
たブロック毎に前記基準画像と前記対象画像とに対応す
る点を決定し、この結果を前記第1のメモリに記憶させ
るブロックマッチング手段と、 前記ブロックマッチング手段により得られた各ブロック
の位置合わせ結果から、同様の位置補正パラメータを生
じると思われるブロックを同じグループに分類するマッ
チング結果分類手段と、 前記マッチング結果分類手段により分類されたグループ
毎に前記対象画像の位置補正パラメータを求め、第2の
メモリに格納する位置補正パラメータ計算手段と、 前記第2のメモリに格納されているグループ毎の位置補
正パラメータから、前記基準画像と前記対象画像が最も
よい重なり状態になる位置補正パラメータを選択する最
適位置補正パラメータ決定手段と、 を有することを特徴とする位置合わせ装置。
3. A positioning device for determining a positional relationship between a reference image and a target image stored in an image memory and performing positioning between the reference image and the target image, wherein the reference image is stored in a plurality of positions. A block dividing unit configured to divide the block into blocks and store attribute information of each block in a first memory; and by referring to the attribute information of each block and the image memory stored in the first memory, Determine the characteristic value of each block, and a block selection unit that selects a block that is less likely to produce an erroneous result when performing alignment, and for the block selected by the block selection unit,
A block matching unit that performs a positioning process based on parallel movement, determines a point corresponding to the reference image and the target image for each of the selected blocks, and stores the result in the first memory; A matching result classifying unit that classifies blocks that are supposed to produce similar position correction parameters into the same group based on the alignment result of each block obtained by the block matching unit; and for each group classified by the matching result classifying unit. A position correction parameter calculating unit that calculates a position correction parameter of the target image and stores the position correction parameter in the second memory; and a position correction parameter for each group stored in the second memory. Optimal position correction parameter to select the position correction parameter that gives the best overlap state Aligning apparatus characterized by comprising: a determining means.
【請求項4】前記最適位置補正パラメータ決定手段が、
前記基準画像と前記対象画像とを参照することにより、
位置補正パラメータを選択することを特徴とする請求項
3に記載の位置合わせ装置。
4. An optimal position correction parameter determining means,
By referring to the reference image and the target image,
The positioning apparatus according to claim 3, wherein a position correction parameter is selected.
【請求項5】基準画像と対象画像との位置関係を、ブロ
ックマッチング処理を行うことよによって求め、前記基
準画像と前記対象画像との位置合わせを行う位置合わせ
プログラムを記録したコンピュータが読み取り可能な記
録媒体であって、 各ブロック毎のブロックマッチング処理の結果から、同
様の位置補正パラメータを生じると思われるブロックを
同じグループに分類するマッチング結果分類機能と、 前記マッチング結果分類手段によって分類されたグルー
プ毎に前記対象画像の位置補正パラメータを求める位置
補正パラメータ計算機能と、 得られた複数の位置補正パラメータの中から、前記基準
画像と前記対象画像を参照して最良の結果を与える位置
補正パラメータを決定する最適位置補正パラメータ決定
機能と、 を少なくとも備えたことを特徴とする位置合わせプログ
ラムを記録したコンピュータが読み取り可能な記録媒
体。
5. A computer readable recording a positioning program for positioning the reference image and the target image by obtaining a positional relationship between the reference image and the target image by performing a block matching process. A recording medium, a matching result classifying function of classifying blocks that are likely to produce similar position correction parameters from the result of the block matching process for each block into the same group, and a group classified by the matching result classifying unit. A position correction parameter calculation function for obtaining a position correction parameter of the target image for each of the plurality of obtained position correction parameters; and a position correction parameter that gives the best result by referring to the reference image and the target image from a plurality of obtained position correction parameters. And a function for determining an optimum position correction parameter to be determined. A computer-readable recording medium having recorded thereon an alignment program.
【請求項6】コンピュータが備える画像メモリに蓄積さ
れている基準画像と対象画像との位置関係を求め、前記
基準画像と前記対象画像との位置合わせを行う位置合わ
せプログラムを記録したコンピュータが読み取り可能な
記録媒体であって、 前記基準画像を複数のブロックに分割し、各ブロックの
属性情報をコンピュータに備える第1のメモリに格納さ
せるブロック分割機能と、 前記第1のメモリに格納された前記各ブロックの属性情
報と前記画像メモリとを参照することにより、前記各ブ
ロックの特性値を求め、位置合わせを行った時に誤った
結果を生じる可能性が少ないブロックを選択するブロッ
ク選択機能と、 前記ブロック選択手段で選択されたブロックに対して、
平行移動に基づく位置合わせ処理を行い、前記選択され
たブロック毎に前記基準画像と前記対象画像とに対応す
る点を決定し、この結果を前記第1のメモリに記憶させ
るブロックマッチング機能と、 前記ブロックマッチング手段により得られた各ブロック
の位置合わせ結果から、同様の位置補正パラメータを生
じると思われるブロックを同じグループに分類するマッ
チング結果分類機能と、 前記マッチング結果分類手段により分類されたグループ
毎に前記対象画像の位置補正パラメータを求め、コンピ
ュータに備える第2のメモリに格納する位置補正パラメ
ータ計算機能と、 前記第2のメモリに格納されているグループ毎の位置補
正パラメータから、前記基準画像と前記対象画像が最も
よい重なり状態になる位置補正パラメータを選択する最
適位置補正パラメータ決定機能と、 を有することを特徴とする位置合わせプログラムを記録
したコンピュータが読み取り可能な記録媒体。
6. A computer readable by a computer storing a positioning program for determining a positional relationship between a reference image and a target image stored in an image memory provided in the computer and positioning the reference image and the target image. A block dividing function of dividing the reference image into a plurality of blocks, and storing attribute information of each block in a first memory provided in a computer; and each of the plurality of blocks stored in the first memory. A block selection function for determining a characteristic value of each block by referring to the attribute information of the block and the image memory, and selecting a block that is less likely to cause an erroneous result when performing alignment; and For the block selected by the selection means,
A block matching function of performing a positioning process based on parallel movement, determining a point corresponding to the reference image and the target image for each of the selected blocks, and storing the result in the first memory; A matching result classifying function of classifying blocks that are likely to generate similar position correction parameters into the same group based on the alignment result of each block obtained by the block matching unit; and for each group classified by the matching result classifying unit. A position correction parameter calculation function for obtaining a position correction parameter of the target image and storing the position correction parameter in a second memory provided in a computer; and a position correction parameter for each group stored in the second memory. Select the position correction parameter that gives the best overlap of the target image Suitable position correction parameter determination function and, recording a computer-readable recording medium alignment program characterized in that it comprises a.
JP9244972A 1997-09-10 1997-09-10 Alignment device and computer-readable recording medium storing alignment program Expired - Fee Related JP3006560B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9244972A JP3006560B2 (en) 1997-09-10 1997-09-10 Alignment device and computer-readable recording medium storing alignment program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9244972A JP3006560B2 (en) 1997-09-10 1997-09-10 Alignment device and computer-readable recording medium storing alignment program

Publications (2)

Publication Number Publication Date
JPH1186003A JPH1186003A (en) 1999-03-30
JP3006560B2 true JP3006560B2 (en) 2000-02-07

Family

ID=17126698

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9244972A Expired - Fee Related JP3006560B2 (en) 1997-09-10 1997-09-10 Alignment device and computer-readable recording medium storing alignment program

Country Status (1)

Country Link
JP (1) JP3006560B2 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4755490B2 (en) 2005-01-13 2011-08-24 オリンパスイメージング株式会社 Blur correction method and imaging apparatus
US7965774B2 (en) * 2006-01-06 2011-06-21 International Business Machines Corporation Method for visual signal extrapolation or interpolation
JP4178480B2 (en) 2006-06-14 2008-11-12 ソニー株式会社 Image processing apparatus, image processing method, imaging apparatus, and imaging method
JP2010019558A (en) * 2008-07-08 2010-01-28 J-Net:Kk Measurement position setting device
US9159130B2 (en) * 2009-10-22 2015-10-13 Koninklijke Philips N.V. Alignment of an ordered stack of images from a specimen
JP2012075088A (en) 2010-09-03 2012-04-12 Pentax Ricoh Imaging Co Ltd Image processing system and image processing method
JP5642605B2 (en) * 2011-03-30 2014-12-17 株式会社Screenホールディングス Inspection apparatus, program, and image alignment method
JP6274778B2 (en) * 2013-08-20 2018-02-07 キヤノン株式会社 Image processing method, image processing apparatus, and computer program

Also Published As

Publication number Publication date
JPH1186003A (en) 1999-03-30

Similar Documents

Publication Publication Date Title
US6834250B2 (en) Position and orientation determining method and apparatus and storage medium
US10334168B2 (en) Threshold determination in a RANSAC algorithm
US7065262B1 (en) Fast high-accuracy multi-dimensional pattern inspection
JP5830546B2 (en) Determination of model parameters based on model transformation of objects
JP3841321B2 (en) Image registration method
US5680150A (en) Image processing method and apparatus
AU2007285683A1 (en) Method of image processing
CN109919971B (en) Image processing method, image processing device, electronic equipment and computer readable storage medium
US20220392201A1 (en) Image feature matching method and related apparatus, device and storage medium
EP3093822B1 (en) Displaying a target object imaged in a moving picture
US20230394766A1 (en) Server, method and computer program for generating spatial model from panoramic image
CN113674146A (en) Image super-resolution
JP3006560B2 (en) Alignment device and computer-readable recording medium storing alignment program
US20220319055A1 (en) Multiview neural human prediction using implicit differentiable renderer for facial expression, body pose shape and clothes performance capture
WO2022198969A1 (en) Method, apparatus, and device for recognizing seal text, and computer readable storage medium
WO2008032375A1 (en) Image correcting device and method, and computer program
KR100362171B1 (en) Apparatus, method and computer readable medium for computing a transform matrix using image feature point matching technique, and apparatus, method and computer readable medium for generating mosaic image using the transform matrix
US6625332B1 (en) Computer-implemented image registration
CN115375884A (en) Free viewpoint synthesis model generation method, image rendering method and electronic device
JP2962266B2 (en) Image alignment method
JP6315542B2 (en) Image generating apparatus and image generating method
JP3452188B2 (en) Tracking method of feature points in 2D video
CN112615993A (en) Depth information acquisition method, binocular camera module, storage medium and electronic equipment
JP6384961B2 (en) Camera calibration apparatus, camera calibration method, camera calibration program, and recording medium
CN117372604B (en) 3D face model generation method, device, equipment and readable storage medium

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19991026

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

Free format text: PAYMENT UNTIL: 20071126

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20081126

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20081126

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20091126

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20091126

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20101126

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20111126

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20111126

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20121126

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20121126

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20131126

Year of fee payment: 14

LAPS Cancellation because of no payment of annual fees