Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP5338741B2 - Image processing apparatus, image processing program, information processing apparatus, and information processing program - Google Patents
[go: Go Back, main page]

JP5338741B2 - Image processing apparatus, image processing program, information processing apparatus, and information processing program - Google Patents

Image processing apparatus, image processing program, information processing apparatus, and information processing program Download PDF

Info

Publication number
JP5338741B2
JP5338741B2 JP2010090223A JP2010090223A JP5338741B2 JP 5338741 B2 JP5338741 B2 JP 5338741B2 JP 2010090223 A JP2010090223 A JP 2010090223A JP 2010090223 A JP2010090223 A JP 2010090223A JP 5338741 B2 JP5338741 B2 JP 5338741B2
Authority
JP
Japan
Prior art keywords
voting
area
image
values
value
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
JP2010090223A
Other languages
Japanese (ja)
Other versions
JP2011221788A (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.)
Konica Minolta Inc
Original Assignee
Konica Minolta Inc
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 Konica Minolta Inc filed Critical Konica Minolta Inc
Priority to JP2010090223A priority Critical patent/JP5338741B2/en
Publication of JP2011221788A publication Critical patent/JP2011221788A/en
Application granted granted Critical
Publication of JP5338741B2 publication Critical patent/JP5338741B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Analysis (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To derive target coordinates in a voting space with high accuracy and light operation loads in voting processing which is used for a PSA method and Hough transformation or the like. <P>SOLUTION: At a mid-stage of the voting processing for sequentially integrating voting values in an intersection area crossing each of a plurality of planes or lines for each of a plurality of voting areas formed by discretizing voting spaces, an image processing processor 13 performs control so that an excluded area which is excluded from the object for the voting processing is specified based on an integrated value of the voting values by executing an excluded area specification module 134, and the voting processing is executed for only the remaining voting area obtained by excluding the excluded area from all the voting areas by executing a voting area restriction module 135. <P>COPYRIGHT: (C)2012,JPO&amp;INPIT

Description

本発明は、投票空間内の複数の投票領域各々について、複数の線各々と交差する領域に投票値を積算し、その積算値に基づいて目的の座標を導出する処理を行う画像処理装置、画像処理プログラム、情報処理装置及び情報処理プログラムに関する発明である。   The present invention relates to an image processing apparatus and an image processing device that perform processing for integrating voting values in regions intersecting with a plurality of lines and deriving target coordinates based on the integrated values for each of a plurality of voting regions in a voting space. The present invention relates to a processing program, an information processing apparatus, and an information processing program.

複数の画像を用いた対応点探索処理は、動画の追跡、三次元画像計測及びコンピュータビジョンなどの様々な分野において重要な画像処理技術である。対応点探索処理は、時系列の2つの画像、又はステレオ画像を構成する2つの画像に基づいて、第1画像内で指定される注目点に対応する第2画像内の対応点の座標を導出する処理である。また、対応点は、第1画像における注目点の画像に対して相関の高い画像が存在する第2画像内の点である。また、昨今、対応点探索処理において、対応点の座標を高精度で導出することが求められている。   Corresponding point search processing using a plurality of images is an important image processing technique in various fields such as moving image tracking, three-dimensional image measurement, and computer vision. Corresponding point search processing derives the coordinates of corresponding points in the second image corresponding to the point of interest specified in the first image based on two images in time series or two images constituting a stereo image. It is processing to do. The corresponding point is a point in the second image where an image having a high correlation with the image of the target point in the first image exists. Recently, in the corresponding point search process, it is required to derive the coordinates of the corresponding point with high accuracy.

従来、精度の高い対応点探索処理の手法として、位相差解析(Phase-difference Spectrum Analysis)の手法が存在する。以下、その手法のことをPSA法と称する。PSA法は、例えば、非特許文献1、非特許文献2、特許文献1及び特許文献2などに示されている。   Conventionally, there is a method of phase difference analysis (Phase-difference Spectrum Analysis) as a method of high-accuracy corresponding point search processing. Hereinafter, this method is referred to as a PSA method. The PSA method is shown in, for example, Non-Patent Document 1, Non-Patent Document 2, Patent Document 1, and Patent Document 2.

以下、図10〜図12を参照しつつ、PSA法について説明する。PSA法は、以下に示される手順により、第1画像における注目点の座標(x01, y01)に対する第2画像における対応点の座標(x02, y02)の偏差の座標(dx0, dy0)を導出する手法である。以下、その偏差の座標を、対応点偏差座標と称する。なお、(dx0, dy0) = (x02-x01, y02-y01)である。   Hereinafter, the PSA method will be described with reference to FIGS. In the PSA method, the coordinates (dx0, dy0) of the deviation of the coordinates (x02, y02) of the corresponding point in the second image with respect to the coordinates (x01, y01) of the target point in the first image are derived by the procedure shown below. It is a technique. Hereinafter, the coordinates of the deviation are referred to as corresponding point deviation coordinates. Note that (dx0, dy0) = (x02-x01, y02-y01).

PSA法では、第1画像及び第2画像各々に相当する空間周波数領域での位相画像である第1位相画像及び第2位相画像が算出される。これらの位相画像は、第1画像及び第2画像各々に対して2次元離散的フーリエ変換を施すことによって得られる。   In the PSA method, a first phase image and a second phase image, which are phase images in the spatial frequency domain corresponding to the first image and the second image, are calculated. These phase images are obtained by performing a two-dimensional discrete Fourier transform on each of the first image and the second image.

次に、両位相画像の周波数成分各々について、第1位相画像と第2位相画像との間の周波数成分(u, v)に応じた位相差Δθ(u, v)が算出される。なお、u及びvは、周波数空間における座標値であり、周波数成分を特定するパラメータである。   Next, for each frequency component of both phase images, a phase difference Δθ (u, v) corresponding to the frequency component (u, v) between the first phase image and the second phase image is calculated. U and v are coordinate values in the frequency space, and are parameters for specifying the frequency component.

また、PSA法では、対応点偏差座標(dx0, dy0)のとり得る範囲を示す投票空間100が設定される。投票空間100は、予め定められた空間周期で複数の単位領域に区分されることによって離散化されている。その空間周期に応じて対応点偏差座標(dx0, dy0)の導出の分解能(精度)が定まる。   In the PSA method, a voting space 100 indicating a possible range of the corresponding point deviation coordinates (dx0, dy0) is set. The voting space 100 is discretized by being divided into a plurality of unit regions at a predetermined spatial period. The resolution (accuracy) for deriving the corresponding point deviation coordinates (dx0, dy0) is determined according to the spatial period.

図10は、投票空間100の一例を示す模式図である。図17に示される例では、投票空間100は、ΔX軸方向及びΔY軸方向の各々において10個の区間に離散化されている。投票空間100における予め定められた空間周期で区分(離散化)された複数の単位領域は、投票領域20と称される。投票空間100の設定は、画像処理装置が、投票領域20の配列に相当するデータ領域をメモリ内に確保することを意味する。即ち、投票領域20各々は、メモリ内に確保されるデータ領域における要素データ各々に対応する。投票空間100の大きさ及び投票領域20の空間周期は、適用対象に応じて予め決定される。   FIG. 10 is a schematic diagram illustrating an example of the voting space 100. In the example shown in FIG. 17, the voting space 100 is discretized into 10 sections in each of the ΔX axis direction and the ΔY axis direction. A plurality of unit areas that are segmented (discretized) in a predetermined spatial period in the voting space 100 are referred to as voting areas 20. Setting the voting space 100 means that the image processing apparatus secures a data area corresponding to the array of voting areas 20 in the memory. That is, each voting area 20 corresponds to each element data in the data area secured in the memory. The size of the voting space 100 and the spatial period of the voting area 20 are determined in advance according to the application target.

そして、PSA法では、周波数成分(u,v)、その周波数成分に基づく位相差Δθ(u, v)及び投票空間における座標(dx,dy)を変数とする所定の式に、周波数成分(u,v)及びその周波数成分に基づき算出される位相差Δθ(u, v)を適用することにより、投票空間100内の直線(一次式)が導出される。そのようにして導出される一次式は、一般に、投票関数と称される。周波数成分(u,v)及びその周波数成分(u,v)に対応する位相差Δθ(u, v)を、周波数成分(u,v)、位相差Δθ(u, v)及び座標(dx,dy)を変数(パラメータ)とする所定の式に適用することにより得られる投票空間100内の直線は、周波数成分(u,v)に応じて定まる対応点偏差座標(dx0, dy0)の候補となる位置を表す。以下、この直線のことを、投票直線と称する。   In the PSA method, the frequency component (u, v), the phase difference Δθ (u, v) based on the frequency component, and the coordinate (dx, dy) in the voting space are changed into a predetermined expression as variables. , v) and a phase difference Δθ (u, v) calculated based on the frequency component thereof, a straight line (primary expression) in the voting space 100 is derived. The linear expression thus derived is generally called a voting function. The frequency component (u, v) and the phase difference Δθ (u, v) corresponding to the frequency component (u, v) are changed to the frequency component (u, v), the phase difference Δθ (u, v) and the coordinates (dx, A straight line in the voting space 100 obtained by applying to a predetermined expression having dy) as a variable (parameter) is a candidate for the corresponding point deviation coordinate (dx0, dy0) determined according to the frequency component (u, v). Represents the position. Hereinafter, this straight line is referred to as a voting straight line.

図11は、ある1つの周波数成分(u, v)に対応する一本の投票直線32を含む投票空間100の一例を示す模式図である。周波数成分(u,v)及び位相差Δθ(u, v)を投票関数に適用することにより、投票空間100の座標系における直線である投票直線32を表す一次式が得られる。PSA法においては、画像処理装置が、投票空間100にプロットされた投票直線32と交差する投票領域20を特定する。以下、このようにして特定される投票領域20を交差領域20aと称する。図11において、交差領域20aは砂模様の網掛けが付されている。   FIG. 11 is a schematic diagram showing an example of the voting space 100 including one voting line 32 corresponding to one certain frequency component (u, v). By applying the frequency component (u, v) and the phase difference Δθ (u, v) to the voting function, a linear expression representing the voting line 32 that is a straight line in the coordinate system of the voting space 100 is obtained. In the PSA method, the image processing apparatus specifies the voting area 20 that intersects the voting line 32 plotted in the voting space 100. Hereinafter, the voting area 20 specified in this way is referred to as an intersection area 20a. In FIG. 11, the intersection region 20a is shaded with a sand pattern.

さらに、PSA法では、周波数成分(u, v)各々について、投票直線32の導出と、その投票直線32と交差する交差領域20aの特定とが順次繰り返される。さらに、交差領域20aが特定されるごとに、その交差領域20aに対して所定の投票値を順次積算する処理が実行される。投票値は通常"1"であるが、所定の基準に従って重み付けされることによって変化する値が、投票値として採用される場合もある。   Further, in the PSA method, for each frequency component (u, v), the derivation of the voting line 32 and the specification of the intersecting region 20a intersecting with the voting line 32 are sequentially repeated. Further, every time the intersection area 20a is specified, a process of sequentially adding a predetermined vote value to the intersection area 20a is executed. The vote value is normally “1”, but a value that changes by being weighted according to a predetermined criterion may be adopted as the vote value.

図12は、複数の周波数成分(u, v)各々に対応する複数の投票直線32を含む投票空間100の状態の一例を示す模式図である。 図12において、1つの投票直線32のみと交差する交差領域20aは、砂模様の網掛けが付され、複数の投票直線32と交差する交差領域20aは、斜線の網掛け又は黒塗りが付されている。複数の周波数成分(u, v)各々について投票直線32の導出と交差領域20aの特定とが繰り返されれることにより、図12に示される状態が得られる。   FIG. 12 is a schematic diagram illustrating an example of a state of the voting space 100 including a plurality of voting straight lines 32 corresponding to a plurality of frequency components (u, v). In FIG. 12, the crossing region 20a that intersects with only one voting line 32 is shaded with sand, and the intersecting region 20a that intersects with a plurality of voting lines 32 is shaded or blackened. ing. The state shown in FIG. 12 is obtained by repeating the derivation of the voting line 32 and the identification of the intersecting region 20a for each of the plurality of frequency components (u, v).

そして、PSA法では、全ての周波数成分(u, v)について、交差領域20aの特定及び投票値の積算が終了したときに、投票値の積算値のピーク位置の座標が、対応点偏差座標(dx0, dy0)として特定される。また、第2画像における対応点の座標(x02, y02)は、第1画像における注目点の座標(x01, y01)と対応点偏差座標(dx0, dy0)とに基づいて算出される。   In the PSA method, for all frequency components (u, v), when the identification of the intersecting region 20a and the integration of the vote values are completed, the coordinates of the peak positions of the integrated values of the vote values are the corresponding point deviation coordinates ( dx0, dy0). Further, the coordinates (x02, y02) of the corresponding point in the second image are calculated based on the coordinates (x01, y01) of the attention point and the corresponding point deviation coordinates (dx0, dy0) in the first image.

投票値の積算値のピーク位置の座標は、例えば、投票値の積算値が最大である交差領域20a(投票領域20)の座標、又は投票値の積算値を重み係数とする交差領域20aの集合の重心位置の座標などである。図12は、投票値の積算値が最大である交差領域20aが、投票値の積算値のピーク位置230(黒塗り部分)として特定された様子を示す。   The coordinates of the peak position of the integrated value of the voting value are, for example, the coordinates of the intersecting region 20a (voting region 20) where the integrated value of the voting value is the maximum, or a set of intersecting regions 20a using the integrated value of the voting value as a weighting factor. The coordinates of the center of gravity position. FIG. 12 shows a state where the intersection area 20a where the integrated value of the vote value is the maximum is specified as the peak position 230 (black portion) of the integrated value of the vote value.

また、投票空間内の離散化された部分領域である複数の投票領域と複数の直線とが交差する領域に投票値を積算する投票処理は、周知のハフ変換においても行われる。ハフ変換は、画像から直線、円、楕円等の図形を抽出する手法であり、例えば、特許文献3などに詳述されている。   A voting process for accumulating voting values in a region where a plurality of voting regions, which are discrete partial regions in the voting space, and a plurality of straight lines intersect is also performed in the well-known Hough transform. The Hough transform is a technique for extracting a figure such as a straight line, a circle, or an ellipse from an image, and is described in detail in, for example, Patent Document 3.

例えば、ハフ変換によって画像から円を抽出する場合、元の画像に対するエッジ検出処理によってエッジ画像が生成される。さらに、そのエッジ画像における画素各々に対応する投票空間が設定される。この投票空間は、円を特定するための中心位置の座標(a,b)及円の半径rの3つのパラメータの値を座標値とする3次元の有限の空間である。   For example, when a circle is extracted from an image by Hough transform, an edge image is generated by edge detection processing on the original image. Further, a voting space corresponding to each pixel in the edge image is set. This voting space is a three-dimensional finite space in which the values of three parameters of the coordinates (a, b) of the center position for specifying the circle and the radius r of the circle are coordinate values.

さらに、その投票空間(パラメータ空間)が離散化された部分領域である複数の投票領域各々のうち、エッジ画像内の1つの画素を中心とする円に相当する投票空間内での円錐面と交差するものを特定し、その円錐面と交差する投票領域に対応付けて投票値を加算する投票処理が実行される。その投票処理は、エッジ画像の各画素に対応する複数の円錐面各々について順次実行され、これにより、複数の円錐面各々と交差する投票領域において投票値が積算される。そして、投票空間における投票値の積算値のピーク位置の座標が導出される。このピーク位置の座標は、エッジ画像に存在する円の位置及び半径を特定する情報である。   Further, among each of a plurality of voting areas, which are partial areas obtained by discretizing the voting space (parameter space), intersects with a conical surface in the voting space corresponding to a circle centered on one pixel in the edge image. A voting process is performed in which a voting value is added in association with a voting area that intersects with the conical surface. The voting process is sequentially executed for each of the plurality of conical surfaces corresponding to each pixel of the edge image, whereby the voting values are integrated in the voting area intersecting with each of the plurality of conical surfaces. Then, the coordinates of the peak position of the integrated value of voting values in the voting space are derived. The coordinates of the peak position are information for specifying the position and radius of a circle existing in the edge image.

