JP6406044B2 - Camera calibration unit, camera calibration method, and camera calibration program - Google Patents
Camera calibration unit, camera calibration method, and camera calibration program Download PDFInfo
- Publication number
- JP6406044B2 JP6406044B2 JP2015026261A JP2015026261A JP6406044B2 JP 6406044 B2 JP6406044 B2 JP 6406044B2 JP 2015026261 A JP2015026261 A JP 2015026261A JP 2015026261 A JP2015026261 A JP 2015026261A JP 6406044 B2 JP6406044 B2 JP 6406044B2
- Authority
- JP
- Japan
- Prior art keywords
- camera
- feature point
- processing target
- frame image
- face
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
- Studio Devices (AREA)
Description
この発明は、マルチカメラシステムにおける各カメラの外部パラメータを校正(キャリブレーション)する技術に関する。 The present invention relates to a technique for calibrating external parameters of each camera in a multi-camera system.
従来、アングルが異なる複数のカメラを用いるマルチカメラシステムとして、複数のカメラで撮像した対象領域の立体画像(3次元画像)を生成するもの(例えば、特許文献1参照)や、基準位置を中心とする全周画像を生成するもの(例えば、特許文献2参照)がある。これらの技術は、各カメラが撮像したフレーム画像を、共通の座標系上に射影することによって、立体画像や全周画像を生成するものである。 2. Description of the Related Art Conventionally, as a multi-camera system using a plurality of cameras with different angles, one that generates a three-dimensional image (three-dimensional image) of a target area captured by a plurality of cameras (for example, see Patent Document 1) There is one that generates an all-round image (see, for example, Patent Document 2). In these techniques, a frame image captured by each camera is projected onto a common coordinate system to generate a three-dimensional image or an all-round image.
立体画像や全周画像の生成においては、各カメラによって撮像されるフレーム画像間の位置関係が必要である。このため、特許文献1、2等に記載されているように、カメラ校正(カメラキャリブレーション)を行って、各カメラの外部パラメータを事前に取得している。カメラの外部パラメータは、カメラの位置や姿勢にかかるパラメータである。
In generating a stereoscopic image and an all-round image, a positional relationship between frame images captured by each camera is necessary. For this reason, as described in
しかしながら、カメラ校正は、特徴点を有するオブジェクトを対象領域にセットし、対象領域を撮像したフレーム画像からオブジェクトの特徴点を抽出する手法で行っていた。例えば、特徴点を有するオブジェクトとしてチェスボードを用いた場合、隣接する2つの黒マスが接する点等を特徴点として抽出する手法で行っていた。 However, camera calibration has been performed by a method in which an object having a feature point is set in a target area, and a feature point of the object is extracted from a frame image obtained by capturing the target area. For example, when a chess board is used as an object having a feature point, a method in which a point where two adjacent black squares contact each other is extracted as a feature point.
このように、カメラ校正にかかる従来の手法は、特徴点を有するオブジェクトを対象領域にセットする必要があり、手間や時間がかかるという問題があった。 As described above, the conventional method for camera calibration has a problem that it is necessary to set an object having a feature point in a target region, which takes time and effort.
また、カメラ本体の取り付け状態(位置や姿勢)は、外力等の外的要因によって変化する。すなわち、カメラの外部パラメータは、外的要因によって変化する。このため、カメラの外部パラメータは、カメラの内部パラメータ(焦点距離やレンズ歪み等にかかるパラメータ)と異なり、定期的に更新する必要があり、カメラ校正にかかる手間、および時間を抑えることが要望されている。 In addition, the mounting state (position and posture) of the camera body changes depending on external factors such as external force. That is, the external parameters of the camera change depending on external factors. For this reason, the external parameters of the camera, unlike the internal parameters of the camera (parameters related to focal length, lens distortion, etc.), need to be updated regularly, and it is desired to reduce the time and labor required for camera calibration. ing.
この発明の目的は、カメラ校正にかかる手間、および時間を抑えることができる技術を提供することにある。 An object of the present invention is to provide a technique capable of reducing labor and time for camera calibration.
この発明のカメラ校正ユニットは、上記目的を達するために、以下のように構成している。 In order to achieve the above object, the camera calibration unit of the present invention is configured as follows.
第1の動画像入力部には、第1のカメラが撮像した第1の動画像が入力される。また、第2の動画像入力部には、第2のカメラが第1のカメラとは異なるアングルで撮像した第2の動画像が入力される。第1のカメラの撮像領域と、第2のカメラの撮像領域とは、その一部が重なっている。第1の特徴点抽出部は、カメラ校正処理の開始タイミングの直後に第1の動画像入力部に入力された第1の動画像にかかる所定フレーム数のフレーム画像の中から、人の顔が正面から撮像されているフレーム画像を、第1の処理対象フレーム画像として選択し、且つこの正面から顔が撮像されている人を対象者に選択する。第1の特徴点抽出部は、選択した第1の処理対象フレーム画像に撮像されている対象者の顔の特徴点を複数抽出する。また、第2の特徴点抽出部は、第1の処理対象フレーム画像の撮像タイミングに対して、時間的に最も近い撮像タイミングのフレーム画像を、第2の処理対象フレーム画像として選択する、第2の特徴点抽出部は、選択した第2のフレーム画像に撮像されている対象者の顔の特徴点を複数抽出する。 The first moving image input unit receives the first moving image captured by the first camera. The second moving image input unit receives a second moving image captured by the second camera at an angle different from that of the first camera. The imaging area of the first camera and the imaging area of the second camera partially overlap each other. The first feature point extraction unit detects a human face from frame images of a predetermined number of frames applied to the first moving image input to the first moving image input unit immediately after the start timing of the camera calibration process. A frame image captured from the front is selected as the first processing target frame image, and a person whose face is captured from the front is selected as the target person. The first feature point extraction unit extracts a plurality of feature points of the subject 's face captured in the selected first processing target frame image . In addition, the second feature point extraction unit selects, as a second processing target frame image, a frame image having an imaging timing that is temporally closest to the imaging timing of the first processing target frame image. The feature point extraction unit extracts a plurality of feature points of the face of the subject imaged in the selected second frame image.
また、特徴点対応付部は、第1の特徴点抽出部が抽出した対象者の顔の特徴点と、第2の特徴点抽出部が抽出した対象者の顔の特徴点と、を対応付ける。外部パラメータ算出部は、特徴点対応付部による対象者の顔の特徴点の対応付け結果と、第1の処理対象フレーム画像上における対象者の顔の特徴点の位置と、第2の処理対象フレーム画像上における対象者の顔の特徴点の位置とを用いて、第1のカメラと第2のカメラとの相対的な位置関係にかかるカメラの外部パラメータを算出する。外部パラメータ算出部は、例えば第1のカメラを基準にし、第1のカメラに対する第2のカメラの相対的な位置関係にかかる外部パラメータを算出する。 The feature point association unit associates the feature point of the face of the subject first feature point extraction unit and extracted, and the feature points of the face of the second subject feature point extraction unit and extracted in the. External parameter calculation unit, a correspondence result of the feature points of the face of the subject by the feature point association unit, the positions of the feature points of the face of the subject on the first processing target frame image, the second processing target Using the position of the feature point of the subject 's face on the frame image, an external parameter of the camera related to the relative positional relationship between the first camera and the second camera is calculated. External parameter calculating unit, for example a first camera on the basis, calculates an extrinsic parameter of the second camera relative positional relationship against the first camera.
この構成では、第1のカメラと第2のカメラとにおいて重なっている撮像領域(以下、対象領域と言う。)に位置する対象者の顔の特徴を利用して、第1のカメラと第2のカメラとの相対的な位置関係にかかるカメラの外部パラメータを算出する。すなわち、第1のカメラと第2のカメラとの相対的な位置関係にかかるカメラの外部パラメータを算出するカメラ校正が、特徴点を有するオブジェクトを対象領域にセットすることなく行える。したがって、カメラ校正にかかる手間、および時間を抑えることができる。
また、略同じタイミングで撮像された第1の処理対象フレーム画像、および第2の処理対象フレーム画像を用いてカメラ校正を行うことができるので、カメラの外部パラメータの算出精度の低下が抑えられる。
In this configuration, the first camera and the second camera are utilized by utilizing the characteristics of the face of the subject located in the imaging region (hereinafter referred to as the target region) overlapping in the first camera and the second camera. The camera external parameters relating to the relative positional relationship with the other camera are calculated. That is, camera calibration for calculating the external parameters of the camera related to the relative positional relationship between the first camera and the second camera can be performed without setting an object having a feature point in the target area. Therefore, it is possible to reduce the labor and time required for camera calibration.
Further, since the camera calibration can be performed using the first processing target frame image and the second processing target frame image captured at substantially the same timing, it is possible to suppress a decrease in the calculation accuracy of the external parameters of the camera.
また、第2の特徴点抽出部は、第1の処理対象フレーム画像に撮像されている対象者の顔画像を用いた顔認証により、第2の処理対象フレーム画像に撮像されている対象者を選択する構成としてもよい。 In addition, the second feature point extraction unit detects the subject imaged in the second processing target frame image by face authentication using the face image of the subject imaged in the first processing target frame image. A configuration may be selected.
このように構成すれば、第1の特徴点抽出部、および第2の特徴点抽出部が、異なる対象者から特徴点を抽出するのを防止できる。 If comprised in this way, it can prevent that a 1st feature point extraction part and a 2nd feature point extraction part extract a feature point from a different subject.
この発明によれば、カメラ校正にかかる手間、および時間を抑えることができる。 According to the present invention, it is possible to reduce the labor and time required for camera calibration.
以下、この発明の実施形態であるカメラ構成ユニットについて説明する。 Hereinafter, a camera configuration unit according to an embodiment of the present invention will be described.
図1は、この例にかかるカメラ校正ユニットの主要部の構成を示す図である。カメラ校正ユニット1は、画像処理プロセッサ2と、第1の動画像入力部3と、第2の動画像入力部4と、記憶部5と、出力部6と、入力部7と、を備えている。
FIG. 1 is a diagram showing the configuration of the main part of the camera calibration unit according to this example. The camera calibration unit 1 includes an
この例にかかるカメラ校正ユニット1は、第1のカメラ10と、第2のカメラ11との相対的な位置関係にかかるカメラの外部パラメータを算出するカメラ校正(カメラキャリブレーション)を行うとともに、カメラ校正で算出したカメラの外部パラメータを用いて立体画像(3次元画像)を生成する。カメラの外部パラメータは、公知のようにカメラの回転Rと並進Tである。この例では、第1のカメラ10を基準にした、第2のカメラ11の回転Rと、並進Tをカメラの外部パラメータとして算出するカメラ校正を行う。
The camera calibration unit 1 according to this example performs camera calibration (camera calibration) for calculating external parameters of the camera related to the relative positional relationship between the
画像処理プロセッサ2は、この発明にかかるカメラ校正方法を実行するコンピュータを備える。また、この発明にかかるカメラ校正プログラムは、画像処理プロセッサ2が備えるコンピュータにインストールされる。画像処理プロセッサ2の機能構成については後述する。また、画像処理プロセッサが備えるコンピュータは、第1のカメラ10が撮像したフレーム画像と、第2のカメラ11が撮像したフレーム画像とを用いて、立体画像を生成する。
The
第1の動画像入力部3には、第1のカメラ10が接続されている。また、第2の動画像入力部4には、第2のカメラ11が接続されている。第1のカメラ10、および第2のカメラ11は、動画像を撮像するビデオカメラである。第1のカメラ10、および第2のカメラ11のフレームレートは、数十フレーム/sec(例えば、30フレーム/sec)である。第1のカメラ10と、第2のカメラ11とは、異なるアングルである。第1のカメラ10の撮像領域と、第2のカメラ11の撮像領域とは、その一部が重複している。この重複している撮像領域を、ここでは対象領域と言う。
A
第1の動画像入力部3には、第1のカメラ10が撮像した動画像にかかるフレーム画像が入力される。第2の動画像入力部4には、第2のカメラ11が撮像した動画像にかかるフレーム画像が入力される。第1の動画像入力部3、および第2の動画像入力部4は、入力された動画像にかかるフレーム画像を記憶する画像メモリやハードディスク等の記憶媒体(不図示)を有している。
A frame image related to a moving image captured by the
記憶部5は、後述するカメラ校正処理で算出したカメラの外部パラメータを記憶する。 The storage unit 5 stores external parameters of the camera calculated by camera calibration processing described later.
出力部6は、第1のカメラ10、および第2のカメラ11によって撮像された対象領域の立体画像を出力する。この立体画像は、画像処理プロセッサ2において生成される。出力部6には、立体画像を処理する立体画像処理装置が接続される。立体画像処理装置は、例えば立体画像を表示する表示装置や、対象領域に位置するオブジェクトの立体形状を解析する解析装置である。
The
入力部7には、カメラ校正ユニット1本体に対してコマンドを入力する入力装置が接続される。入力装置は、後述するカメラ校正処理の実行指示等にかかるコマンドを入力部7に入力する。 An input device for inputting a command to the camera calibration unit 1 main body is connected to the input unit 7. The input device inputs a command related to an execution instruction of a camera calibration process, which will be described later, to the input unit 7.
図2は、後述するカメラ校正処理の実行にかかる画像処理プロセッサの機能構成を示すブロック図である。画像処理プロセッサ2は、上述したように立体画像を生成する機能も有しているが、この立体画像の生成処理にかかる機能構成については、図示を省略している。画像処理プロセッサ2は、第1の処理対象フレーム画像選択機能部21と、第2の処理対象フレーム画像選択機能部22と、顔認証機能部23と、第1の特徴点抽出機能部24と、第2の特徴点抽出機能部25と、特徴点対応付機能部26と、外部パラメータ算出機能部27と、を備えている。
FIG. 2 is a block diagram showing a functional configuration of an image processor related to execution of camera calibration processing to be described later. The
第1の処理対象フレーム画像選択機能部21は、第1のカメラ10が撮像した動画像にかかるフレーム画像(第1の動画像入力部3に入力されたフレーム画像)の中から、第1の処理対象フレーム画像を選択する。第2の処理対象フレーム画像選択機能部22は、第2のカメラ11が撮像した動画像にかかるフレーム画像(第2の動画像入力部4に入力されたフレーム画像)の中から、第2の処理対象フレーム画像を選択する。特に、第2の処理対象フレーム画像選択機能部22は、第2のカメラ11が撮像した動画像にかかるフレーム画像の中から、第1の処理対象フレーム画像選択機能部21が選択した第1の処理対象フレーム画像の撮像タイミングに対して、時間的にもっと近い撮像タイミングのフレーム画像を第2の処理対象フレーム画像として選択する。すなわち、第1の処理対象フレーム画像選択機能部21が選択した第1の処理対象フレーム画像の撮像タイミングと、第2の処理対象フレーム画像選択機能部22が選択した第2の処理対象フレーム画像の撮像タイミングとは、略同じである。
The first processing target frame image
第1の特徴点抽出機能部24は、第1の処理対象フレーム画像上の対象領域に撮像されている対象者について顔の特徴点を複数抽出する。また、抽出した顔の特徴点毎に、第1の処理対象フレーム画像上の位置を検出する。
The first feature point
顔認証機能部23は、第2の処理対象フレーム画像上の対象領域に撮像されている人の中から、第1の特徴点抽出機能部24が顔の特徴量を抽出した対象者を顔認証により検出する。
The face
第2の特徴点抽出機能部25は、顔認証機能部23によって検出された対象者について顔の特徴点を複数抽出する。また、抽出した顔の特徴点毎に、第2の処理対象フレーム画像上の位置を検出する。
The second feature point
特徴点対応付機能部26は、第1の特徴点抽出機能部24が抽出した対象者の顔の特徴点と、第2の特徴点抽出機能部25が抽出した対象者の顔の特徴点と、を対応付ける。
The feature point
外部パラメータ算出機能部27は、第1の処理対象フレーム画像上における特徴点対応付機能部26が対応付けた対象者の顔の特徴点の位置と、第2の処理対象フレーム画像上における特徴点対応付機能部26が対応付けた対象者の顔の特徴点の位置と、を用いて、第1のカメラ10と、第2のカメラ11との相対的な位置関係にかかる外部パラメータを算出する。
The external parameter
次に、このカメラ校正ユニット1におけるカメラ校正の動作について説明する。図3は、カメラ校正処理を示すフローチャートである。カメラ校正ユニット1は、カメラ校正処理の実行指示にかかるコマンドが入力部7に入力されると、図3に示すカメラ校正処理を行う。 Next, the camera calibration operation in the camera calibration unit 1 will be described. FIG. 3 is a flowchart showing camera calibration processing. The camera calibration unit 1 performs the camera calibration process shown in FIG. 3 when a command related to the execution instruction of the camera calibration process is input to the input unit 7.
なお、ここでは、カメラ校正処理の実行指示にかかるコマンドが入力部7に入力されたタイミングで、カメラ校正処理を実行するとしているが、このカメラ校正処理を定期的に実行するようにしてもよい。カメラ校正ユニット1は、例えば、毎週日曜日の午前0時や、毎月1日の午前0時にカメラ校正処理を実行するように、スケジューリングが行える構成であってもよい。 In this example, the camera calibration process is executed at the timing when the command related to the camera calibration process execution instruction is input to the input unit 7. However, the camera calibration process may be periodically executed. . For example, the camera calibration unit 1 may be configured to perform scheduling so that camera calibration processing is executed at midnight every Sunday or at midnight on the first day of every month.
カメラ校正ユニット1は、第1のカメラ10が撮像した動画像にかかるフレーム画像が第1の動画像入力部3に入力されているとともに、第2のカメラ11が撮像した動画像にかかるフレーム画像が第2の動画像入力部4に入力されている。
In the camera calibration unit 1, a frame image related to a moving image captured by the
画像処理プロセッサ2は、第1のカメラ10が撮像した動画像にかかるフレーム画像(第1の動画像入力部3に入力されたフレーム画像)の中から、後述するカメラ校正処理に用いる第1の処理対象フレーム画像を選択する(s1)。s1では、カメラ校正処理の開始タイミング(カメラ校正処理の実行指示にかかるコマンドが入力部7に入力されたタイミング等)の直後に入力された所定フレーム数(例えば、10フレーム)のフレーム画像の中から、第1の処理対象フレーム画像を選択する。例えば、対象領域に、略正面から顔が撮像されている人がいるフレーム画像を第1の処理対象フレーム画像として選択する。また、この人(略正面から顔が撮像されている対象領域にいる人)を、対象者として選択する。このs1にかかる処理は、上述した第1の処理対象フレーム画像選択機能部21によって行われる。
The
画像処理プロセッサ2は、第2のカメラ11が撮像した動画像にかかるフレーム画像(第2の動画像入力部4に入力されたフレーム画像)の中から、後述するカメラ校正処理に用いる第2の処理対象フレーム画像を選択する(s2)。s2では、s1で選択された第1の処理対象フレーム画像の撮像タイミングに対して、時間的にもっと近い撮像タイミングのフレーム画像を第2の処理対象フレーム画像として選択する。このs2にかかる処理は、上述した第2の処理対象フレーム画像選択機能部22によって行われる。
The
したがって、s1で選択された第1の処理対象フレーム画像の撮像タイミングと、s2で選択された第2の処理対象フレーム画像の撮像タイミングとは、略同じである。 Therefore, the imaging timing of the first processing target frame image selected in s1 and the imaging timing of the second processing target frame image selected in s2 are substantially the same.
図4は、s1で選択された第1の処理対象フレーム画像、およびs2で選択された第2の処理対象フレーム画像を示す図である。図4は、撮像されている対象者以外の人や、背景等については、図示を省略している。第1のカメラ10と、第2のカメラ11とのアングルの違いにより、第1の処理対象フレーム画像、および第2の処理対象フレーム画像における対象者の撮像位置や、対象者の向き等が異なっている。
FIG. 4 is a diagram illustrating the first processing target frame image selected in s1 and the second processing target frame image selected in s2. In FIG. 4, illustrations of people other than the subject being imaged, the background, and the like are omitted. Depending on the angle difference between the
画像処理プロセッサ2は、第2の処理対象フレーム画像上の対象領域に撮像されている人の中から、s1で選択した対象者を顔認証により検出する(s3)。このs3にかかる処理は、上述した顔認証機能部23によって行われる。
The
画像処理プロセッサ2は、第1の処理対象フレーム画像上の対象領域に撮像されている対象者(s1で選択した対象者)の顔の特徴点を複数抽出する(s4)。また、画像処理プロセッサ2は、第2の処理対象フレーム画像上の対象領域に撮像されている対象者(s3で顔認証により検出した対象者)の顔の特徴点を複数抽出する(s5)。s4で抽出する対象者の顔の特徴点の個数と、s5で抽出する対象者の顔の特徴点の個数とは、同じであってもよいし、同じでなくてもよい。s4にかかる処理は、上述した第1の特徴点抽出機能部24によって行われる。また、s5にかかる処理は、上述した第2の特徴点抽出機能部25によって行われる。
The
この発明で言う第1の特徴点抽出部は、第1の処理対象フレーム画像選択機能部21、および第1の特徴点抽出機能部24によって構成される。また、この発明で言う第2の特徴点抽出部は、第2の処理対象フレーム画像選択機能部22、顔認証機能部23、および第2の特徴点抽出機能部25によって構成される。
The first feature point extraction unit referred to in the present invention includes a first processing target frame image
画像処理プロセッサ2は、s4で抽出した対象者の顔の特徴点と、s5で抽出した対象者の顔の特徴点とを対応付ける(s6)。図5は、s4、s5で抽出した対象者の顔の特徴点、およびs6での対象者の顔の特徴点の対応付結果を示す図である。図5に示すハッチングした小円は、s4、s5で抽出した対象者の顔の特徴点である。s6では、s4で抽出した対象者の顔の特徴点の中に、s5で抽出した特徴点に対応付けられない特徴点があってもよいし、逆に、s5で抽出した対象者の顔の特徴点の中に、s4で抽出した特徴点に対応付けられない特徴点があってもよい。図5に示す両端矢印の直線は、特徴点が対応付けられたことを示している。また、両端矢印の直線が記されていない特徴点は、対応付けることができなかった特徴点である。s6にかかる処理は、上述した特徴点対応付機能部26によって行われる。
The
画像処理プロセッサ2は、s6で対応付けることができた特徴点の組数が予め定めた所定数以上であるかどうかを判定する(s7)。s7では、s6で対応付けることができた特徴点の組数が、第1のカメラ10、および第2のカメラ11の相対的な位置関係にかかる外部パラメータを算出することができる組数以上であるかどうかを判定している。すなわち、s7では、第1のカメラ10、および第2のカメラ11の相対的な位置関係にかかる外部パラメータが算出できるかどうかを判定している。
The
カメラ校正ユニット1は、カメラの外部パラメータを、s6で対応付けた特徴点の第1の処理対象フレーム画像上の位置(座標)と、第2の処理対象フレーム画像上の位置(座標)とを用いて算出する。このとき、第1のカメラ10を基準にし、第2のカメラ11の回転Rと、並進Tをカメラの外部パラメータとして算出する。カメラの外部パラメータを算出する演算手法については、様々な演算手法が公知である。例えば、上述した特許文献1等に記載されている。カメラ校正ユニット1は、カメラの外部パラメータを、すでに公知であるいずれの演算手法で算出してもよい。
The camera calibration unit 1 determines the position (coordinate) on the first processing target frame image and the position (coordinate) on the second processing target frame image of the feature point associated with the external parameters of the camera in s6. Use to calculate. At this time, based on the
画像処理プロセッサ2は、s6で対応付けることができた特徴点の組数が予め定めた所定数未満であると判定すると、開始タイミングを更新し(s10)、s1に戻って、上記処理を繰り返す。s10では、現時点を、開始タイミングに設定する。
If the
画像処理プロセッサ2は、s6で対応付けることができた特徴点の組数が予め定めた所定数以上であると判定すると、第1のカメラ10、および第2のカメラ11の相対的な位置関係にかかる外部パラメータを算出する(s8)。
If the
カメラ校正ユニット1は、s8で算出した外部パラメータを記憶部5に記憶し(s9)、本処理を終了する。 The camera calibration unit 1 stores the external parameter calculated in s8 in the storage unit 5 (s9), and ends this process.
このように、この例にかかるカメラ校正ユニット1は、特徴点を有するチェスボード等のオブジェクトを対象領域にセットすることなく、第1のカメラ10と第2のカメラ11との相対的な位置関係にかかるカメラの外部パラメータを算出することができる。したがって、カメラ校正にかかる手間、および時間を抑えることができる。
Thus, the camera calibration unit 1 according to this example has a relative positional relationship between the
また、顔認証により、第1の処理対象フレーム画像に撮像されている対象者と、第2の処理対照フレーム画像に撮像されている対象者と、を対応付けるので、異なる対象者から特徴点を抽出するのを防止できる。すなわちs5以降の処理を無駄に行うことがない。また、第1の処理対象フレーム画像において、略正面から顔が撮像されている人を対象者として選択するので、対象者の顔の特徴点をより多く抽出できる。 Further, since the target person imaged in the first process target frame image and the target person imaged in the second process control frame image are associated by face authentication, feature points are extracted from different target persons. Can be prevented. That is, processing after s5 is not performed wastefully. Further, in the first processing target frame image, a person whose face is imaged from substantially the front is selected as the target person, so that more feature points of the target person's face can be extracted.
また、第1の処理対象フレーム画像、および第2の処理対象フレーム画像の撮像タイミングが略同じであるので、算出するカメラの外部パラメータの精度の低下が抑えられる。 Moreover, since the imaging timings of the first processing target frame image and the second processing target frame image are substantially the same, a decrease in the accuracy of the external parameters of the camera to be calculated can be suppressed.
また、カメラ校正ユニット1は、記憶部5に記憶している外部パラメータを用いて、第1のカメラ10が撮像した動画像にかかるフレーム画像と、第2のカメラ11が撮像した動画像にかかるフレーム画像と、を用いて、対象領域の立体画像を生成し、生成した立体画像を出力部6から出力する。
In addition, the camera calibration unit 1 uses the external parameters stored in the storage unit 5 and applies the frame image related to the moving image captured by the
また、カメラ校正ユニット1は、3台のカメラが接続され、各カメラの外部パラメータを算出する構成であってもよい。この場合には、任意の1台のカメラを基準にすることで、他の2台のカメラについては、基準にしたカメラに対する、相対的な位置関係にかかる外部パラメータを算出する。 Further, the camera calibration unit 1 may be configured such that three cameras are connected and external parameters of each camera are calculated. In this case, by using one arbitrary camera as a reference, external parameters relating to the relative positional relationship with respect to the reference camera are calculated for the other two cameras.
また、上記の例は、カメラ校正において用いる、撮像タイミングが略同じである第1の処理対象フレーム画像と、第2の処理対象フレーム画像を1組としたが、撮像タイミングが略同じである第1の処理対象フレーム画像と、第2の処理対象フレーム画像を複数組用いてカメラ校正を行ってもよい。撮像タイミングが略同じである第1の処理対象フレーム画像と、第2の処理対象フレーム画像を複数組用いれば、s8における外部パラメータの算出に用いる対応付けた特徴点の組数を増加させることができる。したがって、カメラ校正の精度の向上が図れる。 In the above example, the first processing target frame image and the second processing target frame image having substantially the same imaging timing used in camera calibration are set as one set, but the imaging timing is substantially the same. Camera calibration may be performed using a plurality of sets of one processing target frame image and second processing target frame images. If a plurality of sets of first processing target frame images and second processing target frame images having substantially the same imaging timing are used, the number of sets of associated feature points used for calculating external parameters in s8 can be increased. it can. Therefore, the accuracy of camera calibration can be improved.
また、ここでは、対象領域の立体画像を生成するものを例にして説明を行ったが、上述した特許文献2に記載されている全周画像を生成する複数台のカメラであっても、外部パラメータを算出することができる。
In addition, here, an example has been described in which a stereoscopic image of a target area is generated. However, even with a plurality of cameras that generate a full-circumference image described in
また、カメラ校正ユニット1は、いずれかのカメラに内蔵させた構成であってもよいし、パーソナルコンピュータ等の情報処理装置に内蔵させた構成であってもよい。 Further, the camera calibration unit 1 may be configured to be incorporated in any camera, or may be configured to be incorporated in an information processing apparatus such as a personal computer.
1…カメラ校正ユニット
2…画像処理プロセッサ
3…第1の動画像入力部
4…第2の動画像入力部
5…記憶部
6…出力部
7…入力部
10…第1のカメラ
11…第2のカメラ
21…第1の処理対象フレーム画像選択機能部
22…第2の処理対象フレーム画像選択機能部
23…顔認証機能部
24…第1の特徴点抽出機能部
25…第2の特徴点抽出機能部
26…特徴点対応付機能部
27…外部パラメータ算出機能部
DESCRIPTION OF SYMBOLS 1 ...
Claims (5)
第2のカメラが前記第1のカメラと異なるアングルで撮像した第2の動画像を入力する第2の動画像入力部と、
カメラ校正処理の開始タイミングの直後に前記第1の動画像入力部に入力された前記第1の動画像にかかる所定フレーム数のフレーム画像の中から、第1の処理対象フレーム画像を選択し、当該第1の処理対象フレーム画像に撮像されている対象者の顔の特徴点を複数抽出する第1の特徴点抽出部と、
前記第1の特徴点抽出部が選択した前記第1の処理対象フレーム画像の撮像タイミングに応じて、前記第2の動画像入力部に入力された前記第2の動画像にかかるフレーム画像の中から第2の処理対象フレーム画像を選択し、当該第2のフレーム画像に撮像されている前記対象者の顔の特徴点を複数抽出する第2の特徴点抽出部と、
前記第1の特徴点抽出部が抽出した前記対象者の顔の特徴点と、前記第2の特徴点抽出部が抽出した前記対象者の顔の特徴点と、を対応付ける特徴点対応付部と、
前記特徴点対応付部による前記対象者の顔の特徴点の対応付け結果と、前記第1の処理対象フレーム画像上における前記対象者の顔の特徴点の位置と、前記第2の処理対象フレーム画像上における前記対象者の顔の特徴点の位置とを用いて、前記第1のカメラと前記第2のカメラとの相対的な位置関係にかかるカメラの外部パラメータを算出する外部パラメータ算出部と、を備え、
前記第1の特徴点抽出部は、前記所定フレーム数のフレーム画像の中から、人の顔が正面から撮像されているフレーム画像を、前記第1の処理対象フレーム画像として選択し、且つこの正面から顔が撮像されている人を前記対象者に選択し、
前記第2の特徴点抽出部は、前記第1の処理対象フレーム画像の撮像タイミングに対して、時間的に最も近い撮像タイミングのフレーム画像を、前記第2の処理対象フレーム画像として選択する、カメラ校正ユニット。 A first moving image input unit that inputs a first moving image captured by the first camera;
A second moving image input unit for inputting a second moving image captured by the second camera at an angle different from that of the first camera;
Selecting a first processing target frame image from among a predetermined number of frame images applied to the first moving image input to the first moving image input unit immediately after the start timing of the camera calibration process; A first feature point extraction unit that extracts a plurality of feature points of the face of the subject imaged in the first processing target frame image ;
Among the frame images related to the second moving image input to the second moving image input unit according to the imaging timing of the first processing target frame image selected by the first feature point extracting unit. A second feature point extraction unit that selects a second processing target frame image and extracts a plurality of feature points of the face of the subject captured in the second frame image;
And feature points of the face of the subject in which the first feature point extraction unit and extracted, and the feature point of the second of the subject's face feature point extraction unit and extracted, and the feature point association unit associating the ,
The result of associating the feature points of the subject 's face by the feature point association unit, the position of the feature points of the subject 's face on the first processing target frame image, and the second processing target frame An external parameter calculation unit that calculates external parameters of the camera related to the relative positional relationship between the first camera and the second camera using the position of the feature point of the face of the subject on the image; , equipped with a,
The first feature point extraction unit selects, from the frame images of the predetermined number of frames, a frame image in which a human face is captured from the front as the first processing target frame image, and the front The person whose face is imaged from is selected as the subject,
The second feature point extraction unit selects, as the second processing target frame image, a frame image having an imaging timing closest in time to the imaging timing of the first processing target frame image. Calibration unit.
カメラ校正処理の開始タイミングの直後に前記第1の動画像入力部に入力された前記第1の動画像にかかる所定フレーム数のフレーム画像の中から、第1の処理対象フレーム画像を選択し、当該第1の処理対象フレーム画像に撮像されている対象者の顔の特徴点を複数抽出する第1の特徴点抽出ステップと、
前記第1の特徴点抽出ステップで選択した前記第1の処理対象フレーム画像の撮像タイミングに応じて、前記第2の動画像入力部に入力された前記第2の動画像にかかるフレーム画像の中から第2の処理対象フレーム画像を選択し、当該第2のフレーム画像に撮像されている前記対象者の顔の特徴点を複数抽出する第2の特徴点抽出ステップと、
前記第1の特徴点抽出ステップで抽出した前記対象者の顔の特徴点と、前記第2の特徴点抽出ステップで抽出した前記対象者の顔の特徴点と、を対応付ける特徴点対応付ステップと、
前記特徴点対応付ステップによる前記対象者の顔の特徴点の対応付け結果と、前記第1の処理対象フレーム画像上における前記対象者の顔の特徴点の位置と、前記第2の処理対象フレーム画像上における前記対象者の顔の特徴点の位置とを用いて、前記第1のカメラと前記第2のカメラとの相対的な位置関係にかかるカメラの外部パラメータを算出する外部パラメータ算出ステップと、をコンピュータが実行するカメラ校正方法であって、
前記第1の特徴点抽出ステップは、前記所定フレーム数のフレーム画像の中から、人の顔が正面から撮像されているフレーム画像を、前記第1の処理対象フレーム画像として選択し、且つこの正面から顔が撮像されている人を前記対象者に選択し、
前記第2の特徴点抽出ステップは、前記第1の処理対象フレーム画像の撮像タイミングに対して、時間的に最も近い撮像タイミングのフレーム画像を、前記第2の処理対象フレーム画像として選択する、カメラ校正方法。 The first moving image captured by the first camera is input to the first moving image input unit, and the second moving image captured by the second camera at an angle different from that of the first camera is the second moving image. Input to the image input section,
Selecting a first processing target frame image from among a predetermined number of frame images applied to the first moving image input to the first moving image input unit immediately after the start timing of the camera calibration process; A first feature point extracting step of extracting a plurality of feature points of the face of the subject imaged in the first processing target frame image ;
Among the frame images related to the second moving image input to the second moving image input unit in accordance with the imaging timing of the first processing target frame image selected in the first feature point extracting step. A second feature point extracting step of selecting a second processing target frame image from the image and extracting a plurality of feature points of the subject 's face imaged in the second frame image;
And feature points of a face of the first of the subject extracted by the feature point extraction step, a feature point of the said subject's face extracted by the second feature point extraction step, and with the feature point corresponding step of associating ,
And associating results of the feature points of the face of the subject by the feature point correspondence step, the positions of the feature points of the face of the subject on the first processing target frame image, the second processing target frame An external parameter calculating step of calculating an external parameter of the camera related to a relative positional relationship between the first camera and the second camera using the position of the feature point of the face of the subject on the image; A camera calibration method performed by a computer ,
In the first feature point extraction step, a frame image in which a human face is captured from the front is selected as the first processing target frame image from the predetermined number of frame images, and the front surface The person whose face is imaged from is selected as the subject,
The second feature point extracting step selects a frame image having an imaging timing closest in time to the imaging timing of the first processing target frame image as the second processing target frame image. Calibration method.
カメラ校正処理の開始タイミングの直後に前記第1の動画像入力部に入力された前記第1の動画像にかかる所定フレーム数のフレーム画像の中から、第1の処理対象フレーム画像を選択し、当該第1の処理対象フレーム画像に撮像されている対象者の顔の特徴点を複数抽出する第1の特徴点抽出ステップと、
前記第1の特徴点抽出ステップで選択した前記第1の処理対象フレーム画像の撮像タイミングに応じて、前記第2の動画像入力部に入力された前記第2の動画像にかかるフレーム画像の中から第2の処理対象フレーム画像を選択し、当該第2のフレーム画像に撮像されている前記対象者の顔の特徴点を複数抽出する第2の特徴点抽出ステップと、
前記第1の特徴点抽出ステップで抽出した前記対象者の顔の特徴点と、前記第2の特徴点抽出ステップで抽出した前記対象者の顔の特徴点と、を対応付ける特徴点対応付ステップと、
前記特徴点対応付ステップによる前記対象者の顔の特徴点の対応付け結果と、前記第1の処理対象フレーム画像上における前記対象者の顔の特徴点の位置と、前記第2の処理対象フレーム画像上における前記対象者の顔の特徴点の位置とを用いて、前記第1のカメラと前記第2のカメラとの相対的な位置関係にかかるカメラの外部パラメータを算出する外部パラメータ算出ステップと、をコンピュータが実行するカメラ校正プログラムであって、
前記第1の特徴点抽出ステップは、前記所定フレーム数のフレーム画像の中から、人の顔が正面から撮像されているフレーム画像を、前記第1の処理対象フレーム画像として選択し、且つこの正面から顔が撮像されている人を前記対象者に選択し、
前記第2の特徴点抽出ステップは、前記第1の処理対象フレーム画像の撮像タイミングに対して、時間的に最も近い撮像タイミングのフレーム画像を、前記第2の処理対象フレーム画像として選択する、カメラ校正プログラム。 The first moving image captured by the first camera is input to the first moving image input unit, and the second moving image captured by the second camera at an angle different from that of the first camera is the second moving image. Input to the image input section,
Selecting a first processing target frame image from among a predetermined number of frame images applied to the first moving image input to the first moving image input unit immediately after the start timing of the camera calibration process; A first feature point extracting step of extracting a plurality of feature points of the face of the subject imaged in the first processing target frame image ;
Among the frame images related to the second moving image input to the second moving image input unit in accordance with the imaging timing of the first processing target frame image selected in the first feature point extracting step. A second feature point extracting step of selecting a second processing target frame image from the image and extracting a plurality of feature points of the subject 's face imaged in the second frame image;
And feature points of a face of the first of the subject extracted by the feature point extraction step, a feature point of the said subject's face extracted by the second feature point extraction step, and with the feature point corresponding step of associating ,
And associating results of the feature points of the face of the subject by the feature point correspondence step, the positions of the feature points of the face of the subject on the first processing target frame image, the second processing target frame An external parameter calculating step of calculating an external parameter of the camera related to a relative positional relationship between the first camera and the second camera using the position of the feature point of the face of the subject on the image; A camera calibration program executed by a computer ,
In the first feature point extraction step, a frame image in which a human face is captured from the front is selected as the first processing target frame image from the predetermined number of frame images, and the front surface The person whose face is imaged from is selected as the subject,
The second feature point extracting step selects a frame image having an imaging timing closest in time to the imaging timing of the first processing target frame image as the second processing target frame image. Calibration program.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2015026261A JP6406044B2 (en) | 2015-02-13 | 2015-02-13 | Camera calibration unit, camera calibration method, and camera calibration program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2015026261A JP6406044B2 (en) | 2015-02-13 | 2015-02-13 | Camera calibration unit, camera calibration method, and camera calibration program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2016149678A JP2016149678A (en) | 2016-08-18 |
| JP6406044B2 true JP6406044B2 (en) | 2018-10-17 |
Family
ID=56691347
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2015026261A Expired - Fee Related JP6406044B2 (en) | 2015-02-13 | 2015-02-13 | Camera calibration unit, camera calibration method, and camera calibration program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP6406044B2 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111193961A (en) * | 2018-11-15 | 2020-05-22 | 索尼公司 | Video editing apparatus and method |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106799732A (en) * | 2016-12-07 | 2017-06-06 | 中国科学院自动化研究所 | For the control system and its localization method of the motion of binocular head eye coordination |
| US20200226787A1 (en) * | 2019-01-14 | 2020-07-16 | Sony Corporation | Information processing apparatus, information processing method, and program |
| JP7497188B2 (en) * | 2020-03-27 | 2024-06-10 | 株式会社国際電気通信基礎技術研究所 | Calibration equipment, training equipment, and computer programs |
| CN119071421A (en) * | 2024-07-31 | 2024-12-03 | 联想(北京)有限公司 | Image processing method, image processing device and electronic equipment |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3954484B2 (en) * | 2002-12-12 | 2007-08-08 | 株式会社東芝 | Image processing apparatus and program |
| JP5672112B2 (en) * | 2011-03-30 | 2015-02-18 | 富士通株式会社 | Stereo image calibration method, stereo image calibration apparatus, and computer program for stereo image calibration |
-
2015
- 2015-02-13 JP JP2015026261A patent/JP6406044B2/en not_active Expired - Fee Related
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111193961A (en) * | 2018-11-15 | 2020-05-22 | 索尼公司 | Video editing apparatus and method |
| CN111193961B (en) * | 2018-11-15 | 2022-02-18 | 索尼公司 | Video editing apparatus and method |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2016149678A (en) | 2016-08-18 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9686539B1 (en) | Camera pair calibration using non-standard calibration objects | |
| JP5961945B2 (en) | Image processing apparatus, projector and projector system having the image processing apparatus, image processing method, program thereof, and recording medium recording the program | |
| JP2019028843A (en) | Information processing apparatus for estimating person's line of sight and estimation method, and learning device and learning method | |
| JP6406044B2 (en) | Camera calibration unit, camera calibration method, and camera calibration program | |
| JP5791577B2 (en) | Image processing apparatus, image display method, and program | |
| JP5001930B2 (en) | Motion recognition apparatus and method | |
| KR20140138947A (en) | Image processing device, image processing method, image processing program, and storage medium | |
| JP6381353B2 (en) | Image processing apparatus, imaging apparatus, image processing method, and program | |
| EP3605468B1 (en) | Image processing apparatus, image processing apparatus control method, and non-transitory computer-readable storage medium | |
| JP5170094B2 (en) | Spoofing detection system, spoofing detection method, and spoofing detection program | |
| CN108605087A (en) | Terminal photographing method, photographing device and terminal | |
| JP4979480B2 (en) | Face recognition device | |
| CN106210699B (en) | Information processing unit, the control method of information processing unit and image processing system | |
| JP2013135341A5 (en) | ||
| JP2017098776A (en) | IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, AND PROGRAM | |
| JP2019175112A (en) | Image processing device, photographing device, image processing method, and program | |
| JP4871315B2 (en) | Compound eye photographing apparatus, control method therefor, and program | |
| JP2022051312A5 (en) | ||
| JP6104066B2 (en) | Image processing apparatus and image processing method | |
| JP6799325B2 (en) | Image correction device, image correction method, attention point recognition device, attention point recognition method and abnormality detection system | |
| WO2015198478A1 (en) | Image distortion correction apparatus, information processing apparatus and image distortion correction method | |
| CN107749951A (en) | A visual perception method and system for unmanned photography | |
| JP2009009206A (en) | Outline extraction method and image processing apparatus therefor | |
| JP2009239391A (en) | Compound eye photographing apparatus, control method therefor, and program | |
| JP6736916B2 (en) | Information processing apparatus, information processing method, and program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20170804 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20180514 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20180605 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20180730 |
|
| 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: 20180821 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20180903 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 6406044 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| LAPS | Cancellation because of no payment of annual fees |