JP6648553B2 - White line recognition device - Google Patents

White line recognition device Download PDF

Info

Publication number
JP6648553B2
JP6648553B2 JP2016036349A JP2016036349A JP6648553B2 JP 6648553 B2 JP6648553 B2 JP 6648553B2 JP 2016036349 A JP2016036349 A JP 2016036349A JP 2016036349 A JP2016036349 A JP 2016036349A JP 6648553 B2 JP6648553 B2 JP 6648553B2
Authority
JP
Japan
Prior art keywords
white line
value
pixel
image
luminance
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
JP2016036349A
Other languages
Japanese (ja)
Other versions
JP2017151930A (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.)
Toyota Motor Corp
Original Assignee
Toyota Motor Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toyota Motor Corp filed Critical Toyota Motor Corp
Priority to JP2016036349A priority Critical patent/JP6648553B2/en
Publication of JP2017151930A publication Critical patent/JP2017151930A/en
Application granted granted Critical
Publication of JP6648553B2 publication Critical patent/JP6648553B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、画像から道路上の白線を認識する白線認識装置の技術分野に関する。   The present invention relates to a technical field of a white line recognition device that recognizes a white line on a road from an image.

この種の装置として、例えば、白線のエッジか否かの判定対象である画素と、この画素から走査方向に1〜K画素隣の画素との輝度の差分を算出し、該算出された差分のうち少なくとも一つが閾値以上である場合に、判定対象である画素を白線のエッジとする装置が提案されている(特許文献1参照)。   As an apparatus of this type, for example, a luminance difference between a pixel to be determined as to whether or not it is an edge of a white line and a pixel adjacent to the pixel by 1 to K pixels in the scanning direction from this pixel is calculated, and the calculated difference is calculated. An apparatus has been proposed in which, when at least one of them is equal to or larger than a threshold value, a pixel to be determined is set as the edge of a white line (see Patent Document 1).

特開2012−018531号公報JP 2012-018531 A

ところで、強い日差しが照りつける道路が撮像された場合、撮像画像において道路上の白線部分の輝度値が上限の飽和値となることがある(所謂白飛び)。この場合、道路のアスファルト部分の輝度値も比較的大きくなるため、白線部分の輝度値とアスファルト部分の輝度値との差が比較的小さくなる。或いは、日陰の道路が撮像された場合、撮像画像においてアスファルト部分の輝度値が下限の飽和値となることがある(所謂黒潰れ)。この場合、白線部分の輝度値も比較的小さくなるため、白線部分の輝度値とアスファルト部分の輝度値との差が比較的小さくなる。   By the way, when an image of a road illuminated by strong sunlight is captured, the brightness value of a white line portion on the road in the captured image may become the upper limit saturation value (so-called overexposure). In this case, since the brightness value of the asphalt portion of the road is relatively large, the difference between the brightness value of the white line portion and the brightness value of the asphalt portion is relatively small. Alternatively, when a shaded road is picked up, the brightness value of the asphalt portion in the picked-up image may become the lower limit saturation value (so-called black crush). In this case, since the luminance value of the white line portion is also relatively small, the difference between the luminance value of the white line portion and the luminance value of the asphalt portion is relatively small.

このような場合、上述の特許文献1に記載の技術では、白線のエッジを正しく認識できない可能性があるという技術的問題点がある。   In such a case, the technique described in Patent Document 1 has a technical problem that the edge of the white line may not be correctly recognized.

本発明は、上記問題点に鑑みてなされたものであり、白線を適切に認識することができる白線認識装置を提供することを課題とする。   SUMMARY An advantage of some aspects of the invention is to provide a white line recognition device that can appropriately recognize a white line.

本発明の白線認識装置は、上記課題を解決するために、車両外部を撮像した画像に基づいて道路上の白線を認識する白線認識装置であって、前記画像から白線候補領域と、前記白線候補領域に隣接する隣接領域とを抽出する抽出手段と、前記抽出された白線候補領域の輝度値と前記抽出された隣接領域の輝度値との差が閾値より大きいことを条件に、前記白線候補領域を白線として認識する認識手段と、前記抽出された白線候補領域の画素値である第1画素値が上限の飽和値である場合、前記閾値を、前記第1画素値が前記上限の飽和値でない場合に比べて小さくし、前記抽出された隣接領域の画素値である第2画素値が下限の飽和値である場合、前記閾値を、前記第2画素値が前記下限の飽和値でない場合に比べて小さくする設定手段と、を備える。   In order to solve the above-described problem, a white line recognition device of the present invention is a white line recognition device that recognizes a white line on a road based on an image obtained by capturing an image of the outside of a vehicle. Extracting means for extracting an adjacent area adjacent to the area; and a condition that a difference between a luminance value of the extracted white line candidate area and a luminance value of the extracted adjacent area is larger than a threshold value. A recognition unit for recognizing as a white line, and when the first pixel value that is the pixel value of the extracted white line candidate region is the upper limit saturation value, the threshold is set to the first pixel value that is not the upper limit saturation value. If the second pixel value that is the pixel value of the extracted adjacent region is the lower limit saturation value, the threshold value is compared with the case where the second pixel value is not the lower limit saturation value. Setting means for reducing Provided.

本発明の白線認識装置によれば、白線候補領域に係る第1画素値が上限の飽和値である場合、又は隣接領域に係る第2画素値が下限の飽和値である場合、第1画素値が上限の飽和値でない場合、又は第2画素値が下限の飽和値でない場合に比べて閾値が小さくされる。このため、当該白線認識装置は、所謂白飛びや黒潰れが生じた場合であっても、白線を適切に認識することができる。   According to the white line recognition device of the present invention, when the first pixel value relating to the white line candidate region is the upper limit saturation value, or when the second pixel value relating to the adjacent region is the lower limit saturation value, the first pixel value Is not the upper limit saturation value, or the threshold value is smaller than when the second pixel value is not the lower limit saturation value. For this reason, the white line recognition device can appropriately recognize a white line even when so-called overexposure or crushed black occurs.

本発明に係る「第1画素値」及び「第2画素値」の一例として、例えば輝度値やカラー値が挙げられるが、これらに限らず、所謂白飛びや黒潰れを検出可能であれば、他のパラメータであってもよい。   Examples of the “first pixel value” and the “second pixel value” according to the present invention include, for example, a luminance value and a color value, but are not limited thereto. Other parameters may be used.

本発明の作用及び他の利得は次に説明する実施するための形態から明らかにされる。   The operation and other advantages of the present invention will become more apparent from the embodiments explained below.

実施形態に係る白線認識装置の構成を示すブロック図である。It is a block diagram showing the composition of the white line recognition device concerning an embodiment. 実施形態に係る白線認識処理を示すフローチャートである。9 is a flowchart illustrating a white line recognition process according to the embodiment. 道路の白線部分及びアスファルト部分の輝度値の変化の一例である。It is an example of the change of the brightness value of the white line part and the asphalt part of the road.

本発明の白線認識装置に係る実施形態について図面を参照して説明する。   An embodiment according to a white line recognition device of the present invention will be described with reference to the drawings.

(白線認識装置の概要)
実施形態に係る白線認識装置の概要について、図1を参照して説明する。図1は、実施形態に係る白線認識装置の構成を示すブロック図である。
(Overview of white line recognition device)
An outline of a white line recognition device according to the embodiment will be described with reference to FIG. FIG. 1 is a block diagram illustrating a configuration of a white line recognition device according to the embodiment.

図1において、白線認識装置10は、白線認識処理を実行するために、その内部に実現される論理的な処理ブロック又は物理的な処理回路として、画像入力部11、白線候補領域抽出部12、白飛び判定部13、隣接領域抽出部14、黒潰れ判定部15、閾値設定部16及び白線判定部17を備えて構成されている。   In FIG. 1, a white line recognition device 10 includes an image input unit 11, a white line candidate region extraction unit 12, a logical processing block or a physical processing circuit implemented therein to execute a white line recognition process. It is configured to include a whiteout determination unit 13, an adjacent region extraction unit 14, a blackout determination unit 15, a threshold setting unit 16, and a white line determination unit 17.

画像入力部11には、自動車等の車両(図示せず)の外部(例えば車両前方、車両後方等)を撮像するカメラ20から出力された画像情報が入力される。尚、カメラ20は、車両に搭載されているカメラであってもよいし(つまり、車両に搭載されているカメラを流用してもよいし)、白線認識装置10独自のカメラであってもよい。   Image information output from a camera 20 that captures an image of the outside of a vehicle (not shown) such as an automobile (for example, the front of the vehicle, the rear of the vehicle, etc.) is input to the image input unit 11. The camera 20 may be a camera mounted on the vehicle (that is, a camera mounted on the vehicle may be used) or a camera unique to the white line recognition device 10. .

(白線認識処理)
次に、白線認識装置10が実行する白線認識処理について、図2のフローチャートを参照して説明する。
(White line recognition processing)
Next, the white line recognition processing executed by the white line recognition device 10 will be described with reference to the flowchart in FIG.

図2において、画像入力部11にカメラ20からの画像情報が入力された後(ステップS1)、白線候補領域抽出部12は、画像から判定対象とする一の画素を白線候補画素として抽出する。或いは、白線候補領域抽出部12は、判定対象とする一の画素の周囲に、一の画素の画素値と、同一又は類似の画素値を有する画素が存在する場合、一の画素と一の画素の周囲の画素とを白線候補領域として抽出する。(ステップS2)
次に、隣接領域抽出部14は、ステップS2の処理において抽出された白線候補画素又は白線候補領域に隣接する画素を隣接画素又は隣接領域として抽出する(ステップS3)。ここで、隣接領域は、白線候補画素又は白線候補領域に隣接する画素と、該画素の周囲に位置し、該画素の画素値と同一又は類似の画素値を有する画素とからなる画素群を意味する。
In FIG. 2, after image information from the camera 20 is input to the image input unit 11 (step S1), the white line candidate region extraction unit 12 extracts one pixel to be determined from the image as a white line candidate pixel. Alternatively, the white line candidate region extraction unit 12 determines that one pixel and one pixel are present when there is a pixel having the same or similar pixel value as the one pixel around the one pixel to be determined. Are extracted as white line candidate areas. (Step S2)
Next, the adjacent area extraction unit 14 extracts the white line candidate pixel or the pixel adjacent to the white line candidate area extracted in the process of step S2 as an adjacent pixel or an adjacent area (step S3). Here, the adjacent area means a pixel group including a white line candidate pixel or a pixel adjacent to the white line candidate area, and a pixel located around the pixel and having the same or similar pixel value as the pixel value. I do.

次に、白飛び判定部13は、ステップS2の処理において抽出された白線候補画素又は白線候補領域の輝度値が輝度最大値と一致しているか否かを判定する(ステップS4)。白飛び判定部13は、白線候補画素又は白線候補領域の輝度値が輝度最大値と一致している場合に、白飛びと判定する。他方、白飛び判定部13は、白線候補画素又は白線候補領域の輝度値が輝度最大値と一致していない場合、白飛びではないと判定する。   Next, the whiteout determination unit 13 determines whether or not the luminance value of the white line candidate pixel or the white line candidate region extracted in the process of step S2 matches the maximum luminance value (step S4). The whiteout determination unit 13 determines that whiteout has occurred when the luminance value of the white line candidate pixel or white line candidate region matches the maximum luminance value. On the other hand, when the luminance value of the white line candidate pixel or the white line candidate region does not match the maximum luminance value, the whiteout determination unit 13 determines that there is no whiteout.

尚、「輝度最大値」は、例えば符号なしの8ビットで輝度値を計測しているカメラでは“255”である。白線候補領域の場合、白飛び判定部13は、該白線候補領域を構成する複数の画素に夫々対応する複数の輝度値のうち、最大輝度値や輝度の最頻値が、輝度最大値と一致しているか否かを判定すればよい。   Note that the “maximum luminance value” is “255” for a camera that measures a luminance value using, for example, unsigned 8 bits. In the case of the white line candidate region, the overexposed determining unit 13 determines that the maximum luminance value or the mode of luminance is equal to the luminance maximum value among the plurality of luminance values respectively corresponding to the plurality of pixels constituting the white line candidate region. What is necessary is just to judge whether or not.

ステップS4の処理と並行して、黒潰れ判定部15は、ステップS3の処理において抽出された隣接画素又は隣接領域の輝度値が輝度最小値と一致しているか否かを判定する(ステップS5)。黒潰れ判定部15は、隣接画素又は隣接領域の輝度値が輝度最小値と一致している場合に、黒潰れと判定する。他方、黒潰れ判定部15は、隣接画素又は隣接領域の輝度値が輝度最小値と一致していない場合、黒潰れではないと判定する。   In parallel with the processing in step S4, the blackout determination unit 15 determines whether or not the luminance value of the adjacent pixel or adjacent area extracted in the processing of step S3 matches the minimum luminance value (step S5). . The black crush determination unit 15 determines that a black crush has occurred when the luminance value of the adjacent pixel or the adjacent region matches the minimum luminance value. On the other hand, when the luminance value of the adjacent pixel or the adjacent region does not match the minimum luminance value, the blackout determination unit 15 determines that the image is not blackout.

尚、「輝度最小値」は、例えば符号なしの8ビットで輝度値を計測しているカメラでは“0”である。隣接領域の場合、黒潰れ判定部15は、該隣接領域を構成する複数の画素に夫々対応する複数の輝度値のうち、最小輝度値や輝度の最頻値が、輝度最小値と一致しているか否かを判定すればよい。   The “minimum luminance value” is “0” for a camera that measures a luminance value with, for example, unsigned 8 bits. In the case of the adjacent region, the blackout determination unit 15 determines that the minimum luminance value or the mode of luminance among the plurality of luminance values corresponding to the plurality of pixels forming the adjacent region matches the minimum luminance value. It is sufficient to determine whether or not there is.

次に、閾値設定部16は、白飛び判定部13による判定結果及び黒潰れ判定部15による判定結果に応じて、後述する白線判定に用いられる閾値を設定する(ステップS6)。   Next, the threshold setting unit 16 sets a threshold used for white line determination, which will be described later, according to the determination result by the overexposed determination unit 13 and the determination result by the black crush determination unit 15 (step S6).

ここで、道路の白線部分及びアスファルト部分の輝度値の変化について、図3を参照して説明する。図3において、実線は白線部分の輝度値の変化の一例を示しており、破線は、アスファルト部分の輝度値の変化の一例を示している。   Here, the change in the luminance value of the white line portion and the asphalt portion of the road will be described with reference to FIG. In FIG. 3, a solid line indicates an example of a change in luminance value of a white line portion, and a broken line indicates an example of a change of luminance value of an asphalt portion.

図3に示すように、白線部分の輝度値及びアスファルト部分の輝度値は、シーン(画像)の明るさに比例して変化する。白飛びや黒潰れが発生していない場合、白線部分の輝度値とアスファルト部分の輝度値との差は、「輝度差2」となる。   As shown in FIG. 3, the brightness value of the white line portion and the brightness value of the asphalt portion change in proportion to the brightness of the scene (image). When no whiteout or blackout occurs, the difference between the brightness value of the white line portion and the brightness value of the asphalt portion is “brightness difference 2”.

しかしながら、白飛びが発生している場合(図3の“白線の輝度が上に飽和している日向”領域参照)、白線部分の輝度値は輝度最大値(ここでは、255)で一定であるのに対して、アスファルト部分の輝度値は、シーンが明るくなるほど大きくなる。すると、白線部分の輝度値とアスファルト部分の輝度値との差は、「輝度差2」より小さい、例えば「輝度差3」となる。   However, when overexposure occurs (see the "sunlight area where the luminance of the white line is saturated upward" in FIG. 3), the luminance value of the white line portion is constant at the maximum luminance value (255 in this case). On the other hand, the brightness value of the asphalt portion increases as the scene becomes brighter. Then, the difference between the brightness value of the white line portion and the brightness value of the asphalt portion is smaller than “brightness difference 2”, for example, “brightness difference 3”.

同様に、黒潰れが発生している場合(図3の“アスファルトの輝度が下に飽和している日陰”参照)、アスファルト部分の輝度値は輝度最小値(ここでは、0)で一定であるのに対し、白線部分の輝度値は、シーンが暗くなるほど小さくなる。すると、白線部分の輝度値とアスファルト部分の輝度値との差は、「輝度差2」より小さい、例えば「輝度差1」となる。   Similarly, when black crushing has occurred (see “shade where the brightness of asphalt is saturated downward” in FIG. 3), the brightness value of the asphalt portion is constant at the minimum brightness value (here, 0). On the other hand, the brightness value of the white line portion becomes smaller as the scene becomes darker. Then, the difference between the brightness value of the white line portion and the brightness value of the asphalt portion is smaller than “brightness difference 2”, for example, “brightness difference 1”.

このため、白線判定に用いられる閾値を、例えば輝度差2に相当する固定値としてしまうと、白飛びや黒潰れが発生している場合に、白線を認識することができない可能性がある。そこで、本実施形態に係る閾値設定部16は、白飛びや黒潰れが発生している場合、白線判定に用いられる閾値を、白飛び及び黒潰れが発生していない場合と比べて小さくする。   For this reason, if the threshold value used for the white line determination is set to a fixed value corresponding to, for example, a luminance difference of 2, the white line may not be able to be recognized when whiteout or blackout occurs. Therefore, the threshold setting unit 16 according to the present embodiment reduces the threshold value used for the white line determination when whiteout or blackout occurs, as compared with the case where no whiteout or blackout occurs.

つまり、ステップS6の処理において、白飛び判定部13により白飛びと判定された場合、又は、黒潰れ判定部15により黒潰れと判定された場合、閾値設定部16は、白線判定に用いられる閾値を、白飛び判定部13により白飛びではないと判定された場合及び黒潰れ判定部15により黒潰れではないと判定された場合に比べて、小さく設定する。   In other words, in the process of step S6, when the whiteout determination is made by the whiteout determination unit 13 or when the blackout determination is made by the blackout determination unit 15, the threshold setting unit 16 sets the threshold value used for the white line determination. Is set to be smaller than when the whiteout determination unit 13 determines that it is not whiteout and when the blackout determination unit 15 determines that it is not blackout.

尚、白線判定に用いられる閾値は、例えば、白線部分が白飛びしている画像での白線部分とアスファルト部分との輝度差や、アスファルト部分が黒潰れしている画像での白線部分とアスファルト部分との輝度差のサンプルを複数収集し、該収集されたサンプルに基づいて適宜設定すればよい。   The threshold value used for the white line determination is, for example, a luminance difference between the white line portion and the asphalt portion in an image in which the white line portion is overexposed, and a white line portion and an asphalt portion in an image in which the asphalt portion is blackened. A plurality of samples having a difference in luminance from the sample may be collected and set appropriately based on the collected samples.

或いは、白線部分が白飛びしている画像やアスファルト部分が黒潰れしている画像を用いて、白線判定に用いられる閾値を変化させたときに、白線部分ではないにもかかわらず白線として検出された画素を示す誤検出量や、白線部分であるにもかかわらず白線として検出されなかった画素を示す未検出量を求めて、該求められた誤検出量や未検出量が、当該白線認識装置10の設計目標値を達成するような閾値を、白線判定に用いられる閾値として設定すればよい。   Alternatively, using an image in which the white line portion is overexposed or an image in which the asphalt portion is blackened out, when the threshold used for the white line determination is changed, the image is detected as a white line even though it is not a white line portion. The amount of erroneous detection indicating a pixel that has not been detected as a white line despite being a white line portion or an undetected amount indicating a pixel that has not been detected as a white line is determined. A threshold value that achieves the design target value of 10 may be set as a threshold value used for white line determination.

再び、図2に戻り、ステップS6の処理の後、白線判定部17は、白線候補領域抽出部12により抽出された白線候補画素又は白線候補領域の輝度値と、隣接領域抽出部14により抽出された隣接画素又は隣接領域の輝度値との輝度差を求める。そして、白線判定部17は、該求められた輝度差が、閾値設定部16により設定された閾値より大きいか否かを判定する。(ステップS7)
白線判定部17は、求められた輝度差が閾値より大きい場合に、白線候補画素又は白線候補領域を白線画素と判定する。他方、白線判定部17は、求められた輝度差が閾値より小さい場合に、白線駆補画素又は白線候補領域を白線画素ではないと判定する。尚、求められた輝度差と閾値とが「等しい」場合には、どちらかに含めて扱えばよい。
Returning to FIG. 2 again, after the process of step S6, the white line determination unit 17 extracts the white line candidate pixel or the luminance value of the white line candidate region extracted by the white line candidate region extraction unit 12 and the luminance value of the white line candidate region extracted by the adjacent region extraction unit 14. Then, a luminance difference from the luminance value of the adjacent pixel or the adjacent area is calculated. Then, the white line determination unit 17 determines whether the obtained luminance difference is larger than the threshold set by the threshold setting unit 16. (Step S7)
The white line determination unit 17 determines a white line candidate pixel or a white line candidate region as a white line pixel when the obtained luminance difference is larger than the threshold value. On the other hand, when the obtained luminance difference is smaller than the threshold, the white line determining unit 17 determines that the white line complementary pixel or the white line candidate region is not a white line pixel. When the obtained luminance difference is equal to the threshold value, it may be handled by including one of them.

次に、白線認識装置10は、白線認識処理の判定対象となっていない画素があるか否かを判定する(ステップS8)。白線認識処理の判定対象となっていない画素があると判定された場合(ステップS8:Yes)、上述したステップS2以降の処理が実行される。他方、白線認識処理の判定対象となっていない画素がないと判定された場合(ステップS8:No)、白線認識装置10は、今回の白線認識処理の対象となった画像とは異なる画像について、上述した白線認識処理を施す。   Next, the white line recognition device 10 determines whether or not there is a pixel that is not a determination target of the white line recognition processing (Step S8). When it is determined that there is a pixel that is not a determination target of the white line recognition processing (step S8: Yes), the processing from step S2 described above is executed. On the other hand, when it is determined that there is no pixel that is not a determination target of the white line recognition processing (step S8: No), the white line recognition device 10 determines, for an image different from the image subjected to the current white line recognition processing, The above-described white line recognition processing is performed.

尚、白線認識処理の判定対象となる画素は、画像を構成する全ての画素に限られない。例えば、画像のうち道路領域を予め特定できるのであれば、該道路領域を構成する画素のみが、白線認識処理の判定対象とされてよい。或いは、前回の白線認識処理の結果としての白線画素が存在する範囲が特定されており、且つ、前回の白線認識処理の対象となった画像と今回の白線認識処理の対象となった画像との差分(つまり、位置の変化や動体に起因する画像の変化)が特定されるのであれば、今回の白線認識処理の対象となった画像における白線画素の推定存在範囲を構成する画素のみが、白線認識処理の判定対象とされてよい。   Note that the pixels to be determined in the white line recognition processing are not limited to all the pixels constituting the image. For example, if a road area in an image can be specified in advance, only pixels forming the road area may be determined as white line recognition processing targets. Alternatively, the range in which the white line pixel exists as a result of the previous white line recognition processing is specified, and the image of the previous white line recognition processing is compared with the image of the current white line recognition processing. If the difference (that is, the change in the position or the change in the image due to the moving object) is specified, only the pixels constituting the estimated existence range of the white line pixel in the image subjected to the white line recognition processing this time are represented by the white line It may be a determination target of the recognition processing.

(技術的効果)
本実施形態では、白飛びや黒潰れが発生した場合、閾値設定部16により、白線判定に用いられる閾値が、白飛び及び黒潰れが発生していない場合に比べて小さくされる。このため、白線認識装置10は、白線部分の輝度値とアスファルト部分の輝度値との差が比較的小さくなる、白飛びや黒潰れが発生している画像についても、白線を適切に認識することができる。
(Technical effect)
In the present embodiment, when overexposure or crushed black occurs, the threshold value used by the threshold value setting unit 16 for white line determination is made smaller than when no overexposure or crushed black occurs. For this reason, the white line recognition device 10 can appropriately recognize a white line even in an image in which whiteout or blackout occurs in which the difference between the luminance value of the white line portion and the luminance value of the asphalt portion is relatively small. Can be.

本実施形態に係る「白線候補領域抽出部12」及び「隣接領域抽出部14」は、本発明に係る「抽出手段」の一例である。本実施形態に係る「閾値設定部16」及び「白線判定部17」は、夫々、本発明に係る「設定手段」及び「認識手段」の一例である。   The “white line candidate region extracting unit 12” and the “adjacent region extracting unit 14” according to the present embodiment are examples of the “extracting unit” according to the present invention. The “threshold setting unit 16” and the “white line determination unit 17” according to the present embodiment are examples of the “setting unit” and the “recognition unit” according to the present invention, respectively.

<変形例>
上述の実施形態では、輝度値に基づいて白飛びや黒潰れの発生が判定されたが、輝度値に代えてカラー値が用いられてもよい。この場合、白飛び判定部13は、白線候補画素又は白線候補領域のカラー値が、例えば(225、225、225)(RGBカラーモデルの場合)であることを条件に、白飛びと判定する。また、黒潰れ判定部15は、隣接画素又は隣接領域のカラー値が、例えば(0、0、0)(RGBカラーモデルの場合)であることを条件に、黒潰れと判定する。
<Modification>
In the above-described embodiment, the occurrence of overexposure or crushed black is determined based on the luminance value. However, a color value may be used instead of the luminance value. In this case, the overexposure determination unit 13 determines that the overexposure is under the condition that the color value of the white line candidate pixel or the white line candidate area is, for example, (225, 225, 225) (for the RGB color model). Further, the black crush determination unit 15 determines black crush on condition that the color value of the adjacent pixel or the adjacent region is, for example, (0, 0, 0) (in the case of the RGB color model).

本発明は、上述した実施形態に限られるものではなく、特許請求の範囲及び明細書全体から読み取れる発明の要旨或いは思想に反しない範囲で適宜変更可能であり、そのような変更を伴う白線認識装置もまた本発明の技術的範囲に含まれるものである。   The present invention is not limited to the above-described embodiment, and can be appropriately changed without departing from the spirit and spirit of the invention which can be read from the claims and the entire specification, and a white line recognition device with such a change Are also included in the technical scope of the present invention.

10…白線認識装置、11…画像入力部、12…白線候補領域抽出部、13…白飛び判定部、14…隣接領域抽出部、15…黒潰れ判定部、16…閾値設定部、17…白線判定部、20…カメラ   DESCRIPTION OF SYMBOLS 10 ... White line recognition apparatus, 11 ... Image input part, 12 ... White line candidate area extraction part, 13 ... Whiteout determination part, 14 ... Adjacent area extraction part, 15 ... Black crush determination part, 16 ... Threshold setting part, 17 ... White line Judgment unit, 20 ... Camera

Claims (1)

車両外部を撮像した画像に基づいて道路上の白線を認識する白線認識装置であって、
前記画像から白線候補領域と、前記白線候補領域に隣接する隣接領域とを抽出する抽出手段と、
前記抽出された白線候補領域の輝度値と前記抽出された隣接領域の輝度値との差が閾値より大きいことを条件に、前記白線候補領域を白線として認識する認識手段と、
前記抽出された白線候補領域の画素値である第1画素値が上限の飽和値である場合、前記閾値を、前記第1画素値が前記上限の飽和値でない場合に比べて小さくし、前記抽出された隣接領域の画素値である第2画素値が下限の飽和値である場合、前記閾値を、前記第2画素値が前記下限の飽和値でない場合に比べて小さくする設定手段と、
を備えることを特徴とする白線認識装置。
A white line recognition device that recognizes a white line on a road based on an image of the outside of a vehicle,
Extracting means for extracting a white line candidate area and an adjacent area adjacent to the white line candidate area from the image,
A recognition unit that recognizes the white line candidate region as a white line, on condition that a difference between the luminance value of the extracted white line candidate region and the luminance value of the extracted adjacent region is larger than a threshold value;
When the first pixel value that is the pixel value of the extracted white line candidate region is the upper limit saturation value, the threshold value is made smaller than when the first pixel value is not the upper limit saturation value. Setting means for setting the threshold value to be smaller than when the second pixel value that is the pixel value of the obtained adjacent region is the lower limit saturation value, as compared with the case where the second pixel value is not the lower limit saturation value;
A white line recognition device, comprising:
JP2016036349A 2016-02-26 2016-02-26 White line recognition device Active JP6648553B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016036349A JP6648553B2 (en) 2016-02-26 2016-02-26 White line recognition device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016036349A JP6648553B2 (en) 2016-02-26 2016-02-26 White line recognition device

Publications (2)

Publication Number Publication Date
JP2017151930A JP2017151930A (en) 2017-08-31
JP6648553B2 true JP6648553B2 (en) 2020-02-14

Family

ID=59739808

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016036349A Active JP6648553B2 (en) 2016-02-26 2016-02-26 White line recognition device

Country Status (1)

Country Link
JP (1) JP6648553B2 (en)

Also Published As

Publication number Publication date
JP2017151930A (en) 2017-08-31

Similar Documents

Publication Publication Date Title
US8036427B2 (en) Vehicle and road sign recognition device
WO2019148912A1 (en) Image processing method, apparatus, electronic device and storage medium
US8050456B2 (en) Vehicle and road sign recognition device
CA2614247C (en) Vehicle and lane mark recognition apparatus
US9811746B2 (en) Method and system for detecting traffic lights
EP3477548A1 (en) Method and image capturing device for detecting fog in a scene
JP2013242686A (en) Traffic signal detection device and traffic signal detection method
US20130335601A1 (en) Imaging apparatus which suppresses fixed pattern noise generated by an image sensor of the apparatus
US11250553B2 (en) Deposit detection device and deposit detection method
JP6375911B2 (en) Curve mirror detector
JP6648553B2 (en) White line recognition device
JP7200893B2 (en) Attached matter detection device and attached matter detection method
JP5754931B2 (en) Image analysis apparatus, image analysis method, and program
TW201944353A (en) Object image recognition system and object image recognition method
JP2019215661A (en) Image quality adjustment system and image quality adjustment method
CN105704404B (en) Image processing method and device applied to dual-channel image sensor
JP2009032044A (en) Vehicle color determination device
JP2012226676A (en) Counting method for bar
JP2009194786A (en) Object detecting device, and imaging apparatus
JP6663223B2 (en) Image processing apparatus and method, and imaging apparatus
KR101067516B1 (en) Fast shadow removal Method using Normalized Cross CorrelationNCC and Integral Image
JP4282512B2 (en) Image processing apparatus, binarization threshold management method in image processing apparatus, and image processing program
JP2006003993A (en) License plate recognition device
KR101676376B1 (en) Apparatus for recognizing lane and control method thereof
CN117611554A (en) Shadow detection method based on fusion of YUV color space and gradient characteristics

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190123

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20191212

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20191230

R151 Written notification of patent or utility model registration

Ref document number: 6648553

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151