WO2015133526A1 - Image analysis method, image analysis device, and image analysis program - Google Patents

Image analysis method, image analysis device, and image analysis program Download PDF

Info

Publication number
WO2015133526A1
WO2015133526A1 PCT/JP2015/056374 JP2015056374W WO2015133526A1 WO 2015133526 A1 WO2015133526 A1 WO 2015133526A1 JP 2015056374 W JP2015056374 W JP 2015056374W WO 2015133526 A1 WO2015133526 A1 WO 2015133526A1
Authority
WO
WIPO (PCT)
Prior art keywords
point
image
circle
center
points
Prior art date
Application number
PCT/JP2015/056374
Other languages
French (fr)
Japanese (ja)
Inventor
謙 陳
海元 呉
Original Assignee
国立大学法人和歌山大学
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 国立大学法人和歌山大学 filed Critical 国立大学法人和歌山大学
Publication of WO2015133526A1 publication Critical patent/WO2015133526A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/60Analysis of geometric attributes
    • G06T7/66Analysis of geometric attributes of image moments or centre of gravity
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30204Marker
    • G06T2207/30208Marker matrix

Definitions

  • the present invention relates to an image analysis method, an image analysis apparatus, and an image analysis program for obtaining a position corresponding to the center of a circle in an image obtained by photographing the circle.
  • a position and orientation which are one of external parameters of the camera, are obtained from a marker image of a specific pattern.
  • the marker those having various shapes such as a rectangular shape, a circular shape, or a lattice shape are used.
  • the circular marker since the circular marker has a simple shape, it has an advantage that it can be easily and precisely created (see, for example, Patent Document 1).
  • the marker has been devised so that the center of the marker is known or the position of the center can be specified to some extent.
  • a density gradient is provided from the outer periphery to the center of a circular marker, and coordinates on the image corresponding to the center of the circle are obtained by using this density gradient. Therefore, conventionally, it has been difficult to use a circle whose center position is completely unknown as a marker. However, if such use becomes possible, for example, any circle existing within the shooting range of the camera can be used as a marker, so that the range of utilization is greatly expanded, which is very beneficial.
  • An object of the present invention is to provide an image analysis method, an image analysis apparatus, and an image analysis program that can obtain a position corresponding to the center of a circle in an image obtained by photographing the circle.
  • the present invention is an image analysis method for obtaining a point corresponding to the center of a circle in an image obtained by photographing a circle on a plane,
  • the first point which is the center of the circle, the second point and the third point where the center line passing through the first point and the circle intersect, and the center line and the infinity line intersect.
  • the cross ratio at the first to fourth points related to the circle provided on the plane and the cross ratio at the first to fourth corresponding points on the projected image are invariant. (Same) relationship.
  • the length between the first point and the second point is the same as the length between the first point and the third point, and the fourth point is the infinity point, so that The cross ratio at the first to fourth points is a predetermined value (see formula (3) described later). Therefore, in the analysis method of the present invention, it is possible to obtain a relational expression that substantially uses only the first to fourth corresponding points, the coordinates of the second to fourth corresponding points acquired from the image, and the relationship.
  • the first corresponding point that is an image of the center (first point) of the circle can be easily obtained by the equation.
  • the present invention is an image analysis device for obtaining a point corresponding to the center of the circle in an image obtained by photographing a circle on a plane, The first point which is the center of the circle, the second point and the third point where the center line passing through the first point and the circle intersect, and the center line and the infinity line intersect. Based on the relationship between the cross ratio for the fourth point and the cross ratio for the first to fourth corresponding points on the image corresponding to the first to fourth points, An image analysis apparatus comprising an analysis unit for obtaining a position of one corresponding point.
  • the present invention is an image analysis program for obtaining a point corresponding to the center of the circle in an image obtained by photographing a circle on a plane,
  • the first point which is the center of the circle, the second point and the third point where the center line passing through the first point and the circle intersect, and the center line and the infinity line intersect.
  • the computer is made to function as an analysis unit for obtaining the position of one corresponding point.
  • (A) is a schematic block diagram of the image-analysis apparatus based on one Embodiment of this invention
  • (b) is a top view of the circle set on the plane. It is plane explanatory drawing which shows the relationship of two circles on a plane. It is plane explanatory drawing which shows the relationship of the two ellipses on an image. It is a flowchart which shows the process sequence of an image analyzer.
  • FIG. 1A is a schematic configuration diagram of an image analysis apparatus according to an embodiment of the present invention
  • FIG. 1B is a plan view of a circle set on a plane.
  • the image analysis device 10 includes a camera 11 that captures an imaging target, and a processing device 12 that performs analysis processing on an image (video) of the camera 11. Then, the image analysis apparatus 10 of the present embodiment captures two circles C and D set on one plane by the camera 11 and analyzes the images by the processing apparatus 12 to analyze the center C0 of the circles C and D. , D0, the point (coordinates) on the image is obtained.
  • any two circles C and D are set on the plane P.
  • the circles C and D may be drawn directly on a plane, or may be an annular object placed on the plane.
  • the center positions C0 and D0 of both circles C and D are unknown.
  • the camera 11 images the area
  • the two circles C and D picked up by the camera 11 are projected onto a plane Q perpendicular to the focus direction of the camera 11 and thus become elliptical images.
  • the image analysis apparatus 10 of the present embodiment captures the circles C and D whose center positions are unknown by the camera 11 and points (centers) corresponding to the centers C0 and D0 of the circles C and D in the ellipse in the image.
  • the corresponding point) is obtained by the processing device 12. Then, the obtained center corresponding point can be used for calibration of the camera 11, for example.
  • the processing device 12 is configured by, for example, a personal computer, and includes a calculation unit such as a CPU, a storage unit such as a RAM, ROM, and HDD, an output unit such as a liquid crystal panel, an input unit such as a keyboard and a mouse, and various interfaces. ing. Then, when the arithmetic unit executes the program installed in the storage unit, an image captured by the camera 11 is captured, the image is analyzed, the analysis result is output, and the like. In particular, the processing device 12 functions as an analysis unit that obtains points on the image corresponding to the centers C0 and D0 of the circles C and D.
  • the analysis method of the present embodiment uses the fact that the “cross ratio” is invariant between a circle on a plane and an ellipse that is an image of the circle.
  • the cross ratio refers to the ratio of the lengths of directed line segments composed of four points on the same straight line in projective geometry. For example, in FIG. 1, the cross ratio of four points a, b, c, d on a straight line passing through the centers C0, D0 of two circles C, D on the plane and the two ellipses on the corresponding image
  • the cross ratio of the four points a ′, b ′, c ′, and d ′ is unchanged, and the following expression (1) is satisfied.
  • Equation (1) indicates the cross ratio at the points a, b, c, and d of the circles C and D on the plane, and the right side is the points a ′, b ′, and c ′ of the ellipses c and d on the image. , D ′.
  • FIG. 2 is an explanatory plan view showing the relationship between two circles on the plane.
  • FIG. 3 is an explanatory plan view showing the relationship between two ellipses on an image.
  • two tangent lines (common outer tangent lines) S1 and S2 are provided in two circles C and D.
  • a straight line (C1C2) that connects the contact points C1 and C2 of the two tangent lines S1 and S2 and the circle C
  • D1D2 straight line that connects the contact points D1 and D2 of the tangent lines S1 and S2 and the circle D are parallel to each other. It becomes.
  • the straight line C1C2 and the straight line D1D2 are parallel. However, in projective geometry, both straight lines C1C2 and D1D2 are considered to intersect at an infinite point B. In FIG. 2, the locus reaching the infinity point B is indicated by a curved dotted line due to space limitations, but it is actually a straight line.
  • FIG. 3 there are four points b, c1, cm, on a straight line (hereinafter referred to as “straight line c1c2”) that takes a midpoint cm between the points c1 and c2 and passes through the points c1 and c2.
  • straight line c1c2 a straight line that takes a midpoint cm between the points c1 and c2 and passes through the points c1 and c2.
  • Equation (2) On the left side of Equation (2), since point B is an infinite point, the lengths of line segment BC1 and line segment BC2 are each infinite ⁇ . On the other hand, since the point Cm is the midpoint between the points C1 and C2, the lengths of the line segment CmC1 and the line segment CmC2 have the same dimension. Therefore, the left side of the above equation (2) can be transformed as the following equation (3).
  • the positions of the points b, d1, and d2 can be obtained from the coordinates on the image, so that the position of the midpoint dm is also calculated from the coordinates of the points b, d1, and d2 ( 7) can be obtained by calculation.
  • the midpoints cm and dm are merely midpoints of the line segment c1c2 and the line segment d1d2 and are not points corresponding to the centers of the circles C and D.
  • the straight line H passing through the infinity point B where the straight line C1C2 and the straight line D1D2 intersect and the infinity point G where the straight line C2E and the straight line D2F intersect is an infinity line where all the infinite points on the plane are located. Therefore, the infinity point of the straight line CmDm is a point A that intersects the infinity line H.
  • the straight line CmDm is a straight line that also passes through the centers of the circles C and D.
  • the first four points D0 are the points f (second corresponding point) and the point f ′ (third corresponding point) where the straight line cmdm in FIG. 4) and the center of the ellipse d (the point corresponding to the center D0 of the circle D; the fourth corresponding point) d0 correspond to each other, so that the respective cross ratios are invariant.
  • the relationship of the following equation (9) can be obtained similarly to the above equation (6).
  • the centers c0 and d0 of the ellipses c and d on the image obtained by projecting the centers C0 and D0 of the circles C and D on the plane can be obtained.
  • FIG. 4 is a flowchart showing a specific processing procedure of the image analysis apparatus 10 using the above analysis method.
  • step S1 an image including circles C and D set on a plane is captured by the camera.
  • step S2 information on the captured image is input to the processing device 12 and stored in the storage unit.
  • step S3 the image information is read from the storage unit, the contours of the ellipses c and d are extracted from the image, and the equation of the curve is obtained by the calculation unit by fitting the curve to the contour.
  • step S4 a straight line cmdm (see FIG. 3) passing through the centers of the ellipses c and d on the image is obtained by the calculation unit. Specifically, as described above, the intersection points b and g between the pair of straight lines c1c2 and d1d2 and the pair of straight lines c2e and d2f set using the common outer tangent of the ellipses c and d on the image. Is required.
  • step S5 a straight line h (see FIG. 3) corresponding to the infinity line H where all the infinity points on the plane on which the circles C and D are set is obtained by the calculation unit. Specifically, as described above, a straight line h passing through the intersection b of the pair of straight lines c1c2 and d1d2 and the intersection g of the pair of straight lines c2e and d2f is obtained. Information about the straight line h is stored in the storage unit and read out for calculation as appropriate.
  • step S6 the centers c0 and d0 of the ellipses c and d are obtained by the arithmetic unit using the straight line cmdm and the straight line h. Specifically, first, an intersection point a between the straight line cmdm and the straight line h acquired in steps S3 and S4 is obtained. Then, from the coordinates of the intersection point a and the coordinates of the intersection points e and e ′ between the straight line cmdm and the ellipse c, the coordinate of the center c0 is obtained by the equation (8). From the coordinates of the intersections f and f ′, the coordinate of the center d0 is obtained by equation (9).
  • the computing unit of the present embodiment is the first computing means for obtaining the equations of the ellipses c and d from the image, the second computing means for obtaining the straight line h, and the first computing means for obtaining the straight line cmdm. 3 and 4th operation means for obtaining the centers c0 and d0. Information such as the obtained intersection point a and coordinates of the centers c0 and d0 is stored in the storage unit and is appropriately output via the output unit.
  • HMD head mounted display
  • a panoramic image is generated from a multi-viewpoint image (video) using a plurality of cameras, or three-dimensional information is restored.
  • a free viewpoint image can be generated.
  • the common outer tangent lines S1, S2, s1, and s2 are provided in two circles or two ellipses, but a common inscribed line may be provided instead of or in addition to this.
  • a common inscribed line may be provided instead of or in addition to this.

