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
JP7356372B2 - Three-dimensional object detection device, in-vehicle system, and three-dimensional object detection method - Google Patents
[go: Go Back, main page]

JP7356372B2 - Three-dimensional object detection device, in-vehicle system, and three-dimensional object detection method - Google Patents

Three-dimensional object detection device, in-vehicle system, and three-dimensional object detection method Download PDF

Info

Publication number
JP7356372B2
JP7356372B2 JP2020024176A JP2020024176A JP7356372B2 JP 7356372 B2 JP7356372 B2 JP 7356372B2 JP 2020024176 A JP2020024176 A JP 2020024176A JP 2020024176 A JP2020024176 A JP 2020024176A JP 7356372 B2 JP7356372 B2 JP 7356372B2
Authority
JP
Japan
Prior art keywords
image
vehicle
dimensional object
mask
difference image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2020024176A
Other languages
Japanese (ja)
Other versions
JP2021128672A (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.)
Faurecia Clarion Electronics Co Ltd
Original Assignee
Clarion Co Ltd
Faurecia Clarion Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Clarion Co Ltd, Faurecia Clarion Electronics Co Ltd filed Critical Clarion Co Ltd
Priority to JP2020024176A priority Critical patent/JP7356372B2/en
Priority to PCT/JP2021/002908 priority patent/WO2021166576A1/en
Priority to US17/798,612 priority patent/US12198441B2/en
Publication of JP2021128672A publication Critical patent/JP2021128672A/en
Application granted granted Critical
Publication of JP7356372B2 publication Critical patent/JP7356372B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Closed-Circuit Television Systems (AREA)
  • Traffic Control Systems (AREA)
  • Image Analysis (AREA)

Description

本発明は、立体物検出装置、車載システム、及び立体物検出方法に関する。 The present invention relates to a three-dimensional object detection device, a vehicle-mounted system, and a three-dimensional object detection method.

異なるタイミングの俯瞰画像(鳥瞰視画像とも呼ばれる)の差分に基づいて、車両周囲の他車両等の立体物を検出する技術が知られている(例えば、特許文献1、特許文献2参照)。かかる技術は、特許文献1のように、車両の駐車時に周辺の他車両等の立体物を障害物として検知して警報を発する駐車支援システムなどに応用されている。 BACKGROUND ART There is a known technique for detecting three-dimensional objects such as other vehicles around a vehicle based on differences between overhead images (also called bird's-eye images) at different timings (see, for example, Patent Document 1 and Patent Document 2). Such technology is applied to a parking support system, etc., which detects three-dimensional objects such as other nearby vehicles as obstacles when a vehicle is parked, and issues a warning, as in Patent Document 1.

特開2008-227646号公報Japanese Patent Application Publication No. 2008-227646 国際公開第2014/017521号公報International Publication No. 2014/017521

建物や標識、信号機等の構造物の影が路面に現れることが多々あり、走行中の車両からは、この影が相対移動して観測される。かかる影が走行中の車両と、その周囲の立体物との間に存在する場合、立体物の検出精度が悪くなる、という問題があった。 Shadows of structures such as buildings, signs, and traffic lights often appear on road surfaces, and these shadows are observed as they move relative to each other from a moving vehicle. When such a shadow exists between a moving vehicle and a surrounding three-dimensional object, there is a problem in that the three-dimensional object detection accuracy deteriorates.

本発明は、走行中の車両の周囲に存在する立体物の検出精度を向上させることができる立体物検出装置、車載システム、及び立体物検出方法を提供することを目的とする。 An object of the present invention is to provide a three-dimensional object detection device, an in-vehicle system, and a three-dimensional object detection method that can improve the detection accuracy of three-dimensional objects existing around a running vehicle.

本発明は、車両の走行中に異なるタイミングでカメラによって撮影された第1撮影画像、及び第2撮影画像のそれぞれを第1俯瞰画像、及び第2俯瞰画像に変換する俯瞰変換処理部と、互いの撮影位置が揃った前記第1俯瞰画像、及び前記第2俯瞰画像の差分画像を生成する差分画像生成部と、前記差分画像において立体物が映っている候補の立体物候補領域以外をマスキングするマスク画像を生成し、当該マスク画像で前記差分画像をマスキングしてマスク差分画像を生成するマスク差分画像生成部と、前記マスク差分画像に基づいて、前記差分画像における立体物の近傍接地線を特定する近傍接地線特定部と、前記立体物の幅を特定する幅特定部と、前記立体物の幅、及び、前記近傍接地線に基づいて、前記差分画像における前記立体物の遠方接地線を特定する遠方接地線特定部と、前記近傍接地線、及び前記遠方接地線に基づいて、前記差分画像における立体物の位置を特定する位置特定部と、を備え、前記幅特定部は、前記マスク差分画像に基づいて前記立体物の端点を求め、前記マスク画像において、前記撮影位置から最遠方に位置する非マスキング領域の境界である最遠方非マスキング領域境界と、前記マスク差分画像に基づいて求められた前記立体物の端点を通って前記立体物の幅方向に延びる直線との交点を特定し、当該端点と当該交点との間の距離に基づいて前記立体物の幅を特定することを特徴とする。 The present invention provides an overhead view conversion processing unit that converts a first photographed image and a second photographed image taken by a camera at different timings while the vehicle is running into a first bird's-eye view image and a second bird's-eye view image; a difference image generation unit that generates a difference image between the first bird's-eye view image and the second bird's-eye view image in which the photographing positions of the images are aligned, and masking areas other than the three-dimensional object candidate area in which the three-dimensional object is reflected in the difference image. a mask difference image generation unit that generates a mask image and masks the difference image with the mask image to generate a mask difference image, and identifies a ground line in the vicinity of the three-dimensional object in the difference image based on the mask difference image. a nearby ground line specifying unit that specifies the width of the three-dimensional object; a width specifying unit that specifies the width of the three-dimensional object; and a distant ground line of the three-dimensional object in the difference image based on the width of the three-dimensional object and the nearby ground line. and a position specifying section that specifies the position of the three-dimensional object in the difference image based on the nearby ground line and the far ground line, and the width specifying section is configured to detect the mask difference. An end point of the three-dimensional object is determined based on an image, and an end point of the three-dimensional object is determined based on the farthest non-masking area boundary, which is a boundary of a non-masking area located farthest from the imaging position, in the mask image, and the mask difference image. identifying an intersection with a straight line extending in the width direction of the three-dimensional object through an end point of the three-dimensional object, and specifying the width of the three-dimensional object based on a distance between the end point and the intersection point. do.

本発明によれば、走行中の車両の周囲に存在する立体物の検出精度を向上させることができる。 According to the present invention, it is possible to improve the detection accuracy of three-dimensional objects existing around a running vehicle.

本発明の実施形態に係る車載システムの構成を示す図である。1 is a diagram showing the configuration of an in-vehicle system according to an embodiment of the present invention. カメラECUの機能的構成を示す図である。It is a figure showing the functional composition of camera ECU. 同実施形態における車両と他車両の位置関係を示す図である。It is a figure showing the positional relationship of the vehicle and other vehicles in the same embodiment. 立体物検出処理のフローチャートである。It is a flowchart of three-dimensional object detection processing. 差分画像生成動作を説明するための図であり、(A)は第1俯瞰画像、及び第2俯瞰画像の一例を示し、(B)は差分画像の一例を示す。3A and 3B are diagrams for explaining a difference image generation operation, in which (A) shows an example of a first bird's-eye view image and a second bird's-eye view image, and (B) shows an example of a difference image. マスク画像生成処理のフローチャートである。It is a flowchart of mask image generation processing. 鉛直方向輪郭線の倒れ込みを説明するための図であり、(A)は撮影画像の一例を示し、(B)は俯瞰画像の一例を示す。FIG. 3 is a diagram for explaining the collapse of a vertical contour line, in which (A) shows an example of a photographed image, and (B) shows an example of an overhead image. ラベル画像を模式的に示す図である。FIG. 3 is a diagram schematically showing a label image. ルックアップテーブルを模式的に示す図である。FIG. 3 is a diagram schematically showing a lookup table. 差分ヒストグラムの生成を説明するための図であり、(A)は差分画像の一例を示し、(B)は差分ヒストグラムの一例を示す。2A and 2B are diagrams for explaining generation of a difference histogram, in which (A) shows an example of a difference image, and (B) shows an example of a difference histogram. エッジ強度ヒストグラムの生成を説明するための図であり、(A)はエッジ画像の一例を示し、(B)はエッジ強度ヒストグラムRbの一例を示す。2A and 2B are diagrams for explaining generation of an edge strength histogram, in which (A) shows an example of an edge image, and (B) shows an example of an edge strength histogram Rb. マスク画像の生成を説明するための図であり、(A)はラベル画像の一例を示し、(B)はマスク画像の一例を示す。2A and 2B are diagrams for explaining generation of a mask image, in which (A) shows an example of a label image, and (B) shows an example of a mask image. マスク差分画像の生成動作の説明図である。FIG. 6 is an explanatory diagram of the operation of generating a mask difference image. 近傍接地線特定処理のフローチャートである。It is a flowchart of nearby ground line identification processing. マスク差分ヒストグラムの生成を説明するための図であり、(A)はマスク差分画像の一例を示し、(B)は(A)のマスク差分画像から得られるマスク差分ヒストグラムの一例を示す。FIG. 3 is a diagram for explaining generation of a mask difference histogram, in which (A) shows an example of a mask difference image, and (B) shows an example of a mask difference histogram obtained from the mask difference image in (A). 近傍接地線特定動作の説明図である。FIG. 3 is an explanatory diagram of a nearby ground line specifying operation. 車幅特定処理のフローチャートである。It is a flowchart of vehicle width identification processing. 車幅特定処理においてマスク画像に設定される各種パラメータの説明図である。FIG. 3 is an explanatory diagram of various parameters set in a mask image in vehicle width identification processing. 差分マスク画像に基づく他車両の端点の特定動作の説明図であり、(A)は差分マスク画像の一例を示し、(B)は端点特定用差分マスク画像の一例を示し、(C)は端点特定用差分ヒストグラムの一例を示し、(D)は差分マスク画像における他車両の端点の一例を示す。FIG. 2 is an explanatory diagram of an operation for specifying an end point of another vehicle based on a differential mask image, in which (A) shows an example of a differential mask image, (B) shows an example of a differential mask image for end point identification, and (C) shows an example of an end point identification operation. An example of the identification difference histogram is shown, and (D) shows an example of the end point of another vehicle in the difference mask image. カメラ映像、俯瞰画像、及びマスク画像の例を、車幅が異なる複数の他車両について示す図である。FIG. 7 is a diagram illustrating examples of camera images, overhead images, and mask images for a plurality of other vehicles with different vehicle widths. 車幅特定条件の説明図である。FIG. 3 is an explanatory diagram of vehicle width specifying conditions. 俯瞰画像における近傍接地線、及び遠方接地線と鉛直方向輪郭線との関係を示す図である。FIG. 3 is a diagram showing the relationship between a nearby ground line, a far ground line, and a vertical contour line in an overhead image. 立体物領域特定処理の概要説明図である。FIG. 3 is a schematic explanatory diagram of three-dimensional object region specifying processing. 立体物領域特定処理のフローチャートである。It is a flowchart of three-dimensional object area identification processing. 差分近傍ヒストグラムの生成を説明するための図であり、(A)は差分画像の一例を示し、(B)は差分近傍ヒストグラムの一例を示す。2A and 2B are diagrams for explaining generation of a difference neighborhood histogram, in which (A) shows an example of a difference image, and (B) shows an example of a difference neighborhood histogram. エッジ強度近傍ヒストグラムの生成を説明するための図であり、(A)はエッジ画像の一例を示し、(B)はエッジ強度近傍ヒストグラムRbnの一例を示す。FIG. 3 is a diagram for explaining generation of an edge strength neighborhood histogram, in which (A) shows an example of an edge image, and (B) shows an example of an edge intensity neighborhood histogram Rbn. 差分遠方ヒストグラムの生成を説明するための図であり、(A)は差分画像の一例を示し、(B)は差分遠方ヒストグラムの一例を示す。FIG. 3 is a diagram for explaining generation of a differential far-field histogram, in which (A) shows an example of a differential image, and (B) shows an example of a differential far-field histogram. エッジ強度遠方ヒストグラムの生成を説明するための図であり、(A)はエッジ画像の一例を示し、(B)エッジ強度遠方ヒストグラムの一例を示す。FIG. 3 is a diagram for explaining generation of an edge strength far histogram, in which (A) shows an example of an edge image, and (B) shows an example of an edge strength far histogram. 近傍用マスクラベル画像、及び遠方用マスクラベル画像の説明図である。FIG. 3 is an explanatory diagram of a nearby mask label image and a far mask label image. 近傍領域に限定して立体物検出を行った場合の他車両領域特定動作の説明図である。FIG. 7 is an explanatory diagram of another vehicle region specifying operation when three-dimensional object detection is performed limited to a nearby region. 近傍接地線における各交点のグルーピング動作の説明図である。FIG. 7 is an explanatory diagram of a grouping operation of each intersection point in a neighboring ground line. 最終的な単一他車両領域の決定動作の説明図である。FIG. 6 is an explanatory diagram of the final determination operation of a single other vehicle area.

以下、図面を参照して本発明の実施形態について説明する。
図1は、本実施形態に係る車載システム1の構成を示す図である。
車載システム1は、車両2に搭載されたシステムであり、撮影部3と、カメラECU6と、車両制御ユニット8と、HMI部9と、CAN10と、を備える。CAN10は、カメラECU6、車両制御ユニット8、及びHMI部9を接続する車載ネットワークの一種である。
Embodiments of the present invention will be described below with reference to the drawings.
FIG. 1 is a diagram showing the configuration of an in-vehicle system 1 according to this embodiment.
The in-vehicle system 1 is a system mounted on a vehicle 2, and includes an imaging section 3, a camera ECU 6, a vehicle control unit 8, an HMI section 9, and a CAN 10. The CAN 10 is a type of in-vehicle network that connects the camera ECU 6, the vehicle control unit 8, and the HMI section 9.

撮影部3は、車両2の全周囲(360度の範囲)を撮影して得られたカメラ映像5をカメラECU6に出力する。撮影部3は、車両2の前方を撮影するフロントカメラと、後方DB(図3)を撮影するリアカメラと、右側方を撮影する右サイドカメラと、左側方を撮影する左サイドカメラと、いった複数のカメラ4を備え、各カメラ4からカメラ映像5が出力される。なお、本実施形態では、車両2が前進走行しているものとし、車両2の前方と走行方向Bとは一致している。 The photographing unit 3 outputs a camera image 5 obtained by photographing the entire circumference (360 degree range) of the vehicle 2 to the camera ECU 6. The photographing unit 3 includes a front camera that photographs the front of the vehicle 2, a rear camera that photographs the rear DB (Fig. 3), a right side camera that photographs the right side, and a left side camera that photographs the left side. A plurality of cameras 4 are provided, and a camera image 5 is output from each camera 4. In this embodiment, it is assumed that the vehicle 2 is traveling forward, and the forward direction of the vehicle 2 and the traveling direction B match.

カメラECU6は、撮影部3の撮影動作を制御する機能と、各カメラ映像5に適宜の信号処理を施す機能とを備えた装置である。本実施形態のカメラECU6は、車両2に並走する立体物である他車両A(図3)の位置を、各カメラ4のカメラ映像5ごとに検出し、他車両Aの位置情報をCAN10を通じて車両制御ユニット8に送信する他車両検出装置(立体物検出装置)としても機能する。カメラECU6の詳細については後述する。 The camera ECU 6 is a device that has a function of controlling the photographing operation of the photographing section 3 and a function of performing appropriate signal processing on each camera image 5. The camera ECU 6 of this embodiment detects the position of another vehicle A (FIG. 3), which is a three-dimensional object running parallel to the vehicle 2, for each camera image 5 of each camera 4, and transmits the position information of the other vehicle A through the CAN 10. It also functions as an other vehicle detection device (three-dimensional object detection device) that transmits data to the vehicle control unit 8. Details of the camera ECU 6 will be described later.

車両制御ユニット8は、車両2の走行に係る各種の制御を実行するプロセッサを備えたユニットであり、この制御のために、操舵機構や駆動機構などの車両2の各部を制御する機能を備える。また車両制御ユニット8は、これらの制御に要する各種の車両情報(少なくとも走行速度)を検出する1又は複数のセンサを備える。 The vehicle control unit 8 is a unit equipped with a processor that executes various controls related to the running of the vehicle 2, and has a function of controlling various parts of the vehicle 2 such as a steering mechanism and a drive mechanism for this control. The vehicle control unit 8 also includes one or more sensors that detect various types of vehicle information (at least traveling speed) required for these controls.

また車両制御ユニット8は、運転者の運転操作に代わって車両2を運転制御する機能(いわゆる、自動運転制御機能)を備え、車両2の走行時には、車両2の周囲に存在する立体物の位置を逐次に取得し、立体物までの間に適切な距離を確保するように運転制御する。例えば、車線変更時や合流時、分流時などのように、立体物の一例である他車両Aに車両2が接近し得る場合、車両制御ユニット8は、他車両Aの位置を取得し、当該他車両Aの位置に基づいて、当該他車両Aとの間に適切な車間距離を確保するように運転制御する。 The vehicle control unit 8 also has a function to control the driving of the vehicle 2 in place of the driver's driving operation (so-called automatic driving control function), and when the vehicle 2 is running, it can detect the position of three-dimensional objects existing around the vehicle 2. are acquired sequentially, and the driving is controlled to ensure an appropriate distance to the three-dimensional object. For example, when the vehicle 2 may approach another vehicle A, which is an example of a three-dimensional object, such as when changing lanes, merging, or dividing, the vehicle control unit 8 acquires the position of the other vehicle A, and Based on the position of the other vehicle A, driving is controlled to ensure an appropriate inter-vehicle distance between the other vehicle A and the other vehicle A.

なお、車両制御ユニット8は、自動運転制御機能に代えて、或いは、自動運転制御機能と併せて、運転者の運転操作を支援する運転支援機能を備えてもよい。運転支援機能は、車両2の走行時に、車両2の周囲に存在する立体物の位置を逐次に取得し、立体物を運転者に案内したり、当該立体物の位置に基づく各種の警報等を運転者に報知したりすることで運転者の運転操作を支援するものである。 Note that the vehicle control unit 8 may include a driving support function that supports the driver's driving operation in place of the automatic driving control function or in combination with the automatic driving control function. The driving support function sequentially acquires the positions of three-dimensional objects that exist around the vehicle 2 while the vehicle 2 is running, and guides the driver to the three-dimensional objects and issues various warnings based on the position of the three-dimensional objects. It supports the driver's driving operations by notifying the driver.

HMI部9は、ユーザインタフェースとなる入力装置、及び出力装置を備え、当該出力装置は、各種情報を表示する表示装置9A、及び各種音声を出力するスピーカを備える。表示装置9Aには、各カメラ4のカメラ映像5や、車両2を上方から俯瞰した映像などが表示され、また、カメラECU6によって検出された他車両Aに関する情報(当該他車両Aの位置や大きさなど)も適宜の態様で表示される。 The HMI unit 9 includes an input device and an output device that serve as a user interface, and the output device includes a display device 9A that displays various information and a speaker that outputs various sounds. The display device 9A displays the camera images 5 of each camera 4, an overhead view of the vehicle 2, etc., and also displays information regarding the other vehicle A detected by the camera ECU 6 (the position and size of the other vehicle A). etc.) are also displayed in an appropriate manner.

上述したカメラECU6は、プロセッサの一例であるCPU12と、プログラム13等の各種情報を記憶するROMやRAMなどのメモリ14と、CAN10を通じて車両制御ユニット8と通信する通信回路モジュールとしてのCANI/F16と、を備えた、いわゆるコンピュータを備える。本実施形態のカメラECU6は、メモリ14に記憶されたプログラムをCPU12が実行することで、上述した他車両検出装置として機能する。 The camera ECU 6 described above includes a CPU 12 that is an example of a processor, a memory 14 such as a ROM or RAM that stores various information such as a program 13, and a CANI/F 16 as a communication circuit module that communicates with the vehicle control unit 8 via a CAN 10. It is equipped with a so-called computer. The camera ECU 6 of this embodiment functions as the above-mentioned other vehicle detection device when the CPU 12 executes a program stored in the memory 14.

図2は、カメラECU6の機能的構成を示す図である。
本実施形態のカメラECU6は、異なるタイミングで撮影された第1撮影画像、及び第2撮影画像を同じカメラ4で撮影されたカメラ映像5から取得し、これら第1撮影画像、及び第2撮影画像を俯瞰変換した第1俯瞰画像F1、及び第2俯瞰画像F2の差分である差分画像Gに基づいて、当該カメラ4のカメラ映像5に映った他車両Aの位置を検出する。カメラECU6は、かかる検出を各カメラ4のカメラ映像5ごとに行うことで、車両2の全周囲について他車両Aの位置を検出する。
係る検出動作のために、カメラECU6は、図2に示すように、車両情報取得部20と、前処理部22と、立体物位置特定部24と、を備えている。
FIG. 2 is a diagram showing the functional configuration of the camera ECU 6. As shown in FIG.
The camera ECU 6 of this embodiment acquires a first photographed image and a second photographed image taken at different timings from a camera video 5 taken with the same camera 4, and uses these first photographed images and second photographed images. The position of the other vehicle A reflected in the camera image 5 of the camera 4 is detected based on the difference image G that is the difference between the first bird's-eye view image F1 and the second bird's-eye view image F2 obtained by bird's-eye conversion. The camera ECU 6 detects the position of the other vehicle A around the entire circumference of the vehicle 2 by performing such detection for each camera image 5 of each camera 4.
For such a detection operation, the camera ECU 6 includes a vehicle information acquisition section 20, a preprocessing section 22, and a three-dimensional object position specifying section 24, as shown in FIG.

車両情報取得部20は、車両制御ユニット8から車両情報を取得する。この車両情報には、少なくとも車両2の走行速度が含まれる。 The vehicle information acquisition section 20 acquires vehicle information from the vehicle control unit 8. This vehicle information includes at least the traveling speed of the vehicle 2.

前処理部22は、カメラ映像5から差分画像Gを得るための処理を実行するものであり、カメラ映像取得部30と、輝度変換処理部32と、俯瞰変換処理部34と、差分画像生成部36と、を備える。 The preprocessing unit 22 executes processing to obtain a difference image G from the camera image 5, and includes a camera image acquisition unit 30, a brightness conversion processing unit 32, an overhead view conversion processing unit 34, and a difference image generation unit. 36.

カメラ映像取得部30は、撮影部3を制御することで、所定時間以上に亘って撮影部3による撮影を継続し、その撮影によって得られたカメラ映像5を取得する。
輝度変換処理部32は、カメラ映像5を構成する各フレーム(撮影画像)を輝度画像に変換する。各フレームは静止画像である撮影画像に相当し、輝度画像は、この撮影画像のそれぞれの画素値を、その画素の輝度値に変換した画像である。
俯瞰変換処理部34は、各輝度画像を俯瞰画像に変換する。俯瞰画像は、車両2の上方に設定された仮想視点から直下方向を視た画像である。俯瞰変換処理部34は輝度画像を射影変換(視点変換とも呼ばれる)することで俯瞰画像を生成する。
差分画像生成部36は、俯瞰変換処理部34によって順次に生成される俯瞰画像の中から、撮影タイミングが異なる2つの第1撮影画像、及び第2撮影画像から得られた第1俯瞰画像F1、及び第2俯瞰画像F2(図5(A)参照)を抽出し、両者の差分画像Gを生成する。差分画像Gは、第1撮影画像E1の各画素の画素値(輝度値)を、その画素に対応する第2撮影画像E2の画素の画素値(輝度値)との差に変換し、所定の閾値で各画素の画素値を2値化した画像である。差分画像Gの生成時には、差分画像生成部36は、第1俯瞰画像F1と第2俯瞰画像F2の撮影位置Oを、第1俯瞰画像F1を基準に揃えた状態で、両者の各画素の画素値の差分量を算出することで、差分画像Gを生成する。
The camera image acquisition section 30 controls the image capturing section 3 so that the image capturing section 3 continues to capture images for a predetermined period of time or more, and acquires the camera image 5 obtained by the image capturing.
The brightness conversion processing unit 32 converts each frame (captured image) constituting the camera image 5 into a brightness image. Each frame corresponds to a photographed image that is a still image, and the brightness image is an image obtained by converting each pixel value of this photographed image into the brightness value of that pixel.
The bird's-eye view conversion processing unit 34 converts each brightness image into a bird's-eye view image. The bird's-eye view image is an image viewed directly below from a virtual viewpoint set above the vehicle 2. The bird's-eye view conversion processing unit 34 generates a bird's-eye view image by projectively converting the luminance image (also referred to as viewpoint conversion).
The difference image generation unit 36 generates, from among the overhead images sequentially generated by the overhead conversion processing unit 34, two first photographed images having different photographing timings, and a first overhead image F1 obtained from the second photographed image. and a second bird's-eye view image F2 (see FIG. 5(A)), and a difference image G between the two is generated. The difference image G is created by converting the pixel value (luminance value) of each pixel of the first photographed image E1 into a difference between the pixel value (luminance value) of the corresponding pixel of the second photographed image E2, and This is an image in which the pixel value of each pixel is binarized using a threshold value. When generating the difference image G, the difference image generation unit 36 aligns the photographing positions O of the first bird's-eye view image F1 and the second bird's-eye view image F2 with respect to the first bird's-eye view image F1, and calculates each pixel of both images. A difference image G is generated by calculating the amount of difference between the values.

立体物位置特定部24は、差分画像Gに基づいて、立体物の一例である他車両Aの位置を特定するものであり、マスク差分画像生成部50と、近傍接地線特定部51と、車幅特定部52と、遠方接地線特定部53と、位置特定部54と、を備える。 The three-dimensional object position specifying unit 24 specifies the position of another vehicle A, which is an example of a three-dimensional object, based on the difference image G. It includes a width specifying section 52, a distant ground line specifying section 53, and a position specifying section 54.

マスク差分画像生成部50は、差分画像Gの中で他車両候補領域60を除く残余の領域をマスキングするマスク画像90を生成し、差分画像Gをマスク画像90によってマスキングすることで、他車両候補領域60以外がマスキングされたマスク差分画像Gm(図13参照)を生成する。
他車両候補領域60は、差分画像Gにおいて他車両Aが映っている蓋然性が高い領域であり、他車両領域Hの候補の領域である。他車両領域Hは、差分画像Gにおいて他車両Aが映っていると確定された領域(立体物領域)である。
The mask difference image generation unit 50 generates a mask image 90 for masking the remaining area excluding the other vehicle candidate area 60 in the difference image G, and masks the difference image G with the mask image 90 to detect other vehicle candidates. A mask difference image Gm (see FIG. 13) in which areas other than the area 60 are masked is generated.
The other vehicle candidate area 60 is an area where there is a high probability that the other vehicle A is shown in the difference image G, and is a candidate area for the other vehicle area H. The other vehicle area H is an area (three-dimensional object area) in which it is determined that the other vehicle A is shown in the difference image G.

近傍接地線特定部51は、マスク差分画像Gmに基づいて、差分画像Gにおける近傍接地線L1を特定する。
ここで、接地線は、車両2が走行している車線に隣接する他の車線に存在する他車両Aが地面に接する線を言い、平面視における他車両Aの左右両側の輪郭線63(図3)に相当する。
本実施形態において、図3に示すように、他車両Aの左右両側の輪郭線63のうちの車両2に近い側の線を近傍接地線L1と言い、車両2から遠い側の線を遠方接地線L2と言う。
これら近傍接地線L1、及び遠方接地線L2が差分画像Gの中に設定されることで、この差分画像Gの中で、車両2からみて横方向Chにおける他車両領域Hの位置が特定される。なお、横方向Chは車両2の走行方向Bに垂直な方向を指す。
The nearby ground line identifying unit 51 identifies the nearby ground line L1 in the difference image G based on the mask difference image Gm.
Here, the grounding line refers to a line where the other vehicle A existing in another lane adjacent to the lane in which the vehicle 2 is traveling touches the ground, and the contour line 63 on both left and right sides of the other vehicle A in a plan view (Fig. Corresponds to 3).
In this embodiment, as shown in FIG. 3, of the left and right contour lines 63 of the other vehicle A, the line closer to the vehicle 2 is referred to as a nearby grounding line L1, and the line farther from the vehicle 2 is referred to as a far grounding line L1. It is called line L2.
By setting these nearby grounding line L1 and distant grounding line L2 in the difference image G, the position of the other vehicle area H in the lateral direction Ch as seen from the vehicle 2 is specified in this difference image G. . Note that the lateral direction Ch refers to a direction perpendicular to the traveling direction B of the vehicle 2.

車幅特定部52は、マスク画像90(図13)に基づいて、他車両Aの車幅Vw(図3)を特定する。
遠方接地線特定部53は、近傍接地線L1、及び車幅Vwに基づいて、差分画像Gにおける遠方接地線L2を特定する。
The vehicle width identifying unit 52 identifies the vehicle width Vw (FIG. 3) of the other vehicle A based on the mask image 90 (FIG. 13).
The far grounding line identification unit 53 identifies the far grounding line L2 in the difference image G based on the nearby grounding line L1 and the vehicle width Vw.

位置特定部54は、近傍接地線L1、遠方接地線L2、他車両Aの先端VF、及び後端VB(図3)に基づいて、差分画像Gにおける単一他車両領域Kを特定する。単一他車両領域Kは、差分画像Gにおいて1台(単一)の他車両Aが占める(映っている)領域である。
詳述すると、複数の他車両Aが縦列走行している場合、これら複数の他車両Aを含む1つの領域が他車両領域Hとして特定される可能性がある。単一他車両領域Kは、かかる他車両領域Hを他車両Aごとに分けた領域に相当し、位置特定部54は、他車両領域Hに代えて、かかる単一他車両領域Kを最終的に特定する。
また位置特定部54は、差分画像Gにおける単一他車両領域Kの位置に基づいて、実空間における他車両Aの位置を特定し、当該位置を車両制御ユニット8に逐次に送信する。単一他車両領域Kの位置から実空間における他車両Aの位置への変換には、公知又は周知の適宜の手法を用いることができる。
The position specifying unit 54 specifies a single other vehicle area K in the difference image G based on the nearby ground line L1, the distant ground line L2, the front end VF, and the rear end VB of the other vehicle A (FIG. 3). The single other vehicle area K is an area where one (single) other vehicle A occupies (is visible) in the difference image G.
To explain in detail, when a plurality of other vehicles A are traveling in parallel, one area including these plurality of other vehicles A may be specified as an other vehicle area H. The single other vehicle area K corresponds to an area where the other vehicle area H is divided for each other vehicle A, and the position specifying unit 54 ultimately uses the single other vehicle area K instead of the other vehicle area H. be specific.
Further, the position specifying unit 54 specifies the position of the other vehicle A in real space based on the position of the single other vehicle area K in the difference image G, and sequentially transmits the position to the vehicle control unit 8. Any known or well-known appropriate method can be used to convert the position of the single other vehicle area K to the position of the other vehicle A in real space.

また位置特定部54は、実空間における他車両Aの位置の情報を表示するためのデータをHMI部9に送信し、当該情報を表示装置9Aに表示させる。かかる表示態様としては、例えば、車両2を上方から俯瞰した映像に、単一他車両領域Kの輪郭線を重ねて表示する態様などがあり得る。本実施形態では、他車両Aの車幅Vwには、予め設定された既定値ではなく、車幅特定部52がマスク画像90に基づいて特定した実測の値が用いられるため、他車両Aの位置(他車両Aが占める領域)を、より正確に表示することができる。 Further, the position specifying unit 54 transmits data for displaying information on the position of the other vehicle A in real space to the HMI unit 9, and displays the information on the display device 9A. Such a display mode may include, for example, a mode in which the outline of the single other vehicle area K is displayed superimposed on an image of the vehicle 2 viewed from above. In the present embodiment, the vehicle width Vw of the other vehicle A is not a preset default value but an actual value determined by the vehicle width identifying unit 52 based on the mask image 90. The position (the area occupied by the other vehicle A) can be displayed more accurately.

次いで、カメラECU6による他車両Aの検出動作について説明する。
本動作説明では、リアカメラのカメラ映像5に映った他車両AをカメラECU6が検出する場合を例示する。また本動作説明では、図3に示すように、車両2が走行している車線70の両側に、他の車線70R、70Lが隣接して存在し、各車線70R、70Lを他車両Aが車両2と同一方向に走行(すなわち並走)しているものとする。また、いずれの他車両Aも車両2より後方DBに位置し、かつ、リアカメラの画角αの範囲内に位置するものとする。なお、図3において、矩形線で示した領域は、車両制御ユニット8による自動運転制御や運転支援において他車両Aの存在を検出する検出領域72を示すものである。
Next, the operation of detecting another vehicle A by the camera ECU 6 will be explained.
In this operation description, a case will be exemplified in which the camera ECU 6 detects another vehicle A shown in the camera image 5 of the rear camera. Furthermore, in this operation description, as shown in FIG. It is assumed that the vehicle is traveling in the same direction as the vehicle No. 2 (that is, traveling parallel to the vehicle No. 2). Further, it is assumed that any other vehicle A is located further back DB than the vehicle 2 and within the range of the viewing angle α of the rear camera. In addition, in FIG. 3, the area indicated by a rectangular line indicates a detection area 72 in which the presence of another vehicle A is detected in automatic driving control or driving support by the vehicle control unit 8.

図4は、立体物検出処理のフローチャートである。
立体物検出処理は、少なくとも車両2が走行している間、周囲の他車両Aの存在を検知するために、各カメラ4のカメラ映像5ごとにカメラECU6によって継続的に繰り返し実行される。
FIG. 4 is a flowchart of the three-dimensional object detection process.
The three-dimensional object detection process is continuously and repeatedly executed by the camera ECU 6 for each camera image 5 of each camera 4, at least while the vehicle 2 is traveling, in order to detect the presence of other vehicles A in the surroundings.

立体物検出処理において、先ず、車両情報取得部20が車両情報(少なくとも走行速度を含む)を取得し(ステップSa1)、カメラ映像取得部30がカメラ映像5を取得する(ステップSa2)。
次いで、輝度変換処理部32がカメラ映像5の各フレーム(撮影画像)を輝度画像に順次に変換し(ステップSa3)、俯瞰変換処理部34が、各輝度画像に基づいて俯瞰画像Fを順次に生成する(ステップSa4)。
In the three-dimensional object detection process, first, the vehicle information acquisition section 20 acquires vehicle information (including at least the traveling speed) (step Sa1), and the camera image acquisition section 30 acquires the camera image 5 (step Sa2).
Next, the brightness conversion processing unit 32 sequentially converts each frame (photographed image) of the camera image 5 into a brightness image (step Sa3), and the bird's-eye view conversion processing unit 34 sequentially converts the bird's-eye view image F based on each brightness image. Generate (step Sa4).

次に、差分画像生成部36が、俯瞰変換処理部34によって順次に生成される俯瞰画像の中から、撮影タイミングが異なる2つの第1撮影画像、及び第2撮影画像から得られた第1俯瞰画像F1、及び第2俯瞰画像F2を抽出し、両者の差分画像Gを生成する(ステップSa5)。 Next, the difference image generation unit 36 generates, from among the bird's-eye images sequentially generated by the bird's-eye view conversion processing unit 34, two first captured images with different shooting timings, and a first bird's-eye view obtained from the second captured image. The image F1 and the second bird's-eye view image F2 are extracted, and a difference image G between the two is generated (step Sa5).

図5は差分画像生成動作を説明するための図であり、図5(A)は第1俯瞰画像F1、及び第2俯瞰画像F2の一例を示し、図5(B)は差分画像Gの一例を示す。
なお、以下では、直近に撮影された撮影画像を第1撮影画像とし、それよりも前に撮影された撮影画像を第2撮影画像として説明する。
FIG. 5 is a diagram for explaining the difference image generation operation, and FIG. 5(A) shows an example of the first bird's-eye view image F1 and the second bird's-eye view image F2, and FIG. 5(B) shows an example of the difference image G. shows.
Note that in the following description, the most recently photographed image will be referred to as the first photographed image, and the photographed image photographed earlier will be referred to as the second photographed image.

第1撮影画像、及び第2撮影画像は、それぞれの撮影位置Oが走行方向Bにずれるため、図5(A)に示すように、第1俯瞰画像F1、及び第2俯瞰画像F2においても撮影位置Oに、車両2の移動に起因したずれDEが生じる。差分画像生成部36は、撮影位置OのずれDEを補正して差分画像Gを生成するために、第1俯瞰画像F1及び第2俯瞰画像F2の両者の撮影位置Oを、いずれか一方(図5(A)では第1俯瞰画像F1)を基準に揃えた状態で両者の差分画像Gを生成する。 Since the respective shooting positions O of the first photographed image and the second photographed image are shifted in the traveling direction B, the first bird's-eye view image F1 and the second bird's-eye view image F2 are also taken as shown in FIG. 5(A). A shift DE occurs at position O due to movement of vehicle 2. In order to correct the deviation DE of the photographing position O and generate the difference image G, the difference image generation unit 36 changes the photographing position O of both the first bird's-eye image F1 and the second bird's-eye image F2 to either one (Fig. 5(A), a difference image G between the two is generated with the first bird's-eye view image F1) aligned as a reference.

具体的には、差分画像生成部36は、車両2の走行速度と、第1撮影画像、及び第2撮影画像の撮影タイミングの時間差taとに基づいて、車両2の走行距離を算出する。そして差分画像生成部36は、第1俯瞰画像F1、及び第2俯瞰画像F2のいずれか一方(図5(A)では、撮影タイミングが早い方の第2俯瞰画像F2)の各画素を、走行距離に応じた画素数分だけ走行方向Bに沿ってずらす。これにより、第1俯瞰画像F1、及び第2俯瞰画像F2の他方を基準に、両者の撮影位置Oが揃えられた状態となる。 Specifically, the difference image generation unit 36 calculates the traveling distance of the vehicle 2 based on the traveling speed of the vehicle 2 and the time difference ta between the photographing timings of the first photographed image and the second photographed image. Then, the difference image generation unit 36 moves each pixel of either the first bird's-eye view image F1 or the second bird's-eye view image F2 (in FIG. It is shifted along the traveling direction B by the number of pixels corresponding to the distance. As a result, the photographing positions O of the first bird's-eye image F1 and the second bird's-eye image F2 are aligned based on the other one.

路面標示の一種である白線74等の任意の静止物体が第1俯瞰画像F1、及び第2俯瞰画像F2の各々に映っている場合、両者の撮影位置Oが揃えられることで、図5(A)に示すように、静止物体が映っている位置が揃う。
その一方で、移動物体である他車両Aが第1俯瞰画像F1、及び第2俯瞰画像F2の各々に映っている場合、両者の撮影位置Oが揃えられることで、図5(A)に示すように、それぞれに映った他車両Aの位置にずれが生じる。
これにより、両者の差分を示す差分画像Gにおいては、図5(B)に示すように、路面標示(白線74等)の静止物体が映っている領域の画素値(差分量)は小さくなり、他車両Aが映っている領域の画素値(差分量)は比較的大きくなる。したがって、差分画像Gの2値化に用いる輝度値の閾値が適切に設定されることで、静止物体を除いた画像を差分画像Gとして得ることができる。そして、この差分画像Gにおいて、高輝度値の領域に基づいて、他車両Aが映っている他車両領域Hが特定可能となる。
When an arbitrary stationary object such as a white line 74, which is a type of road marking, is shown in each of the first bird's-eye view image F1 and the second bird's-eye view image F2, the photographing positions O of both images are aligned, so that the image shown in FIG. ), the positions of the stationary objects are aligned.
On the other hand, when the other vehicle A, which is a moving object, appears in each of the first bird's-eye view image F1 and the second bird's-eye view image F2, the photographing positions O of both are aligned, as shown in FIG. 5(A). As such, a shift occurs in the position of the other vehicle A reflected in each image.
As a result, in the difference image G showing the difference between the two, as shown in FIG. The pixel value (amount of difference) in the area where the other vehicle A is reflected becomes relatively large. Therefore, by appropriately setting the threshold value of the luminance value used for binarizing the difference image G, an image excluding stationary objects can be obtained as the difference image G. Then, in this difference image G, the other vehicle area H in which the other vehicle A is reflected can be specified based on the area of high luminance value.

ただし、前掲図3に示すように、車両2と他車両Aとの間に、車両2や他車両Aなどの任意の移動物体によって影76が生じている場合、差分画像Gにおいては、その影76に対応する領域の画素値も増大する。このため、差分画像Gの中で画素値が大きい領域を他車両領域Hとして単純に位置特定部54が抽出した場合、影76に対応する領域が他車両領域Hに含まれ、他車両領域Hの精度が悪くなる。 However, as shown in FIG. The pixel value of the area corresponding to 76 also increases. Therefore, when the position specifying unit 54 simply extracts an area with a large pixel value in the difference image G as the other vehicle area H, the area corresponding to the shadow 76 is included in the other vehicle area H, and the area corresponding to the shadow 76 is included in the other vehicle area H. accuracy becomes worse.

そこで、本実施形態では、位置特定部54が差分画像Gに基づいて他車両領域Hを特定するに前に、前掲図4に示すように、先ず、マスク差分画像生成部50が差分画像Gにおいて他車両候補領域60を除く残余の領域、すなわち、影76などのノイズに対応する領域をマスキングしたマスク差分画像Gmを生成する(ステップSa6:マスク差分画像生成処理)。そして、近傍接地線特定部51が、このマスク差分画像Gmに基づいて、他車両領域Hを区画する線の1つである上記近傍接地線L1を特定する(ステップSa7:近傍接地線特定処理)。これにより、近傍接地線L1を精度よく特定することができる。 Therefore, in this embodiment, before the position specifying section 54 specifies the other vehicle area H based on the differential image G, the mask differential image generating section 50 first uses the differential image G as shown in FIG. A mask difference image Gm is generated by masking the remaining area excluding the other vehicle candidate area 60, that is, the area corresponding to noise such as the shadow 76 (step Sa6: mask difference image generation process). Then, based on this mask difference image Gm, the nearby grounding line identification unit 51 identifies the aforementioned nearby grounding line L1, which is one of the lines that partition the other vehicle area H (step Sa7: nearby grounding line identification process). . Thereby, the nearby ground line L1 can be specified with high accuracy.

図6は、上述のマスク画像生成処理のフローチャートである。
マスク画像生成処理では、先ず、マスク差分画像生成部50がマスク画像90を生成する(ステップSb1)。マスク画像90は、差分画像Gの中のマスキング領域62をマスクする画像である。マスキング領域62は、差分画像Gにおいて他車両候補領域60を除いた残余の領域である。マスク差分画像生成部50は、この他車両候補領域60を、差分画像Gに映っている他車両Aの鉛直方向輪郭線Pに基づいて特定する。
FIG. 6 is a flowchart of the above-described mask image generation process.
In the mask image generation process, first, the mask difference image generation unit 50 generates the mask image 90 (step Sb1). The mask image 90 is an image that masks the masking area 62 in the difference image G. The masking area 62 is the remaining area in the difference image G excluding the other vehicle candidate area 60. The mask difference image generation unit 50 identifies this other vehicle candidate area 60 based on the vertical contour line P of the other vehicle A shown in the difference image G.

図7は、鉛直方向輪郭線Pの倒れ込みを説明するための図であり、(A)は撮影画像Mの一例を示し、(B)は俯瞰画像Fの一例を示す。
鉛直方向輪郭線Pは、図7(A)に示すように、撮影画像M(カメラ映像5のフレーム)に映っている他車両Aの輪郭線63や、当該他車両Aの車体パーツ(ドアなど)の輪郭線、他車両Aに描かれた模様の輪郭線などのうち、実空間において鉛直方向(地面に対して垂直方向)に延びている線である。撮影画像Mの射影変換(視点変換)に伴い、当該撮影画像Mの鉛直方向輪郭線Pは、図7(B)に示すように、俯瞰画像Fにおいてカメラ4(本動作説明ではリアカメラ)の撮影位置Oから放射状に延びる放射線Qに変換される(いわゆる、鉛直方向輪郭線Pの倒れ込み)。つまり、俯瞰画像Fにおいて、この鉛直方向輪郭線Pを線分に含む放射線Qによって区画される領域(図7(B)のハッチングで示す領域)は他車両Aが存在する領域を示すため、かかる領域が他車両候補領域60となる。なお、鉛直方向輪郭線Pを線分に含む放射線Qの方向は、射影変換(視点変換)によって立体物が倒れ込む方向とも呼ばれる。
FIG. 7 is a diagram for explaining the collapse of the vertical contour line P, in which (A) shows an example of a photographed image M, and (B) shows an example of an overhead image F.
As shown in FIG. 7A, the vertical contour line P includes the contour line 63 of the other vehicle A shown in the photographed image M (frame of the camera image 5) and the body parts of the other vehicle A (such as the door). ), the outline of a pattern drawn on another vehicle A, etc., are lines that extend in the vertical direction (perpendicular to the ground) in real space. Due to the projective transformation (viewpoint transformation) of the photographed image M, the vertical contour line P of the photographed image M changes from the angle of the camera 4 (rear camera in this operation description) in the bird's-eye view image F, as shown in FIG. 7(B). It is converted into radiation Q extending radially from the imaging position O (so-called collapse of the vertical contour line P). In other words, in the bird's-eye view image F, the area (the area indicated by hatching in FIG. 7(B)) defined by the radiation Q that includes this vertical contour line P in its line segment indicates the area where the other vehicle A is present. The area becomes the other vehicle candidate area 60. Note that the direction of the ray Q whose line segment includes the vertical contour line P is also called the direction in which the three-dimensional object collapses due to projective transformation (viewpoint transformation).

2つの俯瞰画像Fの差分である差分画像Gにおいても俯瞰画像Fと同様に、鉛直方向輪郭線Pは放射線Qの線分となる。差分画像Gにおいて、鉛直方向輪郭線Pを含んだ放射線Qを構成する各画素は、画素値(差分量)が他の画素よりも大きくなる。このことを踏まえ、マスク差分画像生成部50は、差分画像Gの各画素値に基づいて他車両候補領域60を特定する。またマスク差分画像生成部50は、ラベル画像91、及びルックアップテーブル92を用いて他車両候補領域60の特定を効率良く行っている。 In the difference image G that is the difference between the two bird's-eye views F, the vertical contour line P is a line segment of the radiation Q, similarly to the bird's-eye view image F. In the difference image G, each pixel forming the radiation Q including the vertical contour line P has a pixel value (difference amount) larger than other pixels. Based on this, the mask difference image generation unit 50 identifies the other vehicle candidate area 60 based on each pixel value of the difference image G. Furthermore, the mask difference image generation unit 50 efficiently identifies the other vehicle candidate area 60 using the label image 91 and the lookup table 92.

図8は、ラベル画像91を模式的に示す図である。
ラベル画像91は、撮影位置Oから等間隔に放射状に延び、それぞれがラベル番号によって識別された複数の放射線Qの画像であり、それぞれの放射線Qが、差分画像Gにおける鉛直方向輪郭線Pを含んだ放射線Qの候補となる。本実施形態では、ラベル画像91には、ラベル番号が「1」から「100」までの100本の放射線Qが含まれる。
かかるラベル画像91は、差分画像Gに相当する画素数を有し、図8に示すように、同じ放射線Qを構成する各画素に、その放射線Qのラベル番号(「1」から「100」のいずれか)が対応付けられている。
FIG. 8 is a diagram schematically showing the label image 91.
The label image 91 is an image of a plurality of rays Q extending radially at equal intervals from the imaging position O, each of which is identified by a label number, and each ray Q includes the vertical contour line P in the difference image G. It is a candidate for radiation Q. In this embodiment, the label image 91 includes 100 radiations Q with label numbers from "1" to "100".
This label image 91 has the number of pixels corresponding to the difference image G, and as shown in FIG. ) are associated.

図9は、ルックアップテーブル92を模式的に示す図である。
ルックアップテーブル92は、ラベル画像91の各画素に、非マスキング(白色)に対応する「255」、及びマスキング(黒色)に対応する「0」のいずれかの画素値を指定するものである。ラベル画像91の各画素の画素値が、ルックアップテーブル92の指定に基づいて設定されることで、各画素が非マスキング状態(白色)、又はマスキング状態(黒色)となったマスク画像90が得られる。
FIG. 9 is a diagram schematically showing the lookup table 92.
The lookup table 92 specifies, for each pixel of the label image 91, either a pixel value of "255" corresponding to non-masking (white) or "0" corresponding to masking (black). By setting the pixel value of each pixel of the label image 91 based on the specification of the lookup table 92, a mask image 90 in which each pixel is in a non-masking state (white) or a masking state (black) is obtained. It will be done.

図9に示すように、ルックアップテーブル92において、放射線Qのラベル番号ごとに、その放射線Qの画素値が指定されている。この画素値は、差分画像Gにおける放射線Qごとの画素値に基づいて決定されている。 As shown in FIG. 9, in the lookup table 92, the pixel value of the radiation Q is specified for each label number of the radiation Q. This pixel value is determined based on the pixel value for each radiation Q in the difference image G.

マスク差分画像生成部50は、上記マスク画像生成処理において(図6:ステップSb1)、先ず上記ラベル画像91の全ての画素値を、「255」(非マスキング状態)、又は「0」(マスキング状態)にして初期化する(ステップSb1A)。
次いで、マスク差分画像生成部50は、差分画像Gの中の各放射線Qの画素値に基づいて、上記ルックアップテーブル92を作成する(ステップSb1B)。具体的には、マスク差分画像生成部50は、差分ヒストグラムRa、及びエッジ強度ヒストグラムRbに基づいて、ルックアップテーブル92における放射線Qごとの各画素の輝度値を示すフラグ(「0」又は「255」)を決定する。
In the mask image generation process (FIG. 6: step Sb1), the mask difference image generation unit 50 first sets all pixel values of the label image 91 to "255" (non-masking state) or "0" (masking state). ) and initialize it (step Sb1A).
Next, the mask difference image generation unit 50 creates the lookup table 92 based on the pixel values of each radiation Q in the difference image G (step Sb1B). Specifically, the mask difference image generation unit 50 generates a flag (“0” or “255 ”) to be determined.

図10は、差分ヒストグラムRaの生成を説明するための図であり、図10(A)は差分画像Gの一例を示し、図10(B)は、図10(A)に示す差分画像Gから得られる差分ヒストグラムRaの一例を示す。
差分ヒストグラムRaは、図10(B)に示すように、ラベル番号を横軸とし、図10(A)に示す差分画像Gにおいて放射線Qごとに画素値の有無を累積した値(以下、「放射線方向差分量累積値」と言う)を縦軸としたグラフである。放射線方向差分量累積値は、放射線Qが鉛直方向輪郭線Pを含んでいると大きくなるため、この差分ヒストグラムRaにおいて、放射線方向差分量累積値が所定の第1閾値Th1を越えている各放射線Qを特定することで、他車両候補領域60となる放射線Qの範囲Uaを特定することができる。
また放射線Qごとの放射線方向差分量累積値に基づいて、鉛直方向輪郭線Pを含む放射線Qを特定することで、例えば輪郭抽出処理などの画像処理を差分画像Gに施して鉛直方向輪郭線Pを検出する手法に比べ、高速かつ高精度に放射線Qを特定できる。
FIG. 10 is a diagram for explaining the generation of the difference histogram Ra. FIG. 10(A) shows an example of the difference image G, and FIG. 10(B) shows the difference image G shown in FIG. 10(A). An example of the obtained difference histogram Ra is shown.
As shown in FIG. 10(B), the difference histogram Ra has the label number as the horizontal axis, and the cumulative value of the presence or absence of pixel values for each radiation Q in the difference image G shown in FIG. This is a graph in which the vertical axis is the directional difference amount cumulative value. The radial direction difference amount cumulative value increases when the ray Q includes the vertical contour line P, so in this difference histogram Ra, each ray whose radial direction difference amount cumulative value exceeds the predetermined first threshold Th1 By specifying Q, the range Ua of the radiation Q that becomes the other vehicle candidate area 60 can be specified.
In addition, by specifying the radiation Q including the vertical contour line P based on the cumulative value of the difference amount in the radiation direction for each radiation Q, image processing such as contour extraction processing is performed on the difference image G, and the vertical contour line P is Compared to methods that detect radiation Q, radiation Q can be identified faster and with higher precision.

図11はエッジ強度ヒストグラムRbの生成を説明するための図であり、図11(A)はエッジ画像Eの一例を示し、図11(B)は図11(A)のエッジ画像Eから得られるエッジ強度ヒストグラムRbの一例を示す。
エッジ強度ヒストグラムRbは、図11(B)に示すように、ラベル番号を横軸とし、図11(A)に示すエッジ画像Eにおいて放射線Qごとに画素値の有無を累積した値(以下、「放射線方向エッジ強度累積値」と言う)を縦軸としたグラフである。
エッジ画像Eは、第1俯瞰画像F1、及び第2俯瞰画像F2のうち、撮影タイミングが遅い方(すなわち直近の方)の俯瞰画像(本実施形態では第1俯瞰画像F1)において、その俯瞰画像に映った物体(当該物体の模様等を含む)の輪郭成分を抽出した画像である。かかるエッジ画像Eは、マスク差分画像生成部50が、俯瞰画像において、周辺の画素との間の輝度差が大きな(所定値以上)の各画素の画素値を、その輝度差に応じた値(強度値)に変換することで生成される。したがって、エッジ強度ヒストグラムRbは、放射線Qに含まれる立体物のエッジ成分の大小を、放射線Qのラベルごとに示したグラフとなる。
FIG. 11 is a diagram for explaining the generation of the edge strength histogram Rb, FIG. 11(A) shows an example of the edge image E, and FIG. 11(B) is obtained from the edge image E of FIG. 11(A). An example of an edge strength histogram Rb is shown.
As shown in FIG. 11(B), the edge strength histogram Rb has the label number as the horizontal axis, and is the cumulative value of the presence or absence of pixel values for each radiation Q in the edge image E shown in FIG. 11(A) (hereinafter referred to as " This is a graph in which the vertical axis is the cumulative value of edge intensity in the radial direction.
The edge image E is the bird's-eye view image of the first bird's-eye image F1 and the second bird's-eye image F2, which is captured at a later timing (i.e., the most recent one) (the first bird's-eye image F1 in this embodiment). This is an image in which contour components of an object (including the pattern of the object, etc.) reflected in the image are extracted. In the edge image E, the mask difference image generation unit 50 converts the pixel value of each pixel in the bird's-eye view image that has a large brightness difference (greater than a predetermined value) from surrounding pixels to a value ( intensity value). Therefore, the edge strength histogram Rb is a graph showing the magnitude of the edge component of the three-dimensional object included in the radiation Q for each label of the radiation Q.

マスク差分画像生成部50は、図6のステップSb1Bにおいて、ルックアップテーブル92を作成する際、差分ヒストグラムRaの中で放射線方向差分量累積値が所定の第1閾値Th1を越え、かつ、エッジ強度ヒストグラムRbの中で放射線方向エッジ強度累積値が所定の第2閾値Th2を越えている放射線Qを特定する。そして、マスク差分画像生成部50は、ルックアップテーブル92において、これらの放射線Qに「非マスキング状態」の画素値を設定し、それ以外の放射線Qに「マスキング状態」の画素値を設定する。
次いでマスク差分画像生成部50は、ルックアップテーブル92に基づいて、ラベル画像91の各画素値を設定することで、マスク画像90を生成する(ステップSb1C)。
When creating the lookup table 92 in step Sb1B of FIG. A radiation Q whose radiation direction edge strength cumulative value exceeds a predetermined second threshold Th2 is identified in the histogram Rb. Then, the mask difference image generation unit 50 sets pixel values of "non-masking state" to these radiations Q in the lookup table 92, and sets pixel values of "masking state" to the other radiations Q.
Next, the mask difference image generation unit 50 generates the mask image 90 by setting each pixel value of the label image 91 based on the lookup table 92 (step Sb1C).

図12は、マスク画像90の生成を説明するための図であり、図12(A)はラベル画像91の一例を示し、図12(B)はマスク画像90の一例を示す。
図12(A)に示すラベル画像91に、ルックアップテーブル92が適用されることで、図12(B)に示すように、他車両候補領域60に相当する領域が非マスキング状態の非マスキング領域64となり、当該非マスキング領域64以外の領域がマスキング領域62となったマスク画像90が得られる。
FIG. 12 is a diagram for explaining the generation of the mask image 90. FIG. 12(A) shows an example of the label image 91, and FIG. 12(B) shows an example of the mask image 90.
By applying the lookup table 92 to the label image 91 shown in FIG. 12(A), as shown in FIG. 12(B), the area corresponding to the other vehicle candidate area 60 becomes a non-masking area in a non-masking state. 64, and a mask image 90 is obtained in which the area other than the non-masking area 64 is the masking area 62.

そして、マスク差分画像生成部50は、続くステップSb2において、差分画像Gに、マスク画像90を重畳することで、図13に示すように、他車両候補領域60以外の領域がマスキングされたマスク差分画像Gmを生成する。 Then, in the subsequent step Sb2, the mask difference image generation unit 50 superimposes the mask image 90 on the difference image G, thereby generating a mask difference in which areas other than the other vehicle candidate area 60 are masked, as shown in FIG. Generate image Gm.

そして、マスク差分画像Gmが生成されると、上述の通り、近傍接地線特定部51が、このマスク差分画像Gmに基づいて近傍接地線L1を特定する(図4:ステップSa7:近傍接地線特定処理)。 Then, when the mask difference image Gm is generated, as described above, the nearby ground line identification unit 51 identifies the nearby ground line L1 based on this mask difference image Gm (FIG. 4: Step Sa7: Nearby ground line identification process).

図14は、近傍接地線特定処理のフローチャートである。
近傍接地線特定部51は、近傍接地線L1を求めるために、先ず、マスク差分ヒストグラムRcを生成する(ステップSc1)。
FIG. 14 is a flowchart of the nearby ground line identification process.
In order to find the nearby ground line L1, the nearby ground line specifying unit 51 first generates a mask difference histogram Rc (step Sc1).

図15はマスク差分ヒストグラムRcの生成を説明するための図であり、図15(A)はマスク差分画像Gmの一例を示し、図15(B)は図15(A)のマスク差分画像Gmから得られるマスク差分ヒストグラムRcの一例を示す。
マスク差分ヒストグラムRcは、図15(B)に示すように、車両2の走行方向Bに対して垂直な横方向Chの位置(以下、「横方向位置」と言う)を横軸とし、図15(A)に示すマスク差分画像Gmの横方向を所定間隔で短冊状の小領域に区切り、その領域ごとに走行方向Bに沿って画素値の有無を累積した値(以下、「走行方向差分量累積値」と言う)を縦軸としたグラフである。マスク差分画像Gmでは、他車両候補領域60以外がマスキングされているため、横方向Chにおける走行方向差分量累積値の分布によって、他車両Aの近傍接地線L1を特定することができる。
FIG. 15 is a diagram for explaining the generation of the mask difference histogram Rc, FIG. 15(A) shows an example of the mask difference image Gm, and FIG. 15(B) is a diagram obtained from the mask difference image Gm of FIG. 15(A). An example of the obtained mask difference histogram Rc is shown.
As shown in FIG. 15(B), the mask difference histogram Rc has the position in the lateral direction Ch perpendicular to the traveling direction B of the vehicle 2 (hereinafter referred to as "lateral position") as the horizontal axis. The horizontal direction of the mask difference image Gm shown in FIG. This is a graph whose vertical axis is the cumulative value. In the mask difference image Gm, since areas other than the other vehicle candidate area 60 are masked, the nearby grounding line L1 of the other vehicle A can be specified based on the distribution of the running direction difference amount cumulative value in the lateral direction Ch.

具体的には、前掲図14に示すように、近傍接地線特定部51は、その横方向位置に他車両Aが存在すると見做す走行方向差分量累積値の第3閾値Th3を設定する(ステップSc2)。この第3閾値Th3には、走行方向差分量累積値の平均値Aveと、走行方向差分量累積値の最小値Minとの中間値(=(Ave+Min)/2)が設定される。 Specifically, as shown in FIG. 14, the nearby grounding line specifying unit 51 sets a third threshold Th3 of the cumulative running direction difference amount at which it is assumed that another vehicle A exists at the lateral position ( Step Sc2). The third threshold Th3 is set to an intermediate value (=(Ave+Min)/2) between the average value Ave of the cumulative running direction difference amount and the minimum value Min of the cumulative running direction difference amount.

次いで、近傍接地線特定部51は、マスク差分ヒストグラムRcにおいて、走行方向差分量累積値が、所定数以上に亘って連続して第3閾値Th3を越えている横方向位置の範囲Ucに基づいて近傍接地線L1を特定する。
具体的には、近傍接地線特定部51は、図16に示すように、マスク差分ヒストグラムRcの横軸上のi(iは1以上の整数)箇所に判定点Xを等間隔に設定する。各判定点Xは、マスク差分ヒストグラムRcの横軸における区間(グラフの柱)に対応させてもよい。
そして、近傍接地線特定部51は、前掲図14に示すように、撮影位置Oに近い判定点Xから順に、所定の近傍接地線判定条件を満足するか否かを判定し(ステップSc3)、満足してない場合には(ステップSc3:No)、次の判定点Xを判定する(ステップSc4)。また、近傍接地線判定条件が満足されている場合は(ステップSc3:Yes)、近傍接地線特定部51は、判定点Xを近傍接地線L1の位置であると特定する(ステップSc5)。
Next, the nearby ground line identification unit 51 determines, based on the range Uc of lateral positions in which the running direction difference amount cumulative value exceeds the third threshold Th3 for a predetermined number of times or more in the mask difference histogram Rc. Identify the nearby ground line L1.
Specifically, as shown in FIG. 16, the nearby ground line identification unit 51 sets determination points X at equal intervals at i locations (i is an integer greater than or equal to 1) on the horizontal axis of the mask difference histogram Rc. Each determination point X may correspond to an interval (column of the graph) on the horizontal axis of the mask difference histogram Rc.
Then, as shown in FIG. 14, the nearby ground line identification unit 51 sequentially determines whether or not a predetermined nearby ground line determination condition is satisfied starting from the determination point X closest to the imaging position O (step Sc3). If not satisfied (step Sc3: No), the next determination point X is determined (step Sc4). If the nearby ground line determination condition is satisfied (step Sc3: Yes), the nearby ground line identification unit 51 identifies the determination point X as the position of the nearby ground line L1 (step Sc5).

上記近傍接地線判定条件は、判定点Xの走行方向差分量累積値が第3閾値Th3以下であり、なおかつ、次の判定点Xから所定個数分の判定点Xの全てにおいて走行方向差分量累積値が第3閾値Th3以上である、という条件である。
撮影位置Oに近い判定点Xから順に近傍接地線判定条件が判定されることで、図16に示すように、所定個数分の判定点Xの全ての走行方向差分量累積値が第3閾値Th3を越える範囲Ucに対し、撮影位置Oからみて直前の判定点Xが求められ、この判定点Xが近傍接地線L1として特定されることとなる。これにより、近傍接地線L1が他車両Aに入り込んだ位置(第3閾値Th3を越えている範囲)に設定されることがなく、より正確な位置に近傍接地線L1が設定される。
The above-mentioned nearby grounding line judgment condition is that the running direction difference amount cumulative value of the judgment point The condition is that the value is greater than or equal to the third threshold Th3.
By determining the nearby grounding line determination conditions in order from the determination point X closest to the photographing position O, as shown in FIG. 16, the cumulative value of the running direction difference amount of all the determination points For the range Uc exceeding the range Uc, the immediately preceding determination point X as seen from the photographing position O is determined, and this determination point X is specified as the nearby ground line L1. As a result, the nearby ground line L1 is not set at a position where the other vehicle A enters (in a range exceeding the third threshold value Th3), and the nearby ground line L1 is set at a more accurate position.

このように、差分画像Gにおける近傍接地線L1の位置は、当該差分画像Gではなく、影76などのノイズがマスキングされたマスク差分画像Gmに基づいて特定されるので、特定された位置は非常に正確なものとなる。 In this way, the position of the nearby ground line L1 in the differential image G is specified based not on the differential image G but on the masked differential image Gm in which noise such as the shadow 76 has been masked, so the identified position is extremely will be accurate.

近傍接地線L1が特定されると、前掲図4に示すように、車幅特定部52が車幅特定処理を実行する(ステップSa8)。この車幅特定処理では、車幅特定部52が上記マスク画像90に基づいて、他車両Aの車幅Vwを特定する。 When the nearby ground line L1 is specified, the vehicle width specifying unit 52 executes a vehicle width specifying process as shown in FIG. 4 (step Sa8). In this vehicle width identification process, the vehicle width identification unit 52 identifies the vehicle width Vw of the other vehicle A based on the mask image 90.

図17は車幅特定処理のフローチャートであり、図18は当該車幅特定処理においてマスク画像90上に設定される各種パラメータの説明図である。
車幅特定処理において、車幅特定部52は、先ず、他車両Aの位置が車幅特定条件範囲内か否かを判定する(ステップSe1)。車幅特定条件は、差分画像Gに映っている他車両Aの車幅Vwがマスク画像90から特定可能か否かを示す条件である。なお、この車幅特定条件については後述する。
FIG. 17 is a flowchart of the vehicle width identification process, and FIG. 18 is an explanatory diagram of various parameters set on the mask image 90 in the vehicle width identification process.
In the vehicle width identification process, the vehicle width identification unit 52 first determines whether the position of the other vehicle A is within the vehicle width identification condition range (step Se1). The vehicle width specifying condition is a condition indicating whether the vehicle width Vw of the other vehicle A shown in the difference image G can be specified from the mask image 90. Note that this vehicle width specifying condition will be described later.

車幅特定部52は、他車両Aの位置が車幅特定条件範囲内でない場合(ステップSe1:No)、そのまま処理を終了し、他車両Aの位置が車幅特定条件範囲内である場合(ステップSe1:Yes)、他車両Aの車幅Vwを特定すべく、次の処理を実行する。 If the position of the other vehicle A is not within the vehicle width specifying condition range (step Se1: No), the vehicle width specifying unit 52 ends the process, and if the position of the other vehicle A is within the vehicle width specifying condition range ( Step Se1: Yes), in order to identify the vehicle width Vw of the other vehicle A, the following process is executed.

すなわち、車幅特定部52は、マスク画像90において、非マスキング領域境界Nのうちの最遠方非マスキング領域境界Nfを特定する(ステップSe2)。
非マスキング領域境界Nは、非マスキング領域64とマスキング領域62との境界であり、当該非マスキング領域64の縁に相当する。非マスキング領域64は、差分画像Gにおけるマスキング領域62以外の領域、すなわち他車両Aが映っている候補となる他車両候補領域60に該当する。最遠方非マスキング領域境界Nfは、マスク画像90において、撮影位置Oからみて横方向Chの最遠方に位置する非マスキング領域境界Nである。
That is, the vehicle width specifying unit 52 specifies the farthest non-masking area boundary Nf of the non-masking area boundaries N in the mask image 90 (step Se2).
The non-masking area boundary N is the boundary between the non-masking area 64 and the masking area 62, and corresponds to the edge of the non-masking area 64. The non-masking area 64 corresponds to an area other than the masking area 62 in the difference image G, that is, an other vehicle candidate area 60 that is a candidate in which the other vehicle A is shown. The farthest non-masking area boundary Nf is the farthest non-masking area boundary N in the horizontal direction Ch when viewed from the imaging position O in the mask image 90.

車体側面のパーツや模様の輪郭線、或いは車両2の影などがカメラ映像5に映り込んだ場合、マスク画像90には、図18に示すように、この映り込み部分をマスキングする1又は複数(図示例では1つ)のマスキング領域62Aが生じる。このマスキング領域62Aは、1台分の非マスキング領域64(差分画像Gの他車両候補領域60に相当)の中に生じるため、本来ならば1つの非マスキング領域64が複数(図示例では2つ)に分断される。したがって、最遠方非マスキング領域境界Nfを特定することは、マスキング領域62Aで分断された非マスキング領域64の非マスキング領域境界Nを特定することを意味する。 When parts on the side of the vehicle body, outlines of patterns, or the shadow of the vehicle 2 are reflected in the camera image 5, the mask image 90 includes one or more ( In the illustrated example, one masking area 62A is generated. This masking area 62A occurs within the non-masking area 64 for one vehicle (corresponding to the other vehicle candidate area 60 in the difference image G), so normally one non-masking area 64 would be multiple (two in the illustrated example). ). Therefore, specifying the farthest non-masking area boundary Nf means specifying the non-masking area boundary N of the non-masking area 64 divided by the masking area 62A.

ステップSe2において、車幅特定部52は、次のようにして最遠方非マスキング領域境界Nfを特定する。
すなわち、車幅特定部52は、図18に示すように、撮影位置Oから横方向Chに直線状に延びる第1横線Lc1上に複数の検出点Dtを設定する。次いで、車幅特定部52は、各検出点Dtから縦方向に沿って撮影位置Oから遠ざかる遠方方向Cvf(本実施形態では車両2の後方DBに一致)に走査し、最遠方非マスキング領域境界点Nfdを特定する。最遠方非マスキング領域境界点Nfdは、最遠方非マスキング領域境界Nfを構成する点であり、車幅特定部52による走査の過程において、マスキング領域62から非マスキング領域64に変わる点によって特定される。
次いで、車幅特定部52は、各検出点Dtでの最遠方非マスキング領域境界点Nfdから適宜の一次近似手法を用いて近似直線Lappを求める。この近似直線Lappが最遠方非マスキング領域境界Nfとなる。
In step Se2, the vehicle width specifying unit 52 specifies the farthest non-masking area boundary Nf in the following manner.
That is, as shown in FIG. 18, the vehicle width specifying unit 52 sets a plurality of detection points Dt on the first horizontal line Lc1 extending linearly from the photographing position O in the horizontal direction Ch. Next, the vehicle width specifying unit 52 scans in a far direction Cvf (corresponding to the rear DB of the vehicle 2 in this embodiment) that moves away from the photographing position O along the longitudinal direction from each detection point Dt, and detects the farthest non-masking area boundary. Identify point Nfd. The farthest non-masking area boundary point Nfd is a point that constitutes the farthest non-masking area boundary Nf, and is specified by the point that changes from the masking area 62 to the non-masking area 64 during the scanning process by the vehicle width specifying unit 52. .
Next, the vehicle width specifying unit 52 obtains an approximate straight line Lapp from the farthest non-masking area boundary point Nfd at each detection point Dt using an appropriate linear approximation method. This approximate straight line Lapp becomes the farthest non-masking area boundary Nf.

車幅特定部52は、近似直線Lappによって非マスキング領域境界Nfを特定した後、図17に示すように、マスク画像90における他車両Aの端点Vの位置を特定する(ステップSe3)。他車両Aの端点Vは、カメラ映像5に映っている他車両Aの先端VF、又は後端VBである。本動作例では、他車両Aがリアカメラのカメラ映像5に映っているため、カメラ映像5と、当該カメラ映像5から得られる差分画像Gとには、他車両Aの先端VFが映り込む。したがって、ステップSe3では、図18に示すように、他車両Aの端点Vとして先端VFの位置が特定される。 After identifying the non-masking area boundary Nf using the approximate straight line Lapp, the vehicle width identifying unit 52 identifies the position of the end point V of the other vehicle A in the mask image 90, as shown in FIG. 17 (step Se3). The end point V of the other vehicle A is the front end VF or the rear end VB of the other vehicle A shown in the camera image 5. In this operation example, since the other vehicle A is reflected in the camera image 5 of the rear camera, the leading end VF of the other vehicle A is reflected in the camera image 5 and the difference image G obtained from the camera image 5. Therefore, in step Se3, the position of the tip VF is specified as the end point V of the other vehicle A, as shown in FIG.

本実施形態では、車幅特定部52は、マスク画像90における他車両Aの端点Vの位置を、マスク差分画像Gmに基づいて特定する。
具体的には、車幅特定部52は、図19(A)に示すように、マスク差分画像Gmに近傍接地線L1を重畳し、当該マスク差分画像Gmにおいて、近傍接地線L1よりも車両2の撮影位置Oに近い側の領域を更にマスキングすることで、図19(B)に示す端点特定用マスク差分画像Gmtを生成する。
次いで、車幅特定部52は、図19(C)に示すように、端点特定用マスク差分画像Gmtから端点特定用差分ヒストグラムRgmtを生成する。端点特定用差分ヒストグラムRgmtは、端点特定用マスク差分画像Gmtの縦方向(本実施形態では車両2の後方DBの方向)を所定間隔で短冊状の小領域に区切り、その領域ごとに、端点特定用マスク差分画像Gmtの横方向Chに画素値の有無を累積したグラフである。以下、この画素値の累積値を横方向差分量累積値という。
In this embodiment, the vehicle width identifying unit 52 identifies the position of the end point V of the other vehicle A in the mask image 90 based on the mask difference image Gm.
Specifically, as shown in FIG. 19A, the vehicle width identification unit 52 superimposes the nearby ground line L1 on the mask difference image Gm, and in the mask difference image Gm, the vehicle 2 By further masking the region closer to the photographing position O, a mask difference image Gmt for end point identification shown in FIG. 19(B) is generated.
Next, as shown in FIG. 19C, the vehicle width identifying unit 52 generates an end point identifying difference histogram Rgmt from the end point identifying mask difference image Gmt. The end point identification difference histogram Rgmt divides the end point identification mask difference image Gmt in the vertical direction (in this embodiment, the direction of the rear DB of the vehicle 2) into strip-shaped small regions at predetermined intervals, and performs end point identification for each region. It is a graph in which the presence or absence of pixel values is accumulated in the horizontal direction Ch of the mask difference image Gmt. Hereinafter, this cumulative value of pixel values will be referred to as a horizontal difference cumulative value.

端点特定用マスク差分画像Gmtでは、他車両候補領域60以外の領域に加え、近傍接地線L1よりも車両2の撮影位置Oに近い側の領域がマスキングされているため、横方向差分量累積値の分布により、他車両Aの端部のうち、車両2の撮影位置Oに近い側の端部(本実施形態では、他車両Aの先端VF)の位置を特定できる。 In the end point identification mask difference image Gmt, in addition to the area other than the other vehicle candidate area 60, the area closer to the photographing position O of the vehicle 2 than the nearby grounding line L1 is masked, so the lateral direction difference amount cumulative value Based on the distribution of , it is possible to specify the position of the end of the other vehicle A that is closer to the photographing position O of the vehicle 2 (in this embodiment, the tip VF of the other vehicle A).

具体的には、車幅特定部52は、近傍接地線特定部51がマスク差分ヒストグラムRcに基づいて近傍接地線L1を特定した手法と同様にして、端点特定用差分ヒストグラムRgmtに基づいて他車両Aの近傍側の端部を特定する。
すなわち、車幅特定部52は、撮影位置Oに近い判定点Xから順に、端点特定用差分ヒストグラムRgmtの各区間を走査する。そして、図19(B)に示すように、端点特定用差分ヒストグラムRgmtにおいて各区間の横方向差分量累積値が所定回数に亘って連続して端点判定用閾値Thgmtを越えている場合に、車幅特定部52は、図19(C)に示すように、当該連続した区間の先頭の区間(すなわち、連続した区間のうち、撮影位置Oに最も近い区間)Kgmtを特定する。そして、車幅特定部52は、マスク差分画像Gmにおいて、上記区間Pgmtに対応する位置を通って横方向Chに延びる端部線Lgmtを当該マスク差分画像Gmに重畳する。この端部線Lgmtがマスク差分画像Gmにおける他車両Aの端部(先端VF)の位置を示している。したがって、車幅特定部52は、この端部線Lgmtと近傍接地線L1との交点を求めることで、マスク差分画像Gmにおける端点Vを特定する。
そして、車幅特定部52は、マスク画像90において、マスク差分画像Gmにおける他車両Aの端点Vの位置に対応する位置を、マスク画像90における端点Vの位置として特定する。
Specifically, the vehicle width identifying unit 52 uses the same method as the method in which the nearby grounding line identifying unit 51 identifies the nearby grounding line L1 based on the mask difference histogram Rc to identify other vehicles based on the end point identifying difference histogram Rgmt. Identify the edge near A.
That is, the vehicle width specifying unit 52 scans each section of the end point specifying difference histogram Rgmt in order from the determination point X closest to the photographing position O. Then, as shown in FIG. 19(B), if the cumulative value of the horizontal difference amount in each section in the end point identification difference histogram Rgmt exceeds the end point determination threshold value Thgmt consecutively for a predetermined number of times, the vehicle As shown in FIG. 19C, the width specifying unit 52 specifies the first section of the continuous section (that is, the section closest to the photographing position O among the continuous sections) Kgmt. Then, the vehicle width specifying unit 52 superimposes an end line Lgmt extending in the lateral direction Ch through a position corresponding to the section Pgmt in the mask difference image Gm. This end line Lgmt indicates the position of the end (tip VF) of the other vehicle A in the mask difference image Gm. Therefore, the vehicle width specifying unit 52 specifies the end point V in the mask difference image Gm by finding the intersection between the end line Lgmt and the nearby ground line L1.
Then, the vehicle width specifying unit 52 specifies, in the mask image 90, a position corresponding to the position of the end point V of the other vehicle A in the mask difference image Gm as the position of the end point V in the mask image 90.

次いで、車幅特定部52は、図18に示すように、マスク画像90上に、端点Vを通って横方向Chに直線状に延びる第2横線Lc2を設定する(図17:ステップSe4)。そして車幅特定部52は、マスク画像90において、第2横線Lc2と近似直線Lapp(最遠方非マスキング領域境界Nf)との交点Vmを特定する(図17:ステップSe5)。 Next, as shown in FIG. 18, the vehicle width specifying unit 52 sets a second horizontal line Lc2 that passes through the end point V and extends linearly in the horizontal direction Ch on the mask image 90 (FIG. 17: Step Se4). Then, the vehicle width specifying unit 52 specifies the intersection Vm of the second horizontal line Lc2 and the approximate straight line Lapp (the farthest non-masking area boundary Nf) in the mask image 90 (FIG. 17: Step Se5).

ここで、第2横線Lc2は、差分画像Gに映っている他車両Aの車幅方向に延びる線を示し、さらに当該第2横線Lc2と近似直線Lappとの交点Vmは、他車両Aの先端VF、又は後端VBを示している。
したがって、ステップSe3によって特定された端点Vと、ステップSe5によって特定された交点Vmとは、他車両Aの先端側における車幅方向の両端に相当する。そこで、車幅特定部52は、マスク画像90における端点Vと交点Vmとの距離を、実空間における距離に変換することで、当該実空間における車幅Vwを特定する(ステップSe6)。
Here, the second horizontal line Lc2 indicates a line extending in the vehicle width direction of the other vehicle A shown in the difference image G, and furthermore, the intersection Vm of the second horizontal line Lc2 and the approximate straight line Lapp is the tip of the other vehicle A. VF or rear end VB is shown.
Therefore, the end point V specified in step Se3 and the intersection point Vm specified in step Se5 correspond to both ends of the leading end side of the other vehicle A in the vehicle width direction. Therefore, the vehicle width identifying unit 52 identifies the vehicle width Vw in the real space by converting the distance between the end point V and the intersection Vm in the mask image 90 into a distance in the real space (step Se6).

このように、車幅特定部52は、マスク画像90において最遠方非マスキング領域境界Nfを特定し、当該最遠方非マスキング領域境界Nfを用いて車幅Vwを特定する。
これにより、車体側面のパーツや模様の輪郭線、或いは車両2の影などに起因したマスキング領域62Aがマスク画像90に生じ、本来ならば1つの非マスキング領域64が複数に分断された場合でも、本来の非マスキング領域64の非マスキング領域境界Nが最遠方非マスキング領域境界Nfによって特定され、車幅Vwが正確に求められる。
In this way, the vehicle width specifying unit 52 specifies the farthest non-masking area boundary Nf in the mask image 90, and uses the farthest non-masking area boundary Nf to specify the vehicle width Vw.
As a result, a masking area 62A is generated in the mask image 90 due to parts on the side of the vehicle body, outlines of patterns, or the shadow of the vehicle 2, and even if one non-masking area 64 is originally divided into multiple parts, The non-masking area boundary N of the original non-masking area 64 is specified by the farthest non-masking area boundary Nf, and the vehicle width Vw is accurately determined.

図20は、カメラ映像5、俯瞰画像F、及びマスク画像90の例を、車幅Vwが異なる複数の他車両Aについて示す図である。なお、同図には、他車両Aの例として、普通車(普通四輪自動車)、大型バス(大型乗用自動車)、及びバイク(二輪自動車)が示されている。
同図に示すように、車幅特定処理により、それぞれの他車両Aごとに、適切に車幅Vwが特定される。
FIG. 20 is a diagram showing examples of camera images 5, overhead images F, and mask images 90 for a plurality of other vehicles A having different vehicle widths Vw. In addition, in the figure, as examples of other vehicles A, a regular car (regular four-wheeled vehicle), a large bus (large passenger vehicle), and a motorcycle (two-wheeled vehicle) are shown.
As shown in the figure, the vehicle width Vw is appropriately specified for each other vehicle A by the vehicle width specifying process.

ところで、この車幅特定処理では、マスク画像90における他車両Aの先端側、又は後端側の端点Vに基づいて車幅Vwが特定されるため、これら先端側、又は後端側が俯瞰画像F、及びカメラ映像5に映り込んでいない場合、車幅Vwを特定することはできない。この場合、車幅特定処理の実行は無駄となる。
そこで、本実施形態では、他車両Aの先端側、又は後端側がカメラ映像5に映り込む条件が上記車幅特定条件に予め設定されており、車幅特定処理の開始時のステップSa1において車幅特定条件の充足を判定することで、無駄な処理の実行を防止している。
By the way, in this vehicle width specifying process, the vehicle width Vw is specified based on the end point V of the front end side or the rear end side of the other vehicle A in the mask image 90, so that the front end side or the rear end side is , and is not reflected in the camera image 5, the vehicle width Vw cannot be specified. In this case, execution of the vehicle width identification process is wasteful.
Therefore, in the present embodiment, the condition that the front end side or the rear end side of the other vehicle A is reflected in the camera image 5 is set in advance as the vehicle width specifying condition, and in step Sa1 at the start of the vehicle width specifying process, By determining whether the width specific condition is satisfied, unnecessary processing is prevented.

他車両Aの先端側、又は後端側がカメラ映像5に映り込む条件は、車両2を中心とした360度の全周囲のうち、他車両Aが位置する範囲によって規定可能である。例えば、図21に示すように、当該他車両Aの先端側、又は後端側がカメラ映像5(図21の例では俯瞰映像F)に映らない範囲として、他車両Aが車両2の略側方の所定範囲βが設定され、この所定範囲βを除く残余の範囲が上記車幅特定条件に設定される。
そして、ステップSe1において、車幅特定部52は、所定範囲βを除く残余の範囲に他車両Aが位置するか否かを判定し、当該範囲内に他車両Aが位置する場合に限り、ステップSe2以降の処理を実行する。これにより、車幅特定処理が無駄に行われることが防止される。なお、車幅特定部52は、車両2に対する他車両Aの位置を、例えば各カメラ4のカメラ映像5、或いは、俯瞰画像Fに基づいて特定してもよいし、ソナーなどの別途の物体検知センサの検出結果を用いて特定してもよい。
The conditions under which the front end side or the rear end side of the other vehicle A is reflected in the camera image 5 can be defined by the range in which the other vehicle A is located within the entire 360-degree circumference around the vehicle 2 . For example, as shown in FIG. 21, the range in which the front end or rear end of the other vehicle A is not visible in the camera image 5 (overhead image F in the example of FIG. 21) is that the other vehicle A is located approximately to the side of the vehicle 2. A predetermined range β is set, and the remaining range excluding this predetermined range β is set as the vehicle width specifying condition.
Then, in step Se1, the vehicle width specifying unit 52 determines whether the other vehicle A is located in the remaining range excluding the predetermined range β, and only when the other vehicle A is located within the range, the vehicle width specifying unit 52 Processing after Se2 is executed. This prevents the vehicle width identification process from being performed in vain. The vehicle width specifying unit 52 may specify the position of the other vehicle A with respect to the vehicle 2, for example, based on the camera images 5 of each camera 4 or the bird's-eye view image F, or may specify the position of the other vehicle A with respect to the vehicle 2 based on a separate object detection method such as sonar. The identification may be made using the detection results of the sensor.

車幅Vwが特定されると、前掲図4に示すように、遠方接地線特定部53が差分画像Gにおける遠方接地線L2を特定する(ステップSa9)。具体的には、遠方接地線特定部53は、差分画像Gにおいて、近傍接地線L1から車幅Vwだけ離間し、当該近傍接地線L1に平行な線を遠方接地線L2として特定する。
この遠方接地線L2の位置は、マスク画像90から得られた車幅Vwを使って求められるので、車幅Vwを予め適宜に定めた固定値とする場合に比べ、正確に求められる。
When the vehicle width Vw is specified, as shown in FIG. 4, the far grounding line specifying unit 53 specifies the far grounding line L2 in the difference image G (step Sa9). Specifically, in the difference image G, the far ground line identification unit 53 identifies a line that is spaced apart from the nearby ground line L1 by the vehicle width Vw and parallel to the nearby ground line L1 as the far ground line L2.
Since the position of the far ground line L2 is determined using the vehicle width Vw obtained from the mask image 90, it can be determined more accurately than in the case where the vehicle width Vw is set to a predetermined fixed value.

次いで、位置特定部54が、差分画像Gにおいて他車両領域Hを特定する(ステップSa10:立体物領域特定処理)。
他車両領域Hは、近傍接地線特定処理(ステップSa7)、及び遠方接地線特定処理(ステップSa9)のそれぞれで特定された近傍接地線L1、及び遠方接地線L2と、他車両Aの先端VF、及び後端VBと、によって特定される。
Next, the position specifying unit 54 specifies the other vehicle area H in the difference image G (step Sa10: three-dimensional object area specifying process).
The other vehicle area H includes the nearby ground line L1 and the distant ground line L2 specified in the nearby ground line identification process (step Sa7) and the distant ground line identification process (step Sa9), and the tip VF of the other vehicle A. , and the rear end VB.

他車両Aの先端VF、及び後端VBは、上述の通り、近傍接地線L1、及び遠方接地線L2と鉛直方向輪郭線Pとの交点から求めることができる。
すなわち、図22に示すように、俯瞰画像Fにおいて、他車両Aの後端近傍側鉛直方向輪郭線P1、及び先端近傍側鉛直方向輪郭線P2と、近傍接地線L1との各々の交点によって、近傍接地線L1における後端近傍側位置L1VBと、先端近傍側位置L1VFとを求めることができる。また同様に、他車両Aの後端近傍側鉛直方向輪郭線P1、及び先端近傍側鉛直方向輪郭線P2と、遠方接地線L2との各々の交点によって、遠方接地線L2における後端遠方側位置L2VBと、先端遠方側位置L2VFとを求めることができる。
なお、後端近傍側位置L1VB、及び後端遠方側位置L2VBは、他車両Aの後端側における車幅方向の両端を示し、先端近傍側位置L1VF、及び先端遠方側位置L2VFは、他車両Aの先端側における車幅方向の両端を示す。
The leading end VF and rear end VB of the other vehicle A can be determined from the intersections of the vertical contour line P with the nearby grounding line L1 and the distant grounding line L2, as described above.
That is, as shown in FIG. 22, in the overhead image F, the intersections of the vertical contour line P1 near the rear end and the vertical contour P2 near the tip of the other vehicle A with the ground line L1, A position L1VB near the rear end and a position L1VF near the tip of the nearby ground line L1 can be determined. Similarly, the rear end far side position on the far ground line L2 is determined by the intersections of the vertical contour line P1 near the rear end of the other vehicle A, the vertical contour line P2 near the tip, and the far ground line L2. L2VB and the tip far side position L2VF can be determined.
Note that the rear end near side position L1VB and the rear end far side position L2VB indicate both ends in the vehicle width direction on the rear end side of the other vehicle A, and the front end near side position L1VF and the front end far side position L2VF indicate the ends of the rear end side of the other vehicle A. Both ends of the front end of A in the vehicle width direction are shown.

しかしながら、俯瞰画像Fにおいては、上述したように、他車両Aが放射線Qの方向に倒れ込んで映るため、他車両Aのルーフ部分Ar等の影響により実際よりも走行方向Bに長く延びた他車両領域Hが検出されることとなり、他車両Aの位置に誤差が生じることとなる。 However, in the bird's-eye view image F, as mentioned above, the other vehicle A appears to be leaning down in the direction of the radiation Q, so the other vehicle A appears longer in the driving direction B than it actually is due to the influence of the roof portion Ar of the other vehicle A, etc. Region H will be detected, and an error will occur in the position of other vehicle A.

本実施形態の立体物領域特定処理では、かかる誤差を排除するために、位置特定部54が次のようにして他車両領域Hを特定している。
すなわち、図23に示すように、位置特定部54は、近傍接地線L1、及び遠方接地線L2のそれぞれごとに、他車両Aの鉛直方向輪郭線Pを含む放射線Qとの交点LVを求める。次いで、位置特定部54は、近傍接地線L1における交点LVから暫定第1他車両領域H1を特定し、また遠方接地線L2における交点LVから暫定第2他車両領域H2を特定する。そして、位置特定部54は、これら暫定第1他車両領域H1と暫定第2他車両領域H2とが重複するエリアに基づいて他車両Aの先端VF、及び後端VBを特定する。そして、これら近傍接地線L1、遠方接地線L2、先端VF、及び後端VBによって正確な他車両領域Hが特定される。
ここで、遠方接地線L2の精度が悪い場合、暫定第1他車両領域H1、及び暫定第2他車両領域H2が重複せず、他車両領域Hが特定されないことがある。これに対し、本実施形態では、遠方接地線L2は、マスク差分画像Gmに基づいて特定された近傍接地線L1、及びマスク画像90に基づいて特定された車幅Vwを用いて正確に特定されているため、他車両領域Hを確実に特定することができる。
In the three-dimensional object area specifying process of this embodiment, in order to eliminate such errors, the position specifying unit 54 specifies the other vehicle area H in the following manner.
That is, as shown in FIG. 23, the position specifying unit 54 determines the intersection LV with the radiation Q including the vertical contour line P of the other vehicle A for each of the nearby grounding line L1 and the distant grounding line L2. Next, the position specifying unit 54 specifies a provisional first other vehicle area H1 from the intersection LV on the nearby grounding line L1, and also specifies a provisional second other vehicle area H2 from the intersection LV on the distant grounding line L2. Then, the position specifying unit 54 specifies the front end VF and the rear end VB of the other vehicle A based on the area where the provisional first other vehicle area H1 and the provisional second other vehicle area H2 overlap. Then, the other vehicle area H is accurately specified by the nearby ground line L1, the distant ground line L2, the front end VF, and the rear end VB.
Here, if the accuracy of the far grounding line L2 is poor, the provisional first other vehicle area H1 and the provisional second other vehicle area H2 may not overlap, and the other vehicle area H may not be specified. In contrast, in the present embodiment, the distant ground line L2 is accurately identified using the nearby ground line L1 specified based on the mask difference image Gm and the vehicle width Vw specified based on the mask image 90. Therefore, the other vehicle area H can be reliably specified.

以下、かかる立体物領域特定処理について、より詳細に説明する。 The three-dimensional object region specifying process will be described in more detail below.

図24は、立体物領域特定処理のフローチャートである。
位置特定部54は、暫定第1他車両領域H1、及び暫定第2他車両領域H2を特定するために、先ず、差分近傍ヒストグラムRan、及びエッジ強度近傍ヒストグラムRbnと、差分遠方ヒストグラムRaf、及びエッジ強度遠方ヒストグラムRbfと、をそれぞれ生成する(ステップSd1)。
FIG. 24 is a flowchart of the three-dimensional object region specifying process.
In order to specify the provisional first other vehicle area H1 and the provisional second other vehicle area H2, the position specifying unit 54 first uses the difference neighborhood histogram Ran, the edge strength neighborhood histogram Rbn, the difference far distance histogram Raf, and the edge An intensity far-field histogram Rbf is generated (step Sd1).

図25は差分近傍ヒストグラムRanの生成を説明するための図であり、図25(A)は差分画像Gの一例を示し、図25(B)は図25(A)の差分画像Gから得られる差分近傍ヒストグラムRanの一例を示す。また図26はエッジ強度近傍ヒストグラムRbnの生成を説明するための図であり、図26(A)はエッジ画像Eの一例を示し、図26(B)は図26(A)のエッジ画像Eから得られるエッジ強度近傍ヒストグラムRbnの一例を示す。
差分近傍ヒストグラムRanは、図25(B)に示すように、図25(A)に示す差分画像Gにおける近傍領域Jnについて上述した差分ヒストグラムRaを求めたものである。またエッジ強度近傍ヒストグラムRbnは、図26(B)に示すように、図26(A)に示すエッジ画像Eにおける近傍領域Jnについて、上述したエッジ強度ヒストグラムRbを求めたものである。
近傍領域Jnは、差分画像Gにおいて、近傍接地線L1と遠方接地線L2とで挟まれた領域である。
FIG. 25 is a diagram for explaining the generation of the difference neighborhood histogram Ran, FIG. 25(A) shows an example of the difference image G, and FIG. 25(B) is obtained from the difference image G in FIG. 25(A). An example of a differential neighborhood histogram Ran is shown. Further, FIG. 26 is a diagram for explaining the generation of the edge strength neighborhood histogram Rbn. FIG. 26(A) shows an example of the edge image E, and FIG. 26(B) An example of the obtained edge strength neighborhood histogram Rbn is shown.
The difference neighborhood histogram Ran is, as shown in FIG. 25B, the difference histogram Ra described above for the neighborhood region Jn in the difference image G shown in FIG. 25A. Further, the edge strength neighborhood histogram Rbn, as shown in FIG. 26(B), is obtained by obtaining the above-mentioned edge strength histogram Rb for the neighborhood region Jn in the edge image E shown in FIG. 26(A).
The nearby area Jn is an area sandwiched between the nearby ground line L1 and the far ground line L2 in the difference image G.

図27は差分遠方ヒストグラムRafの生成を説明するための図であり、図27(A)は差分画像Gの一例を示し、図27(B)は図27(A)の差分画像Gから得られる差分遠方ヒストグラムRafの一例を示す。また図28はエッジ強度遠方ヒストグラムRbfの生成を説明するための図であり、図28(A)はエッジ画像Eの一例を示し、図28(B)は図28(A)のエッジ画像Eから得られるエッジ強度遠方ヒストグラムRbfの一例を示す。
差分遠方ヒストグラムRafは、図27(B)に示すように、図27(A)に示す差分画像Gにおける遠方領域Jfについて上述した差分ヒストグラムRaを求めたものである。またエッジ強度遠方ヒストグラムRbfは、図28(B)に示すように、図28(A)に示すエッジ画像Eにおける遠方領域Jfについて、上述したエッジ強度ヒストグラムRbを求めたものである。
遠方領域Jfは、差分画像Gにおいて、撮影位置Oからみて近傍接地線L1よりも遠方の領域である。
FIG. 27 is a diagram for explaining the generation of the differential far-field histogram Raf, FIG. 27(A) shows an example of the differential image G, and FIG. 27(B) is obtained from the differential image G in FIG. 27(A). An example of a differential far-field histogram Raf is shown. Further, FIG. 28 is a diagram for explaining the generation of the edge strength far histogram Rbf, and FIG. 28(A) shows an example of the edge image E, and FIG. 28(B) is a diagram obtained from the edge image E of FIG. 28(A). An example of the obtained edge strength far histogram Rbf is shown.
The differential far-field histogram Raf, as shown in FIG. 27(B), is obtained from the above-described differential histogram Ra for the far-field area Jf in the differential image G shown in FIG. 27(A). Further, the edge strength far histogram Rbf is obtained by obtaining the above-mentioned edge strength histogram Rb for the far region Jf in the edge image E shown in FIG. 28(A), as shown in FIG. 28(B).
The far area Jf is an area in the difference image G that is further away than the nearby ground line L1 when viewed from the imaging position O.

差分近傍ヒストグラムRan、及びエッジ強度近傍ヒストグラムRbnの生成には近傍用マスクラベル画像91nが用いられ、差分遠方ヒストグラムRaf、及びエッジ強度遠方ヒストグラムRbfの生成には遠方用マスクラベル画像91fが用いられる。 The neighborhood mask label image 91n is used to generate the differential neighborhood histogram Ran and the edge intensity neighborhood histogram Rbn, and the far mask label image 91f is used to generate the differential distant histogram Raf and the edge intensity far histogram Rbf.

図29は、近傍用マスクラベル画像91n、及び遠方用マスクラベル画像91fの説明図である。
近傍用マスクラベル画像91nは、差分画像Gにおいて近傍領域Jn以外の画素値を無効とし、累積値のカウントから除外されるようにする画像である。かかる近傍用マスクラベル画像91nは、図29に示すように、差分画像Gにおける近傍領域Jn以外をマスキングする近傍領域用マスク画像90nを、上述したラベル画像91に重畳することで得られる。
位置特定部54が、近傍用マスクラベル画像91nを用いて差分ヒストグラムRa、及びエッジ強度ヒストグラムRbを求めることで、近傍領域Jnの画素値だけが累積値の加算対象となり、差分近傍ヒストグラムRan、及びエッジ強度近傍ヒストグラムRbnが求められることとなる。
FIG. 29 is an explanatory diagram of the near mask label image 91n and the far mask label image 91f.
The neighborhood mask label image 91n is an image that invalidates pixel values other than the neighborhood area Jn in the difference image G so that they are excluded from the cumulative value count. The neighborhood mask label image 91n is obtained by superimposing a neighborhood mask image 90n that masks areas other than the neighborhood Jn in the difference image G on the label image 91 described above, as shown in FIG.
The position specifying unit 54 obtains the difference histogram Ra and the edge strength histogram Rb using the neighborhood mask label image 91n, so that only the pixel values of the neighborhood area Jn are subject to cumulative value addition, and the difference neighborhood histogram Ran and An edge strength neighborhood histogram Rbn is obtained.

遠方用マスクラベル画像91fは、差分画像Gにおいて遠方領域Jf以外の画素値を無効とし、累積値のカウントから除外されるようにする画像であり、差分画像Gにおける遠方領域Jf以外をマスキングする遠方領域用マスク画像90fをラベル画像91に重畳することで得られる。
位置特定部54が、遠方用マスクラベル画像91fを用いて差分ヒストグラムRa、及びエッジ強度ヒストグラムRbを求めることで、遠方領域Jfの画素値だけが累積値の加算対象となり、差分遠方ヒストグラムRaf、及びエッジ強度遠方ヒストグラムRbfが求められる。
The far-field mask label image 91f is an image in which pixel values other than the far-field area Jf in the differential image G are invalidated and excluded from the cumulative value count, and the far-field mask label image 91f is an image in which pixel values other than the far-field area Jf in the differential image G are masked. It is obtained by superimposing the area mask image 90f on the label image 91.
The position specifying unit 54 obtains the difference histogram Ra and the edge strength histogram Rb using the far-field mask label image 91f, so that only the pixel values in the far-field area Jf are subject to cumulative value addition, and the difference far-field histogram Raf and An edge strength far-field histogram Rbf is determined.

前掲図24に戻り、位置特定部54は、次に、差分近傍ヒストグラムRan、及びエッジ強度近傍ヒストグラムRbnに基づいて、近傍領域Jnにおける立体物判定を行う(ステップSd2)。
具体的には、位置特定部54は、差分近傍ヒストグラムRanにおいて放射線方向差分量累積値が第4閾値Th4(図25)以上であり、なおかつエッジ強度近傍ヒストグラムRbnにおいて放射方向エッジ強度累積値が第5閾値Th5(図26)以上となるラベル番号の放射線Qを特定する。
そして、図30に示すように、位置特定部54は、差分画像Gにおいて、特定された放射線Qの各々と近傍接地線L1との交点LVを特定する。これらの交点LVは、差分画像Gの中に設定された所定の検出領域についてのみ行われる。この検出領域は、例えば上記検出領域72(図3、図5)などである。
これらの交点LVによって、近傍領域Jnに限定して立体物検出を行った場合の暫定第1他車両領域H1が特定される。なお、暫定第1他車両領域H1の横方向Chの幅には、車幅特定処理(図4:ステップSa9)において特定された車幅Vwが用いられる。
Returning to FIG. 24 above, the position specifying unit 54 next performs three-dimensional object determination in the nearby region Jn based on the difference neighborhood histogram Ran and the edge intensity neighborhood histogram Rbn (step Sd2).
Specifically, the position specifying unit 54 determines that in the differential neighborhood histogram Ran, the radial direction difference amount cumulative value is equal to or greater than the fourth threshold Th4 (FIG. 25), and in the edge strength neighborhood histogram Rbn, the radial direction edge strength cumulative value is the fourth threshold value Th4 (FIG. 25) or more. 5. A radiation Q having a label number equal to or higher than the threshold value Th5 (FIG. 26) is identified.
Then, as shown in FIG. 30, the position specifying unit 54 specifies, in the difference image G, an intersection LV between each of the specified radiation lines Q and the nearby ground line L1. These intersection points LV are determined only for a predetermined detection area set in the difference image G. This detection area is, for example, the detection area 72 (FIGS. 3 and 5).
These intersection points LV specify a provisional first other vehicle area H1 when three-dimensional object detection is performed limited to the nearby area Jn. Note that the vehicle width Vw specified in the vehicle width specifying process (FIG. 4: Step Sa9) is used as the width in the lateral direction Ch of the provisional first other vehicle area H1.

前掲図24に戻り、位置特定部54は、差分遠方ヒストグラムRaf、及びエッジ強度遠方ヒストグラムRbfに基づいて遠方領域Jfにおける立体物判定を行う(ステップSd3)。これにより、遠方領域Jfに限定して立体物検出を行った場合の暫定第2他車両領域H2が特定されることとなる。 Returning to FIG. 24, the position specifying unit 54 performs three-dimensional object determination in the far area Jf based on the differential far-field histogram Raf and the edge strength far-field histogram Rbf (step Sd3). Thereby, the provisional second other vehicle area H2 in the case where three-dimensional object detection is performed limited to the far area Jf is specified.

ここで、上述の通り、複数の他車両Aが縦列走行していた場合、暫定第1他車両領域H1、及び暫定第2他車両領域H2には、2台以上の他車両Aが含まれる可能性がある。
そこで、位置特定部54は、近傍接地線L1における各交点LV、及び遠方接地線L2における各交点LVのそれぞれを、次のようにして1台の他車両Aごとにグループ化する(ステップSd4、Sd5)。
Here, as described above, if a plurality of other vehicles A are traveling in parallel, two or more other vehicles A may be included in the provisional first other vehicle area H1 and the provisional second other vehicle area H2. There is sex.
Therefore, the position specifying unit 54 groups each intersection LV on the nearby ground line L1 and each intersection LV on the distant ground line L2 for each other vehicle A as follows (step Sd4, Sd5).

近傍接地線L1に交点LVを例にするすると、図31に示すように、位置特定部54は、近傍接地線L1における各交点LVを、撮影位置Oから近い順に探索し、隣り合う2つの交点LVの間の距離Wが所定の第6閾値Th6以下の場合は、それら2つの交点LVを同一のグループ97に分類し、距離Wが所定の第6閾値Th6を越えた場合は、撮影位置Oから遠い方の交点LVを新たなグループ97に分類する。これにより、第6閾値Th6よりも交点LV同士の間隔が開いている箇所、すなわち2台の他車両Aの車間でグループ97が分けられ、他車両Aごとに、交点LVがグループ化される。
そして、位置特定部54は、グループ97ごとに、そのグループ97に属する交点LVによって単一他車両領域K1を特定することで、暫定第1他車両領域H1が、単一の他車両Aごとに分けられることとなる。
Taking the intersection LV of the nearby ground line L1 as an example, as shown in FIG. If the distance W between the LVs is less than or equal to the sixth predetermined threshold Th6, the two intersection points LV are classified into the same group 97, and if the distance W exceeds the sixth predetermined threshold Th6, the photographing position O The intersection point LV that is further away from is classified into a new group 97. As a result, groups 97 are divided at locations where the interval between the intersection points LV is wider than the sixth threshold Th6, that is, between the two other vehicles A, and the intersection points LV are grouped for each other vehicle A.
Then, the position specifying unit 54 specifies the single other vehicle area K1 for each group 97 using the intersection LV belonging to the group 97, so that the provisional first other vehicle area H1 is determined for each single other vehicle A. It will be divided.

前掲図24に戻り、位置特定部54は、近傍接地線L1について特定された単一他車両領域K1と、遠方接地線L2について特定された単一他車両領域K2と、に基づいて、最終的な単一他車両領域Kを決定する(ステップSd6)。
すなわち、図32に示すように、単一他車両領域K1、及び単一他車両領域K2の各々の他車両Aの先端VF、及び後端VBのうち、単一他車両領域K1、及び単一他車両領域K2の両者が重複している範囲にあるものを、最終的な単一他車両領域Kの先端VF、及び後端VBとして特定する。
そして、これら先端VF、及び後端VBと、近傍接地線L1及び遠方接地線L2とによって、射影変換による倒れ込みに起因する誤差を排除し、矩形状の単一他車両領域Kの正確な位置が特定されることとなる。
Returning to FIG. 24, the position specifying unit 54 determines the final location based on the single other vehicle area K1 specified for the nearby grounding line L1 and the single other vehicle area K2 specified for the distant grounding line L2. A single other vehicle area K is determined (step Sd6).
That is, as shown in FIG. 32, among the front end VF and rear end VB of the other vehicle A in the single other vehicle area K1 and the single other vehicle area K2, the single other vehicle area K1 and the single other vehicle area The area in which both other vehicle areas K2 overlap is specified as the final tip VF and rear end VB of the single other vehicle area K.
Then, by using these front end VF, rear end VB, near ground line L1, and far ground line L2, errors caused by tilting due to projective transformation are eliminated, and the accurate position of the rectangular single other vehicle area K is determined. It will be specified.

上述した実施形態によれば、次のような効果を奏する。 According to the embodiment described above, the following effects are achieved.

本実施形態のカメラECU6(立体物検出装置)は、互いの撮影位置Oが揃った第1俯瞰画像F1、及び第2俯瞰画像F2の差分画像Gにおいて他車両Aが映っていると候補となる他車両候補領域60以外をマスキングしたマスク差分画像Gmを生成し、このマスク差分画像Gmに基づいて、差分画像Gにおける他車両Aの位置を特定する。
これにより、差分画像Gに基づいて他車両Aの位置を特定する場合に比べ、走行中の車両2と、その周囲の他車両Aとの間に影76が存在するときでも、他車両Aの位置を精度よく特定ができる。
したがって、車両制御ユニット8にあっては、他車両Aの正確な位置に基づいて、車線変更や合流、分流時の他車両と接近するようなシーンで、より正確な自動運転制御を実現できる。
これに加え、カメラECU6は、マスク差分画像Gmに基づいて他車両Aの端点Vを求め、マスク画像90における、他車両Aの端点Vと非マスキング領域境界Nとの距離に基づいて、他車両Aの車幅Vwを特定する車幅特定部52を備える。これにより、カメラECU6が予め適宜に定めた固定値を車幅Vwに用いて他車両Aの位置を特定する場合に比べ、他車両Aの位置を正確に特定することができる。
また、車幅特定部52は、マスク差分画像Gmの生成に供されるマスク画像90に基づいて車幅Vwを特定するため、既存のマスク画像90を用いて効率良く車幅Vwを特定できる。
さらに、車幅特定部52は、マスク画像90において最遠方非マスキング領域境界Nfと他車両Aの端点Vを通る第2横線Lc2との交点Vmを特定し、当該端点Vと当該交点Vmとの間の距離に基づいて他車両Aの車幅Vwを特定する。これにより、車体側面のパーツや模様の輪郭線、或いは車両2の影などに起因したマスキング領域62A(図18)がマスク画像90に生じ、本来ならば1つの非マスキング領域64が複数に分断された場合でも、本来の非マスキング領域64の非マスキング領域境界Nが最遠方非マスキング領域境界Nfによって特定され、車幅Vwが正確に求められる。
The camera ECU 6 (three-dimensional object detection device) of the present embodiment becomes a candidate when another vehicle A is seen in the difference image G of the first bird's-eye view image F1 and the second bird's-eye view image F2 in which the photographing positions O are aligned with each other. A mask difference image Gm is generated in which areas other than the other vehicle candidate area 60 are masked, and the position of the other vehicle A in the difference image G is specified based on this mask difference image Gm.
As a result, compared to the case where the position of the other vehicle A is specified based on the difference image G, even when the shadow 76 exists between the running vehicle 2 and other vehicles A around it, the position of the other vehicle A can be detected. The location can be determined with high accuracy.
Therefore, in the vehicle control unit 8, based on the accurate position of the other vehicle A, more accurate automatic driving control can be realized in scenes where the vehicle approaches another vehicle when changing lanes, merging, or branching.
In addition, the camera ECU 6 determines the end point V of the other vehicle A based on the mask difference image Gm, and determines the end point V of the other vehicle A based on the distance between the end point V of the other vehicle A and the non-masking area boundary N in the mask image 90. A vehicle width specifying section 52 is provided to specify the vehicle width Vw of A. Thereby, the position of the other vehicle A can be specified more accurately than when the position of the other vehicle A is specified using a fixed value appropriately determined in advance as the vehicle width Vw by the camera ECU 6.
Moreover, since the vehicle width specifying unit 52 specifies the vehicle width Vw based on the mask image 90 used for generating the mask difference image Gm, the vehicle width Vw can be efficiently specified using the existing mask image 90.
Furthermore, the vehicle width specifying unit 52 specifies the intersection Vm between the farthest non-masking area boundary Nf and the second horizontal line Lc2 passing through the end point V of the other vehicle A in the mask image 90, and connects the end point V and the intersection Vm. The vehicle width Vw of the other vehicle A is specified based on the distance between the two vehicles. As a result, a masking area 62A (FIG. 18) is generated in the mask image 90 due to parts on the side of the vehicle body, outlines of patterns, or the shadow of the vehicle 2, and a single non-masking area 64 is divided into multiple parts. Even in this case, the non-masking area boundary N of the original non-masking area 64 is specified by the farthest non-masking area boundary Nf, and the vehicle width Vw can be accurately determined.

本実施形態の車幅特定部52は、マスク画像90において、撮影位置Oから他車両Aの車幅方向に直線状に延びる第1横線Lc1に設定された複数の検出点Dtのそれぞれから当該マスク画像90の縦方向に沿って遠方方向Cvfに走査し、マスキング領域62から非マスキング領域64に変わる最遠方非マスキング領域境界点Nfdを特定する。そして車幅特定部52は、検出点Dtのそれぞれの最遠方非マスキング領域境界点Nfdから一次近似手法を用いて近似直線を求めることで最遠方非マスキング領域境界Nfを特定する。
これにより、最遠方非マスキング領域境界Nfを確実に特定することができる。
In the mask image 90, the vehicle width specifying unit 52 of the present embodiment detects the mask from each of a plurality of detection points Dt set on a first horizontal line Lc1 extending linearly from the photographing position O in the vehicle width direction of the other vehicle A. The image 90 is scanned in the far direction Cvf along the vertical direction to identify the farthest non-masking area boundary point Nfd where the masking area 62 changes to the non-masking area 64. Then, the vehicle width specifying unit 52 specifies the farthest non-masking area boundary Nf by obtaining an approximate straight line from each of the farthest non-masking area boundary points Nfd of the detection point Dt using a linear approximation method.
Thereby, the farthest non-masking area boundary Nf can be reliably specified.

本実施形態の位置特定部54は、他車両Aの鉛直方向輪郭線Pを含む放射線Qと、近傍接地線L1、及び遠方接地線L2のそれぞれとの交点LVに基づいて、近傍接地線L1において他車両Aが位置する暫定第1他車両領域H1、及び、遠方接地線L2において他車両Aが位置する暫定第2他車両領域H2を特定し、これら暫定第1他車両領域H1、及び暫定第2他車両領域H2が重複する範囲に基づいて、差分画像Gにおける他車両領域Hを特定する。
これにより、射影変換による倒れ込みの影響を排除して、正確に他車両領域Hを特定することができる。
また遠方接地線L2の精度が悪い場合、暫定第1他車両領域H1、及び暫定第2他車両領域H2が重複せず、他車両領域Hが特定されないことがある。これに対し、本実施形態では、遠方接地線L2は、マスク差分画像Gmに基づいて特定された近傍接地線L1、及びマスク画像90に基づいて特定された車幅Vwを用いて正確に特定されるため、他車両領域Hを確実に特定することができる。
The position specifying unit 54 of this embodiment locates the nearby ground line L1 based on the intersection points LV of the radiation Q including the vertical contour line P of the other vehicle A and each of the nearby ground line L1 and the distant ground line L2. A provisional first other vehicle area H1 where the other vehicle A is located and a provisional second other vehicle area H2 where the other vehicle A is located at the far grounding line L2 are specified, and these provisional first other vehicle areas H1 and the provisional second other vehicle area H1 are identified. The other vehicle area H in the difference image G is specified based on the range in which the two other vehicle areas H2 overlap.
Thereby, the influence of collapse due to projective transformation can be eliminated, and the other vehicle area H can be accurately specified.
Furthermore, if the accuracy of the distant grounding line L2 is poor, the provisional first other vehicle area H1 and the provisional second other vehicle area H2 may not overlap, and the other vehicle area H may not be specified. In contrast, in the present embodiment, the distant ground line L2 is accurately identified using the nearby ground line L1 specified based on the mask difference image Gm and the vehicle width Vw specified based on the mask image 90. Therefore, the other vehicle area H can be reliably specified.

本実施形態の近傍接地線特定部51は、マスク差分画像Gmに基づいて生成されたマスク差分ヒストグラムRcにおいて走行方向差分量累積値が第3閾値Th3を越える横軸の位置に基づいて、差分画像Gにおける他車両Aの近傍接地線L1を特定する。
これにより、近傍接地線L1がマスク差分画像Gmを用いて正確に特定される。
The nearby ground line identifying unit 51 of the present embodiment generates a difference image based on the position on the horizontal axis where the running direction difference amount cumulative value exceeds the third threshold Th3 in the mask difference histogram Rc generated based on the mask difference image Gm. The nearby grounding line L1 of the other vehicle A at G is specified.
Thereby, the nearby ground line L1 is accurately specified using the mask difference image Gm.

上述した実施形態は、あくまでも本発明の一態様を例示したものであって、本発明の趣旨を逸脱しない範囲において任意に変形、及び応用が可能である。 The embodiment described above is merely an example of one aspect of the present invention, and can be arbitrarily modified and applied without departing from the spirit of the present invention.

上述した実施形態では、カメラECU6が立体物検出装置として機能したが、これに限らず、車載システム1が備える任意の装置が立体物検出装置として機能してもよい。 In the embodiment described above, the camera ECU 6 functions as a three-dimensional object detection device, but the present invention is not limited to this, and any device provided in the in-vehicle system 1 may function as a three-dimensional object detection device.

また上述した実施形態において、図2に示す機能ブロックは、本願発明を理解容易にするために、カメラECU6の構成要素を主な処理内容に応じて分類して示した概略図であり、カメラECU6の構成要素は、処理内容に応じて、さらに多くの構成要素に分類することもできる。また、1つの構成要素がさらに多くの処理を実行するように分類することもできる。 In addition, in the embodiment described above, the functional blocks shown in FIG. The components can be further classified into more components depending on the processing content. It is also possible to classify one component so that it performs more processes.

また上述した実施形態において、水平、及び垂直等の方向や、各種の形状は、特段の断りがなされていない場合、同一の作用効果を奏する限りにおいて、その周辺の方向や近似の形状(いわゆる、均等の範囲)を含むものである。 In the embodiments described above, unless otherwise specified, directions such as horizontal and vertical directions and various shapes are referred to as peripheral directions and approximate shapes (so-called equivalent range).

1 車載システム
2 車両
3 撮影部
4 カメラ
6 カメラECU(立体物検出装置、コンピュータ)
9A 表示装置
24 立体物位置特定部
30 カメラ映像取得部
34 俯瞰変換処理部
36 差分画像生成部
50 マスク差分画像生成部
51 近傍接地線特定部
52 車幅特定部(幅特定部)
53 遠方接地線特定部
54 位置特定部
60 他車両候補領域
62、62A マスキング領域
64 マスキング領域
A 他車両(立体物)
B 走行方向
Ch 横方向
Cvf 遠方方向
Dt 検出点
E エッジ画像
F 俯瞰画像
G 差分画像
Gm マスク差分画像
H 他車両領域
H1 暫定第1他車両領域
H2 暫定第2他車両領域
L1 近傍接地線
L2 遠方接地線
Lapp 近似直線
M 撮影画像
N マスキング領域境界
Nf マスキング領域境界
Nfd マスキング領域境界点
O 撮影位置
P 鉛直方向輪郭線
Q 放射線
Rc マスク差分ヒストグラム
Th3 第3閾値
V 端点
Vm 交点
Vw 車幅
1 In-vehicle system 2 Vehicle 3 Photographing unit 4 Camera 6 Camera ECU (three-dimensional object detection device, computer)
9A Display device 24 Three-dimensional object position identification unit 30 Camera image acquisition unit 34 Overhead view conversion processing unit 36 Difference image generation unit 50 Mask difference image generation unit 51 Nearby grounding line identification unit 52 Vehicle width identification unit (width identification unit)
53 Distant ground line identification unit 54 Position identification unit 60 Other vehicle candidate area 62, 62A Masking area 64 Masking area A Other vehicle (three-dimensional object)
B Traveling direction Ch Lateral direction Cvf Far direction Dt Detection point E Edge image F Overhead image G Difference image Gm Mask difference image H Other vehicle area H1 Temporary first other vehicle area H2 Temporary second other vehicle area L1 Nearby grounding line L2 Distance grounding Line Lapp Approximate straight line M Photographed image N Masking area boundary Nf Masking area boundary Nfd Masking area boundary point O Imaging position P Vertical contour Q Radiation Rc Mask difference histogram Th3 Third threshold V End point Vm Intersection Vw Vehicle width

Claims (6)

車両の走行中に異なるタイミングでカメラによって撮影された第1撮影画像、及び第2撮影画像のそれぞれを第1俯瞰画像、及び第2俯瞰画像に変換する俯瞰変換処理部と、
互いの撮影位置が揃った前記第1俯瞰画像、及び前記第2俯瞰画像の差分画像を生成する差分画像生成部と、
前記差分画像において立体物が映っている候補の立体物候補領域以外をマスキングするマスク画像を生成し、当該マスク画像で前記差分画像をマスキングしてマスク差分画像を生成するマスク差分画像生成部と、
前記マスク差分画像に基づいて、前記差分画像における立体物の近傍接地線を特定する近傍接地線特定部と、
前記立体物の幅を特定する幅特定部と、
前記立体物の幅、及び、前記近傍接地線に基づいて、前記差分画像における前記立体物の遠方接地線を特定する遠方接地線特定部と、
前記近傍接地線、及び前記遠方接地線に基づいて、前記差分画像における立体物の位置を特定する位置特定部と、を備え、
前記幅特定部は、
前記マスク差分画像に基づいて前記立体物の端点を求め、
前記マスク画像において、前記撮影位置から最遠方に位置する非マスキング領域の境界である最遠方非マスキング領域境界と、前記マスク差分画像に基づいて求められた前記立体物の端点を通って前記立体物の幅方向に延びる直線との交点を特定し、当該端点と当該交点との間の距離に基づいて前記立体物の幅を特定する
ことを特徴とする立体物検出装置。
an overhead view conversion processing unit that converts each of a first photographed image and a second photographed image taken by a camera at different timings while the vehicle is running into a first bird's-eye view image and a second bird's-eye view image;
a difference image generation unit that generates a difference image between the first bird's-eye view image and the second bird's-eye view image whose shooting positions are aligned with each other;
a mask difference image generation unit that generates a mask image for masking areas other than the candidate three-dimensional object candidate area in which the three-dimensional object is shown in the difference image, and generates a mask difference image by masking the difference image with the mask image;
a nearby ground line identification unit that identifies a nearby ground line of the three-dimensional object in the difference image based on the mask difference image;
a width specifying unit that specifies the width of the three-dimensional object;
a far ground line identification unit that identifies a far ground line of the three-dimensional object in the difference image based on the width of the three-dimensional object and the nearby ground line;
a position specifying unit that specifies the position of the three-dimensional object in the difference image based on the nearby ground line and the distant ground line,
The width specifying section is
determining end points of the three-dimensional object based on the mask difference image;
In the mask image, the three-dimensional object passes through the farthest non-masking area boundary, which is the boundary of the non-masking area located farthest from the imaging position, and the end point of the three-dimensional object determined based on the mask difference image. A three-dimensional object detection device, characterized in that the width of the three-dimensional object is specified based on the distance between the end point and the intersection point.
前記幅特定部は、
前記マスク画像において、前記撮影位置から前記立体物の幅方向に延びる直線上に設定された複数の検出点のそれぞれから当該マスク画像の縦方向に沿って前記撮影位置から遠ざかる遠方方向に走査し、マスキング領域から非マスキング領域に変わる最遠方非マスキング領域境界点を特定し、
前記検出点のそれぞれの最遠方非マスキング領域境界点から一次近似手法を用いて近似直線を求めることで、前記最遠方非マスキング領域境界を特定する
ことを特徴とする請求項1に記載の立体物検出装置。
The width specifying section is
In the mask image, scanning from each of a plurality of detection points set on a straight line extending from the photographing position in the width direction of the three-dimensional object in a far direction away from the photographing position along the vertical direction of the mask image, Identify the farthest non-masking area boundary point that changes from the masking area to the non-masking area,
The three-dimensional object according to claim 1, wherein the farthest non-masking area boundary is identified by obtaining an approximate straight line from each of the farthest non-masking area boundary points of the detection points using a first-order approximation method. Detection device.
前記位置特定部は、
前記差分画像において前記撮影位置から延び、前記立体物の鉛直方向輪郭線を含む放射線と、前記近傍接地線、及び前記遠方接地線のそれぞれとの交点に基づいて、前記近傍接地線において前記立体物が位置する第1領域、及び前記遠方接地線において前記立体物が位置する第2領域を特定し、これら第1領域、及び第2領域が重複する範囲に基づいて、前記差分画像において前記立体物が映った立体物領域を特定する
ことを特徴とする請求項1または2に記載の立体物検出装置。
The position specifying unit is
The three-dimensional object is located at the nearby ground line based on the intersection points of the radiation extending from the imaging position and including the vertical contour line of the three-dimensional object in the difference image and each of the nearby ground line and the distant ground line. and a second area where the three-dimensional object is located in the far ground line, and based on the range where these first areas and second areas overlap, identify the three-dimensional object in the difference image. The three-dimensional object detection device according to claim 1 or 2, wherein the three-dimensional object detection device specifies a three-dimensional object area in which a three-dimensional object is reflected.
前記近傍接地線特定部は、
前記車両の走行方向に垂直な横方向を横軸とし、前記マスク差分画像の各画素の画素値を前記走行方向に沿って累積した走行方向差分量累積値を縦軸としたマスク差分ヒストグラムにおいて前記走行方向差分量累積値が第3閾値を越える横軸の位置に基づいて、前記近傍接地線を特定する
ことを特徴とする請求項1から3のいずれかに記載の立体物検出装置。
The nearby grounding line identification unit is
In the mask difference histogram, the horizontal axis is the horizontal direction perpendicular to the running direction of the vehicle, and the vertical axis is the running direction difference cumulative value obtained by accumulating the pixel values of each pixel of the mask difference image along the running direction. The three-dimensional object detection device according to any one of claims 1 to 3, wherein the nearby grounding line is specified based on a position on the horizontal axis at which a running direction difference amount cumulative value exceeds a third threshold value.
請求項1から4のいずれかに記載の立体物検出装置と、
前記立体物検出装置によって特定された他車両の位置を表示する表示装置と、
を備えたことを特徴とする車載システム。
A three-dimensional object detection device according to any one of claims 1 to 4,
a display device that displays the position of the other vehicle specified by the three-dimensional object detection device;
An in-vehicle system characterized by being equipped with.
コンピュータが、
車両の走行中に異なるタイミングでカメラによって撮影された第1撮影画像、及び第2撮影画像のそれぞれを第1俯瞰画像、及び第2俯瞰画像に変換する第1ステップと、
互いの撮影位置が揃った前記第1俯瞰画像、及び前記第2俯瞰画像の差分画像を生成する第2ステップと、
前記差分画像において立体物が映っている候補の立体物候補領域以外をマスキングするマスク画像を生成し、当該マスク画像で前記差分画像をマスキングしてマスク差分画像を生成する第3ステップと、
前記マスク差分画像に基づいて、前記差分画像における立体物の近傍接地線を特定する第4ステップと、
前記立体物の幅を特定する第5ステップと、
前記立体物の幅、及び、前記近傍接地線に基づいて、前記差分画像における前記立体物の遠方接地線を特定する第6ステップと、
前記近傍接地線、及び前記遠方接地線に基づいて、前記差分画像における立体物の位置を特定する第7ステップと、を備え、
前記第5ステップでは、
前記マスク差分画像に基づいて前記立体物の端点を求め、
前記マスク画像において、前記撮影位置から最遠方に位置する非マスキング領域の境界である最遠方非マスキング領域境界と、前記マスク差分画像に基づいて求められた前記立体物の端点を通って前記立体物の幅方向に延びる直線との交点を特定し、当該端点と当該交点との間の距離に基づいて前記立体物の幅を特定する
ことを特徴とする立体物検出方法。
The computer is
a first step of converting each of a first photographed image and a second photographed image taken by a camera at different timings while the vehicle is running into a first bird's-eye view image and a second bird's-eye view image;
a second step of generating a difference image between the first bird's-eye view image and the second bird's-eye view image whose shooting positions are aligned with each other;
a third step of generating a mask image for masking an area other than the candidate three-dimensional object candidate area in which the three-dimensional object is shown in the difference image, and masking the difference image with the mask image to generate a mask difference image;
a fourth step of identifying a ground line near the three-dimensional object in the difference image based on the mask difference image;
a fifth step of specifying the width of the three-dimensional object;
a sixth step of identifying a far ground line of the three-dimensional object in the difference image based on the width of the three-dimensional object and the nearby ground line;
a seventh step of specifying the position of the three-dimensional object in the difference image based on the nearby ground line and the distant ground line,
In the fifth step,
determining end points of the three-dimensional object based on the mask difference image;
In the mask image, the three-dimensional object passes through the farthest non-masking area boundary, which is the boundary of the non-masking area located farthest from the imaging position, and the end point of the three-dimensional object determined based on the mask difference image. A three-dimensional object detection method, comprising: identifying an intersection with a straight line extending in the width direction, and determining the width of the three-dimensional object based on the distance between the end point and the intersection.
JP2020024176A 2020-02-17 2020-02-17 Three-dimensional object detection device, in-vehicle system, and three-dimensional object detection method Active JP7356372B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2020024176A JP7356372B2 (en) 2020-02-17 2020-02-17 Three-dimensional object detection device, in-vehicle system, and three-dimensional object detection method
PCT/JP2021/002908 WO2021166576A1 (en) 2020-02-17 2021-01-27 Three-dimensional-object detection device, on-vehicle system, and three-dimensional-object detection method
US17/798,612 US12198441B2 (en) 2020-02-17 2021-01-27 Three-dimensional-object detection device, on-vehicle system, and three-dimensional-object detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020024176A JP7356372B2 (en) 2020-02-17 2020-02-17 Three-dimensional object detection device, in-vehicle system, and three-dimensional object detection method

Publications (2)

Publication Number Publication Date
JP2021128672A JP2021128672A (en) 2021-09-02
JP7356372B2 true JP7356372B2 (en) 2023-10-04

Family

ID=77488733

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020024176A Active JP7356372B2 (en) 2020-02-17 2020-02-17 Three-dimensional object detection device, in-vehicle system, and three-dimensional object detection method

Country Status (1)

Country Link
JP (1) JP7356372B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013125335A1 (en) 2012-02-22 2013-08-29 日産自動車株式会社 Solid-object detection device and method for detecting solid object
WO2014017522A1 (en) 2012-07-27 2014-01-30 日産自動車株式会社 Three-dimensional object detection device and three-dimensional object detection method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4458138B2 (en) * 2007-09-18 2010-04-28 株式会社デンソー Vehicle periphery monitoring device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013125335A1 (en) 2012-02-22 2013-08-29 日産自動車株式会社 Solid-object detection device and method for detecting solid object
WO2014017522A1 (en) 2012-07-27 2014-01-30 日産自動車株式会社 Three-dimensional object detection device and three-dimensional object detection method

Also Published As

Publication number Publication date
JP2021128672A (en) 2021-09-02

Similar Documents

Publication Publication Date Title
US10690770B2 (en) Navigation based on radar-cued visual imaging
JP4426535B2 (en) Vehicle periphery monitoring device
JP5518007B2 (en) Vehicle external recognition device and vehicle control system using the same
JP6519262B2 (en) Three-dimensional object detection device, three-dimensional object detection method, three-dimensional object detection program, and mobile device control system
JP5892876B2 (en) In-vehicle environment recognition system
CN111971682B (en) Road surface detection device, image display device, obstacle detection device, road surface detection method, image display method, and obstacle detection method
JP5145585B2 (en) Target detection device
JP5090321B2 (en) Object detection device
JP4872769B2 (en) Road surface discrimination device and road surface discrimination method
JPH05265547A (en) On-vehicle outside monitoring device
JP6542539B2 (en) Vehicle accessibility determination device
JP7327992B2 (en) Three-dimensional object detection device and three-dimensional object detection method
JP6457278B2 (en) Object detection apparatus and object detection method
JP3562751B2 (en) Forward vehicle detection method and device
US20180300562A1 (en) Processing device, object recognition apparatus, device control system, processing method, and computer-readable recording medium
JP2005318408A (en) Vehicle surrounding monitoring apparatus and method
JP7356372B2 (en) Three-dimensional object detection device, in-vehicle system, and three-dimensional object detection method
WO2021166576A1 (en) Three-dimensional-object detection device, on-vehicle system, and three-dimensional-object detection method
JP7356371B2 (en) Three-dimensional object detection device, in-vehicle system, and three-dimensional object detection method
JP7524034B2 (en) Three-dimensional object detection device and three-dimensional object detection method
JP2003174642A (en) Smear detection method and image processing apparatus using the smear detection method
JP2014123301A (en) White line detection device
JP2004310282A (en) Vehicle detection device
JP2009140289A (en) Image processing device
JP4871941B2 (en) Vehicle periphery monitoring device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230119

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230922

R150 Certificate of patent or registration of utility model

Ref document number: 7356372

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150