JP2020031311A - Method for setting in-vehicle camera and in-vehicle system - Google Patents

Method for setting in-vehicle camera and in-vehicle system Download PDF

Info

Publication number
JP2020031311A
JP2020031311A JP2018155268A JP2018155268A JP2020031311A JP 2020031311 A JP2020031311 A JP 2020031311A JP 2018155268 A JP2018155268 A JP 2018155268A JP 2018155268 A JP2018155268 A JP 2018155268A JP 2020031311 A JP2020031311 A JP 2020031311A
Authority
JP
Japan
Prior art keywords
camera
vehicle
image
setting
lens distortion
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.)
Granted
Application number
JP2018155268A
Other languages
Japanese (ja)
Other versions
JP7084253B2 (en
Inventor
啓之 大石
Hiroyuki Oishi
啓之 大石
裕一 小林
Yuichi Kobayashi
裕一 小林
剛宙 青地
Takemichi Aochi
剛宙 青地
広行 薮崎
Hiroyuki Yabusaki
広行 薮崎
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.)
Yazaki Energy System Corp
Original Assignee
Yazaki Energy System Corp
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 Yazaki Energy System Corp filed Critical Yazaki Energy System Corp
Priority to JP2018155268A priority Critical patent/JP7084253B2/en
Publication of JP2020031311A publication Critical patent/JP2020031311A/en
Application granted granted Critical
Publication of JP7084253B2 publication Critical patent/JP7084253B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

To provide a method for setting an in-vehicle camera and an in-vehicle system, capable of preventing the malfunction of a recognition function due to a camera setting error.SOLUTION: There is provided a setting method for setting, in a drive recorder 10 mounted on a vehicle and having an image recognition function, a lens distortion type (lens distortion table) to recognize an image of a camera that is mounted on the vehicle and connected to the drive recorder 10. The setting method includes: when the camera is connected to the drive recorder 10, detecting the presence or absence of a vignetting for at least two corners among four corners of an image output from the camera (S4); when the vignetting is present at least at the two corners, determining that the camera is a camera having 180 degree field of view (S5); and selecting a lens distortion type (lens distortion table) corresponding to the camera having 180 degree field of view from among a plurality of lens distortion types (lens distortion tables) determined for each camera type, and setting, in the drive recorder 10, as the lens distortion type (lens distortion table) of the camera (S7).SELECTED DRAWING: Figure 2

Description

本発明は、車両に搭載され、車両に取り付けられたカメラが接続された車載器において、カメラが出力した画像に対する画像認識を行う技術に関する。   The present invention relates to a technology for performing image recognition on an image output by a camera in an on-vehicle device mounted on a vehicle and connected to a camera mounted on the vehicle.

車両に取り付けられたカメラで車両の前方や後方を撮影し、撮影した画像を自動的に記録する車載器として、ドライブレコーダやデジタルタコグラフ(運行記録計)などが知られている。また、この種の車載器において、記録した画像に対して画像処理を行うものもある(例えば、特許文献1および特許文献2参照。)。特許文献1に記載された車載用画像処理装置は、車両前方の映像と車両周辺の映像とを1フレームの画面内に同時に撮像するカメラを備え、車両の速度に応じて、車両前方の映像領域および/又は車両周辺の映像領域に画像処理を行う。また、特許文献2に記載された車両用周辺監視装置は、車両周辺の情景を撮影した広域撮影データを、車両内の表示装置に表示させるための広域表示データに変換する処理と、広域撮影データの中の一部領域を拡大して表示させるための拡大表示データに変換する処理と、を実施可能であり、拡大して表示される一部領域の面積を変化させながら広域表示データと拡大表示データとを切り替えて表示する。   BACKGROUND ART Drive recorders, digital tachographs (operation recorders), and the like are known as in-vehicle devices that photograph the front and rear of a vehicle with a camera attached to the vehicle and automatically record the photographed images. In addition, in this type of vehicle-mounted device, there is a device that performs image processing on a recorded image (for example, see Patent Literature 1 and Patent Literature 2). The on-vehicle image processing device described in Patent Literature 1 includes a camera that simultaneously captures an image in front of the vehicle and an image around the vehicle in a screen of one frame, and an image area in front of the vehicle according to the speed of the vehicle. And / or perform image processing on a video area around the vehicle. Further, the vehicle periphery monitoring device described in Patent Document 2 converts a wide-area photographing data of a scene around the vehicle into wide-area display data to be displayed on a display device in the vehicle, and a wide-area photographing data. A process of converting a part of the area into enlarged display data to be enlarged and displayed, and changing the area of the part of the area that is enlarged and displayed, and displaying the wide area data and the enlarged display. Switch between data and display.

ところで、車両に取り付けられたカメラで撮影した画像を使用した画像認識によって、移動体検出や白線検出等を行い、運転を支援する技術が提案されている。一般的に、カメラから移動体や白線といった認識対象までの距離を計測する場合、画面(画像)上の座標を距離に換算する。この距離の算出に際しては、カメラの「画素数・画角・レンズの歪係数」といった内部パラメータ、および、カメラの「取付位置・取付姿勢」といった外部パラメータを考える必要がある。内部パラメータは、カメラ種類ごとに固有の固定値を持つが、外部パラメータは、カメラを車両に取り付けた後に計測して設定する必要がある。   By the way, there has been proposed a technique for assisting driving by detecting a moving object, detecting a white line, and the like by image recognition using an image captured by a camera mounted on a vehicle. Generally, when measuring the distance from a camera to a recognition target such as a moving object or a white line, coordinates on a screen (image) are converted into the distance. When calculating this distance, it is necessary to consider internal parameters such as “number of pixels, angle of view, and lens distortion coefficient” of the camera and external parameters such as “mounting position / mounting posture” of the camera. The internal parameters have fixed values unique to each camera type, but the external parameters need to be measured and set after the camera is mounted on the vehicle.

特開2015−103894号公報JP-A-2015-103894 特開2008−301091号公報JP 2008-301091 A

車載器において、後付けしたカメラの画像を使用した認識機能を実現しようとする場合、カメラの取付設定を行う設定者がカメラ種類の設定を間違うと、外部パラメータの設定も正しく反映されず、正しく認識できない。結果として、認識性能に大きく影響し、不具合の原因となる。   In the on-board unit, if the recognition function using the image of the retrofitted camera is to be realized, if the person who sets the camera installation makes a mistake in the setting of the camera type, the setting of the external parameter will not be correctly reflected and the recognition will be performed correctly. Can not. As a result, it greatly affects the recognition performance and causes a problem.

本発明は、上述した事情に鑑みてなされたものであり、その目的は、カメラの設定ミスによる認識機能の不具合を防止できる車載カメラ設定方法および車載システムを提供することにある。   The present invention has been made in view of the above circumstances, and an object of the present invention is to provide an in-vehicle camera setting method and an in-vehicle system that can prevent a failure in a recognition function due to a camera setting error.