Abstract

Provided is an image analysis method that is able to determine the position corresponding to the center of a circle in an image capturing the circle. The image analysis method, which determines a point (c0) corresponding to the center of a circle (C, D) in an image capturing the circle (C, D) on a plane, contains a processing step for determining the position of a first corresponding point (c0) on the image on the basis of the relationship between the compound ratio of a first point (C0, D0), which is the center of the circle (C, D), a second point (E, F) and third point (E', F') at which a center line passing through the first point (C0, D0) intersects the circle (C, D), and a fourth point (A) at which the center line and a line (H) at infinity intersect, and the compound radio of first through fourth corresponding points (c0, e, f, e', f') on the image and corresponding to the first through fourth points.

Description

画像解析方法、画像解析装置、及び画像解析プログラムImage analysis method, image analysis apparatus, and image analysis program
 本発明は、円を撮影した画像における、当該円の中心に対応する位置を求めるための画像解析方法、画像解析装置、及び画像解析プログラムに関する。 The present invention relates to an image analysis method, an image analysis apparatus, and an image analysis program for obtaining a position corresponding to the center of a circle in an image obtained by photographing the circle.
 カメラで撮影した画像を処理して物体の位置を計測する場合、カメラのキャリブレーションが必要となる。このキャリブレーションの手法として、特定パターンのマーカーの画像からカメラの外部パラメータの一つである位置や姿勢を求めることが行われている。
 マーカーとしては、方形状、円形状、又は格子状のものなど、種々の形状のものが用いられている。特に、円形状のマーカーは形状が簡素であるため、簡単且つ精密に作成できるという利点がある(例えば、特許文献1参照)。
When an image taken by a camera is processed to measure the position of an object, the camera needs to be calibrated. As a calibration method, a position and orientation, which are one of external parameters of the camera, are obtained from a marker image of a specific pattern.
As the marker, those having various shapes such as a rectangular shape, a circular shape, or a lattice shape are used. In particular, since the circular marker has a simple shape, it has an advantage that it can be easily and precisely created (see, for example, Patent Document 1).
特開平8-171627号公報JP-A-8-171627
 円形状のマーカーを用いてカメラキャリブレーションを行う場合、そのマーカーの中心に対応する画像上の座標の情報が必要とされる。従来は、マーカーの中心が既知であるか、ある程度中心の位置が特定できるようにマーカーに工夫が施されている。例えば、特許文献1記載の技術では、円形状のマーカーの外周から中心へ向けて濃度勾配が設けられ、この濃度勾配を利用することによって円の中心に対応する画像上の座標が求められる。
 したがって、従来においては、中心の位置が全く未知の円をマーカーとして利用することは困難であった。しかし、このような利用が可能になると、例えばカメラの撮影範囲内に存在するあらゆる円をマーカーにすることができるため、活用の幅が著しく拡がり、非常に有益である。
When camera calibration is performed using a circular marker, information on coordinates on the image corresponding to the center of the marker is required. Conventionally, the marker has been devised so that the center of the marker is known or the position of the center can be specified to some extent. For example, in the technique described in Patent Document 1, a density gradient is provided from the outer periphery to the center of a circular marker, and coordinates on the image corresponding to the center of the circle are obtained by using this density gradient.
Therefore, conventionally, it has been difficult to use a circle whose center position is completely unknown as a marker. However, if such use becomes possible, for example, any circle existing within the shooting range of the camera can be used as a marker, so that the range of utilization is greatly expanded, which is very beneficial.
 本発明は、円を撮影した画像中における、当該円の中心に対応する位置を求めることができる画像解析方法、画像解析装置、及び画像解析プログラムを提供することを目的とする。 An object of the present invention is to provide an image analysis method, an image analysis apparatus, and an image analysis program that can obtain a position corresponding to the center of a circle in an image obtained by photographing the circle.
 本発明は、平面上の円を撮影した画像において、前記円の中心に対応する点を求める画像解析方法であって、
 前記円の中心である第1の点と、当該第1の点を通る中心線と前記円とが交差する第2の点及び第3の点と、前記中心線と無限遠線とが交差する第4の点とについての複比と、前記第1~第4の点に対応する前記画像上の第1~第4の対応点についての複比との関係に基づいて、前記画像上の第1の対応点の位置を求めることを特徴とする。
The present invention is an image analysis method for obtaining a point corresponding to the center of a circle in an image obtained by photographing a circle on a plane,
The first point which is the center of the circle, the second point and the third point where the center line passing through the first point and the circle intersect, and the center line and the infinity line intersect. Based on the relationship between the cross ratio for the fourth point and the cross ratio for the first to fourth corresponding points on the image corresponding to the first to fourth points, It is characterized in that the position of one corresponding point is obtained.
 以上のような解析方法において、平面上に設けられた円に関する第1~第4の点における複比と、これらを射影した画像上の第1~第4の対応点における複比とは、不変(同一)の関係にある。一方、第1の点~第2の点間の長さと、第1の点~第3の点間の長さが同一であること、及び第4の点が無限遠点であることによって、第1~第4の点における複比は所定の値(後述の式(3)参照)となる。したがって、本発明の解析方法では、実質的に第1~第4の対応点のみを用いた関係式を得ることができ、画像から取得した第2~第4の対応点の座標と、前記関係式とによって、円の中心(第1の点)の像である第1の対応点を容易に求めることが可能となる。 In the analysis method as described above, the cross ratio at the first to fourth points related to the circle provided on the plane and the cross ratio at the first to fourth corresponding points on the projected image are invariant. (Same) relationship. On the other hand, the length between the first point and the second point is the same as the length between the first point and the third point, and the fourth point is the infinity point, so that The cross ratio at the first to fourth points is a predetermined value (see formula (3) described later). Therefore, in the analysis method of the present invention, it is possible to obtain a relational expression that substantially uses only the first to fourth corresponding points, the coordinates of the second to fourth corresponding points acquired from the image, and the relationship. The first corresponding point that is an image of the center (first point) of the circle can be easily obtained by the equation.
 以上の本発明において、第4の対応点を設定するには次の方法を採用することができる。すなわち、同一平面上又は平行な2平面上の2つの前記円に設定された互いに平行な一対の直線に対応する画像上の一対の直線の第1の交点と、2つの前記円に設定された互いに平行な他の一対の直線に対応する画像上の他の一対の直線の第2の交点とを求め、これら第1及び第2の交点を通る直線を前記無限遠線の像とし、この無限遠線の像と、画像上の第2及び第3の対応点を通る直線との交点を、前記第4の対応点に設定することができる。 In the present invention described above, the following method can be adopted to set the fourth corresponding point. That is, a first intersection of a pair of straight lines on an image corresponding to a pair of straight lines parallel to each other set in two circles on the same plane or two parallel planes, and two circles. A second intersection of another pair of straight lines on the image corresponding to another pair of straight lines parallel to each other is obtained, and a straight line passing through the first and second intersections is defined as an image of the infinite line. The intersection of the far-line image and the straight line passing through the second and third corresponding points on the image can be set as the fourth corresponding point.
 前記互いに平行な一対の直線は、2つの前記円に共通する互いに対称な2つの接線と各円との交点同士を通る直線を含んでいてもよい。
 また、前記互いに平行な一対の直線は、2つの前記円に共通する一の接線と各円との交点と、前記両円の中心を通る中心線と各円との交点と、を通る直線を含んでいてもよい。
The pair of parallel straight lines may include a straight line passing through the intersections of two symmetrical tangents common to the two circles and the respective circles.
Further, the pair of straight lines parallel to each other is a straight line that passes through the intersection of one tangent common to the two circles and each circle, and the intersection between the center line passing through the centers of the two circles and each circle. May be included.
 本発明は、平面上の円を撮影した画像において、前記円の中心に対応する点を求める画像解析装置であって、
 前記円の中心である第1の点と、当該第1の点を通る中心線と前記円とが交差する第2の点及び第3の点と、前記中心線と無限遠線とが交差する第4の点とについての複比と、前記第1~第4の点に対応する前記画像上の第1~第4の対応点についての複比との関係に基づいて、前記画像上の第1の対応点の位置を求める解析部を備えていることを特徴とする画像解析装置。
The present invention is an image analysis device for obtaining a point corresponding to the center of the circle in an image obtained by photographing a circle on a plane,
The first point which is the center of the circle, the second point and the third point where the center line passing through the first point and the circle intersect, and the center line and the infinity line intersect. Based on the relationship between the cross ratio for the fourth point and the cross ratio for the first to fourth corresponding points on the image corresponding to the first to fourth points, An image analysis apparatus comprising an analysis unit for obtaining a position of one corresponding point.
 また、本発明は、平面上の円を撮影した画像において、前記円の中心に対応する点を求めるための画像解析プログラムであって、
 前記円の中心である第1の点と、当該第1の点を通る中心線と前記円とが交差する第2の点及び第3の点と、前記中心線と無限遠線とが交差する第4の点とについての複比と、前記第1~第4の点に対応する前記画像上の第1~第4の対応点についての複比との関係に基づいて、前記画像上の第1の対応点の位置を求める解析部としてコンピュータを機能させることを特徴とする。
Further, the present invention is an image analysis program for obtaining a point corresponding to the center of the circle in an image obtained by photographing a circle on a plane,
The first point which is the center of the circle, the second point and the third point where the center line passing through the first point and the circle intersect, and the center line and the infinity line intersect. Based on the relationship between the cross ratio for the fourth point and the cross ratio for the first to fourth corresponding points on the image corresponding to the first to fourth points, The computer is made to function as an analysis unit for obtaining the position of one corresponding point.
 本発明によれば、円を撮影した画像中における、当該円の中心に対応する位置を求めることができる。 According to the present invention, it is possible to obtain the position corresponding to the center of the circle in the image of the circle.
(a)は本発明の一実施形態に係る画像解析装置の概略構成図、(b)は平面上に設定された円の平面図である。(A) is a schematic block diagram of the image-analysis apparatus based on one Embodiment of this invention, (b) is a top view of the circle set on the plane. 平面上の2つの円の関係を示す平面説明図である。It is plane explanatory drawing which shows the relationship of two circles on a plane. 画像上の2つの楕円の関係を示す平面説明図である。It is plane explanatory drawing which shows the relationship of the two ellipses on an image. 画像解析装置の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of an image analyzer.
 以下、図面を参照して本発明の実施形態について説明する。
 図1(a)は本発明の一実施形態に係る画像解析装置の概略構成図、(b)は平面上に設定された円の平面図である。
 画像解析装置10は、撮像対象を撮像するカメラ11と、このカメラ11の画像(映像)を解析処理する処理装置12とを備えている。
 そして、本実施形態の画像解析装置10は、一の平面に設定された2つの円C,Dをカメラ11によって撮像し、その画像を処理装置12で解析することによって円C,Dの中心C0,D0に対応する画像上の点(座標)を求めるように構成されている。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1A is a schematic configuration diagram of an image analysis apparatus according to an embodiment of the present invention, and FIG. 1B is a plan view of a circle set on a plane.
The image analysis device 10 includes a camera 11 that captures an imaging target, and a processing device 12 that performs analysis processing on an image (video) of the camera 11.
Then, the image analysis apparatus 10 of the present embodiment captures two circles C and D set on one plane by the camera 11 and analyzes the images by the processing apparatus 12 to analyze the center C0 of the circles C and D. , D0, the point (coordinates) on the image is obtained.
 図1に示す例では、任意の2つの円C,D(図1(b)参照)が平面P上に設定されている。この円C,Dは、平面に直接描かれたものであってもよいし、平面上に設置された環状の物体であってもよい。いずれの円C,Dも中心の位置C0,D0が未知とされている。そして、カメラ11は、2つの円C,Dを含む領域を例えば斜め上方から撮像する。カメラ11によって撮像された2つ円C,Dは、カメラ11の焦点の方向に垂直な面Qに射影されるため、それぞれ楕円形状の像となる。 In the example shown in FIG. 1, any two circles C and D (see FIG. 1B) are set on the plane P. The circles C and D may be drawn directly on a plane, or may be an annular object placed on the plane. The center positions C0 and D0 of both circles C and D are unknown. And the camera 11 images the area | region containing two circles C and D from diagonally upward, for example. The two circles C and D picked up by the camera 11 are projected onto a plane Q perpendicular to the focus direction of the camera 11 and thus become elliptical images.
 本実施形態の画像解析装置10は、中心の位置が未知の円C,Dをカメラ11で撮像し、その画像中の楕円における、前記円C,Dの中心C0,D0に対応する点(中心対応点)を処理装置12によって求めるものである。そして、求められた中心対応点は、例えば、カメラ11のキャリブレーションのために利用することができる。 The image analysis apparatus 10 of the present embodiment captures the circles C and D whose center positions are unknown by the camera 11 and points (centers) corresponding to the centers C0 and D0 of the circles C and D in the ellipse in the image. The corresponding point) is obtained by the processing device 12. Then, the obtained center corresponding point can be used for calibration of the camera 11, for example.
 処理装置12は、例えば、パーソナルコンピュータにより構成され、CPU等の演算部、RAM、ROM、HDD等の記憶部、液晶パネル等の出力部、キーボードやマウス等の入力部、及び各種インターフェース等を備えている。そして、記憶部にインストールされたプログラムを演算部が実行することによって、カメラ11によって撮像した画像を取り込み、その画像の解析、及び解析結果の出力等が行われる。特に、処理装置12は、円C,Dの中心C0,D0に対応する画像上の点を求める解析部として機能する。 The processing device 12 is configured by, for example, a personal computer, and includes a calculation unit such as a CPU, a storage unit such as a RAM, ROM, and HDD, an output unit such as a liquid crystal panel, an input unit such as a keyboard and a mouse, and various interfaces. ing. Then, when the arithmetic unit executes the program installed in the storage unit, an image captured by the camera 11 is captured, the image is analyzed, the analysis result is output, and the like. In particular, the processing device 12 functions as an analysis unit that obtains points on the image corresponding to the centers C0 and D0 of the circles C and D.
 以下、処理装置12による解析の手順について詳細に説明する。
 まず、本実施形態の解析手法は、平面上の円と、この円の像である楕円との間では、「複比」が不変であることを利用する。複比とは、射影幾何学において、同じ直線上の4点で構成される有向線分の長さの比率をいう。例えば、図1において、平面上の2つの円C,Dの中心C0,D0を通る直線上の4点a,b,c,dの複比と、これに対応する画像上の2つの楕円の4点a’,b’,c’,d’の複比とは不変であり、次の式(1)が満たされる。
Hereinafter, the analysis procedure by the processing device 12 will be described in detail.
First, the analysis method of the present embodiment uses the fact that the “cross ratio” is invariant between a circle on a plane and an ellipse that is an image of the circle. The cross ratio refers to the ratio of the lengths of directed line segments composed of four points on the same straight line in projective geometry. For example, in FIG. 1, the cross ratio of four points a, b, c, d on a straight line passing through the centers C0, D0 of two circles C, D on the plane and the two ellipses on the corresponding image The cross ratio of the four points a ′, b ′, c ′, and d ′ is unchanged, and the following expression (1) is satisfied.
Figure JPOXMLDOC01-appb-M000001
 式(1)の左辺が平面上の円C,Dの各点a,b,c,dにおける複比を示し、右辺が画像上の楕円c、dの各点a’,b’,c’,d’における複比を示している。
Figure JPOXMLDOC01-appb-M000001
The left side of Equation (1) indicates the cross ratio at the points a, b, c, and d of the circles C and D on the plane, and the right side is the points a ′, b ′, and c ′ of the ellipses c and d on the image. , D ′.
 以上のことを踏まえ、実際の解析手法について具体的に説明する。
 図2は、平面上の2つの円の関係を示す平面説明図である。図3は、画像上の2つの楕円の関係を示す平面説明図である。
 図2において、2つの円C,Dに2本の接線(共通外接線)S1,S2を設けることを想定する。この場合、2本の接線S1,S2と円Cとの接点C1,C2を結ぶ直線(C1C2)と、接線S1,S2と円Dとの接点D1,D2を結ぶ直線(D1D2)とは互いに平行となる。
