KR101278237B1 - Method and apparatus for recognizing vehicles - Google Patents
Method and apparatus for recognizing vehicles Download PDFInfo
- Publication number
- KR101278237B1 KR101278237B1 KR1020110055206A KR20110055206A KR101278237B1 KR 101278237 B1 KR101278237 B1 KR 101278237B1 KR 1020110055206 A KR1020110055206 A KR 1020110055206A KR 20110055206 A KR20110055206 A KR 20110055206A KR 101278237 B1 KR101278237 B1 KR 101278237B1
- Authority
- KR
- South Korea
- Prior art keywords
- light source
- vehicle
- unit
- target light
- counter
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 41
- 230000033001 locomotion Effects 0.000 claims abstract description 99
- 239000013598 vector Substances 0.000 claims abstract description 58
- 230000002123 temporal effect Effects 0.000 claims abstract description 6
- 230000000903 blocking effect Effects 0.000 claims description 7
- 230000001678 irradiating effect Effects 0.000 claims description 2
- 238000010586 diagram Methods 0.000 description 11
- 230000004313 glare Effects 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 4
- 238000013459 approach Methods 0.000 description 2
- 230000004438 eyesight Effects 0.000 description 2
- 229910044991 metal oxide Inorganic materials 0.000 description 2
- 150000004706 metal oxides Chemical class 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 239000007787 solid Substances 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000003044 adaptive effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000000295 complement effect Effects 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000000691 measurement method Methods 0.000 description 1
Images
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60W—CONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
- B60W30/00—Purposes of road vehicle drive control systems not related to the control of a particular sub-unit, e.g. of systems using conjoint control of vehicle sub-units
- B60W30/08—Active safety systems predicting or avoiding probable or impending collision or attempting to minimise its consequences
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/20—Analysis of motion
- G06T7/215—Motion-based segmentation
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60R—VEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
- B60R2300/00—Details of viewing arrangements using cameras and displays, specially adapted for use in a vehicle
- B60R2300/20—Details of viewing arrangements using cameras and displays, specially adapted for use in a vehicle characterised by the type of display used
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60W—CONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
- B60W2420/00—Indexing codes relating to the type of sensors based on the principle of their operation
- B60W2420/40—Photo, light or radio wave sensitive means, e.g. infrared sensors
- B60W2420/403—Image sensing, e.g. optical camera
Landscapes
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Transportation (AREA)
- Mechanical Engineering (AREA)
- Multimedia (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Image Analysis (AREA)
- Traffic Control Systems (AREA)
Abstract
차량 인식 방법 및 장치가 제공된다. 본 발명의 일 실시예에 따른 차량 인식 방법은, 카메라로부터 획득된 영상을 분석하여 대항 차량을 인식하는 차량 인식 방법에 있어서, (a) 상기 획득된 영상에서 정의된 위치에 관심 영역(Region of Interest)을 설정하는 단계; (b) 상기 관심 영역에서 특정 밝기 이상을 갖는 부분을 검출하여 대상 광원으로 설정하는 단계; (c) 상기 대상 광원의 시간적 움직임을 나타내는 모션 벡터(Motion Vector)를 구하는 단계; 및 (d) 상기 모션 벡터를 기준으로 상기 대상 광원이 대항 차량인지를 인식하는 단계를 포함한다.A vehicle recognition method and apparatus are provided. In a vehicle recognition method according to an embodiment of the present invention, a vehicle recognition method for recognizing an opposing vehicle by analyzing an image acquired from a camera, the method comprising: (a) a region of interest at a position defined in the acquired image; Setting); (b) detecting a portion having a specific brightness or more in the ROI and setting it as a target light source; obtaining a motion vector representing a temporal motion of the target light source; And (d) recognizing whether the target light source is a counter vehicle based on the motion vector.
Description
본 발명은 차량 인식 방법 및 장치에 관한 것으로, 보다 상세하게는 카메라로 획득한 영상을 분석하여 운행 차량의 대항 차량을 인식하는 차량 인식 방법 및 장치에 관한 것이다.The present invention relates to a vehicle recognition method and apparatus, and more particularly, to a vehicle recognition method and apparatus for recognizing a vehicle against a driving vehicle by analyzing an image acquired by a camera.
일반적으로 전방 영상을 획득하기 위한 카메라 모듈은 렌즈 및 영상 센서를 포함하여 구성된다. 여기서, 렌즈는 피사체에서 반사된 빛을 모으는 역할을 하며, 영상 센서는 렌즈에 의해 모아진 빛을 감지하여 전기적인 영상 신호로 변환하는 역할을 한다. 영상 센서는 크게 촬상관과 고체 영상 센서로 구성될 수 있는데, 고체 영상 센서는 대표적인 예로써 전하 결합 소자(Charge Coupled Device; CCD), 금속 산화물 반도체(Metal Oxide Silicon; MOS)를 예로 들 수 있다.In general, a camera module for acquiring a front image includes a lens and an image sensor. Here, the lens collects the light reflected from the subject, and the image sensor detects the light collected by the lens and converts the light into an electrical image signal. The image sensor may be largely composed of an image tube and a solid state image sensor, and examples of the solid state image sensor may include a charge coupled device (CCD) and a metal oxide semiconductor (MOS).
그리고, 차량은 주행 방향과 같은 방향으로 광을 조사하여 야간에 운전자의 시야를 확보하는 전조등을 가지고 있어, 이러한, 카메라 모듈을 이용하여 차량의 전방 영상을 획득하여 대항 차량을 인식하는 여러 기술이 개발되고 있다. In addition, the vehicle has a headlamp that secures the driver's vision at night by irradiating light in the same direction as the driving direction, and various technologies for acquiring a front image of the vehicle using the camera module and recognizing the vehicle against the vehicle have been developed. It is becoming.
그러나, 종래의 대항 차량 인식 기술은 대항 차량의 전조등이 두 개인 것에 착안하여 픽셀 페어(pixel pair)를 이용한 것으로, 오토바이 등의 전조등이 쌍으로 이루어지지 않은 대항 차량을 인식하는 데에 한계가 있었다.However, the conventional counter vehicle recognition technology uses a pixel pair in consideration of two headlights of a counter vehicle, and has a limitation in recognizing a counter vehicle in which headlights such as motorcycles are not paired.
따라서, 픽셀 값이나 픽셀 크기에 따라 전방의 차량을 검출하거나 대항 차량의 전조등이 픽셀 페어(pixel pair)인 것에 구애받지 않고, 야간에 전방의 영상을 획득하고 상기 영상에 대한 영상 처리를 통한 전방 물체 감지 기술이 요구된다.Therefore, regardless of whether the front vehicle is detected according to the pixel value or the pixel size or the headlight of the opposing vehicle is the pixel pair, the front object is obtained at night and the image processing for the image is performed. Sensing technology is required.
그리고, 차량이 야간에 헤드램프를 켜고 주행할 때 주행 방향 전방에 위치한 선행 차량이나 대향 차량의 운전자에게 눈부심을 유발하여 시야를 방해하여 차량 사고 발생 가능성이 높아질 수 있기 때문에 차량 운전자의 시야를 확보하면서도 선행 차량이나 대향 차량 운전자의 시야를 방해하지 않도록 하는 방안이 필요하며, 이를 해결하기 위해 차량 전방의 주행 도로에 대한 영상을 통해 도로 환경 정보를 얻고, 도로 환경 정보에 따라 헤드램프를 회전시켜 광 조사 패턴을 제어함으로써 운전자의 시야를 확보할 수 있는 적응형 헤드램프 시스템(Adaptive Front-Light System, AFLS)과 같은 차량의 헤드램프를 자동으로 제어하는 시스템이 요구된다.In addition, when the vehicle turns on the headlamp at night, the driver of the preceding vehicle or the opposite vehicle positioned in front of the driving direction may cause glare and obstruct the view, thereby increasing the possibility of a vehicle accident. In order to solve the problem, it is necessary to obtain a road environment information through the image of the driving road in front of the vehicle and to solve the problem by rotating the headlamp according to the road environment information. There is a need for a system that automatically controls the headlamps of a vehicle, such as an Adaptive Front-Light System (AFLS) that can secure the driver's vision by controlling the pattern.
본 발명은 상기 문제점을 해결하기 위한 것으로, 영상을 획득하여 특정영역의 광원을 대항 차량 후보로 결정하고 광원의 모션 벡터가 특정 방향 또는 특정 영역을 지나는 광원을 대항 차량으로 인식하는 차량 인식 방법을 제공하는 것이다.The present invention is to solve the above problems, to provide a vehicle recognition method for acquiring an image to determine the light source of a specific region as a vehicle candidate and recognizes the light source that the motion vector of the light source passes in a specific direction or a specific region as the vehicle. It is.
또한, 영상을 획득하여 특정영역의 광원을 대항 차량 후보로 결정하고 이를 데이터베이스화된 대항 차량의 움직임 패턴들과 비교하여 광원을 대항 차량으로 인식하는 차량 인식 장치를 제공하는 것이다.Another object of the present invention is to provide an apparatus for recognizing a light source as a counter vehicle by acquiring an image, determining a light source in a specific region as a counter vehicle candidate, and comparing the light source with the database of movement patterns of the counter vehicle.
그리고, 대항 차량을 인식하여 위치를 판단하고, 이로부터 운전 차량의 헤드램프에서 광 차단 영역을 조절하거나 또는 헤드램프의 회전을 통해 최적의 광 조사 패턴을 구현하도록 하여 운전자의 시야를 최대한 확보할 수 있는 차량 인식 기술을 제공하는 것이다.In addition, the vehicle can recognize the opposite vehicle to determine its position, and thereby adjust the light blocking area in the headlamp of the driving vehicle or implement the optimal light irradiation pattern by rotating the headlamp to maximize the driver's field of view. To provide vehicle recognition technology.
본 발명이 해결하고자 하는 과제들은 이상에서 언급한 과제들로 제한되지 않으며, 언급되지 않은 또 다른 과제들은 아래의 기재로부터 당업자에게 명확하게 이해될 수 있을 것이다.Problems to be solved by the present invention are not limited to the above-mentioned problems, and other problems not mentioned will be clearly understood by those skilled in the art from the following description.
상기 과제를 달성하기 위한 본 발명의 일 실시예에 따른 차량 인식 방법은, 카메라로부터 획득된 영상을 분석하여 대항 차량을 인식하는 차량 인식 방법에 있어서, (a) 상기 획득된 영상에서 정의된 위치에 관심 영역(Region of Interest)을 설정하는 단계; (b) 상기 관심 영역에서 특정 밝기 이상을 갖는 부분을 검출하여 대상 광원으로 설정하는 단계; (c) 상기 대상 광원의 시간적 움직임을 나타내는 모션 벡터(Motion Vector)를 구하는 단계; 및 (d) 상기 모션 벡터를 기준으로 상기 대상 광원이 대항 차량인지를 인식하는 단계를 포함한다.A vehicle recognition method according to an embodiment of the present invention for achieving the above object, in the vehicle recognition method for recognizing the opposite vehicle by analyzing the image obtained from the camera, (a) at a position defined in the acquired image Establishing a region of interest; (b) detecting a portion having a specific brightness or more in the ROI and setting it as a target light source; obtaining a motion vector representing a temporal motion of the target light source; And (d) recognizing whether the target light source is a counter vehicle based on the motion vector.
상기 과제를 달성하기 위한 본 발명의 다른 실시예에 따른 차량 인식 장치는, 대항 차량의 움직임 패턴들이 데이터베이스화되어 저장되는 저장부; 차량 전방의 영상을 획득하는 영상 획득부; 획득된 영상에 관심 영역(Region of Interest)을 설정하는 관심영역 설정부; 상기 관심 영역에서 빛을 검출하여 대상 광원으로 설정하는 광원 설정부; 상기 대상 광원을 모션 벡터(Motion Vector)를 이용하여 추적하는 광원 추적부; 및 상기 저장된 대항 차량의 움직임 패턴과 상기 대상 광원의 움직임 패턴을 비교하여 상기 대상 광원이 대항 차량인지 판단하는 차량 판단부를 포함한다.According to another aspect of the present invention, there is provided a vehicle recognition apparatus comprising: a storage unit configured to store a database of movement patterns of a counter vehicle; An image acquisition unit for acquiring an image in front of the vehicle; A region of interest setting unit configured to set a region of interest in the acquired image; A light source setting unit configured to detect light in the ROI and set it as a target light source; A light source tracking unit which tracks the target light source using a motion vector; And a vehicle determination unit comparing the movement pattern of the stored counter vehicle with the movement pattern of the target light source to determine whether the target light source is the counter vehicle.
본 발명의 기타 구체적인 사항들은 상세한 설명 및 도면들에 포함되어 있다.Other specific details of the invention are included in the detailed description and drawings.
본 발명에 따르면, 차량 전방의 획득된 영상의 픽셀 페어를 이용하지 않고, 대항 차량을 인식할 수 있으므로, 오토바이와 같은 단일 광원의 차량이나 한 쪽의 헤드 램프가 고장난 차량도 대항 차량으로 인식할 수 있다.According to the present invention, since the counter vehicle can be recognized without using the pixel pair of the acquired image in front of the vehicle, a vehicle having a single light source such as a motorcycle or a vehicle whose one head lamp is broken can be recognized as the counter vehicle. have.
도 1은 본 발명의 일 실시예에 따른 차량 인식 방법의 순서도이다.
도 2는 전방의 대항 차량의 운행을 나타내는 도면이다.
도 3은 영상 윈도우에 관심 영역(ROI)를 설정한 도면이다.
도 4는 영상 윈도우에서 대항 차량의 광원의 움직임 패턴을 도시한 도면이다.
도 5는 본 발명의 다른 실시예에 따른 차량 인식 방법의 순서도이다.
도 6은 본 발명의 일 실시예에 따른 차량 인식 장치의 블록 구성도이다.
도 7a는 직선 도로의 대항 차량의 광원의 움직임 패턴을 나타내는 도면이다.
도 7b는 곡선 도로의 대항 차량의 광원의 움직임 패턴을 나타내는 도면이다.1 is a flow chart of a vehicle recognition method according to an embodiment of the present invention.
2 is a diagram illustrating the operation of a vehicle against a vehicle ahead.
3 is a diagram illustrating a region of interest (ROI) set in an image window.
4 is a diagram illustrating a movement pattern of a light source of a vehicle against an image window.
5 is a flowchart illustrating a vehicle recognition method according to another embodiment of the present invention.
6 is a block diagram of a vehicle recognition apparatus according to an embodiment of the present invention.
7A is a diagram illustrating a movement pattern of a light source of a vehicle against a straight road.
7B is a diagram illustrating a movement pattern of a light source of a vehicle against a curved road.
이하, 첨부된 도면을 참조하여 본 발명의 바람직한 실시예를 상세히 설명한다. 본 발명의 이점 및 특징, 그리고 그것들을 달성하는 방법은 첨부되는 도면과 함께 상세하게 후술되어 있는 실시 예들을 참조하면 명확해질 것이다. 그러나 본 발명은 이하에서 게시되는 실시 예들에 한정되는 것이 아니라 서로 다른 다양한 형태로 구현될 수 있으며, 단지 본 실시 예들은 본 발명의 게시가 완전하도록 하고, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 발명의 범주를 완전하게 알려주기 위해 제공되는 것이며, 본 발명은 청구항의 범주에 의해 정의될 뿐이다. 명세서 전체에 걸쳐 동일 참조 부호는 동일 구성 요소를 지칭한다.Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS The advantages and features of the present invention and the manner of achieving them will become apparent with reference to the embodiments described in detail below with reference to the accompanying drawings. The present invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art. Is provided to fully convey the scope of the invention to those skilled in the art, and the invention is only defined by the scope of the claims. Like reference numerals refer to like elements throughout.
다른 정의가 없다면, 본 명세서에서 사용되는 모든 용어(기술 및 과학적 용어를 포함)는 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 공통적으로 이해될 수 있는 의미로 사용될 수 있을 것이다. 또 일반적으로 사용되는 사전에 정의되어 있는 용어들은 명백하게 특별히 정의되어 있지 않는 한 이상적으로 또는 과도하게 해석되지 않는다. Unless otherwise defined, all terms (including technical and scientific terms) used in the present specification may be used in a sense that can be commonly understood by those skilled in the art. Also, commonly used predefined terms are not ideally or excessively interpreted unless explicitly defined otherwise.
이하, 본 발명에 대하여 첨부된 도면에 따라 보다 상세히 설명한다.Hereinafter, the present invention will be described in more detail with reference to the accompanying drawings.
도 1은 본 발명의 일 실시예에 따른 차량 인식 방법의 순서도이며, 도 2는 전방의 대항 차량의 운행을 나타내는 도면이다.1 is a flow chart of a vehicle recognition method according to an embodiment of the present invention, Figure 2 is a view showing the operation of the vehicle against the front.
카메라로부터 획득된 영상을 분석하여 대항 차량을 인식하는 차량 인식 방법에 있어서, 획득된 영상에서 정의된 위치에 관심 영역(Region of Interest)을 설정하며(S110), 상기 관심 영역에서 특정 밝기 이상을 갖는 부분을 검출하여 대상 광원으로 설정하고(S120), 상기 대상 광원의 시간적 움직임을 나타내는 모션 벡터(Motion Vector)를 구하고(S130), 모션 벡터를 기준으로 대상 광원이 대항 차량인지를 판단하여 인식한다(S140).In a vehicle recognition method of recognizing an opposing vehicle by analyzing an image acquired from a camera, a region of interest is set at a position defined in the acquired image (S110), and has a specific brightness or more in the region of interest. A part is detected and set as a target light source (S120), a motion vector representing a temporal motion of the target light source is obtained (S130), and the target light source is determined to be recognized based on the motion vector to recognize it. S140).
특히, 대상 광원의 시간적 움직임을 나타내는 모션 벡터(Motion Vector)를 구할 때, 매 프레임마다 대상 광원의 위치값을 저장하는 단계를 더 포함한다. 그리고, 모션 벡터를 기준으로 대상 광원이 대항 차량인지를 판단할 때, 저장된 위치값을 연결한 연결선이 소정의 기준선을 지날 때 상기 대상 광원을 대항 차량으로 인식하게 된다.In particular, when obtaining a motion vector representing the temporal movement of the target light source, the method further includes storing the position value of the target light source every frame. When determining whether the target light source is the counter vehicle based on the motion vector, the target light source is recognized as the counter vehicle when the connection line connecting the stored position values passes a predetermined reference line.
운행 차량(10)은 카메라 모듈 등의 영상 획득 장치를 통해 전방 피사체, 즉 대항 차량(11)의 영상을 획득한다. 여기에서, CCD(Charge Coupled Device) 모듈 또는 CMOS(Complementary Metal Oxide Semiconductor) 모듈이 촬상 소자로 사용될 수 있다. 그리고, 획득된 영상은 데이터 전송이 용이하도록 영상을 압축한 압축 포맷 형태로 변환할 수 있다. 압축 포맷 형태의 이미지 데이터는 MPEG(Moving Picture Experts Group)-1 또는 MPEG-4 등의 다양한 포맷을 가질 수 있다. The
대항 차량(11)은 운행 차량(10)과 반대 방향으로 움직이며, 차량은 우측 통행을 하게 된다. 그러므로, 대항 차량(11)의 광원의 움직임은 운행 차량(10)을 기준으로 좌상방에서 좌하방으로 패턴이 나타난다.The
도 3은 전방 영상에 관심 영역(ROI)을 설정한 도면이다.3 is a diagram illustrating a region of interest (ROI) set in a front image.
카메라 모듈 등을 통해 획득된 영상은 2차원의 평면에서 표현될 수 있으며, 이를 영상 윈도우(100)로 정의한다. 즉, 영상 윈도우(100)는 획득된 영상이 표시되는 창의 역할을 수행한다. 그리고, 도 3의 경우와 같이, 가로 축을 X축, 세로 축을 Y축으로 표현할 수 있다.An image acquired through a camera module or the like may be expressed in a two-dimensional plane, which is defined as an
관심 영역은 카메라로부터 획득된 영상에서 소정의 정의된 위치에 설정된다. 획득된 영상에 관심 영역(120, Region of Interest, ROI)을 설정할 때(S110), 관심 영역(120)은, 소실선(vanishing line)을 포함하는 직사각형 모양으로 설정된다. 그러므로, 관심 영역(120, ROI)은 영상이 표시되는 영상 윈도우(100)의 내부에 설정된다. 여기에서 소실선은 대항 차량(11)의 광원(110)이 사라지는 선이다. The region of interest is set at a predetermined defined position in the image obtained from the camera. When setting a region of interest (ROI) 120 in the acquired image (S110), the region of
대항 차량(11)의 광원(110)은 관심 영역(120, ROI) 내의 소실선 부근에서 처음으로 보인 후, 소실선의 바로 아래에서 차례차례 광원(110)이 보이게 될 것이다. 그리고, 대항 차량(11)의 속도에 맞추어 적어도 3개의 연속된 광원(110)의 위치를 획득하는 것이 바람직하다. 이는 대항 차량(11)의 광원(110)의 모션 벡터(MV, Motion Vector, 130)를 도출하기 위함이다.The
도 4는 영상 윈도우에서 대항 차량의 광원의 움직임 패턴을 도시한 도면이다.4 is a diagram illustrating a movement pattern of a light source of a vehicle against an image window.
관심 영역(120, ROI)에서 특정 밝기 이상을 갖는 부분을 검출하여 대상 광원(110)으로 설정할 때, 빛이 소정의 기준 휘도 범위 내인 경우에 대상 광원(110)으로 설정된다. 즉, 관심 영역에서 특정 밝기 이상을 갖는 부분의 빛은 소정의 기준 휘도 범위 내에 있어야 한다. When a portion having a specific brightness or more in the
야간에 차량(10)이 운행될 때 대항 차량(11)뿐만 아니라 가로등이나 건물에서 나오는 빛도 영상에서 감지될 수 있다. 그러므로, 대항 차량(11)의 전조등에서 나오는 빛만 대상 광원(110)으로 인식하기 위해 관심 영역(120) 내에서 감지되는 빛들 중에서 소정의 기준 휘도 범위 내에 있는 빛들만 대상 광원(110)으로 설정할 필요가 있다. 이때 차량에 설정된 램프의 밝기를 이용하여 소정의 기준 휘도 범위를 정할 수 있을 것이다.When the
관심 영역(120)에서 검출된 특정 밝기 이상을 갖는 부분이 대상 광원(110)으로 설정된 후(S120), 대상 광원(110)을 모션 벡터(130, MV, Motion Vector)를 이용하여 구한다. 이때, 모션 벡터(130)의 크기가 소정 임계값 이상일 경우에만 상기 대상 광원을 추적하도록 할 수 있다. 관심 영역(120) 내의 대상 광원(110)으로 설정된 빛은 대항 차량(11)의 강력한 후보가 되며, 상기 대상 광원(110)은 모션 벡터(130)로 추적이 가능하다. 즉, 모션 벡터를 기준으로 상기 대상 광원(110)이 대항 차량인지를 인식할 수 있으며, 이때 모션 벡터를 이용하여 추적을 하게 된다.After the portion having a specific brightness or more detected in the region of
영상 윈도우(100)에서 관심 영역(120) 내의 대상 광원(110)은 좌상방에서 좌하방으로 이동하고, 영상은 일반적으로 매초 30프레임으로 이루어지므로, 대상 광원(110)도 일정한 위치를 이동하는 점으로 영상 윈도우(100)에서 표시가 가능하게 된다. 즉, 프레임별로 구한 대상 광원(110) 위치의 움직임을 화살표로 표시하여 모션 벡터(130) 값을 영상 윈도우(100)에 표시할 수 있다.In the
그리하여, 도 4에 도시한 바와 같이, 대상 광원(110)이 소실선 부근의 시작점에서 시작하여 화살표를 따라 이동하는 모션 벡터(130)로 표시가 가능하다. 도 4에 3곳의 광원 위치를 표시하고, 세 개의 화살표로 연결한 2개의 모션 벡터(130)가 도시되어 있다.Thus, as shown in FIG. 4, the target
모션 벡터(130)를 구하기 위해 일반적으로 BMA(Block Matching Algorithm)을 이용한다. BMA는 영상을 일정한 크기의 블록으로 분할하고 블록 내의 모든 픽셀을 하나의 모션 벡터(130)로 표현하는 방법이다. 모션 벡터(130)를 찾기 위해 이전 프레임의 블록들을 한 픽셀씩 이동하면서 현재의 블록과 가장 유사한 블록을 찾는 것이다. BMA에서는 시간적으로 인접한 프레임 간에 움직임에 의한 변형이 크지 않아서 단지 물체의 이동으로 모든 움직임을 근사화할 수 있다는 전제하에 모션 추정을 하게 된다. 따라서, 모션 벡터(130)는 각 블록당 한 개의 x, y 좌표로 표현된다.In order to obtain the
BMA의 측정 방법 중 하나인 MAD(Mean Absolute Distance)를 이용한 다음의 수학식 1을 사용하여 모션 벡터(130)를 구할 수 있다.The
여기에서, C(k, l)은 블록의 픽셀, R(i+k, j+l)은 기준 윈도우 픽셀을 나타낸다. 모션 벡터(130)는 기준 윈도우(reference window)에서 상기 수학식 1로부터 구해지는 MAD 값이 가장 작은 픽셀을 찾아 구할 수 있다.Here, C (k, l) represents a pixel of the block, and R (i + k, j + l) represents a reference window pixel. The
그리고, 대상 광원(110)을 모션 벡터(130)를 이용하여 추적(tracking)할 때(S130), 모션 벡터(130)의 크기가 소정 임계값 이상일 경우에만 대상 광원(110)을 추적하도록 할 수 있다. 상기 수학식 1로부터 모션 벡터(130)를 구하고, 모션 벡터(130)의 크기가 간단히 구해진다. When the target
관심 영역(120)의 대상 광원(110)은 대항 차량(11)에 의해 발생하는 것이므로, 모션 벡터(130)의 크기도 대항 차량(11)의 속도에 영향을 받는다. 따라서, 이를 이용하여 모션 벡터(130)의 크기가 소정 임계값 이상일 경우에만 이를 대항 차량(11)의 후보로 판단하고, 모션 벡터(130)의 크기가 소정 임계값 이상인 대상 광원(110)만 추적하도록 할 수 있다.Since the target
그리고, 모션 벡터(130)를 구하고 상기 모션 벡터(130)를 이용하여 대항 차량(11) 후보인 대상 광원(110)을 추적하고(S130), 매 프레임마다 그 위치값을 저장한다. 이때, 위치값은 영상 또는 영상 윈도우를 X-Y 평면으로 하여 X-Y 좌표값으로 표시할 수 있다. 영상 윈도우(100)에 표시되는 영상은 도 3 및 도 4에 도시한 바와 같이, X-Y 축의 2차원 평면으로 표시가 가능하다. 그리하여, 매초당 소정 프레임이 촬상되는 영상에서 대상 광원(110)의 위치 정보를 X-Y 좌표값으로 하여 저장이 가능하다.Then, the
도 4에서, 좌측 대상 광원(110)의 모션 벡터(130)의 마지막 프레임과 마지막 프레임의 직전 프레임의 위치값은 각각 (a1, b1)과 (a, b)로 표시된 것을 알 수 있다. 그리고, 상기 (a1, b1)과 (a, b)의 위치값을 연결하면, 마지막 프레임과 마지막 프레임의 직전 프레임에서의 모션 벡터(130)의 크기와 방향도 알 수 있다.In FIG. 4, it can be seen that the position values of the last frame of the
그리고, 저장된 위치값을 연결한 연결선이 소정의 기준선(140)을 지날 때 상기 대상 광원을 대항 차량으로 판별할 수 있다. 즉, 모션 벡터(130)를 기준으로 대상 광원(110)이 대항 차량(11)인지 판별할 수 있게 된다. 상기 저장된 위치값을 연결한 연결선은 모션 벡터(130)를 영상 윈도우(100)에 표시한 것이고, 모션 벡터(130)가 소정 기준선(140)을 통과하는 것은 운행 차량(10)에 대항하며 접근하는 것으로 볼 수 있다.When the connection line connecting the stored position values passes a
여기에서, 기준선(140)은 관심 영역(120)의 최하단의 좌반에 설정된다. 이는 우측 통행의 경우 대항 차량(11)은 운행 차량(10)의 좌상방에서 좌하방으로 이동하기 때문이다. 물론, 좌측 통행의 경우, 기준선(140)이 관심 영역(120)의 최하단의 우반에 설정될 수 있다.Here, the
도 4의 경우, 기준선(140)은 (x1, y1)과 (x2, y2)를 연결한 선이 된다. 좌측에 표시된 모션 벡터(130)에서 (a, b)에서 (a1, b1)으로 모션 벡터(130)가 표시되며, 상기 저장된 위치값인 (a, b)와 (a1, b1)의 연결선(즉, 모션 벡터의 표시선)이 기준선(140)을 지나므로, 좌측의 (a, b)와 (a1, b1)을 지나는 대상 광원(130)은 대항 차량(11)으로 인식된다. In the case of Figure 4, the
식으로 표현하면, b1>y1>b, a1<=x2 일때 (a,b )와 (a1, b1)을 지나는 대상 광원(110)은 대항 차량(11)이 된다.Expressed by the equation, when b1> y1> b and a1 <= x2, the target
마찬가지로, 가운데에 표시된 모션 벡터(130)도 괘선으로 표시된 기준선(140)을 지나므로 대항 차량(11)으로 인식된다. 그러나, 맨 우측의 모션 벡터(130)는 기준선(140)을 지나지 않으므로, 대항 차량(11)으로 인식되지 않는다.Similarly, the
도 5는 본 발명의 다른 실시예에 따른 차량 인식 방법의 순서도이다.5 is a flowchart illustrating a vehicle recognition method according to another embodiment of the present invention.
운행 차량(10)의 대상 광원(110)이 대항 차량(11)인지 판단하는 단계는 전술한 바와 같다. 즉, 카메라로부터 획득된 영상을 분석하여 대항 차량을 인식하는 차량 인식 방법에 있어서, 획득된 영상에서 정의된 위치에 관심 영역(Region of Interest)을 설정하며(S510), 상기 관심 영역에서 특정 밝기 이상을 갖는 부분을 검출하여 대상 광원으로 설정하고(S520), 상기 대상 광원의 시간적 움직임을 나타내는 모션 벡터(Motion Vector)를 구하고(S530), 모션 벡터를 기준으로 대상 광원이 대항 차량인지를 판단한다(S540).The determining of whether the target
대상 광원(110)이 대항 차량(11)으로 판단되는 경우에는 상기 대항 차량(11)의 위치에 따라 운행 차량(10)의 헤드램프의 광 조사 패턴을 제어하며(Yes), 대상 광원(110)이 대항 차량(11)으로 판단되지 않는 경우에는 헤드램프를 제어하는 동작이 일어나지 않는다(No)(S550).When it is determined that the target
여기에서, 대항 차량(11)의 위치에 따라 헤드램프를 회전시키거나 또는 헤드램프로부터 조사되는 광의 일부를 차단하여 암영대를 형성하고, 헤드램프를 회전시켜 헤드램프의 광 조사 패턴을 제어하게 된다. 여기에서, 암영대는 광이 조사되지 않는 영역을 말한다.Here, according to the position of the
대항 차량(11)을 기준으로 운행 차량(10)의 헤드램프에서 조사되는 광, 특히 상향등에 의해 대항 차량(11)의 운전자에게는 눈부심을 유발하여 시야를 방해할 뿐만 아니라 이로 인해 순간적인 차량 사고 발생 가능성이 높아질 수 있으므로, 운행 차량(10)의 헤드램프의 광 조사 패턴을 조절할 필요가 있는 것이다.The light irradiated from the headlamp of the driving
그러므로, 운행 차량(10)이 상향등을 켜고 주행함에 있어서 운전자의 조작 없이도 헤드램프의 상향등을 제어하고, 대항 차량(11)의 운전자의 시야에 방해가 되지 않도록 상향등을 제어하여 운행 차량(10) 운전자의 시야는 최대한 확보할 수 있도록 하여 안전 운행이 가능하도록 하는 것이다.Therefore, when the driving
일반적으로 차량의 헤드램프는 좌측 전방과 우측 전방에 2개가 있다. 헤드램프는 광이 조사되는 광원의 방향을 바꾸도록 회전이 가능하다. 또한, 대항 차량(11)의 위치에 따라 헤드램프에서 조사되는 광의 일부를 차단할 수 있다. 물론, 헤드램프에서 조사되는 광의 일부가 아닌 전체를 차단하도록 구성할 수도 있다.In general, there are two headlamps on the front of the vehicle. The headlamp can be rotated to change the direction of the light source to which light is irradiated. In addition, it is possible to block a part of the light irradiated from the headlamps according to the position of the
이를 통해, 대상 광원(110)이 대항 차량(11)으로 판단된 경우, 대항 차량(11)은 운행 차량(10)의 좌측 헤드램프에서 조사되는 광에 의한 영향을 받으므로, 좌측 헤드램프를 회전시켜 암영대를 형성하여 대항 차량(11) 운전자의 눈부심 등을 방지할 수 있게 된다. 또한, 헤드램프로부터 조사되는 광의 일부를 차단하여 암영대를 형성하여 대항 차량(11) 운전자의 눈부심 등을 방지할 수 있게 된다.As a result, when the target
도 6은 본 발명의 일 실시예에 따른 차량 인식 장치의 블록 구성도이다.6 is a block diagram of a vehicle recognition apparatus according to an embodiment of the present invention.
차량 인식 장치(200)는 대항 차량의 움직임 패턴들이 데이터베이스화되어 저장되는 저장부(210)와, 차량 전방의 영상을 획득하는 영상 획득부(220)와, 획득된 영상에 관심 영역(Region of Interest)을 설정하는 관심영역 설정부(230)와, 상기 관심 영역에서 빛을 검출하여 대상 광원으로 설정하는 광원 설정부(240)와, 상기 대상 광원을 모션 벡터(Motion Vector)를 이용하여 추적(tracking)하는 광원 추적부(250)와, 상기 저장된 대항 차량의 움직임 패턴과 상기 대상 광원의 움직임 패턴을 비교하여 상기 대상 광원이 대항 차량인지 판단하는 차량 판단부(260)를 포함한다. 또한, 운행 차량(10)의 광원으로부터 발생된 광의 일부가 차단되어 형성되는 광 조사 패턴에 따라 광이 조사되는 광원부(270) 및 상기 광원부(270)의 상기 광 조사 패턴을 제어하는 제어부(280) 등을 더 포함할 수 있다.The
영상 획득부(220)에 의해 획득된 영상은 관심영역 설정부(230)에 의해 관심 영역(Region of Interest)이 설정되며, 이로부터 광원 설정부(240)가 관심 영역에서 빛을 검출하여 대상 광원으로 설정하고, 광원 추적부(250)를 통해 대상 광원을 모션 벡터(Motion Vector)를 이용하여 추적한다. 그리고, 차량 판단부(260)가 저장부(210)에 데이터베이스화되어 저장된 대항 차량의 움직임 패턴과 상기 대상 광원의 움직임 패턴을 비교하여 상기 대상 광원이 대항 차량인지 판단한다. 그런 다음에, 차량 판단부가 상기 대상 광원을 대항 차량으로 판단하는 경우, 이를 운전자에게 소리나 문자 등을 이용하여 안내한다.In the image acquired by the image acquisition unit 220, a region of interest is set by the region of interest setting unit 230, from which the light source setting unit 240 detects light in the region of interest, and thus the target light source. The target light source is tracked using a motion vector through the light source tracking unit 250. In addition, the vehicle determination unit 260 compares the movement pattern of the counter vehicle with the database stored in the storage unit 210 and determines the target light source as the counter vehicle. Then, when the vehicle determining unit determines the target light source as the counter vehicle, the vehicle determination unit guides the driver to the driver using sound or text.
대상 광원을 운행 차량의 운전자에게 알려 주기 위해 운전자에게 시각적으로 표시하는 디스플레이모듈 또는 운전자에게 청각적으로 경고하는 알람모듈을 구비할 수 있다. In order to inform the driver of the driving vehicle of the target light source, the display module may be visually displayed to the driver or an alarm module may be provided.
여기에서, 디스플레이모듈은 촬영된 영상을 그대로 운전자가 볼 수 있도록 한다. 디스플레이모듈은 입력된 영상 신호를 디스플레이할 수 있는 음극선관(CRT, Cathode Ray Tube), 액정 화면(LCD, Liquid Crystal Display), 발광 다이오드(LED, Light-Emitting Diode), 유기 발광 다이오드(OLED, Organic Light-Emitting Diode) 또는 플라즈마 디스플레이(PDP, Plasma Display Panel) 등의 영상 표시 수단이 구비된 모듈로서 전달 받은 영상 정보를 디스플레이하는 역할을 한다. Here, the display module allows the driver to see the captured image as it is. The display module displays a cathode ray tube (CRT), a liquid crystal display (LCD), a light-emitting diode (LED), and an organic light emitting diode (OLED) that can display an input image signal. A module having an image display means such as a light-emitting diode (PDP) or a plasma display panel (PDP) serves to display the received image information.
또한, 알람모듈은 운전자에게 경고 이벤트를 발생시키며, 이러한 경고 이벤트에는 위험의 정도에 따라 서로 다른 음량의 음성 경고 및 자동 제동 수행 등을 포함할 수 있다. In addition, the alarm module generates a warning event to the driver, and the warning event may include a voice warning and automatic braking of different volumes depending on the degree of danger.
도 7a는 직선 도로의 대항 차량의 광원의 움직임 패턴을 나타내는 도면이며, 도 7b는 곡선 도로의 대항 차량의 광원의 움직임 패턴을 나타내는 도면이다.FIG. 7A is a diagram showing a movement pattern of a light source of a vehicle against a straight road, and FIG. 7B is a diagram showing a movement pattern of a light source of a vehicle against a curved road.
저장부(210)에 데이터베이스화되어 저장되는 차량의 움직임 패턴들은 차량의 주행에 따른 일정한 패턴을 말한다. The movement patterns of the vehicle, which are stored in a database in the storage unit 210, refer to a predetermined pattern according to the driving of the vehicle.
도 7a에서, 대항 차량의 움직임 패턴은 대상 광원(110)의 이동에 따르며, 직선 도로의 경우 X-Y 평면에서 소정의 기울기를 가지고 좌하방으로 이동함을 알 수 있다. 또한, 도 7b에서, 대항 차량(11)의 움직임 패턴은 대상 광원(110)의 이동에 따르며, 대항 차량의 움직임 패턴은 곡선 도로의 경우 경우 X-Y 평면에서 소정의 곡률을 가지고 좌하방으로 이동함을 알 수 있다.In FIG. 7A, it can be seen that the movement pattern of the opposing vehicle follows the movement of the target
그러므로, 저장부(210)에 미리 저장된 대항 차량(11)의 움직임 패턴과 실제적인 대상 광원(110)의 움직임 패턴을 비교하여 대항 차량(11)인지 여부를 판단할 수 있다. 모션 벡터의 기울기가 미리 저장된 대항 차량(11)의 움직임 패턴에 대한 기울기와 소정 기준 범위 안에 있을 것 등을 소정 기준으로 정할 수 있다.Therefore, by comparing the movement pattern of the
그리고, 차량 인식 방법의 실시예에서 기술한 바와 같이, 저장부(210)는 매 프레임마다 대상 광원(110)의 위치값을 저장하고, 차량 판단부(260)는 상기 저장된 위치값을 연결한 연결선이 소정의 기준선을 지날 때 상기 대상 광원(110)을 대항 차량(11)으로 인식할 수도 있다.As described in the embodiment of the vehicle recognition method, the storage unit 210 stores the position value of the target
여기에서, 대상 광원(110)의 위치값은, 차량 전방의 영상을 획득하는 영상 획득부(220)와, 상기 획득된 영상에 관심 영역(Region of Interest)을 설정하는 관심영역 설정부(230)와, 상기 관심 영역에서 빛을 검출하여 대상 광원(110)으로 설정하는 광원 설정부(240)와, 상기 대상 광원(110)을 모션 벡터(Motion Vector)를 이용하여 추적(tracking)하는 광원 추적부(250)를 통해 모션 벡터의 프레임 간 움직임에 따라 구해진다.Here, the position value of the target
대상 광원(110)이 대항 차량(11)으로 판단되는 경우에는 상기 대항 차량(11)의 위치에 따라 운행 차량(10)의 광 조사 패턴을 제어하고, 대상 광원(110)이 대항 차량(11)으로 판단되지 않는 경우에는 운행 차량(10)의 광 조사 패턴을 제어하는 동작이 일어나지 않는다.When it is determined that the target
전술한 바와 같이, 차량 인식 장치(200)는 운행 차량(10)의 광원으로부터 발생된 광의 일부가 차단되어 형성되는 광 조사 패턴에 따라 광이 조사되는 광원부(270) 및 상기 광원부(270)의 광 조사 패턴을 제어하는 제어부(280)를 더 포함한다.As described above, the
일례로, 제어부(280)는 차량 판단부(260)에 의해 대상 광원(110)이 대항 차량(11)으로 판단된 경우, 상기 대항 차량(11)의 위치에 따라 광원부(270)를 회전시켜 광원부(270)의 광 조사 패턴을 제어하거나 또는 광원부(270)로부터 조사되는 광의 일부를 차단하여 광원부(270)의 광 조사 패턴을 제어하게 된다.For example, when the target
여기에서, 제어부(280)는 광원부(270)의 회전 또는 광원부(270)로부터 조사되는 광의 일부를 차단하여 암영대(미도시)를 형성하며, 상기 암영대의 양 끝단 중 하나 이상이 대항 차량(11)에 근접하도록 광원부(270)를 회전시키게 된다. 즉, 제어부(280)가 대항 차량(11)의 위치에 따라 광원부(270)를 회전시켜 광원부(270)의 광 조사 패턴을 제어하거나 또는 광원부(270)로부터 조사되는 광의 일부를 차단하여 광원부(270)의 광 조사 패턴을 제어하여 암영대를 형성할 수 있으며, 상기 암영대에 대항 차량(11)을 근접시키도록 광원부(270)를 회전시켜 대항 차량(11) 운전자의 눈부심 등을 방지하게 된다.Here, the controller 280 blocks the rotation of the light source unit 270 or a part of the light irradiated from the light source unit 270 to form a dark zone (not shown), and at least one of both ends of the dark zone is opposed to the vehicle ( The light source unit 270 is rotated to approach 11). That is, the control unit 280 rotates the light source unit 270 according to the position of the
또 다른 예로, 제어부(280)는 차량 판단부(260)에 의해 대상 광원(110)이 대항 차량(11)으로 판단된 경우, 광원부(270)에 구비되는 제1 및 제2 광원부 중 적어도 하나를 회전시켜 암영대를 형성하거나, 또는 제1 및 제2 광원부 중 적어도 하나의 광원부(270)로터 조사되는 광의 일부를 차단하여 암영대를 형성하게 된다. 그리고, 제어부(280)는 암영대의 양 끝단 중 하나 이상이 대항 차량(11)에 근접하도록 제1 및 제2 광원부 중 적어도 하나의 광원부(270)를 회전시켜 대항 차량(11) 운전자의 눈부심 등을 방지하게 된다. As another example, when the target
여기에서, 차량은 좌측 헤드램프와 우측 헤드램프가 구비되므로, 광원부(270)가 두 개 있을 것이며 이를 제1 광원부와 제2 광원부로 정의한 것이다. Here, since the vehicle is provided with a left head lamp and a right head lamp, there will be two light source units 270, which are defined as a first light source unit and a second light source unit.
즉, 제어부(280)는 대항 차량(11)의 위치에 따라 광원부(270)의 회전 및 광원부(27)의 광 차단 조절 중 적어도 하나의 적용을 통해 광원부(270)의 광 조사 패턴을 제어함으로써 대항 차량(11)의 위치에 따른 암영대를 형성하고, 암영대의 양 끝단 중 하나가 대항 차량(11)에 근접하도록 광원부(270)를 회전시키거나 또는 광원부(270)를 구성하는 제1 광원부와 제2 광원부 중 적어도 하나 이상을 회전시켜 운행 차량(10) 및 대항 차량(11) 운전자의 시야를 확보하게 한다.That is, the controller 280 controls the light irradiation pattern of the light source unit 270 by applying at least one of rotation of the light source unit 270 and adjustment of light blocking of the light source unit 27 according to the position of the
따라서, 운행 차량(10)의 전방에서 나타나는 모든 대상 광원(110)으로부터 대항 차량(11)을 구별하여 판단하고, 판단된 대항 차량(11)에 운행 차량(10)으로부터 암영대를 형성하도록 하여, 운행 차량(10) 운전자의 시야를 확보하면서도 대향 차량(11) 운전자의 시야를 방해하지 않도록 할 수 있다. 그리고, 운전자에게 보다 정확한 전방 인식을 제공하여 운전자가 안전하게 주행이 가능하도록 할 수 있다.Therefore, the
이상 첨부된 도면을 참조하여 본 발명의 실시예를 설명하였지만, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자는 본 발명이 그 기술적 사상이나 필수적인 특징을 변경하지 않고서 다른 구체적인 형태로 실시될 수 있다는 것을 이해할 수 있을 것이다. 그러므로 이상에서 기술한 실시예들은 모든 면에서 예시적인 것이며 한정적이 아닌 것으로 이해해야만 한다.While the present invention has been described in connection with what is presently considered to be practical exemplary embodiments, it is to be understood that the invention is not limited to the disclosed embodiments, but, on the contrary, You will understand. It is therefore to be understood that the above-described embodiments are illustrative in all aspects and not restrictive.
100: 영상 윈도우 110: 대상 광원
120: 관심 영역(ROI) 130: 모션 벡터(MV)
140: 기준선 210: 저장부
220: 영상 획득부 230: 관심영역 설정부
240: 광원 설정부 250: 광원 추적부
260: 차량 판단부 270: 광원부
280: 제어부100: image window 110: target light source
120: region of interest (ROI) 130: motion vector (MV)
140: reference line 210: storage unit
220: image acquisition unit 230: ROI setting unit
240: light source setting unit 250: light source tracking unit
260: vehicle determination unit 270: light source unit
280: control unit
Claims (22)
(a) 상기 획득된 영상에서 정의된 위치에 관심 영역(Region of Interest)을 설정하는 단계;
(b) 상기 관심 영역에서 특정 밝기 이상을 갖는 부분을 검출하여 대상 광원으로 설정하는 단계;
(c) 상기 대상 광원의 시간적 움직임을 나타내는 모션 벡터(Motion Vector)를 구하고, 매 프레임마다 상기 대상 광원의 위치값을 저장하는 단계; 및
(d) 상기 모션 벡터를 기준으로 상기 대상 광원이 대항 차량인지를 인식하는 단계를 포함하는 차량 인식 방법.In a vehicle recognition method for recognizing an opposing vehicle by analyzing an image obtained from a camera,
(a) setting a region of interest at a location defined in the acquired image;
(b) detecting a portion having a specific brightness or more in the ROI and setting it as a target light source;
(c) obtaining a motion vector representing a temporal movement of the target light source and storing a position value of the target light source every frame; And
and (d) recognizing whether the target light source is a counter vehicle based on the motion vector.
상기 (d) 단계는,
상기 저장된 위치값을 연결한 연결선이 소정의 기준선을 지날 때 상기 대상 광원을 대항 차량으로 인식하는 단계를 포함하는 차량 인식 방법.The method of claim 1,
The step (d)
And recognizing the target light source as a counter vehicle when the connection line connecting the stored position values passes a predetermined reference line.
상기 관심 영역은, 소실선(vanishing line)을 포함하는 직사각형 모양인 차량 인식 방법.The method of claim 1,
The region of interest is a rectangular shape including a vanishing line.
빛이 소정의 기준 휘도 범위일 때 대상 광원으로 설정되는 차량 인식 방법.The method of claim 1,
The vehicle recognition method of setting the target light source when the light is a predetermined reference luminance range.
상기 모션 벡터의 크기가 소정 임계값 이상일 경우에만 상기 대상 광원을 추적하는 차량 인식 방법.The method of claim 1,
And detecting the target light source only when the magnitude of the motion vector is greater than or equal to a predetermined threshold.
상기 위치값은, 상기 영상을 X-Y 평면으로 하여 X-Y 좌표값으로 표시되는 차량 인식 방법.The method of claim 1,
And the position value is displayed as an XY coordinate value using the image as the XY plane.
상기 기준선은, 상기 관심 영역의 최하단의 좌반에 설정되는 차량 인식 방법.The method of claim 3,
And the reference line is set at a lower left half of the ROI.
상기 대상 광원이 대항 차량으로 판단된 경우, 상기 대항 차량의 위치에 따라 운행 차량의 헤드램프의 광 조사 패턴을 제어하는 (e) 단계를 더 포함하는 차량 인식 방법.The method of claim 1,
And (e) controlling the light irradiation pattern of the headlamp of the driving vehicle according to the position of the counter vehicle when the target light source is determined as the counter vehicle.
상기 (e) 단계는, 상기 대항 차량의 위치에 따라 상기 헤드램프를 회전시키거나 또는 상기 헤드램프로부터 조사되는 광의 일부를 차단하여 암영대를 형성하며, 상기 헤드램프를 회전시켜 상기 헤드램프의 상기 광 조사 패턴을 제어하는 차량 인식 방법.The method of claim 9,
In the step (e), the head lamp is rotated according to the position of the opposing vehicle or a part of the light radiated from the head lamp is blocked to form a dark zone, and the head lamp is rotated so that the head lamp is rotated. Vehicle recognition method for controlling the light irradiation pattern.
차량 전방의 영상을 획득하는 영상 획득부;
획득된 영상에 관심 영역(Region of Interest)을 설정하는 관심영역 설정부;
상기 관심 영역에서 빛을 검출하여 대상 광원으로 설정하는 광원 설정부;
상기 대상 광원을 모션 벡터(Motion Vector)를 이용하여 추적하는 광원 추적부; 및
상기 저장된 대항 차량의 움직임 패턴과 상기 대상 광원의 움직임 패턴을 비교하여 상기 대상 광원이 대항 차량인지 판단하는 차량 판단부를 포함하는 차량 인식 장치.A storage unit storing database movement patterns of the opposing vehicle;
An image acquisition unit for acquiring an image in front of the vehicle;
A region of interest setting unit configured to set a region of interest in the acquired image;
A light source setting unit configured to detect light in the ROI and set it as a target light source;
A light source tracking unit which tracks the target light source using a motion vector; And
And a vehicle determination unit comparing the movement pattern of the stored counter vehicle with the movement pattern of the target light source to determine whether the target light source is the counter vehicle.
상기 대항 차량의 움직임 패턴은 직선 도로의 경우 X-Y 평면에서 소정의 기울기를 가지고 좌하방으로 이동하는 차량 인식 장치.12. The method of claim 11,
And the movement pattern of the opposing vehicle moves downward left and down with a predetermined slope in the XY plane in the case of a straight road.
상기 대항 차량의 움직임 패턴은 곡선 도로의 경우 경우 X-Y 평면에서 소정의 곡률을 가지고 좌하방으로 이동하는 차량 인식 장치.12. The method of claim 11,
And the movement pattern of the opposing vehicle moves downward and leftward with a predetermined curvature in the XY plane in the case of a curved road.
상기 저장부는, 매 프레임마다 상기 대상 광원의 위치값을 저장하는 차량 인식 장치.12. The method of claim 11,
The storage unit stores the position value of the target light source every frame.
상기 차량 판단부는, 상기 저장된 위치값을 연결한 연결선이 소정의 기준선을 지날 때 상기 대상 광원을 대항 차량으로 인식하는 차량 인식 장치.The method of claim 14,
And the vehicle determination unit recognizes the target light source as a counter vehicle when a connection line connecting the stored position values passes a predetermined reference line.
광원으로부터 발생된 광의 일부가 차단되어 형성되는 광 조사 패턴에 따라 광이 조사되는 광원부 및 상기 광원부의 상기 광 조사 패턴을 제어하는 제어부를 더 포함하는 차량 인식 장치.12. The method of claim 11,
And a control unit for controlling the light irradiation pattern to which light is irradiated according to the light irradiation pattern formed by blocking a part of the light generated from the light source and the light irradiation pattern.
상기 제어부는, 상기 차량 판단부에 의해 상기 대상 광원이 대항 차량으로 판단된 경우, 상기 대항 차량의 위치에 따라 상기 광원부를 회전시키거나 상기 광원부로부터 조사되는 광의 일부를 차단하여 상기 광원부의 상기 광 조사 패턴을 제어하는 차량 인식 장치.17. The method of claim 16,
When the target light source is determined to be a counter vehicle by the vehicle determination unit, the control unit rotates the light source unit or blocks a part of light emitted from the light source unit according to the position of the counter vehicle, thereby irradiating the light of the light source unit. Vehicle recognition device to control the pattern.
상기 제어부는, 상기 광원부의 회전 또는 상기 광원부로부터 조사되는 광의 일부를 차단하여 암영대를 형성하며, 상기 암영대의 양 끝단 중 하나 이상이 상기 대항 차량에 근접하도록 상기 광원부를 회전시키는 차량 인식 장치.18. The method of claim 17,
The controller is configured to block the rotation of the light source or a portion of the light irradiated from the light source to form a dark zone, the vehicle recognition device for rotating the light source unit so that at least one of both ends of the dark zone close to the counter vehicle.
상기 광원부는, 제1 광원부 및 제2 광원부를 포함하는 차량 인식 장치.17. The method of claim 16,
The light source unit includes a first light source unit and a second light source unit.
상기 제어부는, 상기 차량 판단부에 의해 상기 대상 광원이 대항 차량으로 판단된 경우, 상기 제1 및 제2 광원부 중 적어도 하나를 회전시켜 암영대를 형성하는 차량 인식 장치.20. The method of claim 19,
And the controller is configured to rotate at least one of the first and second light source units to form a dark zone when the target light source is determined to be the vehicle against the vehicle determination unit.
상기 제어부는, 상기 차량 판단부에 의해 상기 대상 광원이 대항 차량으로 판단된 경우, 상기 제1 및 제2 광원부 중 적어도 하나의 광원부로터 조사되는 광의 일부를 차단하여 암영대를 형성하는 차량 인식 장치.20. The method of claim 19,
And the controller is configured to block a portion of light emitted from at least one light source unit of the first and second light source units when the target light source is determined to be a vehicle against the vehicle, thereby forming a dark zone.
상기 제어부는, 상기 암영대의 양 끝단 중 하나 이상이 상기 대항 차량에 근접하도록 상기 제1 및 제2 광원부 중 적어도 하나의 광원부를 회전시키는 차량 인식 장치.22. The method of claim 21,
And the control unit rotates at least one light source unit of the first and second light source units such that at least one of both ends of the dark zone is close to the counter vehicle.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020110055206A KR101278237B1 (en) | 2011-06-08 | 2011-06-08 | Method and apparatus for recognizing vehicles |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020110055206A KR101278237B1 (en) | 2011-06-08 | 2011-06-08 | Method and apparatus for recognizing vehicles |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20120136156A KR20120136156A (en) | 2012-12-18 |
KR101278237B1 true KR101278237B1 (en) | 2013-06-24 |
Family
ID=47903689
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020110055206A KR101278237B1 (en) | 2011-06-08 | 2011-06-08 | Method and apparatus for recognizing vehicles |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR101278237B1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101735365B1 (en) | 2017-01-19 | 2017-05-16 | (주)나인정보시스템 | The robust object tracking method for environment change and detecting an object of interest in images based on learning |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101530851B1 (en) * | 2013-11-06 | 2015-06-23 | 재단법인 다차원 스마트 아이티 융합시스템 연구단 | Monitoring method of vehicle black box camera and vehicle black box camera implementing thereof |
KR102135901B1 (en) * | 2013-12-03 | 2020-07-20 | 현대모비스(주) | Control system of high-beam assist system of vehicle and method the same |
CN112693453B (en) * | 2021-01-04 | 2022-07-01 | 广州小鹏自动驾驶科技有限公司 | Vehicle avoiding method and device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20110001427A (en) * | 2009-06-30 | 2011-01-06 | 태성전장주식회사 | High speed road lane detection method based on extraction of roi-lb |
JP2011505284A (en) * | 2007-10-25 | 2011-02-24 | アーデーツエー・オートモテイブ・デイスタンス・コントロール・システムズ・ゲゼルシヤフト・ミツト・ベシユレンクテル・ハフツング | Method for distinguishing roadway reflectors and vehicle lights in the dark |
-
2011
- 2011-06-08 KR KR1020110055206A patent/KR101278237B1/en active IP Right Grant
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011505284A (en) * | 2007-10-25 | 2011-02-24 | アーデーツエー・オートモテイブ・デイスタンス・コントロール・システムズ・ゲゼルシヤフト・ミツト・ベシユレンクテル・ハフツング | Method for distinguishing roadway reflectors and vehicle lights in the dark |
KR20110001427A (en) * | 2009-06-30 | 2011-01-06 | 태성전장주식회사 | High speed road lane detection method based on extraction of roi-lb |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101735365B1 (en) | 2017-01-19 | 2017-05-16 | (주)나인정보시스템 | The robust object tracking method for environment change and detecting an object of interest in images based on learning |
Also Published As
Publication number | Publication date |
---|---|
KR20120136156A (en) | 2012-12-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8405491B2 (en) | Detection system for assisting a driver when driving a vehicle using a plurality of image capturing devices | |
TWI302879B (en) | Real-time nighttime vehicle detection and recognition system based on computer vision | |
WO2017014023A1 (en) | Onboard environment recognition device | |
US10142595B2 (en) | Driving assistance device and method of detecting vehicle adjacent thereto | |
US10246038B2 (en) | Object recognition device and vehicle control system | |
KR102263725B1 (en) | Method and apparatus for providing driving information | |
US20100033571A1 (en) | Traffic information detector, traffic information detecting method, traffic information detecting program, and recording medium | |
JP2007142624A (en) | Vehicle mounted imaging apparatus | |
KR101716928B1 (en) | Image processing method for vehicle camera and image processing apparatus usnig the same | |
US20160125631A1 (en) | Apparatus for dynamically controlling hud (head-up display) information display position | |
JP2010510935A (en) | How to automatically control long-distance lights | |
JP4980970B2 (en) | Image pickup means adjustment device and object detection device | |
KR101278237B1 (en) | Method and apparatus for recognizing vehicles | |
JP2009265842A (en) | Warning device for vehicle and warning method | |
JP2012099085A (en) | Real-time warning system on windshield glass for vehicle, and operating method thereof | |
KR101259159B1 (en) | Vehicle warning apparatus by recognizing traffic light and method thereof | |
EP2894621B1 (en) | Vehicle information display device and vehicle information display method | |
JP4731177B2 (en) | Infrared imaging display device and infrared imaging display method for vehicle | |
JP4701961B2 (en) | Pedestrian detection device | |
KR101729482B1 (en) | Error information protection apparatus of stereo camera for vehicle and method thereof | |
KR101729030B1 (en) | Apparatus and method for warning a dangerous element of surrounding of vehicle | |
JP5056679B2 (en) | Night view system | |
JP2007281989A (en) | Stereoscopic monitoring apparatus | |
KR101739163B1 (en) | Image stabilization method for vehicle camera and image processing apparatus usnig the same | |
JP2017103627A (en) | Vehicle rear view device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20160325 Year of fee payment: 4 |
|
FPAY | Annual fee payment |
Payment date: 20170327 Year of fee payment: 5 |
|
FPAY | Annual fee payment |
Payment date: 20180326 Year of fee payment: 6 |