KR101180676B1 - A method for controlling high beam automatically based on image recognition of a vehicle - Google Patents

A method for controlling high beam automatically based on image recognition of a vehicle Download PDF

Info

Publication number
KR101180676B1
KR101180676B1 KR1020090069934A KR20090069934A KR101180676B1 KR 101180676 B1 KR101180676 B1 KR 101180676B1 KR 1020090069934 A KR1020090069934 A KR 1020090069934A KR 20090069934 A KR20090069934 A KR 20090069934A KR 101180676 B1 KR101180676 B1 KR 101180676B1
Authority
KR
South Korea
Prior art keywords
vehicle
image
light source
high beam
recognition
Prior art date
Application number
KR1020090069934A
Other languages
Korean (ko)
Other versions
KR20110012279A (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 KR1020090069934A priority Critical patent/KR101180676B1/en
Publication of KR20110012279A publication Critical patent/KR20110012279A/en
Application granted granted Critical
Publication of KR101180676B1 publication Critical patent/KR101180676B1/en

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60QARRANGEMENT OF SIGNALLING OR LIGHTING DEVICES, THE MOUNTING OR SUPPORTING THEREOF OR CIRCUITS THEREFOR, FOR VEHICLES IN GENERAL
    • B60Q1/00Arrangement of optical signalling or lighting devices, the mounting or supporting thereof or circuits therefor
    • B60Q1/02Arrangement of optical signalling or lighting devices, the mounting or supporting thereof or circuits therefor the devices being primarily intended to illuminate the way ahead or to illuminate other areas of way or environments
    • B60Q1/04Arrangement of optical signalling or lighting devices, the mounting or supporting thereof or circuits therefor the devices being primarily intended to illuminate the way ahead or to illuminate other areas of way or environments the devices being headlights
    • B60Q1/14Arrangement of optical signalling or lighting devices, the mounting or supporting thereof or circuits therefor the devices being primarily intended to illuminate the way ahead or to illuminate other areas of way or environments the devices being headlights having dimming means
    • B60Q1/1415Dimming circuits
    • B60Q1/1423Automatic dimming circuits, i.e. switching between high beam and low beam due to change of ambient light or light level in road traffic
    • B60Q1/143Automatic dimming circuits, i.e. switching between high beam and low beam due to change of ambient light or light level in road traffic combined with another condition, e.g. using vehicle recognition from camera images or activation of wipers
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60QARRANGEMENT OF SIGNALLING OR LIGHTING DEVICES, THE MOUNTING OR SUPPORTING THEREOF OR CIRCUITS THEREFOR, FOR VEHICLES IN GENERAL
    • B60Q1/00Arrangement of optical signalling or lighting devices, the mounting or supporting thereof or circuits therefor
    • B60Q1/0017Devices integrating an element dedicated to another function
    • B60Q1/0023Devices integrating an element dedicated to another function the element being a sensor, e.g. distance sensor, camera
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60QARRANGEMENT OF SIGNALLING OR LIGHTING DEVICES, THE MOUNTING OR SUPPORTING THEREOF OR CIRCUITS THEREFOR, FOR VEHICLES IN GENERAL
    • B60Q2300/00Indexing codes for automatically adjustable headlamps or automatically dimmable headlamps
    • B60Q2300/10Indexing codes relating to particular vehicle conditions
    • B60Q2300/11Linear movements of the vehicle
    • B60Q2300/112Vehicle speed
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60QARRANGEMENT OF SIGNALLING OR LIGHTING DEVICES, THE MOUNTING OR SUPPORTING THEREOF OR CIRCUITS THEREFOR, FOR VEHICLES IN GENERAL
    • B60Q2300/00Indexing codes for automatically adjustable headlamps or automatically dimmable headlamps
    • B60Q2300/30Indexing codes relating to the vehicle environment
    • B60Q2300/31Atmospheric conditions
    • B60Q2300/314Ambient light
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60QARRANGEMENT OF SIGNALLING OR LIGHTING DEVICES, THE MOUNTING OR SUPPORTING THEREOF OR CIRCUITS THEREFOR, FOR VEHICLES IN GENERAL
    • B60Q2300/00Indexing codes for automatically adjustable headlamps or automatically dimmable headlamps
    • B60Q2300/40Indexing codes relating to other road users or special conditions
    • B60Q2300/41Indexing codes relating to other road users or special conditions preceding vehicle
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60QARRANGEMENT OF SIGNALLING OR LIGHTING DEVICES, THE MOUNTING OR SUPPORTING THEREOF OR CIRCUITS THEREFOR, FOR VEHICLES IN GENERAL
    • B60Q2300/00Indexing codes for automatically adjustable headlamps or automatically dimmable headlamps
    • B60Q2300/40Indexing codes relating to other road users or special conditions
    • B60Q2300/42Indexing codes relating to other road users or special conditions oncoming vehicle

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Lighting Device Outwards From Vehicle And Optical Signal (AREA)

Abstract

본 문서는 차량의 상향등 자동 제어 방법을 개시한다. 본 문서에서 개시되는 상향등 자동 제어 방법에 따르면 영상 인식 기반으로 전방 카메라에서 촬영되는 영상을 기준으로 주야를 판단하고, 전방 차량의 존부를 판단하여 판단 결과에 따라 상향등(high beam)의 켜고 끄는 것을 제어한다. 특히 영역 구분 방식에 따라 주야를 판단하여 판정 정확도를 높이고, 차량 특성을 고려한 광원 위치, 움직임 등의 광원 요소를 분석하여 전방 차량 판단 정확도를 높인다.This document discloses a method for automatically controlling a vehicle's high beams. According to the automatic control method of the high beam disclosed in this document, the day and night are determined based on the image captured by the front camera based on image recognition, and the presence or absence of the front vehicle is controlled to control the high beam on and off according to the determination result. do. In particular, the determination of day and night is improved according to the area classification method, and the accuracy of the forward vehicle determination is improved by analyzing light source elements such as light source position and motion in consideration of vehicle characteristics.

상향등 자동 제어 High beam automatic control

Description

차량의 영상인식 기반 상향등 자동 제어 방법{A METHOD FOR CONTROLLING HIGH BEAM AUTOMATICALLY BASED ON IMAGE RECOGNITION OF A VEHICLE}A METHOD FOR CONTROLLING HIGH BEAM AUTOMATICALLY BASED ON IMAGE RECOGNITION OF A VEHICLE}

본 발명은 차량의 상향등 자동 제어에 관한 것으로 보다 구체적으로 차량의 영상인식 기반 상향등 자동 제어에 관한 것이다.The present invention relates to the automatic control of the high beam of the vehicle, and more particularly to the automatic control of the high beam based on the image recognition of the vehicle.

자동차의 전조 상향등 자동제어장치에 있어서, 야간주행시 반대차선의 차량운전자가 상향등(high beam)에 의해 시야를 방해하지 않아 상대차량의 사고 위험성을 해소할 수 있도록, 차체 전조등의 일측 후방으로 설치되는 광감지센서와, 하향등의 온작동시 일측의 비반전단자(+)에 광감지센서(10)의 신호가 입력되고 타측의 반전단자(-)에는 기준치(Vref)가 입력되는 비교기의 출력신호를 기초로 상향등(high beam)을 자동 점멸하는 전조상향등 자동제어장치와 같이 각종 센서를 이용한 방식이 적용되고 있다.In the automatic control of the headlight uplight of a vehicle, a light installed at one side of the headlight of a vehicle so that a driver of a vehicle in the opposite lane during the night driving does not obstruct the view of the vehicle by a high beam so that the risk of an accident of a relative vehicle can be eliminated. The output signal of the comparator is input to the non-inverting terminal (+) on one side of the sensing sensor and the non-inverting terminal (+) on the other hand, and the reference value (Vref) is input to the inverting terminal (-) on the other side. A method using various sensors, such as an automatic headlight booster automatic control device that automatically flashes a high beam on the basis, has been applied.

본 발명은 상술한 배경기술에 있어서, 차량의 영상인식 기반 상향등 자동 제어 방법을 제공함을 해결 과제고 한다.SUMMARY OF THE INVENTION The present invention has been made in the above-mentioned background, and provides a method for automatically controlling a vehicle's image recognition-based upward lamp.

상술한 과제를 해결하기 위한 일 수단으로서의 차량의 영상인식 기반 상향등 자동 제어 방법은, 전방 영상을 획득하는 단계, 상기 영상 이미지 내에서 구분된 각 영역에 대한 색정보를 영역별로 설정된 기준과 비교하여 야간인지 여부를 판단하는 주야간 판단 단계, 상기 영상에서 추출되는 광원으로 검출되는 차량 후보를 선행 차량 및 대향 차량 중 하나를 차량 검출 단계, 및 야간으로 판단되고 선행 차량 및 대향 차량을 모두 검출하지 못한 경우 상향등(high beam)을 키도록 제어하는 단계를 포함한다.According to an aspect of the present invention, there is provided a method of automatically controlling a vehicle's image recognition-based upward light as a means for solving the above-mentioned problems. Day and night determination step of determining whether the detection, the vehicle candidate detected by the light source extracted from the image, one of the preceding vehicle and the opposite vehicle, the vehicle detection step, and if it is determined that at night and both the preceding vehicle and the opposite vehicle are not detected and controlling to turn on the high beam.

상기 주야간 판단 단계에서, 영역별 평균 RGB 값을 계산해서 영역별로 설정된 임계값과 비교하고, 임계값보다 같거나 작은 경우 야간으로 판단할 수 있다.In the day and night determination step, the average RGB value for each area may be calculated and compared with a threshold set for each area, and may be determined to be night if it is less than or equal to the threshold.

상기 차량 검출 단계에서, 상기 영상의 연속적인 다수의 이미지에서 추출되는 광원의 변화에 대해 분포도를 생성하고 생성된 분포도를 기준으로 차량 후보의 측정 값을 비교하여 차량일 확률을 계산하여 차량을 검출할 수 있다.In the vehicle detecting step, a distribution map may be generated for a change in a light source extracted from a plurality of consecutive images of the image, and the measured probability of the vehicle candidate may be calculated based on the generated distribution map to calculate the probability of the vehicle to detect the vehicle. Can be.

상기 광원의 위치 변화에 대한 분포도를 생성하되, 이미지 내 광원의 X축 위치 값에 따른 Y축 위치 값의 평균과 표준편차로 가우스 분포도를 생성할 수 있다.A Gaussian distribution may be generated based on an average and a standard deviation of the Y-axis position values according to the X-axis position values of the light sources in the image, while generating a distribution diagram for the positional change of the light source.

상기 광원의 모양 변화에 대한 분포도를 생성하되, 이미지 내 광원의 Y축 위 치 값에 따른 X, Y축 크기의 평균과 표준편차로 가우스 분포도를 생성할 수 있다.While generating the distribution of the shape change of the light source, a Gaussian distribution can be generated by the mean and standard deviation of the X, Y-axis size according to the Y-axis position value of the light source in the image.

상기 광원의 움직임 변화에 대한 분포도를 생성하되, 이미지 내 광원의 Y축 위치 값에 따른 움직인 각도 값의 평균과 표준편차로 가우스 분포도를 생성할 수 있다.While generating a distribution chart for the change in the movement of the light source, a Gaussian distribution chart may be generated based on the mean and standard deviation of the moving angle values according to the Y-axis position value of the light source in the image.

상기 차량 검출 단계에서, 상기 영상의 Red 검출영상으로부터 차량 후보 주의에 Red 성분을 가지는 픽셀들이 다량 존재할 경우 선행 차량이 있는 것으로 결정할 수 있다.In the vehicle detecting step, when there are a large number of pixels having a red component in the vehicle candidate attention from the red detection image of the image, it may be determined that there is a preceding vehicle.

상기 차량 검출 단계에서, 상기 영상 이미지 내 Y축 상에서 동일한 높이에서 두 개의 광원이 X축 값 차이가 일정하게 나타나는 경우 차량 검출인 것으로 결정할 수 있다.In the vehicle detecting step, when the two light sources at the same height on the Y axis in the video image appear constant in the X-axis value, it may be determined that the vehicle detection.

상기 차량 검출 단계에서, 상기 영상에서 추출된 광원에 대한 옵티컬 플로우와 광원 색을 이용하여 추월 차량을 검출할 수 있다.In the vehicle detecting step, the overtaking vehicle may be detected using the optical flow and the light source color of the light source extracted from the image.

상기 제어 단계에서, 차량 속도를 고려하여 일정 속도 이상인 경우에만 동작하고, 일정 속도 이상에서 일정 시간 이상 유지된 경우에는 잠시 상기 일정 속도보다 낮은 속도로 운행되더라도 동작이 유지되도록 제어할 수 있다.In the controlling step, the operation may be performed only in consideration of the vehicle speed at a speed higher than a predetermined speed, and if the speed is maintained at a speed lower than the predetermined speed for a while, the operation may be maintained.

본 발명에 따르면 영상 기반으로 상향등(high beam)을 자동으로 제어할 수 있다. 이로써, 반대차선의 차량 유무에 관계없이 번거로운 상향등(high beam) 점멸조작을 하지 않아 편리함이 증대됨과 동시에 반대차선 차량 운전자의 시야를 방해하지 않아 상대차량의 사고위험을 해소할 수 있는 효과가 있다. 또한 영상 기반에 따른 다양한 솔루션이 제시되어 제어 성능이 향상된 효과가 있다. According to the present invention, a high beam may be automatically controlled based on an image. As a result, convenience is increased by not having to perform cumbersome high beam flashing operation regardless of whether the vehicle is in the opposite lane and at the same time, there is an effect of eliminating the accident risk of the relative vehicle without disturbing the vision of the opposite lane vehicle driver. In addition, various solutions based on image are presented, which improves control performance.

이하 도면을 참조하여 차량에 설치된 전방 카메라를 이용하여 영상 인식을 기반으로 판단되는 상황에 따라 운전자의 조작 없이 자동으로 상향등(high beam)을 키고 꺼주는 상향등 자동 제어에 관한 본 발명의 실시예들을 설명하도록 한다. DETAILED DESCRIPTION OF THE INVENTION Hereinafter, embodiments of the present invention related to an automatic control of an overhead light for automatically turning on and off a high beam without a driver's operation according to a situation determined based on image recognition using a front camera installed in a vehicle will be described. Do it.

도 1은 본 발명의 일 실시예에 따른 상향등 자동 제어 시스템의 구조도이고, 도 2는 본 발명의 일 실시예에 따른 상향등 자동 제어 시스템에서 제어부의 구조도이다.FIG. 1 is a structural diagram of an automatic high beam control system according to an embodiment of the present invention, and FIG. 2 is a structural diagram of a control unit in an automatic high beam control system according to an embodiment of the present invention.

본 실시예에 따르면 도 1에 도시된 바와 같이 상향등 자동 제어 시스템은 영상처리 범용 제어부(100), 영상 모듈(110), 영상변환 보드(120), 상향등(high beam, 130), 구동기(140), 데이터 저장부(150)을 포함하여 영상 처리 결과에 기초하여 상향등(high beam, 130)의 키고 끔을 제어한다.According to the present embodiment, as shown in FIG. 1, the automatic control system for the high beam lamp includes an image processing universal controller 100, an image module 110, an image conversion board 120, a high beam 130, and a driver 140. In addition, the data storage unit 150 controls the turning on and off of the high beam 130 based on the image processing result.

특히, 도 2를 참조할 때 영상처리 범용 제어부(100)는 전방 카메라(200)에서 촬영된 영상을 입력받아 디코딩하는 비디오 디코더부(10)와 전방 카메라(200) 전원을 공금하는 전원부(11), 비디오 디코더부(10)에서 처리된 신호를 이용하여 영상 기반의 상향등(high beam, 130) 제어에 필요한 영상 처리하고 디지털 신호 처리부(DSP, 12)를 포함할 수 있다. 그리고 디지털 신호 처리부(12)에서 하향등(15) 입력 신호를 처리해서 영상 처리 결과에 기초하여 상향등(high beam, 18) 제어 신호를 출력할 수 있다. 아울러 디지털 신호 처리부(12) 동작을 위한 데이터 저장을 위해 임시저장소(DDR RAM)/영구 저장소(FLASH ROM)를 포함하는 메모리부(13), 제어 부(100) 내외부 신호를 송수신하는 트랜시버(HS CAN TRANCEIVER, 14)를 포함할 수 있다. In particular, referring to FIG. 2, the image processing universal control unit 100 receives a video captured by the front camera 200 and decodes the video decoder unit 10 and a power supply unit 11 that supplies power to the front camera 200. In addition, the video processing unit 10 may process an image necessary for controlling an image-based high beam 130 by using the signal processed by the video decoder 10 and may include a digital signal processor (DSP) 12. The digital signal processor 12 may process the downlight 15 input signal and output a high beam 18 control signal based on the image processing result. In addition, the memory unit 13 including a temporary storage (DDR RAM) / permanent storage (FLASH ROM) for the data storage for the operation of the digital signal processing unit 12, a transceiver for transmitting and receiving signals inside and outside the control unit 100 (HS CAN) TRANCEIVER, 14).

도 3은 본 발명의 일 실시예에 따른 상향등 자동 제어 방법의 흐름도이다.3 is a flowchart of a method for automatically controlling a high beam according to an embodiment of the present invention.

도 3을 참조하면 본 실시예에 따라 상향등 자동 제어하기 위해 먼저 단계 S300에서 영상을 획득한다. 그리고 단계 S310에서 차량 외부 환경이 주간인지 야간인지 판단한다. 그리고 단계 S320에서 자차 선행차량이나 대향차량이 존재하는지 검출한다. 그러면 단계 S330에서 단계 S310의 주야 판단 결과와 단계 S320의 선행차량이나 대향차량이 존재여부에 따라 상향등(high beam)의 켜고 끄는 것을 제어한다. 즉, 야간인 경우 상향등(high beam)을 키지만 선행 차량이나 대향 차량의 후미등 또는 상향등(high beam)의 영향으로 충분히 밝은 경우에는 상향등(high beam)을 끄도록 제어한다. Referring to FIG. 3, first, an image is acquired in step S300 in order to automatically control a high beam according to the present embodiment. In operation S310, it is determined whether the vehicle external environment is day or night. In step S320, it is detected whether the host vehicle ahead or the counter vehicle exists. Then, in step S330 it is controlled to turn on or off the high beam according to the day and night determination result of step S310 and the presence of the preceding vehicle or the counter vehicle of step S320. That is, at night, a high beam is turned on, but when it is bright enough due to a tail light or a high beam of the preceding vehicle or the opposite vehicle, the high beam is turned off.

보다 구체적으로 단계 S310의 주야 판단 방법은, 단계 S312의 영상 이미지내 영역을 예를 들어, 하늘 영역과 지면 영역으로 구분하는 ROI 분리 과정, 단계 S314의 영역별 색정보 예를 들어 RGB 값 계산처리 과정, 단계 S316의 영역별 RGB 값을 기준 임계값(threshold)과 비교하는 과정, 단계 S318의 주/야 판단과정을 포함한다.More specifically, the day and night determination method of step S310, ROI separation process for dividing the region in the video image of step S312 into, for example, the sky region and the ground region, color information for each region of step S314, for example RGB value calculation processing process The process may include comparing the area-specific RGB value of step S316 with a reference threshold, and day / night determination process of step S318.

그리고 단계 S320의 선행차량이나 대향차량 판단 방법은, 단계 S321의 영상 전처리 과정, 단계 S322의 차량 후보 검출 과정, 단계 S323의 차량 및 차량후보 추적 과정, 단계 S324의 차량후보 검증 과정, 단계 S325의 차량후보 변환 과정, 단계 S326의 차량 및 차량후보 제거 과정, 단계 S327의 차량 리스트에 차량으로 저장된 차량정보 예를 들어 검출된 차량수 출력 과정을 포함한다.The determination method of the preceding vehicle or the counter vehicle in step S320 includes the image preprocessing step in step S321, the vehicle candidate detection step in step S322, the vehicle and vehicle candidate tracking step in step S323, the vehicle candidate verification step in step S324, and the vehicle in step S325. A candidate conversion process, a vehicle and vehicle candidate removing process in step S326, vehicle information stored as a vehicle in the vehicle list in step S327, for example, a process of outputting a detected vehicle number.

단계 S330의 상향등 제어 방법은, 단계 S331에서 단계 S320의 선행차량이나 대향차량 존부 정보에 따라 차량이 없는 경우 긍정으로 단계 S336으로 진행하고, 단계 S332에서 단계 S310의 주야 판단 결과에 따라 야간 판정인 경우 긍정으로 단계 S336으로 진행하여 단계 S336에서 모두 긍정인 경우 단계 S337에서 상향등(High beam) 켜는 것으로 제어한다.The method of controlling the high beam of step S330 is positive if there is no vehicle according to the preceding vehicle or the counter vehicle presence information of step S320 in step S331, and if it is night determination according to the day and night judgment result of step S310 in step S332. If the flow goes to step S336 as affirmative and both are positive in step S336, the control is performed by turning on a high beam in step S337.

이때 단계 S330에서는 단계 S340에서 측정되는 차량 속도에 기초하여 일정 속도 예를 들어 40KPH 이상인 경우를 만족하거나(S333), 단계 S350에서 판단되는 하향등의 상태에 기초하여 하향등이 켜진 상태인 경우(S334), 단계 S360에서 측정되는 조향각에 기초하여 일정 범위내 속하는 경우(S335) 등을 더 고려하여 상향등(high beam)의 켜고 끄는 것을 제어할 수도 있다.In this case, in step S330, if the predetermined speed, for example, 40 KPH or more is satisfied based on the vehicle speed measured in step S340 (S333), or if the downlight is turned on based on the state of the downlight determined in step S350 (S334). On the basis of the steering angle measured in step S360, it may be controlled to turn on or off the high beam by further considering the case (S335).

도 4는 본 발명의 일 실시예에 따른 상향등 자동 제어에서 주야간 판단시 영상 분할예를 도시한 도면이다.4 is a diagram illustrating an example of image segmentation during the day and night determination in the automatic high beam control according to an embodiment of the present invention.

영상 기반의 상향등 자동 제어에서는 영상을 통해 주간으로 판단되면 상향등(high beam)을 끄는 쪽으로 제어되고, 야간으로 판단되면 상향등(high beam)을 켜는 쪽으로 제어된다. 이를 위해 영상을 통해 주간, 야간을 정확하게 구분하는 것이 중요하다. 본 실시예에 따르면 획득된 영상의 전체 영상 화면(400) 중에서 하늘 영역(410)과 지면 영역(420)을 구분하여 처리한다. 예를 들어, 하늘 영역은 1~55 픽셀 영역으로 정의하고, 지면 영역은 51~90 픽셀 영역으로 정의할 수 있다. In the image-based automatic high beam control, the image is controlled to turn off the high beam when it is determined to be daytime, and when it is determined to be night, it is controlled to turn on the high beam. For this purpose, it is important to accurately distinguish between day and night through images. According to the present exemplary embodiment, the sky area 410 and the ground area 420 are divided and processed among the entire image screen 400 of the acquired image. For example, the sky area may be defined as an area of 1 to 55 pixels, and the ground area may be defined as an area of 51 to 90 pixels.

도 5는 본 발명의 일 실시예에 따른 상향등 자동 제어에서 영상 분할 방식에 따른 주야간 판단 방법의 흐름도이다.FIG. 5 is a flowchart illustrating a method for determining day and night according to an image segmentation method in automatically controlling a high beam according to an exemplary embodiment of the present invention.

본 실시예에 따르면 단계 S500에서 전방 영상을 획득한 후 단계 S510에서 하늘 영역(410)을 분리하고, 단계 S520에서 하늘 영역(410)에 대한 RGB 값을 추출한 후 단계 S530에서 RGB 평균값을 계산한다. 그리고 단계 S570에서 하늘 영역(410)에 설정된 임계값과 비교하여 RGB 평균값이 임계값보다 작거나 같은 경우 단계 S580로 진행한다. According to the present exemplary embodiment, after acquiring the front image in step S500, the sky area 410 is separated in step S510, an RGB value for the sky area 410 is extracted in step S520, and an RGB average value is calculated in step S530. In operation S570, when the RGB average value is smaller than or equal to the threshold value compared to the threshold value set in the sky area 410, the process proceeds to step S580.

그리고 단계 S540에서 지면 영역(420)을 분리하고, 단계 S550에서 지면 영역(420)에 대한 RGB 값을 추출한 후 단계 S560에서 RGB 평균값을 계산한다. 그리고 단계 S570에서 지면 영역(420)에 설정된 임계값과 비교하여 RGB 평균값이 임계값보다 작거나 같은 경우 단계 S580로 진행한다. In step S540, the ground area 420 is separated, and in step S550, an RGB value for the ground area 420 is extracted, and in step S560, an RGB average value is calculated. In operation S570, when the RGB average value is less than or equal to the threshold value compared to the threshold value set in the ground area 420, the process proceeds to step S580.

단계 S580에서 하늘 영역(410)에 대한 RGB 평균값이 임계값보다 작거나 같고, 지면 영역(420)에 대한 RGB 평균값도 임계값보다 작거나 같으면, 단계 S590으로 진행하여 상향등(high beam)을 켜는 쪽을 제어한다. If the RGB average value for the sky area 410 is less than or equal to the threshold value and the RGB average value for the ground area 420 is also less than or equal to the threshold value in step S580, the process proceeds to step S590 to turn on the high beam. To control.

도 6 내지 도 9는 본 발명의 일 실시예에 따른 상향등 자동 제어에서 영상 분할 방식에 따른 주야간 판단 방법의 성능 확인을 나타내는 그래프이다.6 to 9 are graphs showing the performance verification of the day and night determination method according to the image segmentation method in the automatic automatic control of the upward light according to an embodiment of the present invention.

도 6은 야간 조건에서 야간이 판정됨을 나타내는 그래프이고, 도 7은 주간 조건에서 주간이 판정됨을 나타내는 그래프이며, 도 8은 야간시 터널 조건에서 야간이 판정됨을 나타내는 그래프이고, 도 9는 주간시 터널 조건에서도 야간이 판정됨을 나타내는 그래프이다.6 is a graph showing that the night is determined in the night condition, FIG. 7 is a graph showing the day is determined in the daytime condition, FIG. 8 is a graph indicating that the night is determined in the tunnel condition at night, and FIG. 9 is a tunnel at the daytime condition. It is a graph showing that night is determined even under the conditions.

일반적으로 전방 영상을 촬영하는 전방 카메라는 고정된 위치에 장착되기 때 문에 도 6 내지 도 9에 나타나듯 영역 구분 방식은 비교적 정확한 판정 결과를 내고 있음을 확인할 수 있다. 이때 상향등(high beam)을 켜기위한 임계값과, 상향등(high beam)을 끄기위한 임계값은 이원화시켜 각각의 경우에 대해 별도로 설정해 놓을 수 있다. 도 6 내지 도 9을 참조하면 상향등(high beam)을 끄기위한 임계값(파란선)이 상향등(high beam)을 켜기위한 임계값(붉은선)보다 크게 설정된 것을 확인할 수 있다.In general, since the front camera for photographing the front image is mounted at a fixed position, as shown in FIGS. 6 to 9, it can be confirmed that the area classification method produces a relatively accurate determination result. In this case, the threshold for turning on the high beam and the threshold for turning off the high beam may be dualized and set separately for each case. 6 to 9, it can be seen that a threshold value (blue line) for turning off the high beam is set to be larger than a threshold value (red line) for turning on the high beam.

도 10은 본 발명의 일 실시예에 따른 상향등 자동 제어에서 차량 검출 방법의 제1 흐름도이다.10 is a flowchart illustrating a method of detecting a vehicle in automatic control of a high beam according to an exemplary embodiment of the present invention.

상향등 자동 제어에서 비록 야간이라도 주변에 선행차량이나 대향차량이 존재하는 경우에는 충분히 밝기 때문에 상향등(high beam)을 켜지 않더라도 주변 파악이 가능하다는 점에서 차량 검출이 적용되는 것이다. 이때 전방 영상에 기초하여 판단하므로 도로 위나 주면의 반사판과 전방 차량을 구분하여 정확하게 추적하는 것이 중요하다. In the automatic control of the high beam, even when the vehicle is at night, the preceding vehicle or the counter vehicle is sufficiently bright, so that the vehicle detection is applied in that the surrounding can be grasped even if the high beam is not turned on. At this time, since it is determined based on the front image, it is important to accurately track the reflection plate and the front vehicle on the road or the main surface.

본 실시예에 따르면 먼저 단계 S600에서 영상 전처리 과정, 단계 S610에서 차량후보 검출 및 추적 과정, 단계 S620에서 차량후보 검증 과정, 단계 S630에서 차량 후보 결정 과정이 수행된다.According to the present embodiment, first, an image preprocessing process is performed in step S600, a vehicle candidate detection and tracking process in step S610, a vehicle candidate verification process in step S620, and a vehicle candidate determination process in step S630.

보다 구체적으로 단계 S600의 영상 전처리 과정에 따르면, 단계 S601에서 원본 영상을 획득하고 단계 S602에서 이진화 영상 처리한다. 도 11은 본 발명의 일 실시예에 따른 상향등 자동 제어를 위한 차량 검출에서 이진화 처리 전후를 나타낸 도면이다. 본 실시예에 따르면 YCbCr 영상에서 Y성분만을 추출하여 이진화 처리한 다. 이는 영상처리 시간을 줄이고 밝기 값으로 광원을 찾기 위함이다.More specifically, according to the image preprocessing process of step S600, an original image is obtained in step S601 and binarized image processing in step S602. FIG. 11 is a diagram illustrating before and after binarization processing in vehicle detection for automatic control of an overhead light according to an embodiment of the present invention. FIG. According to this embodiment, only Y components are extracted from the YCbCr image and binarized. This is to reduce the image processing time and find the light source by the brightness value.

그리고 단계 S603에서 광원을 추출한다. 도 12는 본 발명의 일 실시예에 따른 상향등 자동 제어를 위한 차량 검출에서 광원 추출 처리 전후를 나타낸 도면이다. 도 11에서 추출한 Y영상에서 광원을 추출한다. 야간에는 거의 차량의 전조등이나 후미등 만이 보이기 때문에 광원이 차량의 존부를 판정하는데 중요한 요소가 된다. 광원이 멀리 있을 수록 밝기가 약해지기 때문에 세로축 값이 낮을수록 광원 판정 임계값도 낮게 설정하는 것이 바람직하다.In step S603, the light source is extracted. 12 is a diagram illustrating before and after a light source extraction process in vehicle detection for automatic control of a high beam according to an embodiment of the present invention. A light source is extracted from the Y image extracted in FIG. 11. Since only the headlights and taillights of the vehicle are visible at night, the light source is an important factor in determining the existence of the vehicle. The farther the light source is, the weaker the brightness is. Therefore, the lower the vertical axis value is, the lower the light source determination threshold value is preferably set.

그리고 단계 S601에서 획득하는 원본 영상을 이용하여 단계 S604에서 RGB 영상 처리하고 단계 S605에서 Red 검출 처리한다. 도 13은 본 발명의 일 실시예에 따른 상향등 자동 제어를 위한 차량 검출에서 Red 검출 처리 전후를 나타낸 도면이다. 전방차량 중에서 특히 선행차량을 검출하는데는 후미등 광원색(붉은색)에 기초하여 Red 성분의 픽셀을 검출하는 것이 매우 효과적이기 때문이다.In step S604, the RGB image is processed using the original image acquired in step S601, and the red detection process is performed in step S605. 13 is a diagram illustrating before and after a red detection process in vehicle detection for automatic control of a high beam according to an embodiment of the present invention. It is because it is very effective to detect the red component pixel based on the rear light source color (red color) in detecting the preceding vehicle, especially the front vehicle.

단계 S610의 차량후보 검출 및 추적 과정에 따르면, 단계 S611에서 새로운 차량후보를 검출한다. 추출된 광원 영상에서 차량후보들을 그룹핑해서 위치, 모양 등의 정보를 메모리에 저장하고, 영상 X, Y축으로 프로젝션하여 영상 위에서의 차량후보들의 위치를 찾는다. 그리고 발견된 차량후보들의 위치, 분산, 크기 등의 정보들을 저장하고 차량후보 리스트에 추가한다. 그리고, 단계 S612에서 차량후보의 위치를 추적하고, 단계 S613에서 차량의 위치를 추적한다. 차량후보 리스트에 저장된 차량후보, 차량 리스트에 저장된 차량의 이전 프레임에서의 위치, 크기 등을 고려하여 검색 영역을 설정하고, 검색 영역 내에서 다시 발견될 경우 광원에 대한 새 로운 위치, 분산, 크기 등의 정보를 갱신하여 차량, 차량후보의 위치를 추적한다.According to the vehicle candidate detection and tracking process of step S610, a new vehicle candidate is detected in step S611. In the extracted light source image, the vehicle candidates are grouped to store information such as position and shape in a memory, and the positions of the vehicle candidates on the image are found by projecting onto the image X and Y axes. Then, it stores information such as location, variance and size of found candidates and adds them to candidate list. In step S612, the position of the vehicle candidate is tracked, and in step S613, the position of the vehicle is tracked. Set the search area in consideration of the candidates stored in the vehicle candidate list and the position and size of the previous frame of the vehicle stored in the vehicle list, and if it is found again in the search area, the new position, distribution, size, etc. Update the information of the vehicle and track the location of the candidates.

그리고 단계 S620의 차량후보 검증 과정에 따르면, 광원 위치, 광원 모양, 광원 움직임, 광원 색, 광원 클러스터링, 추월 차량 등의 요소를 고려하여 차량후보가 차량인지 여부를 판단한다. According to the vehicle candidate verification process of step S620, it is determined whether the vehicle candidate is a vehicle in consideration of factors such as the light source position, the shape of the light source, the light source movement, the light source color, the light source clustering, and the overtaking vehicle.

먼저 광원 위치의 경우 도 14를 참조한다. 도 14는 본 발명의 일 실시예에 따른 상향등 자동 제어를 위한 차량 검출에서 광원 위치를 고려하는 방법을 설명한 도면이다. 본 실시예에 따르면 전방 카메라는 일반적으로 고정 설치되므로 선행차량, 대향차량이 영상에서 거의 동일한 영역을 지나게 된다는 점에서 착안된 것으로, X축 위치 값에 따른 Y축 위치 값의 평균과 표준편차로 가우스 분포도를 생성하고 이를 메모리에 저장한다. 그리고 저장되어 있는 가우스 분포도와 차량후보의 위치 값을 비교하여 차량일 확률을 계산한다.First, referring to FIG. 14 for the light source position. 14 is a view for explaining a method of considering the light source position in the vehicle detection for automatic control of the high beams according to an embodiment of the present invention. According to the present embodiment, since the front camera is generally fixedly installed, it is conceived that the preceding vehicle and the opposite vehicle pass almost the same area in the image, and the Gaussian is represented by the mean and standard deviation of the Y-axis position value according to the X-axis position value. Create a distribution map and store it in memory. The probability of the vehicle is calculated by comparing the stored Gaussian distribution and the position of the vehicle candidate.

광원 모양의 경우 도 15를 참조한다. 도 15는 본 발명의 일 실시예에 따른 상향등 자동 제어를 위한 차량 검출에서 광원 모양을 고려하는 방법을 설명한 도면이다. 본 실시예에 따르면 검출된 차량의 거리에 따라 차량으로부터 나오의 광원의 모양과 크기아 달라지는 점에서 착안된 것으로 Y축 위치 값에 따른, X, Y축 크기의 평균과 표준편차로 가우스 분포도를 생성하고 메모리에 저장한다. 그리고 저장되어 있는 가우스 분포도와 차량후보의 위치 값을 비교하여 차량일 확률을 계산한다.For the shape of the light source, see FIG. 15. 15 is a view for explaining a method of considering the shape of the light source in the vehicle detection for automatic control of the high beams according to an embodiment of the present invention. According to the present embodiment, the shape and size of the light source from the vehicle are different according to the detected distance of the vehicle. The Gaussian distribution is generated by the mean and standard deviation of the X and Y axis sizes according to the Y axis position value. And store it in memory. The probability of the vehicle is calculated by comparing the stored Gaussian distribution and the position of the vehicle candidate.

광원 움직임의 경우 도 16을 참조한다. 도 16은 본 발명의 일 실시예에 따른 상향등 자동 제어를 위한 차량 검출에서 광원 움직임 고려하는 방법을 설명한 도면이다. 본 실시예에 따르면 영상에서 나타나는 차량의 움직임이 거의 일정한 방향성 을 가지고 있다는 점에서 착안된 것으로 Y축 위치 값에 따른 광원이 움직인 각도 값의 평균과 표준편자로 가우스 분포도를 생성하고 이를 메모리에 저장한다. 그리고 저장되어 있는 가우스 분포도와 차량후보의 각도 값을 비교하여 차량일 확률을 계산한다.See FIG. 16 for light source movement. FIG. 16 is a view illustrating a method of considering light source movement in vehicle detection for automatically controlling a high beam according to an embodiment of the present invention. According to the present embodiment, it is conceived that the movement of the vehicle shown in the image has almost constant directionality. The Gaussian distribution is generated as the average and the standard deviation of the angle value of the light source moved according to the Y-axis position value and stored in the memory. do. The probability of the vehicle is calculated by comparing the stored Gaussian distribution and the angle of the candidate.

광원 색의 경우 도 17을 참조한다. 도 17은 본 발명의 일 실시예에 따른 상향등 자동 제어를 위한 차량 검출에서 광원 색을 고려하는 방법을 설명한 도면이다. 본 실시예에 따르면 선행차량 후미등의 경우 붉은 색을 가지고 있다는 점에서 착안된 것으로 Red 검출 영상으로부터 차량후보 주변의 Red 성분을 가지는 픽셀들이 다량 존재할 경우 차량으로 판정한다.See FIG. 17 for the light source color. FIG. 17 is a view illustrating a method of considering a light source color in vehicle detection for automatically controlling a high beam according to an embodiment of the present invention. According to the present exemplary embodiment, since the tail light of the preceding vehicle has a red color, it is determined as a vehicle when a large number of pixels having a red component around the vehicle candidate exist from the red detection image.

광원 클러스터링의 경우 도 18을 참조한다. 도 18은 본 발명의 일 실시예에 따른 상향등 자동 제어를 위한 차량 검출에서 광원 클러스터링을 고려하는 방법을 설명한 도면이다. 본 실시예에 따르면 차량에서의 광원은 두개가 동시에 나타나는 것이 일반적이며 비슷한 크기와 움직임을 가지고 있다는 점에서 착안된 것으로 Y축 상에서 거의 동일한 높이에 있고, Y축 값에 따라 X축 값의 차이가 거의 일정하게 나타나는 경우, 그리고 광원의 모양과 방향성이 동일할수록 차량의 광원일 가능성이 높아진다.For light source clustering, see FIG. 18. 18 is a diagram illustrating a method of considering light source clustering in vehicle detection for automatic control of an overhead light according to an embodiment of the present invention. According to this embodiment, the light source in the vehicle is generally conceived in that both appear at the same time and have similar size and movement. If it appears constant, and the shape and direction of the light source are the same, the likelihood of being a light source of a vehicle increases.

추월 차량의 경우 도 19를 참조한다. 도 19는 본 발명의 일 실시예에 따른 상향등 자동 제어를 위한 차량 검출에서 추월 차량을 검증하는 방법을 설명한 도면이다. 본 실시예에 따르면 추월하는 선행차량의 경우 일정한 방향성을 가지고 빠르게 이동한다는 점에서 착안된 것으로 상대적으로 가까운 위치에서 나타나기 때문에 빠르게 인식하는 것이 중요하다. 예를 들어 옵티컬 플로우(Oprical Flow)와 광원색을 사용하여 카메라의 양 옆에서 이동하는 물체를 빠르게 인식할 수 있을 것이다.Refer to FIG. 19 for the overtaking vehicle. 19 is a view for explaining a method of verifying a passing vehicle in vehicle detection for automatic control of a high beam according to an embodiment of the present invention. According to the present embodiment, it is important to recognize quickly because the preceding vehicle to be overlooked in a relatively close position is conceived in that it moves quickly with a certain direction. For example, you can use Optical Flow and Light Source Color to quickly recognize objects moving on either side of the camera.

단계 S630에서 차량 후보 결정 과정에 따르면 단계 S631에서 차량 후보 변환하고 단계 S632에서 차량 후보를 제거하고, 단계 S633에서 차량을 제거하여 최종적으로 선방차량이 존재함을 결정한다. According to the vehicle candidate determination process in step S630, the vehicle candidate is converted in step S631, the vehicle candidate is removed in step S632, and the vehicle is removed in step S633.

도 20은 본 발명의 일 실시예에 따른 상향등 자동 제어에서 차량 검출 방법의 제2 흐름도이다.20 is a flowchart illustrating a method of detecting a vehicle in automatic control of a high beam according to an embodiment of the present invention.

본 실시예에 따르면, 입력정보(800)에 기초하여 차량임을 판단(810)하고 판단 결과를 출력(820)한다. 입력정보(800)에는 상술한 바와 같이 광원 위치(801), 광원 모양(802), 광원 움직임(803), 광원 색(804), 광원 클러스터링(805), 추월 차량(806)에 대한 측정 결과들이 포함될 수 있다. According to the present embodiment, it is determined 810 that the vehicle is based on the input information 800, and the result of the determination is output 820. As described above, the input information 800 includes measurement results for the light source position 801, the light source shape 802, the light source movement 803, the light source color 804, the light source clustering 805, and the overtaking vehicle 806. May be included.

그리고, 각 측정 결과들이 차량 판단 기준을 만족하는 경우 차량임을 판단한다. 예를 들어, 광원 위치(801)에 따른 차량 확률이 32%를 초과하는 경우(S811), 광원 모양(802)에 따른 차량 확률이 32%를 초과하는 경우(S812), 광원 움직임(803)에 따른 차량 확률이 32%를 초과하는 경우(S813), 광원 색(804)에 따라 후미등으로 판정되는 경우(S814), 광원 클러스터링(805)이 되는 경우(S815), 단계 S817에서 차량수로서 카운트하고 단계 S818에서 차량수가 2이상인 경우 또는 단계 S819에서 추월 차량(806)이 있고 후미등이 검출되는 경우에는 단계 S822에서 상향등(high beam)을 켜는 것으로 제어한다. 그리고 광원 위치(801)에 따른 차량 확률이 32%를 초과하지 않고(S811), 단계 S818에서 차량수가 2이상이 아닌 경우에는 단계 S821에 서 상향등(high beam)을 끄는 것으로 제어한다.If the measurement results satisfy the vehicle determination criteria, it is determined that the vehicle is a vehicle. For example, when the vehicle probability according to the light source position 801 exceeds 32% (S811), and when the vehicle probability according to the light source shape 802 exceeds 32% (S812), the light source movement 803 If the probability of the vehicle exceeds 32% (S813), if it is determined as a tail light according to the light source color 804 (S814), if the light source clustering 805 (S815), and counts as the number of vehicles in step S817 When the number of vehicles is 2 or more in step S818 or when the overtaking vehicle 806 is detected in step S819 and a tail light is detected, the control unit turns on the high beam in step S822. If the vehicle probability according to the light source position 801 does not exceed 32% (S811), and the number of vehicles is not two or more in step S818, it is controlled by turning off the high beam in step S821.

도 21은 본 발명의 일 실시예에 따른 상향등 자동 제어 결과 그래프이다.21 is a graph showing a result of automatic high beam control according to an embodiment of the present invention.

본 실시예에 따른 상향등 자동 제어는 동작 시간차를 적용하여 상향등(high beam) 키는 조건 판정시에서 일정 시간(3000ms)이 지난 후에 실제 상향등(high beam)이 켜지고 상향등(high beam) 끄는 조건 판정시에서 일정 시간(<=100ms) 지난 후에 실제 상향등(high beam)이 꺼지도록 제어할 수 있다. The automatic control of the high beam according to the present embodiment applies the operation time difference to determine the condition of turning on the high beam and turning off the high beam after a predetermined time (3000 ms). After a predetermined time (<= 100ms) can be controlled to turn off the actual high beam (high beam).

도 22는 본 발명의 일 실시예에 따른 상향등 자동 제어에서 차속을 고려하는 경우의 제어 결과 그래프이다.22 is a graph of control results when the vehicle speed is considered in the automatic control of the high beam according to the exemplary embodiment of the present invention.

본 실시예에 따르면 상향등(high beam)을 제어함에 있어서 현재 차량의 속도 정보도 고려하여 제어할 수 있다. 일정 차속 예를 들어 차속 40KPH 미만에서는 상향등 자동 제어 시스템이 동작하지 않도록 설정할 수 있다. 또한, 차속 40KPH 이상 주행을 일정 시간 예를 들어 5초 이상 계속했을 경우에는 차속 40KPH보다 작은 경우 예를 들어 차속 36KPH 이상이어도 일정 시간 예를 들어 5초 동안 동작 가능 속도로 인정한다. 이로써 상향등(high beam)의 켜고 끄는 제어가 기준 이상으로 반복되는 것을 예방할 수 있을 것이다.According to the present embodiment, in controlling the high beam, the current vehicle speed information may also be taken into consideration. For example, if the vehicle speed is less than 40KPH, the automatic high beam control system may be set to not operate. In addition, when driving for more than 40KPH in a vehicle speed is continued for a predetermined time, for example, 5 seconds or more, even if the vehicle speed is less than 40KPH, for example, the vehicle speed is more than 36KPH, for example, the driving speed is recognized for a predetermined time, for example, 5 seconds. This will prevent the high beam on and off control from repeating beyond the reference.

상기에서는 도면 및 실시예를 참조하여 설명하였지만, 해당 기술 분야의 숙련된 당업자는 하기의 특허청구범위에 기재된 본 발명의 기술적 사상으로부터 벗어나지 않는 범위 내에서 본 발명은 다양하게 수정 및 변경시킬 수 있음은 이해할 수 있을 것이다.Although described above with reference to the drawings and embodiments, those skilled in the art that the present invention can be variously modified and changed within the scope without departing from the spirit of the invention described in the claims below I can understand.

도 1은 본 발명의 일 실시예에 따른 상향등 자동 제어 시스템의 구조도.1 is a structural diagram of an automatic high beam control system according to an embodiment of the present invention.

도 2는 본 발명의 일 실시예에 따른 상향등 자동 제어 시스템에서 제어부의 구조도.Figure 2 is a structural diagram of a control unit in the automatic high beam control system according to an embodiment of the present invention.

도 3은 본 발명의 일 실시예에 따른 상향등 자동 제어 방법의 흐름도.3 is a flowchart of a method for automatically controlling a high beam according to an embodiment of the present invention.

도 4는 본 발명의 일 실시예에 따른 상향등 자동 제어에서 주야간 판단시 영상 분할예를 도시한 도면.4 is a diagram illustrating an example of image segmentation during day and night determination in automatic high beam control according to an embodiment of the present invention.

도 5는 본 발명의 일 실시예에 따른 상향등 자동 제어에서 영상 분할 방식에 따른 주야간 판단 방법의 흐름도.5 is a flowchart of a day / night determination method according to an image segmentation method in automatic high beam control according to an embodiment of the present invention.

도 6 내지 도 9는 본 발명의 일 실시예에 따른 상향등 자동 제어에서 영상 분할 방식에 따른 주야간 판단 방법의 성능 확인을 나타내는 그래프.6 to 9 are graphs showing the performance verification of the day and night determination method according to the image segmentation method in the automatic automatic control of the upper lamp according to an embodiment of the present invention.

도 10은 본 발명의 일 실시예에 따른 상향등 자동 제어에서 차량 검출 방법의 제1 흐름도.10 is a first flowchart of a vehicle detection method in automatic high beam control according to an exemplary embodiment of the present invention.

도 11은 본 발명의 일 실시예에 따른 상향등 자동 제어를 위한 차량 검출에서 이진화 처리 전후를 나타낸 도면.FIG. 11 is a diagram illustrating before and after binarization processing in vehicle detection for automatic control of an overhead light according to an embodiment of the present invention; FIG.

도 12는 본 발명의 일 실시예에 따른 상향등 자동 제어를 위한 차량 검출에서 광원 추출 처리 전후를 나타낸 도면.12 is a view showing before and after a light source extraction process in vehicle detection for automatic high beam control according to an embodiment of the present invention.

도 13은 본 발명의 일 실시예에 따른 상향등 자동 제어를 위한 차량 검출에서 Red 검출 처리 전후를 나타낸 도면.13 is a view showing before and after a red detection process in vehicle detection for automatic control of a high beam according to an embodiment of the present invention.

도 14는 본 발명의 일 실시예에 따른 상향등 자동 제어를 위한 차량 검출에 서 광원 위치를 고려하는 방법을 설명한 도면.14 is a view for explaining a method of considering the light source position in the vehicle detection for automatic control of the high beams according to an embodiment of the present invention.

도 15는 본 발명의 일 실시예에 따른 상향등 자동 제어를 위한 차량 검출에서 광원 모양을 고려하는 방법을 설명한 도면.15 is a view for explaining a method of considering the shape of the light source in the vehicle detection for automatic control of the high beams according to an embodiment of the present invention.

도 16은 본 발명의 일 실시예에 따른 상향등 자동 제어를 위한 차량 검출에서 광원 움직임 고려하는 방법을 설명한 도면.FIG. 16 is a view for explaining a method of considering light source movement in vehicle detection for automatic control of a high beam according to an embodiment of the present invention; FIG.

도 17은 본 발명의 일 실시예에 따른 상향등 자동 제어를 위한 차량 검출에서 광원 색을 고려하는 방법을 설명한 도면.FIG. 17 is a view illustrating a method of considering a light source color in vehicle detection for automatic control of a high beam according to an embodiment of the present invention. FIG.

도 18은 본 발명의 일 실시예에 따른 상향등 자동 제어를 위한 차량 검출에서 광원 클러스터링을 고려하는 방법을 설명한 도면.18 is a view for explaining a method for considering light source clustering in vehicle detection for automatic control of a high beam according to an embodiment of the present invention.

도 19는 본 발명의 일 실시예에 따른 상향등 자동 제어를 위한 차량 검출에서 추월 차량을 검증하는 방법을 설명한 도면.19 is a view for explaining a method for verifying a passing vehicle in vehicle detection for automatic control of a high beam according to an embodiment of the present invention.

도 20은 본 발명의 일 실시예에 따른 상향등 자동 제어에서 차량 검출 방법의 제2 흐름도.20 is a second flowchart of a vehicle detection method in automatic high beam control according to an embodiment of the present invention.

도 21은 본 발명의 일 실시예에 따른 상향등 자동 제어 결과 그래프.21 is a graph showing a result of automatic high beam control according to an embodiment of the present invention.

도 22는 본 발명의 일 실시예에 따른 상향등 자동 제어에서 차속을 고려하는 경우의 제어 결과 그래프.22 is a control result graph in the case of considering the vehicle speed in the automatic control of the high beam according to an embodiment of the present invention.

Claims (10)

차량의 영상인식 기반 상향등 자동 제어 방법에 있어서,In the automatic recognition method of the vehicle based image recognition, 전방 영상을 획득하는 단계;Obtaining a forward image; 상기 영상 이미지 내에서 구분된 각 영역에 대한 색정보를 영역별로 설정된 기준과 비교하여 야간인지 여부를 판단하는 주야간 판단 단계;Day and night determination step of determining whether or not it is night by comparing the color information for each area divided in the video image with the reference set for each area; 상기 영상에서 추출되는 광원으로 검출되는 차량 후보를 선행 차량 및 대향 차량 중 하나로 검출하는 차량 검출 단계; 및Detecting a vehicle candidate detected by the light source extracted from the image as one of a preceding vehicle and an opposite vehicle; And 야간으로 판단되고 선행 차량 및 대향 차량을 모두 검출하지 못한 경우 상향등(high beam)을 키도록 제어하는 단계;Controlling to turn on a high beam when it is determined to be nighttime and fails to detect both the preceding vehicle and the opposite vehicle; 를 포함하고,Including, 상기 차량 검출 단계에서, 상기 영상의 연속적인 다수의 이미지에서 추출되는 광원의 변화에 대해 분포도를 생성하고 생성된 분포도를 기준으로 차량 후보의 측정 값을 비교하여 차량일 확률을 계산하여 차량을 검출하는 것을 특징으로 하는, 차량의 영상인식 기반 상향등 자동 제어 방법.In the vehicle detecting step, a distribution map is generated for a change of a light source extracted from a plurality of consecutive images of the image, and a vehicle probability is detected by calculating a probability of the vehicle by comparing measured values of the vehicle candidates based on the generated distribution map. Characterized in that, the vehicle image recognition-based upward light automatic control method. 청구항 1에 있어서,The method according to claim 1, 상기 주야간 판단 단계에서, 영역별 평균 RGB 값을 계산해서 영역별로 설정된 임계값과 비교하고, 임계값보다 같거나 작은 경우 야간으로 판단하는 것을 특징으로 하는, 차량의 영상인식 기반 상향등 자동 제어 방법.In the day and night determination step, the average RGB value for each area is calculated and compared with the threshold value set for each area, and if the same or less than the threshold value, characterized in that the night recognition based on the vehicle's image recognition based automatic automatic control method. 삭제delete 청구항 1에 있어서,The method according to claim 1, 상기 광원의 위치 변화에 대한 분포도를 생성하되, 이미지 내 광원의 X축 위치 값에 따른 Y축 위치 값의 평균과 표준편차로 가우스 분포도를 생성하는 것을 특징으로 하는, 차량의 영상인식 기반 상향등 자동 제어 방법. Generate a distribution map for the change in the position of the light source, generating a Gaussian distribution by the average and the standard deviation of the Y-axis position value according to the X-axis position value of the light source in the image, automatic recognition based on the vehicle's image recognition Way. 청구항 1에 있어서,The method according to claim 1, 상기 광원의 모양 변화에 대한 분포도를 생성하되, 이미지 내 광원의 Y축 위치 값에 따른 X, Y축 크기의 평균과 표준편차로 가우스 분포도를 생성하는 것을 특징으로 하는, 차량의 영상인식 기반 상향등 자동 제어 방법.Generate a distribution of the shape change of the light source, but generates a Gaussian distribution with the mean and standard deviation of the X, Y-axis size according to the Y-axis position value of the light source in the image, the vehicle image recognition-based uplight automatically Control method. 청구항 1에 있어서,The method according to claim 1, 상기 광원의 움직임 변화에 대한 분포도를 생성하되, 이미지 내 광원의 Y축 위치 값에 따른 움직인 각도 값의 평균과 표준편차로 가우스 분포도를 생성하는 것을 특징으로 하는, 차량의 영상인식 기반 상향등 자동 제어 방법.Generating a distribution chart for the change in the movement of the light source, generating a Gaussian distribution map of the average and the standard deviation of the moving angle value according to the Y-axis position value of the light source in the image, automatic recognition based on the vehicle's image recognition Way. 청구항 1에 있어서,The method according to claim 1, 상기 차량 검출 단계에서, 상기 영상의 Red 검출영상으로부터 차량 후보 주위에 Red 성분을 가지는 픽셀들이 다량 존재할 경우 선행 차량이 있는 것으로 결정하는 것을 특징으로 하는, 차량의 영상인식 기반 상향등 자동 제어 방법. In the vehicle detecting step, if there are a large number of pixels having a red component around the vehicle candidate from the red detection image of the image, characterized in that the preceding vehicle, characterized in that the automatic recognition of the vehicle based image recognition. 차량의 영상인식 기반 상향등 자동 제어 방법에 있어서,In the automatic recognition method of the vehicle based image recognition, 전방 영상을 획득하는 단계;Obtaining a forward image; 상기 영상 이미지 내에서 구분된 각 영역에 대한 색정보를 영역별로 설정된 기준과 비교하여 야간인지 여부를 판단하는 주야간 판단 단계;Day and night determination step of determining whether or not it is night by comparing the color information for each area divided in the video image with the reference set for each area; 상기 영상에서 추출되는 광원으로 검출되는 차량 후보를 선행 차량 및 대향 차량 중 하나로 검출하는 차량 검출 단계; 및Detecting a vehicle candidate detected by the light source extracted from the image as one of a preceding vehicle and an opposite vehicle; And 야간으로 판단되고 선행 차량 및 대향 차량을 모두 검출하지 못한 경우 상향등(high beam)을 키도록 제어하는 단계;Controlling to turn on a high beam when it is determined to be nighttime and fails to detect both the preceding vehicle and the opposite vehicle; 를 포함하고,Including, 상기 차량 검출 단계에서, 상기 영상 이미지 내 Y축 상에서 동일한 높이에서 두 개의 광원이 X축 값 차이가 일정하게 나타나는 경우 차량 검출인 것으로 결정하는 것을 특징으로 하는, 차량의 영상인식 기반 상향등 자동 제어 방법. In the vehicle detection step, when the two light sources at the same height on the Y axis in the image image is determined that the difference between the X-axis value is constant, it characterized in that the vehicle detection based on automatic recognition of the image recognition of the vehicle. 차량의 영상인식 기반 상향등 자동 제어 방법에 있어서,In the automatic recognition method of the vehicle based image recognition, 전방 영상을 획득하는 단계;Obtaining a forward image; 상기 영상 이미지 내에서 구분된 각 영역에 대한 색정보를 영역별로 설정된 기준과 비교하여 야간인지 여부를 판단하는 주야간 판단 단계;Day and night determination step of determining whether or not it is night by comparing the color information for each area divided in the video image with the reference set for each area; 상기 영상에서 추출되는 광원으로 검출되는 차량 후보를 선행 차량 및 대향 차량 중 하나로 검출하는 차량 검출 단계; 및Detecting a vehicle candidate detected by the light source extracted from the image as one of a preceding vehicle and an opposite vehicle; And 야간으로 판단되고 선행 차량 및 대향 차량을 모두 검출하지 못한 경우 상향등(high beam)을 키도록 제어하는 단계;Controlling to turn on a high beam when it is determined to be nighttime and fails to detect both the preceding vehicle and the opposite vehicle; 를 포함하고,Including, 상기 차량 검출 단계에서, 상기 영상에서 추출된 광원에 대한 옵티컬 플로우와 광원 색을 이용하여 추월 차량을 검출하는 것을 특징으로 하는, 차량의 영상인식 기반 상향등 자동 제어 방법.In the vehicle detecting step, the overtaking vehicle is detected using the optical flow and the light source color of the light source extracted from the image. 청구항 1에 있어서,The method according to claim 1, 상기 제어 단계에서, 차량 속도를 고려하여 일정 속도 이상인 경우에만 동작하고, 일정 속도 이상에서 일정 시간 이상 유지된 경우에는 정해진 시간 동안 상기 일정 속도보다 낮은 속도로 운행되더라도 동작이 유지되도록 제어하는 것을 특징으로 하는, 차량의 영상인식 기반 상향등 자동 제어 방법.In the control step, in consideration of the vehicle speed is operated only at a certain speed or more, and if maintained at a predetermined speed or more for a predetermined time, the operation is controlled so as to be maintained even if it is operated at a speed lower than the predetermined speed for a predetermined time. Automatic image recognition based on the vehicle automatic control method.
KR1020090069934A 2009-07-30 2009-07-30 A method for controlling high beam automatically based on image recognition of a vehicle KR101180676B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020090069934A KR101180676B1 (en) 2009-07-30 2009-07-30 A method for controlling high beam automatically based on image recognition of a vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020090069934A KR101180676B1 (en) 2009-07-30 2009-07-30 A method for controlling high beam automatically based on image recognition of a vehicle

Publications (2)

Publication Number Publication Date
KR20110012279A KR20110012279A (en) 2011-02-09
KR101180676B1 true KR101180676B1 (en) 2012-09-10

Family

ID=43772228

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020090069934A KR101180676B1 (en) 2009-07-30 2009-07-30 A method for controlling high beam automatically based on image recognition of a vehicle

Country Status (1)

Country Link
KR (1) KR101180676B1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150145830A (en) 2014-06-19 2015-12-31 안종국 Apparatus Of Glasses For Improving Concentration
KR20170000228U (en) 2015-07-08 2017-01-18 강병우 Peripheral vision covering tool

Also Published As

Publication number Publication date
KR20110012279A (en) 2011-02-09

Similar Documents

Publication Publication Date Title
US8995723B2 (en) Detecting and recognizing traffic signs
EP1671216B1 (en) Moving object detection using low illumination depth capable computer vision
JP4544233B2 (en) Vehicle detection device and headlamp control device
EP2889641B1 (en) Image processing apparatus, image processing method, program and image processing system
US10635896B2 (en) Method for identifying an object in a surrounding region of a motor vehicle, driver assistance system and motor vehicle
US8848980B2 (en) Front vehicle detecting method and front vehicle detecting apparatus
EP2551794A2 (en) Onboard environment recognition system
KR101511853B1 (en) Night-time vehicle detection and positioning system and method using multi-exposure single camera
US11061122B2 (en) High-definition map acquisition system
US8643723B2 (en) Lane-marker recognition system with improved recognition-performance
JP5313638B2 (en) Vehicle headlamp device
WO2016125377A1 (en) Image-processing device and vehicle system
US9372112B2 (en) Traveling environment detection device
KR101276073B1 (en) System and method for detecting distance between forward vehicle using image in navigation for vehicle
KR101180676B1 (en) A method for controlling high beam automatically based on image recognition of a vehicle
JP2009037284A (en) Traveling object recognition device
JP5643877B2 (en) Vehicle headlamp device
KR20140147212A (en) Method for controlling High Beam Assist Using Lidar and Apparatus therefor
JP2018163530A (en) Object detection device, object detection method, and object detection program
KR101739163B1 (en) Image stabilization method for vehicle camera and image processing apparatus usnig the same
JPWO2020129517A1 (en) Image processing device
KR102639790B1 (en) Head lamp control device and method
JP2020038551A (en) Face orientation detection device, face orientation detection method, and control program
WO2019013253A1 (en) Detection device
JP4871941B2 (en) Vehicle periphery monitoring device

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20150831

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20180829

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20190827

Year of fee payment: 8