KR20170120149A - Method and system for detecting ambient light - Google Patents

Method and system for detecting ambient light Download PDF

Info

Publication number
KR20170120149A
KR20170120149A KR1020177026542A KR20177026542A KR20170120149A KR 20170120149 A KR20170120149 A KR 20170120149A KR 1020177026542 A KR1020177026542 A KR 1020177026542A KR 20177026542 A KR20177026542 A KR 20177026542A KR 20170120149 A KR20170120149 A KR 20170120149A
Authority
KR
South Korea
Prior art keywords
threshold
predetermined
ambient light
less
comparing
Prior art date
Application number
KR1020177026542A
Other languages
Korean (ko)
Other versions
KR101969856B1 (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 케이피아이티 테크놀로지스 엘티디.
Publication of KR20170120149A publication Critical patent/KR20170120149A/en
Application granted granted Critical
Publication of KR101969856B1 publication Critical patent/KR101969856B1/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
    • G06K9/00791
    • G06K9/4642
    • G06K9/4652
    • 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/50Extraction of image or video features by performing operations within image blocks; by using histograms, e.g. histogram of oriented gradients [HoG]; by summing image-intensity values; Projection analysis
    • 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

Abstract

본 발명은 주변 광을 검출하는 방법 및 시스템을 개시한다. 상기 방법은, 이미지 캡처 장치에 의해 1 이상의 눈에 보이는 이미지들을 캡처하는 단계와, 상기 캡처 된 각각의 이미지를 그레이 컬러로 변환하는 단계와, 상기 그레이 컬러로 캡처 된 이미지 각각의 히스토그램을 결정하는 단계와, 상기 결정된 히스토그램의 평균 빈도 평균값 및 데이터 평균값을 계산하는 단계와, 그리고 주변 광을 검출하기 위하여, 평균 빈도 평균값(FM)을 미리 결정된 FM 임계치와 비교하는 것과 데이터 평균값(DM)을 미리 결정된 DM 임계치와 비교하는 것 중의 적어도 하나의 비교하는 단계를 포함한다.The present invention discloses a method and system for detecting ambient light. The method includes capturing one or more visible images by an image capture device, converting each of the captured images to gray color, determining a histogram of each of the images captured in gray color Calculating an average frequency average value and a data average value of the determined histogram and comparing the average frequency average value FM with a predetermined FM threshold value to detect ambient light and comparing the average data value DM with a predetermined DM Comparing the threshold value with a threshold value.

Description

주변 광의 검출 방법 및 시스템Method and system for detecting ambient light

본 발명은 주변 광의 검출에 관한 것으로서, 더 상세하게는, 차량을 위한 주변 광의 검출에 관한 것이다.The present invention relates to the detection of ambient light, and more particularly to the detection of ambient light for a vehicle.

기존의 차량은 주변 광, 위치, 거리, 속도 등을 검출하기 위한 것과 같은, 여러 가지의 기능을 위한 다수의 센서들을 활용한다. 이러한 다수의 센서들은 해결 수단의 복잡성과 구조를 증가시키는 것은 차치하고, 주변 광 검출을 위한 시스템의 전반적인 비용을 가중시킨다.Existing vehicles utilize multiple sensors for various functions, such as for detecting ambient light, position, distance, speed, and the like. These multiple sensors, apart from increasing the complexity and structure of the solution, add to the overall cost of the system for ambient light detection.

주변 광의 감지(sensing)는 주변 광이 감지될 필요가 있는 다양한 응용분야에서 필요하다. 예를 들어, 자동차 응용분야에 대해서는, 고급 사양의 자동차에서 계기판의 백라이트 세기, 또는 GPS 장치 또는 DVD 스크린의 LCD 백라이트를 조절하기 위해 주변 광의 감지 센서가 사용된다. 또한, 주변 광은, 예컨대, 차량이 터널, 교량 하부, 수목의 수관(캐노피) 하부와 같은 곳에 진입할 때, 여러 가지의 상황에서 검출될 필요가 있다. 부가적으로, 감지된 주변 광에 입각하여 카메라 모드를 주간에서 야간으로 자동으로 조절하기 위해서도 주변 광의 감지가 필요하다.Ambient light sensing is needed in a variety of applications where ambient light needs to be detected. For example, for automotive applications, a sensor of ambient light is used to adjust the backlight intensity of the instrument panel in a high-end car or the LCD backlight of a GPS device or DVD screen. Also, the ambient light needs to be detected in a variety of situations, for example, when the vehicle enters a tunnel, a bridge bottom, a canopy bottom of a tree, or the like. In addition, detection of ambient light is necessary to automatically adjust the camera mode from daylight to nighttime on the basis of ambient light sensed.

주변 광의 검출을 위한 기존 시스템들은 포토다이오드(photo-diode) 또는 포토트랜지스터(photo-transistor)와 같은 전형적으로 광 검출용으로 사용되는 광학/포토 센서들을 활용한다. 터널 검출을 위한 기존 방법은 전형적으로 두 개의 주변 센서들을 이용한다. 제1센서는 광각의 시계를 갖는 반면, 다른 센서는 협각의 시계를 갖는다. 이것은 차량 전방의 주변 광 조건을 감지한다. 상기 센서는 빛의 급격한 변화에 빠르게 반응한다. 상기한 두 가지의 센서들의 조합은 주변환경에서 광 레벨의 양을 검출하여 차량의 전조등을 자동으로 작동 및/또는 차단한다.Existing systems for the detection of ambient light utilize optical / photo sensors, typically used for photo-detection, such as photo-diodes or photo-transistors. Conventional methods for tunnel detection typically use two peripheral sensors. The first sensor has a wide-angle clock, while the other sensor has a narrow-angle clock. This senses the ambient light conditions in front of the vehicle. The sensor responds rapidly to abrupt changes in light. The combination of the two sensors detects the amount of light level in the surrounding environment and automatically actuates and / or blocks the headlights of the vehicle.

현재, 주변 광 검출용 센서들은 고급 사양의 차량 모델에 장착된다. 이들 센서들은 기본적으로는 광학 센서(optical sensor)이며, 대체로 차량 내부의 윈드 스크린에 장착된다. 상기 센서들은 주위 환경에서의 다양한 광 레벨들을 추적하고 차량 전조등을 자동으로 작동 및/또는 차단한다. Currently, sensors for ambient light detection are mounted on high-end vehicle models. These sensors are basically optical sensors and are usually mounted on a windscreen inside the vehicle. The sensors track various light levels in the ambient environment and automatically activate and / or shut off the vehicle headlamps.

그러나 기존의 시스템은 주변 광을 검출하기 위해 많은 수의 센서들을 요구한다. 이것은 비용과 시스템의 복잡성을 증가시킨다. 따라서, 주변 광을 검출하는 데에 필요한 센서들의 수를 줄이고 비용 효과적이며 단순한 해결책을 제공할 필요성이 있다.However, existing systems require a large number of sensors to detect ambient light. This increases the cost and complexity of the system. Thus, there is a need to reduce the number of sensors needed to detect ambient light and provide a cost effective and simple solution.

본 발명의 여러 가지 실시예들은 주변 광을 검출하기 위한 방법과 시스템을 개시한다. 상기 방법은, 1 이상의 눈에 보이는 이미지들을 캡처(capture)하는 단계, 상기 캡처 된 이미지를 그레이 컬러(grey color) 이미지로 변환하는 단계, 상기 그레이 컬러 이미지 각각의 히스토그램(histogram)을 결정하는 단계, 상기 결정된 히스토그램의 평균 빈도 평균값(average frequency mean value: FM) 및 데이터 평균값(data mean value: DM)을 계산하는 단계; 및 하기의 단계들, 즉, a) 상기 FM을 미리 결정된 FM 임계치와 비교하고, 그리고 상기 비교된 FM이 상기 미리 결정된 FM 임계치보다 더 클 때 그 주변 광을 최적 광으로 검출하는 단계, b) 상기 FM을 미리 결정된 FM 임계치와 비교하고, 상기 DM을 미리 결정된 DM 임계치와 비교하고, 그리고 상기 비교된 FM이 상기 미리 결정된 FM 임계치보다 더 작고 상기 비교된 DM은 상기 미리 결정된 DM 임계치보다 더 클 때 그 주변 광을 최적 광으로 검출하는 단계, c) 상기 FM을 미리 결정된 FM 임계치와 비교하고, 또한 상기 DM을 미리 결정된 DM 임계치와 비교하고, 그리고 만일 상기 FM이 상기 미리 결정된 FM 임계치보다 더 작고 상기 DM은 상기 미리 결정된 DM 임계치보다 더 작다면, 식별된 관심 영역(ROI)의 FM을 소정의 미리 결정된 FM 임계치와 비교하고, 그리고 ROI의 상기 비교된 FM이 상기 미리 결정된 FM 임계치보다 더 작을 때, 주변 광을 상기 최적 광보다 더 작은 것으로 검출하는 단계 중의 어느 하나를 수행하는 단계를 포함한다.Various embodiments of the present invention disclose methods and systems for detecting ambient light. The method includes capturing one or more visible images, converting the captured image to a gray color image, determining a histogram of each of the gray color images, Calculating an average frequency mean value (FM) and a data mean value (DM) of the determined histogram; And a) comparing the FM with a predetermined FM threshold and detecting the ambient light as optimal light when the compared FM is greater than the predetermined FM threshold, b) Comparing the FM to a predetermined FM threshold, comparing the DM to a predetermined DM threshold, and when the compared FM is less than the predetermined FM threshold and the compared DM is greater than the predetermined DM threshold, C) comparing the FM with a predetermined FM threshold and also comparing the DM with a predetermined DM threshold, and if the FM is less than the predetermined FM threshold and the DM Compares the FM of the identified ROI with a predetermined FM threshold and if the compared FM of the ROI is less than the predetermined DM threshold, And when it is smaller than the predetermined FM threshold, detecting ambient light as being smaller than the optimal light.

여기에서의 일 실시예에 따르면, 상기 방법은, 상기 식별된 관심 영역(ROI)의 FM을 결정하는 단계, 상기 캡처 된 이미지에서 관심 영역을 식별하는 단계, 및 상기 FM이 상기 미리 결정된 FM 임계치보다 더 작고, 또한 상기 DM이 상기 미리 결정된 DM 임계치보다 더 작을 때, 상기 식별된 관심 영역(ROI)의 FM을 결정하는 단계를 더 포함한다.According to one embodiment herein, the method further comprises the steps of: determining an FM of the identified ROI; identifying a region of interest in the captured image; and determining whether the FM is greater than the predetermined FM threshold And determining the FM of the identified ROI when the DM is less than the predetermined DM threshold.

여기에서의 일 실시예에 따르면, 상기 결정된 히스토그램의 FM을 계산하는 단계는, 미리 정의된 수의 프레임들에 대해 상기 결정된 히스토그램의 빈도 평균값을 결정하는 단계와, 그리고 상기 미리 정의된 수의 프레임들에 대해 상기 FM을 결정하는 단계를 포함한다.According to one embodiment herein, calculating the FM of the determined histogram comprises: determining a frequency average value of the determined histogram for a predefined number of frames; and determining the predefined number of frames And determining the FM for the mobile station.

여기에서의 일 실시예에 따르면, 상기 방법은 상기 검출된 주변 광이 최적 광보다 더 클 때 주간을 검출하는 단계를 더 포함하고, 그리고 상기 검출된 주변 광이 상기 최적 광보다 더 작을 때, 터널 내로의 진입 및 그로부터의 진출 가능성을 검출하는 단계를 더 포함한다.According to one embodiment herein, the method further comprises detecting a daytime when the detected ambient light is greater than optimal light, and when the detected ambient light is less than the optimal light, And detecting the possibility of entry into and from the database.

여기에서의 일 실시예에 따르면, 상기 방법은 상기 주변 광의 1 이상의 상태의 검출에 기초하여 미리 정의된 제어 기능을 수행하는 단계를 더 포함한다.According to one embodiment herein, the method further comprises performing a predefined control function based on detection of one or more states of the ambient light.

본 발명의 또 다른 실시예에 따르면, 주변 광을 검출하는 시스템이 개시되는바, 상기 시스템은, 1 이상의 이미지를 캡처하도록 구성되는 이미지 캡처 장치와, 그리고 상기 이미지 캡처 장치에 연결되어, 하기의 과정들을 수행하도록 구성되는 프로세싱 장치를 포함하고, 상기 시스템은, 상기 캡처 된 각각의 이미지를 그레이 컬러 이미지로 변환하는 과정, 상기 그레이 컬러로 캡처 된 이미지 각각의 히스토그램을 결정하는 과정, 상기 결정된 히스토그램의 평균 빈도 평균값(FM) 및 데이터 평균값(DM)을 계산하는 과정, 및 하기의 단계들, 즉, a) 상기 FM을 미리 결정된 FM 임계치와 비교하고, 그리고 상기 비교된 FM이 상기 미리 결정된 FM 임계치보다 더 클 때 그 주변 광을 최적 광으로 검출하는 단계, b) 상기 FM을 미리 결정된 FM 임계치와 비교하고, 상기 DM을 미리 결정된 DM 임계치와 비교하고, 그리고 상기 비교된 FM이 상기 미리 결정된 FM 임계치보다 더 작고 상기 비교된 DM은 상기 미리 결정된 DM 임계치보다 더 클 때 그 주변 광을 최적 광으로 검출하는 단계, c) 상기 FM을 미리 결정된 FM 임계치와 비교하고, 상기 DM을 미리 결정된 DM 임계치와 비교하고, 그리고 만일 상기 FM이 상기 미리 결정된 FM 임계치보다 더 작고 상기 DM은 상기 미리 결정된 DM 임계치보다 더 작을 경우, 식별된 관심 영역(ROI)의 FM을 소정의 미리 결정된 FM 임계치와 비교하고, 그리고 ROI의 상기 비교된 FM이 상기 미리 결정된 FM 임계치보다 더 작을 때 주변 광을 상기 최적 광보다 더 작은 것으로 검출하는 단계 중의 어느 하나를 수행하는 과정을 포함한다.According to yet another embodiment of the present invention, a system for detecting ambient light is disclosed, the system comprising: an image capture device configured to capture one or more images; and a processor coupled to the image capture device, The system comprising: converting each of the captured images into a gray color image; determining a histogram of each of the images captured in gray color; determining an average of the determined histograms Calculating a frequency average value (FM) and a data average value (DM), comprising the steps of: a) comparing the FM with a predetermined FM threshold and comparing the compared FM with the predetermined FM threshold B) comparing the FM with a predetermined FM threshold; and b) comparing the FM with a predetermined FM threshold, Determining the ambient light as optimal light when the compared FM is less than the predetermined FM threshold and the compared DM is greater than the predetermined DM threshold, c) comparing the FM with the FM Comparing the DM to a predetermined DM threshold and if the FM is less than the predetermined FM threshold and the DM is less than the predetermined DM threshold, Comparing the FM of the ROI to a predetermined predetermined FM threshold and detecting ambient light as being less than the optimal light when the compared FM of the ROI is less than the predetermined FM threshold .

본 발명의 전술한 측면들과 기타 특징들은 첨부한 도면과 결부하여 후술하는 설명에서 기술될 것이다.
도 1은 본 발명의 일 실시예에 따른 주변 광을 검출하기 위한 시스템의 블록도를 예시한다.
도 2는 본 발명의 일 실시예에 따른 입력 이미지 및 해당하는 히스토그램(histogram)을 예시하는 개략적인 도면이다.
도 3은 본 발명의 일 실시예에 따른 주변 광 조건들을 검출하기 위한 방법을 예시하는 흐름도이다.
도 4는 본 발명의 일 실시예에 따른 상이한 주변 광 조건들 및 해당하는 히스토그램들을 예시하는 개략적 도면이다.
도 5a 및 5b는 본 발명의 일 실시예에 따른, 낮은 대비 이미지(low contrast image) 및 양호한 대비 이미지를 갖는 주간(day time) 조건을 예시하는 개략적 도면이다.
도 6a 및 6b는 본 발명의 일 실시예에 따른, 평균 빈도 평균값(FM)이 낮지만 데이터 평균값(DM)은 높은 경우의 주간 조건을 예시하는 개략적 도면이다.
도 7a 및 7b는 본 발명의 일 실시예에 따른, 터널 가능성 조건을 예시하는 개략적 도면이다.
도 8a는 본 발명의 일 실시예에 따른 터널 진입(entering tunnel)을 예시하는 개략적인 도면이다.
도 8b는 본 발명의 일 실시예에 따른 터널내(in tunnel) 조건을 예시하는 개략적인 도면이다.
도 9a는 본 발명의 일 실시예에 따른 터널 진출(exiting tunnel) 조건을 예시하는 개략적인 도면이다.
도 9b는 본 발명의 일 실시예에 따른 터널 최종 진출(final exit tunnel) 조건을 예시하는 개략적인 도면이다.
The foregoing aspects and other features of the invention will be apparent from the following description taken in conjunction with the accompanying drawings.
1 illustrates a block diagram of a system for detecting ambient light in accordance with an embodiment of the present invention.
2 is a schematic diagram illustrating an input image and a corresponding histogram according to an embodiment of the present invention.
3 is a flow chart illustrating a method for detecting ambient light conditions in accordance with an embodiment of the present invention.
4 is a schematic diagram illustrating different ambient light conditions and corresponding histograms in accordance with an embodiment of the present invention.
5A and 5B are schematic diagrams illustrating a day time condition with a low contrast image and a good contrast image, according to an embodiment of the present invention.
6A and 6B are schematic diagrams illustrating daytime conditions when the average frequency average value FM is low but the data average value DM is high, according to an embodiment of the present invention.
7A and 7B are schematic diagrams illustrating tunnelability conditions, in accordance with an embodiment of the present invention.
8A is a schematic diagram illustrating a tunnel entering tunnel according to an embodiment of the present invention.
8B is a schematic diagram illustrating in-tunnel conditions according to an embodiment of the present invention.
FIG. 9A is a schematic view illustrating an exiting tunnel condition according to an embodiment of the present invention. FIG.
9B is a schematic diagram illustrating a final exit tunnel condition according to an embodiment of the present invention.

이하, 본 발명의 실시예들이 첨부한 도면들을 참조하여 상세히 설명될 것이다. 그러나 본 발명은 상기 실시예들에만 한정되는 것은 아니다. 본 발명은 다양한 형태로 변형될 수도 있을 것이다. 따라서, 본 발명의 실시예들은 단지 본 발명의 기술분야의 전문가들에게 해당 발명을 더욱 명료하게 설명하기 위해서만 단지 제공되는 것이다. 첨부된 도면들에서, 같은 참조기호들은 같은 구성요소들을 나타내기 위해 사용된다.Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings. However, the present invention is not limited to the above embodiments. The present invention may be modified into various forms. Accordingly, embodiments of the present invention are provided solely for the purpose of more clearly illustrating the invention to those skilled in the art. In the accompanying drawings, like reference symbols are used to denote like elements.

본 명세서는 여러 군데에서 “일”, “하나의”, 또는 “어떤” 실시예(들)을 지칭할 수도 있다. 이것은 그러한 각각의 언급이 동일한 실시예(들)에 대한 것이라는 것, 또는 그 특징이 단지 하나의 실시예에만 적용된다는 것을 필연적으로 의미하지는 않는다. 상이한 실시예들의 단일한 특징들이 다른 실시예들을 제공하기 위해 조합될 수도 있다.The specification may refer to "one", "one", or "some" embodiment (s) in various places. This does not necessarily imply that each such statement is for the same embodiment (s), or that the features apply only to one embodiment. The single features of the different embodiments may be combined to provide other embodiments.

여기서 사용되는 바와 같이, 단수 형태의 표현들(“a”, “an” 및 “the”)은, 명시적으로 달리 표현되지 않는 한, 복수 형태도 또한 포함하는 것으로 의도된다. 또한, 본 명세서에서 사용될 때 “포함한다(includes/comprises)” 및/또는, “포함하는(including/comprising)”이라는 표현들은 기술된 특징들, 개체들, 과정들, 단계들, 구성요소들 및/또는 부품들의 존재를 명시하지만, 1 이상의 다른 특징들, 개체들, 과정들, 단계들, 구성요소들, 부품들 및/또는 그들의 그룹들의 존재 또는 부가를 배제하지 않는다. 여기서 사용되는 것과 같은, “및/또는(and/or)”이라는 용어는 1 이상의 상기 연관되고 열거된 항목들의 임의의 그리고 모든 조합들 및 배열들을 망라하는 것으로 의도된다.As used herein, the singular forms "a", "an", and "the" are intended to also include the plural forms, unless expressly stated otherwise. It is also to be understood that the expressions " includes / comprising " and / or " including / comprising " when used in this specification are used interchangeably with the terms, / Or the presence of components, but does not preclude the presence or addition of one or more other features, entities, processes, steps, components, components, and / or groups thereof. As used herein, the term " and / or " is intended to encompass any and all combinations and arrangements of one or more of the above listed and listed items.

달리 정의되지 않는다면, 여기서 사용된 모든 용어들(기술적 및 과학적 용어들을 포함하여)은 본 개시가 속하는 기술분야에서의 통상의 지식을 갖는 자에 의해 보통으로 이해되는 것과 같은 의미를 갖는다. 보통으로 사용되는 사전에 정의되는 것들과 같은 용어들은 관련 기술의 맥락에서 그것들의 의미와 일치하는 의미를 갖는 것으로 해석되어야 할 것이며, 여기에서 명시적으로 그렇게 정의되지 않는다면, 이상적이거나 과도하게 형식적인 의미로 해석되지 않을 것이라는 것을 또한 이해하여야 할 것이다. 일 실시예에서, 평균 빈도 평균값(average frequency mean value)은 FM 및 FMavg 로서 서로 교환 가능하게 지칭된다.Unless defined otherwise, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this disclosure belongs. Terms such as commonly used definitions in the dictionary should be construed to have meanings consistent with their meanings in the context of the relevant art and, unless expressly so defined herein, are intended to mean ideal or overly formal Quot; will not be construed as < / RTI > In one embodiment, the average frequency mean value is referred to interchangeably as FM and FM avg .

본 발명은 어떤 환경에서 변화하는 주변 광 조건을 검출하기 위한 방법 및 시스템을 기술하고 있다.The present invention describes a method and system for detecting ambient light conditions that change in certain circumstances.

도 1은 본 발명의 일 실시예에 따른 주변 광을 검출하기 위한 시스템의 블록도를 예시한다. 상기 시스템은 이미지 캡처(image capturing: 영상 포착) 장치(101), 프로세싱 장치(102), 및 디스플레이 장치(103)를 포함한다. 상기 이미지 컵처 장치(101)는 1 이상의 영상들을 캡처(capture)하도록 구성된다. 상기 프로세싱 장치(102)는 상기 캡처 장치(101)에 연결되어 캡처 된 영상을 처리한다. 상기 프로세싱 장치(102)는, 상기 캡처 된 영상 각각의 컬러를 그레이 컬러(grey color)로 변환하는 단계, 상기 변환된 그레이(grey) 컬러 영상 각각의 히스토그램을 결정하는 단계, 상기 결정된 히스토그램의 데이터 평균값(DM) 및 평균 빈도 평균값(FM)을 계산하는 단계, 주변 광을 검출하기 위하여 상기 평균 빈도 평균값을 소정의 FM 임계치와 비교하는 단계를 포함하는 과정들을 수행하도록 구성된다. 부가적으로, 상기 프로세싱 장치(102)는 주변 광을 검출하기 위하여 상기 평균 빈도 평균값이 상기 미리 결정된 FM 임계치보다 작을 때 상기 데이터 평균값을 소정의 미리 결정된 DM 임계치와 비교한다. 주변 광이 최적 광보다 작은 것으로 검출될 경우, 상기 시스템은 사용자에게 경보를 송출한다. 일 실시예에서, 시각적인 경보가 디스플레이 장치(103)에 표시된다.1 illustrates a block diagram of a system for detecting ambient light in accordance with an embodiment of the present invention. The system includes an image capturing device 101, a processing device 102, and a display device 103. The image sharing device 101 is configured to capture one or more images. The processing device 102 is connected to the capture device 101 and processes the captured image. The method of claim 1, wherein the processing device (102) is further configured to: convert the color of each of the captured images to a gray color; determine a histogram of each of the converted gray color images; (DM) and an average frequency average value (FM), and comparing the average frequency average value to a predetermined FM threshold to detect ambient light. Additionally, the processing device 102 compares the data average value to a predetermined DM threshold when the average frequency average value is less than the predetermined FM threshold to detect ambient light. When ambient light is detected to be less than optimal, the system sends an alarm to the user. In one embodiment, a visual alert is displayed on the display device 103.

일 실시예에 있어서, 상기 방법 및 시스템은 차량의 카메라(101)와 같은 탑재된 전방을 향하는 이미지 캡처 장치(101)를 이용하여 주변 광을 검출하기 위해 사용된다. 상기한 차량의 전방을 향하는 카메라는 운전자 지원 시스템(driver assistance system)의 기존의 카메라일 수도 있으며, 아니면 개장될 수도 있다.In one embodiment, the method and system are used to detect ambient light using an installed front-facing image capture device 101, such as a camera 101 of a vehicle. The camera facing forward of the vehicle may be an existing camera of a driver assistance system or may be retrofitted.

이러한 실시예에서, 본 발명의 방법은 하기의 것들을 포함하는(그러나 그것들에 한정되지는 않는) 여러 가지의 도로 상황에서 주변 광을 검출한다:In this embodiment, the method of the present invention detects ambient light in a variety of road situations including, but not limited to, the following:

* 정상적인 주간 광* Normal weekly light

* 터널 내부로의 진입/진출 * Entry into / out of tunnel

* 터널 내부/주차장/차고/폐쇄 영역 등에 진입할 경우* Entering inside tunnel / parking lot / garage / closed area

* 다리 밑/수목의 캐노피로 인해 그늘진 곳 등.* Shady places due to under the bridge / canopy of trees.

차량이 운행할 때, 차량의 전방을 향하는 카메라(101)가 그 차량 전방의 주변의 이미지를 캡처(capture)한다. 이어서, 상기 캡처 된 이미지는 프로세싱 장치(102)에 의해 처리되고, 여기서 그 주변 광과 도로 광경의 조건들이 상기 프로세싱 장치의 제어 로직에 의해 검출된다. 일단 주변 광이 최적 광보다 작은 것으로 검출되면, 상기 프로세싱 장치는 사용자에게 경보를 송출한다. 일 실시예에 있어서, 경보는 디스플레이 장치(103)에 표시되는 일종의 메시지의 형태로 되어 있다. 또 다른 실시예에 있어서는, 전자제어 장치(Electronic Control Unit: ECU)(104)가 상기 검출된 주변 광에 기초해 미리 정의된 제어 기능을 수행한다. 상기 프로세싱 장치는 전조등(105)과 같은 1 이상의 차량 기능들을 차례로 제어하는 광 전자제어 장치(ECU)(104)에 신호를 전송한다. 상기 미리 정의된 제어 기능들에는 도로 조건에 따라 자동으로 전조등, 계기판의 광량, 광의 지향을 조절하는 것 등이 포함되지만, 반드시 그것들에만 한정되는 것은 아니다.When the vehicle is running, the camera 101 facing the front of the vehicle captures an image of the periphery of the front of the vehicle. The captured image is then processed by the processing device 102, wherein the ambient light and conditions of the road scene are detected by the control logic of the processing device. Once the ambient light is detected to be less than the optimal light, the processing device sends an alert to the user. In one embodiment, the alert is in the form of a message displayed on the display device 103. In yet another embodiment, an electronic control unit (ECU) 104 performs a predefined control function based on the detected ambient light. The processing device sends a signal to an optoelectronic control unit (ECU) 104, which in turn controls one or more vehicle functions, such as a headlamp 105. The predefined control functions include, but are not limited to, adjusting the amount of light of the headlamps, the instrument panel, and the orientation of the light automatically according to road conditions.

도 2는 본 발명의 일 실시예에 따른 입력 이미지 및 해당하는 히스토그램을 예시하는 개략적인 도면이다. 차량의 전방을 향하는 카메라(101)에 의해 캡처 된 이미지는 도 2(a)에 도시된 바와 같이 컬러 이미지로서, 상기 프로세싱 장치(102)는 그 캡처 된 컬러 이미지를 그레이 이미지(grey image)로 변환하고, 후속해서 상기 이미지의 히스토그램이 도 2(b)에 도시된 것과 같이 결정된다.2 is a schematic diagram illustrating an input image and a corresponding histogram according to an embodiment of the present invention. The image captured by the camera 101 facing the front of the vehicle is a color image as shown in Fig. 2 (a), and the processing device 102 converts the captured color image into a gray image , And subsequently the histogram of the image is determined as shown in FIG. 2 (b).

도 3은 본 발명의 일 실시예에 따른 주변 광 조건을 검출하기 위한 방법을 예시하는 흐름도이다. 과정 301에서, 차량 전방에 있는 주위 상황의 컬러 이미지는 전방을 향하는 카메라(101)에 의해 캡처 된다. 과정 302에서, 상기 캡처 된 컬러 이미지는 프로세싱 장치(102)에 의해 처리되어 그레이 이미지로 변환된다. 과정 303에서, 상기 처리된 이미지의 히스토그램이 결정된다. 과정 304에서, 상기 이미지의 결정된 히스토그램으로부터, 그 이미지의 평균 밝기를 제공하는 데이터의 평균(Data Mean/DM) 및 상기 히스토그램의 빈도 값들의 평균이 계산된다. 과정 305에서는, 상기 계산된 FM 값이 상기한 미리 결정된 FM 임계치와 비교된다. 과정 306에서, 상기 FM 값이 상기한 미리 결정된 FM 임계치보다 작으면 상기 계산된 DM 값은 미리 결정된 DM 임계치와 비교가 이루어진다. 과정 307에서는 상기한 비교에 기초하여, 주변 광 조건들이 확인되고, 그것을 이용하여 플래그들과 임계치들이 정의된다. 과정 308에서, 적절한 경보/경고가 상기 미리 정의된 임계치들에 관하여 DM 및 FM의 변화하는 값들에 기초하여 제공/디스플레이 된다. 3 is a flow chart illustrating a method for detecting ambient light conditions in accordance with an embodiment of the present invention. In step 301, the color image of the surrounding situation in front of the vehicle is captured by the camera 101 facing the front. In step 302, the captured color image is processed by the processing device 102 and converted into a gray image. In step 303, the histogram of the processed image is determined. In step 304, from the determined histogram of the image, the average of the data providing the average brightness of the image (Data Mean / DM) and the average of the frequency values of the histogram are calculated. In step 305, the calculated FM value is compared with the predetermined FM threshold value. In step 306, if the FM value is less than the predetermined FM threshold value, the calculated DM value is compared with a predetermined DM threshold value. In step 307, based on the above comparison, the ambient light conditions are identified and flags and thresholds are defined using it. In step 308, appropriate alarms / warnings are provided / displayed based on the varying values of DM and FM with respect to the predefined thresholds.

본 발명의 일 실시예에 따라서, 주변 광을 검출하기 위한 시스템이 주간(day time)/충분한 주변 광 중에서 현재 부팅 되고 있다고 간주한다. 평균 빈도 평균값(average frequency mean value: FM)이 현재의 현장 광경(scene)에 대해 계산되고, 그 계산된 FM이 상기한 미리 결정된 FM 임계치와 비교된다. 만일 FM이 상기 미리 결정된 FM 임계치보다 더 크다면, 그 현장은 주간인 것으로 확인되고, 주변 광은 최적 광으로서 검출된다. 만일 FM이 상기 미리 결정된 FM 임계치보다 더 작다면, 데이터 평균값(DM)이 현재의 현장에 대해 계산되고, 그리고 만일 DM이 상기 미리 결정된 DM 임계치보다 더 크다면, 그 현장은 주간인 것으로 식별되고, 그 주변 광은 최적 광으로서 검출된다. 또한, 만일 FM이 상기 미리 결정된 FM 임계치보다 더 작고, 또한 DM도 상기 미리 결정된 DM 임계치보다 더 작다면, 이미지의 중심에서의 작은 영역(관심 영역: Region of Interest(ROI))이 선택되고, 상기 선택된 ROI에 대한 FM이 계산된다. 상기 비교된 ROI의 FM이 미리 결정된 FM 임계치보다 작을 때, 그 주변 광은 최적 광보다 작은 것으로서 검출된다.According to one embodiment of the present invention, a system for detecting ambient light is considered to be currently booting from day time / sufficient ambient light. An average frequency mean value (FM) is calculated for the current scene and the calculated FM is compared to the predetermined FM threshold. If the FM is greater than the predetermined FM threshold, the scene is confirmed to be daytime, and ambient light is detected as optimal light. If the FM is less than the predetermined FM threshold, the data mean value DM is calculated for the current field, and if the DM is greater than the predetermined DM threshold, the field is identified as being weekly, The ambient light is detected as the optimum light. Also, if the FM is smaller than the predetermined FM threshold and the DM is also less than the predetermined DM threshold, then a small region (ROI) at the center of the image is selected, The FM for the selected ROI is calculated. When the FM of the compared ROI is smaller than the predetermined FM threshold, the ambient light is detected as being smaller than the optimal light.

본 발명의 또 다른 실시예에 따라서, 주변 광을 검출하기 위한 시스템이 야간(night time)/어두운 지역/주변 광이 더 작은 지역 중에서 현재 부팅 되고 있다고 간주하여 설명한다. 평균 빈도 평균값(FM) 및 데이터 평균값(DM)이 현재의 현장 광경에 대해 계산된다. 상기 FM 및 DM은 상기한 미리 결정된 임계치들과 비교된다. 만일 FM이 상기 미리 결정된 FM 임계치보다 더 크고, 또한 DM도 상기 미리 결정된 DM 임계치보다 크다면, 그 현장은 주간으로서 식별되고 그 주변 광은 최적 광으로서 검출된다. 만일 FM이 상기 미리 결정된 FM 임계치보다 더 작고, 또한 DM은 상기 미리 결정된 DM 임계치보다 크다면, 그 현장은 주간으로 식별되고 그 주변 광은 최적 광으로서 검출된다. 한편, 만일 FM이 상기 미리 결정된 FM 임계치보다 더 작고, DM도 상기 미리 결정된 DM 임계치보다 작다면, 이미지의 중심부의 작은 영역(관심 영역: ROI)이 선택되고, 이어서 상기 선택된 ROI에 대한 FM이 계산된다. 상기 비교된 ROI의 FM이 미리 결정된 FM 임계치보다 작을 때, 그 주변 광은 최적 광보다 작은 것으로서 검출된다.According to another embodiment of the present invention, a system for detecting ambient light is assumed to be currently booted in a night time / dark area / area where the ambient light is smaller. The average frequency mean value (FM) and the data mean value (DM) are calculated for the current field of view. The FM and DM are compared to the predetermined thresholds described above. If FM is greater than the predetermined FM threshold and DM is also greater than the predetermined DM threshold, the scene is identified as daytime and its ambient light is detected as optimal light. If FM is smaller than the predetermined FM threshold and DM is greater than the predetermined DM threshold, the scene is identified as daytime and its ambient light is detected as optimal light. On the other hand, if FM is smaller than the predetermined FM threshold and DM is also less than the predetermined DM threshold, then a small region (ROI) at the center of the image is selected and then the FM for the selected ROI is calculated do. When the FM of the compared ROI is smaller than the predetermined FM threshold, the ambient light is detected as being smaller than the optimal light.

여기서, “최적 광(optimal light)”이라는 용어는 미리 정의된 임계치를 초과하는 광, 밝은 광 조건, 및 주간(day time) 조건을 포함하는 의미이다(이것들에만 한정되지는 않음). 상기한 "최적 광보다 더 작은(less than optimal light)”이라는 표현은 미리 정의된 임계치 아래의 광, 낮은 광 조건, 야간(night time) 조건, 터널, 주차장, 차고, 다리 밑, 수목의 캐노피 아래 등에서의 광을 포함하지만, 이것들에만 한정되는 것은 아니다. 최적 미만의 광 조건이 검출될 때, 상기 시스템은 운전자에게 적절한 경고를 표시해주고, ECU는 적합한 차량 기능을 제어한다. Herein, the term " optimal light " is meant to include, but is not limited to, light exceeding a predefined threshold, bright light conditions, and day time conditions. The expression " less than optimal light ", as used herein, refers to light below a predefined threshold, low light conditions, night time conditions, tunnels, parking lots, garages, Etc. When a suboptimal light condition is detected, the system displays appropriate warnings to the driver, and the ECU controls the appropriate vehicle functions.

예를 들어, 상기한 실시예들 중의 하나에서, 본 발명에 따른 방법은 가능한 터널 조건- 즉, 터널 진입(entering tunnel), 터널내(in-tunnel), 및 터널 진출(exiting tunnel) 상태를 검출한다. 가능한 터널 조건의 검출을 위한 방법은 후술하는 설명에서 상세히 기술된다. 만일 상기 선택된 이미지의 ROI의 FM이 미리 결정된 FM 임계치보다 작다면, 시스템은 전방 영역에 터널이 존재할 수 있다는 것을 경고하고, 소정의 경고 메시지(예컨대, “터널 가능성 있음(possible tunnel)”)가 차량의 표시장치에 발신된다. 만일 이러한 조건이 소정 수의 프레임들('n') 동안, 예컨대, 10프레임 동안 계속되면, 경고 메시지는 “터널 진입”으로 변경되고, 이어서 “터널내(In_Tunnel)”라는 플래그가 설정될 것이다. 일단 “터널내” 플래그가 세트 되고 나면, 그 차량은 터널 지역에 있는 것으로 간주 되고, “터널 내부”라는 경고 메시지가 표시된다. FM은 터널 내 상황에 대해 모니터가 수행되고, 만일 그것이 상기 미리 결정된 FM 임계치보다 훨씬 아래로 떨어지면, 시스템은 터널 진출 조건인 것으로 경고한다. 따라서, “터널 진출” 경고 메시지가 제공되고, 또한 “터널 진출(Exit_Tunnel)” 플래그가 세트 될 것이다. 상기한 '터널 진출' 경고는 예를 들면, 15프레임 동안 표시된다. 최종 이탈은, FM이 상기 미리 결정된 FM 임계치보다 크게 될 때까지, 진출 조건의 15프레임 후에 모니터 된다. 일단 FM이 상기 미리 결정된 FM 임계치보다 더 크게 되면, 그것은 최적 광 및 주간 조건을 나타내고, 따라서 모든 플래그들은 리셋된다.For example, in one of the above embodiments, the method according to the present invention can detect possible tunnel conditions - i.e., entering tunnel, in-tunnel, and exiting tunnel conditions do. A method for detecting possible tunnel conditions is described in detail in the following description. If the FM of the ROI of the selected image is less than the predetermined FM threshold, the system warns that there may be a tunnel in the forward region, and if a predetermined warning message (e.g., " possible tunnel & Of the display device. If this condition continues for a predetermined number of frames ('n'), for example, for 10 frames, the warning message will be changed to "tunnel entry", followed by the flag "In_Tunnel". Once the " in tunnel " flag is set, the vehicle is considered to be in the tunnel area and a warning message " INTERNAL TUNNEL " The FM is monitored for the situation in the tunnel, and if it falls well below the predetermined FM threshold, the system warns that it is a tunnel entry condition. Thus, a " tunnel advance " warning message will be provided and a " Exit_Tunnel " flag will be set. The 'tunnel advance' warning is displayed for, for example, 15 frames. The final departure is monitored after 15 frames of the entry condition until the FM is greater than the predetermined FM threshold. Once FM is greater than the predetermined FM threshold, it represents the optimal light and daytime condition, and thus all the flags are reset.

본 발명의 일 실시예에 따르면, 가능한 상황들(시나리오)을 식별하기 위해 사용되는 알고리즘은 다음과 같은 것들을 포함할 것이다:According to one embodiment of the present invention, the algorithm used to identify possible scenarios (scenario) will include the following:

a. 히스토그램 계산(Histogram Computation)(Total bins =256)a. Histogram Computation (Total bins = 256)

i. 히스토그램의 bin 값들을 계산함 i. Calculate the bin values of the histogram

ii. 256 bins 중의 최대값을 계산함 ii. Calculates the maximum of 256 bins

iii. Bin 값들을 최대값으로 스케일링함 iii. Scales Bin values to their maximum values.

b. 빈도 평균 및 데이터 평균(Frequency Mean and Data Mean)b. Frequency Mean and Data Mean

i. 스케일링 된 bin 값들의 평균을 계산함(빈도 평균) i. Calculate the average of scaled bin values (frequency average)

ii. bin 값들로부터 데이터 평균을 계산함(데이터 평균) ii. Calculate data average from bin values (data average)

c. 도로 광경 식별(Road Scene Identification) - 임계치들의 설정c. Road scene identification - setting of thresholds

i. 지난 5프레임들에 대해 빈도 평균값의 평균을 계산함(FM) i. Calculate the mean of the frequency average for the last 5 frames (FM)

ii. FM 및 DM에 대한 임계치들을 설정함(FM_THR, DM_THR, EXIT_THR) ii. Set thresholds for FM and DM (FM_THR, DM_THR, EXIT_THR)

d. 도로 광경 식별(Road Scene Identification) - 방법d. Road Scene Identification - Method

i. 주간 i. weekly

1. If FM > FM_THR One. If FM> FM_THR

2. Else if FM < FM_THR but DM > DM_THR 2. Else if FM <FM_THR but DM> DM_THR

3. Else if FM < FM_THR && DM < DM_THR but FM_ROI > FM_THR 3. Else if FM <FM_THR && DM <DM_THR but FM_ROI> FM_THR

a. Counter 1= Counter 1-1; a. Counter 1 = Counter 1-1;

ii. 터널 가능성(Possible Tunnel) ii. Possible Tunnel

1. If FM < FM_THR, DM < DM_THR && FM_ROI < FM_THR One. If FM <FM_THR, DM <DM_THR && FM_ROI <FM_THR

2. Counter 1 = Counter1+1; 2. Counter 1 = Counter 1 + 1;

iii. 터널 진입(Entering tunnel) iii. Entering tunnel

1. If Counter 1>5, in_tunnel_flag =0 One. If Counter 1> 5, in_tunnel_flag = 0

2. Counter 2 =Counter 2+1; 2. Counter 2 = Counter 2 + 1;

3. Counter 2=10일 때까지 '터널 진입' 디스플레이를 반복함 3. Repeat 'tunnel entry' display until Counter 2 = 10

4. In_tunnel_flag =1 4. In_tunnel_flag = 1

iv. In_tunnel iv. In_tunnel

1. If Counter 2 > 10 && In_tunnel_flag =1 && FM > FM_THR One. If Counter 2> 10 && In_tunnel_flag = 1 && FM> FM_THR

v. 진출(Exit) v. Exit

1. If in_tunnel_flag =1, Counter 2>10 but FM < EXIT_THR One. If in_tunnel_flag = 1, Counter 2> 10 but FM <EXIT_THR

2. Exit_flag=1 2. Exit_flag = 1

3. Counter 3 = Counter 3 + 1 3. Counter 3 = Counter 3 + 1

vi. 최종 진출(Final Exit) vi. Final Exit

1. If Counter 3==15 One. If Counter 3 == 15

2. If FM < EXIT_THR, '진출' 표기를 디스플레이 2. If FM <EXIT_THR, display the 'advance' notation

3. Else if FM > FM_THR, '주간' 표기를 디스플레이 3. Else if FM> FM_THR, display 'weekly' notation

주변 광, 즉 주간, 터널 가능성, 터널 진입, 터널내, 터널 진출 및 최종 진출 조건을 검출하기 위한 과정들이 아래에 상세하게 설명된다: Procedures for detecting ambient light, i.e., daytime, tunnel potential, tunnel entry, tunnel entry, tunnel entry and final entry conditions are described in detail below:

a. 히스토그램 계산(Histogram Computation)a. Histogram Computation

Figure pct00001
범위의 강도(n)를 갖는 크기
Figure pct00002
의 소정의 그레이 레벨 이미지(
Figure pct00003
)에 대해, 히스토그램은 다음과 같이 계산된다:
Figure pct00001
The size with the intensity (n) of the range
Figure pct00002
A predetermined gray-level image (
Figure pct00003
), The histogram is calculated as: &lt; RTI ID = 0.0 &gt;

과정 1: 히스토그램 bin 값들을 계산한다. Step 1 : Calculate the histogram bin values.

'p'가 이미지의 히스토그램 bin을 나타내고, 'I'가 bin인덱스를 나타내는 것으로 하면, If 'p' denotes the histogram bin of the image, and 'I' denotes the bin index,

pi = 강도 ni 를 갖는 픽셀들의 총수이다.p i = total number of pixels with intensity n i .

여기서,

Figure pct00004
[식 1] here,
Figure pct00004
[Formula 1]

과정 2: 최대 빈도 값을 계산한다. Step 2 : Calculate the maximum frequency value.

상기 계산된 히스토그램 bin 값들의 최대치를 계산한다. 이 값은 최대 빈도 값을 제공한다.And calculates a maximum value of the calculated histogram bin values. This value provides the maximum frequency value.

Max_p = max (pi) (

Figure pct00005
[식 2]Max_p = max (pi) (
Figure pct00005
[Formula 2]

과정 3: 최대 빈도 값으로 bin 데이터를 스케일링한다. Step 3 : Scale bin data with the maximum frequency value.

Figure pct00006
=
Figure pct00007
Figure pct00008
[식 3]
Figure pct00006
=
Figure pct00007
Figure pct00008
[Formula 3]

최대 빈도 값으로 bin 데이터를 스케일링하는 것은 매 히스토그램에 대해 다른 빈도 평균값을 제공하며, 따라서 분포에 대한 정보를 제공하게 된다. 아래에서 세부 사항이 설명된다.Scaling bin data with a maximum frequency value provides different frequency averages for every histogram, thus providing information about the distribution. The details are explained below.

b. 빈도 평균 및 데이터 평균(Frequency Mean & Data Mean)b. Frequency Mean & Data Mean

히스토그램은 빈도의 분포 또는 밝기 값들(brightness values)의 분포를 제공한다.The histogram provides a distribution of frequency or a distribution of brightness values.

도 4는 본 발명의 일 실시예에 따른 상이한 주변 광 조건(상황)들 및 해당하는 히스토그램들을 예시하는 개략적 도면이다. 주간, 터널 진입, 터널내, 터널 진출 및 최종 진출(터널 외부)와 같은 여러 가지의 도로 상황들에 대한 빈도의 분포가 개시되어 있다. 상기 히스토그램들은 상이한 주변 광 조건들에 대해 생성되는 것으로서 각각의 도로 조건에 대해 상이하다. 비-정규화 히스토그램(non-normalized histogram)의 경우, 예컨대, 히스토그램 bin의 빈도들의 합은 이미지의 크기와 같고, 그리고 정규화 히스토그램(normalized histogram)의 경우에 그것은 1과 같다.4 is a schematic diagram illustrating different ambient light conditions and corresponding histograms in accordance with an embodiment of the present invention. The distribution of frequencies for various road conditions such as daytime, tunnel entry, tunnel entry, tunnel entry and final entry (outside the tunnel) is disclosed. The histograms are generated for different ambient light conditions and are different for each road condition. In the case of a non-normalized histogram, for example, the sum of the frequencies of the histogram bin is equal to the size of the image, and in the case of a normalized histogram it is equal to one.

빈도의 분포에 대한 정보를 제공할 수도 있는 특이치(singular value)를 획득하기 위하여, 빈도분포의 최대 빈도 값이 계산되고, 그 히스토그램 값이 스케일링 된다.In order to obtain a singular value that may provide information on the distribution of frequencies, the maximum frequency value of the frequency distribution is calculated and the histogram value is scaled.

Figure pct00009
[식 4]
Figure pct00009
[Formula 4]

상기 스케일링 된 bin 값으로부터의 빈도 평균값은 다음과 같이 계산된다:The frequency mean value from the scaled bin value is calculated as:

Figure pct00010
[식 5]
Figure pct00010
[Formula 5]

여기서, here,

Figure pct00011
Figure pct00011

터널 진입 또는 터널 진출 조건에 대하여, 히스토그램은 각각 0 또는 255에 근사한 최고치에 이를 수 있기 때문에, 최대 빈도 값은 유사하게 유지될 것이며, 빈도 평균값도 또한 동일 범위에 존재할 것이다. 잘못된 판단을 피하기 위하여, 빈도 평균값도 또한 동일 범위에 존재할 것이기 때문에, 그 이미지의 데이터/밝기 (brightness) 평균값이 또한 비교된다.For a tunnel entry or tunnel entry condition, the histogram may reach a peak close to 0 or 255, respectively, so that the maximum frequency value will remain similar and the frequency average value will also be in the same range. To avoid false judgments, the data / brightness average value of the image is also compared because the frequency average value will also be in the same range.

그 이미지의 데이터 평균 또는 밝기 값은 히스토그램으로부터 계산된다. 수식 1에서 획득되는 히스토그램 값은 다음과 같이 정규화된다:The data average or brightness value of the image is calculated from the histogram. The histogram values obtained in Equation 1 are normalized as:

Figure pct00012
Figure pct00013
[식 6]
Figure pct00012
Figure pct00013
[Formula 6]

pi의 범위는 0과 1 사이에 존재한다.The range of p i is between 0 and 1.

Figure pct00014
[식 7]
Figure pct00014
[Equation 7]

c. 현장 식별: 임계치 설정c. Field identification: threshold setting

상기 시스템은 주변 광 조건을 식별하기 위해 주간 조건 중에 켜지는(turn ON) 것으로 간주 된다. 다양한 주변 광 조건들에 대해 빈도 평균 및 데이터 평균 값들의 전형적인 범위는 다음과 같이 기술된다:The system is considered to turn on during daylight conditions to identify ambient light conditions. A typical range of frequency average and data mean values for various ambient light conditions is described as follows:

빈도 평균 및 데이터 평균값들에 대한 임계치를 계산하기 위한 2 영상들의 비교 결과Comparison of two images to calculate the threshold for frequency average and data mean values ScenarioScenario Video1Video1 Video2Video2 조건Condition DMDM FMFM DMDM FMFM
주간

weekly
101.23101.23 27.5527.55 120.87120.87 39.9539.95 DM>80
FM<30
DM> 80
FM <30
113.67113.67 74.574.5 68.6468.64 29.0229.02 99.6099.60 48.9948.99 128.5128.5 48.748.7
진입

enter
40.3340.33 24.5824.58 78.478.4 24.7524.75 DM<80
FM>30
DM <80
FM> 30
31.931.9 7.377.37 66.2566.25 21.921.9 19.819.8 11.9211.92 49.4149.41 21.2121.21 터널 내부
Inside the tunnel
69.569.5 32.8632.86 81.0681.06 29.9629.96 In-tunnel
flag set
In-tunnel
flag set
56.056.0 31.4331.43 110.32110.32 3636 69.8369.83 36.4936.49 111111 46.246.2
진출

debouchment
108.37108.37 17.1417.14 103103 19.6119.61 FM<20
DM>80
Exit flag set
FM <20
DM> 80
Exit flag set
151.4151.4 5.645.64 135.3135.3 5.675.67 182.2182.2 2.312.31 168.27168.27 2.692.69

표 1에 보이는 것과 같이, 주간 중의 밝기값의 범위는 90 내지 150 사이에서 변하는 반면, FM은 30을 초과한다. 주간과 낮은 주변 광 상황들 간에 명료하게 분간을 하기 위하여, 상기한 미리 결정된 DM 임계치는 80 (DM_THR)으로 설정된다. 차량이 다리 밑 또는 수목이 밀집한 수관의 아래를 통과할 때 특히 빈도 평균값에 있어 변동이 존재하는 것으로 관찰된다. 오류 검출을 피하기 위해, 빈도 평균의 평균값이 계산된다. 이전의 몇 개의 프레임들의 평균이 저장되고 현재의 프레임에 대해 추산된다. 상기 FM은 다음과 같이 업데이트가 이루어진다.As shown in Table 1, the range of brightness values during daytime varies between 90 and 150, while FM exceeds 30. To clearly distinguish between daytime and low ambient light conditions, the predetermined DM threshold is set to 80 (DM_THR). It is observed that there is a variation, especially in the mean frequency value, when the vehicle passes under the bridge or under dense water pipes. To avoid error detection, an average value of the frequency averages is calculated. The average of several previous frames is stored and estimated for the current frame. The FM is updated as follows.

초기에, 첫 번째 K 프레임들의 빈도 평균값들이 일렬로 저장되고, 이어서 현재의 프레임에 대해, 이전의 K 프레임들의 평균이 다음과 같이 계산된다:Initially, the mean values of the frequencies of the first K frames are stored in a row, and then for the current frame, the average of the previous K frames is calculated as:

Figure pct00015
Figure pct00016
[식 8]
Figure pct00015
Figure pct00016
[Equation 8]

Figure pct00017
Figure pct00018
Figure pct00017
Figure pct00018

Figure pct00019
(현재 이미지의 FM)
Figure pct00019
(FM of current image)

FM에 대해 설정된 임계치는 30 (FM_THR)이다. 표 1에 보이는 것과 같이, 진출 조건 중, 빈도 평균값에 있어 갑작스러운 하강이 존재한다. 진출 조건과 주간 조건 간의 구별을 위하여, FM에 대한 진출 임계치는 20 (EXIT_THR)에서 설정된다.The threshold set for FM is 30 (FM_THR). As shown in Table 1, there is a sudden drop in the frequency average among the entry conditions. For the distinction between entry conditions and daytime conditions, the entry threshold for FM is set at 20 (EXIT_THR).

본 시스템에 대해 정의된 임계치들The thresholds defined for this system FM_THRFM_THR 3030 DM_THRDM_THR 8080 EXIT_THREXIT_THR 2020

d. 도로 상황들을 구별하는 방법(Method to distinguish road scenes)d. Method to distinguish road scenes

다음과 같은 주변 광 조건들/상황들이 본 시스템을 활용하여 식별된다: 주간(day time), 터널 가능성(possible tunnel), 터널 진입(entering tunnel), 터널 내(in tunnel), 터널 진출(exiting tunnel) 및 최종 진출(final exit).The following ambient conditions / situations are identified using this system: day time, possible tunnel, entering tunnel, in tunnel, exiting tunnel ) And final exit.

도 5a 및 5b는 본 발명의 일 실시예에 따른, 낮은 대비 이미지(low contrast image) 및 양호한 대비 이미지를 갖는 주간 조건들을 예시하는 개략적 도면들이다. 도 5a에 도시된 바와 같이, 예컨대, FM 값은 54.2이고, DM 값은 101.2이며, FM과 DM 모두 다 그의 임계치들인 30 및 80을 각각 넘어선다. 또한, 도 5b에서도 마찬가지로, FM 값은 48.7이고, DM 값은 128.05이며, 여기서 FM과 DM 모두 다 그의 임계치들인 30 및 80을 각각 넘어선다. 그러므로 만일 FM이 상기한 미리 결정된 FM 임계치(FM_THR)보다 더 크면, 현재의 프레임은 '주간(Day Time)'으로 표기된다. 이전 프레임들의 평균이 취해지고, 따라서 만일 주변 광의 급격한 감소가 존재한다면, 그 도로 조건에 대하여 오류성 결정을 피할 수 있을 것이다.5A and 5B are schematic diagrams illustrating daytime conditions having a low contrast image and a good contrast image, in accordance with an embodiment of the present invention. As shown in FIG. 5A, for example, the FM value is 54.2, the DM value is 101.2, and both FM and DM exceed their threshold values of 30 and 80, respectively. Also in FIG. 5B, the FM value is 48.7 and the DM value is 128.05, where both FM and DM exceed their threshold values of 30 and 80, respectively. Therefore, if FM is greater than the predetermined FM threshold (FM_THR), the current frame is marked 'Day Time'. An averaging of the previous frames is taken and if there is a sudden decrease in ambient light then an erroneous decision on the road condition may be avoided.

도 6a 및 6b는 본 발명의 일 실시예에 따른, 평균 빈도 평균값(FM)이 더 낮지만, 데이터 평균값(DM)은 높은 경우의 주간 조건들을 예시하는 개략적 도면이다. 도 6b에 도시된 바와 같이, FM 값은 7.28이고, DM 값은 87.5이다. 여기서 FM은 상기 미리 결정된 FM 임계치(FM_THR) 30보다는 더 작지만, 현재 이미지의 DM은 상기 미리 결정된 DM 임계치(DM_THR) 80보다 더 크고, 따라서 현재의 프레임은 '주간'으로 표시(라벨)된다. Figures 6A and 6B are schematic diagrams illustrating daytime conditions where the average frequency mean value (FM) is lower but the data mean value (DM) is higher, according to one embodiment of the present invention. As shown in FIG. 6B, the FM value is 7.28 and the DM value is 87.5. Here, the FM is smaller than the predetermined FM threshold (FM_THR) 30, but the DM of the current image is larger than the predetermined DM threshold (DM_THR) 80, so that the current frame is labeled (weekly).

게다가, 도 6a에 도시된 바와 같이, FM 값은 29.02이고, DM 값은 68.64이다. 여기서, FM과 DM은 둘 다 그의 각각의 임계치 30 및 80보다 더 작으므로, 고정된 폭과 높이의 이미지 중심부에서의 관심 영역(ROI)의 추출이 이루어진다. 현재의 ROI의 FM은 상기한 미리 결정된 FM 임계치(FM_THR)와 비교되고, 만일 더 큰 것으로 발견되면, 현재의 프레임은 '주간'으로 표시된다.In addition, as shown in FIG. 6A, the FM value is 29.02 and the DM value is 68.64. Here, since FM and DM are both smaller than their respective thresholds 30 and 80, extraction of the ROI at the center of the image of fixed width and height is achieved. The FM of the current ROI is compared to the predetermined FM threshold (FM_THR) described above, and if it is found to be larger, the current frame is marked as 'Week'.

7a 및 7b는 본 발명의 일 실시예에 따른, 가능한 터널 조건들을 예시하는 개략적인 도면이다. 도 6에 도시된 것과 같은 마지막 경우에서, 만일 현재의 ROI의 FM이 상기한 미리 결정된 FM 임계치(FM_THR)보다 낮으면, 현재의 프레임은 '터널 가능성'이라고 표시된다. 이러한 조건은 다섯 개의 프레임들에 이를 때까지 카운터 값(counter_1)을 증가시킴으로써 모니터링 된다. 7a and 7b are schematic diagrams illustrating possible tunnel conditions, in accordance with an embodiment of the present invention. In the last case as shown in FIG. 6, if the FM of the current ROI is below the predetermined FM threshold (FM_THR), the current frame is marked as &quot; Tunneling Probability &quot;. This condition is monitored by increasing the counter value (counter_1) until it reaches five frames.

8a및 8b는 본 발명의 일 실시예에 따른 터널 진입(entering tunnel) 및 터널내(in tunnel) 조건들을 예시하는 개략적인 도면들이다. 만일 상기한 카운터 값(counter_1)이 5보다 크면, 현재의 프레임 라벨링은 도 8a에 도시된 것과 같은 '터널 진입'으로 전환된다. 상기 카운터 값(counter_1)은 주간 상황을 만날 경우 감소된다. 다섯 프레임 후에, 터널 진입 조건은 다음의 연속적인 10 프레임들에 대해 유지되고((counter_2), 그 후에 상기한 '터널 내' 플래그가 도 8b에 도시되는 것과 같이 세트 된다. FM이 진출 임계치 (EXIT_THR) 아래로 떨어질 때까지 현재의 프레임은 '터널 내'로 표시된다. 8a and 8b are schematic diagrams illustrating entering and tunnel conditions according to an embodiment of the present invention. If the counter value counter_1 is larger than 5, the current frame labeling is switched to 'tunnel entry' as shown in FIG. 8A. The counter value counter_1 is decreased when it meets a daytime situation. After five frames, the tunnel entry condition is maintained for the next consecutive 10 frames ((counter_2), after which the aforementioned 'in tunnel' flag is set as shown in Figure 8b. If the FM exceeds the entry threshold EXIT_THR ) Until the current frame falls down.

도 9a는 본 발명의 일 실시예에 따른 터널 진출(exiting tunnel) 조건을 예시하는 개략적인 도면이다. 상기 터널 플래그가 세트 되어 있을 경우에만 상기한 터널 진출 조건들이 모니터 된다. 만일 FM이 진출 임계치(EXIT_THR) 아래로 떨어진다면, 현재의 프레임은 '터널 진출'로 표시(라벨)되고 또한 진출 카운터(counter_3)는 증가한다. 또한, 진출 중에는 밝기값이 대폭 증가하는 것이 관찰된다. 이러한 조건이 진출 조건의 오류 검출을 피하기 위해 또한 모니터 된다. 상기한 진출 조건은 약 15 프레임 동안(counter_3) 디스플레이된다. 이후에, 터널 진출 플래그가 세트 되고, 최종 진출 조건이 모니터 된다.FIG. 9A is a schematic view illustrating an exiting tunnel condition according to an embodiment of the present invention. FIG. Only when the tunnel flag is set, the above-mentioned tunnel entry conditions are monitored. If FM falls below the entry threshold (EXIT_THR), the current frame is labeled (tunneled) and the entry counter (counter_3) is incremented. Also, it is observed that the brightness value greatly increases during the advancement. These conditions are also monitored to avoid error detection of entry conditions. The advance condition is displayed for about 15 frames (counter_3). Thereafter, the tunnel advance flag is set, and the final advance condition is monitored.

도 9b는 본 발명의 일 실시예에 따른 터널 최종 진출을 예시하는 개략적 도면이다. 만일 FM이 진출 임계치(EXIT_THR) 미만이면, 현재의 프레임은 '터널 진출'이라고 표시되고, 그렇지 않으면, 현재의 프레임은 '주간'으로 표시된다. 상기한 플래그들과 카운터들은 또 다른 터널 같은 조건들을 검출하기 위해 리셋된다.FIG. 9B is a schematic view illustrating the tunnel advancement according to an embodiment of the present invention. FIG. If FM is below the entry threshold (EXIT_THR), the current frame is marked 'tunnel entry', otherwise the current frame is marked 'weekly'. The flags and counters described above are reset to detect conditions such as another tunnel.

상기한 3 카운터들은 하나의 상황(scene)에서 다른 상황으로 전환(switching over)하는 단계가 갑작스럽게 이루어지지 않도록 설정된다. 제1 카운터(counter_1)는 5 프레임 동안 가능한 터널 조건을 모니터한다. 상기 제1 카운터는 만일 상기한 '주간' 조건을 만난다면 감소한다. 제2 카운터(counter_2)는 터널 진입 조건을 모니터하고, 다음번 연속하는 10프레임 동안 '터널 진입' 조건을 유지한다. 제3 카운터(counter_3)는 약 15프레임 동안 터널 진출 조건을 유지한다.The above three counters are set so that the step of switching over from one scene to another is not abruptly performed. The first counter counter_1 monitors possible tunnel conditions for five frames. The first counter is decremented if it meets the &quot; weekly &quot; condition described above. The second counter counter_2 monitors the tunnel entry condition and maintains the 'tunnel entry' condition for the next consecutive 10 frames. The third counter counter_3 maintains the tunnel entry condition for about 15 frames.

두 개의 추가적인 플래그들(터널내 및 진출 플래그)은, 터널내 조건에서 주간 조건으로 그리고 진출 조건에서 주간 조건으로의 전환이 무작위적 방식으로 일어나지 않도록 하는 것을 보장한다. 일단 터널 진입이 검출되면, 터널내 플래그가 세트 되고, 이것은 진출 조건에 도달할 때까지는 다음 조건이 터널 내인 것을 보장한다. 단지 진출 플래그가 세트 된 후에만 주간 조건이 모니터 되고, 그렇지 않으면, 그것은 터널 진출로 표시된다.Two additional flags (in-tunnel and outbound flags) ensure that transitions from in-tunnel conditions to daytime conditions and from transition conditions to daytime conditions do not occur in a random manner. Once a tunnel entry is detected, a flag in the tunnel is set, which ensures that the next condition is in the tunnel until the entry condition is reached. Weekly conditions are monitored only after the advance flag is set, otherwise it is marked as tunnel advance.

본 발명의 방법 및 시스템은 단순하고 정확한 주변 광 검출 시스템이다. 본 발명의 검출 방법은 터널과 같은 조건들, 주차장, 다리 밑, 수목의 수관 등과 같은 (이들에만 한정되는 것은 아님) 다양한 낮은 광 조건들을 구별하는 데에 도움된다. 본 발명은 '터널 가능성' 및 '터널 진입'과 같은 적절한 경고를 적절하게 제공한다. 더욱이, ECU는 검출된 주변 광의 광량에 기초하여 미리 정의되어 있는 제어 기능을 수행한다. ECU는 검출된 주변 광에 기초하여 1 이상의 차량의 기능들을 제어한다. 상기한 미리 정의된 제어 기능은 전조등 조절, 계기판 조명, 도로 상태에 따른 자동적인 광 방향의 조절 등을 포함하지만, 이들에만 한정되는 것은 아니다. 본 발명에서 기술된 바와 같이, 도로 현장의 조건들과 주변 광 검출의 전체적인 분류가 단지 두 개의 파라미터들, 즉 평균 빈도 평균값(FM) 및 데이터 평균값(DM)을 이용하여 수행된다.The method and system of the present invention is a simple and accurate ambient light detection system. The detection method of the present invention is useful for distinguishing between various low light conditions such as, but not limited to, conditions such as tunnels, parking lots, under the bridge, trees in the trees, and the like. The present invention appropriately provides appropriate warnings such as &quot; tunnel possibility &quot; and &quot; tunnel entry &quot;. Further, the ECU performs a predefined control function based on the detected amount of ambient light. The ECU controls the functions of one or more vehicles based on the detected ambient light. The predefined control functions include, but are not limited to, headlight adjustment, instrument panel illumination, automatic light direction control according to road conditions, and the like. As described in the present invention, the road category conditions and the overall classification of ambient light detection are performed using only two parameters, the average frequency mean value (FM) and the data mean value (DM).

본 출원에서 기술되고 도면에 예시된 것들에 대하여 모든 균등한 관계들은 본 발명에 의해 모두 망라되는 것으로 의도된다. 본 발명의 실시예들을 예시하기 위해 사용된 예들은 어떤 방식으로든, 본 발명을 그것들에 적용하는 것을 제한하지 않는다. 당해 기술분야에서의 통상의 지식을 갖는 자들이라면, 세부 사항들에 대해 다양한 변형과 취사선택이 본 발명의 범위로부터 이탈하지 않고도 본 개시의 전반적인 교시의 관점에서 개발될 수도 있다는 것을 이해할 것이라는 것을 유념하여야 할 것이다.All equivalent relationships to those described in the present application and illustrated in the drawings are intended to be encompassed by the present invention. The examples used to illustrate the embodiments of the present invention do not limit the application of the present invention to them in any way. It should be understood by those of ordinary skill in the art that various modifications and alternatives to the details may be developed in light of the overall teachings of the disclosure without departing from the scope of the invention something to do.

Claims (8)

주변 광을 검출하는 방법에 있어서,
1 이상의 눈에 보이는 이미지들을 캡처(capture)하는 단계;
상기 캡처 된 이미지를 그레이(grey) 컬러 이미지로 변환하는 단계;
상기 그레이 컬러 이미지 각각의 히스토그램(histogram)을 결정하는 단계;
상기 결정된 히스토그램의 평균 빈도 평균값(FM) 및 데이터 평균값(DM)을 계산하는 단계; 및
하기의 단계들:
a) 상기 FM을 미리 결정된 FM 임계치와 비교하고, 상기 비교된 FM이 상기 미리 결정된 FM 임계치보다 더 클 때 그 주변 광을 최적 광으로 검출하는 단계;
b) 상기 FM을 미리 결정된 FM 임계치와 비교하고, 상기 DM을 미리 결정된 DM 임계치와 비교하고, 그리고 상기 비교된 FM이 상기 미리 결정된 FM 임계치보다 더 작고 상기 비교된 DM은 상기 미리 결정된 DM 임계치보다 더 클 때 그 주변 광을 최적 광으로 검출하는 단계; 및
c) 상기 FM을 미리 결정된 FM 임계치와 비교하고, 또한 상기 DM을 미리 결정된 DM 임계치와 비교하고;
만일 상기 FM이 상기 미리 결정된 FM 임계치보다 더 작고 상기 DM은 상기 미리 결정된 DM 임계치보다 더 작다면,
식별된 관심 영역(ROI)의 FM을 소정의 미리 결정된 FM 임계치와 비교하고; 그리고
ROI의 상기 비교된 FM이 상기 미리 결정된 FM 임계치보다 더 작을 때 주변 광을 상기 최적 광보다 더 작은 것으로 검출하는 단계;
중의 어느 하나를 수행하는 단계를 포함하는 방법.
A method for detecting ambient light,
Capturing one or more visible images;
Converting the captured image to a gray color image;
Determining a histogram of each of the gray color images;
Calculating an average frequency average value (FM) and a data average value (DM) of the determined histogram; And
The following steps:
a) comparing the FM with a predetermined FM threshold and detecting the ambient light as optimal when the compared FM is greater than the predetermined FM threshold;
b) comparing the FM to a predetermined FM threshold, comparing the DM to a predetermined DM threshold, and if the compared FM is less than the predetermined FM threshold and the compared DM is greater than the predetermined DM threshold Detecting the ambient light at the maximum when it is large; And
c) comparing the FM with a predetermined FM threshold and also comparing the DM with a predetermined DM threshold;
If the FM is less than the predetermined FM threshold and the DM is less than the predetermined DM threshold,
Compare the FM of the identified ROI with a predetermined FM threshold; And
Detecting ambient light as being less than the optimal light when the compared FM of the ROI is less than the predetermined FM threshold;
&Lt; / RTI &gt;
제1항에 있어서,
상기 식별된 관심 영역(ROI)의 FM을 결정하는 단계;
상기 캡처 된 이미지에서 관심 영역을 식별하는 단계; 및
상기 FM이 상기 미리 결정된 FM 임계치보다 더 작고, 또한 상기 DM이 상기 미리 결정된 DM 임계치보다 더 작을 때, 상기 식별된 관심 영역(ROI)의 FM을 결정하는 단계를 더 포함하는 방법.
The method according to claim 1,
Determining an FM of the identified ROI;
Identifying a region of interest in the captured image; And
Further comprising determining FM of the identified ROI when the FM is less than the predetermined FM threshold and the DM is less than the predetermined DM threshold.
제1항에 있어서, 상기 결정된 히스토그램의 FM을 계산하는 단계는:
미리 정의된 수의 프레임들에 대해 상기 결정된 히스토그램의 빈도 평균값을 결정하는 단계; 및
상기 미리 정의된 수의 프레임들에 대해 상기 FM을 결정하는 단계를 포함하는 것인 방법.
2. The method of claim 1, wherein calculating the FM of the determined histogram comprises:
Determining a frequency average value of the determined histogram for a predefined number of frames; And
And determining the FM for the predefined number of frames.
제1항에 있어서, 상기 검출된 주변 광이 상기 최적 광보다 더 클 때, 주간(day time)을 검출하는 단계를 더 포함하는 방법.
2. The method of claim 1, further comprising detecting a day time when the detected ambient light is greater than the optimal light.
제1항에 있어서, 상기 검출된 주변 광이 상기 최적 광보다 더 작을 때, 터널 내로의 진입 및 그로부터의 진출 가능성을 검출하는 단계를 더 포함하는 방법.
2. The method of claim 1, further comprising detecting the likelihood of entry into and exit from the tunnel when the detected ambient light is less than the optimal light.
제1항에 있어서, 상기 주변 광의 1 이상의 상태들의 검출에 기초하여 미리 정의된 제어 기능을 수행하는 단계를 더 포함하는 방법.
2. The method of claim 1, further comprising performing a predefined control function based on detection of one or more states of the ambient light.
1 이상의 이미지들을 캡처하도록 구성되는 이미지 캡처 장치;
상기 이미지 캡처 장치에 연결되어 하기의 과정들을 수행하도록 구성되는 프로세싱 장치를 포함하는, 주변 광을 검출하는 시스템에 있어서,
상기 캡처 된 각각의 이미지의 컬러를 그레이 컬러 이미지로 변환하는 과정;
상기 그레이 컬러의 캡처 된 이미지 각각의 히스토그램을 결정하는 과정;
상기 결정된 히스토그램의 평균 빈도 평균값(FM) 및 데이터 평균값(DM)을 계산하는 과정; 및
하기의 단계들:
a) 상기 FM을 미리 결정된 FM 임계치와 비교하고, 상기 비교된 FM이 상기 미리 결정된 FM 임계치보다 더 클 때 그 주변 광을 최적 광으로 검출하는 단계;
b) 상기 FM을 미리 결정된 FM 임계치와 비교하고, 상기 DM을 미리 결정된 DM 임계치와 비교하고, 그리고 상기 비교된 FM이 상기 미리 결정된 FM 임계치보다 더 작고 상기 비교된 DM은 상기 미리 결정된 DM 임계치보다 더 클 때 그 주변 광을 최적 광으로 검출하는 단계;
c) 상기 FM을 미리 결정된 FM 임계치와 비교하고;
상기 DM을 미리 결정된 DM 임계치와 비교하고;
만일 상기 FM이 상기 미리 결정된 FM 임계치보다 더 작고 상기 DM은 상기 미리 결정된 DM 임계치보다 더 작을 때,
식별된 관심 영역(ROI)의 FM을 소정의 미리 결정된 FM 임계치와 비교하고; 그리고
ROI의 상기 비교된 FM이 상기 미리 결정된 FM 임계치보다 더 작을 때 그 주변 광을 상기 최적 광보다 더 작은 것으로 검출하는 단계;
중의 어느 하나를 수행하는 과정을 포함하는 시스템.
An image capture device configured to capture one or more images;
And a processing device coupled to the image capture device and configured to perform the following steps:
Converting a color of each of the captured images into a gray color image;
Determining a histogram of each of the captured images of the gray color;
Calculating an average frequency average value (FM) and a data average value (DM) of the determined histogram; And
The following steps:
a) comparing the FM with a predetermined FM threshold and detecting the ambient light as optimal when the compared FM is greater than the predetermined FM threshold;
b) comparing the FM to a predetermined FM threshold, comparing the DM to a predetermined DM threshold, and if the compared FM is less than the predetermined FM threshold and the compared DM is greater than the predetermined DM threshold Detecting the ambient light at the maximum when it is large;
c) comparing the FM with a predetermined FM threshold;
Compare the DM to a predetermined DM threshold;
If the FM is less than the predetermined FM threshold and the DM is less than the predetermined DM threshold,
Compare the FM of the identified ROI with a predetermined FM threshold; And
Detecting the ambient light as being less than the optimal light when the compared FM of the ROI is less than the predetermined FM threshold;
The method comprising the steps of:
제7항에 있어서,
상기 프로세서는 또한, 상기 식별된 관심 영역(ROI)의 FM을 결정하기 위한 과정들로서,
상기 캡처 된 이미지에서 관심 영역을 식별하는 단계; 및
상기 FM이 상기 미리 결정된 FM 임계치보다 더 작고, 또한 상기 DM이 상기 미리 결정된 DM 임계치보다 더 작을 때, 상기 식별된 관심 영역(ROI)의 FM을 결정하는 단계들을 수행하도록 더 구성되는 것인 시스템.
8. The method of claim 7,
The processor is further configured to determine an FM of the identified ROI,
Identifying a region of interest in the captured image; And
And to determine FM of the identified ROI when the FM is less than the predetermined FM threshold and the DM is less than the predetermined DM threshold.
KR1020177026542A 2015-03-05 2016-02-25 Method and system for detecting ambient light KR101969856B1 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
IN727MU2015 2015-03-05
IN727/MUM/2015 2015-03-05
PCT/IN2016/000051 WO2016139674A1 (en) 2015-03-05 2016-02-25 Method and system for detecting ambient light

Publications (2)

Publication Number Publication Date
KR20170120149A true KR20170120149A (en) 2017-10-30
KR101969856B1 KR101969856B1 (en) 2019-04-17

Family

ID=55963430

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020177026542A KR101969856B1 (en) 2015-03-05 2016-02-25 Method and system for detecting ambient light

Country Status (4)

Country Link
JP (1) JP6592522B2 (en)
KR (1) KR101969856B1 (en)
CN (1) CN107408202B (en)
WO (1) WO2016139674A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111497732B (en) * 2019-01-31 2022-06-03 杭州海康威视数字技术股份有限公司 Automobile lamp control method, device, control equipment, system and storage medium
CN110197185B (en) * 2019-05-23 2021-07-16 北京云星宇交通科技股份有限公司 Method and system for monitoring space under bridge based on scale invariant feature transform algorithm

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110125154A (en) * 2010-05-12 2011-11-18 삼성전자주식회사 Apparatus and method for auto adjusting brightness of image taking device
KR20120053764A (en) * 2010-11-18 2012-05-29 현대모비스 주식회사 Apparatus for processing image of camera in vehicle and method thereof

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09233336A (en) * 1996-02-20 1997-09-05 Fuji Xerox Co Ltd Image processor
JPH11167633A (en) * 1997-12-02 1999-06-22 Dainippon Screen Mfg Co Ltd Method and device for analyzing image
FR2883818B1 (en) * 2005-03-31 2008-09-12 Valeo Vision Sa METHOD OF ANTICIPATED DETECTION OF AN ARRIVAL OF A MOTOR VEHICLE IN A DARK SECTOR
JP4166253B2 (en) * 2006-07-10 2008-10-15 トヨタ自動車株式会社 Object detection apparatus, object detection method, and object detection program
JP2009177272A (en) * 2008-01-22 2009-08-06 Sony Corp Imaging apparatus, and control method and program thereof
WO2010075202A2 (en) * 2008-12-26 2010-07-01 Datalogic Scanning, Inc. Systems and methods for imaging
JP5436892B2 (en) * 2009-03-10 2014-03-05 オムロンオートモーティブエレクトロニクス株式会社 Vehicle imaging device
JP5520038B2 (en) * 2009-12-25 2014-06-11 キヤノン株式会社 Video processing apparatus and video processing method
CN102685516A (en) * 2011-03-07 2012-09-19 李慧盈 Active safety type assistant driving method based on stereoscopic vision
US9530056B2 (en) * 2012-06-15 2016-12-27 Bhaskar Saha Day night classification of images using thresholding on HSV histogram
JP5708689B2 (en) * 2013-03-13 2015-04-30 株式会社デンソー Object detection device
CN103413441B (en) * 2013-06-26 2015-12-23 广东惠利普路桥信息工程有限公司 Road weather condition monitoring method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110125154A (en) * 2010-05-12 2011-11-18 삼성전자주식회사 Apparatus and method for auto adjusting brightness of image taking device
KR20120053764A (en) * 2010-11-18 2012-05-29 현대모비스 주식회사 Apparatus for processing image of camera in vehicle and method thereof

Also Published As

Publication number Publication date
CN107408202A (en) 2017-11-28
CN107408202B (en) 2020-09-15
WO2016139674A1 (en) 2016-09-09
JP2018515746A (en) 2018-06-14
KR101969856B1 (en) 2019-04-17
JP6592522B2 (en) 2019-10-16

Similar Documents

Publication Publication Date Title
US20200117923A1 (en) Vehicular imaging system
US9813593B2 (en) Outside recognition apparatus and lens dirtiness detection method
JP5437855B2 (en) Obstacle detection device, obstacle detection system including the same, and obstacle detection method
US9965690B2 (en) On-vehicle control device
CN107972569B (en) Vehicle lamp set control method, device and system and vehicle
EP2600327A1 (en) Obstacle detection system and method, and obstacle detection apparatus
US20120188373A1 (en) Method for removing noise and night-vision system using the same
JP4990806B2 (en) Image pickup means adjustment device and vehicle exterior monitoring device
WO2012140976A1 (en) Driving assistance device and raindrop detection method therefor
JP2010234851A (en) Display device for vehicle
US10326969B2 (en) Vehicle vision system with reduction of temporal noise in images
US8373754B2 (en) Method and system for evaluating brightness values in sensor images of image-evaluating adaptive cruise control systems
CN113859127B (en) Electronic rearview mirror mode switching method
KR101969856B1 (en) Method and system for detecting ambient light
US20130156337A1 (en) Method for removing noise of image
EP3637758A1 (en) Image processing device
KR101823655B1 (en) System and method for detecting vehicle invasion using image
KR101278237B1 (en) Method and apparatus for recognizing vehicles
US20190039515A1 (en) System and method for warning against vehicular collisions when driving
KR101344066B1 (en) Apparatus for illumination controlling of black box using car and method thereof
CN112243089B (en) Camera HDR image effect switch control method and device, rearview mirror, vehicle and storage medium
JP7262043B2 (en) Anomaly detection system, moving body, anomaly detection method, and program
JP2015058747A (en) Vehicle lamp body control device
US11025834B2 (en) Method and device for improving camera images for driver assistance systems
US20200210723A1 (en) Attached object detection apparatus

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