JP7583249B2 - Industrial camera calibration operation support device - Google Patents
Industrial camera calibration operation support device Download PDFInfo
- 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
Links
- 230000000694 effects Effects 0.000 description 87
- 230000006872 improvement Effects 0.000 description 75
- 238000009826 distribution Methods 0.000 description 63
- 238000000034 method Methods 0.000 description 24
- 238000010586 diagram Methods 0.000 description 18
- 230000008569 process Effects 0.000 description 17
- 230000008676 import Effects 0.000 description 6
- 230000007423 decrease Effects 0.000 description 4
- 239000003086 colorant Substances 0.000 description 2
- 230000000052 comparative effect Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
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.
ところで、カメラのキャリブレーションを精度よく行うためには、校正用パターンを様々な角度で撮影画像のより多くの部分を用いて撮影する必要がある。特許文献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.
(第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
カメラ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
表示装置13は、液晶画面等により構成されており、処理装置12から入力した信号に基づいて画像を表示する。
The
処理装置12は、CPU、ROM、RAM、操作部、記憶装置、入出力インターフェース等を備えたコンピュータである。CPUは、ROMやRAMに格納されているプログラムやデータを用いて、種々の制御を実行する。操作部は、キーボードやマウス等により構成されており、ユーザの操作を受け付けることにより、各種の指示をCPUに入力する。記憶装置は、各種のプログラム及びデータを記憶する。
The
処理装置12は、カメラ11により撮影した所定画像25(撮影画像)を、表示装置13により表示させる。所定画像25は、カメラ11により現在撮影している(撮影中)の所定領域20の画像である。図1は、所定領域20内に校正用パターン30が配置されている状態を示している。
The
校正用パターン30は、周知の任意の構成を採用することができ、例えば板状に形成され、所定のマーカ30aが所定の配列で記されている。校正用パターン30は、カメラ11のレンズ中心、焦点距離等のカメラパラメータを求める処理、すなわちカメラ11のキャリブレーションに用いられる。
The
処理装置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
処理装置12は、所定領域20において校正用パターン30の配置状態が所定条件を満たした場合に、カメラ11により撮影した所定画像25をキャリブレーションに用いる画像として取り込む。すなわち、ユーザは、キャリブレーションに用いる所定画像25を処理装置12に取り込む際に、所定画像25を処理装置12に取り込ませるための操作を行う必要がない。
When the arrangement state of the
詳しくは、処理装置12は、カメラ11により撮影した撮影画像のデータに基づいて、校正用パターン30の位置を特定する。校正用パターン30の位置を特定する方法については後述する。処理装置12は、特定した校正用パターン30の位置が、精度よくキャリブレーションを行うために望ましい複数の位置範囲のいずれかに含まれる場合に、上記所定条件を満たしたと判定する。望ましい複数の位置範囲は、例えば所定画像25において、四隅付近と中央付近に設定されている。
More specifically, the
次に、システム10に適用され、ユーザによるカメラ11のキャリブレーションの操作を支援する支援装置について説明する。本実施形態では、支援装置(産業用カメラのキャリブレーション操作支援装置)は、処理装置12により構成されている。
Next, we will explain the support device that is applied to the
図2は、撮影中の校正用パターン30と、取り込んだ撮影画像における校正用パターン30の位置を示す画像である。処理装置12は、キャリブレーションに用いる画像として取り込んだ複数の撮影画像における校正用パターン30の位置を、所定画像25に重ね合わせて表示装置13により表示させる。
Figure 2 shows an image showing the
詳しくは、処理装置12は、キャリブレーションに用いる画像として取り込んだ撮影画像のデータに基づいて、複数のマーカ30aの位置を特定する。例えば処理装置12は、特定した複数のマーカ30aが存在する領域の輪郭線31(外形線)を、校正用パターン30の位置として特定する。そして、輪郭線31を破線で表示させる。輪郭線32,33は、校正用パターン30を、輪郭線31とは別の位置に配置して撮影した撮影画像における校正用パターン30の位置を表している。
More specifically, the
上記のように、取り込んだ撮影画像に既に含まれている校正用パターン30の位置として、輪郭線31~33が表示される。このため、ユーザは、取り込んだ撮影画像に未だ含まれていない校正用パターン30の位置として、次にどの位置に校正用パターン30を配置すべきか容易に判断することができる。ユーザにより所定領域20において校正用パターン30が望ましい位置に配置されると、処理装置12は上記所定条件が満たされたと判定して、カメラ11により撮影した所定画像25をキャリブレーションに用いる画像として取り込む。
As described above, the
そして、処理装置12は、キャリブレーションに用いる画像として取り込んだ複数の撮影画像の数が所定数を超えた場合に、その都度キャリブレーションを行う。処理装置12は、取り込んだ複数の撮影画像の数が一度所定数を超えた場合は、新たな撮影画像を取り込む度にキャリブレーションを行う。これにより、キャリブレーションを行う毎に、キャリブレーションの精度が向上する。キャリブレーションを行う方法は周知であるため、ここでは記載を省略する。その後、処理装置12は、キャリブレーション結果として得られた上記カメラパラメータが適正範囲の値になった時に、キャリブレーションを行う一連の処理を終了する。なお、処理装置12は、キャリブレーションに必要な撮影画像の上記所定数や、現在取り込み済みの撮影画像の数等を、表示装置13により表示させてもよい。また、処理装置12は、現在得られているカメラパラメータの上記適正範囲の値に対する達成度や不足度を、表示装置13により表示させてもよい。
The
以上詳述した本実施形態は、以下の利点を有する。 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
・処理装置12は、所定領域20において校正用パターン30の配置状態が所定条件を満たした場合に、カメラ11により撮影した撮影画像をキャリブレーションに用いる画像として取り込む。こうした構成によれば、ユーザはキャリブレーションに用いる画像を取り込むための操作を行う必要がなく、ユーザの手間を減らすことができる。
- When the arrangement state of the
・キャリブレーションに用いる画像として取り込んだ複数の撮影画像の数が所定数を超えた場合に、処理装置12はキャリブレーションを行う。こうした構成によれば、ユーザがキャリブレーションのための操作を行う必要がなく、ユーザの手間を減らすことができる。
When the number of multiple captured images imported as images to be used for calibration exceeds a predetermined number, the
なお、上記実施形態を、以下のように変更して実施することもできる。上記実施形態と同一の部分については、同一の符号を付すことにより説明を省略する。 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
・処理装置12は、キャリブレーションに用いる画像として取り込んだ複数の撮影画像における校正用パターン30の高さを、所定画像25に重ね合わせて表示装置13により表示させることもできる。具体的には、処理装置12は、キャリブレーションに用いる画像として取り込んだ撮影画像のデータに基づいて、校正用パターン30の各部の高さを特定する。そして、処理装置12は、上記輪郭線31~33の内部を、各部の高さに応じた色で表示させる。こうした構成によれば、ユーザは、どのような高さに校正用パターン30を配置した撮影画像を既に取り込み済みか把握することができる。したがって、ユーザは、未だ配置していない高さに校正用パターン30を配置して撮影画像を取り込むことが容易になるため、どのような撮影画像を取り込むべきかユーザが判断することを支援することができる。なお、校正用パターン30の各部の高さの平均値を算出し、輪郭線31~33の内部を高さの平均値に応じた色で表示させたり、高さの平均値を数値表示させたりすることもできる。
The
・処理装置12は、所定領域20において校正用パターン30を配置すべき高さを、所定画像25に重ね合わせて表示装置13により表示させることもできる。具体的には、処理装置12は、精度よくキャリブレーションを行うために望ましい複数の高さ範囲のうち、校正用パターン30が配置された撮影画像を取り込んでいない高さ範囲のいずれか、あるいはそのいずれかの高さ範囲内の所定位置を、所定画像25に重ね合わせて表示装置13により表示させる。こうした構成によれば、カメラ11により校正用パターン30を撮影する際に、どの高さに校正用パターン30を配置すべきかをユーザが容易に理解することができる。また、ユーザにより所定領域20において校正用パターン30が望ましい高さに配置されると、処理装置12は上記所定条件が満たされたと判定して、カメラ11により撮影した所定画像25をキャリブレーションに用いる画像として取り込むとよい。
The
・処理装置12は、キャリブレーションに用いる画像として取り込んだ複数の撮影画像における校正用パターン30の傾きを、所定画像25に重ね合わせて表示装置13により表示させることもできる。上記と同様に、処理装置12は、上記輪郭線31~33の内部を、各部の高さに応じた色で表示させる。ユーザは、輪郭線31~33の内部の色の変化度合に基づいて、校正用パターン30の傾きを把握することができる。こうした構成によれば、ユーザは、どのような傾きに校正用パターン30を配置した撮影画像を既に取り込み済みか把握することができる。したがって、ユーザは、未だ配置していない傾きに校正用パターン30を配置して撮影画像を取り込むことが容易になるため、どのような撮影画像を取り込むべきかユーザが判断することを支援することができる。なお、校正用パターン30の各部の高さに基づいて校正用パターン30の傾きを算出し、算出した傾きを数値表示させることもできる。
The
・処理装置12は、所定領域20においてどのような傾きで校正用パターン30を配置すべきかを、所定画像25に重ね合わせて表示装置13により表示させることもできる。具体的には、処理装置12は、精度よくキャリブレーションを行うために望ましい複数の傾き範囲のうち、校正用パターン30が配置された撮影画像を取り込んでいない傾き範囲のいずれか、あるいはそのいずれかの傾き範囲内の所定傾き値を、所定画像25に重ね合わせて表示装置13により表示させる。こうした構成によれば、カメラ11により校正用パターン30を撮影する際に、どのような傾きで校正用パターン30を配置すべきかをユーザが容易に理解することができる。また、ユーザにより所定領域20において校正用パターン30が望ましい傾きで配置されると、処理装置12は上記所定条件が満たされたと判定して、カメラ11により撮影した所定画像25をキャリブレーションに用いる画像として取り込むとよい。
The
(第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
図3は、撮影中の校正用パターン30及び所定直線Lを示す画像である。校正用パターン30は、長方形(矩形)板状に形成され、複数の特徴点30bが全体として長方形状の配列(所定の配列)で記されている。ここでは、所定領域20を2次元平面とみなし、各特徴点30bの位置をその2次元平面上の位置とみなしている。所定直線Lは、その2次元平面において校正用パターン30に重なるように引いた任意の直線である。
Figure 3 is an image showing the
図4は、図3の所定直線L上に存在する特徴点30bを示す模式図である。ここでは、4つの特徴点30bが所定直線L上に存在する。
Figure 4 is a schematic diagram showing
図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
図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
図7は、キャリブレーション操作支援の手順を示すフローチャートである。この一連の処理は、処理装置12により実行される。
Figure 7 is a flowchart showing the procedure for supporting the calibration operation. This series of processes is executed by the
まず、カメラ11により所定領域20を撮影させる(S10)。
First, the
続いて、各特徴点30bの2次元位置を特定する(S11)。詳しくは、カメラ11により撮影中の所定領域20の画像である所定画像25(撮影画像)において、所定領域20を2次元平面とみなし、各特徴点30bの位置をその2次元平面上の位置とみなして、2次元平面上における各特徴点30bの位置(以下、「2次元位置」という)を特定する。
Then, the two-dimensional position of each
続いて、走査用長方形を未作成であるか否か判定する(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
続いて、画像取り込み条件(所定条件)が成立したか否か判定する(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
一方、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
続いて、キャリブレーションを実行可能か否か判定する(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
続いて、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
続いて、精度向上効果の分布を重ね合わせて表示する(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
続いて、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
続いて、キャリブレーションを実行済みであるか否か判定する(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
続いて、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
続いて、キャリブレーションを実行済みであるか否か判定する(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
続いて、校正用パターン30の傾き分布を作成する(S28)。詳しくは、特定した傾きRx,Ryを頂点として頂点から離れるほど値が小さくなる分布を、正規分布に基づいて作成する。
Next, a gradient distribution of the
続いて、傾き分布を重ね合わせて表示する(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
続いて、校正用パターン30の目標配置角度を表示する(S30)。詳しくは、図16の傾き分布に基づいて、傾きRx,Ryが-45°から45°の範囲内において、分布の値が最も小さい配置角度を目標配置角度として表示する。なお、傾きRx,Ryが-45°から45°の範囲から外れると、校正用パターン30を認識できなくなるおそれがある。
Then, the target arrangement angle of the
続いて、終了条件が成立したか否か判定する(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
以上詳述した本実施形態は、以下の利点を有する。ここでは、第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
・校正用パターン30は複数の特徴点30bを含み、精度向上効果の分布は、各特徴点30bの位置を頂点として頂点から離れるほど小さくなる所定値を各位置で合計した各合計値の分布である。こうした構成によれば、所定領域20において精度向上効果の分布を、各特徴点30bの位置で最も大きくなり、各特徴点30bから離れるほど小さくなる所定値を用いて容易に表すことができる。さらに、所定値を各位置で合計した各合計値の分布として精度向上効果の分布を表すため、取り込んだ撮影画像の数が多くなった場合でも、精度向上効果の分布を求める処理が複雑化することを抑制することができる。
The
・所定値は、各特徴点30bの位置を頂点とした各正規分布に基づく値である。こうした構成によれば、所定領域20において各特徴点30bが及ぼす精度向上効果を、各特徴点30bから離れた位置まで反映させることができる。したがって、精度向上効果が所定領域20のうちどの部分にどの程度及んでいるかを、定量的に把握し易くなる。
The predetermined value is a value based on each normal distribution with the position of each
・所定値は、所定領域20の全体において0よりも大きい値である。こうした構成によれば、所定領域20において精度向上効果が0になる部分が生じることを避けることができる。したがって、精度向上効果が所定領域20のうちどの部分にどの程度及んでいるかを、さらに定量的に把握し易くなる。
The specified value is a value greater than 0 throughout the entire specified
・所定値を各位置で合計した各合計値を、校正用パターン30に対応する領域内で足し合わせた総和が最も小さくなる校正用パターン30の位置、すなわち既に取り込んだ撮影画像の校正用パターン30による精度向上効果が最も小さい校正用パターン30の位置を、所定領域20において校正用パターン30を配置すべき位置とすることができる。そして、所定領域20において校正用パターン30を配置すべき位置が、所定画像25に重ね合わせて表示装置13により表示される。したがった、カメラ11により校正用パターン30を撮影する際に、どの位置に校正用パターン30を配置すべきかをユーザが容易に理解することができる。
- The position of the
・所定領域20を2次元平面とみなし、各特徴点30bの位置を2次元平面上の位置とみなして、精度向上効果の分布を所定画像25に重ね合わせて表示装置13により表示させる。こうした構成によれば、カメラ11のキャリブレーションが未実行の場合であっても、処理装置12は、2次元平面としての所定領域20において精度向上効果の分布を把握して表示することができる。したがって、ユーザは、キャリブレーションを実行する際に、どのような撮影画像を取り込むべきか判断することが容易となる。
- The specified
・2次元平面としての所定領域20において校正用パターン30を配置すべき位置を、所定画像25に重ね合わせて表示装置13により表示させる。こうした構成によれば、カメラ11のキャリブレーションが未実行の場合であっても、処理装置12は、2次元平面としての所定領域20において、精度向上効果の分布を把握すること、ひいては校正用パターン30を配置すべき位置を所定画像25に重ね合わせて表示することができる。
- The position where the
・キャリブレーションの実行後に、キャリブレーションにより取得されたカメラ11に関するパラメータを用いて、所定領域20を3次元空間とみなし、各特徴点30bの位置を3次元空間内の位置とみなして、精度向上効果の分布を所定画像25に重ね合わせて表示装置13により表示させる。こうした構成によれば、カメラ11の処理装置12は、3次元空間としての所定領域20において、精度向上効果の分布を正確に把握して表示することができる。したがって、ユーザは、3次元空間としての所定領域20において、精度向上効果が不足している位置に校正用パターン30を配置して撮影画像を取り込むことが容易になる。
- After calibration is performed, the parameters related to the
・3次元空間としての所定領域20において校正用パターン30を配置すべき位置を、所定画像25に重ね合わせて表示装置13により表示させる。こうした構成によれば、ユーザは、カメラ11により校正用パターン30を撮影する際に、3次元空間としての所定領域20において、どの位置に校正用パターン30を配置すべきかを容易に理解することができる。
- The position where the
なお、所定値は、各特徴点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
また、第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
・キャリブレーションに用いる画像を取り込むための操作を、ユーザが行うようにすることもできる。 -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
・処理装置12の機能をカメラ11が備え、カメラ11により産業用カメラのキャリブレーション操作支援装置が構成されていてもよい。また、処理装置12の機能を表示装置13が備え、表示装置13によりカメラのキャリブレーション操作支援装置が構成されていてもよい。
- The
・また、上記実施形態、及び各変更例を適宜組み合わせて実施することもできる。 -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.
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)
| 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 |
-
2020
- 2020-11-03 JP JP2020184029A patent/JP7583249B2/en active Active
Patent Citations (5)
| 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 |