Based on the above, the actual analysis method will be described specifically.
FIG. 2 is an explanatory plan view showing the relationship between two circles on the plane. FIG. 3 is an explanatory plan view showing the relationship between two ellipses on an image.
In FIG. 2, it is assumed that two tangent lines (common outer tangent lines) S1 and S2 are provided in two circles C and D. In this case, a straight line (C1C2) that connects the contact points C1 and C2 of the two tangent lines S1 and S2 and the circle C and a straight line (D1D2) that connects the contact points D1 and D2 of the tangent lines S1 and S2 and the circle D are parallel to each other. It becomes.
 直線C1C2と直線D1D2とは平行である。しかし、射影幾何学においては両直線C1C2,D1D2は無限遠点Bで交わると考える。なお、図2においては紙面の制約上、無限遠点Bに到達する軌跡を湾曲した点線で示しているが、実際には直線である。 The straight line C1C2 and the straight line D1D2 are parallel. However, in projective geometry, both straight lines C1C2 and D1D2 are considered to intersect at an infinite point B. In FIG. 2, the locus reaching the infinity point B is indicated by a curved dotted line due to space limitations, but it is actually a straight line.
 一方、図3において、2つの楕円c,dに2本の接線s1,s2を設けた場合、この2本の接線s1,s2と楕円cとの接点c1,c2を結ぶ直線(c1c2)と、接線s1,s2と楕円dとの接点d1,d2を結ぶ直線(c1c2)とは、それぞれ図2における直線C1C2と、直線D1D2の像である。そして、直線c1c2と直線d1d2とは交点bを有する。したがって、この交点bは、図2における無限遠点Bに対応する。なお、図3においても、紙面の制約上、直線c1c2と直線d1d2との交点に到達する軌跡を湾曲した点線で示しているが、実際には直線となる。 On the other hand, when two tangents s1 and s2 are provided in two ellipses c and d in FIG. The straight lines (c1c2) connecting the contact points d1 and d2 between the tangent lines s1 and s2 and the ellipse d are images of the straight lines C1C2 and D1D2 in FIG. 2, respectively. The straight line c1c2 and the straight line d1d2 have an intersection point b. Therefore, this intersection point b corresponds to the infinity point B in FIG. In FIG. 3 as well, the locus reaching the intersection of the straight line c1c2 and the straight line d1d2 is indicated by a curved dotted line due to space limitations, but in reality it is a straight line.
 ここで、式(1)で示した「複比」の関係を利用する。つまり、図2の円Cにおいて、点C1と点C2との間に中点Cmを採り、点C1と点C2とを通る直線(以下、「直線C1C2」という)上における4点B,C1,Cm,C2の複比を考える。 Here, the “cross ratio” relationship shown in Equation (1) is used. That is, in the circle C of FIG. 2, the four points B, C1, and C1 on the straight line (hereinafter referred to as “straight line C1C2”) passing through the point C1 and the point C2 are taken between the point C1 and the point C2. Consider the cross ratio of Cm and C2.
 一方、図3においては、点c1と点c2との間に中点cmをとり、点c1と点c2とを通る直線(以下、「直線c1c2」という)上における4点b,c1,cm,c2の複比を考える。そして、両複比は不変であるため、次の式(2)が満たされることになる。 On the other hand, in FIG. 3, there are four points b, c1, cm, on a straight line (hereinafter referred to as “straight line c1c2”) that takes a midpoint cm between the points c1 and c2 and passes through the points c1 and c2. Consider the cross ratio of c2. Since both cross ratios are unchanged, the following equation (2) is satisfied.
Figure JPOXMLDOC01-appb-M000002
Figure JPOXMLDOC01-appb-M000002
 式(2)の左辺において、点Bは、無限遠点であるため、線分BC1と線分BC2の長さはそれぞれ無限大∞となる。一方、点Cmは、点C1と点C2との中点であるため、線分CmC1と線分CmC2の長さは同一寸法となる。したがって、上記の式(2)の左辺は、次の式(3)のように変形することができる。 On the left side of Equation (2), since point B is an infinite point, the lengths of line segment BC1 and line segment BC2 are each infinite ∞. On the other hand, since the point Cm is the midpoint between the points C1 and C2, the lengths of the line segment CmC1 and the line segment CmC2 have the same dimension. Therefore, the left side of the above equation (2) can be transformed as the following equation (3).
Figure JPOXMLDOC01-appb-M000003
Figure JPOXMLDOC01-appb-M000003
 すなわち、図2における4点B,C1,Cm,C2の複比は、1となる。
 一方、式(2)の右辺に示される図3の4点b,c1,cm,c2の複比は、次の式(4)のように変形することができる。
That is, the cross ratio of the four points B, C1, Cm, and C2 in FIG.
On the other hand, the cross ratio of the four points b, c1, cm, and c2 in FIG. 3 shown on the right side of the equation (2) can be modified as the following equation (4).
Figure JPOXMLDOC01-appb-M000004
Figure JPOXMLDOC01-appb-M000004
 したがって、上記の式(2)は、式(3)と式(4)とから、次の式(5)のように書き換えることができる。 Therefore, the above equation (2) can be rewritten as the following equation (5) from the equations (3) and (4).
Figure JPOXMLDOC01-appb-M000005
Figure JPOXMLDOC01-appb-M000005
 そして、式(5)を変形することによって、次の式(6)を得ることができる。 And the following formula (6) can be obtained by transforming the formula (5).
Figure JPOXMLDOC01-appb-M000006
Figure JPOXMLDOC01-appb-M000006
 式(6)において、b,c1,c2の各点の位置は、画像上の座標から求めることができるので、中点cmの位置は、これらの各点b,c1,c2の座標から式(6)によって演算で求めることができる。 In Expression (6), the positions of the points b, c1, and c2 can be obtained from the coordinates on the image. Therefore, the position of the midpoint cm is calculated from the coordinates of these points b, c1, and c2 ( 6).
 同様に、図2における円Dと図3における楕円dについても、上記の式(2)~(6)と同様の関係がある。したがって、式(6)と同様に、次の式(7)の関係を得ることができる。 Similarly, the circle D in FIG. 2 and the ellipse d in FIG. 3 have the same relationship as the above equations (2) to (6). Therefore, similarly to the equation (6), the relationship of the following equation (7) can be obtained.
Figure JPOXMLDOC01-appb-M000007
Figure JPOXMLDOC01-appb-M000007
 そして、式(7)において、b,d1,d2の各点の位置は、画像上の座標から求めることができるので、中点dmの位置も、各点b,d1,d2の座標から式(7)によって演算で求めることができる。なお、中点cm,dmはあくまで線分c1c2及び線分d1d2の中点であり、円C,Dの中心に対応する点ではない。 In the equation (7), the positions of the points b, d1, and d2 can be obtained from the coordinates on the image, so that the position of the midpoint dm is also calculated from the coordinates of the points b, d1, and d2 ( 7) can be obtained by calculation. The midpoints cm and dm are merely midpoints of the line segment c1c2 and the line segment d1d2 and are not points corresponding to the centers of the circles C and D.
 次に、図2において、平面上の円C,Dにおける直線C2Eと直線D2Fとについて考える。点E及び点Fは、それぞれ点Cmと点Dmとを通る直線CmDmが円C,Dと交わる点である。三角形CmC2Eと三角形DmD2Fとは相似の関係にあるため、直線C2Eと直線D2Fとは互いに平行となる。しかし、射影幾何学上、直線C2Eと直線D2Fとは、無限遠点(消失点)Gで交わるものとする。 Next, consider a straight line C2E and a straight line D2F in circles C and D on the plane in FIG. Points E and F are points where straight lines CmDm passing through the points Cm and Dm intersect with the circles C and D, respectively. Since the triangle CmC2E and the triangle DmD2F have a similar relationship, the straight line C2E and the straight line D2F are parallel to each other. However, in terms of projective geometry, the straight line C2E and the straight line D2F intersect at an infinite point (disappearance point) G.
 直線C1C2と直線D1D2とが交わる無限遠点Bと、直線C2Eと直線D2Fとが交わる無限遠点Gとを通る直線Hは、平面上の全ての無限遠点が位置する無限遠線となる。したがって、直線CmDmの無限遠点は、無限遠線Hと交わる点Aとなる。なお、直線CmDmは、円C,Dの中心をも通る直線となる。 The straight line H passing through the infinity point B where the straight line C1C2 and the straight line D1D2 intersect and the infinity point G where the straight line C2E and the straight line D2F intersect is an infinity line where all the infinite points on the plane are located. Therefore, the infinity point of the straight line CmDm is a point A that intersects the infinity line H. The straight line CmDm is a straight line that also passes through the centers of the circles C and D.
 一方、図3において、画像上の楕円c,dにおける直線c2eと直線d2fは、それぞれ図2における直線C2Eと直線D2Fの像である。そして、直線c2eと直線d2fとは交点gを有する。この交点gは、図2における無限遠点Gに対応する。したがって、直線c1c2と直線d1d2とが交わる点bと、直線c2eと直線d2fとが交わる点gとを通る直線hは、図2における無限遠線Hの像となる。
 そして、点cmと点dmとを通る直線cmdmが、直線hと交わる点aは、図2における直線CmDmの無限遠点Aの像となる。
On the other hand, in FIG. 3, a straight line c2e and a straight line d2f in the ellipses c and d on the image are images of the straight line C2E and the straight line D2F in FIG. The straight line c2e and the straight line d2f have an intersection point g. This intersection point g corresponds to the infinity point G in FIG. Therefore, a straight line h passing through a point b where the straight line c1c2 and the straight line d1d2 intersect and a point g where the straight line c2e and the straight line d2f intersect is an image of the infinite line H in FIG.
A point a where a straight line cmdm passing through the point cm and the point dm intersects the straight line h is an image of the point A at infinity of the straight line CmDm in FIG.
 そして、図2における直線CmDmが円Cと交わる点E(第2の点)及び点E’(第3の点)と、無限遠点(第4の点)Aと、円Cの中心(第1の点)C0との4点は、それぞれ図3における直線cmdmが楕円cと交わる点e(第2の対応点)及び点e’(第3の対応点)と、前述の点a(第4の対応点)と、楕円cの中心(円Cの中心に対応する点;第1の対応点)c0との4点と互いに対応しているため、それぞれの複比は不変の関係になる。したがって、上述の式(6)と同様に、次の式(8)の関係を得ることができる。 Then, points E (second point) and point E ′ (third point) where the straight line CmDm in FIG. 2 intersects the circle C, an infinite point (fourth point) A, and the center of the circle C (first point) The four points with the point 1) C0 are the point e (second corresponding point) and the point e ′ (third corresponding point) where the straight line cmdm in FIG. 4) and the center of the ellipse c (the point corresponding to the center of the circle C; the first corresponding point) c0 correspond to each other, so that the respective cross ratios are invariable. . Therefore, the relationship of the following equation (8) can be obtained similarly to the above equation (6).
Figure JPOXMLDOC01-appb-M000008
Figure JPOXMLDOC01-appb-M000008
 式(8)において、a,e,e’の各点の位置は、画像上の座標から求めることができるので、中心c0の位置は、これらの各点a,e,e’の座標から式(8)によって演算で求めることができる。 In the equation (8), the position of each point a, e, e ′ can be obtained from the coordinates on the image. Therefore, the position of the center c0 can be calculated from the coordinates of these points a, e, e ′. (8) can be obtained by calculation.
 円Dと楕円dについても上記と同様のことが言える。すなわち、図2における直線CmDmが円Dと交わる点F(第2の点)及び点F’(第3の点)と、無限遠点(第4の点)Aと、円Dの中心(第1の点)D0との4点は、それぞれ図3における直線cmdmが楕円dと交わる点f(第2の対応点)及び点f’(第3の対応点)と、前述の点a(第4の対応点)と、楕円dの中心(円Dの中心D0に対応する点;第4の対応点)d0の4点とは互いに対応しているため、それぞれの複比は不変の関係になる。したがって、上述の式(6)と同様に、次の式(9)の関係を得ることができる。 The same can be said for the circle D and the ellipse d. That is, the points F (second point) and F ′ (third point) where the straight line CmDm in FIG. 2 intersects the circle D, the infinity point (fourth point) A, and the center of the circle D (first point) The first four points D0 are the points f (second corresponding point) and the point f ′ (third corresponding point) where the straight line cmdm in FIG. 4) and the center of the ellipse d (the point corresponding to the center D0 of the circle D; the fourth corresponding point) d0 correspond to each other, so that the respective cross ratios are invariant. Become. Therefore, the relationship of the following equation (9) can be obtained similarly to the above equation (6).
Figure JPOXMLDOC01-appb-M000009
Figure JPOXMLDOC01-appb-M000009
 式(9)において、a,f,f’の各点の位置は、画像上の座標から求めることができるので、中心d0の位置は、これらの各点a,f,f’の座標から式(9)によって演算で求めることができる。 In Expression (9), the position of each point a, f, f ′ can be obtained from the coordinates on the image, and therefore the position of the center d0 can be calculated from the coordinates of each point a, f, f ′. (9) can be obtained by calculation.
 以上の手順により、平面上の円C,Dの中心C0,D0を射影した画像上の楕円c,dの中心c0,d0を求めることができる。 By the above procedure, the centers c0 and d0 of the ellipses c and d on the image obtained by projecting the centers C0 and D0 of the circles C and D on the plane can be obtained.
 図4は、以上の解析方法を用いた画像解析装置10の具体的な処理手順を示すフローチャートである。
 まず、ステップS1において、カメラによって平面上に設定された円C,Dを含む画像が撮像される。
 そして、ステップS2において、撮像された画像の情報が処理装置12に入力され、その記憶部に記憶される。
FIG. 4 is a flowchart showing a specific processing procedure of the image analysis apparatus 10 using the above analysis method.
First, in step S1, an image including circles C and D set on a plane is captured by the camera.
In step S2, information on the captured image is input to the processing device 12 and stored in the storage unit.
 ステップS3において、記憶部から画像の情報が読み出され、その画像から各楕円c,dの輪郭が抽出されるとともに、その輪郭に対する曲線のあてはめ(フィッティング)により曲線の方程式が演算部によって求められる。
 次いで、ステップS4において、画像上の楕円c,dの中心を通る直線cmdm(図3参照)が演算部によって求められる。具体的には、上述したように、画像上の楕円c,dの共通外接線を用いて設定される1対の直線c1c2,d1d2同士、及び1対の直線c2e,d2f同士の交点b,gがそれぞれ求められる。そして、共通外接線の接点c1,c2と交点bとから上記式(6)を用いて中点cmが求められ、共通外接線の接点d1,d2と交点gとから上記式(7)を用いて中点dmが求められ、これら中点cm,dmを通る直線cmdmが求められる。また、この直線cmdmと各楕円c,dとが交差する点e,e’,f,f’が求められる。各点c1,c2,d1,d2,cm,dm,e,e’,f,f’や直線cmdmの座標等の情報は記憶部に記憶され、適宜演算のために読み出される。
In step S3, the image information is read from the storage unit, the contours of the ellipses c and d are extracted from the image, and the equation of the curve is obtained by the calculation unit by fitting the curve to the contour. .
Next, in step S4, a straight line cmdm (see FIG. 3) passing through the centers of the ellipses c and d on the image is obtained by the calculation unit. Specifically, as described above, the intersection points b and g between the pair of straight lines c1c2 and d1d2 and the pair of straight lines c2e and d2f set using the common outer tangent of the ellipses c and d on the image. Is required. Then, the midpoint cm is determined from the contact points c1 and c2 of the common outer tangent line and the intersection point b using the above formula (6), and the above formula (7) is used from the contact points d1 and d2 of the common outer tangent line and the intersection point g. Thus, a midpoint dm is obtained, and a straight line cmdm passing through these midpoints cm and dm is obtained. Further, points e, e ′, f, and f ′ at which the straight line cmdm and the ellipses c and d intersect are obtained. Information such as the coordinates of each point c1, c2, d1, d2, cm, dm, e, e ', f, f' and the straight line cmdm is stored in the storage unit and read out for calculation as appropriate.
 ステップS5において、円C,Dが設定された平面上の全ての無限遠点が位置する無限遠線Hに対応した直線h(図3参照)が演算部によって求められる。具体的には、上述したように、1対の直線c1c2,d1d2の交点bと、1対の直線c2e,d2fの交点gとを通る直線hが求められる。この直線hについての情報は記憶部に記憶され、適宜演算のために読み出される。 In step S5, a straight line h (see FIG. 3) corresponding to the infinity line H where all the infinity points on the plane on which the circles C and D are set is obtained by the calculation unit. Specifically, as described above, a straight line h passing through the intersection b of the pair of straight lines c1c2 and d1d2 and the intersection g of the pair of straight lines c2e and d2f is obtained. Information about the straight line h is stored in the storage unit and read out for calculation as appropriate.
 そして、ステップS6において、直線cmdmと直線hとを用いて楕円c,dの中心c0,d0が演算部によって求められる。具体的には、まず、ステップS3,S4によって取得された直線cmdmと直線hとの交点aが求められる。そして、この交点aの座標と、直線cmdmと楕円cとの交点e,e’の座標とから、式(8)により中心c0の座標が求められ、交点aの座標と、直線cmdmと楕円dとの交点f,f’の座標とから、式(9)により中心d0の座標が求められる。 In step S6, the centers c0 and d0 of the ellipses c and d are obtained by the arithmetic unit using the straight line cmdm and the straight line h. Specifically, first, an intersection point a between the straight line cmdm and the straight line h acquired in steps S3 and S4 is obtained. Then, from the coordinates of the intersection point a and the coordinates of the intersection points e and e ′ between the straight line cmdm and the ellipse c, the coordinate of the center c0 is obtained by the equation (8). From the coordinates of the intersections f and f ′, the coordinate of the center d0 is obtained by equation (9).
 以上の手順から、本実施形態の演算部は、画像から楕円c,dの方程式を求めるための第1の演算手段、直線hを求めるための第2の演算手段、直線cmdmを求めるための第3の演算手段、及び、中心c0,d0を求めるための第4の演算手段として機能する。
 求められた交点aや中心c0,d0の座標等の情報は記憶部に記憶され、適宜、出力部を介して出力される。
From the above procedure, the computing unit of the present embodiment is the first computing means for obtaining the equations of the ellipses c and d from the image, the second computing means for obtaining the straight line h, and the first computing means for obtaining the straight line cmdm. 3 and 4th operation means for obtaining the centers c0 and d0.
Information such as the obtained intersection point a and coordinates of the centers c0 and d0 is stored in the storage unit and is appropriately output via the output unit.
 以上に説明した実施形態によれば、円C,Dの中心C0,D0を通る直線CmDm上の無限遠点Aを含む4つの点における複比が「1」になることを利用し、これらに対応する画像上の4点a,e,c0,e’(a,f,d0,f’)の複比の演算(式(8)、(9))によって、楕円c,dの中心c0,d0を容易に求めることが可能となる。
 したがって、中心の位置が未知の円であっても、カメラキャリブレーションのためのマーカーとして利用することが可能となる。そのため、例えば、カメラの撮像範囲内に含まれるあらゆる円、例えば、街中に配置された看板、標識、モニュメント等をマーカーとして利用したり、水面の波紋のような自然に発生する円を利用したりすることが可能となる。また、人間の黒目をマーカーとして利用することが可能となる。この場合、頭部の姿勢に依存しない視線の方向の推定ができるようになる。そのため、このような利用法をヘッドマウントディスプレイ(HMD)に適用すると、当該HMDに表示させる画像を視線の方向に応じて変化させることが可能となる。
According to the embodiment described above, the cross ratio at four points including the infinity point A on the straight line CmDm passing through the centers C0 and D0 of the circles C and D is “1”. By calculating the cross ratio of the four points a, e, c0, e ′ (a, f, d0, f ′) on the corresponding image (equations (8), (9)), the centers c0, d0 can be easily obtained.
Therefore, even if the center position is an unknown circle, it can be used as a marker for camera calibration. For this reason, for example, any circle included in the imaging range of the camera, for example, a signboard, a sign, a monument, etc. arranged in the city is used as a marker, or a naturally occurring circle such as a ripple on the water surface is used. It becomes possible to do. In addition, it is possible to use a human black eye as a marker. In this case, the gaze direction can be estimated without depending on the posture of the head. Therefore, when such a usage method is applied to a head mounted display (HMD), an image displayed on the HMD can be changed according to the direction of the line of sight.
 また、中心の位置が未知の円をマーカーとしたカメラキャリブレーションが可能であるため、例えば複数のカメラを用いた多視点画像(映像)からパノラマ画像を生成したり、3次元情報の復元を行うことによって自由視点画像を生成したりすることもできる。 Moreover, since camera calibration is possible using a circle whose center position is unknown as a marker, for example, a panoramic image is generated from a multi-viewpoint image (video) using a plurality of cameras, or three-dimensional information is restored. Thus, a free viewpoint image can be generated.
 本発明は、上記実施形態に限定されるものではなく、特許請求の範囲に記載された発明の範囲内において適宜変更することが可能である。
 例えば、2つの円は、同一の平面上に設定されたものに限らず、互いに平行な2つの平面、例えば、高さが異なる2平面のそれぞれに設定されていてもよい。
 2つの円は、その直径が同一であってもよい。また、2つの円は、完全な包含関係でなければ、一部が重複していてもよい。
 また、平面上の円は、その一部が消失していてもよい。この場合、円の中心に対応する点(第1の対応点)を求めるに先だって、画像上に写っている円の像である部分楕円から、その方程式を求めればよい。
The present invention is not limited to the above-described embodiment, and can be appropriately changed within the scope of the invention described in the claims.
For example, the two circles are not limited to being set on the same plane, and may be set on two planes parallel to each other, for example, two planes having different heights.
The two circles may have the same diameter. Further, the two circles may partially overlap if they are not completely inclusive.
Moreover, a part of the circle on the plane may disappear. In this case, prior to obtaining the point corresponding to the center of the circle (first corresponding point), the equation may be obtained from a partial ellipse that is an image of a circle shown on the image.
 上記実施形態では、2つの円又は2つの楕円に共通外接線S1,S2,s1,s2を設けていたが、これに代えて又は加えて共通内接線を設けてもよい。共通外接線と共通内接線との双方を設ける場合、2つの円C,Dの中心C0,D0を通る直線の像は、共通外接線の交点と共通内接線の交点とを通る直線とすることができる。 In the above embodiment, the common outer tangent lines S1, S2, s1, and s2 are provided in two circles or two ellipses, but a common inscribed line may be provided instead of or in addition to this. When both the common circumscribed line and the common inscribed line are provided, the image of the straight line passing through the centers C0 and D0 of the two circles C and D should be a straight line passing through the intersection of the common circumscribed line and the intersected point of the common inscribed line. Can do.
 10:画像解析装置
 11:カメラ
 12:処理装置(解析部)
10: Image analysis device 11: Camera 12: Processing device (analysis unit)

Claims (6)

  1.  平面上の円を撮影した画像において、前記円の中心に対応する点を求める画像解析方法であって、
     前記円の中心である第1の点と、当該第1の点を通る中心線と前記円とが交差する第2の点及び第3の点と、前記中心線と無限遠線とが交差する第4の点とについての複比と、前記第1~第4の点に対応する前記画像上の第1~第4の対応点についての複比との関係に基づいて、前記画像上の第1の対応点の位置を求めることを特徴とする画像解析方法。
    In an image obtained by photographing a circle on a plane, an image analysis method for obtaining a point corresponding to the center of the circle,
    The first point which is the center of the circle, the second point and the third point where the center line passing through the first point and the circle intersect, and the center line and the infinity line intersect. Based on the relationship between the cross ratio for the fourth point and the cross ratio for the first to fourth corresponding points on the image corresponding to the first to fourth points, An image analysis method characterized by obtaining a position of one corresponding point.
  2.  同一平面上又は平行な2平面上の2つの前記円に設定された互いに平行な一対の直線に対応する画像上の一対の直線の第1の交点と、2つの前記円に設定された互いに平行な他の一対の直線に対応する画像上の他の一対の直線の第2の交点とを求め、これら第1及び第2の交点を通る直線を前記無限遠線の像とし、この無限遠線の像と、画像上の第2及び第3の対応点を通る直線との交点を、前記第4の対応点に設定する、請求項1に記載の画像解析方法。 A first intersection of a pair of straight lines on an image corresponding to a pair of parallel lines set in two circles on the same plane or two parallel planes, and parallel to each other set in two circles A second intersection of the other pair of straight lines on the image corresponding to the other pair of straight lines, and a straight line passing through the first and second intersections as an image of the infinity line. 2. The image analysis method according to claim 1, wherein an intersection of the image and a straight line passing through the second and third corresponding points on the image is set as the fourth corresponding point.
  3.  前記互いに平行な一対の直線が、2つの前記円に共通する互いに対称な2つの接線と各円との交点同士を通る直線を含む、請求項2に記載の画像解析方法。 3. The image analysis method according to claim 2, wherein the pair of straight lines parallel to each other includes a straight line passing through the intersections of two symmetrical tangents common to the two circles and each circle.
  4.  前記互いに平行な一対の直線が、2つの前記円に共通する一の接線と各円との交点と、前記両円の中心を通る中心線と各円との交点と、を通る直線を含む、請求項2又は3に記載の画像解析方法。 The pair of straight lines parallel to each other includes a straight line passing through the intersection of one tangent common to the two circles and each circle, and the intersection between the center line passing through the centers of the two circles and each circle, The image analysis method according to claim 2 or 3.
  5.  平面上の円を撮影した画像において、前記円の中心に対応する点を求める画像解析装置であって、
     前記円の中心である第1の点と、当該第1の点を通る中心線と前記円とが交差する第2の点及び第3の点と、前記中心線と無限遠線とが交差する第4の点とについての複比と、前記第1~第4の点に対応する前記画像上の第1~第4の対応点についての複比との関係に基づいて、前記画像上の第1の対応点の位置を求める解析部を備えていることを特徴とする画像解析装置。
    In an image obtained by photographing a circle on a plane, an image analysis device for obtaining a point corresponding to the center of the circle,
    The first point which is the center of the circle, the second point and the third point where the center line passing through the first point and the circle intersect, and the center line and the infinity line intersect. Based on the relationship between the cross ratio for the fourth point and the cross ratio for the first to fourth corresponding points on the image corresponding to the first to fourth points, An image analysis apparatus comprising an analysis unit for obtaining a position of one corresponding point.
  6.  平面上の円を撮影した画像において、前記円の中心に対応する点を求めるための画像解析プログラムであって、
     前記円の中心である第1の点と、当該第1の点を通る中心線と前記円とが交差する第2の点及び第3の点と、前記中心線と無限遠線とが交差する第4の点とについての複比と、前記第1~第4の点に対応する前記画像上の第1~第4の対応点についての複比との関係に基づいて、前記画像上の第1の対応点の位置を求める解析部としてコンピュータを機能させることを特徴とする画像解析プログラム。
    In an image obtained by photographing a circle on a plane, an image analysis program for obtaining a point corresponding to the center of the circle,
    The first point which is the center of the circle, the second point and the third point where the center line passing through the first point and the circle intersect, and the center line and the infinity line intersect. Based on the relationship between the cross ratio for the fourth point and the cross ratio for the first to fourth corresponding points on the image corresponding to the first to fourth points, An image analysis program for causing a computer to function as an analysis unit for obtaining the position of one corresponding point.
PCT/JP2015/056374 2014-03-07 2015-03-04 Image analysis method, image analysis device, and image analysis program WO2015133526A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2014-045158 2014-03-07
JP2014045158A JP2015170181A (en) 2014-03-07 2014-03-07 Image analyzing method, image analyzing device, and image analyzing program

Publications (1)

Publication Number Publication Date
WO2015133526A1 true WO2015133526A1 (en) 2015-09-11

Family

ID=54055329

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2015/056374 WO2015133526A1 (en) 2014-03-07 2015-03-04 Image analysis method, image analysis device, and image analysis program

Country Status (2)

Country Link
JP (1) JP2015170181A (en)
WO (1) WO2015133526A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09212643A (en) * 1996-02-05 1997-08-15 Meidensha Corp Method for recognition of three-dimensional object and device therefor
JP2008032551A (en) * 2006-07-28 2008-02-14 Okamura Printing Industries Co Ltd Method for calculating roof area by using gauge plate
WO2008078744A1 (en) * 2006-12-25 2008-07-03 Nec Corporation Distance measuring device, method, and program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09212643A (en) * 1996-02-05 1997-08-15 Meidensha Corp Method for recognition of three-dimensional object and device therefor
JP2008032551A (en) * 2006-07-28 2008-02-14 Okamura Printing Industries Co Ltd Method for calculating roof area by using gauge plate
WO2008078744A1 (en) * 2006-12-25 2008-07-03 Nec Corporation Distance measuring device, method, and program

Also Published As

Publication number Publication date
JP2015170181A (en) 2015-09-28

Similar Documents

Publication Publication Date Title
JP6574461B2 (en) Point cloud data conversion system and method
US20210112181A1 (en) Image processing device, image processing method, and recording medium
JP6344050B2 (en) Image processing system, image processing apparatus, and program
JP2010538269A (en) System and method for three-dimensional measurement of the shape of a tangible object
WO2018025842A1 (en) Point group data conversion system, method, and program
WO2015037178A1 (en) Posture estimation method and robot
JP6136018B2 (en) Flow velocity measurement method and flow velocity measurement system for visualization fluid
JP2012058076A (en) Three-dimensional measurement device and three-dimensional measurement method
US9569850B2 (en) System and method for automatically determining pose of a shape
JP2011198330A (en) Method and program for collation in three-dimensional registration
WO2017002209A1 (en) Display control device, display control method, and display control program
JP2015233266A (en) Image processing system, information processing device, and program
JP2011155412A (en) Projection system and distortion correction method in the same
US10643341B2 (en) Replicated dot maps for simplified depth computation using machine learning
JP6425406B2 (en) INFORMATION PROCESSING APPARATUS, INFORMATION PROCESSING METHOD, AND PROGRAM
US20190378299A1 (en) Position measurement device and position measurement method
Wang et al. An onsite inspection sensor for the formation of hull plates based on active binocular stereovision
WO2015133526A1 (en) Image analysis method, image analysis device, and image analysis program
JP4548228B2 (en) Image data creation method
JP6210447B2 (en) Line-of-sight measuring device, method of displaying a gaze point, method of displaying a gaze region, and method of displaying a Gaussian distribution of a gaze point
KR20210007701A (en) Calibration Method for Real-Time Spherical 3D 360 Imaging and Apparatus Therefor
US11467400B2 (en) Information display method and information display system
KR100991570B1 (en) A remote sensing method of diverse signboards' Size and Apparatus using thereof
JP2011118767A (en) Facial expression monitoring method and facial expression monitoring apparatus
JP2011059009A (en) Position measuring object, position measuring system, arithmetic unit for position measurement, and program

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15759035

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15759035

Country of ref document: EP

Kind code of ref document: A1