以上に示したように、PSA法及びハフ変換のいずれにおいても、投票処理が実行される。その投票処理においては、複数のパラメータの値を座標値とする有限の投票空間が設定され、その投票空間における複数の面又は線を特定する情報が与えられる。即ち、PSA法では、周波数成分(u,v)各々に対応する複数の直線が与えられ、円を抽出するハフ変換では、エッジ画像の各画素に対応する複数の円錐面が与えられる。   As described above, the voting process is executed in both the PSA method and the Hough transform. In the voting process, a finite voting space having a plurality of parameter values as coordinate values is set, and information for specifying a plurality of faces or lines in the voting space is given. That is, in the PSA method, a plurality of straight lines corresponding to each frequency component (u, v) are given, and in the Hough transform for extracting a circle, a plurality of conical surfaces corresponding to each pixel of the edge image are given.

さらに、投票処理においては、投票空間が離散化された部分領域である複数の投票領域各々について、1つの面又は線と交差する投票領域が特定され、特定された投票領域に対応付けて投票値を加算する処理が、与えられた複数の面又は線各々について順次実行される。これにより、与えられた面又は直線と交差する投票領域において、投票値が積算される。そして、投票値の積算値のピーク座標が、投票空間における目的の座標として導出される。PSA法においては、目的の座標は対応点偏差座標であり、円を抽出するハフ変換においては、エッジ画像に存在する円に対応する座標である。   Further, in the voting process, for each of a plurality of voting areas that are partial areas in which the voting space is discretized, a voting area that intersects one face or line is specified, and the voting value is associated with the specified voting area. Are sequentially executed for each of a plurality of given surfaces or lines. As a result, the voting values are integrated in the voting area intersecting the given surface or straight line. Then, the peak coordinates of the integrated value of the vote value are derived as target coordinates in the vote space. In the PSA method, the target coordinates are corresponding point deviation coordinates, and in the Hough transform for extracting a circle, the coordinates are corresponding to the circle existing in the edge image.

特開2001−175864号公報JP 2001-175864 A 特開2003−099787号公報JP 2003-099787 A

Isamu KOUZAKI, Tomonori KANEKO, Minoru ITO, "Precise and reliable image shift detection by a new phase-difference spectrum analysis", IEICE TRANSACTIONS on Information and Systems Academic Journal 2004, E87D/1 58-65Isamu KOUZAKI, Tomonori KANEKO, Minoru ITO, "Precise and reliable image shift detection by a new phase-difference spectrum analysis", IEICE TRANSACTIONS on Information and Systems Academic Journal 2004, E87D / 1 58-65 幸月 勇 他4名、「位相差からの高精度な画像シフト量検出法」、画像の認識・理解シンポジウム(MIRU 2002)、発行 2002年7月、II-379 - II-384Isamu Kozuki and 4 others, “Highly accurate image shift detection method from phase difference”, Image Recognition and Understanding Symposium (MIRU 2002), published July 2002, II-379-II-384

しかしながら、従来の投票処理は、投票空間における全ての投票領域と全ての面又は線各々について、投票値の積算を行うべきか否かの判別が必要となるため、投票処理の演算負荷が高い。また、投票空間における投票領域の区分の数を少なくするすることにより、投票処理の演算負荷は軽減されるが、投票空間における目的の座標の算出精度が悪化する。そのため、従来の投票処理は、目的の座標の導出の高精度化と高速化とを両立することが難しいという問題点があった。   However, in the conventional voting process, it is necessary to determine whether or not the voting values should be accumulated for all the voting areas and all the faces or lines in the voting space. Also, by reducing the number of voting area sections in the voting space, the calculation load of the voting process is reduced, but the calculation accuracy of the target coordinates in the voting space deteriorates. Therefore, the conventional voting process has a problem that it is difficult to achieve both high accuracy and high speed in deriving the target coordinates.

本発明の目的は、PSA法及びハフ変換などに用いられる投票処理において、投票空間内の目的の座標を、高精度かつ軽い演算負荷で導出できることである。   An object of the present invention is to be able to derive a target coordinate in a voting space with high accuracy and a light calculation load in voting processing used for the PSA method and the Hough transform.

本発明に係る画像処理装置は、2つの画像(第1画像及び第2画像)各々に相当する空間周波数領域での位相画像である第1位相画像及び第2位相画像に基づいて、前記第1画像内で指定される注目点に対応する前記第2画像内の対応点の座標を導出する対応点探索処理を実行する装置であり、以下の各構成要素を備える。
(1)第1の構成要素は、前記第1位相画像と前記第2位相画像との間における周波数成分に応じた位相差を算出する位相差算出部である。
(2)第2の構成要素は、前記周波数成分及び該周波数成分に対応する前記位相差を予め定められた式に適用することにより、前記第1画像における前記注目点の座標に対する前記第2画像における前記対応点の座標の偏差の座標である対応点偏差座標のとり得る範囲を示す有限の投票空間における直線を導出する直線導出部である。
(3)第3の構成要素は、前記投票空間が離散化された部分領域である複数の投票領域各々について、一本の前記直線と交差する前記投票領域を特定するとともに、特定された前記投票領域に対応付けて投票値を加算する処理を、複数の前記周波数成分各々に対応する前記直線各々について順次実行することにより前記投票値を積算する投票処理を行う投票処理部である。
(4)第4の構成要素は、複数の前記直線のうちの一部についての前記投票処理が終了した途中段階において、前記投票値の積算値に基づいて、前記投票処理の対象から除外される前記投票領域である除外領域を特定する除外領域特定部である。
(5)第5の構成要素は、前記除外領域が特定された後において、全ての前記投票領域から前記除外領域を除いた残りの前記投票領域のみを対象に前記投票処理が実行されるよう制御する投票制限部である。
(6)第6の構成要素は、前記投票値の積算値と前記投票値が積算された前記投票領域の座標とに基づいて前記対応点偏差座標を導出する目的座標導出部である。
The image processing apparatus according to the present invention is based on the first phase image and the second phase image that are phase images in the spatial frequency domain corresponding to each of two images (first image and second image). An apparatus for executing a corresponding point search process for deriving the coordinates of a corresponding point in the second image corresponding to a point of interest specified in an image, and includes the following components.
(1) The first component is a phase difference calculation unit that calculates a phase difference corresponding to a frequency component between the first phase image and the second phase image.
(2) The second component applies the phase difference corresponding to the frequency component and the frequency component to a predetermined formula, whereby the second image with respect to the coordinates of the attention point in the first image. Is a straight line deriving unit for deriving a straight line in a finite voting space indicating a possible range of the corresponding point deviation coordinates which are the coordinates of the deviation of the coordinates of the corresponding points.
(3) The third component specifies the voting area intersecting one straight line for each of a plurality of voting areas, which are partial areas in which the voting space is discretized, and the specified voting A voting processing unit that performs a voting process for accumulating the voting values by sequentially executing a process of adding voting values in association with a region for each of the straight lines corresponding to the plurality of frequency components.
(4) The fourth component is excluded from the object of the voting process based on the integrated value of the voting value in the middle of the voting process for a part of the plurality of straight lines. An exclusion area specifying unit that specifies an exclusion area that is the voting area.
(5) The fifth component controls the voting process to be executed only for the remaining voting areas excluding the excluded area from all the voting areas after the excluded area is specified. It is a voting restriction section.
(6) A sixth component is a target coordinate deriving unit that derives the corresponding point deviation coordinates based on the integrated value of the vote values and the coordinates of the vote area where the vote values are integrated.

また、本発明に係る画像処理装置が、さらに、以下に示される各構成要素をさらに備え、前記除外領域特定部が、以下に示されるレベル判定部の判定結果に基づいて前記除外領域を特定することが考えられる。
(7)第7の構成要素は、全ての前記投票領域の中から、前記投票空間内で一部のかつ一連の範囲を占める前記投票領域の集合からなる判定用部分領域を順次選択する判定用部分領域選択部である。
(8)第8の構成要素は、選択された前記判定用部分領域ごとに、当該判定用部分領域内の前記投票領域に対応する前記投票値の積算値の代表値が、予め設定されるしきい値を基準にして相対的な大小関係を示す複数のレベルのいずれに該当するかを判定するレベル判定部である。
In addition, the image processing apparatus according to the present invention further includes each component shown below, and the exclusion region specifying unit specifies the exclusion region based on a determination result of the level determination unit shown below. It is possible.
(7) The seventh component is for determination that sequentially selects a partial area for determination consisting of a set of the voting areas that occupy a part and a series of ranges in the voting space from all the voting areas. It is a partial area selection part.
(8) In the eighth component, a representative value of the integrated value of the voting values corresponding to the voting area in the determination partial area is preset for each selected determination partial area. It is a level determination unit that determines which of a plurality of levels showing a relative magnitude relationship with respect to a threshold value corresponds to.

また、前記レベル判定部が、前記しきい値を基準にして前記代表値のレベルを少なくとも相対的に大きな高レベル及び相対的に小さな低レベルのいずれかに判定することが考えられる。この場合、前記除外領域特定部は、前記高レベルの判定結果が得られた前記判定用部分領域が存在する場合に、全ての前記投票領域のうち、前記高レベルの判定結果が得られた前記判定用部分領域を含む予め定められた広さの範囲内にある前記投票領域を除いた残りの前記投票領域を前記除外領域として特定する。   Further, it is conceivable that the level determining unit determines the level of the representative value as at least one of a relatively large high level and a relatively small low level based on the threshold value. In this case, the exclusion area specifying unit obtains the high-level determination result among all the voting areas when the determination partial area from which the high-level determination result is obtained exists. The remaining voting area excluding the voting area within a predetermined area including the determination partial area is specified as the exclusion area.

また、前記レベル判定部が、前記しきい値を基準にして、前記代表値のレベルを少なくとも相対的に大きな高レベル、相対的に小さな低レベル及びそれらの間の中レベルのいずれかに判定することも考えられる。この場合、前記除外領域特定部は、前記高レベルの判定結果が得られた前記判定用部分領域が存在し、かつ、前記中レベルの判定結果が得られた前記判定用部分領域が存在しない場合に、全ての前記投票領域のうち、前記高レベルの判定結果が得られた前記判定用部分領域を含む範囲内にある前記投票領域を除いた残りの前記投票領域を前記除外領域として特定する。   Further, the level determination unit determines the level of the representative value as at least one of a relatively large high level, a relatively small low level, and a medium level therebetween based on the threshold value. It is also possible. In this case, the exclusion area specifying unit includes the determination partial area from which the high-level determination result is obtained and the determination partial area from which the medium-level determination result is obtained does not exist. In addition, among all the voting areas, the remaining voting areas excluding the voting areas within the range including the determination partial area where the high-level determination result is obtained are specified as the exclusion areas.

また、前記レベル判定部が、代表値のレベルを少なくとも高レベル及び低レベルのいずれかに判定する場合において、前記除外領域特定部が、前記高レベルの判定結果が得られた前記判定用部分領域が存在する場合に、前記低レベルの判定結果が得られた前記判定用部分領域を前記除外領域として特定することも考えられる。   In the case where the level determination unit determines that the representative value level is at least one of a high level and a low level, the exclusion region specifying unit obtains the determination result of the high level. It is also conceivable that the determination partial area from which the low-level determination result is obtained is specified as the exclusion area.

また、前記レベル判定部が、代表値のレベルを少なくとも高レベル、低レベル及びそれらの間の中レベルのいずれかに判定する場合において、前記除外領域特定部が、前記高レベルの判定結果が得られた前記判定用部分領域が存在する場合に、前記低レベルの判定結果が得られた前記判定用部分領域を前記除外領域として特定することも考えられる。   Further, when the level determination unit determines that the representative value level is at least one of a high level, a low level, and an intermediate level between them, the exclusion area specifying unit obtains the determination result of the high level. It is also conceivable to specify the determination partial region from which the low-level determination result is obtained as the exclusion region when the determined determination partial region exists.

また、本発明に係る画像処理装置が、前記途中段階において前記投票処理が終了している前記直線の数に応じて前記しきい値を設定するしきい値設定部をさらに備えることも考えられる。一方、前記しきい値が予め定められた固定値であることも考えられる。   In addition, the image processing apparatus according to the present invention may further include a threshold setting unit that sets the threshold according to the number of the straight lines for which the voting process has been completed in the intermediate stage. On the other hand, it is also conceivable that the threshold value is a predetermined fixed value.

また、前記判定用部分領域は個々の前記投票領域であり、前記代表値は個々の前記投票領域における前記投票値の積算値であることが考えられる。   Further, it is conceivable that the determination partial area is each of the voting areas, and the representative value is an integrated value of the voting values in each of the voting areas.

また、本発明に係る画像処理装置が、以下に示される各構成要素をさらに備えることも考えられる。
(9)第9の構成要素は、前記第1画像に相当する第1周波数画像と前記第2画像に相当する第2周波数画像との間における前記周波数成分ごとの相関度の指標を算出する相関度算出部である。前記相関度の指標は、例えば、前記第1周波数画像と前記第2周波数画像との間のクロススペクトルにおける前記周波数成分ごとのパワーである。
(10)第10の構成要素は、前記相関度の指標に基づいて、前記投票処理に適用する前記直線の順序を前記相関度の高い前記周波数成分に対応するものから順に設定する順序設定部である。
It is also conceivable that the image processing apparatus according to the present invention further includes the following constituent elements.
(9) A ninth component is a correlation for calculating an index of a correlation degree for each frequency component between a first frequency image corresponding to the first image and a second frequency image corresponding to the second image. It is a degree calculation part. The index of the correlation is, for example, the power for each frequency component in the cross spectrum between the first frequency image and the second frequency image.
(10) The tenth component is an order setting unit that sets the order of the straight lines applied to the voting process in order from the one corresponding to the frequency component having the high correlation degree based on the correlation degree index. is there.

また、本発明に係る画像処理装置において、前記除外領域特定部は、予め定められた複数の前記途中段階において前記除外領域を特定する処理を実行することが考えられる。   In the image processing apparatus according to the present invention, the excluded area specifying unit may execute processing for specifying the excluded area in a plurality of predetermined intermediate stages.

また、本発明は、画像処理に限らず、投票処理を行う情報処理装置として構成されることも考えられる。即ち、本発明に係る情報処理装置は、以下に示される各構成要素を備える。
(1)第1の構成要素は、複数のパラメータの値を座標値とする有限の投票空間における複数の面又は線を特定する情報が与えられる場合に、前記投票空間が離散化された部分領域である複数の投票領域各々について1つの前記面又は前記線と交差する前記投票領域を特定するとともに、特定された前記投票領域に対応付けて投票値を加算する処理を、複数の前記面又は前記線各々について順次実行することにより前記投票値を積算する投票処理を行う投票処理部である。
(2)第2の構成要素は、複数の前記面又は前記線のうちの一部についての前記投票処理が終了した途中段階において、前記投票値の積算値に基づいて、前記投票処理の対象から除外される前記投票領域である除外領域を特定する除外領域特定部である。
(3)第3の構成要素は、前記除外領域が特定された後において、全ての前記投票領域から前記除外領域を除いた残りの前記投票領域のみを対象に前記投票処理が実行されるよう制御する投票制限部である。
(4)第4の構成要素は、前記投票値の積算値と前記投票値が積算された前記投票領域の座標とに基づいて前記投票空間内の目的の座標を導出する目的座標導出部である。
The present invention is not limited to image processing, and may be configured as an information processing apparatus that performs voting processing. That is, the information processing apparatus according to the present invention includes the following constituent elements.
(1) The first component is a partial region in which the voting space is discretized when information for specifying a plurality of faces or lines in a finite voting space having a plurality of parameter values as coordinate values is given. The voting area that intersects one face or the line for each of the plurality of voting areas is a process of adding a voting value in association with the specified voting area. A voting processing unit that performs voting processing for accumulating the voting values by sequentially executing each line.
(2) The second component may be a target of the voting process based on the integrated value of the voting values in the middle of the voting process for a part of the plurality of surfaces or the lines. An exclusion area specifying unit that specifies an exclusion area that is the voting area to be excluded.
(3) The third component controls so that the voting process is executed only for the remaining voting areas excluding the excluded areas from all the voting areas after the excluded areas are specified. It is a voting restriction section.
(4) A fourth component is a target coordinate deriving unit that derives a target coordinate in the voting space based on the integrated value of the voting value and the coordinates of the voting area where the voting value is integrated. .

また、本発明は、以上に示した本発明に係る画像処理装置又は情報処理装置が備える各構成要素が実行する処理をコンピュータ(プロセッサ)に実行させるための画像処理プログラム又は情報処理プログラムとして構成されることも考えられる。   Further, the present invention is configured as an image processing program or an information processing program for causing a computer (processor) to execute processing executed by each component included in the image processing apparatus or information processing apparatus according to the present invention described above. It is also conceivable.

本発明においても、従来の投票処理と同様に、複数の投票領域のうち、周波数成分などに応じて定まる面又は直線と交差する特定の投票領域に対して投票値が積算され、その投票値の積算値の分布に応じて目的の座標が導出される。ここで、目的の座標は、例えば、注目点の座標と対応点の座標との偏差の座標である。本発明においては、投票処理の対象となる投票領域が、投票処理の途中段階以降において一部の領域に限定される。例えば、投票処理の途中段階において、投票値の積算値の状態が高レベルである領域とその近隣の領域とが除かれた残りの投票領域、又は、投票値の積算値の状態が低レベルである領域が、投票処理の対象から除外される。従って、投票空間が高い空間分解能で離散化され、多数の投票領域が設定された場合でも、重要でない投票領域に対する投票処理が途中段階以降は省略され、演算負荷は低く抑えられる。そのため、本発明によれば、投票処理によって投票空間における目的の座標を導出する場合に、高精度かつ比較的軽い演算負荷で目的の座標を導出することが可能となる。   Also in the present invention, as in the conventional voting process, voting values are accumulated for a specific voting area that intersects a plane or a straight line determined according to a frequency component, etc., among a plurality of voting areas. Target coordinates are derived according to the distribution of the integrated values. Here, the target coordinates are, for example, the coordinates of the deviation between the coordinates of the point of interest and the coordinates of the corresponding point. In the present invention, the voting area that is the target of the voting process is limited to a part of the area after the middle stage of the voting process. For example, in the middle stage of the voting process, the remaining voting area obtained by removing the area where the voting value integrated value is in the high level and the adjacent area, or the voting value integrated value is in the low level. Certain areas are excluded from the voting process. Therefore, even when the voting space is discretized with high spatial resolution and a large number of voting areas are set, the voting process for the non-important voting areas is omitted after the intermediate stage, and the calculation load is kept low. Therefore, according to the present invention, when the target coordinates in the voting space are derived by the voting process, the target coordinates can be derived with high accuracy and a relatively light calculation load.

ところで、投票空間が多数の小さな投票領域に区分されている場合、投票処理の途中段階において、面又は直線が交差する交差部が、1つの投票領域に対して集中する状況は生じにくい。そのため、個々の投票領域ごとに投票値の積算値の状況が判定された場合、交差部の分布を正しく判断して適正な除外領域を特定することができなくなる。そこで、本発明において、投票空間内で一部のかつ一連の範囲を占める投票領域の集合からなる判定用部分領域ごとに、投票値の積算値の代表値のレベル判定に基づく除外領域の特定が行われることが好適である。これにより、投票領域の大きさに関わらず、投票空間における交差部の分布を反映した適切な除外領域の特定が可能となる。   By the way, when the voting space is divided into a large number of small voting areas, it is difficult for a situation where intersections where planes or straight lines intersect to concentrate on one voting area in the middle of the voting process. For this reason, when the status of the integrated value of voting values is determined for each voting area, it is not possible to correctly determine the distribution of intersections and specify an appropriate excluded area. Therefore, in the present invention, for each determination partial area consisting of a set of voting areas that occupy a part and a series of ranges in the voting space, the exclusion area is specified based on the level determination of the representative value of the integrated value of the voting value It is preferred that this is done. As a result, regardless of the size of the voting area, it is possible to specify an appropriate excluded area that reflects the distribution of intersections in the voting space.

また、本発明に係る画像処理装置において、投票処理に適用する直線の順序を、2つの周波数画像の間の相関度が高い周波数成分に対応するものから順に設定することが考えられる。これにより、比較的早い途中段階において、交差部が集中する領域と交差部がほとんど存在しない領域との区分が明確となり、比較的早い段階で、除外領域の特定を適切に行うことが可能となる。   In the image processing apparatus according to the present invention, it is conceivable that the order of straight lines applied to the voting process is set in order from the one corresponding to the frequency component having a high degree of correlation between the two frequency images. Thereby, in a relatively early stage, the distinction between the area where the intersections are concentrated and the area where the intersections hardly exist is clarified, and the exclusion area can be appropriately specified at a relatively early stage. .

本発明の実施形態に係る画像処理装置の概略ブロック図である。1 is a schematic block diagram of an image processing apparatus according to an embodiment of the present invention. 本発明の実施形態に係る画像処理装置による対応点探索処理の手順を表すフローチャートである。It is a flowchart showing the procedure of the corresponding point search process by the image processing apparatus which concerns on embodiment of this invention. 本発明の実施形態に係る画像処理装置による投票領域制限処理の手順を表すフローチャートである。It is a flowchart showing the procedure of the voting area | region restriction | limiting process by the image processing apparatus which concerns on embodiment of this invention. 投票領域制限処理において投票空間から判定用部分領域を選択する処理の第1例を示す模式図である。It is a schematic diagram which shows the 1st example of the process which selects the partial area for determination from voting space in a voting area restriction | limiting process. 投票領域制限処理において投票空間から判定用部分領域を選択する処理の第2例を示す模式図である。It is a schematic diagram which shows the 2nd example of the process which selects the partial area for determination from voting space in a voting area restriction | limiting process. 投票値の積算値に基づく第1のレベル判定処理によって高レベル及び低レベルの2つの領域に区分された投票空間の一例を示す模式図である。It is a schematic diagram which shows an example of the voting space divided into two areas of a high level and a low level by the 1st level determination process based on the integrated value of a vote value. 投票値の積算値に基づく第2のレベル判定処理によって高レベル及び低レベルの2つの領域に区分された投票空間の一例を示す模式図である。It is a schematic diagram which shows an example of the voting space divided into two areas of a high level and a low level by the 2nd level determination process based on the integrated value of a vote value. 投票値の積算値に基づく第3のレベル判定処理によって高レベル、中レベル及び低レベルの3つの領域に区分された投票空間の一例を示す模式図である。It is a schematic diagram which shows an example of the voting space divided into three area | regions of a high level, a medium level, and a low level by the 3rd level determination process based on the integrated value of a vote value. 第2のレベル判定処理の結果に基づいて除外領域が設定された投票空間の一例を示す模式図である。It is a schematic diagram which shows an example of the voting space where the exclusion area | region was set based on the result of the 2nd level determination process. 投票空間の一例を示す模式図である。It is a schematic diagram which shows an example of voting space. 一本の投票直線を含む投票空間の一例を示す模式図である。It is a schematic diagram which shows an example of the voting space containing one voting line. 複数の投票直線を含む投票空間の一例を示す模式図である。It is a schematic diagram which shows an example of the voting space containing a some voting line.

以下添付図面を参照しながら、本発明の実施の形態について説明する。なお、以下の実施の形態は、本発明を具体化した一例であって、本発明の技術的範囲を限定するものではない。なお、以下の説明においては、特段の解説がない限り、「画像」という用語は、画像データと同じ意味で用いられている。   Embodiments of the present invention will be described below with reference to the accompanying drawings. The following embodiments are examples embodying the present invention, and do not limit the technical scope of the present invention. In the following description, unless otherwise specified, the term “image” is used in the same meaning as image data.

まず、図1に示されるブロック図を参照しつつ、本発明の実施形態に係る画像処理装置10の構成について説明する。図1に示されるように、画像処理装置10は、画像入力インターフェース11、フレームメモリ12、画像処理プロセッサ13、ROM(Read Only Memory)(14)及びデータ出力インターフェース15を備える。   First, the configuration of the image processing apparatus 10 according to the embodiment of the present invention will be described with reference to the block diagram shown in FIG. As shown in FIG. 1, the image processing apparatus 10 includes an image input interface 11, a frame memory 12, an image processor 13, a ROM (Read Only Memory) (14), and a data output interface 15.

画像入力インターフェース11は、ステレオ画像を撮像する1台又は2台のカメラから、撮像によって得られる画像を入力し、その画像をフレームメモリ12に記録する回路基板である。1台のカメラが用いられる場合、例えば、撮像対象とカメラとの相対的な位置関係が変化し、時系列で得られる2つの画像が、フレームメモリ12に記録される。一方、2台のカメラが用いられる場合、それら2台のカメラは、同一の撮像対象を異なる方向から撮像するように配置され、ステレオ画像を構成する2つの画像が、フレームメモリ12に記録される。以下、フレームメモリ12に記録される2つの画像の一方を第1画像、他方を第2画像と称する。   The image input interface 11 is a circuit board that inputs an image obtained by imaging from one or two cameras that capture a stereo image and records the image in the frame memory 12. When one camera is used, for example, the relative positional relationship between the imaging target and the camera changes, and two images obtained in time series are recorded in the frame memory 12. On the other hand, when two cameras are used, the two cameras are arranged so as to capture the same imaging object from different directions, and two images constituting a stereo image are recorded in the frame memory 12. . Hereinafter, one of the two images recorded in the frame memory 12 is referred to as a first image and the other is referred to as a second image.

フレームメモリ12は、画像が記録される高速メモリである。画像入力インターフェース11によってフレームメモリ12に記録された画像は、画像処理プロセッサ13によって読み出されたり、加工されたりする。   The frame memory 12 is a high-speed memory in which images are recorded. An image recorded in the frame memory 12 by the image input interface 11 is read or processed by the image processor 13.

画像処理プロセッサ13は、DSP(Digital Signal Processor)又はMPU(Micro Processor Unit)などのプロセッサにより構成されている。画像処理プロセッサ13は、ROM(11)に予め記憶された画像処理プログラムを実行することにより、ステレオ画像に基づく対応点探索処理を実行する。   The image processor 13 includes a processor such as a DSP (Digital Signal Processor) or an MPU (Micro Processor Unit). The image processor 13 executes a corresponding point search process based on a stereo image by executing an image processing program stored in advance in the ROM (11).

画像処理プログラムは、周波数データ処理モジュール131、直線導出モジュール132、投票処理モジュール133、除外領域特定134、投票領域制限モジュール135及び対応点座標算計算モジュール136などのプログラムモジュールを含む。画像処理プロセッサ13は、それらのプログラムモジュール131〜136を主メモリに展開して実行することにより、各プログラムモジュール131〜136によって規定される処理を実行する複数のハードウェアの集合体として機能する。   The image processing program includes program modules such as a frequency data processing module 131, a straight line derivation module 132, a voting processing module 133, an excluded area specification 134, a voting area restriction module 135, and a corresponding point coordinate calculation calculation module 136. The image processor 13 functions as an aggregate of a plurality of hardware that executes processes defined by the program modules 131 to 136 by developing and executing the program modules 131 to 136 in the main memory.

ROM(14)は、画像処理プロセッサ13によって実行される画像処理プログラム及び画像処理プロセッサ13が参照する各種のデータを記憶するメモリである。   The ROM (14) is a memory that stores an image processing program executed by the image processor 13 and various data referred to by the image processor 13.

データ出力インターフェース15は、画像処理プロセッサ13から引き渡される画像処理の結果のデータを、当該画像処理装置10の外部の装置へ出力する回路基板である。   The data output interface 15 is a circuit board that outputs image processing result data delivered from the image processing processor 13 to an external device of the image processing apparatus 10.

次に、図2に示されるフローチャートを参照しつつ、本発明の実施形態に係る画像処理装置10が実行する対応点探索処理について説明する。フローチャートにおいて、S1〜S12は、処理の手順の識別符号を表す。   Next, the corresponding point search process executed by the image processing apparatus 10 according to the embodiment of the present invention will be described with reference to the flowchart shown in FIG. In the flowchart, S1 to S12 represent identification codes of processing procedures.

図2に示される対応点探索処理が開始される前に、画像入力インターフェース11が、第1画像及び第2画像の各データを予めフレームメモリ12に記録する。また、対応点探索処理は、予め指定される第1画像内の1つ又は複数の注目点(注目点の座標)ごとに実行される。注目点(注目点の座標)の情報は、例えば、ROM(14)に予め記憶されること、又は、不図示のデータ入力インターフェースを通じて外部装置から入力されることが考えられる。   Before the corresponding point search process shown in FIG. 2 is started, the image input interface 11 records each data of the first image and the second image in the frame memory 12 in advance. Further, the corresponding point search process is executed for each one or a plurality of attention points (coordinates of the attention points) in the first image designated in advance. The information on the point of interest (coordinates of the point of interest) may be stored in advance in the ROM (14) or input from an external device through a data input interface (not shown), for example.

<ステップS1>
画像処理装置10による対応点探索処理において、画像処理プロセッサ13は、図10に示されるような投票空間100、即ち、複数の投票領域11の配列を設定する(S1)。より具体的には、画像処理プロセッサ13は、フレームメモリ12内に、投票空間100の投票領域20各々に相当するデータが配列されるメモリ領域を確保する。このステップS1の処理は、例えば、画像処理プロセッサ13が投票処理モジュール133を実行することにより実現される。
<Step S1>
In the corresponding point search process by the image processing apparatus 10, the image processor 13 sets the voting space 100 as shown in FIG. 10, that is, an array of a plurality of voting areas 11 (S1). More specifically, the image processor 13 secures a memory area in the frame memory 12 in which data corresponding to each voting area 20 of the voting space 100 is arranged. The processing in step S1 is realized, for example, when the image processing processor 13 executes the voting processing module 133.

前述したように、投票空間100は、対応点偏差座標(dx0,dy0)のとり得る範囲を示す領域である。また、対応点偏差座標(dx0,dy0)は、第1画像における注目点の座標(x10,y10)に対する第2画像における対応点の座標(x20,y20)の偏差の座標である。従って、投票空間100の座標軸の一方は、第1画像における注目点のX軸方向の座標値x0に対する第2画像におけるX軸方向の各座標値の偏差dxの座用軸であり、他方は、第1画像における注目点のY軸方向の座標値y0に対する第2画像におけるY軸方向の各座標値の偏差dyの座用軸である。図10において、座標値dxの座標軸はΔXと記され、座標値dyの座標軸はΔYと記されている。   As described above, the voting space 100 is an area indicating a possible range of the corresponding point deviation coordinates (dx0, dy0). The corresponding point deviation coordinates (dx0, dy0) are the coordinates of the deviation of the coordinates (x20, y20) of the corresponding points in the second image with respect to the coordinates (x10, y10) of the target point in the first image. Accordingly, one of the coordinate axes of the voting space 100 is a seat axis for the deviation dx of each coordinate value in the X-axis direction in the second image with respect to the coordinate value x0 in the X-axis direction of the target point in the first image, and the other is This is a sitting axis of deviation dy of each coordinate value in the Y-axis direction in the second image with respect to the coordinate value y0 in the Y-axis direction of the target point in the first image. In FIG. 10, the coordinate axis of the coordinate value dx is denoted by ΔX, and the coordinate axis of the coordinate value dy is denoted by ΔY.

投票空間100を特定するための投票空間100の範囲(上限及び下限の境界値)及び2つの座標軸各々の方向における投票領域20の数(区分数)の情報は、画像処理装置10が適用される対象に応じて予め与えられる。その情報は、例えば、ROM(14)に予め記憶されること、又は不図示のデータ入力インターフェースを通じて外部装置から入力されることが考えられる。   The image processing apparatus 10 applies information about the range (upper and lower boundary values) of the voting space 100 for specifying the voting space 100 and the number of voting areas 20 (number of sections) in each of the two coordinate axes. It is given in advance according to the object. For example, the information may be stored in advance in the ROM (14) or may be input from an external device through a data input interface (not shown).

