JP7155870B2 - VEHICLE DETECTION APPARATUS AND METHOD AND ELECTRONICS - Google Patents

VEHICLE DETECTION APPARATUS AND METHOD AND ELECTRONICS Download PDF

Info

Publication number
JP7155870B2
JP7155870B2 JP2018199660A JP2018199660A JP7155870B2 JP 7155870 B2 JP7155870 B2 JP 7155870B2 JP 2018199660 A JP2018199660 A JP 2018199660A JP 2018199660 A JP2018199660 A JP 2018199660A JP 7155870 B2 JP7155870 B2 JP 7155870B2
Authority
JP
Japan
Prior art keywords
pairing
brightness
region
brightness region
selection
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
JP2018199660A
Other languages
Japanese (ja)
Other versions
JP2019121355A (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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Publication of JP2019121355A publication Critical patent/JP2019121355A/en
Application granted granted Critical
Publication of JP7155870B2 publication Critical patent/JP7155870B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/22Matching criteria, e.g. proximity measures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/50Context or environment of the image
    • G06V20/52Surveillance or monitoring of activities, e.g. for recognising suspicious objects

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • General Physics & Mathematics (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Evolutionary Biology (AREA)
  • Evolutionary Computation (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • General Engineering & Computer Science (AREA)
  • Artificial Intelligence (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Multimedia (AREA)
  • Image Analysis (AREA)
  • Traffic Control Systems (AREA)
  • Image Processing (AREA)

Description

本発明は、情報技術分野に関し、特に、車両検出装置と方法及び電子機器に関する。 TECHNICAL FIELD The present invention relates to the field of information technology, and more particularly to a vehicle detection apparatus and method and electronic equipment.

シティ(都市)の交通状況が複雑になるにつれて、交通状況への監視及び制御のニーズが高まっている。また、走行中の車両に対しての検出がビデオ監視に良く用いられる機能の1つである。今のところ、車両検出方法では、一般的に、照明条件が比較的良いシーン例えば昼間について、分類器などを用いて監視画像中の車両に対して検出及び計数を行う。しかし、照明条件が比較的悪いシーン例えば夜間について、通常の車両検出方法により車両に対しての有効な検出を行うことが困難である。 As city traffic conditions become more complex, the need for traffic condition monitoring and control increases. Also, detection of moving vehicles is one of the functions often used in video surveillance. At present, vehicle detection methods typically use classifiers or the like to detect and count vehicles in surveillance images for scenes with relatively good lighting conditions, such as daytime. However, in scenes with relatively poor lighting conditions, such as at night, it is difficult to effectively detect vehicles by conventional vehicle detection methods.

従来では、照明条件が比較的悪いシーンに対しての車両検出の一般的なフォローは、次の通りであり、即ち、監視ビデオ画像のグレースケール画像に基づいて2値画像を取得し、高輝度領域の抽出を行い、その後、各高輝度領域に対してペアリング(対(ペア)にすること)を行い、そして、ペアリング成功の高輝度領域ペアに基づいて車両位置を確定する。 Conventionally, the general follow-up of vehicle detection for scenes with relatively poor lighting conditions is as follows: acquire a binary image based on the grayscale image of the surveillance video image; Region extraction is performed, then pairing is performed for each high brightness region, and vehicle position is determined based on the pairing of high brightness region pairing success.

本発明の発明者は、次のようなことが発見した。即ち、上述のような従来の方法を用いて車両検出を行う時に、一般的に、車両のヘッドライトが所在する高輝度領域にのみ対して検出を行うことができるため、検出漏れが生じやすく、且つ、グレースケール画像が使用されるため、誤検出が生じやすい。また、車両の方向指示灯(ウィンカー)の点滅も検出結果に影響を与える可能性がある。 The inventors of the present invention have discovered the following. That is, when a vehicle is detected using the conventional method as described above, generally, detection can be performed only for a high-brightness area where the headlights of the vehicle are located. Moreover, since a grayscale image is used, false detection is likely to occur. In addition, blinking of the vehicle's direction indicator lights (winkers) may also affect the detection results.

本発明の実施例は、車両検出装置と方法及び電子機器を提供し、カラー画像に対して直接検出を行い、また、2回の異なるペアリング処理を行うことで、車両のヘッドライト及びテールライトに対して同時に検出及びペアリングを行うことができ、また、車両の方向指示灯の検出結果への影響を避けることができ、これにより、検出漏れ及び誤検出の可能性を大幅に減らし、車両検出結果の全面性及び正確性を有効に向上させることができる。 Embodiments of the present invention provide a vehicle detection apparatus, method and electronics for detecting directly on the color image and performing two different pairing processes to detect the headlights and taillights of the vehicle. can be detected and paired at the same time, and can avoid affecting the detection result of the vehicle's turn signal lights, which greatly reduces the possibility of detection omission and false detection, and the vehicle The comprehensiveness and accuracy of detection results can be effectively improved.

本発明の実施例の第一側面によれば、車両検出装置が提供され、前記装置は、入力されたカラー画像中の高輝度領域を確定するための第一確定ユニット;各高輝度領域周囲の画素の色に基づいて、前記高輝度領域を拡張するための拡張ユニット;拡張後の、所定色を有する高輝度領域に対して1回目のペアリングを行うための第一ペアリングユニットであって、そのうち、第1組のパラメータに基づいて各高輝度領域に対して選択を行い、任意の2つの高輝度領域の間のサイズの差に基づいて選択後の各高輝度領域に対してペアリングを行うことで、第1組の高輝度領域ペアを取得するもの;1回目のペアリング失敗の高輝度領域に対して2回目のペアリングを行うための第二ペアリングユニットであって、そのうち、第2組のパラメータに基づいて1回目のペアリング失敗の高輝度領域に対して選択を行い、任意の2つの高輝度領域の間の形状マッチング程度に基づいて選択後の各高輝度領域に対してペアリングを行うことで、第2組の高輝度領域ペアを取得するもの;及び、前記第1組の高輝度領域ペア及び前記第2組の高輝度領域ペアに基づいて、入力された前記カラー画像中の車両の位置を確定するための第二確定ユニットを含む。 According to a first aspect of an embodiment of the present invention, there is provided a vehicle detection device, said device comprising: a first determining unit for determining high brightness regions in an input color image; an expansion unit for expanding the high-brightness region based on the color of the pixel; a first pairing unit for first pairing the high-brightness region having a predetermined color after the expansion, wherein, selecting for each high-brightness region based on the first set of parameters, and pairing each high-brightness region after selection based on the size difference between any two high-brightness regions to obtain the first set of high-brightness region pairs; , based on the second set of parameters to select the high-brightness region of the first pairing failure, and for each high-brightness region after selection based on the shape matching degree between any two high-brightness regions obtaining a second set of high-brightness region pairs by performing pairing; and based on the first set of high-brightness region pairs and the second set of high-brightness region pairs, input a second determining unit for determining the position of the vehicle in the color image;

本発明の実施例の第二側面によれば、電子機器が提供され、それは、本発明の実施例の第一側面に記載の車両検出装置を含む。 According to a second aspect of an embodiment of the invention, there is provided an electronic device comprising the vehicle detection device according to the first aspect of an embodiment of the invention.

本発明の実施例の第三側面によれば、車両検出方法が提供され、前記方法は、入力されたカラー画像中の高輝度領域を確定し;各高輝度領域周囲の画素の色に基づいて、前記高輝度領域を拡張し;拡張後の、所定色を有する高輝度領域に対して1回目のペアリングを行い、そのうち、第1組のパラメータに基づいて各高輝度領域に対して選択を行い、任意の2つの高輝度領域の間のサイズの差に基づいて選択後の各高輝度領域に対してペアリングを行うことで、第1組の高輝度領域ペアを取得し;1回目のペアリング失敗の高輝度領域に対して2回目のペアリングを行い、そのうち、第2組のパラメータに基づいて1回目のペアリング失敗の高輝度領域に対して選択を行い、任意の2つの高輝度領域の間の形状マッチング程度に基づいて選択後の各高輝度領域に対してペアリングを行うことで、第2組の高輝度領域ペアを取得し;及び、前記第1組の高輝度領域ペア及び前記第2組の高輝度領域ペアに基づいて、入力された前記カラー画像中の車両の位置を確定することを含む。 According to a third aspect of an embodiment of the present invention, there is provided a vehicle detection method, the method determining high intensity regions in an input color image; based on the color of pixels surrounding each high intensity region; , expanding the high-brightness regions; performing a first pairing for the high-brightness regions having a predetermined color after the expansion, wherein each high-brightness region is selected according to a first set of parameters; and performing pairing for each selected high-brightness region based on the size difference between any two high-brightness regions to obtain a first set of high-brightness region pairs; The pairing-failed high-brightness region is paired for the second time, wherein the first pairing-failed high-brightness region is selected according to the second set of parameters, and any two high-brightness regions are selected. obtaining a second set of high-brightness region pairs by performing pairing for each selected high-brightness region based on the degree of shape matching between the brightness regions; and the first set of high-brightness regions. determining the position of the vehicle in the input color image based on the pairs and the second set of high intensity region pairs;

本発明の有益な効果は、次の通りである。即ち、カラー画像に対して直接検出を行い、また、2回の異なるペアリング処理を行うことで、車両のヘッドライト及びテールライトに対して同時に検出及びペアリングを行うことができ、また、車両の方向指示灯の検出結果への影響を避けることができ、これにより、検出漏れ及び誤検出の可能性を大幅に減らし、車両検出結果の全面性及び正確性を有効に向上させることができる。 Beneficial effects of the present invention are as follows. That is, by performing direct detection on the color image and performing two different pairing processes, it is possible to perform simultaneous detection and pairing on the headlights and taillights of the vehicle, and also on the vehicle. This can avoid the influence on the detection result of the direction indicator light, thereby greatly reducing the possibility of detection omission and false detection, and effectively improving the completeness and accuracy of the vehicle detection result.

本発明の実施例1における車両検出方法を示す図である。FIG. 2 is a diagram showing a vehicle detection method in Example 1 of the present invention; 本発明の実施例1における他の車両検出方法を示す図である。FIG. 4 is a diagram showing another vehicle detection method in Embodiment 1 of the present invention; 本発明の実施例2における車両検出装置を示す図である。FIG. 10 is a diagram showing a vehicle detection device in Example 2 of the present invention; 本発明の実施例2における他の車両検出装置を示す図である。FIG. 10 is a diagram showing another vehicle detection device in Example 2 of the present invention; 本発明の実施例3における電子機器を示す図である。FIG. 10 is a diagram showing an electronic device according to Example 3 of the present invention; 本発明の実施例3における電子機器のシステム構成を示す図である。FIG. 10 is a diagram showing the system configuration of an electronic device according to Example 3 of the present invention;

以下、添付した図面を参照しながら、本発明を実施するための好適な実施例を詳しく説明する。 Preferred embodiments for carrying out the present invention will now be described in detail with reference to the accompanying drawings.

本実施例は、車両検出方法を提供する。図1は、本発明の実施例1の車両検出方法を示す図である。図1に示すように、該方法は、次のようなステップを含む。 This embodiment provides a vehicle detection method. FIG. 1 is a diagram showing a vehicle detection method according to Example 1 of the present invention. As shown in FIG. 1, the method includes the following steps.

ステップ101:入力されたカラー画像中の高輝度領域(高輝度領域とは、例えば、所定輝度以上の領域である)を確定し;
ステップ102:各高輝度領域周囲の画素の色に基づいて、該高輝度領域を拡張し;
ステップ103:拡張後の、所定色を有する高輝度領域に対して1回目のペアリングを行い、そのうち、第1組のパラメータに基づいて各高輝度領域に対して選択を行い、任意の2つの高輝度領域の間のサイズの差に基づいて選択後の各高輝度領域に対してペアリングを行うことで、第1組の高輝度領域ペアを取得し;
ステップ104:1回目のペアリング失敗の高輝度領域に対して2回目のペアリングを行い、そのうち、第2組のパラメータに基づいて1回目のペアリング失敗の高輝度領域に対して選択を行い、任意の2つの高輝度領域の間の形状マッチング程度に基づいて選択後の各高輝度領域に対してペアリングを行うことで、第2組の高輝度領域ペアを取得し;
ステップ105:該第1組の高輝度領域ペア及び該第2組の高輝度領域ペアに基づいて、入力された前記カラー画像中の車両の位置を確定する。
Step 101: Determine a high-brightness region (a high-brightness region is, for example, a region with a predetermined brightness or higher) in the input color image;
Step 102: Expand each high-brightness region based on the color of pixels around the high-brightness region;
Step 103: perform a first pairing for the high-brightness regions with a predetermined color after the extension, wherein each high-brightness region is selected according to the first set of parameters, and any two obtaining a first pair of high-brightness regions by pairing each high-brightness region after selection based on the size difference between the high-brightness regions;
Step 104: Perform a second pairing for the high-brightness region that failed the first pairing, and select the high-brightness region that failed the first pairing based on the second set of parameters. , obtaining a second set of high-brightness region pairs by performing pairing for each selected high-brightness region according to the degree of shape matching between any two high-brightness regions;
Step 105: Determine the position of the vehicle in the input color image according to the first set of high-brightness region pairs and the second set of high-brightness region pairs.

この実施例から分かるように、カラー画像に対して直接検出を行い、また、2回の異なるペアリング処理を行うことで、車両のヘッドライト及びテールライトに対して同時に検出及びペアリングを行うことができ、また、車両の方向指示灯の検出結果への影響を避けることができ、これにより、検出漏れ及び誤検出の可能性を大幅に減らし、車両検出結果の全面性及び正確性を有効に向上させることができる。 As can be seen from this example, it is possible to detect and pair simultaneously to the vehicle headlights and taillights by performing direct detection on the color image and performing two different pairing processes. and avoid affecting the detection result of the vehicle's turn signal lights, which greatly reduces the possibility of detection omission and false detection, and effectively improves the completeness and accuracy of the vehicle detection result. can be improved.

本実施例では、入力されたカラー画像は、監視ビデオのフレーム(画像)であっても良く、該監視ビデオは、監視を行う必要のある領域の上方に取り付けられたカメラにより取得されても良い。 In this embodiment, the input color image may be a frame of surveillance video, which may be captured by a camera mounted above the area that needs to be monitored. .

ステップ101では、入力されたカラー画像中の高輝度領域を確定し、例えば、入力されたカラー画像のグレースケール画像を取得し、該グレースケール画像から2値画像を抽出し、そして、該2値画像に基づいて、入力されたカラー画像中の高輝度領域を確定しても良い。 At step 101, a high brightness region in an input color image is determined, for example, a grayscale image of the input color image is obtained, a binary image is extracted from the grayscale image, and a binary image is extracted from the grayscale image. Based on the image, high brightness regions in the input color image may be determined.

本実施例では、入力されたカラー画像の一部の領域中の全ての高輝度領域を確定しても良く、例えば、入力されたカラー画像の関心領域(Region of Interest、ROI)中の全ての高輝度領域を確定しても良い。ROI領域は、例えば、道路が所在する領域である。 In this embodiment, all high-brightness regions in a partial region of the input color image may be determined, for example, all regions of interest (Region of Interest, ROI) in the input color image A high brightness area may be determined. The ROI area is, for example, an area where roads are located.

本実施例では、2値化閾値は、適応的に(adaptively)調整することができる。 In this embodiment, the binarization threshold can be adaptively adjusted.

ステップ102では、各高輝度領域周囲の所定色の画素に基づいて該高輝度領域を拡張(expand)することができ、例えば、各高輝度領域の周囲へ、各高輝度領域の周囲に所定色の画素がなくなるまで拡張を行っても良い。即ち、拡張後の各高輝度領域は、拡張前の各高輝度領域周囲の所定色の画素を含む。 At step 102, the high intensity regions may be expanded based on pixels of a predetermined color around each high intensity region, e.g. The expansion may be performed until there are no more pixels of . That is, each high-brightness region after expansion includes pixels of a predetermined color around each high-brightness region before expansion.

本実施例では、該所定色は、テールライト点灯時の色、例えば、赤色、黄色、又はオレンジ色であっても良い。このように、異なる形状のテールライトが所在する領域を全て高輝度領域に含めるようにすることができる。 In this embodiment, the predetermined color may be the color when the tail lights are turned on, such as red, yellow, or orange. In this way, it is possible to include all areas where differently shaped taillights are located in the high brightness area.

本実施例では、例えば、カラー画像をHSV空間に変換し、そして、経験に従ってhsvスカラーと各色のHSV範囲とを比較することで、画素の色を判別することができる。 In this embodiment, for example, the color of a pixel can be determined by converting a color image to HSV space and comparing the hsv scalar with the HSV range of each color according to experience.

ステップ103では、拡張後の、所定色を有する高輝度領域に対して1回目のペアリングを行い、そのうち、第1組のパラメータに基づいて各高輝度領域に対して選択を行い、任意の2つの高輝度領域の間のサイズの差に基づいて選択後の各高輝度領域に対してペアリングを行うことで、第1組の高輝度領域ペアを取得する。 In step 103, after the expansion, the high-intensity regions having a predetermined color are paired for the first time. A first pair of high-brightness regions is obtained by pairing each high-brightness region after selection based on the size difference between the two high-brightness regions.

本実施例では、該所定色は、テールライト点灯時の色、例えば、赤色、黄色、又はオレンジ色であっても良い。このように、拡張後の、所定色を有する高輝度領域に対して1回目のペアリングを行い、即ち、テールライトが存在する可能性のある領域に対して1回目のペアリングを行うことができる。 In this embodiment, the predetermined color may be the color when the tail lights are turned on, such as red, yellow, or orange. In this way, it is possible to perform the first pairing for the high-brightness region having the predetermined color after the expansion, that is, perform the first pairing for the region where the taillight may exist. can.

本実施例では、該第1組のパラメータは、実際の状況に基づいて確定されても良く、例えば、第1組のパラメータは、高輝度領域の垂直方向の座標値、外接矩形のアスペクト比、面積差、色差、及び形状マッチング程度のうちの少なくとも1つを含んでも良い。 In this embodiment, the first set of parameters may be determined according to the actual situation, for example, the first set of parameters are the vertical coordinate value of the bright region, the aspect ratio of the bounding rectangle, At least one of area difference, color difference, and degree of shape matching may be included.

1回目のペアリングを行う時に、該第1組のパラメータに基づいて各高輝度領域に対して選択を行い、具体的な選択条件は、実際の状況に応じて設定されても良い。そのうち、形状マッチング程度に基づいて選択を行う時に、その選択条件は、比較的に緩く設定されても良い。 When performing the first pairing, each high-brightness region is selected according to the first set of parameters, and the specific selection conditions may be set according to the actual situation. Among them, when the selection is made based on the degree of shape matching, the selection conditions may be set relatively loosely.

本実施例では、形状マッチング程度は、例えば、形状マッチング値により衡量することができ、該形状マッチング値は、従来のアルゴリズムにより得ることができる。例えば、形状マッチング値が大きいほど、形状の違いが大きい。 In this embodiment, the degree of shape matching can be weighed, for example, by a shape matching value, which can be obtained by conventional algorithms. For example, the larger the shape matching value, the greater the difference in shape.

該第1組のパラメータに基づいて各高輝度領域に対して選択を行った後に、任意の2つの高輝度領域の間のサイズの差に基づいて選択後の各高輝度領域に対してペアリングを行うことで、ペアリング成功の全ての高輝度領域ペアにより第1組の高輝度領域ペアを構成することができる。 After making a selection for each high intensity region based on the first set of parameters, pair each selected high intensity region based on the size difference between any two high intensity regions. , the first set of high-brightness region pairs can be configured from all high-brightness region pairs for which pairing is successful.

例えば、第1組のパラメータに基づいて各高輝度領域に対して選択を行った後のA~Gの7つの高輝度領域について、任意の2つの高輝度領域の間のサイズの差を計算する。AとDとのサイズの差が、AとB~Gの全ての領域とのサイズの差のうち最小であり、且つDとAとのサイズの差が、DとA~C、E~Gの全ての領域とのサイズの差のうち最小である場合、AとDとのペアリングが成功した(ペアリング成功とも言う)とし;BとEとのサイズの差が、BとA、C~Gの全ての領域とのサイズの差のうち最小であるが、EとBとのサイズの差が、EとA~D、F~Gの全ての領域とのサイズの差のうち最小でない場合、BとEとのペアリングが失敗した(ペアリング失敗とも言う)とすることができる。 For example, for seven bright regions A to G after making a selection for each bright region based on the first set of parameters, calculate the size difference between any two bright regions . The size difference between A and D is the smallest of the size differences between A and all regions B to G, and the size difference between D and A is greater than D and A to C and E to G A and D are said to be successfully paired (also called pairing success) if the size difference with all regions of B is the smallest; The smallest difference in size from all regions to G, but the difference in size between E and B is not the smallest difference in size between E and all regions A to D and F to G In this case, it can be said that pairing between B and E has failed (also called pairing failure).

本実施例では、該サイズの差は、高輝度領域の各次元のサイズの差の総合であっても良く、例えば、該サイズの差は、2つの高輝度領域の幅の差及び高さの差の加重和であっても良い。 In this embodiment, the size difference may be the sum of the size differences in each dimension of the high-brightness regions, for example, the size difference is the width difference and the height of the two high-brightness regions. It may be a weighted sum of differences.

ステップ104では、1回目のペアリング失敗の高輝度領域に対して2回目のペアリングを行い、そのうち、第2組のパラメータに基づいて1回目のペアリング失敗の高輝度領域に対して選択を行い、任意の2つの高輝度領域の間の形状マッチング程度に基づいて選択後の各高輝度領域に対してペアリングを行うことで、第2組の高輝度領域ペアを取得する。 In step 104, perform a second pairing for the high-brightness regions that failed the first pairing, and select the high-brightness regions that failed the first pairing based on the second set of parameters. and pairing each selected high-brightness region based on the degree of shape matching between any two high-brightness regions to obtain a second set of high-brightness region pairs.

本実施例では、該第2組のパラメータは、実際の状況に応じて確定されても良く、例えば、該第2組のパラメータは、高輝度領域の垂直方向の座標値、外接矩形のアスペクト比、及び面積差のうちの少なくとも1つを含んでも良い。 In this embodiment, the second set of parameters may be determined according to the actual situation, for example, the second set of parameters are the vertical coordinate value of the bright region, the aspect ratio of the bounding rectangle , and area difference.

該第2組のパラメータに基づいて各高輝度領域に対して選択を行った後に、任意の2つの高輝度領域の間の形状マッチング程度に基づいて選択後の各高輝度領域に対してペアリングを行うことで、ペアリング成功の全ての高輝度領域ペアにより第2組の高輝度領域ペアを構成することができる。 After selecting each high-brightness region based on the second set of parameters, pairing each high-brightness region after selection based on the degree of shape matching between any two high-brightness regions , the second set of high-brightness region pairs can be configured from all the high-brightness region pairs for which pairing is successful.

例えば、同様に、第2組のパラメータに基づいて各高輝度領域に対して選択を行った後のA~Gの7つの高輝度領域について、任意の2つの高輝度領域の間の形状マッチング値を計算する。AとDとの形状マッチング値が、AとB~Gの全ての領域との形状マッチング値のうち最小であり、且つDとAとの形状マッチング値が、DとA~C、E~Gの全ての領域との形状マッチング値のうち最小である場合、AとDとのペアリングが成功した(ペアリング成功とも言う)とし;BとEとの形状マッチング値が、BとA、C~Gの全ての領域との形状マッチング値のうち最小であるが、EとBとの形状マッチング値が、EとA~D、F~Gの全ての領域との形状マッチング値のうち最小でない場合、BとEとのペアリングが失敗した(ペアリング失敗とも言う)とすることができる。 For example, similarly, for seven high-intensity regions A to G after making a selection for each high-intensity region based on the second set of parameters, the shape matching value between any two high-intensity regions to calculate The shape matching value of A and D is the smallest of the shape matching values of A and all regions B to G, and the shape matching value of D and A is the same as D and A to C and E to G A and D are said to be paired successfully (also called pairing success) if the shape matching value with all regions of is the smallest; The shape matching value between E and B is the smallest among the shape matching values with all regions to G, but the shape matching value between E and B is not the minimum among the shape matching values between E and all regions A to D and F to G In this case, it can be said that pairing between B and E has failed (also called pairing failure).

本実施例では、カラー画像中のテールライトが所在する高輝度領域について、それは、所定色を有するため、1回目のペアリング及び2回目のペアリングを受けているが、カラー画像中のヘッドライトが所在する高輝度領域について、それは、一般的に、白色領域であり、所定色を有しないため、1回目のペアリング時に排除されており、直接、2回目のペアリングに入っている。 In this example, the high-brightness region where the taillights in the color image are located has a predetermined color, so it receives the first pairing and the second pairing, but the headlights in the color image For the high-intensity region where is located, it is generally a white region and does not have a predetermined color, so it is excluded during the first pairing and goes directly into the second pairing.

ステップ105では、該第1組の高輝度領域ペア及び該第2組の高輝度領域ペアに基づいて、入力されたカラー画像中の車両の位置を確定する。 At step 105, the position of the vehicle in the input color image is determined based on the first set of high brightness region pairs and the second set of high brightness region pairs.

例えば、該第1組の高輝度領域ペア及び該第2組の高輝度領域ペアのうちの全ての高輝度領域ペアに基づいて、車のライトと車の幅との通常(所定)の比を用いて、入力されたカラー画像中の車両の位置を確定することができる。 For example, based on all bright region pairs in the first set of bright region pairs and the second set of bright region pairs, a normal (predetermined) ratio of car lights to car width is can be used to determine the position of the vehicle in the input color image.

図2は、本発明の実施例1の他の車両検出方法を示す図である。図2に示すように、該方法は、次のようなステップを含む。 FIG. 2 is a diagram showing another vehicle detection method according to the first embodiment of the present invention. As shown in FIG. 2, the method includes the following steps.

ステップ201:入力されたカラー画像中の高輝度領域を確定し;
ステップ202:各高輝度領域周囲の画素の色に基づいて、該高輝度領域を拡張し;
ステップ203:拡張後の各高輝度領域に対して1回目の合理的な選択を行い、そのうち、拡張後の各高輝度領域に対して、該高輝度領域の面積及び/又は該高輝度領域のコンベクシティ(convexity)に基づいて選択を行い;
ステップ204:拡張後の1回目の合理的な選択後の、所定色を有する高輝度領域に対して1回目のペアリングを行い、第1組の高輝度領域ペアを取得し;
ステップ205:1回目のペアリング失敗の高輝度領域に対して2回目のペアリングを行い、第2組の高輝度領域ペアを取得し;
ステップ206:第2組の高輝度領域ペアに対して2回目の合理的な選択を行い、そのうち、該第2組の高輝度領域ペア中の各高輝度領域ペアのサイズ、質量中心点の色差、質量中心点の輝度差、及び外接矩形の輝度ヒストグラムのうちの少なくとも1つに基づいて選択を行い、各高輝度領域ペアの重なり度合(degree of overlap)に基づいて合併を行うことで、2回目の合理的な選択後の第2組の高輝度領域ペアを取得し;
ステップ207:所定条件を満足するかを判断し、該所定条件は、例えば、1回目のペアリング、2回目のペアリング、及び2回目の合理的な選択が所定回数繰り返して行われたか、或いは、新たに増加したペアリング成功の高輝度領域ペアがないかである。判断結果が“はい”の場合、ステップ208に進み、判断結果が“いいえ”の場合、ステップ204に戻し;
ステップ208:ペアリング失敗の単一高輝度領域に対応するバーチャル高輝度領域を追加し、該単一高輝度領域及びそれに対応する該バーチャル高輝度領域からなる各高輝度領域ペアを第3組の高輝度領域ペアとし;
ステップ209:該第1組の高輝度領域ペア、2回目の合理的な選択後の該第2組の高輝度領域ペア、及び該第3組の高輝度領域ペアに基づいて、入力されたカラー画像中の車両の位置を確定する。
Step 201: Determine a bright region in the input color image;
Step 202: Expand each high-brightness region based on the color of pixels around the high-brightness region;
Step 203: Make a first rational selection for each high-brightness region after expansion, wherein for each high-brightness region after expansion, the area of the high-brightness region and/or the area of the high-brightness region making a selection based on convexity;
Step 204: performing a first pairing for the high-brightness regions with a predetermined color after the first rational selection after expansion to obtain a first set of high-brightness region pairs;
Step 205: perform a second pairing on the high-brightness regions that failed the first pairing to obtain a second set of high-brightness region pairs;
Step 206: Make a second rational selection for the second set of high-brightness region pairs, wherein the size of each high-brightness region pair in the second set of high-brightness region pairs, the color difference of the center of mass , the intensity difference of the centroid, and the intensity histogram of the bounding rectangle, and merging based on the degree of overlap of each pair of high intensity regions, yielding 2 obtaining a second set of high intensity region pairs after the rational selection for the second time;
Step 207: Determine whether a predetermined condition is satisfied, such as whether the first pairing, the second pairing, and the second reasonable selection are repeated a predetermined number of times, or , whether or not there are newly increased high-intensity region pairs with successful pairing. If the determination result is "yes", go to step 208; if the determination result is "no", return to step 204;
Step 208: Add a virtual high-brightness region corresponding to the single high-brightness region of pairing failure, and divide each high-brightness region pair consisting of the single high-brightness region and its corresponding virtual high-brightness region into a third set. As bright region pairs;
Step 209: Based on the first set of high-brightness region pairs, the second set of high-brightness region pairs after a second reasonable selection, and the third set of high-brightness region pairs, an input color Determine the position of the vehicle in the image.

本実施例では、ステップ201、202、204、205、209は、上述のステップ101~105と同様に行うことができ、ここでは、その詳しい説明を省略する。 In this embodiment, steps 201, 202, 204, 205 and 209 can be performed in the same manner as steps 101-105 above, and the detailed description thereof is omitted here.

ステップ203では、拡張後の各高輝度領域に対して1回目の合理的な選択を行い、そのうち、拡張後の各高輝度領域について、該高輝度領域の面積及び/又は該高輝度領域のコンベクシティ(convexity)に基づいて選択を行う。1回目の合理的な選択を行った後に、明らかにヘッドライト及びテールライトに属しない高輝度領域を除去することができる。 In step 203, a first rational selection is made for each high-brightness region after expansion, wherein for each high-brightness region after expansion, the area of the high-brightness region and/or the convexity of the high-brightness region Make a selection based on (convexity). After making the first reasonable selection, the bright regions that obviously do not belong to headlights and taillights can be removed.

本実施例では、コンベクシティ(convexity)は、1つの形状の規則(regularity)程度を表すことができ、例えば、1つの領域のコンベクシティは、該領域の面積と、該領域をエンベロープする最小包絡(envelope)の周長との比である。 In this embodiment, the convexity can represent the degree of regularity of a shape, for example, the convexity of a region is defined by the area of the region and the minimum envelope enveloping the region. ) is the ratio of the circumference of

ステップ206では、第2組の高輝度領域ペアに対して2回目の合理的な選択を行い、そのうち、該第2組の高輝度領域ペア中の各高輝度領域ペアのサイズ、質量中心点の色差、質量中心点の輝度差、及び外接矩形の輝度ヒストグラムのうちの少なくとも1つに基づいて選択を行い、各高輝度領域ペアの重なり度合に基づいて併合を行うことで、2回目の合理的な選択後の第2組の高輝度領域ペアを取得する。このように、路面反射などによる誤検出、及び、車両が複数ペアのライトを有する時の該車両に対しての重複検出を除去し、検出結果の正確性をさらに向上させることができる。 In step 206, a second rational selection is made for a second set of high-intensity region pairs, wherein the size of each high-intensity region pair in the second set of high-intensity region pairs, the center of mass point A second reasonable A second set of high-luminance region pairs after the selection is obtained. In this manner, erroneous detection due to road surface reflection and the like, and duplicate detection of a vehicle when the vehicle has multiple pairs of lights can be eliminated, thereby further improving the accuracy of detection results.

本実施例では、ステップ204~206を繰り返して行うことで、検出漏れの可能性をさらに減らし、検出結果の全面性及び正確性をさらに向上させることができる。 In this embodiment, by repeating steps 204 to 206, the possibility of detection omissions can be further reduced, and the completeness and accuracy of detection results can be further improved.

本実施例では、重複した(繰り返した)回数は、所定回数であっても良く、例えば、1回繰り返しても良い。或いは、ステップ204~206は、新たに増加したペアリング成功の高輝度領域ペアがないまで繰り返しても良い。 In this embodiment, the number of overlapping (repeated) times may be a predetermined number of times, for example, it may be repeated once. Alternatively, steps 204-206 may be repeated until there are no newly increased pairs of high intensity regions with successful pairing.

ステップ208では、ペアリング失敗の単一高輝度領域に対応するバーチャル高輝度領域を追加し、該単一高輝度領域及びその対応する該バーチャル高輝度領域からなる各高輝度領域ペアを第3組の高輝度領域ペアとし、このように、ROI領域の制限、遮蔽、偶然のミスマッチなどの要因によりマッチング不成功になるが、実際には車のライト領域である高輝度領域を、検出結果に追加することができ、これにより、検出漏れの可能性をさらに減らし、検出結果の全面性及び正確性をより一層向上させることができる。 At step 208, add a virtual high-brightness region corresponding to the single high-brightness region of pairing failure, and divide each high-brightness region pair consisting of the single high-brightness region and its corresponding virtual high-brightness region into a third set. In this way, factors such as ROI region limitations, occlusions, and accidental mismatches can lead to unsuccessful matching, but the high-brightness region, which is actually the car light region, is added to the detection result. This can further reduce the possibility of detection failures and further improve the completeness and accuracy of detection results.

この実施例から分かるように、カラー画像に対して直接検出を行い、また、2回の異なるペアリング処理を行うことで、車両のヘッドライト及びテールライトに対して同時に検出及びペアリングを行うことができ、また、車両の方向指示灯の検出結果への影響を避けることができ、これにより、検出漏れ及び誤検出の可能性を大幅に減らし、車両検出結果の全面性及び正確性を有効に向上させることができる。 As can be seen from this example, it is possible to detect and pair simultaneously to the vehicle headlights and taillights by performing direct detection on the color image and performing two different pairing processes. and avoid affecting the detection result of the vehicle's turn signal lights, which greatly reduces the possibility of detection omission and false detection, and effectively improves the completeness and accuracy of the vehicle detection result. can be improved.

本実施例は、車両検出装置を提供し、それは、実施例1に記載の車両検出方法に対応するので、該車両検出装置の具体的な実施は、実施例1の車両検出方法の実施を参照でき、重複説明は、省略される。 This embodiment provides a vehicle detection device, which corresponds to the vehicle detection method described in Embodiment 1, so for the specific implementation of the vehicle detection device, refer to the implementation of the vehicle detection method in Embodiment 1. possible, and redundant explanations will be omitted.

図3は、本発明の実施例2の車両検出装置を示す図である。図3に示すように、車両検出装置300は、次のようなものを含む。 FIG. 3 is a diagram showing a vehicle detection device according to Example 2 of the present invention. As shown in FIG. 3, the vehicle detection device 300 includes the following.

第一確定ユニット301:入力されたカラー画像中の高輝度領域を確定し;
拡張ユニット302:各高輝度領域周囲の画素の色に基づいて、該高輝度領域を拡張し;
第一ペアリングユニット303:拡張後の、所定色を有する高輝度領域に対して1回目のペアリングを行い、そのうち、第1組のパラメータに基づいて各高輝度領域に対して選択を行い、任意の2つの高輝度領域の間のサイズの差に基づいて選択後の各高輝度領域に対してペアリングを行うことで、第1組の高輝度領域ペアを取得し;
第二ペアリングユニット304:1回目のペアリング失敗の高輝度領域に対して2回目のペアリングを行い、そのうち、第2組のパラメータに基づいて1回目のペアリング失敗の高輝度領域に対して選択を行い、任意の2つの高輝度領域の間の形状マッチング程度に基づいて選択後の各高輝度領域に対してペアリングを行うことで、第2組の高輝度領域ペアを取得し;
第二確定ユニット305:該第1組の高輝度領域ペア及び該第2組の高輝度領域ペアに基づいて、入力されたカラー画像中の車両の位置を確定する。
A first determining unit 301: determining a high-brightness region in the input color image;
Expansion unit 302: expanding each high-brightness region based on the color of pixels around the high-brightness region;
a first pairing unit 303: performing a first pairing for the high-brightness regions with a predetermined color after the expansion, wherein each high-brightness region is selected according to the first set of parameters; obtaining a first set of high-brightness region pairs by pairing each high-brightness region after selection based on the size difference between any two high-brightness regions;
A second pairing unit 304: perform a second pairing for the high-brightness region with the first pairing failure, wherein the high-brightness region with the first pairing failure is paired according to the second set of parameters; and obtaining a second set of high-brightness region pairs by performing pairing for each selected high-brightness region according to the degree of shape matching between any two high-brightness regions;
A second determining unit 305: determining the position of the vehicle in the input color image according to the first set of high-brightness region pairs and the second set of high-brightness region pairs.

図4は、本発明の実施例2の他の車両検出装置を示す図である。図4に示すように、車両検出装置400は、次のようなものを含む。 FIG. 4 is a diagram showing another vehicle detection device according to Example 2 of the present invention. As shown in FIG. 4, the vehicle detection device 400 includes the following.

第一確定ユニット401:入力されたカラー画像中の高輝度領域を確定し;
拡張ユニット402:各高輝度領域周囲の画素の色に基づいて、該高輝度領域を拡張し;
第一選択ユニット403:1回目のペアリングを行う前に、拡張後の各高輝度領域に対して1回目の合理的な選択を行い、そのうち、拡張後の各高輝度領域に対して、該高輝度領域の面積及び/又は該高輝度領域のコンベクシティに基づいて選択を行い;
第一ペアリングユニット404:拡張後の1回目の合理的な選択後の、所定色を有する高輝度領域に対して1回目のペアリングを行い、そのうち、第1組のパラメータに基づいて各高輝度領域に対して選択を行い、任意の2つの高輝度領域の間のサイズの差に基づいて選択後の各高輝度領域に対してペアリングを行うことで、第1組の高輝度領域ペアを取得し;
第二ペアリングユニット405:1回目のペアリング失敗の高輝度領域に対して2回目のペアリングを行い、そのうち、第2組のパラメータに基づいて1回目のペアリング失敗の高輝度領域に対して選択を行い、任意の2つの高輝度領域の間の形状マッチング程度に基づいて選択後の各高輝度領域に対してペアリングを行うことで、第2組の高輝度領域ペアを取得し;
第二選択ユニット406:2回目のペアリングを行った後に、該第2組の高輝度領域ペアに対して2回目の合理的な選択を行い、そのうち、該第2組の高輝度領域ペア中の各高輝度領域ペアのサイズ、質量中心点の色差、質量中心点の輝度差、及び外接矩形の輝度ヒストグラムのうちの少なくとも1つに基づいて選択を行い、各高輝度領域ペアの重なり度合に基づいて併合を行うことで、2回目の合理的な選択後の第2組の高輝度領域ペアを取得し;
判断ユニット407:1回目のペアリング、2回目のペアリング、及び2回目の合理的な選択が所定回数繰り返されたか、或いは、新たに増加したペアリング成功の高輝度領域ペアがないかを判断し;
追加ユニット408:ペアリング失敗の単一高輝度領域に対応するバーチャル高輝度領域を追加し、単一高輝度領域及びその対応するバーチャル高輝度領域からなる各高輝度領域ペアを第3組の高輝度領域ペアとし;
第二確定ユニット409:該第1組の高輝度領域ペア、2回目の合理的な選択後の該第2組の高輝度領域ペア、及び該第3組の高輝度領域ペアに基づいて、入力された前記カラー画像中の車両の位置を確定する。
A first determining unit 401: determining a high-brightness region in the input color image;
Expansion unit 402: expanding each high-brightness region based on the color of pixels around the high-brightness region;
A first selection unit 403: Before the first pairing, make a first rational selection for each extended high-brightness region, among which, for each extended high-brightness region, select the making a selection based on the area of the bright regions and/or the convexity of the bright regions;
A first pairing unit 404: perform a first pairing for the high-brightness region with a predetermined color after the first reasonable selection after expansion, wherein each high-brightness region is paired according to the first set of parameters; A first set of high-intensity region pairs is obtained by making a selection on the luminance region and pairing for each selected high-intensity region based on the size difference between any two high-intensity regions. to obtain;
A second pairing unit 405: perform a second pairing for the high-brightness region with the first pairing failure, wherein the high-brightness region with the first pairing failure is paired according to the second set of parameters; and obtaining a second set of high-brightness region pairs by performing pairing for each selected high-brightness region according to the degree of shape matching between any two high-brightness regions;
A second selection unit 406: after the second pairing, make a second rational selection for the second set of high-brightness region pairs, among which the second set of high-brightness region pairs The selection is based on at least one of the size of each high-brightness region pair, the color difference of the center of mass, the brightness difference of the center of mass, and the brightness histogram of the circumscribing rectangle, and the degree of overlap of each high-brightness region pair is obtaining a second set of high intensity region pairs after the second rational selection by merging based on;
Judgment unit 407: Judging whether the first pairing, the second pairing, and the second reasonable selection have been repeated a predetermined number of times, or whether there is a newly increased pairing successful high-brightness region pair. death;
Adding unit 408: adding a virtual high intensity region corresponding to the single high intensity region of pairing failure, and substituting each high intensity region pair consisting of the single high intensity region and its corresponding virtual high intensity region into a third set of high intensity regions; as luminance region pairs;
A second determining unit 409: based on the first set of high-brightness region pairs, the second set of high-brightness region pairs after the second rational selection, and the third set of high-brightness region pairs, input determining the position of the vehicle in the color image obtained.

この実施例から分かるように、カラー画像に対して直接検出を行い、また、2回の異なるペアリング処理を行うことで、車両のヘッドライト及びテールライトに対して同時に検出及びペアリングを行うことができ、また、車両の方向指示灯の検出結果への影響を避けることができ、これにより、検出漏れ及び誤検出の可能性を大幅に減らし、車両検出結果の全面性及び正確性を有効に向上させることができる。 As can be seen from this example, it is possible to detect and pair simultaneously to the vehicle headlights and taillights by performing direct detection on the color image and performing two different pairing processes. and avoid affecting the detection result of the vehicle's turn signal lights, which greatly reduces the possibility of detection omission and false detection, and effectively improves the completeness and accuracy of the vehicle detection result. can be improved.

本実施例は、電子機器を提供する。図5は、本発明の実施例3の電子機器を示す図である。図5に示すように、電子機器500は、車両検出装置501を含み、該車両検出装置501の構造及び機能は、実施例2中の記載と同じであるため、ここでは、その詳しい説明を省略する。 This embodiment provides an electronic device. FIG. 5 is a diagram showing an electronic device according to Example 3 of the present invention. As shown in FIG. 5, the electronic device 500 includes a vehicle detection device 501, and the structure and function of the vehicle detection device 501 are the same as those described in the second embodiment, so detailed description thereof is omitted here. do.

図6は、本発明の実施例3の電子機器のシステム構成を示す図である。図6に示すように、電子機器600は、中央処理装置601及び記憶器602を含んでも良く、該記憶器602は、該中央処理装置601に接続される。なお、該図は、例示に過ぎず、さらに他の類型の構造により該構造に対して補充又は代替を行うことで、電気通信機能又は他の機能を実現することもできる。 FIG. 6 is a diagram showing the system configuration of an electronic device according to Example 3 of the present invention. As shown in FIG. 6, the electronic device 600 may include a central processing unit 601 and a memory 602 , the memory 602 being connected to the central processing unit 601 . It should be noted that the diagram is only an example, and that the structure can be supplemented or substituted with other types of structures to implement telecommunications functions or other functions.

図6に示すように、該電子機器600は、さらに、入力ユニット603、表示器604、及び電源605を含んでも良い。 The electronic device 600 may further include an input unit 603, a display 604, and a power supply 605, as shown in FIG.

一実施方式では、実施例2に記載の車両検出装置の機能は、該中央処理装置601に統合することができる。そのうち、該中央処理装置601は、次のように構成されても良く、即ち、入力されたカラー画像中の高輝度領域を確定し;各高輝度領域周囲の画素の色に基づいて、前記高輝度領域を拡張し;拡張後の、所定色を有する高輝度領域に対して1回目のペアリングを行い、そのうち、第1組のパラメータに基づいて各高輝度領域に対して選択を行い、任意の2つの高輝度領域の間のサイズの差に基づいて選択後の各高輝度領域に対してペアリングを行うことで、第1組の高輝度領域ペアを取得し;1回目のペアリング失敗の高輝度領域に対して2回目のペアリングを行い、そのうち、第2組のパラメータに基づいて1回目のペアリング失敗の高輝度領域に対して選択を行い、任意の2つの高輝度領域の間の形状マッチング程度に基づいて選択後の各高輝度領域に対してペアリングを行うことで、第2組の高輝度領域ペアを取得し;及び、前記第1組の高輝度領域ペア及び前記第2組の高輝度領域ペアに基づいて、入力された前記カラー画像中の車両の位置を確定する。 In one implementation, the functionality of the vehicle detection device described in Example 2 can be integrated into the central processing unit 601 . Wherein, the central processing unit 601 may be configured as follows: determine the high-brightness regions in the input color image; expanding the luminance region; after the expansion, performing a first pairing for the high luminance region with a predetermined color, wherein each high luminance region is selected according to the first set of parameters, and optionally obtain a first set of high-brightness region pairs by pairing each high-brightness region after selection based on the size difference between the two high-brightness regions; perform the second pairing for the high-brightness regions, among which, based on the second set of parameters, select the high-brightness regions that failed the first pairing, and select any two high-brightness regions A second pair of high-brightness regions is obtained by pairing each high-brightness region after selection based on the degree of shape matching between the first pair of high-brightness regions and the Determine the position of the vehicle in the input color image based on the second set of high intensity region pairs.

例えば、各高輝度領域周囲の画素の色に基づいて前記高輝度領域を拡張することは、各高輝度領域周囲の所定色の画素を含めるように前記高輝度領域を拡張することを含む。 For example, expanding the high-intensity region based on the color of pixels surrounding each high-intensity region includes expanding the high-intensity region to include pixels of a predetermined color around each high-intensity region.

例えば、該中央処理装置601は、さらに次のように構成されても良く、即ち、1回目のペアリングを行う前に、拡張後の各高輝度領域に対して1回目の合理的な選択を行い、そのうち、拡張後の各高輝度領域に対して、前記高輝度領域の面積及び/又は前記高輝度領域のコンベクシティに基づいて選択を行い、そして、拡張後の、所定色を有する高輝度領域に対して1回目のペアリングを行い、また、拡張後の、所定色を有する高輝度領域に対して1回目のペアリングを行うことは、拡張後の1回目の合理的な選択後の、所定色を有する高輝度領域に対して1回目のペアリングを行うことを含む。 For example, the central processing unit 601 may be further configured to: perform a first rational selection for each enhanced high intensity region before performing the first pairing; wherein, for each high-brightness region after extension, making a selection based on the area of the high-brightness region and/or the convexity of the high-brightness region; and, a high-brightness region having a predetermined color after extension. , and performing the first pairing for the high-brightness region having a predetermined color after extension, after the first rational selection after extension, It includes performing a first pairing on a high intensity region having a predetermined color.

例えば、該中央処理装置601は、さらに次のように構成されても良く、即ち、2回目のペアリングを行った後に、前記第2組の高輝度領域ペアに対して2回目の合理的な選択を行い、そのうち、前記第2組の高輝度領域ペア中の各高輝度領域ペアのサイズ、質量中心点の色差、質量中心点の輝度差、及び外接矩形の輝度ヒストグラムのうちの少なくとも1つに基づいて選択を行い、各高輝度領域ペアの重なり度合に基づいて合併を行うことで、2回目の合理的な選択後の第2組の高輝度領域ペアを取得し、そして、前記第1組の高輝度領域ペア及び前記第2組の高輝度領域ペアに基づいて、入力された前記カラー画像中の車両の位置を確定し、また、前記第1組の高輝度領域ペア及び前記第2組の高輝度領域ペアに基づいて、入力された前記カラー画像中の車両の位置を確定することは、前記第1組の高輝度領域ペア及び2回目の合理的な選択後の前記第2組の高輝度領域ペアに基づいて、入力された前記カラー画像中の車両の位置を確定することを含む。 For example, the central processing unit 601 may be further configured to: after performing the second pairing, a second reasonable making a selection, among which at least one of a size of each high-brightness region pair in the second set of high-brightness region pairs; and merging based on the degree of overlap of each high-brightness region pair to obtain a second set of high-brightness region pairs after the second reasonable selection, and the first determining the position of the vehicle in the input color image based on a set of high-brightness region pairs and the second set of high-brightness region pairs; Determining the position of the vehicle in the input color image based on a set of high-brightness region pairs comprises: the first set of high-brightness region pairs and the second set after a second rational selection; determining the position of the vehicle in the input color image based on the high intensity region pairs of .

例えば、該中央処理装置601は、さらに次のように構成されても良く、即ち、前記1回目のペアリング、前記2回目のペアリング、及び前記2回目の合理的な選択を所定回数繰り返し、或いは、前記1回目のペアリング、前記2回目のペアリング及び前記2回目の合理的な選択を、新たに増加したペアリング成功の高輝度領域ペアがないまで繰り返す。 For example, the central processing unit 601 may be further configured to repeat the first pairing, the second pairing, and the second rational selection a predetermined number of times; Alternatively, the first pairing, the second pairing, and the second rational selection are repeated until there is no newly increased pairing-successful high-brightness region pair.

例えば、該中央処理装置601は、さらに次のように構成されても良く、即ち、ペアリング失敗の単一高輝度領域に対応するバーチャル高輝度領域を追加し、前記単一高輝度領域とその対応する前記バーチャル高輝度領域からなる各高輝度領域ペアを第3組の高輝度領域ペアとし、そして、前記第1組の高輝度領域ペア及び前記第2組の高輝度領域ペアに基づいて、入力された前記カラー画像中の車両の位置を確定し、また、前記第1組の高輝度領域ペア及び前記第2組の高輝度領域ペアに基づいて、入力された前記カラー画像中の車両の位置を確定することは、前記第1組の高輝度領域ペア、前記2回目の合理的な選択後の第2組の高輝度領域ペア、及び前記第3組の高輝度領域ペアに基づいて、入力された前記カラー画像中の車両の位置を確定することを含む。 For example, the central processing unit 601 may be further configured to: add a virtual bright region corresponding to a single bright region of pairing failure; Each high-brightness region pair consisting of the corresponding virtual high-brightness regions is a third set of high-brightness region pairs, and based on the first set of high-brightness region pairs and the second set of high-brightness region pairs, determining a position of a vehicle in the input color image; and determining a position of the vehicle in the input color image based on the first set of high-brightness area pairs and the second set of high-brightness area pairs. determining a position based on the first set of high intensity region pairs, the second set of high intensity region pairs after the second rational selection, and the third set of high intensity region pairs; determining the position of the vehicle in the input color image;

他の実施方式では、実施例2に記載の車両検出装置は、中央処理装置601と別々で構成されても良く、例えば、該車両検出装置を、該中央処理装置601に接続されるチップとして構成し、該中央処理装置601の制御下で該車両検出装置の機能を実現しても良い。 In another implementation, the vehicle detection device described in Example 2 may be configured separately from the central processing unit 601, for example, the vehicle detection device may be configured as a chip connected to the central processing unit 601. However, the functions of the vehicle detection device may be realized under the control of the central processing unit 601 .

本実施例では、該電子機器600は、必ずしも図6に示す全ての部品を含む必要がない。 In this embodiment, the electronic device 600 need not necessarily include all the components shown in FIG.

図6に示すように、該中央処理装置601は、制御器又は操作コントローラと称される場合があり、マイクロプロセッサ或いは他の処理装置及び/又は論理装置を含んでも良く、該中央処理装置601は、入力を受信して該電子機器600の各部件の操作を制御することができる。 As shown in FIG. 6, the central processing unit 601, sometimes referred to as a controller or operational controller, may include a microprocessor or other processing and/or logic device, and the central processing unit 601 , can receive input to control the operation of each component of the electronic device 600 .

該記憶器602は、例えば、バッファ、フレッシュメモリ、HDD、移動可能な媒体、揮発性記憶器、不揮発性記憶器又はその他の適切な装置のうちの1つ又は複数であっても良い。該中央処理装置601は、該記憶器602に記憶のプログラムを実行することで、情報の記憶や処理などを実現することができる。なお、他の部品の機能は、従来と同様であるため、ここでは、その詳しい説明を省略する。また、該電子機器600の各部品は、専用ハードウェア、ファームウェア、ソフトウェア又はその組み合わせにより実現されても良く、これらは、すべて、本発明の範囲に属する。 The storage 602 may be, for example, one or more of a buffer, flash memory, HDD, removable media, volatile storage, non-volatile storage, or other suitable device. The central processing unit 601 can implement information storage and processing by executing a program stored in the storage unit 602 . Since the functions of other parts are the same as those of the conventional one, detailed description thereof will be omitted here. Also, each component of the electronic device 600 may be implemented by dedicated hardware, firmware, software, or a combination thereof, all of which are within the scope of the present invention.

この実施例から分かるように、カラー画像に対して直接検出を行い、また、2回の異なるペアリング処理を行うことで、車両のヘッドライト及びテールライトに対して同時に検出及びペアリングを行うことができ、また、車両の方向指示灯の検出結果への影響を避けることができ、これにより、検出漏れ及び誤検出の可能性を大幅に減らし、車両検出結果の全面性及び正確性を有効に向上させることができる。 As can be seen from this example, it is possible to detect and pair simultaneously to the vehicle headlights and taillights by performing direct detection on the color image and performing two different pairing processes. and avoid affecting the detection result of the vehicle's turn signal lights, which greatly reduces the possibility of detection omission and false detection, and effectively improves the completeness and accuracy of the vehicle detection result. can be improved.

本発明の実施例は、さらに、コンピュータ可読プログラムを提供し、そのうち、車両検出装置又は電子機器中で前記プログラムを実行する時に、前記プログラムは、コンピュータに、車両検出装置又は電子機器中で実施例1に記載の車両検出方法を実行させることができる。 An embodiment of the present invention further provides a computer readable program, wherein when the program is executed in the vehicle detection device or the electronic device, the program causes the computer to read the code of the embodiment in the vehicle detection device or the electronic device. 1 can be executed.

本発明の実施例は、さらに、コンピュータ可読プログラムを記憶した記憶媒体を提供し、そのうち、前記コンピュータ可読プログラムは、コンピュータに、車両検出装置又は電子機器中で実施例1に記載の車両検出方法を実行させることができる。 An embodiment of the present invention further provides a storage medium storing a computer readable program, wherein the computer readable program instructs a computer to perform the vehicle detection method according to embodiment 1 in a vehicle detection device or an electronic device. can be executed.

また、本発明の実施例による装置、方法などは、ソフトウェアにより実現されても良く、ハードェアにより実現されてもよく、ハードェア及びソフトウェアの組み合わせにより実現されても良い。また、本発明は、このようなコンピュータ可読プログラムにも関し、即ち、前記プログラムは、ロジック部品により実行される時に、前記ロジック部品に、上述の装置又は構成要素を実現させることができ、又は、前記ロジック部品に、上述の方法又はそのステップを実現させることができる。さらに、本発明は、上述のプログラムを記憶するための記憶媒体、例えば、ハードディスク、磁気ディスク、光ディスク、DVD、フレッシュメモリなどにも関する。 Also, the apparatus, method, etc. according to the embodiments of the present invention may be implemented by software, hardware, or a combination of hardware and software. The invention also relates to such a computer readable program, i.e. said program, when executed by a logic component, is capable of causing said logic component to implement a device or component as described above, or The logic component may implement the above method or steps thereof. Furthermore, the present invention also relates to a storage medium for storing the above program, such as a hard disk, magnetic disk, optical disk, DVD, fresh memory, and the like.

また、以上の実施例などに関し、さらに次のような付記を開示する。 In addition, the following supplementary remarks are disclosed with respect to the above examples and the like.

(付記1)
車両検出装置であって、
入力されたカラー画像中の高輝度領域を確定するための第一確定ユニット;
各高輝度領域周囲の画素の色に基づいて、前記高輝度領域を拡張するための拡張ユニット;
拡張後の、所定色を有する高輝度領域に対して1回目のペアリングを行うための第一ペアリングユニットであって、第1組のパラメータに基づいて各高輝度領域に対して選択を行い、任意の2つの高輝度領域の間のサイズの差に基づいて選択後の各高輝度領域に対してペアリングを行うことで、第1組の高輝度領域ペアを取得する第一ペアリングユニット;
1回目のペアリング失敗の高輝度領域に対して2回目のペアリングを行うための第二ペアリングユニットであって、第2組のパラメータに基づいて1回目のペアリング失敗の高輝度領域に対して選択を行い、任意の2つの高輝度領域の間の形状マッチング程度に基づいて選択後の各高輝度領域に対してペアリングを行うことで、第2組の高輝度領域ペアを取得する第二ペアリングユニット;及び
前記第1組の高輝度領域ペア及び前記第2組の高輝度領域ペアに基づいて、入力された前記カラー画像中の車両の位置を確定するための第二確定ユニットを含む、装置。
(Appendix 1)
A vehicle detection device,
a first determining unit for determining a high brightness region in an input color image;
an expansion unit for expanding the high brightness region based on the color of the pixels surrounding each high brightness region;
A first pairing unit for performing a first pairing for the extended high-brightness regions having a predetermined color, wherein each high-brightness region is selected based on a first set of parameters. , a first pairing unit for obtaining a first pair of high-brightness regions by pairing each high-brightness region after selection based on the size difference between any two high-brightness regions; ;
A second pairing unit for performing a second pairing to the first pairing-failed high-brightness region, the second pairing unit for the first pairing-failed high-brightness region based on a second set of parameters. , and pairing each selected high-brightness region based on the degree of shape matching between any two high-brightness regions to obtain a second set of high-brightness region pairs. a second pairing unit; and a second determination unit for determining the position of the vehicle in the input color image based on the first set of bright region pairs and the second set of bright region pairs. apparatus, including

(付記2)
付記1に記載の装置であって、
前記拡張ユニットは、各高輝度領域周囲の所定色の画素を含めるように前記高輝度領域を拡張する、装置。
(Appendix 2)
A device according to Appendix 1, wherein
The apparatus of claim 1, wherein the expanding unit expands the high-brightness regions to include pixels of a predetermined color around each high-brightness region.

(付記3)
付記1に記載の装置であって、さらに、
1回目のペアリングを行う前に、拡張後の各高輝度領域に対して1回目の合理的な選択を行うための第一選択ユニットであって、拡張後の各高輝度領域に対して、前記高輝度領域の面積及び/又は前記高輝度領域のコンベクシティに基づいて選択を行う第一選択ユニットを含み、
前記第一ペアリングユニットは、拡張後の1回目の合理的な選択後の、所定色を有する高輝度領域に対して1回目のペアリングを行う、装置。
(Appendix 3)
1. The device of clause 1, further comprising:
A first selection unit for making a first rational selection for each extended high-brightness region before performing the first pairing, wherein for each extended high-brightness region: a first selection unit that makes a selection based on the area of the high-brightness region and/or the convexity of the high-brightness region;
The apparatus, wherein the first pairing unit performs the first pairing for a high-brightness region having a predetermined color after the first rational selection after expansion.

(付記4)
付記3に記載の装置であって、さらに、
2回目のペアリングを行った後に、前記第2組の高輝度領域ペアに対して2回目の合理的な選択を行うための第二選択ユニットであって、前記第2組の高輝度領域ペア中の各高輝度領域ペアのサイズ、質量中心点の色差、質量中心点の輝度差、及び外接矩形の輝度ヒストグラムのうちの少なくとも1つに基づいて選択を行い、各高輝度領域ペアの重なり度合に基づいて併合を行うことで、2回目の合理的な選択後の第2組の高輝度領域ペアを取得する第二選択ユニットを含み、
前記第二確定ユニットは、前記第1組の高輝度領域ペア及び2回目の合理的な選択後の前記第2組の高輝度領域ペアに基づいて、入力された前記カラー画像中の車両の位置を確定する、装置。
(Appendix 4)
3. The apparatus of Supplementary Note 3, further comprising:
A second selection unit for making a second rational selection for the second set of high-brightness region pairs after performing a second pairing, wherein the second set of high-brightness region pairs is selection based on at least one of the size of each high-brightness region pair in a second selection unit for obtaining a second set of high intensity region pairs after the second rational selection by merging based on
The second determination unit determines the position of the vehicle in the input color image based on the first set of high-brightness region pairs and the second set of high-brightness region pairs after a second reasonable selection. Determine the device.

(付記5)
付記4に記載の装置であって、
前記第一ペアリングユニット、前記第二ペアリングユニット、及び前記第二選択ユニットは、前記1回目のペアリング、前記2回目のペアリング、及び前記2回目の合理的な選択を所定回数繰り返し、或いは、前記1回目のペアリング、前記2回目のペアリング、及び前記2回目の合理的な選択を、新たに増加したペアリング成功の高輝度領域ペアがないまで繰り返す、装置。
(Appendix 5)
The device of Appendix 4, wherein
The first pairing unit, the second pairing unit, and the second selection unit repeat the first pairing, the second pairing, and the second rational selection a predetermined number of times, Alternatively, the apparatus repeats the first pairing, the second pairing, and the second rational selection until there is no newly increased pairing-successful high intensity region pair.

(付記6)
付記5に記載の装置であって、さらに、
ペアリング失敗の単一高輝度領域に対応するバーチャル高輝度領域を追加し、前記単一高輝度領域及びその対応する前記バーチャル高輝度領域からなる各高輝度領域ペアを第3組の高輝度領域ペアとするための追加ユニットを含み、
前記第二確定ユニットは、前記第1組の高輝度領域ペア、2回目の合理的な選択後の前記第2組の高輝度領域ペア、及び前記第3組の高輝度領域ペアに基づいて、入力された前記カラー画像中の車両の位置を確定する、装置。
(Appendix 6)
The device of clause 5, further comprising:
adding a virtual high-brightness region corresponding to the single high-brightness region of pairing failure, and substituting each high-brightness region pair consisting of said single high-brightness region and its corresponding said virtual high-brightness region into a third set of high-brightness regions; including additional units for pairing,
The second determining unit, based on the first set of high-brightness region pairs, the second set of high-brightness region pairs after a second rational selection, and the third set of high-brightness region pairs, An apparatus for determining the position of a vehicle in said input color image.

(付記7)
付記1に記載の装置であって、
前記第1組のパラメータは、前記高輝度領域の垂直方向の座標値、外接矩形のアスペクト比、面積差、色差、及び形状マッチング程度のうちの少なくとも1つを含み、
前記第2組のパラメータは、前記高輝度領域の垂直方向の座標値、外接矩形のアスペクト比、及び面積差のうちの少なくとも1つを含む、装置。
(Appendix 7)
A device according to Appendix 1, wherein
The first set of parameters includes at least one of a vertical coordinate value of the high-brightness region, an aspect ratio of a circumscribing rectangle, an area difference, a color difference, and a degree of shape matching;
The apparatus, wherein the second set of parameters includes at least one of a vertical coordinate value of the high intensity region, an aspect ratio of a bounding rectangle, and an area difference.

(付記8)、
付記1~7のうちの任意の1項に記載の車両検出装置を含む電子機器。
(Appendix 8),
An electronic device comprising the vehicle detection device according to any one of Appendices 1 to 7.

(付記9)
車両検出方法であって、
入力されたカラー画像中の高輝度領域を確定し;
各高輝度領域周囲の画素の色に基づいて、前記高輝度領域を拡張し;
拡張後の、所定色を有する高輝度領域に対して1回目のペアリングを行い、そのうち、第1組のパラメータに基づいて各高輝度領域に対して選択を行い、任意の2つの高輝度領域の間のサイズの差に基づいて選択後の各高輝度領域に対してペアリングを行うことで、第1組の高輝度領域ペアを取得し;
1回目のペアリング失敗の高輝度領域に対して2回目のペアリングを行い、そのうち、第2組のパラメータに基づいて1回目のペアリング失敗の高輝度領域に対して選択を行い、任意の2つの高輝度領域の間の形状マッチング程度に基づいて選択後の各高輝度領域に対してペアリングを行うことで、第2組の高輝度領域ペアを取得し;及び
前記第1組の高輝度領域ペア及び前記第2組の高輝度領域ペアに基づいて、入力された前記カラー画像中の車両の位置を確定することを含む、方法。
(Appendix 9)
A vehicle detection method comprising:
determining a high intensity region in the input color image;
expanding the high intensity region based on the color of the pixels surrounding each high intensity region;
After the expansion, the high-brightness regions with a predetermined color are paired for the first time, wherein each high-brightness region is selected based on the first set of parameters, and any two high-brightness regions are selected. Obtaining a first set of high-brightness region pairs by pairing each high-brightness region after selection based on the size difference between
Perform a second pairing for the high-brightness region of the first pairing failure, wherein the high-brightness region of the first pairing failure is selected based on the second set of parameters, and any obtaining a second pair of high-brightness regions by pairing each high-brightness region after selection based on the degree of shape matching between the two high-brightness regions; and determining a position of a vehicle in the input color image based on the intensity region pairs and the second set of high intensity region pairs.

(付記10)
付記9に記載の方法であって、
各高輝度領域周囲の画素の色に基づいて、前記高輝度領域を拡張することは、
各高輝度領域周囲の所定色の画素を含めるように前記高輝度領域を拡張することを含む、方法。
(Appendix 10)
The method of Appendix 9, wherein
Expanding the high-brightness region based on the color of pixels surrounding each high-brightness region includes:
A method comprising expanding the high intensity regions to include pixels of a predetermined color around each high intensity region.

(付記11)
付記9に記載の方法であって、さらに、
1回目のペアリングを行う前に、拡張後の各高輝度領域に対して1回目の合理的な選択を行い、そのうち、拡張後の各高輝度領域に対して、前記高輝度領域の面積及び/又は前記高輝度領域のコンベクシティに基づいて選択を行うことを含み、
拡張後の、所定色を有する高輝度領域に対して1回目のペアリングを行うことは、拡張後の1回目の合理的な選択後の、所定色を有する高輝度領域に対して1回目のペアリングを行うことを含む、方法。
(Appendix 11)
The method of Supplementary Note 9, further comprising:
Before performing the first pairing, make a first rational selection for each high-brightness region after extension, among which, for each high-brightness region after extension, the area of the high-brightness region and / or making the selection based on the convexity of the high intensity regions;
Performing the first pairing on the high-brightness region having the predetermined color after the extension is the first pairing for the high-brightness region having the predetermined color after the first rational selection after the extension. A method comprising performing pairing.

(付記12)
付記11に記載の方法であって、さらに、
2回目のペアリングを行った後に、前記第2組の高輝度領域ペアに対して2回目の合理的な選択を行い、そのうち、前記第2組の高輝度領域ペア中の各高輝度領域ペアのサイズ、質量中心点の色差、質量中心点の輝度差、及び外接矩形の輝度ヒストグラムのうちの少なくとも1つに基づいて選択を行い、各高輝度領域ペアの重なり度合に基づいて併合を行うことで、2回目の合理的な選択後の第2組の高輝度領域ペアを取得することを含み、
前記第1組の高輝度領域ペア及び前記第2組の高輝度領域ペアに基づいて、入力された前記カラー画像中の車両の位置を確定することは、
前記第1組の高輝度領域ペア及び2回目の合理的な選択後の前記第2組の高輝度領域ペアに基づいて、入力された前記カラー画像中の車両の位置を確定することを含む、方法。
(Appendix 12)
11. The method of Supplementary Note 11, further comprising:
After the second pairing, perform a second rational selection for the second set of high-brightness region pairs, wherein each high-brightness region pair in the second set of high-brightness region pairs , the color difference of the centroid, the luminance difference of the centroid, and the luminance histogram of the bounding rectangle, and merging based on the degree of overlap of each pair of high luminance regions. obtaining a second set of high intensity region pairs after the second rational selection with
Determining a position of a vehicle in the input color image based on the first set of high-brightness region pairs and the second set of high-brightness region pairs includes:
determining the position of the vehicle in the input color image based on the first set of high intensity region pairs and the second set of high intensity region pairs after a second reasonable selection; Method.

(付記13)
付記12に記載の方法であって、さらに、
前記1回目のペアリング、前記2回目のペアリング、及び前記2回目の合理的な選択を所定回数繰り返し、或いは、前記1回目のペアリング、前記2回目のペアリング、及び前記2回目の合理的な選択を、新たに増加したペアリング成功の高輝度領域ペアがないまで繰り返すことを含む、方法。
(Appendix 13)
The method of Supplementary Note 12, further comprising:
Repeating the first pairing, the second pairing, and the second rational selection a predetermined number of times, or the first pairing, the second pairing, and the second rational selection repeating the selective selection until there are no newly increased pairings of successful high intensity regions.

(付記14)
付記13に記載の方法であって、さらに、
ペアリング失敗の単一高輝度領域に対応するバーチャル高輝度領域を追加し、前記単一高輝度領域及びその対応する前記バーチャル高輝度領域からなる各高輝度領域ペアを第3組の高輝度領域ペアとすることを含み、
前記第1組の高輝度領域ペア及び前記第2組の高輝度領域ペアに基づいて、入力された前記カラー画像中の車両の位置を確定することは、
前記第1組の高輝度領域ペア、2回目の合理的な選択後の前記第2組の高輝度領域ペア、及び前記第3組の高輝度領域ペアに基づいて、入力された前記カラー画像中の車両の位置を確定することを含む、方法。
(Appendix 14)
13. The method of Supplementary Note 13, further comprising:
adding a virtual high-brightness region corresponding to the single high-brightness region of pairing failure, and substituting each high-brightness region pair consisting of said single high-brightness region and its corresponding said virtual high-brightness region into a third set of high-brightness regions; including pairing
Determining a position of a vehicle in the input color image based on the first set of high-brightness region pairs and the second set of high-brightness region pairs includes:
based on the first set of high-brightness region pairs, the second set of high-brightness region pairs after a second rational selection, and the third set of high-brightness region pairs in the input color image determining a position of a vehicle in a vehicle.

(付記15)
付記9に記載の方法であって、
前記第1組のパラメータは、前記高輝度領域の垂直方向の座標値、外接矩形のアスペクト比、面積差、色差、及び形状マッチング程度のうちの少なくとも1つを含み、
前記第2組のパラメータは、前記高輝度領域の垂直方向の座標値、外接矩形のアスペクト比、及び面積差のうちの少なくとも1つを含む、方法。
(Appendix 15)
The method of Appendix 9, wherein
The first set of parameters includes at least one of a vertical coordinate value of the high-brightness region, an aspect ratio of a circumscribing rectangle, an area difference, a color difference, and a degree of shape matching;
The method, wherein the second set of parameters includes at least one of a vertical coordinate value of the high intensity region, an aspect ratio of a bounding rectangle, and an area difference.

以上、本発明の好ましい実施形態を説明したが、本発明はこの実施形態に限定されず、本発明の趣旨を離脱しない限り、本発明に対するあらゆる変更は本発明の技術的範囲に属する。 Although the preferred embodiment of the present invention has been described above, the present invention is not limited to this embodiment, and all modifications to the present invention fall within the technical scope of the present invention as long as they do not depart from the gist of the present invention.

Claims (10)

車両検出装置であって、
入力されたカラー画像中の高輝度領域を確定するための第一確定ユニット;
各高輝度領域周囲の画素の色に基づいて、前記高輝度領域を拡張するための拡張ユニット;
拡張後の、所定色を有する高輝度領域に対して1回目のペアリングを行うための第一ペアリングユニットであって、第1組のパラメータに基づいて各高輝度領域に対して選択を行い、任意の2つの高輝度領域の間のサイズの差に基づいて選択後の各高輝度領域に対してペアリングを行うことで、第1組の高輝度領域ペアを取得する第一ペアリングユニット;
1回目のペアリング失敗の高輝度領域に対して2回目のペアリングを行うための第二ペアリングユニットであって、第2組のパラメータに基づいて1回目のペアリング失敗の高輝度領域に対して選択を行い、任意の2つの高輝度領域の間の形状マッチング程度に基づいて選択後の各高輝度領域に対してペアリングを行うことで、第2組の高輝度領域ペアを取得する第二ペアリングユニット;及び
前記第1組の高輝度領域ペア及び前記第2組の高輝度領域ペアに基づいて、入力された前記カラー画像中の車両の位置を確定するための第二確定ユニットを含む、装置。
A vehicle detection device,
a first determining unit for determining a high brightness region in an input color image;
an expansion unit for expanding the high brightness region based on the color of the pixels surrounding each high brightness region;
A first pairing unit for performing a first pairing for the extended high-brightness regions having a predetermined color, wherein each high-brightness region is selected based on a first set of parameters. , a first pairing unit for obtaining a first pair of high-brightness regions by pairing each high-brightness region after selection based on the size difference between any two high-brightness regions; ;
A second pairing unit for performing a second pairing to the first pairing-failed high-brightness region, the second pairing unit for the first pairing-failed high-brightness region based on a second set of parameters. , and pairing each selected high-brightness region based on the degree of shape matching between any two high-brightness regions to obtain a second set of high-brightness region pairs. a second pairing unit; and a second determination unit for determining the position of the vehicle in the input color image based on the first set of bright region pairs and the second set of bright region pairs. apparatus, including
請求項1に記載の装置であって、
前記拡張ユニットは、各高輝度領域周囲の所定色の画素を含めるように前記高輝度領域を拡張する、装置。
A device according to claim 1, wherein
The apparatus of claim 1, wherein the expanding unit expands the high-brightness regions to include pixels of a predetermined color around each high-brightness region.
請求項1に記載の装置であって、さらに、
1回目のペアリングを行う前に、拡張後の各高輝度領域に対して1回目の選択を行うための第一選択ユニットであって、拡張後の各高輝度領域に対して、前記高輝度領域の面積及び/又は前記高輝度領域のコンベクシティに基づいて選択を行う第一選択ユニットを含み、
前記第一ペアリングユニットは、拡張後の1回目の選択後の、所定色を有する高輝度領域に対して1回目のペアリングを行う、装置。
The apparatus of claim 1, further comprising:
A first selection unit for performing a first selection for each high-brightness region after extension before performing the first pairing, wherein for each high-brightness region after extension, the high-brightness a first selection unit that selects based on the area of the region and/or the convexity of the high intensity region;
The device, wherein the first pairing unit performs the first pairing for the high-brightness region having a predetermined color after the first selection after expansion.
請求項3に記載の装置であって、さらに、
2回目のペアリングを行った後に、前記第2組の高輝度領域ペアに対して2回目の選択を行うための第二選択ユニットであって、前記第2組の高輝度領域ペア中の各高輝度領域ペアのサイズ、質量中心点の色差、質量中心点の輝度差、及び外接矩形の輝度ヒストグラムのうちの少なくとも1つに基づいて選択を行い、各高輝度領域ペアの重なり度合に基づいて併合を行うことで、2回目の選択後の第2組の高輝度領域ペアを取得する第二選択ユニットを含み、
前記第二確定ユニットは、前記第1組の高輝度領域ペア及び前記2回目の選択後の第2組の高輝度領域ペアに基づいて、入力された前記カラー画像中の車両の位置を確定する、装置。
4. The apparatus of claim 3, further comprising:
a second selection unit for performing a second selection on the second set of high-brightness region pairs after performing the second pairing, wherein each of the second set of high-brightness region pairs making a selection based on at least one of the size of the high intensity region pair, the color difference of the centroid, the luminance difference of the centroid, and the luminance histogram of the bounding rectangle, and based on the degree of overlap of each high luminance region pair a second selection unit that obtains a second set of high-brightness region pairs after the second selection by merging;
The second determining unit determines the position of the vehicle in the input color image based on the first set of high brightness region pairs and the second set of high brightness region pairs after the second selection. ,Device.
請求項4に記載の装置であって、
前記第一ペアリングユニット、前記第二ペアリングユニット、及び前記第二選択ユニットは、前記1回目のペアリング、前記2回目のペアリング、及び前記2回目の選択を所定回数繰り返し、或いは、前記1回目のペアリング、前記2回目のペアリング、及び前記2回目の選択を、新たに増加したペアリング成功の高輝度領域ペアがないまで繰り返す、装置。
A device according to claim 4, wherein
The first pairing unit, the second pairing unit, and the second selection unit repeat the first pairing, the second pairing, and the second selection a predetermined number of times, or The apparatus repeats the first pairing, the second pairing, and the second selection until there is no newly increased pairing-successful high intensity region pair.
請求項5に記載の装置であって、さらに、
ペアリング失敗の単一高輝度領域に対応するバーチャル高輝度領域を追加し、前記単一高輝度領域及びその対応する前記バーチャル高輝度領域からなる各高輝度領域ペアを第3組の高輝度領域ペアとするための追加ユニットを含み、
前記第二確定ユニットは、前記第1組の高輝度領域ペア、前記2回目の選択後の第2組の高輝度領域ペア、及び前記第3組の高輝度領域ペアに基づいて、入力された前記カラー画像中の車両の位置を確定する、装置。
6. The apparatus of claim 5, further comprising:
adding a virtual high-brightness region corresponding to the single high-brightness region of pairing failure, and substituting each high-brightness region pair consisting of said single high-brightness region and its corresponding said virtual high-brightness region into a third set of high-brightness regions; including additional units for pairing,
The second determination unit is input based on the first set of high-brightness region pairs, the second set of high-brightness region pairs after the second selection, and the third set of high-brightness region pairs An apparatus for determining the position of a vehicle in said color image.
請求項1に記載の装置であって、
前記第1組のパラメータは、前記高輝度領域の垂直方向の座標値、外接矩形のアスペクト比、面積差、色差、及び形状マッチング程度のうちの少なくとも1つを含み、
前記第2組のパラメータは、前記高輝度領域の垂直方向の座標値、外接矩形のアスペクト比、及び面積差のうちの少なくとも1つを含む、装置。
A device according to claim 1, wherein
The first set of parameters includes at least one of a vertical coordinate value of the high-brightness region, an aspect ratio of a circumscribing rectangle, an area difference, a color difference, and a degree of shape matching;
The apparatus, wherein the second set of parameters includes at least one of a vertical coordinate value of the high intensity region, an aspect ratio of a bounding rectangle, and an area difference.
請求項1~7のうちの任意の1項に記載の車両検出装置を含む電子機器。 An electronic device comprising the vehicle detection device according to any one of claims 1-7. 車両検出装置が実行する車両検出方法であって、
入力されたカラー画像中の高輝度領域を確定するステップ
各高輝度領域周囲の画素の色に基づいて、前記高輝度領域を拡張するステップ;
拡張後の、所定色を有する高輝度領域に対して1回目のペアリングを行うステップであって、第1組のパラメータに基づいて各高輝度領域に対して選択を行い、任意の2つの高輝度領域の間のサイズの差に基づいて選択後の各高輝度領域に対してペアリングを行うことで、第1組の高輝度領域ペアを取得するステップ;
1回目のペアリング失敗の高輝度領域に対して2回目のペアリングを行うステップであって、第2組のパラメータに基づいて1回目のペアリング失敗の高輝度領域に対して選択を行い、任意の2つの高輝度領域の間の形状マッチング程度に基づいて選択後の各高輝度領域に対してペアリングを行うことで、第2組の高輝度領域ペアを取得するステップ;及び
前記第1組の高輝度領域ペア及び前記第2組の高輝度領域ペアに基づいて、入力された前記カラー画像中の車両の位置を確定するステップを含む、方法。
A vehicle detection method executed by a vehicle detection device ,
determining high intensity regions in the input color image;
expanding the high intensity region based on the color of the pixels surrounding each high intensity region;
performing a first pairing of the enhanced regions having a predetermined color after the expansion, wherein for each enhanced region a selection is made based on a first set of parameters to select any two enhanced regions; obtaining a first set of high-brightness region pairs by pairing each high-brightness region after selection based on the size difference between the brightness regions;
performing a second pairing on the first pairing-failed high-brightness region, selecting the first pairing-failed high-brightness region based on a second set of parameters; obtaining a second set of high-brightness region pairs by pairing each high-brightness region after selection based on the degree of shape matching between any two high-brightness regions; and determining a position of a vehicle in said input color image based on a set of high intensity region pairs and said second set of high intensity region pairs.
請求項9に記載の方法であって、
各高輝度領域周囲の画素の色に基づいて、前記高輝度領域を拡張するステップは、
各高輝度領域周囲の所定色の画素を含めるように前記高輝度領域を拡張することを含む、方法。
A method according to claim 9, wherein
Based on the color of pixels surrounding each high-brightness region, expanding the high-brightness region comprises:
A method comprising expanding the high intensity regions to include pixels of a predetermined color around each high intensity region.
JP2018199660A 2018-01-10 2018-10-24 VEHICLE DETECTION APPARATUS AND METHOD AND ELECTRONICS Active JP7155870B2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810021680.3A CN110020575B (en) 2018-01-10 2018-01-10 Vehicle detection device and method and electronic equipment
CN201810021680.3 2018-01-10

Publications (2)

Publication Number Publication Date
JP2019121355A JP2019121355A (en) 2019-07-22
JP7155870B2 true JP7155870B2 (en) 2022-10-19

Family

ID=67187963

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018199660A Active JP7155870B2 (en) 2018-01-10 2018-10-24 VEHICLE DETECTION APPARATUS AND METHOD AND ELECTRONICS

Country Status (2)

Country Link
JP (1) JP7155870B2 (en)
CN (1) CN110020575B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113014912A (en) * 2019-12-19 2021-06-22 合肥君正科技有限公司 Method for detecting direct projection of strong light source of monitoring camera in vehicle

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003149325A (en) 2001-11-08 2003-05-21 Fujitsu Ten Ltd Radar device
JP2010272067A (en) 2009-05-25 2010-12-02 Hitachi Automotive Systems Ltd Image processing apparatus
JP2017505946A (en) 2014-01-17 2017-02-23 ケーピーアイティ テクノロジーズ リミテッド Vehicle detection system and method
JP2017124737A (en) 2016-01-14 2017-07-20 日立オートモティブシステムズ株式会社 Vehicle detection device and light distribution control device

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4914233B2 (en) * 2007-01-31 2012-04-11 富士重工業株式会社 Outside monitoring device
JP4980970B2 (en) * 2008-03-26 2012-07-18 富士重工業株式会社 Image pickup means adjustment device and object detection device
EP2313863A1 (en) * 2008-07-14 2011-04-27 National ICT Australia Limited Detection of vehicles in images of a night time scene
US8237909B2 (en) * 2009-02-06 2012-08-07 Gentex Corporation Vehicular rearview mirror assembly including integrated backlighting for a liquid crystal display (LCD)
CN102567705B (en) * 2010-12-23 2014-01-15 北京邮电大学 Method for detecting and tracking night running vehicle
CN102280030B (en) * 2011-07-20 2013-09-25 杭州海康威视数字技术股份有限公司 Method and system for detecting vehicle at night
CN103020948A (en) * 2011-09-28 2013-04-03 中国航天科工集团第二研究院二○七所 Night image characteristic extraction method in intelligent vehicle-mounted anti-collision pre-warning system
JP5883732B2 (en) * 2012-07-03 2016-03-15 クラリオン株式会社 Environment recognition device
JP6616093B2 (en) * 2014-04-25 2019-12-04 コンデュエント ビジネス サービシーズ エルエルシー Method and system for automatic ranking of vehicles in adjacent drive-through structures by appearance-based classification
JP6670085B2 (en) * 2015-12-02 2020-03-18 株式会社Subaru Outside environment recognition device
CN106407951B (en) * 2016-09-30 2019-08-16 西安理工大学 A kind of night front vehicles detection method based on monocular vision

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003149325A (en) 2001-11-08 2003-05-21 Fujitsu Ten Ltd Radar device
JP2010272067A (en) 2009-05-25 2010-12-02 Hitachi Automotive Systems Ltd Image processing apparatus
JP2017505946A (en) 2014-01-17 2017-02-23 ケーピーアイティ テクノロジーズ リミテッド Vehicle detection system and method
JP2017124737A (en) 2016-01-14 2017-07-20 日立オートモティブシステムズ株式会社 Vehicle detection device and light distribution control device

Also Published As

Publication number Publication date
CN110020575A (en) 2019-07-16
CN110020575B (en) 2022-10-21
JP2019121355A (en) 2019-07-22

Similar Documents

Publication Publication Date Title
Almagambetov et al. Robust and computationally lightweight autonomous tracking of vehicle taillights and signal detection by embedded smart cameras
JP4853160B2 (en) Vehicle detection device and headlamp control device
JP6132412B2 (en) Outside environment recognition device
KR20210006276A (en) Image processing method for flicker mitigation
JP6095605B2 (en) Vehicle recognition device
JP2021051802A (en) Device and method for detecting deposit
US10467742B2 (en) Method and image capturing device for detecting fog in a scene
JP2013067229A (en) Device for detecting light, program for detecting light, and device for controlling light
US11562575B2 (en) Methods and systems for object detection
JP7241772B2 (en) Image processing device
JP2015207035A (en) Traffic signal recognition device and computer program
JP7155870B2 (en) VEHICLE DETECTION APPARATUS AND METHOD AND ELECTRONICS
WO2018076281A1 (en) Detection method and detection apparatus for parking space status, and electronic device
JP6723492B2 (en) Fog identification device, fog identification method, and fog identification program
JP6335065B2 (en) Outside environment recognition device
JP2012118929A (en) Outside environment determination device and outside environment determination program
CN112770021B (en) Camera and filter switching method
CN112085962B (en) Image-based parking detection method and device and electronic equipment
JP7114965B2 (en) Target detection method, device and image processing device
JP2005339234A (en) Front vehicle monitoring device
KR101748083B1 (en) Method and Apparatus for Vehicle Recognition using Ramp of Automobile in Grayscale Video of Night Scene
JP6644509B2 (en) Vehicle detection alarm device and vehicle detection alarm method
JP7142131B1 (en) Lane detection device, lane detection method, and lane detection program
CN113869292B (en) Target detection method, device and equipment for automatic driving
CN115861624B (en) Method, device, equipment and storage medium for detecting occlusion of camera

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210709

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220520

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220621

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220816

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220919

R150 Certificate of patent or registration of utility model

Ref document number: 7155870

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150