前述した目的を達成するために、本発明に係る車載カメラ設定方法および車載システムは、下記(1)〜(6)を特徴としている。
(1) 車両に搭載され画像認識機能を有する車載器に、前記車両に取り付けられ前記車載器に接続されたカメラの画像を認識するためのパラメータを設定する設定方法であって、
前記カメラとして、少なくとも第一カメラおよび前記第一カメラよりも広角な第二カメラが含まれ、
前記車載器に前記カメラが接続された場合に、前記カメラから出力される画像の四隅のうち少なくとも二か所について、ケラレの有無を検出し、
少なくとも前記二か所に前記ケラレが存在する場合、前記カメラが前記第二カメラであると判別し、
カメラ種類ごとに定められた複数のパラメータのうち、前記第二カメラに対応するパラメータを選択して、前記カメラの前記パラメータとして前記車載器に設定する、
ことを特徴とする車載カメラ設定方法。
In order to achieve the above object, a vehicle-mounted camera setting method and a vehicle-mounted system according to the present invention are characterized by the following (1) to (6).
(1) A setting method for setting a parameter for recognizing an image of a camera attached to the vehicle and connected to the on-vehicle device in an on-vehicle device having an image recognition function mounted on the vehicle,
The camera includes at least a first camera and a second camera wider in angle than the first camera,
When the camera is connected to the vehicle-mounted device, at least two of the four corners of the image output from the camera, to detect the presence or absence of vignetting,
If the vignetting exists at least in the two places, determine that the camera is the second camera,
Among a plurality of parameters determined for each camera type, a parameter corresponding to the second camera is selected and set as the parameter of the camera in the vehicle-mounted device.
An in-vehicle camera setting method characterized in that:

(2) 前記車載器に設けられた複数の入力端子に複数の前記カメラが接続可能であり、
前記複数の入力端子のいずれに接続されたカメラが前記第二カメラであるか判別する、
ことを特徴とする、上記(1)の構成の車載カメラ設定方法。
(2) a plurality of cameras can be connected to a plurality of input terminals provided on the on-vehicle device;
Determine which of the plurality of input terminals is the camera connected to the second camera,
An in-vehicle camera setting method according to the above (1), characterized in that:

(3) 前記第二カメラは、180度の画角を有する180度カメラであり、
前記パラメータは、レンズ歪式又はレンズ歪テーブルである、
ことを特徴とする、上記(1)又は(2)の構成の車載カメラ設定方法。
(3) The second camera is a 180-degree camera having a 180-degree angle of view,
The parameter is a lens distortion type or a lens distortion table,
An in-vehicle camera setting method according to the above (1) or (2), characterized in that:

(4) 車両に搭載され画像認識機能を有する車載器に、前記車両に取り付けられ前記車載器に接続されたカメラの画像を認識するためのパラメータを設定する車載システムであって、
前記車両に取り付けられる、少なくとも第一カメラおよび前記第一カメラよりも広角な第二カメラを含む、複数のカメラと、
前記車載器に設けられ、前記複数のカメラにそれぞれ接続可能な複数の入力端子と、
前記複数の入力端子のいずれかを介して所定のカメラから出力される画像の四隅のうち少なくとも二か所について、ケラレの有無を検出し、少なくとも前記二か所に前記ケラレが存在する場合、前記所定のカメラが前記第二カメラであることおよび前記複数の入力端子のうちいずれに前記第二カメラが接続されているかを判別する、カメラ判別部と、
カメラ種類ごとに定められた複数のパラメータのうち、前記第二カメラに対応するパラメータを選択して、前記所定のカメラの前記パラメータとして前記車載器に設定する、カメラ設定部と、
を備えることを特徴とする車載システム。
(4) An in-vehicle system for setting parameters for recognizing an image of a camera attached to the vehicle and connected to the on-vehicle device in an on-vehicle device having an image recognition function mounted on the vehicle,
A plurality of cameras attached to the vehicle, including at least a first camera and a second camera wider in angle than the first camera,
A plurality of input terminals provided on the on-vehicle device and connectable to the plurality of cameras, respectively.
For at least two of the four corners of the image output from the predetermined camera through any of the plurality of input terminals, the presence or absence of vignetting is detected, and if the vignetting exists at least in the two places, A camera determination unit that determines whether the predetermined camera is the second camera and to which of the plurality of input terminals the second camera is connected,
From among a plurality of parameters determined for each camera type, a parameter corresponding to the second camera is selected and set as the parameter of the predetermined camera in the vehicle-mounted device, a camera setting unit,
An in-vehicle system comprising:

(5) 前記第二カメラは、180度の画角を有する180度カメラであり、
前記パラメータは、レンズ歪式又はレンズ歪テーブルである、
ことを特徴とする、上記(4)の構成の車載システム。
(5) The second camera is a 180-degree camera having a 180-degree angle of view,
The parameter is a lens distortion type or a lens distortion table,
An in-vehicle system according to the above (4), characterized in that:

(6) 前記所定のカメラから前記所定のカメラが撮影した認識対象までの距離を計測する距離計測部を備える、
ことを特徴とする上記(4)又は(5)の構成の車載システム。
(6) a distance measurement unit that measures a distance from the predetermined camera to a recognition target captured by the predetermined camera;
An in-vehicle system according to the above (4) or (5), characterized in that:

上記(1)の構成の車載カメラ設定方法によれば、画像の四隅のうち少なくとも二か所にケラレがあれば、自動で、180度カメラ等の広角な第二カメラであると判別され、第二カメラ用のパラメータがセットされる。よって、設定者の負担を軽減でき、かつ、カメラ種類の設定ミスによる画像認識機能の不具合を防止できる。   According to the in-vehicle camera setting method of the above configuration (1), if there is vignetting in at least two of the four corners of the image, it is automatically determined to be a wide-angle second camera such as a 180-degree camera. The parameters for the two cameras are set. Therefore, the burden on the setter can be reduced, and the malfunction of the image recognition function due to an incorrect setting of the camera type can be prevented.

上記(2)の構成の車載カメラ設定方法によれば、複数の入力端子に1又は複数のカメラが接続された場合であっても、180度カメラ等の広角な第二カメラについて、専用のパラメータを設定できる。   According to the in-vehicle camera setting method of the above configuration (2), even when one or a plurality of cameras are connected to a plurality of input terminals, a dedicated parameter is set for a wide-angle second camera such as a 180-degree camera. Can be set.

上記(3)の構成の車載カメラ設定方法によれば、180度の画角を有する180度カメラの場合、レンズ歪式又はレンズ歪テーブルが狭角カメラ用の場合と大きく異なるため、この設定を間違うと、外部パラメータの設定も正しく反映されず、正しく認識できない。結果として、認識性能に大きく影響し、不具合の原因となる。しかし、この構成によれば、自動で180度カメラ用のレンズ歪式又はレンズ歪テーブルが設定されるため、カメラ種類の設定ミスによる画像認識機能の不具合を防止できる。   According to the in-vehicle camera setting method of the above configuration (3), in the case of a 180-degree camera having an angle of view of 180 degrees, the lens distortion type or the lens distortion table is significantly different from that for a narrow-angle camera. If you make a mistake, the settings of the external parameters will not be correctly reflected and cannot be recognized correctly. As a result, it greatly affects the recognition performance and causes a problem. However, according to this configuration, since the lens distortion type or the lens distortion table for the 180-degree camera is automatically set, it is possible to prevent a failure of the image recognition function due to an incorrect setting of the camera type.

上記(4)の構成の車載システムによれば、画像の四隅のうち少なくとも二か所にケラレがあれば、自動で、180度カメラ等の広角な第二カメラであると判別され、第二カメラ用のパラメータがセットされる。よって、設定者の負担を軽減でき、かつ、カメラ種類の設定ミスによる画像認識機能の不具合を防止できる。また、複数の入力端子に1又は複数のカメラが接続された場合であっても、180度カメラ等の広角な第二カメラについて、専用のパラメータを設定できる。尚、車載システムとは、車載器単体がカメラ種類の自動判別設定を行うためのすべての構成を備える場合だけでなく、例えば、一部の構成が車両外部の設定用PCに組み込まれている場合も意味する。   According to the in-vehicle system of the above configuration (4), if there is vignetting in at least two of the four corners of the image, it is automatically determined to be a wide-angle second camera such as a 180-degree camera, and the second camera Is set. Therefore, the burden on the setter can be reduced, and the malfunction of the image recognition function due to an incorrect setting of the camera type can be prevented. Even when one or more cameras are connected to a plurality of input terminals, dedicated parameters can be set for a wide-angle second camera such as a 180-degree camera. In addition, the on-vehicle system means not only the case where the on-vehicle unit itself has all the configurations for performing the automatic discrimination setting of the camera type, but also, for example, the case where some of the configurations are incorporated in the setting PC outside the vehicle. Also means.

上記(5)の構成の車載システムによれば、自動で180度カメラ用のレンズ歪式又はレンズ歪テーブルが設定されるため、カメラ種類の設定ミスによる画像認識機能の不具合を防止できる。   According to the in-vehicle system having the above configuration (5), since the lens distortion type or the lens distortion table for the 180-degree camera is automatically set, it is possible to prevent a failure of the image recognition function due to an incorrect setting of the camera type.

上記(6)の構成の車載システムによれば、カメラ種類の設定ミスによる距離の誤計測を防止できる。   According to the in-vehicle system having the above configuration (6), it is possible to prevent erroneous distance measurement due to a camera type setting error.

本発明によれば、カメラの設定ミスによる認識機能の不具合を防止できる。   ADVANTAGE OF THE INVENTION According to this invention, the malfunction of the recognition function by the setting error of a camera can be prevented.

以上、本発明について簡潔に説明した。更に、以下に説明される発明を実施するための形態(以下、「実施形態」という。)を添付の図面を参照して通読することにより、本発明の詳細は更に明確化されるであろう。   The present invention has been briefly described above. Further, details of the present invention will be further clarified by reading through embodiments for carrying out the invention described below (hereinafter, referred to as “embodiments”) with reference to the accompanying drawings. .

図1は、本実施形態におけるドライブレコーダの構成を示す図である。FIG. 1 is a diagram illustrating a configuration of a drive recorder according to the present embodiment. 図2は、本実施形態における車載カメラの設定方法の流れを示す図である。FIG. 2 is a diagram illustrating a flow of a setting method of the vehicle-mounted camera according to the present embodiment. 図3は、本実施形態における車載カメラ映像のモニタリング画面例を示す図である。FIG. 3 is a diagram illustrating an example of a monitoring screen of an in-vehicle camera image according to the present embodiment. 図4は、本実施形態におけるケラレ判定処理を説明する図である。FIG. 4 is a diagram illustrating the vignetting determination process according to the present embodiment. 図5は、本実施形態における車載カメラの設定画面例を示す図である。FIG. 5 is a diagram illustrating an example of a setting screen of the vehicle-mounted camera according to the present embodiment.

本発明に関する具体的な実施形態について、各図を参照しながら以下に説明する。   Specific embodiments of the present invention will be described below with reference to the drawings.

図1は、本発明の実施形態におけるドライブレコーダ10の構成を示す図である。図1に示したドライブレコーダ10は、車両に搭載されるものであり、マイクロコンピュータ(CPU)11、画像処理部12、通信モジュール13、インタフェース(I/F)14、16、30、GPS受信機15、時計回路17、信号処理部18、加速度センサ19、メモリ(ROM)20、メモリ(RAM)21、カードインタフェース22、メモリーカード23、音声信号処理部24、スピーカ25、マイク26、ドライバ27、表示部28、および操作部29を備えている。また、画像処理部12の入力には複数の車載カメラ31、32が接続され、通信モジュール13にはアンテナ33が接続され、GPS受信機15にはアンテナ34が接続され、インタフェース30には設定用のPC35が例えばUSBケーブルを介して接続されている。   FIG. 1 is a diagram illustrating a configuration of a drive recorder 10 according to an embodiment of the present invention. The drive recorder 10 shown in FIG. 1 is mounted on a vehicle, and includes a microcomputer (CPU) 11, an image processing unit 12, a communication module 13, interfaces (I / F) 14, 16, 30, a GPS receiver. 15, clock circuit 17, signal processing unit 18, acceleration sensor 19, memory (ROM) 20, memory (RAM) 21, card interface 22, memory card 23, audio signal processing unit 24, speaker 25, microphone 26, driver 27, A display unit 28 and an operation unit 29 are provided. Further, a plurality of in-vehicle cameras 31 and 32 are connected to the input of the image processing unit 12, an antenna 33 is connected to the communication module 13, an antenna 34 is connected to the GPS receiver 15, and a setting PC 35 is connected via a USB cable, for example.

マイクロコンピュータ11は、予め組み込まれているプログラムに従って動作し、ドライブレコーダ10に必要とされる各種機能を実現するための処理を実行する。   The microcomputer 11 operates according to a program installed in advance, and executes processing for realizing various functions required for the drive recorder 10.

車載カメラ31および32は、レンズを通して撮像される撮像面に例えば30万画素、100万画素、200万画素が配置されたイメージセンサ(撮像素子)を有する。イメージセンサは、CMOS(相補性金属酸化膜半導体)センサやCCD(電荷結合素子)センサなど公知のセンサで構成されている。車載カメラ31及び32は、ドライブレコーダ10に設けられた入力端子36(1)〜(6)のいずれかに接続される。車載カメラ31は、例えば自車両の進行方向前方に映る路面、先行車両、対向車両、風景等を被写体として撮影できるように車両上に固定されて取り付けられる。また、車載カメラ32は、例えば車室内で自車両を運転する乗務員の様子を撮影できるように車室内に固定するか、あるいは自車両の後方の風景等を撮影できるように車両上に固定されて取り付けられる。車載カメラ31および32の種類は、用途に応じて、数種類のカメラから選択される。数種類のカメラのそれぞれに関する、画素数・カメラ画角・レンズの歪係数といった内部パラメータは、設定用のソフトウェアとともにPC35内の記憶部に格納される。車載カメラ31および32のいずれかに、画角が180度である180度カメラ(第二カメラ)を使用する場合、画角が80〜160度等の他のカメラ(第一カメラ)とは内部パラメータが大きく異なるため、後述する画像処理部12によって実行される画像認識機能の設定作業において、カメラ種類を切り替える必要がある。180度カメラ専用の認識機能を使用する際、PC35に格納される設定用のソフトウェアによって180度カメラ用の内部パラメータ(画像を認識するためのパラメータ)を呼び出してドライブレコーダ10に設定する。PC35の設定画面上では、PC35に接続された車載カメラ31または32から出力された映像をリアルタイムで確認できる。また、設定用のソフトウェアはPC35でなされた設定をドライブレコーダ10に送信できる。すなわち、ドライブレコーダ10およびPC35は、車両に搭載されたドライブレコーダ10において、車両に取り付けられドライブレコーダ10に接続された車載カメラ31,32から出力される画像を用いた画像認識を行う車載システムを構成する。なお、ドライブレコーダ10に接続する車載カメラの数は1つでもよいし、3以上に増やしてもよい。また、画像認識機能の設定作業では、カメラ種類を切り替える際、いずれの種類のカメラを、移動体検知、白線検出、前方車両認識、道路標示認識等、どのような画像認識に使用するかを設定できる。   Each of the on-vehicle cameras 31 and 32 has an image sensor (imaging element) in which, for example, 300,000, 1,000,000, and 2,000,000 pixels are arranged on an imaging surface which is imaged through a lens. The image sensor is constituted by a known sensor such as a CMOS (complementary metal oxide semiconductor) sensor and a CCD (charge coupled device) sensor. The in-vehicle cameras 31 and 32 are connected to any of the input terminals 36 (1) to (6) provided on the drive recorder 10. The on-vehicle camera 31 is fixedly mounted on the vehicle so that, for example, a road surface, a preceding vehicle, an oncoming vehicle, a landscape, and the like, which are projected ahead in the traveling direction of the own vehicle, can be photographed as subjects. The in-vehicle camera 32 is fixed in the cabin so that, for example, a crew driving the own vehicle can be photographed in the cabin, or fixed on the vehicle so as to be able to photograph the scenery behind the own vehicle. It is attached. The types of the in-vehicle cameras 31 and 32 are selected from several types of cameras depending on the application. Internal parameters such as the number of pixels, the angle of view of the camera, and the distortion coefficient of the lens for each of the several types of cameras are stored in a storage unit in the PC 35 together with setting software. When a 180-degree camera (second camera) having an angle of view of 180 degrees is used as one of the on-vehicle cameras 31 and 32, the other camera (first camera) having an angle of view of 80 to 160 degrees is internal. Since the parameters are greatly different, it is necessary to switch the camera type in the setting operation of the image recognition function executed by the image processing unit 12 described later. When using the recognition function dedicated to the 180-degree camera, internal parameters (parameters for recognizing an image) for the 180-degree camera are called by setting software stored in the PC 35 and set in the drive recorder 10. On the setting screen of the PC 35, the video output from the in-vehicle camera 31 or 32 connected to the PC 35 can be confirmed in real time. Further, the setting software can transmit the setting made by the PC 35 to the drive recorder 10. In other words, the drive recorder 10 and the PC 35 provide an in-vehicle system that performs image recognition using images output from the in-vehicle cameras 31 and 32 attached to the vehicle and connected to the drive recorder 10 in the drive recorder 10 mounted on the vehicle. Constitute. The number of in-vehicle cameras connected to the drive recorder 10 may be one, or may be increased to three or more. Also, in the setting work of the image recognition function, when switching the camera type, set which type of camera to use for image recognition such as moving object detection, white line detection, front vehicle recognition, road sign recognition, etc. it can.

画像処理部12は、車載カメラ31および32の各々が出力する映像信号を取り込んでデジタル信号に変換し、画像のデータを例えばフレーム単位で生成する。画像処理部12が生成した画像のデータはマイクロコンピュータ11に入力される。   The image processing unit 12 takes in the video signal output from each of the on-vehicle cameras 31 and 32, converts the video signal into a digital signal, and generates image data in, for example, a frame unit. Image data generated by the image processing unit 12 is input to the microcomputer 11.

また、画像処理部12は各画像フレームの内容を解析し画像認識を行い、車載カメラ31,32から車載カメラ31,32が撮影した認識対象までの距離を計測する。画像処理部12は、例えば、画像中の道路の各白線や、自車両の位置を認識することができる。更に、認識した各白線と自車両との位置関係に基づいて自車両の車線逸脱を表す警報を出力することができる。また、画像処理部12は、道路上の交差点を認識したり、道路の進路上に存在する人物などの移動体を含む障害物を認識することができる。   Further, the image processing unit 12 analyzes the content of each image frame to perform image recognition, and measures a distance from the vehicle-mounted cameras 31 and 32 to a recognition target captured by the vehicle-mounted cameras 31 and 32. The image processing unit 12 can recognize, for example, each white line of the road in the image and the position of the own vehicle. Further, it is possible to output an alarm indicating the lane departure of the own vehicle based on the recognized positional relationship between each white line and the own vehicle. Further, the image processing unit 12 can recognize an intersection on a road or an obstacle including a moving object such as a person existing on the road of the road.

通信モジュール13は、アンテナ33を経由して車両外部のデータセンタ等に配置されたサーバとの間でデータ通信するための無線通信機能を提供する。通信モジュール13は、インタフェース14を経由してマイクロコンピュータ11と接続されている。   The communication module 13 provides a wireless communication function for performing data communication with a server disposed in a data center or the like outside the vehicle via the antenna 33. The communication module 13 is connected to the microcomputer 11 via the interface 14.

GPS受信機15は、GPS(Global Positioning System)衛星からの電波をアンテナ34を介して受信し、複数のGPS衛星からの受信信号の時刻に基づいて所定の計算を実施することにより、車両の現在位置を表す緯度/経度の情報を取得できる。GPS受信機15は、インタフェース16を経由してマイクロコンピュータ11と接続されている。   The GPS receiver 15 receives a radio wave from a GPS (Global Positioning System) satellite via the antenna 34, and performs a predetermined calculation based on the times of signals received from a plurality of GPS satellites, thereby obtaining the current vehicle position. Information on latitude / longitude representing the position can be obtained. The GPS receiver 15 is connected to the microcomputer 11 via the interface 16.

時計回路17は、周期が一定のクロックパルス信号を常時計数しており、現在の日付および時刻に関する情報を必要に応じて出力することができる。また、経過時間などを計数するためのタイマー機能も時計回路17に備わっている。マイクロコンピュータ11は、時計回路17を制御することにより、現在の日付および時刻の情報を取得したり、経過時間などの情報を取得できる。   The clock circuit 17 constantly counts clock pulse signals having a constant cycle, and can output information on the current date and time as needed. The clock circuit 17 also has a timer function for counting elapsed time and the like. By controlling the clock circuit 17, the microcomputer 11 can obtain information on the current date and time, and can obtain information such as elapsed time.

信号処理部18は、車両側から出力される車速パルス信号SG1、ブレーキ信号SG2、ウインカー信号SG3、およびバック信号SG4のそれぞれを、マイクロコンピュータ11の処理に適した信号に変換する。   The signal processing unit 18 converts each of the vehicle speed pulse signal SG 1, the brake signal SG 2, the turn signal signal SG 3, and the back signal SG 4 output from the vehicle into a signal suitable for processing by the microcomputer 11.

車速パルス信号SG1に現れる各パルスは、例えばトランスミッションの出力軸が所定量回動したことを表す。したがって、マイクロコンピュータ11は車速パルス信号SG1のパルス数やパルス周期に基づいて、自車両の走行距離や走行速度を算出できる。   Each pulse appearing in the vehicle speed pulse signal SG1 indicates, for example, that the output shaft of the transmission has rotated a predetermined amount. Therefore, the microcomputer 11 can calculate the traveling distance and the traveling speed of the own vehicle based on the pulse number and the pulse period of the vehicle speed pulse signal SG1.

ブレーキ信号SG2は、ストップランプのオンオフを表す二値信号である。ウインカー信号SG3は、左右それぞれの方向指示器(ウインカー)の動作のオンオフを表す二値信号である。バック信号SG4は、自車両のトランスミッションの接続状態が後退する状態であるか否かを表す二値信号である。   The brake signal SG2 is a binary signal indicating on / off of the stop lamp. The turn signal SG3 is a binary signal indicating ON / OFF of the operation of each of the right and left direction indicators (turn signals). The back signal SG4 is a binary signal indicating whether or not the connection state of the transmission of the host vehicle is in a reverse state.

加速度センサ19は、交通事故などの異常な状況において自車両に加わる前後方向や左右方向の非常に大きな加速度を検出するために利用される。   The acceleration sensor 19 is used to detect an extremely large acceleration in the front-rear direction or the left-right direction applied to the host vehicle in an abnormal situation such as a traffic accident.

メモリ(ROM)20は、マイクロコンピュータ11によって実行される動作プログラム等を格納する。メモリ20は、EEPROM(登録商標)など書き換え可能なメモリにより構成されると好適である。メモリ(RAM)21は、マイクロコンピュータ11のアクセスにより、データの書き込みおよび読み出しを自在に行うことができる。メモリ(RAM)21上の記憶領域は、様々なデータを一時的に格納するために利用される。   The memory (ROM) 20 stores an operation program executed by the microcomputer 11 and the like. The memory 20 is preferably constituted by a rewritable memory such as an EEPROM (registered trademark). The memory (RAM) 21 can freely write and read data by accessing the microcomputer 11. The storage area on the memory (RAM) 21 is used for temporarily storing various data.

メモリーカード23は、比較的記憶容量の大きい不揮発性メモリを内蔵している。このメモリーカード23は、カードインタフェース22のスロットに装着することにより、マイクロコンピュータ11と接続することができる。マイクロコンピュータ11は、画像処理部12から入力される画像のデータ(録画映像)や、信号処理部18から入力される車両の運行に関する運行記録のデータや、音声信号処理部24から入力される音声等のデータを、メモリーカード23上に順次に書き込み、記録することができる。   The memory card 23 has a built-in nonvolatile memory having a relatively large storage capacity. The memory card 23 can be connected to the microcomputer 11 by being inserted into a slot of the card interface 22. The microcomputer 11 includes image data (recorded video) input from the image processing unit 12, operation record data related to the operation of the vehicle input from the signal processing unit 18, and audio input from the audio signal processing unit 24. And the like can be sequentially written and recorded on the memory card 23.

本実施形態では、マイクロコンピュータ11が画像のデータをメモリーカード23に書き込む際のフレームレート(画像フレーム数/秒)は、2種類又はそれ以上の中から選択することが可能であり、状況に応じてマイクロコンピュータ11がフレームレートを自動的に切り替える。フレームレートを大きくすれば高品質の画像記録が可能になり、フレームレートを小さくすれば長時間の画像記録が可能になる。   In the present embodiment, the frame rate (the number of image frames / second) at which the microcomputer 11 writes image data to the memory card 23 can be selected from two or more types. The microcomputer 11 automatically switches the frame rate. Increasing the frame rate enables high-quality image recording, while reducing the frame rate enables long-time image recording.

音声信号処理部24は、案内や警報などに関する様々なメッセージを表す疑似音声信号を生成してこの信号を増幅し、スピーカ25から音声として出力するための音声出力機能を備えている。また、マイク26から入力される音声などの電気信号をデジタル信号に変換してマイクロコンピュータ11に出力するための音声入力機能も備えている。   The voice signal processing unit 24 has a voice output function for generating a pseudo voice signal indicating various messages related to guidance and warning, amplifying the signal, and outputting the amplified signal as voice from the speaker 25. The microcomputer 11 also has a voice input function for converting an electric signal such as a voice input from the microphone 26 into a digital signal and outputting the digital signal to the microcomputer 11.

表示部28は、液晶などの表示デバイスにより構成されており、文字や数字などの可視情報を表示する機能を備えている。マイクロコンピュータ11は、ドライバ27を介して表示部28を制御し、表示部28の表示内容を必要に応じて変更できる。   The display unit 28 is configured by a display device such as a liquid crystal, and has a function of displaying visible information such as characters and numerals. The microcomputer 11 controls the display unit 28 via the driver 27, and can change the display content of the display unit 28 as needed.

操作部29は、運転者が操作可能な複数のボタンのそれぞれの操作状態に応じてオンオフする複数のスイッチを内蔵している。マイクロコンピュータ11は、操作部29内の各スイッチの状態を読み取ることにより、ボタン操作の有無を識別すると共に、操作されたボタンを特定することができる。   The operation unit 29 includes a plurality of switches that are turned on and off according to the operation states of the plurality of buttons that can be operated by the driver. By reading the state of each switch in the operation unit 29, the microcomputer 11 can identify the presence or absence of a button operation and can specify the operated button.

次に、図2〜図5を参照して、車載カメラ31として画角が180度となる180度カメラを使用する場合において、車載カメラ31の設定を行う方法について説明する。   Next, a method of setting the on-vehicle camera 31 when using a 180-degree camera having an angle of view of 180 degrees as the on-vehicle camera 31 will be described with reference to FIGS.

図2は、車載カメラ31の設定方法の流れを示す図である。車載カメラ31の取付設定を行う設定者が車両に車載カメラ31を取り付けた後、設定作業が開始される(S1)。PC35とドライブレコーダ10(車載器)とが接続されると(S2)、車載カメラ31から出力される映像が、PC35に格納された設定用のソフトウェアへ取り込まれる(S3)。S3で取り込まれた画像は、PC35において、図3に示すカメラ映像のモニタリング画面で確認することができる。カメラ映像のモニタリング画面は、カメラの取付時に、カメラの接続状態や、カメラ映像の見え方を確認するための画面である。ドライブレコーダ10の入力端子36(1)〜(6)に1又は複数のカメラが接続されていると、右側の子画面1〜6における、入力端子36(1)〜(6)のそれぞれ対応した箇所に、接続したカメラから出力された映像(画像)が表示される。また、右側の子画面1〜6のいずれかを選択すると、選択された子画面に表示されている映像が、中央の大きな画面に拡大表示される。   FIG. 2 is a diagram showing a flow of a setting method of the vehicle-mounted camera 31. After the setter who sets the mounting of the vehicle-mounted camera 31 mounts the vehicle-mounted camera 31 on the vehicle, the setting operation is started (S1). When the PC 35 is connected to the drive recorder 10 (on-vehicle device) (S2), the video output from the on-vehicle camera 31 is loaded into the setting software stored in the PC 35 (S3). The image captured in S3 can be confirmed on the camera video monitoring screen shown in FIG. The camera image monitoring screen is a screen for confirming the connection state of the camera and how the camera image looks when the camera is mounted. When one or a plurality of cameras are connected to the input terminals 36 (1) to (6) of the drive recorder 10, the input terminals 36 (1) to (6) on the right child screens 1 to 6 correspond to the input terminals 36 (1) to (6), respectively. The video (image) output from the connected camera is displayed at the location. When any of the right sub-screens 1 to 6 is selected, the image displayed on the selected sub-screen is enlarged and displayed on a large screen at the center.

ドライブレコーダ10の6つの入力端子36(1)〜(6)のいずれかに車載カメラ31が接続された場合、設定用のソフトウェアは、各入力端子36(1)〜(6)から入力される画像ごとに、車載カメラ31から出力される画像の四隅について、ケラレの有無を判定(検出)する(S4)。図4は、ケラレ判定処理を説明する図である。図4(a)は、画面の横幅のみ180度撮影するカメラの場合における、撮像素子とレンズのイメージサークルとの位置関係を示し、図4(b)は、画面の横幅・縦幅とも180度撮影するカメラの場合における、撮像素子とレンズのイメージサークルとの位置関係を示し、図4(c)は、画面の横幅のみ180度撮影するカメラによる実際の映像(画像)を示す。図2(a)および図2(b)において、矩形領域は撮像素子が配置されている範囲を示し、円形領域はレンズのイメージサークル(撮影可能な範囲)を示す。180度カメラで撮影された画像には、図2(a)〜(c)に示すように、四隅に「ケラレ」という黒い部分がある。カメラ内の撮像素子とレンズとの位置関係等によっては180度カメラ以外のカメラから出力される画像にもケラレが存在しうるが、発明者は、適切に組み付けられた180度カメラであれば、出力画像の四隅のうち少なくとも二か所にケラレが存在することを見出した。したがって、画像の四隅のうち、少なくとも二か所にケラレが存在する場合、180度カメラからの出力画像であると判断できる。図2のステップS4では、設定用のソフトウェアは、画像の四隅それぞれにおいて、一定の範囲R(図4(c)参照)内の輝度値の平均値と最大値を複数回計測する。計測した平均値および最大値がいずれもしきい値以下の場合、一定の範囲R内においてエッジ抽出を行い、エッジとして抽出された画素数がしきい値以下の場合、ケラレが存在すると判定する。   When the vehicle-mounted camera 31 is connected to any of the six input terminals 36 (1) to (6) of the drive recorder 10, setting software is input from each of the input terminals 36 (1) to (6). For each image, the presence or absence of vignetting is determined (detected) at the four corners of the image output from the vehicle-mounted camera 31 (S4). FIG. 4 is a diagram illustrating the vignetting determination process. FIG. 4A shows the positional relationship between the image sensor and the image circle of the lens in the case of a camera that captures only the horizontal width of the screen at 180 degrees, and FIG. 4B shows both the horizontal and vertical widths of the screen at 180 degrees. FIG. 4C shows a positional relationship between an image sensor and an image circle of a lens in the case of a camera that captures an image, and FIG. 4C illustrates an actual image (image) obtained by a camera that captures only the horizontal width of the screen by 180 degrees. In FIG. 2A and FIG. 2B, a rectangular area indicates a range in which an image sensor is arranged, and a circular area indicates an image circle (capturable range) of a lens. As shown in FIGS. 2A to 2C, the image photographed by the 180-degree camera has black portions called “vignetting” at four corners. Vignetting may also be present in images output from cameras other than the 180-degree camera, depending on the positional relationship between the imaging device and the lens in the camera, etc., but if the 180-degree camera is properly assembled, It was found that vignetting was present in at least two of the four corners of the output image. Therefore, if vignetting is present in at least two of the four corners of the image, it can be determined that the image is an output image from a 180-degree camera. In step S4 of FIG. 2, the setting software measures the average value and the maximum value of the luminance values within a certain range R (see FIG. 4C) a plurality of times at each of the four corners of the image. If both the measured average value and the maximum value are equal to or less than the threshold value, an edge is extracted within a certain range R. If the number of pixels extracted as edges is equal to or less than the threshold value, it is determined that vignetting is present.

続いて、設定用のソフトウェアは、画像の四隅のうち、少なくとも二か所にケラレが存在する場合、接続された車載カメラ31の種類が180度カメラであると判定し、ケラレが画像の四隅のうち1か所のみに存在するかいずれにも存在しない場合、接続された車載カメラ31の種類が狭角カメラであると判定する(S5)。カメラ種類が180度カメラである場合(S6でYES)、設定用のソフトウェアは、車載カメラ31の画像を認識するためのパラメータとして、180度カメラ用のレンズ歪式(レンズ歪テーブル)を適用する(S7)。レンズ歪式(レンズ歪テーブル)は、撮像素子の一ドットがカメラ画角の何度に相当するかを示す式(テーブル)である。カメラ種類が180度カメラである場合は、S7で180度カメラ用のレンズ歪式(レンズ歪テーブル)を適用した後、バック移動体検知設定がされていれば、鏡像設定・常時モニタ出力設定(図5参照)を適用する(S9)。一方、カメラ種類が狭角カメラである場合(S6でNO)、設定用のソフトウェアは、車載カメラ31の画像を認識するためのパラメータとして、狭角カメラ用のレンズ歪式(レンズ歪テーブル)を適用して(S8)、設定作業を終了する。   Subsequently, when there is vignetting in at least two of the four corners of the image, the setting software determines that the type of the connected in-vehicle camera 31 is a 180-degree camera, and the vignetting corresponds to the four corners of the image. If only one of them is present or none is present, it is determined that the type of the connected in-vehicle camera 31 is a narrow-angle camera (S5). If the camera type is a 180-degree camera (YES in S6), the setting software applies a lens distortion equation (lens distortion table) for the 180-degree camera as a parameter for recognizing the image of the vehicle-mounted camera 31. (S7). The lens distortion expression (lens distortion table) is an expression (table) indicating how many dots of the image sensor correspond to the camera angle of view. If the camera type is a 180-degree camera, after applying the lens distortion type (lens distortion table) for the 180-degree camera in S7, if the back moving object detection setting is performed, the mirror image setting and the constant monitor output setting ( (See FIG. 5) is applied (S9). On the other hand, when the camera type is a narrow-angle camera (NO in S6), the setting software uses a lens distortion formula (lens distortion table) for the narrow-angle camera as a parameter for recognizing the image of the vehicle-mounted camera 31. Apply (S8) and end the setting work.

図5は、車載カメラ31の設定画面例を示す図である。図5に示すように、PC35の表示部に表示される設定画面では、ドライブレコーダ10のモニタ画面に映すカメラ映像を選択したり、各カメラ1〜6について、画質やフレームレートを設定できる。また、図5に示す設定画面において、例えばカメラ6をバックカメラとして使用する場合、鏡像を表示する設定が可能である。尚、認識機能の設定作業では、カメラ種類の切替に加え、いずれの種類のカメラを、移動体検知、白線検出、前方車両認識、道路標示認識等、どのような画像認識に使用するかを設定できる。   FIG. 5 is a diagram illustrating an example of a setting screen of the vehicle-mounted camera 31. As shown in FIG. 5, on the setting screen displayed on the display unit of the PC 35, a camera image to be displayed on the monitor screen of the drive recorder 10 can be selected, and the image quality and frame rate can be set for each of the cameras 1 to 6. In the setting screen shown in FIG. 5, for example, when the camera 6 is used as a back camera, setting for displaying a mirror image is possible. In the recognition function setting work, in addition to switching the camera type, it is necessary to set which type of camera is to be used for image recognition such as moving object detection, white line detection, front vehicle recognition, and road sign recognition. it can.

以上説明したように、本実施形態によれば、車載カメラ31の設定を行う際、車載カメラ31からの出力画像の四隅のうち二か所以上にケラレが存在する場合には、自動で、カメラ種類が180度カメラであると判別され、180度カメラ用のレンズ歪式(レンズ歪テーブル)が適用される。したがって、設定者の負担を軽減でき、かつ、カメラ種類の設定ミスによる画像認識機能の不具合を防止できる。複数の入力端子36(1)〜(6)のいずれに1又は複数のカメラが接続された場合であっても、各入力端子36(1)〜(6)から入力される画像ごとにケラレ判定処理をおこなうため、いずれの入力端子に接続されたカメラが180度カメラであるか判別することができ、専用のレンズ歪式(レンズ歪テーブル)を設定できる。また、カメラ種類の設定ミスによる距離の誤計測を防止できる。   As described above, according to the present embodiment, when setting the in-vehicle camera 31, if vignetting is present in two or more of the four corners of the output image from the in-vehicle camera 31, the camera is automatically activated. The type is determined to be a 180-degree camera, and a lens distortion type (lens distortion table) for the 180-degree camera is applied. Therefore, the burden on the setter can be reduced, and the malfunction of the image recognition function due to an incorrect setting of the camera type can be prevented. Even if one or more cameras are connected to any of the plurality of input terminals 36 (1) to (6), vignetting determination is performed for each image input from each of the input terminals 36 (1) to (6). In order to perform the processing, it is possible to determine which camera is connected to which input terminal is a 180-degree camera, and a dedicated lens distortion type (lens distortion table) can be set. In addition, it is possible to prevent erroneous distance measurement due to an erroneous setting of the camera type.

ここで、上述した本発明に係る車載カメラ設定方法および車載システムの実施形態の特徴をそれぞれ以下[1]〜[6]に簡潔に纏めて列記する。
[1] 車両に搭載され画像認識機能を有する車載器(ドライブレコーダ10)に、前記車両に取り付けられ前記車載器に接続されたカメラの画像を認識するためのパラメータを設定する設定方法であって、
前記カメラとして、少なくとも第一カメラおよび前記第一カメラよりも広角な第二カメラが含まれ、
前記車載器に前記カメラが接続された場合に、前記カメラから出力される画像の四隅のうち少なくとも二か所について、ケラレの有無を検出し(S4)、
少なくとも前記二か所に前記ケラレが存在する場合、前記カメラが前記第二カメラであると判別し(S5)、
カメラ種類ごとに定められた複数のパラメータのうち、前記第二カメラに対応するパラメータを選択して、前記カメラの前記パラメータとして前記車載器に設定する(S7)、
ことを特徴とする車載カメラ設定方法。
[2] 前記車載器に設けられた複数の入力端子(36(1)〜(6))に複数の前記カメラが接続可能であり、
前記複数の入力端子のいずれに接続されたカメラが前記第二カメラであるか判別する、
ことを特徴とする、上記[1]の構成の車載カメラ設定方法。
[3] 前記第二カメラは、180度の画角を有する180度カメラであり、
前記パラメータは、レンズ歪式又はレンズ歪テーブルである、
ことを特徴とする、上記[1]又は[2]の構成の車載カメラ設定方法。
[4] 車両に搭載され画像認識機能を有する車載器(ドライブレコーダ10)に、前記車両に取り付けられ前記車載器に接続されたカメラの画像を認識するためのパラメータを設定する車載システムであって、
前記車両に取り付けられる、少なくとも第一カメラおよび前記第一カメラよりも広角な第二カメラを含む、複数のカメラと、
前記車載器に設けられ、前記複数のカメラにそれぞれ接続可能な複数の入力端子(36(1)〜(6))と、
前記複数の入力端子のいずれかを介して所定のカメラから出力される画像の四隅のうち少なくとも二か所について、ケラレの有無を検出し、少なくとも前記二か所に前記ケラレが存在する場合、前記所定のカメラが前記第二カメラであることおよび前記複数の入力端子のうちいずれに前記第二カメラが接続されているかを判別する、カメラ判別部と、
カメラ種類ごとに定められた複数のパラメータのうち、前記第二カメラに対応するパラメータを選択して、前記所定のカメラの前記パラメータとして前記車載器に設定する、カメラ設定部と、
を備えることを特徴とする車載システム。
[5] 前記第二カメラは、180度の画角を有する180度カメラであり、
前記パラメータは、レンズ歪式又はレンズ歪テーブルである、
ことを特徴とする、上記[4]の構成の車載システム。
[6] 前記所定のカメラから前記所定のカメラが撮影した認識対象までの距離を計測する距離計測部を備える、
ことを特徴とする上記[4]又は[5]の構成の車載システム。
Here, the features of the above-described on-vehicle camera setting method and on-vehicle system according to the present invention are briefly summarized and listed in [1] to [6] below.
[1] A setting method for setting a parameter for recognizing an image of a camera attached to the vehicle and connected to the on-vehicle device in an on-vehicle device (drive recorder 10) mounted on the vehicle and having an image recognition function. ,
The camera includes at least a first camera and a second camera wider in angle than the first camera,
When the camera is connected to the vehicle-mounted device, at least two of four corners of an image output from the camera are detected for vignetting (S4).
When the vignetting exists at least in the two places, it is determined that the camera is the second camera (S5),
From among a plurality of parameters determined for each camera type, a parameter corresponding to the second camera is selected and set as the parameter of the camera in the vehicle-mounted device (S7).
An in-vehicle camera setting method characterized in that:
[2] A plurality of cameras can be connected to a plurality of input terminals (36 (1) to (6)) provided in the vehicle-mounted device,
Determine which of the plurality of input terminals is the camera connected to the second camera,
An in-vehicle camera setting method according to the above [1], characterized in that:
[3] The second camera is a 180-degree camera having a 180-degree angle of view,
The parameter is a lens distortion type or a lens distortion table,
An in-vehicle camera setting method according to the above [1] or [2], characterized in that:
[4] An in-vehicle system that sets parameters for recognizing an image of a camera attached to the vehicle and connected to the on-vehicle device in an on-vehicle device (drive recorder 10) mounted on the vehicle and having an image recognition function. ,
A plurality of cameras attached to the vehicle, including at least a first camera and a second camera wider in angle than the first camera,
A plurality of input terminals (36 (1) to (6)) provided on the vehicle-mounted device and connectable to the plurality of cameras, respectively;
At least two of the four corners of the image output from the predetermined camera through any of the plurality of input terminals, the presence or absence of vignetting is detected, and if the vignetting is present in at least the two places, the A camera determination unit that determines whether the predetermined camera is the second camera and to which of the plurality of input terminals the second camera is connected,
From among a plurality of parameters determined for each camera type, a parameter corresponding to the second camera is selected and set as the parameter of the predetermined camera in the vehicle-mounted device, a camera setting unit,
An in-vehicle system comprising:
[5] The second camera is a 180-degree camera having a 180-degree angle of view,
The parameter is a lens distortion type or a lens distortion table,
An in-vehicle system according to the above [4], characterized in that:
[6] a distance measuring unit that measures a distance from the predetermined camera to a recognition target captured by the predetermined camera,
A vehicle-mounted system according to the above [4] or [5], characterized in that:

10 ドライブレコーダ
11 マイクロコンピュータ
12 画像処理部
13 通信モジュール
14,16,30 インタフェース
15 GPS受信機
17 時計回路
18 信号処理部
19 加速度センサ
20 メモリ(ROM)
21 メモリ(RAM)
22 カードインタフェース
23 メモリーカード
24 音声信号処理部
25 スピーカ
26 マイク
27 ドライバ
28 表示部
29 操作部
31,32 車載カメラ
33,34 アンテナ
35 PC
36(1)〜(6) 入力端子
R 一定の範囲
SG1 車速パルス信号
SG2 ブレーキ信号
SG3 ウインカー信号
SG4 バック信号
Reference Signs List 10 drive recorder 11 microcomputer 12 image processing unit 13 communication module 14, 16, 30 interface 15 GPS receiver 17 clock circuit 18 signal processing unit 19 acceleration sensor 20 memory (ROM)
21 Memory (RAM)
22 Card interface 23 Memory card 24 Audio signal processing unit 25 Speaker 26 Microphone 27 Driver 28 Display unit 29 Operation unit 31, 32 In-vehicle camera 33, 34 Antenna 35 PC
36 (1) to (6) Input terminal R fixed range SG1 vehicle speed pulse signal SG2 brake signal SG3 turn signal signal SG4 back signal

Claims (6)

車両に搭載され画像認識機能を有する車載器に、前記車両に取り付けられ前記車載器に接続されたカメラの画像を認識するためのパラメータを設定する設定方法であって、
前記カメラとして、少なくとも第一カメラおよび前記第一カメラよりも広角な第二カメラが含まれ、
前記車載器に前記カメラが接続された場合に、前記カメラから出力される画像の四隅のうち少なくとも二か所について、ケラレの有無を検出し、
少なくとも前記二か所に前記ケラレが存在する場合、前記カメラが前記第二カメラであると判別し、
カメラ種類ごとに定められた複数のパラメータのうち、前記第二カメラに対応するパラメータを選択して、前記カメラの前記パラメータとして前記車載器に設定する、
ことを特徴とする車載カメラ設定方法。
A setting method for setting a parameter for recognizing an image of a camera attached to the vehicle and connected to the vehicle-mounted device, which is mounted on the vehicle and having an image recognition function,
The camera includes at least a first camera and a second camera wider in angle than the first camera,
When the camera is connected to the vehicle-mounted device, at least two of the four corners of the image output from the camera, to detect the presence or absence of vignetting,
If the vignetting exists at least in the two places, determine that the camera is the second camera,
Among a plurality of parameters determined for each camera type, a parameter corresponding to the second camera is selected and set as the parameter of the camera in the vehicle-mounted device.
An in-vehicle camera setting method characterized in that:
前記車載器に設けられた複数の入力端子に複数の前記カメラが接続可能であり、
前記複数の入力端子のいずれに接続されたカメラが前記第二カメラであるか判別する、
ことを特徴とする、請求項1に記載された車載カメラ設定方法。
A plurality of cameras can be connected to a plurality of input terminals provided in the vehicle-mounted device,
Determine which of the plurality of input terminals is the camera connected to the second camera,
The method for setting a vehicle-mounted camera according to claim 1, wherein:
前記第二カメラは、180度の画角を有する180度カメラであり、
前記パラメータは、レンズ歪式又はレンズ歪テーブルである、
ことを特徴とする、請求項1又は2に記載された車載カメラ設定方法。
The second camera is a 180-degree camera having a 180-degree angle of view,
The parameter is a lens distortion type or a lens distortion table,
3. The on-vehicle camera setting method according to claim 1, wherein:
車両に搭載され画像認識機能を有する車載器に、前記車両に取り付けられ前記車載器に接続されたカメラの画像を認識するためのパラメータを設定する車載システムであって、
前記車両に取り付けられる、少なくとも第一カメラおよび前記第一カメラよりも広角な第二カメラを含む、複数のカメラと、
前記車載器に設けられ、前記複数のカメラにそれぞれ接続可能な複数の入力端子と、
前記複数の入力端子のいずれかを介して所定のカメラから出力される画像の四隅のうち少なくとも二か所について、ケラレの有無を検出し、少なくとも前記二か所に前記ケラレが存在する場合、前記所定のカメラが前記第二カメラであることおよび前記複数の入力端子のうちいずれに前記第二カメラが接続されているかを判別する、カメラ判別部と、
カメラ種類ごとに定められた複数のパラメータのうち、前記第二カメラに対応するパラメータを選択して、前記所定のカメラの前記パラメータとして前記車載器に設定する、カメラ設定部と、
を備えることを特徴とする車載システム。
An in-vehicle system that is mounted on a vehicle and has an image recognition function, and that sets a parameter for recognizing an image of a camera attached to the vehicle and connected to the on-vehicle device,
A plurality of cameras attached to the vehicle, including at least a first camera and a second camera wider in angle than the first camera,
A plurality of input terminals provided on the on-vehicle device and connectable to the plurality of cameras, respectively.
For at least two of the four corners of the image output from the predetermined camera through any of the plurality of input terminals, the presence or absence of vignetting is detected, and if the vignetting exists at least in the two places, A camera determination unit that determines whether the predetermined camera is the second camera and to which of the plurality of input terminals the second camera is connected,
From among a plurality of parameters determined for each camera type, a parameter corresponding to the second camera is selected and set as the parameter of the predetermined camera in the vehicle-mounted device, a camera setting unit,
An in-vehicle system comprising:
前記第二カメラは、180度の画角を有する180度カメラであり、
前記パラメータは、レンズ歪式又はレンズ歪テーブルである、
ことを特徴とする、請求項4に記載された車載システム。
The second camera is a 180-degree camera having a 180-degree angle of view,
The parameter is a lens distortion type or a lens distortion table,
The in-vehicle system according to claim 4, wherein:
前記所定のカメラから前記所定のカメラが撮影した認識対象までの距離を計測する距離計測部を備える、
ことを特徴とする請求項4又は5に記載された車載システム。
A distance measurement unit that measures a distance from the predetermined camera to a recognition target captured by the predetermined camera,
The in-vehicle system according to claim 4 or 5, wherein:
JP2018155268A 2018-08-22 2018-08-22 In-vehicle camera setting method and in-vehicle system Active JP7084253B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018155268A JP7084253B2 (en) 2018-08-22 2018-08-22 In-vehicle camera setting method and in-vehicle system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018155268A JP7084253B2 (en) 2018-08-22 2018-08-22 In-vehicle camera setting method and in-vehicle system

Publications (2)

Publication Number Publication Date
JP2020031311A true JP2020031311A (en) 2020-02-27
JP7084253B2 JP7084253B2 (en) 2022-06-14

Family

ID=69622871

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018155268A Active JP7084253B2 (en) 2018-08-22 2018-08-22 In-vehicle camera setting method and in-vehicle system

Country Status (1)

Country Link
JP (1) JP7084253B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113238376A (en) * 2021-05-10 2021-08-10 苏州中科全象智能科技有限公司 Distortion analysis method for Samm lens

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010035131A (en) * 2008-06-27 2010-02-12 Ricoh Co Ltd Imaging apparatus and imaging method
JP2014010776A (en) * 2012-07-02 2014-01-20 Canon Inc Image processing apparatus, image processing method, and program
JP2018037946A (en) * 2016-09-01 2018-03-08 パナソニックIpマネジメント株式会社 Imaging apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010035131A (en) * 2008-06-27 2010-02-12 Ricoh Co Ltd Imaging apparatus and imaging method
JP2014010776A (en) * 2012-07-02 2014-01-20 Canon Inc Image processing apparatus, image processing method, and program
JP2018037946A (en) * 2016-09-01 2018-03-08 パナソニックIpマネジメント株式会社 Imaging apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113238376A (en) * 2021-05-10 2021-08-10 苏州中科全象智能科技有限公司 Distortion analysis method for Samm lens
CN113238376B (en) * 2021-05-10 2022-10-25 苏州中科全象智能科技有限公司 Distortion analysis method for Samm lens

Also Published As

Publication number Publication date
JP7084253B2 (en) 2022-06-14

Similar Documents

Publication Publication Date Title
JP4661734B2 (en) In-vehicle warning system
JP6669240B1 (en) Recording control device, recording control system, recording control method, and recording control program
JP2005014686A (en) Drive recorder
WO2017159186A1 (en) Recording device and recording method
JP2010068069A (en) Vehicle periphery photographing system
CN111183458B (en) Recording/reproducing device, recording/reproducing method, and program
JP2010268343A (en) Photographing device and photographing method
JPH08153298A (en) On-vehicle video recording device
US20080036878A1 (en) System for Capturing and Displaying Images
JP2022140530A (en) Information recording device, information recording method, and information recording program
JP6962712B2 (en) In-vehicle image recording device
KR20100081283A (en) Integrated apparatus of vehicle black-box and navigation system
US20190355100A1 (en) Vehicular camera and camera system
JP7084253B2 (en) In-vehicle camera setting method and in-vehicle system
JP2011150417A (en) In-vehicle electronic apparatus and program
JP2016139233A (en) Operation recording device, operation recording system, and operation management system
JP2017107475A (en) On-vehicle system and drive recorder
US20230113406A1 (en) Image processing system, mobile object, image processing method, and storage medium
US20230098424A1 (en) Image processing system, mobile object, image processing method, and storage medium
JP2020010123A (en) On-vehicle photographing apparatus, photographing system and photographing method
JP2020022046A (en) Image recognition correction method and in-vehicle system
KR20070066660A (en) Apparatus for recording car accident information and apparatus for monitoring rear view
US20200275022A1 (en) Automotive driving recorder
JP2020109572A (en) Imaging information storage device, imaging information storage method, and program
KR101582534B1 (en) Apparatus and Method of recording event based image data

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210716

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220520

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220602

R150 Certificate of patent or registration of utility model

Ref document number: 7084253

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350