<ステップS2>
また、画像処理プロセッサ13は、第1画像及び第2画像の各データに対して周知の離散フーリエ変換処理を実行することにより、周波数領域での第1画像及び周波数領域での第2画像の各データを算出する(S2)。即ち、画像処理プロセッサ13は、離散フーリエ変換処理により、第1画像に相当する第1周波数画像及び第2画像に相当する第2周波数画像を算出する。以下、第1周波数画像をF1(u,v)、第2周波数画像をF2(u,v)と記載する。ここで、(u,v)は、画像の周波数成分、即ち、周波領域の2次元座標系における座標である。このステップS2の処理は、画像処理プロセッサ13が周波数データ処理モジュール131を実行することにより実現される。
<Step S2>
Further, the image processor 13 performs a well-known discrete Fourier transform process on each data of the first image and the second image, thereby each of the first image in the frequency domain and the second image in the frequency domain. Data is calculated (S2). That is, the image processor 13 calculates a first frequency image corresponding to the first image and a second frequency image corresponding to the second image by discrete Fourier transform processing. Hereinafter, the first frequency image is referred to as F1 (u, v), and the second frequency image is referred to as F2 (u, v). Here, (u, v) is the frequency component of the image, that is, the coordinates in the two-dimensional coordinate system of the frequency domain. The process of step S2 is realized by the image processor 13 executing the frequency data processing module 131.

<ステップS3>
また、画像処理プロセッサ13は、周波数成分(u,v)の選択順序を設定する(S3)。周波数成分(u,v)の選択順序は、周波数成分(u,v)ごとに以降のステップS4からステップS11までの処理が実行される際に、その処理に適用される周波数成分(u,v)の順序である。
<Step S3>
Further, the image processor 13 sets the selection order of the frequency component (u, v) (S3). The selection order of the frequency component (u, v) is the frequency component (u, v) applied to the processing when the processing from step S4 to step S11 is executed for each frequency component (u, v). ) Order.

周波数成分(u,v)の選択順序は、例えば、予め定められた順序であること、又は第1周波数画像F1(u,v)及び第2周波数画像F2(u,v)のクロススペクトルの大きい順序であること、などが考えられる。クロススペクトルは、周波数成分(u,v)各々における、第1周波数画像F1(u,v)と第2周波数画像F2(u,v)との間の相関の高さを表す。そのため、クロススペクトルの大きさに基づいて周波数成分(u,v)の選択順序を設定することは、第1周波数画像F1(u,v)と第2周波数画像F2(u,v)との間の相関が高くなる周波数成分(u,v)から順に選択されることにつながる。クロススペクトルの算出方法は周知であるので、ここでは、その説明を省略する。   The selection order of the frequency components (u, v) is, for example, a predetermined order or a large cross spectrum between the first frequency image F1 (u, v) and the second frequency image F2 (u, v). The order may be considered. The cross spectrum represents the level of correlation between the first frequency image F1 (u, v) and the second frequency image F2 (u, v) in each frequency component (u, v). Therefore, setting the selection order of the frequency components (u, v) based on the size of the cross spectrum is between the first frequency image F1 (u, v) and the second frequency image F2 (u, v). Are sequentially selected from the frequency components (u, v) that increase the correlation of. Since the calculation method of the cross spectrum is well known, the description thereof is omitted here.

例えば、画像処理プロセッサ13は、周波数データ処理モジュール131を実行することにより、第1周波数画像F1(u,v)と第2周波数画像F2(u,v)との間のクロススペクトルを算出する。クロススペクトルは、周波数成分(u,v)ごとのパワーの集合として算出される。さらに、画像処理プロセッサ13は、投票処理モジュール132を実行することにより、クロススペクトルにおける周波数成分(u,v)ごとのパワーを比較し、パワーの高い周波数成分(u,v)から順に、周波数成分(u,v)の選択順序を設定する。これにより、その選択順序に従って選択される周波数成分(u,v)に対応する投票直線が、投票処理に適用される投票直線として順次選択されることになる。   For example, the image processor 13 calculates the cross spectrum between the first frequency image F1 (u, v) and the second frequency image F2 (u, v) by executing the frequency data processing module 131. The cross spectrum is calculated as a set of power for each frequency component (u, v). Further, the image processor 13 executes the voting processing module 132 to compare the power for each frequency component (u, v) in the cross spectrum, and in order from the higher frequency component (u, v) to the frequency component. Set the selection order of (u, v). Thereby, the voting line corresponding to the frequency component (u, v) selected according to the selection order is sequentially selected as the voting line applied to the voting process.

なお、クロススペクトルを算出するために周波数データ処理モジュール131を実行する画像処理プロセッサ13は、相関度算出部の一例である。また、周波数成分(u,v)の選択順序を設定するために投票処理モジュール132を実行する画像処理プロセッサ13は、順序設定部の一例である。   The image processor 13 that executes the frequency data processing module 131 to calculate the cross spectrum is an example of a correlation degree calculation unit. Further, the image processor 13 that executes the voting processing module 132 to set the selection order of the frequency components (u, v) is an example of an order setting unit.

<ステップS4>
そして、画像処理プロセッサ13は、ステップS3で設定された順序に従って、周波数成分(u,v)を順次選択する(S4)。画像処理プロセッサ13は、選択した周波数成分(u,v)について以下のステップS5からステップS11までの処理を実行することにより、予め定められた終了条件が成立するまでステップS5からステップS10までの処理を繰り返す。ステップS4の処理は、画像処理プロセッサ13が投票処理モジュール133を実行することにより実現される。
<Step S4>
Then, the image processor 13 sequentially selects the frequency components (u, v) according to the order set in step S3 (S4). The image processor 13 executes the following processing from step S5 to step S11 for the selected frequency component (u, v), thereby performing processing from step S5 to step S10 until a predetermined end condition is satisfied. repeat. The processing in step S4 is realized by the image processing processor 13 executing the voting processing module 133.

<ステップS5>
周波数成分(u,v)の選択ごとに、画像処理プロセッサ13は、選択した周波数成分(u,v)における第1周波数画像と第2周波数画像との間の位相差Δθ(u,v)を算出する(S5)。ステップS5の処理は、画像処理プロセッサ13が周波数データ処理モジュール131を実行することにより実現される。
<Step S5>
For each selection of the frequency component (u, v), the image processor 13 calculates the phase difference Δθ (u, v) between the first frequency image and the second frequency image at the selected frequency component (u, v). Calculate (S5). The process of step S5 is realized by the image processor 13 executing the frequency data processing module 131.

なお、第1周波数画像F1(u,v)及び第2周波数画像F2(u,v)の振幅成分Cr(u,v)は、周波数成分(u,v)を(1)式に適用することによって算出される。(1)式は、クロススペクトルを算出する式である。また、第1周波数画像F1(u,v)及び第2周波数画像F2(u,v)の位相差Δθ(u,v)は、周波数成分(u,v)を(2)式に適用することによって算出される。   For the amplitude component Cr (u, v) of the first frequency image F1 (u, v) and the second frequency image F2 (u, v), the frequency component (u, v) is applied to the equation (1). Is calculated by The expression (1) is an expression for calculating a cross spectrum. The phase difference Δθ (u, v) between the first frequency image F1 (u, v) and the second frequency image F2 (u, v) applies the frequency component (u, v) to equation (2). Is calculated by

Figure 0005338741
Figure 0005338741

Figure 0005338741
Figure 0005338741

<ステップS6>
次に、画像処理プロセッサ13は、周波数成分(u,v)、位相差Δθ(u, v)及び投票空間における座標(dx,dy)を変数とする(3)式に、選択されている周波数成分(u,v)及びその周波数成分に基づき算出された位相差Δθ(u, v)を適用することにより、投票空間100内の直線である投票直線31の式(一次式)の係数を算出する(S6)。なお、(3)式において、M及びNは、2つの画像のX軸方向及びY軸方向各々のサイズ(画素数)であり、既知の定数である。
<Step S6>
Next, the image processor 13 selects the frequency selected in the equation (3) using the frequency component (u, v), the phase difference Δθ (u, v), and the coordinates (dx, dy) in the voting space as variables. By applying the phase difference Δθ (u, v) calculated based on the component (u, v) and its frequency component, the coefficient of the equation (primary equation) of the voting line 31 that is a straight line in the voting space 100 is calculated. (S6). In Equation (3), M and N are the sizes (number of pixels) of the two images in the X-axis direction and Y-axis direction, respectively, and are known constants.

Figure 0005338741
Figure 0005338741

この(3)式は、非特許文献1などに示されるように、周波数成分(u,v)、位相差Δθ(u, v)及び投票空間100における座標 (dx,dy)の各パラメータの間で成立する関係式であり、予め定められる式である。ステップS6の処理は、画像処理プロセッサ13が直線導出モジュール132を実行することによって実現される。   As shown in Non-Patent Document 1, etc., this equation (3) is calculated between the parameters of the frequency component (u, v), the phase difference Δθ (u, v), and the coordinates (dx, dy) in the voting space 100. Is a relational expression that is established in advance, and is a predetermined expression. The processing in step S6 is realized by the image processing processor 13 executing the straight line derivation module 132.

<ステップS7>
さらに、画像処理プロセッサ13は、投票空間100内の複数の投票領域20各々について、選択されている周波数成分(u,v)に対応する一本の投票直線31と交差する投票領域20を特定する(S7)。ステップS7の処理は、画像処理プロセッサ13が投票処理モジュール133を実行することによって実現される。
<Step S7>
Further, the image processor 13 specifies, for each of the plurality of voting areas 20 in the voting space 100, a voting area 20 that intersects with one voting line 31 corresponding to the selected frequency component (u, v). (S7). The processing in step S7 is realized by the image processing processor 13 executing the voting processing module 133.

前述したように、投票直線31と交差する投票領域20を交差領域20aと称する。ステップS7の処理は、画像処理プロセッサ13が投票処理モジュール133を実行することによって実現される。一本の投票直線31及びそれと交差する交差領域20aは、図11に例示されている。   As described above, the voting area 20 that intersects the voting straight line 31 is referred to as an intersecting area 20a. The processing in step S7 is realized by the image processing processor 13 executing the voting processing module 133. One voting line 31 and the intersecting region 20a intersecting therewith are illustrated in FIG.

<ステップS8>
さらに、画像処理プロセッサ13は、一本の投票直線32と交差する交差領域20aが特定されるごとに、その交差領域20a(投票領域20)に対応付けられたデータに、予め定められた投票値を加算する(S8)。即ち、画像処理プロセッサ13は、交差領域20aとされた投票領域20各々に対応するフレームメモリ12内の各データ領域において、その領域に格納されているデータに対して所定の投票値を加算する。なお、投票空間100に対応するフレームメモリ12内の各データ領域の初期値は"0"である。
<Step S8>
Further, every time an intersection area 20a intersecting with one voting line 32 is specified, the image processor 13 uses a predetermined vote value for data associated with the intersection area 20a (voting area 20). Are added (S8). That is, the image processor 13 adds a predetermined voting value to the data stored in each data area in the frame memory 12 corresponding to each of the voting areas 20 defined as the intersection areas 20a. The initial value of each data area in the frame memory 12 corresponding to the voting space 100 is “0”.

投票値は、交差領域20aとして特定される全ての投票領域20各々に対して同一の値とすることが考えられる。その他、クロススペクトルのパワー(相関度)に応じて重み付けされた異なる投票値を採用することが考えられる。この場合、クロススペクトルのパワーが大きな周波数成分(u,v)に対応する投票直線31と交差する交差領域20aにおいては、相対的に大きな投票値が加算される。また、クロススペクトルのパワーが小さな周波数成分(u,v)に対応する投票直線31と交差する交差領域20aにおいては、相対的に小さな投票値が加算される。   It is conceivable that the voting value is the same value for each of all the voting areas 20 specified as the intersection area 20a. In addition, it is conceivable to employ different voting values weighted according to the power (correlation degree) of the cross spectrum. In this case, a relatively large vote value is added in the intersection region 20a that intersects the voting line 31 corresponding to the frequency component (u, v) having a large cross spectrum power. Also, a relatively small vote value is added to the intersection region 20a that intersects the voting line 31 corresponding to the frequency component (u, v) having a small cross spectrum power.

<ステップS9、S10>
画像処理プロセッサ13は、ステップS4からステップS8の処理を実行するごとに、予め定められた処理移行条件が成立しているか否かを判別する(S9)。そして、画像処理プロセッサ13は、その処理移行条件が成立していると判別した場合には、後述する投票領域制限処理(S10)を実行する。一方、画像処理プロセッサ13は、処理移行条件が成立していないと判別した場合には、投票領域制限処理(S10)をスキップする。
<Steps S9 and S10>
The image processor 13 determines whether or not a predetermined process transition condition is satisfied each time the processes from step S4 to step S8 are executed (S9). If the image processor 13 determines that the process transition condition is satisfied, the image processor 13 executes a voting area restriction process (S10) described later. On the other hand, if the image processor 13 determines that the process transition condition is not satisfied, the image processor 13 skips the voting area restriction process (S10).

例えば、第1の処理移行条件は、投票処理の状況が、予め定められた第1の数J1の投票直線31についての投票処理(S6〜S8)が終了した時点であるという条件である。また、第2の処理移行条件は、投票処理の状況が、第1の処理移行条件の成立の後において、予め定められた第2の数J2の投票直線31についての投票処理(S6〜S8)が終了するごとの定期的なタイミングであるという条件である。投票領域制限処理(S10)は、これら第1の処理移行条件及び第2の処理移行条件のいずれかが成立するごとに実行される。これにより、投票領域制限処理(S10)は、複数の投票直線31のうちの一部についての投票処理が終了した複数の途中段階において実行される。   For example, the first process transition condition is a condition that the status of the voting process is a point in time when the voting process (S6 to S8) for the predetermined first number J1 of voting straight lines 31 is completed. In addition, the second process transition condition is that the voting process is performed for the voting straight line 31 of the second number J2 determined in advance after the establishment of the first process transition condition (S6 to S8). It is a condition that it is a periodic timing every time is completed. The voting area restriction process (S10) is executed every time one of the first process transition condition and the second process transition condition is satisfied. Thereby, the voting area restriction process (S10) is executed at a plurality of intermediate stages where the voting process for a part of the plurality of voting straight lines 31 is completed.

<ステップS11>
また、画像処理プロセッサ13は、ステップS4からステップS9の処理を実行するごとに、予め定められた終了条件が成立しているか否かを判別する(S11)。そして、画像処理プロセッサ13は、その終了条件が成立するまで、周波数成分(u,v)の選択(S4)と、選択した周波数成分(u,v)各々についての位相差Δθ(u,v)の算出(S5)と、その位相差Δθ(u,v)に対応する投票直線31と交差する交差領域20aの特定(S6、S7)と、交差領域22に対する投票値の加算(S8)とを順次実行する。
<Step S11>
The image processor 13 determines whether or not a predetermined end condition is satisfied each time the processing from step S4 to step S9 is executed (S11). Then, the image processor 13 selects the frequency component (u, v) (S4) and the phase difference Δθ (u, v) for each selected frequency component (u, v) until the termination condition is satisfied. Calculation (S5), specification of the intersecting area 20a intersecting the voting line 31 corresponding to the phase difference Δθ (u, v) (S6, S7), and addition of vote values for the intersecting area 22 (S8) Run sequentially.

即ち、画像処理プロセッサ13は、投票処理モジュール133を実行することにより、複数の投票領域20各々について、一本の投票直線と交差する交差領域20aを特定する(S7)。さらに、画像処理プロセッサ13は、投票処理モジュール133を実行することにより、交差領域20aに対応付けて投票値を加算する処理(S8)を、複数の周波数成分(u,v)各々に対応する投票直線31各々について順次実行する(S4〜S8)。これにより、交差領域20aに対して投票値が積算される。複数の投票直線31及びそれらと交差する交差領域20aは、図12に例示されている。   That is, the image processor 13 executes the voting processing module 133 to identify the intersecting region 20a that intersects with one voting line for each of the plurality of voting regions 20 (S7). Further, the image processor 13 executes the voting processing module 133 to perform a process of adding voting values in association with the intersecting region 20a (S8), and voting corresponding to each of the plurality of frequency components (u, v). Each straight line 31 is sequentially executed (S4 to S8). Thereby, vote values are integrated with respect to the intersection area 20a. The plurality of voting straight lines 31 and the intersecting region 20a intersecting with them are illustrated in FIG.

終了条件は、例えば、投票領域20各々における投票値の積算値が、予め定められた条件を満たすことである。その条件は、例えば、投票値の積算値P1,P2が、次の(4)式を満たすことである。(4)式において、Hは、全ての周波数成分(u,v)の数であり、hは、投票処理(投票値の積算)が終了した周波数成分(u,v)の数であり、Umaxは、投票処理1回当たりの投票値の最大値であり、P1及びP2は、h個の周波数成分(u,v)についての投票処理が行われた時点での投票値の積算値の最大値及び2番目に大きい値である。なお、投票領域20の位置に応じた投票値の重み付けが行われない場合、Umaxは、1回の投票において投票領域20ごとに加算される投票値であり、通常は"1"である。   The end condition is, for example, that an integrated value of voting values in each voting area 20 satisfies a predetermined condition. The condition is, for example, that the integrated values P1 and P2 of the vote values satisfy the following expression (4). In Equation (4), H is the number of all frequency components (u, v), h is the number of frequency components (u, v) for which voting processing (voting value accumulation) has been completed, and Umax Is the maximum voting value per voting process, and P1 and P2 are the maximum integrated values of voting values at the time when the voting process is performed for h frequency components (u, v) And the second largest value. Note that, when the voting value is not weighted according to the position of the voting area 20, Umax is a voting value added for each voting area 20 in one voting, and is normally “1”.

Figure 0005338741
Figure 0005338741

(4)式を満足することは、現時点で投票値の積算値がP1である投票領域20が、投票値の積算値が最終的に最大となることが確定したことを意味する。従って、最終的に投票値の積算値が最大となる投票領域20の位置に基づいて対応点偏差座標(dx0,dy0)を導出する場合、(4)式を終了条件とすることが有効である。   Satisfying the expression (4) means that the voting area 20 whose voting value integrated value is P1 at the present time is finally determined to have the maximum voting value integrated value. Therefore, when the corresponding point deviation coordinates (dx0, dy0) are derived based on the position of the voting area 20 where the integrated value of the voting value finally becomes the maximum, it is effective to use the expression (4) as an end condition. .

また、投票領域20各々における投票値の積算値に基づく終了条件は、他の条件も考えられる。例えば、投票値の積算値の最大値P1が、予め定められたしきい値以上であること、投票値の積算値の最大値P1と、投票値の積算値の2番目に大きい値P2との差(P1-P2)が、予め定められたしきい値以上であること、又はそれら両方の条件を満たすこと、などが考えられる。また、終了条件が、予め定められた個数の周波数成分(u,v)について、ステップS4〜S8の処理が行われたことである場合も考えられる。   In addition, other conditions may be considered as the end condition based on the integrated value of the vote value in each vote area 20. For example, the maximum integrated value P1 of the voting value is equal to or greater than a predetermined threshold, the maximum integrated value P1 of the voting value, and the second largest value P2 of the integrated voting value It is conceivable that the difference (P1-P2) is greater than or equal to a predetermined threshold value, or that both conditions are satisfied. It is also conceivable that the end condition is that the processes in steps S4 to S8 have been performed for a predetermined number of frequency components (u, v).

ここで、図3に示されるフローチャートを参照しつつ、投票領域制限処理(S10)の詳細について説明する。フローチャートにおいて、S21〜S25は、処理の手順の識別符号を表す。   Here, the details of the voting area restriction process (S10) will be described with reference to the flowchart shown in FIG. In the flowchart, S21 to S25 represent identification codes of processing procedures.

<ステップS21>
投票領域制限処理において、まず、画像処理プロセッサ13は、全ての投票領域20の中から、投票空間100内で一部のかつ一連の範囲を占める投票領域20の集合からなる判定用部分領域20bを順次選択する(S21:判定用部分領域選択処理)。ここで、投票領域20の集合は、1つ以上の投票領域20を含むことを意味する。判定用部分領域20bは、後述するレベル判定処理(S22)の対象となる単位である。のこのステップS21の処理は、画像処理プロセッサ13が除外領域特定モジュール134を実行することによって実現される。
<Step S21>
In the voting area limiting process, first, the image processor 13 selects a partial area 20b for determination that is a set of voting areas 20 that occupy a part and a series of ranges in the voting space 100 from all the voting areas 20. Select sequentially (S21: determination partial region selection process). Here, the set of voting areas 20 means that one or more voting areas 20 are included. The determination partial area 20b is a unit that is a target of a level determination process (S22) described later. The processing in step S21 is realized by the image processor 13 executing the excluded area specifying module 134.

図4及び図5は、投票領域制限処理において、投票空間100から判定用部分領域20bを選択する処理の第1例及び第2例を示す模式図である。   4 and 5 are schematic diagrams illustrating a first example and a second example of processing for selecting the determination partial region 20b from the voting space 100 in the voting region restriction processing.

図4に示される第1例は、判定用部分領域選択処理(S21)において、個々の投票領域20が判定用投票領域21として順次選択される例、即ち、投票領域20と判定用部分領域20bとが1対1に対応する例である。また、図5に示される第2例は、判定用部分領域選択処理(S21)において、ΔX軸方向における3列の範囲、及びΔY軸方向における3行の範囲を占める9個の投票領域20が、判定用投票領域21として順次選択される例である。ここで、投票空間100における行及び列は、投票領域20の行及び列を意味する。   The first example shown in FIG. 4 is an example in which individual voting areas 20 are sequentially selected as determination voting areas 21 in the determination partial area selection processing (S21), that is, the voting area 20 and the determination partial area 20b. Is an example of one-to-one correspondence. In the second example shown in FIG. 5, in the determination partial area selection process (S21), nine voting areas 20 occupying a range of three columns in the ΔX-axis direction and a range of three rows in the ΔY-axis direction. In this example, the determination voting area 21 is sequentially selected. Here, the rows and columns in the voting space 100 mean the rows and columns of the voting area 20.

図5の例では、例えば、3列×3行の範囲を占める判定用投票領域21が、ΔX軸方向又はΔY軸方向に一つの投票領域20分ずつずれた位置から順次選択される。なお、図5に示される第2例では、判定用投票領域21は、3列×3行分の領域であるが、2列×2行分の領域、2列×3行分の領域又は5列×5行分の領域など、判定用投票領域21として選択される領域は、画像処理装置10の適用対象に応じて任意に定められる。   In the example of FIG. 5, for example, the determination voting area 21 occupying a range of 3 columns × 3 rows is sequentially selected from positions shifted by one voting area 20 minutes in the ΔX-axis direction or ΔY-axis direction. In the second example shown in FIG. 5, the determination voting area 21 is an area of 3 columns × 3 rows, but an area of 2 columns × 2 rows, an area of 2 columns × 3 rows, or 5 An area selected as the voting area for determination 21 such as an area of columns × 5 rows is arbitrarily determined according to the application target of the image processing apparatus 10.

<ステップS22>
次に、画像処理プロセッサ13は、選択した判定用部分領域20bごとに、その判定用部分領域20b内の投票領域20に対応する投票値の積算値の代表値が、予め設定されるしきい値を基準にしてどの程度のレベルであるかを判定する(S22:レベル判定処理)。その判定結果は、判定用部分領域20bに含まれる各投票領域20の識別番号に対応付けられて画像処理プロセッサ13の主メモリに記録される。このレベル判定処理は、画像処理プロセッサ13が除外領域特定モジュール134を実行することによって実現される。
<Step S22>
Next, for each selected determination partial area 20b, the image processor 13 sets a threshold value in which a representative value of the integrated values of voting values corresponding to the voting areas 20 in the determination partial area 20b is set in advance. It is determined how much level it is based on (S22: level determination process). The determination result is recorded in the main memory of the image processor 13 in association with the identification number of each voting area 20 included in the determination partial area 20b. This level determination process is realized by the image processor 13 executing the excluded area specifying module 134.

図5に示したように、判定用部分領域20bが複数の投票領域20を含む場合、代表値は、例えば、判定用部分領域20b内の投票領域20に対応する複数の積算値の最大値又は平均値などである。また、図4に示したように、判定用部分領域20bが個々の投票領域20である場合、代表値は、投票値の積算値そのものである。   As shown in FIG. 5, when the determination partial area 20b includes a plurality of voting areas 20, the representative value is, for example, the maximum value of a plurality of integrated values corresponding to the voting areas 20 in the determination partial area 20b, or For example, an average value. As shown in FIG. 4, when the determination partial area 20b is each voting area 20, the representative value is the integrated value of the voting value itself.

ステップS22のレベル判定処理において、例えば、画像処理プロセッサ13は、代表値と1つ又は複数のしきい値との比較により、代表値が、相対的に大きい「高レベル」と相対的に小さい「低レベル」といずれのレベル(ランク)に該当するかを判定することが考えられる。例えば、代表値をSV、1つのしきい値をSL1とした場合に、画像処理プロセッサ13は、SV≧SL1であるときに、その代表値SVは「高レベル」に該当すると判定し、SV<SL1であるときに、その代表値SVは「低レベル」に該当すると判定する。また、2つのしきい値をSL1,SL2(SL1>SL2)とした場合に、画像処理プロセッサ13は、SV≧SL1であるときに、その代表値SVは「高レベル」に該当すると判定し、SV<SL2であるときに、その代表値SVは「低レベル」に該当すると判定する。   In the level determination process of step S22, for example, the image processor 13 compares the representative value with one or a plurality of threshold values, so that the representative value is relatively high “high level” and relatively small “ It is conceivable to determine which level (rank) corresponds to “low level”. For example, when the representative value is SV and one threshold is SL1, the image processor 13 determines that the representative value SV corresponds to “high level” when SV ≧ SL1, and SV < When it is SL1, it is determined that the representative value SV corresponds to “low level”. Further, when the two threshold values are SL1, SL2 (SL1> SL2), the image processor 13 determines that the representative value SV corresponds to “high level” when SV ≧ SL1, When SV <SL2, it is determined that the representative value SV corresponds to “low level”.

また、画像処理プロセッサ13は、代表値と複数のしきい値各々との比較により、代表値が、相対的に大きな「高レベル」と、相対的に小さな「低レベル」と、それらの間の「中レベル」との3つのレベル(ランク)いずれに該当するか判定することも考えられる。例えば、2つのしきい値をSL1,SL2(SL1>SL2)とした場合に、画像処理プロセッサ13は、SV≧SL1であるときに、その代表値SVは「高レベル」に該当すると判定し、SV<SL2であるときに、その代表値SVは「低レベル」に該当すると判定し、その他のときに、その代表値SVは「中レベル」に該当すると判定する。また、3つ以上のしきい値を用いて「高レベル」、「低レベル」及び「中レベル」の判定を行うことも考えられる。   In addition, the image processor 13 compares the representative value with each of the plurality of threshold values, and the representative value has a relatively large “high level” and a relatively small “low level”. It is also conceivable to determine which of the three levels (ranks), “medium level”, corresponds to. For example, when the two threshold values are SL1, SL2 (SL1> SL2), the image processor 13 determines that the representative value SV corresponds to “high level” when SV ≧ SL1, When SV <SL2, it is determined that the representative value SV corresponds to “low level”, and at other times, the representative value SV is determined to correspond to “medium level”. It is also conceivable to determine “high level”, “low level”, and “medium level” using three or more threshold values.

<ステップS23>
画像処理プロセッサ13は、全ての判定用部分領域20bについてステップS22の処理が終了したか否かを判別しつつ(S23)、全ての判定用部分領域20bについて判定用部分領域20bの選択(S21)及びその判定用部分領域20bに対するレベル判定処理(S22)を順次実行する。このステップS23の判別処理は、画像処理プロセッサ13が除外領域特定モジュール134を実行することによって実現される。
<Step S23>
The image processor 13 determines whether or not the processing of step S22 has been completed for all the determination partial areas 20b (S23), and selects the determination partial areas 20b for all the determination partial areas 20b (S21). The level determination process (S22) for the determination partial area 20b is sequentially executed. The determination process in step S23 is realized by the image processor 13 executing the excluded area specifying module 134.

ところで、複数の判定用部分領域20bに属する投票領域20において、対応する判定用部分領域20bごとに異なるレベル判定が行われることが考えられる。そのような投票領域20に関し、「高レベル」側の判定結果を優先するか、又は「低レベル」側の判定結果を優先するかを予め定めておくことが考えられる。   By the way, in the voting area 20 belonging to the plurality of determination partial areas 20b, it is considered that a different level determination is performed for each corresponding determination partial area 20b. For such a voting area 20, it may be determined in advance whether to give priority to the determination result on the “high level” side or to give priority to the determination result on the “low level” side.

以下の説明において、「高レベル」、「低レベル」及び「中レベル」の各判定結果が得られた判定用部分領域20b(投票領域20の集合)のことを、それぞれ高レベル領域21、低レベル領域22及び中レベル領域23と称する。   In the following description, the determination partial area 20b (a set of voting areas 20) from which the determination results of “high level”, “low level”, and “medium level” are obtained are referred to as a high level area 21 and a low level, respectively. These are referred to as level region 22 and middle level region 23.

図6は、投票値の積算値に基づく第1のレベル判定処理によって高レベル領域21及び低レベル領域22の2つの領域に区分された投票空間100の一例を示す模式図である。図6において、高レベル領域21は空白で示され、低レベル領域22は砂模様の網掛けが付されている。   FIG. 6 is a schematic diagram showing an example of the voting space 100 divided into two regions, a high level region 21 and a low level region 22, by the first level determination process based on the integrated value of voting values. In FIG. 6, the high level region 21 is indicated by a blank, and the low level region 22 is shaded with a sand pattern.

図6に示される例は、判定用部分領域20bが、投票領域20各々に対して1対1に設定され、1つ以上の投票直線31と交差する判定用部分領域20b(投票領域)が高レベル領域21、投票直線31と交差しない判定用部分領域20bが低レベル領域22と判定された例である。   In the example shown in FIG. 6, the determination partial area 20 b is set to one-to-one for each voting area 20, and the determination partial area 20 b (voting area) that intersects one or more voting straight lines 31 is high. This is an example in which the determination partial region 20 b that does not intersect the level region 21 and the voting line 31 is determined to be the low level region 22.

即ち、図6に示される例は、全ての投票領域20において1回に加算される投票値が"1"である場合、投票値の積算値が"1"以上である判定用部分領域20b(投票領域)が高レベル領域21、投票値の積算値が"1"未満である判定用部分領域20b(投票領域)が低レベル領域22として判定された例である。   That is, in the example shown in FIG. 6, when the vote value added at one time in all the vote areas 20 is “1”, the determination partial area 20 b (the accumulated value of the vote values is “1” or more). This is an example in which the determination partial area 20b (voting area) in which the voting area) is the high level area 21 and the integrated voting value is less than “1” is determined as the low level area 22.

図7は、投票値の積算値に基づく第2のレベル判定処理によって高レベル領域21及び低レベル領域22の2つの領域に区分された投票空間100の一例を示す模式図である。図7においても、高レベル領域21は空白で示され、低レベル領域22は砂模様の網掛けが付されている。   FIG. 7 is a schematic diagram showing an example of the voting space 100 divided into two regions, a high level region 21 and a low level region 22, by a second level determination process based on the integrated value of voting values. Also in FIG. 7, the high level region 21 is shown as blank, and the low level region 22 is shaded with a sand pattern.

図7に示される例は、判定用部分領域20bが、投票領域20各々に対して1対1に設定され、2つ以上の投票直線31と交差する判定用部分領域20b(投票領域)が高レベル領域21、投票直線31と交差しない判定用部分領域20bが低レベル領域22と判定された例である。   In the example shown in FIG. 7, the determination partial area 20 b is set to one-to-one for each voting area 20, and the determination partial area 20 b (voting area) intersecting with two or more voting straight lines 31 is high. This is an example in which the determination partial region 20 b that does not intersect the level region 21 and the voting line 31 is determined to be the low level region 22.

即ち、図7に示される例は、全ての投票領域20において1回に加算される投票値が"1"である場合、投票値の積算値が"2"以上である判定用部分領域20b(投票領域)が高レベル領域21、投票値の積算値が"2"未満である判定用部分領域20b(投票領域)が低レベル領域22として判定された例である。説明の便宜上、図6及び図7の例におけるしきい値SL1は"1"又は"2"とされるが、実際のしきい値SL1は、通常、より大きな値が設定されることが想定される。   That is, in the example shown in FIG. 7, when the vote value added at one time in all the vote areas 20 is “1”, the determination partial area 20 b (the accumulated value of the vote values is “2” or more) This is an example in which the determination partial area 20 b (voting area) in which the voting area) is the high level area 21 and the integrated value of the voting value is less than “2” is determined as the low level area 22. For convenience of explanation, the threshold value SL1 in the examples of FIGS. 6 and 7 is set to “1” or “2”, but it is assumed that a larger value is usually set as the actual threshold value SL1. The

図8は、投票値の積算値に基づく第3のレベル判定処理によって高レベル領域21、低レベル領域22及びそれらの間のレベルである中レベル領域23の3つの領域に区分された投票空間100の一例を示す模式図である。図8において、高レベル領域21は空白で示され、低レベル領域22は砂模様の網掛けが付され、中レベル領域23は斜線の網掛けが付されている。   FIG. 8 shows a voting space 100 divided into three areas of a high level area 21, a low level area 22, and an intermediate level area 23, which is a level between them, by a third level determination process based on an integrated value of voting values. It is a schematic diagram which shows an example. In FIG. 8, the high level region 21 is shown as blank, the low level region 22 is sanded, and the middle level region 23 is shaded.

図8に示される例は、判定用部分領域20bが、投票領域20各々に対して1対1に設定され、2つ以上の投票直線31と交差する判定用部分領域20b(投票領域)が高レベル領域21と判定され、投票直線31と交差しない判定用部分領域20bが低レベル領域22と判定され、1つの投票直線31と交差する判定用部分領域20bが中レベル領域23と判定された例である。   In the example shown in FIG. 8, the determination partial area 20 b is set to one-to-one for each voting area 20, and the determination partial area 20 b (voting area) intersecting with two or more voting straight lines 31 is high. An example in which the determination partial region 20 b that is determined as the level region 21, does not intersect the voting straight line 31, is determined as the low level region 22, and the determination partial region 20 b that intersects one voting straight line 31 is determined as the middle level region 23 It is.

即ち、図8に示される例は、全ての投票領域20において1回に加算される投票値が"1"である場合、投票値の積算値が"2"以上である判定用部分領域20b(投票領域)が高レベル領域21として判定され、投票値の積算値が"1"未満である判定用部分領域20bが低レベル領域22として判定され、その他の判定用部分領域20bが中レベル領域23として判定された例である。説明の便宜上、図8の例におけるしきい値SL1は"2"とされるが、実際のしきい値SL1は、通常、より大きな値が設定されることが想定される。   That is, in the example shown in FIG. 8, when the vote value added at one time in all the vote areas 20 is “1”, the determination partial area 20 b (the accumulated value of the vote values is “2” or more) Voting area) is determined as the high-level area 21, the determination partial area 20 b whose voting value integrated value is less than “1” is determined as the low-level area 22, and the other determination partial areas 20 b are the intermediate-level area 23. It is an example determined as. For convenience of explanation, the threshold value SL1 in the example of FIG. 8 is “2”, but it is assumed that a larger value is usually set as the actual threshold value SL1.

<ステップS24>
そして、全ての判定用部分領域20bについてのレベル判定処理(S22)が終了すると、画像処理プロセッサ13は、レベルの判定結果に基づいて、以降の投票処理(S7及びS8)の対象から除外される投票領域20である除外領域24を特定する除外領域特定処理を実行する(S24)。このステップS23の判別処理は、画像処理プロセッサ13が除外領域特定モジュール134を実行することによって実現される。以下、除外領域特定処理の具体例について説明する。
<Step S24>
When the level determination processing (S22) for all the determination partial areas 20b is completed, the image processing processor 13 is excluded from the subsequent voting processing (S7 and S8) based on the level determination result. Exclusion area specifying processing for specifying the exclusion area 24 that is the voting area 20 is executed (S24). The determination process in step S23 is realized by the image processor 13 executing the excluded area specifying module 134. Hereinafter, a specific example of the excluded area specifying process will be described.

<除外領域特定処理の第1の例>
除外領域特定処理(S24)の第1の例は、1つ以上のしきい値を基準にして少なくとも高レベル領域21及び低レベル領域22の判定が行われた場合の例である。この例では、画像処理プロセッサ13は、高レベル領域21が存在することを要件として、全ての投票領域20のうち、高レベル領域21を含む範囲内にある投票領域20を除いた残りの投票領域20を除外領域24として特定する。
<First Example of Exclusion Area Identification Process>
The first example of the excluded area specifying process (S24) is an example in which at least the high level area 21 and the low level area 22 are determined based on one or more threshold values. In this example, the image processor 13 requires the high-level area 21 to exist, and the remaining voting areas excluding the voting areas 20 within the range including the high-level area 21 among all the voting areas 20. 20 is specified as the exclusion region 24.

また、第1の例において、除外領域24を特定する方法は、次の2通りの方法が考えられる。第1の方法は、高レベル領域21内の投票領域20を除いた残りの全ての投票領域20を除外領域24として特定する方法である。図6又は図7に示されるレベル判定結果が得られた場合、この第1の例における第1の方法では、砂地模様の網掛けが付されている低レベル領域22の全てが除外領域24として特定される。   In the first example, the following two methods are conceivable as a method of specifying the exclusion region 24. The first method is a method of specifying all the remaining voting areas 20 except the voting area 20 in the high level area 21 as the exclusion area 24. When the level determination result shown in FIG. 6 or FIG. 7 is obtained, in the first method in the first example, all of the low level regions 22 that are shaded with sand pattern are used as the exclusion regions 24. Identified.

また、図8に示されるレベル判定結果が得られた場合、この第1の例における第1の方法では、砂地模様の網掛けが付されている低レベル領域22及び斜線の網掛けが付されている中レベル領域23の全てが除外領域24として特定される。   When the level determination result shown in FIG. 8 is obtained, in the first method in the first example, the low-level region 22 that is shaded with a sand pattern and the shaded hatching are attached. All of the intermediate level areas 23 are specified as the exclusion areas 24.

一方、第1の例における第2の方法は、高レベル領域21を予め定められた大きさだけ拡大した範囲に含まれる投票領域20を除いた残りの投票領域20を除外領域24として特定する方法である。この第1の例における第2の方法では、高レベル領域21以外の投票領域20のうち、高レベル領域21に近い一部の投票領域20を除く残りの投票領域20のみが除外領域24として特定される。   On the other hand, the second method in the first example is a method in which the remaining voting area 20 excluding the voting area 20 included in the range obtained by enlarging the high-level area 21 by a predetermined size is specified as the excluded area 24. It is. In the second method in the first example, among the voting areas 20 other than the high level area 21, only the remaining voting areas 20 excluding a part of the voting areas 20 close to the high level area 21 are specified as the excluded areas 24. Is done.

図9は、図7に示されるレベル判定結果(第2のレベル判定処理の結果)が得られた場合において、第1の例における第2の方法によって除外領域24が設定された投票空間100の一例を示す模式図である。より具体的には、図9に示される例は、図7に示されるレベル判定結果が得られた場合に、高レベル領域21を1列分及び1行分だけ拡大した範囲内に含まれる投票領域20を除いた残りの投票領域20が、除外領域24として特定された例である。なお、拡大の幅は、1列分及び1行分の幅に限らず、複数列分の幅及び複数行分の幅でることも考えられる。   FIG. 9 shows the voting space 100 in which the exclusion area 24 is set by the second method in the first example when the level determination result (the result of the second level determination process) shown in FIG. 7 is obtained. It is a schematic diagram which shows an example. More specifically, in the example shown in FIG. 9, when the level determination result shown in FIG. 7 is obtained, the voting included in the range in which the high level region 21 is expanded by one column and one row is included. In this example, the remaining voting area 20 excluding the area 20 is specified as the exclusion area 24. Note that the width of enlargement is not limited to the width of one column and one row, but may be the width of a plurality of columns and the width of a plurality of rows.

<除外領域特定処理の第2の例>
除外領域特定処理(S24)の第2の例は、2つ以上のしきい値を基準にして少なくとも高レベル領域21、低レベル領域22及び中レベル領域23の判定が行われた場合の例である。この例では、画像処理プロセッサ13は、高レベル領域21が存在し、かつ、中レベル領域23が存在しないことを要件として、全ての投票領域20のうち、高レベル領域21を含む範囲内にある投票領域20を除いた残りの投票領域20を除外領域24として特定する。
<Second Example of Exclusion Area Identification Process>
The second example of the excluded area specifying process (S24) is an example in which at least the high level area 21, the low level area 22, and the middle level area 23 are determined based on two or more threshold values. is there. In this example, the image processor 13 is within the range including the high level area 21 among all the voting areas 20 on condition that the high level area 21 exists and the intermediate level area 23 does not exist. The remaining voting area 20 excluding the voting area 20 is specified as the exclusion area 24.

この第2の例においても、除外領域24を特定する方法は、第1の例と同様の第1の方法及び第2の方法を含む。即ち、第1の方法は、高レベル領域21内の投票領域20を除いた残りの全ての投票領域20を除外領域24として特定する方法である。   Also in the second example, the method for specifying the exclusion region 24 includes the first method and the second method similar to those in the first example. That is, the first method is a method of specifying all the remaining voting areas 20 except the voting area 20 in the high level area 21 as the exclusion area 24.

一方、第2の方法は、高レベル領域21を予め定められた大きさだけ拡大した範囲に含まれる投票領域20を除いた残りの投票領域20を除外領域24として特定する方法である。この場合、低レベル領域22のうち、高レベル領域21に近い一部の投票領域20を除く残りの領域が、除外領域24として特定される。   On the other hand, the second method is a method in which the remaining voting area 20 excluding the voting area 20 included in the range in which the high level area 21 is enlarged by a predetermined size is specified as the exclusion area 24. In this case, the remaining area of the low level area 22 excluding a part of the voting area 20 close to the high level area 21 is specified as the exclusion area 24.

この第2の例は、投票処理による投票値の積算(S8)が、ごく一部の高レベル領域21において集中的に行われた結果、ごく一部の高レベル領域21とその他の投票領域20との間で投票値の積算値の差が大きい状況となったときに、高レベル領域21を除く領域、又は高レベル領域21を拡大した範囲を除く領域が、除外領域24として特定される例である。   In the second example, as a result of the voting processing (S <b> 8) being integrated in a very small part of the high-level area 21, only a small part of the high-level area 21 and the other voting areas 20 are obtained. An example in which a region excluding the high-level region 21 or a region excluding a range obtained by enlarging the high-level region 21 is specified as the excluded region 24 when the difference between the vote values is large. It is.

<除外領域特定処理の第3の例>
除外領域特定処理(S24)の第3の例は、第1の例と同様に、1つのしきい値SL1を基準にして高レベル領域21及び低レベル領域22の判定が行われた場合の例である。この例では、画像処理プロセッサ13は、高レベル領域21が存在することを要件として、全ての投票領域20のうち、低レベル領域22に含まれる投票領域20を除外領域24として特定する。従って、低レベル領域22に含まれる投票領域20の全てが除外領域24として特定される。
<Third example of exclusion area specifying process>
The third example of the excluded area specifying process (S24) is an example in which the high level area 21 and the low level area 22 are determined based on one threshold SL1 as in the first example. It is. In this example, the image processor 13 specifies the voting area 20 included in the low level area 22 among all the voting areas 20 as the exclusion area 24 on the condition that the high level area 21 exists. Accordingly, all of the voting areas 20 included in the low level area 22 are specified as the excluded areas 24.

図6又は図7に示されるレベル判定結果が得られた場合、この第3の例では、砂地模様の網掛けが付されている低レベル領域22が除外領域24として特定される。また、図8に示されるレベル判定結果が得られた場合、この第3の例では、砂地模様の網掛けが付されている低レベル領域22が除外領域24として特定される。   When the level determination result shown in FIG. 6 or FIG. 7 is obtained, in the third example, the low level region 22 that is shaded with a sand pattern is specified as the excluded region 24. Further, when the level determination result shown in FIG. 8 is obtained, in this third example, the low level region 22 that is shaded with a sand pattern is specified as the excluded region 24.

<除外領域特定処理の第4の例>
除外領域特定処理(S24)の第4の例は、2つ以上のしきい値を基準にして少なくとも高レベル領域21、低レベル領域22及び中レベル領域23の判定が行われた場合の例である。この例では、画像処理プロセッサ13は、高レベル領域21が存在し、かつ、中レベル領域23が存在しないことを要件として、全ての投票領域20のうち、低レベル領域22を除外領域24として特定する。
<Fourth Example of Exclusion Area Identification Process>
The fourth example of the excluded area specifying process (S24) is an example in which at least the high level area 21, the low level area 22, and the middle level area 23 are determined based on two or more threshold values. is there. In this example, the image processor 13 specifies the low-level area 22 as an excluded area 24 out of all the voting areas 20 on the condition that the high-level area 21 exists and the middle-level area 23 does not exist. To do.

この第4の例は、投票処理による投票値の積算(S8)が、ごく一部の高レベル領域21において集中的に行われた結果、ごく一部の高レベル領域21とその他の投票領域20との間で投票値の積算値の差が大きい状況となったときに、低レベル領域22が除外領域24として特定される例である。   In the fourth example, as a result of the voting value accumulation (S8) by the voting process being concentrated in a very small part of the high level area 21, a very small part of the high level area 21 and the other voting areas 20 are obtained. This is an example in which the low-level region 22 is specified as the exclusion region 24 when the difference between the integrated voting values is large.

<ステップS25>
そして、除外領域24の特定(S25)が終了すると、画像処理プロセッサ13は、その後において、投票処理(S7及びS8)の対象から除外領域24を排除する処理を実行する(S25)。即ち、このステップS25の処理は、全ての投票領域20から除外領域24を除いた残りの投票領域20のみを対象に投票処理(S7及びS8)が実行されるよう投票処理モジュール133を制御する処理である。このステップS25の処理は、画像処理プロセッサ13が投票領域制限モジュール135を実行することによって実現される。なお、画像処理プロセッサ13は、投票処理の対象から一度除外した投票領域20を、再び投票処理の対象として復活させることは行わない。
<Step S25>
When the specification of the exclusion area 24 (S25) ends, the image processor 13 thereafter executes a process of excluding the exclusion area 24 from the target of the voting process (S7 and S8) (S25). That is, the process of step S25 is a process of controlling the voting process module 133 so that the voting process (S7 and S8) is executed only for the remaining voting areas 20 excluding the excluded areas 24 from all the voting areas 20. It is. The process in step S25 is realized by the image processor 13 executing the voting area restriction module 135. Note that the image processor 13 does not restore the voting area 20 once excluded from the voting target as the voting target again.

例えば、ステップS7及びS8において、画像処理プロセッサ13は、予め設定された投票領域20の識別番号のリストを参照し、そのリストに含まれる識別番号各々に対応する投票領域20を対象に投票処理を実行することが考えられる。この場合、画像処理プロセッサ13は、ステップS25において、リストの中から除外領域24に対応する識別番号を削除すればよい。   For example, in steps S7 and S8, the image processor 13 refers to a preset list of identification numbers of the voting area 20, and performs voting processing for the voting areas 20 corresponding to the identification numbers included in the list. It is conceivable to execute. In this case, the image processor 13 may delete the identification number corresponding to the excluded area 24 from the list in step S25.

また、ステップS7及びS8において、画像処理プロセッサ13は、投票領域20各々に対応して予め設定されたフラグ情報を参照し、そのフラグ情報が"ON"である投票領域20のみを対象に投票処理を実行することが考えられる。この場合、画像処理プロセッサ13は、ステップS25において、除外領域24に対応するフラグ情報を"OFF"にすればよい。   In steps S7 and S8, the image processor 13 refers to flag information set in advance corresponding to each voting area 20, and performs voting processing only for the voting area 20 whose flag information is "ON". Can be considered. In this case, the image processor 13 may set the flag information corresponding to the excluded area 24 to “OFF” in step S25.

以上に示される投票領域制限処理(S21〜S25)が実行されることにより、除外領域24であると特定された投票領域20は、それ以降の投票処理(S7及びS8)において、投票値を積算する対象から除外される。以下、再び図2を参照する。   By executing the voting area restriction process (S21 to S25) shown above, the voting area 20 specified as the exclusion area 24 accumulates the voting values in the subsequent voting processes (S7 and S8). Excluded from the target. Hereinafter, FIG. 2 will be referred to again.

