JP2023010392A - Image processor, method for controlling image processor, and image processing program - Google Patents

Image processor, method for controlling image processor, and image processing program Download PDF

Info

Publication number
JP2023010392A
JP2023010392A JP2021114501A JP2021114501A JP2023010392A JP 2023010392 A JP2023010392 A JP 2023010392A JP 2021114501 A JP2021114501 A JP 2021114501A JP 2021114501 A JP2021114501 A JP 2021114501A JP 2023010392 A JP2023010392 A JP 2023010392A
Authority
JP
Japan
Prior art keywords
reference image
unit
measured
reinforcing bar
points
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.)
Pending
Application number
JP2021114501A
Other languages
Japanese (ja)
Inventor
貴行 田丸
Takayuki Tamaru
圭 徳井
Kei Tokui
謙二 吉武
Kenji Yoshitake
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.)
Shimizu Construction Co Ltd
Sharp Corp
Shimizu Corp
Original Assignee
Shimizu Construction Co Ltd
Sharp Corp
Shimizu 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 Shimizu Construction Co Ltd, Sharp Corp, Shimizu Corp filed Critical Shimizu Construction Co Ltd
Priority to JP2021114501A priority Critical patent/JP2023010392A/en
Publication of JP2023010392A publication Critical patent/JP2023010392A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Length Measuring Devices By Optical Means (AREA)

Abstract

To precisely measure a measurement target on the basis of images taken by a plurality of imaging units.SOLUTION: An image processor (10) includes: a setting unit (102) for setting a plurality of specification units for each measurement target edge in a reference image taken of a measurement target by a reference imaging unit (110) and calculating the longer direction of the measurement target on the basis of a plurality of specification points; and a selection unit (103) for selecting a reference image used for a measurement on the basis of the angle formed by the longer direction of the measurement target and the baseline direction.SELECTED DRAWING: Figure 1

Description

本発明は、画像処理装置、画像処理装置の制御方法および画像処理プログラムに関する。 The present invention relates to an image processing apparatus, an image processing apparatus control method, and an image processing program.

多眼カメラなどの複数の撮像部のそれぞれによって撮像された画像間の相対的なずれ量である視差および三角測量の原理に基づいて、三次元形状の被写体である計測対象の距離情報(奥行き情報)を算出することによって、計測対象を計測する技術が知られている。 Based on the principle of parallax, which is the amount of relative displacement between images captured by multiple imaging units such as multi-lens cameras, and the principle of triangulation, distance information (depth information) of the measurement target, which is a three-dimensional object, is obtained. ) is known to measure an object to be measured.

現在、上述の技術を配筋検査に適用し、計測対象の鉄筋の鉄筋径および鉄筋間隔などを計測する技術が開発されている。例えば、特許文献1には、2眼カメラによって撮像されたステレオ画像データに基づいて、画像内における複数の鉄筋の位置および寸法を計測する計測装置が記載されている。 Currently, a technique for measuring the diameter of a reinforcing bar to be measured, the interval between the reinforcing bars, and the like is being developed by applying the above-described technique to inspection of bar arrangement. For example, Patent Literature 1 describes a measuring device that measures the positions and dimensions of a plurality of reinforcing bars in an image based on stereo image data captured by a twin-lens camera.

特開2020-165886号公報JP 2020-165886 A

しかしながら、上述のような従来技術は、2つの撮像部が並ぶ(配置される)方向と、計測対象の長手方向とが平行になっている場合、計測精度が低下する場合がある。 However, in the above-described conventional technique, when the direction in which the two imaging units are arranged (arranged) is parallel to the longitudinal direction of the measurement target, the measurement accuracy may be degraded.

そこで、本発明の一態様は、複数の撮像部によって撮像された画像に基づいて、計測対象を高精度に計測可能な画像処理装置およびその関連技術を提供することを目的とする。 Accordingly, an object of one aspect of the present invention is to provide an image processing apparatus capable of measuring a measurement target with high accuracy based on images captured by a plurality of imaging units, and related technology.

上記の課題を解決するために、本発明の一態様に係る画像処理装置は、基準撮像部によって計測対象が撮像された基準画像における、当該計測対象の1以上のエッジごとに複数の指定点を設定する設定部と、前記基準画像における前記複数の指定点に基づいて、複数の参照撮像部のそれぞれによって前記計測対象が撮像された複数の参照画像の中から、計測に使用する参照画像を選択する選択部とを備え、前記設定部は、前記基準画像における前記複数の指定点に基づいて、前記基準画像における前記計測対象の長手方向を算出し、前記選択部は、前記基準画像における前記計測対象の長手方向と、前記基準撮像部と前記複数の参照撮像部のそれぞれとが並ぶ方向である基線方向と、のなす角度に基づいて、前記計測に使用する参照画像を選択する。 In order to solve the above problems, an image processing apparatus according to an aspect of the present invention sets a plurality of specified points for each of one or more edges of a measurement target in a reference image in which the measurement target is captured by a reference imaging unit. A reference image to be used for measurement is selected from among a plurality of reference images in which the measurement target is captured by each of a plurality of reference imaging units, based on the setting unit for setting and the plurality of specified points in the reference image. the setting unit calculates the longitudinal direction of the measurement target in the reference image based on the plurality of designated points in the reference image; and the selection unit calculates the measurement in the reference image. A reference image to be used for the measurement is selected based on an angle between a longitudinal direction of the object and a baseline direction in which the reference imaging unit and the plurality of reference imaging units are aligned.

本発明の一態様に係る画像処理装置の制御方法は、画像処理装置が、基準撮像部によって計測対象が撮像された基準画像における、当該計測対象の1以上のエッジごとに複数の指定点を設定し、前記複数の指定点に基づいて、前記基準画像における前記計測対象の長手方向を算出することと、前記画像処理装置が、前記基準画像における前記複数の指定点に基づいて、複数の参照撮像部のそれぞれによって前記計測対象が撮像された複数の参照画像の中から、計測に使用する参照画像を選択することと、を含み、前記計測に使用する参照画像を選択することは、前記基準画像における前記計測対象の長手方向と、前記基準撮像部と前記複数の参照撮像部のそれぞれとが並ぶ方向である基線方向と、のなす角度に基づいて、前記計測に使用する参照画像を選択する。 A control method for an image processing apparatus according to an aspect of the present invention is such that the image processing apparatus sets a plurality of designated points for each of one or more edges of a measurement target in a reference image in which the measurement target is captured by a reference imaging unit. and calculating a longitudinal direction of the measurement object in the reference image based on the plurality of designated points; and performing a plurality of reference imaging based on the plurality of designated points in the reference image. selecting a reference image to be used for measurement from among a plurality of reference images obtained by imaging the measurement target by each of the units, wherein selecting the reference image to be used for measurement includes the reference image; A reference image to be used for the measurement is selected based on an angle formed by a longitudinal direction of the measurement object in the above and a baseline direction in which the reference imaging unit and the plurality of reference imaging units are aligned.

本発明の一態様によれば、複数の撮像部によって撮像された画像に基づいて、計測対象を高精度に計測可能な画像処理装置およびその関連技術を提供することができる。 ADVANTAGE OF THE INVENTION According to one aspect of the present invention, it is possible to provide an image processing device capable of measuring a measurement target with high accuracy based on images captured by a plurality of imaging units, and related technology thereof.

実施形態1に係る計測装置の構成の一例を示すブロック図である。1 is a block diagram showing an example of the configuration of a measuring device according to Embodiment 1; FIG. 基準画像の一例を示す図である。FIG. 4 is a diagram showing an example of a reference image; FIG. 基準画像における、拡大表示された領域の一例を示す図である。FIG. 10 is a diagram showing an example of an enlarged display area in the reference image; 第一参照画像の一例を示す図である。It is a figure which shows an example of a 1st reference image. 第二参照画像の一例を示す図である。It is a figure which shows an example of a 2nd reference image. 基準画像の一例を示す図である。FIG. 4 is a diagram showing an example of a reference image; FIG. 第一参照画像の一例を示す図である。It is a figure which shows an example of a 1st reference image. 第二参照画像の一例を示す図である。It is a figure which shows an example of a 2nd reference image. 実施形態1に係る計測装置の制御方法の一例を示すフローチャートである。4 is a flow chart showing an example of a control method for the measuring device according to Embodiment 1. FIG. 実施形態1の変形例に係る計測装置の制御方法の一例を示すフローチャートである。7 is a flow chart showing an example of a control method for a measuring device according to a modified example of Embodiment 1. FIG. 実施形態2に係る計測装置の構成の一例を示すブロック図である。FIG. 7 is a block diagram showing an example of the configuration of a measurement device according to Embodiment 2; 第一参照画像の一例を示す図である。It is a figure which shows an example of a 1st reference image. 第一参照画像における、拡大表示された領域の一例を示す図である。FIG. 10 is a diagram showing an example of an enlarged display area in the first reference image; 実施形態2に係る計測装置の制御方法の一例を示すフローチャートである。9 is a flow chart showing an example of a control method for a measuring device according to Embodiment 2; 実施形態2の変形例に係る計測装置の制御方法の一例を示すフローチャートである。10 is a flow chart showing an example of a control method for a measuring device according to a modified example of Embodiment 2. FIG. 実施形態3に係る計測装置の構成の一例を示すブロック図である。FIG. 11 is a block diagram showing an example of the configuration of a measurement device according to Embodiment 3; 設定部による、選択された参照画像に対する位置情報の投影の一例について説明するための図である。FIG. 10 is a diagram for explaining an example of projection of position information on a selected reference image by a setting unit; 第一参照画像の一例を示す図である。It is a figure which shows an example of a 1st reference image. 第一参照画像における、拡大表示された領域の一例を示す図である。FIG. 10 is a diagram showing an example of an enlarged display area in the first reference image; 実施形態3に係る計測装置の制御方法の一例を示すフローチャートである。10 is a flow chart showing an example of a control method for a measuring device according to Embodiment 3. FIG. 実施形態3の変形例に係る計測装置の制御方法の一例を示すフローチャートである。11 is a flow chart showing an example of a method for controlling a measuring device according to a modified example of Embodiment 3. FIG.

<実施形態1>
以下、図1~9を用いて、本発明の実施形態1について説明する。
<Embodiment 1>
Embodiment 1 of the present invention will be described below with reference to FIGS. 1 to 9. FIG.

〔計測装置1〕
計測装置1は、計測対象を計測する。具体的には、計測装置1は、縦方向と横方向とに配筋された鉄筋のうち、計測対象の鉄筋を計測する。
[Measuring device 1]
The measuring device 1 measures a measurement target. Specifically, the measuring device 1 measures a reinforcing bar to be measured among the reinforcing bars arranged in the vertical direction and the horizontal direction.

図1は、実施形態1に係る計測装置1の構成の一例を示すブロック図である。図1に示す例では、計測装置1は、画像処理装置10と、撮像部11とを備えている。すなわち、図1に示す例では、計測装置1は、画像処理装置10と、撮像部11とが一体化している構成となっている。 FIG. 1 is a block diagram showing an example of the configuration of a measurement device 1 according to Embodiment 1. As shown in FIG. In the example shown in FIG. 1 , the measuring device 1 includes an image processing device 10 and an imaging section 11 . That is, in the example shown in FIG. 1, the measuring device 1 has a configuration in which the image processing device 10 and the imaging unit 11 are integrated.

〔撮像部11〕
撮像部11は、計測対象を撮像する。具体的には、撮像部11は、計測対象の鉄筋を含む、縦方向と横方向とに配筋された鉄筋を撮像する。
[Imaging unit 11]
The imaging unit 11 images an object to be measured. Specifically, the imaging unit 11 captures an image of reinforcing bars arranged in the vertical direction and the horizontal direction, including the reinforcing bars to be measured.

図1のように、撮像部11は、基準撮像部110と、第一参照撮像部111と、第二参照撮像部112とを備えている。 As shown in FIG. 1 , the imaging section 11 includes a reference imaging section 110 , a first reference imaging section 111 and a second reference imaging section 112 .

(基準撮像部110、第一参照撮像部111および第二参照撮像部112)
基準撮像部110、第一参照撮像部111および第二参照撮像部112としては、例えば、撮像素子と、撮像素子に光を集めるレンズとを備えるカメラなどが挙げられる。撮像素子としては、CCD(Charge Coupled Device)およびCMOS(Complementary Metal Oxide Semiconductor)センサなどが挙げられる。
(Reference imaging unit 110, first reference imaging unit 111, and second reference imaging unit 112)
Examples of the reference imaging unit 110, the first reference imaging unit 111, and the second reference imaging unit 112 include a camera including an imaging element and a lens that collects light on the imaging element. Examples of imaging devices include CCD (Charge Coupled Device) and CMOS (Complementary Metal Oxide Semiconductor) sensors.

基準撮像部110、第一参照撮像部111および第二参照撮像部112は、計測対象の鉄筋が含まれる共通の撮像範囲を持つように位置に配置されており、各撮像部の相対的な位置関係は、固定かつ計測されている。画像処理装置10の記憶部105は、各撮像部の相対的な位置関係の計測結果を保持している。 The reference imaging unit 110, the first reference imaging unit 111, and the second reference imaging unit 112 are positioned so as to have a common imaging range that includes the reinforcing bars to be measured. Relationships are fixed and measured. The storage unit 105 of the image processing apparatus 10 holds measurement results of the relative positional relationship between the imaging units.

各撮像部の相対的な位置関係は、基準撮像部110の焦点と第一参照撮像部111の焦点とを結んだ三次元直線である第一基線と、基準撮像部110の焦点と第二参照撮像部112の焦点とを結んだ焦点を結んだ三次元直線である第二基線とが、同一直線上とならないような位置関係となっている。 The relative positional relationship of each imaging unit is defined by a first base line, which is a three-dimensional straight line connecting the focal point of the reference imaging unit 110 and the focal point of the first reference imaging unit 111, the focal point of the reference imaging unit 110, and the second reference imaging unit 111. The positional relationship is such that the second base line, which is a three-dimensional straight line connecting the focal points of the imaging unit 112, is not on the same straight line.

このように、各撮像部の相対的な位置関係が同一直線上とならなければ、各撮像部はどのように配置されていてもよいが、基準撮像部110の光軸と、第一基線と、第二基線とが、互いに直角に近い角度となるように配置されていることが好ましい。基準撮像部110の光軸と、第一基線と、第二基線とが、互いに直角に近い角度となるように配置されていることによって、選択部103は、より好適に計測に用いる参照画像を選択することができる。 As described above, the imaging units may be arranged in any way as long as the relative positional relationship of the imaging units does not lie on the same straight line. , and the second base line are preferably arranged at an angle close to a right angle to each other. By arranging the optical axis of the reference imaging unit 110, the first base line, and the second base line at angles close to right angles to each other, the selection unit 103 can more preferably select a reference image to be used for measurement. can be selected.

なお、上述の例では、参照撮像部は、第一参照撮像部111および第二参照撮像部112の二台から構成されているが、参照撮像部の数は二台に限定されず、二台以上とすることも可能である。 In the above example, the reference imaging unit is composed of the first reference imaging unit 111 and the second reference imaging unit 112, but the number of reference imaging units is not limited to two. It is also possible to set it as above.

〔画像処理装置10〕
画像処理装置10は、計測対象が撮像された画像を処理する。具体的には、画像処理装置10は、具体的には、画像処理装置10は、計測対象の鉄筋を含む、縦方向と横方向とに配筋された鉄筋が撮像された画像を処理する。
[Image processing device 10]
The image processing device 10 processes an image of the measurement target. More specifically, the image processing apparatus 10 processes an image in which reinforcing bars arranged in the vertical direction and the horizontal direction, including the reinforcing bars to be measured, are captured.

画像処理装置10としては、例えば、タブレットおよびノートパソコンのように、画像処理装置10として動作するパソコンと一体となったもの、ならびに、デスクトップパソコンとモ二タとのようにケーブルによって接続可能なものが適用できる。 Examples of the image processing device 10 include devices that are integrated with a personal computer that operates as the image processing device 10, such as tablets and notebook computers, and devices that can be connected by a cable, such as a desktop computer and a monitor. is applicable.

なお、上述の例では、計測装置1は、撮像部11と画像処理装置10とが一体化されている構成であるが、本実施形態では、計測装置1は、一体化された構成には限定されず、別々の構成とすることも可能である。 In the above example, the measuring device 1 has a structure in which the imaging unit 11 and the image processing device 10 are integrated. It is also possible to have separate configurations instead of

例えば、撮像部11と画像処理装置10とがそれぞれ単体の筐体となっており、メモリーカードやネットワーク通信などを介して、撮像部11の内部に保存された画像を、別の筐体の画像処理装置10に転送する構成とすることも可能である。 For example, the imaging unit 11 and the image processing device 10 are each a single housing, and an image stored inside the imaging unit 11 can be transferred to an image of another housing via a memory card, network communication, or the like. A configuration for transferring to the processing device 10 is also possible.

図1のように、画像処理装置10は、入力部100と、表示部101と、設定部102と、選択部103と、計測部104と、記憶部105とを備えている。 As shown in FIG. 1 , the image processing apparatus 10 includes an input section 100 , a display section 101 , a setting section 102 , a selection section 103 , a measurement section 104 and a storage section 105 .

(入力部100)
入力部100は、基準撮像部110によって計測対象が撮像された基準画像、第一参照撮像部111によって計測対象が撮像された第一参照画像、および、第二参照撮像部112によって計測対象が撮像された第二参照画像の入力を受け付ける。
(Input unit 100)
The input unit 100 captures a reference image of the measurement target captured by the reference imaging unit 110, a first reference image of the measurement target captured by the first reference imaging unit 111, and an image of the measurement target captured by the second reference imaging unit 112. Receives the input of the second reference image.

具体的には、入力部100は、基準撮像部110、第一参照撮像部111および第二参照撮像部112のそれぞれによって、計測対象の鉄筋を含む、縦方向と横方向とに配筋された鉄筋が撮像された基準画像、第一参照画像および第二参照画像の入力を受け付ける。 Specifically, the input unit 100 includes the reinforcing bars to be measured, arranged in the vertical direction and the horizontal direction by the reference imaging unit 110, the first reference imaging unit 111, and the second reference imaging unit 112, respectively. Inputs of a reference image, a first reference image, and a second reference image in which reinforcing bars are captured are accepted.

また、入力部100は、表示部101に表示された基準画像、第一参照画像または第二参照画像における指定点の位置などの入力(指定点の指定)をユーザから受け付ける。 Further, the input unit 100 receives an input (designation of a designated point) such as the position of a designated point in the reference image, the first reference image, or the second reference image displayed on the display unit 101 from the user.

入力部100は、例えば、マウス、キーボード、または、表示部101と一体型になったUI要素として機能するタッチパネルなどによって実現される。 The input unit 100 is realized by, for example, a mouse, a keyboard, or a touch panel functioning as a UI element integrated with the display unit 101 .

(表示部101)
表示部101は、入力部100に入力された基準画像、入力部100に入力された第一参照画像および第二参照画像のうち、選択部103によって選択された参照画像、ならびに、計測部104によって計測対象の鉄筋が計測された計測結果などを表示する。
(Display unit 101)
The display unit 101 displays the reference image selected by the selection unit 103 from the reference image input to the input unit 100, the first reference image and the second reference image input to the input unit 100, and the reference image selected by the measurement unit 104. Displays the measurement results of the reinforcing bars to be measured.

表示部101は、設定部102によって画像処理が行われた基準画像、および、設定部102によって画像処理が行われた第一参照画像および第二参照画像のうち、選択部103によって選択された参照画像を表示してもよい。設定部102による画像処理に関しては、後述する。 The display unit 101 displays the reference image selected by the selection unit 103 from among the reference image subjected to image processing by the setting unit 102 and the first reference image and the second reference image subjected to image processing by the setting unit 102. Images may be displayed. Image processing by the setting unit 102 will be described later.

表示部101は、例えば、液晶ディスプレイ、有機EL(Electro luminescence)ディスプレイ、または、入力部100と一体型になったUI要素として機能するタッチパネルなどによって実現される。 The display unit 101 is realized by, for example, a liquid crystal display, an organic EL (Electro Luminescence) display, or a touch panel functioning as a UI element integrated with the input unit 100 .

(設定部102)
設定部102は、基準撮像部110によって計測対象が撮像された基準画像における、計測対象の鉄筋の2つのエッジごとに複数の指定点を設定する。
(Setting unit 102)
The setting unit 102 sets a plurality of specified points for each two edges of the reinforcing bar to be measured in the reference image in which the measurement target is captured by the reference imaging unit 110 .

例えば、設定部102は、入力部100を介して、基準画像における、計測対象の鉄筋の2つのエッジごとに、ユーザが指定した複数の点を指定点として設定する。 For example, the setting unit 102 sets a plurality of points specified by the user via the input unit 100 as specified points for each of two edges of the reinforcing bar to be measured in the reference image.

一例として、設定部102は、入力部100と表示部101とが一体型になったUI要素として機能するタッチパネルに表示された基準画像21における計測対象の鉄筋の2つのエッジをユーザがタッチすることによって指定した点を指定点として設定してもよい。 As an example, the setting unit 102 allows the user to touch two edges of the reinforcing bar to be measured in the reference image 21 displayed on the touch panel functioning as a UI element in which the input unit 100 and the display unit 101 are integrated. The point specified by may be set as the specified point.

このように、計測対象の鉄筋の2つのエッジごとに複数の指定点を設定することによって、選択部103は、第一参照画像および第二参照画像の中から、計測に使用する参照画像を好適に選択することができる。 In this way, by setting a plurality of designated points for each two edges of the reinforcing bar to be measured, the selection unit 103 selects the reference image to be used for measurement from the first reference image and the second reference image. can be selected to

設定部102は、記憶部105に記憶された基準撮像部110のカメラパラメータに基づき、入力部100に入力された基準画像に画像処理を行った後、画像処理が行われた基準画像における、計測対象の鉄筋の2つのエッジごとに複数の指定点を設定してもよい。 The setting unit 102 performs image processing on the reference image input to the input unit 100 based on the camera parameters of the reference imaging unit 110 stored in the storage unit 105, and then performs measurement on the reference image that has undergone the image processing. Multiple designated points may be set for every two edges of the rebar of interest.

