JP6432296B2 - Device and method for detecting zebra crossings in images - Google Patents

Device and method for detecting zebra crossings in images Download PDF

Info

Publication number
JP6432296B2
JP6432296B2 JP2014230330A JP2014230330A JP6432296B2 JP 6432296 B2 JP6432296 B2 JP 6432296B2 JP 2014230330 A JP2014230330 A JP 2014230330A JP 2014230330 A JP2014230330 A JP 2014230330A JP 6432296 B2 JP6432296 B2 JP 6432296B2
Authority
JP
Japan
Prior art keywords
feature
image
statistical
unit
points
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
JP2014230330A
Other languages
Japanese (ja)
Other versions
JP2015103249A (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 JP2015103249A publication Critical patent/JP2015103249A/en
Application granted granted Critical
Publication of JP6432296B2 publication Critical patent/JP6432296B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Analysis (AREA)
  • Traffic Control Systems (AREA)

Description

本発明は、画像処理分野に関し、特に、画像中のゼブラクロッシングの検出装置及び方法に関する。   The present invention relates to the field of image processing, and more particularly to an apparatus and method for detecting zebra crossings in an image.

近年、運転支援システムが迅速に発展している。運転支援システムは、事故を起こす前に、その環境を識別することができるので、交通安全性を向上させるための有効なツ−ルになっている。運転支援システムには多くのセンサが存在し、これにより、事故予防のための情報を検出することができる。今のところ、カメラや多種多様な画像処理アルゴリズムを用いることにより、運転支援システムは、より多くの交通場面における特徴を識別し、そのインテリジェント分析能力を強化することができる。   In recent years, driving assistance systems have been rapidly developed. The driving support system can identify the environment before an accident occurs, and is therefore an effective tool for improving traffic safety. There are many sensors in the driving support system, which can detect information for preventing accidents. Currently, by using cameras and a wide variety of image processing algorithms, the driving support system can identify features in more traffic scenes and enhance its intelligent analysis capabilities.

本発明の実施例は、ゼブラクロッシングの検出装置及び方法を提供する。検出した画像のエッジ特徴に基づいて画像の視覚特徴を計算し、そして、視覚特徴に対しての統計結果に基づいて判断画像中にゼブラクロッシングが存在するかどうかを判断することにより、車両とゼブラクロッシングとの距離が遠い(大きい)時におけるゼブラクロッシングの識別を実現し、即ち、前方のゼブラクロッシングの事前予報を実現することができるため、交通安全性及びゼブラクロッシングの即時(real-time)検出の正確性を向上させることができる。   Embodiments of the present invention provide a zebra crossing detection apparatus and method. By calculating the visual features of the image based on the edge features of the detected image and determining whether zebra crossings are present in the decision image based on statistical results for the visual features, the vehicle and zebra Realizes zebra crossing identification when the distance to the crossing is far (large), that is, can predict the advance of zebra crossing ahead, so traffic safety and real-time detection of zebra crossing Accuracy can be improved.

本発明の実施例の一側面によれば、画像中のゼブラクロッシングの検出装置が提供され、そのうち、該装置は、
検出した前記画像のエッジ特徴に基づいて前記画像の視覚特徴を計算するための第一計算ユニットであって、前記視覚特徴は、彩度特徴、間隔特徴及び輝度差特徴を含む、第一計算ユニット;及び
前記第一計算ユニットが計算した前記視覚特徴に対しての統計結果に基づいて、前記画像中に前記ゼブラクロッシングが存在するかどうかを判断するための第一処理ユニットを含む。
According to one aspect of an embodiment of the present invention, a device for detecting zebra crossings in an image is provided, wherein the device comprises:
A first calculation unit for calculating visual features of the image based on detected edge features of the image, wherein the visual features include a saturation feature, a spacing feature, and a luminance difference feature And a first processing unit for determining whether the zebra crossing is present in the image based on a statistical result for the visual feature calculated by the first calculation unit.

本発明の実施例の他の側面によれば、画像中のゼブラクロッシングの検出方法が提供され、そのうち、該方法は、
検出した前記画像のエッジ特徴に基づいて前記画像の視覚特徴を計算し、前記視覚特徴は、彩度特徴、間隔特徴及び輝度差特徴を含み;及び
前記視覚特徴に対しての統計結果に基づいて、前記画像中にゼブラクロッシングが存在するかどうかを判断することを含む。
According to another aspect of an embodiment of the present invention, a method for detecting zebra crossings in an image is provided, wherein the method comprises:
Calculating visual features of the image based on the detected edge features of the image, the visual features including a saturation feature, a spacing feature, and a luminance difference feature; and based on a statistical result for the visual feature Determining whether zebra crossings are present in the image.

本発明の有益な効果は、本発明の実施例における方法及び装置により、車両とゼブラクロッシングとの距離が遠い時におけるゼブラクロッシングの有効な識別を実現し、ゼブラクロッシングの即時検出の速度及び有効性を向上させ、ゼブラクロッシングの誤検出を避けることができる。   The beneficial effect of the present invention is that the method and apparatus in the embodiments of the present invention achieve effective identification of zebra crossing when the distance between the vehicle and the zebra crossing is long, and the speed and effectiveness of immediate detection of zebra crossing. And avoiding false detection of zebra crossings.

本発明の実施例1における画像中のゼブラクロッシングの検出方法のフローチャートである。2 is a flowchart of a method for detecting zebra crossing in an image in Embodiment 1 of the present invention. 本発明の実施例1におけるステップ101の一例のフローチャートである。It is a flowchart of an example of step 101 in Example 1 of this invention. 本発明の実施例2における画像中のゼブラクロッシングの検出方法のフローチャートである。6 is a flowchart of a method for detecting zebra crossing in an image according to Embodiment 2 of the present invention. 本発明の実施例2におけるステップ303で取得された関心領域を示す図である。It is a figure which shows the region of interest acquired at step 303 in Example 2 of this invention. 本発明の実施例2におけるステップ306中のエッジ特徴画像中のエッジ特徴点を示す図である。It is a figure which shows the edge feature point in the edge feature image in step 306 in Example 2 of this invention. 本発明の実施例2におけるステップ307中のサンプリングポイントを示す図である。It is a figure which shows the sampling point in step 307 in Example 2 of this invention. 本発明の実施例3における画像中のゼブラクロッシングの検出装置の構成図である。FIG. 6 is a configuration diagram of a device for detecting zebra crossing in an image according to Embodiment 3 of the present invention. 本発明の実施例3における第一計算ユニット701の構成図である。FIG. 6 is a configuration diagram of a first calculation unit 701 in Embodiment 3 of the present invention. 本発明の実施例3における第一処理ユニット702の構成図である。FIG. 6 is a configuration diagram of a first processing unit 702 in Embodiment 3 of the present invention. 本発明の実施例3における画像中のゼブラクロッシングの検出装置の構成図である。FIG. 6 is a configuration diagram of a device for detecting zebra crossing in an image according to Embodiment 3 of the present invention.

以下、添付した図面を参照しながら本発明を実施するための形態を詳細に説明する。   Hereinafter, embodiments for carrying out the present invention will be described in detail with reference to the accompanying drawings.

本発明の実施例1は、画像中のゼブラクロッシングの検出方法を提供する。図1は、本発明の実施例1における画像中のゼブラクロッシングの検出方法のフローチャートである。図1に示すように、該方法は、次のステップを含む。   Embodiment 1 of the present invention provides a method for detecting zebra crossings in an image. FIG. 1 is a flowchart of a method for detecting zebra crossing in an image in Embodiment 1 of the present invention. As shown in FIG. 1, the method includes the following steps.

ステップ101:検出した画像のエッジ特徴に基づいて、該画像の視覚特徴を計算し、該視覚特徴は、彩度特徴、間隔特徴及び輝度差特徴を含み;
ステップ102:視覚特徴に対しての統計結果に基づいて、画像中にゼブラクロッシングが存在するかどうかを判断する。
Step 101: Calculate visual features of the image based on the detected edge features of the image, the visual features including a saturation feature, a spacing feature, and a luminance difference feature;
Step 102: Determine whether zebra crossings are present in the image based on the statistical results for the visual features.

本実施例では、ゼブラクロッシングの検出を行う時に、先ず、1つの画像を得てもよく、例えば、車載カメラを用いて前方の道路の1つの画像を得てもよい。その後、該画像に対して画像処理を行い、ゼブラクロッシングが存在するかどうかを検出する。   In this embodiment, when zebra crossing is detected, one image may be obtained first. For example, one image of a road ahead may be obtained using an in-vehicle camera. Thereafter, image processing is performed on the image to detect whether zebra crossing exists.

本実施例では、該画像のエッジ特徴を検出することができ、その後、検出したエッジ特徴に基づいて視覚特徴を計算し、該視覚特徴は、彩度特徴、間隔特徴及び輝度差特徴を含む。これにより、従来技術に比べ、ゼブラクロッシングをより正確に検出することができる。   In this embodiment, an edge feature of the image can be detected, and then a visual feature is calculated based on the detected edge feature, and the visual feature includes a saturation feature, an interval feature, and a luminance difference feature. Thereby, compared with a prior art, zebra crossing can be detected more correctly.

本実施例では、検出効率を向上させるために、該方法は更に次のステップを含む。   In this embodiment, in order to improve detection efficiency, the method further includes the following steps.

ステップ100:画像に対して前置処理を行う。なお、ステップ100は、オプションである。   Step 100: Prefix processing is performed on the image. Step 100 is an option.

そのうち、先ず、検出待ち画像を標準サイズに正規化することができ、正規化後の画像に対してノイズ除去処理を(例えば、ガウシアン平滑化フィルタを使うことにより)行い、そして、ノイズ除去後の画像をグレースケール画像に変換し、或いは、画像中の関心領域(REGION OF INTEREST、ROI)を検出待ち画像として検出してもよい。上述のような前置処理は、従来技術を採用することにより実現することができるので、ここでは詳しい説明を省略する。   Among them, first, the detection waiting image can be normalized to a standard size, noise removal processing is performed on the normalized image (for example, by using a Gaussian smoothing filter), and after the noise removal The image may be converted into a gray scale image, or a region of interest (REGION OF INTEREST, ROI) in the image may be detected as a detection waiting image. Since the pre-processing as described above can be realized by adopting the conventional technique, detailed description is omitted here.

図2は、本発明の実施例1における視覚特徴を得るためのフローチャートであり、ステップ101の一例を示している。図2に示すように、該方法は、次のステップを含む。   FIG. 2 is a flowchart for obtaining visual features according to the first embodiment of the present invention, and shows an example of step 101. As shown in FIG. 2, the method includes the following steps.

ステップ201:画像中の1行のデータを選択し;
ステップ202:選択した1行のデータの複数のエッジ特徴点を検出し;
ステップ203:複数のエッジ特徴点のうちの隣接する2つのエッジ特徴点の中心を、選択した1行の1つのサンプリングポイントとし、これにより、1つ又は複数のサンプリングポイントを取得し;
ステップ204:複数のエッジ特徴点及び1つ又は複数のサンプリングポイントに基づいて、選択された画像中の1行の視覚特徴を計算する。
Step 201: Select one line of data in the image;
Step 202: Detect a plurality of edge feature points in the selected row of data;
Step 203: The center of two adjacent edge feature points among the plurality of edge feature points is set as one sampling point in a selected row, thereby obtaining one or more sampling points;
Step 204: Calculate a line of visual features in the selected image based on the plurality of edge feature points and the one or more sampling points.

この例のステップ201では、画像中の任意の1行のデータを選択してもよく、本実施例は、これに限定されない。ステップ202では、選択された画像中の1行のデータのエッジ特徴は、Canny演算子エッジ検出器、Sobel演算子エッジ検出器、又はRoberts演算子エッジ検出器により検出することができる。なお、以上は、例示的な説明であり、本実施例は、これに限定されない。また、ステップ201及びステップ202の実行順序は、前後問わず、例えば、先ず画像中のエッジ特徴を抽出し、それから、画像中の1行のデータを選択してもよい。   In step 201 of this example, any one row of data in the image may be selected, and the present embodiment is not limited to this. In step 202, an edge feature of a row of data in the selected image can be detected by a Canny operator edge detector, a Sobel operator edge detector, or a Roberts operator edge detector. The above is an exemplary description, and the present embodiment is not limited to this. In addition, the execution order of step 201 and step 202 is not limited to before and after, for example, the edge feature in the image may be first extracted, and then one line of data in the image may be selected.

この例のステップ203では、複数のエッジ特徴点のうちの任意の隣接する2つのエッジ特徴点の中心を、選択された1行の1つのサンプリングポイントとすることができ、これにより、1つ又は複数のサンプリングポイントを得ることがでいる。以下、サンプリングポイントが隣接する2つのエッジ特徴点の中心であることを例として説明を行う。なお、サンプリングポイントの取得方法は、これに限定されず、例えば、固定間隔のエッジ特徴点の中心又は予め設定された位置などをサンプリングポイントとしてもよい。   In step 203 of this example, the center of any two adjacent edge feature points of the plurality of edge feature points can be set as one sampling point in a selected row, whereby one or You can get multiple sampling points. Hereinafter, the case where the sampling point is the center of two adjacent edge feature points will be described as an example. Note that the sampling point acquisition method is not limited to this. For example, the center of edge feature points at a fixed interval or a preset position may be used as the sampling point.

この例のステップ204では、該視覚特徴は、彩度特徴、間隔特徴及び輝度差特徴を含む。そのうち、彩度特徴は、検出待ち画像中の選択されたサンプリングポイントのグレーレベル特徴であってよく、間隔特徴は、検出待ち画像中の選択された隣接するエッジ特徴点の間の間隔特徴であってもよく、輝度差特徴は、検出待ち画像中の隣接するサンプリングポイントの間のグレーレベルによる差の特徴であってもよい。なお、本実施例は、これに限定されず、例えば、彩度特徴は、検出待ち画像中の選択された行のサンプリングポイントのRGB値特徴であってもよく、間隔特徴は、検出待ち画像中の選択された隣接するサンプリングポイントの間の間隔特徴などであってよい。   In step 204 of this example, the visual features include a saturation feature, a spacing feature, and a luminance difference feature. Among them, the saturation feature may be a gray level feature of the selected sampling point in the detection waiting image, and the spacing feature is a spacing feature between the selected adjacent edge feature points in the detection waiting image. Alternatively, the luminance difference feature may be a difference feature due to a gray level between adjacent sampling points in the detection-waiting image. Note that the present embodiment is not limited to this. For example, the saturation feature may be the RGB value feature of the sampling point of the selected row in the detection waiting image, and the interval feature is in the detection waiting image. For example, a spacing feature between selected adjacent sampling points.

以上、如何に視覚特徴を得るかについて例示的に説明したが、以下、如何に視覚特徴に基づいてゼブラクロッシングを検出するかについて説明する。   Although how to obtain visual features has been described above by way of example, how to detect zebra crossing based on visual features will be described below.

本実施例におけるステップ102では、該視覚特徴に対しての統計結果に基づいて、該画像中にゼブラクロッシングが存在するかどうかを判断し、統計は、彩度特徴、間隔特徴、及び輝度差特徴に対してそれぞれ行う統計を含む。   In step 102 in this embodiment, it is determined whether or not zebra crossing is present in the image based on a statistical result for the visual feature, and the statistics include a saturation feature, a spacing feature, and a luminance difference feature. Includes statistics for each.

ステップ102の一例では、選択された行の視覚特性に対して統計を行い、前記彩度特徴が交互に連続する黒白であり、前記間隔特徴が等間隔であり、前記輝度差特徴が交互に連続する明暗であることに符合(一致)するサンプリングポイントをゼブラクロッシングの特徴点と判定し、そして、最大連続する前記ゼブラクロッシングの特徴点の数を統計により得て第一統計値とし、第一統計値が第三閾値よりも大きい時に、該画像中にゼブラクロッシングが存在すると判定する。   In an example of step 102, statistics are performed on the visual characteristics of the selected row, the saturation features are alternately black and white, the spacing features are equally spaced, and the luminance difference features are alternately continuous. The sampling point that coincides (matches) with the light and dark to be determined is a feature point of zebra crossing, and the number of feature points of the zebra crossing that are continuous at the maximum is obtained by statistics to be a first statistical value. When the value is greater than the third threshold, it is determined that zebra crossing is present in the image.

そのうち、彩度特徴が交互に連続する黒白であることを判断する方法としては、隣接する3つのサンプリングポイントのグレーレベルのうち、中間のサンプリングポイントのグレーレベルが同時に、その前後の隣接するサンプリングポイントのグレーレベルより小さい又は大きい時に、彩度特徴が交互に連続する黒白であると判定する方法がある。   Among them, as a method of judging that the saturation feature is alternately black and white, among the gray levels of the three adjacent sampling points, the gray level of the intermediate sampling point is simultaneously the adjacent sampling points before and after that. There is a method for determining that the saturation feature is alternately black and white when the gray level is smaller or larger than the gray level.

例えば、隣接する3つのサンプリングポイントのグレーレベルがそれぞれ10、250、15或いは240、15、245である場合、彩度特徴が交互に連続する黒白であると判断し、或いは、サンプリングポイントのRGB値を直接計算してもよく、隣接する3つのサンプリングポイントのRGB値がそれぞれ(255、255、255)、(0、0、0)、(255、255、255)或いは(0、0、0)、(255、255、255)、(0、0、0)である時に、彩度特徴が交互に連続する黒白であると判断する。ここでは、RGB値が純白又は純黒であることを例として説明を行ったが、実際に処理する時に、ニーズに応じて、RGB値がそれぞれ黒、白の閾値であると設定しても良いため、ここでは詳しい説明を省略する。   For example, if the gray levels of three adjacent sampling points are 10, 250, 15 or 240, 15, 245, respectively, it is determined that the saturation feature is alternating black and white, or the RGB values of the sampling points May be calculated directly, and the RGB values of three adjacent sampling points are (255, 255, 255), (0, 0, 0), (255, 255, 255) or (0, 0, 0), respectively. , (255, 255, 255), (0, 0, 0), it is determined that the saturation feature is black and white alternately continuous. Here, an example has been described in which the RGB value is pure white or pure black. However, when actually processing, the RGB values may be set as black and white thresholds according to needs. Therefore, detailed description is omitted here.

そのうち、間隔特徴が等間隔であることを判断する方法としては、隣接する前記サンプリングポイントの間隔の比が第二閾値を超えていない時に、間隔特徴が等間隔であると判断する方法があり、ここでは、隣接するサンプリングポイントの間隔の比を計算する時に、隣接するサンプリングポイントの間隔のうち、比較的大きい間隔値と、比較的小さい間隔値との比を使用することを予め設定してもよい。   Among them, as a method of determining that the interval feature is equally spaced, there is a method of determining that the interval feature is equally spaced when the ratio of the interval between the adjacent sampling points does not exceed the second threshold, Here, when calculating the ratio of the intervals between adjacent sampling points, it may be set in advance that a ratio between a relatively large interval value and a relatively small interval value among the intervals between adjacent sampling points is used. Good.

例えば、ここでは、画像中のサンプリングポイントの座標値に基づいて、隣接するサンプリングポイントの間隔を計算してもよく、例えば、隣接する3つのサンプリングポイントの座標がそれぞれ(10,10)、(25,10)、(39,10)であれば、隣接するサンプリングポイントの間隔がそれぞれ15及び14であり、その間隔の比が15/14であり、第二閾値が1.5であれば、間隔特徴が等間隔であると判断する。或いは、隣接するサンプリングポイントの間隔の比を計算する時に、隣接するサンプリングポイントの間隔のうち、比較的小さい間隔値と、比較的大きい間隔値との比を使用することを予め設定してもよく、該比が所定の閾値より大きい時に、間隔特徴が等間隔であると判断し、或いは、計算による、隣接するサンプリングポイントの間隔の差の絶対値が第二閾値を超えていない時に、間隔特徴が等間隔であると判断してもよく、例えば、上述のような計算による、隣接するサンプリングポイント間隔がそれぞれ15及び14であり、その間隔の差の絶対値が1であり、第二閾値が2であれば、間隔特徴が等間隔であると判断してもよい。なお、本発明は、これに限定されず、例えば、隣接するエッジ特徴点の間隔の比又は差を計算することにより、該間隔特徴が等間隔であることを判断してもよく、その判断方法は、サンプリングポイントのよる判断方法に類似するため、ここでは詳しい説明を省略する。   For example, here, the interval between adjacent sampling points may be calculated based on the coordinate values of the sampling points in the image. For example, the coordinates of three adjacent sampling points are (10, 10) and (25 , 10), (39, 10), the interval between adjacent sampling points is 15 and 14, respectively, the ratio of the intervals is 15/14, and if the second threshold is 1.5, the interval feature is Judged at equal intervals. Alternatively, when calculating the ratio of the intervals between adjacent sampling points, it may be preset to use a ratio between a relatively small interval value and a relatively large interval value among the intervals between adjacent sampling points. When the ratio is greater than a predetermined threshold, it is determined that the interval feature is equally spaced, or when the absolute value of the difference between the intervals of adjacent sampling points by calculation does not exceed the second threshold, May be determined to be equally spaced, for example, according to the calculation as described above, adjacent sampling point intervals are 15 and 14, respectively, the absolute value of the difference between the intervals is 1, and the second threshold value is If it is 2, it may be determined that the interval features are equally spaced. The present invention is not limited to this, and for example, by calculating the ratio or difference between the intervals of adjacent edge feature points, it may be determined that the interval features are equally spaced. Is similar to the determination method based on the sampling point, and thus detailed description thereof is omitted here.

そのうち、輝度差特徴が交互に連続する明暗であることを判断する方法としては、隣接する2つのサンプリングポイントのグレーレベルの差の絶対値が第一閾値より大きい時に、輝度差特徴が交互に連続する明暗であると判断する方法がある。例えば、隣接する2つのサンプリングポイントのグレーレベルがそれぞれ10、250であれば、そのグレーレベルの差の絶対値が240であり、第一閾値が200のときに、輝度差特徴が交互に連続する明暗であると判断する。実際に処理する時に、第一閾値は、ニーズに応じて任意に設定することができ、本実施例は、これに限定されず、輝度差特徴が交互に連続する明暗であるかどうかを判断するためであるので、例えば、第一閾値は、比較的大きい値と設定することができる。   Among them, as a method for determining whether the brightness difference feature is alternately continuous light and dark, when the absolute value of the gray level difference between two adjacent sampling points is larger than the first threshold, the brightness difference feature is alternately continuous. There is a method to judge that it is light and dark. For example, if the gray levels of two adjacent sampling points are 10 and 250, respectively, the absolute value of the difference between the gray levels is 240, and when the first threshold is 200, the luminance difference features are alternately continuous. Judged to be light and dark. When actually processing, the first threshold value can be arbitrarily set according to the needs, and the present embodiment is not limited to this, and it is determined whether or not the luminance difference feature is alternately continuous light and dark. Therefore, for example, the first threshold value can be set to a relatively large value.

以上、彩度特徴が交互に連続する黒白であり、間隔特徴が等間隔であり、輝度差特徴が交互に連続する明暗であることのみの判断方法を例示的に説明したが、本実施例は、これに限定されない。例えば、彩度特徴が交互に連続する黒灰であり、間隔特徴がほぼ等しい間隔であり、輝度差特徴がほぼ交互に連続する明暗であるなどであってもよいし、実際の状況に応じて適切な調整を行って具体的な実施方式を確定しても良い。   In the above, the determination method has been described by way of example only in which the saturation feature is alternately black and white, the interval feature is equally spaced, and the brightness difference feature is alternately continuous light and dark. However, the present invention is not limited to this. For example, the saturation feature may be black-and-white that is alternately continuous, the interval feature may be approximately equal intervals, and the luminance difference feature may be light and dark that are substantially alternately alternating, depending on the actual situation. Appropriate adjustments may be made to determine specific implementation methods.

この例では、彩度特徴が交互に連続する黒白であるかどうか、間隔特徴が等間隔であるかどうか、輝度差特徴が交互に連続する明暗であるかどうかを判断した後に、上述の3種類の場合に符合する(即ち、判断の結果が全て「はい」である)サンプリングポイントをゼブラクロッシング特徴点として判定し、そして、統計(計算)により最大連続する前記ゼブラクロッシング特徴点の数を第一統計値として取得し、該第一統計値が第三閾値より大きい時に、該画像中にゼブラクロッシングが存在すると判定する。   In this example, after determining whether the saturation feature is alternately black and white, whether the interval feature is equally spaced, and whether the luminance difference feature is alternately continuous light / dark, the above three types are used. Sampling points that match (ie, all the judgment results are “Yes”) are determined as zebra crossing feature points, and the number of the zebra crossing feature points that are the largest consecutive by statistics (calculation) It is obtained as a statistical value, and when the first statistical value is larger than the third threshold value, it is determined that zebra crossing is present in the image.

例えば、選択された行のサンプリングポイントがトータルで20個であり、そのうち、上述の3種類の場合に符合しているサンプリングポイントの数が15個であり、即ち、ゼブラクロッシング特徴点が15個であり、そのうちの最大連続のゼブラクロッシング特徴点の数が11個であり、即ち、連続して隣接する11個のサンプリングポイント(ゼブラクロッシング特徴点)のうち、その視覚特徴は、彩度特徴が交互に連続する黒白であり、間隔特徴が等間隔であり、輝度差特徴が交互に連続する明暗であるとのことに全て一致している。このとき、第三閾値が10の場合、画像中にゼブラクロッシングが存在すると判定してもよい。そのうち、第三閾値は、実際のニーズに応じて任意に設定することができ、例えば、第三閾値は、エッジ特徴点の数の80%などであってもよく、本実施例は、これについて限定しない。   For example, there are a total of 20 sampling points in the selected row, of which the number of sampling points matching the above three cases is 15, that is, 15 zebra crossing feature points. Yes, of which the maximum number of consecutive zebra crossing feature points is 11, that is, among 11 consecutive sampling points (zebra crossing feature points), the visual feature is alternating with the saturation feature Are all black and white, the interval features are equally spaced, and the luminance difference features are alternately continuous light and dark. At this time, if the third threshold value is 10, it may be determined that zebra crossing exists in the image. Among them, the third threshold value can be arbitrarily set according to actual needs.For example, the third threshold value may be 80% of the number of edge feature points. Not limited.

以上は、画像の1行のみを例として説明を行った。本実施例の他の例では、ゼブラクロッシング検出の正確性を更に向上させるために、ステップ101において、画像中の複数行のデータ、又は、全行(全ての行)のデータを選択し、そして、選択された複数行のデータ又は全行のデータの視覚特徴をそれぞれ計算してもよく、そのうち、選択された複数行のデータは、画像中の任意の複数行のデータであってもよく、所定ル−ルに従って選択された複数行のデータであってよく、そのうち、視覚特徴の計算方法については、上述の例を参照できるため、ここでは詳しい説明を省略する。   The above has been described by taking only one line of the image as an example. In another example of this embodiment, in order to further improve the accuracy of zebra crossing detection, in step 101, multiple rows of data or all rows (all rows) of data in the image are selected, and , The visual characteristics of the selected multiple rows of data or the entire rows of data may be respectively calculated, of which the selected multiple rows of data may be any multiple rows of data in the image, The data may be a plurality of rows selected according to a predetermined rule. Of these, the visual feature calculation method can be referred to the above-described example, and thus detailed description thereof is omitted here.

ステップ102では、選択された複数行に基づいて、それぞれ、第一統計値の統計を行い、第二統計値を計算する。第二統計値が第四閾値より大きい時に、画像中にゼブラクロッシングが存在すると判断する。そのうち、第二統計値は、選択された複数行のそれぞれに対しての統計による第一統計値の最大値又は平均値であってもよい。   In step 102, based on the selected plurality of lines, the statistics of the first statistical value are performed, and the second statistical value is calculated. When the second statistical value is greater than the fourth threshold, it is determined that zebra crossing is present in the image. Among them, the second statistical value may be a maximum value or an average value of the first statistical values by statistics for each of the selected plurality of rows.

例えば、5行のデータを選択し、統計により得たそれぞれの第一統計値が11、10、12、11、11であれば、第二統計値は、12(最大値)又は11(平均値)である。第四閾値が10であれば、画像中にゼブラクロッシングが存在すると判定することができる。   For example, if 5 rows of data are selected and the first statistical value obtained by statistics is 11, 10, 12, 11, 11, the second statistical value is 12 (maximum value) or 11 (average value) ). If the fourth threshold is 10, it can be determined that zebra crossing is present in the image.

そのうち、第二統計値の計算は、複数の第一統計値の最大値又は平均値の計算に限定されず、また、行数の選択及び第四閾値は、実際のニーズに応じて任意に設定することができ、また、第四閾値は、第三閾値と同じ値であってもよく、異なる値であってもよく、本実施例は、これについて限定しない。   Among them, the calculation of the second statistical value is not limited to the calculation of the maximum value or the average value of the plurality of first statistical values, and the selection of the number of rows and the fourth threshold value are arbitrarily set according to the actual needs. In addition, the fourth threshold value may be the same value as the third threshold value or may be a different value, and the present embodiment is not limited to this.

本発明の実施例の上述方法から分かるように、画像中の視覚特徴、即ち、彩度特徴、間隔特徴、及び輝度差特徴を含む視覚特徴を同時に計算し、そして、視覚特徴の統計結果に基づいて、画像中にゼブラクロッシングが存在するかどうかを判断することにより、ゼブラクロッシングの即時検出の効率及び有効性を向上させ、ゼブラクロッシングの誤検出を避けることができる。   As can be seen from the above-described method of the embodiment of the present invention, visual features in the image, that is, visual features including a saturation feature, a spacing feature, and a luminance difference feature are calculated simultaneously, and based on a statistical result of the visual features. Thus, by determining whether zebra crossing is present in the image, the efficiency and effectiveness of immediate detection of zebra crossing can be improved, and false detection of zebra crossing can be avoided.

本発明の実施例2は更に、画像中のゼブラクロッシングの検出方法を提供し、該検出方法を、実施例1を基に説明する。また、該方法は、運転支援システムに用いることができるが、本発明は、これに限定されない。   The second embodiment of the present invention further provides a method for detecting zebra crossing in an image, and the detection method will be described based on the first embodiment. Moreover, although this method can be used for a driving assistance system, this invention is not limited to this.

図3は、本発明の実施例2における画像中のゼブラクロッシングの検出方法のフローチャートであり、該実施例は例示だけであり、例えば、図3では、幾つかのステップは省略することができ、また、幾つかのステップは、前述のように、他の実施方式により置換されてもよいため、ここでは詳しい説明を省略する。図3に示すように、該方法は、次のステップを含む。   FIG. 3 is a flowchart of a method for detecting zebra crossing in an image according to the second embodiment of the present invention, which is only an example, and for example, in FIG. 3, some steps may be omitted. Further, as described above, some steps may be replaced by other implementation methods, and thus detailed description thereof is omitted here. As shown in FIG. 3, the method includes the following steps.

ステップ301:画像に対して前置処理を行う。   Step 301: Perform pre-processing on the image.

そのうち、ステップ301では、画像が、車両の前窓に設置されたカメラにより即時に取得された前方道路画像であってよく、道路即時ビデオ中の画像フレ−ムを抽出することにより取得されたものであってもよい。画像に対しての前置処理は主に、検出待ち画像を標準サイズに正規化し、正規化後の画像に対してノイズ除去処理を(例えば、ガウシアン平滑化フィルタを用いることにより)を行い、ノイズ除去後の画像をグレースケール画像に変換することを含んでも良い。   Among them, in step 301, the image may be a forward road image acquired immediately by a camera installed in the front window of the vehicle, and is acquired by extracting an image frame in the road immediate video. It may be. The pre-processing for the image is mainly performed by normalizing the image waiting for detection to a standard size, and performing noise removal processing (for example, by using a Gaussian smoothing filter) on the normalized image to obtain noise. It may also include converting the image after removal into a grayscale image.

ステップ302:グレースケール画像中のエッジ特徴を取得し;
ステップ303:画像の関心領域を取得する。
Step 302: Obtain edge features in a grayscale image;
Step 303: Obtain a region of interest of the image.

図4は、本実施例のステップ303で取得した関心領域を示す図である。図4に示すように、画像401において、座標(X0、Y0)を開始点座標とし、幅がWで、高さがHである関心領域402を取得してもよい。関心領域の取得により、画像中の無効な情報による干渉を低減し、画像処理の効率を向上させることができる。   FIG. 4 is a diagram illustrating the region of interest acquired in step 303 of the present embodiment. As shown in FIG. 4, in the image 401, a region of interest 402 having coordinates (X0, Y0) as start point coordinates, a width of W, and a height of H may be acquired. By acquiring the region of interest, interference due to invalid information in the image can be reduced, and the efficiency of image processing can be improved.

ステップ304:パラメ−タを初期化する。そのうち、例えば、次のパラメ−タに対して初期化を行っても良い。   Step 304: Initialize parameters. Of these, for example, the following parameters may be initialized.

行数の統計値RowCnt=Y0;第一統計値の初期値RowMaxVote=1;第二統計値の初期値FinalMaxVote=1のように初期化してもよく、そのうち、第一統計値及び第二統計値の定義は、実施例1と同じであるため、ここでは詳しい説明を省略する。   Statistical value of the number of rows RowCnt = Y0; Initial value of the first statistical value RowMaxVote = 1; Initial value of the second statistical value may be initialized as FinalMaxVote = 1, of which the first statistical value and the second statistical value Since the definition of is the same as that of the first embodiment, detailed description thereof is omitted here.

ステップ305:関心領域中の1行のデータを選択し、その行番号y=RowCntと設定し;
ステップ306:選択された1行のデータ中のエッジ特徴点Xe(n)を確定する。
Step 305: Select one row of data in the region of interest and set its row number y = RowCnt;
Step 306: The edge feature point Xe (n) in the selected one line of data is determined.

図5は、本実施例のステップ306におけるエッジ特徴画像中のエッジ特徴点を示す図である。例えば、次のエッジ特徴点、即ち、Xe1、Xe2、Xe3、Xe4、…Xe9、…を確定してもよく、そのうち、エッジ特徴点に高特徴値例えば255を割り当て(与え)、非エッジ特徴点に低特徴値例えば0を割り当ても良い。また、選択された1行の中のエッジ特徴がエッジ線分であれば、線分の起点をエッジ特徴点として選択してもよく、例えば、Xe9であってもよい。しかし、本発明は、これに限定されない。   FIG. 5 is a diagram showing edge feature points in the edge feature image in step 306 of the present embodiment. For example, the following edge feature points, that is, Xe1, Xe2, Xe3, Xe4,... Xe9,... May be determined, and among them, a high feature value, for example, 255 is assigned (given), and a non-edge feature point A low feature value, for example, 0 may be assigned. If the edge feature in the selected row is an edge line segment, the starting point of the line segment may be selected as the edge feature point, for example, Xe9. However, the present invention is not limited to this.

ステップ307:エッジ特徴点に基づいてサンプリングポイントを確定する。   Step 307: Determine sampling points based on edge feature points.

図6は、本実施例のステップ307におけるサンプリングポイントを示す図である。そのうち、複数のエッジ特徴点の中の隣接する2つのエッジ特徴点の中心を、選択された行の1つのサンプリングポイントとしてもよく、これにより、1つ又は複数のサンプリングポイントを下式のように得ることができる。   FIG. 6 is a diagram showing sampling points in step 307 of the present embodiment. Of these, the center of two adjacent edge feature points in the plurality of edge feature points may be used as one sampling point of the selected row, and thus one or more sampling points may be expressed as Can be obtained.

Xs(n)=(Xe(n)+Xe(n+1))/2 (1)
図6に示すように、次のサンプリングポイント、即ち、Xs1、Xs2、Xs3、Xs4、…、Xs8、…を得ることができる。
Xs (n) = (Xe (n) + Xe (n + 1)) / 2 (1)
As shown in FIG. 6, the following sampling points, that is, Xs1, Xs2, Xs3, Xs4,..., Xs8,.

ステップ308:複数のエッジ特徴点及び1つ又は複数のサンプリングポイントに基づいて、画像中の選択された行の視覚特徴を計算する。   Step 308: Calculate visual features of the selected row in the image based on the plurality of edge feature points and the one or more sampling points.

本実施例では、次の方法で、選択された行の視覚特徴を計算してもよい。   In the present embodiment, the visual feature of the selected row may be calculated by the following method.

輝度差特徴DG(n)=ABS[G(n)−G(n−1)] (2)
彩度特徴BW(n)=(G(n)>G(n−1))?1:−1 (3)
間隔特徴RL(n)=L(n)/L(n−1)=(Xs(n+1)−Xs(n))/(Xs(n)−Xs(n−1)) (4)
そのうち、G(n)は、サンプリングポイントXs(n)のグレーレベルを表し、ABS[x]は、変量xの絶対値を表し、L(n)は、隣接する2つのサンプリングポイントの間の間隔を表する。なお、以上は、例示的な視覚特徴の計算方法のみであり、本実施例は、これに限定されない。
Brightness difference feature DG (n) = ABS [G (n) −G (n−1)] (2)
Saturation feature BW (n) = (G (n)> G (n−1))? 1: -1 (3)
Spacing feature RL (n) = L (n) / L (n−1) = (Xs (n + 1) −Xs (n)) / (Xs (n) −Xs (n−1)) (4)
G (n) represents the gray level of the sampling point Xs (n), ABS [x] represents the absolute value of the variable x, and L (n) is the interval between two adjacent sampling points. Represents Note that the above is only an exemplary visual feature calculation method, and the present embodiment is not limited to this.

ステップ309:選択された行の視覚特性に対して統計を行い、彩度特徴が交互に連続する黒白であり、間隔特徴が等間隔であり、輝度差特徴が交互に連続する明暗であるとのことに符合するサンプリングポイントをゼブラクロッシング特徴点と判定し、そして、最大連続の前記ゼブラクロッシング特徴点の数を得て第一統計値とする。   Step 309: Perform statistics on the visual characteristics of the selected line, and the saturation feature is alternately black and white, the interval feature is equally spaced, and the brightness difference feature is alternately light and dark. Sampling points that coincide with each other are determined as zebra crossing feature points, and the number of the maximum zebra crossing feature points is obtained as a first statistical value.

本実施例では、次に示すのがステップ309で第一統計値を計算するコードの例である。   In this embodiment, the following is an example of a code for calculating the first statistical value in step 309.

LOOP(n=1〜k)
{
TempVoteCnt=(ZFPDecision[DG(n),BW(n),RL(n)]=true)?(TempVoteCnt+1):0;
RowMaxVote=(TempVoteCnt≧RowMaxVote)?TempVoteCnt:RowMaxVote;
}
そのうち、TempVoteCntは、第一統計値の一時的変量であり、ZFPDecision[DG(n),BW(n),RL(n)]は、視覚特徴中の彩度特徴が交互に連続する黒白であるか、前記間隔特徴が等間隔であるか、前記輝度差特徴が交互に連続する明暗であるかを確定するための判断関数を表し、その関数の実施方式は、実施例1中のステップ102と類似するので、ここでは詳しい説明を省略する。
LOOP (n = 1 to k)
{
TempVoteCnt = (ZFPDecision [DG (n), BW (n), RL (n)] = true)? (TempVoteCnt + 1): 0;
RowMaxVote = (TempVoteCnt ≧ RowMaxVote)? TempVoteCnt: RowMaxVote;
}
Among them, TempVoteCnt is a temporary variable of the first statistic value, and ZFPDecision [DG (n), BW (n), RL (n)] is black and white in which the saturation feature in the visual feature continues alternately Represents a determination function for determining whether the interval feature is equally spaced or whether the luminance difference feature is alternately continuous light and dark, and the implementation method of the function is the same as step 102 in Example 1. Since they are similar, detailed description is omitted here.

ステップ310:第一統計値を算出した後で、画像中の選択された複数行のデータに対しての処理が全て完了しているかを判断し、判断結果が「いいえ」であれば、ステップ305を行い、そうでなければ、ステップ311を行う。   Step 310: After calculating the first statistical value, it is determined whether or not the processing for all the selected rows of data in the image has been completed. If the determination result is “No”, Step 305 is performed. Otherwise, perform step 311.

本実施例では、RowCnt>ROW_NUM_ENDの時に、ステップ310を行うと判断し、ROW_NUM_ENDは、関心領域の最後の1行の行番号を表し、即ち、ROW_NUM_END==Y0+H−1であり、そうでなければ、ループ条件を設定し、即ち、RowCnt=RowCnt+STEPであり、STEPは、予め設定した、選択された行の間の行数定数であり、RowCnt値を更新した後にステップ305を行う。   In this embodiment, when RowCnt> ROW_NUM_END, it is determined that step 310 is performed. ROW_NUM_END represents the row number of the last row of the region of interest, that is, ROW_NUM_END == Y0 + H−1, otherwise The loop condition is set, that is, RowCnt = RowCnt + STEP, where STEP is a preset row number constant between the selected rows, and Step 305 is performed after updating the RowCnt value.

ステップ311:選択された複数行に対してそれぞれ行った統計による前記第一統計値に基づいて、第二統計値を計算し、前記第二統計値が第四閾値よりも大きい時に、前記画像中にゼブラクロッシングが存在すると判定する。   Step 311: Calculate a second statistic value based on the first statistic value according to the statistics performed for each of the selected plurality of lines, and when the second statistic value is greater than a fourth threshold value, It is determined that zebra crossing exists.

本実施例では、第二統計値は、選択された複数行のそれぞれの統計による第一統計値の最大値であり、また、次に示すのは、ステップ311で第二統計値を計算するコードの例である。   In the present embodiment, the second statistical value is the maximum value of the first statistical value according to the statistics of the selected plurality of lines, and the following is a code for calculating the second statistical value in step 311: It is an example.

if(RowMaxVote≧FinalMaxVote)
{
FinalMaxVote=RowMaxVote;
}
そのうち、第二統計値の計算方法は、これに限定されず、実施例1中の計算方法を参照することもできるため、ここでは詳しい説明を省略する。
if (RowMaxVote ≧ FinalMaxVote)
{
FinalMaxVote = RowMaxVote;
}
Among them, the calculation method of the second statistical value is not limited to this, and the calculation method in the first embodiment can also be referred to, and thus detailed description thereof is omitted here.

また、次に示すのは、ステップ311で、ゼブラクロッシングが存在するかどうかを判断するコードの例である。   Also shown below is an example of code that determines whether zebra crossing is present at step 311.

if(FinalMaxVote>ZFP_NUM_TH)
Zebra−Crossing exists;
else
Zebra−Crossing not exist.
そのうち、ZFP_NUM_THは第四閾値であり、その設定方法は実施例1と類似するため、ここでは詳しい説明を省略する。
if (FinalMaxVote> ZFP_NUM_TH)
Zebra-Crossing exists;
else
Zebra-Crossing not exist.
Among them, ZFP_NUM_TH is the fourth threshold value, and its setting method is similar to that of the first embodiment, and therefore detailed description thereof is omitted here.

本発明の実施例の上述方法から分かるように、画像中の視覚特徴、即ち、彩度特徴、間隔特徴、及び輝度差特徴を含む視覚特徴を同時に計算し、そして、視覚特徴の統計結果に基づいて、画像中にゼブラクロッシングが存在するかどうかを判することにより、ゼブラクロッシングの即時検出の速度及び有効性を向上させ、ゼブラクロッシングの誤検出を避けることができる。   As can be seen from the above-described method of the embodiment of the present invention, visual features in the image, that is, visual features including a saturation feature, a spacing feature, and a luminance difference feature are calculated simultaneously, and based on a statistical result of the visual features. Thus, by determining whether or not zebra crossing is present in the image, the speed and effectiveness of immediate detection of zebra crossing can be improved, and false detection of zebra crossing can be avoided.

本発明の実施例3は更に、画像中のゼブラクロッシングの検出装置を提供し、該装置が問題を解決する原理は、実施例1及実施例2の方法と類似するため、その具体的な実施については、実施例1又は実施例2の実施を参照することができるので、ここでは、内容が同じ記載を省略する。   Embodiment 3 of the present invention further provides a device for detecting zebra crossings in an image, and the principle by which the device solves the problem is similar to the method of Embodiments 1 and 2, and therefore, its specific implementation. Since the implementation of Example 1 or Example 2 can be referred to, description of the same contents is omitted here.

図7は、本発明の実施例3における画像中のゼブラクロッシングの検出装置777の構成図でである。図7に示すように、該装置777は、第一計算ユニット701及び第一処理ユニット702を含む。   FIG. 7 is a configuration diagram of a zebra crossing detecting device 777 in an image according to the third embodiment of the present invention. As shown in FIG. 7, the apparatus 777 includes a first calculation unit 701 and a first processing unit 702.

第一計算ユニット701:検出した画像のエッジ特徴に基づいて画像の視覚特徴を計算し、そのうち、視覚特徴は、彩度特徴、間隔特徴及び輝度差特徴を含み;
第一処理ユニット702:第一計算ユニット701が計算した視覚特徴の統計結果に基づいて、画像中にゼブラクロッシングが存在するかどうかを判断する。
A first calculation unit 701: calculating visual features of the image based on the detected edge features of the image, wherein the visual features include a saturation feature, a spacing feature and a luminance difference feature;
First processing unit 702: Based on the statistical result of the visual feature calculated by the first calculation unit 701, it is determined whether or not zebra crossing exists in the image.

本実施例では、検出効率を向上させるために、該装置777は更に、第二処理ユニット700を含んでもよく、それは、画像に対して前置処理を行う。   In this embodiment, in order to improve detection efficiency, the device 777 may further include a second processing unit 700, which performs pre-processing on the image.

図8は、本発明の実施例中の第一計算ユニット701の構成図であり、そのうち、該第一計算ユニット701は、次のものを含む。   FIG. 8 is a configuration diagram of the first calculation unit 701 in the embodiment of the present invention, and the first calculation unit 701 includes the following.

第一選択ユニット801:画像中の1行のデータを選択し;
第一検出ユニット802:選択された1行のデータの複数のエッジ特徴点を検出し;
第一取得ユニット803:第一検出ユニット802が検出した複数のエッジ特徴点の中の隣接する2つのエッジ特徴点の中心を、選択された1行の1つのサンプリングポイントとし、これにより、1つ又は複数のサンプリングポイントを取得し;
第二計算ユニット804:第一検出ユニット802が検出した複数のエジ特徴点、及び、第一取得ユニット803が取得した1つ或いは複数のサンプリングポイントに基づいて、画像の視覚特徴を計算する。
First selection unit 801: selecting one row of data in the image;
First detection unit 802: detecting a plurality of edge feature points of the selected row of data;
First acquisition unit 803: The center of two adjacent edge feature points among the plurality of edge feature points detected by the first detection unit 802 is set as one sampling point in a selected row, thereby one Or obtain multiple sampling points;
Second calculation unit 804: The visual feature of the image is calculated based on the plurality of edge feature points detected by the first detection unit 802 and one or more sampling points acquired by the first acquisition unit 803.

図9は、本発明の実施例中の第一処理ユニット702の構成図であり、そのうち、該第一処理ユニット702は、次のものを含む。   FIG. 9 is a configuration diagram of the first processing unit 702 in the embodiment of the present invention, and the first processing unit 702 includes the following.

第一統計ユニット901:選択された行の視覚特性に対して統計を行い、彩度特徴が交互に連続する黒白であり、間隔特徴が等間隔であり、輝度差特徴が交互に連続する明暗であるとのことに一致するサンプリングポイントをゼブラクロッシング特徴点と判定し、そして、最大連続のゼブラクロッシング特徴点の数を統計により得て、第一統計値とし;
第一確定ユニット902:第一統計ユニット901の統計による第一統計値が第三閾値よりも大きい時に、画像中にゼブラクロッシングが存在すると判定する。
First statistical unit 901: Performs statistics on the visual characteristics of the selected row, and is black and white in which the saturation feature is alternately continuous, the interval feature is equally spaced, and the brightness difference feature is alternately continuous. A sampling point that coincides with a zebra crossing feature point is determined, and the number of maximum continuous zebra crossing feature points is obtained by statistics to be a first statistical value;
First determination unit 902: When the first statistical value according to the statistics of the first statistical unit 901 is larger than the third threshold, it is determined that zebra crossing is present in the image.

本実施例では、第一統計ユニット901は更に次のものを含む。   In this embodiment, the first statistical unit 901 further includes:

第一判定ユニット9011:第一取得ユニット803が取得した、隣接する2つのサンプリングポイントのグレーレベルの差の絶対値が第一閾値よりも大きい時に、輝度差特徴が交互に連続する明暗であると判定し;
第二判定ユニット9012:第一取得ユニット803が取得した、隣接する3つのサンプリングポイントのグレーレベルのうち、中間のサンプリングポイントのグレーレベルが同時にその前後の隣接するサンプリングポイントのグレーレベルよりも小さい又は大きい時に、彩度特徴が交互に連続する黒白であると判定し;
第三判定ユニット9013:第一検出ユニット802が検出した、隣接するサンプリングポイントの間隔の比が第二閾値を超えていない時に、間隔特徴が等間隔であると判定する。
First determination unit 9011: When the absolute value of the difference between the gray levels of two adjacent sampling points acquired by the first acquisition unit 803 is larger than the first threshold value, the brightness difference feature is alternately light and dark. Judge;
Second determination unit 9012: Among the gray levels of three adjacent sampling points acquired by the first acquisition unit 803, the gray level of the intermediate sampling point is simultaneously smaller than the gray levels of the adjacent sampling points before or after that, or When large, determine that the saturation feature is alternating black and white;
Third determination unit 9013: When the ratio of the intervals between adjacent sampling points detected by the first detection unit 802 does not exceed the second threshold, it is determined that the interval features are equally spaced.

そのうち、第一統計ユニット901、第一確定ユニット、第一判定ユニット9011、第二判定ユニット9012、及び第三判定ユニット9013の具体的な実施方式は、実施例1と類似するので、ここでは、その内容の記載を省略する。   Among them, since the specific implementation method of the first statistical unit 901, the first determination unit, the first determination unit 9011, the second determination unit 9012, and the third determination unit 9013 is similar to the first embodiment, here, Description of the contents is omitted.

本実施例の他の実施方式では、ゼブラクロッシング検出の正確性を更に向上させるために、第一選択ユニット801は更に、画像の全行のデータ、或いは、一部の行のデータを選択してもよく、第一統計ユニット902は更に、それぞれ、第一選択ユニット801が選択した行のデータの複数の第一統計値を得てもよい。   In another implementation method of this embodiment, in order to further improve the accuracy of zebra crossing detection, the first selection unit 801 further selects data of all lines of the image or data of some lines. Alternatively, the first statistical unit 902 may further obtain a plurality of first statistical values of the data in the row selected by the first selection unit 801, respectively.

第一処理ユニット702は更に次のものを含んでも良い。   The first processing unit 702 may further include:

第二統計ユニット903:第一統計ユニット901がそれぞれ統計により得た複数の第一統計値に基づいて第二統計値を計算し、そのうち、第二統計値は、複数の第一統計値の最大値或いは平均値であってもよく;
第二確定ユニット904:第二統計ユニット903が計算した第二統計値が第四閾値よりも大きい時に、画像中にゼブラクロッシングが存在すると判定する。
Second statistical unit 903: The first statistical unit 901 calculates a second statistical value based on the plurality of first statistical values obtained by the statistics, and the second statistical value is the maximum of the plurality of first statistical values. Value or average value;
Second deterministic unit 904: When the second statistical value calculated by the second statistical unit 903 is larger than the fourth threshold value, it is determined that zebra crossing is present in the image.

本発明の実施例は更に、画像中のゼブラクロッシングの検出装置を提供する。   Embodiments of the present invention further provide an apparatus for detecting zebra crossings in an image.

図10は、本発明の実施例の画像中のゼブラクロッシングの検出装置の構成図である。図10に示すように、検出装置1000は、中央処理器(CPU)200及び記憶器210を含んでもよく、記憶器210は、中央処理器200に結合される。そのうち、記憶器210は、各種のデータ、例えば、画像の視覚特徴及び統計結果などを記憶してもよく、また、画像中のゼブラクロッシング検出用のプログラムをも記憶しており、且つ、中央処理器200の制御の下で該プログラムを実行させ、画像中にゼブラクロッシングが存在するかどうかを判断する。   FIG. 10 is a configuration diagram of a device for detecting zebra crossing in an image according to an embodiment of the present invention. As shown in FIG. 10, the detection device 1000 may include a central processor (CPU) 200 and a storage 210, which is coupled to the central processor 200. Among them, the storage device 210 may store various data, for example, visual characteristics and statistical results of the image, and also stores a program for detecting zebra crossing in the image, and the central processing. The program is executed under the control of the vessel 200 to determine whether zebra crossing is present in the image.

一例では、上述の画像中のゼブラクロッシングの検出装置の機能が中央処理器200に集積されても良い。そのうち、中央処理器200は、検出した画像のエッジ特徴に基づいて画像の視覚特徴を計算し、視覚特徴は彩度特徴、間隔特徴及び輝度差特徴を含み;及び、視覚特徴に対しての統計結果に基づいて画像中にゼブラクロッシングが存在するかどうかを判断するように構成されてもよい。   In one example, the function of a device for detecting zebra crossings in the image described above may be integrated in the central processor 200. Among them, the central processor 200 calculates the visual features of the image based on the detected edge features of the image, and the visual features include a saturation feature, a spacing feature, and a luminance difference feature; and statistics on the visual features It may be configured to determine whether zebra crossings are present in the image based on the results.

そのうち、検出した画像のエッジ特徴に基づいて画像の視覚特徴を計算することは、画像中の1行のデータを選択し;選択された行のデータの複数のエッジ特徴点を検出し;複数のエッジ特徴点の中の隣接する2つのエッジ特徴点の中心を、選択された行の1つのサンプリングポイントとすることにより、1つ又は複数のサンプリングポイントを取得し;複数のエッジ特徴点及び1つ或いは複数のサンプリングポイントに基づいて、画像中の選択された行の視覚特徴を計算することを含む。   Among them, calculating the visual feature of the image based on the detected edge feature of the image selects one row of data in the image; detects a plurality of edge feature points of the data of the selected row; One or more sampling points are obtained by taking the center of two adjacent edge feature points in the edge feature points as one sampling point of the selected row; multiple edge feature points and one Alternatively, calculating visual features of selected rows in the image based on the plurality of sampling points.

そのうち、視覚特徴に対しての統計結果に基づいて画像中にゼブラクロッシングが存在するかどうかを判断することは、選択された行の視覚特性に対して統計を行い、彩度特徴が交互に連続する黒白であり、間隔特徴が等間隔であり、輝度差特徴が交互に連続する明暗であるとのことに符合しているサンプリングポイントをゼブラクロッシング特徴点と判定し、そして、最大連続のゼブラクロッシング特徴点の数を統計取得して第一統計値とし;及び、第一統計値が第三閾値よりも大きい時に、画像中にゼブラクロッシングが存在すると判定することを含む。   Of these, determining whether zebra crossings are present in an image based on the statistical results for visual features is based on the visual characteristics of the selected row, and the saturation features are alternately repeated. The sampling point that corresponds to black and white, the interval feature is equally spaced, and the brightness difference feature is alternately continuous light and dark is determined as the zebra crossing feature point, and the maximum continuous zebra crossing Including obtaining the number of feature points as a first statistical value; and determining that zebra crossing is present in the image when the first statistical value is greater than a third threshold.

そのうち、中央処理器200は更に次のように構成されてもよい。   Among them, the central processor 200 may be further configured as follows.

隣接する2つのサンプリングポイントのグレーレベルの差の絶対値が第一閾値より大きい時に、輝度差特徴が交互に連続する明暗であると判定し;隣接する3つのサンプリングポイントのグレーレベルのうち、中間のサンプリングポイントのグレーレベルが同時にその前後の隣接するサンプリングポイントのグレーレベルよりも小さい又は大きい時に、彩度特徴が交互に連続する黒白であると判定し;隣接する前記サンプリングポイントの間隔の比が第二閾値を超えていない時に、間隔特徴が等間隔であると判定する。   When the absolute value of the difference between the gray levels of two adjacent sampling points is greater than the first threshold, it is determined that the luminance difference feature is alternately continuous light and dark; When the gray level of the sampling points of the current sampling point is smaller or larger than the gray level of the adjacent sampling points before and after the sampling point, it is determined that the saturation feature is alternately black and white; When the second threshold is not exceeded, it is determined that the interval features are equally spaced.

或いは、画像の全行の視覚特性に対して統計を行い、或いは、一部の行を選択してその視覚特性の統計を行い;複数の選択された行のそれぞれに対しての統計による第一統計値に基づいて第二統計値を計算し;第二統計値が第四閾値よりも大きい時に、画像中にゼブラクロッシングが存在すると判定し;そのうち、前記第二統計値は、複数の選択された行のそれぞれの統計による第一統計値の最大値又は平均値であってもよい。   Alternatively, perform statistics on the visual characteristics of all lines of the image, or select some lines and perform statistics on the visual characteristics; first by statistics for each of a plurality of selected lines. Calculating a second statistic based on the statistic; determining that a zebra crossing is present in the image when the second statistic is greater than a fourth threshold; wherein the second statistic is a plurality of selected It may be the maximum value or the average value of the first statistical values according to the statistics of each row.

他の例では、画像中のゼブラクロッシングの検出装置は、中央処理器と別に配置されてもよく、例えば、画像中のゼブラクロッシングの検出装置を、中央処理器200に接続されるチップとして配置し、中央処理器の制御により、画像中のゼブラクロッシングの検出装置の機能を実現してもよい。   In another example, the zebra crossing detection device in the image may be arranged separately from the central processor, for example, the zebra crossing detection device in the image is arranged as a chip connected to the central processor 200. The function of the zebra crossing detecting device in the image may be realized by the control of the central processor.

また、図10に示すように、画像中のゼブラクロッシングの検出装置は更に、受発信器220及びセンサ230などを含んでもよく、そのうち、上述の部品の機能は従来技術と類似し、ここでは詳しい説明を省略する。なお、画像中のゼブラクロッシングの検出装置1000は、必ずしも、図10に示す全ての部品を含む必要がない。また、画像中のゼブラクロッシングの検出装置1000は更に、図10に示されていない他の部品を含んでもよく、これについては、従来技術を参照することができる。   Also, as shown in FIG. 10, the zebra crossing detection device in the image may further include a transmitter / receiver 220, a sensor 230, etc., of which the functions of the above-mentioned components are similar to those of the prior art, and are detailed here. Description is omitted. Note that the zebra crossing detecting device 1000 in the image does not necessarily include all the components shown in FIG. Further, the zebra crossing detection device 1000 in the image may further include other parts not shown in FIG. 10, and the prior art can be referred to for this.

本発明の実施例の上述の装置から分かるように、画像中の視覚特徴、即ち、彩度特徴、間隔特徴、及び輝度差特徴を含む視覚特徴を同時に計算し、そして、視覚特徴の統計結果に基づいて、画像中にゼブラクロッシングが存在するかを判断することにより、ゼブラクロッシングの即時検出の速度及び有効性を向上させ、ゼブラクロッシングの誤検出を避けることができる。   As can be seen from the above-described apparatus of an embodiment of the present invention, visual features in the image, i.e. visual features including a saturation feature, a spacing feature, and a luminance difference feature are simultaneously calculated and Based on this, by determining whether zebra crossing is present in the image, the speed and effectiveness of immediate detection of zebra crossing can be improved, and false detection of zebra crossing can be avoided.

本発明の実施例は更にコンピュータ可読プログラムを提供し、そのうち、画像中のゼブラクロッシングの検出装置において前記プログラムを実行する時に、前記プログラムは、コンピュータに、前記画像中のゼブラクロッシングの検出装置において、実施例1又は実施例2に記載の画像中のゼブラクロッシングの検出方法を実行させる。   Embodiments of the present invention further provide a computer readable program, wherein when executing the program in a detection device for zebra crossings in an image, the program is stored in a detection device for zebra crossings in the image. The method for detecting zebra crossing in an image described in the first embodiment or the second embodiment is executed.

本発明の実施例は更にコンピュータ可読プログラムを記憶した記憶媒体を提供し、そのうち、前記コンピュータ可読プログラムは、コンピュータに、画像中のゼブラクロッシングの検出装置において、実施例1又は実施例2に記載の画像中のゼブラクロッシングの検出方法を実行させる。   An embodiment of the present invention further provides a storage medium storing a computer readable program, wherein the computer readable program is stored in a zebra crossing detection device in an image described in the first embodiment or the second embodiment. A method for detecting zebra crossings in an image is executed.

なお、本発明の上述の装置及び方法は、ハードウェアにより実現されてもよく、ハードウェアとソフトウェアとの組み合わせにより実現されてもよい。また、本発明は、このようなコンピュータ可読なプログラムにも関し、即ち、前記プログラムは、ロジック部により実行されている時に、前記ロジック部に、上述の装置又は構成部品を実現させることができ、又は、前記ロジック部に、上述の各種方法又はステップを実現させることができる。本発明は、さらに、上述のプログラムを記録している記憶媒体、例えば、ハードディスク、磁気ディスク、光ディスク、DVD、flashメモリなどにも関する。   Note that the above-described apparatus and method of the present invention may be realized by hardware, or may be realized by a combination of hardware and software. The present invention also relates to such a computer-readable program, that is, when the program is executed by the logic unit, the logic unit can cause the above-described apparatus or component to be realized. Alternatively, the above-described various methods or steps can be realized in the logic unit. The present invention further relates to a storage medium storing the above-mentioned program, for example, a hard disk, a magnetic disk, an optical disk, a DVD, a flash memory, and the like.

また、上述の各実施例を含む実施形態に関し、更に以下の付記を開示する。   Moreover, the following additional remarks are disclosed regarding the embodiment including each of the above-described examples.

(付記1)
画像中のゼブラクロッシングの検出装置であって、
検出した前記画像のエッジ特徴に基づいて前記画像の視覚特徴を計算する第一計算ユニットであって、前記視覚特徴は、彩度特徴、間隔特徴及び輝度差特徴を含む、第一計算ユニット;及び
前記第一計算ユニットが計算した前記視覚特徴に対しての統計結果に基づいて、前記画像中にゼブラクロッシングが存在するかどうかを判断する、第一処理ユニットを含む、装置。
(Appendix 1)
A device for detecting zebra crossings in an image,
A first calculation unit for calculating visual features of the image based on detected edge features of the image, wherein the visual features include a saturation feature, a spacing feature, and a luminance difference feature; and An apparatus comprising: a first processing unit that determines whether zebra crossings are present in the image based on statistical results for the visual features calculated by the first calculation unit.

(付記2)
付記1に記載の装置であって、
前記第一計算ユニットは、
前記画像中の1行のデータを選択する第一選択ユニット;
選択された1行のデータの複数のエッジ特徴点を検出する第一検出ユニット;
前記第一検出ユニットが検出した前記複数のエッジ特徴点の中の隣接する2つのエッジ特徴点の中心を、選択された1行の1つのサンプリングポイントとすることにより、1つ又は複数のサンプリングポイントを得る第一取得ユニット;及び
前記第一検出ユニットが検出した前記複数のエッジ特徴点、及び、前記第一取得ユニットが取得した前記1つ又は複数のサンプリングポイントに基づいて、前記画像視覚特徴を計算する第二計算ユニットを含む、装置。
(Appendix 2)
The apparatus according to appendix 1, wherein
The first calculation unit is:
A first selection unit for selecting one row of data in the image;
A first detection unit for detecting a plurality of edge feature points in a selected row of data;
One or a plurality of sampling points by setting the center of two adjacent edge feature points among the plurality of edge feature points detected by the first detection unit as one sampling point in a selected row A first acquisition unit that obtains the image visual feature based on the plurality of edge feature points detected by the first detection unit and the one or more sampling points acquired by the first acquisition unit. A device comprising a second calculation unit for calculating.

(付記3)
付記2に記載の装置であって、
前記第一処理ユニットは、
選択された1行の前記視覚特性に対して統計を行い、彩度特徴が交互に連続する黒白であり、間隔特徴が等間隔であり、輝度差特徴が交互に連続する明暗であるとのことに符合しているサンプリングポイントをゼブラクロッシング特徴点と判定し、そして、最大連続の前記ゼブラクロッシング特徴点の数を統計取得して第一統計値とする第一統計ユニット;及び
前記第一統計ユニットの統計による前記第一統計値が第三閾値よりも大きい時に、前記画像中にゼブラクロッシングが存在すると判定する第一確定ユニットを含む、装置。
(Appendix 3)
The apparatus according to appendix 2, wherein
The first processing unit is
Statistics are performed on the selected visual characteristic of the selected line, and the saturation feature is black and white alternately, the interval feature is equally spaced, and the brightness difference feature is light and dark alternately. A first statistical unit that determines a sampling point that coincides with a zebra crossing feature point as a first statistical value by statistically acquiring the number of the maximum zebra crossing feature points; and the first statistical unit; An apparatus comprising: a first deterministic unit that determines that zebra crossing is present in the image when the first statistical value according to the statistic is greater than a third threshold.

(付記4)
付記3に記載の装置であって、
前記第一統計ユニットは、
前記第一取得ユニットが取得した、隣接する2つの前記サンプリングポイントのグレーレベルの差の絶対値が第一閾値よりも大きい時に、前記輝度差特徴が交互に連続する明暗であると判定する第一判定ユニット;
前記第一取得ユニットが取得した、隣接する3つの前記サンプリングポイントのグレーレベルの中の中間のサンプリングポイントのグレーレベルが同時にその前後の隣接するサンプリングポイントのグレーレベルによりも小さい又は大きい時に、前記彩度特徴が交互に連続する黒白であると判定する第二判定ユニット;及び
前記第一検出ユニットが検出した、隣接する前記サンプリングポイントの間隔の比が第二閾値を超えていない時に、前記間隔特徴が等間隔であると判定する第三判定ユニットを含む、装置。
(Appendix 4)
The apparatus according to appendix 3,
The first statistical unit is
When the absolute value of the difference between the gray levels of two adjacent sampling points acquired by the first acquisition unit is greater than a first threshold, it is determined that the brightness difference feature is alternately continuous light and dark Judgment unit;
When the gray level of the intermediate sampling point among the gray levels of the three adjacent sampling points acquired by the first acquisition unit is smaller or larger than the gray level of the adjacent sampling points before and after the sampling point, A second determination unit for determining that the degree feature is alternately black and white; and the interval feature when the ratio of the intervals between the adjacent sampling points detected by the first detection unit does not exceed a second threshold value. Including a third determination unit that determines that are equally spaced.

(付記5)
付記4に記載の装置であって、
前記第一選択ユニットは更に、前記画像の全行のデータ、或いは、一部の行のデータを選択し、
前記第一統計ユニットは更に、それぞれ、前記第一選択ユニットが選択した複数の行のデータの複数の第一統計値を取得し、
そのうち、前記第一処理ユニットは、更に、
前記複数の選択された行のそれぞれに対しての統計による前記第一統計値に基づいて第二統計値計算する第二統計ユニットであって、前記第二統計値は、前記複数の第一統計値の最大値又は平均値である、第二統計ユニット;及び
前記第二統計ユニットが計算した前記第二統計値が第四閾値よりも大きい時に、前記画像中にゼブラクロッシングが存在すると判定する第二確定ユニットを含む、装置。
(Appendix 5)
The apparatus according to appendix 4, wherein
The first selection unit further selects data of all lines or a part of lines of the image,
Each of the first statistical units further obtains a plurality of first statistical values of a plurality of rows of data selected by the first selection unit,
Of these, the first processing unit further comprises:
A second statistical unit for calculating a second statistical value based on the first statistical value by statistics for each of the plurality of selected rows, wherein the second statistical value is the plurality of first statistical values; A second statistical unit that is a maximum or average value; and a second statistical unit that determines that zebra crossing is present in the image when the second statistical value calculated by the second statistical unit is greater than a fourth threshold. A device containing two deterministic units.

(付記6)
付記1に記載の装置であって、
前記画像に対して前置処理を行う第二処理ユニットを更に含む、装置。
(Appendix 6)
The apparatus according to appendix 1, wherein
An apparatus further comprising a second processing unit for performing a pre-processing on the image.

(付記7)
画像中のゼブラクロッシングの検出方法であって、
検出した前記画像のエッジ特徴に基づいて前記画像の視覚特徴を計算し、前記視覚特徴は、彩度特徴、間隔特徴及び輝度差特徴を含み;及び
前記視覚特徴に対しての統計結果に基づいて、前記画像中にゼブラクロッシングが存在するかどうかを判断することを含む、方法。
(Appendix 7)
A method for detecting zebra crossings in an image, comprising:
Calculating visual features of the image based on the detected edge features of the image, the visual features including a saturation feature, a spacing feature, and a luminance difference feature; and based on a statistical result for the visual feature Determining whether zebra crossings are present in the image.

(付記8)
付記7に記載の方法であって、
検出した前記画像のエッジ特徴に基づいて前記画像の視覚特徴を計算することは、
前記画像中の1行のデータを選択し;
選択された1行のデータの複数のエッジ特徴点を検出し;
前記複数のエッジ特徴点の中の隣接する2つのエッジ特徴点の中心を、選択された1行の1つのサンプリングポイントとすることにより、1つ又は複数のサンプリングポイントを取得し;及び
前記複数のエッジ特徴点及び前記1つ或いは複数のサンプリングポイントに基づいて、前記画像の選択された行の視覚特徴を計算することを含む、方法。
(Appendix 8)
The method according to appendix 7,
Calculating the visual features of the image based on the detected edge features of the image;
Selecting a row of data in the image;
Detecting a plurality of edge feature points in a selected row of data;
Obtaining one or more sampling points by taking the center of two adjacent edge feature points in the plurality of edge feature points as one sampling point in a selected row; and Calculating a visual feature of a selected row of the image based on an edge feature point and the one or more sampling points.

(付記9)
付記8に記載の方法であって、
前記画像中の選択された1行の視覚特徴を計算することは、
前記輝度差特徴DG(n)=ABS[G(n)−G(n−1)];
前記彩度特徴BW(n)=(G(n)>G(n−1))?1:−1;及び
前記間隔特徴RL(n)=L(n)/L(n−1)=(Xs(n+1)−Xs(n))/(Xs(n)−Xs(n−1))のようにさせることを含み、
そのうち、G(n)は、サンプリングポイントのグレーレベルを示し、L(n)は、隣接するサンプリングポイントXe(n)及びXe(n+1)の距離を示す、方法。
(Appendix 9)
The method according to appendix 8, wherein
Calculating a selected line of visual features in the image comprises:
The luminance difference feature DG (n) = ABS [G (n) −G (n−1)];
The saturation feature BW (n) = (G (n)> G (n−1))? 1: −1; and the interval feature RL (n) = L (n) / L (n−1) = (Xs (n + 1) −Xs (n)) / (Xs (n) −Xs (n−1) )
Among them, G (n) indicates a gray level of a sampling point, and L (n) indicates a distance between adjacent sampling points Xe (n) and Xe (n + 1).

(付記10)
付記8に記載の方法であって、
前記視覚特徴に対しての統計結果に基づて前記画像中にゼブラクロッシングが存在するかどうかを判断することは、
選択された行の前記視覚特性に対して統計を行い、前記彩度特徴が交互に連続する黒白であり、前記間隔特徴が等間隔であり、前記輝度差特徴が交互に連続する明暗であるとのことに符合しているサンプリングポイントをゼブラクロッシング特徴点と判定し、そして、最大連続の前記ゼブラクロッシング特徴点の数を統計取得して第一統計値とし;及び
前記第一統計値が第三閾値よりも大きい時に、前記画像中にゼブラクロッシングが存在すると判定することを含む、方法。
(Appendix 10)
The method according to appendix 8, wherein
Determining whether zebra crossings are present in the image based on statistical results for the visual features,
Statistics are performed on the visual characteristics of the selected row, and the saturation feature is alternately black and white, the interval feature is equally spaced, and the brightness difference feature is alternately continuous light and dark. Sampling points that match the above are determined as zebra crossing feature points, and the number of the maximum continuous zebra crossing feature points is statistically obtained as a first statistical value; and Determining that there is zebra crossing in the image when greater than a threshold.

(付記11)
付記10に記載の方法であって、
隣接する2つの前記サンプリングポイントのグレーレベルの差の絶対値が第一閾値よりも大きい時に、前記輝度差特徴が交互に連続する明暗であると判定し;
隣接する3つの前記サンプリングポイントのグレーレベルの中の中間のサンプリングポイントのグレーレベルが同時にその前後の隣接するサンプリングポイントのグレーレベルよりも小さい又は大きい時に、前記彩度特徴が交互に連続する黒白であると判定し;及び
隣接する前記サンプリングポイントの間隔の比が第二閾値を超えていない時に、前記間隔特徴が等間隔であると判定することを更に含む、方法。
(Appendix 11)
The method according to appendix 10, wherein
When the absolute value of the difference in gray level between two adjacent sampling points is greater than a first threshold, it is determined that the brightness difference feature is alternately continuous light and dark;
When the gray level of the intermediate sampling point among the gray levels of the three adjacent sampling points is simultaneously smaller or larger than the gray level of the adjacent sampling points before and after that, the black and white in which the saturation feature is alternately continuous Further comprising: determining that the spacing feature is equidistant when a ratio of spacing between adjacent sampling points does not exceed a second threshold.

(付記12)
付記11に記載の方法であって、
前記画像の全行の視覚特性に対して統計を行い、或いは、一部の行を選択してその視覚特性に対して統計を行い;
複数の選択された行のそれぞれに対しての統計による前記第一統計値に基づいて、第二統計値を計算し;及び
前記第二統計値が第四閾値よりも大きい時に、前記画像中にゼブラクロッシングが存在すると判定することを更に含み、
そのうち、前記第二統計値は、複数の選択された行のそれぞれに対しての統計による第一統計値の最大値又は平均値である、方法。
(Appendix 12)
The method according to appendix 11, wherein
Perform statistics on visual characteristics of all lines of the image, or select some lines and perform statistics on the visual characteristics;
Calculating a second statistic based on the first statistic with statistics for each of a plurality of selected rows; and when the second statistic is greater than a fourth threshold, in the image Further comprising determining that zebra crossing is present;
Wherein, the second statistical value is a maximum value or an average value of the first statistical values according to statistics for each of a plurality of selected rows.

(付記13)
付記7に記載の方法であって、
画像のエッジ特徴データを検出する前に、検出待ち画像に対して前置処理を行うことを更に含む、方法。
(Appendix 13)
The method according to appendix 7,
A method further comprising performing a pre-processing on the detection waiting image before detecting edge feature data of the image.

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

Claims (8)

画像中のゼブラクロッシングの検出装置であって、
検出された前記画像のエッジ特徴に基づいて前記画像の視覚特徴を計算する第一計算ユニットであって、前記視覚特徴は、彩度特徴、間隔特徴及び輝度差特徴を含む、第一計算ユニット;及び
前記第一計算ユニットが計算した前記視覚特徴に対しての統計結果に基づいて、前記画像中にゼブラクロッシングが存在するかどうかを判断する第一処理ユニットを含み、
前記第一計算ユニットは、
前記画像中の1行のデータを選択する第一選択ユニット;
選択された前記1行のデータの複数のエッジ特徴点を検出する第一検出ユニット;
前記第一検出ユニットが検出した前記複数のエッジ特徴点の中の隣接する2つのエッジ特徴点の中心を、選択された前記1行の1つのサンプリングポイントとすることにより、1つ又は複数のサンプリングポイントを取得する第一取得ユニット;及び
前記第一検出ユニットが検出した前記複数のエッジ特徴点、及び、前記第一取得ユニットが取得した前記1つ又は複数のサンプリングポイントに基づいて、前記画像視覚特徴を計算する第二計算ユニットを含む、装置。
A device for detecting zebra crossings in an image,
A first calculation unit for calculating visual features of the image based on detected edge features of the image, wherein the visual features include a saturation feature, a spacing feature and a luminance difference feature; And a first processing unit for determining whether zebra crossing is present in the image based on a statistical result for the visual feature calculated by the first calculation unit ,
The first calculation unit is:
A first selection unit for selecting one row of data in the image;
A first detection unit for detecting a plurality of edge feature points of the selected row of data;
One or more samplings by setting the center of two adjacent edge feature points among the plurality of edge feature points detected by the first detection unit as one sampling point of the selected row. A first acquisition unit for acquiring points; and
A second calculation unit for calculating the image visual feature based on the plurality of edge feature points detected by the first detection unit and the one or more sampling points acquired by the first acquisition unit; , Equipment.
請求項に記載の装置であって、
前記第一処理ユニットは、
選択された前記1行の前記視覚特性に対して統計を行い、前記彩度特徴が交互に連続する黒白であり、前記間隔特徴が等間隔であり、前記輝度差特徴が交互に連続する明暗であるとのことに符合しているサンプリングポイントをゼブラクロッシング特徴点と判定し、最大連続する前記ゼブラクロッシング特徴点の数を統計により取得して第一統計値とする第一統計ユニット;及び
前記第一統計ユニットの統計による前記第一統計値が第三閾値よりも大きい時に、前記画像中にゼブラクロッシングが存在すると判定する第一確定ユニットを含む、装置。
The apparatus of claim 1 , comprising:
The first processing unit is
Statistics are performed on the selected visual characteristics of the one row, and the saturation features are alternately black and white, the interval features are equally spaced, and the brightness difference features are alternately continuous. A first statistical unit that determines that a sampling point that coincides with a zebra crossing feature point is a zebra crossing feature point, obtains a maximum number of consecutive zebra crossing feature points by statistics, and sets a first statistical value; An apparatus comprising: a first deterministic unit that determines that zebra crossing is present in the image when the first statistical value according to the statistics of one statistical unit is greater than a third threshold.
請求項に記載の装置であって、
前記第一統計ユニットは、
前記第一取得ユニットが取得した、隣接する2つの前記サンプリングポイントのグレーレベルの差の絶対値が第一閾値よりも大きい時に、前記輝度差特徴が交互に連続する明暗であると判定する第一判定ユニット;
前記第一取得ユニットが取得した、隣接する3つの前記サンプリングポイントのグレーレベルの中の中間のサンプリングポイントのグレーレベルが同時にその前後の隣接するサンプリングポイントのグレーレベルによりも小さい又は大きい時に、前記彩度特徴が交互に連続する黒白であると判定する第二判定ユニット;及び
前記第一検出ユニットが検出した、隣接する前記サンプリングポイントの間隔の比が第二閾値を超えていない時に、前記間隔特徴が等間隔であると判定する第三判定ユニットを含む、装置。
The apparatus of claim 2 , comprising:
The first statistical unit is
When the absolute value of the difference between the gray levels of two adjacent sampling points acquired by the first acquisition unit is greater than a first threshold, it is determined that the brightness difference feature is alternately continuous light and dark Judgment unit;
When the gray level of the intermediate sampling point among the gray levels of the three adjacent sampling points acquired by the first acquisition unit is smaller or larger than the gray level of the adjacent sampling points before and after the sampling point, A second determination unit for determining that the degree feature is alternately black and white; and the interval feature when the ratio of the intervals between the adjacent sampling points detected by the first detection unit does not exceed a second threshold value. Including a third determination unit that determines that are equally spaced.
請求項に記載の装置であって、
前記第一選択ユニットは更に、前記画像の全行のデータ、或いは、一部の行のデータを選択し、
前記第一統計ユニットは更に、それぞれ、前記第一選択ユニットが選択した複数の行のデータの複数の第一統計値を取得し、
前記第一処理ユニットは、更に
選択された前記複数の行のそれぞれに対しての統計による前記第一統計値に基づいて第二統計値計算する第二統計ユニットであって、前記第二統計値は、前記複数の第一統計値の最大値又は平均値である、第二統計ユニット;及び
前記第二統計ユニットが計算した前記第二統計値が第四閾値よりも大きい時に、前記画像中にゼブラクロッシングが存在すると判定する第二確定ユニットを含む、装置。
The apparatus of claim 3 , comprising:
The first selection unit further selects data of all lines or a part of lines of the image,
Each of the first statistical units further obtains a plurality of first statistical values of a plurality of rows of data selected by the first selection unit,
The first processing unit is a second statistical unit that calculates a second statistical value based on the first statistical value based on statistics for each of the selected plurality of rows, and the second statistical value Is a second statistical unit that is a maximum or average value of the plurality of first statistical values; and the second statistical value calculated by the second statistical unit is greater than a fourth threshold value in the image. An apparatus comprising a second deterministic unit that determines that zebra crossing is present.
画像中のゼブラクロッシングの検出方法であって、
検出された前記画像のエッジ特徴に基づいて前記画像の視覚特徴を計算し、前記視覚特徴は、彩度特徴、間隔特徴及び輝度差特徴を含み;及び
前記視覚特徴に対しての統計結果に基づいて、前記画像中にゼブラクロッシングが存在するかどうかを判断することを含み、
検出された前記画像のエッジ特徴に基づいて前記画像の視覚特徴を計算することは、
前記画像中の1行のデータを選択し;
選択された前記1行のデータの複数のエッジ特徴点を検出し;
前記複数のエッジ特徴点の中の隣接する2つのエッジ特徴点の中心を、選択された前記1行の1つのサンプリングポイントとすることにより、1つ又は複数のサンプリングポイントを取得し;及び
前記複数のエッジ特徴点及び前記1つ又は複数のサンプリングポイントに基づいて、前記画像中の選択された前記1行の視覚特徴を計算することを含む、方法。
A method for detecting zebra crossings in an image, comprising:
Calculating visual features of the image based on detected edge features of the image, the visual features including a saturation feature, a spacing feature, and a luminance difference feature; and based on statistical results for the visual feature Determining whether zebra crossing is present in the image ,
Calculating visual features of the image based on detected edge features of the image,
Selecting a row of data in the image;
Detecting a plurality of edge feature points of the selected row of data;
Obtaining one or more sampling points by taking the center of two adjacent edge feature points in the plurality of edge feature points as one sampling point of the selected row; and
Calculating the selected row of visual features in the image based on the plurality of edge feature points and the one or more sampling points .
請求項に記載の方法であって、
前記視覚特徴に対しての統計結果に基づいて前記画像中にゼブラクロッシングが存在するかどうかを判断することは、
選択された前記1行の前記視覚特性に対して統計を行い、前記彩度特徴が交互に連続する黒白であり、前記間隔特徴が等間隔であり、前記輝度差特徴が交互に連続する明暗であるとのことに符合しているサンプリングポイントをゼブラクロッシング特徴点と判定し、最大連続する前記ゼブラクロッシング特徴点の数を統計のより取得して第一統計値とし;及び
前記第一統計値が第三閾値よりも大きい時に、前記画像中にゼブラクロッシングが存在すると判定することを含む、方法。
6. A method according to claim 5 , wherein
Determining whether zebra crossings are present in the image based on statistical results for the visual features,
Statistics are performed on the selected visual characteristics of the one row, and the saturation features are alternately black and white, the interval features are equally spaced, and the brightness difference features are alternately continuous. A sampling point that coincides with the existence of a zebra crossing feature point is determined as a zebra crossing feature point, and the number of the maximum zebra crossing feature points is obtained from the statistics as a first statistical value; and Determining that there is zebra crossing in the image when greater than a third threshold.
請求項に記載の方法であって、
隣接する2つの前記サンプリングポイントのグレーレベルの差の絶対値が第一閾値よりも大きい時に、前記輝度差特徴が交互に連続する明暗であると判定し;
隣接する3つの前記サンプリングポイントのグレーレベルの中の中間のサンプリングポイントのグレーレベルが同時にその前後の隣接するサンプリングポイントのグレーレベルよりも小さい又は大きい時に、前記彩度特徴が交互に連続する黒白であると判定し;及び
隣接する前記サンプリングポイントの間隔の比が第二閾値を超えていない時に、前記間隔特徴が等間隔であると判定することを更に含む、方法。
The method of claim 6 , comprising:
When the absolute value of the difference in gray level between two adjacent sampling points is greater than a first threshold, it is determined that the brightness difference feature is alternately continuous light and dark;
When the gray level of the intermediate sampling point among the gray levels of the three adjacent sampling points is simultaneously smaller or larger than the gray level of the adjacent sampling points before and after that, the black and white in which the saturation feature is alternately continuous Further comprising: determining that the spacing feature is equidistant when a ratio of spacing between adjacent sampling points does not exceed a second threshold.
請求項に記載の方法であって、
前記画像の全行の視覚特性に対して統計を行い、或いは、一部の行を選択してその視覚特性に対して統計を行い;
選択された複数の行のそれぞれに対しての統計による第一統計値に基づいて、第二統計値を計算し;及び
前記第二統計値が第四閾値よりも大きい時に、前記画像中にゼブラクロッシングが存在すると判定することを更に含み、
前記第二統計値は、選択された前記複数の行のそれぞれに対しての統計による第一統計値の最大値又は平均値である、方法。
The method of claim 7 , comprising:
Perform statistics on visual characteristics of all lines of the image, or select some lines and perform statistics on the visual characteristics;
Calculating a second statistical value based on a first statistical value for each of the selected plurality of rows; and when the second statistical value is greater than a fourth threshold, Further comprising determining that the crossing is present;
The method, wherein the second statistical value is a maximum value or an average value of first statistical values according to statistics for each of the selected plurality of rows.
JP2014230330A 2013-11-27 2014-11-13 Device and method for detecting zebra crossings in images Active JP6432296B2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310616044.2A CN104680171B (en) 2013-11-27 2013-11-27 The detection device, method of zebra stripes in image
CN201310616044.2 2013-11-27

Publications (2)

Publication Number Publication Date
JP2015103249A JP2015103249A (en) 2015-06-04
JP6432296B2 true JP6432296B2 (en) 2018-12-05

Family

ID=53315188

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014230330A Active JP6432296B2 (en) 2013-11-27 2014-11-13 Device and method for detecting zebra crossings in images

Country Status (2)

Country Link
JP (1) JP6432296B2 (en)
CN (1) CN104680171B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6536698B2 (en) * 2016-01-29 2019-07-03 日産自動車株式会社 Driving control method for vehicle and driving control device for vehicle
CN107049717B (en) * 2016-11-23 2019-03-01 杭州视氪科技有限公司 One kind is based on RGB-D camera and stereosonic visually impaired people's zebra stripes detection system and method
CN106951837B (en) * 2017-03-06 2020-07-14 北京航空航天大学 Zebra crossing detection and positioning method for flight verification
CN107944407A (en) * 2017-11-30 2018-04-20 中山大学 A kind of crossing zebra stripes recognition methods based on unmanned plane
CN110533686B (en) * 2019-10-08 2022-03-04 凌云光技术股份有限公司 Method and system for judging whether line frequency of linear array camera is matched with object motion speed

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4032727B2 (en) * 2001-12-12 2008-01-16 アイシン精機株式会社 Lane boundary detection device
JP3873918B2 (en) * 2003-03-14 2007-01-31 セイコーエプソン株式会社 Image processing apparatus, image processing method, and image processing program
JP2010016621A (en) * 2008-07-03 2010-01-21 Sony Corp Image data processing apparatus, image data processing method and program, and recording medium
JP5324240B2 (en) * 2009-01-29 2013-10-23 株式会社ゼンリン Road marking map generation method and road marking map generation device
CN101877064B (en) * 2009-04-30 2014-10-15 索尼株式会社 Image classification method and image classification device
JP5631581B2 (en) * 2009-12-01 2014-11-26 富士重工業株式会社 Road recognition device
JP2011128990A (en) * 2009-12-18 2011-06-30 Canon Inc Image processor and image processing method
JP5554579B2 (en) * 2010-01-26 2014-07-23 富士通株式会社 Lane detection program and lane detection device
JP5035371B2 (en) * 2010-03-15 2012-09-26 アイシン精機株式会社 Crosswalk detection device, crosswalk detection system, crosswalk detection method and program
JP2013186664A (en) * 2012-03-07 2013-09-19 Toyota Motor Corp Crosswalk recognition device and crosswalk recognition method

Also Published As

Publication number Publication date
CN104680171A (en) 2015-06-03
CN104680171B (en) 2018-10-02
JP2015103249A (en) 2015-06-04

Similar Documents

Publication Publication Date Title
JP6432296B2 (en) Device and method for detecting zebra crossings in images
US8902053B2 (en) Method and system for lane departure warning
CN106326822B (en) Method and device for detecting lane line
CN108182383B (en) Vehicle window detection method and device
JP5019375B2 (en) Object detection apparatus and object detection method
JP2008286725A (en) Person detector and detection method
CN107798688B (en) Moving target identification method, early warning method and automobile rear-end collision prevention early warning device
JP2020205118A (en) Systems and methods for object detection
JP5983729B2 (en) White line detection device, white line detection filter device, and white line detection method
WO2013047088A1 (en) Biometric device
CN110659547A (en) Object recognition method, device, vehicle and computer-readable storage medium
WO2017061106A1 (en) Information processing device, image processing system, image processing method, and program recording medium
JP6809613B2 (en) Image foreground detection device, detection method and electronic equipment
US11530993B2 (en) Deposit detection device and deposit detection method
JP2016207191A (en) Method and system for ground truth determination in lane departure warning
CN113808135B (en) Image brightness abnormality detection method, electronic device, and storage medium
CN115830513A (en) Method, device and system for determining image scene change and storage medium
JP2011165170A (en) Object detection device and program
US20210089818A1 (en) Deposit detection device and deposit detection method
JP6772059B2 (en) Electronic control devices, electronic control systems and electronic control methods
US10997743B2 (en) Attachable matter detection apparatus
KR102078419B1 (en) Driver assistance system and method thereof
KR101407070B1 (en) Method of extracting feature for human detection and apparatus for performing the same
JP2023014131A (en) Line detection device, line detection method, program and storage medium
JP6236363B2 (en) Object recognition device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170804

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180705

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180724

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180920

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20181022

R150 Certificate of patent or registration of utility model

Ref document number: 6432296

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150