<ステップS12>
以上に示したステップS4〜S10の処理が行われたときに、終了条件が成立すると、画像処理プロセッサ13は、投票領域20各々の投票値の積算値に基づいて、投票値が積算された投票領域20の座標に応じた対応点偏差座標(dx0,dy0)を算出する(S12)。より具体的には、画像処理プロセッサ13は、投票空間100における投票値の積算値のピーク位置の座標を、対応点偏差座標(dx0,dy0)として算出する。ステップS12の処理は、画像処理プロセッサ13が対応点座標算計算モジュール136を実行することにより実現される。なお、対応点偏差座標(dx0,dy0)は、目的の座標の一例である。
<Step S12>
If the end condition is satisfied when the processes in steps S4 to S10 described above are performed, the image processor 13 determines that the vote value is accumulated based on the accumulated value of the vote values in each of the vote areas 20. Corresponding point deviation coordinates (dx0, dy0) corresponding to the coordinates of the region 20 are calculated (S12). More specifically, the image processor 13 calculates the coordinates of the peak position of the integrated value of the vote value in the vote space 100 as the corresponding point deviation coordinates (dx0, dy0). The process of step S12 is realized by the image processor 13 executing the corresponding point coordinate calculation calculation module 136. The corresponding point deviation coordinates (dx0, dy0) are an example of target coordinates.

例えば、画像処理プロセッサ13は、終了条件が成立したときの投票値の積算値が最大である投票領域20の中心の座標を、対応点偏差座標(dx0,dy0)として算出する。或いは、画像処理プロセッサ13は、終了条件が成立したときの投票値の積算値を重み係数として、投票値が積算された投票領域20の重心位置の座標を対応点偏差座標(dx0,dy0)として算出する。   For example, the image processor 13 calculates the coordinates of the center of the voting area 20 where the integrated value of the voting values when the end condition is satisfied is the corresponding point deviation coordinates (dx0, dy0). Alternatively, the image processor 13 uses the integrated value of the voting values when the end condition is satisfied as a weighting coefficient, and the coordinates of the centroid position of the voting area 20 where the voting values are integrated as the corresponding point deviation coordinates (dx0, dy0). calculate.

なお、画像処理装置10においては、投票空間100内の一部である除外領域24は、投票処理の途中段階以降において、投票処理の対象から排除される。そのため、除外領域24における投票値の積算値は、他の投票領域20における投票値の積算値と同列に比較することはできない。従って、除外領域24は、対応点偏差座標(dx0,dy0)の算出に用いる対象から除外することが望ましい。   In the image processing apparatus 10, the exclusion area 24 that is a part of the voting space 100 is excluded from the voting process target after the voting process. Therefore, the integrated value of the voting value in the exclusion area 24 cannot be compared with the integrated value of the voting value in the other voting areas 20. Therefore, it is desirable to exclude the excluded area 24 from the target used for calculating the corresponding point deviation coordinates (dx0, dy0).

また、ステップS12の処理において、画像処理プロセッサ13は、以上のようにして算出した対応点偏差座標(dx0,dy0)の情報を、データ出力インターフェース15を通じて外部装置へ出力する。或いは、画像処理プロセッサ13は、第1画像における注目点の座標(x01, y01)と対応点偏差座標(dx0, dy0)とに基づいて、第2画像における対応点の座標(x02, y02)を算出し、その座標(x02,y02)の情報を、データ出力インターフェース15を通じて外部装置へ出力する。以上に示した処理が、画像処理装置10における対応点探索処理である。   In the process of step S12, the image processor 13 outputs the corresponding point deviation coordinate (dx0, dy0) information calculated as described above to the external device through the data output interface 15. Alternatively, the image processor 13 determines the coordinates (x02, y02) of the corresponding point in the second image based on the coordinates (x01, y01) of the target point in the first image and the corresponding point deviation coordinates (dx0, dy0). The information of the coordinates (x02, y02) is calculated and output to the external device through the data output interface 15. The process described above is the corresponding point search process in the image processing apparatus 10.

画像処理装置10の対応点探索処理によれば、従来の投票処理と同様に、複数の投票領域20のうち、周波数成分(u,v)に応じて定まる投票直線31と交差する交差領域20aに対して投票値が積算され、その投票値の積算値の分布に応じて目的の座標が導出される。ここで、目的の座標は、対応点偏差座標(dx,dy)である。   According to the corresponding point search process of the image processing apparatus 10, as in the conventional voting process, the intersection area 20 a intersecting the voting straight line 31 determined according to the frequency component (u, v) among the plurality of voting areas 20. The voting values are integrated against each other, and the target coordinates are derived according to the distribution of the integrated voting values. Here, the target coordinates are the corresponding point deviation coordinates (dx, dy).

そして、画像処理装置10の対応点探索処理によれば、投票処理の対象となる投票領域20が、投票処理の途中段階以降(S10)において一部の領域に限定される。例えば、投票処理の途中段階において、高レベル領域21とその近隣の領域とが除かれた残りの投票領域20、又は低レベル領域22が、投票処理の対象から除外される。   Then, according to the corresponding point search process of the image processing apparatus 10, the voting area 20 that is the target of the voting process is limited to a part of the area after the voting process (S10). For example, in the middle of the voting process, the remaining voting area 20 or the low-level area 22 from which the high-level area 21 and its neighboring areas are removed is excluded from the voting process.

従って、投票空間100が高い空間分解能で離散化され、多数の投票領域20が設定された場合でも、重要でない投票領域20に対する投票処理が途中段階以降は省略され、画像処理プロセッサ13の演算負荷は低く抑えられる。そのため、画像処理装置10によれば、投票処理によって投票空間100における目的の座標を導出する場合に、高精度かつ比較的軽い演算負荷で目的の座標を導出することが可能となる。   Therefore, even when the voting space 100 is discretized with a high spatial resolution and a large number of voting areas 20 are set, the voting process for the unimportant voting areas 20 is omitted after the intermediate stage, and the calculation load of the image processor 13 is reduced. It can be kept low. Therefore, according to the image processing apparatus 10, when the target coordinates in the voting space 100 are derived by the voting process, the target coordinates can be derived with high accuracy and a relatively light calculation load.

また、投票空間100が多数の小さな投票領域20に区分されている場合、投票処理の途中段階において、投票直線31が交差する交差部が、1つの投票領域20に対して特に集中する状況は生じにくい。そのため、個々の投票領域20ごとに投票値の積算値の状況が判定された場合、交差部の分布を正しく判断して適正な除外領域24を特定することができなくなる。   In addition, when the voting space 100 is divided into a large number of small voting areas 20, a situation occurs in which the intersection where the voting straight lines 31 intersect is particularly concentrated on one voting area 20 in the middle of the voting process. Hateful. For this reason, when the status of the integrated value of the vote value is determined for each individual vote area 20, it is not possible to correctly determine the distribution of the intersection and specify the appropriate excluded area 24.

画像処理装置10においては、投票空間100内で一部のかつ一連の範囲を占める投票領域20の集合からなる判定用部分領域20bごとに、投票値の積算値の代表値のレベル判定に基づく除外領域24の特定が行われる(S21〜S24)。これにより、投票領域20の大きさに関わらず、投票空間100における交差部の分布を反映した適切な除外領域24の特定が可能となる。   In the image processing apparatus 10, an exclusion based on the level determination of the representative value of the integrated value of the vote value is made for each determination partial area 20 b including a set of the vote areas 20 that occupy a part and a series of ranges in the voting space 100. The area 24 is specified (S21 to S24). Thereby, regardless of the size of the voting area 20, it is possible to specify an appropriate exclusion area 24 that reflects the distribution of intersections in the voting space 100.

また、画像処理装置10において、投票処理に適用する投票直線31の順序、即ち、周波数成分(u,v)の選択順序は、2つの周波数画像F1(u,v)、F2(u,v)の間の相関度を表すクロススペクトルのパワーに応じた順序に設定される(S3)。これにより、比較的早い途中段階において、交差部が集中する領域と交差部がほとんど存在しない領域との区分が明確となり、比較的早い段階で、除外領域24の特定を適切に行うことが可能となる。   In the image processing apparatus 10, the order of the voting straight lines 31 applied to the voting process, that is, the selection order of the frequency components (u, v) is two frequency images F1 (u, v) and F2 (u, v). Are set in the order corresponding to the power of the cross spectrum representing the degree of correlation between the two (S3). As a result, the distinction between the region where the intersections are concentrated and the region where the intersections hardly exist is clarified at a relatively early stage, and the exclusion region 24 can be appropriately identified at a relatively early stage. Become.

以上に示した実施形態は、本発明をPSA法に基づく対応点探索処理に適用した例であるが、本発明は、投票空間内の投票領域各々について、複数の面又は線が交差する交差領域20aを特定し、その交差領域20aに対応付けて投票値を加算(積算)する投票処理全般に適用可能である。   The embodiment described above is an example in which the present invention is applied to the corresponding point search processing based on the PSA method, but the present invention is an intersection region where a plurality of faces or lines intersect for each voting region in the voting space. The present invention is applicable to all voting processes that specify 20a and add (accumulate) voting values in association with the intersection area 20a.

例えば、ハフ変換によって画像から円を抽出する場合、エッジ画像における画素各々に対応する投票空間が設定される。この投票空間は、円を特定するための中心位置の座標(a,b)及円の半径rの3つのパラメータの値を座標値とする3次元の有限の空間である。   For example, when extracting a circle from an image by Hough transform, a voting space corresponding to each pixel in the edge image is set. This voting space is a three-dimensional finite space in which the values of three parameters of the coordinates (a, b) of the center position for specifying the circle and the radius r of the circle are coordinate values.

さらに、ハフ変換を行う画像処理装置は、その投票空間(パラメータ空間)が離散化された部分領域である複数の投票領域各々のうち、エッジ画像内の1つの画素を中心とする円に相当する投票空間内での円錐面と交差する交差領域を特定する。   Furthermore, the image processing apparatus that performs the Hough transform corresponds to a circle centered on one pixel in the edge image among each of a plurality of voting areas that are partial areas in which the voting space (parameter space) is discretized. The intersection area that intersects the conical surface in the voting space is specified.

さらに、ハフ変換を行う画像処理装置は、円錐面と交差する投票領域に対応付けて投票値を加算する投票処理が実行する。その投票処理は、エッジ画像の各画素に対応する複数の円錐面各々について順次実行され、これにより、複数の円錐面各々と交差する投票領域において投票値が積算される。そして、投票空間における投票値の積算値のピーク位置の座標が導出される。   Further, the image processing apparatus that performs the Hough transform performs a voting process that adds a voting value in association with a voting area that intersects the conical surface. The voting process is sequentially executed for each of the plurality of conical surfaces corresponding to each pixel of the edge image, whereby the voting values are integrated in the voting area intersecting with each of the plurality of conical surfaces. Then, the coordinates of the peak position of the integrated value of voting values in the voting space are derived.

本発明がハフ変換に適用された場合、ハフ変換を行う画像処理装置は、投票処理の途中段階において、ステップS21〜S25に示した処理と同様にして、投票空間内の一部の投票領域を除外領域として特定し、特定した除外領域を、それ以降の投票処理の対象から排除する。そうすることにより、ハフ変換においても、前述した実施形態と同様の作用及び効果が得られる。   When the present invention is applied to the Hough transform, the image processing apparatus that performs the Hough transform may select a part of the voting area in the voting space in the middle stage of the voting process in the same manner as the processes shown in Steps S21 to S25. It is specified as an excluded area, and the specified excluded area is excluded from the objects of subsequent voting processes. By doing so, the same operation and effect as the above-described embodiment can be obtained also in the Hough transform.

10 画像処理装置
11 画像入力インターフェース
12 フレームメモリ
13 画像処理プロセッサ
14 ROM
15 データ出力インターフェース
20 投票領域
20a 交差領域
20b 判定用部分領域
21 高レベル領域
22 低レベル領域
23 中レベル領域
31 投票直線
131 周波数データ処理モジュール
132 直線導出モジュール
133 投票処理モジュール
134 除外領域特定モジュール
135 投票領域制限モジュール
136 対応点座標算計算モジュール
S1〜S25 処理手順の識別符号
DESCRIPTION OF SYMBOLS 10 Image processing apparatus 11 Image input interface 12 Frame memory 13 Image processor 14 ROM
DESCRIPTION OF SYMBOLS 15 Data output interface 20 Voting area 20a Intersection area 20b Judgment partial area 21 High level area 22 Low level area 23 Middle level area 31 Voting straight line 131 Frequency data processing module 132 Straight line deriving module 133 Voting processing module 134 Exclusion area specification module 135 Voting Area restriction module 136 Corresponding point coordinate calculation module S1 to S25 Processing procedure identification code

Claims (15)

第1画像及び第2画像各々に相当する空間周波数領域での位相画像である第1位相画像及び第2位相画像に基づいて、前記第1画像内で指定される注目点に対応する前記第2画像内の対応点の座標を導出する対応点探索処理を実行する画像処理装置であって、
前記第1位相画像と前記第2位相画像との間における周波数成分に応じた位相差を算出する位相差算出部と、
前記周波数成分及び該周波数成分に対応する前記位相差を予め定められた式に適用することにより、前記第1画像における前記注目点の座標に対する前記第2画像における前記対応点の座標の偏差の座標である対応点偏差座標のとり得る範囲を示す有限の投票空間における直線を導出する直線導出部と、
前記投票空間が離散化された部分領域である複数の投票領域各々について、一本の前記直線と交差する前記投票領域を特定するとともに、特定された前記投票領域に対応付けて投票値を加算する処理を、複数の前記周波数成分各々に対応する前記直線各々について順次実行することにより前記投票値を積算する投票処理を行う投票処理部と、
複数の前記直線のうちの一部についての前記投票処理が終了した途中段階において、前記投票値の積算値に基づいて、前記投票処理の対象から除外される前記投票領域である除外領域を特定する除外領域特定部と、
前記除外領域が特定された後において、全ての前記投票領域から前記除外領域を除いた残りの前記投票領域のみを対象に前記投票処理が実行されるよう制御する投票制限部と、
前記投票値の積算値と前記投票値が積算された前記投票領域の座標とに基づいて前記対応点偏差座標を導出する目的座標導出部と、を備えることを特徴とする画像処理装置。
Based on the first phase image and the second phase image, which are phase images in the spatial frequency domain corresponding to the first image and the second image, respectively, the second corresponding to the attention point specified in the first image An image processing apparatus that executes a corresponding point search process for deriving the coordinates of corresponding points in an image,
A phase difference calculator that calculates a phase difference according to a frequency component between the first phase image and the second phase image;
By applying the frequency component and the phase difference corresponding to the frequency component to a predetermined formula, the coordinates of the deviation of the coordinates of the corresponding point in the second image with respect to the coordinates of the target point in the first image A straight line deriving unit for deriving a straight line in a finite voting space indicating a possible range of the corresponding point deviation coordinates,
For each of a plurality of voting areas, which are partial areas in which the voting space is discretized, the voting area that intersects one straight line is specified, and a voting value is added in association with the specified voting area A voting processing unit that performs voting processing for accumulating the voting values by sequentially executing processing for each of the straight lines corresponding to each of a plurality of frequency components;
In the middle of completing the voting process for a part of the plurality of straight lines, an excluded area that is the voting area to be excluded from the voting process target is specified based on the integrated value of the voting values. An exclusion area identification part;
After the exclusion area is specified, a voting restriction unit that controls the voting process to be performed only on the remaining voting area except the exclusion area from all the voting areas; and
An image processing apparatus comprising: a target coordinate deriving unit that derives the corresponding point deviation coordinates based on the integrated value of the vote values and the coordinates of the vote area where the vote values are integrated.
全ての前記投票領域の中から、前記投票空間内で一部のかつ一連の範囲を占める前記投票領域の集合からなる判定用部分領域を順次選択する判定用部分領域選択部と、
選択された前記判定用部分領域ごとに、当該判定用部分領域内の前記投票領域に対応する前記投票値の積算値の代表値が、予め設定されるしきい値を基準にして相対的に大きい高レベルであるか又は相対的に小さい低レベルであるかを判定するレベル判定部と、をさらに備え、
前記除外領域特定部は、前記レベル判定部の判定結果に基づいて前記除外領域を特定する請求項1に記載の画像処理装置。
A determination partial area selection unit for sequentially selecting a determination partial area consisting of a set of the voting areas that occupy a part and a series of ranges in the voting space from among all the voting areas;
For each selected partial area for determination, a representative value of the integrated values of the voting values corresponding to the voting areas in the partial area for determination is relatively large with reference to a preset threshold value. A level determination unit that determines whether the level is a high level or a relatively low level, and
The image processing apparatus according to claim 1, wherein the exclusion region specifying unit specifies the exclusion region based on a determination result of the level determination unit.
前記レベル判定部は、1つの前記しきい値を基準にして前記高レベル及び前記低レベルの判定を行い、
前記除外領域特定部は、前記高レベルの判定結果が得られた前記判定用部分領域が存在する場合に、全ての前記投票領域のうち、前記高レベルの判定結果が得られた前記判定用部分領域を含む範囲内にある前記投票領域を除いた残りの前記投票領域を前記除外領域として特定する請求項2に記載の画像処理装置。
The level determination unit performs the determination of the high level and the low level based on one threshold value,
The exclusion area specifying unit, when there is the determination partial area where the high-level determination result is obtained, out of all the voting areas, the determination part where the high-level determination result is obtained The image processing apparatus according to claim 2, wherein the remaining voting area excluding the voting area within a range including the area is specified as the exclusion area.
前記レベル判定部は、2つの前記しきい値を基準にして、前記代表値が前記高レベル、前記低レベル及びそれらの間における中レベルのいずれであるかの判定を行い、
前記除外領域特定部は、前記高レベルの判定結果が得られた前記判定用部分領域が存在し、かつ、前記中レベルの判定結果が得られた前記判定用部分領域が存在しない場合に、全ての前記投票領域のうち、前記高レベルの判定結果が得られた前記判定用部分領域を含む範囲内にある前記投票領域を除いた残りの前記投票領域を前記除外領域として特定する請求項2に記載の画像処理装置。
The level determination unit determines whether the representative value is the high level, the low level, or an intermediate level between them based on the two threshold values,
The exclusion area specifying unit is all in the case where the determination partial area where the high-level determination result is obtained and the determination partial area where the medium-level determination result is obtained does not exist. The remaining voting areas except for the voting area within the range including the determination partial area from which the high-level determination result is obtained are specified as the exclusion area. The image processing apparatus described.
前記レベル判定部は、1つの前記しきい値を基準にして前記高レベル及び前記低レベルの判定を行い、
前記除外領域特定部は、前記高レベルの判定結果が得られた前記判定用部分領域が存在する場合に、前記低レベルの判定結果が得られた前記判定用部分領域を前記除外領域として特定する請求項2に記載の画像処理装置。
The level determination unit performs the determination of the high level and the low level based on one threshold value,
The exclusion area specifying unit specifies, as the exclusion area, the determination partial area from which the low-level determination result is obtained when the determination partial area from which the high-level determination result is obtained exists. The image processing apparatus according to claim 2.
前記レベル判定部は、2つの前記しきい値を基準にして、前記代表値が前記高レベル、前記低レベル及びそれらの間の中レベルのいずれであるかの判定を行い、
前記除外領域特定部は、前記高レベルの判定結果が得られた前記判定用部分領域が存在する場合に、前記低レベルの判定結果が得られた前記判定用部分領域を前記除外領域として特定する請求項2に記載の画像処理装置。
The level determination unit determines whether the representative value is the high level, the low level, or an intermediate level between them based on the two threshold values,
The exclusion area specifying unit specifies, as the exclusion area, the determination partial area from which the low-level determination result is obtained when the determination partial area from which the high-level determination result is obtained exists. The image processing apparatus according to claim 2.
前記途中段階において前記投票処理が終了している前記直線の数に応じて前記しきい値を設定するしきい値設定部をさらに備える請求項2から請求項6のいずれかに記載の画像処理装置。   The image processing apparatus according to claim 2, further comprising a threshold setting unit configured to set the threshold according to the number of the straight lines for which the voting process has been completed in the intermediate stage. . 前記しきい値が予め定められた固定値である請求項2から請求項6のいずれかに記載の画像処理装置。   The image processing apparatus according to claim 2, wherein the threshold value is a predetermined fixed value. 前記判定用部分領域は個々の前記投票領域であり、前記代表値は個々の前記投票領域における前記投票値の積算値である請求項2から請求項8のいずれかに記載の画像処理装置。   The image processing device according to claim 2, wherein the determination partial area is each of the voting areas, and the representative value is an integrated value of the voting values in each of the voting areas. 前記第1画像に相当する第1周波数画像と前記第2画像に相当する第2周波数画像との間における前記周波数成分ごとの相関度の指標を算出する相関度算出部と、
前記相関度の指標に基づいて、前記投票処理に適用する前記直線の順序を前記相関度の高い前記周波数成分に対応するものから順に設定する順序設定部と、を備える請求項1から請求項9のいずれかに記載の画像処理装置。
A degree-of-correlation calculating unit that calculates an index of a degree of correlation for each frequency component between a first frequency image corresponding to the first image and a second frequency image corresponding to the second image;
The order setting part which sets the order of the straight line applied to the voting process from the thing corresponding to the frequency component with the high degree of correlation based on the index of the degree of correlation. An image processing apparatus according to any one of the above.
前記相関度の指標は、前記第1周波数画像と前記第2周波数画像との間のクロススペクトルにおける前記周波数成分ごとのパワーである請求項10に記載の画像処理装置。   The image processing apparatus according to claim 10, wherein the index of correlation is a power for each frequency component in a cross spectrum between the first frequency image and the second frequency image. 前記除外領域特定部は、予め定められた複数の前記途中段階において前記除外領域を特定する処理を実行する請求項1から請求項11のいずれかに記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the exclusion area specifying unit executes a process of specifying the exclusion area in a plurality of predetermined intermediate stages. 第1画像及び第2画像各々に相当する空間周波数領域での位相画像である第1位相画像及び第2位相画像に基づいて、前記第1画像内で指定される注目点に対応する前記第2画像内の対応点の座標を導出する対応点探索処理を、コンピュータに実行させるための画像処理プログラムであって、
前記第1位相画像と前記第2位相画像との間における周波数成分に応じた位相差を算出する位相差算処理と、
前記周波数成分及び該周波数成分に対応する前記位相差を予め定められた式に適用することにより、前記第1画像における前記注目点の座標に対する前記第2画像における前記対応点の座標の偏差の座標である対応点偏差座標のとり得る範囲を示す有限の投票空間における直線を導出する直線導出処理と、
前記投票空間が離散化された部分領域である複数の投票領域各々について、一本の前記直線と交差する前記投票領域を特定するとともに、特定された前記投票領域に対応付けて投票値を加算する処理を、複数の前記周波数成分各々に対応する前記直線各々について順次実行することにより前記投票値を積算する投票処理と、
複数の前記直線のうちの一部についての前記投票処理が終了した途中段階において、前記投票値の積算値に基づいて、前記投票処理の対象から除外される前記投票領域である除外領域を特定する除外領域特定処理と、
前記除外領域が特定された後において、全ての前記投票領域から前記除外領域を除いた残りの前記投票領域のみを対象に前記投票処理が実行されるよう制御する投票制限処理と、
前記投票値の積算値と前記投票値が積算された前記投票領域の座標とに基づいて前記対応点偏差座標を導出する目的座標導出処理と、をコンピュータに実行させるための画像処理プログラム。
Based on the first phase image and the second phase image, which are phase images in the spatial frequency domain corresponding to the first image and the second image, respectively, the second corresponding to the attention point specified in the first image An image processing program for causing a computer to execute corresponding point search processing for deriving coordinates of corresponding points in an image,
A phase difference calculation process for calculating a phase difference according to a frequency component between the first phase image and the second phase image;
By applying the frequency component and the phase difference corresponding to the frequency component to a predetermined formula, the coordinates of the deviation of the coordinates of the corresponding point in the second image with respect to the coordinates of the target point in the first image A straight line derivation process for deriving a straight line in a finite voting space indicating the possible range of the corresponding point deviation coordinates,
For each of a plurality of voting areas, which are partial areas in which the voting space is discretized, the voting area that intersects one straight line is specified, and a voting value is added in association with the specified voting area A voting process for accumulating the voting values by sequentially executing a process for each of the straight lines corresponding to a plurality of the frequency components;
In the middle of completing the voting process for a part of the plurality of straight lines, an excluded area that is the voting area to be excluded from the voting process target is specified based on the integrated value of the voting values. Exclusion area identification processing,
After the exclusion area is specified, a voting restriction process for controlling the voting process to be executed only on the remaining voting area excluding the exclusion area from all the voting areas; and
An image processing program for causing a computer to execute a target coordinate derivation process for deriving the corresponding point deviation coordinates based on the integrated value of the voting values and the coordinates of the voting area where the voting values are integrated.
複数のパラメータの値を座標値とする有限の投票空間における複数の面又は線を特定する情報が与えられる場合に、前記投票空間が離散化された部分領域である複数の投票領域各々について1つの前記面又は前記線と交差する前記投票領域を特定するとともに、特定された前記投票領域に対応付けて投票値を加算する処理を、複数の前記面又は前記線各々について順次実行することにより前記投票値を積算する投票処理を行う投票処理部と、
複数の前記面又は前記線のうちの一部についての前記投票処理が終了した途中段階において、前記投票値の積算値に基づいて、前記投票処理の対象から除外される前記投票領域である除外領域を特定する除外領域特定部と、
前記除外領域が特定された後において、全ての前記投票領域から前記除外領域を除いた残りの前記投票領域のみを対象に前記投票処理が実行されるよう制御する投票制限部と、
前記投票値の積算値と前記投票値が積算された前記投票領域の座標とに基づいて前記投票空間内の目的の座標を導出する目的座標導出部と、を備えることを特徴とする情報処理装置。
When information specifying a plurality of faces or lines in a finite voting space having a plurality of parameter values as coordinate values is given, there is one for each of a plurality of voting regions which are discrete regions of the voting space. The voting area is specified by sequentially specifying the voting area that intersects the face or the line and adding a voting value in association with the specified voting area for each of the face or the line. A voting processing unit that performs voting processing for accumulating values;
An exclusion area that is the voting area that is excluded from the voting process based on the integrated value of the voting values in the middle of the voting process for a part of the plurality of faces or lines. An excluded area specifying part for specifying
After the exclusion area is specified, a voting restriction unit that controls the voting process to be performed only on the remaining voting area except the exclusion area from all the voting areas; and
An information processing apparatus comprising: a target coordinate deriving unit that derives a target coordinate in the voting space based on the integrated value of the voting value and the coordinates of the voting area in which the voting value is integrated. .
複数のパラメータの値を座標値とする有限の投票空間における複数の面又は線を特定する情報が与えられる場合に、前記投票空間が離散化された部分領域である複数の投票領域各々について1つの前記面又は前記線と交差する前記投票領域を特定するとともに、特定された前記投票領域に対応付けて投票値を加算する処理を、複数の前記面又は前記線各々について順次実行することにより前記投票値を積算する投票処理と、
複数の前記面又は前記線のうちの一部についての前記投票処理が終了した途中段階において、前記投票値の積算値に基づいて、前記投票処理の対象から除外される前記投票領域である除外領域を特定する除外領域特定処理と、
前記除外領域が特定された後において、全ての前記投票領域から前記除外領域を除いた残りの前記投票領域のみを対象に前記投票処理が実行されるよう制御する投票制限処理と、
前記投票値の積算値と前記投票値が積算された前記投票領域の座標とに基づいて前記投票空間内の目的の座標を導出する目的座標導出処理と、をコンピュータに実行させるための情報処理プログラム。
When information specifying a plurality of faces or lines in a finite voting space having a plurality of parameter values as coordinate values is given, there is one for each of a plurality of voting regions which are discrete regions of the voting space. The voting area is specified by sequentially specifying the voting area that intersects the face or the line and adding a voting value in association with the specified voting area for each of the face or the line. A voting process for accumulating values,
An exclusion area that is the voting area that is excluded from the voting process based on the integrated value of the voting values in the middle of the voting process for a part of the plurality of faces or lines. An excluded area identification process for identifying
After the exclusion area is specified, a voting restriction process for controlling the voting process to be executed only on the remaining voting area excluding the exclusion area from all the voting areas; and
An information processing program for causing a computer to execute a target coordinate derivation process for deriving a target coordinate in the voting space based on the integrated value of the voting value and the coordinates of the voting area in which the voting value is integrated .
JP2010090223A 2010-04-09 2010-04-09 Image processing apparatus, image processing program, information processing apparatus, and information processing program Expired - Fee Related JP5338741B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010090223A JP5338741B2 (en) 2010-04-09 2010-04-09 Image processing apparatus, image processing program, information processing apparatus, and information processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010090223A JP5338741B2 (en) 2010-04-09 2010-04-09 Image processing apparatus, image processing program, information processing apparatus, and information processing program

Publications (2)

Publication Number Publication Date
JP2011221788A JP2011221788A (en) 2011-11-04
JP5338741B2 true JP5338741B2 (en) 2013-11-13

Family

ID=45038703

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010090223A Expired - Fee Related JP5338741B2 (en) 2010-04-09 2010-04-09 Image processing apparatus, image processing program, information processing apparatus, and information processing program

Country Status (1)

Country Link
JP (1) JP5338741B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7057717B2 (en) * 2018-05-28 2022-04-20 日本放送協会 Phase difference detector, image processing device, and program

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2505941B2 (en) * 1991-11-20 1996-06-12 山武ハネウエル株式会社 Parts status detection method
JP3468182B2 (en) * 1999-12-21 2003-11-17 日本電気株式会社 Image matching apparatus and image matching method
JP2002051316A (en) * 2000-05-22 2002-02-15 Matsushita Electric Ind Co Ltd Image communication terminal
JP2003099787A (en) * 2001-09-22 2003-04-04 Minoru Ito Image inspection device and recording medium

Also Published As

Publication number Publication date
JP2011221788A (en) 2011-11-04

Similar Documents

Publication Publication Date Title
JP6422250B2 (en) Image processing method, image processing apparatus, program, and recording medium
EP3709264B1 (en) Information processing apparatus and accumulated images selecting method
CN111598088B (en) Target detection method, device, computer equipment and readable storage medium
JP5785533B2 (en) Brain current calculation method, calculation device, and computer program
KR20170091496A (en) Method and apparatus for processing binocular image
CN116091574B (en) A 3D object detection method and system based on plane constraints and position constraints
Letscher et al. Image segmentation using topological persistence
CN108898148A (en) A kind of digital picture angular-point detection method, system and computer readable storage medium
CN118134920B (en) Adaptive focusing method, device and readable storage medium
US9536169B2 (en) Detection apparatus, detection method, and storage medium
JP5110235B1 (en) Image processing apparatus, image processing method, and program
JP2019027890A (en) Structure inspection system, structure inspection device, and structure inspection method
US11809994B2 (en) Information processing apparatus, information processing method, and non-transitory computer-readable storage medium
JP5338741B2 (en) Image processing apparatus, image processing program, information processing apparatus, and information processing program
WO2022188102A1 (en) Depth image inpainting method and apparatus, camera assembly, and electronic device
CN116858233A (en) Path generation method, path generation device, server and storage medium
JP2009146150A (en) Feature position detection method and feature position detection apparatus
Bilan Models and hardware implementation of methods of Pre-processing Images based on the Cellular Automata
CN119107539A (en) Bridge apparent slenderness defect recognition method based on parallel convolution adaptive segmentation model
JP5856888B2 (en) Corresponding point search method, corresponding point search device, and corresponding point search program
KR20200062530A (en) Method and device for measuring displacement response of a structure through line detection
US20220179874A1 (en) Information processing device, information processing method, and computer program product
JP2001060265A (en) Image processing apparatus and method, and medium
JP6121768B2 (en) Image detection apparatus, control program, and image detection method
US8868388B2 (en) Contact defining device, contact defining method, and non-transitory computer readable storage medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20121015

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130613

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20130709

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130722

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees