KR102423334B1 - Taillight detection method and apparatus - Google Patents

Taillight detection method and apparatus Download PDF

Info

Publication number
KR102423334B1
KR102423334B1 KR1020200091695A KR20200091695A KR102423334B1 KR 102423334 B1 KR102423334 B1 KR 102423334B1 KR 1020200091695 A KR1020200091695 A KR 1020200091695A KR 20200091695 A KR20200091695 A KR 20200091695A KR 102423334 B1 KR102423334 B1 KR 102423334B1
Authority
KR
South Korea
Prior art keywords
tail light
point
label
area
region
Prior art date
Application number
KR1020200091695A
Other languages
Korean (ko)
Other versions
KR20220012656A (en
Inventor
유명식
후인타이호아
Original Assignee
숭실대학교산학협력단
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 숭실대학교산학협력단 filed Critical 숭실대학교산학협력단
Priority to KR1020200091695A priority Critical patent/KR102423334B1/en
Publication of KR20220012656A publication Critical patent/KR20220012656A/en
Application granted granted Critical
Publication of KR102423334B1 publication Critical patent/KR102423334B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/50Context or environment of the image
    • G06V20/56Context or environment of the image exterior to a vehicle by using sensors mounted on the vehicle
    • G06V20/58Recognition of moving objects or obstacles, e.g. vehicles or pedestrians; Recognition of traffic objects, e.g. traffic signs, traffic lights or roads
    • G06V20/584Recognition of moving objects or obstacles, e.g. vehicles or pedestrians; Recognition of traffic objects, e.g. traffic signs, traffic lights or roads of vehicle lights or traffic lights
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/25Determination of region of interest [ROI] or a volume of interest [VOI]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/11Region-based segmentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/90Determination of colour characteristics
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/56Extraction of image or video features relating to colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10024Color image
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30248Vehicle exterior or interior
    • G06T2207/30252Vehicle exterior; Vicinity of vehicle

Abstract

후미등 검출 방법 및 그 장치가 개시된다. 후미등 검출 방법은, (a) 입력 영상에서 후미등 색상 임계값 범위를 이용하여 후미등 관심 영역을 결정하는 단계-상기 후미등 색상 임계값 범위는 HSV 칼라 공간에 기반한 임계값 범위임; (b) 상기 후미등 관심 영역에 포함된 각 포인트에 대한 라벨을 할당함에 있어, 선행하는 인접 이웃 포인트가 있는 경우 상기 인접 이웃 포인트의 라벨을 이용하여 라벨을 할당하는 단계; 및 (c) 상기 할당된 라벨들 중 서로 라벨이 동일한 포인트들을 동일한 후미등 후보 영역으로 결정하는 단계를 포함한다. A tail light detection method and apparatus are disclosed. The tail light detection method includes the steps of: (a) determining a tail light ROI by using a tail light color threshold range in an input image, wherein the tail light color threshold range is a threshold value range based on an HSV color space; (b) allocating a label to each point included in the region of interest for the tail light, when there is a preceding neighboring point, allocating a label using the label of the neighboring neighboring point; and (c) determining points having the same label among the assigned labels as the same tail light candidate area.

Description

후미등 검출 방법 및 그 장치{Taillight detection method and apparatus}Taillight detection method and apparatus

본 발명은 차량의 후미등 영역을 검출하기 위한 방법 및 그 장치에 관한 것이다. The present invention relates to a method and apparatus for detecting a tail light area of a vehicle.

VOCC(Vehicular Optical Camera Communication) 시스템에서는 차량의 후미등을 이용해 데이터를 전송하고 차량 내부의 고속 카메라를 통하여 데이터를 수신한다. 이때, 전송된 데이터를 수신하기 위해서는 이미지에 존재하는 후미등 영역을 감지해야 한다. In the VOCC (Vehicular Optical Camera Communication) system, data is transmitted using the vehicle's tail light and data is received through the high-speed camera inside the vehicle. At this time, in order to receive the transmitted data, it is necessary to detect the tail light area existing in the image.

종래의 경우, 후미등 영역을 감지하기 위해 색상과 밝기 조절에 기초하여 일정한 임계값을 적용하였다.In the conventional case, a certain threshold value is applied based on color and brightness control to detect the tail light area.

대한민국공개특허공보 제10-2013-0045664(2013.05.06.)Republic of Korea Patent Publication No. 10-2013-0045664 (2013.05.06.)

본 발명은 후미등 검출 방법 및 그 장치를 제공하기 위한 것이다.The present invention is to provide a method and apparatus for detecting a tail light.

본 발명은 클러스터링 기법을 이용하여 후미등 영역을 결정할 수 있는 후미등 검출 방법 및 그 장치를 제공하기 위한 것이다. An object of the present invention is to provide a method and apparatus for detecting a tail light capable of determining a tail light area using a clustering technique.

본 발명의 일 측면에 따르면, 후미등 검출 방법이 제공된다. According to one aspect of the present invention, a method for detecting a tail light is provided.

본 발명의 일 실시예에 따르면, (a) 입력 영상에서 후미등 색상 임계값 범위를 이용하여 후미등 관심 영역을 결정하는 단계-상기 후미등 색상 임계값 범위는 HSV 칼라 공간에 기반한 임계값 범위임; (b) 상기 후미등 관심 영역에 포함된 각 포인트에 대한 라벨을 할당함에 있어, 선행하는 인접 이웃 포인트가 있는 경우 상기 인접 이웃 포인트의 라벨을 이용하여 라벨을 할당하는 단계; 및 (c) 상기 할당된 라벨들 중 서로 라벨이 동일한 포인트들을 동일한 후미등 후보 영역으로 결정하는 단계를 포함하는 후미등 검출 방법이 제공될 수 있다. According to an embodiment of the present invention, (a) determining a region of interest for a tail light by using a range of a color threshold for a tail light in an input image; the color threshold range for a tail light is a threshold range based on an HSV color space; (b) allocating a label to each point included in the region of interest for the tail light, when there is a preceding neighboring point, allocating a label using the label of the neighboring neighboring point; and (c) determining points having the same label among the assigned labels as the same tail light candidate area.

상기 (b) 단계는, (b1) 상기 후미등 관심 영역 중 제1 포인트에 대해 라벨을 할당하는 단계; (b2) 제2 포인트에 대해 상기 선행하는 인접 이웃 포인트가 있는 경우 상기 선행하는 인접 이웃 포인트의 라벨 중 최소 라벨로 상기 제2 포인트에 대한 라벨을 할당하는 단계를 포함하되, 상기 (b2)는 상기 후미등 관심 영역의 모든 포인트에 대한 라벨 할당이 완료될때까지 순차적으로 반복 수행될 수 있다. The step (b) includes: (b1) allocating a label to a first point of the region of interest in the tail lamp; (b2) allocating a label for the second point as the smallest label among the labels of the preceding neighboring point when there is the preceding adjacent neighbor point for the second point, wherein (b2) includes: It may be sequentially and repeatedly performed until label assignment to all points in the region of interest of the tail light is completed.

상기 (b2) 단계에서, 상기 제2 포인트에 대해 선행하는 인접 이웃 포인트들이 모두 백그라운드 영역에 포함되는 경우, 라벨을 증가시켜 할당하는 단계를 포함할 수 있다. In the step (b2), when all of the neighboring points preceding the second point are included in the background area, the method may include increasing and allocating a label.

상기 선행하는 인접 이웃 포인트는 각 포인트를 기준으로 인접한 좌상측 포인트, 좌측 포인트, 상측 포인트 및 좌우측 포인트이다. The preceding adjacent neighboring points are an upper left point, a left point, an upper point, and a left and right point adjacent to each point.

상기 (b) 단계 이전에, 형태학적 근접 변환을 이용하여 상기 후미등 관심 영역에서 불연속 및 작은 구멍을 제거하는 단계를 더 포함할 수 있다. Prior to step (b), the method may further include removing discontinuities and small holes in the region of interest of the tail lamp using morphological proximity transformation.

상기 (c) 단계 이후에, 상기 결정된 후미등 후보 영역에 기초하여 수평 및 수직 포인트 각각의 최대값과 최소값을 결정하고, 상기 수평 및 수직 포인트 각각의 최대값과 최소값을 이용하여 후미등 영역을 결정하는 단계를 더 포함할 수 있다. After step (c), determining the maximum and minimum values of each of the horizontal and vertical points based on the determined candidate tail light area, and determining the tail light area using the maximum and minimum values of each of the horizontal and vertical points may further include.

상기 결정된 후미등 영역에 대한 검증 과정을 통해 면적이 기준치 이상이거나, 후미등 폭과 높이의 비율이 기준이 이하이거나 입력 영상의 높이와 후미등 영역의 높이의 비율이 기준치 이하인 경우 후미등이 아닌 것으로 판단하여 제거하는 단계를 더 포함할 수 있다. Through the verification process for the determined tail light area, if the area is greater than the standard value, the ratio of the width and height of the tail light is less than the standard, or the ratio of the height of the input image to the height of the tail light area is less than the standard value, it is determined that the tail light is not and removed It may include further steps.

본 발명의 다른 측면에 따르면, 후미등 검출 장치가 제공된다. According to another aspect of the present invention, a tail light detection device is provided.

본 발명의 일 실시예에 따르면, 후미등 검출 장치에 있어서, 적어도 하나의 명령어를 저장하는 메모리; 상기 메모리에 저장된 명령어를 실행하는 프로세서를 포함하되, 상기 명령어는, (a) 입력 영상에서 후미등 색상 임계값 범위를 이용하여 후미등 관심 영역을 결정하는 단계-상기 후미등 색상 임계값 범위는 HSV 칼라 공간에 기반한 임계값 범위임; (b) 상기 후미등 관심 영역에 포함된 각 포인트에 대한 라벨을 할당함에 있어, 선행하는 인접 이웃 포인트가 있는 경우 상기 인접 이웃 포인트의 라벨을 이용하여 라벨을 할당하는 단계; 및 (c) 상기 할당된 라벨들 중 서로 라벨이 동일한 포인트들을 동일한 후미등 후보 영역으로 결정하는 단계를 수행하는 것을 특징으로 하는 후미등 검출 장치가 제공될 수 있다. According to an embodiment of the present invention, there is provided an apparatus for detecting a tail light, comprising: a memory for storing at least one instruction; a processor for executing an instruction stored in the memory, wherein the instruction comprises: (a) determining a region of interest for a tail light by using a range of a color threshold for a tail light in an input image; based threshold range; (b) allocating a label to each point included in the region of interest for the tail light, when there is a preceding neighboring point, allocating a label using the label of the neighboring neighboring point; and (c) determining points having the same label among the assigned labels as the same tail light candidate area may be provided.

본 발명의 일 실시예에 따른 후미등 검출 방법 및 그 장치를 제공함으로써, 클러스터링 기법을 적용하여 후미등 영역을 정확하게 결정할 수 있는 이점이 있다. By providing a method and apparatus for detecting a tail light according to an embodiment of the present invention, there is an advantage in that a tail light area can be accurately determined by applying a clustering technique.

도 1은 본 발명의 일 실시예에 따른 후미등 영역 검출 방법을 나타낸 순서도.
도 2는 본 발명의 일 실시예에 따른 후미등 색상 임계값 범위를 예시한 도면.
도 3은 본 발명의 일 실시예에 따른 후미등 관심 영역을 예시한 도면.
도 4는 본 발명의 일 실시예에 따른 후미등 관심 영역 강화를 설명하기 위해 도시한 도면.
도 5는 본 발명의 일 실시예에 따른 라벨링 방법을 설명하기 위해 도시한 도면.
도 6은 본 발명의 일 실시예에 따른 라벨링 방법에 대한 의사 코드를 예시한 도면.
도 7은 본 발명의 일 실시예에 따른 후미등 영역에 대한 최소 경계 박스를 예시한 도면.
도 8은 본 발명의 일 실시에에 따른 후미등 검출 결과를 도시한 도면.
도 9는 본 발명의 일 실시예에 따른 후미등 검증을 통해 노이즈를 제거한 결과를 도시한 도면.
도 10은 본 발명의 일 실시예에 따른 후미등 검출 장치의 내부 구성을 개략적으로 도시한 블록도.
1 is a flowchart illustrating a method for detecting a tail light area according to an embodiment of the present invention.
2 is a diagram illustrating a tail light color threshold range according to an embodiment of the present invention;
Figure 3 is a view illustrating a tail light region of interest according to an embodiment of the present invention.
Figure 4 is a view for explaining the enhancement of the region of interest in the tail light according to an embodiment of the present invention.
5 is a view for explaining a labeling method according to an embodiment of the present invention.
6 is a diagram illustrating a pseudo code for a labeling method according to an embodiment of the present invention.
7 is a diagram illustrating a minimum bounding box for a tail light area according to an embodiment of the present invention;
8 is a view showing a tail light detection result according to an embodiment of the present invention.
9 is a view showing a result of removing noise through tail light verification according to an embodiment of the present invention;
10 is a block diagram schematically illustrating an internal configuration of a tail light detection device according to an embodiment of the present invention.

본 명세서에서 사용되는 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 명세서에서, "구성된다" 또는 "포함한다" 등의 용어는 명세서상에 기재된 여러 구성 요소들, 또는 여러 단계들을 반드시 모두 포함하는 것으로 해석되지 않아야 하며, 그 중 일부 구성 요소들 또는 일부 단계들은 포함되지 않을 수도 있고, 또는 추가적인 구성 요소 또는 단계들을 더 포함할 수 있는 것으로 해석되어야 한다. 또한, 명세서에 기재된 "...부", "모듈" 등의 용어는 적어도 하나의 기능이나 동작을 처리하는 단위를 의미하며, 이는 하드웨어 또는 소프트웨어로 구현되거나 하드웨어와 소프트웨어의 결합으로 구현될 수 있다.As used herein, the singular expression includes the plural expression unless the context clearly dictates otherwise. In this specification, terms such as “consisting of” or “comprising” should not be construed as necessarily including all of the various components or various steps described in the specification, some of which components or some steps are It should be construed that it may not include, or may further include additional components or steps. In addition, terms such as "...unit" and "module" described in the specification mean a unit that processes at least one function or operation, which may be implemented as hardware or software, or a combination of hardware and software. .

이하, 첨부된 도면들을 참조하여 본 발명의 실시예를 상세히 설명한다. Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명의 일 실시예에 따른 후미등 영역 검출 방법을 나타낸 순서도이며, 도 2는 본 발명의 일 실시예에 따른 후미등 색상 임계값 범위를 예시한 도면이고, 도 3은 본 발명의 일 실시예에 따른 후미등 관심 영역을 예시한 도면이고, 도 4는 본 발명의 일 실시예에 따른 후미등 관심 영역 강화를 설명하기 위해 도시한 도면이며, 도 5는 본 발명의 일 실시예에 따른 라벨링 방법을 설명하기 위해 도시한 도면이고, 도 6은 본 발명의 일 실시예에 따른 라벨링 방법에 대한 의사 코드를 예시한 도면이고, 도 7은 본 발명의 일 실시예에 따른 후미등 영역에 대한 최소 경계 박스를 예시한 도면이며, 도 8은 본 발명의 일 실시에에 따른 후미등 검출 결과를 도시한 도면이며, 도 9는 본 발명의 일 실시예에 따른 후미등 검증을 통해 노이즈를 제거한 결과를 도시한 도면이다. 1 is a flowchart illustrating a tail light area detection method according to an embodiment of the present invention, FIG. 2 is a view illustrating a tail light color threshold range according to an embodiment of the present invention, and FIG. 3 is an embodiment of the present invention It is a view illustrating a region of interest in a tail light according to an example, and FIG. 4 is a diagram illustrating enhancement of a region of interest in a tail light according to an embodiment of the present invention, and FIG. 5 is a labeling method according to an embodiment of the present invention. It is a diagram for explanation, and FIG. 6 is a diagram illustrating a pseudo code for a labeling method according to an embodiment of the present invention, and FIG. 7 is a minimum bounding box for the tail light area according to an embodiment of the present invention. 8 is a view showing a tail light detection result according to an embodiment of the present invention, and FIG. 9 is a view showing a result of removing noise through tail light verification according to an embodiment of the present invention.

단계 110에서 후미등 검출 장치(100)는 입력 영상에서 후미등 색상 임계값 범위를 이용하여 후미등 관심 영역을 검출한다. 후미등 검출 장치(100)는 입력 영상을 RGB 색상 공간에서 HSV 색상 공간 모델로 변환한다. 이는 당업자에게는 자명한 사항이므로 이에 대한 상세한 설명은 생략하기로 한다. In operation 110 , the tail light detection apparatus 100 detects a tail light ROI by using the tail light color threshold value range from the input image. The tail light detection apparatus 100 converts the input image from the RGB color space to the HSV color space model. Since this is obvious to those skilled in the art, a detailed description thereof will be omitted.

HSV 색상 공간 모델로 변환된 입력 영상에 대해 후미등 색상 임계값 범위를 이용하여 후미등 관심 영역을 결정할 수 있다. 여기서, 후미등 색상 임계값 범위는 도 2에 도시된 바와 같다. 도 2는 일 예를 도시한 것일 뿐 반드시 이로 제한되는 것은 아니다.With respect to the input image converted into the HSV color space model, the region of interest of the tail lamp may be determined using the color threshold range of the tail lamp. Here, the tail light color threshold range is as shown in FIG. 2 . 2 illustrates an example, but is not necessarily limited thereto.

도 2에서 보여지는 바와 같이, HSV 색상 공간은 색조(Hue), 채도(Saturation), 명도(Value)를 포함할 수 있다. 이는 당업자에게는 자명한 사항이므로 상세한 설명은 생략하기로 한다. As shown in FIG. 2 , the HSV color space may include hue, saturation, and value. Since this is obvious to those skilled in the art, a detailed description thereof will be omitted.

도 3에는 입력 영상에 후미등 색상 임계값 범위를 적용하여 후미등 관심 영역을 결정한 일 예가 도시되어 있다. 3 illustrates an example of determining a region of interest for a tail lamp by applying a color threshold range for a tail lamp to an input image.

단계 115에서 후미등 검출 장치(100)는 형태학적 근접 변환을 통해 후미등 관심 영역에서 불연속 및 작은 구멍을 제거한다. In step 115, the tail light detection apparatus 100 removes discontinuities and small holes in the tail light ROI through morphological proximity transformation.

입력 영상을 HSV 색상 공간 모델로 변환한 후 후미등 관심 영역이 도출된 경우, 도 4의 (a) 에 도시된 바와 같이, 후미등 관심 영역에 누락 영역이 존재하는 것을 알 수 있다. 따라서, 본 발명의 일 실시예에 따른 후미등 검출 장치(100)는 형태학적 근접 변환을 통해 후미등 관심 영역내에 존재하는 불연속 또는 구멍 영역을 인접 영역과 병합하고 주변 저색 영역 내부의 포인트를 채워 후미등 관심 영역을 향상시킬 수 있다.When the ROI of the tail lamp is derived after converting the input image into the HSV color space model, it can be seen that a missing region exists in the ROI of the tail lamp as shown in FIG. 4A . Accordingly, the apparatus 100 for detecting a tail light according to an embodiment of the present invention merges a discontinuous or hole region existing in the region of interest in the tail lamp with an adjacent region through morphological proximity transformation, and fills in points in the surrounding low-color region to the region of interest in the tail lamp. can improve

도 4의 (b)에는 후미등 관심 영역에서 불연속 및 작은 구멍이 제거된 결과가 예시되어 있다. Figure 4 (b) illustrates the result of removing the discontinuity and small hole in the region of interest of the tail light.

단계 120에서 후미등 검출 장치(100)는 후미등 관심 영역에 포함된 각 포인트(픽셀)에 대해 라벨을 할당하여 후미등 후보 영역을 클러스터링한다. In operation 120 , the tail light detection apparatus 100 clusters the tail light candidate area by allocating a label to each point (pixel) included in the tail light ROI.

이에 대해 보다 상세히 설명하기로 한다. This will be described in more detail.

후미등 관심 영역에 포함된 제1 포인트는 선행하는 인접 이웃 포인트들이 존재하지 않으므로, 제1 라벨이 할당된다. Since the first point included in the tail light ROI does not have any preceding adjacent neighboring points, the first label is assigned.

제2 포인트부터는 선행하는 인접 이웃 포인트의 라벨을 이용하여 라벨을 할당할 수 있다.From the second point on, the label may be assigned using the label of the preceding neighboring point.

예를 들어, 제2 포인트에 대해 선행하는 인접 이웃 포인트가 존재하는 경우, 해당 선행하는 인접 이웃 포인트에 할당된 라벨 중 최소 라벨로 해당 제2 포인트에 대한 라벨이 할당될 수 있다.For example, when a neighboring point preceding the second point exists, a label for the corresponding second point may be assigned as the smallest label among labels assigned to the preceding neighboring point.

그러나 만일 제2 포인트에 대해 선행하는 인접 이웃 포인트가 모두 배경인 경우, 이 경우에는 선행하는 할당된 라벨이 존재하지 않으므로, 제2 포인트에는 신규 라벨 인덱스로 라벨을 할당할 수 있다.However, if all neighboring points preceding the second point are backgrounds, in this case, since there is no preceding assigned label, the second point may be assigned a label with a new label index.

도 5를 참조하여 보다 상세히 설명하기로 한다. It will be described in more detail with reference to FIG. 5 .

도 5의 510이 현재 포인트라고 가정하기로 한다. 본 발명의 일 실시예에서는 선행하는 인접 이웃 포인트는 현재 포인트를 기준으로 좌상측 포인트, 좌측 포인트, 상측 포인트 및 우상측 포인트일 수 있다.It is assumed that 510 of FIG. 5 is a current point. In an embodiment of the present invention, the preceding neighboring point may be an upper left point, a left point, an upper point, and an upper right point based on the current point.

따라서, 현재 포인트를 기준으로 선행하는 인접 이웃 포인트는 520a, 520b, 520c, 520d일 수 있다. Accordingly, neighboring points preceding the current point may be 520a, 520b, 520c, and 520d.

도 5에서 도시된 바와 같이, 현재 포인트(510)의 선행하는 인접 이웃 포인트(520a, 520b, 520c, 520d)에 대해 라벨이 각각 "1", "3", "1", "2"와 같이 할당되어 있다고 가정하기로 한다. As shown in FIG. 5 , for the preceding neighboring points 520a , 520b , 520c , 520d of the current point 510 , the labels are “1”, “3”, “1”, “2”, respectively. Assume that it is assigned.

본 발명의 일 실시예에서는 현재 포인트에 선행하는 인접 이웃 포인트(520a, 520b, 520c, 520d)에 할당된 라벨 중 최소 라벨이 "1" 이므로, 현재 포인트(210)의 라벨은 "1"로 할당할 수 있다. In an embodiment of the present invention, since the minimum label among the labels assigned to the neighboring points 520a, 520b, 520c, and 520d preceding the current point is “1”, the label of the current point 210 is assigned as “1”. can do.

그러나 만일 현재 포인트에 선행하는 인접 이웃 포인트가 모두 배경 영역인 경우, 현재 포인트에는 라벨 인덱스를 증가시켜 라벨을 할당할 수 있다.However, if all neighboring points preceding the current point are background regions, a label may be assigned to the current point by increasing the label index.

만일 현재까지 할당된 라벨 인덱스 중 최대값이 "4"라고 가정하고, 현재 포인트에 선행하는 인접 이웃 포인트가 모두 배경이라고 가정하면, 현재 포인트는 "5"로 라벨이 할당될 수 있다. If it is assumed that the maximum value among the label indices allocated so far is "4", and it is assumed that all neighboring points preceding the current point are backgrounds, the current point may be assigned a label of "5".

도 6에는 이에 대한 의사코드가 예시되어 있다. 6 illustrates a pseudocode for this.

이와 같이, 후미등 관심 영역에 포함된 각 포인트에 대해 선행하는 인접 이웃 포인트의 라벨 정보를 이용하여 라벨링하여 클러스터링하여 라벨에 따라 영역화할 수 있다.In this way, each point included in the region of interest for the tail lamp may be labeled and clustered using label information of a preceding neighboring point, and the region may be classified according to the label.

예를 들어, 상술한 현재 포인트(p)는 q영역으로 할당되며, p의 나머지 각 선행 이웃의 영역도 q의 영역으로 병합될 수 있다. 만일 그렇지 않다면, 현재 포인트(p)는 신규 레이블이 있는 영역으로 할당될 수 있다. For example, the above-described current point p is allocated to the q region, and the remaining regions of each preceding neighbor of p may also be merged into the q region. If not, the current point p may be assigned as a new labeled area.

단계 125에서 후미등 검출 장치(100)는 후미등 관심 영역의 각 포인트에 대한 라벨 할당이 완료되면, 할당된 라벨들 중 서로 라벨이 동일한 포인트들을 동일한 후미등 후보 영역으로 결정한다.In operation 125 , when label assignment to each point of the tail light ROI is completed, the tail light detection apparatus 100 determines points having the same label among the assigned labels as the same tail light candidate area.

단계 130에서 후미등 검출 장치(100)는 후미등 후보 영역의 각 포인트의 좌표를 기반으로 후미등 영역을 결정한다. In operation 130 , the tail light detection apparatus 100 determines the tail light area based on the coordinates of each point of the tail light candidate area.

예를 들어, 결정된 후미등 후보 영역에 기초하여 수평 및 수직 포인트의 최대값과 최소값을 각각 결정한다. For example, a maximum value and a minimum value of the horizontal and vertical points are respectively determined based on the determined tail light candidate area.

예를 들어, 후미등 후보 영역에 대한 리스트를 T라고 가정하기로 한다. 이때, 수학식 1을 이용하여 후미등 후보 영역의 수평 및 수직 포인트의 최대값과 최소값이 도출될 수 있다. For example, it is assumed that the list of tail light candidate areas is T. In this case, the maximum and minimum values of the horizontal and vertical points of the tail light candidate area may be derived using Equation 1.

Figure 112020077112745-pat00001
Figure 112020077112745-pat00001

여기서, T는 후미등 후보 영역에 상응하는 포인트 리스트를 나타내고,

Figure 112020077112745-pat00002
는 수평 포인트의 좌표값들 중 최소값(즉, X축 좌표값들 중 최소값)을 나타내고,
Figure 112020077112745-pat00003
는 수평 포인트의 좌표값들 중 최대값(예를 들어, X축 좌표값들 중 최대값)을 나타내며,
Figure 112020077112745-pat00004
는 수직 포인트의 좌표값들 중 최소값(즉, Y축 좌표값들 중 최소값)을 나타내며,
Figure 112020077112745-pat00005
는 수직 포인트의 좌표값들 중 최대값(즉, Y축 좌표값들 중 최대값)을 나타낸다. Here, T represents a list of points corresponding to the tail light candidate area,
Figure 112020077112745-pat00002
represents the minimum value among the coordinate values of the horizontal point (that is, the minimum value among the X-axis coordinate values),
Figure 112020077112745-pat00003
represents the maximum value among the coordinate values of the horizontal point (for example, the maximum value among the X-axis coordinate values),
Figure 112020077112745-pat00004
represents the minimum value among the coordinate values of the vertical point (that is, the minimum value among the Y-axis coordinate values),
Figure 112020077112745-pat00005
denotes a maximum value among coordinate values of a vertical point (ie, a maximum value among Y-axis coordinate values).

또한, i는 각 포인트의 인덱스를 나타내며, min과 max는 각각 최소값과 최대값을 도출하는 함수를 나타낸다. In addition, i represents the index of each point, and min and max represent functions for deriving the minimum and maximum values, respectively.

후미등 검출 장치(100)는 도출된 수평 및 수직 포인트의 최소값 및 최대값을 이용하여 후미등 픽셀 좌표를 도출할 수 있다. The tail light detection apparatus 100 may derive the rear light pixel coordinates by using the minimum and maximum values of the derived horizontal and vertical points.

예를 들어, 후미등 픽셀 좌표는 수학식 2를 이용하여 도출될 수 있다. For example, the tail light pixel coordinates may be derived using Equation (2).

Figure 112020077112745-pat00006
Figure 112020077112745-pat00006

후미등 검출 장치(100)는 후미등 픽셀 좌표를 포함하는 후미등 영역을 결정한다.The tail light detection apparatus 100 determines the tail light area including the tail light pixel coordinates.

예를 들어, 후미등 검출 장치(100)는 수평 및 수직 포인트의 최소값 및 최대값을 이용하여 후미등 영역(최소 경계 영역)을 결정할 수 있다. 즉, 후미등 검출 장치(100)는 후미등 픽셀 좌표를 포함하는 수평 및 수직 포인트의 최소값 좌표와 수평 및 수직 포인트의 최대값 좌표를 이용하여 후미등 영역을 결정할 수 있다.For example, the tail light detection apparatus 100 may determine the tail light area (minimum boundary area) by using the minimum and maximum values of the horizontal and vertical points. That is, the tail light detection apparatus 100 may determine the tail light area by using the minimum coordinates of horizontal and vertical points including the rear light pixel coordinates and the maximum coordinates of the horizontal and vertical points.

예를 들어, (

Figure 112020077112745-pat00007
,
Figure 112020077112745-pat00008
)를 좌상단 코너로 하며, (
Figure 112020077112745-pat00009
,
Figure 112020077112745-pat00010
)를 우하단 코너로 하는 후미등 영역을 결정할 수 있다. For example, (
Figure 112020077112745-pat00007
,
Figure 112020077112745-pat00008
) as the upper left corner, (
Figure 112020077112745-pat00009
,
Figure 112020077112745-pat00010
) as the lower right corner, it is possible to determine the tail light area.

또한, 후미등 검출 장치(100)는 후미등 영역에 대한 폭과 높이를 하기 수학식 3을 이용하여 도출할 수 있다. Also, the tail light detection apparatus 100 may derive the width and height of the tail light area using Equation 3 below.

Figure 112020077112745-pat00011
Figure 112020077112745-pat00011

여기서,

Figure 112020077112745-pat00012
는 후미등 영역의 폭을 나타내고,
Figure 112020077112745-pat00013
는 후미등 영역의 높이를 나타낸다. here,
Figure 112020077112745-pat00012
represents the width of the tail light area,
Figure 112020077112745-pat00013
indicates the height of the taillight area.

도 7에는 도출된 후미등 영역(즉, 최소 경계 박스)가 예시되어 있다. 7 the derived tail light area (ie the minimum bounding box) is illustrated.

도 8에는 후미등 영역 검출 결과가 도시되어 있다. 도 8의 (a)는 입력 영상을 나타내고, 도 8의 (b)는 후미등 영역 검출 결과이다. 8 shows the tail light area detection result. Fig. 8 (a) shows the input image, and Fig. 8 (b) is the tail light region detection result.

단계 135에서 후미등 검출 장치(100)는 후미등 영역을 검증하여 노이즈 제거한다.In step 135, the tail light detection apparatus 100 verifies the tail light area and removes noise.

후미등 검출 장치(100)는 후미등 영역을 결정한 후 후미등 검증을 후미등이 아닌 경우 제거한다.After determining the tail light area, the tail light detection apparatus 100 removes the tail light verification when the tail light is not the tail light.

예를 들어, 후미등 검출 장치(100)는 후미등 영역을 검증하여 면적이 제1 기준이 이하이거나, 제2 기준치 이상인 경우 브레이크 램프, 신호 등과 같이 후미등이 아닌 것으로 판단하여 이를 제거할 수 있다. For example, the tail light detection apparatus 100 verifies the tail light area, and when the area is less than or equal to the first reference value or greater than or equal to the second reference value, the tail light detection apparatus 100 may determine that the area is not a tail light such as a brake lamp or a signal, and remove it.

이에 대해 보다 상세히 설명하기로 한다.This will be described in more detail.

후미등 검출 장치(100)는 후미등 영역의 폭과 높이 사이의 최대 비율에 대한 제1 기준값(

Figure 112020077112745-pat00014
)을 기초로 검출된 후미등 영역의 폭과 높이 사이의 비율이 제1 기준값 이하인 경우 브레이크 램프로 판단하여 제거할 수 있다. The tail light detection device 100 sets a first reference value (
Figure 112020077112745-pat00014
), when the ratio between the width and the height of the tail light area detected based on the first reference value is less than or equal to the first reference value, it may be determined as a brake lamp and removed.

즉, 후미등 검출 장치(100)는 수학식 4를 만족하는 경우 브레이크 램프로 판단하여 제거할 수 있다. That is, when the tail light detection apparatus 100 satisfies Equation 4, it may be determined as a brake lamp and removed.

Figure 112020077112745-pat00015
Figure 112020077112745-pat00015

또한, 후미등 검출 장치(100)는 후미등 영역에 대한 최소 면적에 대한 제2 기준값(

Figure 112020077112745-pat00016
)을 이용하여 검출된 후미등 영역 중 면적이 너무 작은 영역은 노이즈나 반사된 영역으로 판단하여 제거할 수 있다. In addition, the tail light detection apparatus 100 sets the second reference value (
Figure 112020077112745-pat00016
), an area with too small an area among the tail light areas detected using ) can be determined as noise or a reflected area and removed.

즉, 후미등 검출 장치(100)는 수학식 5를 만족하는 후미등 영역을 제거할 수 있다. That is, the tail light detecting apparatus 100 may remove the tail light area satisfying Equation 5.

Figure 112020077112745-pat00017
Figure 112020077112745-pat00017

또한, 후미등 검출 장치(100)는 입력 영상의 높이를 기준으로 Y축 좌표값이 제3 기준치(

Figure 112020077112745-pat00018
) 이상인 경우 신호등, 건물 불빛으로 판단하여 제거할 수 있다. 즉, 후미등 검출 장치(100)는 수학식 6을 만족하는 후미등 영역을 제거할 수 있다. In addition, the tail light detection apparatus 100 has a Y-axis coordinate value based on the height of the input image as a third reference value (
Figure 112020077112745-pat00018
), it can be removed by judging it as a traffic light or building light. That is, the tail light detection apparatus 100 may remove the tail light area satisfying Equation (6).

Figure 112020077112745-pat00019
Figure 112020077112745-pat00019

여기서, H는 입력 영상의 높이를 나타낸다. Here, H represents the height of the input image.

도 9에는 후미등 검증 후의 결과를 나타낸 도면이다. 도 9의 (b)는 후미등 검증 과정을 통해 제1 기준값 내지 제3 기준값을 이용하여 후미등이 아닌 영역을 제거한 결과이다. 9 is a view showing the result after the tail light verification. 9 (b) is a result of removing the area other than the tail light by using the first reference value to the third reference value through the tail light verification process.

도 10은 본 발명의 일 실시예에 따른 후미등 검출 장치의 내부 구성을 개략적으로 도시한 블록도이다. 10 is a block diagram schematically illustrating an internal configuration of a tail light detection apparatus according to an embodiment of the present invention.

도 10을 참조하면, 본 발명의 일 실시예에 따른 후미등 검출 장치(100)는 메모리(1010) 및 프로세서(1015)를 포함하여 구성된다. Referring to FIG. 10 , the tail light detection apparatus 100 according to an embodiment of the present invention includes a memory 1010 and a processor 1015 .

메모리(1010)는 적어도 하나의 명령어들을 저장한다.The memory 1010 stores at least one instruction.

프로세서(1015)는 메모리(1010)를 제어하기 위한 수단이다. 또한, 프로세서(1015)에 의해 실행된 명령어들은 도 1 내지 도 9를 참조하여 설명한 바와 같이 후미등 검출을 위한 각각의 단게를 수행할 수 있다. 이는 이미 전술한 바와 동일하므로 중복되는 설명은 생략하기로 한다. 이외에도, 후미등 검출 장치(100)는 통신부 등의 구성을 더 포함할 수도 있으나, 본 발명의 주요 논지와는 무관하므로 이들 구성에 대한 설명은 생략하기로 한다. 본 발명의 일 실시예에 따른 후미등 검출 장치(100)는 컴퓨터, 노트북, 영상 처리 장치, 카메라, 차량 등에 포함되는 전자 장치의 일반적인 구성들을 포함하는 것으로 확장 이해되어야 할 것이다. The processor 1015 is a means for controlling the memory 1010 . In addition, the instructions executed by the processor 1015 may perform each step for tail light detection as described with reference to FIGS. 1 to 9 . Since this is the same as that described above, the overlapping description will be omitted. In addition, the tail light detection apparatus 100 may further include a configuration such as a communication unit, but since it is irrelevant to the main point of the present invention, a description of these configurations will be omitted. It should be understood that the tail light detection apparatus 100 according to an embodiment of the present invention includes general components of electronic devices included in a computer, a notebook computer, an image processing device, a camera, and a vehicle.

본 발명의 실시 예에 따른 장치 및 방법은 다양한 컴퓨터 수단을 통하여 수행될 수 있는 프로그램 명령 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다. 컴퓨터 판독 가능 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 컴퓨터 판독 가능 매체에 기록되는 프로그램 명령은 본 발명을 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 분야 통상의 기술자에게 공지되어 사용 가능한 것일 수도 있다. 컴퓨터 판독 가능 기록 매체의 예에는 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기매체(magnetic media), CD-ROM, DVD와 같은 광기록 매체(optical media), 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical media) 및 롬(ROM), 램(RAM), 플래시 메모리 등과 같은 프로그램 명령을 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다. 프로그램 명령의 예에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함한다.The apparatus and method according to an embodiment of the present invention may be implemented in the form of program instructions that can be executed through various computer means and recorded in a computer-readable medium. The computer-readable medium may include program instructions, data files, data structures, and the like, alone or in combination. The program instructions recorded on the computer readable medium may be specially designed and configured for the present invention, or may be known and available to those skilled in the computer software field. Examples of computer-readable recording media include magnetic media such as hard disks, floppy disks and magnetic tapes, optical media such as CD-ROMs and DVDs, and magnetic media such as floppy disks. - Includes magneto-optical media and hardware devices specially configured to store and execute program instructions, such as ROM, RAM, flash memory, and the like. Examples of program instructions include not only machine language codes such as those generated by a compiler, but also high-level language codes that can be executed by a computer using an interpreter or the like.

상술한 하드웨어 장치는 본 발명의 동작을 수행하기 위해 하나 이상의 소프트웨어 모듈로서 작동하도록 구성될 수 있으며, 그 역도 마찬가지이다.The hardware devices described above may be configured to operate as one or more software modules to perform the operations of the present invention, and vice versa.

이제까지 본 발명에 대하여 그 실시 예들을 중심으로 살펴보았다. 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자는 본 발명이 본 발명의 본질적인 특성에서 벗어나지 않는 범위에서 변형된 형태로 구현될 수 있음을 이해할 수 있을 것이다. 그러므로 개시된 실시 예들은 한정적인 관점이 아니라 설명적인 관점에서 고려되어야 한다. 본 발명의 범위는 전술한 설명이 아니라 특허청구범위에 나타나 있으며, 그와 동등한 범위 내에 있는 모든 차이점은 본 발명에 포함된 것으로 해석되어야 할 것이다.Up to now, the present invention has been looked at focusing on the embodiments thereof. Those of ordinary skill in the art to which the present invention pertains will understand that the present invention may be implemented in a modified form without departing from the essential characteristics of the present invention. Therefore, the disclosed embodiments should be considered in an illustrative rather than a restrictive sense. The scope of the present invention is indicated in the claims rather than the foregoing description, and all differences within the scope equivalent thereto should be construed as being included in the present invention.

100: 후미등 검출 장치
1010: 메모리
1015: 프로세서
100: tail light detection device
1010: memory
1015: Processor

Claims (10)

후미등 검출 장치의 후미등 검출 방법에 있어서,
(a) 입력 영상에서 후미등 색상 임계값 범위를 이용하여 후미등 관심 영역을 결정하는 단계-상기 후미등 색상 임계값 범위는 HSV 칼라 공간에 기반한 임계값 범위임;
(b) 상기 후미등 관심 영역에 포함된 각 포인트에 대한 라벨을 할당함에 있어, 선행하는 인접 이웃 포인트가 있는 경우 상기 인접 이웃 포인트의 라벨을 이용하여 라벨을 할당하는 단계;
(c) 상기 할당된 라벨들 중 서로 라벨이 동일한 포인트들을 동일한 후미등 후보 영역으로 결정하는 단계;
(d) 상기 결정된 후미등 후보 영역에 기초하여 수평 및 수직 포인트 각각의 최대값과 최소값을 결정하고, 상기 수평 및 수직 포인트 각각의 최대값과 최소값을 이용하여 후미등 영역을 결정하는 단계; 및
(e) 상기 후미등 영역에 대한 검증 과정을 통해 입력 영상의 높이와 후미등 영역의 높이의 비율이 기준치 이하인 경우 후미등이 아닌 것으로 판단하여 제거하는 단계를 포함하되,
상기 (b) 단계는,
(b1) 상기 후미등 관심 영역 중 제1 포인트에 대해 라벨을 할당하는 단계;
(b2) 제2 포인트에 대해 상기 선행하는 인접 이웃 포인트가 있는 경우 상기 선행하는 인접 이웃 포인트의 라벨 중 최소 라벨로 상기 제2 포인트에 대한 라벨을 할당하고, 상기 제2 포인트에 대해 선행하는 인접 이웃 포인트들이 모두 백그라운드 영역에 포함되는 경우, 라벨을 증가시켜 할당하는 단계를 포함하되,
상기 (b2)는 상기 후미등 관심 영역의 모든 포인트에 대한 라벨 할당이 완료될때까지 순차적으로 반복 수행되는 것을 특징으로 하는 후미등 검출 방법.
In the tail light detection method of the tail light detection device,
(a) determining a region of interest for a tail lamp by using a range of a threshold value of a color of a tail light in an input image;
(b) allocating a label to each point included in the region of interest for the tail light, allocating a label using a label of the neighboring point when there is a preceding neighboring point;
(c) determining points having the same label among the assigned labels as the same tail light candidate area;
(d) determining a maximum value and a minimum value of each of horizontal and vertical points based on the determined candidate tail light area, and determining a tail light area using the maximum and minimum values of each of the horizontal and vertical points; and
(e) if the ratio of the height of the input image to the height of the tail light area is less than or equal to the reference value through the verification process for the tail light area, it is determined that it is not a tail light and removing it;
Step (b) is,
(b1) allocating a label to a first point of the region of interest in the tail light;
(b2) If there is the preceding neighboring point for the second point, the label for the second point is assigned as the smallest label among the labels of the preceding neighboring point, and the neighboring neighboring point that precedes the second point When all the points are included in the background area, including the step of allocating by increasing the label,
The method (b2) is a tail light detection method, characterized in that it is sequentially and repeatedly performed until the label assignment to all points in the region of interest of the tail light is completed.
삭제delete 삭제delete 제1 항에 있어서,
상기 선행하는 인접 이웃 포인트는 각 포인트를 기준으로 인접한 좌상측 포인트, 좌측 포인트, 상측 포인트 및 좌우측 포인트인 것을 특징으로 하는 후미등 검출 방법.
The method of claim 1,
The preceding adjacent neighboring points are an upper left point, a left point, an upper point, and a left and right point adjacent to each point.
제1 항에 있어서,
상기 (b) 단계 이전에,
형태학적 근접 변환을 이용하여 상기 후미등 관심 영역에서 불연속 및 작은 구멍을 제거하는 단계를 더 포함하는 후미등 검출 방법.
The method of claim 1,
Before step (b),
and removing discontinuities and small holes in the tail light region of interest using morphological proximity transformation.
삭제delete 제1 항에 있어서,
상기 결정된 후미등 영역에 대한 검증 과정을 통해 면적이 기준치 이상이거나, 후미등 폭과 높이의 비율이 기준이 이하이거나 입력 영상의 높이와 후미등 영역의 높이의 비율이 기준치 이하인 경우 후미등이 아닌 것으로 판단하여 제거하는 단계를 더 포함하는 후미등 검출 방법.
The method of claim 1,
Through the verification process for the determined tail light area, if the area is greater than the standard value, the ratio of the width and height of the tail light is less than the standard, or the ratio of the height of the input image to the height of the tail light area is less than the standard value, it is determined that the tail light is not and removed A tail light detection method further comprising the step.
제1 항에 따른 방법을 수행하기 위한 프로그램 코드를 기록한 컴퓨터로 판독 가능한 기록매체.
A computer-readable recording medium recording program code for performing the method according to claim 1 .
후미등 검출 장치에 있어서,
적어도 하나의 명령어를 저장하는 메모리;
상기 메모리에 저장된 명령어를 실행하는 프로세서를 포함하되,
상기 명령어는,
(a) 입력 영상에서 후미등 색상 임계값 범위를 이용하여 후미등 관심 영역을 결정하는 단계-상기 후미등 색상 임계값 범위는 HSV 칼라 공간에 기반한 임계값 범위임;
(b) 상기 후미등 관심 영역에 포함된 각 포인트에 대한 라벨을 할당함에 있어, 선행하는 인접 이웃 포인트가 있는 경우 상기 인접 이웃 포인트의 라벨을 이용하여 라벨을 할당하는 단계;
(c) 상기 할당된 라벨들 중 서로 라벨이 동일한 포인트들을 동일한 후미등 후보 영역으로 결정하는 단계;
(d) 상기 결정된 후미등 후보 영역에 기초하여 수평 및 수직 포인트 각각의 최대값과 최소값을 결정하고, 상기 수평 및 수직 포인트 각각의 최대값과 최소값을 이용하여 후미등 영역을 결정하는 단계; 및
(e) 상기 후미등 영역에 대한 검증 과정을 통해 입력 영상의 높이와 후미등 영역의 높이의 비율이 기준치 이하인 경우 후미등이 아닌 것으로 판단하여 제거하는 단계를 수행하되,
상기 (b) 단계는,
(b1) 상기 후미등 관심 영역 중 제1 포인트에 대해 라벨을 할당하는 단계; 및
(b2) 제2 포인트에 대해 상기 선행하는 인접 이웃 포인트가 있는 경우 상기 선행하는 인접 이웃 포인트의 라벨 중 최소 라벨로 상기 제2 포인트에 대한 라벨을 할당하는 단계를 수행하되,
상기 (b2)는 상기 후미등 관심 영역의 모든 포인트에 대한 라벨 할당이 완료될때까지 순차적으로 반복 수행되는 것을 특징으로 하는 후미등 검출 장치.
In the tail light detection device,
a memory storing at least one instruction;
A processor for executing instructions stored in the memory,
The command is
(a) determining a region of interest for a tail lamp by using a range of a threshold value of a color of a tail light in an input image;
(b) allocating a label to each point included in the region of interest for the tail light, allocating a label using a label of the neighboring point when there is a preceding neighboring point;
(c) determining points having the same label among the assigned labels as the same tail light candidate area;
(d) determining a maximum value and a minimum value of each of horizontal and vertical points based on the determined candidate tail light area, and determining a tail light area using the maximum and minimum values of each of the horizontal and vertical points; and
(e) if the ratio of the height of the input image to the height of the tail light area is less than the reference value through the verification process for the tail light area, it is determined that it is not a tail light and removed,
Step (b) is,
(b1) allocating a label to a first point of the region of interest in the tail light; and
(b2) performing the step of allocating a label for the second point as the smallest label among the labels of the preceding neighboring point when there is the preceding neighboring neighboring point with respect to the second point,
The tail light detection apparatus, characterized in that (b2) is sequentially and repeatedly performed until label assignment to all points in the region of interest of the tail light is completed.
삭제delete
KR1020200091695A 2020-07-23 2020-07-23 Taillight detection method and apparatus KR102423334B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020200091695A KR102423334B1 (en) 2020-07-23 2020-07-23 Taillight detection method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020200091695A KR102423334B1 (en) 2020-07-23 2020-07-23 Taillight detection method and apparatus

Publications (2)

Publication Number Publication Date
KR20220012656A KR20220012656A (en) 2022-02-04
KR102423334B1 true KR102423334B1 (en) 2022-07-20

Family

ID=80268500

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020200091695A KR102423334B1 (en) 2020-07-23 2020-07-23 Taillight detection method and apparatus

Country Status (1)

Country Link
KR (1) KR102423334B1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10248874B2 (en) * 2016-11-22 2019-04-02 Ford Global Technologies, Llc Brake light detection

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130045664A (en) 2011-10-26 2013-05-06 (주)티디엘 Vehicle distance detection method and system using tail light
KR20160108344A (en) * 2014-01-17 2016-09-19 케이피아이티 테크놀로지스 엘티디. Vehicle detection system and method thereof
KR101772178B1 (en) * 2015-12-04 2017-08-25 엘지전자 주식회사 Land mark detecting apparatus and land mark detection method for vehicle

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10248874B2 (en) * 2016-11-22 2019-04-02 Ford Global Technologies, Llc Brake light detection

Also Published As

Publication number Publication date
KR20220012656A (en) 2022-02-04

Similar Documents

Publication Publication Date Title
KR101929560B1 (en) Method and apparatus for detecting edge in image
US8059896B2 (en) Character recognition processing system and computer readable medium storing program for character recognition processing
US9965695B1 (en) Document image binarization method based on content type separation
US20130058534A1 (en) Method for Road Sign Recognition
CN109726661B (en) Image processing method and apparatus, medium, and computing device
KR101279712B1 (en) Apparatus and method for providing real-time lane detection, recording medium thereof
JP2006067585A (en) Method and apparatus for specifying position of caption in digital image and extracting thereof
CN110263714B (en) Lane line detection method, lane line detection device, electronic device, and storage medium
KR101028670B1 (en) Method, system, and computer-readable recording medium for recognizing characters included in a document by using language model and ocr
KR102403169B1 (en) Method for providing guide through image analysis, and computer program recorded on record-medium for executing method therefor
JP5539488B2 (en) Judgment of transparent fill based on reference background color
CN110047083A (en) Image noise recognition methods, server and storage medium
KR102423334B1 (en) Taillight detection method and apparatus
KR101735874B1 (en) Apparatus and method for detecting vehicle number plate
US9064179B2 (en) Region extraction apparatus, region extraction method, and computer program product
JP4676978B2 (en) Face detection device, face detection method, and face detection program
KR20220055356A (en) Method of extracting characters from license plate, and license plate character extracting device performing
CN103034854B (en) Image processing apparatus and method
Choodowicz et al. Hybrid algorithm for the detection and recognition of railway signs
CN114897801A (en) AOI defect detection method, device and equipment and computer medium
CN104981819A (en) Character recognition system, character recognition program and character recognition method
JPH10232926A (en) Image processor and its method
JP4078045B2 (en) Image processing apparatus, method, program, and storage medium
KR102546198B1 (en) Method for learning data classification based physical factor, and computer program recorded on record-medium for executing method thereof
KR102531917B1 (en) Method for annotation using boundary transplant, and computer program recorded on record-medium for executing method thereof

Legal Events

Date Code Title Description
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant