JP2018169353A - Mounting error detecting device, mounting error detecting method, and mounting error detecting program - Google Patents

Mounting error detecting device, mounting error detecting method, and mounting error detecting program Download PDF

Info

Publication number
JP2018169353A
JP2018169353A JP2017068625A JP2017068625A JP2018169353A JP 2018169353 A JP2018169353 A JP 2018169353A JP 2017068625 A JP2017068625 A JP 2017068625A JP 2017068625 A JP2017068625 A JP 2017068625A JP 2018169353 A JP2018169353 A JP 2018169353A
Authority
JP
Japan
Prior art keywords
vehicle
terminal
camera
adjustment pattern
pattern
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
Application number
JP2017068625A
Other languages
Japanese (ja)
Inventor
金澤 裕
Yutaka Kanazawa
裕 金澤
武志 下清水
Takeshi Shitashimizu
武志 下清水
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Intellectual Property Management Co Ltd
Original Assignee
Panasonic Intellectual Property Management Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Panasonic Intellectual Property Management Co Ltd filed Critical Panasonic Intellectual Property Management Co Ltd
Priority to JP2017068625A priority Critical patent/JP2018169353A/en
Publication of JP2018169353A publication Critical patent/JP2018169353A/en
Pending legal-status Critical Current

Links

Images

Abstract

To provide a mounting error detecting device, a mounting error detecting method, and a mounting error detecting program, capable of easily detecting a mounting error of an on-vehicle camera.SOLUTION: A mounting error detecting device detects a mounting error of an on-vehicle camera mounted on a vehicle using a portable terminal 3 displaying a prescribed adjustment pattern. The mounting error detecting device comprises: a camera image acquisition unit 111 which acquires a camera image of the adjustment pattern imaged by the on-vehicle camera; a terminal attitude acquisition unit 112 which acquires a terminal attitude of the portable terminal when the camera image is imaged; and an error calculation unit 113 which calculates a mounting error of the on-vehicle camera using the imaging pattern in the camera image corresponding to the adjustment pattern, the terminal attitude, the adjustment pattern, and a reference attitude of the portable terminal.SELECTED DRAWING: Figure 1

Description

本発明は、車載カメラの取付誤差を検出する取付誤差検出装置、取付誤差検出方法及び取付誤差検出プログラムに関する。   The present invention relates to an attachment error detection device, an attachment error detection method, and an attachment error detection program for detecting an attachment error of an in-vehicle camera.

従来、車両に設置された車載カメラで撮像した車両の周辺視界(例えば、後方視界)を表示する表示部を内蔵し、表示部のカメラ画像で車両の周辺視界を視認できる車載表示装置が実用化されている。このような車載表示装置において、表示部に所望の周辺視界を表示させるためには、車載カメラを取り付ける際に、撮像視野、すなわち、光軸及び光軸周りの回転位置を正確に調整する必要がある。   Conventionally, a vehicle-mounted display device that has a built-in display unit that displays a vehicle's peripheral field of view (for example, a rear field of view) captured by a vehicle-mounted camera installed in the vehicle and can visually recognize the vehicle's peripheral field of view with a camera image of the display unit has been put into practical use. Has been. In such an in-vehicle display device, in order to display a desired peripheral field of view on the display unit, it is necessary to accurately adjust the imaging field of view, that is, the optical axis and the rotational position around the optical axis when the in-vehicle camera is attached. is there.

車載カメラの取付状態の調整は、例えば、調整用パターンが配置された場所に車両を移動させ、車載カメラで撮像されたカメラ画像に含まれる撮像パターンと、撮像されるべき基準パターンとのずれに基づいて、光軸のずれ及び光軸周りの回転位置のずれ(以下、「取付誤差」と称する)を検出することにより実施されている(例えば、特許文献1)。撮像されるべき基準パターンとは、撮像視野が適切な状態(取付誤差がない状態)となっている車載カメラによって調整用パターンを撮像したときに、カメラ画像に含まれるパターンであり、調整用パターンの配置面と車載カメラの撮像面が平行である場合には、サイズを除いて調整用パターンと同じになる。   The adjustment of the mounting state of the in-vehicle camera is performed by, for example, moving the vehicle to a place where the adjustment pattern is arranged and shifting the imaging pattern included in the camera image captured by the in-vehicle camera and the reference pattern to be captured. Based on this, it is implemented by detecting a shift of the optical axis and a shift of the rotational position around the optical axis (hereinafter referred to as “attachment error”) (for example, Patent Document 1). The reference pattern to be imaged is a pattern included in the camera image when the adjustment pattern is imaged by the in-vehicle camera in which the imaging field of view is in an appropriate state (there is no attachment error). Is the same as the adjustment pattern except for the size.

特開2005−77107号公報JP 2005-77107 A

しかしながら、特許文献1に開示の技術では、車載カメラの取付誤差を検出するために、調整用パターンが配置された場所に車両を移動させなくてはならないため、手間がかかり、手軽に車載カメラの取付状態を調整することができない。   However, in the technique disclosed in Patent Document 1, since it is necessary to move the vehicle to the place where the adjustment pattern is arranged in order to detect the mounting error of the in-vehicle camera, it takes time and effort. The mounting state cannot be adjusted.

本発明の目的は、車載カメラの取付誤差を容易に検出することができる取付誤差検出装置、取付誤差検出方法及び取付誤差検出プログラムを提供することである。   An object of the present invention is to provide an attachment error detection device, an attachment error detection method, and an attachment error detection program that can easily detect an attachment error of an in-vehicle camera.

本発明に係る取付誤差検出装置は、
車両に取り付けられる車載カメラの取付誤差を、所定の調整用パターンを表示させた携帯端末を利用して検出する取付誤差検出装置であって、
前記車載カメラによって撮像された前記調整用パターンのカメラ画像を取得するカメラ画像取得部と、
前記カメラ画像が撮像されたときの前記携帯端末の端末姿勢を取得する端末姿勢取得部と、
前記調整用パターンに対応する前記カメラ画像内の撮像パターン、前記端末姿勢、前記調整用パターン、及び前記携帯端末の基準姿勢を用いて、前記車載カメラの取付誤差を算出する誤差算出部と、を備えることを特徴とする。
The mounting error detection device according to the present invention is
An attachment error detection device that detects an attachment error of an in-vehicle camera attached to a vehicle using a mobile terminal that displays a predetermined adjustment pattern,
A camera image acquisition unit that acquires a camera image of the adjustment pattern imaged by the in-vehicle camera;
A terminal attitude acquisition unit that acquires a terminal attitude of the mobile terminal when the camera image is captured;
An error calculating unit that calculates an attachment error of the in-vehicle camera using an imaging pattern in the camera image corresponding to the adjustment pattern, the terminal attitude, the adjustment pattern, and a reference attitude of the mobile terminal; It is characterized by providing.

本発明に係る取付誤差検出方法は、
車両に取り付けられる車載カメラの取付誤差を、所定の調整用パターンを表示させた携帯端末を利用して検出する取付誤差検出方法であって、
前記車載カメラによって撮像された前記調整用パターンのカメラ画像を取得する工程と、
前記カメラ画像が撮像されたときの前記携帯端末の端末姿勢を取得する工程と、
前記調整用パターンに対応する前記カメラ画像内の撮像パターン、前記端末姿勢、前記調整用パターン、及び前記携帯端末の基準姿勢を用いて、前記車載カメラの取付誤差を算出する工程と、を含むことを特徴とする。
The mounting error detection method according to the present invention is:
An attachment error detection method for detecting an attachment error of an in-vehicle camera attached to a vehicle using a mobile terminal displaying a predetermined adjustment pattern,
Obtaining a camera image of the adjustment pattern imaged by the in-vehicle camera;
Obtaining a terminal posture of the mobile terminal when the camera image is captured;
Calculating an attachment error of the in-vehicle camera using an imaging pattern in the camera image corresponding to the adjustment pattern, the terminal attitude, the adjustment pattern, and a reference attitude of the mobile terminal. It is characterized by.

本発明に係る取付誤差検出プログラムは、
車両に取り付けられる車載カメラの取付誤差を、所定の調整用パターンを表示させた携帯端末を利用して検出する取付誤差検出プログラムであって、
コンピューターに、
前記車載カメラによって撮像された前記調整用パターンのカメラ画像を取得する処理と、
前記カメラ画像が撮像されたときの前記携帯端末の端末姿勢を取得する処理と、
前記調整用パターンに対応する前記カメラ画像内の撮像パターン、前記端末姿勢、前記調整用パターン、及び前記携帯端末の基準姿勢を用いて、前記車載カメラの取付誤差を算出する処理と、を実行させる。
The installation error detection program according to the present invention is:
An installation error detection program for detecting an installation error of an in-vehicle camera attached to a vehicle using a portable terminal displaying a predetermined adjustment pattern,
On the computer,
Processing for obtaining a camera image of the adjustment pattern imaged by the in-vehicle camera;
Processing for obtaining a terminal posture of the mobile terminal when the camera image is captured;
A process of calculating an attachment error of the in-vehicle camera using an imaging pattern in the camera image corresponding to the adjustment pattern, the terminal attitude, the adjustment pattern, and a reference attitude of the mobile terminal. .

本発明によれば、車載カメラの取付誤差を容易に検出することができる。   According to the present invention, it is possible to easily detect an installation error of an in-vehicle camera.

本発明を適用した車載表示装置の構成例を示す図である。It is a figure which shows the structural example of the vehicle-mounted display apparatus to which this invention is applied. 調整用パターンの一例を示す図である。It is a figure which shows an example of the pattern for adjustment. 取付誤差検出処理の一例を示すフローチャートである。It is a flowchart which shows an example of an attachment error detection process. 撮像パターンの一例を示す図である。It is a figure which shows an example of an imaging pattern. 撮像パターンの他の一例を示す図である。It is a figure which shows another example of an imaging pattern. 本発明を適用した携帯端末の構成例を示す図である。It is a figure which shows the structural example of the portable terminal to which this invention is applied.

以下、本発明の実施の形態を、図面を参照して詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

図1は、本発明の取付誤差検出装置を適用した車載表示装置1の構成例を示す図である。車載表示装置1は、車両の後方視界の確認のために用いられる。   FIG. 1 is a diagram showing a configuration example of an in-vehicle display device 1 to which an attachment error detection device of the present invention is applied. The in-vehicle display device 1 is used for confirming the rear view of the vehicle.

図1に示すように、車載表示装置1は、処理部11、記憶部12、表示部13、操作部14、端末用通信部15、車両用通信部16及びリアカメラ20等を備える。   As shown in FIG. 1, the in-vehicle display device 1 includes a processing unit 11, a storage unit 12, a display unit 13, an operation unit 14, a terminal communication unit 15, a vehicle communication unit 16, a rear camera 20, and the like.

リアカメラ20は、例えばCCD(charge-coupled device)型イメージセンサー、CMOS(complementary metal oxide semiconductor)型イメージセンサーなどの撮像素子を有する。撮像素子によって光電変換された後方視界の画像を示す電気信号は、無線通信又は有線通信によって処理部11に送信される。なお、リアカメラ20には、車両に既設の装備を利用することができる。   The rear camera 20 includes an image sensor such as a charge-coupled device (CCD) image sensor or a complementary metal oxide semiconductor (CMOS) image sensor. An electrical signal indicating a rear view image photoelectrically converted by the image sensor is transmitted to the processing unit 11 by wireless communication or wired communication. The rear camera 20 can use existing equipment in the vehicle.

リアカメラ20は、車両に設置した状態において本体部が可動となっており、取付状態、すなわちリアカメラ20の光軸及び光軸周りの回転位置を調整することができる。リアカメラ20は、車両への取付時に規定の取付状態(以下、「基準状態」と称する)となるように固定される。基準状態は、表示部13に所望の後方視界が表示されるように、リアカメラ20の取付位置に応じて予め規定されている状態であり、リアカメラ20の光軸の方向及び光軸周りの回転位置を含む。   The rear camera 20 has a main body that is movable in a state where it is installed in a vehicle, and can adjust the mounting state, that is, the optical axis of the rear camera 20 and the rotational position around the optical axis. The rear camera 20 is fixed so as to be in a predetermined attachment state (hereinafter referred to as “reference state”) when attached to the vehicle. The reference state is a state defined in advance according to the mounting position of the rear camera 20 so that a desired rear field of view is displayed on the display unit 13, and the direction of the optical axis of the rear camera 20 and the direction around the optical axis. Includes rotational position.

表示部13は、例えば、液晶ディスプレイや有機ELディスプレイなどのディスプレイである。表示部13は、例えば、車両のインストルメントパネルに配置される。表示部13には、リアカメラ20で撮像されたカメラ画像が表示される。   The display unit 13 is a display such as a liquid crystal display or an organic EL display, for example. The display part 13 is arrange | positioned at the instrument panel of a vehicle, for example. A camera image captured by the rear camera 20 is displayed on the display unit 13.

操作部14は、例えば、文字や数字を入力可能な入力デバイスである。表示部13及び操作部14は、タッチパネル付きのフラットパネルディスプレイで構成されてもよい。   The operation unit 14 is an input device that can input characters and numbers, for example. The display unit 13 and the operation unit 14 may be configured by a flat panel display with a touch panel.

処理部11は、演算/制御装置としてのCPU(Central Processing Unit)、主記憶装置としてのROM(Read Only Memory)及びRAM(Random Access Memory)等を備える(いずれも図示略)。ROMには、アプリケーションプログラムや基本的な設定データが記憶される。CPUは、例えばROMから処理内容に応じたプログラムを読み出してRAMに展開し、展開したプログラムを実行することにより、車載表示装置1の各ブロックの動作を集中制御する。   The processing unit 11 includes a CPU (Central Processing Unit) as an arithmetic / control device, a ROM (Read Only Memory) and a RAM (Random Access Memory) as a main storage device (all not shown). The ROM stores application programs and basic setting data. The CPU centrally controls the operation of each block of the in-vehicle display device 1 by reading out a program corresponding to the processing content from the ROM, developing it in the RAM, and executing the expanded program, for example.

処理部11は、取付誤差検出プログラムを実行することにより、カメラ画像取得部111、端末姿勢取得部112、及び誤差算出部113として機能する。これらの機能については、図3のフローチャートに従って詳述する。取付誤差検出プログラムは、例えば処理部11のROMに記憶される。取付誤差検出プログラムは、例えば、当該プログラムが格納されたコンピューター読取可能な可搬型記憶媒体(光ディスク、光磁気ディスク、及びメモリカードを含む)を介して提供される。また例えば、取付誤差検出プログラムは、当該プログラムを保有するサーバーから、ネットワークを介してダウンロードにより提供されてもよい。   The processing unit 11 functions as a camera image acquisition unit 111, a terminal posture acquisition unit 112, and an error calculation unit 113 by executing an attachment error detection program. These functions will be described in detail according to the flowchart of FIG. The attachment error detection program is stored in the ROM of the processing unit 11, for example. The attachment error detection program is provided, for example, via a computer-readable portable storage medium (including an optical disc, a magneto-optical disc, and a memory card) in which the program is stored. Further, for example, the attachment error detection program may be provided by downloading from a server having the program via a network.

また、処理部11は、画像処理部114及び表示制御部115として機能する。画像処理部114は、リアカメラ20からのカメラ画像に対して、色調補正等の各種補正処理を行う。表示制御部115は、画像処理後のカメラ画像に基づいて表示部13の駆動制御を行い、表示部13にカメラ画像を表示させる。   Further, the processing unit 11 functions as an image processing unit 114 and a display control unit 115. The image processing unit 114 performs various correction processes such as color tone correction on the camera image from the rear camera 20. The display control unit 115 performs drive control of the display unit 13 based on the camera image after image processing, and causes the display unit 13 to display the camera image.

記憶部12は、例えば、HDD(Hard Disk Drive)、又はSSD(Solid State Drive)等の補助記憶装置である。記憶部12は、EEPROM(Electrically Erasable Programmable Read Only Memory)等の半導体記憶装置であってもよく、CD(Compact Disc)、DVD(Digital Versatile Disc)等の光ディスク、MO(Magneto-Optical disk)等の光磁気ディスクを駆動して情報を読み書きするディスクドライブであってもよい。また例えば、記憶部12は、USBメモリ、SDカード等のメモリカードであってもよい。   The storage unit 12 is an auxiliary storage device such as an HDD (Hard Disk Drive) or an SSD (Solid State Drive). The storage unit 12 may be a semiconductor storage device such as an EEPROM (Electrically Erasable Programmable Read Only Memory), an optical disk such as a CD (Compact Disc) or a DVD (Digital Versatile Disc), or an MO (Magneto-Optical disk). It may be a disk drive that drives a magneto-optical disk to read and write information. Further, for example, the storage unit 12 may be a memory card such as a USB memory or an SD card.

記憶部12は、リアカメラ20の取付誤差を検出する際の比較対象となる基準データ121を記憶する。基準データ121は、例えば、取付誤差検出用の基準パターンのデータ及び携帯端末3の基準姿勢のデータを含む。基準データ121は、複数あることが好ましい。複数の基準データ121を用いてリアカメラ20の取付誤差を検出することにより、取付誤差の検出精度が高くなる。   The storage unit 12 stores reference data 121 to be compared when detecting an attachment error of the rear camera 20. The reference data 121 includes, for example, reference pattern data for mounting error detection and reference posture data of the mobile terminal 3. There are preferably a plurality of reference data 121. By detecting the mounting error of the rear camera 20 using the plurality of reference data 121, the mounting error detection accuracy is increased.

基準パターンとは、基準姿勢となっている携帯端末2に表示された調整用パターンを、基準状態となっているリアカメラ20で撮像した場合に撮像される撮像パターンである。携帯端末3の基準姿勢は特に限定されないが、例えば、基準状態となっているリアカメラ20に対して正対している姿勢、すなわち、携帯端末3の表示面がリアカメラ20の撮像面に平行(光軸に直交)であり、回転していない姿勢であることが好ましい。この場合、基準パターンは、調整用パターンと同じになる。   The reference pattern is an image pickup pattern that is picked up when the adjustment pattern displayed on the mobile terminal 2 in the reference posture is picked up by the rear camera 20 in the reference state. Although the reference posture of the mobile terminal 3 is not particularly limited, for example, the posture facing the rear camera 20 in the reference state, that is, the display surface of the mobile terminal 3 is parallel to the imaging surface of the rear camera 20 ( It is preferable that the posture is orthogonal to the optical axis and not rotated. In this case, the reference pattern is the same as the adjustment pattern.

なお、基準パターンのデータは、調整用パターン、携帯端末3の基準姿勢、及びリアカメラ20の基準状態に基づいて、演算によって求めるようにしてもよい。この場合、調整用パターンのデータは記憶部12に予め記憶されていなくてもよく、取付誤差の検出時に携帯端末3から提供されるようにしてもよい。   The reference pattern data may be obtained by calculation based on the adjustment pattern, the reference posture of the mobile terminal 3, and the reference state of the rear camera 20. In this case, the adjustment pattern data may not be stored in the storage unit 12 in advance, and may be provided from the portable terminal 3 when an attachment error is detected.

端末用通信部15は、例えば、NIC(Network Interface Card)、MODEM(MOdulator-DEModulator)、Bluetooth(登録商標)、またはWiFi等の通信インターフェースである。処理部11は、端末用通信部15を介して、無線ネットワークに接続された携帯端末3との間で各種情報(例えば、携帯端末3の端末姿勢情報)の送受信を行う。   The terminal communication unit 15 is a communication interface such as a NIC (Network Interface Card), MODEM (MOD-DE Modulator), Bluetooth (registered trademark), or WiFi. The processing unit 11 transmits and receives various types of information (for example, terminal attitude information of the mobile terminal 3) to and from the mobile terminal 3 connected to the wireless network via the terminal communication unit 15.

車両用通信部16は、例えば、CAN(Controller Area Network)等の車載ネットワークに接続するための通信インターフェースである。処理部11は、車載ネットワークに接続された車両ECUとの間で情報の送受信を行い、車両に装備されたジャイロセンサー等の姿勢センサーから車両の姿勢情報を取得する。なお、車載表示装置1が、車両の姿勢を検出する姿勢センサーを備えていてもよい。   The vehicle communication unit 16 is a communication interface for connecting to an in-vehicle network such as a CAN (Controller Area Network). The processing unit 11 transmits and receives information to and from the vehicle ECU connected to the in-vehicle network, and acquires vehicle posture information from a posture sensor such as a gyro sensor equipped on the vehicle. The in-vehicle display device 1 may include an attitude sensor that detects the attitude of the vehicle.

車載表示装置1では、携帯端末3を利用してリアカメラ20の取付誤差が検出される。携帯端末3は、例えば、スマートフォンやタブレットPCである。   In the in-vehicle display device 1, the mounting error of the rear camera 20 is detected using the mobile terminal 3. The mobile terminal 3 is, for example, a smartphone or a tablet PC.

携帯端末3は、処理部31、記憶部32、表示部33、操作部34、通信部35及び姿勢センサー36等を備える。処理部31、記憶部32、表示部33、操作部34及び通信部35の具体的なハードウェア構成は、車載表示装置1と同様であるので、説明を省略する。   The portable terminal 3 includes a processing unit 31, a storage unit 32, a display unit 33, an operation unit 34, a communication unit 35, a posture sensor 36, and the like. Since the specific hardware configurations of the processing unit 31, the storage unit 32, the display unit 33, the operation unit 34, and the communication unit 35 are the same as those of the in-vehicle display device 1, description thereof will be omitted.

姿勢センサー36は、例えば、ジャイロセンサー及び加速度センサーで構成される。姿勢センサー36は、携帯端末3の三次元空間における姿勢を検出し、検出結果を処理部31に出力する。   The attitude sensor 36 is composed of, for example, a gyro sensor and an acceleration sensor. The posture sensor 36 detects the posture of the mobile terminal 3 in the three-dimensional space and outputs the detection result to the processing unit 31.

処理部31は、CPU、ROM及びRAM等を備える(いずれも図示略)。ROMは、リアカメラ20の取付誤差を検出する際に実行されるアプリケーションプログラム315(以下、「取付誤差検出用アプリケーション315」と称する)を記憶する。   The processing unit 31 includes a CPU, a ROM, a RAM, and the like (all not shown). The ROM stores an application program 315 (hereinafter referred to as “attachment error detection application 315”) that is executed when an attachment error of the rear camera 20 is detected.

記憶部32は、リアカメラ20の取付誤差を検出する際に表示部33に表示される調整用パターンのデータ321(以下、「調整用パターンデータ321」と称する)を記憶する。   The storage unit 32 stores adjustment pattern data 321 (hereinafter referred to as “adjustment pattern data 321”) displayed on the display unit 33 when an attachment error of the rear camera 20 is detected.

調整用パターンPの一例を図2に示す。調整用パターンPは、携帯端末3の表示部33に表示される。図2に示す調整用パターンPは、矩形枠P1、矩形枠P1の中心点を通る2つの軸P2、P3、及び軸P2、P3の両端部に配置された「×」の図形P4を含む。なお、調整用パターンPは、図2に示すパターンに限定されず、リアカメラ20の光軸及び回転位置のずれを検出できるパターンであればよい。   An example of the adjustment pattern P is shown in FIG. The adjustment pattern P is displayed on the display unit 33 of the mobile terminal 3. The adjustment pattern P shown in FIG. 2 includes a rectangular frame P1, two axes P2 and P3 passing through the center point of the rectangular frame P1, and an “X” graphic P4 arranged at both ends of the axes P2 and P3. The adjustment pattern P is not limited to the pattern shown in FIG. 2, and may be any pattern that can detect the deviation of the optical axis and the rotational position of the rear camera 20.

図3は、車載表示装置1の処理部11が実行する取付誤差検出処理の一例を示すフローチャートである。この処理は、例えば、以下のようにして実現される。   FIG. 3 is a flowchart illustrating an example of an attachment error detection process executed by the processing unit 11 of the in-vehicle display device 1. This process is realized as follows, for example.

すなわち、利用者は、リアカメラ20の取付誤差を検出する場合に、まず、携帯端末3において、取付誤差検出用アプリケーション315を起動する。携帯端末3上で取付誤差検出用アプリケーション315が起動されると、携帯端末3から車載表示装置1に取付誤差検出処理の実行を指示する制御信号が送信される。処理部11のCPUは、制御信号を受信することに伴い、ROMに格納されている取付誤差検出プログラムを呼び出して実行する。これにより、図3のフローチャートに示す取付誤差検出処理が実現される。   That is, when detecting a mounting error of the rear camera 20, the user first activates the mounting error detection application 315 in the mobile terminal 3. When the attachment error detection application 315 is activated on the portable terminal 3, a control signal instructing execution of the attachment error detection process is transmitted from the portable terminal 3 to the in-vehicle display device 1. The CPU of the processing unit 11 calls and executes an attachment error detection program stored in the ROM as it receives the control signal. Thereby, the attachment error detection process shown in the flowchart of FIG. 3 is realized.

利用者は、リアカメラ20の近傍、すなわち車外に居ながらにして、車載表示装置1に取付誤差検出処理を実行させることができるので、利便性に優れる。   Since the user can cause the in-vehicle display device 1 to execute the attachment error detection process in the vicinity of the rear camera 20, that is, outside the vehicle, it is excellent in convenience.

取付誤差検出用アプリケーション315が起動されると、携帯端末3の表示部33には、調整用パターンPが表示される(図2参照)。利用者は、リアカメラ20によって調整用パターンPが撮像されるように、携帯端末3の位置及び姿勢を調整する。   When the attachment error detection application 315 is activated, the adjustment pattern P is displayed on the display unit 33 of the portable terminal 3 (see FIG. 2). The user adjusts the position and orientation of the mobile terminal 3 so that the adjustment pattern P is captured by the rear camera 20.

リアカメラ20は、調整用パターンPを撮像し、撮像したカメラ画像を1フレーム単位で処理部11に出力する。このとき、カメラ画像には、当該カメラ画像の撮像時間を識別可能な時間情報が関連付けられる。一方、携帯端末3は、車載表示装置1に対して、携帯端末3の端末姿勢を示す情報(以下、「端末姿勢情報」と称する)を送信する。端末姿勢情報には、端末姿勢の検出時間を識別可能な時間情報が関連付けられる。   The rear camera 20 captures the adjustment pattern P and outputs the captured camera image to the processing unit 11 in units of one frame. At this time, time information that can identify the imaging time of the camera image is associated with the camera image. On the other hand, the mobile terminal 3 transmits information indicating the terminal posture of the mobile terminal 3 (hereinafter referred to as “terminal posture information”) to the in-vehicle display device 1. The terminal attitude information is associated with time information capable of identifying the terminal attitude detection time.

ここでは、基準状態となっているリアカメラ20に対して携帯端末3が正対している姿勢を基準姿勢とした場合について説明する。この場合、撮像パターンIP1(図4、図5参照)の比較対象となる基準パターンRP(図4、図5参照)は、調整用パターンP(図2参照)と同じになる。   Here, a case will be described in which the posture in which the mobile terminal 3 is directly facing the rear camera 20 in the reference state is set as the reference posture. In this case, the reference pattern RP (see FIGS. 4 and 5) to be compared with the imaging pattern IP1 (see FIGS. 4 and 5) is the same as the adjustment pattern P (see FIG. 2).

図3のステップS101において、処理部11は、リアカメラ20からのカメラ画像を取得する(カメラ画像取得部111としての処理)。   In step S101 of FIG. 3, the processing unit 11 acquires a camera image from the rear camera 20 (processing as the camera image acquisition unit 111).

ステップS102において、処理部11は、携帯端末3からの端末姿勢情報を取得する(端末姿勢取得部112としての処理)。取付誤差の検出に使用するカメラ画像が撮像されたときの端末姿勢情報を使用するため、ステップS102では、時系列で連続する複数の端末姿勢情報が取得され、例えば、処理部11のRAMに記憶される。   In step S <b> 102, the processing unit 11 acquires terminal posture information from the mobile terminal 3 (processing as the terminal posture acquisition unit 112). In order to use the terminal posture information when the camera image used to detect the attachment error is captured, in step S102, a plurality of terminal posture information that is continuous in time series is acquired and stored in the RAM of the processing unit 11, for example. Is done.

ステップS103において、処理部11は、カメラ画像から撮像パターンIP1(図4、図5参照)を抽出する(誤差算出部113としての処理)。撮像パターンIP1の一例を図4A、図5Aに示す。図4Aに示す撮像パターンIP1は、携帯端末3がリアカメラ20の光軸に対して後方に倒れている、すなわち携帯端末3の表示面がリアカメラ20の撮像面と平行になっていない場合の撮像パターンである。図5Aに示す撮像パターンIP1は、携帯端末3がリアカメラ20の光軸周りに回転している場合の撮像パターンである。なお、撮像パターンIP1だけからは、携帯端末3の端末姿勢が基準姿勢からずれているのか、リアカメラ20の取付状態が基準状態からずれているのかは判別できない。   In step S103, the processing unit 11 extracts the imaging pattern IP1 (see FIGS. 4 and 5) from the camera image (processing as the error calculation unit 113). An example of the imaging pattern IP1 is shown in FIGS. 4A and 5A. 4A, the mobile terminal 3 is tilted backward with respect to the optical axis of the rear camera 20, that is, the display surface of the mobile terminal 3 is not parallel to the imaging surface of the rear camera 20. It is an imaging pattern. An imaging pattern IP1 illustrated in FIG. 5A is an imaging pattern when the mobile terminal 3 rotates around the optical axis of the rear camera 20. Note that it is impossible to determine whether the terminal posture of the mobile terminal 3 is deviated from the reference posture or whether the mounting state of the rear camera 20 is deviated from the reference state only from the imaging pattern IP1.

ステップS104において、処理部11は、撮像パターンIP1を抽出したカメラ画像に関連付けられている時間情報と同じ時間情報が関連付けられている端末姿勢情報を用いて、携帯端末3の端末姿勢による撮像パターンIP1のずれを補正する(誤差算出部113としての処理)。補正後の撮像パターンIP2は、携帯端末3が基準姿勢となっている場合に得られる撮像パターンとみなすことができる。   In step S <b> 104, the processing unit 11 uses the terminal attitude information associated with the same time information as the time information associated with the camera image from which the imaging pattern IP <b> 1 is extracted, and the imaging pattern IP <b> 1 based on the terminal attitude of the mobile terminal 3. Is corrected (processing as the error calculation unit 113). The corrected imaging pattern IP2 can be regarded as an imaging pattern obtained when the mobile terminal 3 is in the reference posture.

撮像パターンIP1を抽出したカメラ画像に関連付けられている時間情報と同じ時間情報が関連付けられている端末姿勢情報を用いることにより、手振れ等により携帯端末3の姿勢が不安定であり、伝送遅延の影響を受ける場合であっても、携帯端末3の姿勢による撮像パターンIP1のずれを正確に補正することができる。   By using terminal posture information associated with the same time information as the time information associated with the camera image from which the imaging pattern IP1 has been extracted, the posture of the mobile terminal 3 is unstable due to camera shake or the like, and the influence of transmission delay Even when receiving, the shift of the imaging pattern IP1 due to the attitude of the mobile terminal 3 can be accurately corrected.

ここで、車両が水平な場所にある場合は、端末姿勢情報を用いて撮像パターンIP1のずれを正確に補正することができるが、車両が水平な場所にない場合は、車両用通信部16を介して取得される車両の姿勢情報を用いて携帯端末3の基準姿勢を補正した上で、端末姿勢情報を用いて撮像パターンIP1のずれを補正するのが好ましい。これにより、車両が水平な場所にない場合であっても、撮像パターンIP1のずれを正確に補正することができる。   Here, when the vehicle is in a horizontal place, the shift of the imaging pattern IP1 can be accurately corrected using the terminal attitude information. However, when the vehicle is not in a horizontal place, the vehicle communication unit 16 is set. It is preferable to correct the deviation of the imaging pattern IP1 using the terminal posture information after correcting the reference posture of the mobile terminal 3 using the vehicle posture information acquired via the terminal. Thereby, even if the vehicle is not in a horizontal place, the shift of the imaging pattern IP1 can be accurately corrected.

補正後の撮像パターンIP2の一例を図4B、図5Bに示す。図4Bに示す撮像パターンIP2は、図4Aに示す撮像パターンIP1の補正後の撮像パターンである。図5Bに示す撮像パターンIP2は、図5Aに示す撮像パターンIP1の補正後の撮像パターンである。携帯端末3の端末姿勢が基準姿勢からずれている場合、補正後の撮像パターンIP2(図4B、図5B参照)は、補正前の撮像パターンIP1(図4A、図5A参照)よりも基準パターンRPに近くなる。   An example of the corrected imaging pattern IP2 is shown in FIGS. 4B and 5B. An imaging pattern IP2 shown in FIG. 4B is an imaging pattern after correction of the imaging pattern IP1 shown in FIG. 4A. An imaging pattern IP2 shown in FIG. 5B is an imaging pattern after correction of the imaging pattern IP1 shown in FIG. 5A. When the terminal posture of the mobile terminal 3 is deviated from the reference posture, the corrected imaging pattern IP2 (see FIGS. 4B and 5B) is the reference pattern RP more than the uncorrected imaging pattern IP1 (see FIGS. 4A and 5A). Close to.

ステップS105において、処理部11は、補正後の撮像パターンIP2と基準パターンRPを比較し、ずれ量を算出する(誤差算出部113としての処理)。補正後の撮像パターンIP2と基準パターンRPとのずれ量は、例えば処理部11のRAMに記憶される。   In step S <b> 105, the processing unit 11 compares the corrected imaging pattern IP <b> 2 with the reference pattern RP, and calculates a deviation amount (processing as the error calculation unit 113). A deviation amount between the corrected imaging pattern IP2 and the reference pattern RP is stored in the RAM of the processing unit 11, for example.

補正後の撮像パターンIP2と基準パターンRPとの比較結果を図4C、図5Cに示す。図4Cは、図4Bに示す補正後の撮像パターンIP2のずれ量を示す。図5Cは、図5Bに示す補正後の撮像パターンIP2のずれ量を示す。図4Cに示す例では、リアカメラ20の光軸がずれ量ΔZでずれていることが検出される。図5Cに示す例では、リアカメラ20の回転位置がずれ量Δθでずれていることが検出される。   The comparison results between the corrected imaging pattern IP2 and the reference pattern RP are shown in FIGS. 4C and 5C. FIG. 4C shows the shift amount of the image pickup pattern IP2 after correction shown in FIG. 4B. FIG. 5C shows the shift amount of the image pickup pattern IP2 after correction shown in FIG. 5B. In the example shown in FIG. 4C, it is detected that the optical axis of the rear camera 20 is shifted by a shift amount ΔZ. In the example shown in FIG. 5C, it is detected that the rotational position of the rear camera 20 is shifted by a shift amount Δθ.

ステップS106において、処理部11は、すべての基準データ(調整用パターン)について、取付誤差の算出が行われたか否かを判定する。すべての基準データについて取付誤差の算出が行われた場合(ステップS106で“YES”)、ステップS107の処理に移行する。すべての基準データについて取付誤差の算出が行われていない場合(ステップS106で“NO”)、ステップS101の処理に移行し、次の基準データを用いて取付誤差の算出が行われる。   In step S106, the processing unit 11 determines whether or not the attachment error has been calculated for all the reference data (adjustment patterns). When the attachment error is calculated for all the reference data (“YES” in step S106), the process proceeds to step S107. When the calculation of the attachment error is not performed for all the reference data (“NO” in step S106), the process proceeds to step S101, and the attachment error is calculated using the next reference data.

ステップS107において、処理部11は、ずれ量の平均値を、リアカメラ20の取付誤差の検出結果として保存する。検出された取付誤差は、例えば記憶部12のEEPROMに記憶される。検出された取付誤差は、例えば、リアカメラ20の取付状態を調整する場合に用いられる。また例えば、検出された取付誤差は、カメラ画像から表示画像(表示部13に表示される画像)を切り出すときの切り出し領域の補正に用いることもできる。リアカメラ20の回転位置がずれている場合は、取付誤差の分だけ切り出し位置を回転させることで、期待する撮像視野のカメラ画像を表示することができる。また、リアカメラ20の光軸がずれている場合は、取付誤差の分だけ切り出し位置を上下左右に移動させることで、期待する撮像視野のカメラ映像を表示することができる。   In step S <b> 107, the processing unit 11 stores the average deviation amount as a detection error detection result of the rear camera 20. The detected mounting error is stored, for example, in the EEPROM of the storage unit 12. The detected mounting error is used, for example, when adjusting the mounting state of the rear camera 20. Further, for example, the detected attachment error can also be used for correcting a cutout region when a display image (image displayed on the display unit 13) is cut out from the camera image. When the rotational position of the rear camera 20 is shifted, the camera image of the expected imaging field of view can be displayed by rotating the cutout position by the amount of the attachment error. Further, when the optical axis of the rear camera 20 is deviated, the camera image of the expected imaging field of view can be displayed by moving the cutout position up, down, left, and right by the amount of the mounting error.

このように、車載表示装置1(取付誤差検出装置)は、車両に取り付けられるリアカメラ20(車載カメラ)の取付誤差を、所定の調整用パターンPを表示させた携帯端末3を利用して検出する。車載表示装置1は、リアカメラ20によって撮像された調整用パターンPのカメラ画像を取得するカメラ画像取得部111と、カメラ画像が撮像されたときの携帯端末3の端末姿勢を取得する端末姿勢取得部112と、調整用パターンPに対応するカメラ画像内の撮像パターンIP1、端末姿勢、調整用パターンP、及び携帯端末3の基準姿勢を用いて、リアカメラ20の取付誤差を算出する誤差算出部113と、を備える。   As described above, the in-vehicle display device 1 (attachment error detection device) detects the attachment error of the rear camera 20 (in-vehicle camera) attached to the vehicle by using the mobile terminal 3 displaying the predetermined adjustment pattern P. To do. The in-vehicle display device 1 includes a camera image acquisition unit 111 that acquires a camera image of the adjustment pattern P captured by the rear camera 20, and a terminal posture acquisition that acquires a terminal posture of the mobile terminal 3 when the camera image is captured. An error calculation unit that calculates an attachment error of the rear camera 20 using the unit 112 and the imaging pattern IP1 in the camera image corresponding to the adjustment pattern P, the terminal posture, the adjustment pattern P, and the reference posture of the mobile terminal 3 113.

具体的には、誤差算出部113は、携帯端末3の端末姿勢及び基準姿勢に基づいて、撮像パターンIP1を補正し、補正後の撮像パターンIP2と基準パターンRP(調整用パターン)を比較して、リアカメラ20の取付誤差を算出する。   Specifically, the error calculation unit 113 corrects the imaging pattern IP1 based on the terminal attitude and the reference attitude of the mobile terminal 3, and compares the corrected imaging pattern IP2 with the reference pattern RP (adjustment pattern). Then, the mounting error of the rear camera 20 is calculated.

本実施の形態に係る取付誤差検出方法は、車両に取り付けられるリアカメラ20(車載カメラ)の取付誤差を、所定の調整用パターンPを表示させた携帯端末3を利用して検出する方法であって、リアカメラ20によって撮像された調整用パターンPのカメラ画像を取得する工程(図3のステップS101)と、カメラ画像が撮像されたときの携帯端末3の端末姿勢を取得する工程(ステップS102)と、調整用パターンPに対応するカメラ画像内の撮像パターンIP1、端末姿勢、調整用パターンP、及び携帯端末3の基準姿勢を用いて、リアカメラ20の取付誤差を算出する工程(ステップS103〜S105)と、を含む。   The attachment error detection method according to the present embodiment is a method of detecting the attachment error of the rear camera 20 (vehicle camera) attached to the vehicle using the portable terminal 3 on which a predetermined adjustment pattern P is displayed. Then, a step of acquiring the camera image of the adjustment pattern P imaged by the rear camera 20 (step S101 in FIG. 3) and a step of acquiring the terminal posture of the mobile terminal 3 when the camera image is captured (step S102). ) And the imaging pattern IP1 in the camera image corresponding to the adjustment pattern P, the terminal posture, the adjustment pattern P, and the reference posture of the mobile terminal 3 are used to calculate the attachment error of the rear camera 20 (step S103). To S105).

本実施の形態に係る取付誤差検出プログラムは、車両に取り付けられるリアカメラ20の取付誤差を、所定の調整用パターンPを表示させた携帯端末3を利用して検出する取付誤差検出プログラムであって、車載表示装置1の処理部11(コンピューター)に、リアカメラ20(車載カメラ)によって撮像された調整用パターンPのカメラ画像を取得する処理(図3のステップS101)と、カメラ画像が撮像されたときの携帯端末3の端末姿勢を取得する処理(ステップS102)と、調整用パターンPに対応するカメラ画像内の撮像パターンIP1、端末姿勢、調整用パターンP、及び携帯端末3の基準姿勢を用いて、車載カメラの取付誤差を算出する処理(ステップS103〜S105)と、を実行させる。   The attachment error detection program according to the present embodiment is an attachment error detection program for detecting the attachment error of the rear camera 20 attached to the vehicle using the mobile terminal 3 displaying the predetermined adjustment pattern P. The processing unit 11 (computer) of the in-vehicle display device 1 acquires the camera image of the adjustment pattern P captured by the rear camera 20 (in-vehicle camera) (step S101 in FIG. 3), and the camera image is captured. Processing for acquiring the terminal posture of the portable terminal 3 (step S102), the imaging pattern IP1, the terminal posture, the adjustment pattern P in the camera image corresponding to the adjustment pattern P, and the reference posture of the portable terminal 3 And processing for calculating the mounting error of the in-vehicle camera (steps S103 to S105).

車載表示装置1(取付誤差検出装置)によれば、携帯端末3を利用することにより、リアカメラ20の取付誤差を容易に検出することができる。したがって、特定の場所に車両を移動させることなく、車両検査などの合間にリアカメラ20の取付補正を行うことができるので、車両の製造コストを削減することができる。   According to the in-vehicle display device 1 (attachment error detection device), the attachment error of the rear camera 20 can be easily detected by using the mobile terminal 3. Therefore, it is possible to correct the mounting of the rear camera 20 between vehicle inspections and the like without moving the vehicle to a specific place, so that the manufacturing cost of the vehicle can be reduced.

以上、本発明者によってなされた発明を実施の形態に基づいて具体的に説明したが、本発明は上記実施の形態に限定されるものではなく、その要旨を逸脱しない範囲で変更可能である。   As mentioned above, the invention made by the present inventor has been specifically described based on the embodiment. However, the present invention is not limited to the above embodiment, and can be changed without departing from the gist thereof.

例えば、実施の形態では、本発明の取付誤差検出装置としての機能を車載表示装置1に実装した場合について説明したが、図6に示すように、携帯端末3Aに実装することもできる。すなわち、携帯端末3Aの処理部31が、カメラ画像取得部311、端末姿勢取得部312、誤差算出部313として機能するようにしてもよい。この場合、リアカメラ20によって撮像されたカメラ画像のデータ及び基準データ121が、車載表示装置1Aから携帯端末3Aに送信されることになる。携帯端末3Aによりリアカメラ20の取付誤差の演算を行うことにより、車載表示装置1Aには安価な処理部11を採用することができる。   For example, in the embodiment, the case where the function as the attachment error detection device of the present invention is mounted on the in-vehicle display device 1 has been described, but it can also be mounted on the mobile terminal 3A as shown in FIG. That is, the processing unit 31 of the mobile terminal 3 </ b> A may function as the camera image acquisition unit 311, the terminal posture acquisition unit 312, and the error calculation unit 313. In this case, the data of the camera image captured by the rear camera 20 and the reference data 121 are transmitted from the in-vehicle display device 1A to the mobile terminal 3A. By calculating the mounting error of the rear camera 20 by the portable terminal 3A, the inexpensive processing unit 11 can be employed in the in-vehicle display device 1A.

また例えば、リアカメラ20の取付誤差を検出する際に、リアカメラ20の撮像視野内に所定の状態で調整用パターンが入るように、携帯端末3の位置及び姿勢を調整するよう、音声又は表示によって誘導してもよい。具体的には、車載表示装置1に端末誘導部が設けられる。端末誘導部は、リアカメラ20からのカメラ画像を解析して誘導情報を生成し、端末装置3に送信する。端末装置3から誘導情報が出力されることにより、利用者は、携帯端末3の位置及び姿勢を、リアカメラ20の取付誤差を検出するのに適した状態に調整することができる。   In addition, for example, when detecting an attachment error of the rear camera 20, a voice or display is performed so as to adjust the position and orientation of the mobile terminal 3 so that the adjustment pattern enters the imaging field of view of the rear camera 20 in a predetermined state. You may be guided by. Specifically, the in-vehicle display device 1 is provided with a terminal guiding unit. The terminal guidance unit analyzes the camera image from the rear camera 20 to generate guidance information, and transmits the guidance information to the terminal device 3. By outputting the guidance information from the terminal device 3, the user can adjust the position and orientation of the mobile terminal 3 to a state suitable for detecting an attachment error of the rear camera 20.

なお、この調整は、携帯端末3に表示された調整用パターンPをリアカメラ20で撮像できるようにすることを目的としており、携帯端末3の姿勢を基準姿勢に一致させることを目的としているわけではない。   This adjustment is intended to enable the rear camera 20 to capture the adjustment pattern P displayed on the mobile terminal 3, and is intended to match the attitude of the mobile terminal 3 with the reference attitude. is not.

また、本発明に係る取付誤差検出装置は、リアカメラの取付誤差の検出だけでなく、サイドカメラ、フロントカメラを含む車載カメラの取付誤差の検出に適用することができる。   Further, the mounting error detection device according to the present invention can be applied not only to detection of rear camera mounting errors but also to detection of mounting errors of in-vehicle cameras including side cameras and front cameras.

実施の形態では、処理部11(コンピュータ)が、カメラ画像取得部111、端末姿勢取得部112、誤差算出部113として機能することにより、本発明を実現しているが、これらの機能の一部又は全部は、DSP(Digital Signal Processor)、ASIC(Application Specific Integrated Circuit)、PLD(Programmable Logic Device)等の電子回路によって構成することもできる。   In the embodiment, the processing unit 11 (computer) functions as the camera image acquisition unit 111, the terminal posture acquisition unit 112, and the error calculation unit 113, thereby realizing the present invention. Alternatively, the whole can be configured by an electronic circuit such as a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), or a PLD (Programmable Logic Device).

実施の形態では、カメラが撮像した画像が車両のインストルメントパネルに設置された表示部に表示される構成としたが、車両のミラー部に設置された表示部に表示される構成としてもよい。また、表示部を備えず、カメラが撮像した画像が障害物検出、または測距等に用いられる構成としてもよい。   In the embodiment, the image captured by the camera is displayed on the display unit installed on the instrument panel of the vehicle. However, the image may be displayed on the display unit installed on the mirror unit of the vehicle. Further, the display unit may not be provided, and an image captured by the camera may be used for obstacle detection, distance measurement, or the like.

今回開示された実施の形態はすべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は上記した説明ではなくて特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。   The embodiment disclosed this time should be considered as illustrative in all points and not restrictive. The scope of the present invention is defined by the terms of the claims, rather than the description above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.

本発明は、車載カメラの取付誤差を検出する取付誤差検出装置、取付誤差検出方法及び取付誤差検出プログラムに好適である。   The present invention is suitable for an attachment error detection device, an attachment error detection method, and an attachment error detection program for detecting an attachment error of a vehicle-mounted camera.

1 車載表示装置(取付誤差検出装置)
3 携帯端末
11 処理部
111 カメラ画像取得部
112 端末姿勢取得部
113 誤差算出部
114 画像処理部
115 表示制御部
12 記憶部
121 基準データ
13 表示部
14 操作部
15 端末用通信部
16 車両用通信部
20 リアカメラ(車載カメラ)
1 In-vehicle display device (mounting error detection device)
3 mobile terminal 11 processing unit 111 camera image acquisition unit 112 terminal posture acquisition unit 113 error calculation unit 114 image processing unit 115 display control unit 12 storage unit 121 reference data 13 display unit 14 operation unit 15 communication unit for vehicle 16 communication unit for vehicle 20 Rear camera (vehicle camera)

Claims (8)

車両に取り付けられる車載カメラの取付誤差を、所定の調整用パターンを表示させた携帯端末を利用して検出する取付誤差検出装置であって、
前記車載カメラによって撮像された前記調整用パターンのカメラ画像を取得するカメラ画像取得部と、
前記カメラ画像が撮像されたときの前記携帯端末の端末姿勢を取得する端末姿勢取得部と、
前記調整用パターンに対応する前記カメラ画像内の撮像パターン、前記端末姿勢、前記調整用パターン、及び前記携帯端末の基準姿勢を用いて、前記車載カメラの取付誤差を算出する誤差算出部と、を備えることを特徴とする取付誤差検出装置。
An attachment error detection device that detects an attachment error of an in-vehicle camera attached to a vehicle using a mobile terminal that displays a predetermined adjustment pattern,
A camera image acquisition unit that acquires a camera image of the adjustment pattern imaged by the in-vehicle camera;
A terminal attitude acquisition unit that acquires a terminal attitude of the mobile terminal when the camera image is captured;
An error calculating unit that calculates an attachment error of the in-vehicle camera using an imaging pattern in the camera image corresponding to the adjustment pattern, the terminal attitude, the adjustment pattern, and a reference attitude of the mobile terminal; A mounting error detecting device comprising:
前記誤差算出部は、前記端末姿勢及び前記基準姿勢に基づいて、前記撮像パターンを補正し、補正後の前記撮像パターンと前記調整用パターンを比較して、前記取付誤差を算出することを特徴とする請求項1に記載の取付誤差検出装置。   The error calculating unit corrects the imaging pattern based on the terminal attitude and the reference attitude, compares the corrected imaging pattern with the adjustment pattern, and calculates the attachment error. The mounting error detection device according to claim 1. 前記携帯端末からの制御信号に基づいて前記車載カメラの取付誤差を検出する処理を実行することを特徴とする請求項1又は2に記載の取付誤差検出装置。   The attachment error detecting device according to claim 1 or 2, wherein a process for detecting an attachment error of the in-vehicle camera is executed based on a control signal from the portable terminal. 前記カメラ画像には、当該カメラ画像の撮像時間を識別可能な時間情報が関連付けられ、
前記端末姿勢には、当該端末姿勢の検出時間を識別可能な時間情報が関連付けられ、
前記誤差算出部は、前記時間情報が同じである前記カメラ画像及び前記端末姿勢を用いることを特徴とする請求項1から3のいずれか一項に記載の取付誤差検出装置。
The camera image is associated with time information capable of identifying the imaging time of the camera image,
The terminal posture is associated with time information capable of identifying the detection time of the terminal posture,
The attachment error detection device according to claim 1, wherein the error calculation unit uses the camera image and the terminal posture with the same time information.
前記誤差算出部は、前記車両の傾きを考慮して、前記取付誤差を算出することを特徴とする請求項1から4のいずれか一項に記載の取付誤差検出装置。   5. The attachment error detection device according to claim 1, wherein the error calculation unit calculates the attachment error in consideration of an inclination of the vehicle. 前記調整用パターンが前記車載カメラで認識できる位置まで前記携帯端末を移動させるよう誘導する端末誘導部を備えることを特徴とする請求項1から5のいずれか一項に記載の取付誤差検出装置。   The attachment error detecting device according to any one of claims 1 to 5, further comprising a terminal guide unit that guides the mobile terminal to move to a position where the adjustment pattern can be recognized by the in-vehicle camera. 車両に取り付けられる車載カメラの取付誤差を、所定の調整用パターンを表示させた携帯端末を利用して検出する取付誤差検出方法であって、
前記車載カメラによって撮像された前記調整用パターンのカメラ画像を取得する工程と、
前記カメラ画像が撮像されたときの前記携帯端末の端末姿勢を取得する工程と、
前記調整用パターンに対応する前記カメラ画像内の撮像パターン、前記端末姿勢、前記調整用パターン、及び前記携帯端末の基準姿勢を用いて、前記車載カメラの取付誤差を算出する工程と、を含むことを特徴とする取付誤差検出方法。
An attachment error detection method for detecting an attachment error of an in-vehicle camera attached to a vehicle using a mobile terminal displaying a predetermined adjustment pattern,
Obtaining a camera image of the adjustment pattern imaged by the in-vehicle camera;
Obtaining a terminal posture of the mobile terminal when the camera image is captured;
Calculating an attachment error of the in-vehicle camera using an imaging pattern in the camera image corresponding to the adjustment pattern, the terminal attitude, the adjustment pattern, and a reference attitude of the mobile terminal. A mounting error detection method characterized by
車両に取り付けられる車載カメラの取付誤差を、所定の調整用パターンを表示させた携帯端末を利用して検出する取付誤差検出プログラムであって、
コンピューターに、
前記車載カメラによって撮像された前記調整用パターンのカメラ画像を取得する処理と、
前記カメラ画像が撮像されたときの前記携帯端末の端末姿勢を取得する処理と、
前記調整用パターンに対応する前記カメラ画像内の撮像パターン、前記端末姿勢、前記調整用パターン、及び前記携帯端末の基準姿勢を用いて、前記車載カメラの取付誤差を算出する処理と、を実行させる取付誤差検出プログラム。
An installation error detection program for detecting an installation error of an in-vehicle camera attached to a vehicle using a portable terminal displaying a predetermined adjustment pattern,
On the computer,
Processing for obtaining a camera image of the adjustment pattern imaged by the in-vehicle camera;
Processing for obtaining a terminal posture of the mobile terminal when the camera image is captured;
A process of calculating an attachment error of the in-vehicle camera using an imaging pattern in the camera image corresponding to the adjustment pattern, the terminal attitude, the adjustment pattern, and a reference attitude of the mobile terminal. Installation error detection program.
JP2017068625A 2017-03-30 2017-03-30 Mounting error detecting device, mounting error detecting method, and mounting error detecting program Pending JP2018169353A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017068625A JP2018169353A (en) 2017-03-30 2017-03-30 Mounting error detecting device, mounting error detecting method, and mounting error detecting program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017068625A JP2018169353A (en) 2017-03-30 2017-03-30 Mounting error detecting device, mounting error detecting method, and mounting error detecting program

Publications (1)

Publication Number Publication Date
JP2018169353A true JP2018169353A (en) 2018-11-01

Family

ID=64019195

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017068625A Pending JP2018169353A (en) 2017-03-30 2017-03-30 Mounting error detecting device, mounting error detecting method, and mounting error detecting program

Country Status (1)

Country Link
JP (1) JP2018169353A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7449393B2 (en) 2020-08-28 2024-03-13 株式会社デンソーテン Calibration method for in-vehicle devices and in-vehicle cameras

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7449393B2 (en) 2020-08-28 2024-03-13 株式会社デンソーテン Calibration method for in-vehicle devices and in-vehicle cameras

Similar Documents

Publication Publication Date Title
KR101893180B1 (en) Calibration method and measuring tool
CN108111828B (en) Projection equipment correction method and device and projection equipment
KR20160119444A (en) Calibration method, calibration device, and computer program product
JP6098874B2 (en) Imaging apparatus and image processing apparatus
CN109855568B (en) Method and device for detecting automatic driving sensor, electronic equipment and storage medium
KR102452564B1 (en) Apparatus and method for estimating optical image stabilization motion
US10277819B2 (en) Method for calibrating driving amount of actuator configured to correct blurring of image taken by camera
JP2009109458A (en) Surveying instrument
US20170076457A1 (en) Information processing apparatus, control method of information processing apparatus, and non-transitory storage medium storing information processing program
US20150369622A1 (en) Navigation system, terminal device, and computer program
JP2014021491A (en) Lens blurring correction system and method
JP6320020B2 (en) Electronic device, control method thereof, and program
JP2018169353A (en) Mounting error detecting device, mounting error detecting method, and mounting error detecting program
KR100844909B1 (en) Accident data storing apparatus having easy sensor calibration for a vehicle and calibration method there of
JP5886241B2 (en) Portable imaging device
JP2014222410A (en) Portable display device and display program, and operation guide system
WO2019127139A1 (en) Calibration method for magnetometer and related device
JP4820462B1 (en) Terminal device, image processing method and image processing program executed by terminal device
JP5571720B2 (en) Navigation system, navigation method, navigation program, and terminal device
US9270884B2 (en) Imaging apparatus and detecting apparatus
JP2006163569A (en) Object detector and object detection method
JP2007038859A (en) Control device for display apparatus
JP6855254B2 (en) Image processing device, image processing system, and image processing method
JP2020091163A (en) Electronic apparatus, method for correction, and program
JP2015049446A (en) Imaging device

Legal Events

Date Code Title Description
RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20190625

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20191018