カメラパラメータとしては、例えば、内部パラメータおよび外部パラメータなどが挙げられる。内部パラメータとしては、例えば、各撮像部が備えるレンズの焦点距離、歪み係数および各撮像部によって撮像された画像の解像度など、各撮像部の特性に関するパラメータなどが挙げられる。外部パラメータとしては、例えば、各撮像部の向き、位置、画角および2台の撮像部間の位置関係など各撮像部の向きおよび位置などに関するパラメータなどが挙げられる。 Camera parameters include, for example, intrinsic parameters and extrinsic parameters. The internal parameters include, for example, parameters related to the characteristics of each imaging unit, such as the focal length of the lens provided in each imaging unit, the distortion coefficient, and the resolution of the image captured by each imaging unit. The external parameters include, for example, parameters related to the orientation and position of each imaging unit, such as the orientation, position, angle of view, and positional relationship between two imaging units.

例えば、設定部102は、画像処理として、基準撮像部110に対して水平右方向に存在している第一参照撮像部111によって撮像された第一参照画像が、基準画像に対して、水平右方向から撮像された画像となるようにステレオ平行化処理を行ってもよい。同様に、設定部102は、画像処理として、基準撮像部110に対して垂直上方向に存在している第二参照撮像部112によって撮像された第二参照画像が、基準画像に対して、垂直上方向から撮像された画像となるように、ステレオ平行化処理を行ってもよい。 For example, the setting unit 102 performs image processing such that the first reference image captured by the first reference imaging unit 111 that exists in the horizontal right direction with respect to the reference imaging unit 110 is shifted to the horizontal right with respect to the reference image. Stereo parallelization processing may be performed so that the image is captured from a direction. Similarly, the setting unit 102 performs image processing such that the second reference image captured by the second reference imaging unit 112, which exists vertically above the reference imaging unit 110, is vertically moved to the reference image. Stereo parallelization processing may be performed so that the image is captured from above.

これにより、基準画像に対して水平右方向または垂直上方向から撮像されているはずの参照画像が上下左右に傾き、誤差が生じている場合であっても、理論上、撮像されるはずの参照画像となるように傾きおよび誤差を調整することができる。その結果、ステレオマッチングにより、第一参照画像および第二参照画像のそれぞれにおいて、基準画像における指定点に対応する対応点を探索しやすくなる。 As a result, even if the reference image that should be captured from the horizontal right direction or the vertical upper direction with respect to the reference image tilts up, down, left, or right, and an error occurs, theoretically, the reference image that should be captured Tilt and error can be adjusted for the image. As a result, stereo matching makes it easier to search for corresponding points corresponding to designated points in the reference image in each of the first reference image and the second reference image.

また、設定部102は、例えば、基準撮像部110と第一参照撮像部111との位置関係、および、基準撮像部110と第二参照撮像部112との位置関係などに関する外部パラメータを基準画像に重畳させる画像処理を行ってもよい。 Also, the setting unit 102 sets external parameters related to, for example, the positional relationship between the reference imaging unit 110 and the first reference imaging unit 111 and the positional relationship between the reference imaging unit 110 and the second reference imaging unit 112 to the reference image. Image processing for superimposition may be performed.

一例として、設定部102は、基準撮像部110と第一参照撮像部111とが並ぶ(配置される)方向である第一基線方向(基線方向)および基準撮像部110と第二参照撮像部112とが並ぶ方向である第二基線方向(基線方向)を基準画像に重畳させてもよい。 As an example, the setting unit 102 sets the first baseline direction (baseline direction), which is the direction in which the reference imaging unit 110 and the first reference imaging unit 111 are arranged (arranged), and the reference imaging unit 110 and the second reference imaging unit 112. may be superimposed on the reference image.

カメラパラメータに基づいて画像処理が行われた基準画像における、計測対象の鉄筋のエッジに指定点を設定すれば、ユーザは、第一基線方向および第二基線方向などが重畳された画像を見ながら、より好適に計測対象の鉄筋のエッジ上の点を指定できる。これにより、設定部102は、ユーザに指定されたより好適な点を指定点として設定できる。 By setting a specified point on the edge of the reinforcing bar to be measured in the reference image that has undergone image processing based on the camera parameters, the user can , a point on the edge of the reinforcing bar to be measured can be more suitably specified. Thereby, the setting unit 102 can set a more suitable point designated by the user as the designated point.

また、設定部102は、基準画像における複数の指定点に基づいて、基準画像における、計測対象の鉄筋が配置されている方向である計測対象の鉄筋の長手方向(鉄筋方向)を算出してもよい。 The setting unit 102 may also calculate the longitudinal direction (rebar direction) of the reinforcing bar to be measured in the reference image, which is the direction in which the reinforcing bar to be measured is arranged, based on the plurality of designated points in the reference image. good.

例えば、設定部102は、基準画像における計測対象の鉄筋の2つのエッジのそれぞれに設定された複数の指定点の近似直線である2本の近似直線に沿う方向を、鉄筋方向として算出する。なお、上述の複数の指定点の近似直線とは、画像上の複数の指定点の2次元座標をフィッティングして得られる近似直線のことを指し、以下の他の点の近似直線も同様にして得られる近似直線のことを指す。 For example, the setting unit 102 calculates directions along two approximate straight lines, which are approximate straight lines of a plurality of designated points respectively set on two edges of the reinforcing bar to be measured in the reference image, as the reinforcing bar direction. The above-mentioned approximate straight line for a plurality of specified points refers to an approximate straight line obtained by fitting two-dimensional coordinates of a plurality of specified points on an image. It refers to the approximate straight line obtained.

このように、基準画像における計測対象の鉄筋のエッジごとに設定された複数の指定点の近似直線を鉄筋方向として算出することによって、計測対象の鉄筋のエッジに沿う直線を鉄筋方向として好適に算出することができる。これにより、選択部103は、第一参照画像および第二参照画像の中から、計測に使用する参照画像をより好適に選択することができる。 In this way, by calculating the approximate straight line of a plurality of specified points set for each edge of the reinforcing bar to be measured in the reference image as the reinforcing bar direction, the straight line along the edge of the reinforcing bar to be measured is preferably calculated as the reinforcing bar direction. can do. Thereby, the selection unit 103 can more preferably select the reference image to be used for measurement from the first reference image and the second reference image.

設定部102は、基準画像における計測対象の鉄筋の1つのエッジに指定点の設定が完了するごとに、計測対象の鉄筋の1つのエッジに沿う複数の指定点の近似直線を算出してもよい。設定部102は、基準画像における計測対象の鉄筋のエッジによらず、全ての指定点の設定が完了してから、2つのエッジのそれぞれに沿う複数の指定点の近似直線を算出してもよい。 The setting unit 102 may calculate an approximate straight line of a plurality of designated points along one edge of the reinforcing bar to be measured each time the setting of the designated points on one edge of the reinforcing bar to be measured in the reference image is completed. . The setting unit 102 may calculate approximate straight lines of a plurality of designated points along each of two edges after setting of all designated points is completed, regardless of the edge of the reinforcing bar to be measured in the reference image. .

このように、基準画像における指定点の近似直線を算出することによって、計測対象の鉄筋の2つのエッジのそれぞれに沿う2つの近似直線を算出することができる。これにより、計測部104は、基準画像における計測対象の鉄筋の2つの近似直線に基づいて、計測対象の鉄筋の鉄筋径を好適に算出することができる。 By calculating the approximate straight lines of the specified points in the reference image in this way, it is possible to calculate two approximate straight lines along the two edges of the reinforcing bar to be measured. Thereby, the measurement unit 104 can suitably calculate the reinforcing bar diameter of the reinforcing bar to be measured based on the two approximate straight lines of the reinforcing bar to be measured in the reference image.

設定部102は、基準画像における計測対象の鉄筋の一方(片側)のエッジの指定点と、他方のエッジの指定点とを、形状および色の少なくとも一方を異ならせて表示部101に表示させてもよい。これにより、計測対象の鉄筋の一方のエッジと、他方のエッジとのそれぞれに交互に指定点を設定したり、鉄筋の2つのエッジのそれぞれに指定点が表示されていたりしても、鉄筋の一方のエッジの指定点と、他方のエッジの指定点とを容易に識別することができる。 The setting unit 102 causes the display unit 101 to display the specified point of one (one side) edge of the reinforcing bar to be measured in the reference image and the specified point of the other edge in at least one of the shape and color. good too. This makes it possible to alternately set specified points on one edge and the other edge of the reinforcing bar to be measured, or even if specified points are displayed on each of the two edges of the reinforcing bar. A specified point on one edge and a specified point on the other edge can be easily identified.

また、設定部102は、ユーザが、基準画像における計測対象の鉄筋のエッジを、タッチパネル上で、指でなぞったり、マウスによりトラックしたりした場合、これらの1回のユーザの動作に応じて、計測対象の鉄筋のエッジ上に複数の指定点を設定してもよい。この場合、設定部102は、例えば、ユーザがなぞったり、トラックしたりした計測対象の鉄筋のエッジの開始位置と、終了位置とを、ぞれぞれ、指定点として設定してもよい。これにより、より効率的かつ好適に指定点を設定することができる。 Further, when the user traces the edge of the reinforcing bar to be measured in the reference image on the touch panel with a finger or tracks it with a mouse, the setting unit 102 performs A plurality of specified points may be set on the edge of the reinforcing bar to be measured. In this case, the setting unit 102 may set, for example, the start position and the end position of the edge of the reinforcing bar to be measured traced or tracked by the user as designated points. This makes it possible to set the designated point more efficiently and favorably.

(基準画像における指定点の設定例)
以下、図2および3を用いて、設定部102による基準画像における指定点の設定例について具体的に設定する。図2は、基準画像の一例を示す図である。具体的には、図2は、第二基線方向252と略平行な方向が長手方向となる計測対象の鉄筋22を含む、縦方向と横方向とに配筋された鉄筋が、基準撮像部110によって撮像された基準画像21を示す図である。図3は、基準画像における、拡大表示された領域の一例を示す図である。具体的には、図3は、基準画像21における、拡大表示された領域261を示す図である。
(Example of setting specified points in the reference image)
2 and 3, setting examples of the designated points in the reference image by the setting unit 102 will be specifically set. FIG. 2 is a diagram showing an example of a reference image. Specifically, in FIG. 2, reinforcing bars arranged in the vertical and horizontal directions, including the reinforcing bars 22 to be measured whose longitudinal direction is substantially parallel to the second baseline direction 252, are shown by the reference imaging unit 110. 1 is a diagram showing a reference image 21 imaged by . FIG. 3 is a diagram showing an example of an enlarged display area in the reference image. Specifically, FIG. 3 is a diagram showing an enlarged display area 261 in the reference image 21 .

図2では、設定部102は、基準撮像部110のカメラパラメータに基づき、基準撮像部110によって計測対象の鉄筋22が撮像された基準画像21に、第一基線方向251および第二基線方向252を重畳させる画像処理を行っている。 In FIG. 2, the setting unit 102 assigns a first baseline direction 251 and a second baseline direction 252 to the reference image 21 in which the reinforcing bar 22 to be measured is captured by the reference imaging unit 110 based on the camera parameters of the reference imaging unit 110. Image processing for superimposition is performed.

図2では、基準撮像部110と、第一参照撮像部111と、第二参照撮像部112とは、それぞれの撮像部のレンズが鉄筋に向いた状態で、基準撮像部110と第一参照撮像部111とが並ぶ方向(基準撮像部110に対して第一参照撮像部111が存在する方向)は、右方向となっている。また、基準撮像部110と第二参照撮像部112とが並ぶ方向(基準撮像部110に対して第二参照撮像部112が存在する方向)は、上方向になっている。 In FIG. 2 , the reference imaging unit 110, the first reference imaging unit 111, and the second reference imaging unit 112 are arranged so that the lens of each imaging unit faces the reinforcing bar. 111 (the direction in which the first reference imaging unit 111 exists with respect to the reference imaging unit 110) is the right direction. The direction in which the reference imaging unit 110 and the second reference imaging unit 112 are arranged (the direction in which the second reference imaging unit 112 exists with respect to the reference imaging unit 110) is upward.

そこで、設定部102は、基準撮像部110と第一参照撮像部111とが並ぶ右方向を示す矢印として、第一基線方向251を基準画像21に重畳する。また、設定部102は、基準撮像部110と第二参照撮像部112とが並ぶ上方向を示す矢印として、第二基線方向252を基準画像21に重畳する。 Therefore, the setting unit 102 superimposes the first baseline direction 251 on the reference image 21 as an arrow indicating the right direction in which the reference imaging unit 110 and the first reference imaging unit 111 are aligned. The setting unit 102 also superimposes the second baseline direction 252 on the reference image 21 as an arrow indicating the upward direction in which the reference imaging unit 110 and the second reference imaging unit 112 are aligned.

設定部102は、入力部100と表示部101とが一体型になったタッチパネルに表示されている基準画像21における計測対象の鉄筋22の2つのエッジを、ユーザがタッチすることによって指定した点を指定点として設定する。 The setting unit 102 sets points specified by the user by touching two edges of the reinforcing bar 22 to be measured in the reference image 21 displayed on the touch panel in which the input unit 100 and the display unit 101 are integrated. Set as a specified point.

この場合、設定部102は、基準画像21における計測対象の鉄筋22の1以上のエッジを含む領域を表示部101に拡大表示させてもよい。例えば、設定部102は、図2における、計測対象の鉄筋22の2つのエッジを含む、計測対象の鉄筋22の中心から所定範囲の領域261を、図3のように表示部101に拡大表示させてもよい。 In this case, the setting unit 102 may cause the display unit 101 to enlarge and display an area including one or more edges of the reinforcing bar 22 to be measured in the reference image 21 . For example, the setting unit 102 causes the display unit 101 to enlarge and display a region 261 within a predetermined range from the center of the reinforcing bar 22 to be measured, which includes two edges of the reinforcing bar 22 to be measured in FIG. 2, as shown in FIG. may

図3のように、基準画像21における計測対象の鉄筋22の1以上のエッジを含む領域261を拡大表示することによって、基準画像21上の計測対象の鉄筋22のエッジに設定する指定点の目安となる情報をよりわかりやすくユーザに示すことができる。これにより、ユーザは、基準画像21における計測対象の鉄筋22のエッジに指定点231、指定点232、指定点233および指定点234を指定するのが容易となる。 As shown in FIG. 3, by enlarging and displaying a region 261 including one or more edges of the reinforcing bar 22 to be measured in the reference image 21, a guideline for the specified points to be set on the edge of the reinforcing bar 22 to be measured on the reference image 21 can be obtained. This information can be presented to the user in an easy-to-understand manner. This makes it easier for the user to designate the designated points 231 , 232 , 233 and 234 on the edge of the reinforcing bar 22 to be measured in the reference image 21 .

また、基準画像21における計測対象の鉄筋22が存在する平面を示す平面情報に基づいて計測対象の鉄筋22の位置の目安を示す位置情報を算出しなくても、基準画像21上の計測対象の鉄筋22のエッジに設定する指定点の目安となる情報をユーザに示せる。上述の平面情報および位置情報に関しては、後述の実施形態3において詳細に説明する。 In addition, even if the position information indicating the approximate position of the reinforcing bar 22 to be measured is not calculated based on the plane information indicating the plane on which the reinforcing bar 22 to be measured exists in the reference image 21, the position of the measuring target on the reference image 21 is not calculated. The user can be presented with information that serves as a guideline for the specified points to be set on the edge of the reinforcing bar 22 . The plane information and position information described above will be described in detail in a third embodiment, which will be described later.

設定部102は、縦鉄筋として撮像されている計測対象の鉄筋22の2つのエッジに対するユーザの指定に基づき、計測対象の鉄筋22の一方のエッジに指定点231および指定点232を設定し、他方のエッジに指定点233および指定点234を設定する。 The setting unit 102 sets designated points 231 and 232 on one edge of the reinforcing bar 22 to be measured based on the user's designation of two edges of the reinforcing bar 22 to be measured, which are captured as vertical reinforcing bars. Designated points 233 and 234 are set on the edge of .

設定部102は、基準画像21における指定点231および指定点232と、指定点233と234とに基づいて、計測対象の鉄筋22の長手方向(鉄筋方向)を算出する。 The setting unit 102 calculates the longitudinal direction (rebar direction) of the reinforcing bar 22 to be measured based on the specified points 231 and 232 and the specified points 233 and 234 in the reference image 21 .

具体的には、設定部102は、指定点231と指定点232とを結ぶ直線241と、指定点233と指定点234とを結ぶ直線242とに基づき、計測対象の鉄筋22の鉄筋方向を算出する。図2に示す例では、鉄筋方向は、第二基線方向252と略平行な方向となる。 Specifically, the setting unit 102 calculates the reinforcement direction of the reinforcement 22 to be measured based on a straight line 241 connecting the designated points 231 and 232 and a straight line 242 connecting the designated points 233 and 234. do. In the example shown in FIG. 2 , the reinforcing bar direction is a direction substantially parallel to the second baseline direction 252 .

なお、上述の例では、設定部102は、基準画像における1つの計測対象の鉄筋のエッジに対して2つの指定点を設定したが、本実施形態では、1つの計測対象の鉄筋のエッジに対して複数の指定点を設定すればよく、例えば、3つ以上の点を設定してもよい。 In the above example, the setting unit 102 sets two specified points for one edge of the reinforcing bar to be measured in the reference image. A plurality of specified points may be set by using the arrow, and for example, three or more points may be set.

この場合、設定部102は、基準画像における一方の計測対象の鉄筋のエッジに複数の指定点の設定が完了した時点で、選定した指定点に基づいてエッジに沿う指定点の近似直線を算出してもよい。また、設定部102は、3つ以上の指定点を設定した場合には、最小二乗直線などにより、計測対象の鉄筋のエッジに沿う近似直線を算出してもよい。 In this case, the setting unit 102 calculates an approximate straight line of the specified points along the edge based on the selected specified points when the setting of the plurality of specified points on the edge of one of the reinforcing bars to be measured in the reference image is completed. may Further, when three or more specified points are set, the setting unit 102 may calculate an approximate straight line along the edge of the reinforcing bar to be measured using a least-squares straight line or the like.

(選択部103)
選択部103は、基準画像における複数の指定点に基づいて、第一参照撮像部111および第二参照撮像部112のそれぞれによって計測対象の鉄筋が撮像された第一参照画像および第二参照画像の中から、計測に使用する参照画像を選択する。選択部103は、選択した参照画像を表示部101に出力する。
(Selection unit 103)
The selection unit 103 selects a first reference image and a second reference image in which the reinforcing bars to be measured are captured by the first reference imaging unit 111 and the second reference imaging unit 112, respectively, based on a plurality of specified points in the reference image. Select a reference image to use for measurement. The selection unit 103 outputs the selected reference image to the display unit 101 .

ここで、設定部102が、基準画像における複数の指定点に基づいて鉄筋方向を算出している場合、選択部103は、基準画像における鉄筋方向と、基線方向とのなす角度に基づいて、計測に使用する参照画像を選択してもよい。 Here, when the setting unit 102 calculates the rebar direction based on a plurality of designated points in the reference image, the selection unit 103 calculates the rebar direction based on the angle formed by the rebar direction in the reference image and the baseline direction. You may choose a reference image to use for

この場合、選択部103は、第一の参照画像および第二の参照画像のうち、鉄筋方向と、各参照画像に対応する基線方向とのなす角度が最も直角に近い参照撮像部によって撮像された参照画像を、計測に使用する参照画像として選択してもよい。 In this case, the selection unit 103 selects the reference image captured by the reference imaging unit in which the angle formed by the direction of the reinforcement and the direction of the base line corresponding to each reference image is the closest to the right angle in the first reference image and the second reference image. A reference image may be selected as the reference image used for the measurements.

これにより、選択部103は、選択した参照画像に対し、基準画像の画素と、選択した参照画像の画素との対応関係を求めるステレオマッチングを行うことにより、基準画像における複数の指定点に対応する、信頼度の高い対応点が検出することができる。 As a result, the selection unit 103 performs stereo matching for the selected reference image to obtain the corresponding relationship between the pixels of the reference image and the pixels of the selected reference image. , corresponding points can be detected with high reliability.

その結果、計測部104は、基準画像における複数の指定点と、選択された参照画像における複数の対応点との差を視差として算出し、視差に基づいて計測対象の鉄筋の三次元座標を算出し、三次元座標に基づいて、計測対象の鉄筋を高精度に計測できる。 As a result, the measurement unit 104 calculates the difference between the plurality of designated points in the standard image and the plurality of corresponding points in the selected reference image as parallax, and calculates the three-dimensional coordinates of the reinforcing bar to be measured based on the parallax. Then, based on the three-dimensional coordinates, the reinforcing bar to be measured can be measured with high accuracy.

特に、縦方向の鉄筋と、横方向の鉄筋とが、同一の層の略同一箇所に配筋されている鉄筋など、配置される方向が一定でない計測対象を計測する場合、選択部103が、計測に使用する参照画像として選択することによって、高精度に計測対象を計測できる。 In particular, when measuring a measurement target in which the arrangement direction is not constant, such as a reinforcing bar in which vertical reinforcing bars and horizontal reinforcing bars are arranged in substantially the same place in the same layer, the selection unit 103 By selecting it as a reference image to be used for measurement, the measurement target can be measured with high accuracy.

(参照画像の選択例1)
以下、図2~5を用いて、選択部103による、第一の参照画像および第二の参照画像のうち、計測に使用する参照画像の選択例1について説明する。
(Reference image selection example 1)
An example 1 of selection of a reference image to be used for measurement from the first reference image and the second reference image by the selection unit 103 will be described below with reference to FIGS.

図4は、第一参照画像の一例を示す図である。具体的には、図4は、図2に示す基準画像21に対応する、第一参照撮像部111によって撮像された第一参照画像211を示す図である。図5は、第二参照画像の一例を示す図である。具体的には、図5は、図2に示す基準画像21に対応する、第二参照撮像部112によって撮像された第二参照画像212を示す図である。 FIG. 4 is a diagram showing an example of the first reference image. Specifically, FIG. 4 is a diagram showing a first reference image 211 captured by the first reference imaging unit 111 corresponding to the reference image 21 shown in FIG. FIG. 5 is a diagram showing an example of the second reference image. Specifically, FIG. 5 is a diagram showing a second reference image 212 captured by the second reference imaging section 112 corresponding to the reference image 21 shown in FIG.

