JP3027995B2 - Image matching method - Google Patents

Image matching method

Info

Publication number
JP3027995B2
JP3027995B2 JP3085889A JP8588991A JP3027995B2 JP 3027995 B2 JP3027995 B2 JP 3027995B2 JP 3085889 A JP3085889 A JP 3085889A JP 8588991 A JP8588991 A JP 8588991A JP 3027995 B2 JP3027995 B2 JP 3027995B2
Authority
JP
Japan
Prior art keywords
image
correlation coefficient
block
correspondence
blocks
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
JP3085889A
Other languages
Japanese (ja)
Other versions
JPH04299474A (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 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

Description

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

【0001】[0001]

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

【0002】[0002]

【従来の技術】従来、画像マッチングに関する技術の中
で、ブロックマッチングを用いた方式として、特公昭6
2−107386号公報「画像マッチング方式」、米国
特許4677476号明細書“METHOD FOR
DETECTING A MOVEMENT OF A
TELEVISION SIGNAL”に記載されて
いるような技術が知られている。これらの方式では記憶
装置に格納されている2個の画像データのマッチング処
理を行う際に、画像の一方を複数のブロックに分割し、
各ブロックを平行にずらしながら他方の画像と相互相関
をとり、相関が最大になったところが他方の画像と対応
するブロックであると推定する。
2. Description of the Related Art Among conventional image matching techniques, a system using block matching is known as Japanese Patent Publication No.
2-107386, "Image matching method", U.S. Pat. No. 4,677,476, "METHOD FOR"
DETECTING A MOVEMENT OF A
A technique described in "Television Signal" is known. In these systems, when performing a matching process of two image data stored in a storage device, one of an image is divided into a plurality of blocks. And
Cross-correlation is performed with the other image while shifting each block in parallel, and it is estimated that the portion where the correlation is maximum is the block corresponding to the other image.

【0003】[0003]

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

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

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

【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画像上の
ブロックの対応のすべての組合せに関して、前記相関係
数順位加算手段で求めた順位の和を各組合せ毎に加算
し、さらに各組合せの中の対応を与えないブロックの数
に比例する数を求め、それをペナルティとしてその組合
せの加算結果に加え、その結果が最小になる組合せを求
める最小加算順位選択手段を備えることを特徴とする。
According to the first aspect of the present invention, there is provided an image matching system comprising: a. Image input means for inputting two images (A image and B image) b. Image storage means for storing the image input by the image input means c. An image dividing unit that divides the A image and the B image stored in the image storage unit into blocks while allowing overlap; d. Correlation calculation means for calculating the cross-correlation of the pixel values included in the blocks for all or some of the correspondence between the blocks on the A image and the blocks on the B image generated by the image division 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 for ranking in ascending order, and in ascending order from a block on the B image to a block on the A image in descending order of the correlation coefficient f. For each correspondence between the blocks on the A and B images calculated by the correlation calculating means, the block B on the A image obtained by the correlation coefficient ranking means is used.
Correlation coefficient rank adding means for calculating the sum of the rank of the correlation coefficient to the block on the image 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 the A and B images 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 further, Number of blocks that do not give a correspondence
, A penalty is added to the addition result of the combination, and a minimum addition order selecting means for obtaining a combination that minimizes the result is provided.

【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画像上の
ブロックの対応のすべての組合せに関して、前記コスト
加算手段で求めた順位の和を各組合せ毎に加算し、さら
に各組合せの中の対応を与えないブロックの数に比例す
る数を求め、それをペナルティとしてその組合せの加算
結果に加え、その結果が最小になる組合せを求める最小
加算コスト選択手段を備えることを特徴とする。
[0007] The image matching method according to the second invention comprises the following steps: a. Image input means for inputting two images (A image and B image) b. Image storage means for storing the image input by the image input means c. An image dividing unit that divides the A image and the B image stored in the image storage unit into blocks while allowing overlap; d. Correlation calculating means for calculating the cross-correlation of the pixel values included in the blocks for all or some 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 for ranking in ascending order, and in ascending order from a block on the B image to a block on the A image in descending order of the correlation coefficient f. Cost calculating means for converting the rank value into a cost value by a predetermined monotone increasing function with respect to the rank obtained by the correlation coefficient ranking means; g. For each correspondence between the blocks on the A and B images calculated by the correlation calculation unit, the cost from the block on the A image to the block on the B image, obtained by the cost calculation unit, and the B image Cost adding means for calculating the sum of costs from the same block above to the same block on the A image h. For all the combinations of the blocks on the A and B images calculated by the correlation calculating means, the sum of the ranks obtained by the cost adding means is added for each combination, and the correspondence in each combination is further added. Is proportional to the number of blocks that do not give
A minimum addition cost selecting means for obtaining a combination which obtains a minimum number, adds the result as a penalty to the addition result of the combination, and obtains a combination which 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方向相関係数順位づけ及び判定手段によっ
て対応の可能性がないと判断されなかった対応の組合せ
の中から求める最小加算順位選択手段を備えることを特
徴とする。
[0008] An image matching method according to a third aspect of the present invention comprises: a. Image input means for inputting two images (A image and B image) b. Image storage means for storing the image input by the image input means c. An image dividing unit that divides the A image and the B image stored in the image storage unit into blocks while allowing overlap; d. Correlation calculation means for calculating the cross-correlation of the pixel values included in the blocks for all or some of the correspondence between the blocks on the A image and the blocks on the B image generated by the image division means e. 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 calculating means is used to increase the correlation coefficient from the block on the A image to each block on the B image. AB order correlation coefficient ranking and correspondence determination means for sequentially determining a certain number in ascending order and determining that there is no possibility of correspondence between the blocks for the unordered ones. F. 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 B image to each block on the A image is large. BA order correlation coefficient ranking and correspondence judging means for judging in ascending order by a certain number in order and determining that there is no possibility of correspondence between the blocks for those not ranked g. In the correspondence of the blocks on the A and B images calculated by the correlation calculation means, by the AB direction correlation coefficient ranking and correspondence determination means and the BA direction correlation coefficient ranking and correspondence determination means And the order obtained by the AB direction correlation coefficient ranking and determination means, and the order obtained by the BA direction correlation coefficient ranking and determination means, except for the correspondence determined to be impossible. Correlation coefficient rank adding means for calculating the sum of h. For all combinations of the blocks on the A and B images 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 further, Number of unassigned blocks in
Is calculated as a penalty, and the union
In addition to the summation result of the set, there is no possibility that the AB direction correlation coefficient ranking and determination means and the BA direction correlation coefficient ranking and determination means will correspond in the correspondence combinations that minimize the result. It is characterized by comprising a minimum addition order selecting means for obtaining from the corresponding combinations which have not been determined to be.

【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.前記パス生成手段により生成されたパスを接続する
ことによって表現されるすべての対応の組合せに関し
て、前記相関係数順位加算手段で求めた順位の和を、各
組合せ毎に加算し、さらに各組合せの中の対応を与えな
いブロックの数に比例する数を求め、それをペナルティ
としてその組合わせの加算結果に加え、その結果が最小
になる対応の組合せを動的計画法を用い求める最小加算
順位選択手段を備えることを特徴とする。
An image matching method according to a fourth aspect of the present invention comprises: a. Image input means for inputting two images (A image and B image) b. Image storage means for storing the image input by the image input means c. Image dividing means for dividing the A image and the B image stored in the image storage means for each scanning line, and further dividing the scanning lines into segments while allowing overlaps. D. Correlation calculating means e for calculating the cross-correlation of pixel values for all or some correspondences between segments on the A image and segments on the B image generated by the image dividing means, which are present on the scanning line at the same position. . For 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 in ascending order from the segment on the B image to the segment on the A image in descending order of the correlation coefficient f. For each correspondence between the segments on the A and B images calculated by the correlation coefficient ranking means, the order of the correlation coefficient from the segment on the A image to the segment on the B image, Correlation coefficient rank adding means for calculating the sum of the rank of the correlation coefficient from the segment to the segment on the A image g. The calculation was performed by the correlation coefficient rank adding means,
Path generation means for generating not only paths between adjacent correspondences but also paths between non-adjacent correspondences regarding the correspondence between segments on the A and B images h. For all the corresponding combinations represented by connecting the paths generated by the path generating means, the sum of the ranks determined by the correlation coefficient rank adding means is added for each combination, and further, Don't give me a medium response
Find a number proportional to the number of new blocks and penalize it.
In addition to the addition result of the combination, there is provided a minimum addition order selecting means for obtaining a corresponding combination that minimizes the result by using the dynamic programming method.

【0010】[0010]

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

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

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

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

【0014】次に、A画像上のブロックとB画像上のブ
ロックの対応の組合せの中で、順位の和をその組合せに
従って加算して、さらにその組合せの中の対応を与えな
いブロックの数に比例する数を求め、それをペナルティ
として加えたものをコストとして求める。図6の例を考
えると、オクルージョン領域にあるブロック(ア)にも
対応(ア)−(イ)を与えた組合せのコストと、オクル
ージョン領域にあるブロック(ア)には対応を与えない
組合せのコストを比較した場合、後者の方が小さくなる
と考えられる。よって、コストが最小になる対応の組合
せを求めれば、それはオクルージョン領域にあるブロッ
クを除いた組合せになっていると期待できる。
Next, among the combinations of the correspondence between the block on the A picture and the block on the B picture, the sum of the ranks is added according to the combination, and the correspondence in the combination is not given.
Find a number proportional to the number of new blocks and penalize it.
Obtaining a cost plus a. Considering the example of FIG. 6, the cost of a combination giving (a)-(b) to the block (a) in the occlusion area and the cost of a combination giving no correspondence to the block (a) in the occlusion area are considered. When comparing costs, the latter is considered to be smaller. Therefore, if a corresponding combination that minimizes the cost is obtained, it can be expected that the combination is a combination excluding the blocks in the occlusion area.

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

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

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

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

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

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

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

【0022】[0022]

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

【0023】この画像マッチング方式は、二つの画像
(A画像,B画像)を入力する画像入力手段11と、こ
の画像入力手段で入力された画像を記憶する画像記憶手
段12と、この画像記憶手段に記憶されているA画像,
B画像を重複を許してブロックに分割する画像分割手段
13と、この画像分割手段によって生成された、A画像
上のブロックとB画像上のブロックの、すべてあるいは
一部の対応について、ブロックに含まれる画素値の相互
相関を計算する相関計算手段14と、この相関計算手段
によって得られた、A画像上のブロックとB画像上のブ
ロックの対応毎の相関係数の値を用い、A画像上のブロ
ックからB画像上のブロックへの相関係数の大きい順
の、昇順の順位づけ、及びB画像上のブロックからA画
像上のブロックへの相関係数の大きい順の、昇順の順位
づけを行う相関係数順位づけ手段15と、相関計算手段
14で計算を行った、A,B画像上のブロックのそれぞ
れの対応について、相関係数順位づけ手段15によって
得られた、A画像上のブロックからB画像上のブロック
への相関係数の順位と、B画像上の同じブロックからA
画像上の同じブロックへの相関係数の順位の和を計算す
る相関係数順位加算手段16と、相関計算手段14で計
算を行った、A,B画像上のブロックの対応のすべての
組合せに関して、相関係数順位加算手段16で求めた順
位の和を各組合せ毎に加算し、さらに各組合せの中の対
を与えないブロックの数に比例する数を求め、それを
ペナルティとして加えたものを、その組合せの加算結果
に加え、その結果が最小になる組合せを求める最小加算
順位選択手段17とから構成されている。
This image matching method includes an image input means 11 for inputting two images (A image and B image), an image storage means 12 for storing an image input by the image input means, and an image storage means. A image stored in
An image dividing unit 13 that divides the B image into blocks while allowing overlap, and all or some of the correspondence between the blocks on the A image and the blocks on the B image generated by the image dividing unit are included in the blocks. Calculation means 14 for calculating the cross-correlation of the pixel values to be obtained, and 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 this correlation calculation means. From the block on the B image to the block on the B image in ascending order, and from the block on the B image to the block on the A image in ascending order. The correlation coefficient ranking means 15 and the correlation calculation means 14 calculate the correspondence between the blocks on the A and B images. And ranking of correlation coefficients from block to block in the B picture, A from the same block on the B image
Correlation coefficient rank adding means 16 for calculating the sum of the ranks of the correlation coefficients for the same block on the image, and all combinations of the correspondence of the blocks on the A and B images calculated by the correlation calculation means 14 , The sum of the ranks obtained by the correlation coefficient rank adding means 16 is added for each combination, and a number proportional to the number of unassigned blocks in each combination is obtained.
A minimum addition rank selecting means 17 for adding a result added as a penalty to an addition result of the combination and obtaining a combination that minimizes the result.

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

【0025】画像入力手段11により、二つの画像(A
画像,B画像)を入力し、画像記憶手段12により記憶
する。次に、画像分割手段13によりA画像,B画像を
重複を許してブロックに分割する。相関計算手段14に
より、A画像上のブロックとB画像上のブロックの、す
べてあるいは一部の組合せについて、ブロックに含まれ
る画素値の相互相関を計算する。
The image input means 11 outputs two images (A
Image, B image), and stores the image by the image storage unit 12. Next, the A image and the B image are divided into blocks by the image dividing means 13 while allowing overlap. The correlation calculator 14 calculates the cross-correlation of the pixel values included in the block for all or some combinations of the block on the A image and the block 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 from each block on the B image in ascending order according to the value of the correlation coefficient.
5 is performed. That is, for a certain block x on the A image, the rank of the block on the B image having the highest correlation coefficient value is set to 1, and thereafter, the order of the correlation coefficient value is 2,
, And the order OR [A (x) B
(Y)].

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

【0028】次に、相関係数順位加算手段16により、
A画像上の、あるブロックxと、B画像上の、あるブロ
ックyについて、A画像上のブロックxからB画像上の
ブロックyへの相関係数の順位OR[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により求める。
Next, the correlation coefficient rank adding means 16 calculates
For a certain block x on the A image and a certain block y on the B image, the rank OR [A (x) B] of the correlation coefficient from the block x on the A image to the block y on the B image
(Y)] and the order OR [B (y) A (x)] of the correlation coefficient from the block y on the B image to the block x on the A image W (x, y) = OR [A ( x) B (y)] + OR [B (y) A (x)] is calculated. Further, the sum W (x,
y) is added in accordance with any corresponding combination, and if there is a block in the combination that does not provide a correspondence ,
Cost plus penalty proportional to the number of
The corresponding combination that minimizes the cost is obtained by the minimum addition order selecting means 17.

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

【0030】この画像マッチング方式は、二つの画像
(A画像,B画像)を入力する画像入力手段21と、こ
の画像入力手段で入力された画像を記憶する画像記憶手
段22と、この画像記憶手段に記憶されているA画像,
B画像を重複を許してブロックに分割する画像分割手段
23と、この画像分割手段によって生成された、A画像
上のブロックとB画像上のブロックの、すべてあるいは
一部の対応について、ブロックに含まれる画素値の相互
相関を計算する相関計算手段24と、この相関計算手段
によって得られた、A画像上のブロックとB画像上のブ
ロックの対応毎の相関係数の値を用い、A画像上のブロ
ックからB画像上のブロックへの相関係数の大きい順
の、昇順の順位づけ、及びB画像上のブロックからA画
像上のブロックへの相関係数の大きい順の、昇順の順位
づけを行う相関係数順位づけ手段25と、この相関係数
順位づけ手段によって得られた順位に対し、あらかじめ
与えられた単調増加関数により、順位値をコスト値に変
換するコスト計算手段26と、この相関計算手段で計算
を行った、A,B画像上のブロックのそれぞれの対応に
ついて、コスト計算手段26によって得られた、A画像
上のブロックからB画像上のブロックへのコストと、B
画像上の同じブロックからA画像上の同じブロックへの
コストの和を計算するコスト加算手段27と、相関計算
手段24で計算を行った、A,B画像上のブロックの対
応のすべての組合せに関して、コスト加算手段27で求
めた順位の和を各組合せ毎に加算し、さらに各組合せの
中の対応を与えないブロックの数に比例する数を求め、
それをペナルティとして加えたものをその組合せの加算
結果に加え、その結果が最小になる組合せを求める最小
加算コスト選択手段28とから構成されている。
The image matching method includes an image input means 21 for inputting two images (A image and B image), an image storage means 22 for storing an image input by the image input means, and an image storage means. A image stored in
An image dividing unit 23 that divides the B image into blocks while permitting duplication, and all or some of the correspondence between the block on the A image and the block on the B image generated by the image dividing unit are included in the blocks. Calculating means 24 for calculating the cross-correlation of the pixel values to be obtained, and 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 calculating means. From the block on the B image to the block on the B image in ascending order, and from the block on the B image to the block on the A image in ascending order. And a cost calculator for converting the rank value into a cost value by a monotonically increasing function given in advance to the rank obtained by the correlation coefficient ranking means. 26 and the cost of the block on the A image from the block on the B image obtained by the cost calculation unit 26 for each correspondence of the blocks on the A and B images calculated by the correlation calculation unit. , B
For all combinations of the blocks on the A and B images calculated by the cost adding means 27 for calculating the sum of the costs from the same block on the image to the same block on the A image and the correlation calculating means 24 , The sum of the ranks obtained by the cost adding means 27 is added for each combination, and a number proportional to the number of unassigned blocks in each combination is obtained.
A minimum addition cost selecting means 28 for adding the result of the addition as a penalty to the addition result of the combination and obtaining a combination that minimizes the result is provided.

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

【0032】画像入力手段21,画像記憶手段22,画
像分割手段23,相関計算手段24,相関係数順位づけ
手段25は、図1の各手段と同様に動作する。
The image input means 21, the image storage means 22, the image dividing means 23, the correlation calculating means 24, and the correlation coefficient ranking means 25 operate in the same manner as the respective means 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 rank value obtained by the correlation coefficient ranking means into a cost value by a predetermined monotone increasing function f. Rank values are represented by OR [A (x) B (y)] and OR [B
(Y) A (x)], this function causes f (OR [A (x) B (y)]) and 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 adding 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 calculating means 26 for each block on the A and B images, The sum W (x, y) of costs from the same block y above to the same block x on the A image is calculated. W (x, y) = OR [A (x) B (y)] + OR [B (y) A (x)] Further, the sum of the ranks obtained here is represented by If there is a block that is not included in the correspondence among the combinations in addition according to the combination, a cost obtained by adding a certain penalty according to the number is used as the cost, and the corresponding combination that minimizes the cost is the minimum addition cost It is determined by the selection means 28.

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

【0036】この画像マッチング方式は、二つの画像
(A画像,B画像)を入力する画像入力手段31と、こ
の画像入力手段で入力された画像を記憶する画像記憶手
段32と、この画像記憶手段に記憶されているA画像,
B画像を重複を許してブロックに分割する画像分割手段
33と、この画像分割手段によって生成された、A画像
上のブロックとB画像上のブロックの、すべてあるいは
一部の対応について、ブロックに含まれる画素値の相互
相関を計算する相関計算手段34と、この相関計算手段
によって得られた、A画像上のブロックとB画像上のブ
ロックの対応毎の相関係数の値を用い、A画像上のブロ
ックからB画像上の各ブロックへ相関係数の大きい順
に、一定の個数だけ昇順の順位づけを行い、順位づけさ
れなかったものについては、そのブロック間の対応の可
能性はないと判定するAB方向相関係数順位づけ及び対
応判定手段35と、相関計算手段34によって得られ
た、A画像上のブロックとB画像上のブロックの対応毎
の相関係数の値を用い、B画像上のブロックからA画像
上の各ブロックへ相関係数の大きい順に、一定の個数だ
け昇順の順位づけを行い、順位づけされなかったものに
ついては、そのブロック間の対応の可能性はないと判定
するBA方向相関係数順位づけ及び対応判定手段36
と、相関計算手段34で計算を行った、A,B画像上の
ブロックのそれぞれの対応の中で、AB方向相関係数順
位づけ及び対応判定手段35並びにBA方向相関係数順
位づけ及び対応判定手段36によって、対応の可能性は
ないと判断された対応を除いて、AB方向相関係数順位
づけ及び判定手段35によって得られた順位と、BA方
向相関係数順位づけ及び判定手段36によって得られた
順位との和を計算する相関係数順位加算手段37と、相
関計算手段34で計算を行った、A,B画像上のブロッ
クの対応のすべての組合せに関して、相関係数順位加算
手段37で求めた順位の和を、各組合せ毎に加算し、さ
らに各組合せの中の対応を与えないブロックの数に比例
するペナルティを加え、その結果が最小になる対応の組
合せの中を、AB方向相関係数順位づけ及び判定手段3
5及びBA方向相関係数順位づけ及び判定手段36によ
って対応の可能性がないと判断されなかった対応の組合
せの中から求める最小加算順位選択手段38とから構成
する。
This image matching method comprises an image input means 31 for inputting two images (A image and B image), an image storage means 32 for storing an image input by the image input means, and an image storage means A image stored in
An image dividing unit 33 that divides the B image into blocks while allowing overlap, and a block that includes all or a part of the correspondence between the block on the A image and the block on the B image generated by the image dividing unit. A correlation calculating means 34 for calculating a cross-correlation of pixel values to be obtained, and a value of a correlation coefficient for each correspondence between a block on the A image and a block on the B image obtained by the correlation calculating means. From the block of the B image to each block on the B image in ascending order by a fixed number in the order of larger correlation coefficient, and if there is no ranking, it is determined that there is no possibility of correspondence between the blocks. Using the correlation coefficient ranking and correspondence determination means 35 in the AB direction and 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 34 The blocks on the B image are ranked in ascending order from the block on the A image to the blocks on the A image by a certain number in descending order of the correlation coefficient. BA direction correlation coefficient ranking and correspondence determination means 36
In the correspondence of the blocks on the A and B images calculated by the correlation calculating means 34, the AB direction correlation coefficient ranking and correspondence determination means 35 and the BA direction correlation coefficient ranking and correspondence determination The order obtained by the AB direction correlation coefficient ranking and determination unit 35 and the order obtained by the BA direction correlation coefficient ranking and determination unit 36 are excluded except for the correspondence determined to be impossible by the unit 36. The correlation coefficient rank adding means 37 for calculating the sum of the ranks obtained and the correlation coefficient rank adding means 37 for all the combinations of the blocks on the A and B images calculated by the correlation calculating means 34. Add the sum of the ranks obtained in step 2 for each combination, and furthermore, it is proportional to the number of unassigned blocks in each combination.
The AB combination correlation coefficient ranking and determination means 3
5 and a minimum addition order selecting means 38 which is determined from combinations of correspondences which are not judged to have no possibility of correspondence by the correlation coefficient ranking and judging means 36 in the BA direction.

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

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

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

【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 picture, the rank of the block on the B picture having the highest correlation coefficient value is set to 1;
3, ..., OL and the block on the B image are ranked OR [A
(X) B (y)]. At this time, a set of blocks on the B image that has not been ranked is denoted as NCb (x), and a corresponding set NC that is not included in the corresponding combination.
To

【数1】(Equation 1)

【0041】 [0041]

【0042】と計算する。Is calculated.

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

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

【数2】(Equation 2)

【0045】 [0045]

【0046】と計算する。Is calculated.

【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は、相関係数順位加算手段3
7で計算を行った、A,B画像上のブロックの対応のす
べての組合せに関して、順位の和W(x,y)を各組合
せ毎に加算し、さらに各組合せの中の対応を与えないブ
ロックの数に比例するペナルティを加え、その結果が最
小になる対応の組合せの中を、対応の集合NCから除い
た対応の中から求める。
The correlation coefficient rank adding means 37 calculates the correspondence NC determined to have no possibility of correspondence among the correspondences of the blocks on the A and B images calculated by the correlation calculation means 34. Excluding the order OR [A (x) B (y)] obtained by the AB direction correlation coefficient ranking and determination means 35
W of the OR and the rank OR [B (y) A (x)] obtained by the BA direction correlation coefficient ranking and determination means 36
Calculate (x, y) by the following formula: W (x, y) = OR [A (x) B (y)] + OR [B (y) A (x)] Number order adding means 3
For all combinations of the blocks on the A and B images calculated in step 7, the sum of the ranks W (x, y) is added for each combination, and further, a block that does not give a correspondence in each combination is added.
A penalty proportional to the number of locks is added, and the combinations of the correspondence that minimize the result are obtained from the correspondences excluded from the correspondence set 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と、このパス生成手段によ
り生成されたパスを接続することによって表現されるす
べての対応の組合せに関して、相関係数順位加算手段4
6で求めた順位の和を、各組合せ毎に加算し、さらに各
組合せの中の対応を与えないブロックの数に比例する
ナルティを加え、その結果が最小になる対応の組合せを
動的計画法を用い求める最小加算順位選択手段48とか
ら構成されている。
The image matching method comprises an image input means 41 for inputting two images (A image and B image), an image storage means 42 for storing an image input by the image input means, and an image storage means A image stored in
An image dividing unit 43 that divides the B image for each scanning line, and further divides the scanning line into segments while allowing overlap, and an image on the A image generated by the image dividing unit 43 that exists on the scanning line at the same position. Correlation calculating means 44 for calculating the cross-correlation of the pixel values for all or some of the correspondence between the segments and the segments on the B image, and the correspondence between the segments on the A and B images calculated by the correlation calculating means. , Using the value of the correlation coefficient for each correspondence, assigning the ascending order of the correlation coefficient from the segment on the A image to the segment on the B image in ascending order;
A correlation coefficient ranking means 45 for ranking the segments on the image in ascending order of the correlation coefficient, and a segment between the A and B images calculated by the correlation coefficient ranking means. For each correspondence, the rank of the correlation coefficient from the segment on the A image to the segment on the B image, and B
Correlation coefficient rank adding means 46 for calculating the sum of the rank of the correlation coefficient from the segment on the image to the segment on the A image
And this correlation coefficient rank addition means,
For the correspondence between the segments on the A and B images, a path generation unit 47 that generates not only a path between adjacent correspondences but also a path between non-adjacent correspondences and a path generated by the path generation means. For all corresponding combinations represented by
6 is added for each combination, and a penalty proportional to the number of unassigned blocks in each combination is added, and the corresponding combination that minimizes the result is added. And a minimum addition rank selecting means 48 for determining the sum using dynamic programming.

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

【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 the respective means in FIG.
The image dividing means 43 divides the image for 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)が最小になるもの
を選択する。
A description will now be given, with reference to FIG. 9, of the minimum addition order selecting means 48 using a dynamic programming method that allows discontinuous paths. This figure shows a search plane composed of an axis x on the scanning line A and an axis y on the scanning line B. In the search plane, the corresponding range calculated by the correlation calculation unit 44 is represented by S. In addition, each grid point on the search plane has a sum W of ranks in both directions.
(X, y) is given. The minimum addition order selecting means selects a path which allows discontinuity between p1 and p2 and which minimizes W (x, y) given to a grid point on the path.

【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 order selecting means considers a straight line L such that x + y = t, and increases L by 1 to make L equal to p.
Move from position 1 to position p2 in order. At each stage of moving L, for the lattice points on L included in S, the minimum arrival cost up to the lattice point is calculated. For example, the minimum arrival cost r up to the grid point u (x, y)
c (x, y) is obtained 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α,...} Where α is a penalty for creating one uncorrelated block. In the figure, the correspondence (x, y) is a black square, the correspondences (x-1, y-1), (x-1, y),
(X−2, y), (x−3, y),... And corresponding (x, y−1), ((x, y−2), (x, y−3),
.. Are indicated by black circles. At the point where L arrives at p2, the path giving the minimum arrival cost at p2 is the corresponding combination provided by the fourth invention.

【0054】[0054]

【発明の効果】以上説明したように、本発明の画像マッ
チング方式は、オクルージョン領域には対応を与える可
能性が減少する。そのため、本来マッチングができない
ところに、無理に対応付けることが少なくなり、マッチ
ングの正確さが向上する。
As described above, according to the image matching method of the present invention, the possibility of providing a correspondence to the occlusion area is reduced. For this reason, it is less likely to forcibly correspond to places where matching cannot be performed originally, and the accuracy of matching is improved.

【図面の簡単な説明】[Brief description of the 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 an erroneous response is given in the conventional method when there is an occlusion area.

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

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

【図8】従来の動的計画法と不連続なパスを許す動的計
画法との違いを示す図である。
FIG. 8 is a diagram showing a difference between a conventional dynamic programming and a dynamic programming which 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方向相関係数順位づけ及び対応判定手段 36 BA方向相関係数順位づけ及び対応判定手段 37 相関係数順位加算手段 38 最小加算順位選択手段 41 画像入力手段 42 画像記憶手段 43 画像分割手段 44 相関計算手段 45 相関係数順位づけ手段 46 相関係数順位加算手段 47 パス生成手段 48 最小加算順位選択手段 Reference Signs List 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 addition 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 judgment Means 36 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 adding means 47 Path generating means 48 Minimum addition Order selection means

Claims (4)

(57)【特許請求の範囲】(57) [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画像上の
ブロックの対応のすべての組合せに関して、前記相関係
数順位加算手段で求めた順位の和を各組合せ毎に加算
し、さらに各組合せの中の対応を与えないブロックの数
に比例する数を求め、それをペナルティとしてその組合
せの加算結果に加え、その結果が最小になる組合せを求
める最小加算順位選択手段。
An image matching method comprising the following a to g. a. Image input means for inputting two images (A image and B image) b. Image storage means for storing the image input by the image input means c. An image dividing unit that divides the A image and the B image stored in the image storage unit into blocks while allowing overlap; d. Correlation calculation means for calculating the cross-correlation of the pixel values included in the blocks for all or some of the correspondence between the blocks on the A image and the blocks on the B image generated by the image division 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 for ranking in ascending order, and in ascending order from a block on the B image to a block on the A image in descending order of the correlation coefficient f. For each correspondence between the blocks on the A and B images calculated by the correlation calculating means, the block B on the A image obtained by the correlation coefficient ranking means is used.
Correlation coefficient rank adding means for calculating the sum of the rank of the correlation coefficient to the block on the image 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 the A and B images 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 further, Number of blocks that do not give a correspondence
Minimum addition order selecting means for obtaining a number proportional to the above , adding that as a penalty to the addition result of the combination, and obtaining a 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 comprising the following a to h. a. Image input means for inputting two images (A image and B image) b. Image storage means for storing the image input by the image input means c. An image dividing unit that divides the A image and the B image stored in the image storage unit into blocks while allowing overlap; d. Correlation calculation means for calculating the cross-correlation of the pixel values included in the blocks for all or some of the correspondence between the blocks on the A image and the blocks on the B image generated by the image division 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 for ranking in ascending order, and in ascending order from a block on the B image to a block on the A image in descending order of the correlation coefficient f. Cost calculating means for converting the rank value into a cost value by a predetermined monotone increasing function with respect to the rank obtained by the correlation coefficient ranking means; g. For each correspondence between the blocks on the A and B images calculated by the correlation calculating means, the cost from the block on the A image to the block on the B image, obtained by the cost calculating means, and the B image Cost adding means for calculating the sum of costs from the same block above to the same block on the A image h. For all combinations of blocks on the A and B images calculated by the correlation calculating means, the sum of the ranks obtained by the cost adding means is added for each combination, and the correspondence in each combination is further added. Is proportional to the number of blocks that do not give
Means for calculating the number of the combination, adding the result as a penalty to the addition result of the combination, and obtaining 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 comprising the following a to h. a. Image input means for inputting two images (A image and B image) b. Image storage means for storing the image input by the image input means c. An image dividing unit that divides the A image and the B image stored in the image storage unit into blocks while allowing overlap; d. Correlation calculation means for calculating the cross-correlation of the pixel values included in the blocks for all or some of the correspondence between the blocks on the A image and the blocks on the B image generated by the image division means e. 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 calculating means is used to increase the correlation coefficient from the block on the A image to each block on the B image. AB order correlation coefficient ranking and correspondence determination means for sequentially determining a certain number in ascending order and determining that there is no possibility of correspondence between the blocks for the unordered ones. F. 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 B image to each block on the A image is large. BA order correlation coefficient ranking and correspondence judging means for judging in ascending order by a certain number in order and determining that there is no possibility of correspondence between the blocks for those not ranked g. In the correspondence of the blocks on the A and B images calculated by the correlation calculation means, by the AB direction correlation coefficient ranking and correspondence determination means and the BA direction correlation coefficient ranking and correspondence determination means And the order obtained by the AB direction correlation coefficient ranking and determination means, and the order obtained by the BA direction correlation coefficient ranking and determination means, except for the correspondence determined to be impossible. Correlation coefficient rank adding means for calculating the sum of h. For all combinations of the blocks on the A and B images 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 further, Number of unassigned blocks in
Is calculated as a penalty, and the union
In addition to the summation result, there is no possibility that the AB direction correlation coefficient ranking and judging means and the BA direction correlation coefficient ordering and judging means will correspond in the correspondence combinations that minimize the result. Means for selecting the minimum addition order from the corresponding combinations that have not been determined.
【請求項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 comprising the following a to h. a. Image input means for inputting two images (A image and B image) b. Image storage means for storing the image input by the image input means c. Image dividing means for dividing the A image and the B image stored in the image storage means for each scanning line, and further dividing the scanning lines into segments while allowing overlaps. D. Correlation calculating means e for calculating the cross-correlation of pixel values for all or some correspondences between segments on the A image and segments on the B image generated by the image dividing means, which are present on the scanning line at the same position. . For 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 in ascending order from the segment on the B image to the segment on the A image in descending order of the correlation coefficient f. For each correspondence between the segments on the A and B images calculated by the correlation coefficient ranking means, the order of the correlation coefficient from the segment on the A image to the segment on the B image, Correlation coefficient rank adding means for calculating the sum of the rank of the correlation coefficient from the segment to the segment on the A image g. The calculation was performed by the correlation coefficient rank adding means,
Path generation means for generating not only paths between adjacent correspondences but also paths between non-adjacent correspondences regarding the correspondence between segments on the A and B images h. For all the corresponding combinations represented by connecting the paths generated by the path generating means, the sum of the ranks determined by the correlation coefficient rank adding means is added for each combination, and further, Don't give me a medium response
Find a number proportional to the number of new blocks and penalize it.
Means for selecting the minimum addition order by using a dynamic programming method to determine the corresponding combination that minimizes the result in addition to the addition result of the combination.
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 JPH04299474A (en) 1992-10-22
JP3027995B2 true 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)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4536381B2 (en) * 2004-01-09 2010-09-01 富士通テン株式会社 Combination determining apparatus, combination determining method, combination determining program, and radar apparatus
JP4685711B2 (en) * 2006-05-25 2011-05-18 日本電信電話株式会社 Image processing method, apparatus and program
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
JP4868426B2 (en) * 2010-02-08 2012-02-01 富士通セミコンダクター株式会社 Method and apparatus for processing image including moving object
JP5051670B2 (en) * 2010-02-15 2012-10-17 Necシステムテクノロジー株式会社 Image processing apparatus, image processing method, and image processing program
EP2386998B1 (en) * 2010-05-14 2018-07-11 Honda Research Institute Europe GmbH A Two-Stage Correlation Method for Correspondence Search
JP7115832B2 (en) * 2017-10-04 2022-08-09 株式会社Soken rangefinder
JP7016130B2 (en) * 2020-10-02 2022-02-04 日本電信電話株式会社 Verification equipment, methods, and programs

Also Published As

Publication number Publication date
JPH04299474A (en) 1992-10-22

Similar Documents

Publication Publication Date Title
US7012649B2 (en) Image processing apparatus and method, program, and recording medium
Veenman et al. Resolving motion correspondence for densely moving points
US7983489B2 (en) User interface for navigating through images
US8154616B2 (en) Data processing apparatus and method, and recording medium
US7173652B2 (en) Method for detecting movement of image sensors
US20010014124A1 (en) Motion vector estimation circuit and method
JP4108969B2 (en) Image angle detection apparatus and scanning line interpolation apparatus having the same
JP4554316B2 (en) Stereo image processing device
JPWO2008129875A1 (en) Detection device, detection method, and integrated circuit for detection
JP3027995B2 (en) Image matching method
US20050185059A1 (en) Image processing method
US20070009141A1 (en) Image construction method, fingerprint image construction apparatus, and program
JP2006067272A (en) Apparatus and method for camera calibration
JP2019152980A (en) Image processing system, image processing method and program
KR20070074781A (en) Frame rate converter
JP2008171247A (en) Motion detecting device, method and program
JP6579727B1 (en) Moving object detection device, moving object detection method, and moving object detection program
US20070126699A1 (en) Optical navigation device and method of operating the same
JP2930675B2 (en) Motion vector detection method using initial displacement vector
JPH09261646A (en) Motion detector for image
JP2003022442A (en) Method and device for object detection and position measurement, execution program for the same method, and its recording medium
JP5051670B2 (en) Image processing apparatus, image processing method, and image processing program
US6625301B2 (en) Image processing apparatus, image processing method and transmission medium
JP5114290B2 (en) Signal processing device
TWI719591B (en) Method and computer system for object tracking

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