JP2013009202A - Camera direction adjustment device and camera direction adjustment method - Google Patents
Camera direction adjustment device and camera direction adjustment method Download PDFInfo
- Publication number
- JP2013009202A JP2013009202A JP2011141136A JP2011141136A JP2013009202A JP 2013009202 A JP2013009202 A JP 2013009202A JP 2011141136 A JP2011141136 A JP 2011141136A JP 2011141136 A JP2011141136 A JP 2011141136A JP 2013009202 A JP2013009202 A JP 2013009202A
- Authority
- JP
- Japan
- Prior art keywords
- camera
- display screen
- image
- reference mark
- digital camera
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Indication In Cameras, And Counting Of Exposures (AREA)
- Studio Devices (AREA)
Abstract
Description
本発明の実施形態は、カメラ方向調整装置及びカメラ方向調整方法に関する。 Embodiments described herein relate generally to a camera direction adjusting device and a camera direction adjusting method.
従来、テレビジョン受信装置や工業用ロボット等の種々の電子機器に設置されたデジタルカメラについては、デジタルカメラが撮像する方向である光軸方向(カメラ方向)の調整を行う場合、デジタルカメラで基準マークを撮像した画像をモニタで確認し、基準マークが所定位置になるようにデジタルカメラの向きを調整している。 Conventionally, for digital cameras installed in various electronic devices such as television receivers and industrial robots, when adjusting the optical axis direction (camera direction), which is the direction in which the digital camera captures images, the digital camera is used as a reference. An image obtained by capturing the mark is confirmed on a monitor, and the orientation of the digital camera is adjusted so that the reference mark is in a predetermined position.
しかしながら、上述した従来技術においては、カメラ方向を精度良く調整しようとする場合、基準マークをデジタルカメラから遠くに置く必要があり、簡便に調整することが困難であった。 However, in the above-described prior art, in order to adjust the camera direction with high accuracy, it is necessary to place the reference mark far from the digital camera, and it is difficult to easily adjust.
本発明は、上記に鑑みてなされたものであって、デジタルカメラの光軸方向の調整を簡便に精度良く行うことが可能なカメラ方向調整装置及びカメラ方向調整方法を提供することを目的とする。 The present invention has been made in view of the above, and an object of the present invention is to provide a camera direction adjusting device and a camera direction adjusting method capable of easily and accurately adjusting the optical axis direction of a digital camera. .
上述した課題を解決し、目的を達成するために、実施形態のカメラ方向調整装置は、光軸方向の調整対象のカメラが逐次撮像した撮像画像を取得する画像取得手段と、前記光軸方向の目標とする目標方向に対して正対する位置に配置された表示画面及び調整の基準とする基準マークとを有する表示手段と、前記取得された撮像画像を前記表示画面に表示出力させる制御手段とを備える。 In order to solve the above-described problems and achieve the object, the camera direction adjustment apparatus according to the embodiment includes an image acquisition unit that acquires captured images sequentially captured by a camera to be adjusted in the optical axis direction; Display means having a display screen arranged at a position facing the target direction as a target and a reference mark as a reference for adjustment, and control means for displaying and outputting the acquired captured image on the display screen Prepare.
また、実施形態のカメラ方向調整方法は、調整対象のカメラの光軸方向の目標とする目標方向に対して正対する位置に配置された表示画面及び調整の基準とする基準マークとを有する表示手段を有するカメラ方向調整装置のカメラ方向調整方法であって、前記カメラが逐次撮像した撮像画像を取得するステップと、前記取得された撮像画像を前記表示画面に表示出力させるステップとを含む。 In addition, the camera direction adjustment method of the embodiment includes a display screen arranged at a position facing a target direction in the optical axis direction of the camera to be adjusted and a reference mark as a reference for adjustment. A camera direction adjustment method for a camera direction adjustment apparatus, comprising: acquiring captured images sequentially captured by the camera; and displaying the acquired captured images on the display screen.
以下、添付図面を参照して実施形態のカメラ方向調整装置及びカメラ方向調整方法を詳細に説明する。図1は、実施形態にかかるカメラ方向調整装置1の概略構成の一例を示す外観図である。
Hereinafter, a camera direction adjusting device and a camera direction adjusting method of an embodiment will be described in detail with reference to the accompanying drawings. FIG. 1 is an external view showing an example of a schematic configuration of a camera
図1に示すように、カメラ方向調整装置1は、LCD(Liquid Crystal Display)等の表示画面101を有する表示装置10と、表示装置10の制御を行うコントロールボックス11とを備える。コントロールボックス11は、テレビジョン装置2と通信ケーブル12を介して接続され、表示装置10とは通信ケーブル13を介して接続される。表示画面101の表示面は、テレビジョン装置2に設けられたデジタルカメラ22(図2参照)の光軸方向D2の目標とする目標方向D1に対して正対する位置に予め配置される。具体的には、表示画面101の表示面の中心Dと、目標方向D1とが直交する位置に配置される。
As shown in FIG. 1, the camera
図2は、テレビジョン装置2の一例を示す外観斜視図である。図2に示すように、テレビジョン装置2は、筐体20と、支持部21と、デジタルカメラ22と、表示部23とを備えている。筐体20は、正面にデジタルカメラ22、表示部23を備え、支持部21に支持されている。デジタルカメラ22は、表示部23の上部に設けられ、CMOSイメージセンサやCCDイメージセンサなどにより図1に例示した光軸方向D2を撮像する。デジタルカメラ22が撮像した画像は、筐体20の下部(図示しない)に設けられた通信コネクタと接続する通信ケーブル12を介してコントロールボックス11へ出力される。表示部23は、チューナや映像入力部(いずれも図示しない)から入力された映像信号を表示するLCDなどである。なお、実施形態ではテレビジョン装置2に設けられたデジタルカメラ22の光軸方向D2を調整する場合を例示するが、調整を行うデジタルカメラ22は、撮像した画像をコントロールボックス11へ出力する構成を備えるものであれば、いずれの電子機器に設けられたものであってよい。例えば、デジタルカメラ22は組み立てロボット等の電子機器に設けられたものであってもよい。
FIG. 2 is an external perspective view showing an example of the
図3は、実施形態にかかるカメラ方向調整装置1のハードウエア構成を例示するブロック図である。図3に示すように、カメラ方向調整装置1は、CPU111と、RAM112と、ROM113と、HDD114と、通信コントローラ115と、表示コントローラ117と、通信部116と、操作入力コントローラ118と、操作入力部119とを備えている。
FIG. 3 is a block diagram illustrating a hardware configuration of the camera
CPU111は、ROM113やHDD114等に予めインストールされ記憶された各種プログラムを実行し、カメラ方向調整装置1を構成する各部の動作を制御する。RAM112は、書き換え可能な揮発性の記憶デバイスであって、CPU111の作業領域等として機能し、また、各種の処理時において、スタックやバッファ等として機能する。ROM113は、書き換え不能な不揮発性の記憶デバイスであって、カメラ方向調整装置1の制御にかかるプログラムや各種設定情報等を記憶する。HDD114は、書き換え可能な不揮発性の記憶デバイスであって、カメラ方向調整装置1の制御にかかるプログラムや各種データ等を記憶する。なお、カメラ方向調整装置1は、書き換え可能な不揮発性の記憶デバイス(記憶部)として、例えば、SSD(solid state drive)や、半導体メモリ(例えばフラッシュメモリ)等の、記憶デバイスを備えることができる。
The CPU 111 executes various programs installed and stored in advance in the ROM 113, the HDD 114, and the like, and controls the operation of each unit constituting the camera
通信コントローラ115は、CPU111の制御のもと、通信部116におけるデータ通信を制御する。通信部116は、通信ケーブル12を介して接続するテレビジョン装置2などの外部機器と所定の通信プロトコルに従ったデータ通信を行う。具体的には、通信部116は、通信コントローラ115の制御のもと、テレビジョン装置2のデジタルカメラ22が逐次撮像した画像を取得する。表示コントローラ117は、CPU111の制御のもとで表示データを生成し、生成した表示データを表示装置10へ出力することで、通信ケーブル13を介して接続する表示装置10の表示画面101への表示出力を制御する。具体的には、表示コントローラ117は、通信部116により取得されたテレビジョン装置2のデジタルカメラ22で撮像した画像を表示画面101へ表示出力させる。操作入力コントローラ118は、キーボードや、タッチパネル、クリックボタン、押しボタン、スイッチ等として構成される操作入力部119からオペレータの操作に応じて受け取った信号をCPU111へ出力する。例えば、CPU111では、オペレータの操作により操作入力コントローラ118より出力される信号に応じて、通信部116により取得されたテレビジョン装置2のデジタルカメラ22で撮像した画像を表示画面101へ表示出力させる処理を開始する。
The communication controller 115 controls data communication in the communication unit 116 under the control of the CPU 111. The communication unit 116 performs data communication according to a predetermined communication protocol with an external device such as the
図4は、表示装置10の正面外観を例示する外観図である。デジタルカメラ22と表示装置10とを互いに向かいあわせにして、テレビジョン装置2のデジタルカメラ22の光軸方向D2を目標方向D1に調整する際には、図4に示すように、CPU111の制御のもと、調整の基準とする基準マーク画像102と、デジタルカメラ22が逐次撮像した画像であるカメラビュー103とを、表示画面101に表示する。基準マーク画像102は、カメラビュー103の外側の所定の位置において表示される所定形状のものであればいずれであってもよく、例えば表示画面101の外枠や、表示装置10のフレームなどであってもよい。図示例では、基準マーク画像102は、カメラビュー103の外側の表示画面101上に、4つの内角が全て90度の矩形(以後、基本矩形とよぶ)を表示したものである。表示画面101に表示された基本矩形の4つの頂点の位置は既知であるものとする。基準マーク画像102は、後述する画像処理を容易とするように、所定の色で色付けを行ってもよい。また、基準マーク画像102は、コントラストが明確とするように、背景色を変更してもよい。カメラビュー103は、表示画面101における中心Dを基準(カメラビュー103の中心)として表示画面101に表示される。デジタルカメラ22の光軸方向D2を目標方向D1に調整する際の表示装置10とデジタルカメラ22との距離は、デジタルカメラ22のカメラ視野221が基準マーク画像102と、カメラビュー103とを含むように調整しておくものとする。
FIG. 4 is an external view illustrating the front external appearance of the
図4に例示したように、デジタルカメラ22と表示装置10とが互いに向きあってデジタルカメラ22で逐次撮像した画像をカメラビュー103に表示した場合、デジタルカメラ22で表示装置10を撮像→撮像した画像をカメラビュー103に表示→デジタルカメラ22で表示装置10を撮像→…というループ(再帰)が発生する。図5は、デジタルカメラ22の撮像で生じるループによるカメラビュー103の表示の一例を示す概念図である。図5に示すように、カメラビュー103には、基準マーク画像102が内側に向かってループした画像、再帰された基準マーク画像が表示される。ここで、デジタルカメラ22の光軸方向D2が目標方向D1に一致していない間は、カメラビュー103に表示されるループした画像は、基準マーク画像102に対して歪んだ形状となる。この歪みは、光軸方向D2と目標方向D1とが一致していないことによる誤差がループにより増幅されることから、外側から内側に向かうに従って大きくなる。
As illustrated in FIG. 4, when the
また、光軸方向D2に対する目標方向D1との間で、位置ずれ、回転ずれのいずれが生じているかで、異なるループ画像がカメラビュー103に表示されることとなる。図6は、目標方向D1に対する光軸方向D2と、カメラビュー103との関係を例示する概念図である。図6に示すように、デジタルカメラ22の撮像面と表示画面101の表示面とが平行であり、かつ、両面の水平・垂直方向も一致して、表示画面101の中心Dとデジタルカメラ22の中心から表示画面101に下ろした垂線の足が一致する場合、すなわち目標方向D1と光軸方向D2とが一致する理想的な場合は、カメラビュー103を中心に、基準マーク画像102と相似な画像が内側に向かってループして表示される。また、デジタルカメラ22の撮像面と表示画面101の表示面とが平行であり、かつ、両面の水平・垂直方向も一致していたとしても、表示画面101の中心Dに対してデジタルカメラ22の中心から表示画面101に下ろした垂線の足がずれた位置ずれがある場合は、ずれ位置を中心に、基準マーク画像102と相似な画像が内側に向かってループして表示される。また、目標方向D1周りにデジタルカメラ22が回転した回転ずれがある場合は、カメラビュー103を中心に、基準マーク画像102と相似な画像が内側に向かって徐々に回転するようにループして表示される。
In addition, a different loop image is displayed on the
したがって、オペレータは、カメラビュー103に表示される、外側から内側に向かうループした画像が、図6に例示した理想的な場合となるように調整することで、光軸方向D2を容易に目標方向D1に調整できる。また、ループにより歪みが増大することから、デジタルカメラ22と、表示装置10との距離を離すことなく、精度の調整を行うことが可能となる。
Therefore, the operator easily adjusts the optical axis direction D2 to the target direction by adjusting the looped image displayed from the outside toward the inside displayed in the
次に、基本矩形のループ画像からデジタルカメラ22の位置・姿勢(カメラパラメータ)を算出して、光軸方向D2を光軸方向D2に調整する場合について説明する。なお、カメラパラメータの算出については、以後、キャリブレーションと呼ぶものとする。また、デジタルカメラ22の光学レンズ(図示しない)の焦点距離等の内部パラメータは既知であり、キャリブレーションで求めるカメラパラメータは、外部パラメータ、すなわち基準座標系に対するデジタルカメラ22の3次元位置と、3本の単位ベクトルで定義される姿勢であるとする。
Next, a case where the position / orientation (camera parameter) of the
カメラ方向調整装置1では、CPU111が撮像した画像の画像処理を行って、撮像した画像に含まれる基準マーク画像102や、その基準マーク画像102が再帰された画像を検出し、パラメータの算出を行う。具体的には、図4に例示したカメラ視野221相当の撮像画像に対して画像処理を行うことで、複数の基本矩形相当の画像(四角画像)を抽出する。抽出される四角画像は、外側から内側に進むに従ってサイズが小さくなり、画像処理による抽出が困難となるので、所定のサイズ以上の大きさの四角画像を例えばK個取り出す。なお、四角画像は、撮像画像からエッジを検出後、直線当てはめを各辺について行うなどして抽出する。
In the camera
なお、K個の四角画像の抽出方法は任意であるが、以下のような手順で処理を行うと効率的である。まず、表示画面101にカメラビュー103を表示しない状態でデジタルカメラ22の撮像画像を取得する。この時点で撮像画像上に存在する四角画像は、基準マーク画像102の基本矩形のみであり、その抽出は容易である。後で詳細に説明するが、表示画面101から撮像面への変換は、射影変換で表され、4つの頂点の対応関係(4頂点の表示画面101上の位置とその画像への投影)から一意に決まる。そこで、基準マーク画像102の基本矩形を抽出した四角画像を用いてこの射影変換を求めておく。次に、表示画面101にカメラビュー103を表示した状態でデジタルカメラ22の撮像画像を取得し、前述のループ画像を観測する。一番外側の四角画像は既に抽出されているので、二番目以降の四角画像が抽出対象となる。隣り合う2つの四角画像間の変換はいずれも同一であり、表示画面101から撮像面への射影変換と、撮像面から表示画面101へのスケール(拡大)変換から構成されるが、射影変換は既に求めているため、スケール変換のみを考慮して四角画像を抽出すればよい。
The method for extracting K square images is arbitrary, but it is efficient to perform the processing in the following procedure. First, a captured image of the
CPU111は、表示画面101に表示した基本矩形と、基本矩形の画像上の当映像(画像処理により抽出したK個の四角画像)からカメラパラメータを算出する。図7は、基準座標系を例示する概念図である。カメラパラメータにかかる基準座標系の設定方法は任意であるが、実施形態では基準座標系の原点を表示画面101の左端とし、表示画面101の表示面をXY平面、表示画面101の垂直方向をZ軸とする。また、デジタルカメラ22の位置(V1)をt=(tx、ty、tz)T(Tは転置記号)、デジタルカメラ22の姿勢(撮像面(V2)の姿勢)を正規直交基底i、j、kで表す。さらに、これらの3本のベクトルからなる行列M=(iT,jT,kT)Tを定義する。Mはデジタルカメラ22の姿勢を表すことから姿勢行列と呼ぶ。デジタルカメラ22の位置tと姿勢行列Mが求めるカメラパラメータである。3次元空間中の点X=(X,Y,Z)Tの画像への投影点x=(x,y)Tは次の式(1)により与えられる。
The CPU 111 calculates camera parameters from the basic rectangle displayed on the
表示画面101の平面はXY平面と一致するのでZ=0である。つまり表示画面101上の点(X,Y,0)Tの投影点(x,y)Tは次の式(2)で与えられる。
Since the plane of the
以下では、表現の簡略化のため同次座標表現を用いる。すなわち表示画面101上の点(X,Y)、画像上の点(x,y)を各々X=(X,Y,1)T、x=(x,y,1)Tによって表す。これを用いると前述した式は、次の式(3)で表現できる。
In the following, a homogeneous coordinate expression is used to simplify the expression. That is, the point (X, Y) on the
ここで、
表示画面101上の点X(X,Y,1)Tは、式(3)が示す2次元射影変換を受け、画像の点x=(x,y,1)Tに投影される。
The point X (X, Y, 1) T on the
図8は、射影変換を例示する概念図である。図8に示すように、カメラビュー103の一番外側の四角画像上の点をx(1)とし、以下、2番目、3番目の四角画像上の点をx(2)、x(3)のように、外側からk番目の四角画像をx(k)と表す。同様に、表示画面101上の四角画像も外側からX(1)、X(2)、X(3)と表現する。X(1)は表示画面101上のカメラビュー103の外側に表示した基本矩形であり、X(2)、X(3)、…は表示画面101上のカメラビュー103内に表示された四角画像である。表示画面101上で外側からk番目の四角画像X(K)の画像への投影がx(k)なので、式(3)より、
FIG. 8 is a conceptual diagram illustrating projective transformation. As shown in FIG. 8, the point on the outermost square image of the
である(式(4))。また、表示画面101上で2番目外側の四角画像X(2)は、カメラビュー103で一番外側の四角画像x(1)を表示画面101上で拡大表示したものである。一般化すると、表示画面101上でk番目外側の四角画像X(k)は、カメラビュー103上で(k−1)番目に外側の四角画像x(k−1)を拡大したものなので、
(Formula (4)). The second outermost square image X (2) on the
式(4)、式(5)から次の式(7)を得る。 The following equation (7) is obtained from equations (4) and (5).
ここで、
である。P’もPと同様に2次元の射影変換を表す。この関係式と、前述の画像処理によって抽出したK個の四角画像x(k)(k=1,2,…K)からデジタルカメラ22の姿勢行列Mを求める。
It is. P ′, like P, represents a two-dimensional projective transformation. The posture matrix M of the
k番目の四角画像の4つの頂点をx(k) 1、x(k) 2、x(k) 3、x(k) 4と表す。k番目の四角画像と、その一つ内側にある(k−1)番目の四角画像の各頂点の対応関係と、式(7)から、 The four vertices of the k-th square image are represented as x (k) 1 , x (k) 2 , x (k) 3 , x (k) 4 . From the k-th square image and the correspondence between the vertices of the (k−1) -th square image inside one, and Equation (7),
を得る。各頂点の対応関係から上述した2本の方程式が得られ、それが4頂点あるので1対の四角画像から8つの方程式を得る。さらに、K個の四角画像の中には互いに隣接する四角画像の組はK−1通りあるので、合計8×(K−1)本の方程式を得る。これらの方程式を連立させて射影変換行列P’を求める。ただしP’は射影変換であり、その要素には定数倍の不定性がある。すなわち、例えばw=t3として、次の式(8) Get. The two equations described above are obtained from the correspondence between the vertices. Since there are four vertices, eight equations are obtained from a pair of square images. Further, since there are K-1 sets of square images adjacent to each other in the K square images, a total of 8 × (K−1) equations are obtained. By projecting these equations, a projective transformation matrix P ′ is obtained. However, P ′ is projective transformation, and its elements have a constant multiple indefiniteness. That is, for example, when w = t 3 , the following equation (8)
とおいた時のh11〜h32が一意に決まる。姿勢行列Mの第1列(r11,r21,r31)は単位ベクトルであるから、 H 11 to h 32 are uniquely determined. Since the first column (r 11 , r 21 , r 31 ) of the attitude matrix M is a unit vector,
であり、次の式(9)を得る。 And the following equation (9) is obtained.
この式(9)と、式(8)より、 From this equation (9) and equation (8),
として姿勢行列Mの第1列と第2列の要素を求める。ただし、w’=w/sである。Mの第3列(r13,r23,r33)は、 As described above, the elements of the first column and the second column of the attitude matrix M are obtained. However, w ′ = w / s. The third column of M (r 13 , r 23 , r 33 ) is
という関係式から求める。上記関係式の×はベクトルの外積を表す。w’の符号によって2つの姿勢行列が算出されることになるが、物理的な意味から妥当な方を選択する。例えば、デジタルカメラ22の撮像面の横方向を表すi=(r11、r12、r13)はX軸方向にほぼ一致することからw’の符号を一意に定めることができる。
It is obtained from the relational expression In the above relational expression, x represents an outer product of vectors. Two attitude matrices are calculated based on the sign of w ′, and an appropriate one is selected from the physical meaning. For example, since i = (r 11 , r 12 , r 13 ) representing the horizontal direction of the imaging surface of the
デジタルカメラ22の位置t=(tx,ty,tz)は式(3)を用いて算出する。表示画面101上の基本矩形の頂点X(1) iとその投影点x(1) iを式(3)に代入すると、次の式(10)である。
The position t = (t x , t y , t z ) of the
式(10)は2つの方程式を表す。4つの頂点を用いると8本の方程式を得る。デジタルカメラ22の姿勢行列Mは既に求めているのでこれも用いて8本の連立方程式をt=(tX,tY,tZ)Tについて解いてデジタルカメラ22の位置を求める。
Equation (10) represents two equations. Using 4 vertices, we get 8 equations. Since the attitude matrix M of the
上述した手順により、デジタルカメラ22のキャリブレーション、すなわち表示画面101に対するデジタルカメラ22の位置と姿勢との算出が可能となる。
The procedure described above enables calibration of the
算出したカメラパラメータの妥当性を以下の方法により評価することも可能である。まず、表示画面101上の中心Dが算出したデジタルカメラ22の位置tから表示画面101の平面に下ろした垂線の足と一致するように、基本矩形の四角画像X(1)とともにカメラビュー103を移動させ、さらに、X(1)を下記の式(11)のように変換する。
The validity of the calculated camera parameters can be evaluated by the following method. First, the
表現の簡略化のため、上付き添字「(1)」は省略している。X’の画像への投影は次の式(12)で与えられる。 In order to simplify the expression, the superscript “(1)” is omitted. The projection of X ′ onto the image is given by the following equation (12).
一方、3つの姿勢ベクトルが基準座標系のX,Y,Z軸に一致する理想的なデジタルカメラ22(理想カメラと呼ぶ)の姿勢行列は次の式(13)のようになる。 On the other hand, an attitude matrix of an ideal digital camera 22 (referred to as an ideal camera) in which three attitude vectors coincide with the X, Y, and Z axes of the reference coordinate system is expressed by the following equation (13).
この式(13)と、式(3)から基本矩形を理想カメラで撮像した時の投影点x’’は次の式(14)のようになる。 From this equation (13) and equation (3), the projection point x ″ when the basic rectangle is imaged by the ideal camera is expressed by the following equation (14).
式(12)と式(14)からx’とx’’は算出したカメラパラメータが正しければ一致する。つまり、基本矩形を式(11)により変換すると、変換後の基本矩形の当映像は、理想カメラで基本矩形を撮像した場合の投影像と同一となり、繰り返しのループ画像は、図6に例示した理想的な場合のようになる。つまり、観測された繰り返しのループ画像の相似性や各辺の方向の不変性から、算出したカメラパラメータの妥当性を評価することができる。 From Expression (12) and Expression (14), x ′ and x ″ match if the calculated camera parameters are correct. That is, when the basic rectangle is converted by the equation (11), the converted image of the basic rectangle becomes the same as the projected image when the basic rectangle is captured by the ideal camera, and the repeated loop image is illustrated in FIG. Like the ideal case. That is, the validity of the calculated camera parameter can be evaluated from the similarity of the observed repeated loop images and the invariance of the direction of each side.
このような理想的な繰り返しのループ画像が観測されるまで再計算を行って精度を改善することも可能である。図9は、キャリブレーションの一例を示すフローチャートである。図9に示すように、カメラ方向調整装置1の前にデジタルカメラ22を配置した後(S1)、オペレータの操作により基準マーク画像102を表示画面101に表示させる(S2)。次いで、CPU111は、デジタルカメラ22が撮像した撮像画像を取得し(S3)、上述した画像処理(S4)とカメラパラメータの算出(S5)とを行う。次いで、CPU111は、上述したカメラパラメータの妥当性(x’とx’’の一致)を判定することで、キャリブレーションの終了判定を行う(S6)。
It is also possible to improve accuracy by performing recalculation until such an ideal repeated loop image is observed. FIG. 9 is a flowchart illustrating an example of calibration. As shown in FIG. 9, after the
終了判定においてカメラパラメータが妥当であると判定された場合(S6:YES)、CPU111は、表示装置10にデジタルカメラ22の調整終了を表示するなどして(S8)、キャリブレーションの終了をオペレータに報知し、処理を終了する。また、終了判定においてカメラパラメータが妥当でないと判定された場合(S6:NO)、CPU111は、基準マーク画像102の形状を式(11)により変形し、変形した基本矩形を表示画面101に表示して基本矩形の更新を行う(S7)。基本矩形の更新の後、CPU111はS3へ処理を戻す。したがって、カメラ方向調整装置1では、変形後の四角画像を用いて計算を行う。このように、基本矩形を更新することで、繰り返しの四角画像が理想的な形状に近づいていくため、四角画像の各辺が水平線、または垂直線となり、画像処理による直線抽出が容易となり、抽出精度を高めることが可能となる。
When it is determined in the end determination that the camera parameters are valid (S6: YES), the CPU 111 displays the end of adjustment of the
なお、CPU111は、算出したカメラパラメータを表示画面101に表示するなどして、オペレータに報知してもよい。この場合は、報知されたカメラパラメータからオペレータがデジタルカメラ22の調整を行うことが可能となる。また、CPU111は、算出したカメラパラメータをもとに、デジタルカメラ22の姿勢を調整するためのアクチュエータを制御し、デジタルカメラ22の調整を行ってもよい。
Note that the CPU 111 may notify the operator by displaying the calculated camera parameters on the
なお、実施形態のカメラ方向調整装置1で実行されるプログラムは、ROM等に予め組み込まれて提供される。実施形態のカメラ方向調整装置1で実行されるプログラムは、インストール可能な形式又は実行可能な形式のファイルでCD−ROM、フレキシブルディスク(FD)、CD−R、DVD(Digital Versatile Disk)等のコンピュータで読み取り可能な記録媒体に記録して提供するように構成してもよい。
Note that the program executed by the camera
さらに、実施形態のカメラ方向調整装置1で実行されるプログラムを、インターネット等のネットワークに接続されたコンピュータ上に格納し、ネットワーク経由でダウンロードさせることにより提供するように構成しても良い。また、実施形態のカメラ方向調整装置1で実行されるプログラムをインターネット等のネットワーク経由で提供または配布するように構成しても良い。
Furthermore, the program executed by the camera
実施形態のカメラ方向調整装置1で実行されるプログラムは、上述した機能構成を含むモジュール構成となっており、実際のハードウエアとしてはCPU(プロセッサ)が上記ROMからプログラムを読み出して実行することにより上記機能構成が主記憶装置上にロードされ、主記憶装置上に生成されるようになっている。
The program executed by the camera
なお、本発明は、上記実施形態そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化することができる。また、上記実施形態に開示されている複数の構成要素の適宜な組み合わせにより、種々の発明を形成することができる。例えば、実施形態に示される全構成要素からいくつかの構成要素を削除してもよい。さらに、異なる実施形態にわたる構成要素を適宜組み合わせても良い。 Note that the present invention is not limited to the above-described embodiment as it is, and can be embodied by modifying the constituent elements without departing from the scope of the invention in the implementation stage. Moreover, various inventions can be formed by appropriately combining a plurality of constituent elements disclosed in the embodiment. For example, some components may be deleted from all the components shown in the embodiment. Furthermore, the constituent elements over different embodiments may be appropriately combined.
1…カメラ方向調整装置、2…テレビジョン装置、10…表示装置、11…コントロールボックス、12…通信ケーブル、13…通信ケーブル、20…筐体、21…支持部、22…デジタルカメラ、23…表示部、101…表示画面、102…基準マーク画像、103…カメラビュー、111…CPU、112…RAM、113…ROM、114…HDD、115…通信コントローラ、116…通信部、117…表示コントローラ、118…操作入力コントローラ、119…操作入力部、221…カメラ視野、D…中心、D1…目標方向、D2…光軸方向
DESCRIPTION OF
Claims (5)
前記光軸方向の目標とする目標方向に対して正対する位置に配置された表示画面及び調整の基準とする基準マークとを有する表示手段と、
前記取得された撮像画像を前記表示画面に表示出力させる制御手段と、
を備えるカメラ方向調整装置。 Image acquisition means for acquiring captured images sequentially captured by a camera to be adjusted in the optical axis direction;
Display means having a display screen arranged at a position facing the target direction of the optical axis direction and a reference mark as a reference for adjustment;
Control means for displaying and outputting the acquired captured image on the display screen;
A camera direction adjusting device.
請求項1に記載のカメラ方向調整装置。 The reference mark is arranged outside the captured image displayed and output on the display screen.
The camera direction adjusting apparatus according to claim 1.
請求項1又は2に記載のカメラ方向調整装置。 The reference mark is a rectangular image surrounding the captured image on the display screen.
The camera direction adjustment apparatus according to claim 1 or 2.
前記基準マークと、前記再帰された基準マークの位置をもとに、前記カメラの位置と姿勢を示すパラメータを算出する算出手段と、
前記算出されたパラメータが所定の値を示すことを報知する報知手段とを更に備える、
請求項1乃至3のいずれか一項に記載のカメラ方向調整装置。 Detecting means for detecting the reference mark included in the captured image and a reference mark recursed by imaging the display screen displaying the captured image with the camera;
Calculation means for calculating a parameter indicating the position and orientation of the camera based on the reference mark and the position of the recursive reference mark;
A notification means for notifying that the calculated parameter indicates a predetermined value;
The camera direction adjustment apparatus according to any one of claims 1 to 3.
前記カメラが逐次撮像した撮像画像を取得するステップと、
前記取得された撮像画像を前記表示画面に表示出力させるステップと、
を含むカメラ方向調整方法。 Camera direction adjusting method of camera direction adjusting apparatus having display means having display screen arranged at position facing to target direction in optical axis direction of camera to be adjusted and reference mark as reference for adjustment Because
Acquiring captured images sequentially captured by the camera;
Displaying and outputting the acquired captured image on the display screen;
Camera direction adjustment method including
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011141136A JP2013009202A (en) | 2011-06-24 | 2011-06-24 | Camera direction adjustment device and camera direction adjustment method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011141136A JP2013009202A (en) | 2011-06-24 | 2011-06-24 | Camera direction adjustment device and camera direction adjustment method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2013009202A true JP2013009202A (en) | 2013-01-10 |
Family
ID=47676185
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011141136A Pending JP2013009202A (en) | 2011-06-24 | 2011-06-24 | Camera direction adjustment device and camera direction adjustment method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2013009202A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2016019053A (en) * | 2014-07-04 | 2016-02-01 | Kddi株式会社 | Video transfer system, terminal, program, and method that are for displaying imaging area frame superposed on wide-area picture |
WO2020194564A1 (en) * | 2019-03-27 | 2020-10-01 | 日本電気株式会社 | Camera adjustment device, camera position adjustment method, and computer-readable medium |
CN114998086A (en) * | 2022-07-28 | 2022-09-02 | 合肥高维数据技术有限公司 | Method for manufacturing test sample of screen invisible watermark embedding program and test method |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009042162A (en) * | 2007-08-10 | 2009-02-26 | Toshiba Corp | Calibration device and method therefor |
-
2011
- 2011-06-24 JP JP2011141136A patent/JP2013009202A/en active Pending
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009042162A (en) * | 2007-08-10 | 2009-02-26 | Toshiba Corp | Calibration device and method therefor |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2016019053A (en) * | 2014-07-04 | 2016-02-01 | Kddi株式会社 | Video transfer system, terminal, program, and method that are for displaying imaging area frame superposed on wide-area picture |
WO2020194564A1 (en) * | 2019-03-27 | 2020-10-01 | 日本電気株式会社 | Camera adjustment device, camera position adjustment method, and computer-readable medium |
JPWO2020194564A1 (en) * | 2019-03-27 | 2021-11-04 | 日本電気株式会社 | Camera adjustment device, camera position adjustment method and program |
US11627246B2 (en) | 2019-03-27 | 2023-04-11 | Nec Corporation | Camera adjustment apparatus, camera position adjustment method, and computer readable medium |
CN114998086A (en) * | 2022-07-28 | 2022-09-02 | 合肥高维数据技术有限公司 | Method for manufacturing test sample of screen invisible watermark embedding program and test method |
CN114998086B (en) * | 2022-07-28 | 2022-10-21 | 合肥高维数据技术有限公司 | Method for manufacturing test sample of screen invisible watermark embedding program and test method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5580164B2 (en) | Optical information processing apparatus, optical information processing method, optical information processing system, and optical information processing program | |
US7929043B2 (en) | Image stabilizing apparatus, image-pickup apparatus and image stabilizing method | |
JP5768684B2 (en) | Stereo image generation apparatus, stereo image generation method, and computer program for stereo image generation | |
CN110809786B (en) | Calibration device, calibration chart, chart pattern generation device, and calibration method | |
US8441541B2 (en) | Control apparatus and control method therefor | |
JP2014131257A (en) | Image correction system, image correction method, and program | |
WO2014069632A1 (en) | Image processing device, image processing method, image processing program, and storage medium | |
WO2013111229A1 (en) | Camera calibration device, camera calibration method, and camera calibration program | |
TWI577172B (en) | Image calibration system and calibration method of a stereo camera | |
JP5453352B2 (en) | Video display device, video display method and program | |
JP2019509569A (en) | Perspective correction for curved display screens | |
US10438412B2 (en) | Techniques to facilitate accurate real and virtual object positioning in displayed scenes | |
JP2002324234A (en) | Method and device for rectifying stereoscopic image | |
JP2009042162A (en) | Calibration device and method therefor | |
TWI761684B (en) | Calibration method of an image device and related image device and operational device thereof | |
WO2016103621A1 (en) | Three-dimensional information restoration device, three-dimensional information restoration system, and three-dimensional information restoration method | |
JP6694281B2 (en) | Stereo camera and imaging system | |
JP2017092756A (en) | Image processing system, image processing method, image projecting system and program | |
JP2011155412A (en) | Projection system and distortion correction method in the same | |
JP2017090420A (en) | Three-dimensional information restoration device and three-dimensional information restoration method | |
JP2013009202A (en) | Camera direction adjustment device and camera direction adjustment method | |
US20210314473A1 (en) | Signal processing device, imaging device, and signal processing method | |
JP6525724B2 (en) | Panning information display device, method of executing display processing of panning information, and panning information display program | |
US11310423B2 (en) | Image capturing method and image capturing apparatus | |
JP2006017632A (en) | Three-dimensional image processor, optical axis adjustment method, and optical axis adjustment support method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20130205 |