図4では、設定部102は、基準撮像部110に対して水平右方向に存在している第一参照撮像部111によって撮像された第一参照画像211が、基準画像21に対し、水平右方向から撮像された画像となるように、ステレオ平行化処理を行っている。同様に、図5では、設定部102は、基準撮像部110に対して垂直上方向に存在している第二参照撮像部112によって撮像された第二参照画像212が、基準画像21に対し、垂直上方向から撮像された画像となるように、ステレオ平行化処理を行っている。 In FIG. 4 , the setting unit 102 determines that the first reference image 211 captured by the first reference imaging unit 111, which exists in the horizontal right direction with respect to the reference imaging unit 110, is positioned in the horizontal right direction with respect to the reference image 21. Stereo parallelization processing is performed so that the image is captured from the Similarly, in FIG. 5 , the setting unit 102 causes the second reference image 212 captured by the second reference imaging unit 112, which exists vertically above the reference imaging unit 110, to correspond to the reference image 21. Stereo parallelization processing is performed so that the image is taken from the vertical direction.

選択部103は、ステレオマッチングにより、第一参照画像211および第二参照画像212のそれぞれにおいて、基準画像21における各指定点の注目画素と類似度が高い、基準画像21における各指定点の注目画素に対応する画素を探索する。 By stereo matching, the selection unit 103 selects a pixel of interest at each designated point in the reference image 21 that has a high degree of similarity with the pixel of interest at each designated point in the reference image 21 in each of the first reference image 211 and the second reference image 212. Search for pixels corresponding to .

例えば、選択部103は、第一参照画像211において、第一参照画像211に対応する第一基線方向251と平行な鉄筋の長手方向を走査して、基準画像21における指定点231および指定点232の注目画素と類似度が高い、対応する画素を探索する。同様に、選択部103は、第二参照画像212において、第二参照画像212に対応する第二基線方向252と平行な鉄筋の長手方向を走査して、基準画像21における指定点231および指定点232の注目画素と類似度が高い、対応する画素を探索する。 For example, the selection unit 103 scans the longitudinal direction of the reinforcing bar parallel to the first baseline direction 251 corresponding to the first reference image 211 in the first reference image 211 to A search is made for a corresponding pixel that has a high degree of similarity with the target pixel of . Similarly, the selection unit 103 scans the longitudinal direction of the reinforcing bars in the second reference image 212 in parallel with the second baseline direction 252 corresponding to the second reference image 212 to obtain the specified point 231 and the specified point in the reference image 21 . A search is made for a corresponding pixel that has a high degree of similarity with the 232 pixels of interest.

ここで、図4では、第一基線方向251に対して、第一参照画像211における計測対象の鉄筋22のエッジは略垂直である。そのため、基準画像21における指定点231および指定点232の注目画素と類似度が高い画素が、第一参照画像211の探索領域に少ない。そのため、図4の第一参照画像211においては、基準画像21における指定点231および指定点232の対応点の探索が容易であり、信頼度の高い対応点を検出することができる。 Here, in FIG. 4 , the edge of the reinforcing bar 22 to be measured in the first reference image 211 is substantially perpendicular to the first baseline direction 251 . Therefore, there are few pixels in the search area of the first reference image 211 that have a high degree of similarity with the pixels of interest of the designated points 231 and 232 in the reference image 21 . Therefore, in the first reference image 211 of FIG. 4, it is easy to search for corresponding points of the designated points 231 and 232 in the reference image 21, and highly reliable corresponding points can be detected.

一方、図5では、第二基線方向252に対して、第二参照画像212における計測対象の鉄筋22のエッジは略平行である。そのため、基準画像21における指定点231および指定点232の注目画素と類似度が高い画素が、第二参照画像212の探索領域に多い。そのため、図5の第二参照画像212においては、基準画像21における指定点231および指定点232の対応点の探索が困難であり、信頼度の高い対応点を検出することができない。 On the other hand, in FIG. 5 , the edge of the reinforcing bar 22 to be measured in the second reference image 212 is substantially parallel to the second baseline direction 252 . Therefore, there are many pixels in the search area of the second reference image 212 that have a high degree of similarity with the pixels of interest of the designated points 231 and 232 in the reference image 21 . Therefore, in the second reference image 212 of FIG. 5, it is difficult to search for corresponding points of the designated points 231 and 232 in the reference image 21, and highly reliable corresponding points cannot be detected.

そこで、選択部103は、基準画像21における指定点231および指定点232の対応点の探索が容易であり、信頼度の高い対応点を検出することができる第一参照画像211を、計測に使用する参照画像として選択する。 Therefore, the selection unit 103 uses the first reference image 211 in which it is easy to search for corresponding points of the designated points 231 and 232 in the reference image 21 and can detect highly reliable corresponding points for measurement. to select as a reference image.

これにより、計測部104は、基準画像21における複数の指定点と、第一参照画像211における複数の対応点との視差に基づいて、計測対象の鉄筋22の三次元座標を算出し、三次元座標に基づいて、計測対象の鉄筋22を高精度に計測することができる。 Thereby, the measurement unit 104 calculates the three-dimensional coordinates of the reinforcing bar 22 to be measured based on the parallax between the plurality of designated points in the base image 21 and the plurality of corresponding points in the first reference image 211, and Based on the coordinates, the reinforcing bar 22 to be measured can be measured with high accuracy.

このように、計測対象の鉄筋22の鉄筋方向と基線方向とのなす角度がより直角に近い第一参照画像211において、基準画像21における指定点231および指定点232の対応点を探索することによって、対応点の信頼度が向上し、高精度な計測が可能となる。 In this way, in the first reference image 211 in which the angle between the reinforcing bar direction of the reinforcing bar 22 to be measured and the baseline direction is closer to a right angle, the corresponding points of the specified points 231 and 232 in the reference image 21 are searched for. , the reliability of corresponding points is improved, and highly accurate measurement becomes possible.

(参照画像の選択例2)
以下、図6~8を用いて、選択部103による、第一の参照画像および第二の参照画像のうち、計測に使用する参照画像の選択例2について説明する。
(Reference image selection example 2)
An example 2 of selection of the reference image to be used for measurement from the first reference image and the second reference image by the selection unit 103 will be described below with reference to FIGS.

図6は、基準画像の一例を示す図である。具体的には、図6は、第一基線方向251と略平行な方向が長手方向となる計測対象の鉄筋22aを含む、縦方向と横方向とに配筋された鉄筋が、基準撮像部110によって撮像された基準画像21aを示す図である。図7は、第一参照画像の一例を示す図である。具体的には、図7は、図6に示す基準画像21aに対応する、第一参照撮像部111によって撮像された第一参照画像211aを示す図である。図8は、第二参照画像の一例を示す図である。具体的には、図8は、図6に示す基準画像21aに対応する、第二参照撮像部112によって撮像された第二参照画像212aを示す図である。 FIG. 6 is a diagram showing an example of a reference image. Specifically, in FIG. 6, reinforcing bars arranged in the vertical and horizontal directions, including the reinforcing bar 22a to be measured whose longitudinal direction is substantially parallel to the first baseline direction 251, are shown by the reference imaging unit 110. It is a figure which shows the reference|standard image 21a imaged by. FIG. 7 is a diagram showing an example of the first reference image. Specifically, FIG. 7 is a diagram showing a first reference image 211a captured by the first reference imaging section 111 corresponding to the reference image 21a shown in FIG. FIG. 8 is a diagram showing an example of the second reference image. Specifically, FIG. 8 is a diagram showing a second reference image 212a captured by the second reference imaging section 112 corresponding to the reference image 21a shown in FIG.

選択部103は、ステレオマッチングにより、第一参照画像211aおよび第二参照画像212aのそれぞれにおいて、基準画像21aにおける各指定点の注目画素と類似度が高い、対応する画素を探索する。 By stereo matching, the selection unit 103 searches each of the first reference image 211a and the second reference image 212a for a corresponding pixel that is highly similar to the target pixel of each specified point in the reference image 21a.

選択部103は、第一参照画像211aにおいて、第一参照画像211aに対応する第一基線方向251と平行な鉄筋の長手方向を走査し、基準画像21aにおける指定点231aおよび指定点232aの注目画素と類似度が高い、対応する画素を探索する。同様に、選択部103は、第二参照画像212aにおいて、第二参照画像212aに対応する第二基線方向252と平行な鉄筋の長手方向を走査して、基準画像21における指定点231aおよび指定点232aの注目画素と類似度が高い、対応する画素を探索する。 The selection unit 103 scans the longitudinal direction of the reinforcing bars in the first reference image 211a in parallel with the first baseline direction 251 corresponding to the first reference image 211a, and selects pixels of interest of the specified points 231a and 232a in the standard image 21a. Search for corresponding pixels that have a high degree of similarity with . Similarly, in the second reference image 212a, the selection unit 103 scans the longitudinal direction of the reinforcement parallel to the second baseline direction 252 corresponding to the second reference image 212a, and selects the designated point 231a and the designated point in the reference image 21. A search is made for a corresponding pixel that is highly similar to the pixel of interest in 232a.

ここで、図7では、第一基線方向251に対して、第一参照画像211aにおける計測対象の鉄筋22aのエッジが略平行であるため、基準画像21aにおける指定点231aおよび指定点232aの注目画素と類似度が高い画素が探索領域に多い。そのため、図7の第一参照画像211aにおいては、基準画像21aにおける指定点231aおよび指定点232aの対応点の探索が困難であり、信頼度の高い対応点を検出できない。 Here, in FIG. 7, since the edge of the reinforcing bar 22a to be measured in the first reference image 211a is substantially parallel to the first baseline direction 251, the pixels of interest of the specified points 231a and 232a in the reference image 21a There are many pixels with high similarity in the search area. Therefore, in the first reference image 211a of FIG. 7, it is difficult to search for corresponding points between the designated points 231a and 232a in the reference image 21a, and highly reliable corresponding points cannot be detected.

一方、図8では、第二基線方向252に対して、第二参照画像212aにおける計測対象の鉄筋22aのエッジが略垂直であるため、基準画像21aにおける指定点231aおよび指定点232aの注目画素と類似度が高い画素が探索領域に少ない。そのため、図8の第二参照画像212aにおいては、基準画像21aにおける指定点231aおよび指定点232aの対応点の探索が容易であり、信頼度の高い対応点を検出することができる。 On the other hand, in FIG. 8, since the edge of the reinforcing bar 22a to be measured in the second reference image 212a is substantially perpendicular to the second baseline direction 252, the pixels of interest of the specified points 231a and 232a in the reference image 21a There are few pixels with high similarity in the search area. Therefore, in the second reference image 212a of FIG. 8, it is easy to search for corresponding points of the designated points 231a and 232a in the reference image 21a, and highly reliable corresponding points can be detected.

そこで、選択部103は、基準画像21aにおける指定点231aおよび指定点232aの対応点の探索が容易であり、信頼度の高い対応点を検出することができる第二参照画像212aを、計測に使用する参照画像として選択する。 Therefore, the selection unit 103 uses the second reference image 212a for measurement, in which it is easy to search for corresponding points of the specified points 231a and 232a in the reference image 21a, and from which corresponding points can be detected with high reliability. to select as a reference image.

これにより、計測部104は、基準画像21aにおける複数の指定点と、第二参照画像212aにおける複数の対応点との視差に基づいて、計測対象の鉄筋22aの三次元座標を算出し、三次元座標に基づいて、計測対象の鉄筋22aを高精度に計測できる。 Thereby, the measurement unit 104 calculates the three-dimensional coordinates of the reinforcing bar 22a to be measured based on the parallax between the plurality of designated points in the reference image 21a and the plurality of corresponding points in the second reference image 212a, and Based on the coordinates, the reinforcing bar 22a to be measured can be measured with high accuracy.

計測対象の鉄筋22aの長手方向と基線方向とのなす角度がより直角に近い第二参照画像212aにおいて、基準画像21aにおける指定点231aおよび指定点232aの対応点を探索することにより、対応点の信頼度が向上し、高精度な計測が可能となる。 In the second reference image 212a in which the angle formed by the longitudinal direction of the reinforcing bar 22a to be measured and the base line direction is closer to a right angle, the corresponding points of the designated points 231a and 232a in the reference image 21a are searched for. Reliability is improved, and highly accurate measurement becomes possible.

(計測部104)
計測部104は、基準画像と、第一参照画像および第二参照画像のうち、選択部103によって選択された参照画像とに基づいて、計測対象の鉄筋の鉄筋径および鉄筋間隔などを計測する。計測部104は、計測した鉄筋の鉄筋径および鉄筋間隔などを、表示部101および記憶部105の少なくとも一方に計測結果として出力する。
(Measurement unit 104)
The measuring unit 104 measures the reinforcing bar diameter, reinforcing bar interval, and the like of the reinforcing bar to be measured based on the reference image and the reference image selected by the selecting unit 103 from among the first reference image and the second reference image. The measuring unit 104 outputs the measured reinforcing bar diameter, reinforcing bar spacing, and the like to at least one of the display unit 101 and the storage unit 105 as a measurement result.

計測部104は、設定部102によって画像処理が行われた基準画像と、設定部102によって画像処理が行われた第一参照画像および第二参照画像のうち、選択部103によって選択された参照画像とに基づいて、計測対象の鉄筋を計測してもよい。 The measurement unit 104 selects the reference image selected by the selection unit 103 from among the reference image subjected to image processing by the setting unit 102 and the first reference image and the second reference image subjected to image processing by the setting unit 102. You may measure the reinforcement to be measured based on.

計測部104は、パソコン上でプログラムを動作させたり、FPGA(Field Programmable Gate Array)およびASIC(Application Specific Integrated Circuit)などのデバイスにより処理したりすることによって実現される。 The measurement unit 104 is implemented by running a program on a personal computer or by performing processing using devices such as FPGAs (Field Programmable Gate Arrays) and ASICs (Application Specific Integrated Circuits).

(計測部104による鉄筋径の計測例1)
以下、計測部104による鉄筋径の計測例1について説明する。計測部104は、基準画像における計測対象の鉄筋の2つのエッジごとに設定された複数の指定点と、選択部103によって選択された参照画像とに基づいて、計測対象の鉄筋の鉄筋径を計測する。
(Measurement example 1 of reinforcing bar diameter by measuring unit 104)
A measurement example 1 of the reinforcing bar diameter by the measuring unit 104 will be described below. The measuring unit 104 measures the reinforcing bar diameter of the reinforcing bar to be measured based on a plurality of specified points set for each two edges of the reinforcing bar to be measured in the reference image and the reference image selected by the selecting unit 103. do.

具体的には、計測部104は、基準画像における計測対象の鉄筋の2つのエッジごとに設定された複数の指定点と、選択部103によって選択された参照画像における基準画像の複数の指定点に対応する複数の対応点との視差とに基づき、鉄筋の鉄筋径を計測する。 Specifically, the measurement unit 104 connects a plurality of specified points set for each two edges of the reinforcing bar to be measured in the reference image and a plurality of specified points of the reference image in the reference image selected by the selection unit 103. The diameter of the reinforcing bar is measured based on the parallax with the corresponding corresponding points.

より具体的には、計測部104は、基準画像の複数の指定点と、選択部103に選択された参照画像の複数の対応点との視差および三角測量の原理に基づき、測定対象の鉄筋の三次元座標を算出し、測定対象の鉄筋の三次元座標に基づき、鉄筋の鉄筋径を計測する。 More specifically, the measurement unit 104 determines the rebar to be measured based on the principle of parallax and triangulation between a plurality of designated points in the reference image and a plurality of corresponding points in the reference image selected by the selection unit 103. Three-dimensional coordinates are calculated, and the reinforcing bar diameter of the reinforcing bar is measured based on the three-dimensional coordinates of the reinforcing bar to be measured.

さらに具体的には、計測部104は、基準画像と選択された参照画像との視差に基づき、基準撮像部110から計測対象の鉄筋までの撮像距離を算出し、撮像距離に基づき、測定対象の鉄筋の三次元座標を算出し、三次元座標に基づき、鉄筋の鉄筋径を計測する。 More specifically, the measurement unit 104 calculates the imaging distance from the reference imaging unit 110 to the reinforcing bar to be measured based on the parallax between the reference image and the selected reference image, and calculates the distance of the measurement target based on the imaging distance. The three-dimensional coordinates of the reinforcing bar are calculated, and the diameter of the reinforcing bar is measured based on the three-dimensional coordinates.

この場合、計測部104は、視差Dと、基準撮像部110の焦点距離fと、基準撮像部110と選択された参照画像に対応する参照撮像部との距離を示す基線長Bとを、式D=f×B/Zに代入し、基準撮像部110から計測対象の鉄筋までの撮像距離Zを求める。 In this case, the measurement unit 104 calculates the parallax D, the focal length f of the reference imaging unit 110, and the base length B indicating the distance between the reference imaging unit 110 and the reference imaging unit corresponding to the selected reference image by using the following formula: Substitute D=f×B/Z to obtain the imaging distance Z from the reference imaging unit 110 to the reinforcing bar to be measured.

続いて、計測部104は、基準画像における計測対象の鉄筋の2つのエッジごとに設定された複数の指定点の近似直線である、2つの近似直線上の向かい合う2つの点の三次元座標を算出し、これらの2つの点の距離を鉄筋径として算出する。 Next, the measurement unit 104 calculates the three-dimensional coordinates of two points facing each other on two approximate straight lines, which are approximate straight lines of a plurality of specified points set for each of two edges of the reinforcing bar to be measured in the reference image. and the distance between these two points is calculated as the reinforcing bar diameter.

この場合、計測部104は、基準画像における計測対象の鉄筋の2つのエッジに沿う指定点の近似直線上の点の画像上の座標(x、y)と、三次元座標(X、Y、Z)との関係式X=x×Z/fおよびY=y×Z/fに基づき、2つの点の三次元座標を算出する。 In this case, the measurement unit 104 calculates the coordinates (x, y) on the image of the point on the approximate straight line of the specified point along the two edges of the reinforcing bar to be measured in the reference image, and the three-dimensional coordinates (X, Y, Z ), the three-dimensional coordinates of the two points are calculated based on the relational expressions X=x×Z/f and Y=y×Z/f.

このように、基準画像と参照画像との視差に基づいて、計測対象の鉄筋の三次元座標を算出し、三次元座標に基づいて、計測対象の鉄筋を計測する場合、上述のように、選択部103によって選択された参照画像を用いることによって、高精度に鉄筋を計測できる。 In this way, when the three-dimensional coordinates of the reinforcing bar to be measured are calculated based on the parallax between the standard image and the reference image, and the reinforcing bar to be measured is measured based on the three-dimensional coordinates, the selection is performed as described above. By using the reference image selected by the unit 103, the reinforcing bar can be measured with high accuracy.

(計測部104による鉄筋径の計測例2)
鉄筋径の計測例1では、計測部104は、基準画像における指定点と、選択部103によって選択された参照画像における対応点との視差に基づき、計測対象の鉄筋の鉄筋径を算出している。ただし、本実施形態では、計測部104は、基準画像と参照画像との視差に基づき、計測対象の鉄筋の鉄筋径を算出すれば、任意の方法によって算出された視差に基づき、計測対象の鉄筋の鉄筋径を算出してもよい。
(Measurement example 2 of the reinforcing bar diameter by the measuring unit 104)
In measurement example 1 of the reinforcing bar diameter, the measuring unit 104 calculates the reinforcing bar diameter of the reinforcing bar to be measured based on the parallax between the designated point in the reference image and the corresponding point in the reference image selected by the selection unit 103. . However, in the present embodiment, if the measuring unit 104 calculates the diameter of the reinforcing bar to be measured based on the parallax between the standard image and the reference image, the measuring unit 104 can calculate the diameter of the reinforcing bar to be measured based on the parallax calculated by an arbitrary method. You may calculate the diameter of the reinforcing bar.

例えば、計測部104は、基準画像における計測対象の鉄筋のエッジごとに設定された複数の指定点の近似直線と、選択された参照画像における複数の対応点の近似直線との視差に基づき、計測対象の鉄筋の鉄筋径を算出してもよい。 For example, the measurement unit 104 performs the measurement based on the parallax between the approximate straight lines of the plurality of designated points set for each edge of the reinforcing bar to be measured in the reference image and the approximate straight lines of the plurality of corresponding points in the selected reference image. The reinforcing bar diameter of the target reinforcing bar may be calculated.

(計測部104による鉄筋径の計測例3)
上述の鉄筋径の計測例1では、計測部104は、基準画像における計測対象の鉄筋の2つのエッジに沿う2つの近似直線上の向かい合う2つの点の三次元座標を算出し、これらの2つの点の距離を、そのまま鉄筋径として算出している。ただし、本実施形態における計測部104による鉄筋径の計測方法は、上述の鉄筋径の計測例1に示した方法に限定されない。
(Measurement example 3 of reinforcing bar diameter by measuring unit 104)
In the above-described reinforcing bar diameter measurement example 1, the measuring unit 104 calculates the three-dimensional coordinates of two points facing each other on two approximate straight lines along the two edges of the reinforcing bar to be measured in the reference image. The distance between the points is directly calculated as the reinforcing bar diameter. However, the method of measuring the reinforcing bar diameter by the measuring unit 104 in this embodiment is not limited to the method shown in the above-described example 1 of measuring the reinforcing bar diameter.

本実施形態における計測部104による鉄筋径の計測方法では、例えば、計測部104が、基準画像における計測対象の鉄筋の2つのエッジに沿う2つの近似直線上の向かい合う複数の点同士の距離の平均値を、鉄筋径として算出してもよい。 In the method of measuring the reinforcing bar diameter by the measuring unit 104 in this embodiment, for example, the measuring unit 104 averages the distances between a plurality of points facing each other on two approximate straight lines along two edges of the reinforcing bar to be measured in the reference image. Values may be calculated as rebar diameters.

(計測部104による鉄筋間隔の計測例)
計測部104は、上述の鉄筋径の計測例1~3と同様の方法により求めた、基準画像における第一の計測対象の2つのエッジに沿う2つの近似直線と、第二の計測対象の2つのエッジに沿う2つの近似直線とに基づき、計測対象の鉄筋の鉄筋間隔を計測してもよい。
(Example of measurement of reinforcing bar spacing by measuring unit 104)
The measurement unit 104 obtains two approximate straight lines along the two edges of the first measurement target in the reference image and the two Based on two approximation straight lines along one edge, the rebar spacing of the rebar to be measured may be measured.

具体的には、計測部104は、第一の計測対象の2つの近似直線の中心軸上の点の三次元座標と、当該点と向かい合う、第二の計測対象の2つの近似直線の中心軸上の点の三次元座標とに基づき、これらの2つの点の距離を鉄筋間隔として算出してもよい。 Specifically, the measurement unit 104 measures the three-dimensional coordinates of a point on the central axis of the two approximate straight lines of the first measurement target, and the central axes of the two approximate straight lines of the second measurement target facing the point. The distance between these two points may be calculated as the rebar spacing, based on the three-dimensional coordinates of the points above.

また、計測部104は、第一の計測対象の2つの近似直線の中心軸上と、第二の計測対象の2つの近似直線の中心軸上とで向かい合う複数の点同士の距離の平均値を鉄筋間隔として算出してもよい。 In addition, the measurement unit 104 calculates the average value of the distances between a plurality of points facing each other on the central axes of the two approximate straight lines of the first measurement target and on the central axes of the two approximate straight lines of the second measurement target. You may calculate it as a reinforcing-bar space|interval.

(記憶部105)
記憶部105は、計測対象の鉄筋が撮像された画像および計測結果を記憶する。
(storage unit 105)
The storage unit 105 stores the captured image of the reinforcing bar to be measured and the measurement result.

記憶部105は、例えば、ハードディスクおよびフラッシュメモリなどの不揮発性メモリを備えることによって実現される。 The storage unit 105 is implemented, for example, by including a nonvolatile memory such as a hard disk and flash memory.

〔計測装置1の制御方法〕
次に、図9を用いて、実施形態1に係る計測装置1の制御方法を説明する。図9は、実施形態1に係る計測装置の制御方法の一例を示すフローチャートである。
[Control method of measuring device 1]
Next, a control method for the measuring device 1 according to the first embodiment will be described with reference to FIG. 9 . 9 is a flowchart illustrating an example of a control method for the measuring device according to Embodiment 1. FIG.

(ステップS101)
計測装置1における画像処理装置10の入力部100は、基準画像、第一参照画像および第二参照画像の入力を受け付ける。
(Step S101)
The input unit 100 of the image processing device 10 in the measurement device 1 receives inputs of the standard image, the first reference image, and the second reference image.

画像処理装置10の入力部100は、入力を受け付けた基準画像を表示部101に表示させてもよい。 The input unit 100 of the image processing apparatus 10 may cause the display unit 101 to display the received reference image.

(ステップS102)
画像処理装置10における設定部102は、基準撮像部110によって計測対象の鉄筋が撮像された基準画像における、鉄筋対象の鉄筋の2つのエッジごとに複数の指定点を設定する。
(Step S102)
The setting unit 102 in the image processing apparatus 10 sets a plurality of specified points for each two edges of the reinforcing bar to be measured in the reference image in which the reinforcing bar to be measured is captured by the reference imaging unit 110 .

例えば、まず、設定部102は、表示部101に表示されている基準画像における計測対象の鉄筋の一方のエッジに複数の指定点を設定する。次に、設定部102は、基準画像における計測対象の鉄筋の他方のエッジに複数の指定点を設定する。設定部102は、基準画像における計測対象の鉄筋の一方のエッジに設定された複数の指定点の近似直線と、他方のエッジに設定された複数の指定点の近似直線とに基づき、計測対象の鉄筋の鉄筋方向を算出する。 For example, first, the setting unit 102 sets a plurality of specified points on one edge of the reinforcing bar to be measured in the reference image displayed on the display unit 101 . Next, the setting unit 102 sets a plurality of designated points on the other edge of the reinforcing bar to be measured in the reference image. The setting unit 102 determines the measurement target based on the approximate straight line of the plurality of designated points set on one edge of the reinforcing bar to be measured in the reference image and the approximate straight line of the plurality of designated points set on the other edge. Calculate the rebar orientation of the rebar.

(ステップS103)
画像処理装置10における選択部103は、基準画像における複数の指定点に基づいて、第一参照画像および第二参照画像のうち、計測に使用する参照画像を選択する。
(Step S103)
A selection unit 103 in the image processing apparatus 10 selects a reference image to be used for measurement from among the first reference image and the second reference image based on the plurality of specified points in the reference image.

例えば、選択部103は、基準画像における計測対象の鉄筋の鉄筋方向に基づいて、第一参照画像および第二参照画像のうち、計測に使用する参照画像を選択する。また、基準画像における計測対象の鉄筋方向と、基準撮像部と複数の参照撮像部のそれぞれとが並ぶ方向である基線方向と、のなす角度に基づいて計測に使用する参照画像を選択してもよい。 For example, the selection unit 103 selects the reference image to be used for measurement from the first reference image and the second reference image based on the reinforcement direction of the reinforcement to be measured in the reference image. Alternatively, a reference image to be used for measurement may be selected based on the angle between the direction of the reinforcing bar to be measured in the reference image and the baseline direction, which is the direction in which the reference imaging unit and each of the plurality of reference imaging units are aligned. good.

(ステップS104)
画像処理装置10における計測部104は、基準画像と、第一参照画像および第二参照画像のうち、選択部103によって選択された参照画像とに基づいて、計測対象の鉄筋を計測する。
(Step S104)
The measurement unit 104 in the image processing apparatus 10 measures the reinforcing bars to be measured based on the reference image and the reference image selected by the selection unit 103 from among the first reference image and the second reference image.

<実施形態1の変形例>
上述の例では、計測装置1における画像処理装置10の計測部104は、は鉄筋を計測対象として計測しているが、本実施形態では、計測装置1は、鉄筋以外の計測対象を計測してもよい。
<Modification of Embodiment 1>
In the above example, the measuring unit 104 of the image processing device 10 in the measuring device 1 measures reinforcing bars as measurement targets, but in the present embodiment, the measuring device 1 measures measurement targets other than reinforcing bars. good too.

計測対象は、基準画像と参照画像との視差に基づいて計測できる物体であれば特に限定されず、任意の三次元形状の物体であってもよい。ただし、長手方向を算出できる円柱状、円錐状、角柱状、角錐状および板状(例えば、薄板)などの物体である場合、計測装置1によって高精度に計測できる。 The object to be measured is not particularly limited as long as it can be measured based on the parallax between the standard image and the reference image, and may be any three-dimensional object. However, in the case of objects such as cylinders, cones, prisms, pyramids, and plates (for example, thin plates) whose longitudinal direction can be calculated, the measurement device 1 can measure them with high accuracy.

また、上述の例では、計測装置1における画像処理装置10の設定部102は、基準画像における計測対象の鉄筋の2つのエッジごとに複数の指定点を設定している。ただし、本実施形態では、設定部102は、基準画像における計測対象の1つのエッジに複数の指定点を設定してもよい。 In the above example, the setting unit 102 of the image processing device 10 in the measuring device 1 sets a plurality of specified points for each two edges of the reinforcing bar to be measured in the reference image. However, in this embodiment, the setting unit 102 may set a plurality of designated points on one edge of the measurement target in the reference image.

このように、基準画像における計測対象の1つのエッジのみに複数の指定点を設定した場合でも、計測部104は、計測対象を計測することができる。例えば、計測部104は、エッジに沿う複数の指定点の近似直線の三次元座標に基づき、円柱状、円錐状、角柱状、角錐状または板状の物体である計測対象の歪みなどを好適に計測することができる。 In this way, even when a plurality of specified points are set on only one edge of the measurement target in the reference image, the measurement unit 104 can measure the measurement target. For example, the measurement unit 104 preferably determines the distortion of a cylindrical, conical, prismatic, pyramidal, or plate-shaped object to be measured based on the three-dimensional coordinates of the approximate straight line of a plurality of specified points along the edge. can be measured.

〔計測装置1の制御方法〕
次に、図10を用いて、実施形態1の変形例に係る計測装置1の制御方法を説明する。図10は、実施形態1の変形例に係る計測装置1の制御方法の一例を示すフローチャートである。図10のステップS111、S113およびS114は、図9のステップS101、S103およびS104と同様であるため、ここではその説明を省略する。
[Control method of measuring device 1]
Next, a control method of the measuring device 1 according to the modified example of the first embodiment will be described with reference to FIG. 10 . FIG. 10 is a flow chart showing an example of a control method for the measuring device 1 according to the modification of the first embodiment. Steps S111, S113, and S114 in FIG. 10 are the same as steps S101, S103, and S104 in FIG. 9, so description thereof will be omitted here.

(ステップS112)
計測装置1における画像処理装置10の設定部102は、基準撮像部110によって計測対象が撮像された基準画像における、鉄筋対象の1つのエッジに複数の指定点を設定する。
(Step S112)
The setting unit 102 of the image processing device 10 in the measuring device 1 sets a plurality of designated points on one edge of the reinforcing bar target in the reference image obtained by imaging the measurement target by the reference imaging unit 110 .

<実施形態2>
実施形態1に係る計測装置1では、選択部103によって選択された参照画像における計測対象の鉄筋のエッジに指定点を設定していない。ただし、本発明に係る計測装置は、実施形態2に係る計測装置1Xのように、選択部103Xによって選択された参照画像における計測対象の鉄筋のエッジごとに複数の指定点を設定してもよい。
<Embodiment 2>
In the measuring apparatus 1 according to the first embodiment, no designated point is set on the edge of the reinforcing bar to be measured in the reference image selected by the selection unit 103 . However, the measuring device according to the present invention may set a plurality of designated points for each edge of the reinforcing bar to be measured in the reference image selected by the selecting unit 103X, like the measuring device 1X according to the second embodiment. .

以下、図11~14を用いて、実施形態2に係る計測装置1Xについて説明する。なお、説明の便宜上、上述の実施形態にて説明した部材と同じ機能を有する部材については、同じ符号を付記し、その説明を省略する。 The measurement device 1X according to the second embodiment will be described below with reference to FIGS. 11 to 14. FIG. For convenience of description, members having the same functions as those of the members described in the above-described embodiments are denoted by the same reference numerals, and their descriptions are omitted.

〔計測装置1X〕
図11は、実施形態2に係る計測装置1Xの構成の一例を示すブロック図である。図11のように、計測装置1Xは、実施形態1に係る画像処理装置10の代わりに、画像処理装置10Xを備えている。この点以外は、実施形態2に係る計測装置1Xは、実施形態1に係る計測装置1と同様の構成である。
[Measuring device 1X]
FIG. 11 is a block diagram showing an example of the configuration of the measuring device 1X according to the second embodiment. As shown in FIG. 11, the measuring device 1X includes an image processing device 10X instead of the image processing device 10 according to the first embodiment. Except for this point, the measuring device 1X according to the second embodiment has the same configuration as the measuring device 1 according to the first embodiment.

〔画像処理装置10X〕
実施形態2に係る画像処理装置10Xは、実施形態1における設定部102、選択部103および計測部104の代わりに、設定部102X、選択部103Xおよび計測部104Xを備えている。この点以外は、実施形態2に係る画像処理装置10Xは、実施形態1に係る画像処理装置10と同様の構成である。
[Image processing device 10X]
An image processing apparatus 10X according to the second embodiment includes a setting unit 102X, a selection unit 103X, and a measurement unit 104X instead of the setting unit 102, the selection unit 103, and the measurement unit 104 in the first embodiment. Except for this point, the image processing apparatus 10X according to the second embodiment has the same configuration as the image processing apparatus 10 according to the first embodiment.

(設定部102X)
設定部102Xは、第一参照画像および第二参照画像のうち、選択部103Xによって選択された参照画像において、計測対象の鉄筋の2つのエッジごとに複数の指定点を設定する。
(Setting unit 102X)
The setting unit 102X sets a plurality of designated points for each two edges of the reinforcing bar to be measured in the reference image selected by the selection unit 103X from among the first reference image and the second reference image.

設定部102Xは、基準画像における計測対象の鉄筋の2つのエッジごとに複数の指定点を設定した方法と同様の方法により、選択部103Xによって選択された参照画像における、計測対象の鉄筋の2つのエッジごとに複数の指定点を設定することができる。 The setting unit 102X selects the two edges of the reinforcing bar to be measured in the reference image selected by the selecting unit 103X by a method similar to the method of setting a plurality of specified points for each of the two edges of the reinforcing bar to be measured in the reference image. Multiple designated points can be set for each edge.

例えば、設定部102Xは、入力部100を介して、選択部103Xによって選択された参照画像における、鉄筋の2つのエッジごとに、ユーザが指定した複数の点を指定点として設定する。 For example, the setting unit 102X sets, via the input unit 100, a plurality of points specified by the user for each two edges of the reinforcing bar in the reference image selected by the selection unit 103X.

一例として、設定部102Xは、選択された参照画像が、タッチパネルに表示されている場合、ユーザが参照画像における計測対象の鉄筋の2つのエッジをタッチすることによって指定した点を、指定点として設定してもよい。このとき、設定部102Xは、選択された参照画像上に、基準画像における指定点に対応する対応点を表示部101に表示させてもよい。 As an example, when the selected reference image is displayed on the touch panel, the setting unit 102X sets points specified by the user by touching two edges of the reinforcing bar to be measured in the reference image as specified points. You may At this time, the setting unit 102X may cause the display unit 101 to display corresponding points corresponding to the specified points in the reference image on the selected reference image.

これにより、選択された参照画像における対応点が基準画像における計測対象の鉄筋に対応する計測対象の鉄筋のエッジから外れた位置にあっても、設定部102Xは、当該計測対象の鉄筋のエッジ上の位置など、ユーザの所望の位置に指定点を設定できる。すなわち、設定部102Xは、基準画像における指定点の位置と、選択された参照画像における対応点の位置とのずれを好適に調整することができる。また、基準画像における計測対象の鉄筋に対応する、参照画像における計測対象の鉄筋をより好適に検出することができる。 As a result, even if the corresponding point in the selected reference image is located outside the edge of the reinforcing bar to be measured corresponding to the reinforcing bar to be measured in the reference image, the setting unit 102X can set the corresponding point on the edge of the reinforcing bar to be measured. The designated point can be set at a desired position of the user, such as the position of . That is, the setting unit 102X can preferably adjust the deviation between the position of the specified point in the reference image and the position of the corresponding point in the selected reference image. Further, it is possible to more preferably detect the reinforcing bars to be measured in the reference image corresponding to the reinforcing bars to be measured in the reference image.

設定部102Xは、記憶部105に記憶された、選択された参照画像を撮像した参照撮像部のカメラパラメータに基づき、当該参照画像に画像処理を行い、画像処理が行われた参照画像における計測対象の鉄筋の2つのエッジごとに複数の指定点を設定してもよい。 The setting unit 102X performs image processing on the reference image based on the camera parameters of the reference imaging unit that captured the selected reference image, stored in the storage unit 105, and determines the measurement target in the image-processed reference image. A plurality of designated points may be set for each two edges of the rebar.

この場合、設定部102Xは、上述の基準画像に対する画像処理と同様の画像処理を、選択された参照画像に行ってもよい。例えば、設定部102Xは、基準撮像部110と第一参照撮像部111とが並ぶ方向である第一基線方向、および、基準撮像部110と第二参照撮像部112とが並ぶ方向である第二基線方向を、選択された参照画像に重畳させる画像処理を行ってもよい。 In this case, the setting unit 102X may perform the same image processing as the above-described image processing for the reference image on the selected reference image. For example, the setting unit 102X sets the first baseline direction in which the standard imaging unit 110 and the first reference imaging unit 111 are aligned, and the second baseline direction in which the standard imaging unit 110 and the second reference imaging unit 112 are aligned. Image processing may be performed to superimpose the baseline direction on the selected reference image.

カメラパラメータに基づいて画像処理を行った参照画像における、計測対象の鉄筋のエッジに指定点を設定すれば、ユーザは、第一基線方向および第二基線方向などが重畳された画像を見ながら、より好適に計測対象の鉄筋のエッジ上の点を選択できる。これにより、設定部102Xは、ユーザに選択されたより好適な点を指定点として設定できる。 By setting a designated point on the edge of the rebar to be measured in the reference image that has undergone image processing based on camera parameters, the user can A point on the edge of the reinforcing bar to be measured can be selected more preferably. Thereby, the setting unit 102X can set the more suitable point selected by the user as the designated point.

設定部102Xは、基準画像における計測対象の長手方向の算出と同様に、参照画像における計測対象の鉄筋の2つのエッジのそれぞれに設定された複数の指定点の近似直線である2本の近似直線に沿う方向を、鉄筋方向として算出してもよい。 Similar to the calculation of the longitudinal direction of the measurement target in the reference image, the setting unit 102X sets two approximate straight lines that are approximate straight lines of a plurality of specified points set on each of the two edges of the reinforcing bar to be measured in the reference image. You may calculate the direction along this as a reinforcing-bar direction.

このように、参照画像における計測対象の鉄筋のエッジに沿う近似直線を鉄筋方向として算出することによって、計測対象の鉄筋のエッジに沿う直線を鉄筋方向として好適に算出することができる。これにより、計測部104は、基準画像における計測対象のエッジの近似直線と、参照画像における計測対象のエッジの近似直線との視差に基づいて、計測対象の鉄筋の三次元座標を算出し、三次元座標に基づいて、計測対象の鉄筋をより高精度に計測できる。 In this way, by calculating the approximate straight line along the edge of the reinforcing bar to be measured in the reference image as the reinforcing bar direction, it is possible to suitably calculate the straight line along the edge of the reinforcing bar to be measured as the reinforcing bar direction. Accordingly, the measurement unit 104 calculates the three-dimensional coordinates of the reinforcing bar to be measured based on the parallax between the approximate straight line of the edge of the measurement target in the reference image and the approximate straight line of the edge of the measurement target in the reference image, Based on the original coordinates, the reinforcing bars to be measured can be measured with higher accuracy.

設定部102Xは、基準画像における計測対象の鉄筋のエッジに沿う近似直線の算出と同様に、選択された参照画像における計測対象の鉄筋の1つのエッジに指定点の設定が完了するごとに、計測対象の鉄筋の1つのエッジに沿う近似直線を算出してもよい。設定部102Xは、選択された参照画像における計測対象の鉄筋のエッジによらず、全ての指定点の設定が完了してから、2つのエッジのそれぞれに沿う指定点の近似直線を算出してもよい。 The setting unit 102X calculates the approximate straight line along the edge of the reinforcing bar to be measured in the reference image each time the setting of the specified point on one edge of the reinforcing bar to be measured in the selected reference image is completed. An approximate straight line may be calculated along one edge of the rebar of interest. Even if the setting unit 102X calculates the approximate straight line of the designated points along each of the two edges after the setting of all the designated points is completed, regardless of the edge of the reinforcing bar to be measured in the selected reference image. good.

設定部102Xは、基準画像における計測対象の鉄筋のエッジの指定点と同様に、参照画像における計測対象の鉄筋の一方のエッジの指定点と、他方のエッジの指定点とを、形状および色の少なくとも一方を異ならせて表示部101に表示させてもよい。 The setting unit 102X sets the specified point of one edge of the reinforcing bar to be measured in the reference image and the specified point of the other edge of the reinforcing bar to be measured in the reference image in the same manner as the specified point of the edge of the reinforcing bar to be measured in the reference image. At least one of them may be displayed on the display unit 101 differently.

また、設定部102Xは、ユーザが、参照画像における計測対象の鉄筋のエッジを、タッチパネル上で、指でなぞったり、マウスによりトラックしたりした場合、これらの1回のユーザの動作に応じて、計測対象の鉄筋のエッジ上に複数の指定点を設定してもよい。 Further, when the user traces the edge of the reinforcing bar to be measured in the reference image on the touch panel with a finger or tracks it with a mouse, the setting unit 102X performs A plurality of specified points may be set on the edge of the reinforcing bar to be measured.

(参照画像における指定点の設定例)
以下、図2、12および13を用いて、設定部102Xによる参照画像における指定点の設定例について具体的に設定する。図12は、参照画像の一例を示す図である。具体的には、図12は、第二基線方向252と略平行な方向が長手方向となる計測対象の鉄筋22を含む、縦方向と横方向とに配筋された鉄筋が、第一参照撮像部111によって撮像された第一参照画像211bを示す図である。図13は、第一参照画像における、拡大表示された領域の一例を示す図である。具体的には、図13は、第一参照画像211bにおける拡大表示された領域2611を示す図である。
(Example of setting a specified point in a reference image)
2, 12 and 13, setting examples of the designated points in the reference image by the setting unit 102X will be specifically set. FIG. 12 is a diagram showing an example of a reference image. Specifically, FIG. 12 shows that the reinforcing bars arranged in the vertical and horizontal directions, including the reinforcing bars 22 to be measured whose longitudinal direction is substantially parallel to the second baseline direction 252, are shown in the first reference imaging. FIG. 11 is a diagram showing a first reference image 211b captured by a unit 111; FIG. 13 is a diagram showing an example of an enlarged display area in the first reference image. Specifically, FIG. 13 is a diagram showing an enlarged display area 2611 in the first reference image 211b.

まず、設定部102Xは、図2に示す基準画像21における計測対象の鉄筋22の2つのエッジにおける指定点231と232とを結ぶ直線241、および、指定点233と234とを結ぶ直線242を算出する。その後、選択部103Xは、基準画像21における直線241および242に基づき、計測対象の鉄筋22の鉄筋方向を算出し、計測対象の鉄筋22の鉄筋方向に基づき、図12に示す第一参照画像211bを計測に用いる参照画像として選択する。 First, the setting unit 102X calculates a straight line 241 connecting designated points 231 and 232 and a straight line 242 connecting designated points 233 and 234 on two edges of the reinforcing bar 22 to be measured in the reference image 21 shown in FIG. do. After that, the selection unit 103X calculates the reinforcing bar direction of the reinforcing bar 22 to be measured based on the straight lines 241 and 242 in the reference image 21, and based on the reinforcing bar direction of the reinforcing bar 22 to be measured, the first reference image 211b shown in FIG. is selected as the reference image for measurement.

設定部102Xは、第一参照撮像部111によって計測対象の鉄筋22が撮像された第一参照画像211bに、図2に示す基準画像21における指定点231~234に対応する対応点2311、対応点2321、対応点2331および対応点2341を重畳させる画像処理を行う。 The setting unit 102X adds corresponding points 2311 corresponding to the specified points 231 to 234 in the reference image 21 shown in FIG. 2321, the corresponding point 2331 and the corresponding point 2341 are superimposed.

また、設定部102Xは、第一参照撮像部111のカメラパラメータに基づき、第一参照撮像部111によって計測対象の鉄筋22が撮像された第一参照画像211bに、第一基線方向251および第二基線方向252を重畳させる画像処理を行う。 Further, based on the camera parameters of the first reference imaging unit 111, the setting unit 102X adds the first baseline direction 251 and the second Image processing is performed to superimpose the baseline direction 252 .

図12では、基準撮像部110と、第一参照撮像部111と、第二参照撮像部112とは、それぞれの撮像部のレンズが鉄筋に向いた状態で、第一基線方向251と、第二基線方向252とに示す位置関係となるように配置されている。 In FIG. 12, the reference imaging unit 110, the first reference imaging unit 111, and the second reference imaging unit 112 are configured such that the lens of each imaging unit faces the reinforcing bar, and the first baseline direction 251 and the second It is arranged so as to have a positional relationship shown in the base line direction 252 .

設定部102Xは、入力部100と表示部101とが一体型になったタッチパネルに表示されている第一参照画像211bにおける計測対象の鉄筋22の2つのエッジを、ユーザがタッチすることによって指定した点を指定点として設定する。 The setting unit 102X designates two edges of the reinforcing bar 22 to be measured in the first reference image 211b displayed on the touch panel in which the input unit 100 and the display unit 101 are integrated, by the user touching. Set a point as a specified point.

この場合、設定部102Xは、第一参照画像211bにおける計測対象の鉄筋22の1以上のエッジを含む領域を表示部101に拡大表示させてもよい。例えば、設定部102Xは、図12における、計測対象の鉄筋22の2つのエッジを含む、計測対象の鉄筋22の中心から所定範囲の領域2611を、図13のように拡大表示してもよい。 In this case, the setting unit 102X may cause the display unit 101 to enlarge and display an area including one or more edges of the reinforcing bar 22 to be measured in the first reference image 211b. For example, the setting unit 102X may enlarge and display an area 2611 within a predetermined range from the center of the reinforcing bar 22 to be measured, which includes two edges of the reinforcing bar 22 to be measured in FIG. 12, as shown in FIG.

図13のように、第一参照画像211bにおける計測対象の鉄筋22の1以上のエッジを含む領域2611を拡大表示することにより、第一参照画像211b上の計測対象の鉄筋22のエッジに設定する指定点の目安となる情報をよりわかりやすくユーザに示せる。これにより、ユーザは、第一参照画像211bにおける計測対象の鉄筋22のエッジに指定点531、指定点532、指定点533および指定点534を指定するのが容易となる。 As shown in FIG. 13, a region 2611 including one or more edges of the reinforcing bar 22 to be measured in the first reference image 211b is enlarged and displayed to set the edge of the reinforcing bar 22 to be measured in the first reference image 211b. Information that serves as a guideline for designated points can be presented to the user in an easy-to-understand manner. This makes it easier for the user to designate the designated points 531, 532, 533, and 534 on the edge of the reinforcing bar 22 to be measured in the first reference image 211b.

また、第一参照画像211b上の計測対象の鉄筋22を含む平面を示す平面情報に基づき計測対象の鉄筋22の位置の目安を示す位置情報を算出せず、第一参照画像211b上の計測対象の鉄筋22のエッジに設定する指定点の目安となる情報をユーザに示せる。 Further, the position information indicating the approximate position of the reinforcing bar 22 to be measured is not calculated based on the plane information indicating the plane including the reinforcing bar 22 to be measured on the first reference image 211b. The user can be presented with information that serves as a guideline for the specified points to be set on the edge of the reinforcing bar 22 .

設定部102Xは、縦鉄筋として撮像されている計測対象の鉄筋22の2つのエッジに対するユーザの指定に基づき、計測対象の鉄筋22の一方のエッジに指定点531および指定点532を設定し、他方のエッジに指定点533および指定点534を設定する。 The setting unit 102X sets a designated point 531 and a designated point 532 on one edge of the reinforcing bar 22 to be measured based on the user's designation of two edges of the reinforcing bar 22 to be measured, which are captured as vertical reinforcing bars. Designated points 533 and 534 are set on the edge of .

次に、設定部102Xは、基準画像21における指定点531および指定点532と、指定点533および指定点534とに基づいて、計測対象の鉄筋22の鉄筋方向を算出する。 Next, the setting unit 102X calculates the reinforcing bar direction of the reinforcing bar 22 to be measured based on the specified points 531 and 532 and the specified points 533 and 534 in the reference image 21 .

具体的には、設定部102Xは、指定点531と指定点532とを結ぶ直線541と、指定点533と指定点534とを結ぶ直線542とに基づき、計測対象の鉄筋22の鉄筋方向を、第二基線方向252に示す上方向と略平行な方向として算出する。 Specifically, the setting unit 102X sets the direction of the reinforcing bar 22 to be measured based on a straight line 541 connecting the specified points 531 and 532 and a straight line 542 connecting the specified points 533 and 534. It is calculated as a direction substantially parallel to the upward direction indicated by the second baseline direction 252 .

図12では、対応点2311、2321、2331および2341は、計測対象の鉄筋22のエッジから外れているが、計測対象の鉄筋22のエッジ上に指定点531、532、533および534を設定することによって、好適にずれを調整することができる。 In FIG. 12, the corresponding points 2311, 2321, 2331 and 2341 are off the edge of the reinforcing bar 22 to be measured, but the specified points 531, 532, 533 and 534 can be set on the edge of the reinforcing bar 22 to be measured. , the deviation can be suitably adjusted.

なお、上述の例では、設定部102Xは、参照画像における1つの計測対象の鉄筋のエッジに対して2つの指定点を設定したが、本実施形態では、1つの計測対象の鉄筋のエッジに対して複数の指定点を設定すればよく、例えば、3つ以上の点を指定してもよい。 In the above example, the setting unit 102X sets two specified points for one edge of the reinforcing bar to be measured in the reference image. A plurality of designated points may be set by using the arrow, and for example, three or more points may be designated.

この場合、設定部102Xは、基準画像における計測対象の鉄筋のエッジに沿う近似直線の算出と同様に、参照画像における一方の計測対象の鉄筋のエッジに複数の指定点の設定が完了した時点で、指定点に基づきエッジに沿う指定点の近似直線を算出してもよい。また、設定部102Xは、3つ以上の指定点を設定した場合には、最小二乗直線などにより、計測対象の鉄筋のエッジに沿う近似直線を算出してもよい。 In this case, the setting unit 102X, similar to the calculation of the approximate straight line along the edge of the reinforcing bar to be measured in the reference image, sets a plurality of specified points on one edge of the reinforcing bar to be measured in the reference image. , an approximate straight line of the specified points along the edge may be calculated based on the specified points. Further, when setting three or more specified points, the setting unit 102X may calculate an approximate straight line along the edge of the reinforcing bar to be measured using a least-squares straight line or the like.

(選択部103X)
選択部103Xは、計測に使用する参照画像を選択した後、選択した参照画像を表示部101に表示させる。これにより、設定部102Xは、選択部103Xによって選択された参照画像において、計測対象の鉄筋の2つのエッジごとに複数の指定点を好適に設定することができる。
(Selection unit 103X)
After selecting a reference image to be used for measurement, the selection unit 103X causes the display unit 101 to display the selected reference image. Thereby, the setting unit 102X can preferably set a plurality of designated points for each two edges of the reinforcing bar to be measured in the reference image selected by the selection unit 103X.

(計測部104X)
計測部104Xは、基準画像における計測対象の鉄筋の2つのエッジごとに設定された複数の指定点と、選択部103Xによって選択された参照画像における計測対象の2つのエッジごとに設定された複数の指定点との視差とに基づき、計測対象の鉄筋を計測する。
(Measurement unit 104X)
The measurement unit 104X selects a plurality of specified points set for each two edges of the reinforcing bar to be measured in the reference image and a plurality of points set for each two edges of the measurement target in the reference image selected by the selection unit 103X. The rebar to be measured is measured based on the parallax with the specified point.

計測部104Xは、基準画像における計測対象の鉄筋のエッジごとに設定された複数の指定点の近似直線と、選択された参照画像における計測対象のエッジごとに設定された複数の指定点の近似直線との視差に基づき、計測対象の鉄筋を計測してもよい。 The measurement unit 104X generates an approximate straight line of a plurality of designated points set for each edge of the reinforcing bar to be measured in the reference image and an approximate straight line of a plurality of designated points set to each edge of the measurement target in the selected reference image. The rebar to be measured may be measured based on the parallax between .

計測部104Xは、基準画像における指定点と参照画像における指定点との視差、または、基準画像における指定点の近似直線と、参照画像における指定点の近似直線との視差に基づいて計測対象の鉄筋の三次元座標を算出する。計測部104Xは、三次元座標に基づいて、計測対象の鉄筋の鉄筋径および鉄筋間隔などを計測する。 The measuring unit 104X determines the rebar to be measured based on the parallax between the specified point in the standard image and the specified point in the reference image, or the parallax between the approximate straight line of the specified point in the standard image and the approximate straight line of the specified point in the reference image. Calculate the three-dimensional coordinates of The measuring unit 104X measures the reinforcing bar diameter, the reinforcing bar interval, and the like of the reinforcing bar to be measured based on the three-dimensional coordinates.

このように、上述の視差に基づいて計測対象の鉄筋を計測することにより、基準画像の指定点と参照画像の対応点との視差に基づいて計測対象の鉄筋を計測する場合よりも、高精度に計測対象の鉄筋を計測することができる。 In this way, by measuring the reinforcing bar to be measured based on the above-described parallax, the accuracy is higher than when measuring the reinforcing bar to be measured based on the parallax between the specified point in the standard image and the corresponding point in the reference image. It is possible to measure the rebar to be measured.

(計測部104Xによる鉄筋径の計測例)
以下、図2および12を用いて、計測部104Xによる鉄筋径の計測例について説明する。
(Example of measurement of reinforcing bar diameter by measuring unit 104X)
An example of measuring the diameter of the reinforcing bar by the measuring unit 104X will be described below with reference to FIGS. 2 and 12. FIG.

計測部104Xは、基準画像における計測対象の鉄筋の2つのエッジに設定された複数の指定点の近似直線と、選択された参照画像における計測対象の2つのエッジに設定された複数の指定点の近似直線との視差に基づき、計測対象の鉄筋の鉄筋径を計測する。 The measurement unit 104X approximates a straight line of a plurality of specified points set on two edges of the reinforcing bar to be measured in the reference image and a plurality of specified points set on the two edges of the measurement target on the selected reference image. Based on the parallax with the approximate straight line, the diameter of the reinforcing bar to be measured is measured.

以下、図2のように、設定部102Xが、基準画像21における計測対象の鉄筋22の一方のエッジに指定点231および232を設定し、他方のエッジに指定点233と234とを結ぶ直線242を設定した場合について説明する。 2, the setting unit 102X sets designated points 231 and 232 on one edge of the reinforcing bar 22 to be measured in the reference image 21, and sets a straight line 242 connecting the designated points 233 and 234 on the other edge. is set.

この場合、計測対象の鉄筋22の鉄筋方向は第二基線方向252となるため、選択部103Xは、参照画像に対応する基線方向が第二基線方向252に直角な第一基線方向251となる、図12に示す第一参照画像211bを計測に用いる参照画像として選択する。 In this case, since the reinforcing bar direction of the reinforcing bar 22 to be measured is the second baseline direction 252, the selection unit 103X selects the first baseline direction 251 in which the baseline direction corresponding to the reference image is perpendicular to the second baseline direction 252. A first reference image 211b shown in FIG. 12 is selected as a reference image to be used for measurement.

続いて、選択部103Xは、図12のように、第一参照画像211bにおける計測対象の鉄筋22の一方のエッジに指定点531および指定点532を設定し、他方のエッジに指定点533および指定点534を設定する。 Subsequently, as shown in FIG. 12, the selection unit 103X sets designated points 531 and 532 on one edge of the reinforcing bar 22 to be measured in the first reference image 211b, and sets designated points 533 and 532 on the other edge. Point 534 is set.

計測部104Xは、基準画像21における指定点231と232とを結ぶ直線241と、直線241に対応する、第一参照画像211bにおける指定点531と指定点532とを結ぶ直線541との視差に基づき、計測対象の鉄筋22の鉄筋径を計測する。 Based on the parallax between the straight line 241 connecting the designated points 231 and 232 in the reference image 21 and the straight line 541 corresponding to the straight line 241 and connecting the designated points 531 and 532 in the first reference image 211b , measure the reinforcing bar diameter of the reinforcing bar 22 to be measured.

計測部104Xは、基準画像における指定点233と234とを結ぶ直線242と、直線242に対応する、第一参照画像211bにおける指定点533と指定点534とを結ぶ直線542との視差に基づき、計測対象の鉄筋22の鉄筋径を計測してもよい。また、計測部104Xは、上述の2つの視差の平均値に基づき、計測対象の鉄筋22の鉄筋径を計測してもよい。 Based on the parallax between a straight line 242 connecting the designated points 233 and 234 in the reference image and a straight line 542 corresponding to the straight line 242 and connecting the designated points 533 and 534 in the first reference image 211b, The reinforcing bar diameter of the reinforcing bar 22 to be measured may be measured. Further, the measurement unit 104X may measure the diameter of the reinforcing bar 22 to be measured based on the average value of the two parallaxes.

計測部104Xは、算出した視差に基づき、上述と同様に、基準画像21の測定対象の鉄筋22の直線241および242上の点の三次元座標を算出し、直線241および242上の点の三次元座標に基づき、計測対象の鉄筋22の鉄筋径を計測する。 Based on the calculated parallax, the measurement unit 104X calculates the three-dimensional coordinates of the points on the straight lines 241 and 242 of the reinforcing bar 22 to be measured in the reference image 21 in the same manner as described above, and calculates the three-dimensional coordinates of the points on the straight lines 241 and 242. The reinforcing bar diameter of the reinforcing bar 22 to be measured is measured based on the original coordinates.

ここで、設定部102Xが図6に示す第二参照画像212における計測対象の鉄筋22のエッジごとに複数の指定点を設定し、複数の指定点の近似直線を算出した場合、近似直線の方向と、第二基線方向252とが略平行になり、算出した視差の信頼度が低下する。 Here, when the setting unit 102X sets a plurality of specified points for each edge of the reinforcing bar 22 to be measured in the second reference image 212 shown in FIG. , the second baseline direction 252 becomes substantially parallel, and the reliability of the calculated parallax decreases.

これに対し、設定部102Xが、計測対象の鉄筋22の鉄筋方向と、基線方向とのなす角度がより直角に近い第一参照画像211bにおいて指定点を設定することにより、計測部104Xは、高精度に計測対象の鉄筋22を計測することができる。 On the other hand, the setting unit 102X sets a designated point in the first reference image 211b in which the angle formed by the reinforcing bar direction of the reinforcing bar 22 to be measured and the baseline direction is closer to a right angle. The reinforcing bar 22 to be measured can be measured with accuracy.

なお、計測部104Xは、視差を求めた後、実施形態1と同様の方法によって、鉄筋間隔を計測することができる。 After obtaining the parallax, the measurement unit 104X can measure the distance between reinforcing bars by the same method as in the first embodiment.

〔計測装置1Xの制御方法〕
次に、図14を用いて、実施形態2に係る計測装置1Xの制御方法を説明する。図14は、実施形態2に係る計測装置1Xの制御方法の一例を示すフローチャートである。図14のステップS201およびS202は、図9のステップS101およびS102と同様であるため、ここではその説明を省略する。
[Method for controlling measuring device 1X]
Next, a control method for the measuring device 1X according to the second embodiment will be described with reference to FIG. FIG. 14 is a flow chart showing an example of a control method for the measuring device 1X according to the second embodiment. Steps S201 and S202 in FIG. 14 are the same as steps S101 and S102 in FIG. 9, and therefore description thereof is omitted here.

(ステップS203)
計測装置1Xにおける画像処理装置10Xの設定部102Xは、実施形態1における設定部102と同様に計測に使用する参照画像を選択した後、選択した参照画像を表示部101に表示させる。
(Step S203)
A setting unit 102X of an image processing device 10X in the measurement device 1X selects a reference image to be used for measurement, similarly to the setting unit 102 in the first embodiment, and then causes the display unit 101 to display the selected reference image.

(ステップS204)
計測装置1Xにおける画像処理装置10Xの設定部102Xは、選択部103Xによって選択された参照画像における、計測対象の鉄筋の2つのエッジごとに複数の指定点を設定する。
(Step S204)
The setting unit 102X of the image processing device 10X in the measuring device 1X sets a plurality of designated points for each two edges of the reinforcing bar to be measured in the reference image selected by the selection unit 103X.

例えば、設定部102Xは、まず、表示部101に表示されている選択された参照画像における計測対象の鉄筋の一方のエッジに複数の指定点を設定する。次に、設定部102Xは、選択された参照画像における計測対象の鉄筋の他方のエッジに複数の指定点を設定する。設定部102Xは、参照画像における計測対象の鉄筋の一方のエッジに設定された複数の指定点の近似直線と、他方のエッジに設定された複数の指定点の近似直線とに基づき、計測対象の鉄筋の鉄筋方向を算出する。 For example, the setting unit 102X first sets a plurality of designated points on one edge of the reinforcing bar to be measured in the selected reference image displayed on the display unit 101 . Next, the setting unit 102X sets a plurality of designated points on the other edge of the reinforcing bar to be measured in the selected reference image. The setting unit 102X determines the measurement target based on the approximate straight line of the plurality of designated points set on one edge of the reinforcing bar of the measurement target in the reference image and the approximate straight line of the plurality of designated points set on the other edge. Calculate the rebar orientation of the rebar.

(ステップS205)
画像処理装置10Xの計測部104Xは、基準画像における計測対象の鉄筋の2つのエッジごとに設定された複数の指定点と、選択された参照画像における計測対象の2つのエッジごとに設定された複数の指定点との視差とに基づき、計測対象の鉄筋を計測する。
(Step S205)
The measurement unit 104X of the image processing apparatus 10X calculates a plurality of designated points set for each two edges of the reinforcing bar to be measured in the reference image and a plurality of designated points set for each two edges of the measurement target in the selected reference image. The rebar to be measured is measured based on the parallax with the specified point.

例えば、計測部104Xは、基準画像における計測対象の鉄筋のエッジごとに設定された複数の指定点の近似直線と、選択された参照画像における計測対象のエッジごとに設定された複数の指定点の近似直線との視差に基づき、計測対象の鉄筋を計測する。 For example, the measurement unit 104X may measure an approximate straight line of a plurality of specified points set for each edge of the reinforcing bar to be measured in the reference image and a plurality of specified points set for each edge to be measured in the selected reference image. The rebar to be measured is measured based on the parallax with the approximate straight line.

<実施形態2の変形例>
上述の例では、設定部102Xは、基準画像における計測対象の鉄筋の2つのエッジごとに複数の指定点を設定し、2つのエッジごとに設定された複数の指定点の近似直線である2つの近似直線に基づいて鉄筋方向を算出している。また、選択部103Xは、設定部102Xが、基準画像における計測対象の2つのエッジごとに指定点を設定した後、設定部102Xが算出した鉄筋方向に基づき、計測に用いる参照画像を選択している。すなわち、上述の例では、設定部102Xが、基準画像において、計測対象の両側のエッジに沿った近似直線に基づいて鉄筋方向を算出した後、選択部103Xは、鉄筋方向に基づき、計測に用いる参照画像を選択している。
<Modification of Embodiment 2>
In the above example, the setting unit 102X sets a plurality of designated points for each two edges of the reinforcing bar to be measured in the reference image, and sets two approximate straight lines of the plurality of designated points set for each of the two edges. The rebar direction is calculated based on the approximate straight line. Further, after the setting unit 102X sets the designated points for each of the two edges to be measured in the reference image, the selection unit 103X selects the reference image to be used for measurement based on the reinforcing bar direction calculated by the setting unit 102X. there is That is, in the above example, after the setting unit 102X calculates the reinforcing bar direction based on the approximate straight line along the edges on both sides of the measurement target in the reference image, the selecting unit 103X uses the reinforcing bar direction for measurement. You have selected a reference image.

このように、上述の例では、設定部102Xは、基準画像における計測対象の鉄筋の長手方向に沿った両方のエッジに複数の指定点を設定した後、選択された参照画像における計測対象の鉄筋の長手方向に沿った両方のエッジに複数の指定点を設定している。 Thus, in the above example, the setting unit 102X sets a plurality of specified points on both edges along the longitudinal direction of the rebar to be measured in the reference image, and then sets the rebar to be measured in the selected reference image. You set multiple points on both edges along the length of the .

ただし、本実施形態では、設定部102Xは、基準画像における計測対象の鉄筋の一方のエッジに設定された複数の指定点の近似直線に基づいて鉄筋方向を算出してもよい。また、選択部103Xは、設定部102Xが、基準画像における計測対象の鉄筋の一方のエッジに複数の指定点が設定され、鉄筋方向が算出された時点で、鉄筋方向に基づき、計測に用いる参照画像を選択してもよい。 However, in the present embodiment, the setting unit 102X may calculate the rebar direction based on the approximate straight line of a plurality of specified points set on one edge of the rebar to be measured in the reference image. Further, when the setting unit 102X sets a plurality of specified points on one edge of the reinforcing bar to be measured in the reference image and calculates the reinforcing bar direction, the selecting unit 103X selects the reference point used for measurement based on the reinforcing bar direction. You can choose an image.

設定部102Xは、選択部103Xによって参照画像が選択された後、基準画像における計測対象の鉄筋のエッジのうち、指定点が設定されたエッジに対応する、選択された参照画像における計測対象の鉄筋の一方のエッジに複数の指定点を設定する。 After the reference image is selected by the selection unit 103X, the setting unit 102X selects the reinforcing bar to be measured in the selected reference image corresponding to the edge for which the designated point is set, among the edges of the reinforcing bar to be measured in the reference image. Set multiple specified points on one edge of .

続いて、設定部102Xは、基準画像における計測対象の鉄筋の他方のエッジに複数の指定点を設定し、基準画像における計測対象の鉄筋の他方のエッジに対応する、選択された参照画像における計測対象の他方のエッジに複数の指定点を設定してもよい。 Subsequently, the setting unit 102X sets a plurality of specified points on the other edge of the reinforcing bar to be measured in the reference image, and performs measurement in the selected reference image corresponding to the other edge of the reinforcing bar to be measured in the reference image. A plurality of designated points may be set on the other edge of the object.

このように、設定部102Xは、基準画像における計測対象の鉄筋の1つのエッジに対する複数の指定点の設定と、選択された参照画像における計測対象の鉄筋の1つのエッジに対する複数の指定点の設定とを交互に行ってもよい。すなわち、設定部102Xは、基準画像および参照画像における計測対象のエッジに指定点を設定するタイミングを上述の例と異ならせてもよい。このとき、設定部102Xは、基準画像における指定点の設定と、選択された参照画像における指定点の設定とをそれぞれ行う前に、それぞれ、基準画像および選択された参照画像を表示部101に表示させる。 In this way, the setting unit 102X sets a plurality of specified points for one edge of the reinforcing bar to be measured in the reference image, and sets a plurality of specified points for one edge of the reinforcing bar to be measured in the selected reference image. and may be performed alternately. That is, the setting unit 102X may change the timing of setting the designated point on the edge of the measurement target in the standard image and the reference image from the above example. At this time, the setting unit 102X displays the standard image and the selected reference image on the display unit 101, respectively, before setting the specified point in the standard image and setting the specified point in the selected reference image. Let

これにより、基準画像における対応点が基準画像における計測対象の鉄筋に対応する計測対象の鉄筋のエッジから外れた位置にあっても、設定部102Xは、逐一、参照画像における当該計測対象の鉄筋のエッジ上など、ユーザの所望の位置に指定点を設定できる。 As a result, even if the corresponding point in the reference image is located outside the edge of the rebar to be measured corresponding to the rebar to be measured in the reference image, the setting unit 102X can determine the rebar to be measured in the reference image one by one. A designated point can be set at a user-desired position, such as on an edge.

すなわち、設定部102Xは、基準画像における指定点の位置と、選択された参照画像における対応点の位置とのずれを、基準画像における計測対象の鉄筋の1つのエッジに指定点を設定するたびに、逐一、調整することができる。その結果、基準画像における計測対象の鉄筋に対応する、参照画像における計測対象の鉄筋をさらに好適に検出することができる。 That is, the setting unit 102X calculates the deviation between the position of the specified point in the standard image and the position of the corresponding point in the selected reference image each time the specified point is set on one edge of the reinforcing bar to be measured in the standard image. , can be adjusted step by step. As a result, the reinforcing bar to be measured in the reference image corresponding to the reinforcing bar to be measured in the reference image can be more preferably detected.

〔計測装置1Xの制御方法〕
次に、図15を用いて、実施形態2の変形例に係る計測装置1Xの制御方法を説明する。図15は、実施形態2の変形例に係る計測装置1Xの制御方法の一例を示すフローチャートである。図15のステップS211およびS213は、図14のステップS201およびS203と同様であるため、ここではその説明を省略する。
[Method for controlling measuring device 1X]
Next, a control method of the measuring device 1X according to the modified example of the second embodiment will be described with reference to FIG. FIG. 15 is a flow chart showing an example of a method for controlling the measuring device 1X according to the modified example of the second embodiment. Steps S211 and S213 in FIG. 15 are the same as steps S201 and S203 in FIG. 14, and therefore description thereof is omitted here.

(ステップS212)
計測装置1Xにおける画像処理装置10Xの設定部102Xは、基準撮像部110によって計測対象の鉄筋が撮像された基準画像における、鉄筋対象の鉄筋の一方のエッジに複数の指定点を設定する。
(Step S212)
The setting unit 102X of the image processing device 10X in the measuring device 1X sets a plurality of designated points on one edge of the reinforcing bar to be measured in the reference image in which the reinforcing bar to be measured is captured by the reference imaging unit 110 .

例えば、まず、設定部102Xは、表示部101に表示されている基準画像における計測対象の鉄筋の一方のエッジに複数の指定点を設定する。次に、設定部102Xは、基準画像における計測対象の鉄筋の一方のエッジに設定された複数の指定点の近似直線に基づき、計測対象の鉄筋の鉄筋方向を算出する。 For example, first, the setting unit 102X sets a plurality of designated points on one edge of the reinforcing bar to be measured in the reference image displayed on the display unit 101 . Next, the setting unit 102X calculates the rebar direction of the rebar to be measured based on the approximate straight line of the plurality of specified points set on one edge of the rebar to be measured in the reference image.

(ステップS214)
計測装置1Xにおける画像処理装置10Xの設定部102Xは、選択部103Xによって選択された参照画像における、計測対象の鉄筋の一方のエッジに複数の指定点を設定する。
(Step S214)
The setting unit 102X of the image processing device 10X in the measurement device 1X sets a plurality of designated points on one edge of the reinforcing bar to be measured in the reference image selected by the selection unit 103X.

設定部102Xは、当該指定点を設定した後、表示部101に基準画像を表示させる。 After setting the designated point, the setting unit 102X causes the display unit 101 to display the reference image.

(ステップS215)
設定部102Xは、基準画像における計測対象の他方のエッジに複数の指定点を設定する。
(Step S215)
The setting unit 102X sets a plurality of specified points on the other edge of the measurement target in the reference image.

設定部102Xは、当該指定点を設定した後、表示部101に選択された参照画像を表示させる。 After setting the designated point, the setting unit 102X causes the display unit 101 to display the selected reference image.

(ステップS216)
設定部102Xは、選択された参照画像における計測対象の他方のエッジに複数の指定点を設定する。
(Step S216)
The setting unit 102X sets a plurality of designated points on the other edge of the measurement target in the selected reference image.

その後、設定部102Xは、参照画像における計測対象の鉄筋の一方のエッジに設定された複数の指定点の近似直線と、他方のエッジに設定された複数の指定点の近似直線とに基づき、計測対象の鉄筋の鉄筋方向を算出してもよい。 After that, the setting unit 102X performs the measurement based on the approximate straight line of the plurality of designated points set on one edge of the reinforcing bar to be measured in the reference image and the approximate straight line of the plurality of designated points set on the other edge. The reinforcing bar direction of the target reinforcing bar may be calculated.

<実施形態3>
本発明に係る計測装置は、実施形態3に係る計測装置1Yのように、計測対象が存在する平面を示す平面情報に基づいて、選択部によって選択された参照画像に、当該参照画像における計測対象の位置の目安を示す位置情報を重畳させる画像処理を行ってもよい。
<Embodiment 3>
The measuring apparatus according to the present invention, like the measuring apparatus 1Y according to the third embodiment, includes a reference image selected by the selection unit based on plane information indicating a plane in which the measurement target exists. Image processing may be performed to superimpose position information indicating the approximate position of .

以下、図16~20を用いて、実施形態3に係る計測装置1Yについて説明する。なお、説明の便宜上、上述の実施形態にて説明した部材と同じ機能を有する部材については、同じ符号を付記し、その説明を省略する。 The measuring device 1Y according to the third embodiment will be described below with reference to FIGS. 16 to 20. FIG. For convenience of description, members having the same functions as those of the members described in the above-described embodiments are denoted by the same reference numerals, and their descriptions are omitted.

〔計測装置1Y〕
図16は、実施形態3に係る計測装置1Yの構成の一例を示すブロック図である。図16のように、計測装置1Yは、実施形態2に係る画像処理装置10Xの代わりに、画像処理装置10Yを備えている。この点以外は、実施形態3に係る計測装置1Yは、実施形態2に係る計測装置1Xと同様の構成である。
[Measuring device 1Y]
FIG. 16 is a block diagram showing an example of the configuration of the measuring device 1Y according to the third embodiment. As shown in FIG. 16, the measuring device 1Y includes an image processing device 10Y instead of the image processing device 10X according to the second embodiment. Except for this point, the measuring device 1Y according to the third embodiment has the same configuration as the measuring device 1X according to the second embodiment.

〔画像処理装置10Y〕
実施形態3に係る画像処理装置10Yは、実施形態2の変形例における設定部102Xの代わりに、設定部102Yを備えている。この点以外は、実施形態3に係る画像処理装置10Yは、実施形態2に係る画像処理装置10Xと同様の構成である。
[Image processing device 10Y]
An image processing apparatus 10Y according to the third embodiment includes a setting unit 102Y instead of the setting unit 102X in the modified example of the second embodiment. Except for this point, the image processing apparatus 10Y according to the third embodiment has the same configuration as the image processing apparatus 10X according to the second embodiment.

(設定部102Y)
設定部102Yは、基準撮像部110が撮像した基準画像における計測対象の鉄筋が存在する平面を示す平面情報に基づいて、選択部103Xによって選択された参照画像に、当該参照画像における計測対象の鉄筋の位置の目安を示す位置情報を重畳させる。
(Setting unit 102Y)
The setting unit 102Y sets the reference image selected by the selection unit 103X based on the plane information indicating the plane in which the reinforcing bar to be measured in the reference image captured by the reference imaging unit 110 exists. Position information indicating the approximate position of is superimposed.

設定部102Yは、基準画像における複数の指定点および平面情報に基づき、選択された参照画像に、基準画像の複数の指定点に対応する複数の点、複数の点の近似直線および2つの当該近似直線の中心線の少なくともいずれかを位置情報として重畳させてもよい。 Based on the plurality of designated points in the reference image and the plane information, the setting unit 102Y sets, in the selected reference image, a plurality of points corresponding to the plurality of designated points of the reference image, an approximation line of the plurality of points, and two such approximations. At least one of the straight center lines may be superimposed as position information.

この場合、設定部102Yは、まず、基準撮像部110が撮像した基準画像における計測対象の鉄筋のエッジに設定された複数の指定点および複数の指定点の近似直線の少なくとも一方を、平面情報が示す仮想平面に投影(透視投影)する。次に、設定部102Yは、仮想平面に投影された複数の指定点および複数の指定点の近似直線の少なくとも一方を参照画像に投影する。設定部102Yは、選択された参照画像に投影された複数の指定点、当該複数の指定点の近似直線および2つの当該近似直線の中心線の少なくともいずれかを、選択された参照画像に位置情報として重畳する。 In this case, the setting unit 102Y first sets at least one of the plurality of designated points set on the edge of the reinforcing bar to be measured in the reference image captured by the reference imaging unit 110 and the approximate straight line of the plurality of designated points to the plane information. Project (perspective projection) onto the indicated virtual plane. Next, the setting unit 102Y projects at least one of the plurality of designated points projected onto the virtual plane and the approximate straight lines of the plurality of designated points onto the reference image. The setting unit 102Y stores at least one of a plurality of designated points projected onto the selected reference image, approximate straight lines of the plurality of designated points, and center lines of the two approximate straight lines as position information on the selected reference image. superimposed as

設定部102Yは、選択され、位置情報が重畳された参照画像を表示部101、例えば、入力部100と表示部101とが一体化したタッチパネルなどに表示させる。 The setting unit 102Y displays the selected reference image on which the position information is superimposed on the display unit 101, for example, a touch panel in which the input unit 100 and the display unit 101 are integrated.

これにより、基準画像の計測対象の鉄筋のエッジに設定された指定点や指定点の近似直線に対応する、選択された参照画像の計測対象に設定する指定点や近似直線の目安となる位置情報が、選択された参照画像に重畳される。 As a result, the specified points set as the measurement target in the selected reference image and the approximate straight line corresponding to the specified points set on the edge of the rebar to be measured in the reference image and the approximate straight line of the specified points are obtained. is superimposed on the selected reference image.

そのため、参照画像上での計測対象のエッジに設定する指定点や近似直線の目安となる位置情報をユーザに示すことができるため、ユーザは、参照画像における計測対象のエッジに指定点を指定するのが容易となる。例えば、ユーザは、タッチパネルに表示された位置情報を参照しながら、選択された参照画像における計測対象のエッジにおける指定点を容易に指定することができる。 Therefore, it is possible to show the user the specified point to be set on the edge of the measurement target on the reference image and the position information that serves as a guide for the approximate straight line, so the user can specify the specified point on the edge of the measurement target on the reference image becomes easier. For example, the user can easily specify a specified point on the edge of the measurement target in the selected reference image while referring to the position information displayed on the touch panel.

その結果、設定部102Yは、タッチパネルを介して、ユーザが指定した指定点の入力情報を取得し、当該入力情報に基づいて、選択された参照画像における指定点をより好適に設定することができる。 As a result, the setting unit 102Y acquires the input information of the specified point specified by the user via the touch panel, and based on the input information, can more preferably set the specified point in the selected reference image. .

特に、鉄筋などの類似する複数の計測対象が並置されている場合に、計測対象が存在する平面を示す平面情報に基づいて、選択された参照画像に、位置情報を重畳させると、選択された参照画像において容易かつ好適に指定点を設定できるため、有効である。 In particular, when a plurality of similar measurement targets such as reinforcing bars are arranged side by side, position information is superimposed on the selected reference image based on the plane information indicating the plane in which the measurement targets are present. This is effective because the designated point can be easily and preferably set in the reference image.

設定部102Yは、計測対象が存在する平面を示す平面情報に基づいて、選択部103Xによって選択された参照画像において、当該参照画像における計測対象の位置の目安を示す位置情報を算出し、位置情報を含む領域を表示部101に拡大表示させてもよい。 The setting unit 102Y calculates, in the reference image selected by the selection unit 103X, position information indicating a guideline for the position of the measurement target in the reference image based on the plane information indicating the plane on which the measurement target exists, and calculates the position information. may be enlarged and displayed on the display unit 101.

この場合、設定部102Yは、選択された参照画像に位置情報を重畳させ、当該参照画像における位置情報を含む領域を表示部101に拡大表示させてもよいし、当該参照画像に位置情報を重畳させずに位置情報を含む領域を表示部101に拡大表示させてもよい。 In this case, the setting unit 102Y may superimpose the position information on the selected reference image and cause the display unit 101 to display an enlarged area including the position information in the reference image, or may superimpose the position information on the reference image. Alternatively, the display unit 101 may display an area including the position information in an enlarged manner.

位置情報を含む領域を拡大表示させることにより、選択された参照画像に位置情報を重畳させるか否かに関わらず、選択された参照画像上の計測対象の鉄筋のエッジに設定する指定点および近似直線の目安となる情報をわかりやすくユーザに示すことができる。そのため、ユーザは、選択された参照画像における計測対象の鉄筋のエッジに指定点を指定するのがより容易となる。 Specified points and approximations to be set on the edge of the rebar to be measured on the selected reference image, regardless of whether or not the position information is superimposed on the selected reference image, by magnifying and displaying the area containing the location information. Information that serves as a guideline for a straight line can be presented to the user in an easy-to-understand manner. Therefore, it becomes easier for the user to designate a designated point on the edge of the reinforcing bar to be measured in the selected reference image.

また、選択された参照画像に位置情報を重畳させた上で、当該参照画像における位置情報を含む領域を拡大表示することにより、当該参照画像上の計測対象の鉄筋のエッジに設定する指定点および近似直線の目安となる位置情報をさらにわかりやすくユーザに示せる。そのため、ユーザは、選択された参照画像における計測対象の鉄筋のエッジに指定点を指定するのがさらに容易となる。 In addition, after superimposing the position information on the selected reference image, by magnifying and displaying the area containing the position information in the reference image, the specified point and the edge of the reinforcing bar to be measured on the reference image. Positional information, which serves as a guideline for the approximate straight line, can be presented to the user in a more comprehensible manner. Therefore, it becomes easier for the user to designate a designated point on the edge of the reinforcing bar to be measured in the selected reference image.

(設定部102Yによる平面情報の取得例)
以下、設定部102Yによる平面情報の取得例について説明する。以下の例では、設定部102Yは、基準撮像部110が計測対象の鉄筋を撮像した基準画像に基づき、平面情報を取得する。
(Example of Acquisition of Plane Information by Setting Unit 102Y)
An example of plane information acquisition by the setting unit 102Y will be described below. In the following example, the setting unit 102Y acquires plane information based on a reference image captured by the reference imaging unit 110 of the reinforcing bar to be measured.

例えば、入力部100と表示部101とが一体化したタッチパネルが、タッチパネルに表示された基準画像における計測対象の鉄筋上の3つの点の入力をユーザから受け付けた場合、設定部102Yは、3つの点を通る三次元平面の情報を平面情報として取得する。 For example, when the touch panel in which the input unit 100 and the display unit 101 are integrated receives input from the user of three points on the reinforcing bar to be measured in the reference image displayed on the touch panel, the setting unit 102Y Acquire the information of the 3D plane passing through the points as the plane information.

具体的には、まず、設定部102Yは、入力部100が受け付けた基準画像における各点に対応する、選択された参照画像における対応点を、選択された参照画像においてブロックマッチングによって探索し、基準画像の各点と参照画像の各点との視差を算出する。 Specifically, first, the setting unit 102Y searches the selected reference image for corresponding points in the selected reference image corresponding to each point in the reference image received by the input unit 100 by block matching. A parallax between each point of the image and each point of the reference image is calculated.

次に、設定部102Yは、基準画像の各点と、選択された参照画像の各対応点との視差および三角測量の原理に基づき、基準画像における3つの点の三次元位置を算出し、3つの点を通る三次元平面の三次元位置を算出することによって、平面情報を取得する。 Next, the setting unit 102Y calculates the three-dimensional positions of the three points in the reference image based on the parallax between each point in the reference image and each corresponding point in the selected reference image and the principle of triangulation. Planar information is obtained by calculating the 3D position of a 3D plane passing through two points.

また、別の方法として、設定部102Yは、入力部100が3つの点の入力を受け付けることなく平面情報を取得してもよい。この場合、設定部102Yは、まず、基準画像における計測対象の鉄筋を構成する画素の全画素または特徴の大きい画素からなる対象点群について、選択された参照画像とブロックマッチングすることによって、当該参照画像上の対応点を探索する。続いて、設定部102Yは、対象点群とその対応点との視差を算出する。ここで、特徴の大きい画素とは、例えば、計測対象の鉄筋のエッジにおける節および/または継手の部分の画素など、凹凸のある部分の画素などを指す。 As another method, the setting unit 102Y may acquire plane information without the input unit 100 receiving input of three points. In this case, the setting unit 102Y first performs block matching with a selected reference image for a target point group consisting of all pixels constituting the reinforcing bar to be measured in the reference image or pixels having large characteristics, thereby performing block matching on the reference image. Search for corresponding points on the image. Subsequently, the setting unit 102Y calculates the parallax between the target point group and its corresponding points. Here, the pixel having a large characteristic refers to, for example, a pixel of an uneven portion such as a pixel of a node and/or a joint portion on the edge of the reinforcing bar to be measured.

なお、上述の例では、設定部102Yは、ステレオカメラである基準撮像部110が計測対象の鉄筋を撮像した基準画像に基づき、平面情報を取得している。ただし、本実施形態では、設定部102Yが平面情報を取得する方法は、上述の例において説明した方法に限定されない。 In the above example, the setting unit 102Y acquires plane information based on a reference image of the reinforcing bar to be measured by the reference imaging unit 110, which is a stereo camera. However, in the present embodiment, the method by which the setting unit 102Y acquires plane information is not limited to the method described in the above example.

設定部102Yは、ステレオカメラである基準撮像部110などの撮像部11とは異なる機能を用いて平面情報を取得してもよい。例えば、設定部102Yは、ステレオカメラである撮像部11とは異なる機器であるTOF(Time of Flight)センサを用いて平面情報を取得してもよい。 The setting unit 102Y may acquire planar information using a function different from that of the imaging unit 11, such as the reference imaging unit 110, which is a stereo camera. For example, the setting unit 102Y may acquire planar information using a TOF (Time of Flight) sensor, which is a device different from the imaging unit 11, which is a stereo camera.

この場合、設定部102Y自身が、TOFセンサなど平面情報を取得する機能を有し、当該機能により平面情報を取得してもよい。設定部102Yは、基準撮像部110などの撮像部11および設定部102Yとは別の画像処理装置10Yの外部の機器であるTOFセンサから平面情報を取得してもよい。また、基準撮像部110などの撮像部11がTOFセンサの機能を有する場合、設定部102Yは、当該機能によって平面情報を取得した撮像部11の基準撮像部110などを介して、平面情報を取得してもよい。 In this case, the setting unit 102Y itself may have a function of acquiring plane information such as a TOF sensor, and the plane information may be acquired by the function. The setting unit 102Y may acquire planar information from a TOF sensor, which is an external device of the image processing apparatus 10Y, which is different from the imaging unit 11 such as the reference imaging unit 110 and the setting unit 102Y. Further, when the imaging unit 11 such as the reference imaging unit 110 has a TOF sensor function, the setting unit 102Y acquires plane information via the reference imaging unit 110 of the imaging unit 11 that has acquired the plane information by the function. You may

次に、設定部102Yは、算出した視差および三角測量の原理に基づき、対象点群の三次元位置を算出する。最後に、設定部102Yは、対象点群に対して最小二乗法などによる平面フィッティングを行うことによって、平面の三次元位置を算出し、当該平面の三次元位置を平面情報として取得する。 Next, the setting unit 102Y calculates the three-dimensional position of the target point group based on the calculated parallax and the principle of triangulation. Finally, the setting unit 102Y calculates the three-dimensional position of the plane by performing plane fitting on the target point group using the method of least squares or the like, and acquires the three-dimensional position of the plane as plane information.

(設定部102Yによる指定点の投影例)
以下、図17を用いて、設定部102Yによって、図2に示す基準画像21における計測対象の鉄筋22のエッジに設定された指定点231~234を、選択された第一参照画像211cに投影する例について説明する。第一参照画像211cの詳細に関しては、図18および図19を用いて後述する。
(Example of Projection of Designated Points by Setting Unit 102Y)
17, the setting unit 102Y projects the specified points 231 to 234 set on the edge of the reinforcing bar 22 to be measured in the reference image 21 shown in FIG. 2 onto the selected first reference image 211c. An example will be described. Details of the first reference image 211c will be described later with reference to FIGS. 18 and 19. FIG.

図17は、設定部による、選択された参照画像に対する位置情報の投影の一例について説明するための図である。具体的には、図17は、設定部102Yによる、選択された第一参照画像211cに対する位置情報の投影について説明するための図である。 FIG. 17 is a diagram for explaining an example of projection of position information on a selected reference image by a setting unit; Specifically, FIG. 17 is a diagram for explaining projection of position information on the selected first reference image 211c by the setting unit 102Y.

図17のように、設定部102Yは、図2に示す基準画像21における計測対象の鉄筋22が存在する三次元位置を示す平面情報を取得し、当該平面情報に対応する仮想平面900を仮想空間に配置する。 As shown in FIG. 17, the setting unit 102Y acquires plane information indicating the three-dimensional position of the reinforcing bar 22 to be measured in the reference image 21 shown in FIG. to be placed.

設定部102Yは、基準撮像部110の投影面721上の指定点231と、基準撮像部110の焦点711とを通る直線901の三次元位置を算出する。なお、図17では、見やすさの観点から、直線を線分として表している。 The setting unit 102Y calculates the three-dimensional position of a straight line 901 passing through the specified point 231 on the projection plane 721 of the reference imaging unit 110 and the focal point 711 of the reference imaging unit 110 . In addition, in FIG. 17, the straight line is represented as a line segment from the viewpoint of legibility.

設定部102Yは、直線901と仮想平面900との交点であり、基準画像21における指定点231に対応する点911の三次元位置を求める。 The setting unit 102</b>Y obtains the three-dimensional position of a point 911 that is the intersection of the straight line 901 and the virtual plane 900 and that corresponds to the specified point 231 in the reference image 21 .

設定部102Yは、点911と、第一参照撮像部の焦点712とを通る直線921の三次元位置を算出する。 The setting unit 102Y calculates the three-dimensional position of a straight line 921 passing through the point 911 and the focal point 712 of the first reference imaging unit.

設定部102Yは、第一参照撮像部111の投影面722に、仮想平面900の点911を、第一参照画像の投影面722と直線921との交点である点931として投影する。設定部102Yは、第一参照画像211c上の点931の位置を算出する。 The setting unit 102Y projects the point 911 of the virtual plane 900 onto the projection plane 722 of the first reference imaging unit 111 as a point 931 that is the intersection of the projection plane 722 of the first reference image and the straight line 921 . The setting unit 102Y calculates the position of the point 931 on the first reference image 211c.

同様に、設定部102Yは、基準画像の投影面721上の指定点232、指定点233および指定点234と、基準撮像部の焦点711とを通る直線902、直線903および直線904の三次元位置を算出する。 Similarly, the setting unit 102Y sets three-dimensional positions of straight lines 902, 903, and 904 passing through the specified points 232, 233, and 234 on the projection plane 721 of the reference image and the focal point 711 of the reference imaging unit. Calculate

設定部102Yは、直線902、903および904と仮想平面900との交点である、基準画像21の指定点232、233および234にそれぞれ対応する点912、点913および点914の三次元位置をそれぞれ求める。 Setting unit 102Y sets three-dimensional positions of points 912, 913, and 914 corresponding to designated points 232, 233, and 234 of reference image 21, which are intersections of straight lines 902, 903, and 904 and virtual plane 900, respectively. demand.

設定部102Yは、第一参照撮像部111の投影面722に、仮想平面900の点912~914を、投影面722と直線922、直線923および直線924との交点である点932、点933および点934としてそれぞれ投影する。設定部102Yは、第一参照画像211c上の点932~934の位置を算出する。 The setting unit 102Y sets points 912 to 914 of the virtual plane 900 on the projection plane 722 of the first reference imaging unit 111, and points 932, 933, and 933, which are intersection points of the projection plane 722 and the straight lines 922, 923, and 924. Project each as a point 934 . The setting unit 102Y calculates the positions of points 932 to 934 on the first reference image 211c.

設定部102Yは、点931と932とを通る第一参照画像211c上の直線941、および、点933と934とを通る第一参照画像211c上の直線942とを算出する。 The setting unit 102Y calculates a straight line 941 passing through the points 931 and 932 on the first reference image 211c and a straight line 942 passing through the points 933 and 934 on the first reference image 211c.

設定部102Yは、点931~934および直線941および942を第一参照画像211cに重畳させる。 The setting unit 102Y superimposes the points 931 to 934 and the straight lines 941 and 942 on the first reference image 211c.

(設定部102Yによる位置情報の重畳例)
以下、図18および19を用いて、設定部102Yによる、選択された参照画像に対する位置情報の重畳例について具体的に説明する。
(Example of position information superimposed by setting unit 102Y)
An example of superimposing position information on a selected reference image by the setting unit 102Y will be specifically described below with reference to FIGS. 18 and 19. FIG.

図18は、第一参照画像の一例を示す図である。具体的には、図18は、選択部103Xによって選択された第一参照画像211cを示す図である。 FIG. 18 is a diagram showing an example of the first reference image. Specifically, FIG. 18 is a diagram showing the first reference image 211c selected by the selection unit 103X.

図18のように、設定部102Yは、基準画像における計測対象の鉄筋22のエッジに設定された指定点231~234、直線241および242に対応する位置情報を重畳させた第一参照画像211cを表示部101に表示させる。具体的には、設定部102Yは、第一参照画像211cにおける計測対象の鉄筋22に設定する指定点および近似直線の目安となる位置情報である点931~934および直線941および942を重畳させた第一参照画像211cを表示部101に表示させる。 As shown in FIG. 18, the setting unit 102Y creates a first reference image 211c on which position information corresponding to designated points 231 to 234 and straight lines 241 and 242 set on the edge of the reinforcing bar 22 to be measured in the reference image is superimposed. Displayed on the display unit 101 . Specifically, the setting unit 102Y superimposes points 931 to 934 and straight lines 941 and 942, which are designated points to be set on the reinforcing bar 22 to be measured in the first reference image 211c and position information serving as a guide for the approximate straight line. The display unit 101 is caused to display the first reference image 211c.

ここで、第一参照画像211cに重畳される位置情報である点931~934および直線941および942は、計測対象の鉄筋22のエッジの位置から外れており、誤差が生じている。 Here, points 931 to 934 and straight lines 941 and 942, which are the position information superimposed on the first reference image 211c, are out of the position of the edge of the reinforcing bar 22 to be measured, resulting in an error.

ただし、設定部102Yは、第一参照画像211cに誤差なく位置情報を重畳させなくてもよく、ユーザが第一参照画像211cにおける計測対象の鉄筋22のエッジに指定点を指定するための目安となる精度で重畳されればよい。 However, the setting unit 102Y does not need to superimpose the positional information on the first reference image 211c without error, and the user can use it as a guideline for designating a designated point on the edge of the reinforcing bar 22 to be measured in the first reference image 211c. should be superimposed with an accuracy of

例えば、設定部102Yは、第一参照画像211cにおける計測対象の鉄筋22の付近に点931、点932および直線941を重畳することにより、第一参照画像211c上の計測対象の鉄筋22のエッジに設定する指定点および近似直線の目安となる位置情報をユーザに示せる。 For example, the setting unit 102Y superimposes a point 931, a point 932, and a straight line 941 in the vicinity of the reinforcing bar 22 to be measured in the first reference image 211c so that the edges of the reinforcing bar 22 to be measured in the first reference image 211c are overlapped. The specified point to be set and the positional information that serves as a guideline for the approximate line can be shown to the user.

これにより、ユーザは、第一参照画像211cにおける計測対象の鉄筋22を容易に識別し、第一参照画像211cにおける計測対象の鉄筋22のエッジに指定点を指定するのが容易となる。 As a result, the user can easily identify the reinforcing bar 22 to be measured in the first reference image 211c, and easily designate a designated point on the edge of the reinforcing bar 22 to be measured in the first reference image 211c.

また、設定部102Yは、第一参照画像211cを表示部101に表示させる場合、平面情報に基づいて算出した位置情報を第一参照画像211cに重畳させた上で、第一参照画像211cにおける位置情報を含む領域を表示部101に拡大表示させてもよい。 Further, when causing the display unit 101 to display the first reference image 211c, the setting unit 102Y superimposes the position information calculated based on the plane information on the first reference image 211c, and then displays the position in the first reference image 211c. An area including information may be enlarged and displayed on the display unit 101 .

以下、図19を用いて、設定部102Yによって、第一参照画像211cにおける位置情報を含む領域を表示部101に拡大表示する例を説明する。図19は、第一参照画像における、拡大表示された領域の一例を示す図である。具体的には、図19は、選択部103Xによって選択された第一参照画像211cにおける、拡大表示された領域951を示す図である。 An example in which the setting unit 102Y enlarges and displays an area including position information in the first reference image 211c on the display unit 101 will be described below with reference to FIG. FIG. 19 is a diagram showing an example of an enlarged display area in the first reference image. Specifically, FIG. 19 is a diagram showing an enlarged display area 951 in the first reference image 211c selected by the selection unit 103X.

図19のように、点931~934、直線941および942を位置情報として含む領域951を拡大表示すれば、第一参照画像211c上の計測対象の鉄筋22のエッジに設定する指定点および近似直線の目安となる位置情報をよりわかりやすくユーザに示せる。そのため、ユーザは、第一参照画像211cにおける計測対象の鉄筋22のエッジに指定点を指定するのがより容易となる。 As shown in FIG. 19, if an area 951 including points 931 to 934 and straight lines 941 and 942 as positional information is enlarged and displayed, the specified points and the approximate straight line set to the edge of the reinforcing bar 22 to be measured on the first reference image 211c are displayed. It is possible to show the user more easily understandable location information that serves as a guideline. Therefore, it becomes easier for the user to designate a designated point on the edge of the reinforcing bar 22 to be measured in the first reference image 211c.

なお、上述の例では、設定部102Yは、基準画像21における指定点の全てを仮想平面900に投影し、基準画像21における指定点の全てに対応する位置情報を第一参照画像211cに重畳している。ただし、本実施形態では、設定部102Yは、基準画像21における指定点の一部を仮想平面900に投影し、基準画像21における指定点の一部に対応する位置情報を第一参照画像211cに重畳してもよい。 In the above example, the setting unit 102Y projects all the designated points in the reference image 21 onto the virtual plane 900, and superimposes the position information corresponding to all the designated points in the reference image 21 on the first reference image 211c. ing. However, in the present embodiment, the setting unit 102Y projects a portion of the designated point in the reference image 21 onto the virtual plane 900, and transfers the position information corresponding to the portion of the designated point in the reference image 21 onto the first reference image 211c. May be superimposed.

例えば、入力部100が、図18に示す第一参照画像211cにおける計測対象の鉄筋22の左側のエッジに対する指定点の入力をユーザから受け付ける場合、設定部102Yは、点931および932のみを第一参照画像211cに投影し、重畳させてもよい。すなわち、設定部102Yは、点933、934、直線941および942を第一参照画像211cに投影せず、重畳させなくてもよい。 For example, when the input unit 100 receives from the user an input of a specified point for the left edge of the reinforcing bar 22 to be measured in the first reference image 211c shown in FIG. It may be projected and superimposed on the reference image 211c. That is, the setting unit 102Y may not project the points 933 and 934 and the straight lines 941 and 942 onto the first reference image 211c and may not superimpose them.

同様に、入力部100が、図18に示す第一参照画像211cにおける計測対象の鉄筋22の左側のエッジに対する指定点の入力をユーザから受け付ける場合、設定部102Yは、直線941のみを第一参照画像211cに投影し、重畳させてもよい。すなわち、設定部102Yは、点931~934および直線942を第一参照画像211cに投影せず、重畳させなくてもよい。 Similarly, when the input unit 100 receives from the user an input of a specified point for the left edge of the reinforcing bar 22 to be measured in the first reference image 211c shown in FIG. It may be projected and superimposed on the image 211c. That is, the setting unit 102Y may not project the points 931 to 934 and the straight line 942 onto the first reference image 211c and may not superimpose them.

また、入力部100が、図18に示す第一参照画像211cにおける計測対象の鉄筋22の右側のエッジに対する指定点の入力をユーザから受け付ける場合、設定部102Yは、点933および934のみを第一参照画像211cに投影し、重畳させてもよい。すなわち、設定部102Yは、点931、932、直線941および942を第一参照画像211cに投影せず、重畳させなくてもよい。 Further, when the input unit 100 receives from the user an input of a specified point for the right edge of the reinforcing bar 22 to be measured in the first reference image 211c shown in FIG. It may be projected and superimposed on the reference image 211c. That is, the setting unit 102Y may not project the points 931 and 932 and the straight lines 941 and 942 onto the first reference image 211c and may not superimpose them.

同様に、入力部100が、図18に示す第一参照画像211cにおける計測対象の鉄筋22の右側のエッジに対する指定点の入力をユーザから受け付ける場合、設定部102Yは、直線942のみを第一参照画像211cに投影し、重畳させてもよい。すなわち、設定部102Yは、点931~934および直線941を第一参照画像211cに投影せず、重畳させなくてもよい。 Similarly, when the input unit 100 receives from the user an input of a specified point for the right edge of the reinforcing bar 22 to be measured in the first reference image 211c shown in FIG. It may be projected and superimposed on the image 211c. That is, the setting unit 102Y may not project the points 931 to 934 and the straight line 941 onto the first reference image 211c and may not superimpose them.

このように、設定部102Yは、第一参照画像211cにおける計測対象の鉄筋22の1つのエッジに指定点を設定するための最低限の位置情報のみを第一参照画像211cに投影および重畳させてもよい。これにより、参照画像上での計測対象のエッジに設定する指定点や近似直線の目安となる最低限の位置情報をユーザに示すことができるため、ユーザは、参照画像における計測対象の一方のエッジに指定点を設定する場合、指定点を設定するのがより容易となる。 In this way, the setting unit 102Y projects and superimposes only the minimum positional information for setting a designated point on one edge of the reinforcing bar 22 to be measured in the first reference image 211c onto the first reference image 211c. good too. As a result, it is possible to show the user the specified point to be set on the edge of the measurement target on the reference image and the minimum positional information that serves as a guideline for the approximate straight line. , it becomes easier to set the designated point.

なお、設定部102Yは、直線941および942の代わりに、直線941と942との中心を通る中心線を計測対象の鉄筋22の位置を示す直線として、第一参照画像211cに重畳させてもよい。この場合、設定部102Yは、直線941と942とを平均した直線を算出することによって直線941と942との中心線を算出することができる。 Note that instead of the straight lines 941 and 942, the setting unit 102Y may superimpose a center line passing through the centers of the straight lines 941 and 942 on the first reference image 211c as a straight line indicating the position of the reinforcing bar 22 to be measured. . In this case, the setting unit 102Y can calculate the center line between the straight lines 941 and 942 by calculating a straight line that averages the straight lines 941 and 942 .

また、上述の例では、設定部102Yは、図19のように、位置情報として、点931~934、直線941および942を第一参照画像211cに重畳させた上で、これらの位置情報を含む領域951を表示部101に拡大表示させている。ただし、本実施形態では、設定部102Yは、点931~934、直線941および942などの位置情報を第一参照画像211cに重畳させずに、位置情報を含む領域951を表示部101に拡大表示させてもよい。 In the above example, as shown in FIG. 19, the setting unit 102Y superimposes points 931 to 934 and straight lines 941 and 942 on the first reference image 211c as position information, and then includes these position information. An area 951 is enlarged and displayed on the display unit 101 . However, in the present embodiment, the setting unit 102Y does not superimpose the position information such as the points 931 to 934 and the straight lines 941 and 942 on the first reference image 211c, and enlarges and displays the area 951 including the position information on the display unit 101. You may let

位置情報を含む領域951を拡大表示させることにより、第一参照画像211cに位置情報を重畳させなくても、第一参照画像211c上の計測対象の鉄筋22のエッジに設定する指定点および近似直線の目安となる情報をわかりやすくユーザに示すことができる。そのため、ユーザは、第一参照画像211cにおける計測対象の鉄筋22のエッジに指定点を指定するのがより容易となる。 By enlarging and displaying the area 951 including the position information, the designated point and the approximate straight line to be set to the edge of the reinforcing bar 22 to be measured on the first reference image 211c can be obtained without superimposing the position information on the first reference image 211c. It is possible to present information to the user in an easy-to-understand manner. Therefore, it becomes easier for the user to designate a designated point on the edge of the reinforcing bar 22 to be measured in the first reference image 211c.

〔計測装置1Yの制御方法〕
次に、図20を用いて、実施形態3に係る計測装置1Yの制御方法を説明する。図20は、実施形態3に係る計測装置1Yの制御方法の一例を示すフローチャートである。図20のステップS311~S313、S315およびS316は、図14のステップS201~S203、S24およびS205と同様であるため、ここではその説明を省略する。
[Method for controlling measuring device 1Y]
Next, a method of controlling the measuring device 1Y according to the third embodiment will be described with reference to FIG. FIG. 20 is a flow chart showing an example of a control method for the measuring device 1Y according to the third embodiment. Steps S311 to S313, S315 and S316 in FIG. 20 are the same as steps S201 to S203, S24 and S205 in FIG. 14, so description thereof will be omitted here.

(ステップS314)
計測装置1Yにおける画像処理装置10Yの設定部102Yは、計測対象の鉄筋が存在する平面を示す平面情報に基づいて、選択部103Xによって選択された参照画像に、当該参照画像における計測対象の位置の目安を示す位置情報を重畳させる。
(Step S314)
The setting unit 102Y of the image processing device 10Y in the measuring device 1Y sets the position of the measurement target in the reference image selected by the selection unit 103X based on the plane information indicating the plane on which the reinforcing bar to be measured exists. Positional information indicating a guideline is superimposed.

例えば、設定部102Yは、選択された参照画像に、計測対象の鉄筋の2つのエッジに設定された複数の指定点に対応する複数の点、複数の点の近似直線および2つの当該近似直線の中心線の少なくともいずれかを位置情報として重畳させる。 For example, the setting unit 102Y stores, in the selected reference image, a plurality of points corresponding to a plurality of designated points set on two edges of the reinforcing bar to be measured, an approximate straight line of the plurality of points, and two approximate straight lines. At least one of the center lines is superimposed as position information.

<実施形態3の変形例>
上述の例では、設定部102Yは、基準画像における計測対象の鉄筋の長手方向に沿った両方のエッジに複数の指定点を設定した後、選択された参照画像における計測対象の鉄筋の長手方向に沿った両方のエッジに複数の指定点を設定している。
<Modification of Embodiment 3>
In the above example, the setting unit 102Y sets a plurality of designated points on both edges along the longitudinal direction of the reinforcing bar to be measured in the reference image, and then sets the specified points along the longitudinal direction of the reinforcing bar to be measured in the selected reference image. Setting multiple pick points on both edges along.

ただし、本実施形態では、設定部102Yは、基準画像における計測対象の鉄筋の1つのエッジに対する複数の指定点の設定と、選択された参照画像における計測対象の鉄筋の1つのエッジに対する複数の指定点の設定とを交互に行ってもよい。 However, in this embodiment, the setting unit 102Y sets a plurality of designated points for one edge of the reinforcing bar to be measured in the reference image, and sets a plurality of designated points for one edge of the reinforcing bar to be measured in the selected reference image. Setting of points may be performed alternately.

この場合、設定部102Yは、図17において、基準画像21における指定点231および232を第一参照画像211cに投影および重畳させた後、基準画像21における計測対象の鉄筋22のエッジに指定点233および234を設定する。続いて、設定部102Yは、基準画像における指定点233および234を第一参照画像211cに投影および重畳させる。 In this case, the setting unit 102Y projects and superimposes the designated points 231 and 232 in the reference image 21 on the first reference image 211c in FIG. and 234. Subsequently, the setting unit 102Y projects and superimposes the designated points 233 and 234 in the standard image onto the first reference image 211c.

これにより、参照画像における計測対象の鉄筋のエッジに設定する指定点や近似直線の目安となる位置情報を、逐一ユーザに示すことができるため、ユーザは、その都度、位置情報を参照しながら、参照画像における計測対象のエッジに指定点を指定できる。 As a result, it is possible to show the user one by one the specified points to be set on the edge of the reinforcing bar to be measured in the reference image and the positional information that serves as a guideline for the approximate straight line. A specified point can be specified on the edge to be measured in the reference image.

その結果、位置情報が基準画像における計測対象の鉄筋に対応する計測対象の鉄筋のエッジから外れた位置にあっても、設定部102Yは、逐一、参照画像における当該計測対象の鉄筋のエッジ上など、ユーザの所望の位置に指定点を設定できる。 As a result, even if the position information is located at a position outside the edge of the reinforcing bar to be measured corresponding to the reinforcing bar to be measured in the reference image, the setting unit 102Y determines the position on the edge of the reinforcing bar to be measured in the reference image. , the designated point can be set at the user's desired position.

〔計測装置1Yの制御方法〕
次に、図21を用いて、実施形態3の変形例に係る計測装置1Yの制御方法を説明する。図21は、実施形態3の変形例に係る計測装置1Yの制御方法の一例を示すフローチャートである。図21のステップS311~S313、S315、S316、S318およびS319は、図15のステップS211~S213、S214~S217と同様であるため、ここではその説明を省略する。
[Method for controlling measuring device 1Y]
Next, a control method of the measuring device 1Y according to the modified example of the third embodiment will be described with reference to FIG. FIG. 21 is a flow chart showing an example of a method for controlling the measuring device 1Y according to the modified example of the third embodiment. Steps S311 to S313, S315, S316, S318 and S319 in FIG. 21 are the same as steps S211 to S213 and S214 to S217 in FIG.

(ステップS314)
計測装置1Yにおける画像処理装置10Yの設定部102Yは、選択部103Xによって選択された参照画像に、計測対象の鉄筋の一方のエッジに設定された複数の指定点に対応する位置情報を重畳させる。
(Step S314)
The setting unit 102Y of the image processing device 10Y in the measuring device 1Y superimposes position information corresponding to a plurality of specified points set on one edge of the reinforcing bar to be measured on the reference image selected by the selection unit 103X.

例えば、設定部102Yは、選択された参照画像に、計測対象の鉄筋の一方のエッジに設定された複数の指定点に対応する複数の点、複数の点の近似直線および2つの当該近似直線の中心線の少なくともいずれかを位置情報として重畳させる。 For example, the setting unit 102Y stores, in the selected reference image, a plurality of points corresponding to a plurality of designated points set on one edge of the reinforcing bar to be measured, an approximate straight line of the plurality of points, and two approximate straight lines. At least one of the center lines is superimposed as position information.

(ステップS317)
設定部102Yは、選択部103Xによって選択された参照画像に、計測対象の鉄筋の他方のエッジに設定された複数の指定点に対応する位置情報を重畳させる。
(Step S317)
The setting unit 102Y superimposes, on the reference image selected by the selection unit 103X, position information corresponding to a plurality of specified points set on the other edge of the reinforcing bar to be measured.

例えば、設定部102Yは、選択された参照画像に、計測対象の鉄筋の他方のエッジに設定された複数の指定点に対応する複数の点、複数の点の近似直線および2つの当該近似直線の中心線の少なくともいずれかを位置情報として重畳させる。 For example, the setting unit 102Y stores, in the selected reference image, a plurality of points corresponding to a plurality of designated points set on the other edge of the reinforcing bar to be measured, an approximation line of the plurality of points, and two approximation lines. At least one of the center lines is superimposed as position information.

〔ソフトウェアによる実現例〕
計測装置1、1Xおよび1Yにおける画像処理装置10、10Xおよび10Y(装置)の機能は、当該装置としてコンピュータを機能させるための画像処理プログラムであって、当該装置の各制御ブロックとしてコンピュータを機能させるための画像処理プログラムにより実現することができる。
[Example of realization by software]
The functions of the image processing devices 10, 10X and 10Y (devices) in the measurement devices 1, 1X and 1Y are image processing programs for causing the computer to function as the device, and the computer to function as each control block of the device. It can be realized by an image processing program for

この場合、上記装置は、上記画像処理プログラムを実行するためのハードウェアとして、少なくとも1つの制御装置(例えばプロセッサ)と少なくとも1つの記憶装置(例えばメモリ)を有するコンピュータを備えている。この制御装置と記憶装置により上記画像処理プログラムを実行することにより、上記各実施形態で説明した各機能が実現される。 In this case, the apparatus comprises a computer having at least one control device (eg processor) and at least one storage device (eg memory) as hardware for executing the image processing program. By executing the image processing program with this control device and storage device, each function described in each of the above embodiments is realized.

上記画像処理プログラムは、一時的ではなく、コンピュータ読み取り可能な1または複数の記録媒体に記録されていてもよい。また、この記録媒体に記録された画像処理プログラムを、コンピュータシステムに読み込ませたり、インターネットからダウンロードしたりして実行することにより各部の処理を行ってもよい。 The image processing program may be recorded on one or more computer-readable recording media, not temporarily. Also, the image processing program recorded in this recording medium may be read into a computer system or downloaded from the Internet and executed to perform the processing of each section.

上記記録媒体は、上記装置が備えていてもよいし、備えていなくてもよい。後者の場合、上記画像処理プログラムは、有線または無線の任意の伝送媒体を介して上記装置に供給されてもよい。上記コンピュータシステムは、OSおよび周辺機器などのハードウェアを含み、WWWシステムを利用している場合であれば、ホームページ提供環境または表示環境も含むものとする。 The recording medium may or may not be included in the device. In the latter case, the image processing program may be supplied to the device via any wired or wireless transmission medium. The computer system includes an OS and hardware such as peripheral devices, and if a WWW system is used, it also includes a home page providing environment or display environment.

また、上記各制御ブロックの機能の一部または全部は、論理回路により実現することも可能である。例えば、上記各制御ブロックとして機能する論理回路が形成された集積回路も本発明の範疇に含まれる。この他にも、例えば量子コンピュータにより上記各制御ブロックの機能を実現することも可能である。 Also, part or all of the functions of the above control blocks can be realized by logic circuits. For example, integrated circuits in which logic circuits functioning as the control blocks described above are formed are also included in the scope of the present invention. In addition, it is also possible to implement the functions of the control blocks described above by, for example, a quantum computer.

また、上記各実施形態で説明した各処理は、AI(Artificial Intelligence:人工知能)に実行させてもよい。この場合、AIは上記制御装置で動作するものであってもよいし、他の装置(例えばエッジコンピュータまたはクラウドサーバなど)で動作するものであってもよい。 Further, each process described in each of the above embodiments may be executed by AI (Artificial Intelligence). In this case, the AI may operate on the control device, or may operate on another device (for example, an edge computer or a cloud server).

〔まとめ〕
本発明の態様1に係る画像処理装置は、基準撮像部によって計測対象が撮像された基準画像における、当該計測対象の1以上のエッジごとに複数の指定点を設定する設定部と、前記基準画像における前記複数の指定点に基づいて、複数の参照撮像部のそれぞれによって前記計測対象が撮像された複数の参照画像の中から、計測に使用する参照画像を選択する選択部とを備え、前記設定部は、前記基準画像における前記複数の指定点に基づいて、前記基準画像における前記計測対象の長手方向を算出し、前記選択部は、前記基準画像における前記計測対象の長手方向と、前記基準撮像部と前記複数の参照撮像部のそれぞれとが並ぶ方向である基線方向と、のなす角度に基づいて、前記計測に使用する参照画像を選択する。
〔summary〕
An image processing apparatus according to aspect 1 of the present invention includes: a setting unit that sets a plurality of specified points for each of one or more edges of a measurement target in a reference image obtained by imaging a measurement target by a reference imaging unit; a selection unit that selects a reference image to be used for measurement from among a plurality of reference images in which the measurement target is captured by each of a plurality of reference imaging units, based on the plurality of designated points in the setting The section calculates the longitudinal direction of the measurement target in the reference image based on the plurality of designated points in the reference image, and the selection section calculates the longitudinal direction of the measurement target in the reference image and the reference imaging. A reference image to be used for the measurement is selected based on an angle formed by a baseline direction, which is a direction in which the unit and each of the plurality of reference imaging units are arranged.

本発明の態様2に係る画像処理装置は、上記態様1において、前記選択部は、前記計測対象の長手方向と、前記基線方向とのなす角度が最も直角に近い参照撮像部によって撮像された参照画像を、前記計測に使用する参照画像として選択してもよい。 In the image processing apparatus according to aspect 2 of the present invention, in aspect 1 above, the selection unit includes a reference image captured by a reference imaging unit at which an angle formed by the longitudinal direction of the measurement object and the baseline direction is the closest to the right angle. An image may be selected as a reference image for use in said measurements.

本発明の態様3に係る画像処理装置は、上記態様1または2において、前記設定部は、前記選択部によって選択された参照画像において、前記計測対象の1以上のエッジごとに複数の指定点を設定してもよい。 In the image processing apparatus according to aspect 3 of the present invention, in aspect 1 or 2, the setting unit sets a plurality of designated points for each of one or more edges of the measurement target in the reference image selected by the selection unit. May be set.

本発明の態様4に係る画像処理装置は、上記態様3において、前記設定部は、前記計測対象が存在する平面を示す平面情報に基づいて、前記選択部によって選択された参照画像に、当該参照画像における、前記計測対象の位置の目安を示す位置情報を重畳させてもよい。 In the image processing apparatus according to aspect 4 of the present invention, in aspect 3 above, the setting unit adds the reference image selected by the selection unit based on plane information indicating a plane on which the measurement target exists. Position information indicating a guideline for the position of the measurement target may be superimposed on the image.

本発明の態様5に係る画像処理装置は、上記態様4において、前記設定部は、前記基準画像における前記複数の指定点および前記平面情報に基づいて、前記選択部によって選択された参照画像に、前記基準画像における前記複数の指定点に対応する複数の点、当該複数の点の近似直線および2つの当該近似直線の中心線の少なくともいずれかを、前記位置情報として重畳させてもよい。 In the image processing apparatus according to aspect 5 of the present invention, in aspect 4 above, the setting unit includes: At least one of a plurality of points corresponding to the plurality of designated points in the reference image, an approximate straight line of the plurality of points, and center lines of the two approximate straight lines may be superimposed as the position information.

本発明の態様6に係る画像処理装置は、上記態様1から5のいずれか1つにおいて、前記基準画像、または、前記選択部によって選択された参照画像における、計測対象の1以上のエッジを含む領域を拡大表示する表示部をさらに備えていてもよい。 The image processing apparatus according to aspect 6 of the present invention, in any one of aspects 1 to 5, includes one or more edges to be measured in the reference image selected by the reference image or the selection unit. A display unit that enlarges and displays the area may be further provided.

本発明の態様7に係る画像処理装置は、上記態様1から6のいずれか1つにおいて、前記基準画像と、前記選択部によって選択された参照画像とに基づいて、前記計測対象を計測する計測部をさらに備えていてもよい。 The image processing apparatus according to aspect 7 of the present invention is the image processing apparatus according to any one of aspects 1 to 6, which measures the measurement target based on the reference image and the reference image selected by the selection unit. A part may be further provided.

本発明の態様8に係る画像処理装置の制御方法は、画像処理装置が、基準撮像部によって計測対象が撮像された基準画像における、当該計測対象の1以上のエッジごとに複数の指定点を設定し、前記複数の指定点に基づいて、前記基準画像における前記計測対象の長手方向を算出することと、前記画像処理装置が、前記基準画像における前記複数の指定点に基づいて、複数の参照撮像部のそれぞれによって前記計測対象が撮像された複数の参照画像の中から、計測に使用する参照画像を選択することと、を含み、前記計測に使用する参照画像を選択することは、前記基準画像における前記計測対象の長手方向と、前記基準撮像部と前記複数の参照撮像部のそれぞれとが並ぶ方向である基線方向と、のなす角度に基づいて、前記計測に使用する参照画像を選択する。 In a control method for an image processing device according to aspect 8 of the present invention, the image processing device sets a plurality of designated points for each of one or more edges of a measurement target in a reference image in which the measurement target is captured by a reference imaging unit. and calculating a longitudinal direction of the measurement object in the reference image based on the plurality of designated points; and performing a plurality of reference imaging based on the plurality of designated points in the reference image. selecting a reference image to be used for measurement from among a plurality of reference images obtained by imaging the measurement target by each of the units, wherein selecting the reference image to be used for measurement includes the reference image; A reference image to be used for the measurement is selected based on an angle formed by a longitudinal direction of the measurement object in the above and a baseline direction in which the reference imaging unit and the plurality of reference imaging units are aligned.

本発明の各態様に係る画像処理装置は、コンピュータによって実現してもよく、この場合には、コンピュータを上記画像処理装置が備える各部(ソフトウェア要素)として動作させることにより上記画像処理装置をコンピュータにて実現させる画像処理プログラム、およびそれを記録したコンピュータ読み取り可能な記録媒体も、本発明の範疇に入る。 The image processing apparatus according to each aspect of the present invention may be implemented by a computer. In this case, the image processing apparatus is implemented by the computer by operating the computer as each part (software element) included in the image processing apparatus. An image processing program realized by a computer and a computer-readable recording medium recording it are also included in the scope of the present invention.

本発明は上述した各実施形態に限定されるものではなく、請求項に示した範囲で種々の変更が可能であり、異なる実施形態にそれぞれ開示された技術的手段を適宜組み合わせて得られる実施形態についても本発明の技術的範囲に含まれる。さらに、各実施形態にそれぞれ開示された技術的手段を組み合わせることにより、新しい技術的特徴を形成することができる。 The present invention is not limited to the above-described embodiments, but can be modified in various ways within the scope of the claims, and can be obtained by appropriately combining technical means disclosed in different embodiments. is also included in the technical scope of the present invention. Furthermore, new technical features can be formed by combining the technical means disclosed in each embodiment.

10、10X、10Y 画像処理装置
11 撮像部
21、21a 基準画像
22、22a 計測対象の鉄筋
101 表示部
102、102X、102Y 設定部
103、103X 選択部
104、104X 計測部
110 基準撮像部
111 第一参照撮像部
112 第二参照撮像部
211、211a、211b、211c 第一参照画像
212、212a 第二参照画像
231、231a、232、232a、233、234、531、532、533、534 指定点
241、242、541、542、901、902、903、904、921、922、923、924、941、942 直線
251 第一基線方向(基線方向)
252 第二基線方向(基線方向)
931、932、933、934 点
261、951、2611 領域
10, 10X, 10Y image processing device 11 imaging units 21, 21a reference images 22, 22a reinforcing bar 101 to be measured display units 102, 102X, 102Y setting units 103, 103X selection units 104, 104X measurement unit 110 reference imaging unit 111 first Reference imaging unit 112 Second reference imaging units 211, 211a, 211b, 211c First reference images 212, 212a Second reference images 231, 231a, 232, 232a, 233, 234, 531, 532, 533, 534 Designated point 241, 242, 541, 542, 901, 902, 903, 904, 921, 922, 923, 924, 941, 942 Straight line 251 First baseline direction (baseline direction)
252 second baseline direction (baseline direction)
931, 932, 933, 934 points 261, 951, 2611 regions

Claims (9)

基準撮像部によって計測対象が撮像された基準画像における、当該計測対象の1以上のエッジごとに複数の指定点を設定する設定部と、
前記基準画像における前記複数の指定点に基づいて、複数の参照撮像部のそれぞれによって前記計測対象が撮像された複数の参照画像の中から、計測に使用する参照画像を選択する選択部とを備え、
前記設定部は、前記基準画像における前記複数の指定点に基づいて、前記基準画像における前記計測対象の長手方向を算出し、
前記選択部は、前記基準画像における前記計測対象の長手方向と、前記基準撮像部と前記複数の参照撮像部のそれぞれとが並ぶ方向である基線方向と、のなす角度に基づいて、前記計測に使用する参照画像を選択することを特徴とする画像処理装置。
a setting unit that sets a plurality of specified points for each of one or more edges of the measurement target in a reference image obtained by capturing the measurement target by the reference imaging unit;
a selection unit that selects a reference image to be used for measurement from among a plurality of reference images in which the measurement target is captured by each of a plurality of reference imaging units based on the plurality of designated points in the reference image; ,
The setting unit calculates a longitudinal direction of the measurement target in the reference image based on the plurality of specified points in the reference image,
The selection unit performs the measurement based on an angle formed by a longitudinal direction of the measurement object in the reference image and a baseline direction in which the reference imaging unit and the plurality of reference imaging units are aligned. An image processing apparatus characterized by selecting a reference image to be used.
前記選択部は、前記計測対象の長手方向と、前記基線方向とのなす角度が最も直角に近い参照撮像部によって撮像された参照画像を、前記計測に使用する参照画像として選択することを特徴とする請求項1に記載の画像処理装置。 The selecting unit selects, as the reference image to be used for the measurement, a reference image captured by a reference imaging unit at which an angle between the longitudinal direction of the measurement object and the baseline direction is closest to a right angle. The image processing apparatus according to claim 1. 前記設定部は、前記選択部によって選択された参照画像において、前記計測対象の1以上のエッジごとに複数の指定点を設定することを特徴とする請求項1または2に記載の画像処理装置。 3. The image processing apparatus according to claim 1, wherein the setting unit sets a plurality of designated points for each of one or more edges of the measurement object in the reference image selected by the selection unit. 前記設定部は、前記計測対象が存在する平面を示す平面情報に基づいて、前記選択部によって選択された参照画像に、当該参照画像における前記計測対象の位置の目安を示す位置情報を重畳させることを特徴とする請求項3に記載の画像処理装置。 The setting unit superimposes, on the reference image selected by the selection unit, position information indicating a guideline of the position of the measurement object in the reference image based on the plane information indicating the plane on which the measurement object exists. 4. The image processing apparatus according to claim 3, characterized by: 前記設定部は、前記基準画像における前記複数の指定点および前記平面情報に基づいて、前記選択部によって選択された参照画像に、前記基準画像における前記複数の指定点に対応する複数の点、当該複数の点の近似直線および2つの当該近似直線の中心線の少なくともいずれかを、前記位置情報として重畳させることを特徴とする請求項4に記載の画像処理装置。 The setting unit adds a plurality of points corresponding to the plurality of designated points in the reference image to the reference image selected by the selection unit, based on the plurality of designated points in the reference image and the plane information. 5. The image processing apparatus according to claim 4, wherein at least one of an approximate straight line of a plurality of points and center lines of the two approximate straight lines are superimposed as the position information. 前記基準画像、または、前記選択部によって選択された参照画像における、前記計測対象の1以上のエッジを含む領域を拡大表示する表示部をさらに備えることを特徴とする請求項1から5の何れか1項に記載の画像処理装置。 6. The display unit according to any one of claims 1 to 5, further comprising a display unit that enlarges and displays an area including one or more edges of the measurement target in the reference image selected by the selection unit. 2. The image processing device according to item 1. 前記基準画像と、前記選択部によって選択された参照画像とに基づいて、前記計測対象を計測する計測部をさらに備えることを特徴とする請求項1から6のいずれか1項に記載の画像処理装置。 The image processing according to any one of claims 1 to 6, further comprising a measurement unit that measures the measurement target based on the reference image and the reference image selected by the selection unit. Device. 画像処理装置が、基準撮像部によって計測対象が撮像された基準画像における、当該計測対象の1以上のエッジごとに複数の指定点を設定し、前記複数の指定点に基づいて、前記基準画像における前記計測対象の長手方向を算出することと、
前記画像処理装置が、前記基準画像における前記複数の指定点に基づいて、複数の参照撮像部のそれぞれによって前記計測対象が撮像された複数の参照画像の中から、計測に使用する参照画像を選択することと、を含み、
前記計測に使用する参照画像を選択することは、前記基準画像における前記計測対象の長手方向と、前記基準撮像部と前記複数の参照撮像部のそれぞれとが並ぶ方向である基線方向と、のなす角度に基づいて、前記計測に使用する参照画像を選択することを特徴とする画像処理装置の制御方法。
An image processing device sets a plurality of designated points for each of one or more edges of a measurement target in a reference image in which a measurement target is captured by a reference imaging unit, and based on the plurality of designated points, determines a calculating the longitudinal direction of the measurement object;
The image processing device selects a reference image to be used for measurement from among a plurality of reference images in which the measurement target is captured by each of a plurality of reference imaging units, based on the plurality of designated points in the reference image. including and
The selection of the reference image to be used for the measurement is based on the longitudinal direction of the measurement object in the reference image and the baseline direction, which is the direction in which the reference imaging unit and the plurality of reference imaging units are aligned. A control method for an image processing device, comprising selecting a reference image to be used for the measurement based on an angle.
請求項1から7のいずれか1項に記載の画像処理装置としてコンピュータを機能させるための画像処理プログラムであって、前記設定部および前記選択部としてコンピュータを機能させるための画像処理プログラム。 An image processing program for causing a computer to function as the image processing apparatus according to any one of claims 1 to 7, the image processing program for causing the computer to function as the setting unit and the selection unit.
JP2021114501A 2021-07-09 2021-07-09 Image processor, method for controlling image processor, and image processing program Pending JP2023010392A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021114501A JP2023010392A (en) 2021-07-09 2021-07-09 Image processor, method for controlling image processor, and image processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021114501A JP2023010392A (en) 2021-07-09 2021-07-09 Image processor, method for controlling image processor, and image processing program

Publications (1)

Publication Number Publication Date
JP2023010392A true JP2023010392A (en) 2023-01-20

Family

ID=85118925

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021114501A Pending JP2023010392A (en) 2021-07-09 2021-07-09 Image processor, method for controlling image processor, and image processing program

Country Status (1)

Country Link
JP (1) JP2023010392A (en)

Similar Documents

Publication Publication Date Title
US10582188B2 (en) System and method for adjusting a baseline of an imaging system with microlens array
JP5122948B2 (en) Apparatus and method for detecting a pointer corresponding to a touch surface
JP4488804B2 (en) Stereo image association method and three-dimensional data creation apparatus
US20130106833A1 (en) Method and apparatus for optical tracking of 3d pose using complex markers
JP6615545B2 (en) Image processing apparatus, image processing method, and image processing program
JP2012058076A (en) Three-dimensional measurement device and three-dimensional measurement method
US11222433B2 (en) 3 dimensional coordinates calculating apparatus and 3 dimensional coordinates calculating method using photo images
JP2020008502A (en) Depth acquisition device by polarization stereo camera, and method of the same
JP2015049200A (en) Measuring device, measuring method, and measuring program
RU2479828C2 (en) Stereoscopic measurement system and method
JP2017151026A (en) Three-dimensional information acquiring device, three-dimensional information acquiring method, and program
TWI417774B (en) Optical distance determination device, optical touch monitor system and method for measuring distance of a touch point on an optical touch panel
JP2016217944A (en) Measurement device and measurement method
WO2008075632A1 (en) Test method for compound-eye distance measuring device, its test device and chart used for same
US9197882B2 (en) Mobile communication terminal having image conversion function and method
JP7049220B2 (en) How to operate the image acquisition device and the image acquisition device
WO2020075213A1 (en) Measurement apparatus, measurement method, and microscopic system
JP3221384B2 (en) 3D coordinate measuring device
JP2023010392A (en) Image processor, method for controlling image processor, and image processing program
US9392254B2 (en) Game sizing camera
JP2018032144A (en) Image processor, image processing method and program
RU2471147C2 (en) Stereoscopic measuring system and method
JP2014197004A (en) Image measurement device
JP2010281685A (en) System and method for measurement of position
CN108731644B (en) Oblique photography mapping method and system based on vertical auxiliary line

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20240524