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
JP7444396B2 - 3D image measurement system, 3D image measurement method, 3D image measurement program, and recording medium - Google Patents
[go: Go Back, main page]

JP7444396B2 - 3D image measurement system, 3D image measurement method, 3D image measurement program, and recording medium - Google Patents

3D image measurement system, 3D image measurement method, 3D image measurement program, and recording medium Download PDF

Info

Publication number
JP7444396B2
JP7444396B2 JP2020169108A JP2020169108A JP7444396B2 JP 7444396 B2 JP7444396 B2 JP 7444396B2 JP 2020169108 A JP2020169108 A JP 2020169108A JP 2020169108 A JP2020169108 A JP 2020169108A JP 7444396 B2 JP7444396 B2 JP 7444396B2
Authority
JP
Japan
Prior art keywords
plumb
measurement
string
photographing
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2020169108A
Other languages
Japanese (ja)
Other versions
JP2022061231A (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.)
fukuokakougyoudaigaku
Sanwa Shutter Corp
Original Assignee
fukuokakougyoudaigaku
Sanwa Shutter Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by fukuokakougyoudaigaku, Sanwa Shutter Corp filed Critical fukuokakougyoudaigaku
Priority to JP2020169108A priority Critical patent/JP7444396B2/en
Publication of JP2022061231A publication Critical patent/JP2022061231A/en
Application granted granted Critical
Publication of JP7444396B2 publication Critical patent/JP7444396B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Length Measuring Devices By Optical Means (AREA)

Description

本発明は、建築、土木、橋梁やトンネル施工などの分野における施工現場の形状および寸法を計測する三次元画像計測システム、三次元画像計測方法、三次元画像計測プログラムおよび記録媒体に関する。 The present invention relates to a three-dimensional image measurement system, a three-dimensional image measurement method, a three-dimensional image measurement program, and a recording medium for measuring the shape and dimensions of a construction site in fields such as architecture, civil engineering, bridge and tunnel construction, etc.

倉庫、車庫、商店、地下街やトンネルなどのところに、シャッター等の更新や新規追加などのニーズが多い。このシャッター等の更新や新規追加などでは、設計図面ではなく、実際に装着が必要な現場の形状やサイズなどのパラメータに従ってシャッター等を作製し、施工することが多い。従来、現場のパラメータの計測は、作業員がメジャーなどで測って紙面に記録することがほとんどである。このような現場計測方法では、計測結果に個人差がある。また、高所や広範囲等の計測は困難である。このため、計測結果に基づいて製造されたシャッター等が現場に装着できなくなることがある。 There are many needs for updating shutters and adding new shutters in warehouses, garages, shops, underground malls, tunnels, etc. When renewing or adding new shutters, etc., the shutters are often fabricated and installed according to parameters such as the shape and size of the site where they actually need to be installed, rather than based on design drawings. Conventionally, most on-site parameters have been measured by workers using a tape measure or the like and recorded on paper. With such on-site measurement methods, there are individual differences in measurement results. Furthermore, it is difficult to measure at high places or over a wide area. For this reason, shutters and the like manufactured based on the measurement results may not be able to be installed on site.

従来、レーザー距離計や超音波距離計などを用いた計測方法がある。しかしながら、これらの計測機器では、計測器から計測目標点までの間の2点間の直線距離しか計測できず、細部や特定な部分の計測が困難であるなどの問題がある。また、1回の計測で2点間の距離しか計測できず、前述のような沢山の現場のパラメータの計測には計測時間が必要である。 Conventionally, there are measurement methods using laser rangefinders, ultrasonic rangefinders, etc. However, these measuring devices have problems such as being able to only measure the straight distance between two points from the measuring device to the measurement target point, making it difficult to measure details or specific parts. Furthermore, only the distance between two points can be measured in one measurement, and measurement time is required to measure many field parameters as described above.

また、計測方法として、画像計測技術の使用が考えられる。画像計測技術は、概ね二次元画像計測と三次元画像計測の2種類の計測方法に分類することができる。しかし、シャッター等の製造と装着には施工現場の立体的な形状とパラメータが必要なので、二次元画像計測は適用が困難であり、三次元画像計測技術の使用が必要である。 Furthermore, as a measurement method, it is possible to use image measurement technology. Image measurement techniques can be generally classified into two types of measurement methods: two-dimensional image measurement and three-dimensional image measurement. However, since the manufacturing and installation of shutters and the like requires the three-dimensional shape and parameters of the construction site, it is difficult to apply two-dimensional image measurement, and it is necessary to use three-dimensional image measurement technology.

代表的な三次元画像計測手法としては、両眼視に基づくステレオ視計測法、パターン光投影に基づく計測法や、レンズの焦点距離の調節に基づくレンズ焦点法などの手法が挙げられる。 Typical three-dimensional image measurement methods include methods such as a stereoscopic measurement method based on binocular vision, a measurement method based on patterned light projection, and a lens focusing method based on adjustment of the focal length of a lens.

パターン光投影計測は、計測用のパターン光を計測対象物に投影し、その反射パターンを解析することにより計測対象物の三次元情報を算出する方法である。しかし、計測対象物が前述のシャッターの場合、シャッターのサイズが数メータから十数メータと大きく、このシャッター全体を覆うパターン光の作成と投影は困難であるため、パターン光投影計測の手法はシャッター計測への適用が困難である。 Pattern light projection measurement is a method of calculating three-dimensional information of a measurement target by projecting pattern light for measurement onto a measurement target and analyzing its reflection pattern. However, when the object to be measured is the shutter described above, the size of the shutter is large, ranging from several meters to over 10 meters, and it is difficult to create and project a pattern of light that covers the entire shutter. Difficult to apply to measurement.

一方、レンズ焦点法は、顕微鏡計測等によく使われ、複数回の焦点調節と撮影により表面形状の三次元計測と二次元計測を同時に実現することができる。しかし、計測には複数回乃至数十回のレンズ調節と撮影が必要であり、各焦点に対応する奥行き距離値を事前に分かっておく必要があるので、シャッター計測には不向きと考えられる。 On the other hand, the lens focusing method is often used for microscopic measurements, etc., and can simultaneously realize three-dimensional and two-dimensional measurements of surface shapes by adjusting the focus and photographing multiple times. However, measurement requires lens adjustment and photographing several to several dozen times, and it is necessary to know the depth distance value corresponding to each focal point in advance, so it is considered unsuitable for shutter measurement.

ステレオ計測法は、異なる視点から2台のカメラにより計測対象物の写真を撮影し、画像解析により、計測目標点の三次元情報を算出する手法である。このステレオ計測法によれば、カメラだけで非接触計測ができ、レンズの焦点調節により異なるサイズの計測対象物の計測に対応できるので、シャッター計測に適すると考えられる。 The stereo measurement method is a method in which photos of a measurement target are taken with two cameras from different viewpoints, and three-dimensional information of the measurement target point is calculated by image analysis. According to this stereo measurement method, non-contact measurement can be performed using only a camera, and it is possible to measure objects of different sizes by adjusting the focus of the lens, so it is considered suitable for shutter measurement.

カメラの焦点距離などのカメラシステムのパラメータを求めるカメラシステムのキャリブレーションは、ステレオ計測法における最重要技術の一つである。シャッター等の施工現場の計測では、計測目標の大きさや計測者の立ち位置などにより、カメラのレンズの焦点距離を変えながら撮影する必要がある。そのため、計測のたびにカメラシステムのキャリブレーションが必要であり、事前にカメラシステムのキャリブレーションを行うことは難しく、カメラのパラメータを求める手法はシャッター等の計測には適応しにくい。 Camera system calibration, which determines camera system parameters such as camera focal length, is one of the most important techniques in stereo measurement. When measuring construction sites such as shutters, it is necessary to take pictures while changing the focal length of the camera lens depending on the size of the measurement target and the position of the person measuring it. Therefore, it is necessary to calibrate the camera system each time measurement is performed, and it is difficult to calibrate the camera system in advance, and the method of determining camera parameters is difficult to apply to measurements of shutters and the like.

非特許文献1に記載のキャリブレーション方法は近年よく使われ、非特許文献2に記載のとおりライブラリ化されている。現場計測の際には、撮影のためのカメラの焦点距離の調節が終わった後に、焦点距離を固定してキャリブレーションする方法が挙げられるが、毎回の撮影でキャリブレーションを行う必要があるので、このキャリブレーション方法は現場計測に不向きである。 The calibration method described in Non-Patent Document 1 has been frequently used in recent years, and has been compiled into a library as described in Non-Patent Document 2. When performing on-site measurements, one method is to fix the focal length and calibrate it after adjusting the focal length of the camera for shooting, but it is necessary to calibrate it every time you take a photo. This calibration method is not suitable for field measurements.

建築物の画像計測に関する研究は従前から行われており、いくつかの特許が出願されている。本発明者は、特許文献1において、三脚のエレベータの昇降により計測対象物の写真を2枚撮影し、三次元画像計測を行う方法を提案している。この方法では、毎回の撮影の際に三脚のエレベータを操作し、上下2枚の写真を撮影しなければならないので、手間がかかる。また、カメラが三脚に固定されているので、撮影角度を自由に調節することができず、撮影範囲が狭いという問題が残っている。 Research on image measurement of buildings has been conducted for some time, and several patents have been filed. In Patent Document 1, the present inventor has proposed a method of taking two photographs of a measurement target by raising and lowering an elevator on a tripod, and performing three-dimensional image measurement. This method is time-consuming because it requires the user to operate the tripod's elevator and take two photographs, one above and one above, each time a photograph is taken. Furthermore, since the camera is fixed on a tripod, the photographing angle cannot be freely adjusted, resulting in a narrow photographic range.

また、例えば特許文献2では、建築物の被覆材の三次元画像計測方法が提案されている。しかし、この三次元画像計測方法の計測目的は被覆材の形状と厚みであり、シャッター等の計測対象物の寸法を計測できない。また、例えば特許文献3では、2台のカメラを用いてステレオ計測法に基づいた建築物の形状の三次元データを生成する手法が提案されている。しかし、この手法の目的は直線抽出に基づく建築物の形状計測であり、シャッター等の計測対象物の寸法の精密計測には不向きである。 Further, for example, Patent Document 2 proposes a three-dimensional image measurement method for a covering material of a building. However, the measurement purpose of this three-dimensional image measurement method is the shape and thickness of the covering material, and cannot measure the dimensions of an object to be measured such as a shutter. Further, for example, Patent Document 3 proposes a method of generating three-dimensional data of the shape of a building based on a stereo measurement method using two cameras. However, the purpose of this method is to measure the shape of buildings based on straight line extraction, and is not suitable for precision measurement of the dimensions of objects to be measured such as shutters.

また、建築物やトンネルなどにシャッター等を装着しようとする際には、装着位置を特定し、この特定された装着位置に形状と寸法の合うシャッター等を製造して装着する。この装着位置を特定するために、ペンキを塗ったり、マーカを付けたりなどの方法は使用されている。しかし、これらの方法では、作業時間が問題なだけではなく、高所などにペンキ塗りやマーカ付けが難しいという問題や、ペンキやマーカを施工完了まで残す必要があるため美観等の問題がある。 Furthermore, when a shutter or the like is to be attached to a building, a tunnel, or the like, the attachment position is specified, and a shutter or the like whose shape and dimensions match the specified attachment position is manufactured and attached. In order to identify the mounting position, methods such as painting or attaching a marker are used. However, these methods not only have problems with the work time, but also have problems with the difficulty of painting and marking high places, and with aesthetic issues as it is necessary to leave the paint and markers until the construction is completed.

特開2005-164434号公報Japanese Patent Application Publication No. 2005-164434 特開2020-76585号公報JP2020-76585A 国際公開第2013/002280号International Publication No. 2013/002280

Z. Zhang,A Flexible New Technique for Camera Calibration,IEEE Transactions on Pattern Analysis and Machine Intelligence,Vol 22: pp. 1330-1334,2000Z. Zhang, A Flexible New Technique for Camera Calibration, IEEE Transactions on Pattern Analysis and Machine Intelligence, Vol 22: pp. 1330-1334, 2000 OpenCV,Camera Calibration and 3D Reconstruction,インターネット<URL:https://docs.opencv.org/master/d9/d0c/group__calib3d.html#ga3207604e4b1a1758aa66acb6ed5aa65d>OpenCV, Camera Calibration and 3D Reconstruction, Internet <URL: https://docs.opencv.org/master/d9/d0c/group__calib3d.html#ga3207604e4b1a1758aa66acb6ed5aa65d>

本発明は、撮影しやすい場所で計測対象物の写真を複数枚撮影し、三次元画像計測技術を用いて、計測対象物の形状や寸法を計測可能とすることを目的とする。 An object of the present invention is to make it possible to measure the shape and dimensions of a measurement target by taking a plurality of photos of the measurement target at a location where it is easy to take pictures, and using three-dimensional image measurement technology.

本発明の三次元画像計測システムは、線状光を投射する投光装置と、特徴点を有する紐状部材に錘を吊り下げた下げ振り装置と、下げ振り装置の紐状部材と投光装置から投射された線状光とを含めて計測対象物を複数の視点からそれぞれ撮影する撮影手段と、撮影手段により撮影された画像を用い、下げ振り装置の紐状部材にある特徴点と投光装置から投射された線状光とに基づいて、撮影手段の焦点距離を含む内部パラメータと、撮影手段の撮影姿勢および撮影位置の外部パラメータとを求める任意視点動的キャリブレーション手段と、投光装置から計測対象物に線状光を投射し、計測対象物上の計測目標点を特定する計測点特定手段と、内部パラメータを用いて撮影手段により撮影された画像に対し、外部パラメータを用いて計測対象物における計測目標点の三次元座標を求める三次元情報算出手段とを含むものである。 The three-dimensional image measurement system of the present invention includes a light projection device that projects linear light, a plumb bob device in which a weight is suspended from a string-like member having feature points, a string-like member of the plumb-bang device, and a light projector. A photographing means for photographing the object to be measured from a plurality of viewpoints, including linear light projected from the arbitrary viewpoint dynamic calibration means for determining internal parameters including a focal length of the photographing means and external parameters of the photographing posture and position of the photographing means based on the linear light projected from the device; and a light projection device. measurement point specifying means for projecting a linear light onto the measurement object to identify the measurement target point on the measurement object; and three-dimensional information calculation means for determining the three-dimensional coordinates of the measurement target point on the object.

本発明の三次元画像計測システムでは、下げ振り装置と投光装置とを併用し、下げ振り装置の紐状部材と投光装置から投射された線状光とを含めて計測対象物を複数の視点からそれぞれ撮影し、この撮影された画像を用い、下げ振り装置の紐状部材にある特徴点と投光装置から投射された線状光とに基づいて、撮影手段の焦点距離を含む内部パラメータと、撮影手段の撮影姿勢および撮影位置の外部パラメータとを求め、内部パラメータを用いて撮影手段により撮影された画像に対し、外部パラメータを用いて計測対象物上の計測目標点の三次元座標を求めることにより、三次元画像計測を行うことができる。 In the three-dimensional image measurement system of the present invention, a plumb bob device and a light projecting device are used together, and a plurality of objects to be measured including the string member of the plumb bob device and the linear light projected from the light projecting device are Photographs are taken from each viewpoint, and using these photographed images, internal parameters including the focal length of the photographing means are determined based on the feature points on the string-like member of the plumb-bob device and the linear light projected from the light projector. and the external parameters of the photographing posture and photographing position of the photographing means, and calculate the three-dimensional coordinates of the measurement target point on the measurement object using the external parameters for the image photographed by the photographing means using the internal parameters. By determining this, three-dimensional image measurement can be performed.

すなわち、本発明の三次元画像計測システムでは、撮影手段の焦点距離を含む内部パラメータと、撮影手段の撮影姿勢および撮影位置の外部パラメータとを求め、内部パラメータを用いて撮影手段により撮影された画像に対し、外部パラメータを用いて計測対象物における計測目標点の三次元座標を求めるため、現場計測の際にレンズの焦点距離が変わったり、撮影姿勢や撮影位置が変わったりしても三次元画像計測を行うことが可能である。 That is, in the three-dimensional image measurement system of the present invention, internal parameters including the focal length of the photographing means and external parameters of the photographing posture and photographing position of the photographing means are determined, and an image photographed by the photographing means is determined using the internal parameters. On the other hand, since the three-dimensional coordinates of the measurement target point on the measurement object are determined using external parameters, the three-dimensional image can be maintained even if the focal length of the lens changes during on-site measurement, or the shooting posture or shooting position changes. It is possible to perform measurements.

本発明の三次元画像計測システムは、撮影手段により撮影された画像における下げ振り装置の紐状部材が地面に垂直となることを基準として画像を射影変換する撮影画像変換手段を含むものであることが望ましい。これにより、任意の視点から撮影された画像であっても、計測対象物が真正面から撮影されたように見える画像が得られる。 It is preferable that the three-dimensional image measurement system of the present invention includes a photographed image converting means for projectively transforming the image photographed by the photographing means on the basis that the string member of the plumb bob device is perpendicular to the ground. . As a result, even if the image is taken from an arbitrary viewpoint, an image that looks as if the object to be measured is taken from directly in front can be obtained.

下げ振り装置は、紐状部材を通す透明な下げ振り筒と、下げ振り筒を垂直に立たせたベースと、ベースの上面を水平に調節する水平調節器と、下げ振り筒の内径と同程度の穴を有し、下げ振り筒の上に設けられた固定板と、紐状部材が通れる程度の穴を有し、固定板の上に設けられた調節板と、調節板の上に設けられ、紐状部材の長さを調節する長さ調節機構とを有する構成とすることができる。これにより、風がある場合であっても、下げ振り筒が揺れることがなく、その中の紐状部材が揺れないようにすることができる。また、調節板と固定板との相対位置を平面的に調節することで、下げ振り筒が垂直に設置できない場合でも、下げ振り装置の紐状部材と錘が下げ振り筒に接触しないことを確保することが可能となる。 The plumb-bob device consists of a transparent plumb-bob tube through which a string-like member is passed, a base on which the plumb-bob tube stands vertically, a horizontal adjuster that adjusts the top surface of the base horizontally, and a plumb-bob tube with a diameter that is about the same as the inner diameter of the plumb-bob tube. A fixing plate having a hole and provided on the plumb bob tube, an adjustment plate having a hole large enough for the string-like member to pass through and provided on the fixing plate, and an adjustment plate provided on the adjustment plate, The structure may include a length adjustment mechanism that adjusts the length of the string member. Thereby, even when there is a wind, the plumb bob tube does not sway, and the string-like member therein can be prevented from swaying. In addition, by adjusting the relative position of the adjustment plate and the fixed plate in a plane, it is possible to ensure that the string-like member of the plumb-bob device and the weight do not come into contact with the plumb-bob tube even if the plumb-bob tube cannot be installed vertically. It becomes possible to do so.

また、下げ振り装置は、紐状部材を吊り下げる支柱と、紐状部材を通す透明な下げ振り筒であり、繋ぎ紐状部材により支柱から吊り下げた下げ振り筒とを有する構成とすることができる。これにより、下げ振り筒の揺れが、下げ振り装置のベース、紐状部材および支柱に及ぼさないようにすることができ、風がある場合であっても、下げ振り筒の中の紐状部材が揺れないようにすることができる。 Further, the plumb-bob device may be configured to include a support for suspending a string-like member, a transparent plumb-bob tube through which the string-like member is passed, and a plumbstone tube suspended from the support by a connecting string-like member. can. This prevents the swinging of the plumb bob from affecting the base, string-like member, and support of the plumb-bob device, and even when there is wind, the string-like member inside the plumb-bob can be You can prevent it from shaking.

下げ振り筒の壁の心角θ(90°<θ<180°)の範囲が紐状部材を目立たせる単一色であることが望ましい。これにより、画像処理の際に下げ振り装置の紐状部材を抽出しやすくなる。 It is desirable that the range of the center angle θ (90°<θ<180°) of the wall of the plumb tube be a single color that makes the string-like member stand out. This makes it easier to extract the string-like member of the plumb bob device during image processing.

本発明の三次元画像計測方法は、特徴点を有する紐状部材に錘を吊り下げた下げ振り装置の紐状部材と、線状光を投射する投光装置から投射された線状光とを含めて計測対象物を撮影手段により複数の視点からそれぞれ撮影すること、撮影手段により撮影された画像を用い、下げ振り装置の紐状部材にある特徴点と投光装置から投射された線状光とに基づいて、撮影手段の焦点距離を含む内部パラメータと、撮影手段の撮影姿勢および撮影位置の外部パラメータとを求めること、投光装置から計測対象物に線状光を投射し、計測対象物上の計測目標点を特定すること、内部パラメータを用いて撮影手段により撮影された画像に対し、外部パラメータを用いて計測対象物における計測目標点の三次元座標を求めることを含むことを特徴とする。本発明の三次元画像計測方法によれば、上記本発明の三次元画像計測システムと同様の作用効果を奏することができる。 The three-dimensional image measurement method of the present invention uses a string-like member of a plumb bobbing device in which a weight is suspended from a string-like member having feature points, and linear light projected from a light projection device that projects linear light. The object to be measured is photographed from multiple viewpoints using a photographing means, and the images taken by the photographing means are used to identify the characteristic points on the string-like member of the plumb-bob device and the linear light projected from the projector. Based on this, the internal parameters including the focal length of the photographing means and the external parameters of the photographing posture and photographing position of the photographing means are determined. and determining the three-dimensional coordinates of the measurement target point on the measurement object using external parameters with respect to the image photographed by the photographing means using internal parameters. do. According to the three-dimensional image measurement method of the present invention, it is possible to achieve the same effects as the three-dimensional image measurement system of the present invention described above.

本発明の三次元画像計測プログラムは、特徴点を有する紐状部材に錘を吊り下げた下げ振り装置の紐状部材と、線状光を投射する投光装置から投射された線状光とを含めて計測対象物が撮影手段により複数の視点からそれぞれ撮影された画像を用い、下げ振り装置の紐状部材にある特徴点と投光装置から投射された線状光とに基づいて、撮影手段の焦点距離を含む内部パラメータと、撮影手段の撮影姿勢および撮影位置の外部パラメータとを求める任意視点動的キャリブレーション手段と、投光装置から計測対象物に線状光を投射し、計測対象物上の計測目標点を特定する計測点特定手段と、内部パラメータを用いて撮影手段により撮影された画像に対し、外部パラメータを用いて計測対象物における計測目標点の三次元座標を求める三次元情報算出手段としてコンピュータを機能させるためのものである。このプログラムを実行したコンピュータによれば、上記本発明の三次元画像計測システムと同様の作用、効果を奏することができる。なお、上記本発明の三次元画像計測プログラムは、コンピュータ読み取り可能な記録媒体を介してコンピュータに読み取り、実行することも可能である。 The three-dimensional image measurement program of the present invention uses a string-like member of a plumb bobbing device in which a weight is suspended from a string-like member having feature points, and linear light projected from a light projection device that projects linear light. The photographing means uses images of the object to be measured, including the object, taken from a plurality of viewpoints by the photographing means, based on the feature points on the string-like member of the plumb-bob device and the linear light projected from the light projecting device. arbitrary viewpoint dynamic calibration means for determining internal parameters including the focal length of the camera and external parameters of the photographing posture and position of the photographing means; measurement point specifying means for specifying the above measurement target point, and three-dimensional information for determining the three-dimensional coordinates of the measurement target point on the measurement object using external parameters for the image taken by the photographing means using internal parameters. This is to make the computer function as a calculation means. A computer that executes this program can produce the same functions and effects as the three-dimensional image measurement system of the present invention described above. Note that the three-dimensional image measurement program of the present invention can also be read and executed by a computer via a computer-readable recording medium.

(1)特徴点を有する紐状部材に錘を吊り下げた下げ振り装置の紐状部材と、線状光を投射する投光装置から投射された線状光とを含めて計測対象物を撮影手段により複数の視点からそれぞれ撮影し、撮影手段により撮影された画像を用い、下げ振り装置の紐状部材にある特徴点と投光装置から投射された線状光とに基づいて、撮影手段の焦点距離を含む内部パラメータと、撮影手段の撮影姿勢および撮影位置の外部パラメータとを求め、投光装置から計測対象物に線状光を投射し、計測対象物上の計測目標点を特定し、内部パラメータを用いて撮影手段により撮影された画像に対し、外部パラメータを用いて計測対象物における計測目標点の三次元座標を求める構成により、現場計測の際にレンズの焦点距離が変わったり、撮影姿勢や撮影位置が変わったりしても三次元画像計測を行うことが可能であり、撮影しやすい場所で計測対象物の写真を複数枚撮影して、計測対象物の形状や寸法を測定することが可能となる。 (1) Photograph the object to be measured, including the string-like member of the plumb-down device with a weight suspended from a string-like member having feature points, and the linear light projected from the light projection device that projects the linear light. The images are taken from a plurality of viewpoints by the means, and the image taken by the photographing means is used to determine the image of the photographing means based on the feature points on the string-like member of the plumb-bob device and the linear light projected from the light projecting device. Obtaining internal parameters including a focal length and external parameters of the photographing posture and photographing position of the photographing means, projecting linear light from a light projecting device onto a measurement target, and identifying a measurement target point on the measurement target; The configuration uses external parameters to determine the three-dimensional coordinates of the measurement target point on the measurement target for the image taken by the imaging means using internal parameters, so the focal length of the lens changes during on-site measurement, and the It is possible to perform 3D image measurement even if the posture or shooting position changes, and it is possible to measure the shape and dimensions of the measurement target by taking multiple photos of the measurement target in a location that is easy to take. becomes possible.

(2)撮影手段により撮影された画像における下げ振り装置の紐状部材が地面に垂直となることを基準として画像を射影変換する構成により、任意の視点から撮影された画像であっても、計測対象物が真正面から撮影されたように見える画像が得られる。 (2) With the configuration that projectively transforms the image based on the fact that the string-like member of the plumb-bob device is perpendicular to the ground in the image photographed by the photographing means, even if the image is photographed from any viewpoint, it can be measured. An image that looks like the object was taken directly in front of you can be obtained.

(3)下げ振り装置が、紐状部材を通す透明な下げ振り筒と、下げ振り筒を垂直に立たせたベースと、ベースの上面を水平に調節する水平調節器と、下げ振り筒の内径と同程度の穴を有し、下げ振り筒の上に設けられた固定板と、紐状部材が通れる程度の穴を有し、固定板の上に設けられた調節板と、調節板の上に設けられ、紐状部材の長さを調節する長さ調節機構とを有する構成により、風がある場合であっても、下げ振り筒が揺れることがなく、その中の紐状部材が揺れないようにすることができ、風の影響を排除して計測対象物の形状や寸法をより高精度に測定することが可能となる。 (3) The plumb-bob device includes a transparent plumb-bob tube through which a string-like member is passed, a base on which the plumb-bob tube stands vertically, a horizontal adjuster that adjusts the top surface of the base horizontally, and an inner diameter of the plumb-bang tube. A fixing plate that has holes of the same size and is installed on top of the plumb tube, a hole that is large enough for a string member to pass through, and an adjustment plate that is installed on top of the fixation plate, and an adjustment plate that is installed on top of the adjustment plate. The structure includes a length adjustment mechanism that adjusts the length of the string-like member, so that even in the presence of wind, the plumb bob tube does not sway and the string-like member therein does not sway. This makes it possible to eliminate the influence of wind and measure the shape and dimensions of the object with higher precision.

(4)下げ振り装置が、紐状部材を吊り下げる支柱と、紐状部材を通す透明な下げ振り筒であり、繋ぎ紐状部材により支柱から吊り下げた下げ振り筒とを有する構成により、下げ振り筒の揺れが、下げ振り装置のベース、紐状部材および支柱に及ぼさないようにすることができ、風がある場合であっても、下げ振り筒の中の紐状部材が揺れないようにすることができ、風の影響を排除して計測対象物の形状や寸法をより高精度に測定することが可能となる。 (4) The plumb-bob device has a structure in which the plumb-bob device has a support for suspending a string-like member, a transparent plumb-bob tube through which the string-like member is passed, and a plumb-bang tube that is suspended from the support by a connecting string-like member. It is possible to prevent the shaking of the plumb bob from affecting the base, string-like member, and support of the plumb-bob device, and to prevent the string-like member in the plumb-bob from shaking even when there is wind. This makes it possible to eliminate the influence of wind and measure the shape and dimensions of the object to be measured with higher precision.

(5)下げ振り筒の壁の心角θ(90°<θ<180°)の範囲が紐状部材を目立たせる単一色である構成により、画像処理の際に下げ振り装置の紐状部材を抽出しやすくなり、計測対象物の形状や寸法をより高精度に測定することが可能となる。 (5) With a configuration in which the range of the central angle θ (90° < θ < 180°) of the wall of the plumb-bob tube is a single color that makes the string-like member stand out, the string-like member of the plumb-bob device can be easily removed during image processing. This makes it easier to extract the shape and dimensions of the object to be measured, making it possible to measure the shape and dimensions of the object with higher precision.

本発明の実施の形態における三次元画像計測システム概要を示す説明図である。FIG. 1 is an explanatory diagram showing an overview of a three-dimensional image measurement system in an embodiment of the present invention. 図1のシャッター装着領域において計測が必要な寸法の一例を示す図である。FIG. 2 is a diagram showing an example of dimensions that need to be measured in the shutter mounting area of FIG. 1; 図1の計算機の機能ブロック図である。FIG. 2 is a functional block diagram of the computer in FIG. 1. FIG. レーザー墨出し器と下げ振り装置の配置例を示す説明図である。It is an explanatory view showing an example of arrangement of a laser marker and a plumb-bang device. 下げ振り装置の例1を示す図である。It is a figure showing example 1 of a plumb bob device. 下げ振り装置の例2を示す図である。It is a figure which shows the example 2 of a plumb-bob device. 下げ振り装置の例3を示す図である。It is a figure which shows Example 3 of a plumb-bob device. 下げ振り筒の一例を示す横断面図である。FIG. 3 is a cross-sectional view showing an example of a plumb bob barrel. 図7の下げ振り装置における紐状部材の中心位置調節のイメージ図である。8 is an image diagram of adjusting the center position of the string-like member in the plumb-down swing device of FIG. 7. FIG. 本発明の実施の形態における三次元画像計測システムによる三次元画像計測の流れを示すフロー図である。FIG. 2 is a flow diagram showing the flow of three-dimensional image measurement by the three-dimensional image measurement system in the embodiment of the present invention. 本発明の実施形態における計測対象物が斜めに撮影された一例を示す図である。FIG. 2 is a diagram showing an example in which a measurement target object in an embodiment of the present invention is photographed obliquely.

図1は本発明の実施の形態における三次元画像計測システムの概要を示す説明図である。図1において、本実施形態における三次元画像計測システムは、計測対象物Z1にシャッター等を装着する場合のその装着領域(斜線で示した領域。以下、「シャッター装着領域」と称す。)Z2の形状および寸法を計測するためのものである。三次元画像計測システムは、計測対象物Z1を複数の異なる撮影位置からそれぞれ撮影する撮影手段としての複数のカメラ1と、カメラ1が接続され、各種計算を行うパーソナルコンピュータ(PC)等の計算機2と、線状光を投射する投光装置としてのレーザー墨出し器3(図4参照。)と、下げ振り装置4(図4参照。)とを含む。 FIG. 1 is an explanatory diagram showing an overview of a three-dimensional image measurement system according to an embodiment of the present invention. In FIG. 1, the three-dimensional image measurement system in this embodiment has a mounting area (shaded area; hereinafter referred to as "shutter mounting area") Z2 when a shutter or the like is mounted on a measurement target Z1. It is for measuring shape and dimensions. The three-dimensional image measurement system includes a plurality of cameras 1 as photographing means for photographing a measurement target Z1 from a plurality of different photographing positions, and a calculator 2 such as a personal computer (PC) to which the cameras 1 are connected and performs various calculations. , a laser marking device 3 (see FIG. 4) as a projection device for projecting linear light, and a plumb bob device 4 (see FIG. 4).

図2は図1のシャッター装着領域Z2において計測が必要な寸法の一例を示す図である。図2において、Wはシャッター等を装着する開口部Z3の横幅、Hは開口部Z3の縦幅である。X1~X5は、シャッター等を装着するのに必要な開口部Z3の周辺の寸法である。 FIG. 2 is a diagram showing an example of dimensions that need to be measured in the shutter mounting area Z2 of FIG. 1. In FIG. 2, W is the horizontal width of the opening Z3 to which a shutter or the like is attached, and H is the vertical width of the opening Z3. X1 to X5 are the dimensions of the periphery of the opening Z3 necessary for mounting a shutter or the like.

図3は図1の計算機2の機能ブロック図である。図3に示すように、計算機2は、カメラ1によって計測対象物Z1が斜めから撮影された場合にそれを真正面から撮影されたように撮影画像に射影変換を加えるための撮影画像変換手段22と、計測対象物をきれいに撮影するために、撮影場所を選んだり、カメラ1のレンズの焦点距離を調節したりする際に、撮影時のカメラ1のパラメータを正しく求めるための任意視点動的キャリブレーション手段23と、計測目標点を自動もしくは手動により決める計測点特定手段24と、任意視点動的キャリブレーション手段23より求められたカメラ1のパラメータを用い、異なる視点から撮影された複数枚の写真を画像解析し、計測点の三次元座標を計算する三次元情報算出手段25と、計測結果を出力する計測結果出力手段26と、撮影画像や画像処理の一次結果および最終的な計測結果を保存する記憶手段27とを含む。 FIG. 3 is a functional block diagram of the computer 2 in FIG. 1. As shown in FIG. 3, the computer 2 includes a photographed image converting means 22 for applying projective transformation to the photographed image so that when the measurement target Z1 is photographed from an oblique angle by the camera 1, the photographed image is as if it had been photographed directly from the front. , arbitrary viewpoint dynamic calibration to correctly determine the parameters of camera 1 at the time of shooting when selecting a shooting location or adjusting the focal length of the lens of camera 1 in order to take clear pictures of the measurement target. A plurality of photographs taken from different viewpoints are used using the parameters of the camera 1 obtained from the means 23, the measurement point specifying means 24 that automatically or manually determines the measurement target point, and the arbitrary viewpoint dynamic calibration means 23. Three-dimensional information calculation means 25 that analyzes images and calculates three-dimensional coordinates of measurement points, measurement result output means 26 that outputs measurement results, and stores captured images, primary results of image processing, and final measurement results. storage means 27.

図4はレーザー墨出し器3と下げ振り装置4の配置例を示す説明図である。
図4に示すように、2つの下げ振り装置4とレーザー墨出し器3とを、計測対象物Z1のシャッター装着領域Z2の撮影シーンすなわちシャッター装着領域Z2と同時に撮影できる場所に設置する。下げ振り装置4は、計測対象物Z1のシャッター装着領域Z2の近くに配置する。図4に示す配置例では、2つの下げ振り装置4を、シャッター等を装着する開口部Z3を挟むように左右に配置している。
FIG. 4 is an explanatory diagram showing an example of the arrangement of the laser marking device 3 and the plumb-bang device 4. As shown in FIG.
As shown in FIG. 4, the two plumb-down swing devices 4 and the laser marking device 3 are installed at a location where the photographing scene of the shutter mounting area Z2 of the measurement target Z1 can be photographed at the same time as the shutter mounting area Z2. The plumb bob device 4 is placed near the shutter attachment area Z2 of the measurement target Z1. In the arrangement example shown in FIG. 4, two plumb-down swing devices 4 are arranged on the left and right so as to sandwich an opening Z3 into which a shutter or the like is attached.

レーザー墨出し器3は、2つの下げ振り装置4の間に配置する。レーザー墨出し器3からは、水平方向に延びる線状光としてのレーザーライン(以下、「水平ライン」と称す。)3Aと、これに空間的に直交かつ互いに直交する2つの線状光としてのレーザーライン(以下、「矩形ライン」と称す。)3B,3Cを投射する。 The laser marker 3 is placed between the two plumb-down devices 4. From the laser marker 3, a laser line (hereinafter referred to as "horizontal line") 3A as a linear light extending in the horizontal direction and two linear lights spatially orthogonal to this and mutually orthogonal are emitted. Laser lines (hereinafter referred to as "rectangular lines") 3B and 3C are projected.

下げ振り装置4の紐状部材8の上部および下部にはそれぞれ特徴点としての標識10,11を装着する。下部の標識11は、レーザー墨出し器3が投射した水平ライン3Aと一致するように位置を調整する(図7参照。)。また、下部の標識11と事前に決めている一定の間隔H(図7参照。)を置いて上部の標識10を設置する。間隔Hは計測対象物Z1の大きさに応じて計測前に決定する。間隔Hは、1メートル、1.5メートルや2メートルなどの計算しやすい数値にするのは便利である。なお、レーザー墨出し器3から投射した水平ライン3Aを上部の標識10に一致させ、上部の標識10から一定の間隔Hを置いた位置に下部の標識11を設定することも可能である。 Markers 10 and 11 as characteristic points are attached to the upper and lower parts of the string member 8 of the plumb swing device 4, respectively. The position of the lower marker 11 is adjusted so that it coincides with the horizontal line 3A projected by the laser marker 3 (see FIG. 7). Further, the upper sign 10 is installed at a predetermined constant distance H (see FIG. 7) from the lower sign 11. The interval H is determined before measurement according to the size of the measurement target Z1. It is convenient to set the distance H to a value that is easy to calculate, such as 1 meter, 1.5 meters, or 2 meters. Note that it is also possible to align the horizontal line 3A projected from the laser marker 3 with the upper marker 10 and set the lower marker 11 at a position spaced a certain distance H from the upper marker 10.

下げ振り装置4の紐状部材8および標識10,11と、レーザー墨出し器3より投射した水平ライン3Aと矩形ライン3B,3Cとは、画像補正、カメラシステムキャリブレーション、および計測目標点の特定に使われる。 The string member 8 and the markers 10, 11 of the plumb bobbing device 4, and the horizontal line 3A and rectangular lines 3B, 3C projected by the laser marker 3 are used for image correction, camera system calibration, and measurement target point identification. used for.

図5は下げ振り装置4の一例を示している。下げ振り装置4は、ベース6上に支柱7を立設し、この支柱7から紐状部材8を吊り下げ、紐状部材8の上部と下部とにそれぞれ標識10,11を装着し、紐状部材8の下に錘9を吊り下げたものである。本実施例においては、紐状部材8は強度のあるワイヤを使用している。また、支柱7をできる限り地面に対して垂直に立たせるため、ベース6の下にはベース6の上面を水平に調節する水平調節器5を装着している。水平調節器5は、高さを個別に調節できる3本以上の脚からなる。 FIG. 5 shows an example of the plumb-bang device 4. As shown in FIG. The plumb bobbing device 4 includes a support 7 erected on a base 6, a string member 8 suspended from the support 7, and signs 10 and 11 attached to the upper and lower parts of the string member 8, respectively. A weight 9 is suspended below the member 8. In this embodiment, the string-like member 8 uses a strong wire. Further, in order to make the support column 7 stand as perpendicular to the ground as possible, a leveling device 5 is installed below the base 6 to adjust the upper surface of the base 6 horizontally. The horizontal adjuster 5 consists of three or more legs whose height can be adjusted individually.

図6は本発明の実施の形態における下げ振り装置の別の例を示している。なお、図6において、前述の下げ振り装置4と共通する部分については同一符号を付し、その詳細な説明を省略する。図6に示す下げ振り装置4Aでは、風の影響を軽減するために、下げ振り筒12を設置している。下げ振り装置4Aの紐状部材8は、下げ振り筒12の中に通すようにする。本実施例では、下げ振り筒12は透明なアクリル材を使用している。下げ振り筒12は、繋ぎ紐状部材13を用いて支柱7から吊り下げている。この下げ振り装置4Aでは、風がある際に、下げ振り筒12が揺れるが、その中の紐状部材8はほぼ揺れないか、揺れ幅が強く抑えられる。 FIG. 6 shows another example of the plumb-bang device according to the embodiment of the present invention. In FIG. 6, parts common to those of the plumb-down swing device 4 described above are designated by the same reference numerals, and detailed explanation thereof will be omitted. In the plumb-down swing device 4A shown in FIG. 6, a plumb-down cylinder 12 is installed to reduce the influence of wind. The string member 8 of the plumb bob device 4A is passed through the plumb bob tube 12. In this embodiment, the plumb tube 12 is made of transparent acrylic material. The plumb tube 12 is suspended from the support 7 using a tether-like member 13. In this plumb-down swing device 4A, when there is a wind, the plumb-bob tube 12 swings, but the string-like member 8 therein hardly swings, or the swing width is strongly suppressed.

図7は本発明の実施の形態における下げ振り装置のさらに別の例を示している。なお、図7において、前述の下げ振り装置4,4Aと共通する部分については同一符号を付し、その詳細な説明を省略する。図7に示す下げ振り装置4Bも風の影響を軽減するためのものであるが、図6に示す下げ振り装置4Aの支柱7を使わずに、水平調節器5を有するベース6上に下げ振り筒12を垂直に立たせたものである。また、下げ振り筒12の上には固定板14を設ける。固定板14は、下げ振り筒12の内径と同程度の大きな穴14Aを有し、紐状部材8を通させる。 FIG. 7 shows yet another example of the plumb-bang device according to the embodiment of the present invention. In FIG. 7, parts common to those of the plumb-down swing devices 4 and 4A described above are denoted by the same reference numerals, and detailed explanation thereof will be omitted. The plumb-bob device 4B shown in FIG. 7 is also designed to reduce the influence of wind, but the plumb-bang device 4A shown in FIG. The tube 12 is vertically erected. Further, a fixing plate 14 is provided on the plumb bob cylinder 12. The fixing plate 14 has a hole 14A as large as the inner diameter of the plumb tube 12, through which the string member 8 is passed.

また、固定板14の上には調節板15を設けている。調節板15は、紐状部材8が通れる程度の小さな穴15Aを有する。この調節板15の上には、ハンドウィンチ16を設けている。ハンドウィンチ16は、紐状部材8の長さを調節することにより、紐状部材8の錘9や標識10,11の上下位置を調整する上下位置調整機構として機能する。また、レーザー墨出し器3の設定の簡単化のため、レーザー墨出し器3を下げ振り装置4Bと同一のベース6上に設置している。 Further, an adjustment plate 15 is provided on the fixed plate 14. The adjustment plate 15 has a hole 15A small enough to allow the string member 8 to pass through. A hand winch 16 is provided on the adjustment plate 15. The hand winch 16 functions as a vertical position adjustment mechanism that adjusts the vertical position of the weight 9 of the string member 8 and the markers 10 and 11 by adjusting the length of the string member 8. Further, in order to simplify the setting of the laser marking device 3, the laser marking device 3 is installed on the same base 6 as the plumb bobbing device 4B.

本実施例の下げ振り装置4Bでは、支柱7を使わずに固定板14上に下げ振り筒12を設けているため、風がある場合であっても、下げ振り筒12が揺れることがなく、その中の紐状部材8も揺れることがない。 In the plumb-bob device 4B of this embodiment, the plumb-bob barrel 12 is provided on the fixed plate 14 without using the support 7, so that the plumb-bang barrel 12 does not sway even when there is wind. The string-like member 8 therein also does not sway.

図8は図6および図7における下げ振り筒12の一例を示す横断面図である。本実施例では、下げ振り筒12として、半径Rの円筒状の透明なアクリル材を用いている。この下げ振り筒12の裏面、すなわちカメラ1から遠い面には、心角θの範囲に紐状部材8を目立たせる単一色の背景シール17を貼っている。背景シール17は下げ振り筒12の壁に沿って貼っている。背景シール17を貼る範囲の心角θの値は、本実施例では90度より大きく180度より小さくなるようにしている。背景シール17を設置する目的は、画像処理の際に、下げ振り装置4A,4Bの紐状部材8を抽出しやすくするためである。
FIG. 8 is a cross-sectional view showing an example of the plumb tube 12 in FIGS. 6 and 7. In this embodiment, a cylindrical transparent acrylic material with a radius R is used as the plumb tube 12. On the back side of this plumb bob tube 12, that is, on the side far from the camera 1, a single color background sticker 17 is pasted to make the string-like member 8 stand out within the range of the central angle θ. A background sticker 17 is pasted along the wall of the plumb tube 12. In this embodiment, the value of the central angle θ of the range where the background sticker 17 is pasted is set to be larger than 90 degrees and smaller than 180 degrees. The purpose of installing the background sticker 17 is to make it easier to extract the string-like members 8 of the plumb bob devices 4A and 4B during image processing.

このように、図6もしくは図7のような下げ振り筒12のある下げ振り装置4A,4Bを用いる場合、計測対象物Z1の撮影の際に、各カメラ1の撮影視角から下げ振り筒12の背景シール17が共に下げ振り装置4A,4Bの紐状部材8の後ろに位置するように、下げ振り筒12の設置角度を調節する。 In this way, when using the plumb-down devices 4A and 4B with the plumb-bob barrel 12 as shown in FIG. The installation angle of the plumb-down cylinder 12 is adjusted so that the background stickers 17 are both located behind the string-like members 8 of the plumb-down swing devices 4A and 4B.

図9は図7の下げ振り装置4Bにおける紐状部材8の中心位置調節のイメージ図である。計測現場の地面が水平ではない場合、ベース6の下に付いている水平調節器5による高さ調節だけでは、下げ振り筒12を地面に垂直に立たせることは困難である。特に、下げ振り筒12の傾斜角度が大きい場合は、紐状部材8や錘9が下げ振り筒12の壁に当たってしまい、機能できなくなることがある。そこで、本実施例では、下げ振り筒12にある程度の傾斜があっても、正常に動作できるように、固定板14と調節板15の相対位置が調節できるようにしている。この下げ振り装置4Bでは、調節板15の紐状部材通し中心と固定板14の紐状部材通し中心とをズレさせることより、錘9が下げ振り筒12の下部の円の中心位置付近に配置されるようにする。 FIG. 9 is an image diagram of adjusting the center position of the string-like member 8 in the plumb-down swing device 4B of FIG. If the ground at the measurement site is not level, it is difficult to make the plumb bob 12 stand perpendicular to the ground only by adjusting the height using the leveling device 5 attached below the base 6. In particular, if the inclination angle of the plumb-bob tube 12 is large, the string-like member 8 and the weight 9 may hit the wall of the plumb-bob tube 12, making it impossible to function. Therefore, in this embodiment, the relative positions of the fixing plate 14 and the adjusting plate 15 can be adjusted so that the plumb bob barrel 12 can operate normally even if it has a certain degree of inclination. In this plumb bob device 4B, the weight 9 is arranged near the center position of the circle at the bottom of the plumb bob barrel 12 by shifting the string-like member passing center of the adjusting plate 15 and the string-like member passing center of the fixed plate 14. to be done.

次に、カメラ1および計算機2の各手段22~27について、詳細に説明する。 Next, each means 22 to 27 of the camera 1 and the computer 2 will be explained in detail.

[カメラ1]
図1に示すように、計測対象物Z1のシャッター装着領域Z2を撮影できる撮影位置を2ヶ所以上選び、カメラ1のレンズの焦点距離を調節し、複数枚の写真を撮影する。撮影位置の選択は任意であるが、シャッター装着領域Z2の全貌が分かるように、撮影位置は正面近く(図1の撮影位置A2)、左側(同撮影位置A1)、右側(同撮影位置A3)のようにするのが望ましい。また、撮影はシャッター装着領域Z2だけでなく、下げ振り装置4の紐状部材8とレーザー墨出し器3が投射したレーザーライン(水平ライン3Aおよび矩形ライン3B,3C)の一部を同時に撮影画像に押さえる必要がある。
[Camera 1]
As shown in FIG. 1, two or more photographing positions where the shutter attachment area Z2 of the measurement target Z1 can be photographed are selected, the focal length of the lens of the camera 1 is adjusted, and a plurality of photographs are taken. The selection of the photographing position is arbitrary, but in order to show the entire shutter mounting area Z2, the photographing positions are near the front (photographing position A2 in Fig. 1), on the left side (photographing position A1 in Fig. 1), and on the right side (photographing position A3 in Fig. 1). It is preferable to do something like this. In addition, images are taken not only of the shutter attachment area Z2 but also of a part of the laser line (horizontal line 3A and rectangular lines 3B, 3C) projected by the string member 8 of the plumb bobbing device 4 and the laser marking device 3. It is necessary to hold it.

各撮影位置A1~A3で計測対象物Z1の写真を撮影する際に、カメラ1のレンズ焦点距離の調節が可能である。計測精度向上のため、一旦調節したカメラ1の焦点距離は各撮影位置で撮影する際に変化させないことが望ましい。 When photographing the measurement target Z1 at each photographing position A1 to A3, the lens focal length of the camera 1 can be adjusted. In order to improve measurement accuracy, it is desirable that the focal length of the camera 1, once adjusted, not be changed when photographing at each photographing position.

[撮影画像変換手段22]
計測結果を画像表示する場合、計測対象物Z1が真正面から撮影されたような写真を使うのは自然である。しかし、計測対象物Z1の真正面からの撮影という条件は厳しすぎるため、理論上では実現できない。また、上記カメラ1の撮影位置は計測対象物Z1の真正面に拘束されないため、斜めの視角からの撮影や、下方からの撮影がある。このため、撮影された計測対象物Z1は画像中で斜めになってしまうことがほとんどである。
[Photographed image conversion means 22]
When displaying the measurement results as an image, it is natural to use a photograph of the measurement object Z1 taken from directly in front. However, the condition of photographing the measurement target Z1 from directly in front is too strict and cannot be realized theoretically. Furthermore, since the photographing position of the camera 1 is not limited to being directly in front of the object to be measured Z1, the photographing position may be taken from an oblique viewing angle or from below. For this reason, the photographed measurement object Z1 is almost always oblique in the image.

図11は本発明の実施形態における計測対象物Z1が斜めに撮影された一例である。撮影位置は計測対象物Z1の左側であり、計測対象物Z1の真正面ではないため、計測対象物Z1が斜めに撮影されている。また、画像の左側のものがカメラ1に近いため大きく撮影され、右側のものはカメラ1から遠いため小さく撮影されている。 FIG. 11 is an example in which the measurement target Z1 according to the embodiment of the present invention is photographed obliquely. The photographing position is on the left side of the measurement object Z1 and is not directly in front of the measurement object Z1, so the measurement object Z1 is photographed diagonally. Furthermore, the image on the left side of the image is close to the camera 1, so it is photographed in a large size, and the image on the right side is far from the camera 1, so it is photographed in a small size.

そこで、撮影画像変換手段22は、撮影された計測対象物Z1の画像に対し、下げ振り装置4の紐状部材8が地面に垂直となることを基準として射影変換を行う。この撮影画像変換手段22により射影変換された画像では、どの撮影位置で、どの撮影視角から撮影された画像でも、計測対象物Z1の真正面から撮影されたように見える。射影変換には下記の数式を用いる。 Therefore, the photographed image converting means 22 performs projective transformation on the photographed image of the measurement target Z1 with reference to the fact that the string member 8 of the plumb bobbing device 4 is perpendicular to the ground. In the image that has been projectively transformed by the photographed image converting means 22, the image appears to be photographed directly in front of the measurement target Z1, regardless of the photographing position and the photographing viewing angle. The following formula is used for projective transformation.

Figure 0007444396000001
Figure 0007444396000001

ここで、(x,y)は各撮影位置における撮影画像の画素座標、(x’,y’)は射影変換により調整後の画素座標、a,b,c,d,tx,tyは調整パラメータである。 Here, (x, y) are the pixel coordinates of the photographed image at each photographing position, (x', y') are the pixel coordinates after adjustment by projective transformation, and a, b, c, d, t x , t y are It is an adjustment parameter.

調整パラメータは、撮影画像にある下げ振り装置4の紐状部材8が必ず地面に垂直となる事実を用いて求める。具体的には、図11に示す陰影付きの部分のように、左の下げ振り装置4と右の下げ振り装置4にある計4つの標識10,11を頂点C1,C2,C3,C4として四角形を作る。画像上の四角形は矩形ではないが、実空間での四角形C1,C2,C3,C4は矩形であり、下記の特徴がある。 The adjustment parameters are determined using the fact that the string-like member 8 of the plumb-down swing device 4 in the photographed image is always perpendicular to the ground. Specifically, as shown in the shaded area shown in FIG. 11, a total of four markers 10 and 11 on the left plumb-bob device 4 and right plumb-bang device 4 are formed into a rectangle with vertices C1, C2, C3, and C4. make. Although the quadrangles on the image are not rectangles, the quadrangles C1, C2, C3, and C4 in real space are rectangles and have the following characteristics.

(1)C1-C2は地面に平行である。
(2)C3-C4は地面に平行である。
(3)C1-C3は地面に垂直である。
(4)C2-C4は地面に垂直である。
(5)C1-C2の長さとC3-C4の長さは等しい。
(6)C1-C3の長さとC2-C4の長さは等しい。
(1) C1-C2 is parallel to the ground.
(2) C3-C4 is parallel to the ground.
(3) C1-C3 is perpendicular to the ground.
(4) C2-C4 is perpendicular to the ground.
(5) The length of C1-C2 is equal to the length of C3-C4.
(6) The length of C1-C3 is equal to the length of C2-C4.

これらの特徴を拘束条件として、上記式1の各未知のパラメータを求めることができる。求められたこれらのパラメータを用い、任意視点の撮影画像の各画素に対し式1を適用し、画像の射影変換を行い、撮影画像を正規化する。このような処理を行った結果、図11のような画像が図4のような画像に校正される。 Using these characteristics as constraint conditions, each unknown parameter in Equation 1 above can be determined. Using these determined parameters, Equation 1 is applied to each pixel of the captured image from an arbitrary viewpoint, projective transformation is performed on the image, and the captured image is normalized. As a result of such processing, the image as shown in FIG. 11 is corrected into an image as shown in FIG. 4.

[任意視点動的キャリブレーション手段23]
任意視点動的キャリブレーション手段23は、任意の位置から計測対象物Z1の写真を撮影する際に使用されたカメラ1のレンズの焦点距離や撮影の角度、撮影場所の世界座標値、いわゆる三次元画像計測の際のカメラシステムのパラメータを求める手段である。
[Arbitrary viewpoint dynamic calibration means 23]
The arbitrary viewpoint dynamic calibration means 23 calculates the focal length and shooting angle of the lens of the camera 1 used when taking a photo of the measurement object Z1 from an arbitrary position, the world coordinate values of the shooting location, so-called three-dimensional This is a means for determining camera system parameters during image measurement.

本実施形態における三次元画像計測システムでは、カメラ1により計測対象物Z1の写真を最適な状態で撮影するため、撮影のたびにレンズ1の焦点距離、撮影の方向や距離などを変更する。すなわち、撮影のたびにカメラシステムのパラメータが変化する可能性があり、撮影のたびにカメラシステムのキャリブレーションが必要となる。 In the three-dimensional image measurement system according to the present embodiment, in order to take a picture of the measurement target Z1 in an optimal state with the camera 1, the focal length of the lens 1, the direction and distance of the photograph, etc. are changed every time the photograph is taken. That is, the parameters of the camera system may change each time a photograph is taken, and the camera system needs to be calibrated every time a photograph is taken.

このため、任意視点動的キャリブレーション手段23では、すべての撮影画像に対し、計測対象物Z1と同時に撮影された下げ振り装置4の紐状部材8にある標識10,11を用い、カメラ1のレンズの焦点距離を初め、カメラ1の内部パラメータと、撮影姿勢と撮影位置の外部パラメータを求める。 For this reason, the arbitrary viewpoint dynamic calibration means 23 uses the markers 10 and 11 on the string member 8 of the plumb bobbing device 4, which are photographed at the same time as the measurement target object Z1, for all photographed images, and The internal parameters of the camera 1, including the focal length of the lens, and the external parameters of the photographing posture and position are determined.

具体的には、任意視点動的キャリブレーション手段23は、下記式2のように非特許文献1に記載のカメラキャリブレーションモデルを用い、カメラ1の焦点距離を含む内部パラメーラと、カメラ1の撮影姿勢および撮影位置の外部パラメータとを求める。 Specifically, the arbitrary viewpoint dynamic calibration means 23 uses the camera calibration model described in Non-Patent Document 1 as shown in Equation 2 below, and uses the internal parameters including the focal length of the camera 1 and the image capturing of the camera 1. The posture and external parameters of the photographing position are determined.

Figure 0007444396000002
Figure 0007444396000002

ここで、(u,v)は目標点のカメラ1の画像センサにおける画素の座標、sは倍率に相当するスケール係数、(X,Y)はキャリブレーション用の平面における目標点の三次元世界座標、Aはカメラ1の内部行列、r1はX軸に対する回転行列、r2はY軸に対する回転行列、tは並進行列である。r1、r2、は回転パラメータ、tは並進パラメータと呼ばれ、これらは合わせてカメラ1の外部パラメータと呼ばれる。 Here, (u, v) are the pixel coordinates of the target point on the image sensor of camera 1, s is the scale coefficient corresponding to the magnification, and (X, Y) are the three-dimensional world coordinates of the target point on the calibration plane. , A is an internal matrix of camera 1, r 1 is a rotation matrix about the X axis, r 2 is a rotation matrix about the Y axis, and t is a translation matrix. r 1 and r 2 are called rotation parameters, t is called a translation parameter, and these are collectively called external parameters of the camera 1.

カメラの内部行列Aは、下記式3により表される。 The internal matrix A of the camera is expressed by Equation 3 below.

Figure 0007444396000003
Figure 0007444396000003

式3に示すカメラ1の内部パラメータfx、fy、cx、cyは、非特許文献1および非特許文献2に記載の手法で求めることができる。ただし、本実施形態では、計測対象物Z1を撮影する際にカメラ1のレンズの焦点距離を調整するので、式3におけるfxとfyは計測のたびに変化する可能性がある。 The internal parameters f x , f y , c x , and c y of the camera 1 shown in Equation 3 can be obtained by the method described in Non-Patent Document 1 and Non-Patent Document 2. However, in this embodiment, since the focal length of the lens of the camera 1 is adjusted when photographing the measurement target Z1, f x and f y in Equation 3 may change each time the measurement is performed.

そこで、本実施形態においては、任意視点動的キャリブレーション手段23は内部パラメータのキャリブレーションの際に、レンズ(可変焦点距離レンズ)の各焦点距離における焦点距離変化係数kfを下記のとおり求める。 Therefore, in this embodiment, the arbitrary viewpoint dynamic calibration means 23 calculates the focal length change coefficient k f at each focal length of the lens (variable focal length lens) as follows when calibrating the internal parameters.

Figure 0007444396000004
Figure 0007444396000004

また、任意視点動的キャリブレーション手段23は、実計測の際に、撮影画像変換手段22により正規化した撮影画像における下げ振り装置4の上下の標識10,11間の間隔Hに注目し、画像上のピクセル数と実際の長さとの対応関係により、fyを求め、さらにキャリブレーションの際に求められたkfより、式4に基づきfxを求める。 In addition, during actual measurement, the arbitrary viewpoint dynamic calibration means 23 pays attention to the distance H between the upper and lower markers 10 and 11 of the plumb bob device 4 in the photographed image normalized by the photographed image conversion means 22, and From the above correspondence between the number of pixels and the actual length, f y is determined, and from k f determined during calibration, f x is determined based on Equation 4.

なお、外部パラメータr1、r2、tは、撮影画像変換手段22と同じように、図11における頂点C1,C2,C3,C4の四角形を用いて求める。ただし、拘束条件は、前記(1)~(6)にさらに下記の2つを加える。
(7)C1-C3の長さは事前に設定された間隔Hである。
(8)C1-C2の長さはH/kfである。
Note that the external parameters r 1 , r 2 , and t are obtained using the rectangle of the vertices C1, C2, C3, and C4 in FIG. 11 in the same way as the photographed image converting means 22. However, the following two additional constraints are added to (1) to (6) above.
(7) The length of C1-C3 is a preset interval H.
(8) The length of C1-C2 is H/k f .

すなわち、任意視点動的キャリブレーション手段23は、2つの下げ振り装置4の紐状部材8が実世界で平行であり、それぞれの紐状部材8にある2つの標識10,11間の距離が実世界で事前に設定された間隔Hであることを既知の条件として、カメラ1の内部パラメータfx、fy、cx、cyと、外部パラメータ(回転パラメータr1、r2、および並進パラメータt)を求める。 That is, the arbitrary viewpoint dynamic calibration means 23 calculates that the string members 8 of the two plumb-down swing devices 4 are parallel in the real world, and that the distance between the two markers 10 and 11 on each string member 8 is in reality. Under the known condition that the interval H is preset in the world, the internal parameters f x , f y , c x , c y and the external parameters (rotation parameters r 1 , r 2 , and translation parameters Find t).

任意視点動的キャリブレーション手段23は、各撮影位置より撮影された複数枚の撮影画像を用い、前記8つの拘束条件の下で、非特許文献1の手法のチェスボードの代わりに頂点C1,C2,C3,C4の四角形を用いて、r1、r2、tを求め、外部パラメータのキャリブレーションを実現する。 The arbitrary viewpoint dynamic calibration means 23 uses a plurality of photographed images taken from each photographing position, and under the above-mentioned eight constraint conditions, calculates the vertices C1 and C2 instead of the chessboard of the method of Non-Patent Document 1. , C3, and C4, r 1 , r 2 , and t are determined, and the external parameters are calibrated.

[計測点特定手段24]
計測点特定手段24は、計測点を特定するため、レーザー墨出し器3から計測対象物Z1にレーザーラインを投射し、計測対象物Z1上の計測目標点を特定する。具体的には、図4に示すように、レーザー墨出し器3から、水平ライン3Aとこれに直交する2つの矩形ライン3B,3Cを投射することにより、計測対象物Z1に光マーカを作る。カメラ1により撮影された画像にはこれらの光マーカが含まれており、計測点特定手段24は画像処理の際に撮影された光マーカより計測目標点を特定する。
[Measurement point specifying means 24]
In order to specify a measurement point, the measurement point specifying means 24 projects a laser line from the laser marker 3 onto the measurement object Z1, and specifies the measurement target point on the measurement object Z1. Specifically, as shown in FIG. 4, an optical marker is created on the measurement target Z1 by projecting a horizontal line 3A and two rectangular lines 3B and 3C orthogonal thereto from the laser marker 3. The image photographed by the camera 1 includes these optical markers, and the measurement point specifying means 24 specifies the measurement target point from the optical markers photographed during image processing.

また、曲がり部などレーザー墨出し器4からのレーザーラインを投射しにくい計測目標点や、他にレーザーラインが投射されてないところにある計測必要な計測目標点は、画像計測の段階でマウスクリックなどの方法により直接指定して特定することができる。 In addition, measurement target points that are difficult to project the laser line from the laser marker 4, such as curved parts, or measurement target points that require measurement and are located in areas where no other laser line is projected, can be measured by clicking the mouse at the image measurement stage. It can be directly specified and specified using methods such as .

なお、レーザー墨出し器3を設置する際には、計測対象物Z1上の計測目標点を特定しやすいように工夫する必要がある。また、必要に応じて、2つ以上のレーザー墨出し器3を使用することや、レーザー墨出し器3の代わりに別の形の投光装置を使用することも可能である。 In addition, when installing the laser marking device 3, it is necessary to devise ways to easily specify the measurement target point on the measurement target object Z1. Furthermore, if necessary, it is also possible to use two or more laser marking devices 3 or to use another type of light projecting device in place of the laser marking device 3.

[三次元情報算出手段25]
三次元情報算出手段25は、各撮影位置A1~A3においてカメラ1により撮影された複数枚の計測対象物Z1の画像に対し、任意視点動的キャリブレーション手段23により求められたカメラ1の外部パラメータを用いて、三次元画像計測の手法により、計測点特定手段24より特定された計測目標点、マウスクリックより指定された計測目標点や、その他計測必要な計測目標点の三次元座標を自動的に算出する。
[Three-dimensional information calculation means 25]
The three-dimensional information calculation means 25 calculates the external parameters of the camera 1 obtained by the arbitrary viewpoint dynamic calibration means 23 for the plurality of images of the measurement object Z1 taken by the camera 1 at each of the photographing positions A1 to A3. By using the three-dimensional image measurement method, the three-dimensional coordinates of the measurement target point specified by the measurement point specifying means 24, the measurement target point specified by mouse click, and other measurement target points that need to be measured are automatically determined. Calculated as follows.

また、三次元情報算出手段25は、計測目標点だけではなく、上記各撮影画像における下げ振り装置4の上下の標識10,11間の間隔Hを上記パラメータより計算し、算出結果と標識10,11間の間隔Hの真値との差をもって、上記パラメータの値を修正する。これにより、三次元計測の精度がさらに向上する。 In addition, the three-dimensional information calculation means 25 calculates not only the measurement target point but also the distance H between the upper and lower markers 10 and 11 of the plumb bob device 4 in each photographed image from the above parameters, and combines the calculation results with the markers 10 and 11. The value of the above parameter is corrected based on the difference from the true value of the interval H between 11 and 11. This further improves the accuracy of three-dimensional measurement.

[計測結果出力手段26]
計測結果出力手段26は、撮影画像変換手段22より処理された校正後の撮影画像に計測目標点を表記し、三次元情報算出手段25より算出された計測目標点の三次元世界座標に基づき、必要な計測目標点間の距離や面積などをモニタ上に表示する。また、これらの計測結果を画像形式やテキスト形式などのファイル形式で出力し、データベースに保存する。
[Measurement result output means 26]
The measurement result output means 26 marks the measurement target point on the calibrated photographed image processed by the photographed image conversion means 22, and based on the three-dimensional world coordinates of the measurement target point calculated by the three-dimensional information calculation means 25, The distance and area between the required measurement target points are displayed on the monitor. Additionally, these measurement results are output in file formats such as image format and text format, and saved in a database.

データベースに保存された計測結果はいつでも呼び出すことができ、計測点の追加や削除等の処理も可能である。また、三次元画像計測結果をCADデータ形式に変換することや、特定の市販のソフトウェアやフリーソフトウェアでも閲覧可能である。 Measurement results stored in the database can be recalled at any time, and processing such as adding or deleting measurement points is also possible. It is also possible to convert the three-dimensional image measurement results into a CAD data format and view them using specific commercially available software or free software.

[記憶手段27]
記憶手段27は、主にPC等の計算機、SSDやHDDなどのデータ保存装置より構成される。図3に示すように、記憶手段27は、主にカメラ1の撮影画像の取り込みや、撮影画像変換手段22、任意視点動的キャリブレーション手段23、計測点特定手段24および三次元情報算出手段25による画像処理結果の保存や出力などの機能を有する。
[Storage means 27]
The storage means 27 is mainly composed of a computer such as a PC, and a data storage device such as an SSD or HDD. As shown in FIG. 3, the storage means 27 is mainly used for capturing images shot by the camera 1, shooting image conversion means 22, arbitrary viewpoint dynamic calibration means 23, measurement point specifying means 24, and three-dimensional information calculation means 25. It has functions such as saving and outputting image processing results.

次に、上記構成の三次元画像計測システムによる三次元画像計測方法について説明する。図10は本実施形態における三次元画像計測システムによる三次元画像計測の流れを示すフロー図である。 Next, a three-dimensional image measuring method using the three-dimensional image measuring system having the above configuration will be explained. FIG. 10 is a flowchart showing the flow of three-dimensional image measurement by the three-dimensional image measurement system in this embodiment.

計測には、まず、下げ振り装置4とレーザー墨出し器3とを計測対象物Z1の近くに設置する(S100)。続いて、異なる視点よりカメラ1により計測対象物Z1の写真を複数枚撮影する(S101)。なお、計測対象物Z1を撮影する際には、任意視点動的キャリブレーション手段23により求めた内部パラメータを用いてカメラ1のレンズの焦点距離を調整する。次に、撮影された写真をカメラ1から計算機2に送る(S102)。送信方式は、有線通信、無線通信やメモリカードによる直接送信などがある。 For measurement, first, the plumb bob device 4 and the laser marker 3 are installed near the measurement target Z1 (S100). Subsequently, a plurality of photographs of the measurement target Z1 are taken from different viewpoints using the camera 1 (S101). Note that when photographing the measurement object Z1, the focal length of the lens of the camera 1 is adjusted using the internal parameters determined by the arbitrary viewpoint dynamic calibration means 23. Next, the photographed photograph is sent from the camera 1 to the computer 2 (S102). Transmission methods include wired communication, wireless communication, and direct transmission using a memory card.

計算機2では、撮影写真を見やすくするために撮影画像変換手段22により射影変換を加える(S103)。また、計測点特定手段24により撮影画像から計測目標点を特定し(S104)、特定された計測目標点の三次元座標を、任意視点動的キャリブレーション手段23(S107)により求めた外部パラメータを用いて三次元情報算出手段25により算出する(S105)。最後に、計測結果出力手段26により計測結果を画像やテキストファイルに出力し、データベース化する(S106)。 In the computer 2, the photographed image conversion means 22 applies projective transformation to the photographed photograph in order to make it easier to see (S103). Furthermore, the measurement point specifying means 24 specifies a measurement target point from the photographed image (S104), and the three-dimensional coordinates of the specified measurement target point are calculated using external parameters determined by the arbitrary viewpoint dynamic calibration means 23 (S107). The three-dimensional information calculation means 25 calculates the information using the three-dimensional information calculation means 25 (S105). Finally, the measurement result output means 26 outputs the measurement result as an image or text file and creates a database (S106).

上記のように、本実施形態における三次元画像計測システムでは、下げ振り装置4とレーザー墨出し器3とを併用し、下げ振り装置4の紐状部材8とレーザー墨出し器3から投射された水平ライン3Aおよび矩形ライン3B,3Cとを含めて計測対象物Z1を複数の視点からそれぞれ撮影し、この撮影された画像を用い、下げ振り装置4の紐状部材8にある標識10,11とレーザー墨出し器3から投射された水平ライン3Aおよび矩形ライン3B,3Cとに基づいて、カメラ1の焦点距離を含む内部パラメータと、カメラ1の撮影姿勢および撮影位置の外部パラメータとを求め、内部パラメータを用いてカメラ1により撮影された画像に対し、外部パラメータを用いて計測対象物Z1上の計測目標点の三次元座標を求めることにより、三次元画像計測を行うことができる。 As described above, in the three-dimensional image measurement system according to the present embodiment, the plumb-down device 4 and the laser marking device 3 are used together, and the The measurement object Z1 including the horizontal line 3A and the rectangular lines 3B and 3C is photographed from a plurality of viewpoints, and the marks 10 and 11 on the string member 8 of the plumb bob device 4 are identified using the photographed images. Based on the horizontal line 3A and rectangular lines 3B and 3C projected from the laser marking device 3, internal parameters including the focal length of the camera 1 and external parameters of the shooting attitude and shooting position of the camera 1 are determined. Three-dimensional image measurement can be performed by determining the three-dimensional coordinates of the measurement target point on the measurement target Z1 using the external parameters for the image photographed by the camera 1 using the parameters.

すなわち、本実施形態における三次元画像計測システムでは、下げ振り装置4やレーザー墨出し器3などの簡易な物を用い、また、カメラ1として市販のデジタルカメラなどの汎用撮影機器を用いて、シャッターや防火扉等の装着に必要な施工現場の写真を撮影し、その後、計算機2において画像処理によりシャッター等の製造や装着に必要な現場の形状や寸法などパラメータを算出したり、画像計測結果をデータベース化したりすることが可能であり、計測の精度を向上することができるとともに、計測目標点の特定は写真撮影の段階でもその後の画像処理の段階でも、将来の必要な時でも簡単に実現できる。また、この三次元画像計測システムでは、レーザー墨出し器3による光マーカを用いるため、従来のようにペンキを塗ったり、マーカを付けたりすることなく、撮影画像からシャッター等の装着位置を特定し、形状と寸法などのパラメータを計測することが可能である。 That is, in the three-dimensional image measurement system according to the present embodiment, simple devices such as the plumb-bob device 4 and laser marking device 3 are used, and a general-purpose photographing device such as a commercially available digital camera is used as the camera 1. Photographs of the construction site necessary for installing shutters, fire doors, etc. are taken, and then the computer 2 uses image processing to calculate parameters such as the shape and dimensions of the site necessary for manufacturing and installing shutters, etc., and uses image measurement results. It is possible to create a database, improve measurement accuracy, and identify measurement target points easily at the photo-taking stage, at the subsequent image processing stage, and when needed in the future. . In addition, this three-dimensional image measurement system uses an optical marker using the laser marking device 3, so it is possible to identify the mounting position of the shutter etc. from the captured image without applying paint or attaching markers as in the conventional method. , it is possible to measure parameters such as shape and dimensions.

特に、本実施形態における三次元画像計測システムでは、カメラ1の焦点距離を含む内部パラメータと、カメラ1の撮影姿勢および撮影位置の外部パラメータとを求め、内部パラメータを用いてカメラ1により撮影された画像に対し、外部パラメータを用いて計測対象物Z1における計測目標点の三次元座標を求めるため、現場計測の際にカメラ1のレンズの焦点距離が変わったり、撮影姿勢や撮影位置が変わったりしても三次元画像計測を行うことが可能である。 In particular, in the three-dimensional image measurement system according to the present embodiment, internal parameters including the focal length of the camera 1 and external parameters of the photographing posture and photographing position of the camera 1 are determined, and the internal parameters are used to obtain the internal parameters including the focal length of the camera 1. Since the three-dimensional coordinates of the measurement target point on the measurement target Z1 are determined from the image using external parameters, the focal length of the lens of the camera 1 may change during on-site measurement, or the shooting posture or shooting position may change. It is possible to perform three-dimensional image measurement even if the

したがって、現場撮影の際には、計測対象物Z1の写真を見えやすいところから撮影することが可能であり、事前に写真撮影の場所や視線角度を決める必要がなく、必要に応じてカメラ1のレンズの焦点距離を調節したり、撮影場所を選んだりすることが可能である。 Therefore, when photographing on-site, it is possible to take a photograph of the measurement target Z1 from a place where it can be easily seen, and there is no need to decide the photographing location or line of sight angle in advance, and the camera 1 can be adjusted as necessary. You can adjust the focal length of the lens and choose the shooting location.

また、本実施形態における三次元画像計測システムでは、カメラ1により撮影された画像における下げ振り装置4の紐状部材8が地面に垂直となることを基準として画像を射影変換するので、任意の視点から撮影された画像であっても、計測対象物が真正面から撮影されたように見える画像が得られる。 Furthermore, in the three-dimensional image measurement system according to the present embodiment, since the image is projectively transformed based on the fact that the string member 8 of the plumb bobbing device 4 in the image photographed by the camera 1 is perpendicular to the ground, any viewpoint can be used. Even if the image is taken from the front, an image that looks like the object to be measured is taken from directly in front can be obtained.

本実施形態における三次元画像計測システムによる効果は以下の通りである。
(1)市販の廉価な機材を用い、簡単な撮影などの操作で高速かつ高精度の三次元画像計測を実現し、建築物やトンネルなどの非接触計測が可能となる。
(2)撮影の際に、カメラの焦点距離や撮影場所を事前に決める必要がなく、計測対象物をはっきり撮影できる場所で、必要なレンズ焦点距離で撮影することができる。これにより計測の手間を減らすことができる。
(3)全自動で計測目標点の三次元座標を算出し、必要な計測点間の距離や面積などを自動的に算出することができる。
The effects of the three-dimensional image measurement system in this embodiment are as follows.
(1) Using inexpensive commercially available equipment, high-speed and highly accurate three-dimensional image measurement can be achieved with simple operations such as photographing, and non-contact measurement of buildings, tunnels, etc. will be possible.
(2) When photographing, there is no need to decide the focal length of the camera or the photographing location in advance, and the photograph can be taken at a location where the object to be measured can be clearly photographed and at the necessary lens focal length. This can reduce the time and effort required for measurement.
(3) It is possible to fully automatically calculate the three-dimensional coordinates of the measurement target point, and automatically calculate the distance, area, etc. between the necessary measurement points.

本発明の三次元画像計測システム、三次元画像計測方法および三次元画像計測プログラムは、建築、土木、橋梁やトンネル施工などの分野における三次元計測に有用である。特に、建築物の車庫にシャッターを装着する際、建物に防火扉を作る際や、トンネル工事の避難坑に防火扉を作る際等における現場の建築物等の形状および寸法計測や、橋梁やトンネル等の形状計測や品質管理などの分野に好適である。 The three-dimensional image measurement system, three-dimensional image measurement method, and three-dimensional image measurement program of the present invention are useful for three-dimensional measurement in fields such as architecture, civil engineering, bridge and tunnel construction. In particular, when installing shutters on building garages, building fire doors on buildings, building fire doors on evacuation shafts during tunnel construction, etc., it is necessary to measure the shape and dimensions of buildings, bridges, and tunnels. It is suitable for fields such as shape measurement and quality control.

1 カメラ
2 計算機
3 レーザー墨出し器
4,4A,4B 下げ振り装置
5 水平調節器
6 ベース
7 支柱
8 紐状部材
9 錘
10,11 標識
12 下げ振り筒
13 繋ぎ紐状部材
14 固定板
14A 穴
15 調節板
15A 穴
16 ハンドウィンチ
17 背景シール
22 撮影画像変換手段
23 任意視点動的キャリブレーション手段
24 計測点特定手段
25 三次元情報算出手段
26 計測結果出力手段
27 記憶手段
Z1 計測対象物
Z2 シャッター装着領域
Z3 開口部
1 Camera 2 Calculator 3 Laser marker 4, 4A, 4B Plumb bob device 5 Horizontal adjuster 6 Base 7 Support 8 String member 9 Weight 10, 11 Sign 12 Plumb tube 13 Tether string member 14 Fixing plate 14A Hole 15 Adjustment plate 15A Hole 16 Hand winch 17 Background sticker 22 Photographed image conversion means 23 Arbitrary viewpoint dynamic calibration means 24 Measurement point specifying means 25 Three-dimensional information calculation means 26 Measurement result output means 27 Storage means Z1 Measurement object Z2 Shutter mounting area Z3 opening

Claims (14)

線状光を投射する投光装置と、
特徴点を有する紐状部材に錘を吊り下げた下げ振り装置と、
前記下げ振り装置の前記紐状部材と前記投光装置から投射された線状光とを含めて計測対象物を複数の視点からそれぞれ撮影する撮影手段と、
前記撮影手段により撮影された画像を用い、前記下げ振り装置の前記紐状部材にある特徴点と前記投光装置から投射された線状光とに基づいて、前記撮影手段の焦点距離を含む内部パラメータと、前記撮影手段の撮影姿勢および撮影位置の外部パラメータとを求める任意視点動的キャリブレーション手段と、
前記投光装置から前記計測対象物に線状光を投射し、前記計測対象物上の計測目標点を特定する計測点特定手段と、
前記内部パラメータを用いて前記撮影手段により撮影された画像に対し、前記外部パラメータを用いて前記計測対象物における前記計測目標点の三次元座標を求める三次元情報算出手段と
を含む三次元画像計測システム。
a light projection device that projects linear light;
A plumb bobbing device in which a weight is suspended from a string-like member having characteristic points;
a photographing means for photographing the measurement object from a plurality of viewpoints, including the string member of the plumb-down swing device and the linear light projected from the light projector;
Using an image photographed by the photographing means, an internal image including the focal length of the photographing means is determined based on the feature points on the string-like member of the plumb-bob device and the linear light projected from the light projecting device. arbitrary viewpoint dynamic calibration means for determining parameters and external parameters of the photographing posture and photographing position of the photographing means;
Measurement point specifying means for projecting linear light from the light projecting device onto the measurement object to specify a measurement target point on the measurement object;
3D image measurement, comprising: 3D information calculation means for calculating the 3D coordinates of the measurement target point on the measurement object using the external parameters with respect to the image photographed by the photographing means using the internal parameters; system.
前記撮影手段により撮影された画像における前記下げ振り装置の前記紐状部材が地面に垂直となることを基準として前記画像を射影変換する撮影画像変換手段を含む請求項1記載の三次元画像計測システム。 The three-dimensional image measurement system according to claim 1, further comprising a photographed image converting means for projectively transforming the image photographed by the photographing means on the basis that the string-like member of the plumb-down swing device is perpendicular to the ground in the image photographed by the photographing means. . 前記投光装置は、水平方向に延びる線状光を投射するものであり、
前記下げ振り装置は、前記紐状部材の上部および下部にそれぞれ前記特徴点としての標識を有し、前記標識のいずれか一方の位置を前記投光装置から照射する水平方向の線状光に一致させ、当該標識から一定の間隔を置いた位置に他方の位置を設定したものである請求項1または2に記載の三次元画像計測システム。
The light projection device projects linear light extending in the horizontal direction,
The plumb bobbing device has marks as the characteristic points on the upper and lower parts of the string-like member, respectively, and the position of one of the marks corresponds to the horizontal linear light irradiated from the light projector. 3. The three-dimensional image measurement system according to claim 1, wherein the other position is set at a position spaced a certain distance from the mark.
前記下げ振り装置は、前記紐状部材を通す透明な下げ振り筒と、前記下げ振り筒を垂直に立たせたベースと、前記ベースの上面を水平に調節する水平調節器と、前記下げ振り筒の内径と同程度の穴を有し、前記下げ振り筒の上に設けられた固定板と、前記紐状部材が通れる程度の穴を有し、前記固定板の上に設けられた調節板と、前記調節板の上に設けられ、前記紐状部材の長さを調節する長さ調節機構とを有する請求項3記載の三次元画像計測システム。 The plumb-bob device includes a transparent plumb-bob tube through which the string-like member is passed, a base on which the plumb-bob tube is erected vertically, a horizontal adjuster for horizontally adjusting the top surface of the base, and a plumb-bang tube for adjusting the top surface of the base to be horizontal. a fixing plate having a hole about the same diameter as the inner diameter and provided on the plumb-down cylinder; an adjusting plate having a hole large enough for the string-like member to pass through and provided on the fixing plate; The three-dimensional image measurement system according to claim 3, further comprising a length adjustment mechanism provided on the adjustment plate and adjusting the length of the string-like member. 前記下げ振り装置は、前記紐状部材を吊り下げる支柱と、前記紐状部材を通す透明な下げ振り筒であり、繋ぎ紐状部材により前記支柱から吊り下げた下げ振り筒とを有する請求項3記載の三次元画像計測システム。 3. The plumb-bob device includes a support for suspending the string-like member, and a transparent plumb-bob tube through which the string-like member is passed, and the plumb-bang tube is suspended from the support by a connecting string-like member. The three-dimensional image measurement system described. 前記下げ振り筒の壁の心角θ(90°<θ<180°)の範囲が前記紐状部材を目立たせる単一色である請求項4または5に記載の三次元画像計測システム。 6. The three-dimensional image measurement system according to claim 4, wherein a range of a central angle θ (90°<θ<180°) of the wall of the plumb tube is a single color that makes the string-like member stand out. 前記下げ振り装置は2つであり、前記計測対象物の撮影シーンの中に一定の間隔をもって設定され、それぞれの上部および下部の標識の高さが同じである請求項3記載の三次元画像計測システム。 4. Three-dimensional image measurement according to claim 3, wherein there are two plumb-down swing devices, which are set at regular intervals in the photographic scene of the measurement target, and whose upper and lower markers have the same height. system. 前記投光装置は、水平方向に延びる線状光を投射するものであり、
前記下げ振り装置は、前記紐状部材の上部および下部にそれぞれ前記特徴点としての標識を有し、前記標識のいずれか一方の位置を前記投光装置から照射する水平方向の線状光に一致させ、当該標識から一定の間隔を置いた位置に他方の位置を設定したものであり、
前記下げ振り装置は2つであり、前記計測対象物の撮影シーンの中に一定の間隔をもって設定され、それぞれの上部および下部の標識の高さが同じであり、
前記撮影画像変換手段は、前記撮影手段より撮影された画像における前記2つの下げ振り装置の紐状部材の4つの標識を頂点とする四角形について、縦の辺が地面に垂直に、横の辺が地面に平行になるように画像を校正するものである請求項記載の三次元画像計測システム。
The light projection device projects linear light extending in the horizontal direction,
The plumb bobbing device has marks as the characteristic points on the upper and lower parts of the string-like member, respectively, and the position of one of the marks corresponds to the horizontal linear light irradiated from the light projector. and the other position is set at a certain distance from the said sign,
The plumb-down swing devices are two, and are set at a certain interval in the photographing scene of the measurement target, and the height of the upper and lower markers of each is the same,
The photographed image converting means converts a rectangle whose vertices are the four marks of the string-like members of the two plumb-down swing devices in the image photographed by the photographing means, so that the vertical sides are perpendicular to the ground and the horizontal sides are perpendicular to the ground. 3. The three-dimensional image measurement system according to claim 2 , wherein the three-dimensional image measurement system calibrates the image so that it is parallel to the ground.
前記任意視点動的キャリブレーション手段は、前記撮影手段より撮影された画像における前記2つの下げ振り装置の紐状部材が実世界で平行であり、それぞれの紐状部材にある2つの標識間の距離が実世界で事前に設定された間隔であることを既知の条件として、前記撮影手段の前記内部パラメータとしての焦点距離と、前記外部パラメータとしての回転パラメータおよび並進パラメータを求めるものである請求項7記載の三次元画像計測システム。 The arbitrary viewpoint dynamic calibration means is configured to determine that the string-like members of the two plumb-down swing devices in the image photographed by the photographing means are parallel in the real world, and the distance between the two marks on each string-like member. 7. A focal length as the internal parameter of the photographing means and a rotation parameter and a translation parameter as the external parameters are determined under the known condition that is a preset interval in the real world. The three-dimensional image measurement system described. 前記計測点特定手段は、前記投光装置から水平方向に延びる線状光とこれに空間的に直交かつ互いに直交する2つの線状光を投射することにより前記計測対象物に作られた光マーカを含む画像から計測目標点を特定するものである請求項1または2に記載の三次元画像計測システム。 The measurement point specifying means creates an optical marker on the measurement object by projecting a linear light extending in the horizontal direction from the light projecting device and two linear lights spatially orthogonal to this and mutually orthogonal. The three-dimensional image measurement system according to claim 1 or 2, wherein the measurement target point is specified from an image including the three-dimensional image measurement system. 前記三次元情報算出手段は、前記撮影手段より撮影された複数枚の前記計測対象物の画像に対し、前記任意視点動的キャリブレーション手段により求められた前記撮影手段の外部パラメータを用いて、前記計測点特定手段より特定された計測目標点と、マウスクリックより指定された計測目標点の三次元座標を自動的に算出するものである請求項1または2に記載の三次元画像計測システム。 The three-dimensional information calculation means uses external parameters of the photographing means obtained by the arbitrary viewpoint dynamic calibration means to calculate the three-dimensional information of the plurality of images of the measurement object photographed by the photographing means. 3. The three-dimensional image measurement system according to claim 1, wherein the three-dimensional coordinates of the measurement target point specified by the measurement point specifying means and the measurement target point specified by a mouse click are automatically calculated. 特徴点を有する紐状部材に錘を吊り下げた下げ振り装置の前記紐状部材と、線状光を投射する投光装置から投射された前記線状光とを含めて計測対象物を撮影手段により複数の視点からそれぞれ撮影すること、
前記撮影手段により撮影された画像を用い、前記下げ振り装置の前記紐状部材にある特徴点と前記投光装置から投射された線状光とに基づいて、前記撮影手段の焦点距離を含む内部パラメータと、前記撮影手段の撮影姿勢および撮影位置の外部パラメータとを求めること、
前記投光装置から前記計測対象物に線状光を投射し、前記計測対象物上の計測目標点を特定すること、
前記内部パラメータを用いて前記撮影手段により撮影された画像に対し、前記外部パラメータを用いて前記計測対象物における前記計測目標点の三次元座標を求めること
を含む三次元画像計測方法。
A means for photographing the object to be measured including the string-like member of the plumb-shape device in which a weight is suspended from a string-like member having characteristic points and the linear light projected from the light projection device that projects the linear light. By taking pictures from multiple viewpoints,
Using an image photographed by the photographing means, an internal image including the focal length of the photographing means is determined based on the feature points on the string-like member of the plumb-bob device and the linear light projected from the light projecting device. determining parameters and external parameters of a photographing posture and a photographing position of the photographing means;
projecting linear light from the light projecting device onto the measurement target to identify a measurement target point on the measurement target;
A three-dimensional image measuring method comprising determining three-dimensional coordinates of the measurement target point on the measurement object using the external parameters with respect to an image photographed by the photographing means using the internal parameters.
特徴点を有する紐状部材に錘を吊り下げた下げ振り装置の前記紐状部材と、線状光を投射する投光装置から投射された前記線状光とを含めて計測対象物が撮影手段により複数の視点からそれぞれ撮影された画像を用い、前記下げ振り装置の前記紐状部材にある特徴点と前記投光装置から投射された線状光とに基づいて、前記撮影手段の焦点距離を含む内部パラメータと、前記撮影手段の撮影姿勢および撮影位置の外部パラメータとを求める任意視点動的キャリブレーション手段と、
前記投光装置から前記計測対象物に線状光を投射し、前記計測対象物上の計測目標点を特定する計測点特定手段と、
前記内部パラメータを用いて前記撮影手段により撮影された画像に対し、前記外部パラメータを用いて前記計測対象物における前記計測目標点の三次元座標を求める三次元情報算出手段と
してコンピュータを機能させるための三次元画像計測プログラム。
The object to be measured includes the string-like member of the plumb bobbing device in which a weight is suspended from a string-like member having characteristic points, and the linear light projected from the light projection device that projects the linear light. Using images taken from a plurality of viewpoints respectively, the focal length of the photographing means is determined based on the feature points on the string-like member of the plumb-bob device and the linear light projected from the light projecting device. arbitrary viewpoint dynamic calibration means for determining internal parameters including internal parameters and external parameters of a photographing posture and a photographing position of the photographing means;
Measurement point specifying means for projecting linear light from the light projecting device onto the measurement object to specify a measurement target point on the measurement object;
for causing a computer to function as a three-dimensional information calculation means for calculating three-dimensional coordinates of the measurement target point on the measurement object using the external parameters with respect to an image photographed by the photographing means using the internal parameters; 3D image measurement program.
請求項13記載の三次元画像計測プログラムが記録されたコンピュータ読み取り可能な記録媒体。 A computer-readable recording medium on which the three-dimensional image measurement program according to claim 13 is recorded.
JP2020169108A 2020-10-06 2020-10-06 3D image measurement system, 3D image measurement method, 3D image measurement program, and recording medium Active JP7444396B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020169108A JP7444396B2 (en) 2020-10-06 2020-10-06 3D image measurement system, 3D image measurement method, 3D image measurement program, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020169108A JP7444396B2 (en) 2020-10-06 2020-10-06 3D image measurement system, 3D image measurement method, 3D image measurement program, and recording medium

Publications (2)

Publication Number Publication Date
JP2022061231A JP2022061231A (en) 2022-04-18
JP7444396B2 true JP7444396B2 (en) 2024-03-06

Family

ID=81206719

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020169108A Active JP7444396B2 (en) 2020-10-06 2020-10-06 3D image measurement system, 3D image measurement method, 3D image measurement program, and recording medium

Country Status (1)

Country Link
JP (1) JP7444396B2 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000161960A (en) 1998-09-25 2000-06-16 Matsushita Electric Works Ltd Method and apparatus for adjustment of marking device
JP2004280728A (en) 2003-03-18 2004-10-07 Lab:Kk Image compositing device, and marker setting device for camera parametric calibration
JP2010287074A (en) 2009-06-12 2010-12-24 Nippon Telegr & Teleph Corp <Ntt> Camera calibration apparatus, camera calibration method, camera calibration program, and recording medium recording the program
JP2014092495A (en) 2012-11-06 2014-05-19 Roland Dg Corp Calibration method, and three-dimensional processing device
CN105806221A (en) 2016-05-06 2016-07-27 西安工业大学 Laser projection calibration device and method
CN106871799A (en) 2017-04-10 2017-06-20 淮阴工学院 A kind of full-automatic crops plant height measuring method and device
JP2017116318A (en) 2015-12-22 2017-06-29 株式会社オーディオテクニカ Irradiation device, sumi appearance device and irradiation method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3076481B2 (en) * 1993-06-14 2000-08-14 株式会社ケイディエス Plumb and stabilizer for plumb bob

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000161960A (en) 1998-09-25 2000-06-16 Matsushita Electric Works Ltd Method and apparatus for adjustment of marking device
JP2004280728A (en) 2003-03-18 2004-10-07 Lab:Kk Image compositing device, and marker setting device for camera parametric calibration
JP2010287074A (en) 2009-06-12 2010-12-24 Nippon Telegr & Teleph Corp <Ntt> Camera calibration apparatus, camera calibration method, camera calibration program, and recording medium recording the program
JP2014092495A (en) 2012-11-06 2014-05-19 Roland Dg Corp Calibration method, and three-dimensional processing device
JP2017116318A (en) 2015-12-22 2017-06-29 株式会社オーディオテクニカ Irradiation device, sumi appearance device and irradiation method
CN105806221A (en) 2016-05-06 2016-07-27 西安工业大学 Laser projection calibration device and method
CN106871799A (en) 2017-04-10 2017-06-20 淮阴工学院 A kind of full-automatic crops plant height measuring method and device

Also Published As

Publication number Publication date
JP2022061231A (en) 2022-04-18

Similar Documents

Publication Publication Date Title
US20150116691A1 (en) Indoor surveying apparatus and method
CN106092061B (en) River water surface flow field calibrating method based on lens imaging model under oblique viewing angle
JP5137448B2 (en) Survey system for tunnel face
KR101748180B1 (en) Method and apparatus of measuring size of object in image
CN104240262B (en) Camera extrinsic parameter calibration device and calibration method for photogrammetry
CN109253706B (en) Tunnel three-dimensional topography measuring method based on digital image
US20130314688A1 (en) Indoor surveying apparatus
CN100424466C (en) Non-contact three-dimensional measurement method and device
US20130113897A1 (en) Process and arrangement for determining the position of a measuring point in geometrical space
JP2004163292A (en) Surveying equipment and electronic storage media
US9881377B2 (en) Apparatus and method for determining the distinct location of an image-recording camera
JP4052382B2 (en) Non-contact image measuring device
CN102927917B (en) Many orders vision measurement method of iron tower
CN108802043A (en) Tunnel detector, detecting system and tunnel defect information extracting method
WO2022126339A1 (en) Method for monitoring deformation of civil structure, and related device
JP2016100698A (en) Calibration device, calibration method, program
CN103389072B (en) An image point positioning precision assessment method based on straight line fitting
JP6238101B2 (en) Numerical surface layer model creation method and numerical surface layer model creation device
CN106767895B (en) The system and method for solving camera elements of exterior orientation are oriented using index point
CN115511961A (en) Three-dimensional space positioning method, system and storage medium
JP2015010911A (en) Aerial surveying method and apparatus
JP2001317915A (en) Three-dimensional measurement apparatus
JP7444396B2 (en) 3D image measurement system, 3D image measurement method, 3D image measurement program, and recording medium
CN102155937B (en) Method for measuring flexible netty surface shape by shooting
JP2007225423A (en) Displacement measuring device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230517

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20231225

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20240109

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240124

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: 20240206

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240214

R150 Certificate of patent or registration of utility model

Ref document number: 7444396

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150