KR20120067578A - Apparatus and method for deciding day and night using parameter of camera - Google Patents

Apparatus and method for deciding day and night using parameter of camera Download PDF

Info

Publication number
KR20120067578A
KR20120067578A KR1020100129060A KR20100129060A KR20120067578A KR 20120067578 A KR20120067578 A KR 20120067578A KR 1020100129060 A KR1020100129060 A KR 1020100129060A KR 20100129060 A KR20100129060 A KR 20100129060A KR 20120067578 A KR20120067578 A KR 20120067578A
Authority
KR
South Korea
Prior art keywords
night
day
state
parameter
value
Prior art date
Application number
KR1020100129060A
Other languages
Korean (ko)
Other versions
KR101161198B1 (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 KR1020100129060A priority Critical patent/KR101161198B1/en
Publication of KR20120067578A publication Critical patent/KR20120067578A/en
Application granted granted Critical
Publication of KR101161198B1 publication Critical patent/KR101161198B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/40Analysis of texture
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/44Receiver circuitry for the reception of television signals according to analogue transmission standards
    • H04N5/52Automatic gain control

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Studio Devices (AREA)

Abstract

PURPOSE: A day/night time decision device using parameter of a camera and a method thereof are provided to day/night time information using the control parameter which is stored in register of the camera. CONSTITUTION: A method of a day/night time decision device using parameter of a camera comprises the following steps: a camera module(110) takes a photograph of image; an object recognition program is installed in a recognition unit(130); a day/night time decision unit(120) detects change information according to brightness of photographing object and change information according to presence of light from register of the camera module; and a day/night time decision unit decides one of daytime, night time, and sunset which is decided in advance according to analyzed result of the change information. The object recognition program includes daytime recognition algorism and night time recognition algorism for recognizing objects.

Description

카메라의 파라미터를 이용한 주간/야간 판단 장치 및 방법{APPARATUS AND METHOD FOR DECIDING DAY AND NIGHT USING PARAMETER OF CAMERA}Day and night judgment device and method using camera parameters {APPARATUS AND METHOD FOR DECIDING DAY AND NIGHT USING PARAMETER OF CAMERA}

본 발명은 카메라의 파라미터를 이용한 주간/야간 판단에 관한 발명으로서, 더욱 상세하게는 차량에 설치된 카메라의 레지스터에서 추출한 제어 파라미터를 통해 주간, 야간, 박명을 판단하여 주간 인식 알고리즘 또는 야간 인식 알고리즘 중 적어도 어느 하나가 선택되도록 하는 카메라 파라미터를 이용한 주간/야간 판단 장치 및 방법에 관한 것이다.
The present invention relates to a day / night judgment using a parameter of a camera. More particularly, the present invention relates to at least one of a day recognition algorithm or a night recognition algorithm by judging day, night and night using control parameters extracted from a register of a camera installed in a vehicle. An apparatus and method for day / night judgment using a camera parameter to allow one to be selected.

차량의 주행 시 가장 중요한 것은 안전주행 및 교통사고의 예방이고 이를 위해 차량의 주행이 올바르게 유지되도록 제어하며 차량 구성장치들의 기능 제어 등을 수행하는 다양한 보조 장치와, 안전벨트 및 에어백 등의 안전 장치가 차량에 장착되어 있다.The most important thing when driving a vehicle is the prevention of safety driving and traffic accidents. To this end, various auxiliary devices for controlling the vehicle's running properly and controlling the functions of the vehicle components, and safety devices such as seat belts and air bags are provided. It is mounted on the vehicle.

특히, 차량의 주행 중 차선 변경 시, 후방으로부터 접근하는 차량에 대한 거리 및 상대 속도 등에 대한 인식의 부족으로 인하여 추돌 사고가 빈번히 발행하고 있어서, 최근의 차량에는 차량의 후방으로부터 접근하는 다른 차량을 감지하여 알려주는 후방 경보 장치가 설치되어 있다.In particular, when changing lanes while driving, collision accidents are frequently issued due to lack of awareness of distance and relative speed of the vehicle approaching from the rear, and recent vehicles detect other vehicles approaching from the rear of the vehicle. There is a rear alarm system.

이러한, 후방 경보 장치는 운전자가 차량의 외부에 설치된 아웃사이드 미러를 통해서 관찰이 불가능한 사각 지대에서 주행하거나 접근하는 다른 차량을 카메라로 촬영하고, 이를 영상 인식 알고리즘(프로그램)을 통해 분석하여 차량을 감지하여 차선 변경시 다른 차량의 존재를 운전자에게 알려 주도록 구성되어 있다. Such a rear alarm device detects a vehicle by photographing another vehicle driving or approaching a blind spot where the driver cannot observe through an outside mirror installed outside the vehicle, and analyzing the result using an image recognition algorithm (program). It is configured to inform the driver of the existence of another vehicle when changing lanes.

한편, 영상 인식 알고리즘은 카메라를 이용하여 촬영된 영상 정보로부터 차량의 모습을 분석하여 인식하는 프로그램으로서, 인식률의 향상을 위해 주간에 차량을 인식하는 알고리즘과 야간에 차량을 인식하는 알고리즘이 분리되어 동작한다.On the other hand, the image recognition algorithm is a program that analyzes and recognizes the shape of the vehicle from the image information captured by the camera, the algorithm for recognizing the vehicle during the day and the algorithm for recognizing the vehicle at night to improve the recognition rate do.

또한, 주간 인식 알고리즘 또는 야간 인식 알고리즘 중 어떤 알고리즘을 적용할지 여부는 주간 상황인지 야간 상황인지를 판단하여 결정하는 것으로 주로 촬영된 영상 정보로부터 영상의 밝기 및 조명의 파라미터를 추출하여 주간 또는 야간을 판단한다.In addition, whether to apply a daytime recognition algorithm or a nighttime recognition algorithm is determined by determining whether it is a daytime or a nighttime situation, and mainly determines the daytime or nighttime by extracting the brightness and lighting parameters of the image from the captured image information. do.

그러나 이러한 영상의 밝기 및 조명에 근거한 영상 정보를 이용하여 주간/야간을 판단하는 방법은 다음과 같은 문제점이 있다.However, the method of determining day / night using image information based on brightness and illumination of the image has the following problems.

첫 번째, 주간 상황이지만 차량이 어두운 다리 밑에 위치한 상태의 영상 정보가 입력되면 야간으로 판단하여 야간 인식 알고리즘이 적용되는 문제점이 있다.First, there is a problem that the night recognition algorithm is applied when the image information is input in the state of daytime but the vehicle is located under the dark bridge and is determined at night.

두 번째, 주간 상황이지만 촬영된 영상 화면의 상단이 수풀 또는 나무 등으로 인하여 어두운 화면이 입력되면 야간으로 판단하여 잘못된 주간/야간 간의 판단 정보에 따른 야간 인식 알고리즘이 적용되는 문제점이 있다.Secondly, if the dark screen is input due to a bush or a tree at the top of the captured image screen, it is determined that it is night, and there is a problem in that a night recognition algorithm is applied according to wrong day / night time determination information.

세 번째, 야간 상황이지만 주변 건물의 밝은 불빛으로 인하여 밝은 화면이 입력되면 주간으로 판단하여 잘못된 주간/야간 간의 판단에 의한 주간 인식 알고리즘이 적용되는 문제점이 있다.Third, if the bright screen is input due to the bright light of the surrounding buildings, it is determined that it is daytime and there is a problem in that the daytime recognition algorithm is applied by the wrong daytime / nighttime judgment.

네 번째, 박명(해질 녘) 상황으로 전조등을 포함한 조명 장치를 점등한 차량과 미점등한 차량이 혼재되어 있는 영상 정보를 판단할 경우 모호한 영상이 입력되면 올바른 주간/야간간 판단 정보가 제공되지 못하여 잘못된 인식 알고리즘의 적용에 의한 미인식이나 오인이 발생하는 문제점이 있다.Fourth, when judging the image information of a vehicle that lights a lighting device including a headlight and a vehicle that is not lit due to a twilight situation, when the ambiguous image is input, the correct day / night judgment information cannot be provided. There is a problem that unrecognition or misunderstanding occurs due to the application of the wrong recognition algorithm.

다섯 번째, 영상 정보에 기반한 주간/야간 판단은 카메라의 영상 전처리로 인한 영상 데이터의 정보 손실이 발생하여 터널, 굴다리, 주변 배경 등 영상의 불확실성에 제대로 동작하지 못하는 문제점이 있다.
Fifth, the day / night judgment based on the image information has a problem that the information loss of the image data due to the image preprocessing of the camera occurs, it does not work properly in the uncertainty of the image, such as tunnels, bridges, surrounding background.

이러한 문제점을 해결하기 위하여, 본 발명은 차량에 설치된 카메라의 레지스터에서 추출한 제어 파라미터를 통해 주간, 야간, 박명을 판단하여 주간 인식 알고리즘 또는 야간 인식 알고리즘 중 적어도 어느 하나가 선택되도록 하는 카메라 파라미터를 이용한 주간/야간 판단 장치 및 방법을 제공하는 것을 목적으로 한다.
In order to solve this problem, the present invention is a daytime using a camera parameter to determine at least one of the daytime recognition algorithm or nighttime recognition algorithm by judging daytime, nighttime, and night life through the control parameters extracted from the register of the camera installed in the vehicle It aims at providing the night judgment apparatus and method.

상기한 목적을 달성하기 위하여 본 발명은 카메라의 파라미터를 이용한 주간/야간 판단 장치로서,In order to achieve the above object, the present invention is a day / night determination device using the parameters of the camera,

영상을 촬영하는 카메라 모듈의 레지스터로부터 빛의 존재 유무에 따른 변화 정보와 촬영 대상의 밝기에 따른 변화 정보를 검출하여 분석하고, 그 분석 결과에 따라 미리 설정된 주간, 야간 및 박명(해질녘) 중 어느 하나의 상태로 분류하여 물체를 인식하는 인식 프로그램의 주간/야간 알고리즘 적용을 위한 판단 정보로 제공하는 주간/야간 판단부를 포함하는 것을 특징으로 한다.The change information according to the presence or absence of light and the change information according to the brightness of the photographing target are detected and analyzed from the register of the camera module which captures the image, and any one of the preset daytime, nighttime, and nightfall (at sunset) is determined according to the analysis result. It is characterized in that it comprises a day / night determination unit to provide a judgment information for applying the day / night algorithm of the recognition program to recognize the object by classifying the state.

또한, 본 발명에 따른 주간/야간 판단부는 상기 카메라 모듈과 통신하여 카메라 모듈의 레지스터로부터 빛의 존재 유무에 따라 변화하는 AGC(Auto Gain Control) 값을 검출하는 AGC 검출부; 상기 카메라 모듈과 통신하여 카메라 모듈의 레지스터로부터 촬영 대상의 밝기에 따라 변화하는 AEC(Auto Exposure Control) 값을 검출하는 AEC 검출부; 상기 AGC 검출부와 AEC 검출부로부터 검출한 AGC 값과 AEC 값을 연산하여 그 결과값을 미리 설정된 주간, 야간 및 박명을 판단하기 위한 기준 값들과 대비하고, 그 결과에 따라 상기 주간, 야간 및 박명을 판단하기 위한 상황 파라미터 값을 일정 크기 만큼 증가시켜 누적 산출하는 파라미터 분석부; 및 상기 파라미터 분석부로부터 산출된 누적 상황 파라미터 값들 중 최댓값을 검출하여 주간, 야간 및 박명 중 어느 하나의 상태를 결정하고, 상기 결정된 상태와 이전의 상태를 대비하여 그 결과에 따라 주간 인식 알고리즘 또는 야간 인식 알고리즘이 각각 동작되도록 하거나 주간/야간 인식 알고리즘이 모두 동작되도록 동작 제어 신호를 출력하는 상태 결정부를 포함하는 것을 특징으로 한다.In addition, the day / night determination unit according to the present invention communicates with the camera module AGC detector for detecting an AGC (Auto Gain Control) value that changes depending on the presence of light from the register of the camera module; An AEC detection unit communicating with the camera module to detect an auto exposure control (AEC) value that changes according to the brightness of a photographing target from a register of the camera module; The AGC value and the AEC value detected by the AGC detection unit and the AEC detection unit are calculated, and the result values are compared with reference values for determining the preset day, night, and fatality, and the day, night, and fatality are determined according to the result. A parameter analyzer which accumulates and calculates a situation parameter value by a predetermined size to be accumulated; And detecting a maximum value among cumulative situation parameter values calculated from the parameter analyzer to determine one of daytime, nighttime, and twilight, and compare the determined state with the previous state according to the result of a daytime recognition algorithm or nighttime. And a state determination unit for outputting an operation control signal to operate the recognition algorithms or to operate both the day / night recognition algorithms.

또한, 본 발명에 따른 상기 상태 결정부는 이전 상태가 주간 상태이고 누적 상황 파라미터 값의 최댓값에 따라 결정된 상태가 야간 상태이거나 또는 그 반대의 경우 주간 인식 알고리즘과 야간 인식 알고리즘이 모두 동작되도록 제어 신호를 출력하는 것을 특징으로 한다.In addition, the state determination unit according to the present invention outputs a control signal such that both the daytime recognition algorithm and the nighttime recognition algorithm are operated when the previous state is the daytime state and the state determined according to the maximum value of the cumulative situation parameter value is the night state or vice versa. Characterized in that.

또한, 본 발명에 따른 상기 상태 결정부는 상기 주간 및 야간 인식 알고리즘이 모두 동작하면 일정 시간 이상 유지되도록 하는 것을 특징으로 한다.In addition, the state determination unit according to the present invention is characterized in that to maintain more than a predetermined time when both the day and night recognition algorithms operate.

또한, 본 발명은 카메라의 파라미터를 이용한 주간/야간 판단 방법으로서,In addition, the present invention is a day / night determination method using a camera parameter,

a) 카메라 모듈로부터 영상 정보가 입력되면, 주간/야간 판단부가 상기 카메라 모듈과 통신하여 카메라 모듈의 레지스터로부터 제어 파라미터를 검출하는 단계; b) 상기 주간/야간 판단부가 상기 a) 단계에서 검출한 제어 파라미터를 분석하여 미리 설정된 특정 파라미터를 저장하고, 상기 특정 파라미터를 연산하여 그 결과값을 미리 설정된 주간, 야간 및 박명을 판단하기 위한 기준 값들과 대비하는 단계; c) 상기 주간/야간 판단부가 상기 b) 단계의 대비 결과에 따라 주간 상황 파라미터, 야간 상황 파라미터 및 박명 상황 파라미터 중 어느 하나의 상황 파라미터 값을 일정 크기 만큼 증가시켜 누적 산출하는 단계; d) 상기 주간/야간 판단부가 상기 c) 단계에서 산출된 주간, 야간 및 박명 상황 파라미터 값들 중에서 최댓값을 갖는 상황 파라미터 값에 따라 주간, 야간 및 박명 중 어느 하나의 상태를 결정하는 단계; 및 e) 상기 주간/야간 판단부가 상기 d) 단계에서 결정된 상태와 이전의 상태를 대비하여 그 결과에 따라 주간 인식 알고리즘 또는 야간 인식 알고리즘이 각각 동작되도록 하거나 주간/야간 인식 알고리즘이 모두 동작되도록 동작 제어 신호를 출력하는 단계를 포함하는 것을 특징으로 한다.a) when the image information is input from the camera module, the day / night determination unit communicating with the camera module to detect a control parameter from the register of the camera module; b) a criterion for the day / night determination unit analyzing the control parameter detected in the step a) to store a predetermined specific parameter, and calculating the specific parameter to determine the preset day, night and night Contrast with values; c) accumulating and calculating the day / night determination unit by increasing a value of any one of the daytime parameter, the nighttime parameter, and the fatality situation parameter by a predetermined size according to the comparison result of step b); d) determining, by the day / night judgment unit, any one of day, night and night conditions according to the situation parameter value having the maximum value among the day, night and night situation parameters calculated in step c); And e) controlling the daytime / nighttime recognition algorithm to operate the daytime recognition algorithm or the nighttime recognition algorithm, respectively, or to operate both the daytime / nighttime recognition algorithm according to the result in contrast with the state determined in step d) and the previous state. And outputting a signal.

또한, 본 발명에 따른 상기 b) 단계의 특정 파라미터는 빛의 존재 유무에 따라 변화하는 AGC(Auto Gain Control)와, 촬영 대상의 밝기에 따라 변화하는 AEC(Auto Exposure Control)인 것을 특징으로 한다.In addition, the specific parameter of step b) according to the present invention is characterized in that the AGC (Auto Gain Control) that changes depending on the presence of light and AEC (Auto Exposure Control) that changes depending on the brightness of the shooting target.

또한, 본 발명에 따른 상기 c) 단계의 상황 파라미터 값을 일정 크기 만큼 증가시켜 누적 산출하는 단계는 상기 특정 파라미터의 연산 결과값이 미리 설정된 주간 판단용 제 1 기준값 이하이면 주간 상황 파라미터 값이 누적 증가되도록 하고, 상기 특정 파라미터의 연산 결과값이 미리 설정된 야간 판단용 제 2 기준값 이상이면 야간 상황 파라미터 값이 누적 증가되도록 하며, 상기 특정 파라미터의 연산 결과값이 상기 제 1 및 제 2 기준값 사이의 범위이면 박명 상황 파라미터 값이 누적 증가되도록 하는 것을 특징으로 한다.In addition, the step of cumulatively increasing the situation parameter value of the step c) according to the present invention by a predetermined size may be such that the weekly situation parameter value is cumulatively increased if the calculation result value of the specific parameter is less than or equal to a preset first reference value for weekly determination. If the calculation result value of the specific parameter is greater than or equal to the second reference value for night determination, the night situation parameter value is cumulatively increased. The cumulative situation parameter value is characterized in that the cumulative increase.

또한, 본 발명에 따른 상기 e) 단계는 이전 상태가 주간 상태이고 누적된 상황 파라미터 값의 최댓값에 따라 결정된 상태가 야간 상태이거나 또는 이전 상태가 야간 상태이고 누적된 상황 파라미터 값의 최댓값에 따라 결정된 상태가 주간 상태이면 주간 인식 알고리즘과 야간 인식 알고리즘이 모두 동작되도록 하는 것을 특징으로 한다.In addition, the step e) according to the present invention is a state in which the previous state is a day state and the state determined according to the maximum value of the accumulated situation parameter value is a night state or the previous state is a night state and the state determined according to the maximum value of the accumulated situation parameter value In the daytime state, both the daytime recognition algorithm and the nighttime recognition algorithm are characterized in that the operation.

또한, 본 발명에 따른 상기 e) 단계는 이전 상태가 야간 또는 박명 상태이고 누적된 상황 파라미터 값의 최댓값에 따라 결정된 상태가 야간 상태이면 야간 인식 알고리즘만 동작되도록 하는 것을 특징으로 한다.In addition, the step e) according to the present invention is characterized in that only the night recognition algorithm is operated when the previous state is a night state or a twilight state and the state determined according to the maximum value of the accumulated situation parameter value is a night state.

또한, 본 발명에 따른 상기 e) 단계는 이전 상태가 주간 또는 박명 상태이고 누적된 상황 파라미터 값의 최댓값에 따라 결정된 상태가 주간 상태이면 주간 인식 알고리즘만 동작되도록 하는 것을 특징으로 한다.
In addition, the step e) according to the present invention is characterized in that only the weekly recognition algorithm is operated when the previous state is the daytime or the fatal state and the state determined according to the maximum value of the accumulated situation parameter value is the daytime state.

본 발명은 카메라의 레지스터에 저장된 제어 파라미터를 이용하여 주간/야간 정보를 제공함으로써, 주간/야간 인식 알고리즘이 배경 및 기후 등으로 인한 판단 오류를 방지할 수 있는 장점이 있다.According to the present invention, by providing day / night information using control parameters stored in a register of a camera, the day / night recognition algorithm has an advantage of preventing a determination error due to background and weather.

또한, 본 발명은 카메라의 제어 파라미터를 이용하므로 카메라의 영상 전처리로 인한 영상 데이터의 정보 손실을 배제할 수 있는 장점이 있다.In addition, the present invention has the advantage that it is possible to exclude the information loss of the image data due to the image pre-processing of the camera because of the control parameters of the camera.

또한, 본 발명은 터널, 굴다리, 주변 배경 등 영상의 불확실성에 의한 영향을 배제할 수 있는 장점이 있다.In addition, the present invention has the advantage that it is possible to exclude the influence of the uncertainty of the image, such as tunnels, bridges, surrounding background.

또한, 본 발명은 시간의 변화에 따른 주간, 야간, 박명을 명확하게 판단하고 그 결과를 물체 인식 알고리즘에 제공함으로써, 물체 인식 알고리즘의 인식률을 향상시킬 수 있는 장점이 있다.
In addition, the present invention has the advantage that it is possible to improve the recognition rate of the object recognition algorithm by clearly determining the day, night, and twilight according to the change of time and providing the result to the object recognition algorithm.

도 1 은 본 발명에 따른 카메라의 파라미터를 이용한 주간/야간 판단 장치가 적용된 물체 인식 시스템을 개략적으로 나타낸 블록도.
도 2 는 본 발명에 따른 카메라의 파라미터를 이용한 주간/야간 판단 장치의 주간/야간 판단부 구성을 나타낸 블록도.
도 3 은 본 발명에 따른 카메라의 파라미터를 이용한 주간/야간 판단 과정을 나타낸 흐름도.
도 4 는 도 3에 따른 카메라의 파라미터를 이용한 주간/야간 판단에서 이전 상태와 현재 상태에 따른 인식 알고리즘의 동작을 나타낸 흐름도.
도 5 는 도 4에 따른 카메라의 파라미터를 이용한 주간/야간 판단에서 이전 상태와 현재 상태에 따른 인식 알고리즘의 동작을 나타낸 흐름도.
1 is a block diagram schematically illustrating an object recognition system to which a day / night judgment device using a parameter of a camera according to the present invention is applied.
Figure 2 is a block diagram showing the configuration of the day / night determination unit of the day / night determination device using the parameters of the camera according to the present invention.
3 is a flowchart illustrating a day / night determination process using a parameter of a camera according to the present invention;
4 is a flowchart illustrating the operation of a recognition algorithm according to a previous state and a current state in day / night determination using the parameters of the camera according to FIG. 3.
FIG. 5 is a flowchart illustrating an operation of a recognition algorithm according to a previous state and a current state in day / night determination using a parameter of a camera according to FIG. 4.

이하, 첨부된 도면을 참조하여 본 발명에 따른 카메라의 파라미터를 이용한 주간/야간 판단 장치 및 방법의 바람직한 실시예를 상세하게 설명한다.Hereinafter, with reference to the accompanying drawings will be described in detail a preferred embodiment of the day and night determination apparatus and method using the parameters of the camera according to the present invention.

도 1은 본 발명에 따른 카메라의 파라미터를 이용한 주간/야간 판단 장치가 적용된 물체 인식 시스템을 개략적으로 나타낸 블록도이고, 도 2는 본 발명에 따른 카메라의 파라미터를 이용한 주간/야간 판단 장치의 주간/야간 판단부 구성을 나타낸 블록도이다.1 is a block diagram schematically illustrating an object recognition system to which a day / night determination device using a camera parameter according to the present invention is applied, and FIG. 2 is a day / night determination device of a day / night determination device using a camera parameter according to the present invention. It is a block diagram which shows the structure of a night judgment part.

도 1 및 도 2에 도시된 바와 같이, 본 발명에 따른 카메라의 제어 파라미터를 이용한 주간/야간 판단부(120)는 차량에 설치된 물체 인식 시스템(100)에 적용되는 구성으로서, 영상을 촬영하는 카메라 모듈(110)과 물체를 인식하기 위해 주간 인식 알고리즘 및 야간 인식 알고리즘을 포함한 물체 인식 프로그램이 설치된 인식부(130) 사이에 설치되어 카메라의 레지스터에 저장된 제어 파라미터 정보를 분석하고, 그 결과에 따라 주간, 야간 및 박명 중 어느 하나의 상태인지를 상기 인식부(130)로 제공한다.1 and 2, the day / night determination unit 120 using the control parameter of the camera according to the present invention is a configuration that is applied to the object recognition system 100 installed in a vehicle, a camera for taking an image It is installed between the module 110 and the recognition unit 130 installed with an object recognition program including a day recognition algorithm and a night recognition algorithm to recognize the object, and analyzes the control parameter information stored in the register of the camera, and according to the result It provides to the recognition unit 130, any one of the state, night and twilight.

상기 카메라 모듈(110)은 빛을 받아 전기 신호로 전환하는 이미지 센서와 사물에서 오는 빛을 모으거나 발산시키면서 광학적인 상이 상기 이미지 센서에 맺히게 하는 렌즈 모듈과 올바른 색의 재현을 위해 가시광선 이외의 빛을 제거하는 IR-필터와 외형을 제공하는 패키지와 카메라 모듈의 전반적인 동작을 제어하는 카메라 제어부 등을 포함하는 구성으로서, 상기 이미지 센서에서 전환된 전기 신호 즉 영상 정보가 주간/야간 판단부(120)를 통해 인식부(130)에 제공되도록 한다.The camera module 110 receives an image sensor that receives light and converts it into an electrical signal, and a lens module that collects or emits light from an object and causes an optical image to form on the image sensor, and light other than visible light for correct color reproduction. The package includes an IR-filter for removing a shape, a package for providing an appearance, and a camera controller for controlling the overall operation of the camera module, wherein the electric signal converted from the image sensor, that is, the image information is a day / night determination unit 120. Through the recognition unit 130 to be provided.

또한, 상기 카메라 모듈(110)은 촬영 대상의 어두운 부분을 기준으로 빛의 존재 유무에 따라 이미지 센서의 민감도를 조절하는 AGC(Auto Gain Control) 제어 파라미터의 정보와, 상기 촬영 대상의 밝기에 따라 이미지 센서가 빛을 받아들이는 시간을 조절하는 AEC(Auto Exposure Control) 제어 파라미터의 정보를 카메라 모듈에 내재된 레지스터에 저장한다.In addition, the camera module 110 controls the sensitivity of the image sensor based on the AGC (Auto Gain Control) control parameter to adjust the sensitivity of the image sensor according to the presence or absence of light based on the dark part of the object to be photographed, and the image according to the brightness of the object to be photographed. Auto Exposure Control (AEC) control parameters that control how long the sensor receives light are stored in registers built into the camera module.

또한, 상기 이미지 센서는 CMOS 또는 CCD 중 어느 하나이고, 어느 센서를 사용하여도 본 발명에 따른 주간/야간 판단 장치에 사용하는 것이 가능하다.In addition, the image sensor may be either CMOS or CCD, and any sensor may be used for the day / night judgment apparatus according to the present invention.

상기 주간/야간 판단부(120)는 카메라 모듈(110)의 레지스터에 저장된 AGC 및 AEC 제어 파라미터를 검출하여 빛의 존재 유무에 따른 변화 정보와 촬영 대상의 밝기에 따른 변화 정보를 분석하고, 그 분석 결과에 따라 미리 설정된 주간, 야간 및 박명 중 어느 하나의 상태를 결정하여 카메라로부터 입력되는 영상 정보로부터 물체를 인식하는 인식 프로그램의 주간/야간 알고리즘 적용을 위한 판단 정보로 제공하는 구성으로서, AGC 검출부(121)와 AEC 검출부(122)와 파라미터 분석부(123)와 상태 결정부(124)를 포함하여 구성된다.The day / night determination unit 120 detects the AGC and AEC control parameters stored in the register of the camera module 110 to analyze the change information according to the presence or absence of light and the change information according to the brightness of the photographing target, and the analysis thereof. According to the result, it determines a state of the day, night and night, which is set in advance, and provides it as decision information for applying the day / night algorithm of the recognition program that recognizes the object from the image information input from the camera. 121), an AEC detector 122, a parameter analyzer 123, and a state determiner 124.

여기서 박명은 일출 전과 일몰 후에 하늘이 희미하게 밝은 상태를 말하는 것이다.Here, Myeong Myung refers to a state where the sky is dimly lit before sunrise and after sunset.

상기 AGC 검출부(121)는 카메라 모듈(110)과 통신하여 카메라 모듈의 레지스터에 저장된 제어 파라미터로서, 촬영 대상의 어두운 부분을 기준으로 이미지 센서의 민감도를 조절하기 위한 AGC(Auto Gain Control) 값을 검출한다. The AGC detector 121 communicates with the camera module 110 and detects an AGC (Auto Gain Control) value for adjusting the sensitivity of the image sensor based on a dark part of the photographing object as a control parameter stored in the register of the camera module 110. do.

상기 AGC는 빛의 존재 유무에 따라 제어 파라미터가 변화하므로 주간, 야간 및 박명을 판단하는데 적용되고, 카메라의 경우 주간 상황의 AGC는 0 ~ 1.5의 값을 가지고, 야간 상황의 AGC는 5(여기서 '5'는 사용자가 지정한 이득의 최댓값임)의 값을 가지며, 박명 상황의 AGC는 빛의 존재가 불규칙하므로 0 ~ 5 사이에서 변화되는 값을 갖는다.The AGC is applied to determine day, night and twilight because control parameters change depending on the presence or absence of light. In the case of a camera, the AGC of daytime situation has a value of 0 to 1.5, and the AGC of night situation is 5 (where ' 5 'is the maximum value of the user-specified gain), and AGC in the twilight situation varies between 0 and 5 because the presence of light is irregular.

상기 AEC 검출부(122)는 카메라 모듈(110)과 통신하여 카메라 모듈의 레지스터에 저장된 제어 파라미터로서, 촬영 대상의 밝기에 따라 이미지 센서가 빛을 받아들이는 시간을 조절하기 위한 AEC(Auto Exposure Control) 값을 검출한다.The AEC detection unit 122 is a control parameter stored in the register of the camera module in communication with the camera module 110, and adjusts the AEC (Auto Exposure Control) value for adjusting the time that the image sensor receives light according to the brightness of the photographing target. Is detected.

상기 AEC는 영상의 밝기에 따라 제어 파라미터가 변화하므로 주간, 야간 및 박명을 판단하는데 적용되고, 카메라의 경우 주간 상황의 AEC는 최솟값을 가지고, 야간 상황의 AEC는 최댓값을 가지며, 박명 상황의 AEC는 영상 밝기가 불규칙하므로 최솟값 ~ 최댓값 사이에서 변화되는 값을 갖는다.The AEC is applied to determine daytime, nighttime, and twilight because the control parameter changes according to the brightness of the image. In the case of a camera, the AEC of the daytime situation has the minimum value, the AEC of the nighttime situation has the maximum value, and the AEC of the twilight situation has the maximum value. Since the image brightness is irregular, it has a value that varies between the minimum and maximum values.

상기 파라미터 분석부(123)는 주간/야간을 판단하기 위한 판단 변수로서, 상기 AGC 검출부(121)와 AEC 검출부(122)로부터 각각 검출한 AGC 값과 AEC 값을 곱셈 연산하여 그 결과 값(판단 변수)을 미리 설정된 주간, 야간 및 박명을 판단하기 위한 기준 값들과 대비한다.The parameter analyzer 123 is a determination variable for determining day / night, and multiplies the AGC value and the AEC value detected by the AGC detector 121 and the AEC detector 122, respectively, and the result value (the judgment variable). ) Is compared with reference values for judging preset day, night and night.

상기 AGC 값과 AEC 값을 곱셈 연산한 결과값의 산술적 크기는 0 ~ 10 사이에서 변화하게 되며 주간, 야간 및 박명의 흐름 상황을 파라미터 값으로 정의하여 상태 변화를 확인할 수 있도록 한다.The arithmetic size of the result of multiplying the AGC value and the AEC value is changed between 0 and 10, and the flow conditions of day, night, and twilight can be defined as parameter values to check the state change.

또한, 상기 파라미터 분석부(123)는 주간, 야간 및 박명을 판단하기 위한 판단 변수의 값에 따라 상기 주간, 야간 및 박명의 변화 상황을 판단하기 위한 상황 파라미터 값을 일정 크기 만큼 증가시켜 누적 산출하여 제공한다.In addition, the parameter analysis unit 123 accumulates and calculates a situation parameter value for determining the change of the day, night and night life by a predetermined size according to the value of the determination variable for determining day, night and night life. to provide.

즉 곱셈 연산한 결과 값(이하, 판단 변수라고 함)이 주간 상태를 판단하기 위한 제 1 기준값 이하이면 주간 상황 파라미터 값은 일정 크기만큼 증가시키고, 야간 및 박명 상황 파라미터 값은 일정 크기 만큼 감소시킨 후 누적 계산한다.That is, if the result of the multiplication operation (hereinafter, referred to as the judgment variable) is less than or equal to the first reference value for judging the daytime state, the daytime situation parameter value is increased by a certain amount, and the nighttime and nightly situation parameter value is decreased by a certain amount. Calculate cumulatively.

또한, 상기 판단 변수가 야간 상태를 판단하기 위한 제 2 기준값 이상이면 야간 상황 파라미터 값은 일정 크기만큼 증가시키고, 주간 및 박명 상황 파라미터 값은 일정 크기만큼 감소시킨 후 누적 계산한다.In addition, if the determination variable is greater than or equal to the second reference value for determining the night state, the night situation parameter value is increased by a certain size, and the daytime and night situation parameter values are reduced by a certain amount and then cumulatively calculated.

또한, 상기 판단 변수가 상기 제 1 기준값과 제 2 기준값 사이의 범위이면 박명 상황 파라미터 값은 일정 크기만큼 증가시키고, 주간 및 야간 상황 파라미터 값은 일정 크기만큼 감소시킨 후 누적 계산한다.In addition, if the determination variable is a range between the first reference value and the second reference value, the fatal situation parameter value is increased by a certain size, and the day and night situation parameter value is reduced by a certain amount and then cumulatively calculated.

상기 상황 파라미터 값을 예를 들어 설명하면, 사용자의 설정에 따라 초기값 '0' ~ 최대값 사이의 값을 가지고, 1회 변동 범위는 +/- '1'만큼 변화할 경우 상기 판단 변수에 따른 상황 파라미터 값의 누적 계산을 수행하면 다음과 같다.The situation parameter value is described by way of example, and has a value between the initial value '0' and the maximum value according to the user's setting, and the one-time change range changes by +/- '1' according to the determination variable. The cumulative calculation of the situation parameter values is as follows.

상기 판단 변수가 0 ~ 1인 경우 상기 제 1 기준값 이하의 값이므로 주간 상황 파라미터 값은 +1 증가시키고, 박명/야간 상황 파라미터 값은 각 -1 감소시킨다.When the determination variable is 0 to 1, the value of the daytime situation parameter increases by +1 and the value of the night / night situation parameter decreases by -1 because it is less than the first reference value.

상기 판단 변수가 1 ~ 8인 경우 제 1 기준값과 제 2 기준값 사이의 값이므로 박명 상황 파라미터 값은 +1 증가시키고, 주간/야간 상황 파라미터 값은 각 -1 감소시킨다.When the determination variable is 1 to 8, since the value is between the first reference value and the second reference value, the fatality situation parameter value is increased by +1, and the day / night situation parameter value is decreased by -1.

상기 판단 변수가 8 ~ 10인 경우 제 2 기준값 이상의 값이므로 야간 상황 파라미터 값은 +1 증가시키고, 주간/박명 상황 파라미터 값은 각 -1 감소시킨다.When the determination variable is 8 to 10, the value of the night situation parameter increases by +1 and the day / night situation parameter value decreases by -1 since the value is equal to or greater than the second reference value.

상기 상태 결정부(124)는 상기 파라미터 분석부(123)로부터 산출된 누적 상황 파라미터 값들 중 최댓값을 갖는 상황 파라미터 값을 검출하고, 최댓값을 갖는 상황 파라미터가 주간 상황 파라미터이면 주간으로 결정하며, 야간 상황 파라미터면 야간으로 결정하고, 박명 상황 파라미터이면 박명으로 결정한다.The state determiner 124 detects a situation parameter value having a maximum value among the cumulative situation parameter values calculated from the parameter analyzer 123, and determines that the situation parameter having the maximum value is a weekly situation parameter and is a daytime situation. If it is a parameter, it is decided to be night, and if it is a fatal situation parameter, it is determined to be night.

또한, 상태 결정부(124)는 상기 결정된 현재 상태를 이전의 상태와 대비하여 그 결과에 따라 주간 인식 알고리즘 또는 야간 인식 알고리즘이 각각 동작되도록 제어 신호를 출력하거나 주간/야간 인식 알고리즘이 모두 동작되도록 동작 제어 신호를 주간/야간 판단 신호와 함께 출력한다.In addition, the state determiner 124 outputs a control signal or operates the day / night recognition algorithm so that the day recognition algorithm or the night recognition algorithm is operated according to the result of comparing the determined current state with the previous state. Output control signal along with day / night judgment signal.

즉 상태 결정부(124)는 주간 또는 야간을 결정하여 인식부(130)가 주간 인식 알고리즘을 이용한 인식 동작을 수행하거나 야간 인식 알고리즘을 이용한 인식 동작을 수행하도록 신호를 출력하고, 일몰 전 또는 일몰 후인 박명 상태이면 주간 인식 알고리즘과 야간 인식 알고리즘이 모두 동작하도록 신호를 출력한다.That is, the state determiner 124 determines the day or night, and outputs a signal so that the recognizer 130 performs a recognition operation using a day recognition algorithm or a recognition operation using a night recognition algorithm, and before or after sunset. If it is in the dim state, it outputs a signal so that both the day recognition algorithm and the night recognition algorithm are operated.

또한, 상태 결정부(124)는 주간/야간 판단을 위해 상황 파라미터 값들 중 최댓값을 기준으로 주간, 야간 및 박명을 결정하고, 상기 주간, 야간 및 박명 상태 이외에 터널 구간이나 굴다리, 지하도, 건물의 음영 지역 등의 어두운 지역을 일시적으로 통과할 경우 또는 주변 건물의 불빛이나 다른 광원이 유입된 경우 전조등의 점등/미점등 차량의 인식률을 고려하여 강제 박명 상태가 추가된다.In addition, the state determination unit 124 determines the day, night and twilight based on the maximum value of the situation parameter values for day / night judgment, and in addition to the day, night and twilight conditions, the tunnel section, the bridge, the underpass, the shadow of the building In case of temporarily passing through a dark area such as an area, or when a light or other light source of a nearby building is introduced, a forced fatal state is added in consideration of the recognition rate of the headlights on / off.

즉 시간의 흐름상 주간 -> 박명(일몰 후) -> 야간으로 상태가 변하거나 야간 -> 박명(일출 전) -> 주간으로 상태가 변하는 것이 일반적이지만, 주간 -> 야간 또는 야간 -> 주간으로 직접 상태가 변하면 야간 또는 주간 상태로 인식되지 않고 미리 설정된 시간(예를 들면, 1분) 이상 강제로 박명 상태를 유지하도록 한다.In other words, the state of time changes from day to day-> night (after sunset)-> night, or night-> night (before sunrise)-> day, but from day to night-> night or night-> day If the direct state changes, it is not recognized as a night or day state, and it is forced to maintain the fatal state for a preset time (for example, 1 minute).

따라서, 이전 상태가 주간 상태이고 결정된 상태가 야간 상태이거나 또는 그 반대인 이전 상태가 야간 상태이고 결정된 상태가 주간 상태인 경우 주간 인식 알고리즘과 야간 인식 알고리즘이 인식부(130)에서 모두 동작되도록 제어 신호를 출력하여 인식 프로그램의 인식률이 개선되도록 한다.
Therefore, when the previous state is the daytime state and the determined state is the night state, or vice versa, the previous state is the night state and the determined state is the daytime state, the control signal such that both the daytime recognition algorithm and the nighttime recognition algorithm are operated in the recognition unit 130. Outputs the recognition rate of the recognition program to be improved.

도 3은 본 발명에 따른 카메라의 파라미터를 이용한 주간/야간 판단 과정을 나타낸 흐름도이고, 도 4 및 도 5는 도 3에 따른 카메라의 파라미터를 이용한 주간/야간 판단에서 이전 상태와 현재 상태에 따른 인식 알고리즘의 동작을 나타낸 흐름도이다.3 is a flowchart illustrating a day / night determination process using a parameter of a camera according to the present invention, and FIGS. 4 and 5 illustrate recognition according to a previous state and a current state in day / night determination using a parameter of a camera according to FIG. 3. A flowchart illustrating the operation of the algorithm.

도 1 내지 도 5를 참조하여 본 발명에 따른 카메라의 파라미터를 이용한 주간/야간 판단 방법을 더욱 상세하게 설명한다.1 to 5 will be described in more detail the day / night determination method using the parameters of the camera according to the present invention.

카메라 모듈(110)로부터 영상 정보가 입력되면, 주간/야간 판단부(120)가 상기 카메라 모듈(110)과 통신하여 카메라의 레지스터로부터 제어 파라미터를 검출(S100)한다.When image information is input from the camera module 110, the day / night determination unit 120 communicates with the camera module 110 to detect a control parameter from the register of the camera (S100).

상기 카메라 모듈(110)의 주요 파라미터는 AGC(Auto Gain Control), AEC(Auto Exposure Control), AWB(Auto White Balnce), HDR(High Dynamic Range) 모드 선택, RGB 각각의 AEC, White or Black pixel count, 밝기 평균 등이 있고, 상기 S100 단계에서 검출되는 제어 파라미터는 AGC 및 AEC이다.The main parameters of the camera module 110 are AGC (Auto Gain Control), AEC (Auto Exposure Control), AWB (Auto White Balnce), HDR (High Dynamic Range) mode selection, RGB AEC, White or Black pixel count , Brightness average, and the like, and the control parameters detected in step S100 are AGC and AEC.

상기 주간/야간 판단부(120)가 상기 S100 단계에서 검출한 제어 파라미터를 분석하여 미리 설정된 특정 파라미터 예를 들면, AGC 및 AEC를 저장(S200)하고, 상기 AGC 및 AEC를 곱셈 연산(S300)한다.The day / night determination unit 120 analyzes the control parameter detected in the step S100 to store a predetermined specific parameter, for example, AGC and AEC (S200), and multiplies the AGC and AEC (S300). .

상기 AGC는 빛의 존재 유무에 따라 제어 파라미터가 변화하므로 주간, 야간 및 박명을 판단하는데 적용되고, 상기 AEC는 영상의 밝기에 따라 제어 파라미터가 변화하므로 주간, 야간 및 박명을 판단하는데 적용된다.The AGC is applied to determine day, night and twilight because control parameters change depending on the presence or absence of light, and the AEC is applied to determine day, night and twilight because control parameters change according to image brightness.

상기 AGC 값과 AEC 값을 곱셈 연산한 결과값의 산술적 크기는 예를 들면, 0 ~ 10 사이에서 변화하게 되며 주간, 야간 및 박명의 흐름 상황을 파라미터 값으로 정의하여 상태 변화를 확인할 수 있다.The arithmetic size of the result of multiplying the AGC value and the AEC value is changed, for example, between 0 and 10, and the state change can be confirmed by defining the flow conditions of day, night, and thinning as parameter values.

상기 주간/야간 판단부(120)는 상기 S300 단계에서 연산된 판단 변수는 미리 설정된 주간, 야간 및 박명을 판단하기 위한 기준 값들과 대비(S400)한다.The day / night determination unit 120 compares the determination variable calculated in step S300 with reference values for determining the preset day, night, and night life (S400).

또한, 주간/야간 판단부(120)는 상기 판단 변수가 주간 상태를 판단하기 위한 제 1 기준값 이하이면 주간 상황 파라미터 값은 일정 크기만큼 증가시키고, 야간 및 박명 상황 파라미터 값은 일정 크기 만큼 감소시킨 후 누적 계산(S500)하고, 상기 판단 변수가 야간 상태를 판단하기 위한 제 2 기준값 이상이면 야간 상황 파라미터 값은 일정 크기만큼 증가시키고, 주간 및 박명 상황 파라미터 값은 일정 크기만큼 감소시킨 후 누적 계산(S510)하며, 상기 판단 변수가 상기 제 1 기준값과 제 2 기준값 사이의 범위이면 박명 상황 파라미터 값은 일정 크기만큼 증가시키고, 주간 및 야간 상황 파라미터 값은 일정 크기만큼 감소시킨 후 누적 계산(S520)한다.In addition, the day / night determination unit 120 increases the value of the daytime situation parameter by a certain size if the determination variable is less than or equal to the first reference value for determining the daytime state, and decreases the value of the nighttime and nightly situation parameters by a certain amount. If the determination variable is greater than or equal to the second reference value for determining the night state, the night situation parameter value is increased by a certain amount, and the daytime and night situation parameter values are reduced by a certain amount, and then the cumulative calculation is performed (S510). If the determination variable is within the range between the first reference value and the second reference value, the fatal situation parameter value is increased by a predetermined size, and the day and night situation parameter value is reduced by a predetermined amount and then accumulated (S520).

상기 S500 내지 S520 단계 중 어느 하나의 단계를 수행한 후 상기 주간/야간 판단부(120)는 상기 S500 내지 S520 단계 중 어느 하나의 단계를 수행한 후 산출된 주간, 야간 및 박명 상황 파라미터 값들 중에서 최댓값을 갖는 상황 파라미터 값을 검출하여 주간, 야간 및 박명을 결정(S600)한다.After performing any one of the steps S500 to S520, the day / night determination unit 120 performs a maximum value among the day, night and night situation parameter values calculated after performing any one of the steps S500 to S520. Day, night and night life is determined by detecting the situation parameter value having a (S600).

상기 S600 단계에서 최댓값을 갖는 상황 파라미터가 주간 상황 파라미터이면 상기 주간/야간 판단부(120)는 주간 상태로 결정하고, 이전 상태와 대비하여 주간 인식 알고리즘만 동작되도록 하거나 또는 주간/야간 알고리즘이 모두 동작되도록 한다(S700).In the step S600, if the situation parameter having the maximum value is a weekly situation parameter, the day / night determination unit 120 determines to be in a day state, and operates only the weekly recognition algorithm or the day / night algorithm is operated in comparison with the previous state. To be made (S700).

즉 주간/야간 판단부(120)는 상기 S600 단계에서 결정된 상태가 주간인 경우 이전 상태가 주간인지 야간인지 판단(S701)하여 야간이면 주변 건물의 불빛이나 다른 광원의 유입으로 판단하여 강제 박명에 의한 주간/야간 인식 알고리즘이 모두 동작(S702)되도록 하고, 상기 S701 단계의 판단 결과 상기 이전 상태가 주간 또는 박명(S703)이면 주간 인식 알고리즘만 동작(S704)되도록 제어 신호를 인식부(130)로 출력한다.That is, the day / night determination unit 120 determines whether the previous state is daytime or nighttime when the state determined in the step S600 is daytime (S701), and determines that the light or other light sources of the surrounding buildings are caused by forced fatality at nighttime. Output the control signal to the recognition unit 130 so that both the day / night recognition algorithm is operated (S702), and only the weekly recognition algorithm is activated (S704) when the previous state is day or night (S703). do.

또한, 상기 S600 단계에서 최댓값을 갖는 상황 파라미터가 야간 상황 파라미터이면 상기 주간/야간 판단부(120)는 야간 상태로 결정하고, 이전 상태와 대비하여 야간 인식 알고리즘만 동작되도록 하거나 또는 주간/야간 알고리즘이 모두 동작되도록 한다(S710).In addition, if the situation parameter having the maximum value in step S600 is a night situation parameter, the day / night determination unit 120 determines the night state, and operates only the night recognition algorithm in comparison with the previous state or the day / night algorithm is All are operated (S710).

즉 주간/야간 판단부(120)는 상기 S600 단계에서 결정된 상태가 야간인 경우 이전 상태가 주간인지 야간인지 판단(S711)하여 주간이면 터널 구간진입, 굴다리, 지하도 등을 통과하는 것을 판단하여 강제 박명에 의한 주간/야간 인식 알고리즘이 모두 동작(S712)되도록 하고, 상기 S711 단계의 판단결과 상기 이전 상태가 야간 또는 박명(S713)이면 야간 인식 알고리즘만 동작(S714)되도록 제어 신호를 인식부(130)로 출력한다.That is, the day / night determination unit 120 determines whether the previous state is daytime or nighttime when the state determined in the step S600 is night (S711), and if it is daytime, it is determined that the passage passes through the tunnel section, the bridge, the underpass, etc. All the day / night recognition algorithm by the operation (S712), and if the previous state is night or night (S713) as a result of the determination in step S711 the control signal recognition unit 130 to operate only the night recognition algorithm (S714) Will output

또한, 상기 S600 단계에서 최댓값을 갖는 상황 파라미터가 박명 상황 파라미터이고, 이전 상태가 박명 상태이면 상기 주간/야간 판단부(120)는 박명 상태로 결정하고, 주간/야간 알고리즘이 모두 동작되도록 한다(S720).In addition, if the situation parameter having the maximum value in step S600 is a twilight situation parameter, and the previous state is a twilight state, the day / night determination unit 120 determines that it is a twilight state and allows the day / night algorithm to be operated in operation S720. ).

따라서, 카메라 모듈의 레지스터에 저장된 제어 파라미터를 이용하여 주간/야간 정보를 제공함으로써, 주간/야간 인식 알고리즘의 인식률이 더욱 개선될 수 있게 된다.
Thus, by providing day / night information using control parameters stored in the register of the camera module, the recognition rate of the day / night recognition algorithm can be further improved.

상기와 같이, 본 발명의 바람직한 실시 예를 참조하여 설명하였지만 해당 기술 분야의 숙련된 당업자라면 하기의 특허청구범위에 기재된 본 발명의 사상 및 영역으로부터 벗어나지 않는 범위 내에서 본 발명을 다양하게 수정 및 변경시킬 수 있음을 이해할 수 있을 것이다.
While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it will be understood by those of ordinary skill in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims. It can be understood that

100 : 물체 인식 시스템 110 : 카메라 모듈
120 : 주간/야간 판단부 121 : AGC 검출부
122 : AEC 검출부 123 : 파라미터 분석부
124 : 상태 결정부 130 : 인식부
100: object recognition system 110: camera module
120: day / night judgment unit 121: AGC detection unit
122: AEC detector 123: parameter analyzer
124: state determination unit 130: recognition unit

Claims (10)

카메라의 파라미터를 이용한 주간/야간 판단 장치로서,
영상을 촬영하는 카메라 모듈의 레지스터로부터 빛의 존재 유무에 따른 변화 정보와 촬영 대상의 밝기에 따른 변화 정보를 검출하여 분석하고, 그 분석 결과에 따라 미리 설정된 주간, 야간 및 박명(해질녘) 중 어느 하나의 상태를 결정하여 물체를 인식하는 인식 프로그램의 주간/야간 알고리즘 적용을 위한 판단 정보로 제공하는 주간/야간 판단부를 포함하는 것을 특징으로 하는 카메라의 파라미터를 이용한 주간/야간 판단 장치.
Day / night judgment device using the parameters of the camera,
The change information according to the presence or absence of light and the change information according to the brightness of the photographing target are detected and analyzed from the register of the camera module which captures the image, and any one of the preset daytime, nighttime, and nightfall (at sunset) is determined according to the analysis result. Day / night determination apparatus using a parameter of the camera, characterized in that it comprises a day / night determination unit for determining the state of the object to provide the determination information for applying the day / night algorithm of the recognition program for recognizing the object.
제 1 항에 있어서,
주간/야간 판단부는 상기 카메라 모듈과 통신하여 카메라 모듈의 레지스터로부터 빛의 존재 유무에 따라 변화하는 AGC(Auto Gain Control) 값을 검출하는 AGC 검출부;
상기 카메라 모듈과 통신하여 카메라 모듈의 레지스터로부터 촬영 대상의 밝기에 따라 변화하는 AEC(Auto Exposure Control) 값을 검출하는 AEC 검출부;
상기 AGC 검출부와 AEC 검출부로부터 검출한 AGC 값과 AEC 값을 연산하여 그 결과값을 미리 설정된 주간, 야간 및 박명을 판단하기 위한 기준 값들과 대비하고, 그 결과에 따라 상기 주간, 야간 및 박명을 판단하기 위한 상황 파라미터 값을 일정 크기 만큼 증가시켜 누적 산출하는 파라미터 분석부; 및
상기 파라미터 분석부로부터 산출된 누적 상황 파라미터 값들 중 최댓값을 검출하여 주간, 야간 및 박명 중 어느 하나의 상태를 결정하고, 상기 결정된 상태와 이전의 상태를 대비하여 그 결과에 따라 주간 인식 알고리즘 또는 야간 인식 알고리즘이 각각 동작되도록 하거나 주간/야간 인식 알고리즘이 모두 동작되도록 동작 제어 신호를 출력하는 상태 결정부를 포함하는 것을 특징으로 하는 카메라의 파라미터를 이용한 주간/야간 판단 장치.
The method of claim 1,
Day / night determination unit AGC detection unit for communicating with the camera module to detect the AGC (Auto Gain Control) value that changes depending on the presence of light from the register of the camera module;
An AEC detection unit communicating with the camera module to detect an auto exposure control (AEC) value that changes according to the brightness of a photographing target from a register of the camera module;
The AGC value and the AEC value detected by the AGC detection unit and the AEC detection unit are calculated, and the result values are compared with reference values for determining the preset day, night, and fatality, and the day, night, and fatality are determined according to the result. A parameter analyzer which accumulates and calculates a situation parameter value by a predetermined size to be accumulated; And
Detects a maximum value among the cumulative situation parameter values calculated from the parameter analyzer to determine one of daytime, nighttime, and twilight, and compares the determined state and the previous state according to the result of the daytime recognition algorithm or nighttime recognition Day / night determination apparatus using a parameter of the camera, characterized in that it comprises a state determining unit for outputting an operation control signal to operate the algorithm or to operate both the day and night recognition algorithm.
제 2 항에 있어서,
상기 상태 결정부는 이전 상태가 주간 상태이고 누적 상황 파라미터 값의 최댓값에 따라 결정된 상태가 야간 상태이거나 또는 그 반대의 경우 주간 인식 알고리즘과 야간 인식 알고리즘이 모두 동작되도록 제어 신호를 출력하는 것을 특징으로 하는 카메라의 파라미터를 이용한 주간/야간 판단 장치.
The method of claim 2,
The state determining unit outputs a control signal such that both the day recognition algorithm and the night recognition algorithm are operated when the previous state is the day state and the state determined according to the maximum value of the cumulative situation parameter value is the night state or vice versa. Day / night judgment device using the parameters of.
제 3 항에 있어서,
상기 상태 결정부는 상기 주간 및 야간 인식 알고리즘이 모두 동작하면 일정 시간 이상 유지되도록 하는 것을 특징으로 하는 카메라의 파라미터를 이용한 주간/야간 판단 장치.
The method of claim 3, wherein
The state determination unit is a day / night determination device using a parameter of the camera, characterized in that to maintain more than a predetermined time when both the day and night recognition algorithms operate.
카메라의 파라미터를 이용한 주간/야간 판단 방법으로서,
a) 카메라 모듈로부터 영상 정보가 입력되면, 주간/야간 판단부가 상기 카메라 모듈과 통신하여 카메라 모듈의 레지스터로부터 제어 파라미터를 검출하는 단계;
b) 상기 주간/야간 판단부가 상기 a) 단계에서 검출한 제어 파라미터를 분석하여 미리 설정된 특정 파라미터를 저장하고, 상기 특정 파라미터를 연산하여 그 결과값을 미리 설정된 주간, 야간 및 박명을 판단하기 위한 기준 값들과 대비하는 단계;
c) 상기 주간/야간 판단부가 상기 b) 단계의 대비 결과에 따라 주간 상황 파라미터, 야간 상황 파라미터 및 박명 상황 파라미터 중 어느 하나의 상황 파라미터 값을 일정 크기 만큼 증가시켜 누적 산출하는 단계;
d) 상기 주간/야간 판단부가 상기 c) 단계에서 산출된 주간, 야간 및 박명 상황 파라미터 값들 중에서 최댓값을 갖는 상황 파라미터 값에 따라 주간, 야간 및 박명 중 어느 하나의 상태를 결정하는 단계; 및
e) 상기 주간/야간 판단부가 상기 d) 단계에서 결정된 상태와 이전의 상태를 대비하여 그 결과에 따라 주간 인식 알고리즘 또는 야간 인식 알고리즘이 각각 동작되도록 하거나 주간/야간 인식 알고리즘이 모두 동작되도록 동작 제어 신호를 출력하는 단계를 포함하는 카메라의 파라미터를 이용한 주간/야간 판단 방법.
Day / night judgment method using the parameters of the camera,
a) when the image information is input from the camera module, the day / night determination unit communicating with the camera module to detect a control parameter from the register of the camera module;
b) a criterion for the day / night determination unit analyzing the control parameter detected in the step a) to store a predetermined specific parameter, and calculating the specific parameter to determine the preset day, night and night Contrast with values;
c) accumulating and calculating the day / night determination unit by increasing a value of any one of the daytime parameter, the nighttime parameter, and the fatality situation parameter by a predetermined size according to the comparison result of step b);
d) determining, by the day / night judgment unit, any one of day, night and night conditions according to the situation parameter value having the maximum value among the day, night and night situation parameters calculated in step c); And
e) an operation control signal for the day / night determination unit to operate the day recognition algorithm or the night recognition algorithm, or to operate both the day / night recognition algorithm according to the result in contrast with the state determined in the step d) and the previous state; Day / night determination method using the parameters of the camera comprising the step of outputting.
제 5 항에 있어서,
상기 b) 단계의 특정 파라미터는 빛의 존재 유무에 따라 변화하는 AGC(Auto Gain Control)와, 촬영 대상의 밝기에 따라 변화하는 AEC(Auto Exposure Control)인 것을 특징으로 하는 카메라의 파라미터를 이용한 주간/야간 판단 방법.
The method of claim 5, wherein
The specific parameter of step b) is AGC (Auto Gain Control) which changes according to the presence or absence of light, and AEC (Auto Exposure Control) which changes according to the brightness of the shooting target. Night judgment method.
제 5 항에 있어서,
상기 c) 단계의 상황 파라미터 값을 일정 크기 만큼 증가시켜 누적 산출하는 단계는 상기 특정 파라미터의 연산 결과값이 미리 설정된 주간 판단용 제 1 기준값 이하이면 주간 상황 파라미터 값이 누적 증가되도록 하고, 상기 특정 파라미터의 연산 결과값이 미리 설정된 야간 판단용 제 2 기준값 이상이면 야간 상황 파라미터 값이 누적 증가되도록 하며, 상기 특정 파라미터의 연산 결과값이 상기 제 1 및 제 2 기준값 사이의 범위이면 박명 상황 파라미터 값이 누적 증가되도록 하는 것을 특징으로 하는 카메라의 파라미터를 이용한 주간/야간 판단 방법.
The method of claim 5, wherein
Accumulating and increasing the situation parameter value of the step c) by a predetermined size causes the weekly situation parameter value to be cumulatively increased if the calculation result value of the specific parameter is less than or equal to a preset first reference value for weekly determination. If the calculation result value of is greater than or equal to the second reference value for night determination, the night situation parameter value is increased. If the calculation result value of the specific parameter is in a range between the first and second reference values, the fatal situation parameter value is accumulated. Day / night determination method using a parameter of the camera, characterized in that the increase.
제 5 항에 있어서,
상기 e) 단계는 이전 상태가 주간 상태이고 누적된 상황 파라미터 값의 최댓값에 따라 결정된 상태가 야간 상태이거나 또는 이전 상태가 야간 상태이고 누적된 상황 파라미터 값의 최댓값에 따라 결정된 상태가 주간 상태이면 주간 인식 알고리즘과 야간 인식 알고리즘이 모두 동작되도록 하는 것을 특징으로 하는 카메라의 파라미터를 이용한 주간/야간 판단 방법.
The method of claim 5, wherein
In step e), if the previous state is the daytime state and the state determined according to the maximum value of the accumulated situation parameter value is the night state or the previous state is the night state and the state determined according to the maximum value of the accumulated situation parameter value is the daytime state recognition Day / night determination method using the parameters of the camera, characterized in that both the algorithm and the night recognition algorithm is operated.
제 5 항에 있어서,
상기 e) 단계는 이전 상태가 야간 또는 박명 상태이고 누적된 상황 파라미터 값의 최댓값에 따라 결정된 상태가 야간 상태이면 야간 인식 알고리즘만 동작되도록 하는 것을 특징으로 하는 카메라의 파라미터를 이용한 주간/야간 판단 방법.
The method of claim 5, wherein
The step (e) of the day / night determination method using a camera parameter, characterized in that only the night recognition algorithm is operated if the previous state is a night state or night state and the state determined according to the maximum value of the accumulated situation parameter value is a night state.
제 5 항에 있어서,
상기 e) 단계는 이전 상태가 주간 또는 박명 상태이고 누적된 상황 파라미터 값의 최댓값에 따라 결정된 상태가 주간 상태이면 주간 인식 알고리즘만 동작되도록 하는 것을 특징으로 하는 카메라의 파라미터를 이용한 주간/야간 판단 방법.
The method of claim 5, wherein
The step (e) is a day / night determination method using a parameter of the camera, characterized in that only the weekly recognition algorithm is operated if the previous state is day or night state and the state determined according to the maximum value of the accumulated situation parameter value is a day state.
KR1020100129060A 2010-12-16 2010-12-16 Apparatus and method for deciding day and night using parameter of camera KR101161198B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020100129060A KR101161198B1 (en) 2010-12-16 2010-12-16 Apparatus and method for deciding day and night using parameter of camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020100129060A KR101161198B1 (en) 2010-12-16 2010-12-16 Apparatus and method for deciding day and night using parameter of camera

Publications (2)

Publication Number Publication Date
KR20120067578A true KR20120067578A (en) 2012-06-26
KR101161198B1 KR101161198B1 (en) 2012-07-02

Family

ID=46686555

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020100129060A KR101161198B1 (en) 2010-12-16 2010-12-16 Apparatus and method for deciding day and night using parameter of camera

Country Status (1)

Country Link
KR (1) KR101161198B1 (en)

Also Published As

Publication number Publication date
KR101161198B1 (en) 2012-07-02

Similar Documents

Publication Publication Date Title
US7634107B2 (en) Roadway type judgment method and apparatus
KR101355076B1 (en) Apparatus of recogning illumination environment of vehicle and cotrol method of thereof
CN108206918B (en) Optical compensation method and device
JP5375814B2 (en) Exposure control device
JP4433045B2 (en) Exposure control device and exposure control program
JP2009157086A (en) Exposure control apparatus and exposure control program
CN106915295A (en) The control method and device of automobile front lamp state
JP2008110715A (en) Vehicular automatic lighting system
CN104008518B (en) Body detection device
JP2005148308A (en) Exposure controller for white line detection camera
KR101087741B1 (en) Apparatus and method for controlling headlight
KR101154552B1 (en) Climate situation sensing method of car using front camera
KR101511586B1 (en) Apparatus and method for controlling vehicle by detection of tunnel
JP5898535B2 (en) Exposure control device for imaging unit
KR101161198B1 (en) Apparatus and method for deciding day and night using parameter of camera
JP2003030665A (en) Mobile object detector, mobile object detection method and program making computer execute the method
KR101650953B1 (en) Apparatus and method for detecting tunnel approach by using image photographed by camera
KR101241225B1 (en) Image recognition system and method for car
KR20120072141A (en) Anti-dazzling apparatus and method for vehicle driver
JP2005148309A (en) Exposure controller for white line detection camera
KR20120046954A (en) System for lane departure warning of vehicle
KR102529736B1 (en) Apparatus and method for controlling auto light of vehicle
WO2023164786A1 (en) Intelligent control system and method for vehicle lamp
KR101789074B1 (en) Determination method and apparatus of day and night for vehicle lamp control
KR102646288B1 (en) Day and night driving detection system using cosssntrol camera

Legal Events

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

Payment date: 20150623

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20160422

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20190620

Year of fee payment: 8