Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7583249B2 - Industrial camera calibration operation support device - Google Patents
[go: Go Back, main page]

JP7583249B2 - Industrial camera calibration operation support device - Google Patents

Industrial camera calibration operation support device Download PDF

Info

Publication number
JP7583249B2
JP7583249B2 JP2020184029A JP2020184029A JP7583249B2 JP 7583249 B2 JP7583249 B2 JP 7583249B2 JP 2020184029 A JP2020184029 A JP 2020184029A JP 2020184029 A JP2020184029 A JP 2020184029A JP 7583249 B2 JP7583249 B2 JP 7583249B2
Authority
JP
Japan
Prior art keywords
calibration
captured
image
calibration pattern
specified
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2020184029A
Other languages
Japanese (ja)
Other versions
JP2021093720A (en
Inventor
啓司 奥原
剛 植山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Denso Wave Inc
Original Assignee
Denso Wave Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Denso Wave Inc filed Critical Denso Wave Inc
Priority to DE102020131808.1A priority Critical patent/DE102020131808A1/en
Priority to US17/110,082 priority patent/US11528410B2/en
Publication of JP2021093720A publication Critical patent/JP2021093720A/en
Application granted granted Critical
Publication of JP7583249B2 publication Critical patent/JP7583249B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Studio Devices (AREA)

Description

本発明は、ユーザによる産業用カメラのキャリブレーションの操作を支援する支援装置に関する。 The present invention relates to a support device that assists users in performing calibration operations on industrial cameras.

従来、校正用パターンを撮影した撮影画像データにおける校正用パターンの方向を検出し、検出された方向が予め定められた方向になるように、撮影画像を回転して表示するキャリブレーション操作支援装置がある(特許文献1参照)。特許文献1によれば、校正用パターンを常に一定の姿勢で表示することができるため、カメラを動かす手の動きと表示された校正用パターンの動きとが一致し、キャリブレーションの操作を容易に行うことができるとしている。 Conventionally, there is a calibration operation support device that detects the orientation of a calibration pattern in captured image data obtained by capturing an image of the calibration pattern, and rotates and displays the captured image so that the detected orientation is a predetermined orientation (see Patent Document 1). According to Patent Document 1, since the calibration pattern can always be displayed in a constant orientation, the movement of the hand moving the camera matches the movement of the displayed calibration pattern, making it easy to perform calibration operations.

特開2008-135996号公報JP 2008-135996 A

ところで、カメラのキャリブレーションを精度よく行うためには、校正用パターンを様々な角度で撮影画像のより多くの部分を用いて撮影する必要がある。特許文献1では、カメラを動かす手の動きと表示された校正用パターンの動きとが一致するようになるものの、どのような撮影画像を取り込むべきかユーザが判断する際の参考にはならない。 Incidentally, to perform accurate camera calibration, it is necessary to capture the calibration pattern from various angles using as much of the captured image as possible. In Patent Document 1, although the movement of the hand moving the camera matches the movement of the displayed calibration pattern, this does not provide any reference for the user to decide what kind of captured image should be captured.

本発明は、こうした課題を解決するためになされたものであり、その主たる目的は、ユーザによる産業用カメラのキャリブレーションの操作を支援する支援装置において、どのような撮影画像を取り込むべきかユーザが判断することを支援することにある。 The present invention was made to solve these problems, and its main purpose is to help a user determine what kind of captured images should be captured in a support device that supports the user in calibrating an industrial camera.

上記課題を解決するための第1の手段は、
予め設定された所定領域を撮影するカメラと、前記カメラにより撮影中の前記所定領域の画像である所定画像を表示する表示装置と、前記カメラにより校正用パターンを撮影した複数の撮影画像に基づいて前記カメラのキャリブレーションを行う処理装置と、を備えるシステムに適用される、産業用カメラのキャリブレーション操作支援装置であって、
前記キャリブレーションに用いる画像として取り込んだ前記複数の撮影画像における前記校正用パターンの位置を、前記所定画像に重ね合わせて前記表示装置により表示させる。
The first means for solving the above problem is to
1. A calibration operation support device for an industrial camera, which is applied to a system including a camera that captures an image of a preset predetermined area, a display device that displays a predetermined image that is an image of the predetermined area being captured by the camera, and a processing device that calibrates the camera based on a plurality of captured images of a calibration pattern captured by the camera,
The position of the calibration pattern in the plurality of captured images captured as images to be used for the calibration is superimposed on the predetermined image and displayed by the display device.

上記構成によれば、カメラは、予め設定された所定領域を撮影する。表示装置は、カメラにより撮影中の所定領域の画像である所定画像を表示する。処理装置は、カメラにより校正用パターンを撮影した複数の撮影画像に基づいて、カメラのキャリブレーションを行う。 According to the above configuration, the camera captures an image of a predetermined area. The display device displays a predetermined image, which is an image of the predetermined area being captured by the camera. The processing device calibrates the camera based on multiple captured images of the calibration pattern captured by the camera.

ここで、産業用カメラのキャリブレーション操作支援装置は、キャリブレーションに用いる画像として取り込んだ複数の撮影画像における校正用パターンの位置を、所定画像に重ね合わせて表示装置により表示させる。このため、ユーザは、所定領域のうちどの位置に校正用パターンを配置した撮影画像を既に取り込み済みか把握することができる。したがって、ユーザは、未だ配置していない位置に校正用パターンを配置して撮影画像を取り込むことが容易になるため、どのような撮影画像を取り込むべきかユーザが判断することを支援することができる。 Here, the calibration operation support device for industrial cameras displays the positions of the calibration patterns in the multiple captured images captured as images to be used for calibration on a display device, superimposed on a specified image. This allows the user to know in which position of the specified area the captured images in which the calibration pattern has been placed have already been captured. This makes it easy for the user to place the calibration pattern in a position where it has not yet been placed and capture the captured images, thereby helping the user determine what kind of captured images should be captured.

第2の手段は、
予め設定された所定領域を撮影するカメラと、前記カメラにより撮影中の前記所定領域の画像である所定画像を表示する表示装置と、前記カメラにより校正用パターンを撮影した複数の撮影画像に基づいて前記カメラのキャリブレーションを行う処理装置と、を備えるシステムに適用される、産業用カメラのキャリブレーション操作支援装置であって、
前記キャリブレーションに用いる画像として取り込んだ前記複数の撮影画像における前記校正用パターンが、前記所定領域において前記キャリブレーションの精度を向上させる効果の分布を、前記所定画像に重ね合わせて前記表示装置により表示させる。
The second means is
1. A calibration operation support device for an industrial camera, which is applied to a system including a camera that captures an image of a preset predetermined area, a display device that displays a predetermined image that is an image of the predetermined area being captured by the camera, and a processing device that calibrates the camera based on a plurality of captured images of a calibration pattern captured by the camera,
The calibration pattern in the plurality of captured images captured as images to be used for the calibration has an effect of improving the accuracy of the calibration in the specified region, and the distribution of this effect is superimposed on the specified image and displayed on the display device.

上記構成によれば、産業用カメラのキャリブレーション操作支援装置は、キャリブレーションに用いる画像として取り込んだ複数の撮影画像における校正用パターンが、所定領域においてキャリブレーションの精度を向上させる効果(以下、「精度向上効果」という)の分布を、所定画像に重ね合わせて表示装置により表示させる。このため、ユーザは、既に取り込んだ複数の撮影画像における校正用パターンが、精度向上効果を所定領域のうちどの部分にどの程度及ぼしているか把握することができる。したがって、ユーザは、精度向上効果が不足している位置に校正用パターンを配置して撮影画像を取り込むことが容易になるため、どのような撮影画像を取り込むべきかユーザが判断することを支援することができる。 According to the above configuration, the calibration operation support device for industrial cameras displays, on a display device, the distribution of the effect of the calibration patterns in the multiple captured images captured as images used for calibration on improving the accuracy of the calibration in a specified area (hereinafter referred to as the "accuracy improvement effect"), superimposed on the specified image. This allows the user to understand to what extent the accuracy improvement effect of the calibration patterns in the multiple captured images is being exerted on which parts of the specified area. This makes it easier for the user to place the calibration patterns in positions where the accuracy improvement effect is insufficient and capture the captured images, thereby assisting the user in determining what kind of captured images should be captured.

第3の手段では、前記校正用パターンは複数の特徴点を含み、前記効果の分布は、各特徴点の位置を頂点として前記頂点から離れるほど小さくなる所定値を各位置で合計した各合計値の分布である。こうした構成によれば、所定領域において精度向上効果の分布を、各特徴点の位置で最も大きくなり、各特徴点から離れるほど小さくなる所定値を用いて容易に表すことができる。さらに、所定値を各位置で合計した各合計値の分布として精度向上効果の分布を表すため、取り込んだ撮影画像の数が多くなった場合でも、精度向上効果の分布を求める処理が複雑化することを抑制することができる。 In a third method, the calibration pattern includes a plurality of feature points, and the distribution of the effect is a distribution of total values at each position, the total value being a predetermined value that becomes smaller the further away from each feature point, with the position of each feature point as a vertex. With this configuration, the distribution of the accuracy improvement effect in a specified region can be easily represented using a predetermined value that is largest at the position of each feature point and becomes smaller the further away from each feature point. Furthermore, because the distribution of the accuracy improvement effect is represented as a distribution of total values being a predetermined value at each position, it is possible to prevent the process of determining the distribution of the accuracy improvement effect from becoming complicated even when the number of captured images captured is large.

具体的には、第4の手段のように、前記所定値は、前記各特徴点の位置を頂点とした各正規分布に基づく値である、といった構成を採用することができる。こうした構成によれば、所定領域において各特徴点が及ぼす精度向上効果を、各特徴点から離れた位置まで反映させることができる。したがって、精度向上効果が所定領域のうちどの部分にどの程度及んでいるかを、定量的に把握し易くなる。 Specifically, as in the fourth means, a configuration can be adopted in which the predetermined value is a value based on each normal distribution with the position of each feature point as its apex. With this configuration, the accuracy improvement effect of each feature point in the predetermined region can be reflected even in positions distant from each feature point. Therefore, it becomes easier to quantitatively grasp to what extent the accuracy improvement effect extends to which part of the predetermined region.

第5の手段では、前記所定値は、前記所定領域の全体において0よりも大きい値である。こうした構成によれば、所定領域において精度向上効果が0になる部分が生じることを避けることができる。したがって、精度向上効果が所定領域のうちどの部分にどの程度及んでいるかを、さらに定量的に把握し易くなる。 In the fifth method, the predetermined value is a value greater than 0 throughout the entirety of the predetermined region. This configuration makes it possible to prevent the occurrence of parts of the predetermined region where the accuracy improvement effect is zero. This makes it easier to quantitatively grasp the extent to which the accuracy improvement effect extends to which parts of the predetermined region.

第6の手段では、前記所定領域において前記校正用パターンに対応する領域内における前記各合計値の総和が最も小さくなる前記校正用パターンの位置を、前記所定領域において前記校正用パターンを配置すべき位置として、前記所定画像に重ね合わせて前記表示装置により表示させる。 In the sixth method, the position of the calibration pattern in the specified region where the sum of the respective total values in the region corresponding to the calibration pattern is the smallest is determined as the position where the calibration pattern should be placed in the specified region, and is displayed by the display device superimposed on the specified image.

上記構成によれば、所定値を各位置で合計した各合計値を、校正用パターンに対応する領域内で足し合わせた総和が最も小さくなる校正用パターンの位置、すなわち既に取り込んだ撮影画像の校正用パターンによる精度向上効果が最も小さい校正用パターンの位置を、所定領域において校正用パターンを配置すべき位置とすることができる。そして、所定領域において校正用パターンを配置すべき位置が、所定画像に重ね合わせて表示装置により表示される。したがった、カメラにより校正用パターンを撮影する際に、どの位置に校正用パターンを配置すべきかをユーザが容易に理解することができる。 According to the above configuration, the position of the calibration pattern where the sum of the total values obtained by adding up the predetermined values at each position within the area corresponding to the calibration pattern is smallest, that is, the position of the calibration pattern where the effect of improving accuracy of the calibration pattern in the already captured captured image is smallest, can be determined as the position at which the calibration pattern should be placed in the predetermined area. Then, the position at which the calibration pattern should be placed in the predetermined area is displayed by the display device, superimposed on the predetermined image. Therefore, when photographing the calibration pattern with a camera, the user can easily understand where the calibration pattern should be placed.

カメラのキャリブレーションが未実行の場合は、キャリブレーション操作支援装置は、撮影画像に基づいて3次元空間における校正用パターンの各特徴点の位置を正確に算出することができない。このため、キャリブレーション操作支援装置は、3次元空間としての所定領域において、精度向上効果の分布を正確に把握することができない。 If camera calibration has not been performed, the calibration operation support device cannot accurately calculate the position of each feature point of the calibration pattern in three-dimensional space based on the captured image. As a result, the calibration operation support device cannot accurately grasp the distribution of the accuracy improvement effect in a specified area in three-dimensional space.

この点、第7の手段では、前記所定領域を2次元平面とみなし、前記各特徴点の位置を前記2次元平面上の位置とみなして、前記効果の分布を前記所定画像に重ね合わせて前記表示装置により表示させる。こうした構成によれば、カメラのキャリブレーションが未実行の場合であっても、キャリブレーション操作支援装置は、2次元平面としての所定領域において精度向上効果の分布を把握して表示することができる。したがって、ユーザは、キャリブレーションを実行する際に、どのような撮影画像を取り込むべきか判断することが容易となる。 In this regard, in the seventh means, the specified area is regarded as a two-dimensional plane, the position of each of the feature points is regarded as a position on the two-dimensional plane, and the distribution of the effect is superimposed on the specified image and displayed by the display device. With this configuration, even if the camera calibration has not been performed, the calibration operation support device can grasp and display the distribution of the accuracy improvement effect in the specified area as a two-dimensional plane. Therefore, it becomes easy for the user to determine what kind of captured image should be imported when performing the calibration.

上述したように、カメラのキャリブレーションが未実行の場合は、キャリブレーション操作支援装置は、3次元空間としての所定領域において精度向上効果の分布を正確に把握することができない。ひいては、3次元空間としての所定領域において、校正用パターンを配置すべき正確な位置を所定画像に重ね合わせて表示することが難しい。 As described above, if the camera has not been calibrated, the calibration operation support device cannot accurately grasp the distribution of the accuracy improvement effect in a specified area in three-dimensional space. In addition, it is difficult to display the exact position where the calibration pattern should be placed in the specified area in three-dimensional space by superimposing it on the specified image.

この点、第7の手段を前提として、第8の手段では、前記2次元平面としての前記所定領域において前記校正用パターンを配置すべき位置を、前記所定画像に重ね合わせて前記表示装置により表示させる。こうした構成によれば、カメラのキャリブレーションが未実行の場合であっても、キャリブレーション操作支援装置は、2次元平面としての所定領域において、精度向上効果の分布を把握すること、ひいては校正用パターンを配置すべき位置を所定画像に重ね合わせて表示することができる。 In this regard, based on the seventh means, the eighth means causes the display device to display the position where the calibration pattern should be placed in the specified area as the two-dimensional plane, superimposed on the specified image. With this configuration, even if the camera calibration has not been performed, the calibration operation support device can grasp the distribution of the accuracy improvement effect in the specified area as a two-dimensional plane, and can therefore display the position where the calibration pattern should be placed, superimposed on the specified image.

カメラのキャリブレーションの実行後は、キャリブレーションにより取得されたカメラに関するパラメータを用いて、撮影画像に基づいて3次元空間における校正用パターンの各特徴点の位置を正確に算出することができる。 After performing camera calibration, the camera parameters obtained by the calibration can be used to accurately calculate the position of each feature point of the calibration pattern in three-dimensional space based on the captured image.

そこで、第9の手段では、前記キャリブレーションの実行後に、前記キャリブレーションにより取得された前記カメラに関するパラメータを用いて、前記所定領域を3次元空間とみなし、前記各特徴点の位置を前記3次元空間内の位置とみなして、前記効果の分布を前記所定画像に重ね合わせて前記表示装置により表示させる。こうした構成によれば、産業用カメラのキャリブレーション操作支援装置は、3次元空間としての所定領域において、精度向上効果の分布を正確に把握して表示することができる。したがって、ユーザは、3次元空間としての所定領域において、精度向上効果が不足している位置に校正用パターンを配置して撮影画像を取り込むことが容易になる。 In the ninth aspect, after the calibration is performed, the specified area is regarded as a three-dimensional space using the camera parameters acquired by the calibration, the positions of the feature points are regarded as positions within the three-dimensional space, and the distribution of the effect is superimposed on the specified image and displayed by the display device. With this configuration, the calibration operation support device for an industrial camera can accurately grasp and display the distribution of the accuracy improvement effect in a specified area as a three-dimensional space. Therefore, it becomes easy for a user to place a calibration pattern in a position where the accuracy improvement effect is insufficient in the specified area as a three-dimensional space and capture a captured image.

第10の手段では、前記3次元空間としての前記所定領域において前記校正用パターンを配置すべき位置を、前記所定画像に重ね合わせて前記表示装置により表示させる。 In a tenth aspect, the position at which the calibration pattern should be placed in the specified area in the three-dimensional space is displayed by the display device, superimposed on the specified image.

上記構成によれば、ユーザは、カメラにより校正用パターンを撮影する際に、3次元空間としての所定領域において、どの位置に校正用パターンを配置すべきかを容易に理解することができる。 With the above configuration, when a user photographs a calibration pattern with a camera, the user can easily understand where the calibration pattern should be placed in a specific area in three-dimensional space.

第11の手段では、前記所定領域において前記校正用パターンを配置すべき位置を、前記所定画像に重ね合わせて前記表示装置により表示させる。こうした構成によれば、カメラにより校正用パターンを撮影する際に、どの位置に校正用パターンを配置すべきかをユーザが容易に理解することができる。 In an eleventh aspect, the position at which the calibration pattern should be placed in the specified area is displayed on the display device while being superimposed on the specified image. With this configuration, the user can easily understand where the calibration pattern should be placed when photographing the calibration pattern with a camera.

第12の手段では、前記キャリブレーションに用いる画像として取り込んだ前記複数の撮影画像における前記校正用パターンの高さを、前記所定画像に重ね合わせて前記表示装置により表示させる。こうした構成によれば、ユーザは、どのような高さに校正用パターンを配置した撮影画像を既に取り込み済みか把握することができる。したがって、ユーザは、未だ配置していない高さに校正用パターンを配置して撮影画像を取り込むことが容易になるため、どのような撮影画像を取り込むべきかユーザが判断することを支援することができる。 In a twelfth aspect, the height of the calibration pattern in the multiple captured images captured as images to be used for the calibration is superimposed on the specified image and displayed by the display device. With this configuration, the user can know at what height the captured images at which the calibration pattern has been arranged have already been captured. Therefore, it becomes easy for the user to place the calibration pattern at a height where it has not yet been arranged and capture the captured images, and it is possible to assist the user in determining what kind of captured images should be captured.

第13の手段では、前記所定領域において前記校正用パターンを配置すべき高さを、前記所定画像に重ね合わせて前記表示装置により表示させる。こうした構成によれば、カメラにより校正用パターンを撮影する際に、どの高さに校正用パターンを配置すべきかをユーザが容易に理解することができる。 In a thirteenth aspect, the height at which the calibration pattern should be placed in the specified area is displayed on the display device while being superimposed on the specified image. With this configuration, the user can easily understand at what height the calibration pattern should be placed when photographing the calibration pattern with a camera.

第14の手段では、前記キャリブレーションに用いる画像として取り込んだ前記複数の撮影画像における前記校正用パターンの傾きを、前記所定画像に重ね合わせて前記表示装置により表示させる。こうした構成によれば、ユーザは、どのような傾きに校正用パターンを配置した撮影画像を既に取り込み済みか把握することができる。したがって、ユーザは、未だ配置していない傾きに校正用パターンを配置して撮影画像を取り込むことが容易になるため、どのような撮影画像を取り込むべきかユーザが判断することを支援することができる。 In a fourteenth aspect, the inclination of the calibration pattern in the multiple captured images captured as images to be used for the calibration is superimposed on the predetermined image and displayed by the display device. With this configuration, the user can know what inclination of the captured images at which the calibration pattern has been arranged has already been captured. Therefore, it becomes easy for the user to place the calibration pattern at an inclination where it has not yet been arranged and capture the captured image, and it is possible to assist the user in determining what kind of captured image should be captured.

第15の手段では、前記所定領域においてどのような傾きで前記校正用パターンを配置すべきかを、前記所定画像に重ね合わせて前記表示装置により表示させる。こうした構成によれば、カメラにより校正用パターンを撮影する際に、どのような傾きで校正用パターンを配置すべきかをユーザが容易に理解することができる。 In a fifteenth aspect, the display device displays the inclination at which the calibration pattern should be placed in the specified area, superimposed on the specified image. With this configuration, the user can easily understand the inclination at which the calibration pattern should be placed when photographing the calibration pattern with a camera.

第16の手段では、前記所定領域において前記校正用パターンの配置状態が所定条件を満たした場合に、前記カメラにより撮影した前記撮影画像を前記キャリブレーションに用いる画像として取り込む。こうした構成によれば、ユーザはキャリブレーションに用いる画像を取り込むための操作を行う必要がなく、ユーザの手間を減らすことができる。 In a sixteenth aspect, when the arrangement of the calibration pattern in the specified area satisfies a specified condition, the image captured by the camera is imported as an image to be used for the calibration. With this configuration, the user does not need to perform any operation to import an image to be used for the calibration, reducing the user's effort.

第17の手段では、前記キャリブレーションに用いる画像として取り込んだ前記複数の撮影画像の数が所定数を超えた場合に、前記処理装置により前記キャリブレーションを行わせる。こうした構成によれば、ユーザがキャリブレーションのための操作を行う必要がなく、ユーザの手間を減らすことができる。 In the seventeenth means, when the number of the plurality of captured images imported as images to be used for the calibration exceeds a predetermined number, the processing device performs the calibration. With this configuration, the user does not need to perform any operation for the calibration, and the user's effort can be reduced.

システムの模式図System Schematic 第1実施形態において、撮影中の校正用パターンと、取り込んだ撮影画像における校正用パターンの位置を示す画像In the first embodiment, an image showing a calibration pattern being photographed and a position of the calibration pattern in a captured photographed image 第2実施形態において撮影中の校正用パターン及び所定直線を示す画像An image showing a calibration pattern and a predetermined straight line being photographed in the second embodiment 図3の所定直線上に存在する特徴点を示す模式図FIG. 4 is a schematic diagram showing feature points existing on a predetermined straight line in FIG. 3; 図4の所定直線上における精度向上効果の分布の比較例を示すグラフ5 is a graph showing a comparative example of the distribution of the accuracy improvement effect on the predetermined straight line in FIG. 図4の所定直線上における精度向上効果の分布を示すグラフA graph showing the distribution of the accuracy improvement effect on a specific straight line in FIG. キャリブレーション操作支援の手順を示すフローチャートFlowchart showing the procedure for supporting calibration operations 校正用パターン及び走査用長方形を示す画像Image showing the calibration pattern and scanning rectangle 精度向上効果の分布を示す模式図Schematic diagram showing the distribution of accuracy improvement effects 複数の取り込み画像における校正用パターンの位置を示す模式図FIG. 1 is a schematic diagram showing the positions of calibration patterns in a plurality of captured images; 複数の取り込み画像の校正用パターンによる精度向上効果の分布を示す模式図Schematic diagram showing the distribution of accuracy improvement effect by using a calibration pattern on multiple captured images 図11の精度向上効果の分布を対数表示に変換して示す模式図FIG. 12 is a schematic diagram showing the distribution of the accuracy improvement effect of FIG. 11 converted into a logarithmic representation. 校正用パターンの目標配置位置を探索する態様を示す模式図FIG. 13 is a schematic diagram showing a mode of searching for a target arrangement position of a calibration pattern; 校正用パターンの目標配置位置を示す模式図FIG. 1 is a schematic diagram showing a target arrangement position of a calibration pattern; 校正用パターンの傾きを示す模式図Schematic diagram showing the inclination of the calibration pattern 校正用パターンの傾き分布を示す模式図Schematic diagram showing the inclination distribution of the calibration pattern

(第1実施形態)
以下、ロボット(産業機械)による部品の組み付け工程(ワークに対する作業工程)に用いられるシステムに具現化した第1実施形態について、図面を参照して説明する。
First Embodiment
Hereinafter, a first embodiment embodied in a system used in a part assembly process (a work process for a workpiece) by a robot (industrial machine) will be described with reference to the drawings.

図1に示すように、システム10は、カメラ11、処理装置12、表示装置13等を備えている。 As shown in FIG. 1, the system 10 includes a camera 11, a processing device 12, a display device 13, etc.

カメラ11(産業用カメラ)は、静止画及び動画を撮影可能であり、撮影した画像のデータを処理装置12へ送信する。カメラ11は、予め設定された所定領域20を撮影するように、スタンド11a等により固定されている。所定領域20は、ロボットによる部品の組み付け工程において、部品の組み付け(ワークに対する作業)が行われる領域であり、所定の横幅、奥行、高さを有している。 The camera 11 (industrial camera) is capable of taking still and video images, and transmits the captured image data to the processing device 12. The camera 11 is fixed by a stand 11a or the like so as to take images of a predefined area 20. The predefined area 20 is an area where parts are assembled (work on the workpiece) during the part assembly process by the robot, and has a predetermined width, depth, and height.

表示装置13は、液晶画面等により構成されており、処理装置12から入力した信号に基づいて画像を表示する。 The display device 13 is composed of an LCD screen or the like, and displays images based on signals input from the processing device 12.

処理装置12は、CPU、ROM、RAM、操作部、記憶装置、入出力インターフェース等を備えたコンピュータである。CPUは、ROMやRAMに格納されているプログラムやデータを用いて、種々の制御を実行する。操作部は、キーボードやマウス等により構成されており、ユーザの操作を受け付けることにより、各種の指示をCPUに入力する。記憶装置は、各種のプログラム及びデータを記憶する。 The processing device 12 is a computer equipped with a CPU, ROM, RAM, an operation unit, a storage device, an input/output interface, etc. The CPU executes various controls using programs and data stored in the ROM and RAM. The operation unit is composed of a keyboard, mouse, etc., and inputs various instructions to the CPU by accepting user operations. The storage device stores various programs and data.

処理装置12は、カメラ11により撮影した所定画像25(撮影画像)を、表示装置13により表示させる。所定画像25は、カメラ11により現在撮影している(撮影中)の所定領域20の画像である。図1は、所定領域20内に校正用パターン30が配置されている状態を示している。 The processing device 12 causes the display device 13 to display the predetermined image 25 (captured image) captured by the camera 11. The predetermined image 25 is an image of the predetermined area 20 that is currently being captured (captured) by the camera 11. Figure 1 shows a state in which a calibration pattern 30 is arranged within the predetermined area 20.

校正用パターン30は、周知の任意の構成を採用することができ、例えば板状に形成され、所定のマーカ30aが所定の配列で記されている。校正用パターン30は、カメラ11のレンズ中心、焦点距離等のカメラパラメータを求める処理、すなわちカメラ11のキャリブレーションに用いられる。 The calibration pattern 30 can have any known configuration, for example, formed in a plate shape with predetermined markers 30a marked in a predetermined arrangement. The calibration pattern 30 is used for the process of determining camera parameters such as the lens center and focal length of the camera 11, i.e., for calibrating the camera 11.

処理装置12は、カメラ11により校正用パターン30を撮影した複数の撮影画像に基づいて、カメラ11のキャリブレーションを行う。詳しくは、カメラ11は所定領域20を連続的に撮影しており、処理装置12はカメラ11により撮影した所定画像25を表示装置13により連続的に表示させている。しかし、その段階では所定画像25は、キャリブレーションに用いられる画像として処理装置12に取り込まれていない。なお、カメラ11が所定領域20の撮影を開始した時に、処理装置12は、キャリブレーションが可能か否かを判定してもよい。キャリブレーションが可能か否かは、例えばカメラ11による撮影画像の輝度や、ピント、遮蔽物の有無等に基づいて判定することができる。処理装置12は、キャリブレーションが可能であると判定した場合に、キャリブレーションを実行させる指示を表示装置13により表示させてもよい。処理装置12は、キャリブレーションが可能でないと判定した場合に、カメラ11による撮影条件を修正する指示を表示装置13により表示させてもよい。また、処理装置12は、キャリブレーションを実行させる指示を表示装置13により表示させた後に、所定期間内にキャリブレーションが開始されなかった場合に、キャリブレーションを実行させる指示を表示装置13により再度表示させてもよい。 The processing device 12 calibrates the camera 11 based on a plurality of captured images of the calibration pattern 30 captured by the camera 11. In detail, the camera 11 continuously captures the predetermined area 20, and the processing device 12 continuously displays the predetermined image 25 captured by the camera 11 on the display device 13. However, at that stage, the predetermined image 25 has not been imported into the processing device 12 as an image to be used for calibration. When the camera 11 starts capturing the predetermined area 20, the processing device 12 may determine whether calibration is possible. Whether calibration is possible can be determined based on, for example, the brightness of the image captured by the camera 11, the focus, the presence or absence of an obstruction, etc. If the processing device 12 determines that calibration is possible, it may cause the display device 13 to display an instruction to perform calibration. If the processing device 12 determines that calibration is not possible, it may cause the display device 13 to display an instruction to correct the shooting conditions of the camera 11. Furthermore, if calibration is not started within a predetermined period after the processing device 12 has displayed an instruction to perform calibration on the display device 13, the processing device 12 may cause the display device 13 to display an instruction to perform calibration again.

処理装置12は、所定領域20において校正用パターン30の配置状態が所定条件を満たした場合に、カメラ11により撮影した所定画像25をキャリブレーションに用いる画像として取り込む。すなわち、ユーザは、キャリブレーションに用いる所定画像25を処理装置12に取り込む際に、所定画像25を処理装置12に取り込ませるための操作を行う必要がない。 When the arrangement state of the calibration pattern 30 in the specified area 20 satisfies a specified condition, the processing device 12 imports the specified image 25 captured by the camera 11 as an image to be used for calibration. In other words, when importing the specified image 25 to be used for calibration into the processing device 12, the user does not need to perform any operation to import the specified image 25 into the processing device 12.

詳しくは、処理装置12は、カメラ11により撮影した撮影画像のデータに基づいて、校正用パターン30の位置を特定する。校正用パターン30の位置を特定する方法については後述する。処理装置12は、特定した校正用パターン30の位置が、精度よくキャリブレーションを行うために望ましい複数の位置範囲のいずれかに含まれる場合に、上記所定条件を満たしたと判定する。望ましい複数の位置範囲は、例えば所定画像25において、四隅付近と中央付近に設定されている。 More specifically, the processing device 12 identifies the position of the calibration pattern 30 based on the data of the captured image captured by the camera 11. A method for identifying the position of the calibration pattern 30 will be described later. The processing device 12 determines that the above-mentioned specified condition is satisfied when the identified position of the calibration pattern 30 is included in any one of a plurality of position ranges that are desirable for performing calibration with high accuracy. The plurality of desirable position ranges are set, for example, near the four corners and near the center of the specified image 25.

次に、システム10に適用され、ユーザによるカメラ11のキャリブレーションの操作を支援する支援装置について説明する。本実施形態では、支援装置(産業用カメラのキャリブレーション操作支援装置)は、処理装置12により構成されている。 Next, we will explain the support device that is applied to the system 10 and supports the user in performing the calibration operation of the camera 11. In this embodiment, the support device (calibration operation support device for an industrial camera) is composed of a processing device 12.

図2は、撮影中の校正用パターン30と、取り込んだ撮影画像における校正用パターン30の位置を示す画像である。処理装置12は、キャリブレーションに用いる画像として取り込んだ複数の撮影画像における校正用パターン30の位置を、所定画像25に重ね合わせて表示装置13により表示させる。 Figure 2 shows an image showing the calibration pattern 30 being photographed and the position of the calibration pattern 30 in the captured photographed image. The processing device 12 displays the position of the calibration pattern 30 in the multiple photographed images captured as images to be used for calibration on the display device 13 by superimposing it on the specified image 25.

詳しくは、処理装置12は、キャリブレーションに用いる画像として取り込んだ撮影画像のデータに基づいて、複数のマーカ30aの位置を特定する。例えば処理装置12は、特定した複数のマーカ30aが存在する領域の輪郭線31(外形線)を、校正用パターン30の位置として特定する。そして、輪郭線31を破線で表示させる。輪郭線32,33は、校正用パターン30を、輪郭線31とは別の位置に配置して撮影した撮影画像における校正用パターン30の位置を表している。 More specifically, the processing device 12 identifies the positions of the multiple markers 30a based on the data of the captured image captured as an image to be used for calibration. For example, the processing device 12 identifies the contour line 31 (outline) of the area in which the identified multiple markers 30a exist as the position of the calibration pattern 30. Then, the processing device 12 displays the contour line 31 as a dashed line. The contour lines 32 and 33 represent the position of the calibration pattern 30 in a captured image in which the calibration pattern 30 is placed at a position different from the contour line 31 and captured.

上記のように、取り込んだ撮影画像に既に含まれている校正用パターン30の位置として、輪郭線31~33が表示される。このため、ユーザは、取り込んだ撮影画像に未だ含まれていない校正用パターン30の位置として、次にどの位置に校正用パターン30を配置すべきか容易に判断することができる。ユーザにより所定領域20において校正用パターン30が望ましい位置に配置されると、処理装置12は上記所定条件が満たされたと判定して、カメラ11により撮影した所定画像25をキャリブレーションに用いる画像として取り込む。 As described above, the contours 31 to 33 are displayed as the positions of the calibration pattern 30 that are already included in the captured captured image. This allows the user to easily determine where the calibration pattern 30 should be placed next as a position of the calibration pattern 30 that is not yet included in the captured captured image. When the user places the calibration pattern 30 in a desired position in the specified area 20, the processing device 12 determines that the above-mentioned specified conditions are satisfied, and captures the specified image 25 captured by the camera 11 as an image to be used for calibration.

そして、処理装置12は、キャリブレーションに用いる画像として取り込んだ複数の撮影画像の数が所定数を超えた場合に、その都度キャリブレーションを行う。処理装置12は、取り込んだ複数の撮影画像の数が一度所定数を超えた場合は、新たな撮影画像を取り込む度にキャリブレーションを行う。これにより、キャリブレーションを行う毎に、キャリブレーションの精度が向上する。キャリブレーションを行う方法は周知であるため、ここでは記載を省略する。その後、処理装置12は、キャリブレーション結果として得られた上記カメラパラメータが適正範囲の値になった時に、キャリブレーションを行う一連の処理を終了する。なお、処理装置12は、キャリブレーションに必要な撮影画像の上記所定数や、現在取り込み済みの撮影画像の数等を、表示装置13により表示させてもよい。また、処理装置12は、現在得られているカメラパラメータの上記適正範囲の値に対する達成度や不足度を、表示装置13により表示させてもよい。 The processing device 12 performs calibration each time the number of multiple captured images captured as images to be used for calibration exceeds a predetermined number. Once the number of multiple captured images captured by the processing device 12 exceeds the predetermined number, the processing device 12 performs calibration each time a new captured image is captured. This improves the accuracy of calibration each time calibration is performed. Since the method of performing calibration is well known, a description thereof will be omitted here. After that, the processing device 12 ends the series of processes for performing calibration when the camera parameters obtained as the calibration result are within the appropriate range. The processing device 12 may display the predetermined number of captured images required for calibration, the number of captured images currently captured, etc., on the display device 13. The processing device 12 may also display the degree of achievement or deficiency of the currently obtained camera parameters with respect to the values in the appropriate range on the display device 13.

以上詳述した本実施形態は、以下の利点を有する。 The present embodiment described above has the following advantages:

・処理装置12(産業用カメラのキャリブレーション操作支援装置)は、キャリブレーションに用いる画像として取り込んだ複数の撮影画像における校正用パターン30の位置を、所定画像25に重ね合わせて表示装置13により表示させる。このため、ユーザは、所定領域20のうちどの位置に校正用パターン30を配置した撮影画像を既に取り込み済みか把握することができる。したがって、ユーザは、未だ配置していない位置に校正用パターン30を配置して撮影画像を取り込むことが容易になるため、どのような撮影画像を取り込むべきかユーザが判断することを支援することができる。 - The processing device 12 (calibration operation support device for industrial cameras) causes the display device 13 to display the positions of the calibration pattern 30 in the multiple captured images captured as images to be used for calibration, superimposed on the specified image 25. This allows the user to know in which position in the specified area 20 the captured images in which the calibration pattern 30 has been placed have already been captured. This makes it easy for the user to capture captured images by placing the calibration pattern 30 in a position where it has not yet been placed, thereby facilitating the user's decision as to what type of captured images should be captured.

・処理装置12は、所定領域20において校正用パターン30の配置状態が所定条件を満たした場合に、カメラ11により撮影した撮影画像をキャリブレーションに用いる画像として取り込む。こうした構成によれば、ユーザはキャリブレーションに用いる画像を取り込むための操作を行う必要がなく、ユーザの手間を減らすことができる。 - When the arrangement state of the calibration pattern 30 in the specified area 20 satisfies a specified condition, the processing device 12 imports the image captured by the camera 11 as an image to be used for calibration. With this configuration, the user does not need to perform any operation to import the image to be used for calibration, reducing the user's effort.

・キャリブレーションに用いる画像として取り込んだ複数の撮影画像の数が所定数を超えた場合に、処理装置12はキャリブレーションを行う。こうした構成によれば、ユーザがキャリブレーションのための操作を行う必要がなく、ユーザの手間を減らすことができる。 When the number of multiple captured images imported as images to be used for calibration exceeds a predetermined number, the processing device 12 performs calibration. With this configuration, the user does not need to perform operations for calibration, reducing the user's workload.

なお、上記実施形態を、以下のように変更して実施することもできる。上記実施形態と同一の部分については、同一の符号を付すことにより説明を省略する。 The above embodiment can be modified as follows. The same parts as those in the above embodiment are designated by the same reference numerals and will not be described.

・処理装置12は、所定領域20において校正用パターン30を配置すべき位置を、所定画像25に重ね合わせて表示装置13により表示させることもできる。具体的には、処理装置12は、精度よくキャリブレーションを行うために望ましい複数の位置範囲のうち、校正用パターン30が配置された撮影画像を取り込んでいない位置範囲のいずれか、あるいはそのいずれかの位置範囲内の所定位置を、所定画像25に重ね合わせて表示装置13により表示させる。こうした構成によれば、カメラ11により校正用パターン30を撮影する際に、どの位置に校正用パターン30を配置すべきかをユーザが容易に理解することができる。 The processing device 12 can also display on the display device 13 the position at which the calibration pattern 30 should be placed in the specified area 20, superimposed on the specified image 25. Specifically, the processing device 12 displays on the display device 13 one of a number of position ranges desirable for performing accurate calibration, in which a captured image in which the calibration pattern 30 is placed has not been captured, or a specified position within one of those position ranges, superimposed on the specified image 25. With this configuration, the user can easily understand where the calibration pattern 30 should be placed when photographing the calibration pattern 30 with the camera 11.

・処理装置12は、キャリブレーションに用いる画像として取り込んだ複数の撮影画像における校正用パターン30の高さを、所定画像25に重ね合わせて表示装置13により表示させることもできる。具体的には、処理装置12は、キャリブレーションに用いる画像として取り込んだ撮影画像のデータに基づいて、校正用パターン30の各部の高さを特定する。そして、処理装置12は、上記輪郭線31~33の内部を、各部の高さに応じた色で表示させる。こうした構成によれば、ユーザは、どのような高さに校正用パターン30を配置した撮影画像を既に取り込み済みか把握することができる。したがって、ユーザは、未だ配置していない高さに校正用パターン30を配置して撮影画像を取り込むことが容易になるため、どのような撮影画像を取り込むべきかユーザが判断することを支援することができる。なお、校正用パターン30の各部の高さの平均値を算出し、輪郭線31~33の内部を高さの平均値に応じた色で表示させたり、高さの平均値を数値表示させたりすることもできる。 The processing device 12 can also display the heights of the calibration pattern 30 in the multiple captured images captured as images used for calibration by superimposing them on the specified image 25 on the display device 13. Specifically, the processing device 12 identifies the heights of the various parts of the calibration pattern 30 based on the data of the captured images captured as images used for calibration. The processing device 12 then displays the interiors of the contours 31 to 33 in colors corresponding to the heights of the various parts. With this configuration, the user can know at what height the captured images at which the calibration pattern 30 has been placed have already been captured. This makes it easy for the user to capture captured images at a height at which the calibration pattern 30 has not yet been placed, thereby helping the user to determine what kind of captured images should be captured. It is also possible to calculate the average value of the heights of the various parts of the calibration pattern 30, and to display the interiors of the contours 31 to 33 in colors corresponding to the average heights, or to display the average heights numerically.

・処理装置12は、所定領域20において校正用パターン30を配置すべき高さを、所定画像25に重ね合わせて表示装置13により表示させることもできる。具体的には、処理装置12は、精度よくキャリブレーションを行うために望ましい複数の高さ範囲のうち、校正用パターン30が配置された撮影画像を取り込んでいない高さ範囲のいずれか、あるいはそのいずれかの高さ範囲内の所定位置を、所定画像25に重ね合わせて表示装置13により表示させる。こうした構成によれば、カメラ11により校正用パターン30を撮影する際に、どの高さに校正用パターン30を配置すべきかをユーザが容易に理解することができる。また、ユーザにより所定領域20において校正用パターン30が望ましい高さに配置されると、処理装置12は上記所定条件が満たされたと判定して、カメラ11により撮影した所定画像25をキャリブレーションに用いる画像として取り込むとよい。 The processing device 12 can also display the height at which the calibration pattern 30 should be placed in the specified area 20 on the specified image 25 by the display device 13. Specifically, the processing device 12 displays on the display device 13 one of the height ranges, among a plurality of height ranges desirable for performing calibration with high accuracy, in which the captured image in which the calibration pattern 30 is placed has not been captured, or a predetermined position within one of the height ranges, by superimposing it on the specified image 25. With this configuration, the user can easily understand at what height the calibration pattern 30 should be placed when the calibration pattern 30 is captured by the camera 11. Furthermore, when the user places the calibration pattern 30 at the desired height in the specified area 20, the processing device 12 may determine that the above-mentioned predetermined condition is satisfied and capture the specified image 25 captured by the camera 11 as an image to be used for calibration.

・処理装置12は、キャリブレーションに用いる画像として取り込んだ複数の撮影画像における校正用パターン30の傾きを、所定画像25に重ね合わせて表示装置13により表示させることもできる。上記と同様に、処理装置12は、上記輪郭線31~33の内部を、各部の高さに応じた色で表示させる。ユーザは、輪郭線31~33の内部の色の変化度合に基づいて、校正用パターン30の傾きを把握することができる。こうした構成によれば、ユーザは、どのような傾きに校正用パターン30を配置した撮影画像を既に取り込み済みか把握することができる。したがって、ユーザは、未だ配置していない傾きに校正用パターン30を配置して撮影画像を取り込むことが容易になるため、どのような撮影画像を取り込むべきかユーザが判断することを支援することができる。なお、校正用パターン30の各部の高さに基づいて校正用パターン30の傾きを算出し、算出した傾きを数値表示させることもできる。 The processing device 12 can also display the inclination of the calibration pattern 30 in the multiple captured images captured as images used for calibration by superimposing it on the specified image 25 on the display device 13. As above, the processing device 12 displays the inside of the contours 31 to 33 in a color corresponding to the height of each part. The user can understand the inclination of the calibration pattern 30 based on the degree of color change inside the contours 31 to 33. With this configuration, the user can understand what inclination of the captured image at which the calibration pattern 30 has been arranged has already been imported. Therefore, it becomes easy for the user to place the calibration pattern 30 at an inclination that has not yet been arranged and import the captured image, and it is possible to assist the user in determining what kind of captured image should be imported. Note that the inclination of the calibration pattern 30 can be calculated based on the height of each part of the calibration pattern 30, and the calculated inclination can be displayed numerically.

・処理装置12は、所定領域20においてどのような傾きで校正用パターン30を配置すべきかを、所定画像25に重ね合わせて表示装置13により表示させることもできる。具体的には、処理装置12は、精度よくキャリブレーションを行うために望ましい複数の傾き範囲のうち、校正用パターン30が配置された撮影画像を取り込んでいない傾き範囲のいずれか、あるいはそのいずれかの傾き範囲内の所定傾き値を、所定画像25に重ね合わせて表示装置13により表示させる。こうした構成によれば、カメラ11により校正用パターン30を撮影する際に、どのような傾きで校正用パターン30を配置すべきかをユーザが容易に理解することができる。また、ユーザにより所定領域20において校正用パターン30が望ましい傾きで配置されると、処理装置12は上記所定条件が満たされたと判定して、カメラ11により撮影した所定画像25をキャリブレーションに用いる画像として取り込むとよい。 The processing device 12 can also display on the display device 13 the inclination at which the calibration pattern 30 should be arranged in the specified area 20, superimposed on the specified image 25. Specifically, the processing device 12 displays on the display device 13 one of the inclination ranges, among a plurality of inclination ranges desirable for performing calibration with high accuracy, in which the captured image in which the calibration pattern 30 is arranged is not captured, or a specified inclination value within one of the inclination ranges. With this configuration, the user can easily understand the inclination at which the calibration pattern 30 should be arranged when the calibration pattern 30 is captured by the camera 11. Furthermore, when the user arranges the calibration pattern 30 in the specified area 20 with the desired inclination, the processing device 12 may determine that the above-mentioned predetermined condition is satisfied, and may capture the specified image 25 captured by the camera 11 as an image to be used for calibration.

(第2実施形態)
以下、処理装置12が、キャリブレーションに用いる画像として取り込んだ複数の撮影画像における校正用パターン30が、所定領域20においてキャリブレーションの精度を向上させる効果(以下、「精度向上効果」という)の分布を、所定画像25に重ね合わせて表示装置13により表示させるようにした第2実施形態について、図面を参照して説明する。なお、第1実施形態と同一の部分については、同一の符号を付すことにより説明を省略する。
Second Embodiment
Hereinafter, a second embodiment will be described with reference to the drawings, in which the processing device 12 superimposes a distribution of the effect of improving the accuracy of calibration in a predetermined region 20 (hereinafter referred to as "accuracy improvement effect") of the calibration pattern 30 in a plurality of captured images captured as images to be used for calibration on a predetermined image 25 and displays it on the display device 13. Note that the same parts as those in the first embodiment are denoted by the same reference numerals and description thereof will be omitted.

図3は、撮影中の校正用パターン30及び所定直線Lを示す画像である。校正用パターン30は、長方形(矩形)板状に形成され、複数の特徴点30bが全体として長方形状の配列(所定の配列)で記されている。ここでは、所定領域20を2次元平面とみなし、各特徴点30bの位置をその2次元平面上の位置とみなしている。所定直線Lは、その2次元平面において校正用パターン30に重なるように引いた任意の直線である。 Figure 3 is an image showing the calibration pattern 30 and the specified straight line L during shooting. The calibration pattern 30 is formed in a rectangular (rectangular) plate, and a number of feature points 30b are marked in an overall rectangular arrangement (specified arrangement). Here, the specified area 20 is regarded as a two-dimensional plane, and the position of each feature point 30b is regarded as a position on that two-dimensional plane. The specified straight line L is an arbitrary straight line drawn so as to overlap the calibration pattern 30 on that two-dimensional plane.

図4は、図3の所定直線L上に存在する特徴点30bを示す模式図である。ここでは、4つの特徴点30bが所定直線L上に存在する。 Figure 4 is a schematic diagram showing feature points 30b that exist on the specified line L in Figure 3. Here, four feature points 30b exist on the specified line L.

図5は、図4の所定直線L上における精度向上効果の分布の比較例を示すグラフである。各特徴点30bは、それぞれの位置においてキャリブレーションの精度を向上させる効果を奏する。そこで、校正用パターン30において、複数の特徴点30bが存在する領域(上記輪郭線31の内部)で精度向上効果を1.0とし、特徴点30bが存在しない領域域(上記輪郭線31の外部)で精度向上効果を0として、精度向上効果を数値化している。この場合は、輪郭線31の内部でなければ、校正用パターン30に近くても遠くても精度向上効果は0となる。このため、輪郭線31の外部において、校正用パターン30に近い位置と校正用パターン30から遠い位置とで、精度向上効果の違いを示すことができない。 Figure 5 is a graph showing a comparative example of the distribution of the accuracy improvement effect on the specified line L in Figure 4. Each feature point 30b has the effect of improving the accuracy of calibration at each position. Therefore, the accuracy improvement effect is quantified by setting the accuracy improvement effect to 1.0 in the area of the calibration pattern 30 where multiple feature points 30b exist (inside the contour line 31) and setting the accuracy improvement effect to 0 in the area where no feature points 30b exist (outside the contour line 31). In this case, if not inside the contour line 31, the accuracy improvement effect is 0 regardless of whether it is close to the calibration pattern 30 or far from it. Therefore, outside the contour line 31, it is not possible to show the difference in the accuracy improvement effect between a position close to the calibration pattern 30 and a position far from the calibration pattern 30.

図6は、図4の所定直線L上における精度向上効果の分布を示すグラフである。ここでは、各特徴点30bの位置を頂点として頂点から離れるほど小さくなる所定値として、精度向上効果を数値化している。詳しくは、所定値は、各特徴点30bの位置を頂点とした各正規分布30cに基づく値である。すなわち、所定値は、所定領域20の全体において0よりも大きい値である。そして、精度向上効果の分布30dは、上記所定値を各位置で合計した各合計値の分布である。この場合は、輪郭線31の外部において、校正用パターン30に近いほど精度向上効果が大きくなり、校正用パターン30から遠いほど精度向上効果が小さくなる。このため、輪郭線31の外部において、校正用パターン30に近い位置と校正用パターン30から遠い位置とで、精度向上効果の違いを示すことができる。なお、図6では所定直線L上における上記所定値を2次元のグラフとして示しているが、上記所定値は円錐状の3次元のグラフである。 Figure 6 is a graph showing the distribution of the accuracy improvement effect on the specified straight line L in Figure 4. Here, the accuracy improvement effect is quantified as a specified value that becomes smaller as the position of each feature point 30b becomes the apex and the further away from the apex. In detail, the specified value is a value based on each normal distribution 30c with the position of each feature point 30b as the apex. In other words, the specified value is a value greater than 0 in the entire specified region 20. The distribution 30d of the accuracy improvement effect is a distribution of each total value obtained by summing the above-mentioned specified values at each position. In this case, outside the contour line 31, the closer to the calibration pattern 30, the greater the accuracy improvement effect, and the farther away from the calibration pattern 30, the smaller the accuracy improvement effect. Therefore, outside the contour line 31, the difference in the accuracy improvement effect can be shown between a position close to the calibration pattern 30 and a position far from the calibration pattern 30. Note that, although the above-mentioned specified value on the specified straight line L is shown as a two-dimensional graph in Figure 6, the above-mentioned specified value is a three-dimensional graph in the shape of a cone.

図7は、キャリブレーション操作支援の手順を示すフローチャートである。この一連の処理は、処理装置12により実行される。 Figure 7 is a flowchart showing the procedure for supporting the calibration operation. This series of processes is executed by the processing device 12.

まず、カメラ11により所定領域20を撮影させる(S10)。 First, the camera 11 captures an image of the specified area 20 (S10).

続いて、各特徴点30bの2次元位置を特定する(S11)。詳しくは、カメラ11により撮影中の所定領域20の画像である所定画像25(撮影画像)において、所定領域20を2次元平面とみなし、各特徴点30bの位置をその2次元平面上の位置とみなして、2次元平面上における各特徴点30bの位置(以下、「2次元位置」という)を特定する。 Then, the two-dimensional position of each feature point 30b is identified (S11). More specifically, in the specified image 25 (captured image), which is an image of the specified area 20 being captured by the camera 11, the specified area 20 is regarded as a two-dimensional plane, the position of each feature point 30b is regarded as a position on that two-dimensional plane, and the position of each feature point 30b on the two-dimensional plane (hereinafter referred to as the "two-dimensional position") is identified.

続いて、走査用長方形を未作成であるか否か判定する(S12)。図8に示すように、走査用長方形40は、複数の特徴点30bが存在する領域の輪郭線31(図示略)に対応する長方形(図形)である。この判定において、走査用長方形を未作成でないと判定した場合(S12:NO)、S14の処理へ進む。一方、この判定において、走査用長方形を未作成であると判定した場合(S12:YES)、走査用長方形40を作成する(S13)。詳しくは、特定した各特徴点30bの2次元位置に基づいて、最も外側の各特徴点30bを通る長方形を作成する。 Next, it is determined whether or not a scanning rectangle has not yet been created (S12). As shown in FIG. 8, the scanning rectangle 40 is a rectangle (figure) that corresponds to the contour line 31 (not shown) of an area in which multiple feature points 30b exist. In this determination, if it is determined that a scanning rectangle has not yet been created (S12: NO), the process proceeds to S14. On the other hand, in this determination, if it is determined that a scanning rectangle has not yet been created (S12: YES), a scanning rectangle 40 is created (S13). More specifically, a rectangle passing through each of the outermost feature points 30b is created based on the two-dimensional positions of each of the identified feature points 30b.

続いて、画像取り込み条件(所定条件)が成立したか否か判定する(S14)。詳しくは、後述する校正用パターン30の目標配置位置、若しくは目標配置位置の近傍の位置に校正用パターン30が配置されている場合に、画像取り込み条件が成立したと判定し、それ以外の場合に画像取り込み条件が成立していないと判定する。なお、校正用パターン30の位置は、特定した各特徴点30bの2次元位置に基づいて算出する。この判定において、画像取り込み条件が成立していないと判定した場合(S14:NO)、S10の処理から再度実行する。 Next, it is determined whether the image capture condition (predetermined condition) is met (S14). More specifically, if the calibration pattern 30 is placed at the target placement position of the calibration pattern 30 described below or at a position near the target placement position, it is determined that the image capture condition is met, and otherwise it is determined that the image capture condition is not met. The position of the calibration pattern 30 is calculated based on the two-dimensional position of each of the identified feature points 30b. If it is determined that the image capture condition is not met (S14: NO), the process is executed again from S10.

一方、S14の判定において、画像取り込み条件が成立していると判定した場合(S14:YES)、カメラ11により撮影中の所定領域20の画像(所定画像25)を取り込む(S15)。 On the other hand, if it is determined in S14 that the image capture condition is met (S14: YES), an image (predetermined image 25) of the specified area 20 being photographed by the camera 11 is captured (S15).

続いて、キャリブレーションを実行可能か否か判定する(S16)。詳しくは、取り込んだ複数の撮影画像の数が所定数を超えた場合に、キャリブレーションを実行可能であると判定する。そして、取り込んだ複数の撮影画像の数が一度所定数を超えた後は、新たな撮影画像を取り込む度にキャリブレーションを実行可能であると判定する。一方、取り込んだ複数の撮影画像の数が所定数を超えていない場合に、キャリブレーションを実行可能でないと判定する。この判定において、キャリブレーションを実行可能でないと判定した場合(S16:NO)、S18の処理へ進む。一方、この判定において、キャリブレーションを実行可能であると判定した場合(S16:YES)、キャリブレーションを実行する(S17)。なお、カメラ11のキャリブレーションが未実行の場合は、処理装置12は、撮影画像に基づいて3次元空間における校正用パターン30の各特徴点30bの位置を正確に算出することができない。このため、処理装置12は、3次元空間としての所定領域20において、精度向上効果の分布を正確に把握することができない。 Then, it is determined whether calibration can be performed (S16). In detail, when the number of the captured images exceeds a predetermined number, it is determined that calibration can be performed. After the number of the captured images exceeds the predetermined number once, it is determined that calibration can be performed every time a new image is captured. On the other hand, when the number of the captured images does not exceed the predetermined number, it is determined that calibration cannot be performed. In this determination, when it is determined that calibration cannot be performed (S16: NO), the process proceeds to S18. On the other hand, when it is determined that calibration can be performed (S16: YES), the calibration is performed (S17). Note that, when the calibration of the camera 11 has not been performed, the processing device 12 cannot accurately calculate the position of each feature point 30b of the calibration pattern 30 in the three-dimensional space based on the captured images. Therefore, the processing device 12 cannot accurately grasp the distribution of the accuracy improvement effect in the predetermined area 20 as the three-dimensional space.

続いて、2次元平面上に精度向上効果の分布を作成する(S18)。図9は、図8の所定画像25に対応する精度向上効果の分布を示す模式図である。校正用パターン30の中央に近付くほど、精度向上効果の等高線51が高い値を示す線になっている。 Next, a distribution of the accuracy improvement effect is created on a two-dimensional plane (S18). Figure 9 is a schematic diagram showing the distribution of the accuracy improvement effect corresponding to the specified image 25 in Figure 8. The closer to the center of the calibration pattern 30, the higher the value of the accuracy improvement effect contour line 51 becomes.

続いて、精度向上効果の分布を重ね合わせて表示する(S19)。図10は、複数の取り込み画像における校正用パターン30の位置を示す模式図である。ここでは、輪郭線31,32によって校正用パターン30の位置を示している。図11は、図10の所定画像25に対応する精度向上効果の分布を示す模式図であり、複数の精度向上効果を重ね合わせて表示している。2つの校正用パターン30の中央に近付くほど、精度向上効果が高くなっている。2つの校正用パターン30の中央から離れた位置では精度向上効果の違いが分かりにくくなっているが、2つの校正用パターン30の中央から離れるほど、精度向上効果が低くなっている。図12は、図11の精度向上効果の分布を対数表示に変換して示す模式図である。同図では、2つの校正用パターン30の中央から離れるほど、精度向上効果が低くなっていることが明確に示されている。 Then, the distribution of the accuracy improvement effect is displayed by superimposing it (S19). FIG. 10 is a schematic diagram showing the position of the calibration pattern 30 in a plurality of captured images. Here, the position of the calibration pattern 30 is shown by the contour lines 31 and 32. FIG. 11 is a schematic diagram showing the distribution of the accuracy improvement effect corresponding to the predetermined image 25 in FIG. 10, and shows a plurality of accuracy improvement effects superimposed. The closer to the center of the two calibration patterns 30, the higher the accuracy improvement effect. At positions away from the center of the two calibration patterns 30, it is difficult to see the difference in the accuracy improvement effect, but the further away from the center of the two calibration patterns 30, the lower the accuracy improvement effect. FIG. 12 is a schematic diagram showing the distribution of the accuracy improvement effect of FIG. 11 converted into a logarithmic display. In this figure, it is clearly shown that the further away from the center of the two calibration patterns 30, the lower the accuracy improvement effect.

続いて、2次元平面上における校正用パターン30の目標配置位置を表示する(S20)。図13は、校正用パターン30の目標配置位置を探索する態様を示す模式図である。ここでは、説明の便宜上、1つの校正用パターン30による精度向上効果の分布を示している。走査用長方形40の位置を変化させながら(走査)、走査用長方形40内の精度向上効果の総和が最も小さくなる位置を探索する。すなわち、所定領域20において校正用パターン30に対応する領域内における各位置の精度向上効果の各合計値の総和が最も小さくなる校正用パターン30の位置を、所定領域20において校正用パターン30を配置すべき位置とする。そして、走査用長方形40内の精度向上効果の総和が最も小さくなる位置を、所定画像25に重ね合わせて表示装置13により表示させる。図14は、校正用パターン30の目標配置位置60を示す模式図である。目標配置位置60は、走査用長方形40と同一の長方形により表示されている。 Next, the target placement position of the calibration pattern 30 on the two-dimensional plane is displayed (S20). FIG. 13 is a schematic diagram showing a mode of searching for the target placement position of the calibration pattern 30. Here, for convenience of explanation, the distribution of the accuracy improvement effect by one calibration pattern 30 is shown. While changing the position of the scanning rectangle 40 (scanning), the position where the sum of the accuracy improvement effect in the scanning rectangle 40 is the smallest is searched for. In other words, the position of the calibration pattern 30 where the sum of the sums of the accuracy improvement effect at each position in the area corresponding to the calibration pattern 30 in the specified area 20 is the position where the calibration pattern 30 should be placed in the specified area 20. Then, the position where the sum of the accuracy improvement effect in the scanning rectangle 40 is the smallest is displayed by the display device 13 while being superimposed on the specified image 25. FIG. 14 is a schematic diagram showing the target placement position 60 of the calibration pattern 30. The target placement position 60 is displayed by the same rectangle as the scanning rectangle 40.

続いて、キャリブレーションを実行済みであるか否か判定する(S21)。この判定において、キャリブレーションを実行済みでないと判定した場合(S21:NO)、S26の処理へ進む。一方、この判定において、キャリブレーションを実行済みであると判定した場合(S21:YES)、各特徴点30bの3次元位置を特定する(S22)。詳しくは、キャリブレーションにより取得されたカメラ11に関するパラメータを用いて、所定領域20を3次元空間とみなし、各特徴点30bの位置を3次元空間内の位置(3次元位置)として特定する。なお、カメラ11のキャリブレーションの実行後は、キャリブレーションにより取得されたカメラ11に関するパラメータを用いて、撮影画像に基づいて3次元空間における校正用パターン30の各特徴点30bの位置を正確に算出することができる。 Next, it is determined whether calibration has been performed (S21). If it is determined that calibration has not been performed (S21: NO), the process proceeds to S26. On the other hand, if it is determined that calibration has been performed (S21: YES), the three-dimensional position of each feature point 30b is identified (S22). In detail, the predetermined area 20 is regarded as a three-dimensional space using the parameters related to the camera 11 acquired by the calibration, and the position of each feature point 30b is identified as a position in the three-dimensional space (three-dimensional position). After the calibration of the camera 11 is performed, the position of each feature point 30b of the calibration pattern 30 in the three-dimensional space can be accurately calculated based on the captured image using the parameters related to the camera 11 acquired by the calibration.

続いて、3次元空間内に精度向上効果の分布を作成する(S23)。詳しくは、S18及び図9と同様の処理を、3次元空間に適用して実行する。 Next, a distribution of the accuracy improvement effect is created in three-dimensional space (S23). In detail, the same process as S18 and FIG. 9 is applied to the three-dimensional space and executed.

続いて、精度向上効果の分布(高さ及び傾き)を重ね合わせて表示する(S24)。詳しくは、S19及び図10~12の処理と同様の処理を、3次元空間に適用して実行する。 Then, the distribution of the accuracy improvement effect (height and gradient) is displayed in an overlapping manner (S24). In detail, the same process as that of S19 and Figures 10 to 12 is performed but applied to a three-dimensional space.

続いて、3次元空間内における校正用パターン30の目標配置位置を表示する(S25)。詳しくは、S20及び図13,14と同様の処理を3次元空間に適用して実行し、校正用パターン30の目標配置位置(高さ及び傾き)を3次元の位置として表示する。なお、所定領域20において校正用パターン30に対応する領域内における各位置の精度向上効果の各合計値の総和が最も小さくなる校正用パターン30の位置に加えて、精度向上効果の各合計値の総和が2番目に小さくなる校正用パターン30の位置等を目標配置位置として表示してもよい。 Next, the target placement position of the calibration pattern 30 in three-dimensional space is displayed (S25). More specifically, the same processing as S20 and FIGS. 13 and 14 is applied to the three-dimensional space and executed, and the target placement position (height and tilt) of the calibration pattern 30 is displayed as a three-dimensional position. Note that in addition to the position of the calibration pattern 30 where the sum of the respective total values of the accuracy improvement effect of each position in the region corresponding to the calibration pattern 30 in the specified region 20 is the smallest, the position of the calibration pattern 30 where the sum of the respective total values of the accuracy improvement effect is the second smallest may be displayed as the target placement position.

続いて、キャリブレーションを実行済みであるか否か判定する(S26)。この判定において、キャリブレーションを実行済みでないと判定した場合(S26:NO)、S31の処理へ進む。一方、この判定において、キャリブレーションを実行済みであると判定した場合(S26:YES)、校正用パターン30の傾きを特定する(S27)。詳しくは、各特徴点30bの3次元位置を特定し、各特徴点30bが通る平面の傾き、すなわち校正用パターン30の傾きを特定する。図15は、校正用パターン30の傾きを示す模式図である。ここでは、x軸回りの傾きRx、y軸回りの傾きRy、及びz軸回りの傾きRzのうち、傾きRx及び傾きRyを特定する。z軸回りの傾きRzは、精度向上効果に及ぼす影響が小さいため、省略している。例えば、配置状態P1では、傾きRx=0゜、傾きRy=0°である。配置状態P2では、傾きRx=20°、傾きRy=20°である。 Next, it is determined whether calibration has been performed (S26). If it is determined that calibration has not been performed (S26: NO), the process proceeds to S31. On the other hand, if it is determined that calibration has been performed (S26: YES), the inclination of the calibration pattern 30 is identified (S27). In detail, the three-dimensional position of each feature point 30b is identified, and the inclination of the plane through which each feature point 30b passes, that is, the inclination of the calibration pattern 30, is identified. FIG. 15 is a schematic diagram showing the inclination of the calibration pattern 30. Here, the inclination Rx and the inclination Ry are identified among the inclination Rx around the x-axis, the inclination Ry around the y-axis, and the inclination Rz around the z-axis. The inclination Rz around the z-axis is omitted because it has little effect on the accuracy improvement effect. For example, in the arrangement state P1, the inclination Rx = 0° and the inclination Ry = 0°. In arrangement state P2, the inclination Rx = 20° and the inclination Ry = 20°.

続いて、校正用パターン30の傾き分布を作成する(S28)。詳しくは、特定した傾きRx,Ryを頂点として頂点から離れるほど値が小さくなる分布を、正規分布に基づいて作成する。 Next, a gradient distribution of the calibration pattern 30 is created (S28). More specifically, a distribution is created based on a normal distribution, in which the identified gradients Rx and Ry are at the apex and the values become smaller the further away from the apex.

続いて、傾き分布を重ね合わせて表示する(S29)。図16は、校正用パターン30の傾き分布を示す模式図である。同図では、配置状態P1による傾き分布と、配置状態P2による傾き分布とが重ね合わせて表示されている。 Next, the tilt distributions are displayed in an overlapping manner (S29). FIG. 16 is a schematic diagram showing the tilt distribution of the calibration pattern 30. In the figure, the tilt distribution in arrangement state P1 and the tilt distribution in arrangement state P2 are displayed in an overlapping manner.

続いて、校正用パターン30の目標配置角度を表示する(S30)。詳しくは、図16の傾き分布に基づいて、傾きRx,Ryが-45°から45°の範囲内において、分布の値が最も小さい配置角度を目標配置角度として表示する。なお、傾きRx,Ryが-45°から45°の範囲から外れると、校正用パターン30を認識できなくなるおそれがある。 Then, the target arrangement angle of the calibration pattern 30 is displayed (S30). More specifically, based on the tilt distribution in FIG. 16, the arrangement angle with the smallest distribution value within the range of tilts Rx, Ry from -45° to 45° is displayed as the target arrangement angle. Note that if the tilts Rx, Ry are outside the range of -45° to 45°, it may become impossible to recognize the calibration pattern 30.

続いて、終了条件が成立したか否か判定する(S31)。詳しくは、以下の少なくとも1つが成立した場合に終了条件が成立したと判定し、以下のいずれも成立していない場合に終了条件が成立していないと判定する。 Next, it is determined whether or not the termination condition is satisfied (S31). In more detail, if at least one of the following is satisfied, it is determined that the termination condition is satisfied, and if none of the following is satisfied, it is determined that the termination condition is not satisfied.

・ユーザが終了操作を実行した
・取り込んだ複数の撮影画像の数が終了判定数を超えた
・RMS(再投影誤差)が閾値以下である
・RMSの前回値と今回値との差分が閾値以下である
・所定領域20において精度向上効果の最小値が判定値以上である
・所定領域20において精度向上効果の最小値が判定値以上となった領域の割合が所定割合以上である
上記判定において、終了条件が成立していないと判定した場合(S31:NO)、S10の処理から再度実行する。一方、上記判定において、終了条件が成立したと判定した場合(S31:YES)、この一連の処理を終了する(END)。
- The user has performed an end operation - The number of multiple captured images imported has exceeded the end determination number - The RMS (reprojection error) is equal to or less than a threshold value - The difference between the previous and current RMS values is equal to or less than a threshold value - The minimum value of the accuracy improvement effect in the specified region 20 is equal to or greater than a determination value - The proportion of the region in the specified region 20 where the minimum value of the accuracy improvement effect is equal to or greater than a predetermined proportion If it is determined in the above determination that the end condition is not met (S31: NO), the process is executed again from S10. On the other hand, if it is determined in the above determination that the end condition is met (S31: YES), this series of processes is terminated (END).

以上詳述した本実施形態は、以下の利点を有する。ここでは、第1実施形態と異なる利点のみを述べる。 The present embodiment described above has the following advantages. Here, only the advantages that differ from the first embodiment will be described.

・カメラ11の処理装置12は、キャリブレーションに用いる画像として取り込んだ複数の撮影画像における校正用パターン30が、所定領域20においてキャリブレーションの精度を向上させる効果(精度向上効果)の分布を、所定画像25に重ね合わせて表示装置13により表示させる。このため、ユーザは、既に取り込んだ複数の撮影画像における校正用パターン30が、精度向上効果を所定領域20のうちどの部分にどの程度及ぼしているか把握することができる。したがって、ユーザは、精度向上効果が不足している位置に校正用パターン30を配置して撮影画像を取り込むことが容易になるため、どのような撮影画像を取り込むべきかユーザが判断することを支援することができる。 - The processing device 12 of the camera 11 causes the display device 13 to display, superimposed on the specified image 25, the distribution of the effect of the calibration pattern 30 in the multiple captured images captured as images used for calibration on improving the accuracy of the calibration in the specified area 20 (accuracy improvement effect). This allows the user to understand to what extent the accuracy improvement effect of the calibration pattern 30 in the multiple captured images has been exerted on which parts of the specified area 20. This makes it easier for the user to place the calibration pattern 30 in a position where the accuracy improvement effect is insufficient and capture the captured image, thereby assisting the user in determining what kind of captured image should be captured.

・校正用パターン30は複数の特徴点30bを含み、精度向上効果の分布は、各特徴点30bの位置を頂点として頂点から離れるほど小さくなる所定値を各位置で合計した各合計値の分布である。こうした構成によれば、所定領域20において精度向上効果の分布を、各特徴点30bの位置で最も大きくなり、各特徴点30bから離れるほど小さくなる所定値を用いて容易に表すことができる。さらに、所定値を各位置で合計した各合計値の分布として精度向上効果の分布を表すため、取り込んだ撮影画像の数が多くなった場合でも、精度向上効果の分布を求める処理が複雑化することを抑制することができる。 The calibration pattern 30 includes a plurality of feature points 30b, and the distribution of the accuracy improvement effect is a distribution of total values at each position, where the position of each feature point 30b is the apex, and the total values decrease the further away from the apex. With this configuration, the distribution of the accuracy improvement effect in the specified region 20 can be easily expressed using a predetermined value that is largest at the position of each feature point 30b and decreases the further away from each feature point 30b. Furthermore, because the distribution of the accuracy improvement effect is expressed as a distribution of total values at each position, the process of determining the distribution of the accuracy improvement effect can be prevented from becoming complicated even when the number of captured images captured is large.

・所定値は、各特徴点30bの位置を頂点とした各正規分布に基づく値である。こうした構成によれば、所定領域20において各特徴点30bが及ぼす精度向上効果を、各特徴点30bから離れた位置まで反映させることができる。したがって、精度向上効果が所定領域20のうちどの部分にどの程度及んでいるかを、定量的に把握し易くなる。 The predetermined value is a value based on each normal distribution with the position of each feature point 30b as its apex. With this configuration, the accuracy improvement effect of each feature point 30b in the predetermined region 20 can be reflected even in positions far from each feature point 30b. Therefore, it becomes easier to quantitatively grasp to what extent the accuracy improvement effect extends to which part of the predetermined region 20.

・所定値は、所定領域20の全体において0よりも大きい値である。こうした構成によれば、所定領域20において精度向上効果が0になる部分が生じることを避けることができる。したがって、精度向上効果が所定領域20のうちどの部分にどの程度及んでいるかを、さらに定量的に把握し易くなる。 The specified value is a value greater than 0 throughout the entire specified region 20. This configuration makes it possible to avoid the occurrence of parts of the specified region 20 where the accuracy improvement effect is zero. This makes it easier to quantitatively grasp to what extent the accuracy improvement effect extends to which parts of the specified region 20.

・所定値を各位置で合計した各合計値を、校正用パターン30に対応する領域内で足し合わせた総和が最も小さくなる校正用パターン30の位置、すなわち既に取り込んだ撮影画像の校正用パターン30による精度向上効果が最も小さい校正用パターン30の位置を、所定領域20において校正用パターン30を配置すべき位置とすることができる。そして、所定領域20において校正用パターン30を配置すべき位置が、所定画像25に重ね合わせて表示装置13により表示される。したがった、カメラ11により校正用パターン30を撮影する際に、どの位置に校正用パターン30を配置すべきかをユーザが容易に理解することができる。 - The position of the calibration pattern 30 where the sum of the total values obtained by adding up the predetermined values at each position within the area corresponding to the calibration pattern 30 is smallest, that is, the position of the calibration pattern 30 where the effect of improving accuracy of the calibration pattern 30 in the already captured captured image is smallest, can be determined as the position at which the calibration pattern 30 should be placed in the specified area 20. Then, the position at which the calibration pattern 30 should be placed in the specified area 20 is displayed by the display device 13, superimposed on the specified image 25. Therefore, the user can easily understand where the calibration pattern 30 should be placed when photographing the calibration pattern 30 with the camera 11.

・所定領域20を2次元平面とみなし、各特徴点30bの位置を2次元平面上の位置とみなして、精度向上効果の分布を所定画像25に重ね合わせて表示装置13により表示させる。こうした構成によれば、カメラ11のキャリブレーションが未実行の場合であっても、処理装置12は、2次元平面としての所定領域20において精度向上効果の分布を把握して表示することができる。したがって、ユーザは、キャリブレーションを実行する際に、どのような撮影画像を取り込むべきか判断することが容易となる。 - The specified area 20 is regarded as a two-dimensional plane, the position of each feature point 30b is regarded as a position on the two-dimensional plane, and the distribution of the accuracy improvement effect is superimposed on the specified image 25 and displayed by the display device 13. With this configuration, even if the calibration of the camera 11 has not been performed, the processing device 12 can grasp and display the distribution of the accuracy improvement effect in the specified area 20 as a two-dimensional plane. This makes it easy for the user to determine what kind of captured image should be captured when performing the calibration.

・2次元平面としての所定領域20において校正用パターン30を配置すべき位置を、所定画像25に重ね合わせて表示装置13により表示させる。こうした構成によれば、カメラ11のキャリブレーションが未実行の場合であっても、処理装置12は、2次元平面としての所定領域20において、精度向上効果の分布を把握すること、ひいては校正用パターン30を配置すべき位置を所定画像25に重ね合わせて表示することができる。 - The position where the calibration pattern 30 should be placed in the specified area 20 as a two-dimensional plane is displayed by the display device 13, superimposed on the specified image 25. With this configuration, even if the calibration of the camera 11 has not been performed, the processing device 12 can grasp the distribution of the accuracy improvement effect in the specified area 20 as a two-dimensional plane, and can therefore display the position where the calibration pattern 30 should be placed, superimposed on the specified image 25.

・キャリブレーションの実行後に、キャリブレーションにより取得されたカメラ11に関するパラメータを用いて、所定領域20を3次元空間とみなし、各特徴点30bの位置を3次元空間内の位置とみなして、精度向上効果の分布を所定画像25に重ね合わせて表示装置13により表示させる。こうした構成によれば、カメラ11の処理装置12は、3次元空間としての所定領域20において、精度向上効果の分布を正確に把握して表示することができる。したがって、ユーザは、3次元空間としての所定領域20において、精度向上効果が不足している位置に校正用パターン30を配置して撮影画像を取り込むことが容易になる。 - After calibration is performed, the parameters related to the camera 11 obtained by the calibration are used to regard the specified area 20 as a three-dimensional space, the position of each feature point 30b as a position within the three-dimensional space, and the distribution of the accuracy improvement effect is superimposed on the specified image 25 and displayed by the display device 13. With this configuration, the processing device 12 of the camera 11 can accurately grasp and display the distribution of the accuracy improvement effect in the specified area 20 as a three-dimensional space. Therefore, it becomes easy for the user to place the calibration pattern 30 at a position in the specified area 20 as a three-dimensional space where the accuracy improvement effect is insufficient, and capture a captured image.

・3次元空間としての所定領域20において校正用パターン30を配置すべき位置を、所定画像25に重ね合わせて表示装置13により表示させる。こうした構成によれば、ユーザは、カメラ11により校正用パターン30を撮影する際に、3次元空間としての所定領域20において、どの位置に校正用パターン30を配置すべきかを容易に理解することができる。 - The position where the calibration pattern 30 should be placed in the specified area 20 as a three-dimensional space is displayed by the display device 13, superimposed on the specified image 25. With this configuration, when the calibration pattern 30 is photographed by the camera 11, the user can easily understand where in the specified area 20 as a three-dimensional space the calibration pattern 30 should be placed.

なお、所定値は、各特徴点30bの位置を頂点とした各正規分布に基づく値に限らず、各特徴点30bの位置を頂点とした指数分布や三角分布に基づく値にすることもできる。すなわち、所定値として、各特徴点30bの位置を頂点として、頂点から離れるほど小さくなる値を採用することができる。また、校正用パターン30に各特徴点30bが一様に配置された構成に限らず、校正用パターン30の中心に近いほど特徴点30bの密度が高くなる構成等を採用することもできる。また、所定値として、校正用パターン30の中心から離れるほど小さくなる値や、輪郭線31から離れるほど小さくなる値を採用することもできる。 The predetermined value is not limited to values based on normal distributions with the position of each feature point 30b as a vertex, but can also be a value based on an exponential distribution or triangular distribution with the position of each feature point 30b as a vertex. In other words, the predetermined value can be a value that decreases the further away from the vertex, with the position of each feature point 30b as a vertex. Furthermore, the calibration pattern 30 is not limited to a configuration in which each feature point 30b is uniformly arranged, but can also be a configuration in which the density of feature points 30b increases closer to the center of the calibration pattern 30. Furthermore, the predetermined value can be a value that decreases the further away from the center of the calibration pattern 30 or the further away from the contour line 31.

また、第1,第2実施形態を、以下のように変更して実施することもできる。第1,第2実施形態と同一の部分については、同一の符号を付すことにより説明を省略する。 The first and second embodiments can also be modified as follows. The same parts as those in the first and second embodiments are given the same reference numerals and will not be described.

・校正用パターン30の位置として、輪郭線31~33に限らず、輪郭線31~33の角部のみを表示させたり、校正用パターン30の中心を表示させたりすることもできる。 - The position of the calibration pattern 30 is not limited to the contours 31 to 33, but it is also possible to display only the corners of the contours 31 to 33, or to display the center of the calibration pattern 30.

・キャリブレーションに用いる画像を取り込むための操作を、ユーザが行うようにすることもできる。 -The user can also perform the operations required to capture images to be used for calibration.

・キャリブレーションのための操作を、ユーザが行うようにすることもできる。 - Calibration operations can also be performed by the user.

・カメラ11(産業用カメラ)は、ロボット(産業機械)の手先等に固定されていてもよい。その場合、カメラ11が予め設定された所定領域20を撮影するようにロボットの姿勢を制御した状態で、カメラ11のキャリブレーションを行えばよい。そして、その状態において、校正用パターン30を撮影する位置や角度が変化するように、ロボットの姿勢を制御することができる。 - The camera 11 (industrial camera) may be fixed to the hand of a robot (industrial machine). In this case, the posture of the robot is controlled so that the camera 11 photographs a predetermined area 20 that has been set in advance, and then the camera 11 is calibrated. In this state, the posture of the robot can be controlled so that the position and angle at which the calibration pattern 30 is photographed are changed.

・処理装置12の機能をカメラ11が備え、カメラ11により産業用カメラのキャリブレーション操作支援装置が構成されていてもよい。また、処理装置12の機能を表示装置13が備え、表示装置13によりカメラのキャリブレーション操作支援装置が構成されていてもよい。 - The camera 11 may have the functions of the processing device 12, and the camera 11 may constitute an industrial camera calibration operation support device. Also, the display device 13 may have the functions of the processing device 12, and the display device 13 may constitute a camera calibration operation support device.

・また、上記実施形態、及び各変更例を適宜組み合わせて実施することもできる。 -The above embodiments and modifications can also be implemented in any suitable combination.

10…システム、11…カメラ、12…処理装置(産業用カメラのキャリブレーション操作支援装置)、13…表示装置、20…所定領域、25…所定画像、30…校正用パターン、30b…特徴点、30d…精度向上効果の分布、31…輪郭線(位置)、32…輪郭線(位置)、33…輪郭線(位置)、60…目標配置位置。 10...system, 11...camera, 12...processing device (calibration operation support device for industrial cameras), 13...display device, 20...predetermined area, 25...predetermined image, 30...calibration pattern, 30b...feature points, 30d...distribution of accuracy improvement effect, 31...contour line (position), 32...contour line (position), 33...contour line (position), 60...target placement position.

Claims (8)

予め設定された所定領域を撮影するカメラと、前記カメラにより撮影中の前記所定領域の画像である所定画像を表示する表示装置と、前記カメラにより校正用パターンを撮影した複数の撮影画像に基づいて前記カメラのキャリブレーションを行う処理装置と、を備えるシステムに適用される、産業用カメラのキャリブレーション操作支援装置であって、
前記キャリブレーションに用いる画像として取り込んだ前記複数の撮影画像における前記校正用パターンの位置を、前記所定画像に重ね合わせて前記表示装置により表示させる、産業用カメラのキャリブレーション操作支援装置。
1. A calibration operation support device for an industrial camera, which is applied to a system including a camera that captures an image of a preset predetermined area, a display device that displays a predetermined image that is an image of the predetermined area being captured by the camera, and a processing device that calibrates the camera based on a plurality of captured images of a calibration pattern captured by the camera,
A calibration operation support device for an industrial camera, which displays, on the display device, the position of the calibration pattern in the plurality of captured images captured as images to be used for the calibration, superimposed on the specified image.
前記所定領域において前記校正用パターンを配置すべき位置を、前記所定画像に重ね合わせて前記表示装置により表示させる、請求項1に記載の産業用カメラのキャリブレーション操作支援装置。 2. The calibration operation support device for an industrial camera according to claim 1 , wherein the position at which the calibration pattern is to be placed in the predetermined area is displayed by the display device so as to be superimposed on the predetermined image. 前記キャリブレーションに用いる画像として取り込んだ前記複数の撮影画像における前記校正用パターンの高さを、前記所定画像に重ね合わせて前記表示装置により表示させる、請求項1又は2に記載の産業用カメラのキャリブレーション操作支援装置。 3. The calibration operation support device for an industrial camera according to claim 1, wherein the height of the calibration pattern in the plurality of captured images captured as images used for the calibration is superimposed on the specified image and displayed by the display device. 前記所定領域において前記校正用パターンを配置すべき高さを、前記所定画像に重ね合わせて前記表示装置により表示させる、請求項1~のいずれか1項に記載の産業用カメラのキャリブレーション操作支援装置。 4. The calibration operation support device for an industrial camera according to claim 1, wherein a height at which the calibration pattern should be disposed in the predetermined area is displayed by the display device so as to be superimposed on the predetermined image. 前記キャリブレーションに用いる画像として取り込んだ前記複数の撮影画像における前記校正用パターンの傾きを、前記所定画像に重ね合わせて前記表示装置により表示させる、請求項1~のいずれか1項に記載の産業用カメラのキャリブレーション操作支援装置。 5. The calibration operation support device for an industrial camera according to claim 1, wherein the inclination of the calibration pattern in the plurality of captured images captured as images used for the calibration is superimposed on the predetermined image and displayed by the display device. 前記所定領域においてどのような傾きで前記校正用パターンを配置すべきかを、前記所定画像に重ね合わせて前記表示装置により表示させる、請求項1~のいずれか1項に記載の産業用カメラのキャリブレーション操作支援装置。 6. The calibration operation support device for an industrial camera according to claim 1, wherein the inclination at which the calibration pattern should be arranged in the specified area is displayed on the display device by superimposing the specified image. 前記所定領域において前記校正用パターンの配置状態が所定条件を満たした場合に、前記カメラにより撮影した前記撮影画像を前記キャリブレーションに用いる画像として取り込む、請求項1~のいずれか1項に記載の産業用カメラのキャリブレーション操作支援装置。 7. The calibration operation support device for an industrial camera according to claim 1 , wherein, when an arrangement state of the calibration pattern in the predetermined area satisfies a predetermined condition, the image captured by the camera is imported as an image to be used for the calibration. 前記キャリブレーションに用いる画像として取り込んだ前記複数の撮影画像の数が所定数を超えた場合に、前記処理装置により前記キャリブレーションを行わせる、請求項1~のいずれか1項に記載の産業用カメラのキャリブレーション操作支援装置。 8. The calibration operation support device for an industrial camera according to claim 1, wherein when a number of the plurality of captured images captured as images to be used for the calibration exceeds a predetermined number, the calibration is performed by the processing device.
JP2020184029A 2019-12-05 2020-11-03 Industrial camera calibration operation support device Active JP7583249B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
DE102020131808.1A DE102020131808A1 (en) 2019-12-05 2020-12-01 Device to support calibration processes in industrial cameras
US17/110,082 US11528410B2 (en) 2019-12-05 2020-12-02 Calibration operation support device for industrial camera

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2019220075 2019-12-05
JP2019220075 2019-12-05

Publications (2)

Publication Number Publication Date
JP2021093720A JP2021093720A (en) 2021-06-17
JP7583249B2 true JP7583249B2 (en) 2024-11-14

Family

ID=76310891

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020184029A Active JP7583249B2 (en) 2019-12-05 2020-11-03 Industrial camera calibration operation support device

Country Status (1)

Country Link
JP (1) JP7583249B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008135996A (en) 2006-11-28 2008-06-12 Canon Inc Information processing method and information processing apparatus
JP2008275340A (en) 2007-04-25 2008-11-13 Canon Inc Information processing apparatus and information processing method
WO2009141998A1 (en) 2008-05-19 2009-11-26 パナソニック株式会社 Calibration method, calibration device, and calibration system having the device
JP2016181753A (en) 2015-03-23 2016-10-13 株式会社リコー Information processing apparatus, information processing method, program, and system
JP2018007253A (en) 2016-06-28 2018-01-11 ダッソー システムズDassault Systemes Computer-implemented method of calibrating camera

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008135996A (en) 2006-11-28 2008-06-12 Canon Inc Information processing method and information processing apparatus
JP2008275340A (en) 2007-04-25 2008-11-13 Canon Inc Information processing apparatus and information processing method
WO2009141998A1 (en) 2008-05-19 2009-11-26 パナソニック株式会社 Calibration method, calibration device, and calibration system having the device
JP2016181753A (en) 2015-03-23 2016-10-13 株式会社リコー Information processing apparatus, information processing method, program, and system
JP2018007253A (en) 2016-06-28 2018-01-11 ダッソー システムズDassault Systemes Computer-implemented method of calibrating camera

Also Published As

Publication number Publication date
JP2021093720A (en) 2021-06-17

Similar Documents

Publication Publication Date Title
US11528410B2 (en) Calibration operation support device for industrial camera
US9961329B2 (en) Imaging apparatus and method of controlling same
US9002094B2 (en) Image processing device and image processing method
US9690168B2 (en) Focus assist system and method
CN106954007B (en) Camera device and camera method
JP7337495B2 (en) Image processing device, its control method, and program
JP2013197918A5 (en)
JP7112863B2 (en) Information processing device, information processing method, program, and image measuring device
JP6274794B2 (en) Information processing apparatus, information processing method, program, and image measurement apparatus
US20150084992A1 (en) Information processing apparatus, method of controlling information processing apparatus, and recording medium
CN103175469A (en) Enhanced edge focus tool and focusing method utilizing the tool
CN109410140B (en) Distortion correction method, device and system and computer readable storage medium
CN107547880A (en) A kind of auto-correction method of projection imaging, device and laser television
WO2013094273A1 (en) Image processing device, imaging device, microscope system, image processing method, and image processing program
JP2020096325A (en) Information processor, control method of information processor, and program
WO2012154585A1 (en) Focus assist system and method
CN108632604B (en) Method and device for detecting optical center of lens
TWI484285B (en) Panorama photographing method
JP7583249B2 (en) Industrial camera calibration operation support device
CN111199533B (en) Image processing apparatus and method
CN113225473B (en) Method, apparatus, device and medium for auto-focusing
JP2020010166A (en) Image processing system and control method thereof, imaging apparatus, program
JP2018028774A (en) Image processing apparatus and image processing program
EP3518521B1 (en) Method for realizing effect of photo being taken by others through selfie, and photographing device
CN110839126A (en) A zoom tracking method, device and zoom camera

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230821

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20240627

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20240730

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240925

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20241001

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20241014

R150 Certificate of patent or registration of utility model

Ref document number: 7583249

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150