Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6974192B2 - Camera misalignment detection device and camera misalignment detection method - Google Patents
[go: Go Back, main page]

JP6974192B2 - Camera misalignment detection device and camera misalignment detection method - Google Patents

Camera misalignment detection device and camera misalignment detection method Download PDF

Info

Publication number
JP6974192B2
JP6974192B2 JP2018009773A JP2018009773A JP6974192B2 JP 6974192 B2 JP6974192 B2 JP 6974192B2 JP 2018009773 A JP2018009773 A JP 2018009773A JP 2018009773 A JP2018009773 A JP 2018009773A JP 6974192 B2 JP6974192 B2 JP 6974192B2
Authority
JP
Japan
Prior art keywords
camera
detection
vehicle
misalignment
unit
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
Application number
JP2018009773A
Other languages
Japanese (ja)
Other versions
JP2019129403A (en
Inventor
康司 大西
武生 松本
直士 垣田
隆幸 小笹
知之 藤本
輝彦 上林
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.)
Denso Ten Ltd
Original Assignee
Denso Ten 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 Denso Ten Ltd filed Critical Denso Ten Ltd
Priority to JP2018009773A priority Critical patent/JP6974192B2/en
Publication of JP2019129403A publication Critical patent/JP2019129403A/en
Application granted granted Critical
Publication of JP6974192B2 publication Critical patent/JP6974192B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Analysis (AREA)
  • Closed-Circuit Television Systems (AREA)
  • Studio Devices (AREA)

Description

本発明は、カメラの位置ずれを検出する技術に関する。 The present invention relates to a technique for detecting a position shift of a camera.

従来、車載カメラを用いて、例えば車両の駐車支援等の運転支援が行われている。車載カメラは、車両を工場から出荷する前に、車両に固定状態で取り付けられる。しかしながら、車載カメラは、例えば不意の接触や経年変化等によって、工場出荷時の取付状態から位置ずれを起こすことがある。車載カメラの位置(車両のボディに対する車載カメラの相対位置)がずれると、カメラ画像を利用して判断されるハンドルの操舵量等に誤差が生じるために、車載カメラの位置ずれを検出することは重要である。 Conventionally, driving support such as vehicle parking support has been provided by using an in-vehicle camera. The dashcam is fixedly attached to the vehicle before it is shipped from the factory. However, the in-vehicle camera may be displaced from the factory-installed state due to, for example, unexpected contact or aging. If the position of the in-vehicle camera (the position of the in-vehicle camera relative to the body of the vehicle) deviates, an error occurs in the steering amount of the steering wheel determined by using the camera image. is important.

特許文献1には、車載カメラの光軸ずれを検出する技術が開示される。特許文献1における車載カメラの光軸ずれ検出装置は、画像処理手段と判断手段とを備える。画像処理手段は、運転支援する車体部上のマーキングを含む範囲を撮影する車載カメラの撮影画像から該マーキングの位置情報を検出する。判断手段は、初期設定されたマーキング位置情報と、新たに検出されたマーキングの位置情報とを比較することにより、撮影光軸ずれを判断する。 Patent Document 1 discloses a technique for detecting an optical axis deviation of an in-vehicle camera. The optical axis deviation detecting device of the vehicle-mounted camera in Patent Document 1 includes an image processing means and a determination means. The image processing means detects the position information of the marking from the image taken by the vehicle-mounted camera that captures the range including the marking on the vehicle body portion that supports driving. The determination means determines the shooting optical axis deviation by comparing the initially set marking position information with the newly detected position information of the marking.

特開2004−173037号公報Japanese Unexamined Patent Publication No. 2004-173037

車載カメラの撮影画像には、車両周囲の風景等が映るために、例えばマーキングがボンネットの一部の特定形状である場合、当該特定形状を簡単に抽出できないことがある。当該特定形状が誤検出されると、車載カメラの光軸ずれが正確に判断されない可能性がある。 Since the image taken by the vehicle-mounted camera reflects the scenery around the vehicle, for example, when the marking is a specific shape of a part of the bonnet, the specific shape may not be easily extracted. If the specific shape is erroneously detected, the optical axis deviation of the vehicle-mounted camera may not be accurately determined.

本発明は、上記課題に鑑みて、カメラの位置ずれの方向を精度良く検出できる技術を提供することを目的とする。 In view of the above problems, it is an object of the present invention to provide a technique capable of accurately detecting the direction of a position shift of a camera.

本発明のカメラずれ検出装置は、カメラで撮影された撮影画像を取得する取得部と、前記撮影画像内の第1の検出領域中の特徴点の動きを検出する第1の検出部と、前記第1の検出領域に含まれる前記第1の検出領域より小さい第2の検出領域中の特徴点の動きを検出する第2の検出部と、前記第1の検出部の検出結果に基づいて前記カメラの位置ずれの有無を判定する判定部と、前記判定部によって前記カメラの位置ずれがあると判定された場合に、前記第2の検出部の検出結果に基づいて前記カメラの位置ずれ方向を検出するカメラずれ方向検出部と、を備える構成(第1の構成)である。 The camera misalignment detection device of the present invention includes an acquisition unit that acquires a captured image captured by a camera, a first detection unit that detects the movement of a feature point in a first detection region in the captured image, and the above-mentioned. The second detection unit that detects the movement of a feature point in a second detection area smaller than the first detection area included in the first detection area, and the first detection unit based on the detection results of the first detection unit. When the determination unit determines whether or not the camera is misaligned and the determination unit determines that the camera is misaligned, the misalignment direction of the camera is determined based on the detection result of the second detection unit. It is a configuration (first configuration) including a camera shift direction detection unit for detection.

上記第1の構成のカメラずれ検出装置において、前記判定部によって前記カメラの位置ずれがないと判定された場合に、前記第2の検出部は前記第2の検出領域中の特徴点の動きを検出しない構成(第2の構成)であってもよい。 In the camera deviation detection device having the first configuration, when the determination unit determines that there is no positional deviation of the camera, the second detection unit moves the feature points in the second detection region. It may be a configuration that is not detected (second configuration).

上記第1又は第2の構成のカメラずれ検出装置において、前記第2の検出部は、前記第2の検出領域を複数設定し、前記カメラずれ方向検出部がPAN方向およびROLL方向のずれ方向を検出するときに用いる前記第2の検出部の検出結果と、前記カメラずれ方向検出部がTILT方向のずれ方向を検出するときに用いる前記第2の検出部の検出結果とが、異なる前記第2の検出領域における検出によって得られる構成(第3の構成)であってもよい。 In the camera deviation detection device having the first or second configuration, the second detection unit sets a plurality of the second detection areas, and the camera deviation direction detection unit sets the deviation directions in the PAN direction and the ROLL direction. The detection result of the second detection unit used for detection and the detection result of the second detection unit used when the camera deviation direction detection unit detects the deviation direction in the TILT direction are different from each other. It may be the configuration (third configuration) obtained by the detection in the detection region of.

上記第1〜第3いずれかの構成のカメラずれ検出装置において、前記第2の検出部は、前記第1の検出領域中の特徴点の分布に応じて前記第2の検出領域を設定する構成(第4の構成)であってもよい。 In the camera deviation detection device having any of the first to third configurations, the second detection unit sets the second detection region according to the distribution of feature points in the first detection region. (Fourth configuration) may be used.

本発明のカメラずれ検出方法は、カメラで撮影された撮影画像を取得する取得工程と、前記撮影画像内の第1の検出領域中の特徴点の動きを検出する第1の検出工程と、前記第1の検出領域に含まれる前記第1の検出領域より小さい第2の検出領域中の特徴点の動きを検出する第2の検出工程と、前記第1の検出工程の検出結果に基づいて前記カメラの位置ずれの有無を判定する判定工程と、前記判定工程によって前記カメラの位置ずれがあると判定された場合に、前記第2の検出工程の検出結果に基づいて前記カメラの位置ずれ方向を検出するカメラずれ方向検出工程と、を備える構成(第5の構成)である。 The camera deviation detection method of the present invention includes an acquisition step of acquiring a captured image captured by a camera, a first detection step of detecting the movement of a feature point in a first detection region in the captured image, and the above-mentioned. The second detection step of detecting the movement of a feature point in a second detection region smaller than the first detection region included in the first detection region, and the detection result of the first detection step are used. When it is determined by the determination step of determining whether or not the camera is misaligned and the determination process determines that the camera is misaligned, the misalignment direction of the camera is determined based on the detection result of the second detection step. It is a configuration (fifth configuration) including a camera shift direction detection step for detecting.

本発明によると、カメラの位置ずれの方向を精度良く検出できる技術を提供できる。 INDUSTRIAL APPLICABILITY According to the present invention, it is possible to provide a technique capable of accurately detecting the direction of a position shift of a camera.

カメラずれ検出装置の構成を示すブロック図Block diagram showing the configuration of the camera misalignment detection device 4つの車載カメラが車両に配置される位置を例示する図The figure which illustrates the position where four in-vehicle cameras are arranged in a vehicle カメラずれ検出装置によるカメラずれの検出フローの一例を示すフローチャートA flowchart showing an example of the camera deviation detection flow by the camera deviation detection device. フロントカメラで撮影した画像の一例を示す模式図Schematic diagram showing an example of an image taken with a front camera カメラずれの検出処理の一例を示すフローチャートA flowchart showing an example of camera misalignment detection processing 撮影画像におけるROIの位置を示す模式図Schematic diagram showing the position of ROI in the captured image 撮影画像におけるROIの位置を示す模式図Schematic diagram showing the position of ROI in the captured image 撮影画像におけるROIの位置を示す模式図Schematic diagram showing the position of ROI in the captured image 撮影画像におけるROIの位置を示す模式図Schematic diagram showing the position of ROI in the captured image

以下、本発明の例示的な実施形態について、図面を参照しながら詳細に説明する。以下の説明では、車両の直進進行方向であって、運転席からハンドルに向かう方向を「前方向」とする。また、車両の直進進行方向であって、ハンドルから運転席に向かう方向を「後方向」とする。また、車両の直進進行方向及び鉛直線に垂直な方向であって、前方向を向いている運転者の右側から左側に向かう方向を「左方向」とする。また、車両の直進進行方向及び鉛直線に垂直な方向であって、前方向を向いている運転者の左側から右側に向かう方向を「右方向」とする。また、本明細書では、カメラの位置ずれのことを、単にカメラずれと表現する場合がある。 Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the drawings. In the following description, the direction in which the vehicle travels straight from the driver's seat to the steering wheel is referred to as "forward direction". Further, the direction in which the vehicle travels straight from the steering wheel to the driver's seat is defined as the "rear direction". Further, the direction from the right side to the left side of the driver facing forward, which is the direction perpendicular to the straight line and the vertical line of the vehicle, is defined as the "left direction". Further, the direction from the left side to the right side of the driver facing forward, which is the direction perpendicular to the straight line and the vertical direction of the vehicle, is defined as "right direction". Further, in the present specification, the misalignment of the camera may be simply referred to as the misalignment of the camera.

<1.カメラずれ検出装置の概略>
図1は、本実施の形態に係るカメラずれ検出装置1の構成を示すブロック図である。
<1. Outline of camera misalignment detection device>
FIG. 1 is a block diagram showing a configuration of a camera deviation detecting device 1 according to the present embodiment.

カメラずれ検出装置1は、車載カメラで撮影された撮影画像に基づいてカメラずれを検出する装置である。カメラずれ検出装置1は、車載カメラを搭載する車両ごとに備えられる。本実施の形態では、カメラずれ検出装置1は、撮影部2から撮影画像を取得して処理して、カメラずれの検出を行う。また、本実施の形態では、カメラずれ検出装置1は、センサ部3から情報を取得して、取得情報に基づいてカメラずれを検出する。 The camera misalignment detection device 1 is a device that detects camera misalignment based on a captured image taken by an in-vehicle camera. The camera deviation detecting device 1 is provided for each vehicle equipped with an in-vehicle camera. In the present embodiment, the camera deviation detection device 1 acquires a captured image from the photographing unit 2 and processes it to detect the camera deviation. Further, in the present embodiment, the camera deviation detecting device 1 acquires information from the sensor unit 3 and detects the camera deviation based on the acquired information.

撮影部2は、車両周辺の状況を監視する目的で設けられる。撮影部2は、4つのカメラ21〜24を備える。4つのカメラ21〜24は、車載カメラである。図2は、4つの車載カメラ21〜24が車両4に配置される位置を例示する図である。 The photographing unit 2 is provided for the purpose of monitoring the situation around the vehicle. The photographing unit 2 includes four cameras 21 to 24. The four cameras 21 to 24 are in-vehicle cameras. FIG. 2 is a diagram illustrating the positions where the four vehicle-mounted cameras 21 to 24 are arranged in the vehicle 4.

車載カメラ21は車両4の前端に設けられる。このため、車載カメラ21をフロントカメラ21とも呼ぶ。フロントカメラ21の光軸21aは上からの平面視で車両4の前後方向に沿っている。フロントカメラ21は車両4の前方向を撮影する。車載カメラ22は車両4の後端に設けられる。このため、車載カメラ22をバックカメラ22とも呼ぶ。バックカメラ22の光軸22aは上からの平面視で車両4の前後方向に沿っている。バックカメラ22は車両4の後方向を撮影する。フロントカメラ21及びバックカメラ22の取付位置は、車両4の左右中央であることが好ましいが、左右中央から左右方向に多少ずれた位置であってもよい。 The vehicle-mounted camera 21 is provided at the front end of the vehicle 4. Therefore, the in-vehicle camera 21 is also referred to as a front camera 21. The optical axis 21a of the front camera 21 is along the front-rear direction of the vehicle 4 in a plan view from above. The front camera 21 captures the front direction of the vehicle 4. The vehicle-mounted camera 22 is provided at the rear end of the vehicle 4. Therefore, the in-vehicle camera 22 is also referred to as a back camera 22. The optical axis 22a of the back camera 22 is along the front-rear direction of the vehicle 4 in a plan view from above. The back camera 22 captures the rear direction of the vehicle 4. The front camera 21 and the back camera 22 are preferably mounted at the center of the left and right sides of the vehicle 4, but may be slightly displaced from the center of the left and right sides in the left-right direction.

車載カメラ23は車両4の左側ドアミラー41に設けられる。このため、車載カメラ23を左サイドカメラ23とも呼ぶ。左サイドカメラ23の光軸23aは上からの平面視で車両4の左右方向に沿っている。左サイドカメラ23は車両4の左方向を撮影する。車載カメラ24は車両4の右側ドアミラー42に設けられる。このため、車載カメラ24を右サイドカメラ24とも呼ぶ。右サイドカメラ24の光軸24aは上からの平面視で車両4の左右方向に沿っている。右サイドカメラ24は車両4の右方向を撮影する。なお、車両4がいわゆるドアミラーレス車である場合には、左サイドカメラ23は左サイドドアの回転軸(ヒンジ部)の周辺にドアミラーを介することなく取り付けられ、右サイドカメラ24は右サイドドアの回転軸(ヒンジ部)の周辺にドアミラーを介することなく取り付けられる。 The vehicle-mounted camera 23 is provided on the left side door mirror 41 of the vehicle 4. Therefore, the in-vehicle camera 23 is also referred to as a left side camera 23. The optical axis 23a of the left side camera 23 is along the left-right direction of the vehicle 4 in a plan view from above. The left side camera 23 photographs the left direction of the vehicle 4. The vehicle-mounted camera 24 is provided on the right door mirror 42 of the vehicle 4. Therefore, the in-vehicle camera 24 is also referred to as a right side camera 24. The optical axis 24a of the right side camera 24 is along the left-right direction of the vehicle 4 in a plan view from above. The right side camera 24 captures the right direction of the vehicle 4. When the vehicle 4 is a so-called door mirrorless vehicle, the left side camera 23 is attached around the rotation axis (hinge portion) of the left side door without passing through the door mirror, and the right side camera 24 is attached to the right side door. It can be attached around the rotating shaft (hinge part) without using a door mirror.

各車載カメラ21〜24の水平方向の画角θは180度以上である。このため、車載カメラ21〜24によって、車両4の水平方向における全周囲を撮影することができる。また、車載カメラ21〜24によって撮影される画像には、車載カメラ21〜24を搭載する車両4のボディが映り込む。 The horizontal angle of view θ of each of the vehicle-mounted cameras 21 to 24 is 180 degrees or more. Therefore, the vehicle-mounted cameras 21 to 24 can photograph the entire circumference of the vehicle 4 in the horizontal direction. Further, the body of the vehicle 4 on which the vehicle-mounted cameras 21 to 24 are mounted is reflected in the images taken by the vehicle-mounted cameras 21 to 24.

なお、本実施の形態では、車載カメラの数を4つとしているが、この数は適宜変更されてよく、複数であっても単数であってもよい。例えば、車両4がバックで駐車することを支援する目的で車載カメラが搭載されている場合には、車載カメラは、バックカメラ22、左サイドカメラ23、右サイドカメラ24の3つで構成されてもよい。 In the present embodiment, the number of in-vehicle cameras is four, but this number may be changed as appropriate, and may be plural or singular. For example, when an in-vehicle camera is mounted for the purpose of assisting the vehicle 4 to park in the back, the in-vehicle camera is composed of a back camera 22, a left side camera 23, and a right side camera 24. May be good.

図1に戻って、センサ部3は、車載カメラ21〜24が搭載される車両4に関する情報を検出する複数のセンサを有する。車両4に関する情報には、車両自体の情報と、車両周辺の情報とが含まれてよい。本実施の形態では、センサ部3は、例えば、車両の速度を検出する車速度センサ、ステアリングホイールの回転角を検出する舵角センサ、車両の変速装置のシフトレバーの操作位置を検出するシフトセンサ等を含む。本実施の形態では、センサ部3で検出された情報は、カメラずれ検出装置1に直接入力される構成としているが、これは例示にすぎない。例えば、センサ部3で検出された情報は、不図示の車両制御装置や運転支援装置を介してカメラずれ検出装置1に入力されてもよい。 Returning to FIG. 1, the sensor unit 3 has a plurality of sensors for detecting information about the vehicle 4 on which the vehicle-mounted cameras 21 to 24 are mounted. The information about the vehicle 4 may include information about the vehicle itself and information about the surroundings of the vehicle. In the present embodiment, the sensor unit 3 is, for example, a vehicle speed sensor that detects the speed of the vehicle, a steering angle sensor that detects the rotation angle of the steering wheel, and a shift sensor that detects the operation position of the shift lever of the transmission of the vehicle. Etc. are included. In the present embodiment, the information detected by the sensor unit 3 is directly input to the camera deviation detecting device 1, but this is only an example. For example, the information detected by the sensor unit 3 may be input to the camera deviation detecting device 1 via a vehicle control device or a driving support device (not shown).

図3は、カメラずれ検出装置1によるカメラずれの検出フローの一例を示すフローチャートである。図3に示すように、例えば自動車メーカー等の工場において、各車両4に対して4つの車載カメラ21〜24が取り付けられる(ステップS1)。各車載カメラ21〜24は、所定の向きに光軸21a〜24aが合された状態で、所定の取付位置に固定される。 FIG. 3 is a flowchart showing an example of a camera deviation detection flow by the camera deviation detection device 1. As shown in FIG. 3, for example, in a factory such as an automobile manufacturer, four in-vehicle cameras 21 to 24 are attached to each vehicle 4 (step S1). Each of the vehicle-mounted cameras 21 to 24 is fixed at a predetermined mounting position with the optical axes 21a to 24a aligned in a predetermined direction.

また、工場においては、車載カメラの初期位置(車両のボディに対する車載カメラの相対初期位置)に関するデータが取得される(ステップS2)。車載カメラの初期位置に関するデータは、車載カメラ21〜24を搭載した車両4が市場に出された後において、車載カメラ21〜24の位置ずれが発生しているか否かの判定を行うために使用されるデータである。本実施の形態において、車載カメラの初期位置に関するデータは、カメラずれ検出装置1を用いて、各車載カメラ21〜24に対して取得される。取得された車載カメラの初期位置に関するデータは、カメラずれ検出装置1が備える後述の記憶部13に記憶される。 Further, in the factory, data regarding the initial position of the vehicle-mounted camera (the relative initial position of the vehicle-mounted camera with respect to the vehicle body) is acquired (step S2). The data regarding the initial position of the in-vehicle camera is used to determine whether or not the in-vehicle cameras 21 to 24 are misaligned after the vehicle 4 equipped with the in-vehicle cameras 21 to 24 is put on the market. It is the data to be done. In the present embodiment, the data regarding the initial position of the vehicle-mounted camera is acquired for each vehicle-mounted camera 21 to 24 by using the camera deviation detecting device 1. The acquired data regarding the initial position of the vehicle-mounted camera is stored in a storage unit 13 described later included in the camera deviation detecting device 1.

本実施の形態においては、車載カメラ21〜24を搭載した車両4が市場に出された後、カメラずれ検出装置1によってカメラずれが検出される。カメラずれの検出処理は、各車載カメラ21〜24に対して行われる。カメラずれ検出装置1は、カメラずれの検出処理を開始するタイミングか否かを判断する(ステップS3)。カメラずれ検出装置1は、ステップS3でNoの場合、カメラずれの検出処理を開始するタイミングか否かの判断を繰り返す。 In the present embodiment, after the vehicle 4 equipped with the in-vehicle cameras 21 to 24 is put on the market, the camera deviation is detected by the camera deviation detecting device 1. The camera deviation detection process is performed on each vehicle-mounted camera 21 to 24. The camera deviation detection device 1 determines whether or not it is the timing to start the camera deviation detection process (step S3). If No in step S3, the camera misalignment detection device 1 repeats the determination of whether or not it is the timing to start the camera misalignment detection process.

カメラずれの検出処理を開始するタイミングは、例えば車両4が所定の速度(例えば5km/h)以下で前方又は後方に直進しているときにすればよい。これより、車両4の移動量をセンサ3の出力に基づいて精度良く推定できる条件下で、カメラずれの検出処理を開始することができる。 The timing for starting the camera deviation detection process may be, for example, when the vehicle 4 is traveling straight ahead or backward at a predetermined speed (for example, 5 km / h) or less. As a result, the camera deviation detection process can be started under the condition that the movement amount of the vehicle 4 can be estimated accurately based on the output of the sensor 3.

カメラずれ検出装置1は、カメラずれの検出処理を開始するタイミングであると判断すると(ステップS3でYes)、検出処理を実行する(ステップS4)。 When the camera deviation detection device 1 determines that it is time to start the camera deviation detection process (Yes in step S3), the camera deviation detection device 1 executes the detection process (step S4).

検出処理を実行した結果、車載カメラ21〜24の位置ずれが発生していないと判定された場合(ステップS5でYes)、カメラずれ検出装置1は、ステップS3に戻り、次のカメラずれの検出処理開始タイミングを検出した場合にカメラずれの検出処理を繰り返す。カメラの位置ずれが発生していないと判定された場合、カメラずれ検出装置1は、例えば不図示の車両制御装置や運転支援装置等に車載カメラが正常であることを通知してもよい。 When it is determined that the position shift of the in-vehicle cameras 21 to 24 has not occurred as a result of executing the detection process (Yes in step S5), the camera shift detection device 1 returns to step S3 and detects the next camera shift. When the processing start timing is detected, the camera deviation detection processing is repeated. When it is determined that the camera misalignment has not occurred, the camera misalignment detecting device 1 may notify, for example, a vehicle control device (not shown), a driving support device, or the like that the in-vehicle camera is normal.

車載カメラ21〜24の位置ずれが発生していると判定された場合(ステップS5でNo)、カメラずれ検出装置1は、車載カメラ21〜24の位置ずれが発生したことを位置ずれの方向と合わせて報知する(ステップS6)。本実施の形態では、カメラずれ検出装置1は、車載カメラ21〜24の位置ずれが発生したこと及び位置ずれの方向を不図示の表示装置によって報知する。カメラの位置ずれ発生の報知には、音声等が使用されてもよい。さらに、カメラずれ検出装置1は、車両4に搭載されている不図示の通信装置を利用して、ドライバーが所持するスマートフォン等の外部機器にカメラの位置ずれ発生を報知する表示信号や音声信号を送信してもよい。また、カメラずれ検出装置1は、運転支援装置6に車載カメラ21〜24の位置ずれの発生を通知して、運転支援装置6による運転支援を停止させる。なお、本実施の形態では、4つの車載カメラ21〜24が存在するが、4つの車載カメラ21〜24のうちの1つでも位置ずれが発生した場合には、上記報知処理及び停止処理が行われることが好ましい。 When it is determined that the in-vehicle cameras 21 to 24 are misaligned (No in step S5), the camera misalignment detection device 1 determines that the in-vehicle cameras 21 to 24 are misaligned as the direction of the misalignment. It also notifies (step S6). In the present embodiment, the camera misalignment detection device 1 notifies that the misalignment of the vehicle-mounted cameras 21 to 24 has occurred and the direction of the misalignment by a display device (not shown). Voice or the like may be used to notify the occurrence of camera misalignment. Further, the camera misalignment detection device 1 uses a communication device (not shown) mounted on the vehicle 4 to transmit a display signal or an audio signal for notifying an external device such as a smartphone possessed by the driver of the occurrence of the camera misalignment. You may send it. Further, the camera deviation detecting device 1 notifies the driving support device 6 of the occurrence of the positional deviation of the in-vehicle cameras 21 to 24, and stops the driving support by the driving support device 6. In the present embodiment, there are four in-vehicle cameras 21 to 24, but if any one of the four in-vehicle cameras 21 to 24 is displaced, the above notification process and stop process are performed. It is preferable to be

なお、車載カメラ21〜24の位置ずれが発生していると判定された場合(ステップS5でNo)、自動運転制御部の制御によって、判定開始タイミングを検出した時点の位置に車両4を戻しておくことが好ましい。判定開始タイミングを検出した時点の位置が車両4の安全を確保できる場所(例えば駐車枠内)である可能性が高いからである。 If it is determined that the in-vehicle cameras 21 to 24 are misaligned (No in step S5), the vehicle 4 is returned to the position at the time when the determination start timing is detected by the control of the automatic driving control unit. It is preferable to keep it. This is because there is a high possibility that the position at the time when the determination start timing is detected is a place where the safety of the vehicle 4 can be ensured (for example, in the parking frame).

カメラずれの発生に伴い、車両のユーザは、例えばディーラにカメラの取付調整を依頼する。これに応じて、ディーラは、車載カメラの取付調整を行う(ステップS7)。また、ディーラは、カメラずれ検出装置1を用いて、上述した車載カメラの初期位置に関するデータの再取得処理を行う(ステップS8)。この後は、ステップS3に戻って、カメラずれ検出装置1は、判定開始タイミングを検出すると、再取得した車載カメラの初期位置に関するデータに基づいて、カメラの位置ずれを判定する。 Due to the occurrence of camera misalignment, the vehicle user requests, for example, a dealer to adjust the mounting of the camera. In response to this, the dealer adjusts the mounting of the vehicle-mounted camera (step S7). Further, the dealer reacquires the data regarding the initial position of the vehicle-mounted camera described above by using the camera deviation detecting device 1 (step S8). After that, returning to step S3, when the camera shift detection device 1 detects the determination start timing, the camera shift detection device 1 determines the position shift of the camera based on the re-acquired data regarding the initial position of the vehicle-mounted camera.

なお、本実施の形態では、カメラずれが発生していると判定された場合に、車載カメラの取付調整が行われる構成としているが、これは例示にすぎない。カメラずれが発生していると判定した場合に、カメラずれ検出装置1は、車載カメラの位置ずれを補正して撮影画像を用いる構成としてもよい。例えば、車載カメラの取付調整を前提とした、ずれ発生の報知処理や、運転支援の停止処理は、車載カメラのずれ状態が不明な場合にのみ行う構成としてもよい。カメラのずれ状態が不明とは、例えば、カメラがどの程度位置ずれや角度ずれを起しているかが不明な状態を指す。車載カメラのずれ状態が明確で補正して使用できる場合には、カメラずれ検出装置1は、ずれ発生の報知処理や、運転支援の停止処理を行わない構成としてよい。 In the present embodiment, when it is determined that the camera is displaced, the mounting adjustment of the in-vehicle camera is performed, but this is only an example. When it is determined that the camera deviation has occurred, the camera deviation detecting device 1 may be configured to correct the positional deviation of the vehicle-mounted camera and use the captured image. For example, the notification processing of the occurrence of the deviation and the stop processing of the driving support on the premise of the mounting adjustment of the in-vehicle camera may be performed only when the deviation state of the in-vehicle camera is unknown. The state in which the camera is displaced is unknown, for example, refers to a state in which it is unknown how much the camera is displaced or angled. When the deviation state of the in-vehicle camera is clear and can be corrected and used, the camera deviation detection device 1 may be configured not to perform the deviation occurrence notification process or the driving support stop process.

<2.カメラずれ検出装置の詳細>
図1に戻って、カメラずれ検出装置1は、取得部11、マイコン12、及び記憶部13を含んで構成される。マイコン12は、不図示のCPU(Central Processing Unit)、RAM(Random Access Memory)、及びROM(Read Only Memory)を含む。記憶部13は、不揮発性のメモリである。マイコン12は、記憶部13に記憶されたプログラムに基づいて情報の処理及び送受信を行う。マイコン12は、有線又は無線で、撮影部2及びセンサ部3に接続される。
<2. Details of camera misalignment detector>
Returning to FIG. 1, the camera deviation detecting device 1 includes an acquisition unit 11, a microcomputer 12, and a storage unit 13. The microcomputer 12 includes a CPU (Central Processing Unit), a RAM (Random Access Memory), and a ROM (Read Only Memory) (not shown). The storage unit 13 is a non-volatile memory. The microcomputer 12 processes and sends / receives information based on the program stored in the storage unit 13. The microcomputer 12 is connected to the photographing unit 2 and the sensor unit 3 by wire or wirelessly.

取得部11は、車載カメラ21〜24からアナログ又はデジタルの撮影画像を所定の周期(例えば、1/30秒周期)で時間的に連続して取得する。すなわち、取得部11によって取得される撮影画像の集合体が車載カメラ21〜24で撮影された動画像である。そして、取得した撮影画像がアナログの場合には、取得部11は、そのアナログの撮影画像をデジタルの撮影画像に変換(A/D変換)する。取得部11は、取得した撮影画像、或いは、取得及び変換した撮影画像をマイコン12に出力する。取得部11から出力される1つの撮影画像が1つのフレーム画像となる。 The acquisition unit 11 continuously acquires analog or digital captured images from the vehicle-mounted cameras 21 to 24 at a predetermined cycle (for example, a 1/30 second cycle). That is, the aggregate of the captured images acquired by the acquisition unit 11 is a moving image captured by the vehicle-mounted cameras 21 to 24. When the acquired captured image is analog, the acquisition unit 11 converts the analog captured image into a digital captured image (A / D conversion). The acquisition unit 11 outputs the acquired photographed image or the acquired and converted photographed image to the microcomputer 12. One captured image output from the acquisition unit 11 becomes one frame image.

マイコン12は、第1の検出部121と、第2の検出部122と、判定部123と、カメラずれ方向検出部124と、を備える。マイコン12が備えるこれらの各部121〜124の機能は、プログラムに従ってCPUが演算処理を行うことによって実現される。 The microcomputer 12 includes a first detection unit 121, a second detection unit 122, a determination unit 123, and a camera deviation direction detection unit 124. The functions of each of these units 121 to 124 included in the microcomputer 12 are realized by the CPU performing arithmetic processing according to a program.

第1の検出部121は、車載カメラ21〜24で撮影された撮影画像内の第1のROI(Region of Interest)中の特徴点の動き(オプティカルフロー)を検出する。例えば、第1のROI中の全ての特徴点の動きをヒストグラム化し、ヒストグラムでの平均値を、第1のROI中の特徴点の動きとすればよい。ここで、「ROI」とは、「カメラで撮影された撮影画像内の特徴点の動きを検出する領域である検出領域」を意味している。本実施の形態では、車載カメラ21〜24の数は4つであり、第1の検出部121による検出処理は、各車載カメラ21〜24ごとに行われる。 The first detection unit 121 detects the movement (optical flow) of the feature point in the first ROI (Region of Interest) in the captured image captured by the vehicle-mounted cameras 21 to 24. For example, the movements of all the feature points in the first ROI may be made into a histogram, and the average value in the histogram may be the movement of the feature points in the first ROI. Here, "ROI" means "a detection area which is a region for detecting the movement of feature points in a captured image captured by a camera". In the present embodiment, the number of vehicle-mounted cameras 21 to 24 is four, and the detection process by the first detection unit 121 is performed for each vehicle-mounted camera 21 to 24.

なお、特徴点とは、際立って検出できる点であり、例えば、路面に描かれた白線のエッジ、路面上のヒビ、路面上のシミ、路面上の砂利等を挙げることができる。第1の検出部121は、特徴点を検出した後、検出した特徴点を見失わないように、検出した特徴点が第1のROIから外れるまで検出した特徴点を追跡する。 The feature points are points that can be detected conspicuously, and examples thereof include edges of white lines drawn on the road surface, cracks on the road surface, stains on the road surface, and gravel on the road surface. After detecting the feature points, the first detection unit 121 tracks the detected feature points until the detected feature points deviate from the first ROI so as not to lose sight of the detected feature points.

第2の検出部122は、第1のROIに含まれる第1のROIより小さい第2のROI中の特徴点の動きを検出する。例えば、第2のROI中の全ての特徴点の動きをヒストグラム化し、ヒストグラムでの平均値を、第2のROI中の特徴点の動きとすればよい。本実施の形態では、車載カメラ21〜24の数は4つであり、第2の検出部122による検出処理も、第1の検出部121による検出処理と同様に、各車載カメラ21〜24ごとに行われる。なお、第2の検出部122による検出処理では、第2のROI中の特徴点の動きを一から検出するのではなく、第1の検出部121の検出結果を再構成して、第2のROI中の特徴点の動きを検出することが望ましい。 The second detection unit 122 detects the movement of the feature point in the second ROI, which is smaller than the first ROI contained in the first ROI. For example, the movements of all the feature points in the second ROI may be made into a histogram, and the average value in the histogram may be the movement of the feature points in the second ROI. In the present embodiment, the number of vehicle-mounted cameras 21 to 24 is four, and the detection process by the second detection unit 122 is also the same as the detection process by the first detection unit 121, for each vehicle-mounted camera 21 to 24. It is done in. In the detection process by the second detection unit 122, the movement of the feature points in the second ROI is not detected from scratch, but the detection result of the first detection unit 121 is reconstructed to obtain a second. It is desirable to detect the movement of feature points in the ROI.

判定部123は、第1の検出部121の検出結果に基づいて車載カメラ21〜24の位置ずれの有無を判定する。例えば、第1のROI中の特徴点の動きから推定される車両4の移動量と、センサ部3の出力から推定される車両4の移動量との差が所定量以上であれば、位置ずれがあると判定すればよい。第1のROI中の特徴点の動きから車両4の移動量を推定する際には、第1のROI中の特徴点が路面上の特徴点であることを前提として、車両4の移動量を推定すればよい。 The determination unit 123 determines whether or not the in-vehicle cameras 21 to 24 are misaligned based on the detection result of the first detection unit 121. For example, if the difference between the movement amount of the vehicle 4 estimated from the movement of the feature point in the first ROI and the movement amount of the vehicle 4 estimated from the output of the sensor unit 3 is a predetermined amount or more, the position shift It may be determined that there is. When estimating the movement amount of the vehicle 4 from the movement of the feature points in the first ROI, the movement amount of the vehicle 4 is calculated on the assumption that the feature points in the first ROI are the feature points on the road surface. You can estimate it.

本実施の形態では、車載カメラ21〜24の数は4つであり、判定部123による判定処理も、第1の検出部121による検出処理及び第2の検出部122による検出処理と同様に、各車載カメラ21〜24ごとに行われる。なお、センサ部3の出力から推定される車両4の移動量の代わりに、判定対象である車載カメラ以外のカメラによって撮影された画像から求まる特徴点の動きから推定される移動量を用いてもよい。複数のカメラが同時に位置ずれを起こす可能性は低いからである。 In the present embodiment, the number of vehicle-mounted cameras 21 to 24 is four, and the determination process by the determination unit 123 is similar to the detection process by the first detection unit 121 and the detection process by the second detection unit 122. It is performed every 21 to 24 of each in-vehicle camera. Instead of the movement amount of the vehicle 4 estimated from the output of the sensor unit 3, the movement amount estimated from the movement of the feature points obtained from the image taken by the camera other than the in-vehicle camera to be determined may be used. good. This is because it is unlikely that multiple cameras will be misaligned at the same time.

カメラずれ方向検出部124は、判定部123によって車載カメラ21〜24の位置ずれがあると判定された場合に、第2の検出部122の検出結果に基づいて車載カメラ21〜24の位置ずれ方向を検出する。カメラずれ方向検出部124による検出処理は、位置ずれがあると判定されたカメラごとに行われる。 When the determination unit 123 determines that the vehicle-mounted cameras 21 to 24 are misaligned, the camera misalignment direction detection unit 124 determines that the vehicle-mounted cameras 21 to 24 are misaligned based on the detection result of the second detection unit 122. Is detected. The detection process by the camera misalignment direction detection unit 124 is performed for each camera determined to have a misalignment.

カメラの位置ずれには、カメラが鉛直軸回りに回転するPAN(パン)、カメラが水平軸回りに回転するTILT(チルト)、及びカメラが光軸又は光軸に平行な軸回りに回転するROLL(ロール)からなる3つの方向のずれが存在する。 For camera misalignment, PAN (pan) where the camera rotates around the vertical axis, TILT (tilt) where the camera rotates around the horizontal axis, and ROLL where the camera rotates around the optical axis or the axis parallel to the optical axis. There are three directional deviations consisting of (rolls).

図4は、フロントカメラ21で撮影した撮影画像P1の一例を示す模式図である。フロントカメラ21は、画角θが180度以上であり、図4に示すように、撮影画像P1には、車両4のボディ40が映り込む。図4(a)は、フロントカメラ21が初期位置のまま固定されている状態で撮影された画像である。すなわち、フロントカメラ21が正常な状態で撮影された画像である。図4(b)は、フロントカメラ21が初期位置からPAN方向にずれ、光軸が車両の右側に傾いた状態で撮影された画像である。図4(c)は、フロントカメラ21が初期位置からTILT方向にずれ光軸が上向きに傾いた状態で撮影された画像である。図4(d)は、フロントカメラ21が初期位置からROLL方向にずれ撮影領域が反時計回りに回転した状態で撮影された画像である。 FIG. 4 is a schematic diagram showing an example of a photographed image P1 photographed by the front camera 21. The front camera 21 has an angle of view θ of 180 degrees or more, and as shown in FIG. 4, the body 40 of the vehicle 4 is reflected in the photographed image P1. FIG. 4A is an image taken with the front camera 21 fixed in the initial position. That is, it is an image taken by the front camera 21 in a normal state. FIG. 4B is an image taken in a state where the front camera 21 is displaced from the initial position in the PAN direction and the optical axis is tilted to the right side of the vehicle. FIG. 4C is an image taken in a state where the front camera 21 is displaced from the initial position in the TILT direction and the optical axis is tilted upward. FIG. 4D is an image taken in a state where the front camera 21 is displaced from the initial position in the ROLL direction and the shooting area is rotated counterclockwise.

<3.カメラずれの検出処理の詳細>
図5は、カメラずれの検出処理の詳細、すなわち図3のステップS4の詳細を示すフローチャートである。
<3. Details of camera misalignment detection processing>
FIG. 5 is a flowchart showing the details of the camera deviation detection process, that is, the details of step S4 in FIG.

ステップS4の処理が開始されると、まず第1の検出部121が、車載カメラ21〜24で撮影された撮影画像内の第1のROI中の特徴点の動きを検出する(ステップS41)。 When the process of step S4 is started, the first detection unit 121 first detects the movement of the feature point in the first ROI in the captured image captured by the vehicle-mounted cameras 21 to 24 (step S41).

その後、判定部123は、第1の検出部121の検出結果に基づいて車載カメラ21〜24の位置ずれの有無を判定する(ステップS42)。 After that, the determination unit 123 determines whether or not the in-vehicle cameras 21 to 24 are misaligned based on the detection result of the first detection unit 121 (step S42).

位置ずれが無いと判定されれば、そのままステップS4の処理を終了する。一方、位置ずれがあると判定されれば、第2の検出部122が、車載カメラ21〜24で撮影された撮影画像内の第2のROI中の特徴点の動きを検出する(ステップS43)。 If it is determined that there is no misalignment, the process of step S4 is terminated as it is. On the other hand, if it is determined that there is a misalignment, the second detection unit 122 detects the movement of the feature point in the second ROI in the captured image captured by the vehicle-mounted cameras 21 to 24 (step S43). ..

ステップS43に続くステップS44において、カメラずれ方向検出部124が、第2の検出部122の検出結果に基づいて車載カメラ21〜24の位置ずれ方向を検出し、その後、ステップS4の処理を終了する。 In step S44 following step S43, the camera shift direction detection unit 124 detects the position shift direction of the vehicle-mounted cameras 21 to 24 based on the detection result of the second detection unit 122, and then ends the process of step S4. ..

上述した図5に示すフローチャートでは、判定部123によって位置ずれが無いと判定されているときに、言い換えれば、第2の検出部122による第2のROI中の特徴点の動きの検出が不要なときに、第2の検出部122が第2のROI中の特徴点の動きを検出しない。これにより、カメラずれ検出装置1の処理負荷を軽くすることができる。 In the flowchart shown in FIG. 5 described above, when it is determined by the determination unit 123 that there is no positional deviation, in other words, it is not necessary for the second detection unit 122 to detect the movement of the feature point in the second ROI. Occasionally, the second detection unit 122 does not detect the movement of the feature point in the second ROI. As a result, the processing load of the camera misalignment detection device 1 can be reduced.

車載カメラ21〜24の位置ずれは非常に稀にしか起こらない。このため、第2の検出部122による第2のROI中の特徴点の動きの検出が不要なときに、第2の検出部122が第2のROI中の特徴点の動きを検出しないことによる処理負荷の軽減効果は、非常に大きい。 The misalignment of the vehicle-mounted cameras 21 to 24 occurs very rarely. Therefore, when it is not necessary for the second detection unit 122 to detect the movement of the feature point in the second ROI, the second detection unit 122 does not detect the movement of the feature point in the second ROI. The effect of reducing the processing load is very large.

また、上述した図5に示すフローチャートでは、判定部123によって位置ずれがあると判定されているときに、第2の検出部122が第1のROIに含まれる第1のROIより小さい第2のROI中の特徴点の動きを検出する。第1のROI中の特徴点の動きの検出結果からはカメラの位置ずれの方向が検出し難い場合があるが、そのような場合でも第2のROI中の特徴点の動きの検出結果からカメラの位置ずれの方向を精度良く検出することができる。 Further, in the flowchart shown in FIG. 5 described above, when the determination unit 123 determines that there is a positional deviation, the second detection unit 122 is smaller than the first ROI included in the first ROI. Detects the movement of feature points in the ROI. It may be difficult to detect the direction of the displacement of the camera from the detection result of the movement of the feature point in the first ROI, but even in such a case, the camera is detected from the detection result of the movement of the feature point in the second ROI. The direction of the misalignment of the camera can be detected with high accuracy.

例えば図6に示すように第1のROI5を設定した場合、特徴点が第1のROI5全体にほぼ均一に分布していると、カメラの位置ずれの方向にPAN方向やROLL方向が含まれていても、第1のROI5の左半分に位置する特徴点の動きと第1のROI5の右半分に位置する特徴点の動きとが打ち消しあってヒストグラムでの平均値が小さくなってしまう。 For example, when the first ROI 5 is set as shown in FIG. 6, if the feature points are distributed almost uniformly over the entire first ROI 5, the PAN direction and the ROLL direction are included in the direction of the camera misalignment. However, the movement of the feature point located in the left half of the first ROI5 and the movement of the feature point located in the right half of the first ROI5 cancel each other out, and the average value in the histogram becomes small.

したがって、例えば図7に示すように撮影画像の左側領域に第2のROI61を設定し、撮影画像の右側領域に第2のROI62を設定した場合、第2のROI61の特徴点の動きの平均値と第2のROI62の特徴点の動きの平均とによって、カメラの位置ずれの方向に含まれ得るPAN方向やROLL方向を精度良く検出することできる。 Therefore, for example, when the second ROI 61 is set in the left region of the captured image and the second ROI 62 is set in the right region of the captured image as shown in FIG. 7, the average value of the movements of the feature points of the second ROI 61 is set. And the average of the movements of the feature points of the second ROI 62, it is possible to accurately detect the PAN direction and the ROLL direction that may be included in the direction of the position shift of the camera.

例えば図6に示すように第1のROI5を設定した場合、特徴点が第1のROI5の上側よりも下側の方に密に分布していると、カメラの位置ずれの方向にTILT方向が含まれていても、ヒストグラムでの平均値が小さくなってしまう。 For example, when the first ROI 5 is set as shown in FIG. 6, if the feature points are densely distributed below the upper side of the first ROI 5, the TILT direction is in the direction of the camera misalignment. Even if it is included, the average value in the histogram becomes small.

したがって、例えば図8に示すように撮影画像の中央領域に第2のROI63を設定した場合、第2のROI63の特徴点の動きの平均値によって、カメラの位置ずれの方向に含まれ得るTILT方向を精度良く検出することできる。 Therefore, for example, when the second ROI63 is set in the central region of the captured image as shown in FIG. 8, the TILT direction that can be included in the direction of the position shift of the camera due to the average value of the movements of the feature points of the second ROI63. Can be detected with high accuracy.

つまり、カメラずれ方向検出部124がPAN方向およびROLL方向のずれ方向を検出するときに用いる第2の検出部122の検出結果と、カメラずれ方向検出部124がTILT方向のずれ方向を検出するときに用いる第2の検出部122の検出結果とを、異なる第2のROIにおける検出によって得ることが望ましい。なお、上述した図8に示すように、第2のROI61及び62と第2のROI63とは一部が重複していてもよい。当然の事ながら、図9に示すように、第2のROI61及び62と第2のROI63とは全く重複していなくてもよい。 That is, when the detection result of the second detection unit 122 used when the camera deviation direction detection unit 124 detects the deviation direction in the PAN direction and the ROLL direction and when the camera deviation direction detection unit 124 detects the deviation direction in the TILT direction. It is desirable to obtain the detection result of the second detection unit 122 used in the above by detection in a different second ROI. As shown in FIG. 8 described above, the second ROIs 61 and 62 and the second ROI 63 may partially overlap. As a matter of course, as shown in FIG. 9, the second ROI 61 and 62 and the second ROI 63 do not have to overlap at all.

また、第2の検出部122は、第1のROI中の特徴点の分布に応じて第2のROIを設定、より詳細には第2のROIの大きさや位置を設定することが望ましい。これにより、第2のROI中に特徴点が含まれていない等の不具合を防止することができる。第2のROIは、予め定められた複数の第2のROI候補の中から第2の検出部122が第1のROI中の特徴点の分布に応じて選択してもよく、第2の検出部122が第1のROI中の特徴点の分布に応じて任意に大きさや位置を決めてもよい。なお、カメラは、必ずしも自動車に搭載される必要はなく、自動車のほか、二輪車、鉄道、船舶等の移動体に用いられるものであればよい。 Further, it is desirable that the second detection unit 122 sets the second ROI according to the distribution of the feature points in the first ROI, and more specifically, sets the size and position of the second ROI. This makes it possible to prevent problems such as the feature points not being included in the second ROI. The second ROI may be selected by the second detection unit 122 from a plurality of predetermined second ROI candidates according to the distribution of feature points in the first ROI, and the second detection unit 122 may be selected. The size and position of the unit 122 may be arbitrarily determined according to the distribution of the feature points in the first ROI. The camera does not necessarily have to be mounted on an automobile, and may be used on a moving body such as a two-wheeled vehicle, a railroad, or a ship, in addition to the automobile.

<4.変形例等>
本明細書中に開示されている種々の技術的特徴は、上記実施形態のほか、その技術的創作の主旨を逸脱しない範囲で種々の変更を加えることが可能である。また、本明細書中に示される複数の実施形態及び変形例は可能な範囲で組み合わせて実施されてよい。
<4. Modification example>
In addition to the above embodiments, the various technical features disclosed herein can be modified in various ways without departing from the spirit of the technical creation. In addition, a plurality of embodiments and modifications shown in the present specification may be combined and implemented to the extent possible.

以上に示した実施形態では、プログラムに従ったCPUの演算処理によってソフトウェア的にマイコンの各種の機能が実現されていると説明したが、これらの機能のうちの少なくとも一部は電気的なハードウェア回路により実現されてもよい。また逆に、ハードウェア回路によって実現されるとした機能のうちの少なくとも一部は、ソフトウェア的に実現されてもよい。 In the embodiment shown above, it has been explained that various functions of the microcomputer are realized by software by the arithmetic processing of the CPU according to the program, but at least a part of these functions is electric hardware. It may be realized by a circuit. On the contrary, at least a part of the functions realized by the hardware circuit may be realized by software.

1 カメラずれ検出装置
21 フロントカメラ(車載カメラ)
22 バックカメラ(車載カメラ)
23 左サイドカメラ(車載カメラ)
24 右サイドカメラ(車載カメラ)
121 第1の検出部
122 第2の検出部
123 判定部
124 カメラずれ方向検出部
1 Camera misalignment detector 21 Front camera (vehicle-mounted camera)
22 Back camera (vehicle-mounted camera)
23 Left side camera (vehicle-mounted camera)
24 Right side camera (vehicle-mounted camera)
121 First detection unit 122 Second detection unit 123 Judgment unit 124 Camera misalignment direction detection unit

Claims (5)

カメラで撮影された撮影画像を取得する取得部と、
前記撮影画像内の第1の検出領域中の特徴点の動きを検出する第1の検出部と、
前記第1の検出領域に含まれる前記第1の検出領域より小さい第2の検出領域中の特徴点の動きを検出する第2の検出部と、
前記第1の検出部の検出結果に基づいて前記カメラの位置ずれの有無を判定する判定部と、
前記判定部によって前記カメラの位置ずれがあると判定された場合に、前記第2の検出部の検出結果に基づいて前記カメラの位置ずれ方向を検出するカメラずれ方向検出部と、
を備える、カメラずれ検出装置。
The acquisition unit that acquires the captured image taken by the camera,
A first detection unit that detects the movement of a feature point in the first detection area in the captured image, and a first detection unit.
A second detection unit that detects the movement of a feature point in a second detection area smaller than the first detection area included in the first detection area, and a second detection unit.
A determination unit that determines whether or not the camera is misaligned based on the detection result of the first detection unit.
When the determination unit determines that the camera is misaligned, the camera misalignment direction detection unit that detects the misalignment direction of the camera based on the detection result of the second detection unit, and the camera misalignment direction detection unit.
A camera misalignment detection device.
前記判定部によって前記カメラの位置ずれがないと判定された場合に、前記第2の検出部は前記第2の検出領域中の特徴点の動きを検出しない、請求項1に記載のカメラずれ検出装置。 The camera misalignment detection according to claim 1, wherein the second detection unit does not detect the movement of the feature point in the second detection region when the determination unit determines that there is no misalignment of the camera. Device. 前記第2の検出部は、前記第2の検出領域を複数設定し、
前記カメラずれ方向検出部がPAN方向およびROLL方向のずれ方向を検出するときに用いる前記第2の検出部の検出結果と、
前記カメラずれ方向検出部がTILT方向のずれ方向を検出するときに用いる前記第2の検出部の検出結果とが、異なる前記第2の検出領域における検出によって得られる、請求項1又は請求項2に記載のカメラずれ検出装置。
The second detection unit sets a plurality of the second detection areas, and sets the second detection area.
The detection result of the second detection unit used when the camera deviation direction detection unit detects the deviation direction in the PAN direction and the ROLL direction, and
Claim 1 or claim 2 that the detection result of the second detection unit used when the camera deviation direction detection unit detects the deviation direction in the TILT direction is obtained by detection in the second detection region different from that of the second detection unit. The camera misalignment detection device described in.
前記第2の検出部は、前記第1の検出領域中の特徴点の分布に応じて前記第2の検出領域を設定する、請求項1〜3のいずれか一項に記載のカメラずれ検出装置。 The camera deviation detection device according to any one of claims 1 to 3, wherein the second detection unit sets the second detection area according to the distribution of feature points in the first detection area. .. カメラで撮影された撮影画像を取得する取得工程と、
前記撮影画像内の第1の検出領域中の特徴点の動きを検出する第1の検出工程と、
前記第1の検出領域に含まれる前記第1の検出領域より小さい第2の検出領域中の特徴点の動きを検出する第2の検出工程と、
前記第1の検出工程の検出結果に基づいて前記カメラの位置ずれの有無を判定する判定工程と、
前記判定工程によって前記カメラの位置ずれがあると判定された場合に、前記第2の検出工程の検出結果に基づいて前記カメラの位置ずれ方向を検出するカメラずれ方向検出工程と、
を備える、カメラずれ検出方法。
The acquisition process to acquire the captured image taken by the camera,
A first detection step of detecting the movement of a feature point in the first detection region in the captured image, and a first detection step.
A second detection step of detecting the movement of a feature point in a second detection area smaller than the first detection area included in the first detection area, and a second detection step.
A determination step of determining whether or not the camera is displaced based on the detection result of the first detection step, and a determination step.
A camera misalignment direction detection step of detecting the misalignment direction of the camera based on the detection result of the second detection step when it is determined by the determination step that there is a misalignment of the camera.
A camera misalignment detection method.
JP2018009773A 2018-01-24 2018-01-24 Camera misalignment detection device and camera misalignment detection method Active JP6974192B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018009773A JP6974192B2 (en) 2018-01-24 2018-01-24 Camera misalignment detection device and camera misalignment detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018009773A JP6974192B2 (en) 2018-01-24 2018-01-24 Camera misalignment detection device and camera misalignment detection method

Publications (2)

Publication Number Publication Date
JP2019129403A JP2019129403A (en) 2019-08-01
JP6974192B2 true JP6974192B2 (en) 2021-12-01

Family

ID=67472425

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018009773A Active JP6974192B2 (en) 2018-01-24 2018-01-24 Camera misalignment detection device and camera misalignment detection method

Country Status (1)

Country Link
JP (1) JP6974192B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7297595B2 (en) * 2019-08-23 2023-06-26 株式会社デンソーテン Posture estimation device, anomaly detection device, correction device, and posture estimation method
CN114092557B (en) * 2021-11-24 2025-06-27 航天信息股份有限公司 Camera position determination method, device, security system and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4820221B2 (en) * 2006-06-29 2011-11-24 日立オートモティブシステムズ株式会社 Car camera calibration device and program
JP2017158142A (en) * 2016-03-04 2017-09-07 株式会社デンソー Calibration device

Also Published As

Publication number Publication date
JP2019129403A (en) 2019-08-01

Similar Documents

Publication Publication Date Title
CN102549631B (en) Surveillance device around the vehicle
JP3820342B2 (en) In-vehicle imaging device
JP4130435B2 (en) Abnormality detection device for imaging device
CN109421453B (en) Trailer reverse assist system with predictive hitch angle function
JP2001028056A (en) Stereoscopic outside vehicle monitoring device having fail safe function
JP7096053B2 (en) Methods and equipment for calibrating the vehicle camera of the vehicle
JP3600378B2 (en) Vehicle external recognition device
WO2015029443A1 (en) Turning angle correction method, turning angle correction device, image-capturing device, and turning angle correction system
JP2006157739A (en) Abnormality detection device for imaging device
JP2018160732A (en) Image processing apparatus, camera deviation determination system, and image processing method
JP7270499B2 (en) Abnormality detection device, abnormality detection method, posture estimation device, and mobile body control system
JP7256734B2 (en) Posture estimation device, anomaly detection device, correction device, and posture estimation method
JP2020198074A (en) Posture estimation device, abnormality detection device, correction device, and posture estimation method
JP2019191807A (en) Abnormality detection device and abnormality detection method
JP6450530B2 (en) In-vehicle camera mounting angle adjustment processing, mounting angle detection device
JP6974192B2 (en) Camera misalignment detection device and camera misalignment detection method
JP6015276B2 (en) Camera mounting error correction apparatus and camera mounting error correction method
KR20160050439A (en) Method for adjusting output video of rear camera for vehicles
JP6981881B2 (en) Camera misalignment detection device and camera misalignment detection method
JP2018101898A (en) Image processing apparatus and image processing method
JP7009209B2 (en) Camera misalignment detection device, camera misalignment detection method and abnormality detection device
JP6941949B2 (en) Vehicle image display device
KR102473404B1 (en) Apparatus for providing top view
JP4040620B2 (en) Vehicle periphery monitoring device
JP2011180962A (en) Drive assist device, drive assist method and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20201222

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20211013

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: 20211019

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20211104

R150 Certificate of patent or registration of utility model

Ref document number: 6974192

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250