JPH04299474A - Picture matching system - Google Patents

Picture matching system

Info

Publication number
JPH04299474A
JPH04299474A JP8588991A JP8588991A JPH04299474A JP H04299474 A JPH04299474 A JP H04299474A JP 8588991 A JP8588991 A JP 8588991A JP 8588991 A JP8588991 A JP 8588991A JP H04299474 A JPH04299474 A JP H04299474A
Authority
JP
Japan
Prior art keywords
image
blocks
correlation coefficient
correspondence
correlation
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.)
Granted
Application number
JP8588991A
Other languages
Japanese (ja)
Other versions
JP3027995B2 (en
Inventor
Makoto Maruie
誠 丸家
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 JP3085889A priority Critical patent/JP3027995B2/en
Publication of JPH04299474A publication Critical patent/JPH04299474A/en
Application granted granted Critical
Publication of JP3027995B2 publication Critical patent/JP3027995B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To correctly perfom the correspondence even between pictures having occulusion by bi-directionlly performing the matching at the time of the matching for performing the correspondence of two pictures. CONSTITUTION:The correlation of the picture elements between the blocks of two pictures A and B with each other is calculated by a correlation calculation means 13. The ordering by correlation value corresponding to each of the direction from A to B and the direction from B to A is performed by correlation factor ordering means 15. The successive sum of hte direction from A to B and the direction from B to A are determined by a correlation factor order addition means 16. The corresponding combination to what the sum of the order is integrated and a fixed penalty in accordane with the number of block having no correspondence is added becomes minimum is determined by a minimum addition order selection means 17.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、ステレオマッチングや
動きベクトル検出のための画像マッチングに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to image matching for stereo matching and motion vector detection.

【0002】0002

【従来の技術】従来、画像マッチングに関する技術の中
で、ブロックマッチングを用いた方式として、特公昭6
2−107386号公報「画像マッチング方式」、米国
特許4677476号明細書“METHOD  FOR
  DETECTING  A  MOVEMENT 
 OF  A  TELEVISION  SIGNA
L”に記載されているような技術が知られている。これ
らの方式では記憶装置に格納されている2個の画像デー
タのマッチング処理を行う際に、画像の一方を複数のブ
ロックに分割し、各ブロックを平行にずらしながら他方
の画像と相互相関をとり、相関が最大になったところが
他方の画像と対応するブロックであると推定する。
[Prior Art] Conventionally, among the techniques related to image matching, a method using block matching was developed
Publication No. 2-107386 “Image matching method”, U.S. Patent No. 4677476 “METHOD FOR
DETECTING A MOVEMENT
OF A TELEVISION SIGNA
The techniques described in "L" are known. In these methods, when performing matching processing on two pieces of image data stored in a storage device, one of the images is divided into multiple blocks. , while each block is shifted in parallel to calculate the cross-correlation with the other image, and the block where the correlation is maximum is estimated to be the block corresponding to the other image.

【0003】0003

【発明が解決しようとする課題】しかしながら、従来の
ブロックマッチングでは、オクルージョン領域では正し
いマッチングができないという問題があった。すなわち
、図5に示すように、画像A中の領域aにある対象物が
、画像B中では領域cに移動したとすれば、画像A中に
斜線でしるされた領域bは、画像Bでは領域cに隠ぺい
される。この場合、領域bに対応する画像B中の領域は
ない。一般にこのような領域bをオクルージョン領域と
呼んでいる。
[Problems to be Solved by the Invention] However, conventional block matching has a problem in that correct matching cannot be performed in occlusion areas. In other words, as shown in FIG. 5, if an object in area a in image A moves to area c in image B, area b marked with diagonal lines in image A will move to area c in image B. Then, it is hidden in area c. In this case, there is no region in image B that corresponds to region b. Generally, such a region b is called an occlusion region.

【0004】この画像Aをブロックに分割し画像Bとマ
ッチングをとる場合、領域bに含まれるブロックは、本
来対応する相手がない。それにも拘わらず、従来の方式
では、相関が最大になった地点は対応点であると判断し
てしまう。例えば、領域bに含まれるブロック(ア)は
(イ)に対応するというような、好ましくない対応を与
えてしまう。
When image A is divided into blocks and matched with image B, the blocks included in area b originally have no counterpart. Despite this, in the conventional method, the point where the correlation is maximum is determined to be a corresponding point. For example, block (a) included in area b corresponds to block (b), which is an undesirable correspondence.

【0005】本発明の目的は、オクルージョン領域には
対応を与えないという意味で、正確な対応を与えるマッ
チング方式を提供することにある。
An object of the present invention is to provide a matching method that provides accurate correspondence in the sense that it does not provide correspondence to occlusion areas.

【0006】[0006]

【課題を解決するための手段】第1の発明の画像マッチ
ング方式は、 a.二つの画像(A画像,B画像)を入力する画像入力
手段 b.前記画像入力手段で入力された画像を記憶する画像
記憶手段 c.前記画像記憶手段に記憶されているA画像,B画像
を重複を許してブロックに分割する画像分割手段d.前
記画像分割手段によって生成された、A画像上のブロッ
クとB画像上のブロックの、すべてあるいは一部の対応
について、ブロックに含まれる画素値の相互相関を計算
する相関計算手段 e.前記相関計算手段によって得られた、A画像上のブ
ロックとB画像上のブロックの対応毎の相関係数の値を
用い、A画像上のブロックからB画像上のブロックへの
相関係数の大きい順の、昇順の順位づけ、及びB画像上
のブロックからA画像上のブロックへの相関係数の大き
い順の、昇順の順位づけを行う相関係数順位づけ手段f
.前記相関計算手段で計算を行った、A,B画像上のブ
ロックのそれぞれの対応について、前記相関係数順位づ
け手段によって得られた、A画像上のブロックからB画
像上のブロックへの相関係数の順位と、B画像上の同じ
ブロックからA画像上の同じブロックへの相関係数の順
位の和を計算する相関係数順位加算手段g.前記相関計
算手段で計算を行った、A,B画像上のブロックの対応
のすべての組合せに関して、前記相関係数順位加算手段
で求めた順位の和を各組合せ毎に加算し、さらに各組合
せの中の対応に含まれないブロックの数に応じた一定の
ペナルティを、その組合せの加算結果に加え、その結果
が最小になる組合せを求める最小加算順位選択手段を備
えることを特徴とする。
[Means for Solving the Problems] The image matching method of the first invention has the following features: a. Image input means for inputting two images (image A, image B) b. image storage means for storing the image input by the image input means c. image dividing means for dividing the A image and B image stored in the image storage means into blocks while allowing overlap; d. Correlation calculating means for calculating the cross-correlation of pixel values included in the blocks for all or part of the correspondence between the blocks on the A image and the blocks on the B image generated by the image dividing means e. Using the value of the correlation coefficient for each correspondence between the block on the A image and the block on the B image obtained by the correlation calculation means, the correlation coefficient from the block on the A image to the block on the B image is large. Correlation coefficient ranking means f for ranking in ascending order, and ranking in ascending order from the blocks on the B image to the blocks on the A image in the order of the larger correlation coefficient.
.. Correlation from blocks on image A to blocks on image B, obtained by the correlation coefficient ranking means, for each correspondence between blocks on images A and B calculated by the correlation calculation means. correlation coefficient rank adding means for calculating the sum of the rank of the number and the rank of the correlation coefficient from the same block on the B image to the same block on the A image g. For all combinations of blocks on images A and B calculated by the correlation calculation means, the sum of the ranks obtained by the correlation coefficient rank addition means is added for each combination, and The present invention is characterized in that it includes a minimum addition rank selection means that adds a certain penalty according to the number of blocks not included in the correspondence to the addition result of the combination and finds a combination that minimizes the result.

【0007】第2の発明の画像マッチング方式は、a.
二つの画像(A画像,B画像)を入力する画像入力手段 b.前記画像入力手段で入力された画像を記憶する画像
記憶手段 c.前記画像記憶手段に記憶されているA画像,B画像
を重複を許してブロックに分割する画像分割手段d.前
記画像分割手段によって生成された、A画像上のブロッ
クとB画像上のブロックの、すべてあるいは一部の対応
について、ブロックに含まれる画素値の相互相関を計算
する相関計算手段 e.前記相関計算手段によって得られた、A画像上のブ
ロックとB画像上のブロックの対応毎の相関係数の値を
用い、A画像上のブロックからB画像上のブロックへの
相関係数の大きい順の、昇順の順位づけ、及びB画像上
のブロックからA画像上のブロックへの相関係数の大き
い順の、昇順の順位づけを行う相関係数順位づけ手段f
.前記相関係数順位づけ手段によって得られた順位に対
し、あらかじめ与えられた単調増加関数により、順位値
をコスト値に変換するコスト計算手段g.前記相関計算
手段で計算を行った、A,B画像上のブロックのそれぞ
れの対応について、前記コスト計算手段によって得られ
た、A画像上のブロックからB画像上のブロックへのコ
ストと、B画像上の同じブロックからA画像上の同じブ
ロックへのコストの和を計算するコスト加算手段 h.前記相関計算手段で計算を行った、A,B画像上の
ブロックの対応のすべての組合せに関して、前記コスト
加算手段で求めた順位の和を各組合せ毎に加算し、さら
に各組合せの中の対応に含まれないブロックの数に応じ
た一定のペナルティをその組合せの加算結果に加え、そ
の結果が最小になる組合せを求める最小加算コスト選択
手段を備えることを特徴とする。
The image matching method of the second invention includes a.
Image input means for inputting two images (image A, image B) b. image storage means for storing the image input by the image input means c. image dividing means for dividing the A image and B image stored in the image storage means into blocks while allowing overlap; d. Correlation calculating means for calculating the cross-correlation of pixel values included in the blocks for all or part of the correspondence between the blocks on the A image and the blocks on the B image generated by the image dividing means e. Using the value of the correlation coefficient for each correspondence between the block on the A image and the block on the B image obtained by the correlation calculation means, the correlation coefficient from the block on the A image to the block on the B image is large. Correlation coefficient ranking means f for ranking in ascending order, and ranking in ascending order from the blocks on the B image to the blocks on the A image in the order of the larger correlation coefficient.
.. g. cost calculating means for converting the ranking value into a cost value using a monotonically increasing function given in advance for the ranking obtained by the correlation coefficient ranking means; g. The cost from the block on the A image to the block on the B image obtained by the cost calculation means for each correspondence between the blocks on the A and B images calculated by the correlation calculation means, and the B image Cost addition means for calculating the sum of costs from the same block on the A image to the same block on the A image h. For all combinations of correspondences between blocks on images A and B calculated by the correlation calculation means, the sum of ranks obtained by the cost addition means is added for each combination, and further the correspondences in each combination are added. The present invention is characterized in that it includes a minimum addition cost selection means that adds a certain penalty according to the number of blocks not included in the combination to the addition result of the combination and finds a combination that minimizes the result.

【0008】第3の発明の画像マッチング方式は、a.
二つの画像(A画像,B画像)を入力する画像入力手段 b.前記画像入力手段で入力された画像を記憶する画像
記憶手段 c.前記画像記憶手段に記憶されているA画像,B画像
を重複を許してブロックに分割する画像分割手段d.前
記画像分割手段によって生成された、A画像上のブロッ
クとB画像上のブロックの、すべてあるいは一部の対応
について、ブロックに含まれる画素値の相互相関を計算
する相関計算手段 e.前記相関計算手段によって得られた、A画像上のブ
ロックとB画像上のブロックの対応毎の相関係数の値を
用い、A画像上のブロックからB画像上の各ブロックへ
相関係数の大きい順に、一定の個数だけ昇順の順位づけ
を行い、順位づけされなかったものについては、そのブ
ロック間の対応の可能性はないと判定するAB方向相関
係数順位づけ及び対応判定手段 f.前記相関計算手段によって得られた、A画像上のブ
ロックとB画像上のブロックの対応毎の相関係数の値を
用い、B画像上のブロックからA画像上の各ブロックへ
相関係数の大きい順に、一定の個数だけ昇順の順位づけ
を行い、順位づけされなかったものについては、そのブ
ロック間の対応の可能性はないと判定するBA方向相関
係数順位づけ及び対応判定手段 g.前記相関計算手段で計算を行った、A,B画像上の
ブロックのそれぞれの対応の中で、前記AB方向相関係
数順位づけ及び対応判定手段並びにBA方向相関係数順
位づけ及び対応判定手段によって、対応の可能性はない
と判断された対応を除いて、前記AB方向相関係数順位
づけ及び判定手段によって得られた順位と、前記BA方
向相関係数順位づけ及び判定手段によって得られた順位
との和を計算する相関係数順位加算手段h.前記相関計
算手段で計算を行った、A,B画像上のブロックの対応
のすべての組合せに関して、前記相関係数順位加算手段
で求めた順位の和を、各組合せ毎に加算し、さらに各組
合せの中の対応に含まれないブロックの数に応じた一定
のペナルティを加え、その結果が最小になる対応の組合
せの中を、前記AB方向相関係数順位づけ及び判定手段
及び前記BA方向相関係数順位づけ及び判定手段によっ
て対応の可能性がないと判断されなかった対応の組合せ
の中から求める最小加算順位選択手段を備えることを特
徴とする。
The image matching method of the third invention includes a.
Image input means for inputting two images (image A, image B) b. image storage means for storing the image input by the image input means c. image dividing means for dividing the A image and B image stored in the image storage means into blocks while allowing overlap; d. Correlation calculating means for calculating the cross-correlation of pixel values included in the blocks for all or part of the correspondence between the blocks on the A image and the blocks on the B image generated by the image dividing means e. Using the correlation coefficient values obtained by the correlation calculation means for each correspondence between blocks on the A image and blocks on the B image, the correlation coefficient is calculated from the block on the A image to each block on the B image. A and B direction correlation coefficient ranking and correspondence determining means f. sequentially ranking a certain number of blocks in ascending order, and determining that there is no possibility of correspondence between blocks that are not ranked; f. Using the correlation coefficient values obtained by the correlation calculation means for each correspondence between blocks on the A image and blocks on the B image, the correlation coefficient is calculated from the block on the B image to each block on the A image. g. BA direction correlation coefficient ranking and correspondence determining means for ranking a certain number of blocks in ascending order and determining that there is no possibility of correspondence between blocks that are not ranked; g. Among the correspondence between the blocks on the A and B images calculated by the correlation calculation means, the AB direction correlation coefficient ranking and correspondence determination means and the BA direction correlation coefficient ranking and correspondence determination means , the ranking obtained by the AB direction correlation coefficient ranking and determination means and the rank obtained by the BA direction correlation coefficient ranking and determination means, excluding correspondences for which it is determined that there is no possibility of correspondence. Correlation coefficient rank addition means for calculating the sum of h. For all combinations of corresponding blocks on images A and B calculated by the correlation calculation means, the sum of the ranks obtained by the correlation coefficient rank addition means is added for each combination, and The AB direction correlation coefficient ranking and determination means and the BA direction correlation The present invention is characterized by comprising minimum addition rank selection means for determining from among the combinations of correspondences that are not determined to have no possibility of correspondence by the numerical ranking and determination means.

【0009】第4の発明の画像マッチング方式は、a.
二つの画像(A画像,B画像)を入力する画像入力手段 b.前記画像入力手段で入力された画像を記憶する画像
記憶手段 c.前記画像記憶手段に記憶されているA画像,B画像
を走査線毎に分割し、さらに走査線を、重複を許してセ
グメントに分割する画像分割手段 d.同位置の走査線上に存在する、前記画像分割手段に
よって生成されたA画像上のセグメント、B画像上のセ
グメント間のすべてあるいは一部の対応について、画素
値の相互相関を計算する相関計算手段 e.前記相関計算手段で計算を行った、A,B画像上の
セグメントの対応について、対応毎の相関係数の値を用
い、A画像上のセグメントからB画像上のセグメントへ
の相関係数の大きい順の、昇順の順位づけ、及びB画像
上のセグメントからA画像上のセグメントへの相関係数
の大きい順の、昇順の順位づけを行う相関係数順位づけ
手段 f.前記相関係数順位づけ手段で計算を行ったA,B画
像上のセグメント間のそれぞれの対応について、A画像
上のセグメントからB画像上のセグメントへの相関係数
の順位と、B画像上のセグメントからA画像上のセグメ
ントへの相関係数の順位の和を計算する相関係数順位加
算手段 g.前記相関係数順位加算手段により計算を行った、A
,B画像上のセグメント間の対応について、隣接した対
応同士のパスだけでなく、隣接しない対応同士のパスも
生成するパス生成手段 h.前記パス生成手段により生成されたパスを接続する
ことによって表現されるすべての対応の組合せに関して
、前記相関係数順位加算手段で求めた順位の和を、各組
合せ毎に加算し、さらに各組合せの中の対応に含まれな
いブロックの数に応じた一定のペナルティを加え、その
結果が最小になる対応の組合せを動的計画法を用い求め
る最小加算順位選択手段を備えることを特徴とする。
The image matching method of the fourth invention includes a.
Image input means for inputting two images (image A, image B) b. image storage means for storing the image input by the image input means c. image dividing means for dividing images A and B stored in the image storage means into each scanning line, and further dividing the scanning lines into segments by allowing overlap; d. Correlation calculating means e that calculates the cross-correlation of pixel values for all or part of the correspondence between the segments on the A image and the segments on the B image generated by the image dividing means, which exist on the scanning line at the same position. .. Regarding the correspondence between the segments on the A and B images calculated by the correlation calculation means, the value of the correlation coefficient for each correspondence is used, and the correlation coefficient from the segment on the A image to the segment on the B image is large. Correlation coefficient ranking means for ranking in ascending order, and ranking in ascending order of correlation coefficients from segments on the B image to segments on the A image, f. Regarding each correspondence between the segments on images A and B calculated by the correlation coefficient ranking means, the ranking of the correlation coefficient from the segment on image A to the segment on image B, and the correlation coefficient on image B Correlation coefficient rank adding means for calculating the sum of the ranks of correlation coefficients from the segment to the segment on the A image g. A calculated by the correlation coefficient rank addition means
, A path generating means for generating not only paths between adjacent correspondences but also paths between non-adjacent correspondences regarding the correspondence between segments on the B image h. For all the corresponding combinations expressed by connecting the paths generated by the path generation means, the sum of the ranks obtained by the correlation coefficient rank addition means is added for each combination, and The present invention is characterized in that it includes a minimum addition rank selection means that adds a certain penalty according to the number of blocks not included in the correspondences and uses dynamic programming to find a combination of correspondences that minimizes the result.

【0010】0010

【作用】本発明の画像マッチング方式では、双方向のマ
ッチングを行うことにより、オクルージョン領域の検出
を行う。結果として、オクルージョン領域に含まれるブ
ロックには対応するブロックを与えないという意味での
正確な対応付けを行う。
[Operation] In the image matching method of the present invention, occlusion areas are detected by performing bidirectional matching. As a result, accurate correspondence is achieved in the sense that blocks included in the occlusion area are not given corresponding blocks.

【0011】図6を用いて説明する。ここでは、画像A
中の領域aが画像B中の領域dに移動したとする。画像
A中に斜線でしるされた領域bと、画像B中に斜線でし
るされた領域cとがオクルージョン領域である。ここで
、b内のブロックの一つを(ア)とする。
[0011] This will be explained using FIG. Here, image A
Suppose that area a in the image B has moved to area d in image B. Area b marked with diagonal lines in image A and area c marked with diagonal lines in image B are occlusion areas. Here, one of the blocks in b is assumed to be (a).

【0012】まず、画像A,画像B両方をブロックに分
割し、ブロックのすべての対応毎に相互関係を計算する
。つぎに、A画像上の各ブロックからB画像上の各ブロ
ックへの相関係数の値の大きい順の、昇順の順位づけ、
及びB画像上の各ブロックからA画像上の各ブロックへ
の相関係数の値の大きい順の、昇順の順位づけを行う。 ここでは、ブロック(ア)に対してはブロック(イ)の
相関係数が最大であったとし、(ア)の(イ)に対する
順位を1とする。従来の方式では、この時点で(ア)に
対する対応点は(イ)であると決定してしまう。
First, both image A and image B are divided into blocks, and the mutual relationships are calculated for every correspondence of blocks. Next, rank each block on the A image to each block on the B image in ascending order of the correlation coefficient value,
Then, each block on the B image to each block on the A image is ranked in ascending order of the correlation coefficient value. Here, it is assumed that block (B) has the largest correlation coefficient with respect to block (A), and the rank of (A) with respect to (B) is set to 1. In the conventional method, it is determined at this point that the corresponding point to (a) is (b).

【0013】本発明の画像マッチング方式では、さらに
、A画像上のブロックからB画像上のブロックへの相関
係数の順位と、B画像上の同ブロックからA画像上の同
ブロックへの相関係数の順位との和を計算する。図6の
場合では、A画像上の(ウ)ブロックとB画像上の(イ
)ブロックが実際に対応しているとする。その場合、(
ウ)から(イ)への順位、(イ)から(ウ)への順位が
共に小さく、また、逆に、(イ)から(ア)への順位は
大きいと考えられる。よって、(ウ)から(イ)への順
位と(イ)から(ウ)への順位の和は、(ア)から(イ
)への順位と(イ)から(ア)への順位の和より小さく
なることが予想される。
[0013] In the image matching method of the present invention, the order of the correlation coefficient from a block on the A image to a block on the B image and the correlation from the same block on the B image to the same block on the A image are further determined. Calculate the sum of numbers and ranks. In the case of FIG. 6, it is assumed that the (c) block on the A image and the (b) block on the B image actually correspond. In that case,(
It is thought that the ranking from (c) to (a) and from (a) to (c) are both small, and conversely, the ranking from (a) to (a) is large. Therefore, the sum of the ranks from (c) to (b) and the ranks from (b) to (c) is the sum of the ranks from (a) to (b) and from (b) to (a). expected to be smaller.

【0014】次に、A画像上のブロックとB画像上のブ
ロックの対応の組合せの中で、順位の和をその組合せに
従って加算して、さらにその組合せの中の対応に含まれ
ないブロックの数に応じて一定のペナルティを加えたも
のをコストとして求める。図6の例を考えると、オクル
ージョン領域にあるブロック(ア)にも対応(ア)−(
イ)を与えた組合せのコストと、オクルージョン領域に
あるブロック(ア)には対応を与えない組合せのコスト
を比較した場合、後者の方が小さくなると考えられる。 よって、コストが最小になる対応の組合せを求めれば、
それはオクルージョン領域にあるブロックを除いた組合
せになっていると期待できる。
Next, among the corresponding combinations of blocks on the A image and blocks on the B image, the sum of the ranks is added according to the combination, and the number of blocks that are not included in the correspondence in the combination is further calculated. The cost is calculated by adding a certain penalty according to the amount. Considering the example in Figure 6, it also corresponds to block (A) in the occlusion area (A) - (
If we compare the cost of the combination that provides (b) with the cost of the combination that does not provide correspondence to the block (a) in the occlusion area, it is thought that the latter will be smaller. Therefore, if we find the combination of responses that minimizes the cost, we get
It can be expected that the combination excludes blocks in the occlusion area.

【0015】ここで、対応を与えないブロックがあれば
、それに応じて一定のペナルティをコストに加えること
が重要である。なぜなら、もしペナルティを与えなけれ
ば、対応が一つもない組合せが、コスト最小になってし
まうからである。
[0015] Here, if there is a block that does not provide correspondence, it is important to add a certain penalty to the cost accordingly. This is because, if no penalty is given, a combination with no correspondence will have the minimum cost.

【0016】第2の発明の画像マッチング方式では、順
位の和を直接コストとしないで、順位をある単調増加関
数により変換した値をコストとする。一般に、低い順位
における順位差の重要性は、高い順位における順位差の
重要性より高いと考えられる。このような順位の高低に
よる順位差の重要性を、この関数により変えることがで
きる。
In the image matching method of the second invention, the sum of the ranks is not used as a direct cost, but a value obtained by converting the ranks using a certain monotonically increasing function is used as the cost. Generally, the importance of rank differences in lower ranks is considered to be higher than the importance of rank differences in higher ranks. This function can change the importance of the difference in rank depending on the rank.

【0017】第3の発明の画像マッチング方式は、それ
ぞれの対応について、相関係数の大きい順に、一定の個
数だけ昇順の順位付けを行い、順位付けされなかったも
のについては、対応の可能性はないと判断する。そのた
めに、最小なコストを与える対応の組合せを見つけるた
めに探索すべき組合せの数は減少し、実行の高速化が可
能になる。また、オクルージョン領域にあるブロックを
含む対応が与えるコストが増大し、それだけオクルージ
ョン領域にあるブロックを含む対応を排除する可能性が
大きくなる。
[0017] The image matching method of the third invention ranks each correspondence in ascending order of the correlation coefficient by a certain number, and for those that are not ranked, the possibility of correspondence is I judge that there is no. Therefore, the number of combinations to be searched to find the corresponding combination that provides the minimum cost is reduced, allowing faster execution. Additionally, the cost of a correspondence that includes a block in an occlusion area increases, and the possibility of excluding a correspondence that includes a block in an occlusion area increases accordingly.

【0018】第4の発明の走査線毎のマッチング方式は
、不連続なパスを許す動的計画法を用いることにより、
セグメントの正確な組合せが高速に求められる。図7は
、走査線A,Bを垂直に配置したものである。軸ABに
よって構成される平面を一般に探索平面と呼ぶ。 A,B上のブロックの中心位置は、それぞれ縦線,横線
で表現され、セグメント間の一つの対応は、縦線と横線
の交点で表される。AB間の対応の組合せは、P1とP
2を結ぶ探索平面上の一本のパスCで示される。
The matching method for each scanning line of the fourth invention uses dynamic programming that allows discontinuous paths.
Accurate combinations of segments are required quickly. In FIG. 7, scanning lines A and B are arranged vertically. The plane defined by axis AB is generally called a search plane. The center positions of blocks on A and B are represented by vertical lines and horizontal lines, respectively, and one correspondence between segments is represented by the intersection of the vertical line and the horizontal line. The corresponding combination between AB is P1 and P
It is indicated by a single path C on the search plane connecting the two.

【0019】オクルージョン領域があると、パスは不連
続になる。図7のa,bはパスが不連続になっている部
分である。不連続aは、Bで隠ぺいされた領域を示して
おり、逆に不連続bは、Aで隠ぺいされた領域を示して
いる。
[0019] If there is an occlusion region, the path becomes discontinuous. A and b in FIG. 7 are portions where the path is discontinuous. Discontinuity a indicates a region hidden by B, and conversely, discontinuity b indicates a region hidden by A.

【0020】p1とp2を結ぶ最適なパスを見つける問
題は、最適進路問題として定式化され、動的計画法の適
用が可能である。しかし、従来の動的計画法では、連続
なパスしか考慮しないため、オクルージョン領域では間
違った対応しか求められない。
The problem of finding the optimal path connecting p1 and p2 is formulated as an optimal path problem, to which dynamic programming can be applied. However, conventional dynamic programming only considers continuous paths, which results in incorrect responses in occlusion areas.

【0021】本発明の画像マッチング方式では不連続な
パスを許す動的計画法を用いる。図8に、従来の動的計
画法との違いを示す。ここでは、p1から出発してp2
に至る最適なパスを求めるとする。従来の方式では、た
とえば座標(x,y)のu地点に接続する可能性のある
、u地点より左下側の地点は(x−1,y)、(x,y
−1)、(x−1,y−1)だけだとしていた。この3
地点は図8では黒丸で示してある。不連続なパスを許す
動的計画法では、u地点とその左下側の地点でオクルー
ジョンが生じていることを考慮して、白丸の地点から直
接uにつながる場合も考慮してパスを生成する。そのた
めに、オクルージョン領域にはパスを与えない、正確な
対応が求まる。
The image matching method of the present invention uses dynamic programming that allows discontinuous paths. FIG. 8 shows the difference from conventional dynamic programming. Here, starting from p1, p2
Suppose we want to find the optimal path to . In the conventional method, for example, the points on the lower left side of point u that may be connected to point u at coordinates (x, y) are (x-1, y), (x, y
-1), (x-1, y-1) only. This 3
The points are indicated by black circles in FIG. In dynamic programming, which allows discontinuous paths, a path is generated by taking into account that occlusion occurs at point u and its lower left point, and also taking into account the case where the white circle point directly connects to u. For this purpose, an accurate correspondence is required that does not give a pass to the occlusion area.

【0022】[0022]

【実施例】図1は、第1の発明の一実施例を示すブロッ
ク図である。
Embodiment FIG. 1 is a block diagram showing an embodiment of the first invention.

【0023】この画像マッチング方式は、二つの画像(
A画像,B画像)を入力する画像入力手段11と、この
画像入力手段で入力された画像を記憶する画像記憶手段
12と、この画像記憶手段に記憶されているA画像,B
画像を重複を許してブロックに分割する画像分割手段1
3と、この画像分割手段によって生成された、A画像上
のブロックとB画像上のブロックの、すべてあるいは一
部の対応について、ブロックに含まれる画素値の相互相
関を計算する相関計算手段14と、この相関計算手段に
よって得られた、A画像上のブロックとB画像上のブロ
ックの対応毎の相関係数の値を用い、A画像上のブロッ
クからB画像上のブロックへの相関係数の大きい順の、
昇順の順位づけ、及びB画像上のブロックからA画像上
のブロックへの相関係数の大きい順の、昇順の順位づけ
を行う相関係数順位づけ手段15と、相関計算手段14
で計算を行った、A,B画像上のブロックのそれぞれの
対応について、相関係数順位づけ手段15によって得ら
れた、A画像上のブロックからB画像上のブロックへの
相関係数の順位と、B画像上の同じブロックからA画像
上の同じブロックへの相関係数の順位の和を計算する相
関係数順位加算手段16と、相関計算手段14で計算を
行った、A,B画像上のブロックの対応のすべての組合
せに関して、相関係数順位加算手段16で求めた順位の
和を各組合せ毎に加算し、さらに各組合せの中の対応に
含まれないブロックの数に応じた一定のペナルティを、
その組合せの加算結果に加え、その結果が最小になる組
合せを求める最小加算順位選択手段17とから構成され
ている。
[0023] This image matching method uses two images (
An image input means 11 for inputting images (A image, B image), an image storage means 12 for storing images inputted by this image input means, and an image A, B image stored in this image storage means.
Image dividing means 1 for dividing an image into blocks allowing overlap
3, and a correlation calculating means 14 for calculating the cross-correlation of pixel values included in the blocks for all or part of the correspondence between the blocks on the A image and the blocks on the B image generated by the image dividing means. , using the correlation coefficient values for each correspondence between blocks on the A image and blocks on the B image obtained by this correlation calculation means, calculate the correlation coefficient from the block on the A image to the block on the B image. In descending order,
Correlation coefficient ranking means 15 for ranking in ascending order and ranking in ascending order from blocks on B image to blocks on A image in ascending order of correlation coefficient; and correlation calculation means 14.
The ranking of the correlation coefficient from the block on the A image to the block on the B image obtained by the correlation coefficient ranking means 15 for each correspondence between the blocks on the A and B images calculated in , correlation coefficient rank addition means 16 for calculating the sum of the ranks of correlation coefficients from the same block on image B to the same block on image A, and the correlation calculation means 14, The sum of the ranks obtained by the correlation coefficient rank adding means 16 is added for each combination of blocks corresponding to each other, and a certain sum is added for each combination of blocks that are not included in the correspondence in each combination. penalty,
In addition to the addition results of the combinations, the minimum addition rank selection means 17 calculates the combination that gives the minimum result.

【0024】次に、この画像マッチング方式の動作を説
明する。
Next, the operation of this image matching method will be explained.

【0025】画像入力手段11により、二つの画像(A
画像,B画像)を入力し、画像記憶手段12により記憶
する。次に、画像分割手段13によりA画像,B画像を
重複を許してブロックに分割する。相関計算手段14に
より、A画像上のブロックとB画像上のブロックの、す
べてあるいは一部の組合せについて、ブロックに含まれ
る画素値の相互相関を計算する。
Two images (A
image, B image) is input and stored by the image storage means 12. Next, the image dividing means 13 divides the A image and the B image into blocks while allowing overlap. The correlation calculation means 14 calculates the cross-correlation of the pixel values included in the blocks for all or some combinations of the blocks on the A image and the blocks on the B image.

【0026】ここで得られた相関係数の組に対し、A画
像上の各ブロックからB画像上の各ブロックへの相関係
数の値による昇順の順位づけを相関係数順位づけ手段1
5により行う。すなわち、A画像上のあるブロックxに
対し、最も相関係数の値の高くなるB画像上のブロック
に対する順位を1とし、以下、相関係数の値の順に2,
3,…とB画像上のブロックyに順位OR[A(x)B
(y)]をつけていく。
For the set of correlation coefficients obtained here, the correlation coefficient ranking means 1 ranks each block on the A image to each block on the B image in ascending order according to the value of the correlation coefficient.
5. That is, for a certain block x on the A image, the order of the block on the B image with the highest correlation coefficient value is set to 1, and then the order of the correlation coefficient values is 2, 2,
3,... and the block y on the B image are ranked OR [A(x)B
(y)].

【0027】同様に、B画像上の各ブロックからA画像
上の各ブロックへの相関係数の値による昇順の順位(O
R[B(y)A(x)]づけも相関係数順位づけ手段1
5で行う。
Similarly, from each block on the B image to each block on the A image, the ascending order (O
R[B(y)A(x)] and correlation coefficient ranking means 1
Do it in 5.

【0028】図2は、第2の発明の一実施例を示すブロ
ック図である。
FIG. 2 is a block diagram showing an embodiment of the second invention.

【0029】この画像マッチング方式は、相関係数順位
加算手段16により、A画像上の、あるブロックxと、
B画像上の、あるブロックyについて、A画像上のブロ
ックxからB画像上のブロックyへの相関係数の順位O
R[A(x)B(y)]と、B画像上のブロックyから
A画像上のブロックxへの相関係数の順位OR[B(y
)A(x)]の和 W(x,y)=OR[A(x)B(y)]+OR[B(
y)A(x)]を計算する。さらに、ここで得られた順
位の和W(x,y)をあらゆる対応の組合せに従って加
算して、さらにその組合せの中の対応に含まれないブロ
ックがあれば、その数に応じて一定のペナルティを加え
たものをコストとし、コストが最小になる対応の組合せ
を最小加算順位選定手段17により求める。
In this image matching method, a certain block x on image A is
For a certain block y on B image, the correlation coefficient rank O from block x on A image to block y on B image
R[A(x)B(y)] and the rank OR[B(y) of the correlation coefficient from block y on B image to block x on A image
)A(x)] sum W(x,y)=OR[A(x)B(y)]+OR[B(
y)A(x)]. Furthermore, the sum of the ranks W(x, y) obtained here is added according to all correspondence combinations, and if there is a block that is not included in the correspondence among the combinations, a certain penalty is applied according to the number. , and the minimum addition rank selection means 17 determines the combination of correspondences that minimizes the cost.

【0030】この画像マッチング方式は、二つの画像(
A画像,B画像)を入力する画像入力手段21と、この
画像入力手段で入力された画像を記憶する画像記憶手段
22と、この画像記憶手段に記憶されているA画像,B
画像を重複を許してブロックに分割する画像分割手段2
3と、この画像分割手段によって生成された、A画像上
のブロックとB画像上のブロックの、すべてあるいは一
部の対応について、ブロックに含まれる画素値の相互相
関を計算する相関計算手段24と、この相関計算手段に
よって得られた、A画像上のブロックとB画像上のブロ
ックの対応毎の相関係数の値を用い、A画像上のブロッ
クからB画像上のブロックへの相関係数の大きい順の、
昇順の順位づけ、及びB画像上のブロックからA画像上
のブロックへの相関係数の大きい順の、昇順の順位づけ
を行う相関係数順位づけ手段25と、この相関係数順位
づけ手段によって得られた順位に対し、あらかじめ与え
られた単調増加関数により、順位値をコスト値に変換す
るコスト計算手段26と、この相関計算手段で計算を行
った、A,B画像上のブロックのそれぞれの対応につい
て、コスト計算手段26によって得られた、A画像上の
ブロックからB画像上のブロックへのコストと、B画像
上の同じブロックからA画像上の同じブロックへのコス
トの和を計算するコスト加算手段27と、相関計算手段
24で計算を行った、A,B画像上のブロックの対応の
すべての組合せに関して、コスト加算手段27で求めた
順位の和を各組合せ毎に加算し、さらに各組合せの中の
対応に含まれないブロックの数に応じた一定のペナルテ
ィをその組合せの加算結果に加え、その結果が最小にな
る組合せを求める最小加算コスト選択手段28とから構
成されている。
This image matching method uses two images (
An image input means 21 for inputting images (A image, B image), an image storage means 22 for storing images inputted by this image input means, and A image, B image stored in this image storage means.
Image dividing means 2 that divides an image into blocks allowing overlap
3, and a correlation calculating means 24 for calculating the cross-correlation of pixel values included in the blocks for all or part of the correspondence between the blocks on the A image and the blocks on the B image generated by the image dividing means. , using the correlation coefficient values for each correspondence between blocks on the A image and blocks on the B image obtained by this correlation calculation means, calculate the correlation coefficient from the block on the A image to the block on the B image. In descending order,
Correlation coefficient ranking means 25 for ranking in ascending order and ranking in ascending order from blocks on the B image to blocks on the A image in ascending order, and this correlation coefficient ranking means For the obtained ranking, a cost calculation means 26 converts the ranking value into a cost value using a monotonically increasing function given in advance, and a cost calculation means 26 for converting the ranking value into a cost value using a monotonically increasing function given in advance. Regarding the correspondence, the cost of calculating the sum of the cost from the block on the A image to the block on the B image and the cost from the same block on the B image to the same block on the A image, obtained by the cost calculation means 26. For all the combinations of corresponding blocks on images A and B calculated by the addition means 27 and the correlation calculation means 24, the sum of the ranks obtained by the cost addition means 27 is added for each combination, and It consists of a minimum addition cost selection means 28 that adds a certain penalty according to the number of blocks not included in the correspondence in the combination to the addition result of the combination and finds the combination that minimizes the result.

【0031】次に、この画像マッチング方式の動作を説
明する。
Next, the operation of this image matching method will be explained.

【0032】画像入力手段21,画像記憶手段22,画
像分割手段23,相関計算手段24,相関係数順位づけ
手段25は、図1の各手段と同様に動作する。
Image input means 21, image storage means 22, image division means 23, correlation calculation means 24, and correlation coefficient ranking means 25 operate in the same manner as each means shown in FIG.

【0033】コスト計算手段26は、相関係数順位づけ
手段によって得られた順位に対し、あらかじめ与えられ
た単調増加関数fにより、順位値をコスト値に変換する
。順位値をOR[A(x)B(y)]及びOR[B(y
)A(x)]とすると、この関数によりそれぞれはf(
OR[A(x)B(y)]),f(OR[B(y)A(
x)])に変換される。
The cost calculating means 26 converts the ranking value into a cost value using a monotonically increasing function f given in advance for the ranking obtained by the correlation coefficient ranking means. The rank values are OR[A(x)B(y)] and OR[B(y)
)A(x)], each of them becomes f(
OR[A(x)B(y)]), f(OR[B(y)A(
x)]).

【0034】コスト加算手段27は、A,B画像上のブ
ロックの対応毎に、コスト計算手段26によって得られ
た、A画像上のブロックxからB画像上のブロックyへ
のコストと、B画像上の同じブロックyからA画像上の
同じブロックxへのコストの和W(x,y)を計算する
。 W(x,y)=OR[A(x)B(y)]+OR[B(
y)A(x)]さらに、ここで得られた順位の和W(x
,y)を、あらゆる対応の組合せに従って加算して、さ
らにその組合せの中の対応に含まれないブロックがあれ
ば、その数に応じて一定のペナルティを加えたものをコ
ストとし、コストが最小になる対応の組合せを最小加算
コスト選択手段28により求める。
The cost addition means 27 calculates the cost from the block x on the A image to the block y on the B image obtained by the cost calculation means 26 for each correspondence between the blocks on the A and B images, and the cost of the B image. Calculate the sum W(x, y) of costs from the same block y above to the same block x on the A image. W(x,y)=OR[A(x)B(y)]+OR[B(
y)A(x)] Furthermore, the sum of the ranks obtained here W(x
. The minimum additional cost selection means 28 determines the corresponding combination.

【0035】図3は、第3の発明の一実施例を示すブロ
ック図である。
FIG. 3 is a block diagram showing an embodiment of the third invention.

【0036】この画像マッチング方式は、二つの画像(
A画像,B画像)を入力する画像入力手段31と、この
画像入力手段で入力された画像を記憶する画像記憶手段
32と、この画像記憶手段に記憶されているA画像,B
画像を重複を許してブロックに分割する画像分割手段3
3と、この画像分割手段によって生成された、A画像上
のブロックとB画像上のブロックの、すべてあるいは一
部の対応について、ブロックに含まれる画素値の相互相
関を計算する相関計算手段34と、この相関計算手段に
よって得られた、A画像上のブロックとB画像上のブロ
ックの対応毎の相関係数の値を用い、A画像上のブロッ
クからB画像上の各ブロックへ相関係数の大きい順に、
一定の個数だけ昇順の順位づけを行い、順位づけされな
かったものについては、そのブロック間の対応の可能性
はないと判定するAB方向相関係数順位づけ及び対応判
定手段35と、相関計算手段34によって得られた、A
画像上のブロックとB画像上のブロックの対応毎の相関
係数の値を用い、B画像上のブロックからA画像上の各
ブロックへ相関係数の大きい順に、一定の個数だけ昇順
の順位づけを行い、順位づけされなかったものについて
は、そのブロック間の対応の可能性はないと判定するB
A方向相関係数順位づけ及び対応判定手段36と、相関
計算手段34で計算を行った、A,B画像上のブロック
のそれぞれの対応の中で、AB方向相関係数順位づけ及
び対応判定手段35並びにBA方向相関係数順位づけ及
び対応判定手段36によって、対応の可能性はないと判
断された対応を除いて、AB方向相関係数順位づけ及び
判定手段35によって得られた順位と、BA方向相関係
数順位づけ及び判定手段36によって得られた順位との
和を計算する相関係数順位加算手段37と、相関計算手
段34で計算を行った、A,B画像上のブロックの対応
のすべての組合せに関して、相関係数順位加算手段37
で求めた順位の和を、各組合せ毎に加算し、さらに各組
合せの中の対応に含まれないブロックの数に応じた一定
のペナルティを加え、その結果が最小になる対応の組合
せの中を、AB方向相関係数順位づけ及び判定手段35
及びBA方向相関係数順位づけ及び判定手段36によっ
て対応の可能性がないと判断されなかった対応の組合せ
の中から求める最小加算順位選択手段38とから構成す
る。
This image matching method uses two images (
An image input means 31 for inputting images (A image, B image), an image storage means 32 for storing images input by this image input means, and A image, B image stored in this image storage means.
Image dividing means 3 for dividing an image into blocks allowing overlap
3, and a correlation calculating means 34 for calculating the cross-correlation of pixel values included in the blocks for all or part of the correspondence between the blocks on the A image and the blocks on the B image generated by the image dividing means. , using the correlation coefficient values for each correspondence between the blocks on the A image and the blocks on the B image obtained by this correlation calculation means, the correlation coefficient is calculated from the block on the A image to each block on the B image. In descending order,
AB direction correlation coefficient ranking and correspondence determining means 35 that ranks a certain number of blocks in ascending order and determines that there is no possibility of correspondence between the blocks for blocks that are not ranked; and correlation calculating means. A obtained by 34
Using the correlation coefficient value for each correspondence between blocks on the image and blocks on the B image, rank the blocks on the B image to each block on the A image in ascending order by a certain number of blocks in descending order of correlation coefficient. B. If the blocks are not ranked, it is determined that there is no possibility of correspondence between the blocks.
Among the respective correspondences of blocks on the A and B images calculated by the A direction correlation coefficient ranking and correspondence determination means 36 and the correlation calculation means 34, the AB direction correlation coefficient ranking and correspondence determination means 35 and the BA direction correlation coefficient ranking and correspondence determination means 36, excluding correspondences determined to have no possibility of correspondence, the ranks obtained by the AB direction correlation coefficient ranking and determination means 35, and the BA Correlation coefficient rank addition means 37 calculates the sum with the rank obtained by directional correlation coefficient ranking and determination means 36, and correlation calculation means 34 calculates the correspondence between blocks on images A and B. For all combinations, correlation coefficient rank adding means 37
Add the sum of the ranks found in each combination for each combination, add a certain penalty according to the number of blocks that are not included in the correspondence in each combination, and select the combination of correspondences that minimizes the result. , AB direction correlation coefficient ranking and determination means 35
and a minimum addition rank selection means 38 for determining from among the combinations of correspondences that are not determined to have no possibility of correspondence by the BA direction correlation coefficient ranking and determination means 36.

【0037】次に、この画像マッチング方式の動作を説
明する。
Next, the operation of this image matching method will be explained.

【0038】画像入力手段31,画像記憶手段32,画
像分割手段33,相関計算手段34,相関係数順位加算
手段36は、図1の各手段と同様に動作する。
The image input means 31, the image storage means 32, the image division means 33, the correlation calculation means 34, and the correlation coefficient rank addition means 36 operate in the same manner as each means shown in FIG.

【0039】AB方向相関係数順位づけ及び対応判定手
段35は、相関計算手段34によって得られた、A画像
上のブロックとB画像上のブロックの対応毎の相関係数
の値を用い、A画像上のブロックからB画像上の各ブロ
ックへ相関係数の大きい順に、一定の個数OLだけ昇順
の順位づけを行い、順位づけされなかったものについて
は、そのブロック間の対応の可能性はないと判定する。
The AB direction correlation coefficient ranking and correspondence determination means 35 uses the correlation coefficient value for each correspondence between the block on the A image and the block on the B image obtained by the correlation calculation means 34, and From blocks on the image to each block on the B image, the blocks are ranked in ascending order by a certain number of OL in descending order of correlation coefficient, and for blocks that are not ranked, there is no possibility of correspondence between the blocks. It is determined that

【0040】すなわち、A画像上のあるブロックxに対
し、最も相関係数の値の高くなるB画像上のブロックに
対する順位を1とし、以下、相関係数の値の順に2,3
,…,OLとB画像上のブロックに順位OR[A(x)
B(y)]をつけていく。このとき順位がつかなかった
B画像上のブロックの集合をNCb(x)として、対応
の組合せに含まれることがない対応の集合NCを、
That is, for a certain block x on the A image, the order of the block on the B image with the highest correlation coefficient value is set to 1, and then the order of the correlation coefficient values is 2, 3, etc.
,..., the blocks on the OL and B images are ranked OR [A(x)
B(y)]. Let the set of blocks on the B image that were not ranked at this time be NCb(x), and the set of correspondences NC that is not included in the combination of correspondences is:

【数1】[Math 1]

【0041】[0041]

【0042】と計算する。Calculate as follows.

【0043】BA方向相関係数順位づけ及び対応判定手
段36は、相関計算手段34によって得られた、A画像
上のブロックとB画像上のブロックの対応について、対
応毎の相関係数の値を用い、B画像上のブロックからA
画像上の各ブロックへの相関係数の大きい順に、一定の
個数OLだけ昇順の順位づけを行い、順位づけされなか
ったものについては、そのブロック間の対応の可能性は
ないと判定する。
The BA direction correlation coefficient ranking and correspondence determination means 36 calculates the correlation coefficient value for each correspondence between the blocks on the A image and the blocks on the B image obtained by the correlation calculation means 34. A from the block on the B image
The blocks on the image are ranked in ascending order by a certain number OL in descending order of their correlation coefficients, and for blocks that are not ranked, it is determined that there is no possibility of correspondence between the blocks.

【0044】すなわち、B画像上のあるブロックxに対
し、最も相関係数の値の高くなるA画像上のブロックに
対する順位を1とし、以下、相関係数の値の順に2,3
,…,OLとB画像上のブロックに順位OR[B(y)
A(x)]をつけていく。このとき順位がつかなかった
A画像上のブロックの集合をNCa(x)として、対応
の組合せに含まれることがない対応の集合NCを、
That is, for a certain block x on the B image, the order of the block on the A image with the highest correlation coefficient value is set to 1, and then the order of the correlation coefficient values is 2, 3, etc.
,..., rank OR [B(y)
A(x)]. Let the set of blocks on image A that were not ranked at this time be NCa(x), and the set of correspondences NC that is not included in the combination of correspondences is:

【数2】[Math 2]

【0045】[0045]

【0046】と計算する。Calculate as follows.

【0047】相関係数順位加算手段37は、相関計算手
段34で計算を行った、A,B画像上のブロックのそれ
ぞれの対応の中で、対応の可能性はないと判断された対
応NCを除いて、AB方向相関係数順位づけ及び判定手
段35によって得られた順位OR[A(x)B(y)]
と、BA方向相関係数順位づけ及び判定手段36によっ
て得られた順位OR[B(y)A(x)]との和W(x
,y)を次式で計算する W(x,y)=OR[A(x)B(y)]+OR[B(
y)A(x)]最小加算順位選択手段38は、相関係数
順位加算手段37で計算を行った、A,B画像上のブロ
ックの対応のすべての組合せに関して、順位の和W(x
,y)を各組合せ毎に加算し、さらに各組合せの中の対
応に含まれないブロックの数に応じた一定のペナルティ
を加え、その結果が最小になる対応の組合せの中を、対
応の集合NCから除いた対応の中から求める。
[0047] The correlation coefficient rank addition means 37 selects the correspondence NC for which it is determined that there is no possibility of correspondence among the correspondences of the blocks on the A and B images calculated by the correlation calculation means 34. except for the rank OR [A(x)B(y)] obtained by the AB direction correlation coefficient ranking and determination means 35.
and the rank OR [B(y)A(x)] obtained by the BA direction correlation coefficient ranking and determination means 36
, y) using the following formula: W(x, y)=OR[A(x)B(y)]+OR[B(
y)A(x)] The minimum addition rank selection means 38 calculates the sum of ranks W(x
. Find responses from those excluded from NC.

【0048】図4は、第4の発明の一実施例を示すブロ
ック図である。
FIG. 4 is a block diagram showing an embodiment of the fourth invention.

【0049】この画像マッチング方式は、二つの画像(
A画像,B画像)を入力する画像入力手段41と、この
画像入力手段で入力された画像を記憶する画像記憶手段
42と、この画像記憶手段に記憶されているA画像,B
画像を走査線毎に分割し、さらに走査線を、重複を許し
てセグメントに分割する画像分割手段43と、同位置の
走査線上に存在する、画像分割手段43によって生成さ
れたA画像上のセグメント,B画像上のセグメント間の
すべてあるいは一部の対応について、画素値の相互相関
を計算する相関計算手段44と、この相関計算手段で計
算を行った、A,B画像上のセグメントの対応について
、対応毎の相関係数の値を用い、A画像上のセグメント
からB画像上のセグメントへの相関係数の大きい順の、
昇順の順位づけ、及びB画像上のセグメントからA画像
上のセグメントへの相関係数の大きい順の、昇順の順位
づけを行う相関係数順位づけ手段45と、この相関係数
順位づけ手段で計算を行ったA,B画像上のセグメント
間のそれぞれの対応について、A画像上のセグメントか
らB画像上のセグメントへの相関係数の順位と、B画像
上のセグメントからA画像上のセグメントへの相関係数
の順位の和を計算する相関係数順位加算手段46と、こ
の相関係数順位加算手段により計算を行った、A,B画
像上のセグメント間の対応について、隣接した対応同士
のパスだけでなく、隣接しない対応同士のパスも生成す
るパス生成手段47と、このパス生成手段により生成さ
れたパスを接続することによって表現されるすべての対
応の組合せに関して、相関係数順位加算手段46で求め
た順位の和を、各組合せ毎に加算し、さらに各組合せの
中の対応に含まれないブロックの数に応じた一定のペナ
ルティを加え、その結果が最小になる対応の組合せを動
的計画法を用い求める最小加算順位選択手段48とから
構成されている。
This image matching method uses two images (
An image input means 41 for inputting images (A image, B image), an image storage means 42 for storing images inputted by this image input means, and A image, B image stored in this image storage means.
An image dividing means 43 that divides an image into each scanning line and further divides each scanning line into segments by allowing overlap, and a segment on the A image generated by the image dividing means 43 that exists on the scanning line at the same position. Correlation calculation means 44 that calculates the cross-correlation of pixel values for all or part of the correspondence between segments on images A and B, and the correspondence between the segments on images A and B calculated by this correlation calculation means. , using the correlation coefficient values for each correspondence, from the segment on the A image to the segment on the B image in descending order of the correlation coefficient,
Correlation coefficient ranking means 45 for ranking in ascending order and ranking in ascending order from segments on the B image to segments on the A image in ascending order; For each correspondence between the calculated segments on images A and B, rank the correlation coefficient from the segment on image A to the segment on image B, and from the segment on image B to the segment on image A. Correlation coefficient rank addition means 46 calculates the sum of the ranks of the correlation coefficients of A path generating means 47 that generates not only paths but also paths between non-adjacent correspondences, and a correlation coefficient rank adding means for all combinations of correspondences expressed by connecting paths generated by this path generating means. Add the sum of the ranks obtained in step 46 for each combination, add a certain penalty according to the number of blocks that are not included in the correspondence in each combination, and move the combination of correspondences that minimizes the result. and a minimum addition rank selection means 48 which is determined using a systematic programming method.

【0050】次に、この画像マッチング方式の動作を説
明する。
Next, the operation of this image matching method will be explained.

【0051】画像入力手段41,画像記憶手段42,相
関計算手段44,相関係数順位づけ手段45,相関係数
順位加算手段46は、図1の各手段と同様に動作する。 画像分割手段43は、画像を走査線毎に分割し、さらに
各走査線をブロックに分割する。
The image input means 41, the image storage means 42, the correlation calculation means 44, the correlation coefficient ranking means 45, and the correlation coefficient rank addition means 46 operate in the same manner as each means shown in FIG. The image dividing means 43 divides the image into each scanning line, and further divides each scanning line into blocks.

【0052】不連続なパスを許す動的計画法を用いた最
小加算順位選択手段48を、図9を用いて説明する。こ
の図には走査線A上の軸x、走査線B上の軸yで構成さ
れる探索平面を示している。探索平面内で、相関計算手
段44で計算を行った対応の範囲をSで表している。ま
た、探索平面の各格子点には、双方向からの順位の和W
(x,y)が与えられている。最小加算順位選択手段で
は、p1とp2を結ぶ不連続を許すパスのなかで、パス
上の格子点に与えられたW(x,y)が最小になるもの
を選択する。
The minimum addition rank selection means 48 using dynamic programming that allows discontinuous paths will be explained with reference to FIG. This figure shows a search plane composed of an axis x on scanning line A and an axis y on scanning line B. The range of correspondence calculated by the correlation calculating means 44 within the search plane is represented by S. In addition, each grid point on the search plane has the sum W of ranks from both directions.
(x, y) are given. The minimum addition rank selection means selects the path that minimizes W(x, y) given to the lattice points on the path from among the paths connecting p1 and p2 that allow discontinuity.

【0053】最小加算順位選択手段では、x+y=tな
る直線Lを考え、tを1ずつ増やすことにより、Lをp
1からp2の位置まで順に移動させる。Lを移動する各
段階において、L上の格子点で、Sに含まれているもの
について、その格子点までの最小の到達コストを計算す
る。例えば格子点u(x,y)までの最小到達コストr
c(x,y)を以下のように求める。 rc(x,y)=min{rc(x−1,y−1)+W
(x,y),                   
     rc(x−1,y)+W(x,y),   
                     rc(x
−2,y)+W(x,y)+α,          
              rc(x−3,y)+W
(x,y)+2α,                
        rc(x−4,y)+W(x,y)+
3α,                      
                    ・    
                         
             ・           
                         
      ・                  
      rc(x,y−1)+W(x,y),  
                      rc(
x,y−2)+W(x,y)+α,         
               rc(x,y−3)+
W(x,y)+2α,               
         rc(x,y−4)+W(x,y)
+3α,                     
                     ・   
                         
              ・          
                         
       ・                 
         }ただし、αは対応を与えないブロ
ック1つをつくることに対するペナルティである。図中
で、対応(x,y)は黒い四角、対応(x−1,y−1
)、(x−1,y)、(x−2,y)、(x−3,y)
、・・・、及び対応(x,y−1)、((x,y−2)
、(x,y−3)、・・・は黒丸で示されている。Lが
p2に到着した地点で、p2での最小到達コストを与え
るパスが、第4の発明の与える対応の組合せである。
The minimum addition rank selection means considers a straight line L such that x+y=t, and by increasing t by 1, L is set to p.
Move from position 1 to position p2 in order. At each stage of moving L, the minimum cost of reaching the lattice point on L that is included in S is calculated. For example, the minimum cost r to reach the grid point u(x,y)
Find c(x,y) as follows. rc(x,y)=min{rc(x-1,y-1)+W
(x,y),
rc(x-1,y)+W(x,y),
rc(x
−2,y)+W(x,y)+α,
rc(x-3,y)+W
(x,y)+2α,
rc(x-4,y)+W(x,y)+
3α,





rc(x,y-1)+W(x,y),
rc(
x,y-2)+W(x,y)+α,
rc(x,y-3)+
W(x,y)+2α,
rc(x,y-4)+W(x,y)
+3α,





}However, α is the penalty for creating one block that does not provide correspondence. In the figure, the correspondence (x, y) is a black square, the correspondence (x-1, y-1
), (x-1, y), (x-2, y), (x-3, y)
, ..., and the correspondence (x, y-1), ((x, y-2)
, (x, y-3), . . . are indicated by black circles. At the point where L arrives at p2, the path that gives the minimum arrival cost at p2 is the combination of correspondences given by the fourth invention.

【0054】[0054]

【発明の効果】以上説明したように、本発明の画像マッ
チング方式は、オクルージョン領域には対応を与える可
能性が減少する。そのため、本来マッチングができない
ところに、無理に対応付けることが少なくなり、マッチ
ングの正確さが向上する。
As described above, the image matching method of the present invention reduces the possibility of providing correspondence to occlusion areas. Therefore, there is less need to force a match where matching is not possible, and the accuracy of matching is improved.

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

【図1】第1の発明の一実施例を示すブロック図である
FIG. 1 is a block diagram showing an embodiment of the first invention.

【図2】第2の発明の一実施例を示すブロック図である
FIG. 2 is a block diagram showing an embodiment of the second invention.

【図3】第3の発明の一実施例を示すブロック図である
FIG. 3 is a block diagram showing an embodiment of the third invention.

【図4】第4の発明の一実施例を示すブロック図である
FIG. 4 is a block diagram showing an embodiment of the fourth invention.

【図5】オクルージョン領域があった場合に、従来の方
式では間違った対応を与えてしまう例を説明するための
図である。
FIG. 5 is a diagram for explaining an example in which a conventional method gives an incorrect response when there is an occlusion area.

【図6】本発明の画像マッチング方式では正確な対応を
与えることを示す例を説明するための図である。
FIG. 6 is a diagram for explaining an example showing that the image matching method of the present invention provides accurate correspondence.

【図7】1次元画像のマッチングにおいて、オクルージ
ョン領域を不連続なパスで示した例を説明するための図
である。
FIG. 7 is a diagram for explaining an example in which occlusion areas are shown as discontinuous paths in one-dimensional image matching.

【図8】従来の動的計画法と不連続なパスを許す動的計
画法との違いを示す図である。
FIG. 8 is a diagram showing the difference between conventional dynamic programming and dynamic programming that allows discontinuous paths.

【図9】不連続なパスを許す動的計画法の説明図である
FIG. 9 is an explanatory diagram of a dynamic programming method that allows discontinuous paths.

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

11  画像入力手段 12  画像記憶手段 13  画像分割手段 14  相関計算手段 15  相関係数順位づけ手段 16  相関係数順位加算手段 17  最小加算順位選択手段 21  画像入力手段 22  画像記憶手段 23  画像分割手段 24  相関計算手段 25  相関係数順位づけ手段 26  コスト計算手段 27  コスト加算手段 28  最小加算コスト選択手段 31  画像入力手段 32  画像記憶手段 33  画像分割手段 34  相関計算手段 35  AB方向相関係数順位づけ及び対応判定手段3
6  BA方向相関係数順位づけ及び対応判定手段37
  相関係数順位加算手段 38  最小加算順位選択手段 41  画像入力手段 42  画像記憶手段 43  画像分割手段 44  相関計算手段 45  相関係数順位づけ手段 46  相関係数順位加算手段 47  パス生成手段 48  最小加算順位選択手段
11 Image input means 12 Image storage means 13 Image division means 14 Correlation calculation means 15 Correlation coefficient ranking means 16 Correlation coefficient rank addition means 17 Minimum addition rank selection means 21 Image input means 22 Image storage means 23 Image division means 24 Correlation Calculation means 25 Correlation coefficient ranking means 26 Cost calculation means 27 Cost addition means 28 Minimum added cost selection means 31 Image input means 32 Image storage means 33 Image division means 34 Correlation calculation means 35 AB direction correlation coefficient ranking and correspondence determination Means 3
6 BA direction correlation coefficient ranking and correspondence determination means 37
Correlation coefficient rank addition means 38 Minimum addition rank selection means 41 Image input means 42 Image storage means 43 Image division means 44 Correlation calculation means 45 Correlation coefficient ranking means 46 Correlation coefficient rank addition means 47 Path generation means 48 Minimum addition rank selection means

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】下記a〜gからなる画像マッチング方式。 a.二つの画像(A画像,B画像)を入力する画像入力
手段 b.前記画像入力手段で入力された画像を記憶する画像
記憶手段 c.前記画像記憶手段に記憶されているA画像,B画像
を重複を許してブロックに分割する画像分割手段d.前
記画像分割手段によって生成された、A画像上のブロッ
クとB画像上のブロックの、すべてあるいは一部の対応
について、ブロックに含まれる画素値の相互相関を計算
する相関計算手段 e.前記相関計算手段によって得られた、A画像上のブ
ロックとB画像上のブロックの対応毎の相関係数の値を
用い、A画像上のブロックからB画像上のブロックへの
相関係数の大きい順の、昇順の順位づけ、及びB画像上
のブロックからA画像上のブロックへの相関係数の大き
い順の、昇順の順位づけを行う相関係数順位づけ手段f
.前記相関計算手段で計算を行った、A,B画像上のブ
ロックのそれぞれの対応について、前記相関係数順位づ
け手段によって得られた、A画像上のブロックからB画
像上のブロックへの相関係数の順位と、B画像上の同じ
ブロックからA画像上の同じブロックへの相関係数の順
位の和を計算する相関係数順位加算手段g.前記相関計
算手段で計算を行った、A,B画像上のブロックの対応
のすべての組合せに関して、前記相関係数順位加算手段
で求めた順位の和を各組合せ毎に加算し、さらに各組合
せの中の対応に含まれないブロックの数に応じた一定の
ペナルティを、その組合せの加算結果に加え、その結果
が最小になる組合せを求める最小加算順位選択手段。
Claim 1: An image matching method consisting of the following a to g. a. Image input means for inputting two images (image A, image B) b. image storage means for storing the image input by the image input means c. image dividing means for dividing the A image and B image stored in the image storage means into blocks while allowing overlap; d. Correlation calculating means for calculating the cross-correlation of pixel values included in the blocks for all or part of the correspondence between the blocks on the A image and the blocks on the B image generated by the image dividing means e. Using the value of the correlation coefficient for each correspondence between the block on the A image and the block on the B image obtained by the correlation calculation means, the correlation coefficient from the block on the A image to the block on the B image is large. Correlation coefficient ranking means f for ranking in ascending order, and ranking in ascending order from the blocks on the B image to the blocks on the A image in the order of the larger correlation coefficient.
.. Correlation from blocks on image A to blocks on image B, obtained by the correlation coefficient ranking means, for each correspondence between blocks on images A and B calculated by the correlation calculation means. correlation coefficient rank adding means for calculating the sum of the rank of the number and the rank of the correlation coefficient from the same block on the B image to the same block on the A image g. For all combinations of blocks on images A and B calculated by the correlation calculation means, the sum of the ranks obtained by the correlation coefficient rank addition means is added for each combination, and Minimum addition rank selection means that adds a certain penalty according to the number of blocks not included in the correspondence to the addition result of the combination to find the combination that minimizes the result.
【請求項2】下記a〜hからなる画像マッチング方式。 a.二つの画像(A画像,B画像)を入力する画像入力
手段 b.前記画像入力手段で入力された画像を記憶する画像
記憶手段 c.前記画像記憶手段に記憶されているA画像,B画像
を重複を許してブロックに分割する画像分割手段d.前
記画像分割手段によって生成された、A画像上のブロッ
クとB画像上のブロックの、すべてあるいは一部の対応
について、ブロックに含まれる画素値の相互相関を計算
する相関計算手段 e.前記相関計算手段によって得られた、A画像上のブ
ロックとB画像上のブロックの対応毎の相関係数の値を
用い、A画像上のブロックからB画像上のブロックへの
相関係数の大きい順の、昇順の順位づけ、及びB画像上
のブロックからA画像上のブロックへの相関係数の大き
い順の、昇順の順位づけを行う相関係数順位づけ手段f
.前記相関係数順位づけ手段によって得られた順位に対
し、あらかじめ与えられた単調増加関数により、順位値
をコスト値に変換するコスト計算手段g.前記相関計算
手段で計算を行った、A,B画像上のブロックのそれぞ
れの対応について、前記コスト計算手段によって得られ
た、A画像上のブロックからB画像上のブロックへのコ
ストと、B画像上の同じブロックからA画像上の同じブ
ロックへのコストの和を計算するコスト加算手段 h.前記相関計算手段で計算を行った、A,B画像上の
ブロックの対応のすべての組合せに関して、前記コスト
加算手段で求めた順位の和を各組合せ毎に加算し、さら
に各組合せの中の対応に含まれないブロックの数に応じ
た一定のペナルティをその組合せの加算結果に加え、そ
の結果が最小になる組合せを求める最小加算コスト選択
手段。
2. An image matching method consisting of the following a to h. a. Image input means for inputting two images (image A, image B) b. image storage means for storing the image input by the image input means c. image dividing means for dividing the A image and B image stored in the image storage means into blocks while allowing overlap; d. Correlation calculating means for calculating the cross-correlation of pixel values included in the blocks for all or part of the correspondence between the blocks on the A image and the blocks on the B image generated by the image dividing means e. Using the value of the correlation coefficient for each correspondence between the block on the A image and the block on the B image obtained by the correlation calculation means, the correlation coefficient from the block on the A image to the block on the B image is large. Correlation coefficient ranking means f for ranking in ascending order, and ranking in ascending order from the blocks on the B image to the blocks on the A image in the order of the larger correlation coefficient.
.. g. cost calculating means for converting the ranking value into a cost value using a monotonically increasing function given in advance for the ranking obtained by the correlation coefficient ranking means; g. The cost from the block on the A image to the block on the B image obtained by the cost calculation means for each correspondence between the blocks on the A and B images calculated by the correlation calculation means, and the B image Cost addition means for calculating the sum of costs from the same block on the A image to the same block on the A image h. For all combinations of correspondences between blocks on images A and B calculated by the correlation calculation means, the sum of ranks obtained by the cost addition means is added for each combination, and further the correspondences in each combination are added. Minimum addition cost selection means for adding a certain penalty according to the number of blocks not included in the combination to the addition result of the combination and finding the combination that minimizes the result.
【請求項3】下記a〜hからなる画像マッチング方式。 a.二つの画像(A画像,B画像)を入力する画像入力
手段 b.前記画像入力手段で入力された画像を記憶する画像
記憶手段 c.前記画像記憶手段に記憶されているA画像,B画像
を重複を許してブロックに分割する画像分割手段d.前
記画像分割手段によって生成された、A画像上のブロッ
クとB画像上のブロックの、すべてあるいは一部の対応
について、ブロックに含まれる画素値の相互相関を計算
する相関計算手段 e.前記相関計算手段によって得られた、A画像上のブ
ロックとB画像上のブロックの対応毎の相関係数の値を
用い、A画像上のブロックからB画像上の各ブロックへ
相関係数の大きい順に、一定の個数だけ昇順の順位づけ
を行い、順位づけされなかったものについては、そのブ
ロック間の対応の可能性はないと判定するAB方向相関
係数順位づけ及び対応判定手段 f.前記相関計算手段によって得られた、A画像上のブ
ロックとB画像上のブロックの対応毎の相関係数の値を
用い、B画像上のブロックからA画像上の各ブロックへ
相関係数の大きい順に、一定の個数だけ昇順の順位づけ
を行い、順位づけされなかったものについては、そのブ
ロック間の対応の可能性はないと判定するBA方向相関
係数順位づけ及び対応判定手段 g.前記相関計算手段で計算を行った、A,B画像上の
ブロックのそれぞれの対応の中で、前記AB方向相関係
数順位づけ及び対応判定手段並びにBA方向相関係数順
位づけ及び対応判定手段によって、対応の可能性はない
と判断された対応を除いて、前記AB方向相関係数順位
づけ及び判定手段によって得られた順位と、前記BA方
向相関係数順位づけ及び判定手段によって得られた順位
との和を計算する相関係数順位加算手段h.前記相関計
算手段で計算を行った、A,B画像上のブロックの対応
のすべての組合せに関して、前記相関係数順位加算手段
で求めた順位の和を、各組合せ毎に加算し、さらに各組
合せの中の対応に含まれないブロックの数に応じた一定
のペナルティを加え、その結果が最小になる対応の組合
せの中を、前記AB方向相関係数順位づけ及び判定手段
及び前記BA方向相関係数順位づけ及び判定手段によっ
て対応の可能性がないと判断されなかった対応の組合せ
の中から求める最小加算順位選択手段。
3. An image matching method consisting of the following a to h. a. Image input means for inputting two images (image A, image B) b. image storage means for storing the image input by the image input means c. image dividing means for dividing the A image and B image stored in the image storage means into blocks while allowing overlap; d. Correlation calculating means for calculating the cross-correlation of pixel values included in the blocks for all or part of the correspondence between the blocks on the A image and the blocks on the B image generated by the image dividing means e. Using the correlation coefficient values obtained by the correlation calculation means for each correspondence between blocks on the A image and blocks on the B image, the correlation coefficient is calculated from the block on the A image to each block on the B image. A and B direction correlation coefficient ranking and correspondence determining means f. sequentially ranking a certain number of blocks in ascending order, and determining that there is no possibility of correspondence between blocks that are not ranked; f. Using the correlation coefficient values obtained by the correlation calculation means for each correspondence between blocks on the A image and blocks on the B image, the correlation coefficient is calculated from the block on the B image to each block on the A image. g. BA direction correlation coefficient ranking and correspondence determining means for ranking a certain number of blocks in ascending order and determining that there is no possibility of correspondence between blocks that are not ranked; g. Among the correspondence between the blocks on the A and B images calculated by the correlation calculation means, the AB direction correlation coefficient ranking and correspondence determination means and the BA direction correlation coefficient ranking and correspondence determination means , the ranking obtained by the AB direction correlation coefficient ranking and determination means and the rank obtained by the BA direction correlation coefficient ranking and determination means, excluding correspondences for which it is determined that there is no possibility of correspondence. Correlation coefficient rank addition means for calculating the sum of h. For all combinations of corresponding blocks on images A and B calculated by the correlation calculation means, the sum of ranks obtained by the correlation coefficient rank addition means is added for each combination, and The AB direction correlation coefficient ranking and determination means and the BA direction correlation Minimum addition rank selection means for determining from among the combinations of correspondences that are not determined to have no possibility of correspondence by the numerical ranking and determination means.
【請求項4】下記a〜hからなる画像マッチング方式。 a.二つの画像(A画像,B画像)を入力する画像入力
手段 b.前記画像入力手段で入力された画像を記憶する画像
記憶手段 c.前記画像記憶手段に記憶されているA画像,B画像
を走査線毎に分割し、さらに走査線を、重複を許してセ
グメントに分割する画像分割手段 d.同位置の走査線上に存在する、前記画像分割手段に
よって生成されたA画像上のセグメント、B画像上のセ
グメント間のすべてあるいは一部の対応について、画素
値の相互相関を計算する相関計算手段 e.前記相関計算手段で計算を行った、A,B画像上の
セグメントの対応について、対応毎の相関係数の値を用
い、A画像上のセグメントからB画像上のセグメントへ
の相関係数の大きい順の、昇順の順位づけ、及びB画像
上のセグメントからA画像上のセグメントへの相関係数
の大きい順の、昇順の順位づけを行う相関係数順位づけ
手段 f.前記相関係数順位づけ手段で計算を行ったA,B画
像上のセグメント間のそれぞれの対応について、A画像
上のセグメントからB画像上のセグメントへの相関係数
の順位と、B画像上のセグメントからA画像上のセグメ
ントへの相関係数の順位の和を計算する相関係数順位加
算手段 g.前記相関係数順位加算手段により計算を行った、A
,B画像上のセグメント間の対応について、隣接した対
応同士のパスだけでなく、隣接しない対応同士のパスも
生成するパス生成手段 h.前記パス生成手段により生成されたパスを接続する
ことによって表現されるすべての対応の組合せに関して
、前記相関係数順位加算手段で求めた順位の和を、各組
合せ毎に加算し、さらに各組合せの中の対応に含まれな
いブロックの数に応じた一定のペナルティを加え、その
結果が最小になる対応の組合せを動的計画法を用い求め
る最小加算順位選択手段。
4. An image matching method consisting of the following a to h. a. Image input means for inputting two images (image A, image B) b. image storage means for storing the image input by the image input means c. image dividing means for dividing images A and B stored in the image storage means into each scanning line, and further dividing the scanning lines into segments by allowing overlap; d. Correlation calculating means e that calculates the cross-correlation of pixel values for all or part of the correspondence between the segments on the A image and the segments on the B image generated by the image dividing means, which exist on the scanning line at the same position. .. Regarding the correspondence between the segments on the A and B images calculated by the correlation calculation means, the value of the correlation coefficient for each correspondence is used, and the correlation coefficient from the segment on the A image to the segment on the B image is large. Correlation coefficient ranking means for ranking in ascending order, and ranking in ascending order of correlation coefficients from segments on the B image to segments on the A image, f. Regarding each correspondence between the segments on images A and B calculated by the correlation coefficient ranking means, the ranking of the correlation coefficient from the segment on image A to the segment on image B, and the correlation coefficient on image B Correlation coefficient rank adding means for calculating the sum of the ranks of correlation coefficients from the segment to the segment on the A image g. A calculated by the correlation coefficient rank addition means
, A path generating means for generating not only paths between adjacent correspondences but also paths between non-adjacent correspondences regarding the correspondence between segments on the B image h. For all the corresponding combinations expressed by connecting the paths generated by the path generation means, the sum of the ranks obtained by the correlation coefficient rank addition means is added for each combination, and Minimum addition rank selection means that adds a certain penalty according to the number of blocks that are not included in the correspondences, and uses dynamic programming to find a combination of correspondences that minimizes the result.
JP3085889A 1991-03-27 1991-03-27 Image matching method Expired - Fee Related JP3027995B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3085889A JP3027995B2 (en) 1991-03-27 1991-03-27 Image matching method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3085889A JP3027995B2 (en) 1991-03-27 1991-03-27 Image matching method

Publications (2)

Publication Number Publication Date
JPH04299474A true JPH04299474A (en) 1992-10-22
JP3027995B2 JP3027995B2 (en) 2000-04-04

Family

ID=13871466

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3085889A Expired - Fee Related JP3027995B2 (en) 1991-03-27 1991-03-27 Image matching method

Country Status (1)

Country Link
JP (1) JP3027995B2 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005195555A (en) * 2004-01-09 2005-07-21 Fujitsu Ten Ltd Device, method and program for determining combination
JP2007316950A (en) * 2006-05-25 2007-12-06 Nippon Telegr & Teleph Corp <Ntt> Method, apparatus and program for processing image
JP2010160802A (en) * 2010-02-08 2010-07-22 Fujitsu Semiconductor Ltd Method and device for processing image including mobile object
JP2011165117A (en) * 2010-02-15 2011-08-25 Nec System Technologies Ltd Apparatus, method and program for processing image
JP2011243194A (en) * 2010-05-14 2011-12-01 Honda Research Institute Europe Gmbh Image processing method for searching correspondence point
US8831335B2 (en) 2008-11-25 2014-09-09 Nec Solution Innovators, Ltd. Stereo matching processing apparatus, stereo matching processing method and computer-readable recording medium
JP2019066412A (en) * 2017-10-04 2019-04-25 株式会社Soken Range-finding device
JP2021005417A (en) * 2020-10-02 2021-01-14 日本電信電話株式会社 Verification device, method, and program

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005195555A (en) * 2004-01-09 2005-07-21 Fujitsu Ten Ltd Device, method and program for determining combination
JP2007316950A (en) * 2006-05-25 2007-12-06 Nippon Telegr & Teleph Corp <Ntt> Method, apparatus and program for processing image
US8831335B2 (en) 2008-11-25 2014-09-09 Nec Solution Innovators, Ltd. Stereo matching processing apparatus, stereo matching processing method and computer-readable recording medium
JP2010160802A (en) * 2010-02-08 2010-07-22 Fujitsu Semiconductor Ltd Method and device for processing image including mobile object
JP2011165117A (en) * 2010-02-15 2011-08-25 Nec System Technologies Ltd Apparatus, method and program for processing image
JP2011243194A (en) * 2010-05-14 2011-12-01 Honda Research Institute Europe Gmbh Image processing method for searching correspondence point
JP2019066412A (en) * 2017-10-04 2019-04-25 株式会社Soken Range-finding device
JP2021005417A (en) * 2020-10-02 2021-01-14 日本電信電話株式会社 Verification device, method, and program

Also Published As

Publication number Publication date
JP3027995B2 (en) 2000-04-04

Similar Documents

Publication Publication Date Title
US5991463A (en) Source data interpolation method and apparatus
JPWO2008129875A1 (en) Detection device, detection method, and integrated circuit for detection
US20110134315A1 (en) Bi-Directional, Local and Global Motion Estimation Based Frame Rate Conversion
US6980237B2 (en) Image processing method
CN101444094B (en) Method for interpolating a previous and subsequent image of an input image sequence
WO2011067870A1 (en) Image processing device and image processing method
JPH04299474A (en) Picture matching system
JP2019152980A (en) Image processing system, image processing method and program
US20080247742A1 (en) Optical apparatus
US8526680B2 (en) Image processing method, image processing program, image processing device, and imaging device
US20080298695A1 (en) Motion vector detecting apparatus, motion vector detecting method and interpolation frame creating apparatus
US8243801B2 (en) Motion prediction apparatus and motion prediction method
JP2003150940A (en) Stereo image processor
JP2008171247A (en) Motion detecting device, method and program
KR0147218B1 (en) A method for estimating high speed motion of hdtv
JP6579727B1 (en) Moving object detection device, moving object detection method, and moving object detection program
US9106926B1 (en) Using double confirmation of motion vectors to determine occluded regions in images
JP5788299B2 (en) Image search apparatus, image search method, and program
US20070126699A1 (en) Optical navigation device and method of operating the same
JP5051670B2 (en) Image processing apparatus, image processing method, and image processing program
JPH09261646A (en) Motion detector for image
JP4872424B2 (en) Image processing apparatus, image processing method, and program
JP2003022442A (en) Method and device for object detection and position measurement, execution program for the same method, and its recording medium
TWI719591B (en) Method and computer system for object tracking
JP2009290277A (en) Signal processor

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080204

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20090204

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20100204

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees