JP6234335B2 - IMAGING DEVICE AND MOBILE BODY WITH IMAGING DEVICE - Google Patents
IMAGING DEVICE AND MOBILE BODY WITH IMAGING DEVICE Download PDFInfo
- Publication number
- JP6234335B2 JP6234335B2 JP2014131919A JP2014131919A JP6234335B2 JP 6234335 B2 JP6234335 B2 JP 6234335B2 JP 2014131919 A JP2014131919 A JP 2014131919A JP 2014131919 A JP2014131919 A JP 2014131919A JP 6234335 B2 JP6234335 B2 JP 6234335B2
- Authority
- JP
- Japan
- Prior art keywords
- calibration object
- control unit
- imaging
- captured image
- image
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Image Processing (AREA)
- Studio Devices (AREA)
Description
本発明は、撮像装置及び撮像装置を設置した移動体に関する。 The present invention relates to an imaging device and a moving body in which the imaging device is installed.
従来、車両に搭載される撮像手段により撮像された実画像に、重畳画像を重畳し、実画像と重畳画像とが一致するようにパラメータを調整する方法が知られている(例えば、特許文献1)。また、車両に取り付けられたカメラによって撮影された実画像に所定の重畳画像を重ねた合成画像を表示し、取り付け位置の調整をユーザに行わせることによってカメラの位置合わせを行う方法が知られている(例えば、特許文献2)。 2. Description of the Related Art Conventionally, a method is known in which a superimposed image is superimposed on an actual image captured by an imaging unit mounted on a vehicle, and parameters are adjusted so that the actual image matches the superimposed image (for example, Patent Document 1). ). Also known is a method of aligning a camera by displaying a composite image in which a predetermined superimposed image is superimposed on an actual image taken by a camera attached to a vehicle and allowing the user to adjust the attachment position. (For example, Patent Document 2).
特許文献1及び特許文献2の手法においては、実画像と重畳画像とのずれ量を調整するために、重畳画像を移動させて重畳画像を実画像に一致させる操作が必要となる。しかしながら、車両に設置されたカメラのように、広い範囲を撮像する必要があるカメラには、例えば魚眼レンズのような広角レンズが用いられることが多い。広角レンズによって撮像された実画像は、広角レンズの光学特性及び設置条件により、その周辺部の領域ほど大きな歪曲を生じる。このため、実画像と重畳画像とを一致させることは困難である。
In the methods of Patent Document 1 and
かかる事情に鑑みてなされた本発明の目的は、実画像と重畳画像とを一致させることを容易にする撮像装置及び撮像装置を設置した移動体を提供することである。 An object of the present invention made in view of such circumstances is to provide an imaging device that facilitates matching an actual image and a superimposed image, and a moving body in which the imaging device is installed.
上記課題を解決するため、本発明に係る撮像装置は、移動体の所定位置に設置され、被写体像を結像する光学系を有し、前記光学系が結像する被写体像を撮像する撮像部と、前記移動体の外部に設けられた指標を撮像した撮像画像に、該撮像画像上で移動可能な較正用オブジェクトを重畳し、前記撮像画像上における指標の位置と前記撮像画像上において確定した前記較正用オブジェクトの位置とに基づいて、前記撮像部の設置位置及び設置姿勢の少なくとも一方のずれを較正するパラメータを算出する制御部とを備え、前記制御部は、前記撮像部の光学系の歪特性及び設置条件に基づいて、前記較正用オブジェクトの形状を変化させる。
また、上記課題を解決するため、本発明に係る撮像装置において、前記制御部は、前記較正用オブジェクトの形状を前記撮像画像上における位置に応じた形状に変化させる。
In order to solve the above-described problem, an imaging apparatus according to the present invention includes an optical system that is installed at a predetermined position of a moving body and forms a subject image, and that captures the subject image formed by the optical system. And a calibration object that can be moved on the captured image is superimposed on the captured image obtained by capturing the index provided outside the moving body, and the position of the index on the captured image and the position on the captured image are determined. A control unit that calculates a parameter for calibrating at least one of the installation position and the installation posture of the imaging unit based on the position of the calibration object, and the control unit includes an optical system of the imaging unit. Based on distortion characteristics and installation conditions, the shape of the calibration object is changed.
In order to solve the above problem, in the imaging apparatus according to the present invention, the control unit changes the shape of the calibration object to a shape corresponding to the position on the captured image.
また、上記課題を解決するため、本発明に係る撮像装置において、前記制御部は、前記撮像画像上における重畳位置又は光軸位置に対する向きの少なくとも一方に応じて前記較正用オブジェクトの形状の変化の変位量を変更する。 In order to solve the above problem, in the imaging apparatus according to the present invention, the control unit may change the shape of the calibration object in accordance with at least one of a superposition position or an optical axis position on the captured image. Change the displacement.
また、上記課題を解決するため、本発明に係る撮像装置において、前記光学系は魚眼レンズである。 In order to solve the above problem, in the imaging apparatus according to the present invention, the optical system is a fisheye lens.
また、上記課題を解決するため、本発明に係る撮像装置において、前記制御部は、前記撮像画像上における前記指標が有する線状部位を該線の長手方向に沿って延長可能である。 In order to solve the above-described problem, in the imaging apparatus according to the present invention, the control unit can extend a linear part of the index on the captured image along the longitudinal direction of the line.
また、上記課題を解決するため、本発明に係る撮像装置において、前記制御部は更に、前記撮像画像上に重畳した前記較正用オブジェクトが有する線状部位を該線の長手方向に沿って延長可能である。 In order to solve the above-described problem, in the imaging apparatus according to the present invention, the control unit can further extend a linear portion of the calibration object superimposed on the captured image along the longitudinal direction of the line. It is.
また、上記課題を解決するため、本発明に係る撮像装置において、前記較正用オブジェクトは基準点を含み、当該基準点を中心として回転可能である。 In order to solve the above-described problem, in the imaging apparatus according to the present invention, the calibration object includes a reference point and is rotatable around the reference point.
更に、上記課題を解決するため、本発明に係る移動体には、上記の撮像装置が設置される。 Furthermore, in order to solve the said subject, said imaging device is installed in the mobile body which concerns on this invention.
実画像と重畳画像とを一致させることを容易にする撮像装置及び撮像装置を設置した移動体を提供することができる。 It is possible to provide an imaging device that makes it easy to match a real image and a superimposed image, and a moving body in which the imaging device is installed.
以下、本発明の一実施形態を図面に基づいて説明する。 Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
図1は、一実施形態に係る撮像装置を備える撮像システムの機能ブロック図である。撮像システムは、撮像装置1、表示装置2、指示装置3及び伝送路4を備える。
FIG. 1 is a functional block diagram of an imaging system including an imaging apparatus according to an embodiment. The imaging system includes an imaging device 1, a
本発明に係る撮像装置1、表示装置2及び指示装置3の各機能を説明するが、撮像装置1、表示装置2及び指示装置3が備える他の機能を排除することを意図したものではないことに留意されたい。本実施形態に係る撮像装置1、表示装置2及び指示装置3は例えば車両等の移動体の所定位置に設置される。特に、撮像装置1の設置位置及び設置姿勢は、予め厳密に定められる。撮像装置1は電子機器関連の要素と通信する。以下の説明においては、他の機能部を構成する要素の図示及び説明は省略する。
The functions of the imaging device 1, the
撮像装置1は、撮像部11及び制御部12を備える。
The imaging device 1 includes an
撮像部11は、光学系及び撮像素子を有する。光学系は例えば魚眼レンズ等の光学素子によって構成され、撮像装置1が設置される移動体の例えば後方の被写体像を結像する。撮像素子は、例えばCMOS又はCCD撮像素子であり、光学系が結像する被写体像を、カラー画像又はモノクロ画像として撮像する。
The
制御部12は、撮像装置1の各種動作を制御するコンピュータである。制御部12は、カメラを較正するモードがユーザ(例えば、車両の運転手)によって選択されたとき、撮像部11が撮像した実画像(以下、「撮像画像」とする)に較正用オブジェクトを重畳する。制御部12は、較正用オブジェクトを重畳して生成した合成画像を表示装置に出力する。更に、制御部12は、ユーザなどによる較正用オブジェクトの位置の調整などが終了し、その位置が確定したことを示す確定情報を取得すると、撮像部11の設置位置及び設置姿勢の少なくとも一方のずれを較正しうるパラメータを算出する。詳細は後述する。
The
表示装置2は、撮像装置1から取得した合成画像を表示する、例えば、液晶ディスプレイである。表示装置2は、例えばタッチパネルで構成され、ユーザから入力を受付ける、後述する指示装置3として機能してもよい。
The
指示装置3は、表示装置2に表示された較正用オブジェクトの位置を調整するためのユーザインタフェースである。ユーザは、指示装置3を操作することにより、撮像画像に重畳された較正用オブジェクトの位置を上下左右方向に移動させ又は較正用オブジェクトを回転させることができる。指示装置3は、ユーザによる入力操作により取得した、較正用オブジェクトの位置を調整する調整情報を、伝送路4を介して撮像装置1に出力する。指示装置3は、調整が終了したことを示す入力操作を検出したときは、確定情報を撮像装置1に出力する。
The
伝送路4は、例えばバスである。伝送路4は、撮像装置1、表示装置2及び指示装置3の間の情報を伝送する。
The transmission line 4 is, for example, a bus. The transmission path 4 transmits information among the imaging device 1, the
図2は、図1の撮像装置1を設置した移動体5を示す図である。撮像装置1は、路面及び路面上の物体等を撮像する。図2に示す領域Aは、撮像部11によって撮像される被写体領域である。
FIG. 2 is a diagram illustrating the moving
撮像装置1の較正には、移動体5の外部に設けられた指標を用いる。指標は、予め任意の形状が定められた、例えば、長方形状の板や、路面上に描かれた白線等である。指標は、予め定められた位置及び姿勢で設けられる。予め定められた位置及び姿勢とは任意の位置及び姿勢であるが、本実施形態では、指標は、移動体5の後端から所定の距離の位置で、移動体5の後端と平行になる姿勢で設けるものとして説明する。また、本実施形態では、指標の厚みは一定であるとして説明する。
For calibration of the imaging apparatus 1, an index provided outside the moving
撮像部11は、指標を撮像すると、撮像画像を制御部12に出力する。制御部12は、撮像画像に、撮像画像上で移動可能な較正用オブジェクトを重畳して合成画像を生成する。較正用オブジェクトの形状は任意である。しかしながら、本実施形態では、較正用オブジェクトは、円状部位及び線状部位を有するものとして説明する。
When the
図3は、図1の撮像装置1が生成した合成画像30を示す図である。図3に示す通り、指標31は、合成画像上において撮像部11の光学系の歪特性及び現実に設けられた指標の光軸からの距離の影響を受けて歪曲する。
FIG. 3 is a diagram illustrating the
制御部12は、撮像画像上において指標31が歪曲するのと同様に、較正用オブジェクト32を歪曲させる。図3に示す通り、制御部12は、撮像部11の光学系の歪特性及び設置条件に基づいて、較正用オブジェクト32の形状の変化の変位量を決定する。例えば、制御部12は、歪特性である、光学系の画角が広いほど、較正用オブジェクト32を大きく歪曲させる。また、制御部12は、光学系の光学特性、例えば像倍率などが大きいほど、較正用オブジェクト32を大きく歪曲させる。さらに、制御部12は、合成画像上におけるその重畳位置が合成画像上の光軸に対応する点Oから遠いほど、較正用オブジェクト32をより大きく歪曲させる。歪曲は例えば、較正用オブジェクト32の円状部位33が楕円形に変形し、線状部位34が弧形又は折れ線等に変形することである。制御部12は、歪特性、設置条件、および重畳位置に対応する較正用オブジェクト32の変形量を撮像装置の記憶部から読出し、較正用オブジェクト32を変形させる。
The
制御部12は、撮像画像に較正用オブジェクト32を重畳して生成した合成画像を、伝送路4を介して表示装置2に出力する。
The
表示装置2は、合成画像を取得し、表示する。
The
較正用オブジェクト32は、合成画像上において移動可能である。指示装置3は、合成画像上における較正用オブジェクト32の移動を示す入力を受付けることができる。どのように指示装置3が入力を受付けるかを以下で説明する。
The
図4は、図1の指示装置3の外観を示す図である。図4に示すように、指示装置3は、上指示部41、左指示部42、下指示部43、右指示部44、右回転指示部45、左回転指示部46及び確定指示部47を有する指示部からなる。指示部は、車両内の表示装置2近傍に設けた機械スイッチであってもよい。他方、指示部は、表示装置2のタッチパネル上に表示されるオブジェクトであってもよい。
FIG. 4 is a view showing an appearance of the
上指示部41、左指示部42、下指示部43及び右指示部44は、指標をそれぞれ上、左、下及び右に移動させるための指示部である。また、右回転指示部45及び左回転指示部46は、指標をそれぞれ時計回り及び反時計回りに回転させるための指示部である。確定指示部47は、後述する通り、撮像画像上における較正用オブジェクト32の移動を完了して位置を確定させるための指示部である。
The upper instruction unit 41, the
確定指示部47以外の指示部に対する入力操作によって較正用オブジェクトが変化する変位量は調整可能である。例えば、左指示部42及び右指示部44の1回の押下に対して例えば0.5度のオフセットを対応付けた場合を考慮する。この場合、左指示部42又は右指示部44を1回押下すると、較正用オブジェクトは、撮像部11の撮像方向をパン(左右)方向に0.5度向きを変えたときに生じる撮像画像の変位量に等しい画素数分だけ移動する。上下(チルト)方向、ロール(回転)方向においても同様である。
The amount of displacement by which the calibration object is changed by an input operation to an instruction unit other than the
ロール操作においては、較正用オブジェクト32は任意の基準点を中心に回転する。図5は、図1の撮像装置1が生成した、較正用オブジェクト32が矢印の方向に回転している様子を示す合成画像30の図である。図5に示す通り、本実施形態における回転の中心となる基準点は、較正用オブジェクト32が有する円状部位33の中心Cである。
In the roll operation, the
指示装置3は、上記のような入力操作を受け付け、較正用オブジェクトの位置を調整する調整情報として撮像装置1に出力する。
The
制御部12は、調整情報を指示装置3から取得すると、較正用オブジェクトが調整情報に対応する位置へ移動した後の新たな合成画像を生成する。生成過程において、制御部12は、撮像部11の光学系の歪特性及び設置条件に基づいて較正用オブジェクトの形状を変化させる。以下で具体的に説明する。
When acquiring the adjustment information from the
図6は、図1の撮像装置1が生成した、撮像画像に重畳された較正用オブジェクト32が入力操作によって移動すると共に歪曲する様子を示す合成画像30の図である。合成画像上の光軸に対応する点をOで示す。較正用オブジェクト32が点Oを通る場合(すなわち、位置61にある場合)、較正用オブジェクト32は撮像部11の光学系の歪特性の影響を受けて歪曲しない。そのため、較正用オブジェクト32は直線状のままである。
FIG. 6 is a diagram of a
また、入力操作によって較正用オブジェクト32が、点Oから離れた位置62に移動した場合、制御部12は、較正用オブジェクト32(円状部位33及び線状部位34)を歪曲させる。
When the
また、入力操作によって較正用オブジェクト32が、位置62よりも点Oから更に離れた位置63に移動した場合、撮像部11の光学系の歪みはより大きくなる。従って、制御部12は、較正用オブジェクト32を更に歪曲させる。
Further, when the
入力操作によって較正用オブジェクト32の線状部位34が位置64、すなわち、合成画像30上の点Oを通る直線に実質的に重なる位置に移動したとする。この場合、制御部12は較正用オブジェクト32を歪曲させない。
It is assumed that the
さらに、制御部12は、合成画像30上における指標31が有する線状部位を、該線の長手方向に沿って延長することができる。制御部12は、所定の条件が満たされたと判定したときに延長を行う。所定の条件とは例えば、合成画像上における指標31が有する線状部位が所定の長さより短いことである。
Furthermore, the
例えば、図7に示すように、制御部12は、指標31が有する線状部位71を、指標31の長手方向に沿って延長部分72の分だけ延長することができる。図7において、制御部12は、延長前の線状部位71の歪みから推定される方向に該線を延長している。制御部12は、線状部位71の端における該線の(接線)方向に該線を延長してもよいし、撮像部11の光学系の歪特性及び設置条件に基づいて該線を延長してもよい。
For example, as illustrated in FIG. 7, the
また、制御部12は、較正用オブジェクト32の線状部位34を、線状部位34の長手方向に沿って延長部分73の分だけ延長することができる。制御部12は、所定の条件が満たされたと判定したときに延長を行う。所定の条件とは例えば、制御部12が、指標31が有する線状部位71を延長したことである。
Further, the
合成画像の生成が完了すると、制御部12は、生成した合成画像を表示装置2に出力する。制御部12が指示装置3から調整情報を取得する限りにおいては、制御部12が行う処理は上述した処理を繰り返す処理であるため説明を省略する。
When the generation of the composite image is completed, the
指示装置3は、撮像画像上に重畳された較正用オブジェクト32の移動を示す入力だけでなく、その移動が完了し位置が確定したことを示す入力を受付けることができる。指示装置3は、位置が確定したことを示す入力を受付けると、確定情報として撮像装置1に出力する。確定情報を取得した撮像装置1の制御部12は、撮像画像上における指標の位置と撮像画像上において確定した較正用オブジェクト32の位置とに基づいて、パラメータを算出する。
The
上述のように、指示装置3は、ユーザから、較正用オブジェクト32が指標31に重なるように較正用オブジェクト32を移動させ、その位置を確定させる入力操作を受付け可能である。このような入力操作を受付けることにより、制御部12は、撮像部11の設置位置及び設置姿勢の少なくとも一方のずれの較正を行いうる、実際に必要となるパラメータを算出することができる。本実施形態において「重なる」とは、一致する関係のみならず、一方が他方を含む関係をも包含することに留意されたい。
As described above, the
較正パラメータの算出方法について説明する。図8は、図1の撮像装置1による較正パラメータの算出方法を示す図であり、移動体5に設置される撮像装置1と指標31との位置関係を示している。指標31の両端の点をそれぞれP1、P2とする。撮像装置1の位置(カメラ座標の原点)は、ワールド座標で(tx、ty、tz)と表される。また、撮像装置1の位置を基準として、撮像装置1から見た相対的な位置関係はカメラ座標系で表現することができる。カメラ座標系は、ワールド座標系に対する平行移動及び回転移動で表すことができる。
A method for calculating the calibration parameter will be described. FIG. 8 is a diagram showing a calibration parameter calculation method by the imaging apparatus 1 of FIG. 1, and shows the positional relationship between the imaging apparatus 1 installed on the moving
図9は、ワールド座標系の回転移動を示す図である。図9(a)に示すようにZwを軸とする回転をパン、図9(b)に示すようにYwを軸とする回転をロール、図9(c)に示すようにXwを軸とする回転をチルトとする。パンの回転角度(パン角)α、ロールの回転角度(ロール角)β、チルトの回転角度(チルト角)γとする。このとき、ワールド座標系の座標(xw1、yw1、zw1)で表される点P1は、カメラ座標系では式(1)で表すことができる。
図10は、図1の撮像装置1が撮像した撮像画像100を示す図である。図10においては、説明のために、画像変換により歪を除去した指標31を用いて説明する。ただし、歪が生じたままの画像を用いてパラメータを算出することも可能である。指標31の座標は、上述したように較正オブジェクトを移動させることで得られる。指標31の一端P1の位置を、カメラ画像の中心点を原点とする座標で(xi、zi)としたとき、撮像装置1の撮像素子のセンサ面上の像高hは、センサのピクセルピッチdを用いて式(2)で表される。
さらに、レンズの入射角θiとセンサ面上の像高hの関係は、レンズの焦点距離f、及びレンズのディストーションdistを用いて、式(3)で表すことができる。
図11は、カメラ座標系における指標31の両端P1、P2の座標を示す図である。点P1に対する撮像装置1の入射角θiは、式(4)で表される。
撮像装置1から点P1までの距離s、すなわちカメラ座標原点から指標31の点P1までの距離は既知であるので、式(2),(3)から求まる角度θiと、式(5)で表される角度φiとを用いて、(xc1、yc1、zc1)を式(6),(7),(8)により算出することができる。
同様に、点P2についても式(9)の関係が算出される。
指標31を、上述の通り、移動体5の後端から所定の距離に移動体5の後端と平行になるように設け、指標31の厚みを一定とすることにより、以下の式(10)及び(11)が成立する。
As described above, the
yw1=yw2 (10)
zw1=zw2 (11)
yw 1 = yw 2 (10)
zw 1 = zw 2 (11)
較正点のワールド座標系での座標は既知である。従って、指示装置3により入力した2つの較正点の画像上の座標が決まれば、制御部12は、式(1)、(9)、(10)及び(11)より、パン角α,ロール角β,及びチルト角γを算出することができる。すなわち、式(10)及び(11)の条件を満たすことにより、制御部12は、2点の較正用オブジェクトの座標を取得して較正パラメータを算出することができる。
The coordinates of the calibration point in the world coordinate system are known. Therefore, when the coordinates on the image of the two calibration points input by the
[動作フロー]
図12は、図1の撮像装置1の動作フローを示す図である。撮像装置1は、移動体5の外部に設けられた指標を撮像する(ステップS1)。撮像装置1は、撮像画像上における指標の長さを調整する(ステップS2)。ステップS2は図13を用いて、後に詳述する。撮像装置1は、ステップS1で撮像した撮像画像に、較正用オブジェクトが歪みを生じない初期位置に該撮像画像上で移動可能な較正用オブジェクトを重畳して、合成画像を生成する(ステップS3)。撮像装置1は、合成画像を表示装置2に出力する(ステップS4)。次いで撮像装置1は、較正用オブジェクトの位置が確定した旨の確定情報と、較正用オブジェクトの位置を調整する調整情報とのどちらを指示装置3から取得したかを判定する(ステップS5)。撮像装置1が調整情報を取得したとき、撮像装置1は、較正用オブジェクトが調整情報に対応する位置へ移動して形状が変化した後の新たな合成画像を生成する(ステップS6)。ステップS6は図14を用いて、後に詳述する。撮像装置1は、ステップS6の後、ステップS4に戻って、新たな合成画像を表示装置2に出力する。一方撮像装置1が確定情報を取得したとき、撮像装置1は、撮像部11の設置位置及び設置姿勢の少なくとも一方のずれを較正するパラメータを算出する(ステップS7)。
[Operation flow]
FIG. 12 is a diagram illustrating an operation flow of the imaging apparatus 1 of FIG. The imaging device 1 images an index provided outside the moving body 5 (step S1). The imaging device 1 adjusts the length of the index on the captured image (step S2). Step S2 will be described later in detail with reference to FIG. The imaging apparatus 1 superimposes a calibration object that can be moved on the captured image on the captured image captured in step S1 at an initial position where the calibration object does not cause distortion, thereby generating a composite image (step S3). . The imaging device 1 outputs the composite image to the display device 2 (step S4). Next, the imaging apparatus 1 determines which one of the confirmation information that the position of the calibration object is confirmed and the adjustment information that adjusts the position of the calibration object is acquired from the instruction device 3 (step S5). When the imaging apparatus 1 acquires the adjustment information, the imaging apparatus 1 generates a new composite image after the calibration object has moved to the position corresponding to the adjustment information and the shape has changed (step S6). Step S6 will be described later in detail with reference to FIG. The imaging device 1 returns to step S4 after step S6, and outputs a new composite image to the
図13は、図1の撮像装置1が行う指標の長さ調整処理のサブルーチンを示す図である。撮像装置1は、ステップS1で撮像した撮像画像を取得する(ステップS11)。撮像装置1は、従来公知の物体認識方法を用いて、撮像画像上において指標を検出する(ステップS12)。次いで撮像装置1は、撮像画像上において指標の長さを検出する(ステップS13)。次いで撮像装置1は、所定の条件が満たされたか否かを判定する(ステップS14)。所定の条件とは例えば、ステップS13で検出した指標の線状部位の長さが所定の長さよりも短いことである。所定の条件が満たされたと撮像装置1が判定したとき(ステップS14のYes)、撮像装置1は、撮像画像上における指標が有する線状部位を該線の長手方向に沿って延長する(ステップS15)。一方、所定の条件が満たされていないと撮像装置1が判定したとき(ステップS14のNo)、撮像装置1は、ステップS15の処理を行わない。 FIG. 13 is a diagram illustrating a subroutine of index length adjustment processing performed by the imaging apparatus 1 of FIG. The imaging device 1 acquires the captured image captured in step S1 (step S11). The imaging device 1 detects an index on the captured image using a conventionally known object recognition method (step S12). Next, the imaging device 1 detects the length of the index on the captured image (step S13). Next, the imaging apparatus 1 determines whether or not a predetermined condition is satisfied (step S14). The predetermined condition is, for example, that the length of the linear portion of the index detected in step S13 is shorter than the predetermined length. When the imaging apparatus 1 determines that the predetermined condition is satisfied (Yes in step S14), the imaging apparatus 1 extends the linear portion of the index on the captured image along the longitudinal direction of the line (step S15). ). On the other hand, when the imaging apparatus 1 determines that the predetermined condition is not satisfied (No in step S14), the imaging apparatus 1 does not perform the process in step S15.
図14は、図1の撮像装置1が行う合成画像生成処理のサブルーチンを示す図である。撮像装置1は、ステップS5で取得した調整情報に基づいて、合成画像上における較正用オブジェクトを移動させる(ステップS21)。ステップS21において更に、撮像装置1は、撮像装置1の撮像部11の光学系の歪特性及び設置条件に基づいて、較正用オブジェクトの形状を変化させる。ステップS21においては更に、撮像装置1は、撮像撮像上における重畳位置又は光軸位置に対する向きの少なくとも一方に応じて較正用オブジェクトの形状の変化の変位量を変更する。次いで撮像装置1は、所定の条件が満たされたか否かを判定する(ステップS22)。所定の条件とは、例えば撮像装置1が、ステップS15において、指標が有する線状部位を延長したことである。所定の条件が満たされたと撮像装置1が判定したとき(ステップS22のYes)、撮像装置1は、合成画像上における較正用オブジェクトが有する線状部位を該線の長手方向に沿って延長する(ステップS23)。次いで撮像装置1は、新たな合成画像を生成する(ステップS24)。一方、所定の条件が満たされていないと撮像装置1が判定したとき(ステップS22のNo)、撮像装置1は、ステップS23の処理を行わずに新たな合成画像を生成する(ステップS24)。
FIG. 14 is a diagram illustrating a subroutine of composite image generation processing performed by the imaging device 1 of FIG. The imaging device 1 moves the calibration object on the composite image based on the adjustment information acquired in step S5 (step S21). Further, in step S <b> 21, the imaging device 1 changes the shape of the calibration object based on the distortion characteristics and installation conditions of the optical system of the
上記実施形態の通り、制御部12は、較正用オブジェクトの形状を、撮像部11の光学系の歪特性及び設置条件に基づいて変化させるので、指標と較正用オブジェクトとを一致させることが容易となる。
As described in the above embodiment, the
また、制御部12は、撮像画像上における重畳位置又は光軸位置に対する向きの少なくとも一方に応じて較正用オブジェクトの形状の変形の変位量を変更する。このため、合成画像上の指標の位置が何処であっても、較正用オブジェクトの形状が指標の形状に近付くので、指標と較正用オブジェクトとを一致させることがより容易となる。
Further, the
また、制御部12は、撮像画像上における指標が有する線状部位を該線の長手方向に沿って延長可能である。このため、例えば、撮像画像上において指標が短く表示されたときでも、ユーザは、撮像画像と較正用オブジェクトとをより容易に一致させることができる。
Moreover, the
また、制御部12は、撮像画像に重畳した較正用オブジェクトが有する線状部位を該線の長手方向に沿って延長可能である。このため、例えば、合成画像上において較正用オブジェクトが短く表示されたときでも、ユーザは、撮像画像と較正用オブジェクトとをより容易に一致させることができる。
Further, the
更に、較正用オブジェクトは基準点を含み、当該基準点を中心として回転可能である。このため、回転移動によって指標と較正用オブジェクトとがずれることを防止することができる。従って、ユーザは、回転移動後に更に、較正用オブジェクトを移動させて微調整する必要がなくなるため、調整時間を短縮することができる。 Further, the calibration object includes a reference point and can be rotated around the reference point. For this reason, it is possible to prevent the index and the calibration object from being shifted due to the rotational movement. Therefore, the user does not need to move the calibration object and perform fine adjustment after the rotational movement, so that the adjustment time can be shortened.
本発明を諸図面や実施例に基づき説明してきたが、当業者であれば本開示に基づき種々の変形や修正を行うことが容易であることに注意されたい。したがって、これらの変形や修正は本発明の範囲に含まれることに留意されたい。例えば、各部材、各部、各ステップなどに含まれる機能などは論理的に矛盾しないように再配置可能である。また、本発明を方法の発明として実施する場合にも、複数の部やステップなどを1つに組み合わせたり、或いは分割したりすることが可能である。 Although the present invention has been described based on the drawings and examples, it should be noted that those skilled in the art can easily make various modifications and corrections based on the present disclosure. Therefore, it should be noted that these variations and modifications are included in the scope of the present invention. For example, functions included in each member, each part, each step, and the like can be rearranged so as not to be logically contradictory. Even when the present invention is implemented as a method invention, it is possible to combine or divide a plurality of parts, steps, and the like into one.
また、本発明に係る撮像装置1の制御部12をコンピュータで構成した場合、各機能を実現する処理内容を記述したプログラムを、そのコンピュータの内部又は外部の記憶部に格納しておき、そのコンピュータの中央演算処理装置(CPU)によってこのプログラムを読み出して実行させることで実現することができる。また、このようなプログラムは、例えばDVD又はCD−ROMなどの可搬型記録媒体の販売、譲渡、貸与等により流通させることができるほか、そのようなプログラムを、例えばネットワーク上にあるサーバの記憶部に記憶しておき、ネットワークを介してサーバから他のコンピュータにそのプログラムを転送することにより、流通させることができる。また、そのようなプログラムを実行するコンピュータは、例えば、可搬型記録媒体に記録されたプログラム又はサーバから転送されたプログラムを、一旦、自己の記憶部に記憶することができる。また、このプログラムの別の実施態様として、コンピュータが可搬型記録媒体から直接プログラムを読み取り、そのプログラムに従った処理を実行することとしてもよく、更に、このコンピュータにサーバからプログラムが転送される度に、逐次、受け取ったプログラムに従った処理を実行することとしてもよい。
Further, when the
1 撮像装置
2 表示装置
3 指示装置
4 伝送路
5 移動体
11 撮像部
12 制御部
DESCRIPTION OF SYMBOLS 1
Claims (8)
前記移動体の外部に設けられた指標を撮像した撮像画像に、該撮像画像上で移動可能な較正用オブジェクトを重畳し、前記撮像画像上における指標の位置と前記撮像画像上において確定した前記較正用オブジェクトの位置とに基づいて、前記撮像部の設置位置及び設置姿勢の少なくとも一方のずれを較正するパラメータを算出する制御部とを備え、
前記制御部は、前記撮像部の光学系の歪特性及び設置条件に基づいて、前記較正用オブジェクトの形状を変化させる
撮像装置。 An imaging unit that is installed at a predetermined position of the moving body, has an optical system that forms a subject image, and that captures a subject image formed by the optical system;
A calibration object movable on the captured image is superimposed on a captured image obtained by capturing an index provided outside the moving body, and the position of the index on the captured image and the calibration determined on the captured image And a control unit that calculates a parameter for calibrating a deviation of at least one of the installation position and the installation posture of the imaging unit based on the position of the object for use,
The control unit changes the shape of the calibration object based on distortion characteristics and installation conditions of an optical system of the imaging unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014131919A JP6234335B2 (en) | 2014-06-26 | 2014-06-26 | IMAGING DEVICE AND MOBILE BODY WITH IMAGING DEVICE |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014131919A JP6234335B2 (en) | 2014-06-26 | 2014-06-26 | IMAGING DEVICE AND MOBILE BODY WITH IMAGING DEVICE |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2016010142A JP2016010142A (en) | 2016-01-18 |
JP6234335B2 true JP6234335B2 (en) | 2017-11-22 |
Family
ID=55227389
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2014131919A Active JP6234335B2 (en) | 2014-06-26 | 2014-06-26 | IMAGING DEVICE AND MOBILE BODY WITH IMAGING DEVICE |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6234335B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7037413B2 (en) * | 2018-03-28 | 2022-03-16 | 京セラ株式会社 | Imaging device, moving object, and imaging method |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3649428B2 (en) * | 1999-01-18 | 2005-05-18 | 矢崎総業株式会社 | Vehicle periphery monitoring device and parameter adjustment method for vehicle periphery monitoring device |
JP6025365B2 (en) * | 2012-04-04 | 2016-11-16 | 京セラ株式会社 | Calibration processing apparatus, camera calibration apparatus, camera system, and camera calibration method |
-
2014
- 2014-06-26 JP JP2014131919A patent/JP6234335B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2016010142A (en) | 2016-01-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5316805B2 (en) | In-vehicle camera device image adjustment device and in-vehicle camera device | |
JP6012982B2 (en) | Calibration processing apparatus, camera calibration apparatus, camera system, and camera calibration method | |
JP5491235B2 (en) | Camera calibration device | |
JP4975592B2 (en) | Imaging device | |
JP6025365B2 (en) | Calibration processing apparatus, camera calibration apparatus, camera system, and camera calibration method | |
US8441541B2 (en) | Control apparatus and control method therefor | |
CN108700408B (en) | Three-dimensional shape data and texture information generation system, method and shooting control method | |
JP4758481B2 (en) | VEHICLE IMAGE PROCESSING DEVICE AND VEHICLE IMAGE PROCESSING PROGRAM | |
JP6223685B2 (en) | Image processing apparatus and image processing method | |
WO2015045329A1 (en) | Vehicle periphery image display device, and camera adjustment method | |
JP2008269139A (en) | Drive support system and vehicle | |
JP2009288152A (en) | Calibration method of on-vehicle camera | |
JP2011066788A (en) | Projection display device, and keystone correction method | |
JP2009241247A (en) | Stereo-image type detection movement device | |
JP2015070328A (en) | Imaging apparatus and control method for the same | |
JP2015022027A (en) | Image pickup device and method for controlling the same | |
JP5959311B2 (en) | Data deriving apparatus and data deriving method | |
WO2013038681A1 (en) | Camera calibration device, camera, and camera calibration method | |
JP5173551B2 (en) | Vehicle perimeter monitoring apparatus and camera mounting position / posture information setting correction method applied thereto | |
JP4682830B2 (en) | In-vehicle image processing device | |
JP6234335B2 (en) | IMAGING DEVICE AND MOBILE BODY WITH IMAGING DEVICE | |
JP2009123131A (en) | Imaging apparatus | |
JP2013062692A (en) | Calibration device and method for on-vehicle camera | |
JP5279453B2 (en) | Image shake correction apparatus, imaging apparatus, and image shake correction method | |
WO2016157666A1 (en) | Camera attitude estimating device, operation supporting device and camera attitude estimating method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20160915 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20170424 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20170509 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20170707 |
|
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: 20171017 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20171024 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6234335 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |